1/*! For license information please see main.3205c1c15d9ebec3cae0.js.LICENSE.txt */ 2(()=>{var e,t,n,r,o,i,a,s,l,c,u,d,p,f,h,m,g={10083:(e,t,n)=>{"use strict";n.r(t),n.d(t,{black:()=>m,blues:()=>y,grays:()=>g,greens:()=>b,oranges:()=>x,purples:()=>v,reds:()=>k,sunrise:()=>C,white:()=>h,yellows:()=>w});var r={};n.r(r),n.d(r,{Ql:()=>i,wm:()=>l,h3:()=>a,TV:()=>c,UN:()=>d,Uf:()=>s,LR:()=>p,uS:()=>f,ON:()=>o,Cn:()=>u});var o="#FFFFFF",i="#000000",a={5:"#FAFAFB",10:"#F5F6F7",20:"#E8EAED",30:"#D0D4D9",40:"#B0B6BF",50:"#878E99",60:"#68707A",70:"#4C5259",80:"#2B2F33",90:"#1B1F21",100:"#14171A"},s={5:"#F7F7FF",10:"#F0EFFF",20:"#DFDEFF",30:"#CBC9FF",40:"#ABA8FF",50:"#867DFF",60:"#6B54F0",70:"#612FFF",80:"#5500E5",90:"#320094",100:"#15005C"},l={5:"#F0F9FF",10:"#E0F2FE",20:"#BAE6FD",30:"#8AD9FF",40:"#3AC0FC",50:"#0096DB",60:"#0074B8",70:"#0F5D99",80:"#0E3C78",90:"#10254F",100:"#0D1A33"},c={5:"#EFFBF4",10:"#D9FCE7",20:"#BAF2D1",30:"#8EEDB4",40:"#49D189",50:"#00A156",60:"#008044",70:"#036B3B",80:"#054F2C",90:"#05361F",100:"#042616"},u={5:"#FFFCEB",10:"#FFF6CC",20:"#FAE891",30:"#F5D64E",40:"#E5B917",50:"#CC9814",60:"#AD7823",70:"#875C1B",80:"#634114",90:"#4D320F",100:"#38250B"},d={5:"#FFF6EF",10:"#FFEDE0",20:"#FFD9BD",30:"#FFB27A",40:"#FF8E3C",50:"#E56820",60:"#C4490C",70:"#A33A0D",80:"#8C300E",90:"#69200A",100:"#4D1A0B"},p={5:"#FFF5F5",10:"#FFE7E5",20:"#FFCECC",30:"#FFAAA6",40:"#FC796D",50:"#FF4F42",60:"#D91807",70:"#A61202",80:"#801302",90:"#661405",100:"#521004"},f={50:"#FF4800"},{ON:h,Ql:m,h3:g,Uf:v,wm:y,TV:b,Cn:w,UN:x,LR:k,uS:C}=r},25149:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>a,mc:()=>a});var r=n(74848);function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}var i=n(98003).styled.div((e=>{var{fluid:t,width:n,theme:r}=e;return o({width:"calc(100% - ("+r.space.xxl+" * 2))","@media (max-width: 959px)":{width:"calc(100% - ("+r.space.m+" * 2))"},maxWidth:1568,marginInline:"auto"},n&&{maxWidth:n},t&&{maxWidth:"100%"})})),a=e=>{var{fluid:t,width:n,children:a}=e,s=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["fluid","width","children"]);return(0,r.jsx)(i,o({fluid:t,width:n},s,{children:a}))}},27154:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.fetchCardActivationLandingPageBySlug=t.fetchPartnerDetailByPlatformId=t.fetchPartnerDetailBySlug=void 0;const i=o(n(72505)),a=n(33697),s=e=>e.replace(/\//g,"-");t.fetchPartnerDetailBySlug=({slug:e,langKey:t,environment:n})=>r(void 0,void 0,void 0,(function*(){var r,o;const l=[a.DOMAIN_NAMES.SCALE,"signUp",`${a.AVAILABLE_SCALE_CONTENT_TYPE.SIGN_UP_PAGE}_slug_join-${s(e)}`,`${t}.json`].join("/");return null===(o=null===(r=(yield i.default.get(`${a.BUCKET_PATH[n]}/${l}`)).data)||void 0===r?void 0:r.partnerDetails)||void 0===o?void 0:o.fields})),t.fetchPartnerDetailByPlatformId=({langKey:e,platformId:t,environment:n})=>r(void 0,void 0,void 0,(function*(){const r=n.charAt(0).toUpperCase()+n.slice(1),o=[a.DOMAIN_NAMES.SCALE,"common",`${a.AVAILABLE_SCALE_CONTENT_TYPE.SIGNUP_DETAILS}_platformId${r}_${t}`,`${e}.json`].join("/");return(yield i.default.get(`${a.BUCKET_PATH[n]}/${o}`)).data})),t.fetchCardActivationLandingPageBySlug=({langKey:e,slug:t,environment:n})=>r(void 0,void 0,void 0,(function*(){const r=[a.DOMAIN_NAMES.SME,"cardActivationPage",`cardActivationPage_slug_${t}`,`${e}.json`].join("/");return(yield i.default.get(`${a.BUCKET_PATH[n]}/${r}`)).data}))},33697:(e,t)=>{"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.BUCKET_PATH=t.AVAILABLE_SCALE_CONTENT_TYPE=t.DOMAIN_NAMES=void 0,t.DOMAIN_NAMES={SCALE:"contentful/scale",SME:"contentful/sme"},t.AVAILABLE_SCALE_CONTENT_TYPE={SIGN_UP_PAGE:"signUpPage",SIGNUP_DETAILS:"partnerSignupDetails"},t.BUCKET_PATH={prod:"https://static.airwallex.com",demo:"https://static-demo.airwallex.com",staging:"https://static-staging.airwallex.com",dev:"https://static-dev.airwallex.com",preview:"https://static.sandbox.airwallex.com"}},56472:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.usePartnerDetails=void 0;const o=n(24002),i=n(76168),a=n(27154);t.usePartnerDetails=({slug:e,platformId:t,environment:n})=>{const[s,l]=(0,o.useState)();return(0,o.useEffect)((()=>{e&&r(void 0,void 0,void 0,(function*(){try{const[t,r,o,i,s,c,u,d,p]=yield Promise.all([(0,a.fetchPartnerDetailBySlug)({environment:n,slug:e,langKey:"en"}),(0,a.fetchPartnerDetailBySlug)({environment:n,slug:e,langKey:"zh"}),(0,a.fetchPartnerDetailBySlug)({environment:n,slug:e,langKey:"fr"}),(0,a.fetchPartnerDetailBySlug)({environment:n,slug:e,langKey:"en-US"}),(0,a.fetchPartnerDetailBySlug)({environment:n,slug:e,langKey:"es-MX"}),(0,a.fetchPartnerDetailBySlug)({environment:n,slug:e,langKey:"ko"}),(0,a.fetchPartnerDetailBySlug)({environment:n,slug:e,langKey:"ja"}),(0,a.fetchPartnerDetailBySlug)({environment:n,slug:e,langKey:"vi"}),(0,a.fetchPartnerDetailBySlug)({environment:n,slug:e,langKey:"pt-BR"})]);l({en:t,zh:r,fr:o,"en-US":i,"es-MX":s,ko:c,ja:u,vi:d,"pt-BR":p})}catch(e){console.error(`failed to fetch contentful partner details by slug, error: ${(0,i.stringifyError)(e)}`)}}))}),[e,n]),(0,o.useEffect)((()=>{t&&r(void 0,void 0,void 0,(function*(){try{const[e,r,o,i,s,c,u,d,p]=yield Promise.all([(0,a.fetchPartnerDetailByPlatformId)({environment:n,platformId:t,langKey:"en"}),(0,a.fetchPartnerDetailByPlatformId)({environment:n,platformId:t,langKey:"zh"}),(0,a.fetchPartnerDetailByPlatformId)({environment:n,platformId:t,langKey:"fr"}),(0,a.fetchPartnerDetailByPlatformId)({environment:n,platformId:t,langKey:"en-US"}),(0,a.fetchPartnerDetailByPlatformId)({environment:n,platformId:t,langKey:"es-MX"}),(0,a.fetchPartnerDetailByPlatformId)({environment:n,platformId:t,langKey:"ko"}),(0,a.fetchPartnerDetailByPlatformId)({environment:n,platformId:t,langKey:"ja"}),(0,a.fetchPartnerDetailByPlatformId)({environment:n,platformId:t,langKey:"vi"}),(0,a.fetchPartnerDetailByPlatformId)({environment:n,platformId:t,langKey:"pt-BR"})]);l({en:e,zh:r,fr:o,"en-US":i,"es-MX":s,ko:c,ja:u,vi:d,"pt-BR":p})}catch(e){console.error(`failed to fetch contentful partner details by platform id, error: ${(0,i.stringifyError)(e)}`)}}))}),[t,n]),{partnerDetails:s}}},51581:(e,t,n)=>{"use strict";t.Mr=void 0;const r=n(56472);Object.defineProperty(t,"Mr",{enumerable:!0,get:function(){return r.usePartnerDetails}});n(27154)},76168:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.stringifyError=void 0;const i=o(n(72505)),a=e=>{try{return JSON.stringify(e)}catch(e){return""}};t.stringifyError=e=>null!=e&&i.default.isAxiosError(e)?(e=>{const{toJSON:t}=e,n=r(e,["toJSON"]);return a(n)})(e):a(e)},11677:(e,t,n)=>{"use strict";n.d(t,{Z2:()=>i.Z2,mL:()=>i.mL,NP:()=>a.a,AH:()=>i.AH,HO:()=>o.HO,i7:()=>i.i7,I4:()=>r.A,DP:()=>a.u});var r=n(69815),o=n(32196),i=n(17437),a=n(28221)}
2,67074:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});var r=n(98003),o=(e,t)=>{var n,o,i=(0,r.useTheme)(),a=null!=(o=e[null!=(n=null==t?void 0:t.langKey)?n:i.langKey])?o:e.en;return{t:(e,t)=>{var n,r,o=null==a?void 0:a[e];return"string"==typeof o?null!=(r=o.replace(/{{(\w+)}}/g,((e,n)=>{var r;return""+(null!=(r=null==t?void 0:t[n])?r:n)})))?r:e:null!=(n=null==o?void 0:o.map((e=>e.replace(/{{(\w+)}}/g,((e,n)=>{var r;return""+(null!=(r=null==t?void 0:t[n])?r:n)})))))?n:[]}}}},14003:(e,t,n)=>{"use strict";n.r(t),n.d(t,{breakpoint:()=>o,breakpointTokens:()=>r,medias:()=>a,wrapperBreakpoints:()=>i});var r={xxs:360,xs:475,s:720,m:1020,l:1200,xl:1920},o={xxs:"@media (max-width: "+r.xxs+"px)",xs:"@media (max-width: "+r.xs+"px)",s:"@media (max-width: "+r.s+"px)",m:"@media (max-width: "+r.m+"px)",l:"@media (max-width: "+r.l+"px)",xl:"@media (max-width: "+r.xl+"px)"},i={xs:320,s:375,sm:414,m:667,l:768,lg:991,xl:1024,xxl:1199},a={xsWidth:"@media only screen and (max-width: "+i.xs+"px)",smWidth:"@media only screen and (max-width: "+i.sm+"px)",smLandscape:"@media only screen and (orientation: landscape) and (max-height: "+i.sm+"px)",mHeight:"@media screen and (max-height: "+i.m+"px)",lHeight:"@media screen and (max-height: "+i.l+"px)",xlHeight:"@media screen and (max-height: "+i.xl+"px)",beyondSm:"@media only screen and (min-width: "+(i.sm+1)+"px) and (min-height: "+(i.sm+1)+"px)",beyondM:"@media only screen and (min-width: "+(i.m+1)+"px) and (min-height: "+(i.m+1)+"px)",beyondXl:"@media only screen and (min-width: "+(i.xl+1)+"px) and (min-height: "+(i.l+1)+"px)"}},80006:(e,t,n)=>{"use strict";var r=n(35034);r.reds[50],r.reds[20],r.reds[5],r.yellows[30],r.yellows[10],r.yellows[5],r.purples[70],r.purples[20],r.purples[5],r.purples[30],r.greens[60],r.greens[20],r.greens[10],r.greens[50],r.greens[5],r.blues[40],r.blues[20],r.grays[80],r.grays[40],r.grays[30],r.grays[70],r.grays[20],r.grays[10],r.grays[30],r.grays[90],r.grays[20],r.grays[50],r.grays[5],r.oranges[40],r.oranges[40];r.oranges[10],t.BU={50:"#D200A3"}},68319:(e,t,n)=>{"use strict";n.d(t,{rZ:()=>r}),n(69815),n(32196),n.p,n.p,n.p,n.p,n.p,n.p;var r="AxLLCircular, Helvetica, Arial, sans-serif"},59027:(e,t,n)=>{"use strict";n.d(t,{BU:()=>i,K7:()=>y,MK:()=>a,QR:()=>h,WI:()=>o,pT:()=>f,ru:()=>g,ud:()=>p,vR:()=>v,xO:()=>m});var r=n(35034),o={10:"#EBFFF9",30:"#B8FFEA",50:"#0AFFD4",70:"#00ADAD",90:"#007A7A"},i={50:"#D200A3"},a={50:"#F80F6b"},s=r.reds[50],l=(r.reds[20],r.reds[5],r.yellows[30]),c=(r.yellows[10],r.yellows[5],r.purples[70]),u=(r.purples[20],r.purples[5],r.purples[30],r.greens[60],r.greens[20],r.greens[10],r.greens[50],r.greens[5],r.blues[40]),d=(r.blues[20],r.grays[80],r.grays[40],r.grays[30],r.grays[70],r.grays[20],r.grays[10],r.grays[30],r.grays[90],r.grays[20],r.grays[50],r.grays[5],r.oranges[40],r.oranges[40]),p=(r.oranges[10],["#ff8439",l]),f=["#ff4244",d],h=["#f80f6b",s],m=["#c600ad","#ff135f"],g=[c,"#d200a3"],v=["#34ccb7",u],y=[p,f,h,m,g,v]},71656:(e,t,n)=>{"use strict";n.r(t),n.d(t,{orange:()=>i,pink:()=>l,purple:()=>c,red:()=>s,spectrumOrange:()=>u,spectrumPurple:()=>d,yellow:()=>a});var r=n(59027),o=n(35034),i="linear-gradient(135deg, "+o.reds[50]+" 0%, "+o.oranges[50]+" 100%)",a="linear-gradient(135deg, "+o.oranges[50]+" 0%, "+o.yellows[50]+" 100%)",s="linear-gradient(135deg, "+r.MK[50]+" 0%, "+o.reds[50]+" 100%)",l="linear-gradient(135deg, "+r.BU[50]+" 0%, "+r.MK[50]+" 100%)",c="linear-gradient(135deg, "+o.purples[70]+" 0%, "+r.BU[50]+" 100%)",u="linear-gradient(135deg, "+o.reds[50]+" 0%, "+o.oranges[50]+" 50%, "+o.yellows[50]+" 100%)",d="linear-gradient(135deg, "+o.purples[70]+" 0%, "+r.BU[50]+" 50%, "+o.reds[50]+" 100%)"},14247:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var r={xxs:"4px",xs:"8px",s:"16px",m:"24px",l:"32px",xl:"40px",xxl:"56px",xxxl:"80px"}},22573:(e,t,n)=>{"use strict";n.d(t,{f:()=>r});var r={negative:-1,default:1,header:5,inAppSupport:200,overlay:1e3,navigation:2e3,navigationContent:2001,drawer:3e3,modal:5e3,tooltip:6e3,toast:8e3}},35034:(e,t,n)=>{"use strict";n.r(t),n.d(t,{black:()=>h,blues:()=>v,grays:()=>m,greens:()=>y,oranges:()=>w,purples:()=>g,reds:()=>x,white:()=>f,yellows:()=>b});var r={};n.r(r),n.d(r,{Ql:()=>i,wm:()=>l,h3:()=>a,TV:()=>c,UN:()=>d,Uf:()=>s,LR:()=>p,ON:()=>o,Cn:()=>u});var o="#FFFFFF",i="#000000",a={5:"#FAFAFB",10:"#F5F6F7",20:"#E8EAED",30:"#D0D4D9",40:"#B0B6BF",50:"#878E99",60:"#68707A",70:"#4C5259",80:"#2B2F33",90:"#1B1F21",100:"#14171A"},s={5:"#F7F7FF",10:"#F0EFFF",20:"#DFDEFF",30:"#CBC9FF",40:"#ABA8FF",50:"#867DFF",60:"#6B54F0",70:"#612FFF",80:"#5500E5",90:"#320094",100:"#15005C"},l={5:"#F0F9FF",10:"#E0F2FE",20:"#BAE6FD",30:"#8AD9FF",40:"#3AC0FC",50:"#0096DB",60:"#0074B8",70:"#0F5D99",80:"#0E3C78",90:"#10254F",100:"#0D1A33"},c={5:"#EFFBF4",10:"#D9FCE7",20:"#BAF2D1",30:"#8EEDB4",40:"#49D189",50:"#00A156",60:"#008044",70:"#036B3B",80:"#054F2C",90:"#05361F",100:"#042616"}
2,u={5:"#FFFCEB",10:"#FFF6CC",20:"#FAE891",30:"#F5D64E",40:"#E5B917",50:"#CC9814",60:"#AD7823",70:"#875C1B",80:"#634114",90:"#4D320F",100:"#38250B"},d={5:"#FFF6EF",10:"#FFEDE0",20:"#FFD9BD",30:"#FFB27A",40:"#FF8E3C",50:"#E56820",60:"#C4490C",70:"#A33A0D",80:"#8C300E",90:"#69200A",100:"#4D1A0B"},p={5:"#FFF5F5",10:"#FFE7E5",20:"#FFCECC",30:"#FFAAA6",40:"#FC796D",50:"#FF4F42",60:"#D91807",70:"#A61202",80:"#801302",90:"#661405",100:"#521004"},{ON:f,Ql:h,h3:m,Uf:g,wm:v,TV:y,Cn:b,UN:w,LR:x}=r},14857:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(74848);function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}var i=e=>{var{width:t=270}=e,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["width"]);return(0,r.jsxs)("svg",o({width:t,height:t/1.5,viewBox:"0 0 270 180",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[(0,r.jsx)("path",{opacity:"0.1",d:"M66.2846 151.966C67.6428 151.229 71.2755 148.542 72.2456 147.691C76.1001 144.308 68.0829 139.775 63.6891 141.882C62.0033 142.691 58.4879 144.862 57.0239 145.995C53.9842 148.347 53.0028 149.27 54.3735 151.229C56.5355 154.32 63.6888 153.373 66.2846 151.966Z",fill:"url(#paint0_linear_1186_12167)"}),(0,r.jsx)("path",{d:"M53.1141 140.168C53.1141 140.34 53.7388 140.657 54.7605 140.772C56.6035 140.998 58.4584 141.111 60.3151 141.113C62.2013 141.119 64.0865 141.022 65.9621 140.823C66.9822 140.699 67.5469 140.412 67.5454 140.242C67.5454 140.027 66.5745 139.768 65.0389 139.648C63.7725 139.547 62.1277 139.495 60.3259 139.495C58.5241 139.495 56.8808 139.576 55.616 139.691C54.082 139.831 53.1126 139.954 53.1141 140.168Z",fill:"url(#paint1_linear_1186_12167)"}),(0,r.jsx)("path",{d:"M57.624 138.624C54.1496 129.834 44.1806 131.8 44.9715 129.492C45.5638 127.768 51.7109 127.414 49.8952 125.531C48.0796 123.648 45.61 122.157 42.2511 122.157C39.4953 122.166 38.8429 119.251 42.7373 118.592C45.2684 118.164 46.8471 118.296 44.9007 116.626C41.7418 113.916 40.9109 110.233 43.025 109.164C47.0071 107.153 50.0352 118.024 51.4585 114.542C52.6894 111.533 54.8097 110.872 55.4591 116.002C56.1022 121.062 55.6945 124.695 57.087 123.631C59.5489 121.746 64.8465 121.555 62.0661 125.661C60.6736 127.718 59.7196 129.601 59.2688 131.056C58.7703 132.663 58.9919 135.244 59.795 137.422C60.3628 138.975 58.2179 140.128 57.624 138.624Z",fill:"#FF6093"}),(0,r.jsx)("path",{d:"M60.0874 140.722C60.0874 140.722 51.857 117.65 45.6038 112.906C45.2961 112.673 44.913 113.082 45.2115 113.323C48.3796 115.865 53.5341 125.108 59.3549 141.041C59.5873 141.674 60.0874 140.722 60.0874 140.722Z",fill:"#54545E"}),(0,r.jsx)("path",{d:"M59.5151 124.129C57.0409 125.536 55.6807 126.819 55.1206 128.785L55.6022 129.524C55.5422 129.388 56.1931 126.611 59.8059 124.697C60.2829 124.444 60.0628 123.817 59.5151 124.129Z",fill:"#54545E"}),(0,r.jsx)("path",{d:"M52.9372 115.733C52.4664 116.538 51.6278 119.331 51.5062 122.145C51.9017 122.504 52.1063 122.518 52.2094 122.366C52.1155 122.174 52.3433 118.708 53.3326 116.019C53.4619 115.667 53.1126 115.434 52.9372 115.733Z",fill:"#54545E"}),(0,r.jsx)("path",{d:"M50.9922 120.693C50.7414 120.529 46.4408 119.199 43.4974 120.156C42.9927 120.322 43.3435 120.657 43.6405 120.602C47.0686 119.975 50.0152 120.924 50.5645 121.19C50.7223 121.265 50.8571 121.381 50.9553 121.525L50.9922 120.693Z",fill:"#54545E"}),(0,r.jsx)("path",{d:"M55.7484 130.292C55.4976 130.128 50.92 128.606 48.3258 129.372C47.7457 129.544 48.272 129.96 48.5689 129.912C51.5555 129.437 55.3391 130.832 55.4791 131.153L55.7484 130.292Z",fill:"#54545E"}),(0,r.jsx)("path",{d:"M58.6594 136.847C59.2488 121.358 42.965 117.776 45.673 114.827C47.6995 112.623 57.1716 116.123 55.6744 112.097C54.1773 108.072 51.4677 104.205 46.4101 102.021C42.2556 100.228 43.2065 95.4268 49.4874 96.9817C53.5757 97.9985 55.8621 99.2314 54.0373 95.4482C51.0876 89.302 52.2709 83.2186 56.1499 82.9931C63.4632 82.5822 60.8367 100.908 65.2757 96.6076C69.1101 92.8904 72.7352 93.2891 70.3287 101.427C67.9561 109.454 64.9434 114.646 67.7407 113.961C72.6937 112.746 80.7733 115.927 73.8846 120.276C70.4334 122.455 67.7561 124.66 66.1189 126.551C64.3048 128.647 62.9416 132.679 62.7092 136.469C62.5461 139.173 58.5594 139.498 58.6594 136.847Z",fill:"#A9A9AE"}),(0,r.jsx)("path",{d:"M60.9767 141.616C60.9767 141.616 63.8433 101.548 57.5717 90.311C57.2639 89.7589 56.4177 90.1239 56.7085 90.6806C59.7858 96.5784 61.4276 113.849 59.6673 141.616C59.5966 142.72 60.9767 141.616 60.9767 141.616Z",fill:"#54545E"}),(0,r.jsx)("path",{d:"M71.0751 116.302C66.4268 116.795 63.5356 117.836 61.3969 120.418L61.6307 121.846C61.6307 121.601 64.4388 117.859 71.1367 117.347C72.0199 117.279 72.1014 116.193 71.0751 116.302Z",fill:"#54545E"}),(0,r.jsx)("path",{d:"M66.7282 99.371C65.4881 100.271 62.3846 103.918 60.3458 108.069C60.7013 108.866 60.9998 109.023 61.2552 108.862C61.2413 108.512 63.8709 103.452 67.1329 100.059C67.5607 99.6148 67.1883 99.0366 66.7282 99.371Z",fill:"#54545E"}),(0,r.jsx)("path",{d:"M60.5305 105.549C60.2597 105.138 54.6743 100.32 49.6198 99.8279C48.752 99.7435 49.0597 100.481 49.5398 100.595C55.1067 101.898 58.9088 105.258 59.555 106.016C59.7434 106.234 59.8694 106.499 59.9197 106.782L60.5305 105.549Z",fill:"#54545E"}),(0,r.jsx)("path",{d:"M61.3414 123.096C61.0722 122.685 55.1944 117.403 50.7892 116.854C49.8029 116.732 50.3276 117.702 50.7984 117.825C
255.5991 119.07 60.3628 123.643 60.3659 124.221L61.3414 123.096Z",fill:"#54545E"}),(0,r.jsx)("path",{d:"M61.6891 138.581C66.7345 130.587 59.2273 123.746 61.5661 123.013C63.3094 122.466 67.2391 127.19 67.6823 124.611C68.1254 122.032 67.8746 119.167 65.8728 116.483C64.231 114.277 66.2005 112.025 69.0409 114.76C70.8873 116.539 71.7182 117.883 71.9121 115.332C72.2291 111.191 74.714 108.337 76.8358 109.402C80.8225 111.406 73.8324 120.28 77.4898 119.359C80.6518 118.561 82.4428 119.872 78.6838 123.438C74.9771 126.954 71.7998 128.78 73.4846 129.265C76.4712 130.128 79.7639 134.261 74.7971 134.465C72.3106 134.566 70.2226 134.918 68.7794 135.419C67.1853 135.971 65.2312 137.679 63.9479 139.615C63.0263 140.989 60.8229 139.951 61.6891 138.581Z",fill:"#FFE4D2"}),(0,r.jsx)("path",{d:"M61.4522 141.803C61.4522 141.803 75.211 121.522 75.3403 113.686C75.348 113.301 74.7894 113.238 74.7725 113.619C74.5956 117.669 70.1796 127.282 60.7598 141.404C60.3859 141.965 61.4522 141.803 61.4522 141.803Z",fill:"#54545E"}),(0,r.jsx)("path",{d:"M74.5202 131.505C71.9168 130.355 70.0735 130.024 68.1532 130.739L67.8455 131.562C67.9209 131.433 70.5458 130.312 74.2386 132.074C74.7218 132.309 75.0972 131.758 74.5202 131.505Z",fill:"#54545E"}),(0,r.jsx)("path",{d:"M77.4036 121.249C76.4803 121.349 73.7215 122.323 71.3766 123.902C71.3196 124.431 71.4289 124.605 71.6135 124.597C71.7135 124.408 74.6478 122.536 77.4082 121.736C77.7682 121.637 77.7498 121.213 77.4036 121.249Z",fill:"#54545E"}),(0,r.jsx)("path",{d:"M72.2444 122.628C72.2275 122.329 70.7519 118.09 68.2346 116.295C67.8022 115.988 67.7392 116.469 67.9577 116.675C70.498 119.053 71.4766 121.981 71.5874 122.577C71.6195 122.749 71.6057 122.925 71.5474 123.09L72.2444 122.628Z",fill:"#54545E"}),(0,r.jsx)("path",{d:"M67.3068 132.137C67.2899 131.831 65.802 127.265 63.6448 125.638C63.1616 125.273 63.1386 125.945 63.3524 126.154C65.5066 128.268 66.6221 132.134 66.4483 132.441L67.3068 132.137Z",fill:"#54545E"}),(0,r.jsx)("path",{d:"M67.5453 140.242L67.5176 145.696C67.4961 150.065 67.4776 153.605 60.2612 153.568C53.0448 153.531 53.0725 149.992 53.0864 145.623L53.1141 140.168C53.1141 140.34 53.7295 140.499 54.7435 140.628C56.5975 140.828 58.4611 140.924 60.3258 140.918C62.1905 140.943 64.0552 140.865 65.9112 140.685C66.9329 140.567 67.5453 140.412 67.5453 140.242Z",fill:"#A9A9AE"}),(0,r.jsx)("path",{opacity:"0.15",d:"M53.0849 145.923V146.69C53.0849 146.753 53.0849 146.816 53.0849 146.88C53.0849 146.902 53.0849 146.925 53.0849 146.948C53.0849 147.005 53.0849 147.061 53.0849 147.118V147.181C53.0849 147.254 53.0849 147.334 53.0849 147.402C53.0849 147.478 53.0849 147.555 53.0849 147.629C53.0849 147.646 53.0849 147.662 53.0849 147.679C53.0849 147.738 53.0849 147.796 53.0849 147.853C53.0849 147.872 53.0849 147.892 53.0849 147.914C53.0849 147.972 53.0849 148.032 53.0957 148.09C53.0957 148.104 53.0957 148.119 53.0957 148.133C53.0957 148.207 53.1064 148.287 53.1126 148.354V148.363C53.1126 148.431 53.1249 148.498 53.1326 148.566V148.618L53.1511 148.782C53.1511 148.799 53.1511 148.817 53.1511 148.834C53.1511 148.898 53.168 148.963 53.1772 149.027V149.039C53.188 149.11 53.1988 149.179 53.2111 149.248V149.282L53.2434 149.449L53.2526 149.498C53.2634 149.552 53.2757 149.604 53.288 149.651L53.2972 149.69C53.3265 149.82 53.3619 149.949 53.4003 150.075C53.4037 150.088 53.4078 150.101 53.4126 150.114C53.428 150.165 53.4434 150.214 53.4603 150.268C53.4603 150.282 53.4696 150.297 53.4757 150.311C53.4942 150.366 53.5142 150.42 53.5342 150.472V150.49C53.5573 150.552 53.5834 150.613 53.6096 150.673C53.6102 150.679 53.6102 150.685 53.6096 150.691C53.6327 150.742 53.6573 150.792 53.6819 150.844C53.6819 150.858 53.6957 150.872 53.7019 150.884C53.725 150.93 53.7481 150.975 53.7727 151.019L53.7911 151.054C53.8542 151.165 53.9204 151.272 53.9927 151.378L54.0142 151.407C54.0435 151.449 54.0743 151.492 54.105 151.531L54.1327 151.568C54.1666 151.611 54.202 151.653 54.2374 151.694C54.2421 151.702 54.2478 151.709 54.2543 151.715C54.2974 151.767 54.342 151.818 54.3881 151.869C54.4312 151.913 54.4743 151.956 54.5205 151.999L54.5528 152.03L54.6713 152.134L54.7067 152.163C54.7574 152.206 54.8097 152.248 54.8605 152.289C55.0144 150.125 55.8976 146.529 59.9381 145.272C63.631 144.125 66.1082 141.883 66.5391 140.585C66.3344 140.619 66.1005 140.651 65.8374 140.68C63.9814 140.861 62.1167 140.939 60.252 140.913C58.3873 140.92 56.5237 140.823 54.6697 140.624C53.6496 140.499 53.0403 140.34 53.0403 140.164L53.0126 145.618C53.0126 145.696 53.0126 145.772 53.0126 145.85L53.0849 145.923Z",fill:"#333333"}),(0,r.jsx)("path",{opacity:"0.1",d:"M106.631 149.042C127.799 137.728 101.884 137.33 106.956 135.519C109.763 134.516 204.771 141.63 201.384 144.056C196.933 147.24 181.544 142.734 161.783 153.773C153.879 158.166 100.716 152.191 106.631 149.042Z",fill:"url(#paint2_linear_1186_12167)"}),(0,r.jsx)("path",{d:"M129.303 144.906V148.006L129.132 148.045L115.499 151.186C115.498 149.372 116.75 147.798 118.518 147.391L129.303 144.906Z",fill:"url(#paint3_linear_1186_12167)"}),(0,r.jsx)("path",{d:"M150.854 149.387L147.834 153.178L115.499 151.186C115.498 149.372 116.75 147.798 118.518 147.391L129.303 144.909L161.641 146.901L150.856 149.387L150.854 149.387Z",fill:"url(#paint4_linear_1186_12167)"}),(0,r.jsx)("path",{d:"M161.641 146.901L129.303 144.909V128.681L161.641 130.755V146.901Z",fill:"url(#paint5_linear_1186_12167)"}),(0,r.jsx)("path",{d:"M161.641 146.902V130.755L165.682 131.01V145.521C165.682 145.521 166.1 149.022 161.641 149.999L147.834 153.178C147.835 151.365 149.088 149.792 150.856 149.387L161.641 146.902Z",fill:"url(#paint6_linear_1186_12167)"}),(0,r.jsx)("path",{opacity:"0.1",d:"M217.189 169.865C219.441 167.638 227.596 160.536 229.389 158.351C233.704 153.092 213.956 145.786 207.873 151.308C207.873 151.308 200.806 155.557 193.153 162.337C181.514 172.647 207.873 179.073 217.189 169.865Z",fill:"url(#paint7_linear_1186_12167)"}),(0,r.jsx)("path",{d:"M212.406 168.256L211.666 165.855C215.849 164.579 217.954 161.879 218.985 159.851C220.139 157.58 220.539 154.865 220.006 152.936C219.893 152.412 219.633 151.931 219.256 151.55C219.044 151.36 218.746 151.297 218.475 151.385C215.318 152.15 213.102 152.916 213.08 152.933L212.25
25 150.56C212.347 150.527 214.595 149.749 217.87 148.945C219.937 148.435 221.726 149.741 222.423 152.262C223.12 154.783 222.665 158.131 221.221 160.984C219.978 163.451 217.426 166.712 212.406 168.256Z",fill:"#FFABA5"}),(0,r.jsx)("path",{d:"M222.428 152.28C221.731 149.754 219.942 148.453 217.875 148.963C214.596 149.767 212.347 150.545 212.26 150.578L213.085 152.951C213.108 152.951 215.323 152.186 218.48 151.402C218.751 151.314 219.049 151.378 219.261 151.568C219.638 151.949 219.898 152.43 220.011 152.954C220.545 154.883 220.144 157.598 218.99 159.869C217.969 161.91 215.854 164.586 211.671 165.872L212.411 168.273C217.433 166.73 219.98 163.469 221.231 161.007C222.67 158.149 223.13 154.806 222.428 152.28Z",fill:"url(#paint8_linear_1186_12167)"}),(0,r.jsx)("path",{d:"M215.024 145.355L214.848 150.239L214.767 152.535L214.34 164.461L214.322 164.933L214.259 166.76L214.238 167.271L214.095 171.353C214.095 172.29 212.582 173.139 210.012 173.703C209.343 173.851 208.603 173.981 207.797 174.091C205.706 174.36 203.6 174.49 201.493 174.479C194.02 174.479 188.893 173.081 188.893 171.356L187.964 145.345C188.082 147.049 194.089 148.407 201.49 148.407C208.892 148.407 214.904 147.06 215.024 145.355Z",fill:"url(#paint9_linear_1186_12167)"}),(0,r.jsx)("path",{d:"M201.493 148.43C208.966 148.43 215.024 147.03 215.024 145.304C215.024 143.578 208.966 142.178 201.493 142.178C194.02 142.178 187.962 143.578 187.962 145.304C187.962 147.03 194.02 148.43 201.493 148.43Z",fill:"url(#paint10_linear_1186_12167)"}),(0,r.jsx)("path",{d:"M213.215 146.866L212.98 146.955L212.819 147.011L212.733 147.042C212.697 147.057 212.658 147.067 212.62 147.08L212.47 147.131L212.064 147.254L211.964 147.282C211.781 147.335 211.589 147.384 211.393 147.432L211.288 147.458C210.841 147.567 210.359 147.67 209.846 147.761L209.662 147.795L209.325 147.851L209.07 147.894L208.953 147.912L208.521 147.976L208.182 148.022L207.899 148.057C207.245 148.139 206.559 148.208 205.857 148.264L205.561 148.284C204.285 148.379 202.925 148.427 201.516 148.427C200.107 148.427 198.749 148.379 197.471 148.284L197.177 148.264C196.463 148.208 195.776 148.139 195.123 148.057L194.84 148.022L194.5 147.976L194.069 147.912L193.951 147.894L193.696 147.851L193.359 147.795L193.176 147.761C192.665 147.67 192.18 147.567 191.734 147.458L191.632 147.432C191.432 147.384 191.241 147.335 191.06 147.282L190.958 147.254L190.552 147.131L190.401 147.08L190.289 147.042L190.202 147.011L190.042 146.955L189.807 146.866C192.147 145.934 196.521 145.304 201.529 145.304C206.536 145.304 210.875 145.934 213.215 146.866Z",fill:"#2A2A2A"}),(0,r.jsx)("path",{d:"M212.431 132.546C212.431 133.608 211.648 134.417 210.683 134.355L205.686 134.036V50.11L210.673 49.7885C211.638 49.7273 212.421 50.5361 212.421 51.6002L212.431 132.546Z",fill:"url(#paint11_linear_1186_12167)"}),(0,r.jsx)("path",{d:"M93.9972 126.872C93.0325 126.808 92.249 126.055 92.2516 125.188V58.9589C92.2516 58.0913 93.0325 57.336 93.9972 57.2723L207.312 50.0054C208.276 49.9416 209.057 50.7479 209.06 51.8042V132.34C209.06 133.396 208.276 134.202 207.312 134.126L93.9972 126.872Z",fill:"url(#paint12_linear_1186_12167)"}),(0,r.jsx)("path",{d:"M97.2946 122.738V61.6585L204.262 55.698V128.747L97.2946 122.738Z",fill:"#333333"}),(0,r.jsx)("path",{d:"M106.367 68.3104C106.336 68.9227 105.835 69.4054 105.221 69.4127C104.935 69.4396 104.649 69.3469 104.433 69.1567C104.216 68.9664 104.088 68.6953 104.078 68.4074C104.108 67.795 104.608 67.3112 105.221 67.3025C105.509 67.2757 105.795 67.3685 106.012 67.5593C106.229 67.7501 106.357 68.0218 106.367 68.3104Z",fill:"#515151"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M129.967 68.3997L114.741 69.0248C114.452 69.0487 114.166 68.9531 113.949 68.7602C113.733 68.5673 113.605 68.294 113.595 68.0042C113.623 67.3872 114.123 66.8969 114.741 66.8815L129.967 66.2028C130.26 66.1809 130.55 66.2815 130.767 66.4807C130.983 66.6798 131.108 66.9598 131.11 67.254C131.092 67.8779 130.591 68.3797 129.967 68.3997Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M106.367 74.202C106.34 74.8143 105.835 75.2961 105.221 75.2941C104.933 75.3173 104.647 75.2213 104.431 75.0285C104.215 74.8356 104.088 74.5628 104.078 74.2735C104.108 73.6633 104.61 73.1834 105.221 73.1814C105.51 73.1582 105.796 73.2541 106.013 73.4469C106.229 73.6396 106.357 73.9124 106.367 74.202Z",fill:"#515151"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M138.723 74.2811L123.507 74.7429C123.215 74.7618 122.927 74.6602 122.711 74.4616C122.495 74.2631 122.37 73.9849 122.364 73.6917C122.384 73.0719 122.887 72.577 123.507 72.5664L138.733 72.0561C139.031 72.0415 139.321 72.1487 139.537 72.3529C139.753 72.5571 139.877 72.8406 139.879 73.138C139.863 73.7674 139.353 74.2717 138.723 74.2811Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M147.104 74.0387L142.733 74.1714C142.435 74.1853 142.144 74.0768 141.928 73.871C141.712 73.6652 141.59 73.3801 141.589 73.0819C141.599 72.451 142.102 71.9387 142.733 71.9183L147.104 71.7704C147.404 71.7564 147.696 71.8659 147.913 72.0732C148.129 72.2806 148.251 72.5677 148.25 72.8675C148.244 73.5018 147.739 74.0182 147.104 74.0387Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M183.544 72.9262L174.484 73.1992C174.178 73.2056 173.882 73.0865 173.666 72.8696C173.45 72.6527 173.333 72.3569 173.34 72.051C173.335 71.4042 173.838 70.8668 174.484 70.8288L183.544 70.5201C183.853 70.5149 184.15 70.6369 184.366 70.8574C184.582 71.0779 184.698 71.3776 184.687 71.6861C184.699 72.3388 184.195 72.8853 183.544 72.9262Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M169.701 73.3549L151.364 73.9112C151.064 73.9223 150.772 73.8104 150.556 73.6013C150.34 73.3923 150.219 73.1042 150.221 72.8038C150.227 72.1691 150.73 71.6507 151.364 71.625L169.701 70.9998C170.007 70.9913 170.302 71.1086 170.519 71.3242C170.735 71.5398 170.854 71.8349 170.847 72.1404C170.853 72.7872 170.347 73.3234 169.701 73.3549Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M106.367 86.0133C106.341 86.6225 105.831 87.0983 105.221 87.0824C104.931 87.0976 104.646 86.9958 104.431 86.7997C104.217 86.6035 104.089 86.3295 104.078 86.0388C104.104 85.431 104.613 84.9564 105.221 84.9722C105.512 84.9556 105.797 85.0565 106.013 85.2523C106.228 85.4481 106.356 85.7223 106.367 86.0133Z",fill:"#515151"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M117.893 86.9599L114.743 86.988C114.451 87.0004 114.165 86.8956 113.95 86.6968C113.735 86.4981 113.608 86.2217 113.598 85.9291C113.622 85.3168 114.131 84.8358 114.743 84.8446L117.893 84.8038C118.187 84.7907 118.474 84.8963 118.689 85.0969C118.905 85.2974 119.031 85.5761 119.039 85.8704C119.019 86.4859 118.509 86.9714 117.893 86.9599Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M106.367 97.8143C106.356 98.105 106.228 98.3788 106.012 98.5744C105.797 98.7701 105.512 98.8713 105.221 98.8553C104.613 98.8712 104.104 98.3966 104.078 97.7887C104.091 97.4988 104.218 97.2258 104.433 97.0303C104.648 96.8349 104.932 96.7332 105.221 96.7477C105.831 96.7304 106.341 97.2054 106.367 97.8143Z",fill:"#515151"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M129.571 99.1538L114.741 98.9727C114.127 98.9842 113.617 98.5017 113.595 97.8882C113.605 97.5951 113.732 97.3182 113.947 97.1188C114.162 96.9195 114.448 96.8144 114.741 96.8268L129.571 96.9518C130.194 96.9461 130.705 97.4422 130.717 98.0643C130.713 98.3616 130.589 98.6446 130.373 98.8496C130.158 99.0545 129.869 99.1641 129.571 99.1538Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M106.367 80.1115C106.34 80.7217 105.832 81.1997 105.221 81.1908C104.934 81.2103 104.65 81.1131 104.435 80.921C104.22 80.7289 104.091 80.4583 104.078 80.1702C104.106 79.5609 104.612 79.0833 105.221 79.0908C105.51 79.0713 105.793 79.1685 106.009 79.3605C106.224 79.5525 106.354 79.8232 106.367 80.1115Z",fill:"#515151"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M132.088 80.6576L123.507 80.8362C123.214 80.8507 122.926 80.7459 122.711 80.5455C122.496 80.3451 122.371 80.0662 122.364 79.7722C122.382 79.153 122.888 78.6596 123.507 78.6571L132.098 78.4555C132.395 78.4424 132.684 78.5501 132.9 78.7539C133.116 78.9578 133.24 79.2405 133.244 79.5374C133.226 80.1624 132.713 80.6592 132.088 80.6576Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M140.443 80.5045L136.072 80.5887C135.774 80.6004 135.485 80.4916 135.269 80.2869C135.053 80.0822 134.93 79.799 134.926 79.5017C134.939 78.8764 135.446 78.3743 136.072 78.3662L140.443 78.2616C140.742 78.2506 141.033 78.361 141.249 78.5678C141.464 78.7745 141.587 79.0599 141.589 79.3588C141.58 79.9875 141.072 80.4949 140.443 80.5045Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M174.53 79.8333L170.155 79.9201C169.849 79.9229 169.555 79.8019 169.34 79.5847C169.125 79.3675 169.006 79.0725 169.012 78.7668C169.006 78.1227 169.512 7
27.5899 170.155 77.5624L174.53 77.4604C174.837 77.4582 175.131 77.5804 175.347 77.7991C175.562 78.0179 175.68 78.3145 175.673 78.6213C175.685 79.2688 175.177 79.8071 174.53 79.8333Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M165.873 80.0043L145.178 80.41C144.878 80.4197 144.587 80.3076 144.372 80.0994C144.157 79.8913 144.035 79.6047 144.034 79.3052C144.042 78.6756 144.548 78.1656 145.178 78.1519L165.873 77.6671C166.178 77.6615 166.472 77.78 166.688 77.9956C166.904 78.2111 167.024 78.5051 167.019 78.8102C167.023 79.4528 166.515 79.9822 165.873 80.0043Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M160.115 112.476L150.95 112.17C150.316 112.144 149.813 111.625 149.807 110.991C149.806 110.69 149.927 110.403 150.143 110.194C150.359 109.985 150.65 109.874 150.95 109.886L160.115 110.156C160.756 110.185 161.26 110.712 161.261 111.353C161.265 111.656 161.145 111.948 160.929 112.16C160.712 112.372 160.418 112.486 160.115 112.476Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M106.367 109.615C106.357 109.905 106.229 110.178 106.013 110.37C105.796 110.563 105.51 110.659 105.221 110.636C104.61 110.637 104.107 110.157 104.078 109.546C104.089 109.258 104.217 108.986 104.433 108.793C104.648 108.601 104.933 108.504 105.221 108.526C105.833 108.525 106.337 109.005 106.367 109.615Z",fill:"#515151"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M138.034 111.733L131.516 111.514C130.891 111.5 130.388 110.998 130.373 110.373C130.377 110.078 130.501 109.797 130.717 109.596C130.933 109.394 131.221 109.289 131.516 109.304L138.034 109.498C138.663 109.514 139.167 110.023 139.178 110.651C139.177 110.949 139.054 111.233 138.838 111.437C138.622 111.642 138.331 111.749 138.034 111.733Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M146.17 112.006L142.733 111.891C142.101 111.872 141.597 111.359 141.589 110.728C141.59 110.43 141.712 110.144 141.928 109.939C142.144 109.733 142.435 109.624 142.733 109.638L146.17 109.74C146.804 109.758 147.31 110.275 147.314 110.909C147.315 111.208 147.193 111.495 146.977 111.702C146.761 111.91 146.47 112.019 146.17 112.006Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M106.367 103.716C106.354 104.004 106.224 104.275 106.009 104.467C105.793 104.659 105.51 104.756 105.221 104.737C104.611 104.746 104.104 104.267 104.078 103.657C104.093 103.37 104.222 103.1 104.436 102.908C104.651 102.716 104.934 102.619 105.221 102.637C105.832 102.628 106.34 103.106 106.367 103.716Z",fill:"#515151"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M148.22 105.732L131.516 105.349C130.893 105.342 130.388 104.844 130.373 104.221C130.377 103.925 130.501 103.644 130.717 103.44C130.932 103.237 131.22 103.13 131.516 103.142L148.22 103.461C148.853 103.473 149.36 103.989 149.363 104.622C149.363 104.922 149.242 105.21 149.026 105.419C148.811 105.628 148.52 105.741 148.22 105.732Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M126.935 105.244L123.507 105.165C122.889 105.163 122.383 104.671 122.364 104.053C122.37 103.758 122.495 103.479 122.71 103.278C122.926 103.077 123.213 102.972 123.507 102.986L126.945 103.053C127.568 103.054 128.076 103.551 128.091 104.173C128.086 104.47 127.96 104.753 127.742 104.955C127.523 105.157 127.232 105.262 126.935 105.244Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M167.195 106.166L152.668 105.842C152.033 105.825 151.526 105.308 151.522 104.673C151.522 104.371 151.644 104.083 151.859 103.872C152.075 103.661 152.367 103.546 152.668 103.553L167.195 103.831C167.838 103.853 168.345 104.384 168.338 105.028C168.341 105.331 168.221 105.623 168.006 105.837C167.791 106.051 167.498 106.17 167.195 106.166Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M194.372 106.788L179.846 106.456C179.197 106.425 178.689 105.884 178.7 105.234C178.693 104.926 178.811 104.628 179.026 104.407C179.242 104.186 179.537 104.061 179.846 104.061L194.372 104.339C195.028 104.377 195.535 104.93 195.516 105.586C195.53 105.899 195.416 106.204 195.2 106.431C194.984 106.657 194.685 106.786 194.372 106.788Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M175.06 106.352L171.623 106.275C170.979 106.246 170.473 105.713 170.479 105.068C170.473 104.762 170.591 104.467 170.807 104.249C171.022 104.031 171.316 103.91 171.623 103.913L175.06 103.976C175.707 104.004 176.215 104.541 176.206 105.188C176.214 105.496 176.096 105.794 175.88 106.013C175.664 106.232 175.368 106.355 175.06 106.352Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M106.367 91.9457C106.406 92.417 106.152 92.8639 105.727 93.0716C105.302 93.2794 104.793 93.2053 104.445 92.8852C104.097 92.565 103.981 92.0643 104.153 91.6236C104.324 91.1829 104.749 90.8925 105.222 90.8919C105.829 90.8674 106.341 91.3387 106.367 91.9457Z",fill:"#515151"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M132.662 92.9765L123.507 92.9638C122.892 92.9766 122.381 92.4899 122.364 91.8742C122.371 91.5785 122.496 91.2978 122.711 91.0939C122.925 90.89 123.212 90.7797 123.507 90.7873L132.672 90.7643C132.971 90.7595 133.259 90.8735 133.473 91.0812C133.688 91.2889 133.811 91.5732 133.816 91.8717C133.812 92.1719 133.687 92.458 133.47 92.6658C133.253 92.8735 132.962 92.9854 132.662 92.9765Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M177.921 93.048L168.757 93.0326C168.449 93.0286 168.156 92.9027 167.942 92.6826C167.727 92.4624 167.609 92.1662 167.613 9
21.8589C167.606 91.2197 168.117 90.695 168.757 90.6852L177.921 90.6648C178.232 90.6702 178.527 90.7989 178.742 91.0225C178.957 91.2461 179.074 91.5462 179.067 91.8564C179.073 92.1663 178.956 92.466 178.741 92.6895C178.526 92.913 178.231 93.0419 177.921 93.048Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M163.737 93.025L137.006 92.9842C136.382 92.9913 135.871 92.4924 135.862 91.8691C135.866 91.5696 135.988 91.2837 136.203 91.0745C136.417 90.8653 136.706 90.75 137.006 90.7541L163.737 90.6929C164.044 90.6949 164.337 90.819 164.552 91.0379C164.767 91.2567 164.886 91.5522 164.883 91.8589C164.886 92.1657 164.767 92.4612 164.552 92.68C164.337 92.8988 164.044 93.023 163.737 93.025Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M106.367 115.55C106.357 115.838 106.228 116.11 106.011 116.3C105.794 116.49 105.509 116.583 105.221 116.556C104.609 116.548 104.108 116.065 104.078 115.453C104.088 115.165 104.216 114.894 104.433 114.703C104.649 114.513 104.934 114.419 105.221 114.445C105.836 114.453 106.338 114.937 106.367 115.55Z",fill:"#515151"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M132.662 117.699L123.507 117.296C122.886 117.277 122.385 116.779 122.364 116.158C122.369 115.865 122.494 115.587 122.711 115.39C122.927 115.193 123.216 115.094 123.507 115.117L132.672 115.484C133.299 115.505 133.801 116.013 133.816 116.64C133.814 116.937 133.689 117.22 133.47 117.421C133.251 117.622 132.958 117.723 132.662 117.699Z",fill:"#707072"}),(0,r.jsx)("path",{opacity:"0.304408",d:"M163.737 119.069L137.006 117.89C136.377 117.865 135.877 117.355 135.862 116.727C135.864 116.431 135.987 116.149 136.204 115.947C136.42 115.745 136.71 115.641 137.006 115.66L163.737 116.737C164.381 116.773 164.884 117.307 164.883 117.951C164.889 118.254 164.769 118.547 164.552 118.758C164.335 118.97 164.04 119.082 163.737 119.069Z",fill:"#707072"}),(0,r.jsx)("path",{d:"M97.2947 122.738C145.332 118.116 173.521 96.1852 181.861 56.9463L204.262 55.698V128.747L97.2947 122.738Z",fill:"url(#paint13_linear_1186_12167)"}),(0,r.jsx)("g",{opacity:"0.1",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M153.239 84.1918C152.434 83.9361 151.566 83.9361 150.761 84.1918C150.153 84.3849 149.523 84.8844 148.67 86.0285C147.819 87.1715 146.854 88.8016 145.515 91.0695C144.175 93.3376 143.214 94.9688 142.627 96.2608C142.039 97.5571 141.918 98.3301 142.047 98.9236C142.22 99.7201 142.647 100.446 143.272 100.996C143.745 101.412 144.505 101.698 145.952 101.849C147.393 101.999 149.322 102 152 102C154.678 102 156.607 101.999 158.048 101.849C159.495 101.698 160.255 101.412 160.728 100.996C161.353 100.446 161.78 99.7201 161.953 98.9236C162.082 98.3301 161.961 97.5571 161.373 96.2608C160.786 94.9688 159.825 93.3376 158.485 91.0695C157.146 88.8016 156.181 87.1715 155.33 86.0285C154.477 84.8844 153.847 84.3849 153.239 84.1918ZM150.155 82.2857C151.354 81.9048 152.646 81.9048 153.845 82.2857C155.059 82.6712 156.003 83.585 156.933 84.8334C157.857 86.0726 158.875 87.7959 160.175 89.9974L160.175 89.9975L160.239 90.1068C161.54 92.3084 162.558 94.0322 163.194 95.4343C163.834 96.8438 164.177 98.1106 163.908 99.3486C163.643 100.567 162.991 101.669 162.049 102.498C161.098 103.335 159.819 103.675 158.255 103.838C156.698 104 154.665 104 152.062 104H151.938C149.336 104 147.302 104 145.745 103.838C144.181 103.675 142.902 103.335 141.951 102.498C141.01 101.669 140.357 100.567 140.092 99.3486C139.823 98.1106 140.166 96.8438 140.806 95.4343C141.442 94.0323 142.46 92.3086 143.76 90.1072L143.761 90.1072L143.761 90.1072L143.793 90.0525L143.825 89.9978C145.125 87.7961 146.143 86.0727 147.067 84.8334C147.997 83.585 148.941 82.6713 150.155 82.2857ZM150.5 99C150.5 98.1716 151.172 97.5 152 97.5H152.018C152.846 97.5 153.518 98.1716 153.518 99C153.518 99.8284 152.846 100.5 152.018 100.5H152C151.172 100.5 150.5 99.8284 150.5 99ZM153.016 87.0024C153.017 86.4501 152.571 86.0013 152.018 86.0001C151.466 85.9988 151.017 86.4455 151.016 86.9978L151 93.9978C150.999 94.5501 151.445 94.9988 151.998 95.0001C152.55 95.0013 152.999 94.5547 153 94.0024L153.016 87.0024Z",fill:"url(#paint14_linear_1186_12167)"})}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M150.239 84.1918C149.434 83.9361 148.566 83.9361 147.761 84.1918C147.
2153 84.3849 146.523 84.8844 145.67 86.0285C144.819 87.1715 143.854 88.8016 142.515 91.0695C141.175 93.3376 140.214 94.9688 139.627 96.2608C139.039 97.5571 138.918 98.3301 139.047 98.9236C139.22 99.7201 139.647 100.446 140.272 100.996C140.745 101.412 141.505 101.698 142.952 101.849C144.393 101.999 146.322 102 149 102C151.678 102 153.607 101.999 155.048 101.849C156.495 101.698 157.255 101.412 157.728 100.996C158.353 100.446 158.78 99.7201 158.953 98.9236C159.082 98.3301 158.961 97.5571 158.373 96.2608C157.786 94.9688 156.825 93.3376 155.485 91.0695C154.146 88.8016 153.181 87.1715 152.33 86.0285C151.477 84.8844 150.847 84.3849 150.239 84.1918ZM147.155 82.2857C148.354 81.9048 149.646 81.9048 150.845 82.2857C152.059 82.6712 153.003 83.585 153.933 84.8334C154.857 86.0726 155.875 87.7959 157.175 89.9974L157.175 89.9975L157.239 90.1068C158.54 92.3084 159.558 94.0322 160.194 95.4343C160.834 96.8438 161.177 98.1106 160.908 99.3486C160.643 100.567 159.991 101.669 159.049 102.498C158.098 103.335 156.819 103.675 155.255 103.838C153.698 104 151.665 104 149.062 104H148.938C146.336 104 144.302 104 142.745 103.838C141.181 103.675 139.902 103.335 138.951 102.498C138.01 101.669 137.357 100.567 137.092 99.3486C136.823 98.1106 137.166 96.8438 137.806 95.4343C138.442 94.0323 139.46 92.3086 140.76 90.1072L140.761 90.1072L140.761 90.1072L140.793 90.0525L140.825 89.9978C142.125 87.7961 143.143 86.0727 144.067 84.8334C144.997 83.585 145.941 82.6713 147.155 82.2857ZM147.5 99C147.5 98.1716 148.172 97.5 149 97.5H149.018C149.846 97.5 150.518 98.1716 150.518 99C150.518 99.8284 149.846 100.5 149.018 100.5H149C148.172 100.5 147.5 99.8284 147.5 99ZM150.016 87.0024C150.017 86.4501 149.571 86.0013 149.018 86.0001C148.466 85.9988 148.017 86.4455 148.016 86.9978L148 93.9978C147.999 94.5501 148.445 94.9988 148.998 95.0001C149.55 95.0013 149.999 94.5547 150 94.0024L150.016 87.0024Z",fill:"url(#paint15_linear_1186_12167)"}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_1186_12167",x1:"65.6872",y1:"150.712",x2:"69.7673",y2:"134.668",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#747474"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#949494",stopOpacity:"0"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_1186_12167",x1:"60.3305",y1:"140.108",x2:"60.3305",y2:"146.873",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{}),(0,r.jsx)("stop",{offset:"0.58",stopColor:"#B0B0B0"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#C5C5C5"})]}),(0,r.jsxs)("linearGradient",{id:"paint2_linear_1186_12167",x1:"156.482",y1:"134.243",x2:"156.02",y2:"157.369",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#747474"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#949494",stopOpacity:"0"})]}),(0,r.jsxs)("linearGradient",{id:"paint3_linear_1186_12167",x1:"120.856",y1:"151.318",x2:"123.554",y2:"131.806",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#B4B4C8"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#505064"})]}),(0,r.jsxs)("linearGradient",{id:"paint4_linear_1186_12167",x1:"142.567",y1:"143.643",x2:"142.319",y2:"152.714",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#E6E6F0"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#DCDCE6"})]}),(0,r.jsxs)("linearGradient",{id:"paint5_linear_1186_12167",x1:"145.336",y1:"144.036",x2:"145.417",y2:"132.298",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#E6E6F0"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#DCDCE6"})]}),(0,r.jsxs)("linearGradient",{id:"paint6_linear_1186_12167",x1:"147.834",y1:"153.178",x2:"169.689",y2:"135.774",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#B4B4C8"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#505064"})]}),(0,r.jsxs)("linearGradient",{id:"paint7_linear_1186_12167",x1:"210.119",y1:"170.368",x2:"223.017",y2:"135.68",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#747474"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#949494",stopOpacity:"0"})]}),(0,r.jsxs)("linearGradient",{id:"paint8_linear_1186_12167",x1:"211.671",y1:"148.854",x2:"228.389",y2:"158.393",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#F80F6B"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#FF4F42"})]}),(0,r.jsxs)("linearGradient",{id:"paint9_linear_1186_12167",x1:"187.964",y1:"145.345",x2:"217.019",y2:"172.332",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#F80F6B"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#FF4F42"})]}),(0,r.jsxs)("linearGradient",{id:"paint10_linear_1186_12167",x1:"203.854",y1:"185.537",x2:"203.901",y2:"144.222",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#F80F6B"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#FF4F42"})]}),(0,r.jsxs)("linearGradient",{id:"paint11_linear_1186_12167",x1:"217.694",y1:"51.4369",x2:"197.283",y2:"52.0387",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#B4B4C8"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#505064"})]}),(0,r.jsxs)("linearGradient",{id:"paint12_linear_1186_12167",x1:"204.905",y1:"50.8117",x2:"143.677",y2:"148.562",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#E6E6F0"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#DCDCE6"})]}),(0,r.jsxs)("linearGradient",{id:"paint13_linear_1186_12167",x1:"204.262",y1:"114.14",x2:"94.5084",y2:"134.051",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopOpacity:"0.2"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#333333",stopOpacity:"0"})]}),(0,r.jsxs)("linearGradient",{id:"paint14_linear_1186_12167",x1:"140",y1:"82",x2:"161.917",y2:"105.909",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#F80F6B"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#FF4F42"})]}),(0,r.jsxs)("linearGradient",{id:"paint15_linear_1186_12167",x1:"137",y1:"82",x2:"158.917",y2:"105.909",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#F80F6B"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#FF4F42"})]})]})]}))}},11307:(e,t)=>{"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.smallSparklePath=t.largeSparklePath=void 0,t.largeSparklePath="M8.42692 1.72233C8.6472 3.11808 9.27771 5.43516 11.0897 7.24659C12.9022 9.05858 15.221 9.68862 16.617 9.90864V10.147C15.221 10.367 12.9022 10.9972 11.0897 12.8091C9.27783 14.6204 8.64725 16.9375 8.42692 18.3333H8.18766C7.9778 17.0046 7.39671 14.8409 5.778 13.0735L5.52572 12.8091C3.71403 10.998 1.39626 10.3673 0 10.147V9.90864C1.32916 9.6988 3.49348 9.11765 5.26123 7.49961L5.52572 7.24659C7.33748 5.43522 7.96738 3.11803 8.18766 1.72233H8.42692Z",t.smallSparklePath="M15.1001 0C15.1871 0.551168 15.4352 1.4666 16.1507 2.18204C16.8658 2.89691 17.781 3.14443 18.3325 3.23157V3.32838C17.781 3.41551 16.8659 3.66379 16.1507 4.37872C15.4348 5.09447 15.187 6.01047 15.1001 6.56158H15.0049C14.9222 6.03691 14.6933 5.18133 14.0536 4.48286L13.9535 4.37872C13.2378 3.66335 12.3222 3.41532 11.7709 3.32838V3.23238C12.2957 3.14957 13.151 2.92124 13.8493 2.28211L13.9535 2.18204C14.6691 1.46661 14.9171 0.551216 15.0041 0H15.1001Z"},30289:(e,t,n)=>{"use strict";var r=n(89905),o=n(67995);Object.defineProperty(t,"__esModule",{value:!0}),t.KaiHost=void 0;var i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(24002)),a=r(n(18036)),s=n(85783),l=n(91072);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}t.KaiHost=function(e){var t=e.children,n=(0,s.getKaiPlacementController)(),r=(0,i.useCallback)((function(e){n.setParking(e)}),[n]);return i.default.createElement(i.default.Fragment,null,i.default.createElement(l.Parking,{ref:r,"data-test":"kai-parking","aria-hidden":"true"}),a.default.createPortal(t,n.kaiHostEl))}},32181:(e,t,n)=>{"use strict";var r=n(89905),o=n(67995);Object.defineProperty(t,"__esModule",{value:!0}),t.KaiPanel=void 0;var i=r(n(92304)),a=r(n(77932)),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(24002)),l=n(19888),c=n(85783),u=n(12741),d=n(87140),p=n(60695),f=n(82852),h=n(74825),m=n(39935),g=n(91072);function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var w=300,x="cubic-bezier(0.16, 1, 0.3, 1)";t.KaiPanel=function(e){var t=e.maxWidthPx,n=e.isFullscreen,r=void 0!==n&&n,o=(0,c.getKaiPlacementController)(),i=(0,l.useSyncExternalStore)(o.subscribe,o.getSnapshot),v=(0,s.useRef)(null),y=(0,s.useState)(!1),k=(0,a.default)(y,2),C=k[0],E=k[1],S=(0,s.useState)(!1),O=(0,a.default)(S,2),A=O[0],_=O[1],P=(0,p.useShellPanelWidthPx)(),j=(0,f.useIsMobileViewport)(),T=(0,u.useKaiPanelReserve)(),I=(0,s.useState)(r),L=(0,a.default)(I,2),N=L[0],R=L[1],D=(0,s.useRef)(r),F=(0,s.useState)(null),M=(0,a.default)(F,2),B=M[0],V=M[1];(0,u.usePublishKaiPanelReserve)(T),(0,d.usePublishLegacyCopilotChannel)(b(b({},T),{},{resizing:C}));var z=(0,s.useCallback)((function(e){o.setSlot(e)}),[o]),U=i.isOpen;(0,s.useEffect)((function(){return(0,p.setShellPanelMaxWidthPx)(t),function(){return(0,p.setShellPanelMaxWidthPx)(null)}}),[t]),(0,s.useEffect)((function(){if("undefined"!=typeof document){var e=document.documentElement;return e.style.setProperty("--kai-panel-resizing",C?"1":"0"),function(){e.style.removeProperty("--kai-panel-resizing")}}}),[C]);var H=(0,s.useCallback)((function(){return o.requestClose()}),[o]);return(0,s.useEffect)((function(){if(r===D.current||j)return D.current=r,void V((function(e){return null===e?e:null}));var e=v.current;if(e){var t,n=e.getBoundingClientRect(),o="left ".concat(w,"ms ").concat(x,", top ").concat(w,"ms ").concat(x,", width ").concat(w,"ms ").concat(x,", height ").concat(w,"ms ").concat(x,", border-radius ").concat(w,"ms ").concat(x),i=!1,a=0,s=0,l=function(e){D.current=e,R(e),V(null)};if(r)V({left:n.left,top:n.top,width:n.width,height:n.height,borderRadius:16}),a=requestAnimationFrame((function(){s=requestAnimationFrame((function(){i||V({left:0,top:0,width:window.innerWidth,height:window.innerHeight,borderRadius:0,transition:o})}))})),t=setTimeout((function(){i||l(!0)}),350);else{var c=window.innerHeight-84,u=window.innerWidth-P-12;V({left:n.left,top:n.top,width:n.width,height:n.height,borderRadius:0,transition:o}),a=requestAnimationFrame((function(){s=requestAnimationFrame((function(){i||V({left:u,top:72,width:P,height:c,borderRadius:16,transition:o})}))})),t=setTimeout((function(){i||l(!1)}),350)}return function(){i=!0,void 0!==t&&clearTimeout(t),cancelAnimationFrame(a),0!==s&&cancelAnimationFrame(s)}}}),[r,j,P]),s.default.createElement(s.default.Fragment,null,j&&s.default.createElement(g.SheetScrim,{"data-active":U,"data-test":"kai-panel-scrim","aria-hidden":"true",onClick:H}),s.default.createElement(g.PanelCard,{ref:v,"data-active":U,"data-mobile":j,"data-fullscreen":N,"data-resizing":C,"data-edge-active":!j&&!(r||null!==B)&&(A||C),"aria-hidden":!U,"data-test":"kai-panel",style:null!=B?B:j||N?void 0:{"--kai-panel-width-px":"".concat(P,"px")}},!(r||null!==B)&&(j?s.default.createElement(h.KaiPanelGrabHandle,{sheetRef:v,onDismiss:H}):s.default.createElement(m.KaiPanelResizeHandle,{widthPx:P,resizing:C,onWidthChange:p.setShellPanelWidthPx,onResizingChange:E,onHoverChange:_})),s.default.createElement(g.PanelClip,{"data-mobile":j},s.default.createElement(g.PanelInner,{ref:z}))))}},74825:(e,t,n)=>{"use strict";var r=n(67995);
2Object.defineProperty(t,"__esModule",{value:!0}),t.KaiPanelGrabHandle=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=r(e)&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(o,a,l):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(24002)),i=n(49262),a=n(91072);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}t.KaiPanelGrabHandle=function(e){var t=e.sheetRef,n=e.onDismiss,r=(0,o.useRef)(null),s=(0,o.useCallback)((function(){var e=t.current;e&&(e.style.transform="",e.style.transition="")}),[t]);(0,o.useEffect)((function(){return s}),[s]);var l=function(e,t){var o,a,l=r.current;if(l&&e.pointerId===l.pointerId){var c=Math.max(0,e.clientY-l.startY);r.current=null,null!==(o=(a=e.currentTarget).hasPointerCapture)&&void 0!==o&&o.call(a,e.pointerId)&&e.currentTarget.releasePointerCapture(e.pointerId),t&&c>=i.kaiPanelDismissThresholdPx&&n(),s()}};return o.default.createElement(a.GrabRow,{role:"button","aria-label":"Dismiss Kai",tabIndex:0,"data-test":"kai-panel-grab-handle",onPointerDown:function(e){var n=t.current;0===e.button&&null===r.current&&n&&(e.preventDefault(),r.current={pointerId:e.pointerId,startY:e.clientY},n.style.transition="none",e.currentTarget.setPointerCapture(e.pointerId))},onPointerMove:function(e){var n=r.current,o=t.current;if(n&&e.pointerId===n.pointerId&&o){var i=Math.max(0,e.clientY-n.startY);o.style.transform="translateY(".concat(i,"px)")}},onPointerUp:function(e){return l(e,!0)},onPointerCancel:function(e){return l(e,!1)},onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key&&"ArrowDown"!==e.key||(e.preventDefault(),n())}},o.default.createElement(a.GrabPill,null))}},39935:(e,t,n)=>{"use strict";var r=n(67995);Object.defineProperty(t,"__esModule",{value:!0}),t.KaiPanelResizeHandle=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=r(e)&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(24002)),i=n(49262),a=n(60695),s=n(91072);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}t.KaiPanelResizeHandle=function(e){var t=e.widthPx,n=e.resizing,r=e.onWidthChange,l=e.onResizingChange,c=e.onHoverChange,u=(0,o.useRef)(null),d=(0,o.useCallback)((function(e){var t,n,r=u.current;r&&e.pointerId===r.pointerId&&(u.current=null,null!==(t=(n=e.currentTarget).hasPointerCapture)&&void 0!==t&&t.call(n,e.pointerId)&&e.currentTarget.releasePointerCapture(e.pointerId),l(!1))}),[l]);return(0,o.useEffect)((function(){return function(){null!==u.current&&(u.current=null,l(!1))}}),[l]),o.default.createElement(s.ResizeHandle,{role:"separator","aria-orientation":"vertical","aria-label":"Resize Kai","aria-valuenow":t,"aria-valuemin":i.kaiPanelMinWidthPx,"aria-valuemax":(0,a.getShellPanelMaxWidthPx)(),tabIndex:0,"data-resizing":n,"data-test":"kai-panel-resize-handle",onPointerDown:function(e){0===e.button&&null===u.current&&(e.preventDefault(),u.current={pointerId:e.pointerId,startX:e.clientX,startWidthPx:t},e.currentTarget.setPointerCapture(e.pointerId),l(!0))},onPointerMove:function(e){var t=u.current;t&&e.pointerId===t.pointerId&&r((0,a.clampShellPanelWidth)(t.startWidthPx+(t.startX-e.clientX)))},onPointerUp:d,onPointerCancel:d,onPointerEnter:function(){return c(!0)},onPointerLeave:function(){return c(!1)},onKeyDown:function(e){var n;switch(e.key){case"ArrowLeft":n=t+i.kaiPanelResizeStepPx;break;case"ArrowRight":n=t-i.kaiPanelResizeStepPx;break;case"Home":n=i.kaiPanelMinWidthPx;break;case"End":n=(0,a.getShellPanelMaxWidthPx)();break;default:return}e.preventDefault(),r((0,a.clampShellPanelWidth)(n))}},o.default.createElement(s.ResizeGrip,null))}}
2,92648:(e,t,n)=>{"use strict";var r=n(89905),o=n(67995);Object.defineProperty(t,"__esModule",{value:!0}),t.KaiSparkleIcon=void 0;var i=r(n(77932)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(24002)),s=n(11307);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}var c=[{corner:"tl",color:"#FF8E3C",transform:"matrix(18.3325 18.3333 -18.3325 18.3333 0 0)"},{corner:"tr",color:"#FF5700",transform:"matrix(-18.3325 18.3333 -18.3325 -18.3333 18.3325 0)"},{corner:"bl",color:"#7A2EFF",transform:"matrix(18.3325 -18.3333 18.3325 18.3333 0 18.3333)"},{corner:"br",color:"#867DFF",transform:"matrix(-18.3325 -18.3333 18.3325 -18.3333 18.3325 18.3333)"}],u=0;t.KaiSparkleIcon=function(e){var t=e.size,n=void 0===t?20:t,r=e.variant,o=void 0===r?"gradient":r,l=(0,a.useState)((function(){return"kai-sparkle-".concat(u+=1)})),d=(0,i.default)(l,1)[0];return"solid"===o?a.default.createElement("svg",{width:n,height:n,viewBox:"0 0 18.3325 18.3333",fill:"none",style:{display:"block"}},a.default.createElement("path",{d:s.largeSparklePath,fill:"#fff"}),a.default.createElement("path",{d:s.smallSparklePath,fill:"#fff"})):a.default.createElement("svg",{width:n,height:n,viewBox:"0 0 18.3325 18.3333",fill:"none",style:{display:"block"}},a.default.createElement("g",null,[s.largeSparklePath,s.smallSparklePath].map((function(e){return c.map((function(t){var n=t.corner;return a.default.createElement("path",{key:"".concat(n,"-").concat(e.length,"-").concat(e.slice(0,8)),d:e,fill:"url(#".concat(d,"-").concat(n,")")})}))}))),a.default.createElement("defs",null,c.map((function(e){var t=e.corner,n=e.color,r=e.transform;return a.default.createElement("radialGradient",{key:t,id:"".concat(d,"-").concat(t),cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:r},a.default.createElement("stop",{stopColor:n}),a.default.createElement("stop",{offset:"0.75",stopColor:n,stopOpacity:"0"}))}))))}},6879:(e,t,n)=>{"use strict";var r=n(89905);Object.defineProperty(t,"__esModule",{value:!0}),t.KaiTrigger=void 0;var o=r(n(82629)),i=r(n(24002)),a=n(19888),s=n(85783),l=n(82852),c=n(92648),u=n(91072);t.KaiTrigger=function(e){var t=e.source,n=void 0===t?"shell-trigger":t,r=e.zIndex,d=(0,s.getKaiPlacementController)(),p=(0,a.useSyncExternalStore)(d.subscribe,d.getSnapshot).isOpen,f=(0,l.useIsMobileViewport)(),h={type:"button","data-active":p,"data-test":"kai-trigger-".concat(n),"aria-label":p?"Close Kai":"Ask Kai","aria-expanded":p,onClick:function(){p?d.requestClose():d.requestOpen({source:n})}};return f?i.default.createElement(u.TriggerFab,h,i.default.createElement(c.KaiSparkleIcon,{size:22,variant:p?"solid":"gradient"})):i.default.createElement(u.TriggerButton,(0,o.default)({},h,{style:void 0!==r?{zIndex:r}:void 0}),i.default.createElement(c.KaiSparkleIcon,{variant:p?"solid":"gradient"}))}},91072:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TriggerFab=t.TriggerButton=t.SheetScrim=t.ResizeHandle=t.ResizeGrip=t.Parking=t.PanelInner=t.PanelClip=t.PanelCard=t.GrabRow=t.GrabPill=void 0;var r=n(98003),o=n(49262);t.Parking=r.styled.div({display:"none"}),t.TriggerButton=r.styled.button((function(e){var t=e.theme;return{position:"relative",width:40,height:40,flexShrink:0,boxSizing:"border-box",borderRadius:10,border:"none",padding:0,background:t.semanticColors.background.primary,boxShadow:"none",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",transition:"background 300ms cubic-bezier(0.4, 0.14, 0.3, 1), box-shadow 300ms cubic-bezier(0.4, 0.14, 0.3, 1)","&:hover:not(:disabled):not([data-active='true'])":{boxShadow:"rgba(20, 23, 26, 0.14) 0 2px 12px"},"&[data-active='true']":{background:"radial-gradient(at 100% 100%, rgb(134, 125, 255) 0%, rgba(134, 125, 255, 0) 75%), radial-gradient(at 0% 100%, rgb(122, 46, 255) 0%, rgba(122, 46, 255, 0) 75%), radial-gradient(at 100% 0%, rgb(255, 87, 0) 0%, rgba(255, 87, 0, 0) 75%), radial-gradient(at 0% 0%, rgb(255, 142, 60) 0%, rgba(255, 142, 60, 0) 75%)","&:hover:not(:disabled)":{boxShadow:"rgba(255, 100, 100, 0.35) 0 6px 24px, rgba(134, 125, 255, 0.25) 0 3px 12px"}},"&:disabled":{cursor:"default",opacity:.4}
2,"&:focus-visible":{outline:"2px solid ".concat(t.semanticColors.border.focus),outlineOffset:2}}})),t.TriggerFab=r.styled.button((function(e){var t=e.theme;return{width:48,height:48,flexShrink:0,border:"none",borderRadius:14,padding:0,backgroundColor:t.semanticColors.background.primary,boxShadow:"rgba(255, 100, 100, 0.25) 0 4px 20px, rgba(134, 125, 255, 0.15) 0 2px 8px",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",transition:"opacity 0.15s, visibility 0.15s","&:disabled":{cursor:"default",opacity:.4},"&[data-active='true']":{opacity:0,pointerEvents:"none",visibility:"hidden"},"&:focus-visible":{outline:"2px solid ".concat(t.semanticColors.border.focus),outlineOffset:2}}})),t.PanelCard=r.styled.div((function(e){var t=e.theme;return{position:"fixed",top:72,right:12,bottom:12,width:"var(--kai-panel-width-px, ".concat(o.kaiPanelMinWidthPx,"px)"),maxWidth:"calc(100vw - ".concat(o.kaiPanelReserveGapPx,"px)"),zIndex:o.kaiPanelZIndex,backgroundColor:t.semanticColors.background.primary,border:"1px solid rgba(20, 23, 26, 0.08)",borderRadius:16,transform:"translateX(calc(100% + 24px))",opacity:0,pointerEvents:"none",visibility:"hidden",transition:"transform ".concat(o.kaiPanelTransition,", opacity ").concat(o.kaiPanelTransition,", bottom ").concat(o.kaiPanelTransition,", ")+"visibility ".concat(o.kaiPanelTransition,", border-color 0.12s"),"&[data-active='true']":{transform:"translateX(0)",opacity:1,pointerEvents:"auto",visibility:"visible"},"&[data-resizing='true']":{transition:"none"},"&[data-edge-active='true']":{borderColor:"rgba(20, 23, 26, 0.35)"},"&[data-mobile='true']":{top:12,right:0,bottom:0,left:0,width:"auto",maxWidth:"none",border:"none",borderRadius:"16px 16px 0 0",overflow:"hidden",display:"flex",flexDirection:"column",opacity:1,transform:"translateY(100%)",transition:"transform ".concat(o.kaiPanelMobileTransition,", visibility ").concat(o.kaiPanelMobileTransition),"&[data-active='true']":{transform:"translateY(0)"}},"&[data-fullscreen='true']":{top:0,right:0,bottom:0,left:0,width:"100vw",height:"100vh",maxWidth:"none",zIndex:o.kaiPanelFullscreenZIndex,border:"none",borderRadius:0,transform:"none"}}})),t.PanelClip=r.styled.div({position:"absolute",inset:0,overflow:"hidden",borderRadius:16,isolation:"isolate","&[data-mobile='true']":{position:"relative",inset:"auto",flex:"1 1 0%",minHeight:0,borderRadius:0}}),t.PanelInner=r.styled.div({width:"100%",height:"100%"}),t.ResizeHandle=r.styled.div((function(e){var t=e.theme;return{"--kai-resize-grip-color":t.colors.grays[40],"--kai-resize-grip-opacity":"0",position:"absolute",top:0,bottom:0,left:-5,width:10,zIndex:5,cursor:"col-resize",touchAction:"none","&:hover, &:focus-visible":{"--kai-resize-grip-color":"#8b929c","--kai-resize-grip-opacity":"1",outline:"none"},"&[data-resizing='true']":{"--kai-resize-grip-color":t.semanticColors.border.interactive,"--kai-resize-grip-opacity":"1"}}})),t.ResizeGrip=r.styled.div((function(e){var t=e.theme;return{position:"absolute",top:"50%",left:1,transform:"translateY(-50%)",width:8,height:44,borderRadius:8,backgroundColor:"var(--kai-resize-grip-color, ".concat(t.colors.grays[40],")"),opacity:"var(--kai-resize-grip-opacity, 0)",transition:"background-color 0.12s, opacity 0.12s"}})),t.SheetScrim=r.styled.div({position:"fixed",inset:0,zIndex:o.kaiPanelScrimZIndex,backgroundColor:"rgba(20, 23, 26, 0.4)",opacity:0,pointerEvents:"none",visibility:"hidden",transition:"opacity ".concat(o.kaiPanelMobileTransition,", visibility ").concat(o.kaiPanelMobileTransition),"&[data-active='true']":{opacity:1,pointerEvents:"auto",visibility:"visible"}}),t.GrabRow=r.styled.div((function(e){var t=e.theme;return{"--kai-grab-pill-color":t.colors.grays[20],display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,padding:"8px 0 4px",cursor:"grab",touchAction:"none","&:hover, &:focus-visible":{"--kai-grab-pill-color":t.colors.grays[40],outline:"none"},"&:active":{cursor:"grabbing"}}})),t.GrabPill=r.styled.div((function(e){var t=e.theme;return{width:40,height:4,borderRadius:999,backgroundColor:"var(--kai-grab-pill-color, ".concat(t.colors.grays[20],")"),transition:"background-color 0.12s"}}))},49262:(e,t)=>
2{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.kaiTriggerZIndex=t.kaiPanelZIndex=t.kaiPanelTransitionTimingFunction=t.kaiPanelTransitionDuration=t.kaiPanelTransition=t.kaiPanelScrimZIndex=t.kaiPanelResizeStepPx=t.kaiPanelReserveGapPx=t.kaiPanelReserveCssVar=t.kaiPanelMobileTransition=t.kaiPanelMobileBreakpointPx=t.kaiPanelMinWidthPx=t.kaiPanelFullscreenZIndex=t.kaiPanelDismissThresholdPx=t.computeKaiPanelCeilingPx=void 0;var n=t.kaiPanelMinWidthPx=360,r=(t.computeKaiPanelCeilingPx=function(e){var t=n;return e>=1684?640:e<=1396?t:Math.round(t+(e-1396)*(640-t)/288)},t.kaiPanelReserveGapPx=24,t.kaiPanelReserveCssVar="--kai-panel-reserve-px",t.kaiPanelResizeStepPx=16,t.kaiPanelZIndex=10001),o=(t.kaiPanelFullscreenZIndex=9040,t.kaiPanelScrimZIndex=r-1,t.kaiTriggerZIndex=r+1,t.kaiPanelTransitionDuration="300ms"),i=t.kaiPanelTransitionTimingFunction="cubic-bezier(0, 0, 0.38, 0.9)";t.kaiPanelTransition="".concat(o," ").concat(i),t.kaiPanelMobileTransition="550ms cubic-bezier(0, 0, 0.38, 0.9)",t.kaiPanelMobileBreakpointPx=1024,t.kaiPanelDismissThresholdPx=96},85783:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getKaiPlacementController=t.createKaiPlacementController=void 0;var n=t.createKaiPlacementController=function(){var e=document.createElement("div");e.setAttribute("data-kai-host","true"),e.style.width="100%",e.style.height="100%";var t=new Set,n=null,r=null,o=!1,i={isOpen:!1},a=function(){var t=o?r:n;t&&e.parentNode!==t&&t.appendChild(e)},s=function(){i.isOpen!==o&&(i={isOpen:o},t.forEach((function(e){return e()})))};return{kaiHostEl:e,setParking:function(e){n=e,a()},setSlot:function(e){r=e,a()},requestOpen:function(t){var n=t.source;e.setAttribute("data-kai-open-source",n),o=!0,a(),s()},requestClose:function(){e.removeAttribute("data-kai-open-source"),o=!1,a(),s()},getSnapshot:function(){return i},notifyShellPanelChanged:function(){t.forEach((function(e){return e()}))},subscribe:function(e){return t.add(e),function(){t.delete(e)}}}},r=null;t.getKaiPlacementController=function(){return r||(r=n()),r}},12741:(e,t,n)=>{"use strict";var r=n(89905);Object.defineProperty(t,"__esModule",{value:!0}),t.usePublishKaiPanelReserve=t.useKaiPanelReserve=t.computeKaiPanelReservePx=void 0;var o=r(n(77932)),i=n(24002),a=n(49262),s=n(60695),l=n(82852),c="data-kai-docked",u=t.computeKaiPanelReservePx=function(e,t,n){if(!e)return 0;var r=Math.min(t,n-a.kaiPanelReserveGapPx);return Math.round(r+a.kaiPanelReserveGapPx)},d=(t.useKaiPanelReserve=function(){var e=(0,s.useShellPanelActive)(),t=(0,l.useIsMobileViewport)(),n=(0,s.useShellPanelWidthPx)(),r=function(){var e=(0,i.useState)((function(){return window.innerWidth})),t=(0,o.default)(e,2),n=t[0],r=t[1];return(0,i.useEffect)((function(){var e=function(){return r(window.innerWidth)};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[]),n}(),a=e&&!t;return{docked:a,reservePx:u(a,n,r)}},null);t.usePublishKaiPanelReserve=function(e){var t=e.docked,n=e.reservePx;(0,i.useEffect)((function(){if("undefined"!=typeof document){var e=document.documentElement;e.style.setProperty(a.kaiPanelReserveCssVar,"".concat(n,"px")),e.setAttribute(c,String(t))}}),[t,n]),(0,i.useEffect)((function(){if("undefined"!=typeof document){var e={};return d=e,function(){if(d===e){d=null;var t=document.documentElement;t.style.removeProperty(a.kaiPanelReserveCssVar),t.removeAttribute(c)}}}}),[])}},60695:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useShellPanelWidthPx=t.useShellPanelActive=t.setShellPanelWidthPx=t.setShellPanelMaxWidthPx=t.getShellPanelWidthPx=t.getShellPanelMaxWidthPx=t.clampShellPanelWidth=void 0;var r=n(19888),o=n(49262),i=n(85783),a=o.kaiPanelMinWidthPx,s=1/0,l=null,c=0,u=function(e){var t=p(a);t!==a&&(a=t,e?queueMicrotask((function(){return(0,i.getKaiPlacementController)().notifyShellPanelChanged()})):(0,i.getKaiPlacementController)().notifyShellPanelChanged())},d=t.getShellPanelMaxWidthPx=function(){var e=Math.floor(window.innerWidth),t=e-o.kaiPanelReserveGapPx;return Math.max(o.kaiPanelMinWidthPx,Math.min(s,(0,o.computeKaiPanelCeilingPx)(e),t))},p=(t.setShellPanelMaxWidthPx=function(e){var t=null!=e&&Number.isFinite(e)?Math.round(e):1/0,n=t!==s;s=t;var r=p(a),o=r!==a;a=r,(n||o)&&(0,i.getKaiPlacementController)().notifyShellPanelChanged()},t.clampShellPanelWidth=function(e){return Number.isFinite(e)?Math.min(d(),Math.max(o.kaiPanelMinWidthPx,Math.round(e))):o.kaiPanelMinWidthPx}),f=(t.setShellPanelWidthPx=function(e){var t=p(e);t!==a&&(a=t,(0,i.getKaiPlacementController)().notifyShellPanelChanged())},t.getShellPanelWidthPx=function(){return a}),h=function(){return(0,i.getKaiPlacementController)().getSnapshot().isOpen},m=(t.useShellPanelActive=function(){return(0,r.useSyncExternalStore)((0,i.getKaiPlacementController)().subscribe,h)},function(e){var t=(0,i.getKaiPlacementController)().subscribe(e),n=function(){if("undefined"==typeof window)return function(){};c+=1,null===l&&(l=function(){return u(!1)},window.addEventListener("resize",l)),u(!0);var e=!1;return function(){e||(e=!0,0==(c-=1)&&null!==l&&(window.removeEventListener("resize",l),l=null))}}();return function(){t(),n()}});t.useShellPanelWidthPx=function(){return(0,r.useSyncExternalStore)(m,f)}}
2,82852:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useIsMobileViewport=void 0;var r=n(19888),o=n(49262),i=function(){return"(max-width: ".concat(o.kaiPanelMobileBreakpointPx,"px)")},a=function(){return"function"==typeof window.matchMedia?window.matchMedia(i()).matches:window.innerWidth<=o.kaiPanelMobileBreakpointPx},s=function(e){if("function"!=typeof window.matchMedia)return function(){};var t=window.matchMedia(i());return t.addEventListener("change",e),function(){return t.removeEventListener("change",e)}};t.useIsMobileViewport=function(){return(0,r.useSyncExternalStore)(s,a)}},81837:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useKaiSnapshot=void 0;var r=n(19888),o=n(85783);t.useKaiSnapshot=function(){return(0,r.useSyncExternalStore)((0,o.getKaiPlacementController)().subscribe,(0,o.getKaiPlacementController)().getSnapshot)}},25451:(e,t,n)=>{"use strict";Object.defineProperty(t,"Ct",{enumerable:!0,get:function(){return r.KaiHost}}),Object.defineProperty(t,"mr",{enumerable:!0,get:function(){return o.KaiPanel}}),Object.defineProperty(t,"G6",{enumerable:!0,get:function(){return i.KaiTrigger}}),Object.defineProperty(t,"xI",{enumerable:!0,get:function(){return a.getKaiPlacementController}}),Object.defineProperty(t,"HX",{enumerable:!0,get:function(){return l.kaiPanelTransition}}),Object.defineProperty(t,"OK",{enumerable:!0,get:function(){return l.kaiPanelZIndex}}),Object.defineProperty(t,"Ol",{enumerable:!0,get:function(){return l.kaiTriggerZIndex}}),Object.defineProperty(t,"Tq",{enumerable:!0,get:function(){return s.useKaiSnapshot}});var r=n(30289),o=n(32181),i=n(6879),a=n(85783),s=n(81837),l=n(49262)},87140:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePublishLegacyCopilotChannel=void 0;var r=n(24002),o=n(49262),i="data-awx-copilot-open",a="--awx-copilot-panel-width",s="--awx-copilot-transition-duration",l="--awx-copilot-transition-timing-function",c=null;t.usePublishLegacyCopilotChannel=function(e){var t=e.docked,n=e.reservePx,u=e.resizing;(0,r.useEffect)((function(){if("undefined"!=typeof document){var e=document.documentElement;e.style.setProperty(a,"".concat(n,"px")),e.style.setProperty(s,u?"0s":o.kaiPanelTransitionDuration),e.style.setProperty(l,o.kaiPanelTransitionTimingFunction)}}),[n,u]),(0,r.useEffect)((function(){if("undefined"!=typeof document){var e=document.body,n=function(){t?"true"!==e.getAttribute(i)&&e.setAttribute(i,"true"):e.hasAttribute(i)&&e.removeAttribute(i)},r=new MutationObserver(n);return r.observe(e,{attributes:!0,attributeFilter:[i]}),n(),function(){return r.disconnect()}}}),[t]),(0,r.useEffect)((function(){if("undefined"!=typeof document){var e={};return c=e,function(){if(c===e){c=null;var t=document.documentElement;t.style.removeProperty(a),t.style.removeProperty(s),t.style.removeProperty(l),document.body.removeAttribute(i)}}}}),[])}},86789:(e,t,n)=>{"use strict";var r=n(67995);Object.defineProperty(t,"__esModule",{value:!0}),t.SURFACE_EXTENSIONS_READY_EVENT=t.SURFACE_EXTENSIONS_KEY=t.KaiEdgePanelBridge=t.EDGE_PANEL_TIMING_VAR=t.EDGE_PANEL_RESERVE_VAR=t.EDGE_PANEL_DURATION_VAR=t.EDGE_PANEL_ATTR=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=r(e)&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&{}.hasOwnProperty.call(e,s)){var l=i?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(o,s,l):o[s]=e[s]}return o.default=e,n&&n.set(e,o),o}(n(24002)),i=n(6879);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}var s=t.SURFACE_EXTENSIONS_KEY="__awxSurfaceExtensions",l=t.SURFACE_EXTENSIONS_READY_EVENT="awx:surface-extensions:ready",c=t.EDGE_PANEL_ATTR="data-awx-edge-panel",u=t.EDGE_PANEL_RESERVE_VAR="--awx-edge-panel-reserve-px",d=t.EDGE_PANEL_DURATION_VAR="--awx-edge-panel-transition-duration",p=t.EDGE_PANEL_TIMING_VAR="--awx-edge-panel-transition-timing-function",f="data-kai-docked";t.KaiEdgePanelBridge=function(){return(0,o.useEffect)((function(){if(!window[s]){var e=Object.freeze({contractVersion:1,regions:Object.freeze({"drawer.header.trailing":function(){return o.default.createElement("div",{style:{display:"flex",alignItems:"center",marginRight:8}},o.default.createElement(i.KaiTrigger,{source:"drawer"}))},"taskflow.header.trailing":function(){return o.default.createElement("div",{style:{display:"flex",alignItems:"center",marginRight:8}},o.default.createElement(i.KaiTrigger,{source:"taskflow"}))}})});
2Object.defineProperty(window,s,{value:e,writable:!1,configurable:!1}),document.dispatchEvent(new CustomEvent(l))}var t=document.createElement("style");t.id="kai-edge-panel-bridge-styles",t.textContent="",document.head.appendChild(t);var n=document.documentElement,r=function(){if("true"===n.getAttribute(f)){n.hasAttribute(c)||n.setAttribute(c,"");var e=function(e,t,r){var o=n.style.getPropertyValue(e)||r;n.style.getPropertyValue(t)!==o&&n.style.setProperty(t,o)};e("--kai-panel-reserve-px",u,"384px"),e("--awx-copilot-transition-duration",d,"300ms"),e("--awx-copilot-transition-timing-function",p,"cubic-bezier(0, 0, 0.38, 0.9)")}else n.hasAttribute(c)&&n.removeAttribute(c),[u,d,p].forEach((function(e){n.style.getPropertyValue(e)&&n.style.removeProperty(e)}));"0px"!==n.style.getPropertyValue("--awx-copilot-panel-width")&&n.style.setProperty("--awx-copilot-panel-width","0px"),document.body.hasAttribute("data-awx-copilot-open")&&document.body.removeAttribute("data-awx-copilot-open")};r();var a=new MutationObserver(r);return a.observe(n,{attributes:!0,attributeFilter:[f,"style"]}),function(){a.disconnect(),n.removeAttribute(c),[u,d,p].forEach((function(e){n.style.removeProperty(e)})),n.style.removeProperty("--awx-copilot-panel-width"),t.remove()}}),[]),null}},89158:(e,t,n)=>{"use strict";Object.defineProperty(t,"C",{enumerable:!0,get:function(){return r.KaiEdgePanelBridge}});var r=n(86789)},98003:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ClassNames:()=>a.Z2,EmotionThemeProvider:()=>a.NP,GlobalStyles:()=>xr,GlobalStyles20200515:()=>kr,PartnerBrandingThemeMapper:()=>Pr,PartnerThemeConfigContext:()=>Ar,PartnerThemeConfigProvider:()=>_r,ThemeProvider:()=>Or,css:()=>a.AH,getTheme:()=>Sr,injectGlobal:()=>a.HO,keyframes:()=>a.i7,navThemeFromPartnerTheme:()=>Lt,resetStyles:()=>br,resetStyles20200515:()=>wr,styled:()=>jr,useTheme:()=>Tr,withFallback:()=>Ir});var r={};n.r(r),n.d(r,{active:()=>bt,card:()=>St,checkbox:()=>_t,disabled:()=>yt,dropdown:()=>Ot,error:()=>xt,focused:()=>kt,hover:()=>wt,input:()=>Et,normal:()=>vt,radio:()=>Pt,selected:()=>Ct,table:()=>At});var o={};n.r(o),n.d(o,{breakpoint:()=>Mt,breakpointTokens:()=>Ft,medias:()=>
2Vt,wrapperBreakpoints:()=>Bt});var i=n(74848),a=n(11677);function s(e){return{bg:{area:{primary:e.white,secondary:e.grays[5],tertiary:e.grays[10],inverse:e.grays[100],brand:e.purples[10],curtain:"rgba(0, 0, 0, 0.3)",positive:e.greens[5],information:e.blues[5],warning:e.oranges[5],critical:e.reds[5],ai:{start:e.purples[5],end:e.reds[5]}},input:{default:e.white,disabled:e.grays[10]},fill:{default:e.white,selected:e.purples[20],disabled:e.grays[20],subtle:e.grays[10],brand:e.purples[70],critical:e.reds[60],decorative:{gray:e.grays[10],blue:e.blues[10],green:e.greens[10],orange:e.oranges[10],purple:e.purples[10],red:e.reds[10],yellow:e.yellows[10]}},skeleton:{default:e.grays[20]}},fg:{primary:e.grays[90],secondary:e.grays[60],tertiary:e.grays[50],inverse:e.white,disabled:e.grays[50],brand:e.purples[70],onBrand:e.white,selected:e.purples[70],positive:e.greens[50],information:e.blues[50],warning:e.oranges[50],critical:e.reds[60],ai:{start:e.purples[70],end:"#D200A3"},decorative:{gray:e.grays[80],green:e.greens[80],orange:e.oranges[80],red:e.reds[80],blue:e.blues[80],purple:e.purples[80],yellow:e.yellows[80]}},border:{default:e.grays[20],emphasis:e.grays[40],secondary:e.grays[10],focus:e.purples[70],selected:e.purples[70],disabled:e.grays[10],positive:e.greens[40],warning:e.oranges[40],information:e.blues[40],critical:e.reds[60],ai:{start:e.purples[70],end:"#D200A3"}},dataviz:{categorical:[e.purples[50],e.oranges[50],e.yellows[40],e.blues[50],e.greens[50]],sequential:{purple:["#E2E3FF","#B7B9FF","#908CFF","#6F57FF","#5500EB","#3700A2","#1C005D","#090234"],orange:[e.oranges[30],e.oranges[50],e.oranges[80],e.oranges[100]],yellow:[e.yellows[30],e.yellows[50],e.yellows[70],e.yellows[100]]}}}}var l=e=>{var{palette:t}=e;return{colors:s(t),radii:{xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px","2xl":"16px","3xl":"24px","4xl":"32px",circle:"50%"}}},c=n(45572),u=n(22080);const d=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e};var p=n(52851),f=n(22031),h=n(2505),m=n(97271);const g=(0,n(40367).A)(Object.keys,Object);var v=Object.prototype.hasOwnProperty;const y=function(e){if(!(0,m.A)(e))return g(e);var t=[];for(var n in Object(e))v.call(e,n)&&"constructor"!=n&&t.push(n);return t};var b=n(38446);const w=function(e){return(0,b.A)(e)?(0,h.A)(e):y(e)};var x=n(79999);var k=n(80154),C=n(39759);const E=function(){return[]};var S=Object.prototype.propertyIsEnumerable,O=Object.getOwnPropertySymbols;const A=O?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}(O(e),(function(t){return S.call(e,t)})))}:E,_=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e};var P=n(15647);const j=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)_(t,A(e)),e=(0,P.A)(e);return t}:E;var T=n(92049);const I=function(e,t,n){var r=t(e);return(0,T.A)(e)?r:_(r,n(e))},L=function(e){return I(e,w,A)},N=function(e){return I(e,x.A,j)};var R=n(28562),D=n(41917);const F=(0,R.A)(D.A,"DataView");var M=n(68335);const B=(0,R.A)(D.A,"Promise"),V=(0,R.A)(D.A,"Set"),z=(0,R.A)(D.A,"WeakMap");var U=n(2383),H=n(81121),q="[object Map]",W="[object Promise]",$="[object Set]",G="[object WeakMap]",K="[object DataView]",Z=(0,H.A)(F),Y=(0,H.A)(M.A),X=(0,H.A)(B),Q=(0,H.A)(V),J=(0,H.A)(z),ee=U.A;(F&&ee(new F(new ArrayBuffer(1)))!=K||M.A&&ee(new M.A)!=q||B&&ee(B.resolve())!=W||V&&ee(new V)!=$||z&&ee(new z)!=G)&&(ee=function(e){var t=(0,U.A)(e),n="[object Object]"==t?e.constructor:void 0,r=n?(0,H.A)(n):"";if(r)switch(r){case Z:return K;case Y:return q;case X:return W;case Q:return $;case J:return G}return t});const te=ee;var ne=Object.prototype.hasOwnProperty;var re=n(90565);var oe=/\w*$/;var ie=n(241),ae=ie.A?ie.A.prototype:void 0,se=ae?ae.valueOf:void 0;var le=n(1801);const ce=function(e,t,n){var r,o,i,a=e.constructor;switch(t){case"[object ArrayBuffer]":return(0,re.A)(e);case"[object Boolean]":case"[object Date]":return new a(+e);case"[object DataView]":return function(e,t){var n=t?(0,re.A)(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);
2case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,le.A)(e,n);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(e);case"[object RegExp]":return(i=new(o=e).constructor(o.source,oe.exec(o))).lastIndex=o.lastIndex,i;case"[object Symbol]":return r=e,se?Object(se.call(r)):{}}};var ue=n(32729),de=n(41200),pe=n(53098);var fe=n(52789),he=n(64841),me=he.A&&he.A.isMap;const ge=me?(0,fe.A)(me):function(e){return(0,pe.A)(e)&&"[object Map]"==te(e)};var ve=n(23149);var ye=he.A&&he.A.isSet;const be=ye?(0,fe.A)(ye):function(e){return(0,pe.A)(e)&&"[object Set]"==te(e)};var we="[object Arguments]",xe="[object Function]",ke="[object Object]",Ce={};Ce[we]=Ce["[object Array]"]=Ce["[object ArrayBuffer]"]=Ce["[object DataView]"]=Ce["[object Boolean]"]=Ce["[object Date]"]=Ce["[object Float32Array]"]=Ce["[object Float64Array]"]=Ce["[object Int8Array]"]=Ce["[object Int16Array]"]=Ce["[object Int32Array]"]=Ce["[object Map]"]=Ce["[object Number]"]=Ce[ke]=Ce["[object RegExp]"]=Ce["[object Set]"]=Ce["[object String]"]=Ce["[object Symbol]"]=Ce["[object Uint8Array]"]=Ce["[object Uint8ClampedArray]"]=Ce["[object Uint16Array]"]=Ce["[object Uint32Array]"]=!0,Ce["[object Error]"]=Ce[xe]=Ce["[object WeakMap]"]=!1;const Ee=function e(t,n,r,o,i,a){var s,l=1&n,c=2&n,h=4&n;if(r&&(s=i?r(t,o,i,a):r(t)),void 0!==s)return s;if(!(0,ve.A)(t))return t;var m=(0,T.A)(t);if(m){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ne.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!l)return(0,C.A)(t,s)}else{var g=te(t),v=g==xe||"[object GeneratorFunction]"==g;if((0,de.A)(t))return(0,k.A)(t,l);if(g==ke||g==we||v&&!i){if(s=c||v?{}:(0,ue.A)(t),!l)return c?function(e,t){return(0,f.A)(e,j(e),t)}(t,function(e,t){return e&&(0,f.A)(t,(0,x.A)(t),e)}(s,t)):function(e,t){return(0,f.A)(e,A(e),t)}(t,function(e,t){return e&&(0,f.A)(t,w(t),e)}(s,t))}else{if(!Ce[g])return i?t:{};s=ce(t,g,l)}}a||(a=new u.A);var y=a.get(t);if(y)return y;a.set(t,s),be(t)?t.forEach((function(o){s.add(e(o,n,r,o,t,a))})):ge(t)&&t.forEach((function(o,i){s.set(i,e(o,n,r,i,t,a))}));var b=h?c?N:L:c?x.A:w,E=m?void 0:b(t);return d(E||t,(function(o,i){E&&(o=t[i=o]),(0,p.A)(s,i,e(o,n,r,i,t,a))})),s};var Se=n(24878);var Oe=n(66318);const Ae=function(e,t){return t.length<2?e:(0,Oe.A)(e,function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}(t,0,-1))};var _e=n(30901),Pe=Object.prototype.hasOwnProperty;const je=function(e,t){var n=-1,r=(t=(0,Se.A)(t,e)).length;if(!r)return!0;for(;++n<r;){var o=(0,_e.A)(t[n]);if("__proto__"===o&&!Pe.call(e,"__proto__"))return!1;if(("constructor"===o||"prototype"===o)&&n<r-1)return!1}var i=Ae(e,t);return null==i||delete i[(0,_e.A)(function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}(t))]};var Te=n(34963);const Ie=function(e){return(0,Te.A)(e)?void 0:e};var Le=n(25175),Ne=ie.A?ie.A.isConcatSpreadable:void 0;const Re=function(e){return(0,T.A)(e)||(0,Le.A)(e)||!!(Ne&&e&&e[Ne])},De=function e(t,n,r,o,i){var a=-1,s=t.length;for(r||(r=Re),i||(i=[]);++a<s;){var l=t[a];n>0&&r(l)?n>1?e(l,n-1,r,o,i):_(i,l):o||(i[i.length]=l)}return i},Fe=function(e){return null!=e&&e.length?De(e,1):[]};var Me=n(65255),Be=n(46778);const Ve=(ze=function(e,t){var n={};if(null==e)return n;var r=!1;t=(0,c.A)(t,(function(t){return t=(0,Se.A)(t,e),r||(r=t.length>1),t})),(0,f.A)(e,N(e),n),r&&(n=Ee(n,7,Ie));for(var o=t.length;o--;)je(n,t[o]);return n},(0,Be.A)((0,Me.A)(ze,void 0,Fe),ze+""));var ze,Ue=n(452),He=n(54749),qe=Object.prototype.hasOwnProperty;var We=n(24002),$e=n(10083),Ge="#D200A3",Ke={50:"#F80F6b"},Ze=$e.reds[50],Ye=($e.reds[20],$e.reds[5],$e.yellows[30]),Xe=($e.yellows[10],$e.yellows[5
2],$e.purples[70]),Qe=($e.purples[20],$e.purples[5],$e.purples[30],$e.greens[60],$e.greens[20],$e.greens[10],$e.greens[50],$e.greens[5],$e.blues[40]),Je=($e.blues[20],$e.grays[80],$e.grays[40],$e.grays[30],$e.grays[70],$e.grays[20],$e.grays[10],$e.grays[30],$e.grays[90],$e.grays[20],$e.grays[50],$e.grays[5],$e.oranges[40],$e.oranges[40]),et=($e.oranges[10],["#ff8439",Ye]),tt=["#ff4244",Je],nt=["#f80f6b",Ze],rt=["#c600ad","#ff135f"],ot=[Xe,"#d200a3"],it=["#34ccb7",Qe],at=[et,tt,nt,rt,ot,it],st="linear-gradient(135deg, "+$e.reds[50]+" 0%, "+$e.oranges[50]+" 100%)",lt="linear-gradient(135deg, "+$e.oranges[50]+" 0%, "+$e.yellows[50]+" 100%)",ct="linear-gradient(135deg, "+Ke[50]+" 0%, "+$e.reds[50]+" 100%)",ut="linear-gradient(135deg, "+Ge+" 0%, "+Ke[50]+" 100%)",dt="linear-gradient(135deg, "+$e.purples[70]+" 0%, "+Ge+" 100%)",pt="linear-gradient(135deg, "+$e.reds[50]+" 0%, "+$e.oranges[50]+" 50%, "+$e.yellows[50]+" 100%)",ft="linear-gradient(135deg, "+$e.purples[70]+" 0%, "+Ge+" 50%, "+$e.reds[50]+" 100%)",ht={background:$e.grays[10],item:{color:$e.grays[80],hover:{color:$e.grays[60]},selected:{gradient:"orange"},tag:{background:$e.grays[20],color:$e.grays[80],selected:{background:st,color:$e.white}}},button:{hover:{background:$e.white}},subMenuLine:$e.grays[40],tooltip:{background:$e.grays[70]}},mt="1px solid",gt="2px solid",vt={100:mt+" "+$e.grays[20],200:gt+" "+$e.grays[20]},yt={100:mt+" "+$e.grays[20],200:gt+" "+$e.grays[20]},bt={100:mt+" "+$e.purples[30],200:gt+" "+$e.purples[30]},wt={100:mt+" "+$e.grays[30],200:gt+" "+$e.grays[30]},xt={100:mt+" "+$e.reds[50],200:gt+" "+$e.reds[50]},kt={100:mt+" "+$e.purples[70],200:gt+" "+$e.purples[70]},Ct={100:mt+" "+$e.purples[70],200:gt+" "+$e.purples[70]},Et={normal:vt[100],disabled:yt[100],focused:kt[100],hover:wt[100],error:xt[100]},St={normal:vt[100],hover:wt[100],focused:kt[100],active:bt[100],selected:Ct[100]},Ot={normal:vt[100]},At={row:vt[100]},_t={normal:gt+" "+$e.grays[40],disabled:gt+" "+$e.grays[40],hover:gt+" "+$e.purples[70],focused:kt[200],error:xt[200]},Pt={normal:gt+" "+$e.grays[40],disabled:gt+" "+$e.grays[40],hover:gt+" "+$e.purples[70],focused:kt[200],selected:Ct[200]};function jt(){return jt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jt.apply(this,arguments)}var Tt=jt({},ht,{background:$e.white,border:vt[100]}),It=n(10196),Lt=e=>{try{var t=(0,It.J1)(e.itemColor||"")>(0,It.J1)(e.backgroundColor||"");return{background:e.backgroundColor||"",item:{color:e.itemColor||"",hover:{color:(t?It.a:It.e$)(.2,e.itemColor||"")},selected:{color:e.itemSelectedColor},tag:{background:e.itemColor||"",color:e.backgroundColor||"",selected:{background:e.itemSelectedColor||"",color:e.backgroundColor||""}}},button:{hover:{background:(0,It.No)(.8,e.itemColor||"")}},subMenuLine:(0,It.No)(.5,e.itemColor||""),tooltip:{background:$e.grays[70]},logoUrl:e.logoUrl||void 0}}catch(e){return void console.error(e)}},Nt="rgb(0 0 0 / 12%)",Rt={100:"0 "+"0px 8px"+" "+Nt,200:"0 "+"0px 12px"+" "+Nt,300:"0 "+"2px 16px"+" "+Nt,400:"0 "+"4px 20px"+" "+Nt,500:"0 "+"8px 24px"+" "+Nt,600:"0 "+"12px 28px"+" "+Nt},Dt={100:Rt[100],200:Rt[200],300:Rt[300],400:Rt[400],500:Rt[500],600:Rt[600],card:Rt[300],dropdown:Rt[400],dialog:Rt[600]},Ft={xxs:360,xs:475,s:720,m:1020,l:1200,xl:1920},Mt={xxs:"@media (max-width: "+Ft.xxs+"px)",xs:"@media (max-width: "+Ft.xs+"px)",s:"@media (max-width: "+Ft.s+"px)",m:"@media (max-width: "+Ft.m+"px)",l:"@media (max-width: "+Ft.l+"px)",xl:"@media (max-width: "+Ft.xl+"px)"},Bt={xs:320,s:375,sm:414,m:667,l:768,lg:991,xl:1024,xxl:1199},Vt={xsWidth:"@media only screen and (max-width: "+Bt.xs+"px)",smWidth:"@media only screen and (max-width: "+Bt.sm+"px)",smLandscape:"@media only screen and (orientation: landscape) and (max-height: "+Bt.sm+"px)",mHeight:"@media screen and (max-height: "+Bt.m+"px)",lHeight:"@media screen and (max-height: "+Bt.l+"px)",xlHeight:"@media screen and (max-height: "+Bt.xl+"px)",beyondSm:"@media only screen and (min-width: "+(Bt.sm+1)+"px) and (min-height: "+(Bt.sm+1)+"px)",beyondM:"@media only screen and (min-width: "+(Bt.m+1)+"px) and (min-height: "+(Bt.m+1)+"px)",beyondXl:"@media only screen and (min-width: "+(Bt.xl+1)+"px) and (min-height: "+(Bt.l+1)+"px)"},zt={background:$e.grays[100],item:{color:$e.grays[30],hover:{color:$e.white},selected:{gradient:"orange"},tag:{background:"rgba(255, 255, 255, .15)",color:$e.white,selected:{background:st,color:$e.white}}},button:{hover:{background:$e.grays[90]}},subMenuLine:$e.grays[80],tooltip:{background:$e.grays[70]}},Ut=n(59712),Ht=n(97132);const qt=function(e,t){return e&&(0,Ht.A)(e,t,w)};var Wt=n(62050);function $t(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Wt.A;++t<n;)this.add(e[t])}$t.prototype.add=$t.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},$t.prototype.has=function(e){return this.__data__.has(e)};const Gt=$t,Kt=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}
vendor: 1,958 bytes, line 2
2,Zt=function(e,t,n,r,o,i){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var d=-1,p=!0,f=2&n?new Gt:void 0;for(i.set(e,t),i.set(t,e);++d<s;){var h=e[d],m=t[d];if(r)var g=a?r(m,h,d,t,e,i):r(h,m,d,e,t,i);if(void 0!==g){if(g)continue;p=!1;break}if(f){if(!Kt(t,(function(e,t){if(a=t,!f.has(a)&&(h===e||o(h,e,n,r,i)))return f.push(t);var a}))){p=!1;break}}else if(h!==m&&!o(h,m,n,r,i)){p=!1;break}}return i.delete(e),i.delete(t),p};var Yt=n(43988),Xt=n(66984);const Qt=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n},Jt=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n};var en=ie.A?ie.A.prototype:void 0,tn=en?en.valueOf:void 0;var nn=Object.prototype.hasOwnProperty;var rn="[object Arguments]",on="[object Array]",an="[object Object]",sn=Object.prototype.hasOwnProperty;const ln=function(e,t,n,r,o,i){var a=(0,T.A)(e),s=(0,T.A)(t),l=a?on:te(e),c=s?on:te(t),d=(l=l==rn?an:l)==an,p=(c=c==rn?an:c)==an,f=l==c;if(f&&(0,de.A)(e)){if(!(0,de.A)(t))return!1;a=!0,d=!1}if(f&&!d)return i||(i=new u.A),a||(0,He.A)(e)?Zt(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new Yt.A(e),new Yt.A(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,Xt.A)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=Qt;case"[object Set]":var l=1&r;if(s||(s=Jt),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=Zt(s(e),s(t),r,o,i,a);return a.delete(e),u;case"[object Symbol]":if(tn)return tn.call(e)==tn.call(t)}return!1}(e,t,l,n,r,o,i);if(!(1&n)){var h=d&&sn.call(e,"__wrapped__"),m=p&&sn.call(t,"__wrapped__");
2if(h||m){var g=h?e.value():e,v=m?t.value():t;return i||(i=new u.A),o(g,v,n,r,i)}}return!!f&&(i||(i=new u.A),function(e,t,n,r,o,i){var a=1&n,s=L(e),l=s.length;if(l!=L(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:nn.call(t,u)))return!1}var d=i.get(e),p=i.get(t);if(d&&p)return d==t&&p==e;var f=!0;i.set(e,t),i.set(t,e);for(var h=a;++c<l;){var m=e[u=s[c]],g=t[u];if(r)var v=a?r(g,m,u,t,e,i):r(m,g,u,e,t,i);if(!(void 0===v?m===g||o(m,g,n,r,i):v)){f=!1;break}h||(h="constructor"==u)}if(f&&!h){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(f=!1)}return i.delete(e),i.delete(t),f}(e,t,n,r,o,i))},cn=function e(t,n,r,o,i){return t===n||(null==t||null==n||!(0,pe.A)(t)&&!(0,pe.A)(n)?t!=t&&n!=n:ln(t,n,r,o,e,i))},un=function(e){return e==e&&!(0,ve.A)(e)},dn=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},pn=function(e){var t=function(e){for(var t=w(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,un(o)]}return t}(e);return 1==t.length&&t[0][2]?dn(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){var l=(s=n[o])[0],c=e[l],d=s[1];if(a&&s[2]){if(void 0===c&&!(l in e))return!1}else{var p=new u.A;if(r)var f=r(c,d,l,e,t,p);if(!(void 0===f?cn(d,c,3,r,p):f))return!1}}return!0}(n,e,t)}};var fn=n(77500);const hn=function(e,t){return null!=e&&t in Object(e)};var mn=n(25353),gn=n(5254);const vn=function(e,t){return null!=e&&function(e,t,n){for(var r=-1,o=(t=(0,Se.A)(t,e)).length,i=!1;++r<o;){var a=(0,_e.A)(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&(0,gn.A)(o)&&(0,mn.A)(a,o)&&((0,T.A)(e)||(0,Le.A)(e))}(e,t,hn)};var yn=n(86586);var bn=n(29008);const wn=function(e){return(0,yn.A)(e)?(t=(0,_e.A)(e),function(e){return null==e?void 0:e[t]}):function(e){return function(t){return(0,Oe.A)(t,e)}}(e);var t},xn=function(e){return"function"==typeof e?e:null==e?bn.A:"object"==typeof e?(0,T.A)(e)?(t=e[0],n=e[1],(0,yn.A)(t)&&un(n)?dn((0,_e.A)(t),n):function(e){var r=(0,fn.A)(e,t);return void 0===r&&r===n?vn(e,t):cn(n,r,3)}):pn(e):wn(e);var t,n};var kn=n(89610);const Cn=function(e,t,n){var r=(0,T.A)(e),o=r||(0,de.A)(e)||(0,He.A)(e);if(t=xn(t),null==n){var i=e&&e.constructor;n=o?r?new i:[]:(0,ve.A)(e)&&(0,kn.A)(i)?(0,Ut.A)((0,P.A)(e)):{}}return(o?d:qt)(e,(function(e,r,o){return t(n,e,r,o)})),n};function En(){return En=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},En.apply(this,arguments)}var Sn=En({},{secondary:st,primary:lt,tertiary:ct,quaternary:ut,quinary:dt},{spectrumPrimary:pt,spectrumSecondary:ft});function On(e){return{background:{primary:e.white,secondary:e.grays[10],field:e.grays[5],fieldDisabled:e.grays[10],overlay:An(e.black,.3),inverse:e.grays[100],highlight:e.purples[10],selected:e.purples[20],interactive:e.purples[70]},text:{primary:e.grays[90],secondary:e.grays[60],placeholder:e.grays[50],disabled:e.grays[50],link:e.purples[70],error:e.reds[60],success:e.greens[60],inverse:e.white},icon:{primary:e.grays[80],secondary:e.grays[50],disabled:e.grays[30],link:e.purples[70],error:e.reds[60],success:e.greens[50],information:e.blues[50],warning:e.oranges[50],inverse:e.white},border:{decorative:e.grays[20],decorativeStrong:e.grays[40],perceivable:e.grays[50],interactive:e.purples[70],focus:e.purples[70],error:e.reds[50]}}}function An(e,t){var[n,r,o]=e.match(/\w\w/g).map((e=>parseInt(e,16)));return"rgba("+n+", "+r+", "+o+", "+t+")"}function _n(){return _n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_n.apply(this,arguments)}var Pn=!1,jn={semanticTokensV9:Pn,breakpoints:o,radius:{s:"2px",m:"4px",l:"6px",xl:"8px",xxl:"12px",xxxl:"16px",circle:"50%"},borders:r,shadows:{s:"0 2px 12px rgb(20 23 26 / 6%)",m:"0 4px 24px rgb(20 23 26 / 12%)",l:"0 4px 32px rgb(20 23 26 / 16%)",100:Dt[100],200:Dt[200],300:Dt[300],400:Dt[400],500:Dt[500],600:Dt[600],card:Dt.card,dropdown:Dt.dropdown,dialog:Dt.dialog},space:{xxs:"4px",xs:"8px",s:"16px",m:"24px",l:"32px",xl:"40px",xxl:"56px",xxxl:"80px"},zIndex:{negative:-1,default:1,header:5,inAppSupport:200,overlay:1e3,navigation:2e3,navigationContent:2001,drawer:3e3,modal:5e3,tooltip:6e3,toast:8e3},nav:zt,gradients:Sn,colors:_n({},$e,{red:$e.reds[50],redLight:$e.reds[20],lightRed:$e.reds[20],redLightest:$e.reds[5],yellow:$e.yellows[30],yellowLight:$e.yellows[10],lightYellow:$e.yellows[10],yellowLightest:$e.yellows[5
2],ultraViolet:$e.purples[70],lightUltraViolet:$e.purples[20],ultraVioletLight:$e.purples[20],lightestUltraViolet:$e.purples[5],ultraVioletLightest:$e.purples[5],ultraviolet30:$e.purples[30],teal:$e.greens[60],tealLight:$e.greens[20],lightTeal:$e.greens[20],tealLightest:$e.greens[10],green:$e.greens[50],lightGreen:$e.greens[5],blue:$e.blues[40],lightBlue:$e.blues[20],ink:$e.grays[80],grey:$e.grays[40],grey30:$e.grays[30],darkGrey:$e.grays[70],softGrey:$e.grays[20],bgGrey:$e.grays[10],flatGrey:$e.grays[30],textDarkGrey:$e.grays[90],borderLightGrey:$e.grays[20],greyOnGreyText:$e.grays[50],inputBorder:$e.grays[20],inputBorderFocused:$e.grays[80],inputBackground:$e.grays[5],awOrange:$e.oranges[40],orange:$e.oranges[40],lightOrange:$e.oranges[10],primary:$e.oranges[40],DerpColor:$e.white,ultraViolets:$e.purples,greys:$e.grays,gradients:at,orangeGradient1:et,orangeGradient2:tt,redGradient:nt,pinkGradient:rt,purpleGradient:ot,blueGradient:it,teals:{10:"#EBFFF9",30:"#B8FFEA",50:"#0AFFD4",70:"#00ADAD",90:"#007A7A"},pinks:Ke}),semanticColors:On($e)},Tn=_n({},jn,{tokens:l({palette:jn.colors})});n.p,n.p,n.p,n.p,n.p,n.p;var In="AxLLCircular, Helvetica, Arial, sans-serif",Ln=n(52528);const Nn=function(e,t){var n={};return t=xn(t),qt(e,(function(e,r,o){(0,Ln.A)(n,r,t(e,r,o))})),n};function Rn(){return Rn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rn.apply(this,arguments)}function Dn(e,t){return(0,Ue.A)({display100:{fontFamily:t,fontSize:36,lineHeight:"45px",fontWeight:500,[Mt.m]:{fontSize:32,lineHeight:"40px"},[Mt.s]:{fontSize:28,lineHeight:"35px"}},display200:{fontFamily:t,fontSize:28,lineHeight:"35px",fontWeight:500,[Mt.m]:{fontSize:24,lineHeight:"30px"},[Mt.s]:{fontSize:22,lineHeight:"28px"}},headline100:{fontFamily:t,fontSize:24,lineHeight:"30px",fontWeight:500,[Mt.m]:{fontSize:22,lineHeight:"27px"},[Mt.s]:{fontSize:20,lineHeight:"25px"}},headline200:{fontFamily:t,fontSize:18,lineHeight:"25px",fontWeight:500},headline300:{fontFamily:t,fontSize:16,lineHeight:"24px",fontWeight:500},headline400:{fontFamily:t,fontSize:14,lineHeight:"22px",fontWeight:500},body:{fontFamily:t,fontSize:14,lineHeight:"22px",fontWeight:"normal"},bodyBold:{fontFamily:t,fontSize:14,lineHeight:"22px",fontWeight:500},bodyEmphasis:{fontFamily:t,fontSize:14,lineHeight:"22px",fontWeight:500},link:{fontFamily:t,fontSize:14,lineHeight:"22px",fontWeight:500},linkInline:{fontFamily:t,fontSize:14,lineHeight:"22px",fontWeight:500,textDecoration:"underline"},hint:{fontFamily:t,fontSize:12,lineHeight:"18px",fontWeight:"normal"}},Fn(e,t))}var Fn=(e,t)=>{var{breakpoint:n}=e.breakpoints,{grays:r,reds:o,purples:i}=e.colors,a={fontFamily:t},s={color:r[100],fontWeight:700,lineHeight:1.25},l={100:{fontSize:40,[n.s]:{fontSize:24}}},c={color:r[100],fontWeight:500,lineHeight:1.25},u={fontSize:14,fontWeight:400,lineHeight:1.5},d={100:{color:r[80]},"100.Subtle":{color:r[60]},"100.Disabled":{color:r[40]},"100.Bold":{color:r[80],fontWeight:500}},p={fontWeight:400,color:r[80],lineHeight:1.25},f={100:d[100]},h={100:Rn({},d["100.Subtle"],{fontSize:12})},m={100:Rn({},d[100],{fontSize:12,color:o[50]})},g={fontWeight:500,fontSize:"inherit",fontFamily:"inherit",colors:{disabled:r[40],initial:i[70],active:i[40]}};return{title:Nn(l,(e=>Rn({},a,s,e))),headline:Nn({100:{fontSize:24},200:{fontSize:18},300:{fontSize:16},400:{fontSize:14},500:{fontSize:14,fontWeight:500},600:{fontSize:13,fontWeight:500,textTransform:"uppercase"}},(e=>Rn({},a,c,e))),body:Nn(d,(e=>Rn({},a,u,e))),tabPanel:Nn({inactive:{fontSize:16}},(e=>Rn({},a,p,e))),label:Nn(f,(e=>Rn({},a,u,e))),hint:Nn(h,(e=>Rn({},a,u,e))),error:Nn(m,(e=>Rn({},a,u,e))),textLink:g}};function Mn(){return Mn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mn.apply(this,arguments)}var Bn=e=>{try{return{10:(0,It.a)(.2,e),20:(0,It.a)(.15,e),30:(0,It.a)(.1,e),40:(0,It.a)(.05,e),50:e,60:(0,It.e$)(.1,e),70:(0,It.e$)(.2,e),80:(0,It.e$)(.3,e),90:(0,It.e$)(.4,e),100:(0,It.e$)(.5,e)}}catch(e){return null}},Vn=e=>({colors:{background:{initial:e.colors.grays[20],primary:e.colors.purples[20],success:e.colors.greens[20],warning:e.colors.yellows[20],secondary:e.colors.oranges[20],danger:e.colors.reds[20],informational:e.colors.blues[20]},text:{initial:e.colors.grays[80],primary:e.colors.purples[80],success:e.colors.greens[80],warning:e.colors.yellows[80],secondary:e.colors.oranges[80],danger:e.colors.reds[80],informational:e.colors.blues[80]}}}),zn=e=>{var t=e.colors.white,n="0 0 "+e.space.s+" 0 rgba(0, 0, 0, 0.08)";return{colors:{background:{initial:t,hover:t},boxShadow:{initial:n,hover:n},border:{initial:e.colors.grays[20]},foreground:{initial:"inherit",hover:e.colors.purples[80]}}}},Un=e=>
2({colors:{headerBackground:{hover:e.colors.purples[20]},rowText:{initial:e.colors.grays[100]},rowBorder:{initial:e.colors.grays[20]},rowBackground:{hover:e.colors.grays[5]},paginationButtonIcon:{disabled:e.colors.grays[40],initial:e.colors.grays[100]},paginationText:{initial:e.colors.grays[80]}}}),Hn=e=>({colors:{background:{success:e.colors.greens[5],informational:e.colors.blues[5],warning:e.colors.oranges[5],critical:e.colors.reds[5]},iconBackground:{success:e.colors.greens[50],informational:e.colors.blues[50],warning:e.colors.oranges[50],critical:e.colors.reds[50]},border:{success:e.colors.greens[40],warning:e.colors.oranges[40],critical:e.colors.reds[40],informational:e.colors.blues[40]},link:{text:{initial:e.colors.grays[100],active:e.colors.grays[90]},textDecoration:{hover:e.colors.grays[90],active:e.colors.grays[20],initial:e.colors.grays[40]},outline:{focus:e.colors.grays[100]}},button:{text:{initial:e.colors.grays[80]},border:{initial:e.colors.grays[30]},background:{hover:e.colors.white}},closeButton:{text:{initial:e.colors.grays[60]},border:{initial:e.colors.grays[50]},background:{hover:e.colors.white}}}}),qn=e=>(e=>({colors:{primary:{background:{initial:e.colors.purples[70]},foreground:{initial:e.colors.white}},secondary:{background:{initial:e.colors.white,hover:e.colors.purples[10],active:e.colors.purples[30],focus:e.colors.purples[10]},foreground:{initial:e.colors.purples[70]},boxShadow:e.colors.purples[20]},danger:{background:{initial:e.colors.reds[50]},foreground:{initial:e.colors.white}},success:{background:{initial:e.colors.blues[50]},foreground:{initial:e.colors.white}},link:{background:{active:e.colors.purples[20],hover:e.colors.purples[10]},foreground:{initial:e.colors.grays[100]}},default:{background:{initial:e.colors.white},foreground:{initial:e.colors.purples[70]}},disabled:{background:{initial:e.colors.grays[20]},foreground:{initial:e.colors.grays[40],hover:e.colors.grays[40]}}}}))(e),Wn=e=>({colors:{confirmDialogIcon:{success:e.colors.greens[70],warning:e.colors.oranges[50],critical:e.colors.reds[50]},headerText:{initial:e.colors.grays[100]},bodyText:{initial:e.colors.grays[60]},overlay:"rgba(84, 84, 94, 0.3)"}}),$n=e=>({colors:{stop:{initial:e.colors.oranges[50]},start:{initial:e.colors.reds[50]}}}),Gn=e=>({colors:{menuItemText:{initial:e.colors.grays[70],hover:e.colors.purples[70]}
2,menuItemBackground:{hover:e.colors.purples[10],focus:e.colors.purples[10],active:e.colors.purples[20]}}});function Kn(){return Kn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kn.apply(this,arguments)}var Zn={default:$e.grays[40],success:$e.greens[50],informational:$e.grays[70],warning:$e.oranges[70],critical:$e.reds[50],active:$e.purples[70]},Yn=Zn.success+" 100%",Xn="linear-gradient(0deg, "+Zn.active+" 20%, "+Yn+")",Qn="linear-gradient(-90deg, "+Zn.active+" 40%, "+Yn+")",Jn={color:{default:Zn.default,success:Zn.success,informational:Zn.informational,warning:Zn.warning,critical:Zn.critical,active:Zn.active},connector:{horizontal:{completed:"linear-gradient(-90deg, "+Zn.success+" 40%, "+Yn+")",current:""+Qn,review:""+Qn,rejected:"linear-gradient(-90deg, "+Zn.critical+" 40%, "+Yn+")"},vertical:{completed:"linear-gradient(0deg, "+Zn.success+" 20%, "+Yn+")",current:""+Xn,review:""+Xn,rejected:"linear-gradient(0deg, "+Zn.critical+" 20%, "+Yn+")"}}},er=e=>Kn({},Jn,{colors:{state:{initial:e.colors.grays[40],success:e.colors.greens[50],informational:e.colors.grays[70],warning:e.colors.oranges[70],critical:e.colors.reds[50],active:e.colors.purples[70]}}}),tr=e=>({colors:{headerProgressBar:{initial:e.colors.oranges[50]},stepTickIcon:{initial:e.colors.greens[50]},stepTickError:{initial:e.colors.oranges[50]},stepHighlight:{initial:e.colors.purples[70],selected:e.colors.purples[10]},stepIndicator:{initial:e.colors.grays[20],parentActive:e.colors.purples[40],active:e.colors.purples[70]},stepTitle:{initial:e.colors.grays[60],hover:e.colors.grays[100],active:e.colors.grays[100],disabled:e.colors.grays[40]},navigationArrowIcon:{disabled:e.colors.grays[30],initial:e.colors.grays[60],active:e.colors.purples[70]},navigationTickIcon:{initial:e.colors.greens[50]},navigationHighlight:{initial:e.colors.reds[50]},navigationErrorIcon:{initial:e.colors.oranges[50]},navigationTitle:{initial:e.colors.grays[60],hover:e.colors.grays[100],disabled:e.colors.grays[40],active:e.colors.grays[100]},progressBackground:{initial:e.colors.white},progressTitle:{initial:e.colors.grays[100],active:e.colors.purples[70]}}}),nr=e=>({colors:{barValue:{background:{default:e.colors.purples[70],success:e.colors.greens[70],warning:e.colors.oranges[50],critical:e.colors.reds[50]}},barBody:{background:{default:e.colors.grays[20],success:e.colors.greens[10],warning:e.colors.oranges[10],critical:e.colors.reds[10]}},barSecondary:{background:{default:e.colors.purples[40],success:e.colors.greens[50],warning:e.colors.oranges[30],critical:e.colors.reds[30]}},barTertiary:{background:{default:e.colors.purples[90],success:e.colors.greens[90],warning:e.colors.oranges[70],critical:e.colors.reds[70]}}}}),rr=e=>({colors:{control:{focus:e.colors.purples[70],error:e.colors.reds[50],initial:e.colors.grays[20]},controlBackground:{initial:e.colors.grays[5],disabled:e.colors.grays[10],hover:e.colors.white},indicator:{initial:e.colors.grays[70],disabled:e.colors.grays[40]},placeholder:{initial:e.colors.grays[50],selected:e.colors.grays[100]},option:{initial:e.colors.grays[80],focus:e.colors.purples[70],disabled:e.colors.grays[40]},optionBackground:{initial:e.colors.white,focus:e.colors.purples[10],active:e.colors.purples[30],disabled:e.colors.white},menuBackground:{initial:e.colors.white},singleValue:{disabled:e.colors.grays[40]}
2,multiValueBackground:{initial:e.colors.grays[20]},multiValueRemove:{initial:e.colors.grays[100],hover:e.colors.grays[100]},multiValueRemoveBackground:{hover:e.colors.grays[40]}}}),or=e=>({colors:{border:{focus:e.colors.purples[70],warning:e.colors.yellows[50],initial:e.colors.grays[20],error:e.colors.reds[50]},background:{initial:e.colors.grays[5],hover:e.colors.white,disabled:e.colors.grays[10]},text:{initial:e.colors.grays[100],disabled:e.colors.grays[50],error:e.colors.reds[50]}}}),ir=e=>({colors:{border:{initial:e.colors.grays[40],focus:e.colors.purples[70],error:e.colors.reds[50],checked:e.colors.purples[70],disabled:e.colors.grays[40]},background:{disabled:e.colors.grays[20]}}}),ar=e=>({colors:{border:{initial:e.colors.grays[20],focus:e.colors.purples[70],error:e.colors.reds[50]},text:{initial:e.colors.grays[100],disabled:e.colors.grays[50]},placeholder:{initial:e.colors.grays[50]},background:{initial:e.colors.grays[5],hover:e.colors.white,disabled:e.colors.grays[10]}}}),sr=e=>({colors:{buttonText:{initial:e.colors.grays[100],disabled:e.colors.grays[40]},buttonBackground:{selected:e.colors.purples[70],hover:e.colors.purples[70]},today:{initial:e.colors.purples[70]},tableText:{initial:e.colors.grays[50]}}}),lr=e=>({colors:{border:{initial:e.colors.grays[40],disabled:e.colors.grays[40],checked:e.colors.purples[70],focus:e.colors.purples[70],hover:e.colors.purples[70]},background:{initial:e.colors.white,disabled:e.colors.grays[20]}}}),cr=e=>({colors:{border:{initial:e.colors.grays[20],focus:e.colors.purples[70]},option:{initial:e.colors.grays[80],selected:e.colors.purples[70]},optionBackground:{hover:e.colors.purples[10],selected:e.colors.purples[10]}}}),ur=e=>({tag:Vn(e),card:zn(e),table:Un(e),alert:Hn(e),button:qn(e),dialog:Wn(e),select:rr(e),spinner:$n(e),taskFlow:tr(e),progressTracker:nr(e),timeline:er(e),textArea:or(e),dropdown:Gn(e),textInput:ar(e),datePicker:sr(e),radioInput:lr(e),checkboxInput:ir(e),multiSelect:cr(e)}),dr=n(43538),pr=e=>Array.isArray(e)?e.map(pr):(0,Te.A)(e)?Nn(e,(e=>(0,pe.A)(e)?pr(e):fr(e))):e,fr=e=>"string"!=typeof e?e:e.replace(/</g,"<").replace(/>/g,">");function hr(){var e,t,n=(e=["\n ","\n ","\n "],t||(t=e.slice(0)),e.raw=t,e);return hr=function(){return n},n}var mr=e=>{var{typography:t}=e,{fontFace:n,fontFamily:r,enableCustomFontGlobally:o=!0}=t||{},{cssFontSource:s,customFontSource:l}=n||{},c="";return s&&(c+="@import url('"+s+"');"),Array.isArray(l)&&(c+=l.filter(Boolean).map((e=>{var{fontFamily:t,fontDisplay:n,fontStyle:r,fontWeight:o,src:i}=e;return"\n @font-face {\n "+(i?"src: "+i+";":"")+"\n "+(r?"font-style: "+r+";":"")+"\n "+(o?"font-weight: "+o+";":"")+"\n "+(t?"font-family: "+t+";":"")+"\n "+(n?"font-display: "+n+";":"")+"\n }\n "})).join("")),(0,i.jsx)(a.mL,{styles:(0,a.AH)(hr(),c,r&&o?"\n body {\n font-family: '"+r+"';\n }\n ":"")})};function gr(e,t){return t||(t=e.slice(0)),e.raw=t,e}function vr(){var e=gr(["\n * {\n box-sizing: border-box;\n }\n html {\n height: 100%;\n background: ",";\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n }\n body {\n line-height: 1.5;\n color: ",";\n margin: 0;\n padding: 0;\n background: ",";\n font-family: ",";\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n /* Circular XX stylistic set ss08: cap-height-aligned numerals (DS24-2940). */\n font-feature-settings: 'ss08';\n font-size: ",";\n\n > li {\n display: block;\n }\n\n "," {\n background: ",";\n }\n }\n\n table {\n border-collapse: collapse;\n }\n\n input::-webkit-outer-spin-button,\n input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n input[type='number'] {\n -moz-appearance: textfield;\n }\n\n input,\n textarea,\n select,\n button {\n font-feature-settings: inherit;\n }\n"]);return vr=function(){return e},e}function yr(){var e=gr(["\n ",";\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin-top: 0;\n margin-bottom: 0.5rem;\n }\n\n p {\n margin-top: 0;\n margin-bottom: 1rem;\n }\n\n a {\n text-decoration: none;\n }\n\n nav > div > a {\n line-height: 0;\n height: 29px;\n @media (min-width: 1347px) {\n height: 21px;\n }\n }\n"]);return yr=function(){return e},e}var br=e=>{var{theme:t}=e;return(0,a.AH)(vr(),t.semanticColors.background.primary,t.semanticColors.text.primary,t.semanticColors.background.primary,t.fontFamily.default,t.typography.body[100].fontSize,t.breakpoints.breakpoint.s,t.semanticColors.background.primary)},wr=e=>{var{theme:t}=e;return(0,a.AH)(yr(),br({theme:t}))},xr=()=>(0,i.jsx)(a.mL,{styles:e=>br({theme:e})}),kr=()=>(0,i.jsx)(a.mL,{styles:e=>wr({theme:e})});function Cr(){return Cr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cr.apply(this,arguments)}function Er(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}var Sr=e=>{var t,{langKey:n,partnerTheme:r,themeOverride:o,contextType:i="default",semanticTokensV9:a=Pn}=e,s=o||{},{components:c,typography:u}=s,d=Er(s,["components","typography"]),p=(0,Ue.A)({},Cr({},Tn,{semanticTokensV9:a,colors:Object.assign({},Tn.colors)}),!d.palette||(t=d.palette)&&("object"!=typeof t||Object.entries(t).some((e=>{var[t,n]=e;return"object"!=typeof n||("gradients"===t?Object.values(n).some((e=>!Array.isArray(e))):Object.values(n).some((e=>"string"!=typeof e)))})))?{}:(e=>{var t,{palette:n}=e;return{colors:{reds:null==n?void 0:n.error,greens:null==n?void 0:n.success,yellows:null==n?void 0:n.warning,oranges:null==n?void 0:n.secondary,purples:null==n?void 0:n.primary,blues:null==n?void 0:n.informational,grays:(null==n?void 0:n.grays)||(null==n?void 0:n.greys),ultraViolets:null==n?void 0:n.primary,greys:(null==n?void 0:n.grays)||(null==n?void 0:n.greys)}
2,gradients:(t=null==n?void 0:n.gradients,t?Cn(t,((e,t,n)=>{if(t){var r=(e=>{if(2===e.length){var[t,n]=e;return"linear-gradient(135deg, "+t+" 0%, "+n+" 100%)"}if(3===e.length){var[r,o,i]=e;return"linear-gradient(135deg, "+r+" 0%, "+o+" 50%, "+i+" 100%)"}})(t);r?e[n]=r:delete e[n]}}),{}):{})}})(d));p.semanticColors=(0,Ue.A)(On(p.colors),d.semanticColors);var f=a?(e=>{if(!e)return{};var{background:t,border:n,icon:r,text:o}=e;return[[null==t?void 0:t.primary,["colors.bg.area.primary","colors.bg.input.default","colors.bg.fill.default"]],[null==t?void 0:t.secondary,["colors.bg.area.tertiary"]],[null==t?void 0:t.field,["colors.bg.area.secondary"]],[null==t?void 0:t.inverse,["colors.bg.area.inverse"]],[null==t?void 0:t.highlight,["colors.bg.area.brand"]],[null==t?void 0:t.overlay,["colors.bg.area.curtain"]],[null==t?void 0:t.fieldDisabled,["colors.bg.input.disabled","colors.bg.fill.disabled"]],[null==t?void 0:t.selected,["colors.bg.fill.selected"]],[null==t?void 0:t.interactive,["colors.bg.fill.brand"]],[null==r?void 0:r.inverse,["colors.fg.inverse","colors.fg.onBrand"]],[null==r?void 0:r.information,["colors.fg.information"]],[null==r?void 0:r.warning,["colors.fg.warning"]],[null==o?void 0:o.primary,["colors.fg.primary"]],[null==o?void 0:o.secondary,["colors.fg.secondary"]],[null==o?void 0:o.placeholder,["colors.fg.tertiary"]],[null==o?void 0:o.disabled,["colors.fg.disabled"]],[null==o?void 0:o.link,["colors.fg.brand"]],[null==o?void 0:o.error,["colors.fg.critical"]],[null==o?void 0:o.success,["colors.fg.positive"]],[null==o?void 0:o.inverse,["colors.fg.inverse","colors.fg.onBrand"]],[null==n?void 0:n.decorative,["colors.border.default","colors.border.secondary","colors.border.disabled"]],[null==n?void 0:n.perceivable,["colors.border.emphasis"]],[null==n?void 0:n.decorativeStrong,["colors.border.emphasis"]],[null==n?void 0:n.interactive,["colors.border.selected"]],[null==n?void 0:n.focus,["colors.border.focus"]],[null==n?void 0:n.error,["colors.border.critical"]]].reduce(((e,t)=>{var[n,r]=t;return void 0!==n&&r.forEach((t=>(0,dr.A)(e,t,n))),e}),{})})(d.semanticColors):{},h=Cr({},p,{tokens:(0,Ue.A)({},l({palette:p.colors}),f,d.tokens)}),m=Ve(u,"fontFace","enableCustomFontGlobally")||{},{fontFamily:g}=m,v=Er(m,["fontFamily"]),y=(0,Ue.A)(h,(e=>{var{theme:t,fontFamily:n=In}=e;return{fontFamily:{default:n},typography:Dn(t,n)}})({theme:h,fontFamily:g}),Cr({},v&&{typography:v})),b=ur(y),w=(0,Ue.A)(b,null!=c?c:{}),x=r?(e=>{var t=e.navTheme&&Lt(e.navTheme);return Cr({},t?{nav:t}:null,{partnerLogoUrl:e.logoUrl})})(r):null;return"account-group"===i?Cr({},y,w,{nav:ht,langKey:n}):"cardholder-only"===i?Cr({},y,w,{nav:Tt},x,{langKey:n}):Cr({},y,w,x,{langKey:n})},Or=e=>{var{children:t,contextType:n,langKey:r,partnerTheme:o,semanticTokensV9:s,themeOverride:l}=e,c=(0,We.useMemo)((()=>l?pr(l):void 0),[l]),u=(0,We.useMemo)((()=>Sr({contextType:n,langKey:r,partnerTheme:o,semanticTokensV9:s,themeOverride:c})),[n,r,o,s,c]);return(0,i.jsxs)(a.NP,{theme:u,children:[(0,i.jsx)(mr,Cr({},c)),t]})},Ar=(0,We.createContext)(void 0),_r=e=>{var{value:t}=e,n=Er(e,["value"]);return(0,i.jsx)(Ar.Provider,Cr({value:t},n))},Pr=e=>{var t=(0,We.useContext)(Ar);return(0,i.jsx)(a.NP,Cr({theme:e=>{var n=(e=>{var{partnerTheme:t,defaultColors:n}=e,{primaryColor:r,secondaryColor:o}=t||{};if(!r&&!o)return null;var i=r&&Bn(r),a=o&&Bn(o);return{colors:Mn({},n,i?{ultraViolets:i,ultraViolet:null==i?void 0:i[50],lightUltraViolet:null==i?void 0:i[10],ultraVioletLight:null==i?void 0:i[10],lightestUltraViolet:(0,It.a)(.3,r),ultraVioletLightest:(0,It.a)(.3,r),ultraviolet30:null==i?void 0:i[30]}:{},a?{oranges:a,awOrange:o,orange:o,lightOrange:null==a?void 0:a[10],primary:o}:{})}})({partnerTheme:t,defaultColors:e.colors});if(!n)return e;var r=Cr({},e,{colors:(0,Ue.A)({},e.colors,n.colors)});return Cr({},r,ur(r))}},e))},jr=a.I4,Tr=a.DP,Ir=e=>!e||function(e){if(null==e)return!0;if((0,b.A)(e)&&((0,T.A)(e)||"string"==typeof e||"function"==typeof e.splice||(0,de.A)(e)||(0,He.A)(e)||(0,Le.A)(e)))return!e.length;var t=te(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if((0,m.A)(e))return!y(e).length;for(var n in e)if(qe.call(e,n))return!1;return!0}(e)?Sr({langKey:"en"}):e},27805:(e,t,n)=>{"use strict";n.d(t,{NM:()=>S,dt:()=>C,ik:()=>z,G8:()=>l,sn:()=>s,Yk:()=>b,hw:()=>O,Qw:()=>o,Eb:()=>a,wE:()=>i,$0:()=>X,mg:()=>L,PU:()=>I,c4:()=>j,gI:()=>te,gW:()=>F,iB:()=>D,IP:()=>jn,Ot:()=>re,XV:()=>B,sC:()=>J,I:()=>N,OX:()=>R,np:()=>M,ve:()=>In,cY:()=>$,D1:()=>q,W$:()=>W,F6:()=>H,Pu:()=>
2U,TO:()=>V,V$:()=>r,Ys:()=>Y,n5:()=>Pn,UI:()=>_,rZ:()=>K,Il:()=>G,gq:()=>ne,Mq:()=>ee,fE:()=>Tn,nE:()=>T});var r=function(){try{var e="awx_hasPermissionToOperateLocalStorage";window.localStorage.setItem(e,"true");var t="true"===window.localStorage.getItem(e);return window.localStorage.removeItem(e),t}catch(e){return console.error(e),!1}},o=function(e){var t;return r()?window.localStorage.getItem(e):(null===(t=window.awx_localStorage)||void 0===t?void 0:t[e])||null},i=function(e,t){r()?window.localStorage.setItem(e,t):(window.awx_localStorage||(window.awx_localStorage={}),window.awx_localStorage[e]=t)},a=function(e){var t;r()?window.localStorage.removeItem(e):null===(t=window.awx_localStorage)||void 0===t||delete t[e]},s="airwallex_webapp_auth_token",l="airwallex_webapp_auth_token_expiry_client_time",c="airwallex_webapp_refresh_token",u="airwallex_webapp_refresh_token_expiry_client_time",d="airwallex_webapp_account_username",p="airwallex_user_id",f="airwallex_webapp_account_id",h="airwallex_webapp_account_group_id",m="airwallex_webapp_account_region",g="airwallex_webapp_account_dc",v="airwallex_webapp_account_padc",y="airwallex_webapp_account_issdc",b="airwallex_webapp_2fa_status",w="airwallex_webapp_login_remembered_lastmode",x="airwallex_webapp_login_remembered_phone",k="airwallex_webapp_login_remembered_email",C="COUNTRY_CODE",E="ls.langKey",S="airwallex_authenticate_heartbeat_timestamp",O=function(){a(s),a(l),a(c),a(u),a(d),a(f),a(h),a(m),a(g),a(v),a(y),a(p)},A=n(13293),_=function(e){return e?function(e){var t,n,r,i;try{var a=e.split(".")[1],s=JSON.parse((0,A.D4)(a));return{token:e,username:null!==(n=o(k),r=o(x),i=o(w),t="EMAIL"===i?n:"PHONE"===i?r:n||r)&&void 0!==t?t:"",accountId:s.account_id,orgId:s.org_id,orgdc:s.orgdc,accountGroupId:s.account_group_id,region:s.data_center_region,dc:s.dc,userDc:s.user_dc,padc:s.padc,issdc:s.issdc,type:s.type,scope:s.scope,clientId:s.client_id,exp:s.exp,iat:s.iat,userId:s.sub}}catch(e){return console.error("Failed to parse the token: "+e),null}}(e):null};var P=function(){return P=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},P.apply(this,arguments)};function j(){var e,t=o(s),n=o(l),r=Number(n),i=!!t&&!!_(t),a=!!n&&"number"==typeof(e=r)&&!Number.isNaN(e);return i&&a&&(new Date).getTime()<=r?t:null}var T=function(e){var t=e.accessToken,n=e.refreshToken,r=e.refreshTokenExpireAt,o=_(t);if(o){var i=Date.now(),a=1e3*o.iat,s={accessToken:t,accessTokenExpireAt:i+1e3*o.exp-a};return n&&r?P(P({},s),{refreshToken:n,refreshTokenExpireAt:i+r-a}):s}return e};function I(){var e,t,n=j();return n&&null!==(t=null===(e=_(n))||void 0===e?void 0:e.accountId)&&void 0!==t?t:null}function L(){var e,t,n=j();return n&&null!==(t=null===(e=_(n))||void 0===e?void 0:e.accountGroupId)&&void 0!==t?t:null}function N(){var e,t,n=j();return n&&null!==(t=null===(e=_(n))||void 0===e?void 0:e.orgId)&&void 0!==t?t:null}function R(){var e,t,n=j();return n&&null!==(t=null===(e=_(n))||void 0===e?void 0:e.orgdc)&&void 0!==t?t:null}function D(){var e,t,n=j();return n&&null!==(t=null===(e=_(n))||void 0===e?void 0:e.region)&&void 0!==t?t:null}function F(){var e,t,n=j();return n&&null!==(t=null===(e=_(n))||void 0===e?void 0:e.dc)&&void 0!==t?t:null}function M(){var e,t,n=j();return n&&null!==(t=null===(e=_(n))||void 0===e?void 0:e.padc)&&void 0!==t?t:null}function B(){var e,t,n=j();return n&&null!==(t=null===(e=_(n))||void 0===e?void 0:e.issdc)&&void 0!==t?t:null}function V(){var e,t,n=j();return n&&null!==(t=null===(e=_(n))||void 0===e?void 0:e.username)&&void 0!==t?t:null}var z,U=function(){var e,t,n=j();return n&&null!==(t=null===(e=_(n))||void 0===e?void 0:e.userId)&&void 0!==t?t:null},H=function(){return o(p)||""},q=function(){return o(w)},W=function(){var e=o(x);return e?e.split("-"):null},$=function(){return o(k)},G=function(e,t,n){e||console.error("webapp auth token [".concat(e,"] should not be falsy")),function(e,t,n){i(s,e),i(l,t),n&&i(c,n)}(e,"".concat(t),n);var r,o,u,b,w,x,k,C,E,S,O,A=_(e);A&&(o=(r=A).username,u=r.userId,b=r.orgId,w=r.orgdc,x=r.accountId,k=r.accountGroupId,C=r.region,E=r.dc,S=r.padc,O=r.issdc,i(d,o),u&&function(e){i(p,e)}(u),null!=C?i(m,C):a(m),null!=b&&i("airwallex_webapp_org_id",b),null!=w&&i("airwallex_webapp_orgdc",w),null!=x?i(f,x):a(f),null!=k?i(h,k):a(h),null!=E?i(g,E):a(g),null!=S?i(v,S):a(v),null!=O?i(y,O):a(y))},K=G;!function(e){e.en="en",e.zh="zh",e.fr="fr",e["en-US"]="en-US",e["es-MX"]="es-MX",e.ko="ko",e.ja="ja",e.de="de",e.vi="vi",e["pt-BR"]="pt-BR"}(z||(z={}));var Z,Y=function(){try{var e="awx_hasPermissionToOperateSessionStorage";window.sessionStorage.setItem(e,"true");var t="true"===window.sessionStorage.getItem(e);return window.sessionStorage.removeItem(e),t}catch(e){return console.error(e),!1}},X=function(){Y()?window.sessionStorage.clear():window.awx_sessionStorage={}},Q=function(e){return Object.values(z).includes(e)},J=function(){var e=o(E);if(!e)return z.en;try{var t=JSON.parse(e);return Q(t)?t:z.en}catch(t){return console.error("Error occurred in parsing language key ".concat(e,", error: ").concat(JSON.stringify(t))),z.en}},ee=function(e){return i(E,Q(e)?JSON.stringify(e):JSON.stringify(z.en))},te=function(){var e=o(C)||"";try{return JSON.parse(e)}catch(t){return console.error("Error occurred in parsing country code: ".concat(e,", error: ").concat(t)),e}},ne=function(e){return i(C,JSON.stringify(e))};!function(e){e.SSO="SSO",e.EMAIL="EMAIL",e.MOBILE="MOBILE"}
2(Z||(Z={}));var re=function(){return e="airwallex_ip",(Y()?window.sessionStorage.getItem(e):(null===(t=window.awx_sessionStorage)||void 0===t?void 0:t[e])||null)||"";var e,t};const oe=function(e,t){return e===t||e!=e&&t!=t},ie=function(e,t){for(var n=e.length;n--;)if(oe(e[n][0],t))return n;return-1};var ae=Array.prototype.splice;function se(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}se.prototype.clear=function(){this.__data__=[],this.size=0},se.prototype.delete=function(e){var t=this.__data__,n=ie(t,e);return!(n<0||(n==t.length-1?t.pop():ae.call(t,n,1),--this.size,0))},se.prototype.get=function(e){var t=this.__data__,n=ie(t,e);return n<0?void 0:t[n][1]},se.prototype.has=function(e){return ie(this.__data__,e)>-1},se.prototype.set=function(e,t){var n=this.__data__,r=ie(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};const le=se,ce="object"==typeof global&&global&&global.Object===Object&&global;var ue="object"==typeof self&&self&&self.Object===Object&&self;const de=ce||ue||Function("return this")(),pe=de.Symbol;var fe=Object.prototype,he=fe.hasOwnProperty,me=fe.toString,ge=pe?pe.toStringTag:void 0;var ve=Object.prototype.toString;var ye=pe?pe.toStringTag:void 0;const be=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ye&&ye in Object(e)?function(e){var t=he.call(e,ge),n=e[ge];try{e[ge]=void 0;var r=!0}catch(e){}var o=me.call(e);return r&&(t?e[ge]=n:delete e[ge]),o}(e):function(e){return ve.call(e)}(e)},we=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},xe=function(e){if(!we(e))return!1;var t=be(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},ke=de["__core-js_shared__"];var Ce,Ee=(Ce=/[^.]+$/.exec(ke&&ke.keys&&ke.keys.IE_PROTO||""))?"Symbol(src)_1."+Ce:"";var Se=Function.prototype.toString;const Oe=function(e){if(null!=e){try{return Se.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var Ae=/^\[object .+?Constructor\]$/,_e=Function.prototype,Pe=Object.prototype,je=_e.toString,Te=Pe.hasOwnProperty,Ie=RegExp("^"+je.call(Te).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Le=function(e){return!(!we(e)||(t=e,Ee&&Ee in t))&&(xe(e)?Ie:Ae).test(Oe(e));var t},Ne=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Le(n)?n:void 0},Re=Ne(de,"Map"),De=Ne(Object,"create");var Fe=Object.prototype.hasOwnProperty;var Me=Object.prototype.hasOwnProperty;function Be(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Be.prototype.clear=function(){this.__data__=De?De(null):{},this.size=0},Be.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Be.prototype.get=function(e){var t=this.__data__;if(De){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Fe.call(t,e)?t[e]:void 0},Be.prototype.has=function(e){var t=this.__data__;return De?void 0!==t[e]:Me.call(t,e)},Be.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=De&&void 0===t?"__lodash_hash_undefined__":t,this};const Ve=Be,ze=function(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map};function Ue(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ue.prototype.clear=function(){this.size=0,this.__data__={hash:new Ve,map:new(Re||le),string:new Ve}},Ue.prototype.delete=function(e){var t=ze(this,e).delete(e);return this.size-=t?1:0,t},Ue.prototype.get=function(e){return ze(this,e).get(e)},Ue.prototype.has=function(e){return ze(this,e).has(e)},Ue.prototype.set=function(e,t){var n=ze(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};const He=Ue;function qe(e){var t=this.__data__=new le(e);this.size=t.size}qe.prototype.clear=function(){this.__data__=new le,this.size=0},qe.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},qe.prototype.get=function(e){return this.__data__.get(e)},qe.prototype.has=function(e){return this.__data__.has(e)},qe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof le){var r=n.__data__;if(!Re||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new He(r)}return n.set(e,t),this.size=n.size,this};const We=qe,$e=function(){try{var e=Ne(Object,"defineProperty");return e({},"",{}),e}catch(e){}}
2(),Ge=function(e,t,n){"__proto__"==t&&$e?$e(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};var Ke=Object.prototype.hasOwnProperty;const Ze=function(e,t,n){var r=e[t];Ke.call(e,t)&&oe(r,n)&&(void 0!==n||t in e)||Ge(e,t,n)},Ye=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?Ge(n,s,l):Ze(n,s,l)}return n},Xe=function(e){return null!=e&&"object"==typeof e},Qe=function(e){return Xe(e)&&"[object Arguments]"==be(e)};var Je=Object.prototype,et=Je.hasOwnProperty,tt=Je.propertyIsEnumerable;const nt=Qe(function(){return arguments}())?Qe:function(e){return Xe(e)&&et.call(e,"callee")&&!tt.call(e,"callee")},rt=Array.isArray;var ot="object"==typeof exports&&exports&&!exports.nodeType&&exports,it=ot&&"object"==typeof module&&module&&!module.nodeType&&module,at=it&&it.exports===ot?de.Buffer:void 0;const st=(at?at.isBuffer:void 0)||function(){return!1};var lt=/^(?:0|[1-9]\d*)$/;const ct=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&<.test(e))&&e>-1&&e%1==0&&e<t},ut=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var dt={};dt["[object Float32Array]"]=dt["[object Float64Array]"]=dt["[object Int8Array]"]=dt["[object Int16Array]"]=dt["[object Int32Array]"]=dt["[object Uint8Array]"]=dt["[object Uint8ClampedArray]"]=dt["[object Uint16Array]"]=dt["[object Uint32Array]"]=!0,dt["[object Arguments]"]=dt["[object Array]"]=dt["[object ArrayBuffer]"]=dt["[object Boolean]"]=dt["[object DataView]"]=dt["[object Date]"]=dt["[object Error]"]=dt["[object Function]"]=dt["[object Map]"]=dt["[object Number]"]=dt["[object Object]"]=dt["[object RegExp]"]=dt["[object Set]"]=dt["[object String]"]=dt["[object WeakMap]"]=!1;const pt=function(e){return function(t){return e(t)}};var ft="object"==typeof exports&&exports&&!exports.nodeType&&exports,ht=ft&&"object"==typeof module&&module&&!module.nodeType&&module,mt=ht&&ht.exports===ft&&ce.process;const gt=function(){try{return ht&&ht.require&&ht.require("util").types||mt&&mt.binding&&mt.binding("util")}catch(e){}}();var vt=gt&>.isTypedArray;const yt=vt?pt(vt):function(e){return Xe(e)&&ut(e.length)&&!!dt[be(e)]};var bt=Object.prototype.hasOwnProperty;const wt=function(e,t){var n=rt(e),r=!n&&nt(e),o=!n&&!r&&st(e),i=!n&&!r&&!o&&yt(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!bt.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ct(c,l))||s.push(c);return s};var xt=Object.prototype;const kt=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||xt)},Ct=function(e,t){return function(n){return e(t(n))}},Et=Ct(Object.keys,Object);var St=Object.prototype.hasOwnProperty;const Ot=function(e){return null!=e&&ut(e.length)&&!xe(e)},At=function(e){return Ot(e)?wt(e):function(e){if(!kt(e))return Et(e);var t=[];for(var n in Object(e))St.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)};var _t=Object.prototype.hasOwnProperty;const Pt=function(e){if(!we(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=kt(e),n=[];for(var r in e)("constructor"!=r||!t&&_t.call(e,r))&&n.push(r);return n},jt=function(e){return Ot(e)?wt(e,!0):Pt(e)};var Tt="object"==typeof exports&&exports&&!exports.nodeType&&exports,It=Tt&&"object"==typeof module&&module&&!module.nodeType&&module,Lt=It&&It.exports===Tt?de.Buffer:void 0,Nt=Lt?Lt.allocUnsafe:void 0;const Rt=function(){return[]};var Dt=Object.prototype.propertyIsEnumerable,Ft=Object.getOwnPropertySymbols;const Mt=Ft?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}(Ft(e),(function(t){return Dt.call(e,t)})))}:Rt,Bt=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e},Vt=Ct(Object.getPrototypeOf,Object),zt=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Bt(t,Mt(e)),e=Vt(e);return t}:Rt,Ut=function(e,t,n){var r=t(e);return rt(e)?r:Bt(r,n(e))},Ht=function(e){return Ut(e,At,Mt)},qt=function(e){return Ut(e,jt,zt)},Wt=Ne(de,"DataView"),$t=Ne(de,"Promise"),Gt=Ne(de,"Set"),Kt=Ne(de,"WeakMap");var Zt="[object Map]",Yt="[object Promise]",Xt="[object Set]",Qt="[object WeakMap]",Jt="[object DataView]",en=Oe(Wt),tn=Oe(Re),nn=Oe($t),rn=Oe(Gt),on=Oe(Kt),an=be;(Wt&&an(new Wt(new ArrayBuffer(1)))!=Jt||Re&&an(new Re)!=Zt||$t&&an($t.resolve())!=Yt||Gt&&an(new Gt)!=Xt||Kt&&an(new Kt)!=Qt)&&(an=function(e){var t=be(e),n="[object Object]"==t?e.constructor:void 0,r=n?Oe(n):"";if(r)switch(r){case en:return Jt;case tn:return Zt;case nn:return Yt;case rn:return Xt;case on:return Qt}return t});const sn=an;var ln=Object.prototype.hasOwnProperty;const cn=de.Uint8Array,un=function(e){var t=new e.constructor(e.byteLength);return new cn(t).set(new cn(e)),t};var dn=/\w*$/;
2var pn=pe?pe.prototype:void 0,fn=pn?pn.valueOf:void 0;const hn=function(e,t,n){var r,o,i,a=e.constructor;switch(t){case"[object ArrayBuffer]":return un(e);case"[object Boolean]":case"[object Date]":return new a(+e);case"[object DataView]":return function(e,t){var n=t?un(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(e,t){var n=t?un(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,n);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(e);case"[object RegExp]":return(i=new(o=e).constructor(o.source,dn.exec(o))).lastIndex=o.lastIndex,i;case"[object Symbol]":return r=e,fn?Object(fn.call(r)):{}}};var mn=Object.create;const gn=function(){function e(){}return function(t){if(!we(t))return{};if(mn)return mn(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var vn=gt&>.isMap;const yn=vn?pt(vn):function(e){return Xe(e)&&"[object Map]"==sn(e)};var bn=gt&>.isSet;const wn=bn?pt(bn):function(e){return Xe(e)&&"[object Set]"==sn(e)};var xn="[object Arguments]",kn="[object Function]",Cn="[object Object]",En={};En[xn]=En["[object Array]"]=En["[object ArrayBuffer]"]=En["[object DataView]"]=En["[object Boolean]"]=En["[object Date]"]=En["[object Float32Array]"]=En["[object Float64Array]"]=En["[object Int8Array]"]=En["[object Int16Array]"]=En["[object Int32Array]"]=En["[object Map]"]=En["[object Number]"]=En[Cn]=En["[object RegExp]"]=En["[object Set]"]=En["[object String]"]=En["[object Symbol]"]=En["[object Uint8Array]"]=En["[object Uint8ClampedArray]"]=En["[object Uint16Array]"]=En["[object Uint32Array]"]=!0,En["[object Error]"]=En[kn]=En["[object WeakMap]"]=!1;const Sn=function e(t,n,r,o,i,a){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=i?r(t,o,i,a):r(t)),void 0!==s)return s;if(!we(t))return t;var d=rt(t);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ln.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!l)return function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(t,s)}else{var p=sn(t),f=p==kn||"[object GeneratorFunction]"==p;if(st(t))return function(e,t){if(t)return e.slice();var n=e.length,r=Nt?Nt(n):new e.constructor(n);return e.copy(r),r}(t,l);if(p==Cn||p==xn||f&&!i){if(s=c||f?{}:function(e){return"function"!=typeof e.constructor||kt(e)?{}:gn(Vt(e))}(t),!l)return c?function(e,t){return Ye(e,zt(e),t)}(t,function(e,t){return e&&Ye(t,jt(t),e)}(s,t)):function(e,t){return Ye(e,Mt(e),t)}(t,function(e,t){return e&&Ye(t,At(t),e)}(s,t))}else{if(!En[p])return i?t:{};s=hn(t,p,l)}}a||(a=new We);var h=a.get(t);if(h)return h;a.set(t,s),wn(t)?t.forEach((function(o){s.add(e(o,n,r,o,t,a))})):yn(t)&&t.forEach((function(o,i){s.set(i,e(o,n,r,i,t,a))}));var m=d?void 0:(u?c?qt:Ht:c?jt:At)(t);return function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););}(m||t,(function(o,i){m&&(o=t[i=o]),Ze(s,i,e(o,n,r,i,t,a))})),s};var On=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},An=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},_n=["authorization","x-auth-token","x-awx-password-auth-token","password","passwordHistory","newPassword","oldPassword","confirmNewPassword","token","apiKey","apiKeyHash","authCode"],Pn=function(e,t){try{return n=e,r=function(e){return function(t,n){var r,o,i=new Set(e);try{for(var a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(i),s=a.next();!s.done;s=a.next()){var l=s.value;if(new RegExp(l,"ig").test("".concat(n)))return"*********"}}catch(e){r={error:e}}
2finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}}}(An(An([],On(_n),!1),On(t||[]),!1)),Sn(n,5,r="function"==typeof r?r:void 0)}catch(t){return e}var n,r},jn=function(){return o("AWX_RISK_ID")||""},Tn=function(e,t){i(c,e),i(u,"".concat(t))},In=function(){var e=o(c);return Ln()&&e?e:null},Ln=function(){var e=Number(o(u));return!!e&&Date.now()<e}},55655:(e,t,n)=>{"use strict";n.d(t,{A:()=>re});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 5,078 bytes, line 2
2,t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(e){return e.trim()}function l(e,t,n){return e.replace(t,n)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function p(e){return e.length}function f(e){return e.length}function h(e,t){return t.push(e),e}var m=1,g=1,v=0,y=0,b=0,w="";function x(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:m,column:g,length:a,return:""}}function k(e,t){return a(x("",null,null,"",null,null,0),e,{length:-e.length},t)}function C(){return b=y>0?u(w,--y):0,g--,10===b&&(g=1,m--),b}function E(){return b=y<v?u(w,y++):0,g++,10===b&&(g=1,m++),b}function S(){return u(w,y)}function O(){return y}function A(e,t){return d(w,e,t)}function _(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function P(e){return m=g=1,v=p(w=e),y=0,[]}function j(e){return w="",e}function T(e){return s(A(y-1,N(91===e?e+2:40===e?e+1:e)))}function I(e){for(;(b=S())&&b<33;)E();return _(e)>2||_(b)>3?"":" "}function L(e,t){for(;--t&&E()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return A(e,O()+(t<6&&32==S()&&32==E()))}function N(e){for(;E();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&N(b);break;case 40:41===e&&N(e);break;case 92:E()}return y}function R(e,t){for(;E()&&e+b!==57&&(e+b!==84||47!==S()););return"/*"+A(t,y-1)+"*"+i(47===e?e:E())}function D(e){for(;!_(S());)E();return A(e,y)}var F="-ms-",M="-moz-",B="-webkit-",V="comm",z="rule",U="decl",H="@keyframes";function q(e,t){for(var n="",r=f(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function W(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case U:return e.return=e.return||e.value;case V:return"";case H:return e.return=e.value+"{"+q(e.children,r)+"}";case z:e.value=e.props.join(",")}return p(n=q(e.children,r))?e.return=e.value+"{"+n+"}":""}function $(e){return j(G("",null,null,null,[""],e=P(e),0,[0],e))}function G(e,t,n,r,o,a,s,d,f){for(var m=0,g=0,v=s,y=0,b=0,w=0,x=1,k=1,A=1,_=0,P="",j=o,N=a,F=r,M=P;k;)switch(w=_,_=E()){case 40:if(108!=w&&58==u(M,v-1)){-1!=c(M+=l(T(_),"&","&\f"),"&\f")&&(A=-1);break}case 34:case 39:case 91:M+=T(_);break;case 9:case 10:case 13:case 32:M+=I(w);break;case 92:M+=L(O()-1,7);continue;case 47:switch(S()){case 42:case 47:h(Z(R(E(),O()),t,n),f);break;default:M+="/"}break;case 123*x:d[m++]=p(M)*A;case 125*x:case 59:case 0:switch(_){case 0:case 125:k=0;case 59+g:-1==A&&(M=l(M,/\f/g,"")),b>0&&p(M)-v&&h(b>32?Y(M+";",r,n,v-1):Y(l(M," ","")+";",r,n,v-2),f);break;case 59:M+=";";default:if(h(F=K(M,t,n,m,g,o,d,P,j=[],N=[],v),a),123===_)if(0===g)G(M,t,F,F,j,a,v,d,N);else switch(99===y&&110===u(M,3)?100:y){case 100:case 108:case 109:case 115:G(e,F,F,r&&h(K(e,F,F,0,0,o,d,P,o,j=[],v),N),o,N,v,d,r?j:N);break;default:G(M,F,F,F,[""],N,0,d,N)}}m=g=b=0,x=A=1,P=M="",v=s;break;case 58:v=1+p(M),b=w;default:if(x<1)if(123==_)--x;else if(125==_&&0==x++&&125==C())continue;switch(M+=i(_),_*x){case 38:A=g>0?1:(M+="\f",-1);break;case 44:d[m++]=(p(M)-1)*A,A=1;break;case 64:45===S()&&(M+=T(E())),y=S(),g=v=p(P=M+=D(O())),_++;break;case 45:45===w&&2==p(M)&&(x=0)}}return a}function K(e,t,n,r,i,a,c,u,p,h,m){for(var g=i-1,v=0===i?a:[""],y=f(v),b=0,w=0,k=0;b<r;++b)for(var C=0,E=d(e,g+1,g=o(w=c[b])),S=e;C<y;++C)(S=s(w>0?v[C]+" "+E:l(E,/&\f/g,v[C])))&&(p[k++]=S);return x(e,t,n,0===i?z:u,p,h,m)}function Z(e,t,n){return x(e,t,n,V,i(b),d(e,2,-2),0)}function Y(e,t,n,r){return x(e,t,n,U,d(e,0,r),d(e,r+1,-1),r)}var X=function(e,t,n){for(var r=0,o=0;r=o,o=S(),38===r&&12===o&&(t[n]=1),!_(o);)E();return A(e,y)},Q=new WeakMap,J=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Q.get(n))&&!r){Q.set(e,!0);for(var o=[],a=function(e,t){return j(function(e,t){var n=-1,r=44;do{switch(_(r)){case 0:38===r&&12===S()&&(t[n]=1),e[n]+=X(y-1,t,n);break;case 2:e[n]+=T(r);break;case 4:if(44===r){e[++n]=58===S()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=E());return e}(P(e),t))}(t,o),s=n.props,l=0,c=0;l<a.length;l++)for(var u=0;u<s.length;u++,c++)e.props[c]=o[l]?a[l].replace(/&\f/g,s[u]):s[u]+" "+a[l]}}},ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function te(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return B+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return B+e+e;
2case 5349:case 4246:case 4810:case 6968:case 2756:return B+e+M+e+F+e+e;case 6828:case 4268:return B+e+F+e+e;case 6165:return B+e+F+"flex-"+e+e;case 5187:return B+e+l(e,/(\w+).+(:[^]+)/,B+"box-$1$2"+F+"flex-$1$2")+e;case 5443:return B+e+F+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return B+e+F+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return B+e+F+l(e,"shrink","negative")+e;case 5292:return B+e+F+l(e,"basis","preferred-size")+e;case 6060:return B+"box-"+l(e,"-grow","")+B+e+F+l(e,"grow","positive")+e;case 4554:return B+l(e,/([^-])(transform)/g,"$1"+B+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,B+"$1"),/(image-set)/,B+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,B+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,B+"box-pack:$3"+F+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+B+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,B+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(p(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+B+"$2-$3$1"+M+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?te(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,p(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+B)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+B+(45===u(e,14)?"inline-":"")+"box$3$1"+B+"$2$3$1"+F+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return B+e+F+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return B+e+F+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return B+e+F+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return B+e+F+e+e}return e}var ne=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case U:e.return=te(e.value,e.length);break;case H:return q([k(e,{value:l(e.value,"@","@"+B)})],r);case z:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return q([k(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return q([k(e,{props:[l(t,/:(plac\w+)/,":"+B+"input-$1")]}),k(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),k(e,{props:[l(t,/:(plac\w+)/,F+"input-$1")]})],r)}return""}))}}],re=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,i,a=e.stylisPlugins||ne,s={},l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;l.push(e)}));var c,u,d,p,h=[W,(p=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],m=(u=[J,ee].concat(a,h),d=f(u),function(e,t,n,r){for(var o="",i=0;i<d;i++)o+=u[i](e,t,n,r)||"";return o});i=function(e,t,n,r){c=n,q($(e?e+"{"+t.styles+"}":t.styles),m),r&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new r({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return g.sheet.hydrate(l),g}},32196:(e,t,n)=>{"use strict";n.d(t,{HO:()=>u});var r=n(55655),o=n(45021),i=n(30041);function a(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function s(e,t,n){var r=[],o=(0,i.Rk)(e,r,n);return r.length<2?n:o+t(r)}var l=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(null!=o){var i=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))i=e(o);else for(var a in i="",o)o[a]&&a&&(i&&(i+=" "),i+=a);break;default:i=o}i&&(n&&(n+=" "),n+=i)}}return n},c=function(){var e=(0,r.A)({key:"css"});e.sheet.speedy=function(e){this.isSpeedy=e},e.compat=!0;var t=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=(0,o.J)(n,e.registered,void 0);return(0,i.sk)(e,a,!1),e.key+"-"+a.name};return{css:t,cx:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return s(e.registered,t,l(r))},injectGlobal:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=(0,o.J)(n,e.registered);a(e,i)},keyframes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=(0,o.J)(n,e.registered),s="animation-"+i.name;return a(e,{name:i.name,styles:"@keyframes "+s+"{"+i.styles+"}"}),s},hydrate:function(t){t.forEach((function(t){e.inserted[t]=!0}))},flush:function(){e.registered={},e.inserted={},e.sheet.flush()},sheet:e.sheet,cache:e,getRegisteredStyles:i.Rk.bind(null,e.registered),merge:s.bind(null,e.registered,t)}}(),u=(c.flush,c.hydrate,c.cx,c.merge,c.getRegisteredStyles,c.injectGlobal);c.keyframes,c.css,c.sheet,c.cache}
2,36289:(e,t,n)=>{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:()=>r})},28221:(e,t,n)=>{"use strict";n.d(t,{E:()=>x,T:()=>f,a:()=>g,c:()=>b,h:()=>v,i:()=>u,u:()=>h,w:()=>p});var r=n(24002),o=n(55655),i=n(58168),a=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},s=n(30041),l=n(45021),c=n(71287),u=!1,d=r.createContext("undefined"!=typeof HTMLElement?(0,o.A)({key:"css"}):null),p=(d.Provider,function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(d);return e(t,o,n)}))}),f=r.createContext({}),h=function(){return r.useContext(f)},m=a((function(e){return a((function(t){return function(e,t){return"function"==typeof t?t(e):(0,i.A)({},e,t)}(e,t)}))})),g=function(e){var t=r.useContext(f);return e.theme!==t&&(t=m(t)(e.theme)),r.createElement(f.Provider,{value:t},e.children)},v={}.hasOwnProperty,y="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",b=function(e,t){var n={};for(var r in t)v.call(t,r)&&(n[r]=t[r]);return n[y]=e,n},w=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,s.SF)(t,n,r),(0,c.s)((function(){return(0,s.sk)(t,n,r)})),null},x=p((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[y],a=[o],c="";"string"==typeof e.className?c=(0,s.Rk)(t.registered,a,e.className):null!=e.className&&(c=e.className+" ");var d=(0,l.J)(a,void 0,r.useContext(f));c+=t.key+"-"+d.name;var p={};for(var h in e)v.call(e,h)&&"css"!==h&&h!==y&&!u&&(p[h]=e[h]);return p.className=c,n&&(p.ref=n),r.createElement(r.Fragment,null,r.createElement(w,{cache:t,serialized:d,isStringTag:"string"==typeof i}),r.createElement(i,p))}))},17437:(e,t,n)=>{"use strict";n.d(t,{AH:()=>p,Z2:()=>g,i7:()=>f,mL:()=>d});var r,o,i=n(28221),a=n(24002),s=n(30041),l=n(71287),c=n(45021),u=(n(55655),n(4146),function(e,t){var n=arguments;if(null==t||!i.h.call(t,"css"))return a.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=i.E,o[1]=(0,i.c)(e,t);for(var s=2;s<r;s++)o[s]=n[s];return a.createElement.apply(null,o)});r=u||(u={}),o||(o=r.JSX||(r.JSX={}));var d=(0,i.w)((function(e,t){var n=e.styles,r=(0,c.J)([n],void 0,a.useContext(i.T)),o=a.useRef();return(0,l.i)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),n.hydrate([a])),o.current=[n,i],function(){n.flush()}}),[t]),(0,l.i)((function(){var e=o.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&(0,s.sk)(t,r.next,!0),n.tags.length){var i=n.tags[n.tags.length-1].nextElementSibling;n.before=i,n.flush()}t.insert("",r,n,!1)}}),[t,r.name]),null}));function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,c.J)(t)}function f(){var e=p.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var h=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var s in a="",i)i[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o},m=function(e){var t=e.cache,n=e.serializedArr;return(0,l.s)((function(){for(var e=0;e<n.length;e++)(0,s.sk)(t,n[e],!1)})),null},g=(0,i.w)((function(e,t){var n=!1,r=[],o=function(){if(n&&i.i)throw new Error("css can only be used during render");for(var e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];var l=(0,c.J)(o,t.registered);return r.push(l),(0,s.SF)(t,l,!1),t.key+"-"+l.name},l={css:o,cx:function(){if(n&&i.i)throw new Error("cx can only be used during render");for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return function(e,t,n){var r=[],o=(0,s.Rk)(e,r,n);return r.length<2?n:o+t(r)}(t.registered,o,h(r))},theme:a.useContext(i.T)},u=e.children(l);return n=!0,a.createElement(a.Fragment,null,a.createElement(m,{cache:t,serializedArr:r}),u)}))},45021:(e,t,n)=>{"use strict";n.d(t,{J:()=>g});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGr
2idRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=n(36289),i=!1,a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},u=(0,o.A)((function(e){return l(e)?e:e.replace(a,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,(function(e,t,n){return h={name:t,styles:n,next:h},t}))}return 1===r[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"},p="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function f(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return h={name:o.name,styles:o.styles,next:h},o.name;var a=n;if(void 0!==a.styles){var s=a.next;if(void 0!==s)for(;void 0!==s;)h={name:s.name,styles:s.styles,next:h},s=s.next;return a.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=f(e,t,n[o])+";";else for(var a in n){var s=n[a];if("object"!=typeof s){var l=s;null!=t&&void 0!==t[l]?r+=a+"{"+t[l]+"}":c(l)&&(r+=u(a)+":"+d(a,l)+";")}else{if("NO_COMPONENT_SELECTOR"===a&&i)throw new Error(p);if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var h=f(e,t,s);switch(a){case"animation":case"animationName":r+=u(a)+":"+h+";";break;default:r+=a+"{"+h+"}"}}else for(var m=0;m<s.length;m++)c(s[m])&&(r+=u(a)+":"+d(a,s[m])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var l=h,m=n(e);return h=l,f(e,t,m)}}var g=n;if(null==t)return g;var v=t[g];return void 0!==v?v:g}var h,m=/label:\s*([^\s;{]+)\s*(;|$)/g;function g(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";h=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=f(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=f(n,t,e[a]),r&&(o+=i[a]);m.lastIndex=0;for(var s,l="";null!==(s=m.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:h}}},90644:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(58168),o=n(28221),i=n(45021),a=n(71287),s=n(30041),l=n(24002),c=n(36289),u=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRen
2dering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,d=(0,c.A)((function(e){return u.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),p=function(e){return"theme"!==e},f=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?d:p},h=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},m=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,s.SF)(t,n,r),(0,a.s)((function(){return(0,s.sk)(t,n,r)})),null},g=function e(t,n){var a,c,u=t.__emotion_real===t,d=u&&t.__emotion_base||t;void 0!==n&&(a=n.label,c=n.target);var p=h(t,n,u),g=p||f(d),v=!g("as");return function(){var y=arguments,b=u&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==a&&b.push("label:"+a+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{var w=y[0];b.push(w[0]);for(var x=y.length,k=1;k<x;k++)b.push(y[k],w[k])}var C=(0,o.w)((function(e,t,n){var r=v&&e.as||d,a="",u=[],h=e;if(null==e.theme){for(var y in h={},e)h[y]=e[y];h.theme=l.useContext(o.T)}"string"==typeof e.className?a=(0,s.Rk)(t.registered,u,e.className):null!=e.className&&(a=e.className+" ");var w=(0,i.J)(b.concat(u),t.registered,h);a+=t.key+"-"+w.name,void 0!==c&&(a+=" "+c);var x=v&&void 0===p?f(r):g,k={};for(var C in e)v&&"as"===C||x(C)&&(k[C]=e[C]);return k.className=a,n&&(k.ref=n),l.createElement(l.Fragment,null,l.createElement(m,{cache:t,serialized:w,isStringTag:"string"==typeof r}),l.createElement(r,k))}));return C.displayName=void 0!==a?a:"Styled("+("string"==typeof d?d:d.displayName||d.name||"Component")+")",C.defaultProps=t.defaultProps,C.__emotion_real=C,C.__emotion_base=d,C.__emotion_styles=b,C.__emotion_forwardProp=p,Object.defineProperty(C,"toString",{value:function(){return"."+c}}),C.withComponent=function(t,o){return e(t,(0,r.A)({},n,o,{shouldForwardProp:h(C,o,!0)})).apply(void 0,b)},C}}},69815:(e,t,n)=>{"use strict";n.d(t,{A:()=>
2o});var r=n(90644),o=(n(45021),n(71287),n(24002),r.A.bind(null));["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){o[e]=o(e)}))},71287:(e,t,n)=>{"use strict";n.d(t,{i:()=>a,s:()=>i});var r=n(24002),o=!!r.useInsertionEffect&&r.useInsertionEffect,i=o||function(e){return e()},a=o||r.useLayoutEffect},30041:(e,t,n)=>{"use strict";function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")})),r}n.d(t,{Rk:()=>r,SF:()=>o,sk:()=>i});var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},59007:(e,t,n)=>{"use strict";n.d(t,{J1:()=>mc,wY:()=>fc});var r={};n.r(r),n.d(r,{Ql:()=>b,wm:()=>k,h3:()=>w,TV:()=>C,UN:()=>S,Uf:()=>x,LR:()=>O,ON:()=>y,Cn:()=>E});var o={};n.r(o),n.d(o,{black:()=>_,blues:()=>T,grays:()=>P,greens:()=>I,oranges:()=>N,purples:()=>j,reds:()=>R,white:()=>A,yellows:()=>L});var i={};n.r(i),n.d(i,{active:()=>U,card:()=>K,checkbox:()=>X,disabled:()=>z,dropdown:()=>Z,error:()=>q,focused:()=>W,hover:()=>H,input:()=>G,normal:()=>V,radio:()=>Q,selected:()=>$,table:()=>Y});var a=n(24002),s=n.n(a),l=n(74848),c=n(69815),u=(n(32196),n(28221)),d=n(90179),p=n.n(d),f=n(55364),h=n.n(f),m=n(62193),g=n.n(m),v=n(71656),y="#FFFFFF",b="#000000",w={5:"#FAFAFB",10:"#F5F6F7",20:"#E8EAED",30:"#D0D4D9",40:"#B0B6BF",50:"#878E99",60:"#68707A",70:"#4C5259",80:"#2B2F33",90:"#1B1F21",100:"#14171A"},x={5:"#F7F7FF",10:"#F0EFFF",20:"#DFDEFF",30:"#CBC9FF",40:"#ABA8FF",50:"#867DFF",60:"#6B54F0",70:"#612FFF",80:"#5500E5",90:"#320094",100:"#15005C"},k={5:"#F0F9FF",10:"#E0F2FE",20:"#BAE6FD",30:"#8AD9FF",40:"#3AC0FC",50:"#0096DB",60:"#0074B8",70:"#0F5D99",80:"#0E3C78",90:"#10254F",100:"#0D1A33"},C={5:"#EFFBF4",10:"#D9FCE7",20:"#BAF2D1",30:"#8EEDB4",40:"#49D189",50:"#00A156",60:"#008044",70:"#036B3B",80:"#054F2C",90:"#05361F",100:"#042616"},E={5:"#FFFCEB",10:"#FFF6CC",20:"#FAE891",30:"#F5D64E",40:"#E5B917",50:"#CC9814",60:"#AD7823",70:"#875C1B",80:"#634114",90:"#4D320F",100:"#38250B"},S={5:"#FFF6EF",10:"#FFEDE0",20:"#FFD9BD",30:"#FFB27A",40:"#FF8E3C",50:"#E56820",60:"#C4490C",70:"#A33A0D",80:"#8C300E",90:"#69200A",100:"#4D1A0B"},O={5:"#FFF5F5",10:"#FFE7E5",20:"#FFCECC",30:"#FFAAA6",40:"#FC796D",50:"#FF4F42",60:"#D91807",70:"#A61202",80:"#801302",90:"#661405",100:"#521004"},{ON:A,Ql:_,h3:P,Uf:j,wm:T,TV:I,Cn:L,UN:N,LR:R}=r,D={background:P[10],item:{color:P[80],hover:{color:P[60]},selected:{gradient:"orange"},tag:{background:P[20],color:P[80],selected:{background:v.orange,color:A}}},button:{hover:{background:A}},subMenuLine:P[40],tooltip:{background:P[70]}},F=n(35034),M="1px solid",B="2px solid",V={100:M+" "+F.grays[20],200:B+" "+F.grays[20]},z={100:M+" "+F.grays[20],200:B+" "+F.grays[20]},U={100:M+" "+F.purples[30],200:B+" "+F.purples[30]},H={100:M+" "+F.grays[30],200:B+" "+F.grays[30]},q={100:M+" "+F.reds[50],200:B+" "+F.reds[50]},W={100:M+" "+F.purples[70],200:B+" "+F.purples[70]},$={100:M+" "+F.purples[70],200:B+" "+F.purples[70]},G={normal:V[100],disabled:z[100],focused:W[100],hover:H[100],error:q[100]},K={normal:V[100],hover:H[100],focused:W[100],active:U[100],selected:$[100]},Z={normal:V[100]},Y={row:V[100]},X={normal:B+" "+F.grays[40],disabled:B+" "+F.grays[40],hover:B+" "+F.purples[70],focused:W[200],error:q[200]},Q={normal:B+" "+F.grays[40],disabled:B+" "+F.grays[40],hover:B+" "+F.purples[70],focused:W[200],selected:$[200]};function J(){return J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},J.apply(this,arguments)}var ee=J({},D,{background:A,border:V[100]}),te=n(10196),ne="rgb(0 0 0 / 12%)",re={100:"0 "+"0px 8px"+" "+ne,200:"0 "+"0px 12px"+" "+ne,300:"0 "+"2px 16px"+" "+ne,400:"0 "+"4px 20px"+" "+ne,500:"0 "+"8px 24px"+" "+ne,600:"0 "+"12px 28px"+" "+ne}
2,oe={100:re[100],200:re[200],300:re[300],400:re[400],500:re[500],600:re[600],card:re[300],dropdown:re[400],dialog:re[600]},ie=n(14003),ae=n(14247),se=n(22573),le=n(59027),ce={background:P[100],item:{color:P[30],hover:{color:A},selected:{gradient:"orange"},tag:{background:"rgba(255, 255, 255, .15)",color:A,selected:{background:v.orange,color:A}}},button:{hover:{background:P[90]}},subMenuLine:P[80],tooltip:{background:P[70]}},ue=n(69752),de=n.n(ue);function pe(){return pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pe.apply(this,arguments)}var fe=pe({},{secondary:v.orange,primary:v.yellow,tertiary:v.red,quaternary:v.pink,quinary:v.purple},{spectrumPrimary:v.spectrumOrange,spectrumSecondary:v.spectrumPurple});function he(e){return{background:{primary:e.white,secondary:e.grays[10],field:e.grays[5],fieldDisabled:e.grays[10],overlay:me(e.black,.3),inverse:e.grays[100],highlight:e.purples[10],selected:e.purples[20],interactive:e.purples[70]},text:{primary:e.grays[90],secondary:e.grays[60],placeholder:e.grays[50],disabled:e.grays[50],link:e.purples[70],error:e.reds[60],success:e.greens[60],inverse:e.white},icon:{primary:e.grays[80],secondary:e.grays[50],disabled:e.grays[30],link:e.purples[70],error:e.reds[60],success:e.greens[50],information:e.blues[50],warning:e.oranges[50],inverse:e.white},border:{decorative:e.grays[20],decorativeStrong:e.grays[40],perceivable:e.grays[50],interactive:e.purples[70],focus:e.purples[70],error:e.reds[50]}}}function me(e,t){var[n,r,o]=e.match(/\w\w/g).map((e=>parseInt(e,16)));return"rgba("+n+", "+r+", "+o+", "+t+")"}function ge(){return ge=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ge.apply(this,arguments)}var ve={breakpoints:ie,radius:{s:"2px",m:"4px",l:"6px",circle:"50%",xl:"8px"},borders:i,shadows:{s:"0 2px 12px rgb(20 23 26 / 6%)",m:"0 4px 24px rgb(20 23 26 / 12%)",l:"0 4px 32px rgb(20 23 26 / 16%)",100:oe[100],200:oe[200],300:oe[300],400:oe[400],500:oe[500],600:oe[600],card:oe.card,dropdown:oe.dropdown,dialog:oe.dialog},space:ae.x,zIndex:se.f,nav:ce,gradients:fe,colors:ge({},o,{red:R[50],redLight:R[20],lightRed:R[20],redLightest:R[5],yellow:L[30],yellowLight:L[10],lightYellow:L[10],yellowLightest:L[5],ultraViolet:j[70],lightUltraViolet:j[20],ultraVioletLight:j[20],lightestUltraViolet:j[5],ultraVioletLightest:j[5],ultraviolet30:j[30],teal:I[60],tealLight:I[20],lightTeal:I[20],tealLightest:I[10],green:I[50],lightGreen:I[5],blue:T[40],lightBlue:T[20],ink:P[80],grey:P[40],grey30:P[30],darkGrey:P[70],softGrey:P[20],bgGrey:P[10],flatGrey:P[30],textDarkGrey:P[90],borderLightGrey:P[20],greyOnGreyText:P[50],inputBorder:P[20],inputBorderFocused:P[80],inputBackground:P[5],awOrange:N[40],orange:N[40],lightOrange:N[10],primary:N[40],DerpColor:A,ultraViolets:j,greys:P,gradients:le.K7,orangeGradient1:le.ud,orangeGradient2:le.pT,redGradient:le.QR,pinkGradient:le.xO,purpleGradient:le.ru,blueGradient:le.vR,teals:le.WI,pinks:le.MK}),semanticColors:he(o)},ye=n(68319),be=n(73916),we=n.n(be);function xe(){return xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xe.apply(this,arguments)}function ke(e,t){return h()({display100:{fontFamily:t,fontSize:40,lineHeight:"50px",fontWeight:500,[ie.breakpoint.m]:{fontSize:36,lineHeight:"45px"},[ie.breakpoint.s]:{fontSize:28,lineHeight:"35px"}},display200:{fontFamily:t,fontSize:32,lineHeight:"40px",fontWeight:500,[ie.breakpoint.m]:{fontSize:28,lineHeight:"35px"},[ie.breakpoint.s]:{fontSize:24,lineHeight:"30px"}},headline100:{fontFamily:t,fontSize:24,lineHeight:"30px",fontWeight:"bold",[ie.breakpoint.m]:{fontSize:22,lineHeight:"27px"},[ie.breakpoint.s]:{fontSize:20,lineHeight:"25px"}},headline200:{fontFamily:t,fontSize:18,lineHeight:"25px",fontWeight:"bold"},headline300:{fontFamily:t,fontSize:16,lineHeight:"24px",fontWeight:"bold"},headline400:{fontFamily:t,fontSize:14,lineHeight:"22px",fontWeight:"bold"},body:{fontFamily:t,fontSize:14,lineHeight:"22px",fontWeight:"normal"},bodyBold:{fontFamily:t,fontSize:14,lineHeight:"22px",fontWeight:500},bodyEmphasis:{fontFamily:t,fontSize:14,lineHeight:"22px",fontWeight:500},link:{fontFamily:t,fontSize:14,lineHeight:"22px",fontWeight:500},linkInline:{fontFamily:t,fontSize:14,lineHeight:"22px",fontWeight:500,textDecoration:"underline"},hint:{fontFamily:t,fontSize:12,lineHeight:"18px",fontWeight:"normal"}},Ce(e,t))}var Ce=(e,t)=>{var{breakpoint:n}=e.breakpoints,{grays:r,reds:o,purples:i}=e.colors,a={fontFamily:t},s={color:r[100],fontWeight:700,lineHeight:1.25},l={100:{fontSize:40,[n.s]:{fontSize:24}}},c={color:r[100],fontWeight:700,lineHeight:1.25},u={fontSize:14,fontWeight:400,lineHeight:1.5},d={100:{color:r[80]},"100.Subtle":{color:r[60]},"100.Disabled":{color:r[40]},"100.Bold":{color:r[80],fontWeight:500}},p={fontWeight:400,color:r[80],lineHeight:1.25},f={100:d[100]},h={100:xe({},d["100.Subtle"],{fontSize:12})},m={100:xe({},d[100],{fontSize:12,color:o[50]})},g={fontWeight:500,fontSize:"inherit",fontFamily:"inherit",colors:{disabled:r[40],initial:i[70],active:i[40]}};return{title:we()(l,(e=>xe({},a,s,e))),headline:we()({100:{fontSize:24},200:{fontSize:18},300:{fontSize:16},400:{fontSize:14},500:{fontSize:14,fontWeight:500},600:{fontSize:13,fontWeight:500,textTransform:"uppercase"}},(e=>xe({},a,c,e))),body:we()(d,(e=>xe({},a,u,e))),tabPanel:we()({inactive:{fontSize:16}},(e=>xe({},a,p,e))),label:we()(f,(e=>xe({},a,u,e))),hint:we()(h,(e=>xe({},a,u,e))),error:we()(m,(e=>xe({},a,u,e))),textLink:g}},Ee=e=>({colors:{background:{initial:e.colors.grays[20],primary:e.colors.purples[20],success:e.colors.greens[20],warning:e.colors.yellows[20],secondary:e.colors.oranges[20],danger:e.colors.reds[20],informational:e.colors.blues[20]},text:{initial:e.colors.grays[80],primary:e.colors.purples[80],success:e.colors.greens[80],warning:e.colors.yellows[80],secondary:e.colors.oranges[80],danger:e.colors.reds[80],informational:e.colors.blues[80]}}}),Se=e=>{var t=e.colors.white,n="0 0 "+e.space.s+" 0 rgba(0, 0, 0, 0.08)";return{colors:{background:{initial:t,hover:t},boxShadow:{initial:n,hover:n},border:{initial:e.colors.grays[20]},foreground:{initial:"inherit",hover:e.colors.purples[80]}}}},Oe=e=>
2({colors:{headerBackground:{hover:e.colors.purples[20]},rowText:{initial:e.colors.grays[100]},rowBorder:{initial:e.colors.grays[20]},rowBackground:{hover:e.colors.grays[5]},paginationButtonIcon:{disabled:e.colors.grays[40],initial:e.colors.grays[100]},paginationText:{initial:e.colors.grays[80]}}}),Ae=e=>({colors:{background:{success:e.colors.greens[5],informational:e.colors.blues[5],warning:e.colors.oranges[5],critical:e.colors.reds[5]},iconBackground:{success:e.colors.greens[50],informational:e.colors.blues[50],warning:e.colors.oranges[50],critical:e.colors.reds[50]},border:{success:e.colors.greens[40],warning:e.colors.oranges[40],critical:e.colors.reds[40],informational:e.colors.blues[40]},link:{text:{initial:e.colors.grays[100],active:e.colors.grays[90]},textDecoration:{hover:e.colors.grays[90],active:e.colors.grays[20],initial:e.colors.grays[40]},outline:{focus:e.colors.grays[100]}},button:{text:{initial:e.colors.grays[80]},border:{initial:e.colors.grays[30]},background:{hover:e.colors.white}},closeButton:{text:{initial:e.colors.grays[60]},border:{initial:e.colors.grays[50]},background:{hover:e.colors.white}}}}),_e=e=>({colors:{primary:{background:{initial:e.colors.purples[70]},foreground:{initial:e.colors.white}},secondary:{background:{initial:e.colors.white,hover:e.colors.purples[10],active:e.colors.purples[30],focus:e.colors.purples[10]},foreground:{initial:e.colors.purples[70]},boxShadow:e.colors.purples[20]},danger:{background:{initial:e.colors.reds[50]},foreground:{initial:e.colors.white}},success:{background:{initial:e.colors.blues[50]},foreground:{initial:e.colors.white}},link:{background:{active:e.colors.purples[20],hover:e.colors.purples[10]},foreground:{initial:e.colors.grays[100]}},default:{background:{initial:e.colors.white},foreground:{initial:e.colors.purples[70]}},disabled:{background:{initial:e.colors.grays[20]},foreground:{initial:e.colors.grays[40],hover:e.colors.grays[40]}}}}),Pe=e=>({colors:{confirmDialogIcon:{success:e.colors.greens[70],warning:e.colors.oranges[50],critical:e.colors.reds[50]},headerText:{initial:e.colors.grays[100]},bodyText:{initial:e.colors.grays[60]},overlay:"rgba(84, 84, 94, 0.3)"}}),je=e=>({colors:{stop:{initial:e.colors.oranges[50]},start:{initial:e.colors.reds[50]}}}),Te=e=>({colors:{menuItemText:{initial:e.colors.grays[70],hover:e.colors.purples[70]}
2,menuItemBackground:{hover:e.colors.purples[10],focus:e.colors.purples[10],active:e.colors.purples[20]}}});function Ie(){return Ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ie.apply(this,arguments)}var Le={default:P[40],success:I[50],informational:P[70],warning:N[70],critical:R[50],active:j[70]},Ne=Le.success+" 100%",Re="linear-gradient(0deg, "+Le.active+" 20%, "+Ne+")",De="linear-gradient(-90deg, "+Le.active+" 40%, "+Ne+")",Fe={color:{default:Le.default,success:Le.success,informational:Le.informational,warning:Le.warning,critical:Le.critical,active:Le.active},connector:{horizontal:{completed:"linear-gradient(-90deg, "+Le.success+" 40%, "+Ne+")",current:""+De,review:""+De,rejected:"linear-gradient(-90deg, "+Le.critical+" 40%, "+Ne+")"},vertical:{completed:"linear-gradient(0deg, "+Le.success+" 20%, "+Ne+")",current:""+Re,review:""+Re,rejected:"linear-gradient(0deg, "+Le.critical+" 20%, "+Ne+")"}}},Me=e=>Ie({},Fe,{colors:{state:{initial:e.colors.grays[40],success:e.colors.greens[50],informational:e.colors.grays[70],warning:e.colors.oranges[70],critical:e.colors.reds[50],active:e.colors.purples[70]}}}),Be=e=>({colors:{headerProgressBar:{initial:e.colors.oranges[50]},stepTickIcon:{initial:e.colors.greens[50]},stepTickError:{initial:e.colors.oranges[50]},stepHighlight:{initial:e.colors.purples[70],selected:e.colors.purples[10]},stepIndicator:{initial:e.colors.grays[20],parentActive:e.colors.purples[40],active:e.colors.purples[70]},stepTitle:{initial:e.colors.grays[60],hover:e.colors.grays[100],active:e.colors.grays[100],disabled:e.colors.grays[40]},navigationArrowIcon:{disabled:e.colors.grays[30],initial:e.colors.grays[60],active:e.colors.purples[70]},navigationTickIcon:{initial:e.colors.greens[50]},navigationHighlight:{initial:e.colors.reds[50]},navigationErrorIcon:{initial:e.colors.oranges[50]},navigationTitle:{initial:e.colors.grays[60],hover:e.colors.grays[100],disabled:e.colors.grays[40],active:e.colors.grays[100]},progressBackground:{initial:e.colors.white},progressTitle:{initial:e.colors.grays[100],active:e.colors.purples[70]}}}),Ve=e=>({colors:{barValue:{background:{default:e.colors.purples[70],success:e.colors.greens[70],warning:e.colors.oranges[50],critical:e.colors.reds[50]}},barBody:{background:{default:e.colors.grays[20],success:e.colors.greens[10],warning:e.colors.oranges[10],critical:e.colors.reds[10]}},barSecondary:{background:{default:e.colors.purples[40],success:e.colors.greens[50],warning:e.colors.oranges[30],critical:e.colors.reds[30]}},barTertiary:{background:{default:e.colors.purples[90],success:e.colors.greens[90],warning:e.colors.oranges[70],critical:e.colors.reds[70]}}}}),ze=e=>({colors:{control:{focus:e.colors.purples[70],error:e.colors.reds[50],initial:e.colors.grays[20]},controlBackground:{initial:e.colors.grays[5],disabled:e.colors.grays[10],hover:e.colors.white},indicator:{initial:e.colors.grays[70],disabled:e.colors.grays[40]},placeholder:{initial:e.colors.grays[50],selected:e.colors.grays[100]},option:{initial:e.colors.grays[80],focus:e.colors.purples[70],disabled:e.colors.grays[40]},optionBackground:{initial:e.colors.white,focus:e.colors.purples[10],active:e.colors.purples[30],disabled:e.colors.white},menuBackground:{initial:e.colors.white},singleValue:{disabled:e.colors.grays[40]}
2,multiValueBackground:{initial:e.colors.grays[20]},multiValueRemove:{initial:e.colors.grays[100],hover:e.colors.grays[100]},multiValueRemoveBackground:{hover:e.colors.grays[40]}}}),Ue=e=>({colors:{border:{focus:e.colors.purples[70],warning:e.colors.yellows[50],initial:e.colors.grays[20],error:e.colors.reds[50]},background:{initial:e.colors.grays[5],hover:e.colors.white,disabled:e.colors.grays[10]},text:{initial:e.colors.grays[100],disabled:e.colors.grays[50],error:e.colors.reds[50]}}}),He=e=>({colors:{border:{initial:e.colors.grays[40],focus:e.colors.purples[70],error:e.colors.reds[50],checked:e.colors.purples[70],disabled:e.colors.grays[40]},background:{disabled:e.colors.grays[20]}}}),qe=e=>({colors:{border:{initial:e.colors.grays[20],focus:e.colors.purples[70],error:e.colors.reds[50]},text:{initial:e.colors.grays[100],disabled:e.colors.grays[50]},placeholder:{initial:e.colors.grays[50]},background:{initial:e.colors.grays[5],hover:e.colors.white,disabled:e.colors.grays[10]}}}),We=e=>({colors:{buttonText:{initial:e.colors.grays[100],disabled:e.colors.grays[40]},buttonBackground:{selected:e.colors.purples[70],hover:e.colors.purples[70]},today:{initial:e.colors.purples[70]},tableText:{initial:e.colors.grays[50]}}}),$e=e=>({colors:{border:{initial:e.colors.grays[40],disabled:e.colors.grays[40],checked:e.colors.purples[70],focus:e.colors.purples[70],hover:e.colors.purples[70]},background:{initial:e.colors.white,disabled:e.colors.grays[20]}}}),Ge=e=>({colors:{border:{initial:e.colors.grays[20],focus:e.colors.purples[70]},option:{initial:e.colors.grays[80],selected:e.colors.purples[70]},optionBackground:{hover:e.colors.purples[10],selected:e.colors.purples[10]}}}),Ke=e=>({tag:Ee(e),card:Se(e),table:Oe(e),alert:Ae(e),button:_e(e),dialog:Pe(e),select:ze(e),spinner:je(e),taskFlow:Be(e),progressTracker:Ve(e),timeline:Me(e),textArea:Ue(e),dropdown:Te(e),textInput:qe(e),datePicker:We(e),radioInput:$e(e),checkboxInput:He(e),multiSelect:Ge(e)}),Ze=(n(40346),n(11331),n(58156)),Ye=n.n(Ze),Xe=(e,t)=>{if(!t)return!0;if("object"!=typeof t)return!1;var n=(t,r)=>(void 0===r&&(r=[]),Object.entries(t).some((t=>{var[o,i]=t,a=[...r,o],s=Ye()(e,a);return void 0===s?(console.error("Theme configuration does not exist: "+a),!0):"object"!=typeof s||"object"==typeof i&&null!==i?"object"==typeof i&&!Array.isArray(i)&&null!==i&&n(i,a):(console.error("Theme configuration of this field should be provided as an object: "+a),!0)})));return!n(t)};function Qe(){return Qe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qe.apply(this,arguments)}function Je(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var et=e=>{var t,{langKey:n,partnerTheme:r,themeOverride:o,contextType:i="default"}=e,a=o||{},{components:s,typography:l}=a,c=Je(a,["components","typography"]),u=h()({},Qe({},ve,{colors:Object.assign({},ve.colors)}),!c.palette||(t=c.palette)&&("object"!=typeof t||Object.entries(t).some((e=>{var[t,n]=e;return"object"!=typeof n||("gradients"===t?Object.values(n).some((e=>!Array.isArray(e))):Object.values(n).some((e=>"string"!=typeof e)))})))?{}:(e=>{var t,{palette:n}=e;return{colors:{reds:null==n?void 0:n.error,greens:null==n?void 0:n.success,yellows:null==n?void 0:n.warning,oranges:null==n?void 0:n.secondary,purples:null==n?void 0:n.primary,blues:null==n?void 0:n.informational,grays:(null==n?void 0:n.grays)||(null==n?void 0:n.greys),ultraViolets:null==n?void 0:n.primary,greys:(null==n?void 0:n.grays)||(null==n?void 0:n.greys)},gradients:(t=null==n?void 0:n.gradients,t?de()(t,((e,t,n)=>{if(t){var r=(e=>{if(2===e.length){var[t,n]=e;return"linear-gradient(135deg, "+t+" 0%, "+n+" 100%)"}if(3===e.length){var[r,o,i]=e;return"linear-gradient(135deg, "+r+" 0%, "+o+" 50%, "+i+" 100%)"}})(t);r?e[n]=r:delete e[n]}}),{}):{})}})(c));u.semanticColors=h()(he(u.colors),c.semanticColors);var d,f,m=p()(l,"fontFace","enableCustomFontGlobally")||{},{fontFamily:g}=m,v=Je(m,["fontFamily"]),y=h()(u,(e=>{var{theme:t,fontFamily:n=ye.rZ}=e;return{fontFamily:{default:n},typography:ke(t,n)}})({langKey:n,theme:u,fontFamily:g}),Qe({},v&&(d=v,f=ke(ve,"font-family"),Xe(f,d))&&{typography:v})),b=Ke(y),w=h()(b,s&&(e=>{var t=Ke(ve);return Xe(t,e)})(s)?s:{}),x=r?(e=>{var t=e.navTheme&&(e=>{try{var t=(0,te.J1)(e.itemColor||"")>(0,te.J1)(e.backgroundColor||"");return{background:e.backgroundColor||"",item:{color:e.itemColor||"",hover:{color:(t?te.a:te.e$)(.2,e.itemColor||"")},selected:{color:e.itemSelectedColor},tag:{background:e.itemColor||"",color:e.backgroundColor||"",selected:{background:e.itemSelectedColor||"",color:e.backgroundColor||""}}},button:{hover:{background:(0,te.No)(.8,e.itemColor||"")}},subMenuLine:(0,te.No)(.5,e.itemColor||""),tooltip:{background:P[70]},logoUrl:e.logoUrl||void 0}}catch(e){return void console.error(e)}})(e.navTheme);return Qe({},t?{nav:t}:null,{partnerLogoUrl:e.logoUrl})})(r):null;return"account-group"===i?Qe({},y,w,{nav:D,langKey:n}):"cardholder-only"===i?Qe({},y,w,{nav:ee},x,{langKey:n}):Qe({},y,w,x,{langKey:n})},tt=c.A,nt=u.u;function rt(){return rt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rt.apply(this,arguments)}var ot=tt.p((e=>{var{theme:t,variant:n}=e;return rt({},n&&t.typography.body[n],{margin:0,strong:{fontWeight:t.typography.body["100.Bold"].fontWeight}})}));function it(){return it=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},it.apply(this,arguments)}var at=(0,a.forwardRef)(((e,t)=>{var n=[e,t],[r,...o]=n,{variant:i="100"}=r,a=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(r,["variant"]),[s]=o;return(0,l.jsx)(ot,it({ref:s,variant:i},a))}));at.displayName="Body";var st=["BRAND","INTERACTIVE","INVERSE","AI"],lt=tt.div({transition:"opacity 250ms ease",pointerEvents:"none",fontSize:0},(e=>{var{show:t}=e;return{opacity:t?1:0}}));const ct=Array.isArray,ut="object"==typeof global&&global&&global.Object===Object&&global;var dt="object"==typeof self&&self&&self.Object===Object&&self;const pt=ut||dt||Function("return this")(),ft=pt.Symbol;var ht=Object.prototype,mt=ht.hasOwnProperty,gt=ht.toString,vt=ft?ft.toStringTag:void 0;var yt=Object.prototype.toString;var bt=ft?ft.toStringTag:void 0;
2const wt=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":bt&&bt in Object(e)?function(e){var t=mt.call(e,vt),n=e[vt];try{e[vt]=void 0;var r=!0}catch(e){}var o=gt.call(e);return r&&(t?e[vt]=n:delete e[vt]),o}(e):function(e){return yt.call(e)}(e)},xt=function(e){return null!=e&&"object"==typeof e},kt=function(e){return"symbol"==typeof e||xt(e)&&"[object Symbol]"==wt(e)};var Ct=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Et=/^\w*$/;const St=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},Ot=function(e){if(!St(e))return!1;var t=wt(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},At=pt["__core-js_shared__"];var _t,Pt=(_t=/[^.]+$/.exec(At&&At.keys&&At.keys.IE_PROTO||""))?"Symbol(src)_1."+_t:"";var jt=Function.prototype.toString;var Tt=/^\[object .+?Constructor\]$/,It=Function.prototype,Lt=Object.prototype,Nt=It.toString,Rt=Lt.hasOwnProperty,Dt=RegExp("^"+Nt.call(Rt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Ft=function(e){return!(!St(e)||(t=e,Pt&&Pt in t))&&(Ot(e)?Dt:Tt).test(function(e){if(null!=e){try{return jt.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t},Mt=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Ft(n)?n:void 0},Bt=Mt(Object,"create");var Vt=Object.prototype.hasOwnProperty;var zt=Object.prototype.hasOwnProperty;function Ut(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ut.prototype.clear=function(){this.__data__=Bt?Bt(null):{},this.size=0},Ut.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ut.prototype.get=function(e){var t=this.__data__;if(Bt){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Vt.call(t,e)?t[e]:void 0},Ut.prototype.has=function(e){var t=this.__data__;return Bt?void 0!==t[e]:zt.call(t,e)},Ut.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Bt&&void 0===t?"__lodash_hash_undefined__":t,this};const Ht=Ut,qt=function(e,t){return e===t||e!=e&&t!=t},Wt=function(e,t){for(var n=e.length;n--;)if(qt(e[n][0],t))return n;return-1};var $t=Array.prototype.splice;function Gt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Gt.prototype.clear=function(){this.__data__=[],this.size=0},Gt.prototype.delete=function(e){var t=this.__data__,n=Wt(t,e);return!(n<0||(n==t.length-1?t.pop():$t.call(t,n,1),--this.size,0))},Gt.prototype.get=function(e){var t=this.__data__,n=Wt(t,e);return n<0?void 0:t[n][1]},Gt.prototype.has=function(e){return Wt(this.__data__,e)>-1},Gt.prototype.set=function(e,t){var n=this.__data__,r=Wt(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};const Kt=Gt,Zt=Mt(pt,"Map"),Yt=function(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map};function Xt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Xt.prototype.clear=function(){this.size=0,this.__data__={hash:new Ht,map:new(Zt||Kt),string:new Ht}},Xt.prototype.delete=function(e){var t=Yt(this,e).delete(e);return this.size-=t?1:0,t},Xt.prototype.get=function(e){return Yt(this,e).get(e)},Xt.prototype.has=function(e){return Yt(this,e).has(e)},Xt.prototype.set=function(e,t){var n=Yt(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};const Qt=Xt;function Jt(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Jt.Cache||Qt),n}Jt.Cache=Qt;const en=Jt;var tn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nn=/\\(\\)?/g;const rn=function(e){var t=en(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(tn,(function(e,n,r,o){t.push(r?o.replace(nn,"$1"):n||e)})),t}));var on=ft?ft.prototype:void 0,an=on?on.toString:void 0;const sn=function e(t){if("string"==typeof t)return t;if(ct(t))return function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}(t,e)+"";if(kt(t))return an?an.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},ln=function(e,t){return ct(e)?e:function(e,t){if(ct(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!kt(e))||Et.test(e)||!Ct.test(e)||null!=t&&e in Object(t)}(e,t)?[e]:rn(function(e){return null==e?"":sn(e)}(e))},cn=function(e){if("string"==typeof e||kt(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},un=function(e,t,n){var r=null==e?void 0:function(e,t){for(var n=0,r=(t=ln(t,e)).length;null!=e&&n<r;)e=e[cn(t[n++])];return n&&n==r?e:void 0}(e,t);return void 0===r?n:r};function dn(){return dn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dn.apply(this,arguments)}var pn=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),fn=(e,t)=>{var n=dn({},e);for(var[r,o]of Object.entries(t))if(void 0!==o){var i=e[r];pn(i)&&pn(o)?n[r]=fn(i,o):n[r]=o}return n},hn=(e,t)=>fn(e,t),mn=(e,t,n)=>
2{void 0===n&&(n=[]),Object.entries(e).forEach((e=>{var[r,o]=e;(e=>"string"==typeof e||"number"==typeof e||"boolean"==typeof e)(o)?t([...n,r]):pn(o)&&mn(o,t,[...n,r])}))},gn=e=>{var t,{componentTheme:n,tokenKey:r,defaults:o,variantOverride:i}=e,a=null==(t=n.layout)?void 0:t[r],s=null==i?void 0:i[r];return dn({},o,pn(a)?a:{},pn(s)?s:{})},vn=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),yn=e=>{var t={};for(var[n,r]of Object.entries(e))if(void 0!==r)if(vn(r)){var o=yn(r);Object.keys(o).length>0&&(t[n]=o)}else t[n]=r;return t},bn=e=>{var{defaults:t,legacyOverlay:n,newFormatOverlay:r}=e,o=n?hn(t,n):t;return r?hn(o,r):o};function wn(e,t){if(!e)return(e,t)=>t;var n=t();return n?(e,t)=>{try{var r;return null!=(r=e(n))?r:t}catch(e){if(e instanceof TypeError)return t;throw e}}:(e,t)=>t}function xn(e){var t=this.__data__=new Kt(e);this.size=t.size}xn.prototype.clear=function(){this.__data__=new Kt,this.size=0},xn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},xn.prototype.get=function(e){return this.__data__.get(e)},xn.prototype.has=function(e){return this.__data__.has(e)},xn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Kt){var r=n.__data__;if(!Zt||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Qt(r)}return n.set(e,t),this.size=n.size,this};const kn=xn,Cn=function(){try{var e=Mt(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),En=function(e,t,n){"__proto__"==t&&Cn?Cn(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},Sn=function(e,t,n){(void 0!==n&&!qt(e[t],n)||void 0===n&&!(t in e))&&En(e,t,n)},On=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var s=i[An?a:++r];if(!1===t(o[s],s,o))break}return e};var An,_n="object"==typeof exports&&exports&&!exports.nodeType&&exports,Pn=_n&&"object"==typeof e&&e&&!e.nodeType&&e,jn=Pn&&Pn.exports===_n?pt.Buffer:void 0,Tn=jn?jn.allocUnsafe:void 0;const In=pt.Uint8Array,Ln=function(e,t){var n,r,o=t?(n=e.buffer,r=new n.constructor(n.byteLength),new In(r).set(new In(n)),r):e.buffer;return new e.constructor(o,e.byteOffset,e.length)};var Nn=Object.create;const Rn=function(){function e(){}return function(t){if(!St(t))return{};if(Nn)return Nn(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Dn=function(e,t){return function(n){return e(t(n))}}(Object.getPrototypeOf,Object);var Fn=Object.prototype;const Mn=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Fn)},Bn=function(e){return xt(e)&&"[object Arguments]"==wt(e)};var Vn=Object.prototype,zn=Vn.hasOwnProperty,Un=Vn.propertyIsEnumerable;const Hn=Bn(function(){return arguments}())?Bn:function(e){return xt(e)&&zn.call(e,"callee")&&!Un.call(e,"callee")},qn=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},Wn=function(e){return null!=e&&qn(e.length)&&!Ot(e)};var $n="object"==typeof exports&&exports&&!exports.nodeType&&exports,Gn=$n&&"object"==typeof e&&e&&!e.nodeType&&e,Kn=Gn&&Gn.exports===$n?pt.Buffer:void 0;const Zn=(Kn?Kn.isBuffer:void 0)||function(){return!1};var Yn=Function.prototype,Xn=Object.prototype,Qn=Yn.toString,Jn=Xn.hasOwnProperty,er=Qn.call(Object);var tr={};tr["[object Float32Array]"]=tr["[object Float64Array]"]=tr["[object Int8Array]"]=tr["[object Int16Array]"]=tr["[object Int32Array]"]=tr["[object Uint8Array]"]=tr["[object Uint8ClampedArray]"]=tr["[object Uint16Array]"]=tr["[object Uint32Array]"]=!0,tr["[object Arguments]"]=tr["[object Array]"]=tr["[object ArrayBuffer]"]=tr["[object Boolean]"]=tr["[object DataView]"]=tr["[object Date]"]=tr["[object Error]"]=tr["[object Function]"]=tr["[object Map]"]=tr["[object Number]"]=tr["[object Object]"]=tr["[object RegExp]"]=tr["[object Set]"]=tr["[object String]"]=tr["[object WeakMap]"]=!1;var nr="object"==typeof exports&&exports&&!exports.nodeType&&exports,rr=nr&&"object"==typeof e&&e&&!e.nodeType&&e,or=rr&&rr.exports===nr&&ut.process,ir=function(){try{return rr&&rr.require&&rr.require("util").types||or&&or.binding&&or.binding("util")}catch(e){}}(),ar=ir&&ir.isTypedArray;const sr=ar?(lr=ar,function(e){return lr(e)}):function(e){return xt(e)&&qn(e.length)&&!!tr[wt(e)]};var lr;const cr=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var ur=Object.prototype.hasOwnProperty;const dr=function(e,t,n){var r=e[t];ur.call(e,t)&&qt(r,n)&&(void 0!==n||t in e)||En(e,t,n)};var pr=/^(?:0|[1-9]\d*)$/;const fr=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&pr.test(e))&&e>-1&&e%1==0&&e<t};var hr=Object.prototype.hasOwnProperty;const mr=function(e,t){var n=ct(e),r=!n&&Hn(e),o=!n&&!r&&Zn(e),i=!n&&!r&&!o&&sr(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!hr.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||fr(c,l))||s.push(c);return s};var gr=Object.prototype.hasOwnProperty;const vr=function(e){if(!St(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=Mn(e),n=[];
2for(var r in e)("constructor"!=r||!t&&gr.call(e,r))&&n.push(r);return n},yr=function(e){return Wn(e)?mr(e,!0):vr(e)},br=function(e){return function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?En(n,s,l):dr(n,s,l)}return n}(e,yr(e))},wr=function(e,t,n,r,o,i,a){var s,l=cr(e,n),c=cr(t,n),u=a.get(c);if(u)Sn(e,n,u);else{var d=i?i(l,c,n+"",e,t,a):void 0,p=void 0===d;if(p){var f=ct(c),h=!f&&Zn(c),m=!f&&!h&&sr(c);d=c,f||h||m?ct(l)?d=l:xt(s=l)&&Wn(s)?d=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(l):h?(p=!1,d=function(e,t){if(t)return e.slice();var n=e.length,r=Tn?Tn(n):new e.constructor(n);return e.copy(r),r}(c,!0)):m?(p=!1,d=Ln(c,!0)):d=[]:function(e){if(!xt(e)||"[object Object]"!=wt(e))return!1;var t=Dn(e);if(null===t)return!0;var n=Jn.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Qn.call(n)==er}(c)||Hn(c)?(d=l,Hn(l)?d=br(l):St(l)&&!Ot(l)||(d=function(e){return"function"!=typeof e.constructor||Mn(e)?{}:Rn(Dn(e))}(c))):p=!1}p&&(a.set(c,d),o(d,c,r,i,a),a.delete(c)),Sn(e,n,d)}},xr=function e(t,n,r,o,i){t!==n&&On(n,(function(a,s){if(i||(i=new kn),St(a))wr(t,n,s,r,e,o,i);else{var l=o?o(cr(t,s),a,s+"",t,n,i):void 0;void 0===l&&(l=a),Sn(t,s,l)}}),yr)},kr=function(e){return e};var Cr=Math.max;const Er=Cn?function(e,t){return Cn(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:kr;var Sr=Date.now;const Or=function(e){var t=0,n=0;return function(){var r=Sr(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Er),Ar=function(e,t){return Or(function(e,t,n){return t=Cr(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=Cr(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,kr),e+"")},_r=(Pr=function(e,t,n){xr(e,t,n)},Ar((function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=Pr.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(e,t,n){if(!St(n))return!1;var r=typeof t;return!!("number"==r?Wn(n)&&fr(t,n.length):"string"==r&&t in n)&&qt(n[t],e)}(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var a=t[n];a&&Pr(e,a,n,o)}return e})));var Pr,jr=new WeakMap,Tr=e=>{var t=jr.get(e);if(t)return t;var{colors:n}=e,r={background:{primary:n.white,secondary:n.grays[10],field:n.grays[5],fieldDisabled:n.grays[10],overlay:Ir(n.black,.3),inverse:n.grays[100],highlight:n.purples[10],selected:n.purples[20],interactive:n.purples[70]},text:{primary:n.grays[90],secondary:n.grays[60],placeholder:n.grays[50],disabled:n.grays[50],link:n.purples[70],error:n.reds[60],success:n.greens[60],inverse:n.white},icon:{primary:n.grays[80],secondary:n.grays[50],disabled:n.grays[30],link:n.purples[70],error:n.reds[60],success:n.greens[50],information:n.blues[50],warning:n.oranges[50],inverse:n.white},border:{decorative:n.grays[20],decorativeStrong:n.grays[40],perceivable:n.grays[50],interactive:n.purples[70],focus:n.purples[70],error:n.reds[50]}},o=_r({semanticColors:r},e);return jr.set(e,o),o};function Ir(e,t){var[n,r,o]=e.match(/\w\w/g).map((e=>parseInt(e,16)));return"rgba("+n+", "+r+", "+o+", "+t+")"}var Lr=e=>{var{theme:t}=e,n=wn(t.semanticTokensV9,(()=>t.tokens)),{semanticColors:r}=Tr(t);return{brand:{gradient:{start:t.colors.reds[50],end:t.colors.oranges[50]}},ai:{start:n((e=>e.colors.fg.ai.end),"#D200A3"),stop:n((e=>e.colors.fg.ai.start),t.colors.purples[70])},stroke:{interactive:n((e=>e.colors.fg.brand),r.icon.link),inverse:n((e=>e.colors.fg.inverse),r.icon.inverse),default:n((e=>e.colors.fg.secondary),"#333")}}};const Nr=function(e,t,n){return null==e?e:function(e,t,n,r){if(!St(e))return e;for(var o=-1,i=(t=ln(t,e)).length,a=i-1,s=e;null!=s&&++o<i;){var l=cn(t[o]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(o!=a){var u=s[l];void 0===(c=r?r(u,l,s):void 0)&&(c=St(u)?u:fr(t[o+1])?[]:{})}dr(s,l,c),s=s[l]}return e}(e,t,n)};var Rr=e=>{var{componentTheme:t,defaultComponentTheme:n}=e,r={};return Dr(n,(e=>{var o=un(t,e);o!==un(n,e)&&Nr(r,e,o)})),r};
2function Dr(e,t,n){void 0===n&&(n=[]),Object.entries(e).forEach((e=>{var[r,o]=e;!function(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e}(o)?Dr(o,t,[...n,r]):t([...n,r])}))}var Fr=e=>{var{theme:t}=e;return{colors:{stop:{initial:t.colors.oranges[50]},start:{initial:t.colors.reds[50]}}}},Mr=e=>{var t,n,{theme:r}=e,{colors:o}=Rr({componentTheme:r.spinner,defaultComponentTheme:Fr({theme:r})});return yn({brand:{gradient:{start:null==o||null==(t=o.start)?void 0:t.initial,end:null==o||null==(n=o.stop)?void 0:n.initial}}})},Br=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Vr=e=>{var{theme:t}=e,n=t.spinner;return yn({brand:Br(n,"brand")?n.brand:void 0,ai:Br(n,"ai")?n.ai:void 0,stroke:Br(n,"stroke")?n.stroke:void 0})};function zr(){return zr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zr.apply(this,arguments)}var Ur=e=>{var{square:t,strokeWidth:n=5,primary:r=!1,color:o,show:i=!1}=e,s=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["square","strokeWidth","primary","color","show"]),c=Math.ceil(n/2),u=nt(),d=(0,a.useMemo)((()=>(e=>{var{theme:t}=e;return bn({defaults:Lr({theme:t}),legacyOverlay:Mr({theme:t}),newFormatOverlay:Vr({theme:t})})})({theme:u})),[u]),[p]=(0,a.useState)((()=>Math.random().toString(32).substring(2,15))),f=!!o&&st.includes(o),h=(0,a.useMemo)((()=>r&&!o?"BRAND":f?o:void 0),[o,f,r]),m=f?null:o,g="BRAND"===h||"AI"===h,{startColor:v,stopColor:y}=(0,a.useMemo)((()=>"AI"===h?{startColor:d.ai.start,stopColor:d.ai.stop}:{startColor:d.brand.gradient.start,stopColor:d.brand.gradient.end}),[h,d]),b=v.replace(/#/g,"")+"_"+y.replace(/#/g,"")+"_"+p,w=(0,a.useMemo)((()=>
2{if(g)return"url(#"+b+")";switch(h){case"INTERACTIVE":return d.stroke.interactive;case"INVERSE":return d.stroke.inverse;default:return m||d.stroke.default}}),[h,g,b,d,m]);return(0,l.jsx)(lt,zr({show:i},s,{children:(0,l.jsxs)("svg",{width:t,height:t,viewBox:"0 0 "+(38+2*c)+" "+(38+2*c),children:[g&&(0,l.jsx)("defs",{children:(0,l.jsxs)("linearGradient",{id:b,children:[(0,l.jsx)("stop",{stopColor:v,offset:"0%"}),(0,l.jsx)("stop",{stopColor:y,offset:"100%"})]})}),(0,l.jsx)("g",{transform:"translate("+c+" "+c+")",fill:"none",fillRule:"evenodd",children:(0,l.jsx)("path",{d:"M36 18c0-9.94-8.06-18-18-18",stroke:w,strokeWidth:n,strokeLinecap:"round",children:(0,l.jsx)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.8s",repeatCount:"indefinite"})})})]})}))};Ur.displayName="Spinner";var Hr=new Map,qr={lowHover:.03,lowPressed:.08,mediumHover:.05,mediumPressed:.1,highHover:.1,highPressed:.3};function Wr(e){var{baseColor:t,tint:n}=e,r=qr[n.opacity];if(void 0===r)throw new RangeError("Unknown tint opacity stop: "+String(n.opacity));var o=JSON.stringify([t,n.color,n.opacity]),i=Hr.get(o);if(void 0!==i)return Hr.delete(o),Hr.set(o,i),i;var a=(0,te.jh)(r,n.color,t);if(Hr.set(o,a),Hr.size>500){var s=Hr.keys().next().value;void 0!==s&&Hr.delete(s)}return a}function $r(){return $r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$r.apply(this,arguments)}var Gr=e=>{var{theme:t}=e,{semanticColors:n}=Tr(t),r=wn(t.semanticTokensV9,(()=>t.tokens)),o=(e=>({default:e.radius.l,small:e.radius.l}))(t),i=(e,t)=>r((t=>{var[n,r,o]=e(t);return Wr({baseColor:n,tint:{color:r,opacity:o}})}),t),a=(e,t)=>r((t=>{var[n,r]=e(t),o=Wr({baseColor:n,tint:{color:t.colors.fg.brand,opacity:r}});return"linear-gradient("+o+", "+o+") padding-box, linear-gradient(135deg, "+t.colors.border.ai.start+" 0%, "+t.colors.border.ai.end+" 100%) border-box"}),t);return{primary:{background:{initial:r((e=>e.colors.bg.fill.brand),n.background.interactive),focus:r((e=>e.colors.bg.fill.brand),n.background.interactive),hover:i((e=>[e.colors.bg.fill.brand,e.colors.fg.primary,"highHover"]),t.colors.purples[60]),active:i((e=>[e.colors.bg.fill.brand,e.colors.fg.primary,"highPressed"]),t.colors.purples[50]),disabled:r((e=>e.colors.bg.fill.disabled),t.colors.grays[20]),focusHover:i((e=>[e.colors.bg.fill.brand,e.colors.fg.primary,"highHover"]),t.colors.purples[60]),focusActive:i((e=>[e.colors.bg.fill.brand,e.colors.fg.primary,"highPressed"]),t.colors.purples[50])},foreground:{initial:r((e=>e.colors.fg.onBrand),n.text.inverse),disabled:r((e=>e.colors.fg.disabled),n.text.disabled)},border:{initial:"transparent",hover:"transparent",active:"transparent",disabled:r((e=>e.colors.bg.fill.disabled),"transparent"),focus:r((e=>e.colors.bg.area.primary),t.colors.white),focusHover:r((e=>e.colors.bg.area.primary),t.colors.white),focusActive:r((e=>e.colors.bg.area.primary),t.colors.white)},borderRadius:o,focusOutline:r((e=>e.colors.border.focus),n.border.focus)},secondary:{background:{initial:r((e=>e.colors.bg.fill.default),n.background.primary),focus:r((e=>e.colors.bg.fill.default),t.colors.white),hover:i((e=>[e.colors.bg.fill.default,e.colors.fg.brand,"mediumHover"]),t.colors.purples[10]),active:i((e=>[e.colors.bg.fill.selected,e.colors.fg.brand,"mediumPressed"]),t.colors.purples[30]),disabled:r((e=>e.colors.bg.fill.disabled),t.colors.grays[20]),focusHover:i((e=>[e.colors.bg.fill.default,e.colors.fg.brand,"mediumHover"]),t.colors.purples[10]),focusActive:i((e=>[e.colors.bg.fill.selected,e.colors.fg.brand,"mediumPressed"]),t.colors.purples[30])},foreground:{initial:r((e=>e.colors.fg.brand),t.colors.purples[70]),disabled:r((e=>e.colors.fg.disabled),n.text.disabled)},border:{initial:r((e=>e.colors.border.default),n.border.decorative),hover:t.colors.purples[30],active:r((e=>e.colors.border.default),n.border.decorative),disabled:r((e=>e.colors.bg.fill.disabled),n.border.decorative),focus:r((e=>e.colors.bg.area.primary),t.colors.white),focusHover:r((e=>e.colors.bg.area.primary),t.colors.white),focusActive:r((e=>e.colors.bg.area.primary),t.colors.white)},borderRadius:o,focusOutline:r((e=>e.colors.border.focus),n.border.focus)},danger:{background:{initial:r((e=>e.colors.bg.fill.critical),t.colors.reds[60]),focus:r((e=>e.colors.bg.fill.critical),t.colors.reds[60]),hover:i((e=>[e.colors.bg.fill.critical,e.colors.fg.primary,"highHover"]),t.colors.reds[50]),active:i((e=>[e.colors.bg.fill.critical,e.colors.fg.primary,"highPressed"]),t.colors.reds[40]),disabled:r((e=>e.colors.bg.fill.disabled),t.colors.grays[20]),focusHover:i((e=>[e.colors.bg.fill.critical,e.colors.fg.primary,"highHover"]),t.colors.reds[50]),focusActive:i((e=>[e.colors.bg.fill.critical,e.colors.fg.primary,"highPressed"]),t.colors.reds[40])},foreground:{initial:r((e=>e.colors.fg.inverse),n.text.inverse),disabled:r((e=>e.colors.fg.disabled),n.text.disabled)},border:{initial:"transparent",hover:"transparent",active:"transparent",disabled:r((e=>e.colors.bg.fill.disabled),"transparent"),focus:r((e=>e.colors.bg.area.primary),t.colors.white),focusHover:r((e=>e.colors.bg.area.primary),t.colors.white),focusActive:r((e=>e.colors.bg.area.primary),t.colors.white)},borderRadius:o,focusOutline:r((e=>e.colors.border.focus),n.border.focus)},tertiary:{background:{initial:"transparent",focus:"transparent",hover:i((e=>[e.colors.bg.fill.default,e.colors.fg.brand,"mediumHover"]),t.colors.purples[10]),active:i((e=>[e.colors.bg.fill.selected,e.colors.fg.brand,"mediumPressed"]),t.colors.purples[30]),disabled:r((e=>e.colors.bg.fill.disabled),t.colors.grays[20]),focusHover:i((e=>[e.colors.bg.fill.default,e.colors.fg.brand,"mediumHover"]),t.colors.purples[10]),focusActive:i((e=>[e.colors.bg.fill.selected,e.colors.fg.brand,"mediumPressed"]),t.colors.purples[30])},foreground:{initial:r((e=>e.colors.fg.brand),n.background.interactive),disabled:r((e=>e.colors.fg.disabled),n.text.disabled)},border:{initial:"transparent",hover:"transparent",active:"transparent",disabled:r((e=>e.colors.bg.fill.disabled),"transparent"),focus:r((e=>e.colors.bg.area.primary),t.colors.white),focusHover:r((e=>e.colors.bg.area.primary),t.colors.white),focusActive:r((e=>e.colors.bg.area.primary),t.colors.white)},borderRadius:o,focusOutline:r((e=>e.colors.border.focus),n.border.focus)},ai:{background:{initial:r((e=>"linear-gradient("+e.colors.bg.fill.default+", "+e.colors.bg.fill.default+") padding-box, linear-gradient(135deg, "+e.colors.border.ai.start+" 0%, "+e.colors.border.ai.end+" 100%) border-box"),"linear-gradient("+t.colors.white+", "+t.colors.white+") padding-box, "+t.gradients.quinary+" border-box"),focus:r((e=>e.colors.bg.fill.default),n.background.primary),hover:a((e=>[e.colors.bg.fill.default,"mediumHover"]),"linear-gradient("+t.colors.purples[10]+", "+t.colors.purples[10]+") padding-box, "+t.gradients.quinary+" border-box"),active:a((e=>[e.colors.bg.fill.selected,"mediumPressed"]),"linear-gradient("+t.colors.purples[30]+", "+t.colors.purples[30]+") padding-box, "+t.gradients.quinary+" border-box"),disabled:r((e=>e.colors.bg.fill.disabled),t.colors.grays[20]),focusHover:a((e=>[e.colors.bg.fill.default,"mediumHover"]),t.colors.purples[10]),focusActive:a((e=>[e.colors.bg.fill.selected,"mediumPressed"]),t.colors.purples[30])},foreground:{initial:r((e=>e.colors.fg.brand),t.colors.purples[70]),disabled:r((e=>e.colors.fg.disabled),n.text.disabled)},border:{initial:"transparent",hover:"transparent",active:"transparent",disabled:r((e=>e.colors.bg.fill.disabled),"transparent"),focus:r((e=>e.colors.bg.area.primary),t.colors.white),focusHover:r((e=>e.colors.bg.area.primary),t.colors.white),focusActive:r((e=>e.colors.bg.area.primary),t.colors.white)},borderRadius:o,focusOutline:r((e=>e.colors.border.focus),n.border.focus)}}},Kr={primary:"PRIMARY",secondary:"SECONDARY",danger:"DANGER",tertiary:"TERTIARY",ai:"AI"},Zr=e=>{var{theme:t}=e;return{colors:{primary:{background:{initial:t.colors.purples[70]},foreground:{initial:t.colors.white}},secondary:{background:{initial:t.colors.white,hover:t.colors.purples[10],active:t.colors.purples[30],focus:t.colors.purples[10]},foreground:{initial:t.colors.purples[70]},boxShadow:t.colors.purples[20]},danger:{background:{initial:t.colors.reds[50]},foreground:{initial:t.colors.white}},success:{background:{initial:t.colors.blues[50]},foreground:{initial:t.colors.white}},link:{background:{active:t.colors.purples[20],hover:t.colors.purples[10]},foreground:{initial:t.colors.grays[100]}},default:{background:{initial:t.colors.white},foreground:{initial:t.colors.purples[70]}},disabled:{background:{initial:t.colors.grays[20]},foreground:{initial:t.colors.grays[40],hover:t.colors.grays[40]}}}}};function Yr(){return Yr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yr.apply(this,arguments)}var Xr={primary:"primary",secondary:"secondary",tertiary:"default",danger:"danger",ai:"default"},Qr=e=>{var{theme:t,variant:n,themeStyle:r}=e,o=t.button,i=o[Kr[n]];return Yr({},r,{borderRadius:gn({componentTheme:o,tokenKey:"borderRadius",defaults:r.borderRadius,variantOverride:i})})},Jr=e=>{var t,n,r,{theme:o,variant:i}=e,a=(e=>{var{theme:t,variant:n}=e,r=Gr({theme:t})[n];return(e=>{var{componentTheme:t,variantKey:n,defaults:r,finalize:o}=e,i=((e,t)=>{var n=e[t];return pn(n)?n:void 0})(t,n);if(!i||!((e,t)=>{if(!t||!pn(t))return!1;var n=!1;return mn(t,(r=>{var o=un(t,r),i=un(e,r);void 0!==o&&o!==i&&(n=!0)})),n})(r,i))return null;var a=hn(r,i);return o?o({merged:a,componentTheme:t,variantOverride:i}):a})({componentTheme:t.button,variantKey:Kr[n],defaults:r,finalize:e=>{var{merged:t,componentTheme:n,variantOverride:r}=e;return $r({},t,{borderRadius:gn({componentTheme:n,tokenKey:"borderRadius",defaults:t.borderRadius,variantOverride:r})})}})})({theme:o,variant:i});if(a)return Qr({theme:o,variant:i,themeStyle:a});var s,l=Rr({componentTheme:o.button,defaultComponentTheme:Zr({theme:o})});if(s=Object.keys(null!=(t=null==l||null==(n=l.colors)?void 0:n[Xr[i]])?t:{}).length>0?"secondary"===i?(e=>{var t,{theme:n}=e,r=Gr({theme:n}).secondary,o=n.button.colors.secondary;return{background:Yr({},r.background,{initial:o.background.initial,focus:o.background.focus,hover:o.background.hover,active:o.background.active}),foreground:Yr({},r.foreground,{initial:null==(t=o.foreground)?void 0:t.initial}),border:Yr({},r.border,{initial:o.boxShadow,hover:(0,te.e$)(.05,o.background.hover),active:o.boxShadow,disabled:o.boxSh
2adow}),borderRadius:r.borderRadius,focusOutline:r.focusOutline}})({theme:o}):(e=>{var t,n,{theme:r,variant:o}=e,i=Gr({theme:r})[o],a=r.button.colors[Xr[o]],s=null==(t=a.background)?void 0:t.initial;return{background:Yr({},i.background,{initial:a.background.initial,focus:(0,te.e$)(.1,s),hover:(0,te.e$)(.05,s),active:(0,te.e$)(.1,s)}),foreground:Yr({},i.foreground,{initial:null==(n=a.foreground)?void 0:n.initial}),border:i.border,borderRadius:i.borderRadius,focusOutline:i.focusOutline}})({theme:o,variant:i}):Gr({theme:o})[i],null==l||null==(r=l.colors)?void 0:r.disabled){var c,u,d=o.button.colors.disabled;s=Yr({},s,{background:Yr({},s.background,{disabled:null!=(c=d.background.initial)?c:s.background.disabled}),foreground:Yr({},s.foreground,{disabled:null!=(u=d.foreground.initial)?u:s.foreground.disabled})})}return Qr({theme:o,variant:i,themeStyle:s})},eo=e=>{var{variant:t}=e,n=nt();return Jr({theme:n,variant:t})},to=e=>{var{id:t}=e,n=nt(),r=wn(n.semanticTokensV9,(()=>n.tokens));return(0,l.jsx)("defs",{children:(0,l.jsxs)("linearGradient",{id:t,x1:"0%",y1:"0%",x2:"100%",y2:"100%",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:r((e=>e.colors.fg.ai.start),"#612FFF")}),(0,l.jsx)("stop",{offset:"100%",stopColor:r((e=>e.colors.fg.ai.end),"#D200A3")})]})})};function no(){return no=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},no.apply(this,arguments)}var ro={default:{iconPadding:11,contentPadding:{vertical:8,horizontal:15},iconGap:8},small:{iconPadding:7,contentPadding:{vertical:4,horizontal:12},iconGap:6}},oo=e=>"ai"===e,io=(e,t)=>({outline:"2px solid "+e.focusOutline,border:"1px solid "+e.border.focus,background:e.background.focus,"&:hover":{background:t?e.background.focus:e.background.focusHover,border:"1px solid "+e.border.focusHover},"&:active":{background:t?e.background.focus:e.background.focusActive,border:"1px solid "+e.border.focusActive}}),ao=e=>e.border.active===e.border.initial?{}:{border:"1px solid "+e.border.active},so=tt.button((e=>{var{theme:t,variant:n,disabled:r,syncing:o,hover:i,active:a,iconOnly:s,responsive:l,size:c="default"}=e,u=Jr({theme:t,variant:n}),d=oo(n),p=ro[c];return no({display:"inline-block",position:"relative",padding:s?p.iconPadding+"px":p.contentPadding.vertical+"px "+p.contentPadding.horizontal+"px",borderRadius:u.borderRadius[c],border:"1px solid "+u.border.initial,cursor:"pointer",textDecoration:"none",background:u.background.initial,color:u.foreground.initial},((e,t,n,r)=>!oo(t)||n&&!r?{}:{"& *":{backgroundImage:wn(e.semanticTokensV9,(()=>e.tokens))((e=>"linear-gradient(135deg, "+e.colors.fg.ai.start+" 0%, "+e.colors.fg.ai.end+" 100%)"),e.gradients.quinary),backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}})(t,n,!!r,!!o),{"&:hover":{background:u.background.hover,border:"1px solid "+u.border.hover}},i&&{background:u.background.hover,border:"1px solid "+u.border.hover},{"&:active":no({background:u.background.active},ao(u))},a&&no({background:u.background.active},ao(u)),{"&:focus-visible":io(u,!!o)},((e,t,n,r)=>{if(!n)return{};var o=wn(r.semanticTokensV9,(()=>r.tokens))((()=>({border:"1px solid "+e.border.disabled})),e.border.disabled&&e.border.disabled!==e.border.initial?{border:"1px solid "+e.border.disabled}:{});return no({background:e.background.disabled,color:t?void 0:e.foreground.disabled,cursor:"not-allowed"},o,{"&:hover, &:focus-visible, &:active":no({background:e.background.disabled,color:t?void 0:e.foreground.disabled},o)})})(u,o,r,t),((e,t,n)=>t?{background:e.background.initial,color:n?void 0:e.foreground.initial,cursor:"default",opacity:.95,border:"1px solid "+e.border.initial,"&:hover, &:focus-visible, &:active":{background:e.background.initial,color:n?void 0:e.foreground.initial,border:"1px solid "+e.border.initial}}:{})(u,o,d),l&&{[t.breakpoints.breakpoint.s]:{width:"100%"}})})),lo=tt.span((e=>{var{theme:t,syncing:n=!1}=e;return no({},t.typography.bodyEmphasis,{opacity:n?.3:1,transition:"opacity 250ms ease",display:"flex",alignItems:"center",justifyContent:"center",fontFamily:t.fontFamily.default,whiteSpace:"nowrap"})})),co=tt.span((e=>{var{theme:t,iconPosition:n,disabled:r,size:o="default"}=e,{semanticColors:i}=Tr(t),a=wn(t.semanticTokensV9,(()=>t.tokens)),s=ro[o];return no({display:"flex",alignItems:"center",justifyContent:"center",color:r?a((e=>e.colors.fg.disabled),i.text.disabled):"inherit"},"left"===n&&{paddingInlineEnd:s.iconGap},"right"===n&&{paddingInlineStart:s.iconGap})})),uo=tt.div({position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}),po=e=>{var{icon:t,position:n,disabled:r,variant:o,size:i="default"}=e,s=t||(()=>(0,l.jsx)(l.Fragment,{})),c=(0,a.isValidElement)(t)?t:(0,l.jsx)(s,{size:16}),u="ai"===o&&!r;return(0,l.jsx)(co,{iconPosition:n,disabled:r,size:i,children:(0,a.cloneElement)(c,no({size:16},u&&{gradientPainter:to}))})},fo={PRIMARY:"primary",SECONDARY:"secondary",DANGER:"danger",TERTIARY:"tertiary",AI:"ai"},ho=e=>(e=>e in fo)(e)?fo[e]:e;function mo(){return mo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mo.apply(this,arguments)}function go(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}var vo=(0,a.forwardRef)(((e,t)=>{var{type:n="button",href:r,variant:o="tertiary",children:i,disabled:a,syncing:s,onClick:c,hover:u,active:d,className:p,responsive:f,iconBefore:h,iconAfter:m,size:g="default"}=e,v=go(e,["type","href","variant","children","disabled","syncing","onClick","hover","active","className","responsive","iconBefore","iconAfter","size"]),y=ho(o),b=r?so.withComponent("a"):so,w=eo({variant:y});return(0,l.jsxs)(b,mo({ref:t,className:p,variant:y,disabled:a||s,type:r?void 0:n,onClick:c,syncing:s,hover:u,active:d,responsive:f,size:g,tabIndex:0,href:r},v,{children:[(0,l.jsxs)(lo,{syncing:s,children:[h?(0,l.jsx)(po,{icon:h,position:"left",disabled:a,variant:y,size:g}):"",i,m?(0,l.jsx)(po,{icon:m,position:"right",disabled:a,variant:y,size:g}):""]}),s&&(0,l.jsx)(uo,{children:(0,l.jsx)(Ur,{color:w.foreground.initial,show:!0,square:24})})]}))}));vo.displayName="Button";var yo=(0,a.forwardRef)(((e,t)=>{var{type:n="button",href:r,variant:o="tertiary",children:i,disabled:a,syncing:s,onClick:c,hover:u,active:d,className:p,icon:f,"aria-label":h,responsive:m,size:g="default"}=e,v=go(e,["type","href","variant","children","disabled","syncing","onClick","hover","active","className","icon","aria-label","responsive","size"]),y=ho(o),b=r?so.withComponent("a"):so,w=eo({variant:y});return(0,l.jsxs)(b,mo({ref:t,className:p,variant:y,disabled:a||s,type:r?void 0:n,onClick:c,syncing:s,hover:u,active:d,tabIndex:0,responsive:m,size:g,iconOnly:!0,href:r,"aria-label":h},v,{children:[(0,l.jsx)(lo,{syncing:s,children:(0,l.jsx)(po,{icon:f,disabled:a,variant:y,size:g})}),s&&(0,l.jsx)(uo,{children:(0,l.jsx)(Ur,{color:w.foreground.initial,show:!0,square:24})})]}))}));yo.displayName="IconButton";var bo=n(14857);function wo(){return wo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wo.apply(this,arguments)}var xo=e=>{var{width:t=270}=e,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["width"]);return(0,l.jsxs)("svg",wo({xmlns:"http://www.w3.org/2000/svg",width:t,height:t/1.5,viewBox:"0 0 270 180",fill:"none"},n,{children:[(0,l.jsx)("path",{opacity:"0.1",d:"M66.2845 151.965C67.6427 151.229 71.27
253 148.542 72.2454 147.691C76.1 144.308 68.0828 139.775 63.689 141.882C62.0032 142.69 58.4877 144.862 57.0238 145.995C53.9841 148.347 53.0027 149.269 54.3734 151.229C56.5354 154.32 63.6887 153.373 66.2845 151.965Z",fill:"url(#paint0_linear_66_768)"}),(0,l.jsx)("path",{d:"M53.114 140.168C53.114 140.34 53.7387 140.658 54.7604 140.773C56.6033 140.998 58.4583 141.111 60.315 141.113C62.2012 141.119 64.0863 141.022 65.9619 140.823C66.9821 140.699 67.5468 140.412 67.5452 140.242C67.5452 140.027 66.5743 139.768 65.0387 139.648C63.7724 139.547 62.1276 139.495 60.3258 139.495C58.524 139.495 56.8807 139.576 55.6159 139.691C54.0818 139.831 53.1125 139.954 53.114 140.168Z",fill:"url(#paint1_linear_66_768)"}),(0,l.jsx)("path",{d:"M57.624 138.624C54.1496 129.834 44.1806 131.8 44.9715 129.492C45.5638 127.768 51.7109 127.414 49.8952 125.531C48.0796 123.648 45.61 122.157 42.2511 122.157C39.4953 122.166 38.8429 119.251 42.7373 118.592C45.2684 118.164 46.8471 118.296 44.9007 116.626C41.7418 113.916 40.9109 110.233 43.025 109.164C47.0071 107.153 50.0352 118.024 51.4585 114.542C52.6894 111.533 54.8097 110.872 55.4591 116.002C56.1022 121.062 55.6945 124.695 57.087 123.631C59.5489 121.746 64.8465 121.554 62.0661 125.661C60.6736 127.718 59.7196 129.601 59.2688 131.056C58.7703 132.663 58.9919 135.244 59.795 137.422C60.3628 138.975 58.2179 140.128 57.624 138.624Z",fill:"#FF6093"}),(0,l.jsx)("path",{d:"M60.0874 140.722C60.0874 140.722 51.857 117.65 45.6038 112.906C45.2961 112.673 44.913 113.082 45.2115 113.323C48.3796 115.865 53.5341 125.108 59.3549 141.041C59.5873 141.674 60.0874 140.722 60.0874 140.722Z",fill:"#54545E"}),(0,l.jsx)("path",{d:"M59.5151 124.129C57.0409 125.536 55.6807 126.819 55.1206 128.785L55.6022 129.524C55.5422 129.388 56.1931 126.611 59.8059 124.697C60.2829 124.444 60.0628 123.817 59.5151 124.129Z",fill:"#54545E"}),(0,l.jsx)("path",{d:"M52.9371 115.733C52.4662 116.538 51.6277 119.331 51.5061 122.145C51.9015 122.504 52.1062 122.518 52.2093 122.366C52.1154 122.174 52.3431 118.708 53.3325 116.019C53.4618 115.667 53.1125 115.434 52.9371 115.733Z",fill:"#54545E"}),(0,l.jsx)("path",{d:"M50.9922 120.693C50.7414 120.529 46.4408 119.199 43.4974 120.156C42.9927 120.321 43.3435 120.657 43.6405 120.602C47.0686 119.975 50.0152 120.924 50.5645 121.189C50.7223 121.265 50.8571 121.381 50.9553 121.525L50.9922 120.693Z",fill:"#54545E"}),(0,l.jsx)("path",{d:"M55.7484 130.292C55.4976 130.128 50.92 128.605 48.3258 129.372C47.7457 129.544 48.272 129.96 48.5689 129.912C51.5555 129.437 55.3391 130.832 55.4791 131.153L55.7484 130.292Z",fill:"#54545E"}),(0,l.jsx)("path",{d:"M58.6596 136.847C59.2489 121.358 42.9651 117.776 45.6732 114.827C47.6996 112.623 57.1717 116.123 55.6745 112.097C54.1774 108.072 51.4678 104.205 46.4102 102.021C42.2558 100.228 43.2067 95.4268 49.4875 96.9817C53.5758 97.9985 55.8623 99.2314 54.0374 95.4482C51.0878 89.302 52.271 83.2186 56.15 82.9931C63.4633 82.5822 60.8368 100.908 65.2759 96.6076C69.1102 92.8904 72.7354 93.2891 70.3289 101.427C67.9562 109.454 64.9435 114.646 67.7408 113.961C72.6938 112.746 80.7734 115.927 73.8847 120.276C70.4335 122.455 67.7562 124.66 66.1191 126.551C64.305 128.647 62.9417 132.679 62.7094 136.469C62.5463 139.173 58.5596 139.498 58.6596 136.847Z",fill:"#A9A9AE"}),(0,l.jsx)("path",{d:"M60.9769 141.616C60.9769 141.616 63.8434 101.548 57.5718 90.3109C57.264 89.7588 56.4178 90.1238 56.7086 90.6804C59.7859 96.5783 61.4277 113.849 59.6675 141.616C59.5967 142.72 60.9769 141.616 60.9769 141.616Z",fill:"#54545E"}),(0,l.jsx)("path",{d:"M71.075 116.302C66.4267 116.794 63.5355 117.836 61.3967 120.418L61.6306 121.846C61.6306 121.6 64.4387 117.859 71.1365 117.346C72.0197 117.279 72.1013 116.193 71.075 116.302Z",fill:"#54545E"}),(0,l.jsx)("path",{d:"M66.7284 99.3711C65.4882 100.271 62.3847 103.918 60.3459 108.069C60.7014 108.867 60.9999 109.023 61.2553 108.862C61.2415 108.512 63.871 103.452 67.133 100.06C67.5608 99.6149 67.1884 99.0368 66.7284 99.3711Z",fill:"#54545E"}),(0,l.jsx)("path",{d:"M60.5305 105.549C60.2597 105.139 54.6743 100.32 49.6198 99.828C48.752 99.7436 49.0597 100.481 49.5398 100.595C55.1067 101.898 58.9088 105.258 59.555 106.016C59.7434 106.234 59.8694 106.499 59.9197 106.782L60.5305 105.549Z",fill:"#54545E"}),(0,l.jsx)("path",{d:"M61.3415 123.096C61.0723 122.685 55.1945 117.403 50.7893 116.854C49.803 116.732 50.3277 117.702 50.7985 117.825C
255.5992 119.07 60.3629 123.643 60.366 124.221L61.3415 123.096Z",fill:"#54545E"}),(0,l.jsx)("path",{d:"M61.6893 138.581C66.7346 130.587 59.2274 123.746 61.5662 123.013C63.3095 122.466 67.2393 127.19 67.6824 124.611C68.1255 122.032 67.8747 119.167 65.8729 116.483C64.2312 114.277 66.2007 112.025 69.0411 114.76C70.8875 116.539 71.7183 117.883 71.9122 115.332C72.2292 111.191 74.7141 108.337 76.836 109.402C80.8227 111.406 73.8325 120.28 77.4899 119.359C80.6519 118.561 82.4429 119.872 78.6839 123.438C74.9773 126.954 71.7999 128.78 73.4847 129.265C76.4713 130.128 79.7641 134.261 74.7972 134.465C72.3107 134.566 70.2228 134.918 68.7795 135.419C67.1854 135.971 65.2313 137.679 63.948 139.615C63.0264 140.989 60.823 139.951 61.6893 138.581Z",fill:"#FFE4D2"}),(0,l.jsx)("path",{d:"M61.4521 141.803C61.4521 141.803 75.2109 121.522 75.3402 113.686C75.3478 113.301 74.7893 113.238 74.7724 113.619C74.5954 117.669 70.1794 127.282 60.7597 141.404C60.3858 141.965 61.4521 141.803 61.4521 141.803Z",fill:"#54545E"}),(0,l.jsx)("path",{d:"M74.5202 131.505C71.9168 130.355 70.0735 130.024 68.1532 130.739L67.8455 131.562C67.9209 131.433 70.5458 130.312 74.2386 132.074C74.7218 132.309 75.0972 131.758 74.5202 131.505Z",fill:"#54545E"}),(0,l.jsx)("path",{d:"M77.4037 121.249C76.4805 121.349 73.7216 122.323 71.3767 123.902C71.3198 124.431 71.429 124.605 71.6136 124.597C71.7137 124.408 74.6479 122.536 77.4083 121.735C77.7683 121.637 77.7499 121.213 77.4037 121.249Z",fill:"#54545E"}),(0,l.jsx)("path",{d:"M72.2444 122.628C72.2275 122.329 70.7519 118.091 68.2346 116.295C67.8022 115.988 67.7392 116.47 67.9577 116.675C70.498 119.054 71.4766 121.981 71.5874 122.578C71.6195 122.749 71.6057 122.925 71.5474 123.09L72.2444 122.628Z",fill:"#54545E"}),(0,l.jsx)("path",{d:"M67.3067 132.137C67.2898 131.831 65.8019 127.265 63.6447 125.638C63.1615 125.273 63.1384 125.945 63.3523 126.154C65.5065 128.268 66.622 132.134 66.4481 132.441L67.3067 132.137Z",fill:"#54545E"}),(0,l.jsx)("path",{d:"M67.5454 140.242L67.5177 145.696C67.4962 150.065 67.4777 153.605 60.2613 153.568C53.045 153.531 53.0726 149.992 53.0865 145.623L53.1142 140.168C53.1142 140.34 53.7297 140.499 54.7437 140.628C56.5976 140.827 58.4612 140.924 60.326 140.918C62.1906 140.943 64.0553 140.865 65.9113 140.685C66.933 140.567 67.5454 140.412 67.5454 140.242Z",fill:"#A9A9AE"}),(0,l.jsx)("path",{opacity:"0.15",d:"M53.085 145.923V146.69C53.085 146.753 53.085 146.816 53.085 146.88C53.085 146.902 53.085 146.925 53.085 146.948C53.085 147.005 53.085 147.061 53.085 147.118V147.181C53.085 147.254 53.085 147.334 53.085 147.402C53.085 147.478 53.085 147.555 53.085 147.629C53.085 147.646 53.085 147.662 53.085 147.679C53.085 147.738 53.085 147.796 53.085 147.853C53.085 147.872 53.085 147.892 53.085 147.914C53.085 147.972 53.085 148.032 53.0958 148.09C53.0958 148.104 53.0958 148.119 53.0958 148.133C53.0958 148.207 53.1066 148.287 53.1127 148.354V148.363C53.1127 148.431 53.125 148.498 53.1327 148.566V148.618L53.1512 148.782C53.1512 148.799 53.1512 148.817 53.1512 148.834C53.1512 148.898 53.1681 148.963 53.1773 149.027V149.039C53.1881 149.11 53.1989 149.179 53.2112 149.248V149.282L53.2435 149.449L53.2527 149.498C53.2635 149.552 53.2758 149.604 53.2881 149.651L53.2974 149.69C53.3266 149.82 53.362 149.949 53.4004 150.075C53.4038 150.088 53.4079 150.101 53.4128 150.114C53.4281 150.165 53.4435 150.214 53.4604 150.268C53.4604 150.282 53.4697 150.297 53.4758 150.311C53.4943 150.366 53.5143 150.42 53.5343 150.472V150.49C53.5574 150.552 53.5835 150.613 53.6097 150.673C53.6103 150.679 53.6103 150.685 53.6097 150.691C53.6328 150.742 53.6574 150.792 53.682 150.844C53.682 150.858 53.6959 150.872 53.702 150.884C53.7251 150.93 53.7482 150.975 53.7728 151.019L53.7913 151.054C53.8544 151.165 53.9205 151.272 53.9928 151.378L54.0144 151.407C54.0436 151.449 54.0744 151.492 54.1052 151.531L54.1329 151.568C54.1667 151.611 54.2021 151.653 54.2375 151.694C54.2423 151.702 54.2479 151.709 54.2544 151.715C54.2975 151.767 54.3421 151.818 54.3883 151.869C54.4314 151.913 54.4744 151.956 54.5206 151.999L54.5529 152.03L54.6714 152.134L54.7068 152.163C54.7576 152.206 54.8099 152.248 54.8606 152.289C55.0145 150.125 55.8977 146.529 59.9383 145.272C63.6311 144.125 66.1083 141.883 66.5392 140.585C66.3345 140.619 66.1007 140.651 65.8375 140.68C63.9815 140.861 62.1168 140.939 60.2522 140.913C58.3874 140.92 56.5238 140.823 54.6698 140.624C53.6497 140.499 53.0404 140.34 53.0404 140.164L53.0127 145.618C53.0127 145.696 53.0127 145.772 53.0127 145.85L53.085 145.923Z",fill:"#333333"}),(0,l.jsx)("path",{opacity:"0.1",d:"M106.631 149.042C127.799 137.728 101.884 137.33 106.956 135.519C109.763 134.516 204.771 141.63 201.384 144.056C196.933 147.24 181.544 142.734 161.783 153.773C153.879 158.166 100.716 152.191 106.631 149.042Z",fill:"url(#paint2_linear_66_768)"}),(0,l.jsx)("path",{d:"M129.303 144.906V148.006L129.132 148.045L115.499 151.186C115.498 149.372 116.75 147.798 118.518 147.391L129.303 144.906Z",fill:"url(#paint3_linear_66_768)"}),(0,l.jsx)("path",{d:"M150.854 149.387L147.834 153.178L115.499 151.186C115.498 149.372 116.75 147.798 118.518 147.391L129.303 144.909L161.641 146.901L150.856 149.387L150.854 149.387Z",fill:"url(#paint4_linear_66_768)"}),(0,l.jsx)("path",{d:"M161.641 146.901L129.303 144.909V128.681L161.641 130.755V146.901Z",fill:"url(#paint5_linear_66_768)"}),(0,l.jsx)("path",{d:"M161.641 146.901V130.755L165.682 131.01V145.521C165.682 145.521 166.1 149.022 161.641 149.999L147.834 153.178C147.835 151.365 149.088 149.792 150.856 149.386L161.641 146.901Z",fill:"url(#paint6_linear_66_768)"}),(0,l.jsx)("path",{opacity:"0.1",d:"M217.189 169.865C219.441 167.638 227.596 160.536 229.389 158.351C233.704 153.092 213.956 145.786 207.873 151.308C207.873 151.308 200.805 155.557 193.152 162.337C181.513 172.647 207.873 179.073 217.189 169.865Z",fill:"url(#paint7_linear_66_768)"}),(0,l.jsx)("path",{d:"M212.406 168.255L211.666 165.854C215.849 164.579 217.954 161.879 218.985 159.851C220.139 157.58 220.54 154.865 220.006 152.936C219.893 152.412 219.633 151.931 219.256 151.55C219.044 151.36 218.746 151.296 218.475 151.384C215.318 152.15 213.103 152.915 213.08 152.933L212.25
25 150.56C212.347 150.527 214.596 149.749 217.87 148.945C219.937 148.435 221.726 149.741 222.423 152.262C223.12 154.783 222.665 158.131 221.221 160.984C219.978 163.451 217.426 166.712 212.406 168.255Z",fill:"#FFABA5"}),(0,l.jsx)("path",{d:"M222.428 152.28C221.731 149.754 219.942 148.453 217.875 148.963C214.596 149.767 212.347 150.545 212.26 150.578L213.085 152.951C213.108 152.951 215.323 152.186 218.48 151.402C218.751 151.314 219.049 151.377 219.261 151.568C219.638 151.949 219.899 152.43 220.011 152.954C220.545 154.883 220.144 157.598 218.99 159.868C217.97 161.91 215.854 164.586 211.671 165.872L212.411 168.273C217.434 166.73 219.981 163.469 221.231 161.006C222.671 158.149 223.13 154.806 222.428 152.28Z",fill:"url(#paint8_linear_66_768)"}),(0,l.jsx)("path",{d:"M215.024 145.355L214.848 150.239L214.767 152.536L214.34 164.462L214.322 164.934L214.259 166.761L214.238 167.271L214.095 171.353C214.095 172.29 212.582 173.14 210.012 173.703C209.343 173.851 208.603 173.982 207.797 174.091C205.706 174.36 203.6 174.49 201.493 174.479C194.02 174.479 188.893 173.081 188.893 171.356L187.964 145.345C188.082 147.05 194.089 148.407 201.49 148.407C208.892 148.407 214.904 147.06 215.024 145.355Z",fill:"url(#paint9_linear_66_768)"}),(0,l.jsx)("path",{d:"M201.493 148.43C208.966 148.43 215.024 147.031 215.024 145.304C215.024 143.578 208.966 142.179 201.493 142.179C194.02 142.179 187.961 143.578 187.961 145.304C187.961 147.031 194.02 148.43 201.493 148.43Z",fill:"url(#paint10_linear_66_768)"}),(0,l.jsx)("path",{d:"M213.215 146.866L212.98 146.955L212.819 147.011L212.733 147.042C212.697 147.057 212.659 147.067 212.62 147.08L212.47 147.131L212.064 147.254L211.964 147.282C211.781 147.335 211.589 147.384 211.393 147.432L211.288 147.458C210.841 147.567 210.359 147.67 209.846 147.761L209.662 147.795L209.326 147.851L209.07 147.894L208.953 147.912L208.522 147.976L208.182 148.022L207.899 148.057C207.246 148.139 206.559 148.208 205.857 148.264L205.561 148.284C204.285 148.379 202.925 148.427 201.516 148.427C200.107 148.427 198.75 148.379 197.471 148.284L197.177 148.264C196.463 148.208 195.776 148.139 195.123 148.057L194.84 148.022L194.5 147.976L194.069 147.912L193.952 147.894L193.696 147.851L193.359 147.795L193.176 147.761C192.665 147.67 192.18 147.567 191.734 147.458L191.632 147.432C191.433 147.384 191.241 147.335 191.06 147.282L190.958 147.254L190.552 147.131L190.402 147.08L190.289 147.042L190.202 147.011L190.042 146.955L189.807 146.866C192.147 145.934 196.522 145.304 201.529 145.304C206.536 145.304 210.875 145.934 213.215 146.866Z",fill:"#2A2A2A"}),(0,l.jsx)("path",{d:"M212.431 132.546C212.431 133.608 211.648 134.417 210.683 134.355L205.686 134.036V50.1099L210.673 49.7884C211.638 49.7272 212.421 50.536 212.421 51.6L212.431 132.546Z",fill:"url(#paint11_linear_66_768)"}),(0,l.jsx)("path",{d:"M93.9974 126.872C93.0327 126.808 92.2492 126.055 92.2517 125.188V58.959C92.2517 58.0914 93.0327 57.3362 93.9974 57.2724L207.312 50.0055C208.277 49.9417 209.057 50.748 209.06 51.8044V132.34C209.06 133.396 208.277 134.202 207.312 134.126L93.9974 126.872Z",fill:"url(#paint12_linear_66_768)"}),(0,l.jsx)("path",{d:"M97.2947 122.738V61.6582L204.262 55.6978V128.747L97.2947 122.738Z",fill:"#333333"}),(0,l.jsx)("path",{d:"M106.367 68.3103C106.336 68.9226 105.835 69.4053 105.221 69.4126C104.935 69.4394 104.649 69.3468 104.433 69.1565C104.216 68.9663 104.088 68.6952 104.078 68.4072C104.108 67.7949 104.608 67.3111 105.221 67.3024C105.509 67.2755 105.795 67.3684 106.012 67.5592C106.229 67.7499 106.357 68.0217 106.367 68.3103Z",fill:"#515151"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M129.967 68.3996L114.741 69.0247C114.452 69.0486 114.166 68.953 113.949 68.7601C113.733 68.5672 113.605 68.2939 113.595 68.0041C113.623 67.3871 114.124 66.8968 114.741 66.8814L129.967 66.2027C130.261 66.1808 130.55 66.2814 130.767 66.4805C130.983 66.6797 131.108 66.9597 131.11 67.2539C131.092 67.8778 130.591 68.3796 129.967 68.3996Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M106.367 74.2018C106.34 74.8141 105.835 75.2958 105.221 75.2938C104.933 75.317 104.647 75.221 104.431 75.0282C104.215 74.8354 104.088 74.5626 104.078 74.2732C104.108 73.6631 104.61 73.1831 105.221 73.1811C105.51 73.158 105.796 73.2539 106.013 73.4466C106.229 73.6394 106.357 73.9122 106.367 74.2018Z",fill:"#515151"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M138.723 74.281L123.508 74.7428C123.215 74.7617 122.927 74.6601 122.711 74.4615C122.495 74.263 122.37 73.9848 122.364 73.6916C122.385 73.0718 122.887 72.5769 123.508 72.5663L138.734 72.056C139.031 72.0414 139.321 72.1486 139.537 72.3528C139.753 72.5569 139.877 72.8405 139.88 73.1379C139.863 73.7672 139.353 74.2716 138.723 74.281Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M147.104 74.0386L142.733 74.1713C142.435 74.1852 142.144 74.0767 141.928 73.8709C141.712 73.6651 141.59 73.38 141.589 73.0817C141.599 72.4509 142.102 71.9386 142.733 71.9182L147.104 71.7702C147.404 71.7563 147.696 71.8657 147.913 72.0731C148.129 72.2805 148.251 72.5676 148.25 72.8674C148.244 73.5017 147.739 74.0181 147.104 74.0386Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M183.544 72.9258L174.484 73.1988C174.178 73.2052 173.882 73.0861 173.666 72.8692C173.451 72.6524 173.333 72.3566 173.34 72.0506C173.335 71.4038 173.838 70.8665 174.484 70.8284L183.544 70.5197C183.853 70.5146 184.15 70.6366 184.366 70.8571C184.582 71.0776 184.698 71.3772 184.687 71.6858C184.699 72.3384 184.195 72.885 183.544 72.9258Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M169.701 73.3546L151.364 73.9108C151.064 73.9219 150.772 73.81 150.556 73.601C150.34 73.3919 150.219 73.1039 150.221 72.8034C150.227 72.1687 150.73 71.6504 151.364 71.6246L169.701 70.9995C170.007 70.991 170.302 71.1082 170.519 71.3239C170.736 71.5395 170.854 71.8345 170.847 72.14C170.853 72.7868 170.347 73.3231 169.701 73.3546Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M106.367 86.013C106.341 86.6223 105.831 87.098 105.221 87.0821C104.931 87.0974 104.646 86.9955 104.431 86.7994C104.217 86.6033 104.089 86.3292 104.078 86.0386C104.104 85.4307 104.613 84.9561 105.221 84.972C105.512 84.9553 105.797 85.0563 106.013 85.2521C106.228 85.4479 106.356 85.7221 106.367 86.013Z",fill:"#515151"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M117.893 86.9599L114.744 86.988C114.451 87.0004 114.165 86.8956 113.95 86.6968C113.735 86.4981 113.608 86.2217 113.598 85.9291C113.622 85.3168 114.131 84.8358 114.744 84.8446L117.893 84.8038C118.187 84.7907 118.474 84.8963 118.69 85.0969C118.905 85.2974 119.031 85.5761 119.039 85.8704C119.019 86.4859 118.509 86.9714 117.893 86.9599Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M106.367 97.814C106.356 98.1047 106.228 98.3785 106.012 98.5742C105.797 98.7698 105.512 98.871 105.221 98.8551C104.613 98.8709 104.104 98.3963 104.078 97.7885C104.091 97.4985 104.218 97.2255 104.433 97.0301C104.648 96.8346 104.932 96.7329 105.221 96.7475C105.831 96.7302 106.341 97.2052 106.367 97.814Z",fill:"#515151"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M129.572 99.1537L114.741 98.9725C114.127 98.9841 113.617 98.5016 113.595 97.8881C113.605 97.595 113.732 97.318 113.947 97.1187C114.162 96.9194 114.448 96.8143 114.741 96.8267L129.572 96.9517C130.194 96.946 130.705 97.4421 130.717 98.0642C130.713 98.3615 130.589 98.6445 130.373 98.8494C130.158 99.0544 129.869 99.164 129.572 99.1537Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M106.367 80.1115C106.34 80.7217 105.832 81.1997 105.221 81.1908C104.934 81.2103 104.65 81.1131 104.435 80.921C104.22 80.7289 104.091 80.4583 104.078 80.1702C104.106 79.5609 104.612 79.0833 105.221 79.0908C105.51 79.0713 105.793 79.1685 106.009 79.3605C106.224 79.5525 106.354 79.8232 106.367 80.1115Z",fill:"#515151"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M132.088 80.6572L123.508 80.8358C123.214 80.8503 122.927 80.7455 122.711 80.5451C122.496 80.3447 122.371 80.0658 122.364 79.7718C122.382 79.1526 122.888 78.6592 123.508 78.6568L132.098 78.4552C132.395 78.442 132.684 78.5497 132.9 78.7536C133.116 78.9574 133.24 79.2401 133.244 79.537C133.226 80.162 132.713 80.6588 132.088 80.6572Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M140.443 80.5043L136.072 80.5885C135.774 80.6003 135.485 80.4914 135.269 80.2868C135.054 80.0821 134.93 79.7989 134.926 79.5016C134.939 78.8763 135.446 78.3742 136.072 78.3661L140.443 78.2615C140.742 78.2504 141.033 78.3609 141.249 78.5676C141.465 78.7744 141.588 79.0598 141.589 79.3587C141.58 79.9874 141.072 80.4948 140.443 80.5043Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M174.53 79.833L170.155 79.9197C169.849 79.9225 169.555 79.8016 169.34 79.5844C169.125 79.3672 169.006 79.0722 169.012 78.7664C169.006 78.1224 169.512 7
27.5895 170.155 77.5621L174.53 77.46C174.837 77.4578 175.131 77.5801 175.347 77.7988C175.562 78.0175 175.68 78.3141 175.673 78.621C175.685 79.2685 175.177 79.8067 174.53 79.833Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M165.873 80.0044L145.178 80.4101C144.878 80.4198 144.587 80.3077 144.372 80.0996C144.157 79.8914 144.035 79.6048 144.034 79.3053C144.042 78.6757 144.548 78.1657 145.178 78.152L165.873 77.6672C166.178 77.6616 166.472 77.7802 166.688 77.9957C166.904 78.2112 167.024 78.5052 167.019 78.8103C167.023 79.4529 166.515 79.9823 165.873 80.0044Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M160.115 112.475L150.95 112.169C150.316 112.143 149.813 111.625 149.807 110.99C149.806 110.69 149.927 110.402 150.143 110.194C150.359 109.985 150.65 109.874 150.95 109.886L160.115 110.156C160.756 110.185 161.26 110.712 161.261 111.353C161.265 111.656 161.145 111.948 160.929 112.16C160.712 112.372 160.418 112.486 160.115 112.475Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M106.367 109.615C106.357 109.905 106.229 110.177 106.013 110.37C105.796 110.563 105.51 110.659 105.221 110.636C104.61 110.636 104.107 110.156 104.078 109.546C104.089 109.257 104.217 108.985 104.433 108.793C104.648 108.6 104.933 108.504 105.221 108.525C105.833 108.525 106.337 109.004 106.367 109.615Z",fill:"#515151"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M138.034 111.733L131.516 111.514C130.891 111.5 130.388 110.998 130.373 110.373C130.377 110.078 130.502 109.797 130.717 109.596C130.933 109.394 131.221 109.289 131.516 109.304L138.034 109.498C138.663 109.514 139.167 110.023 139.178 110.651C139.177 110.949 139.054 111.233 138.838 111.437C138.622 111.642 138.331 111.749 138.034 111.733Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M146.17 112.006L142.733 111.891C142.101 111.872 141.597 111.359 141.589 110.727C141.59 110.429 141.712 110.144 141.928 109.938C142.144 109.732 142.435 109.624 142.733 109.638L146.17 109.74C146.804 109.758 147.31 110.275 147.314 110.909C147.315 111.208 147.193 111.495 146.977 111.702C146.761 111.909 146.47 112.019 146.17 112.006Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M106.367 103.716C106.354 104.005 106.224 104.275 106.009 104.467C105.793 104.659 105.51 104.756 105.221 104.737C104.611 104.746 104.104 104.267 104.078 103.658C104.093 103.37 104.222 103.1 104.436 102.908C104.651 102.717 104.934 102.619 105.221 102.637C105.832 102.628 106.34 103.106 106.367 103.716Z",fill:"#515151"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M148.22 105.731L131.516 105.349C130.893 105.342 130.388 104.843 130.373 104.221C130.377 103.925 130.501 103.643 130.717 103.44C130.932 103.237 131.22 103.129 131.516 103.142L148.22 103.461C148.853 103.473 149.361 103.988 149.363 104.622C149.363 104.922 149.242 105.209 149.026 105.418C148.811 105.627 148.52 105.74 148.22 105.731Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M126.935 105.244L123.508 105.165C122.889 105.163 122.383 104.671 122.364 104.053C122.37 103.758 122.495 103.479 122.71 103.278C122.926 103.077 123.213 102.972 123.508 102.986L126.945 103.053C127.568 103.054 128.076 103.551 128.091 104.173C128.086 104.47 127.96 104.753 127.742 104.955C127.524 105.157 127.232 105.262 126.935 105.244Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M167.195 106.165L152.668 105.841C152.034 105.825 151.526 105.308 151.522 104.673C151.522 104.371 151.644 104.082 151.86 103.871C152.075 103.661 152.367 103.546 152.668 103.553L167.195 103.831C167.838 103.853 168.346 104.384 168.338 105.027C168.341 105.331 168.221 105.623 168.006 105.837C167.791 106.051 167.499 106.169 167.195 106.165Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M194.373 106.788L179.846 106.456C179.197 106.425 178.69 105.884 178.7 105.234C178.693 104.926 178.811 104.628 179.026 104.407C179.242 104.186 179.537 104.061 179.846 104.061L194.373 104.339C195.028 104.377 195.535 104.93 195.516 105.586C195.53 105.899 195.416 106.204 195.2 106.431C194.984 106.657 194.686 106.786 194.373 106.788Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M175.061 106.351L171.623 106.275C170.979 106.246 170.473 105.713 170.479 105.068C170.473 104.762 170.591 104.466 170.807 104.248C171.022 104.031 171.317 103.909 171.623 103.912L175.061 103.976C175.708 104.003 176.215 104.541 176.206 105.188C176.214 105.496 176.096 105.793 175.88 106.013C175.664 106.232 175.368 106.354 175.061 106.351Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M106.368 91.9453C106.406 92.4166 106.152 92.8636 105.727 93.0713C10
25.302 93.279 104.794 93.205 104.445 92.8848C104.097 92.5647 103.981 92.0639 104.153 91.6232C104.324 91.1825 104.749 90.8921 105.222 90.8915C105.829 90.8671 106.341 91.3384 106.368 91.9453Z",fill:"#515151"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M132.662 92.9765L123.508 92.9638C122.892 92.9766 122.381 92.4899 122.364 91.8742C122.372 91.5785 122.496 91.2978 122.711 91.0939C122.925 90.89 123.212 90.7797 123.508 90.7873L132.672 90.7643C132.971 90.7595 133.259 90.8735 133.473 91.0812C133.688 91.2889 133.811 91.5732 133.816 91.8717C133.812 92.1719 133.687 92.458 133.47 92.6658C133.254 92.8735 132.962 92.9854 132.662 92.9765Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M177.921 93.0477L168.757 93.0324C168.449 93.0284 168.156 92.9024 167.942 92.6823C167.727 92.4622 167.609 92.1659 167.613 91.8587C167.606 91.2195 168.117 90.6948 168.757 90.685L177.921 90.6646C178.232 90.6699 178.527 90.7986 178.742 91.0223C178.957 91.2459 179.074 91.546 179.067 91.8561C179.073 92.1661 178.956 92.4658 178.741 92.6893C178.526 92.9127 178.231 93.0417 177.921 93.0477Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M163.737 93.025L137.006 92.9842C136.382 92.9913 135.871 92.4924 135.863 91.8691C135.866 91.5696 135.988 91.2837 136.203 91.0745C136.417 90.8653 136.706 90.75 137.006 90.7541L163.737 90.6929C164.044 90.6949 164.337 90.819 164.552 91.0379C164.767 91.2567 164.886 91.5522 164.883 91.8589C164.886 92.1657 164.767 92.4612 164.552 92.68C164.337 92.8988 164.044 93.023 163.737 93.025Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M106.367 115.55C106.357 115.838 106.228 116.109 106.011 116.3C105.794 116.49 105.509 116.582 105.221 116.555C104.609 116.548 104.108 116.065 104.078 115.453C104.088 115.165 104.216 114.894 104.433 114.703C104.649 114.512 104.934 114.419 105.221 114.445C105.836 114.453 106.338 114.937 106.367 115.55Z",fill:"#515151"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M132.662 117.699L123.508 117.295C122.886 117.277 122.386 116.779 122.364 116.157C122.369 115.865 122.494 115.587 122.711 115.39C122.927 115.193 123.216 115.094 123.508 115.116L132.672 115.484C133.3 115.505 133.801 116.012 133.816 116.64C133.815 116.937 133.689 117.22 133.47 117.421C133.251 117.622 132.958 117.723 132.662 117.699Z",fill:"#707072"}),(0,l.jsx)("path",{opacity:"0.304408",d:"M163.737 119.069L137.006 117.89C136.377 117.865 135.877 117.355 135.863 116.726C135.864 116.431 135.988 116.148 136.204 115.947C136.42 115.745 136.711 115.641 137.006 115.66L163.737 116.737C164.381 116.773 164.884 117.306 164.883 117.951C164.889 118.254 164.769 118.546 164.552 118.758C164.335 118.97 164.04 119.082 163.737 119.069Z",fill:"#707072"}),(0,l.jsx)("path",{d:"M97.2947 122.738C145.332 118.116 173.521 96.1849 181.861 56.946L204.262 55.6978V128.747L97.2947 122.738Z",fill:"url(#paint13_linear_66_768)"}),(0,l.jsxs)("g",{opacity:"0.25",children:[(0,l.jsx)("path",{d:"M158.248 93.3631C158.248 92.0291 159.315 91 160.611 91C161.907 91 162.974 92.0291 162.974 93.3631C162.974 94.697 161.907 95.7261 160.611 95.7261C159.315 95.7261 158.248 94.697 158.248 93.3631Z",fill:"url(#paint14_linear_66_768)"}),(0,l.jsx)("path",{d:"M149.017 93.3631C149.017 92.0291 150.085 91 151.38 91C152.676 91 153.743 92.0291 153.743 93.3631C153.743 94.697 152.676 95.7261 151.38 95.7261C150.085 95.7261 149.017 94.697 149.017 93.3631Z",fill:"url(#paint15_linear_66_768)"}),(0,l.jsx)("path",{d:"M139.787 93.3631C139.787 92.0291 140.854 91 142.15 91C143.446 91 144.513 92.0291 144.513 93.3631C144.513 94.697 143.446 95.7261 142.15 95.7261C140.854 95.7261 139.787 94.697 139.787 93.3631Z",fill:"url(#paint16_linear_66_768)"})]}),(0,l.jsx)("path",{d:"M156.461 93.3631C156.461 92.0291 157.529 91 158.824 91C160.12 91 161.188 92.0291 161.188 93.3631C161.188 94.697 160.12 95.7261 158.824 95.7261C157.529 95.7261 156.461 94.697 156.461 93.3631Z",fill:"#FA245D"}),(0,l.jsx)("path",{d:"M147.231 93.3631C147.231 92.0291 148.298 91 149.594 91C150.89 91 151.957 92.0291 151.957 93.3631C151.957 94.697 150.89 95.7261 149.594 95.7261C148.298 95.7261 147.231 94.697 147.231 93.3631Z",fill:"#FA245D",fillOpacity:"0.75"}),(0,l.jsx)("path",{d:"M138 93.3631C138 92.0291 139.067 91 140.363 91C141.659 9
21 142.726 92.0291 142.726 93.3631C142.726 94.697 141.659 95.7261 140.363 95.7261C139.067 95.7261 138 94.697 138 93.3631Z",fill:"#FA245D",fillOpacity:"0.6"}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"paint0_linear_66_768",x1:"65.6871",y1:"150.712",x2:"69.7672",y2:"134.668",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#747474"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#949494",stopOpacity:"0"})]}),(0,l.jsxs)("linearGradient",{id:"paint1_linear_66_768",x1:"60.3304",y1:"140.109",x2:"60.3304",y2:"146.873",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{}),(0,l.jsx)("stop",{offset:"0.58",stopColor:"#B0B0B0"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#C5C5C5"})]}),(0,l.jsxs)("linearGradient",{id:"paint2_linear_66_768",x1:"156.482",y1:"134.243",x2:"156.02",y2:"157.369",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#747474"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#949494",stopOpacity:"0"})]}),(0,l.jsxs)("linearGradient",{id:"paint3_linear_66_768",x1:"120.856",y1:"151.318",x2:"123.554",y2:"131.806",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#B4B4C8"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#505064"})]}),(0,l.jsxs)("linearGradient",{id:"paint4_linear_66_768",x1:"142.567",y1:"143.643",x2:"142.319",y2:"152.714",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#E6E6F0"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#DCDCE6"})]}),(0,l.jsxs)("linearGradient",{id:"paint5_linear_66_768",x1:"145.336",y1:"144.036",x2:"145.417",y2:"132.298",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#E6E6F0"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#DCDCE6"})]}),(0,l.jsxs)("linearGradient",{id:"paint6_linear_66_768",x1:"147.834",y1:"153.178",x2:"169.689",y2:"135.774",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#B4B4C8"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#505064"})]}),(0,l.jsxs)("linearGradient",{id:"paint7_linear_66_768",x1:"210.119",y1:"170.368",x2:"223.017",y2:"135.68",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#747474"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#949494",stopOpacity:"0"})]}),(0,l.jsxs)("linearGradient",{id:"paint8_linear_66_768",x1:"211.671",y1:"148.854",x2:"228.389",y2:"158.393",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#F80F6B"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#FF4F42"})]}),(0,l.jsxs)("linearGradient",{id:"paint9_linear_66_768",x1:"187.964",y1:"145.345",x2:"217.019",y2:"172.332",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#F80F6B"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#FF4F42"})]}),(0,l.jsxs)("linearGradient",{id:"paint10_linear_66_768",x1:"203.854",y1:"185.538",x2:"203.901",y2:"144.223",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#F80F6B"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#FF4F42"})]}),(0,l.jsxs)("linearGradient",{id:"paint11_linear_66_768",x1:"217.694",y1:"51.4367",x2:"197.283",y2:"52.0385",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#B4B4C8"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#505064"})]}),(0,l.jsxs)("linearGradient",{id:"paint12_linear_66_768",x1:"204.905",y1:"50.8118",x2:"143.677",y2:"148.562",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#E6E6F0"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#DCDCE6"})]}),(0,l.jsxs)("linearGradient",{id:"paint13_linear_66_768",x1:"204.262",y1:"114.14",x2:"94.5084",y2:"134.051",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopOpacity:"0.2"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#333333",stopOpacity:"0"})]}),(0,l.jsxs)("linearGradient",{id:"paint14_linear_66_768",x1:"156.618",y1:"89.1121",x2:"165.244",y2:"95.9506",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{offset:"0.376069",stopColor:"#F80F6B",stopOpacity:"0"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#FF4F42"})]}),(0,l.jsxs)("linearGradient",{id:"paint15_linear_66_768",x1:"147.387",y1:"89.1121",x2:"156.014",y2:"95.9506",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{offset:"0.376069",stopColor:"#F80F6B",stopOpacity:"0"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#FF4F42"})]}),(0,l.jsxs)("linearGradient",{id:"paint16_linear_66_768",x1:"138.156",y1:"89.1121",x2:"146.783",
2y2:"95.9506",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{offset:"0.376069",stopColor:"#F80F6B",stopOpacity:"0"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#FF4F42"})]})]})]}))},ko=()=>{var[e]=(0,a.useState)((()=>Math.random().toString(32).substring(2,15)));return e};function Co(){return Co=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Co.apply(this,arguments)}var Eo=e=>{var{size:t=96}=e,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["size"]),r=ko();return(0,l.jsxs)("svg",Co({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 96 96"},n,{children:[(0,l.jsx)("path",{fill:"#EBECF0",d:"M48 96c22.091 0 40-17.909 40-40S70.091 16 48 16 8 33.909 8 56s17.909 40 40 40z"}),(0,l.jsx)("mask",{id:"circle-secure-a-"+r,style:{maskType:"alpha"},width:"96",height:"96",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:(0,l.jsx)("path",{fill:"#fff",d:"M0 56V0h96v56h-8c0 22.091-17.909 40-40 40S8 78.091 8 56H0z"})}),(0,l.jsxs)("g",{mask:"url(#circle-secure-a-"+r+")",children:[(0,l.jsx)("mask",{id:"circle-secure-b-"+r,style:{maskType:"alpha"},width:"80",height:"80",x:"8",y:"16",maskUnits:"userSpaceOnUse",children:(0,l.jsx)("path",{fill:"#fff",d:"M88 56.006c-.004 18.98-13.347 35.345-31.938 39.17C37.47 99 18.75 89.232 11.255 71.794 3.759 54.356 9.55 34.051 25.119 23.193c15.568-10.86 36.624-9.281 50.4 3.776A39.868 39.868 0 0188 56.006z"})}),(0,l.jsxs)("g",{mask:"url(#circle-secure-b-"+r+")",children:[(0,l.jsx)("path",{fill:"#EBECF0",d:"M88 56.006c-.004 18.98-13.347 35.345-31.938 39.17C37.47 99 18.75 89.232 11.255 71.794 3.759 54.356 9.55 34.051 25.119 23.193c15.568-10.86 36.624-9.281 50.4 3.776A39.868 39.868 0 0188 56.006z"}),(0,l.jsx)("g",{filter:"url(#circle-secure-c-"+r+")",children:(0,l.jsx)("path",{fill:"#000",d:"M88 24H8v64h80V24z"})}),(0,l.jsx)("path",{fill:"#F7F7F9",d:"M88 24H8v64h80V24z"}),(0,l.jsxs)("g",{opacity:"0.492",children:[(0,l.jsx)("g",{filter:"url(#circle-secure-d-"+r+")",opacity:"0.492",children:(0,l.jsx)("path",{fill:"#D8D8D8",d:"M39 32H6a2 2 0 100 4h33a2 2 0 100-4z"})}),(0,l.jsx)("g",{filter:"url(#circle-secure-e-"+r+")",opacity:"0.492",children:(0,l.jsx)("path",{fill:"#D8D8D8",d:"M57 36h-9a2 2 0 100 4h9a2 2 0 100-4z"})}),(0,l.jsx)("g",{filter:"url(#circle-secure-f-"+r+")",opacity:"0.492",children:(0,l.jsx)("path",{fill:"#D8D8D8",d:"M84 32H63a2 2 0 100 4h21a2 2 0 100-4z"})}),(0,l.jsx)("g",{filter:"url(#circle-secure-g-"+r+")",opacity:"0.492",children:(0,l.jsx)("path",{fill:"#D8D8D8",d:"M88 51h-9a2 2 0 100 4h9a2 2 0 100-4z"})}),(0,l.jsx)("g",{filter:"url(#circle-secure-h-"+r+")",opacity:"0.492",children:(0,l.jsx)("path",{fill:"#D8D8D8",d:"M80 60H61a2 2 0 100 4h19a2 2 0 100-4z"})}),(0,l.jsx)("g",{filter:"url(#circle-secure-i-"+r+")",opacity:"0.492",children:(0,l.jsx)("path",{fill:"#D8D8D8",d:"M82 70h-9a2 2 0 100 4h9a2 2 0 100-4z"})}),(0,l.jsx)("g",{filter:"url(#circle-secure-j-"+r+")",opacity:"0.492",children:(0,l.jsx)("path",{fill:"#D8D8D8",d:"M71 48H48a2 2 0 100 4h23a2 2 0 100-4z"})}),(0,l.jsx)("g",{filter:"url(#circle-secure-k-"+r+")",opacity:"0.492",children:(0,l.jsx)("path",{fill:"#D8D8D8",d:"M40 48H28a2 2 0 100 4h12a2 2 0 100-4z"})}),(0,l.jsx)("g",{filter:"url(#circle-secure-l-"+r+")",opacity:"0.492",children:(0,l.jsx)("path",{fill:"#D8D8D8",d:"M19 45H7a2 2 0 100 4h12a2 2 0 100-4z"})}),(0,l.jsx)("g",{filter:"url(#circle-secure-m-"+r+")",opacity:"0.492",children:(0,l.jsx)("path",{fill:"#D8D8D8",d:"M33 62H8a2 2 0 100 4h25a2 2 0 100-4z"})}),(0,l.jsx)("g",{filter:"url(#circle-secure-n-"+r+")",opacity:"0.492",children:(0,l.jsx)("path",{fill:"#D8D8D8",d:"M35 78H3a2 2 0 100 4h32a2 2 0 100-4z"})}),(0,l.jsx)("g",{filter:"url(#circle-secure-o-"+r+")",opacity:"0.492",children:(0,l.jsx)("path",{fill:"#D8D8D8",d:"M53 60H41a2 2 0 100 4h12a2 2 0 100-4z"})}),(0,l.jsx)("g",{filter:"url(#circle-secure-p-"+r+")",opacity:"0.492",children:(0,l.jsx)("path",{fill:"#D8D8D8",d:"M62 76H42a2 2 0 100 4h20a2 2 0 100-4z"})})]}),(0,l.jsx)("path",{fill:"url(#circle-secure-q-"+r+")",fillRule:"evenodd",d:"M35 78a2 2 0 110 4H3a2 2 0 110-4h32zm33-2a2 2 0 110 4H48a2 2 0 110-4h20zm17-6a2 2 0 110 4h-9a2 2 0 110-4h9zm-52-8a2 2 0 110 4H8a2 2 0 110-4h25zm47-2a2 2 0 110 4H61a2 2 0 110-4h19zm-27 0a2 2 0 110 4H41a2 2 0 110-4h12zm36-9a2 2 0 110 4h-9a2 2 0 110-4h9zm-18-3a2 2 0 110 4H48a2 2 0 110-4h23zm-31 0a2 2 0 110 4H28a2 2 0 110-4h12zm-21-3a2 2 0 110 4H7a2 2 0 110-4h12zm38-9a2 2 0 110 4h-9a2 2 0 110-4h9zm-18-4a2 2 0 110 4H6a2 2 0 110-4h33zm49 0
2a2 2 0 110 4H67a2 2 0 110-4h21z",clipRule:"evenodd",opacity:"0.898"}),(0,l.jsx)("path",{fill:"url(#circle-secure-r-"+r+")",d:"M24 24H8v64h16V24z"}),(0,l.jsx)("path",{fill:"url(#circle-secure-s-"+r+")",d:"M88 24H72v64h16V24z"})]}),(0,l.jsx)("path",{fill:"#54545E",d:"M35.94 66.436l2.703 2.943-7.782 7.16-2.703-2.942 7.783-7.16z"}),(0,l.jsx)("path",{fill:"url(#circle-secure-t-"+r+")",d:"M35.94 66.436l2.703 2.943-7.782 7.16-2.703-2.942 7.783-7.16z"}),(0,l.jsx)("path",{fill:"#54545E",d:"M31.1 51.89c-2.993 9.79 2.51 20.153 12.292 23.143 9.783 2.991 20.14-2.522 23.133-12.313 2.993-9.792-2.51-20.153-12.292-23.144-9.782-2.99-20.139 2.522-23.132 12.313z"}),(0,l.jsx)("path",{fill:"#2A2A2A",d:"M48 76c11.046 0 20-8.954 20-20s-8.954-20-20-20-20 8.954-20 20 8.954 20 20 20z"}),(0,l.jsx)("mask",{id:"circle-secure-u",style:{maskType:"alpha"},width:"32",height:"32",x:"32",y:"40",maskUnits:"userSpaceOnUse",children:(0,l.jsx)("path",{fill:"#fff",d:"M48 72c8.837 0 16-7.163 16-16s-7.163-16-16-16-16 7.163-16 16 7.163 16 16 16z"})}),(0,l.jsxs)("g",{mask:"url(#circle-secure-u-"+r+")",children:[(0,l.jsx)("path",{fill:"#fff",d:"M48 72c8.837 0 16-7.163 16-16s-7.163-16-16-16-16 7.163-16 16 7.163 16 16 16z"}),(0,l.jsx)("g",{filter:"url(#circle-secure-v-"+r+")",children:(0,l.jsx)("path",{fill:"#000",d:"M15 52h19a4 4 0 010 8H15v-8z"})}),(0,l.jsx)("path",{fill:"url(#circle-secure-w-"+r+")",d:"M15 52h19a4 4 0 010 8H15v-8z"}),(0,l.jsx)("path",{fill:"url(#circle-secure-x-"+r+")",fillRule:"evenodd",d:"M48 48a4 4 0 014 4v1.529a6 6 0 11-8 0V52a4 4 0 014-4zm0 6a4 4 0 100 8 4 4 0 000-8zm0 3a1 1 0 110 2 1 1 0 010-2zm0-7a2 2 0 00-2 2v.341A5.991 5.991 0 0148 52c.702 0 1.375.12 2 .342V52a2 2 0 00-2-2z",clipRule:"evenodd"}),(0,l.jsx)("path",{fill:"url(#circle-secure-y-"+r+")",d:"M48 72c8.837 0 16-7.163 16-16s-7.163-16-16-16-16 7.163-16 16 7.163 16 16 16z",opacity:"0.241"}),(0,l.jsx)("path",{fill:"url(#circle-secure-z-"+r+")",d:"M51.577 34L24 61.577l11.314 11.314L62.89 45.314 51.577 34z"}),(0,l.jsx)("path",{fill:"url(#circle-secure-A-"+r+")",d:"M67.577 46L40 73.577l3.535 3.536 27.578-27.578L67.577 46z"})]}),(0,l.jsx)("path",{fill:"url(#circle-secure-B-"+r+")",fillRule:"evenodd",d:"M28.68 71.02l4.784 5.209c.45.49.418 1.253-.072 1.704L18.254 91.86a4.74 4.74 0 01-6.702-.28 4.75 4.75 0 01.284-6.708l15.14-13.93a1.204 1.204 0 011.702.071l.002.006z",clipRule:"evenodd"})]}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("filter",{id:"circle-secure-c-"+r,width:"96",height:"80",x:"0",y:"16",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,l.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,l.jsx)("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,l.jsx)("feOffset",{}),(0,l.jsx)("feGaussianBlur",{stdDeviation:"4"}),(0,l.jsx)("feColorMatrix",{values:"0 0 0 0 0.164706 0 0 0 0 0.164706 0 0 0 0 0.164706 0 0 0 0.0768411 0"}),(0,l.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),(0,l.jsxs)("filter",{id:"circle-secure-d-"+r,width:"41",height:"8",x:"2",y:"30",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,l.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,l.jsx)("feGaussianBlur",{result:"effect1_foregroundBlur",stdDeviation:"1"})]}),(0,l.jsxs)("filter",{id:"circle-secure-e-"+r,width:"17",height:"8",x:"44",y:"34",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,l.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,l.jsx)("feGaussianBlur",{result:"effect1_foregroundBlur",stdDeviation:"1"})]}),(0,l.jsxs)("filter",{id:"circle-secure-f-"+r,width:"29",height:"8",x:"59",y:"30",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,l.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}
2),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,l.jsx)("feGaussianBlur",{result:"effect1_foregroundBlur",stdDeviation:"1"})]}),(0,l.jsxs)("filter",{id:"circle-secure-g-"+r,width:"17",height:"8",x:"75",y:"49",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,l.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,l.jsx)("feGaussianBlur",{result:"effect1_foregroundBlur",stdDeviation:"1"})]}),(0,l.jsxs)("filter",{id:"circle-secure-h-"+r,width:"27",height:"8",x:"57",y:"58",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,l.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,l.jsx)("feGaussianBlur",{result:"effect1_foregroundBlur",stdDeviation:"1"})]}),(0,l.jsxs)("filter",{id:"circle-secure-i-"+r,width:"17",height:"8",x:"69",y:"68",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,l.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,l.jsx)("feGaussianBlur",{result:"effect1_foregroundBlur",stdDeviation:"1"})]}),(0,l.jsxs)("filter",{id:"circle-secure-j-"+r,width:"31",height:"8",x:"44",y:"46",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,l.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,l.jsx)("feGaussianBlur",{result:"effect1_foregroundBlur",stdDeviation:"1"})]}),(0,l.jsxs)("filter",{id:"circle-secure-k-"+r,width:"20",height:"8",x:"24",y:"46",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,l.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,l.jsx)("feGaussianBlur",{result:"effect1_foregroundBlur",stdDeviation:"1"})]}),(0,l.jsxs)("filter",{id:"circle-secure-l-"+r,width:"20",height:"8",x:"3",y:"43",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,l.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,l.jsx)("feGaussianBlur",{result:"effect1_foregroundBlur",stdDeviation:"1"})]}),(0,l.jsxs)("filter",{id:"circle-secure-m-"+r,width:"33",height:"8",x:"4",y:"60",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,l.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,l.jsx)("feGaussianBlur",{result:"effect1_foregroundBlur",stdDeviation:"1"})]}),(0,l.jsxs)("filter",{id:"circle-secure-n-"+r,width:"40",height:"8",x:"-1",y:"76",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,l.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,l.jsx)("feGaussianBlur",{result:"effect1_foregroundBlur",stdDeviation:"1"})]}),(0,l.jsxs)("filter",{id:"circle-secure-o-"+r,width:"20",height:"8",x:"37",y:"58",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,l.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,l.jsx)("feGaussianBlur",{result:"effect1_foregroundBlur",stdDeviation:"1"})]}),(0,l.jsxs)("filter",{id:"circle-secure-p-"+r,width:"28",height:"8",x:"38",y:"74",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,l.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,l.jsx)("feGaussianBlur",{result:"effect1_foregroundBlur",stdDeviation:"1"})]}),(0,l.jsxs)("filter",{id:"circle-secure-v-"+r,width:"31",height:"16",x:"11",y:"50",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,l.jsx)("feFlood",{floodOpacity:"0",result:"Backgroun
2dImageFix"}),(0,l.jsx)("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,l.jsx)("feOffset",{dy:"2"}),(0,l.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,l.jsx)("feColorMatrix",{values:"0 0 0 0 0.629416 0 0 0 0 0.629416 0 0 0 0 0.629416 0 0 0 0.366996 0"}),(0,l.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),(0,l.jsxs)("linearGradient",{id:"circle-secure-q-"+r,x1:"1",x2:"76.325",y1:"49.284",y2:"91.131",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#FF4244"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#FF8E3C"})]}),(0,l.jsxs)("linearGradient",{id:"circle-secure-r-"+r,x1:"24",x2:"8",y1:"56",y2:"56",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#EEE",stopOpacity:"0"}),(0,l.jsx)("stop",{offset:"1",stopOpacity:"0.161"})]}),(0,l.jsxs)("linearGradient",{id:"circle-secure-s-"+r,x1:"88",x2:"72",y1:"56",y2:"56",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopOpacity:"0.161"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#EEE",stopOpacity:"0"})]}),(0,l.jsxs)("linearGradient",{id:"circle-secure-t-"+r,x1:"31.293",x2:"35.082",y1:"72.917",y2:"69.434",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#54545E"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#2A2A2A"})]}),(0,l.jsxs)("linearGradient",{id:"circle-secure-w-"+r,x1:"15",x2:"35.818",y1:"55.516",y2:"62.757",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#FF4244"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#FF8E3C"})]}),(0,l.jsxs)("linearGradient",{id:"circle-secure-x-"+r,x1:"44.625",x2:"54.735",y1:"48",y2:"61.48",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#FF4F42"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#FF8E3C"})]}),(0,l.jsxs)("linearGradient",{id:"circle-secure-y-"+r,x1:"22.313",x2:"77.244",y1:"24.26",y2:"86.135",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#FF4244"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#FF8E3C"})]}),(0,l.jsxs)("linearGradient",{id:"circle-secure-z-"+r,x1:"58.47",x2:"41.915",y1:"38.14",y2:"57.862",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#fff",stopOpacity:"0.6"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#fff",stopOpacity:"0"})]}),(0,l.jsxs)("linearGradient",{id:"circle-secure-A-"+r,x1:"65.944",x2:"54.41",y1:"51.118",y2:"65.722",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#fff",stopOpacity:"0.6"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#fff",stopOpacity:"0"})]}),(0,l.jsxs)("linearGradient",{id:"circle-secure-B-"+r,x1:"30.104",x2:"10.575",y1:"72.565",y2:"90.516",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#2A2A2A"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#54545E"})]})]})]}))};function So(){return So=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},So.apply(this,arguments)}var Oo=e=>{var{size:t=96}=e,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["size"]),r=ko();return(0,l.jsxs)("svg",So({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 96 96"},n,{children:[(0,l.jsx)("path",{fill:"#EBECF0",d:"M48 96c22.091 0 40-17.909 40-40S70.091 16 48 16 8 33.909 8 56s17.909 40 40 40z"}),(0,l.jsx)("mask",{id:"circle-paper-stack-a-"+r,style:{maskType:"alpha"},width:"96",height:"96",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:(0,l.jsx)("path",{fill:"#fff",d:"M0 56V0h96v56h-8c0 22.091-17.909 40-40 40S8 78.091 8 56H0z"})}),(0,l.jsxs)("g",{mask:"url(#circle-paper-stack-a-"+r+")",children:[(0,l.jsx)("path",{fill:"#fff",d:"M20.18 44.72l-6.43 4.75h6.43v-4.75zm61.99 4.75H13.75v35.98h68.42V49.47z"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-b-"+r+")",d:"M82.17 49.47H13.75v35.98h68.42V49.47z",opacity:"0.2"}
2),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-c-"+r+")",d:"M13.75 71.94v7.2H4l9.75-7.2z"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-d-"+r+")",d:"M82.17 71.94v7.2h9.75l-9.75-7.2z"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-e-"+r+")",d:"M29.3 38h37.32l15.55 11.47H17.82s-3.14 0-4.48-1.31c1.93.07 4.43-1.66 4.43-1.66L29.3 38z"}),(0,l.jsx)("path",{fill:"#fff",d:"M29.3 38h37.32l9.75 7.19s3 2.14 5.58 1.81c-2 2.47-7.59 2.47-7.59 2.47h-46s-9.73 0-13.29-4.22a7.25 7.25 0 005.8-1L29.3 38z"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-f-"+r+")",d:"M66.48 43.73c0 .79-9.21 1.69-16.83 1.69-5.62 0-10.76-1.18-10.76-2 0-.82 6.17-1.14 13.79-1.14 7.62 0 13.8.66 13.8 1.45z",opacity:"0.16"}),(0,l.jsx)("path",{fill:"#fff",d:"M52.71 34.23c0 .6-2.12 1.09-4.74 1.09s-4.74-.49-4.74-1.09c0-.6 2.12-1.09 4.74-1.09a14.93 14.93 0 013.48.35c.78.19 1.26.45 1.26.74z"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-g-"+r+")",d:"M57 43.22a.34.34 0 010 .22c-.26 1.11-4.22 2-9.07 2-4.85 0-8.82-.87-9.08-2a.29.29 0 010-.22l.16-.34 4.14-8.65c0 .6 2.12 1.09 4.74 1.09s4.74-.49 4.74-1.09l4.13 8.65.24.34z"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-h-"+r+")",d:"M13.75 56.51s-1.79 1.75-1.7 3c3.67-2 21.06-2.4 21.06-2.4H13.75v-.6z"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-i-"+r+")",d:"M82.17 75.53a2.7 2.7 0 01.77 1.52C81.82 76.11 69.52 76 69.52 76h12.65v-.47z"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-j-"+r+")",d:"M82.17 53.5a7.466 7.466 0 001.8.86c-.67.44-2.84.21-4.07.17-1.4-.05-7.1-.44-7.1-.44h9.37v-.59z"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-k-"+r+")",d:"M13.75 74a2 2 0 01-1.29.65c.42.59 2 .44 4.21.16 2-.25 7.39-.47 7.39-.47H13.75V74z"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-l-"+r+")",d:"M67.63 67.83s12.52.85 16 2.42a4.16 4.16 0 00-1.42-3.09v.67H67.63z"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-m-"+r+")",d:"M39 49.47s4.89-.18 5.51-.29c1.13-.19 8.69.29 8.69.29H39z"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-n-"+r+")",d:"M45.76 71.36s1.63-.22 2.24-.36c1.13-.2 9.61.33 9.61.33l-11.85.03z"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-o-"+r+")",d:"M79.75 59.54s-8.08-.34-8.84-.29c-1.15.07-3 .29-3 .29h11.84z"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-p-"+r+")",d:"M62 14.49h9.17c.729 0 1.32.591 1.32 1.32v12.94a1.32 1.32 0 01-1.32 1.32H62V14.49z"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-q-"+r+")",d:"M68.89 10.07H47.97v16h20.92v-16z"}),(0,l.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M56.747 20.986l-1.856-1.856a.937.937 0 111.326-1.326l1.193 1.193 4.375-4.375a.938.938 0 011.326 1.326l-5.038 5.038a.937.937 0 01-1.326 0z",clipRule:"evenodd"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-r-"+r+")",d:"M62 30.07l6.89-4H62v4z"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-s-"+r+")",d:"M16.69 65.83a2.45 2.45 0 00-1.22 1.82c1-.67 7.92-1.82 14.64-1.82H16.69z"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-t-"+r+")",d:"M52.71 34.23H48c-.21 0-.37-.08-.37-.19s.16-.18.37-.18h4.46c.13.14.25.22.25.37z",opacity:"0.16"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-u-"+r+")",d:"M48.33 8.664V34.22h-.73V8.664a.415.415 0 01.103-.32.37.37 0 01.297-.123c.1.01.192.063.255.147.062.084.09.19.075.296z"}),(0,l.jsx)("path",{fill:"url(#circle-paper-stack-v-"+r+")",d:"M48.33 9.459v1.052c-.107.123-.233.186-.36.179-.13.007-.26-.055-.37-.179V9.46c-.024-.259.04-.518.163-.661.123-.143.281-.143.404 0s.187.402.163.66z",opacity:"0.16"}),(0,l.jsx)("path",{fill:"#2A2A2A",d:"M47.97 9.67a1 1 0 100-2 1 1 0 000 2z"}),(0,l.jsx)("path",{fill:"#54545E",d:"M86.65 79.14H56.92a1.07 1.07 0 00-1 .74c-.66 2-4 4.83-7.92 4.83s-7.26-2.84-7.92-4.83a1.08 1.08 0 00-1-.74H4V96h87.92V79.14h-5.27z"})]}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-b-"+r,x1:"48.21",x2:"48.072",y1:"72.443",y2:"62.61",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#5A5A5A"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#fff",stopOpacity:"0"})]}
2),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-c-"+r,x1:"23.16",x2:"11.69",y1:"68.304",y2:"81.847",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#D8D8D8"}),(0,l.jsx)("stop",{offset:"1",stopColor:"gray"})]}),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-d-"+r,x1:"72.76",x2:"84.23",y1:"68.304",y2:"81.847",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#D8D8D8"}),(0,l.jsx)("stop",{offset:"1",stopColor:"gray"})]}),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-e-"+r,x1:"48.35",x2:"48.309",y1:"43.563",y2:"44.334",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#E5E5E5"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#B2B2B2"})]}),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-f-"+r,x1:"56.99",x2:"67.38",y1:"43.86",y2:"43.86",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#5A5A5A"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#5A5A5A",stopOpacity:"0"})]}),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-g-"+r,x1:"42.21",x2:"60.38",y1:"39.82",y2:"39.82",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#FF4244"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#FF8D3C"})]}),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-h-"+r,x1:"8.29",x2:"26.143",y1:"58.053",y2:"54.146",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#E5E5E5"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#B2B2B2"})]}),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-i-"+r,x1:"85.59",x2:"77.028",y1:"76.308",y2:"74.596",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#E5E5E5"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#B2B2B2"})]}),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-j-"+r,x1:"87.5",x2:"74.393",y1:"54.07",y2:"52.792",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#E5E5E5"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#B2B2B2"})]}),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-k-"+r,x1:"9.03",x2:"19.719",y1:"74.532",y2:"73.6",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#E5E5E5"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#B2B2B2"})]}),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-l-"+r,x1:"88.33",x2:"69.756",y1:"68.856",y2:"61.583",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#E5E5E5"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#B2B2B2"})]}),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-m-"+r,x1:"38.95",x2:"53.15",y1:"49.302",y2:"49.302",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#D8D8D8"}),(0,l.jsx)("stop",{offset:"1",stopColor:"gray"})]}),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-n-"+r,x1:"45.76",x2:"57.63",y1:"71.163",y2:"71.163",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#E5E5E5"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#B2B2B2"})]}),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-o-"+r,x1:"70.56",x2:"72.832",y1:"59.389",y2:"63.483",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#E5E5E5"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#B2B2B2"})]}),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-p-"+r,x1:"65.148",x2:"69.478",y1:"22.3",y2:"22.282",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#FF4244"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#FF8D3C"})]}),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-q-"+r,x1:"47.97",x2:"68.89",y1:"18.07",y2:"18.07",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#FF4244"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#FF8D3C"})]}),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-r-"+r,x1:"65.45",x2:"65.42",y1:"27.389",y2:"28.853",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#FF4244"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#FF8D3C"})]}),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-s-"+r,x1:"11.19",x2:"25.689",y1:"66.766",y2:"63.692",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#E5E5E5"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#B2B2B2"})]}),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-t-"+r,x1:"48.41",x2:"54.24",y1:"34.043",y2:"34.043",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#5A5A5A"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#5A5A5A",stopOpacity:"0"})]}),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-u-"+r,x1:"47.966",x2:"47.803",y1:"34.273",y2:"9.182",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#5A5A5A"}),(0,l.jsx)("stop",{offset:"1"})]}),(0,l.jsxs)("linearGradient",{id:"circle-paper-stack-v-"+r,x1:"47.959",x2:"48.012",y1:"10.458",y2:"9.766",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#5A5A5A"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#5A5A5A",stopOpacity:"0"})]})]})]}))},Ao=n(67074),_o=n(4909),Po=n.n(_o),jo={en:{permissionsErrorTitle:"You need permission to view this page",permissionsErrorBody:"Please contact your account admin for necessary adjustments",a
2piErrorTitle:"Oops! Something went wrong",apiErrorBodyStart:"Reload the page to try again. If the problem persists, please contact the",apiErrorBodyEnd:"to resolve this issue.",apiErrorLink:"help centre",apiErrorButton:"Reload Page",maintenanceTitle:"This page will be back shortly",maintenanceBody:"We're performing scheduled maintenance to improve the platform. Check back soon or refresh the page.",maintenanceErrorButton:"Reload page",noResultsErrorTitle:"No match found",noResultsErrorBody:"Please review your search and try again."},"en-US":{_comment:"This file is generated via awx-i18n-service, please do not update contents manually",apiErrorBodyEnd:"to resolve this issue.",apiErrorBodyStart:"Reload the page to try again. If the problem persists, please contact the",apiErrorButton:"Reload Page",apiErrorLink:"help center",apiErrorTitle:"Oops! Something went wrong",maintenanceBody:"We're performing scheduled maintenance to improve the platform. Check back soon or refresh the page.",maintenanceErrorButton:"Reload page",maintenanceTitle:"This page will be back shortly",noResultsErrorBody:"Please review your search and try again.",noResultsErrorTitle:"No match found",permissionsErrorBody:"Please contact your account admin for necessary adjustments",permissionsErrorTitle:"You need permission to view this page"},zh:{permissionsErrorTitle:"æ¨æ ææ¥çæ¤é¡µé¢",permissionsErrorBody:"请èç³»æ¨ç叿·ç®¡çåä¿®æ¹ç¨æ·ç®¡ç设置ã",apiErrorTitle:"åå¦ï¼åºéäºã",apiErrorBodyStart:"éæ°å 载页é¢ï¼è¥ä»æé®é¢è¯·èç³»æä»¬ç",apiErrorBodyEnd:"è§£å³è¯¥é®é¢",apiErrorLink:"客æä¸å¿",apiErrorButton:"éæ°å è½½",maintenanceTitle:"页é¢å°å¾å¿«æ¢å¤",maintenanceBody:"æä»¬æ£å¨è¿è¡å®æç»´æ¤ä»¥æ¹è¿å¹³å°ã请ç¨å忥æå·æ°é¡µé¢ã",maintenanceErrorButton:"éæ°å è½½",noResultsErrorTitle:"æªæ¾å°æç´¢ç»æ",noResultsErrorBody:"è¯·æ£æ¥æç´¢æ¡ä»¶å¹¶éæ°æç´¢ã"},fr:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually",apiErrorBodyEnd:"pour résoudre ce problème.",apiErrorBodyStart:"Actualisez la page pour réessayer. Si le problème persiste, veuillez contacter le",apiErrorButton:"Actualiser la page",apiErrorLink:"centre dâassistance",apiErrorTitle:"Oups ! Une erreur sâest produite",maintenanceBody:"Nous effectuons une maintenance programmée pour améliorer la plateforme. Revenez bientôt ou actualisez la page.",maintenanceErrorButton:"Actualiser la page",maintenanceTitle:"Cette page sera à nouveau bientôt disponible",noResultsErrorBody:"Veuillez vérifier votre recherche et réessayer.",noResultsErrorTitle:"Aucun résultat",permissionsErrorBody:"Veuillez contacter lâadministrateur de votre compte pour effectuer les ajustements nécessaires",permissionsErrorTitle:"Vous devez être habilité à consulter cette page"},"es-MX":{_comment:"This file is generated via awx-i18n-service, please do not update contents manually",apiErrorBodyEnd:"para resolver este problema.",apiErrorBodyStart:"Recargue la página para intentar de nuevo. Si el problema persiste, por favor contacte al",apiErrorButton:"Recargar página",apiErrorLink:"centro de ayuda",apiErrorTitle:"¡Ups! Algo salió mal",maintenanceBody:"Estamos realizando mantenimiento programado para mejorar la plataforma. Vuelva pronto o actualice la página.",maintenanceErrorButton:"Volver a cargar la página",maintenanceTitle:"Esta página volverá en breve",noResultsErrorBody:"Por favor, revise su búsqueda y vuelva a intentarlo.",noResultsErrorTitle:"No se encontró coincidencia",permissionsErrorBody:"Por favor, contacte a su administrador de la cuenta para los ajustes necesarios",permissionsErrorTitle:"Necesita permiso para ver esta página"},de:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually",apiErrorBodyEnd:"um dieses Problem zu lösen.",apiErrorBodyStart:"Laden Sie die Seite neu auf, um es erneut zu versuchen. Sollte das Problem weiterhin bestehen, wenden Sie sich bitte an die",apiErrorButton:"Seite neu laden",apiErrorLink:"Hilfszentrum",apiErrorTitle:"Hoppla! Etwas ist schief gelaufen",maintenanceBody:"Wir führen geplante Wartungsarbeiten durch, um die Plattform zu verbessern. Schauen Sie bald wieder vorbei oder aktualisieren Sie die Seite.",maintenanceErrorButton:"Seite neu laden",maintenanceTitle:"Diese Seite wird in Kürze wieder verfügbar sein",no
2ResultsErrorBody:"Bitte überprüfen Sie Ihre Suche und versuchen Sie es erneut.",noResultsErrorTitle:"Keine Ãbereinstimmung gefunden",permissionsErrorBody:"Bitte kontaktieren Sie Ihren Kontoadministrator für die notwendigen Anpassungen",permissionsErrorTitle:"Sie benötigen eine Berechtigung zum Betrachten dieser Seite"},ja:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually",apiErrorBodyEnd:"ãã®åé¡ã解決ããããã«ã",apiErrorBodyStart:"å試è¡ããããã«ãã¼ã¸ããªãã¼ããã¦ãã ãããåé¡ã解決ããªãå ´åã¯ããµãã¼ãã«é£çµ¡ãã¦ãã ããã",apiErrorButton:"ãã¼ã¸ããªãã¼ã",apiErrorLink:"ãã«ãã»ã³ã¿ã¼",apiErrorTitle:" åé¡ãçºçãã¾ããã",maintenanceBody:"ãã©ãããã©ã¼ã ãæ¹åããããã宿ã¡ã³ããã³ã¹ãè¡ã£ã¦ãã¾ãããã°ãããã¦ããããä¸åº¦ã確èªããã ããããã¼ã¸ãæ´æ°ãã¦ãã ããã",maintenanceErrorButton:"ãã¼ã¸ããªãã¼ã",maintenanceTitle:"ãã®ãã¼ã¸ã¯ããã«æ»ãã¾ã",noResultsErrorBody:"æ¤ç´¢ãè¦ç´ãã¦å試è¡ãã¦ãã ããã",noResultsErrorTitle:"ä¸è´ãããã®ãè¦ã¤ããã¾ããã§ãã",permissionsErrorBody:"å¿
è¦ãªèª¿æ´ã«ã¤ãã¦ã¯ãã¢ã«ã¦ã³ã管çè
ã«é£çµ¡ãã¦ãã ãã",permissionsErrorTitle:"ãã®ãã¼ã¸ã表示ããã«ã¯è¨±å¯ãå¿
è¦ã§ã"},ko:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually",apiErrorBodyEnd:"를 ì¬ì©íì¬ ì´ ë¬¸ì 를 í´ê²°íì¸ì.",apiErrorBodyStart:"íì´ì§ë¥¼ ìë¡ ê³ ì¹¨íì¬ ë¤ì ìëíì¸ì. 문ì ê° ì§ìëë©´ ë¤ì ì°ë½ì²ë¡ 문ìíì¸ì.",apiErrorButton:"ìë¡ ê³ ì¹¨ íì´ì§",apiErrorLink:"ëìë§ ì¼í°",apiErrorTitle:"ì! 문ì ê° ë°ìíì´ì",maintenanceBody:"íë«í¼ ê°ì ì ìí´ ì 기 ì ê²ì ì§í ì¤ì
ëë¤. ì ì í ë¤ì íì¸íê±°ë íì´ì§ë¥¼ ìë¡ê³ 침íì¸ì.",maintenanceErrorButton:"íì´ì§ ìë¡ ê³ ì¹¨",maintenanceTitle:"ì´ íì´ì§ë ê³§ ë¤ì ëìì¬ ìì ì
ëë¤.",noResultsErrorBody:"ê²ì ë´ì©ì ê²í í í ë¤ì ìëíì¸ì.",noResultsErrorTitle:"ì¼ì¹ í목 ìì",permissionsErrorBody:"íìí ì¡°ì ì¬íì ê³ì ê´ë¦¬ììê² ë¬¸ìíì¸ì.",permissionsErrorTitle:"ì´ íì´ì§ë¥¼ ë³´ë ¤ë©´ ê¶íì´ íìí©ëë¤."},"pt-BR":{_comment:"This file is generated via awx-i18n-service, please do not update contents manually",apiErrorBodyEnd:"para resolver este problema.",apiErrorBodyStart:"Recarregue a página para tentar novamente. Se o problema persistir, entre em contato com a",apiErrorButton:"Recarregar página",apiErrorLink:"central de ajuda",apiErrorTitle:"Ops! Algo deu errado",maintenanceBody:"Estamos realizando manutenção programada para melhorar a plataforma. Volte em breve ou atualize a página.",maintenanceErrorButton:"Recarregar a página",maintenanceTitle:"Esta página voltará em breve",noResultsErrorBody:"Verifique sua pesquisa e tente novamente.",noResultsErrorTitle:"Nenhum resultado encontrado",permissionsErrorBody:"Entre em contato com o administrador da sua conta para os ajustes necessários",permissionsErrorTitle:"Você precisa de permissão para visualizar esta página"},vi:{permissionsErrorTitle:"Bạn cần quyá»n Äá» xem trang nà y",permissionsErrorBody:"Vui lòng liên há» quản trá» viên tà i khoản cá»§a bạn Äá» ÄÆ°á»£c Äiá»u chá»nh cần thiết",apiErrorTitle:"Rất tiếc! Äã xảy ra sá»± cá»",apiErrorBodyStart:"Tải lại trang Äá» thá» lại. Nếu vấn Äá» vẫn tiếp diá»
n, vui lòng liên há»",apiErrorBodyEnd:"Äá» giải quyết vấn Äá» nà y.",apiErrorLink:"trung tâm trợ giúp",apiErrorButton:"Tải lại trang",maintenanceTitle:"Trang nà y sẽ quay lại ngay",maintenanceBody:"Chúng tôi Äang thá»±c hiá»n bảo trì Äá»nh kỳ Äá» cải thiá»n ná»n tảng. Vui lòng quay lại sau hoặc là m má»i trang.",maintenanceErrorButton:"Tải lại trang",noResultsErrorTitle:"Không tìm thấy kết quả phù hợp",noResultsErrorBody:"Vui lòng xem lại tìm kiếm cá»§a bạn và thá» lại."},tr:{permissionsErrorTitle:"Bu sayfayı görüntülemek için izniniz yok",permissionsErrorBody:"Gerekli ayarlamalar için lütfen hesap yöneticinizle iletiÅime geçin",apiErrorTitle:"Hata! Bir Åeyler yanlıŠgitti",apiErrorBodyStart:"Tekrar denemek için sayfayı yenileyin. Sorun devam ederse, lütfen",a
2piErrorBodyEnd:"ile iletiÅime geçerek bu sorunu çözün.",apiErrorLink:"yardım merkezi",apiErrorButton:"Sayfayı Yenile",maintenanceTitle:"Bu sayfa kısa süre içinde geri dönecek",maintenanceBody:"Bakım çalıÅması yapıyoruz, bu genellikle 10 dakika ile bir saat arası sürer. Rahatsızlıktan dolayı özür dileriz.",maintenanceErrorButton:"Sayfayı Yenile",noResultsErrorTitle:"EÅleÅme bulunamadı",noResultsErrorBody:"Lütfen aramanızı gözden geçirin ve tekrar deneyin."},pl:{permissionsErrorTitle:"Potrzebujesz uprawnieÅ, aby wyÅwietliÄ tÄ stronÄ",permissionsErrorBody:"Skontaktuj siÄ z administratorem konta w celu wprowadzenia niezbÄdnych zmian",apiErrorTitle:"Ups! CoÅ poszÅo nie tak",apiErrorBodyStart:"OdÅwież stronÄ, aby spróbowaÄ ponownie. JeÅli problem bÄdzie siÄ powtarzaÅ, skontaktuj siÄ z",apiErrorBodyEnd:"aby rozwiÄ
zaÄ ten problem.",apiErrorLink:"centrum pomocy",apiErrorButton:"OdÅwież stronÄ",maintenanceTitle:"Ta strona wkrótce wróci",maintenanceBody:"Przeprowadzamy zaplanowanÄ
konserwacjÄ, aby ulepszyÄ platformÄ. Sprawdź ponownie wkrótce lub odÅwież stronÄ.",maintenanceErrorButton:"OdÅwież stronÄ",noResultsErrorTitle:"Nie znaleziono dopasowania",noResultsErrorBody:"Sprawdź swoje wyszukiwanie i spróbuj ponownie."},th:{permissionsErrorTitle:"à¸à¸¸à¸à¸à¹à¸à¸à¸¡à¸µà¸ªà¸´à¸à¸à¸´à¹à¹à¸à¸·à¹à¸à¸à¸¹à¸«à¸à¹à¸²à¸à¸µà¹",permissionsErrorBody:"à¹à¸à¸£à¸à¸à¸´à¸à¸à¹à¸à¸à¸¹à¹à¸à¸¹à¹à¸¥à¸à¸±à¸à¸à¸µà¸à¸à¸à¸à¸¸à¸à¹à¸à¸·à¹à¸à¸à¸³à¸à¸²à¸£à¸à¸£à¸±à¸à¹à¸à¸¥à¸µà¹à¸¢à¸à¸à¸µà¹à¸à¸³à¹à¸à¹à¸",apiErrorTitle:"à¸à¸¸à¹à¸à¸ªà¹! à¹à¸à¸´à¸à¸à¹à¸à¸à¸´à¸à¸à¸¥à¸²à¸",apiErrorBodyStart:"à¹à¸«à¸¥à¸à¸«à¸à¹à¸²à¸à¸µà¹à¹à¸«à¸¡à¹à¹à¸à¸·à¹à¸à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸ หาà¸à¸¢à¸±à¸à¸à¸à¸à¸±à¸à¸«à¸²à¸à¸¢à¸¹à¹ à¹à¸à¸£à¸à¸à¸´à¸à¸à¹à¸",apiErrorBodyEnd:"à¹à¸à¸·à¹à¸à¹à¸à¹à¹à¸à¸à¸±à¸à¸«à¸²à¸à¸µà¹",apiErrorLink:"ศูà¸à¸¢à¹à¸à¹à¸§à¸¢à¹à¸«à¸¥à¸·à¸",apiErrorButton:"à¹à¸«à¸¥à¸à¸«à¸à¹à¸²à¹à¸«à¸¡à¹",maintenanceTitle:"หà¸à¹à¸²à¸à¸µà¹à¸à¸°à¸à¸¥à¸±à¸à¸¡à¸²à¹à¸à¹à¸¡à¹à¸à¹à¸²",maintenanceBody:"à¹à¸£à¸²à¸à¸³à¸¥à¸±à¸à¸à¸³à¹à¸à¸´à¸à¸à¸²à¸£à¸à¸³à¸£à¸¸à¸à¸£à¸±à¸à¸©à¸²à¸à¸²à¸¡à¸à¸³à¸«à¸à¸à¹à¸à¸·à¹à¸à¸à¸£à¸±à¸à¸à¸£à¸¸à¸à¹à¸à¸¥à¸à¸à¸à¸£à¹à¸¡ à¹à¸à¸£à¸à¸à¸¥à¸±à¸à¸¡à¸²à¹à¸«à¸¡à¹à¹à¸à¸ ายหลัà¸à¸«à¸£à¸·à¸à¸£à¸µà¹à¸à¸£à¸à¸«à¸à¹à¸²à¸à¸µà¹",maintenanceErrorButton:"à¹à¸«à¸¥à¸à¸«à¸à¹à¸²à¹à¸«à¸¡à¹",noResultsErrorTitle:"à¹à¸¡à¹à¸à¸à¸£à¸²à¸¢à¸à¸²à¸£à¸à¸µà¹à¸à¸£à¸à¸à¸±à¸",noResultsErrorBody:"à¹à¸à¸£à¸à¸à¸£à¸§à¸à¸ªà¸à¸à¸à¸²à¸£à¸à¹à¸à¸«à¸²à¸à¸à¸à¸à¸¸à¸à¹à¸¥à¸°à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸"},"zh-HK":{permissionsErrorTitle:"æ¨éè¦æ¬éæè½æª¢è¦æ¤é é¢",permissionsErrorBody:"è«è¯çµ¡æ¨ç帳æ¶ç®¡çå¡é²è¡å¿
è¦ç調æ´",apiErrorTitle:"ç³ç³ï¼ç¼çé¯èª¤",apiErrorBodyStart:"è«éæ°è¼å
¥é é¢åè©¦ä¸æ¬¡ã妿å顿çºï¼è«è¯çµ¡",apiErrorBodyEnd:"以解決æ¤åé¡ã",apiErrorLink:"說æä¸å¿",apiErrorButton:"éæ°è¼å
¥é é¢",maintenanceTitle:"æ¤é é¢å°å¾å¿«æ¢å¾©",maintenanceBody:"æåæ£å¨é²è¡å®æç¶è·ä»¥æ¹åå¹³å°ãè«ç¨å¾åå便鿰æ´çé é¢ã",maintenanceErrorButton:"éæ°è¼å
¥é é¢",noResultsErrorTitle:"æ¾ä¸å°ç¬¦åçé
ç®",noResultsErrorBody:"è«æª¢æ¥æ¨çæå°æ¢ä»¶å¾åè©¦ä¸æ¬¡ã"}},To={PAGE:"page",CARD:"card"},Io=e=>e in To,Lo=e=>Io(e)?To[e]:e;function No(){return No=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},No.apply(this,arguments)}var Ro=tt.p((e=>{var{theme:t,variant:n}=e;return No({},n&&(e=>!e||g()(e)?et({langKey:"en"}):e)(t).typography.headline[n],{margin:0})}));function Do(){return Do=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Do.apply(this,arguments)}var Fo={100:"h1",200:"h2",300:"h3",400:"h4",500:"h5",600:"h6"},Mo=(0,a.forwardRef)(((e,t)=>{var n=[e,t],[r,...o]=n,{variant:i="100",as:a=Fo[i]}=r,s=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(r,["variant","as"]),[c]=o;return(0,l.jsx)(Ro,Do({ref:c,variant:i,as:a},s))}));Mo.displayName="Headline1";var Bo=e=>{var{theme:t}=e,n=wn(t.semanticTokensV9,(()=>t.tokens));return{background:{imageGradient:{start:n((e=>e.colors.bg.area.primary),"transparent"),end:n((e=>e.colors.bg.area.tertiary),"rgba(0, 0, 0, 0.04)")}}}},Vo=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),zo=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),Uo=e=>"string"==typeof e?e:void 0,Ho=e=>{var{theme:t}=e,n=t.pageState;if(!zo(n)||!Vo(n,"background"))return{};var r=n.background;if(!zo(r))return{};var o=Vo(r,"imageGradient")?r.imageGradient:void 0;return void 0===o?{}:zo(o)?yn({background:{imageGradient:{start:Uo(o.start),end:Uo(o.end)}}}):{}};function qo(){return qo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qo.apply(this,arguments)}var Wo=tt.div({width:"100%"}),$o=tt.div((e=>{var{theme:t,gradient:n=!1,center:r=!1}=e,{background:o}=(e=>{var{theme:t}=e;return bn({defaults:Bo({theme:t}),newFormatOverlay:Ho({theme:t})})})({theme:t});return qo({padding:t.space.xl,paddingBottom:0,marginBottom:t.space.m},r&&{display:"flex",justifyContent:"center"},n&&{background:"linear-gradient(to bottom, "+o.imageGradient.start+" 0%, "+o.imageGradient.end+" 100%)",backgroundSize:"100% calc(100% - "+t.space.m+")",backgroundRepeat:"no-repeat"},{[t.breakpoints.breakpoint.s]:{paddingInlineStart:t.space.s,paddingInlineEnd:t.space.s,paddingTop:t.space.s,marginBottom:t.space.s}})})),Go=tt.div((e=>{var{maxWidth:t}=e;return qo({width:"100%"},t&&{maxWidth:t},{svg:{display:"block",maxWidth:"100%",height:"auto"}})})),Ko=tt.div((e=>{var{theme:t,center:n=!1}=e;return qo({padding:t.space.xl,paddingTop:0},n&&{display:"flex",justifyContent:"center"},{[t.breakpoints.breakpoint.s]:{padding:t.space.s,paddingTop:0}})})),Zo=tt(Ko)({textAlign:"center"}),Yo=tt.div((e=>{var{maxWidth:t}=e;return qo({width:"100%"},t&&{maxWidth:t})})),Xo=tt.div({svg:{margin:"0 auto"}}),Qo=tt(Mo)({marginBottom:8}),Jo=tt.div({marginTop:24});function ei(){return ei=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ei.apply(this,arguments)}function ti(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}var ni,ri,oi=e=>{var{center:t=!1,children:n,width:r="100%"}=e,o=ti(e,["center","children","width"]);return(0,l.jsx)(Zo,ei({center:t},o,{children:(0,l.jsx)(Yo,{maxWidth:r,children:n})}))},ii=e=>{var{children:t,variant:n="page"}=e,r=ti(e,["children","variant"]);return Io(n)&&Po()(!0,'[@airwallex/page-state PageState] `variant="'+n+'"` is deprecated. Remove it â variant is not used by PageState.'),(0,l.jsx)(Wo,ei({},r,{children:t}))},ai=e=>{var{gradient:t=!1,center:n=!1,width:r="100%",children:o}=e,i=ti(e,["gradient","center","width","children"]);return(0,l.jsx)($o,ei({gradient:t,center:n},i,{children:(0,l.jsx)(Go,{maxWidth:r,children:o})}))},si=e=>{var{children:t,title:n,body:r,variant:o="page",alt:i,image:a}=e,s=ti(e,["children","title","body","variant","alt","image"]);Io(o)&&Po()(!0,'[@airwallex/page-state ErrorState] `variant="'+o+'"` is deprecated. Use `variant="'+To[o]+'"` instead.');var c=Lo(o),u=a,d=(0,l.jsxs)(l.Fragment,{children:[u&&"card"===c&&(0,l.jsx)(u,{size:120,alt:i}),u&&"page"===c&&(0,l.jsx)(u,{width:270,alt:i})]}),p=(0,l.jsxs)(l.Fragment,{children:["page"===c&&(0,l.jsx)(bo.A,{width:270}),"card"===c&&(0,l.jsx)(Eo,{size:120})]});return(0,l.jsxs)(ii,ei({variant:c},s,{children:[(0,l.jsx)(ai,ei({center:!0},"card"===c&&{gradient:!1},"page"===c&&{gradient:!0},{children:(0,l.jsx)(Xo,{children:a?d:p})})),(0,l.jsxs)(oi,ei({center:!0},"card"===c&&{width:"38ch"},"page"===c&&{width:"44ch"},{children:["card"===c&&(0,l.jsx)(Qo,{as:"h2",variant:"300",children:n}),"page"===c&&(0,l.jsx)(Qo,{as:"h2",variant:"100",children:n}),(0,l.jsx)(at,{children:r}),t&&(0,l.jsx)(Jo,{children:t})]}))]}))},li=e=>{var{langKey:t,variant:n="page",onReload:r}=e,o=ti(e,["langKey","variant","onReload"]);Io(n)&&Po()(!0,'[@airwallex/page-state MaintenanceErrorState] `variant="'+n+'"` is deprecated. Use `variant="'+To[n]+'"` instead.');var i=Lo(n),{t:a}=(0,Ao.B)(jo,{langKey:t});return(0,l.jsx)(si,ei({variant:i,image:"card"===i?Oo:xo,title:a("maintenanceTitle"),alt:a("maintenanceTitle"),body:a("maintenanceBody")},o,{children:(0,l.jsx)(vo,{variant:"SECONDARY",onClick:()=>{r?r():location.reload()},children:a("maintenanceErrorButton")})}))},ci="airwallex_webapp_auth_token",ui="airwallex_webapp_auth_token_expiry_client_time",di=function(e){var t;return function(){try{var e="awx_hasPermissionToOperateLocalStorage";window.localStorage.setItem(e,"true");var t="true"===window.localStorage.getItem(e);return window.localStorage.removeItem(e),t}catch(e){return console.error(e),!1}}()?window.localStorage.getItem(e):(null===(t=window.awx_localStorage)||void 0===t?void 0:t[e])||null},pi=n(13293),fi=function(e){return e?function(e){var t,n,r,o;try{var i=e.split(".")[1],a=JSON.parse((0,pi.D4)(i));return{token:e,username:null!==(n=di("airwallex_webapp_login_remembered_email"),r=di("airwallex_webapp_login_remembered_phone"),o=di("airwallex_webapp_login_remembered_lastmode"),t="EMAIL"===o?n:"PHONE"===o?r:n||r)&&void 0!==t?t:"",accountId:a.account_id,orgId:a.org_id,orgdc:a.orgdc,accountGroupId:a.account_group_id,region:a.data_center_region,dc:a.dc,userDc:a.user_dc,padc:a.padc,issdc:a.issdc,type:a.type,scope:a.scope,clientId:a.client_id,exp:a.exp,iat:a.iat,userId:a.sub}}catch(e){return console.error("Failed to parse the token: "+e),null}}(e):null};function hi(){var e,t,n,r,o,i,a,s,l=(r=di(ci),o=di(ui),i=Number(o),a=!!r&&!!fi(r),s=!!o&&"number"==typeof(n=i)&&!Number.isNaN(n),a&&s&&(new Date).getTime()<=i?r:null);return l&&null!==(t=null===(e=fi(l))||void 0===e?void 0:e.orgId)&&void 0!==t?t:null}(ri=ni||(ni={})).en="en",ri.zh="zh";var mi=function(){var e=di("ls.langKey");if(!e)return ni.en;try{return JSON.parse(e)===ni.zh?ni.zh:ni.en}catch(t){return console.error("Error occurred in parsing language key ".concat(e,", error: ").concat(JSON.stringify(t))),ni.en}},gi=n(25149),vi=n(88486);function yi(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}
2function bi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}e=n.hmd(e);var wi,xi={exports:{}},ki={};xi.exports=function(){if(wi)return ki;wi=1;var e=s(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(e,n,a){var s,l={},c=null,u=null;for(s in void 0!==a&&(c=""+a),void 0!==n.key&&(c=""+n.key),void 0!==n.ref&&(u=n.ref),n)r.call(n,s)&&!i.hasOwnProperty(s)&&(l[s]=n[s]);if(e&&e.defaultProps)for(s in n=e.defaultProps)void 0===l[s]&&(l[s]=n[s]);return{$$typeof:t,type:e,key:c,ref:u,props:l,_owner:o.current}}return ki.Fragment=n,ki.jsx=a,ki.jsxs=a,ki}();var Ci=xi.exports;const Ei=tt(gi.Ay)((({theme:e})=>({height:"100%",width:"100% !important",maxWidth:"none",display:"flex",flexDirection:"column",margin:0,marginTop:118,[e.breakpoints.breakpoint.s]:{marginTop:0}}))),Si=()=>Ci.jsx(Ei,{children:Ci.jsx(li,{langKey:mi()})});
2var Oi=function(e,t){return Oi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Oi(e,t)};function Ai(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Oi(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var _i=function(){return _i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},_i.apply(this,arguments)};function Pi(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function ji(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var Ti="Invariant Violation",Ii=Object.setPrototypeOf,Li=void 0===Ii?function(e,t){return e.__proto__=t,e}:Ii,Ni=function(e){function t(n){void 0===n&&(n=Ti);var r=e.call(this,"number"==typeof n?Ti+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=Ti,Li(r,t.prototype),r}return Ai(t,e),t}(Error);function Ri(e,t){if(!e)throw new Ni(t)}var Di=["debug","log","warn","error","silent"],Fi=Di.indexOf("log");function Mi(e){return function(){if(Di.indexOf(e)>=Fi)return(console[e]||console.log).apply(console,arguments)}}!function(e){e.debug=Mi("debug"),e.log=Mi("log"),e.warn=Mi("warn"),e.error=Mi("error")}(Ri||(Ri={}));var Bi="3.13.8";function Vi(e){try{return e()}catch(e){}}var zi=Vi((function(){return globalThis}
2))||Vi((function(){return window}))||Vi((function(){return self}))||Vi((function(){return n.g}))||Vi((function(){return Vi.constructor("return this")()})),Ui=new Map;function Hi(e){return function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if("number"==typeof t){var o=t;(t=Ki(o))||(t=Zi(o,n),n=[])}e.apply(void 0,[t].concat(n))}}var qi=Object.assign((function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];e||Ri(e,Ki(t,n)||Zi(t,n))}),{debug:Hi(Ri.debug),log:Hi(Ri.log),warn:Hi(Ri.warn),error:Hi(Ri.error)});function Wi(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Ni(Ki(e,t)||Zi(e,t))}var $i=Symbol.for("ApolloErrorMessageHandler_"+Bi);function Gi(e){if("string"==typeof e)return e;try{return function(e,t){var n,r,o=(n="stringifyForDisplay",r=Ui.get(n)||1,Ui.set(n,r+1),"".concat(n,":").concat(r,":").concat(Math.random().toString(36).slice(2)));return JSON.stringify(e,(function(e,t){return void 0===t?o:t}),t).split(JSON.stringify(o)).join("<undefined>")}(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function Ki(e,t){if(void 0===t&&(t=[]),e)return zi[$i]&&zi[$i](e,t.map(Gi))}function Zi(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:Bi,message:e,args:t.map(Gi)})))}function Yi(e,t){if(!Boolean(e))throw new Error(t)}function Xi(e,t){if(!Boolean(e))throw new Error("Unexpected invariant triggered.")}const Qi=/\r\n|[\n\r]/g;function Ji(e,t){let n=0,r=1;for(const o of e.body.matchAll(Qi)){if("number"==typeof o.index||Xi(!1),o.index>=t)break;n=o.index+o[0].length,r+=1}return{line:r,column:t+1-n}}function ea(e){return ta(e.source,Ji(e.source,e.start))}function ta(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,o=t.line-1,i=e.locationOffset.line-1,a=t.line+i,s=1===t.line?n:0,l=t.column+s,c=`${e.name}:${a}:${l}\n`,u=r.split(/\r\n|[\n\r]/g),d=u[o];if(d.length>120){const e=Math.floor(l/80),t=l%80,n=[];for(let e=0;e<d.length;e+=80)n.push(d.slice(e,e+80));return c+na([[`${a} |`,n[0]],...n.slice(1,e+1).map((e=>["|",e])),["|","^".padStart(t)],["|",n[e+1]]])}return c+na([[a-1+" |",u[o-1]],[`${a} |`,d],["|","^".padStart(l)],[`${a+1} |`,u[o+1]]])}function na(e){const t=e.filter((([e,t])=>void 0!==t)),n=Math.max(...t.map((([e])=>e.length)));return t.map((([e,t])=>e.padStart(n)+(t?" "+t:""))).join("\n")}class ra extends Error{constructor(e,...t){var n,r,o;const{nodes:i,source:a,positions:s,path:l,originalError:c,extensions:u}=function(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=l?l:void 0,this.originalError=null!=c?c:void 0,this.nodes=oa(Array.isArray(i)?i:i?[i]:void 0);const d=oa(null===(n=this.nodes)||void 0===n?void 0:n.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!=a?a:null==d||null===(r=d[0])||void 0===r?void 0:r.source,this.positions=null!=s?s:null==d?void 0:d.map((e=>e.start)),this.locations=s&&a?s.map((e=>Ji(a,e))):null==d?void 0:d.map((e=>Ji(e.source,e.start)));const p="object"==typeof(f=null==c?void 0:c.extensions)&&null!==f?null==c?void 0:c.extensions:void 0;var f;this.extensions=null!==(o=null!=u?u:p)&&void 0!==o?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=c&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,ra):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const t of this.nodes)t.loc&&(e+="\n\n"+ea(t.loc));else if(this.source&&this.locations)for(const t of this.locations)e+="\n\n"+ta(this.source,t);return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function oa(e){return void 0===e||0===e.length?void 0:e}function ia(e,t,n){return new ra(`Syntax Error: ${n}`,{source:e,positions:[t]})}class aa{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class sa{constructor(e,t,n,r,o,i){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=o,this.value=i,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}var la,ca,ua,da;function pa(e){return e>=48&&e<=57}function fa(e){return e>=97&&e<=122||e>=65&&e<=90}function ha(e){return fa(e)||95===e}function ma(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,o=-1;for(let t=0;t<e.length;++t){var i;const a=e[t],s=ga(a);s!==a.length&&(r=null!==(i=r)&&void 0!==i?i:t,o=t,0!==t&&s<n&&(n=s))}return e.map(((e,t)=>0===t?e:e.slice(n))).slice(null!==(t=r)&&void 0!==t?t:0,o+1)}function ga(e){let t=0;for(;t<e.length&&(9===(n=e.charCodeAt(t))||32===n);)++t;var n;return t}new Set(Object.keys({Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],Float
2Value:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]})),function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(la||(la={})),function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(ca||(ca={})),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(ua||(ua={})),function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(da||(da={}));class va{constructor(e){const t=new sa(da.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==da.EOF)do{if(e.next)e=e.next;else{const t=Ea(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===da.COMMENT);return e}}function ya(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function ba(e,t){return wa(e.charCodeAt(t))&&xa(e.charCodeAt(t+1))}function wa(e){return e>=55296&&e<=56319}function xa(e){return e>=56320&&e<=57343}function ka(e,t){const n=e.source.body.codePointAt(t);if(void 0===n)return da.EOF;
2if(n>=32&&n<=126){const e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function Ca(e,t,n,r,o){const i=e.line,a=1+n-e.lineStart;return new sa(t,n,r,i,a,o)}function Ea(e,t){const n=e.source.body,r=n.length;let o=t;for(;o<r;){const t=n.charCodeAt(o);switch(t){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===n.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 35:return Sa(e,o);case 33:return Ca(e,da.BANG,o,o+1);case 36:return Ca(e,da.DOLLAR,o,o+1);case 38:return Ca(e,da.AMP,o,o+1);case 40:return Ca(e,da.PAREN_L,o,o+1);case 41:return Ca(e,da.PAREN_R,o,o+1);case 46:if(46===n.charCodeAt(o+1)&&46===n.charCodeAt(o+2))return Ca(e,da.SPREAD,o,o+3);break;case 58:return Ca(e,da.COLON,o,o+1);case 61:return Ca(e,da.EQUALS,o,o+1);case 64:return Ca(e,da.AT,o,o+1);case 91:return Ca(e,da.BRACKET_L,o,o+1);case 93:return Ca(e,da.BRACKET_R,o,o+1);case 123:return Ca(e,da.BRACE_L,o,o+1);case 124:return Ca(e,da.PIPE,o,o+1);case 125:return Ca(e,da.BRACE_R,o,o+1);case 34:return 34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)?Na(e,o):_a(e,o)}if(pa(t)||45===t)return Oa(e,o,t);if(ha(t))return Ra(e,o);throw ia(e.source,o,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":ya(t)||ba(n,o)?`Unexpected character: ${ka(e,o)}.`:`Invalid character: ${ka(e,o)}.`)}return Ca(e,da.EOF,r,r)}function Sa(e,t){const n=e.source.body,r=n.length;let o=t+1;for(;o<r;){const e=n.charCodeAt(o);if(10===e||13===e)break;if(ya(e))++o;else{if(!ba(n,o))break;o+=2}}return Ca(e,da.COMMENT,t,o,n.slice(t+1,o))}function Oa(e,t,n){const r=e.source.body;let o=t,i=n,a=!1;if(45===i&&(i=r.charCodeAt(++o)),48===i){if(i=r.charCodeAt(++o),pa(i))throw ia(e.source,o,`Invalid number, unexpected digit after 0: ${ka(e,o)}.`)}else o=Aa(e,o,i),i=r.charCodeAt(o);if(46===i&&(a=!0,i=r.charCodeAt(++o),o=Aa(e,o,i),i=r.charCodeAt(o)),69!==i&&101!==i||(a=!0,i=r.charCodeAt(++o),43!==i&&45!==i||(i=r.charCodeAt(++o)),o=Aa(e,o,i),i=r.charCodeAt(o)),46===i||ha(i))throw ia(e.source,o,`Invalid number, expected digit but got: ${ka(e,o)}.`);return Ca(e,a?da.FLOAT:da.INT,t,o,r.slice(t,o))}function Aa(e,t,n){if(!pa(n))throw ia(e.source,t,`Invalid number, expected digit but got: ${ka(e,t)}.`);const r=e.source.body;let o=t+1;for(;pa(r.charCodeAt(o));)++o;return o}function _a(e,t){const n=e.source.body,r=n.length;let o=t+1,i=o,a="";for(;o<r;){const r=n.charCodeAt(o);if(34===r)return a+=n.slice(i,o),Ca(e,da.STRING,t,o+1,a);if(92!==r){if(10===r||13===r)break;if(ya(r))++o;else{if(!ba(n,o))throw ia(e.source,o,`Invalid character within String: ${ka(e,o)}.`);o+=2}}else{a+=n.slice(i,o);const t=117===n.charCodeAt(o+1)?123===n.charCodeAt(o+2)?Pa(e,o):ja(e,o):La(e,o);a+=t.value,o+=t.size,i=o}}throw ia(e.source,o,"Unterminated string.")}function Pa(e,t){const n=e.source.body;let r=0,o=3;for(;o<12;){const e=n.charCodeAt(t+o++);if(125===e){if(o<5||!ya(r))break;return{value:String.fromCodePoint(r),size:o}}if(r=r<<4|Ia(e),r<0)break}throw ia(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+o)}".`)}function ja(e,t){const n=e.source.body,r=Ta(n,t+2);if(ya(r))return{value:String.fromCodePoint(r),size:6};if(wa(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){const e=Ta(n,t+8);if(xa(e))return{value:String.fromCodePoint(r,e),size:12}}throw ia(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function Ta(e,t){return Ia(e.charCodeAt(t))<<12|Ia(e.charCodeAt(t+1))<<8|Ia(e.charCodeAt(t+2))<<4|Ia(e.charCodeAt(t+3))}function Ia(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function La(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw ia(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function Na(e,t){const n=e.source.body,r=n.length;let o=e.lineStart,i=t+3,a=i,s="";const l=[];for(;i<r;){const r=n.charCodeAt(i);if(34===r&&34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2)){s+=n.slice(a,i),l.push(s);const r=Ca(e,da.BLOCK_STRING,t,i+3,ma(l).join("\n"));return e.line+=l.length-1,e.lineStart=o,r}if(92!==r||34!==n.charCodeAt(i+1)||34!==n.charCodeAt(i+2)||34!==n.charCodeAt(i+3))if(10!==r&&13!==r)if(ya(r))++i;else{if(!ba(n,i))throw ia(e.source,i,`Invalid character within String: ${ka(e,i)}.`);i+=2}else s+=n.slice(a,i),l.push(s),13===r&&10===n.charCodeAt(i+1)?i+=2:++i,s="",a=i,o=i;else s+=n.slice(a,i),a=i+1,i+=4}throw ia(e.source,i,"Unterminated string.")}function Ra(e,t){const n=e.source.body,r=n.length;let o=t+1;for(;o<r&&(fa(i=n.charCodeAt(o))||pa(i)||95===i);)++o;var i;return Ca(e,da.NAME,t,o,n.slice(t,o))}const Da=10,Fa=2;function Ma(e){return Ba(e,[])}function Ba(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:Ba(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>Fa)return"[Array]";const n=Math.min(Da,e.length),r=e.length-n,o=[];for(let r=0;r<n;++r)o.push(Ba(e[r],t));return 1===r?o.push("... 1 more item"):r>1&&o.push(`... ${r} more items`),"["+o.join(", ")+"]"}(e,n);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>Fa)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const r=n.map((([e,n])=>e+": "+Ba(n,t)));return"{ "+r.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}const Va=globalThis.process?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;
2if("object"==typeof e&&null!==e){var n;const r=t.prototype[Symbol.toStringTag];if(r===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(n=e.constructor)||void 0===n?void 0:n.name)){const t=Ma(e);throw new Error(`Cannot use ${r} "${t}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1};class za{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||Yi(!1,`Body must be a string. Received: ${Ma(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||Yi(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||Yi(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class Ua{constructor(e,t={}){const n=function(e){return Va(e,za)}(e)?e:new za(e);this._lexer=new va(n),this._options=t,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const e=this.expectToken(da.NAME);return this.node(e,{kind:ua.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:ua.DOCUMENT,definitions:this.many(da.SOF,this.parseDefinition,da.EOF)})}parseDefinition(){if(this.peek(da.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===da.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw ia(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(da.BRACE_L))return this.node(e,{kind:ua.OPERATION_DEFINITION,operation:la.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let n;return this.peek(da.NAME)&&(n=this.parseName()),this.node(e,{kind:ua.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(da.NAME);switch(e.value){case"query":return la.QUERY;case"mutation":return la.MUTATION;case"subscription":return la.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(da.PAREN_L,this.parseVariableDefinition,da.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:ua.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(da.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(da.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(da.DOLLAR),this.node(e,{kind:ua.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:ua.SELECTION_SET,selections:this.many(da.BRACE_L,this.parseSelection,da.BRACE_R)})}parseSelection(){return this.peek(da.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let n,r;return this.expectOptionalToken(da.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:ua.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(da.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(da.PAREN_L,t,da.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,n=this.parseName();return this.expectToken(da.COLON),this.node(t,{kind:ua.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(da.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(da.NAME)?this.node(e,{kind:ua.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:ua.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token;return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:ua.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:ua.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case da.BRACKET_L:return this.parseList(e);case da.BRACE_L:return this.parseObject(e);case da.INT:return this.advanceLexer(),this.node(t,{kind:ua.INT,value:t.value});case da.FLOAT:return this.advanceLexer(),this.node(t,{kind:ua.FLOAT,value:t.value});case da.STRING:case da.BLOCK_STRING:return this.parseStringLiteral();case da.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:ua.BOOLEAN,value:!0});case"false":return this.node(t,{kind:ua.BOOLEAN,value:!1});case"null":return this.node(t,{kind:ua.NULL});default:return this.node(t,{kind:ua.ENUM,value:t.value})}case da.DOLLAR:if(e){if(this.expectToken(da.DOLLAR),this._lexer.token.kind===da.NAME){const e=this._lexer.token.value;throw ia(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:ua.STRING,value:e.value,block:e.kind===da.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:ua.LIST,values:this.any(da.BRACKET_L,(()=>this.parseValueLiteral(e)),da.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:ua.OBJECT,fields:this.any(da.BRACE_L,(()=>this.parseObjectField(e)),da.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,n=this.parseName();return this.expectToken(da.COLON),this.node(t,{kind:ua.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(da.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(da.AT),this.node(t,{kind:ua.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(da.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(da.BRACKET_R),t=this.node(e,{kind:ua.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(da.BANG)?this.node(e,{kind:ua.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:ua.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(da.STRING)||this.peek(da.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const n=this.parseConstDirectives(),r=this.many(da.BRACE_L,this.parseOperationTypeDefinition,da.BRACE_R);return this.node(e,{kind:ua.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(da.COLON);const n=this.parseNamedType();return this.node(e,{kind:ua.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:ua.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),i=this.parseFieldsDefinition();return this.node(e,{kind:ua.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:i})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(da.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(da.BRACE_L,this.parseFieldDefinition,da.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(da.COLON);const o=this.parseTypeReference(),i=this.parseConstDirectives();return this.node(e,{kind:ua.FIELD_DEFINITION,description:t,name:n,arguments:r,type:o,directives:i})}parseArgumentDefs(){return this.optionalMany(da.PAREN_L,this.parseInputValueDef,da.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(da.COLON);const r=this.parseTypeReference();let o;this.expectOptionalToken(da.EQUALS)&&(o=this.parseConstValueLiteral());const i=this.parseConstDirectives();return this.node(e,{kind:ua.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:o,directives:i})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),i=this.parseFieldsDefinition();return this.node(e,{kind:ua.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:i})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(e,{kind:ua.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(da.EQUALS)?this.delimitedMany(da.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(e,{kind:ua.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:o})}parseEnumValuesDefinition(){return this.optionalMany(da.BRACE_L,this.parseEnumValueDefinition,da.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:ua.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw ia(this._lexer.source,this._lexer.token.start,`${Ha(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const n=this.parseName(),r=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(e,{kind:ua.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(da.BRACE_L,this.parseInputValueDef,da.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===da.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),n=this.optionalMany(da.BRACE_L,this.parseOperationTypeDefinition,da.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:ua.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:ua.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return this.node(e,{kind:ua.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return this.node(e,{kind:ua.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:ua.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:ua.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:ua.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(da.AT);const n=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const i=this.parseDirectiveLocations();return this.node(e,{kind:ua.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:o,locations:i})}parseDirectiveLocations(){return this.delimitedMany(da.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(ca,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new aa(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw ia(this._lexer.source,t.start,`Expected ${qa(e)}, f
2ound ${Ha(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==da.NAME||t.value!==e)throw ia(this._lexer.source,t.start,`Expected "${e}", found ${Ha(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===da.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){const t=null!=e?e:this._lexer.token;return ia(this._lexer.source,t.start,`Unexpected ${Ha(t)}.`)}any(e,t,n){this.expectToken(e);const r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);const r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);const n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n}advanceLexer(){const{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==da.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw ia(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function Ha(e){const t=e.value;return qa(e.kind)+(null!=t?` "${t}"`:"")}function qa(e){return function(e){return e===da.BANG||e===da.DOLLAR||e===da.AMP||e===da.PAREN_L||e===da.PAREN_R||e===da.SPREAD||e===da.COLON||e===da.EQUALS||e===da.AT||e===da.BRACKET_L||e===da.BRACKET_R||e===da.BRACE_L||e===da.PIPE||e===da.BRACE_R}(e)?`"${e}"`:e}var Wa="ReactNative"==Vi((function(){return navigator.product})),$a="function"==typeof Symbol&&"function"==typeof Symbol.for,Ga="function"==typeof Vi((function(){return window.document.createElement})),Ka=Vi((function(){return navigator.userAgent.indexOf("jsdom")>=0}))||!1,Za=(Ga||Wa)&&!Ka;function Ya(e){return null!==e&&"object"==typeof e}function Xa(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function Qa(){}class Ja{constructor(e=1/0,t=Qa){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){const t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}function es(){}const ts=es,ns="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},rs="undefined"!=typeof WeakMap?WeakMap:Map,os="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:es,unregister:es}};class is{constructor(e=1/0,t=ts){this.max=e,this.dispose=t,this.map=new rs,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){const t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);const n=t.key;delete t.key,t.keyRef=new ns(n),this.registry.register(n,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new os(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);
2return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.scheduleFinalization(n),this.map.set(e,n),this.size++,n.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;const t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){const t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}var as=new WeakSet;function ss(e){e.size<=(e.max||-1)||as.has(e)||(as.add(e),setTimeout((function(){e.clean(),as.delete(e)}),100))}var ls=function(e,t){var n=new is(e,t);return n.set=function(e,t){var n=is.prototype.set.call(this,e,t);return ss(this),n},n},cs=function(e,t){var n=new Ja(e,t);return n.set=function(e,t){var n=Ja.prototype.set.call(this,e,t);return ss(this),n},n},us=Symbol.for("apollo.cacheSize"),ds=_i({},zi[us]),ps={};function fs(e,t){ps[e]=t}var hs,ms=Object.assign((function(e){return JSON.stringify(e,gs)}),{reset:function(){hs=new cs(ds.canonicalStringify||1e3)}});function gs(e,t){if(t&&"object"==typeof t){var n=Object.getPrototypeOf(t);if(n===Object.prototype||null===n){var r=Object.keys(t);if(r.every(vs))return t;var o=JSON.stringify(r),i=hs.get(o);if(!i){r.sort();var a=JSON.stringify(r);i=hs.get(a)||r,hs.set(o,i),hs.set(a,i)}var s=Object.create(n);return i.forEach((function(e){s[e]=t[e]})),s}}return t}function vs(e,t,n){return 0===t||n[t-1]<=e}!1!==globalThis.__DEV__&&fs("canonicalStringify",(function(){return hs.size})),ms.reset();var ys=["connection","include","skip","client","rest","export","nonreactive"],bs=ms;function ws(e){qi(e&&"Document"===e.kind,88);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw Wi(89,e.kind);return e}));return qi(t.length<=1,90,t.length),e}function xs(e){return ws(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}Object.assign((function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var o={};return r.forEach((function(e){o[e]=t[e]})),"".concat(n.connection.key,"(").concat(bs(o),")")}return n.connection.key}var i=e;if(t){var a=bs(t);i+="(".concat(a,")")}return n&&Object.keys(n).forEach((function(e){-1===ys.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?i+="@".concat(e,"(").concat(bs(n[e]),")"):i+="@".concat(e))})),i}),{setStringify:function(e){var t=bs;return bs=e,t}});let ks=null;const Cs={};let Es=1;function Ss(e){try{return e()}catch(e){}}const Os="@wry/context:Slot",As=Ss((()=>globalThis))||Ss((()=>n.g))||Object.create(null),_s=As[Os]||Array[Os]||function(e){try{Object.defineProperty(As,Os,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",Es++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=ks;e;e=e.parent)if(this.id in e.slots){const t=e.slots[this.id];if(t===Cs)break;return e!==ks&&(ks.slots[this.id]=t),!0}return ks&&(ks.slots[this.id]=Cs),!1}getValue(){if(this.hasValue())return ks.slots[this.id]}withValue(e,t,n,r){const o={__proto__:null,[this.id]:e},i=ks;ks={parent:i,slots:o};try{return t.apply(r,n)}finally{ks=i}}static bind(e){const t=ks;return function(){const n=ks;try{return ks=t,e.apply(this,arguments)}finally{ks=n}}}static noContext(e,t,n){if(!ks)return e.apply(n,t);{const r=ks;try{return ks=null,e.apply(n,t)}finally{ks=r}}}}),{bind:Ps,noContext:js}=_s;function Ts(e){return Array.isArray(e)&&e.length>0}function Is(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ls(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ns(e,t,n){return t&&Ls(e.prototype,t),n&&Ls(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}new _s;var Rs=function(){return"function"==typeof Symbol},Ds=function(e){return Rs()&&Boolean(Symbol[e])},Fs=function(e){return Ds(e)?Symbol[e]:"@@"+e};Rs()&&!Ds("observable")&&(Symbol.observable=Symbol("observable"));var Ms=Fs("iterator"),Bs=Fs("observable"),Vs=Fs("species");function zs(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw new TypeError(n+" is not a function");return n}}function Us(e){var t=e.constructor;return void 0!==t&&null===(t=t[Vs])&&(t=void 0),void 0!==t?t:Qs}function Hs(e){return e instanceof Qs}function qs(e){qs.log?qs.log(e):setTimeout((function(){throw e}))}function Ws(e){Promise.resolve().then((function(){try{e()}catch(e){qs(e)}}))}function $s(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var n=zs(t,"unsubscribe");n&&n.call(t)}}catch(e){qs(e)}}function Gs(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function Ks(e,t,n){e._state="running";var r=e._observer;try{var o=zs(r,t);switch(t){case"next":o&&o.call(r,n);break;case"error":if(Gs(e),!o)throw n;o.call(r,n);break;case"complete":Gs(e),o&&o.call(r)}}catch(e){qs(e)}"closed"===e._state?$s(e):"running"===e._state&&(e._state="ready")}function Zs(e,t,n){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:n}],void Ws((function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(Ks(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)}))):void Ks(e,t,n);e._queue.push({type:t,value:n})}}var Ys=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new Xs(this);try{this._cleanup=t.call(void 0,n)}catch(e){n.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(Gs(this),$s(this))},Ns(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),Xs=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){Zs(this._subscription,"next",e)},t.error=function(e){Zs(this._subscription,"error",e)},t.complete=function(){Zs(this._subscription,"complete")},Ns(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),Qs=function(){function e(t){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return"object"==typeof e&&null!==e||(e={next:e,error:arguments[1],complete:arguments[2]}),new Ys(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise((function(n,r){if("function"==typeof e)var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){r(e),o.unsubscribe()}},error:r,complete:n});else r(new TypeError(e+" is not a function"));function i(){o.unsubscribe(),n()}}))},t.map=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(Us(this))((function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))},t.filter=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(Us(this))((function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))},t.reduce=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=Us(this),r=arguments.length>1,o=!1,i=arguments[1];return new n((function(n){return t.subscribe({next:function(t){var a=!o;if(o=!0,!a||r)try{i=e(i,t)}catch(e){return n.error(e)}else i=t},error:function(e){n.error(e)},complete:function(){if(!o&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(i),n.complete()}})}))},t.concat=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Us(this);return new o((function(t){var r,i=0;return function e(a){r=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){i===n.length?(r=void 0,t.complete()):e(o.from(n[i++]))}})}(e),function(){r&&(r.unsubscribe(),r=void 0)}}))},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=Us(this);return new n((function(r){var o=[],i=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return r.error(e)}var i=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=o.indexOf(i);e>=0&&o.splice(e,1),a()}});o.push(i)},error:function(e){r.error(e)},complete:function(){a()}});function a(){i.closed&&0===o.length&&r.complete()}return function(){o.forEach((function(e){return e.unsubscribe()})),i.unsubscribe()}}))},t[Bs]=function(){return this},e.from=function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=zs(t,Bs);if(r){var o=r.call(t);if(Object(o)!==o)throw new TypeError(o+" is not an object");return Hs(o)&&o.constructor===n?o:new n((function(e){return o.subscribe(e)}))}if(Ds("iterator")&&(r=zs(t,Ms)))return new n((function(e){Ws((function(){if(!e.closed){for(var n,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Is(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Is(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(r.call(t));!(n=o()).done;){var i=n.value;if(e.next(i),e.closed)return}e.complete()}}))}));if(Array.isArray(t))return new n((function(e){Ws((function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}}))}));throw new TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return new("function"==typeof this?this:e)((function(e){Ws((function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}}))}))},Ns(e,null,[{key:Vs,get:function(){return this}}]),e}();Rs()&&Object.defineProperty(Qs,Symbol("extensions"),{value:{symbol:Bs,hostReportError:qs},configurable:!0}),function(e){var t,n=e.Symbol;if("function"==typeof n)if(n.observable)t=n.observable;else{t="function"==typeof n.for?n.for("https://github.com/benlesh/symbol-observable"):n("https://github.com/benlesh/symbol-observable");try{n.observable=t}catch(e){}}else t="@@observable"}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:e);var Js=Qs.prototype,el="@@observable";Js[el]||(Js[el]=function(){return this});var tl=Object.prototype.toString;function nl(e){return rl(e)}function rl(e,t){switch(tl.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var n=e.slice(0);
2return t.set(e,n),n.forEach((function(e,r){n[r]=rl(e,t)})),n;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var r=Object.create(Object.getPrototypeOf(e));return t.set(e,r),Object.keys(e).forEach((function(n){r[n]=rl(e[n],t)})),r;default:return e}}function ol(e){return!1!==globalThis.__DEV__&&(t=e,(n=new Set([t])).forEach((function(e){Ya(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach((function(t){Ya(e[t])&&n.add(e[t])}))}))),e;var t,n}function il(e,t,n){var r=[];e.forEach((function(e){return e[t]&&r.push(e)})),r.forEach((function(e){return e[t](n)}))}function al(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach((function(e){e&&Object.keys(e).forEach((function(t){var r=e[t];void 0!==r&&(n[t]=r)}))})),n}function sl(e,t){return al(e,t,t.variables&&{variables:al(_i(_i({},e&&e.variables),t.variables))})}var ll=function(e){function t(n){var r,o,i=n.graphQLErrors,a=n.protocolErrors,s=n.clientErrors,l=n.networkError,c=n.errorMessage,u=n.extraInfo,d=e.call(this,c)||this;return d.name="ApolloError",d.graphQLErrors=i||[],d.protocolErrors=a||[],d.clientErrors=s||[],d.networkError=l||null,d.message=c||(o=ji(ji(ji([],(r=d).graphQLErrors,!0),r.clientErrors,!0),r.protocolErrors,!0),r.networkError&&o.push(r.networkError),o.map((function(e){return Ya(e)&&e.message||"Error message not found."})).join("\n")),d.extraInfo=u,d.cause=ji(ji(ji([l],i||[],!0),a||[],!0),s||[],!0).find((function(e){return!!e}))||null,d.__proto__=t.prototype,d}return Ai(t,e),t}(Error);const{toString:cl,hasOwnProperty:ul}=Object.prototype,dl=Function.prototype.toString,pl=new Map;function fl(e,t){try{return hl(e,t)}finally{pl.clear()}}function hl(e,t){if(e===t)return!0;const n=cl.call(e);if(n!==cl.call(t))return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(yl(e,t))return!0;const n=ml(e),r=ml(t),o=n.length;if(o!==r.length)return!1;for(let e=0;e<o;++e)if(!ul.call(t,n[e]))return!1;for(let r=0;r<o;++r){const o=n[r];if(!hl(e[o],t[o]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!=e)return t!=t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e==`${t}`;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(yl(e,t))return!0;const r=e.entries(),o="[object Map]"===n;for(;;){const e=r.next();if(e.done)break;const[n,i]=e.value;if(!t.has(n))return!1;if(o&&!hl(i,t.get(n)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{let n=e.byteLength;if(n===t.byteLength)for(;n--&&e[n]===t[n];);return-1===n}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const n=dl.call(e);return n===dl.call(t)&&!function(e,t){const n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}(n,vl)}}return!1}function ml(e){return Object.keys(e).filter(gl,e)}function gl(e){return void 0!==this[e]}const vl="{ [native code] }";function yl(e,t){let n=pl.get(e);if(n){if(n.has(t))return!0}else pl.set(e,n=new Set);return n.add(t),!1}function bl(e,t,n,r){var o,i=t.data,a=Pi(t,["data"]),s=n.data;return fl(a,Pi(n,["data"]))&&wl(function(e){var t;ws(e);for(var n=0,r=e.definitions;n<r.length;n++){var o=r[n];if("OperationDefinition"===o.kind){var i=o.operation;if("query"===i||"mutation"===i||"subscription"===i)return o}"FragmentDefinition"!==o.kind||t||(t=o)}if(t)return t;throw Wi(95)}(e).selectionSet,i,s,{fragmentMap:Xa((o=e,o.definitions.filter((function(e){return"FragmentDefinition"===e.kind})))),variables:r})}function wl(e,t,n,r){if(t===n)return!0;var o=new Set;return e.selections.every((function(e){if(o.has(e))return!0;if(o.add(e),!function(e,t){var n=e.directives;return!n||!n.length||function(e){var t=[];return e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var n=e.arguments,r=e.name.value;qi(n&&1===n.length,79,r);var o=n[0];qi(o.name&&"if"===o.name.value,80,r);var i=o.value;qi(i&&("Variable"===i.kind||"BooleanValue"===i.kind),81,r),t.push({directive:e,ifArgument:o})}})),t}(n).every((function(e){var n=e.directive,r=e.ifArgument,o=!1;return"Variable"===r.value.kind?(o=t&&t[r.value.name.value],qi(void 0!==o,78,n.name.value)):o=r.value.value,"skip"===n.name.value?!o:o}))}(e,r.variables))return!0;
2if(xl(e))return!0;if(function(e){return"Field"===e.kind}(e)){var i=(f=e).alias?f.alias.value:f.name.value,a=t&&t[i],s=n&&n[i],l=e.selectionSet;if(!l)return fl(a,s);var c=Array.isArray(a),u=Array.isArray(s);if(c!==u)return!1;if(c&&u){var d=a.length;if(s.length!==d)return!1;for(var p=0;p<d;++p)if(!wl(l,a[p],s[p],r))return!1;return!0}return wl(l,a,s,r)}var f,h=function(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=e.name.value;if("function"==typeof t)return t(n);var r=t&&t[n];return qi(r,87,n),r||null;default:return null}}(e,r.fragmentMap);return h?!!xl(h)||wl(h.selectionSet,t,n,r):void 0}))}function xl(e){return!!e.directives&&e.directives.some(kl)}function kl(e){return"nonreactive"===e.name.value}var Cl;function El(e){return!!e&&e<7}!function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(Cl||(Cl={}));var Sl=Object.assign,Ol=Object.hasOwnProperty,Al=function(e){function t(n){var r=n.queryManager,o=n.queryInfo,i=n.options,a=this,s=t.inactiveOnCreation.getValue();(a=e.call(this,(function(e){s&&(r.queries.set(a.queryId,o),s=!1);try{var t=e._subscription._observer;t&&!t.error&&(t.error=_l)}catch(e){}var n=!a.observers.size;a.observers.add(e);var i=a.last;return i&&i.error?e.error&&e.error(i.error):i&&i.result&&e.next&&e.next(a.maskResult(i.result)),n&&a.reobserve().catch((function(){})),function(){a.observers.delete(e)&&!a.observers.size&&a.tearDownQuery()}}))||this).observers=new Set,a.subscriptions=new Set,a.dirty=!1,a.queryInfo=o,a.queryManager=r,a.waitForOwnResult=Pl(i.fetchPolicy),a.isTornDown=!1,a.subscribeToMore=a.subscribeToMore.bind(a),a.maskResult=a.maskResult.bind(a);var l=r.defaultOptions.watchQuery,c=(void 0===l?{}:l).fetchPolicy,u=void 0===c?"cache-first":c,d=i.fetchPolicy,p=void 0===d?u:d,f=i.initialFetchPolicy,h=void 0===f?"standby"===p?u:p:f;a.options=_i(_i({},i),{initialFetchPolicy:h,fetchPolicy:p}),a.queryId=o.queryId||r.generateQueryId();var m=xs(a.query);return a.queryName=m&&m.name&&m.name.value,a}return Ai(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){o.unsubscribe()}),0)},error:n},o=e.subscribe(r)}))},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(e){void 0===e&&(e=!0);var t,n=this.getLastResult(!0),r=this.queryInfo.networkStatus||n&&n.networkStatus||Cl.ready,o=_i(_i({},n),{loading:El(r),networkStatus:r}),i=this.options.fetchPolicy,a=void 0===i?"cache-first":i;if(Pl(a)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var s=this.queryInfo.getDiff();(s.complete||this.options.returnPartialData)&&(o.data=s.result),fl(o.data,{})&&(o.data=void 0),s.complete?(delete o.partial,!s.complete||o.networkStatus!==Cl.loading||"cache-first"!==a&&"cache-only"!==a||(o.networkStatus=Cl.ready,o.loading=!1)):o.partial=!0,o.networkStatus===Cl.ready&&(o.error||o.errors)&&(o.networkStatus=Cl.error),!1===globalThis.__DEV__||s.complete||this.options.partialRefetch||o.loading||o.data||o.error||(t=s.missing,!1!==globalThis.__DEV__&&t&&!1!==globalThis.__DEV__&&qi.debug(26,t))}return e&&this.updateLastResult(o),o},t.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},t.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var n=this.queryManager.getDocumentInfo(this.query),r=this.queryManager.dataMasking,o=r?n.nonReactiveQuery:this.query;return(r||n.hasNonreactiveDirective?!bl(o,this.last.result,e,this.variables):!fl(this.last.result,e))||t&&!fl(this.last.variables,t)},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||fl(n.variables,this.variables)))return n[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,n={pollInterval:0},r=this.options.fetchPolicy;if(n.fetchPolicy="no-cache"===r?"no-cache":"network-only",!1!==globalThis.__DEV__&&e&&Ol.call(e,"variables")){var o=function(e){var t=xs(e);return qi(t&&"query"===t.operation,91),t}(this.query),i=o.variableDefinitions;i&&i.some((function(e){return"variables"===e.variable.name.value}))||!1!==globalThis.__DEV__&&qi.warn(21,e,(null===(t=o.name)||void 0===t?void 0:t.value)||o)}return e&&!fl(this.options.variables,e)&&(n.variables=this.options.variables=_i(_i({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,Cl.refetch)},t.prototype.fetchMore=function(e){var t=this,n=_i(_i({},e.query?e:_i(_i(_i(_i({},this.options),{query:this.options.query}),e),{variables:_i(_i({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});n.query=this.transformDocument(n.query);var r=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):n.query;var o=this.queryInfo,i=o.networkStatus;
2o.networkStatus=Cl.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var a=new Set,s=null==e?void 0:e.updateQuery,l="no-cache"!==this.options.fetchPolicy;return l||qi(s,22),this.queryManager.fetchQuery(r,n,Cl.fetchMore).then((function(c){if(t.queryManager.removeQuery(r),o.networkStatus===Cl.fetchMore&&(o.networkStatus=i),l)t.queryManager.cache.batch({update:function(r){var o=e.updateQuery;o?r.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},(function(e){return o(e,{fetchMoreResult:c.data,variables:n.variables})})):r.writeQuery({query:n.query,variables:n.variables,data:c.data})},onWatchUpdated:function(e){a.add(e.query)}});else{var u=t.getLast("result"),d=s(u.data,{fetchMoreResult:c.data,variables:n.variables});t.reportResult(_i(_i({},u),{networkStatus:i,loading:El(i),data:d}),t.variables)}return t.maskResult(c)})).finally((function(){l&&!a.has(t.query)&&t.reobserveCacheFirst()}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var r=e.updateQuery;r&&t.updateQuery((function(e,t){return r(e,_i({subscriptionData:n},t))}))},error:function(t){e.onError?e.onError(t):!1!==globalThis.__DEV__&&qi.error(23,t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=al(this.options,e||{});Sl(this.options,t)},t.prototype.setVariables=function(e){return fl(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},Cl.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,n=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),r=n.result,o=n.complete,i=e(r,{variables:this.variables,complete:!!o,previousData:r});i&&(t.cache.writeQuery({query:this.options.query,data:i,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var n=t.fetchPolicy,r=void 0===n?"cache-first":n,o=t.initialFetchPolicy,i=void 0===o?r:o;"standby"===r||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(r,{reason:e,options:t,observable:this,initialFetchPolicy:i}):t.fetchPolicy="variables-changed"===e?i:t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,n){var r=this.queryManager.getOrCreateQuery(this.queryId);return r.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(r,e,t,n)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,n=this.options.pollInterval;if(n&&this.hasObservers()){if(!t||t.interval!==n){qi(n,24),(t||(this.pollingInfo={})).interval=n;var r=function(){var t,n;e.pollingInfo&&(El(e.queryInfo.networkStatus)||(null===(n=(t=e.options).skipPollAttempt)||void 0===n?void 0:n.call(t))?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},Cl.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(r,t.interval))};o()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var n=this.getLastError();return n&&this.last&&!fl(t,this.last.variables)&&(n=void 0),this.last=_i({result:this.queryManager.assumeImmutableResults?e:nl(e),variables:t},n?{error:n}:null)},t.prototype.reobserveAsConcast=function(e,t){var n=this;this.isTornDown=!1;
2var r=t===Cl.refetch||t===Cl.fetchMore||t===Cl.poll,o=this.options.variables,i=this.options.fetchPolicy,a=al(this.options,e||{}),s=r?a:Sl(this.options,a),l=this.transformDocument(s.query);this.lastQuery=l,r||(this.updatePolling(),!e||!e.variables||fl(e.variables,o)||"standby"===s.fetchPolicy||s.fetchPolicy!==i&&"function"!=typeof s.nextFetchPolicy||(this.applyNextFetchPolicy("variables-changed",s),void 0===t&&(t=Cl.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=Pl(s.fetchPolicy));var c=function(){n.concast===p&&(n.waitForOwnResult=!1)},u=s.variables&&_i({},s.variables),d=this.fetch(s,t,l),p=d.concast,f=d.fromLink,h={next:function(e){fl(n.variables,u)&&(c(),n.reportResult(e,u))},error:function(e){fl(n.variables,u)&&(e.hasOwnProperty("graphQLErrors")||(e=new ll({networkError:e})),c(),n.reportError(e,u))}};return r||!f&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=p,this.observer=h),p.addObserver(h),p},t.prototype.reobserve=function(e,t){return(n=this.reobserveAsConcast(e,t).promise.then(this.maskResult)).catch((function(){})),n;var n},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.last;this.resetLastResults();var r=this.subscribe.apply(this,e);return this.last=n,r},t.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var n=this.getLastError(),r=this.isDifferentFromLastResult(e,t);(n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(n||r)&&il(this.observers,"next",this.maskResult(e))},t.prototype.reportError=function(e,t){var n=_i(_i({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:Cl.error,loading:!1});this.updateLastResult(n,t),il(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t.prototype.maskResult=function(e){return e&&"data"in e?_i(_i({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},t.prototype.resetNotifications=function(){this.cancelNotifyTimeout(),this.dirty=!1},t.prototype.cancelNotifyTimeout=function(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0)},t.prototype.scheduleNotify=function(){var e=this;this.dirty||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return e.notify()}),0)))},t.prototype.notify=function(){this.cancelNotifyTimeout(),this.dirty&&("cache-only"!=this.options.fetchPolicy&&"cache-and-network"!=this.options.fetchPolicy&&El(this.queryInfo.networkStatus)||(this.queryInfo.getDiff().fromOptimisticTransaction?this.observe():this.reobserveCacheFirst())),this.dirty=!1},t.prototype.reobserveCacheFirst=function(){var e=this.options,t=e.fetchPolicy,n=e.nextFetchPolicy;return"cache-and-network"===t||"network-only"===t?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,r){return this.nextFetchPolicy=n,"function"==typeof this.nextFetchPolicy?this.nextFetchPolicy(e,r):t}}):this.reobserve()},t.inactiveOnCreation=new _s,t}(Qs);function _l(e){!1!==globalThis.__DEV__&&qi.error(25,e.message,e.stack)}function Pl(e){return"network-only"===e||"no-cache"===e||"standby"===e}!function(e){function t(t){Object.defineProperty(e,t,{value:Qs})}$a&&Symbol.species&&t(Symbol.species),t("@@species")}(Al);var jl=new Map,Tl=new Map,Il=!0,Ll=!1;function Nl(e){return e.replace(/[\s,]+/g," ").trim()}function Rl(e){var t,n,r,o=Nl(e);if(!jl.has(o)){var i=function(e,t){const n=new Ua(e,t),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}(e,{experimentalFragmentVariables:Ll,allowLegacyFragmentVariables:Ll});if(!i||"Document"!==i.kind)throw new Error("Not a valid GraphQL document.");jl.set(o,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(n){var r=e[n];r&&"object"==typeof r&&t.add(r)}))}
2));var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}((t=i,n=new Set,r=[],t.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var t=e.name.value,o=Nl((a=e.loc).source.body.substring(a.start,a.end)),i=Tl.get(t);i&&!i.has(o)?Il&&console.warn("Warning: fragment with name "+t+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):i||Tl.set(t,i=new Set),i.add(o),n.has(o)||(n.add(o),r.push(e))}else r.push(e);var a})),_i(_i({},t),{definitions:r}))))}return jl.get(o)}function Dl(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var r=e[0];return t.forEach((function(t,n){t&&"Document"===t.kind?r+=t.loc.source.body:r+=t,r+=e[n+1]})),Rl(r)}var Fl,Ml=Dl;(Fl=Dl||(Dl={})).gql=Ml,Fl.resetCaches=function(){jl.clear(),Tl.clear()},Fl.disableFragmentWarnings=function(){Il=!1},Fl.enableExperimentalFragmentVariables=function(){Ll=!0},Fl.disableExperimentalFragmentVariables=function(){Ll=!1},Dl.default=Dl;var Bl={exports:{}};!function(e){e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(e.exports,s())}(Bl);var Vl=Bl.exports,zl=yi({__proto__:null,default:bi(Vl)},[Vl]),Ul=$a?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function Hl(){qi("createContext"in zl,54);var e=Vl.createContext[Ul];return e||(Object.defineProperty(Vl.createContext,Ul,{value:e=Vl.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}function ql(e){var t=Vl.useContext(Hl()),n=e||t.client;return qi(!!n,58),n}var Wl,$l,Gl=!1,Kl=zl.useSyncExternalStore||function(e,t,n){var r=t();!1===globalThis.__DEV__||Gl||r===t()||(Gl=!0,!1!==globalThis.__DEV__&&qi.error(68));var o=Vl.useState({inst:{value:r,getSnapshot:t}}),i=o[0].inst,a=o[1];return Za?Vl.useLayoutEffect((function(){Object.assign(i,{value:r,getSnapshot:t}),Zl(i)&&a({inst:i})}),[e,r,t]):Object.assign(i,{value:r,getSnapshot:t}),Vl.useEffect((function(){return Zl(i)&&a({inst:i}),e((function(){Zl(i)&&a({inst:i})}))}),[e]),r};function Zl(e){var t=e.value,n=e.getSnapshot;try{return t!==n()}catch(e){return!0}}function Yl(e){var t;switch(e){case Wl.Query:t="Query";break;case Wl.Mutation:t="Mutation";break;case Wl.Subscription:t="Subscription"}return t}function Xl(e){$l||($l=new ls(ds.parser||1e3));var t,n,r=$l.get(e);if(r)return r;qi(!!e&&!!e.kind,70,e);for(var o=[],i=[],a=[],s=[],l=0,c=e.definitions;l<c.length;l++){var u=c[l];if("FragmentDefinition"!==u.kind){if("OperationDefinition"===u.kind)switch(u.operation){case"query":i.push(u);break;case"mutation":a.push(u);break;case"subscription":s.push(u)}}else o.push(u)}qi(!o.length||i.length||a.length||s.length,71),qi(i.length+a.length+s.length<=1,72,e,i.length,s.length,a.length),n=i.length?Wl.Query:Wl.Mutation,i.length||a.length||(n=Wl.Subscription);var d=i.length?i:a.length?a:s;qi(1===d.length,73,e,d.length);var p=d[0];t=p.variableDefinitions||[];var f={name:p.name&&"Name"===p.name.kind?p.name.value:"data",type:n,variables:t};return $l.set(e,f),f}!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(Wl||(Wl={})),Xl.resetCache=function(){$l=void 0},!1!==globalThis.__DEV__&&fs("parser",(function(){return $l?$l.size:0}));var Ql=Symbol.for("apollo.hook.wrappers"),Jl=Object.prototype.hasOwnProperty;function ec(){}var tc=Symbol();function nc(e,t){return void 0===t&&(t=Object.create(null)),(n=rc,(i=(o=(r=ql(t&&t.client).queryManager)&&r[Ql])&&o.useQuery)?i(n):n)(e,t);var n,r,o,i}function rc(e,t){var n=function(e,t){var n=ql(t.client),r=Vl.useContext(Hl()).renderPromises,o=!!r,i=n.disableNetworkFetches,a=!1!==t.ssr&&!t.skip,s=t.partialRefetch,l=function(e,t,n,r){void 0===n&&(n={});var o=n.skip;n.ssr,n.onCompleted,n.onError;var i=n.defaultOptions,a=Pi(n,["skip","ssr","onCompleted","onError","defaultOptions"]);return function(n){var s=Object.assign(a,{query:t});return!r||"network-only"!==s.fetchPolicy&&"cache-and-network"!==s.fetchPolicy||(s.fetchPolicy="cache-first"),s.variables||(s.variables={}),o?(s.initialFetchPolicy=s.initialFetchPolicy||s.fetchPolicy||sc(i,e.defaultOptions),s.fetchPolicy="standby"):s.fetchPolicy||(s.fetchPolicy=(null==n?void 0:n.options.initialFetchPolicy)||sc(i,e.defaultOptions)),s}}(n,e,t,o),c=function(e,t,n,r,o){function i(i){var a;return function(e,t){var n=Xl(e),r=Yl(t),o=Yl(n.type);qi(n.type===t,74,r,r,o)}(t,Wl.Query),{client:e,query:t,observable:r&&r.getSSRObservable(
2o())||Al.inactiveOnCreation.withValue(!r,(function(){return e.watchQuery(oc(void 0,e,n,o()))})),resultData:{previousData:null===(a=null==i?void 0:i.resultData.current)||void 0===a?void 0:a.data}}}var a=Vl.useState(i),s=a[0],l=a[1];function c(e){var t,n;Object.assign(s.observable,((t={})[tc]=e,t));var r=s.resultData;l(_i(_i({},s),{query:e.query,resultData:Object.assign(r,{previousData:(null===(n=r.current)||void 0===n?void 0:n.data)||r.previousData,current:void 0})}))}if(e!==s.client||t!==s.query){var u=i(s);return l(u),[u,c]}return[s,c]}(n,e,t,r,l),u=c[0],d=u.observable,p=u.resultData,f=c[1],h=l(d);!function(e,t,n,r,o){var i;t[tc]&&!fl(t[tc],o)&&(t.reobserve(oc(t,n,r,o)),e.previousData=(null===(i=e.current)||void 0===i?void 0:i.data)||e.previousData,e.current=void 0),t[tc]=o}(p,d,n,t,h);var m=Vl.useMemo((function(){return function(e){return{refetch:e.refetch.bind(e),reobserve:e.reobserve.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}}(d)}),[d]);!function(e,t,n){t&&n&&(t.registerSSRObservable(e),e.getCurrentResult().loading&&t.addObservableQueryPromise(e))}(d,r,a);var g=function(e,t,n,r,o,i,a,s,l){var c=Vl.useRef(l);Vl.useEffect((function(){c.current=l}));var u=!s&&!i||!1!==r.ssr||r.skip?r.skip||"standby"===o.fetchPolicy?uc:void 0:cc,d=e.previousData,p=Vl.useMemo((function(){return u&&lc(u,d,t,n)}),[n,t,u,d]);return Kl(Vl.useCallback((function(r){if(s)return function(){};var o=function(){var o=e.current,i=t.getCurrentResult();o&&o.loading===i.loading&&o.networkStatus===i.networkStatus&&fl(o.data,i.data)||ic(i,e,t,n,a,r,c.current)},i=function(s){if(l.current.unsubscribe(),l.current=t.resubscribeAfterError(o,i),!Jl.call(s,"graphQLErrors"))throw s;var u=e.current;(!u||u&&u.loading||!fl(s,u.error))&&ic({data:u&&u.data,error:s,loading:!1,networkStatus:Cl.error},e,t,n,a,r,c.current)},l={current:t.subscribe(o,i)};return function(){setTimeout((function(){return l.current.unsubscribe()}))}}),[i,s,t,e,a,n]),(function(){return p||ac(e,t,c.current,a,n)}),(function(){return p||ac(e,t,c.current,a,n)}))}(p,d,n,t,h,i,s,o,{onCompleted:t.onCompleted||ec,onError:t.onError||ec});return{result:g,obsQueryFields:m,observable:d,resultData:p,client:n,onQueryExecuted:f}}(e,t),r=n.result,o=n.obsQueryFields;return Vl.useMemo((function(){return _i(_i({},r),o)}),[r,o])}function oc(e,t,n,r){var o=[],i=t.defaultOptions.watchQuery;return i&&o.push(i),n.defaultOptions&&o.push(n.defaultOptions),o.push(al(e&&e.options,r)),o.reduce(sl)}function ic(e,t,n,r,o,i,a){var s=t.current;s&&s.data&&(t.previousData=s.data),!e.error&&Ts(e.errors)&&(e.error=new ll({graphQLErrors:e.errors})),t.current=lc(function(e,t,n){return!e.partial||!n||e.loading||e.data&&0!==Object.keys(e.data).length||"cache-only"===t.options.fetchPolicy?e:(t.refetch(),_i(_i({},e),{loading:!0,networkStatus:Cl.refetch}))}(e,n,o),t.previousData,n,r),i(),function(e,t,n){if(!e.loading){var r=function(e){return Ts(e.errors)?new ll({graphQLErrors:e.errors}):e.error}(e);Promise.resolve().then((function(){r?n.onError(r):e.data&&t!==e.networkStatus&&e.networkStatus===Cl.ready&&n.onCompleted(e.data)})).catch((function(e){!1!==globalThis.__DEV__&&qi.warn(e)}))}}(e,null==s?void 0:s.networkStatus,a)}function ac(e,t,n,r,o){return e.current||ic(t.getCurrentResult(),e,t,o,r,(function(){}),n),e.current}function sc(e,t){var n;return(null==e?void 0:e.fetchPolicy)||(null===(n=null==t?void 0:t.watchQuery)||void 0===n?void 0:n.fetchPolicy)||"cache-first"}function lc(e,t,n,r){var o=e.data;e.partial;var i=Pi(e,["data","partial"]);return _i(_i({data:o},i),{client:r,observable:n,variables:n.variables,called:e!==cc&&e!==uc,previousData:t})}var cc=ol({loading:!0,data:void 0,error:void 0,networkStatus:Cl.loading}),uc=ol({loading:!1,data:void 0,error:void 0,networkStatus:Cl.ready});const dc=Dl` 3 query GetOrgMaintenanceMode { 4 authContext { 5 ... on AccountAuthContext { 6 account { 7 id 8 maintenanceMode: configuration(key: "spend.org_maintenance_mode.enabled") 9 } 10 } 11 ... on OrgAuthContext { 12 org { 13 id 14 maintenanceMode: configuration(key: "spend.org_maintenance_mode.enabled") 15 } 16 } 17 } 18 } 19`,pc=12e4,fc=({children:e,updateTopNav:t})=>{const{maintenanceMode:n}=(()=>{const[e,t]=(0,vi.Mj)("spend_org_maintenance_mode",void 0),n=e?Number(e.split("|")[0]):void 0,r=e?"true"===e.split("|")[1]:void 0,o=(0,a.useRef)(n),{data:i,loading:s,networkStatus:l}=nc(dc,{pollInterval:pc,fetchPolicy:"network-only",nextFetchPolicy:"network-only",skipPollAttempt:()=>void 0!==o.current&&o.current+pc>Date.now(),notifyOnNetworkStatusChange:!0});return(0,a.useEffect)((()=>{o.current=n}),[n]),(0,a.useEffect)((()=>
19{if(i&&l===Cl.ready){const e=hi()?"OrgAuthContext"===i?.authContext?.__typename&&i?.authContext?.org?.maintenanceMode:"AccountAuthContext"===i?.authContext?.__typename&&i?.authContext?.account?.maintenanceMode;t(`${Date.now()}|${e}`)}}),[t,i,l]),{maintenanceMode:r,loading:s}})();return(0,a.useEffect)((()=>{n&&t?.({tabs:[]})}),[n,t]),n?Ci.jsx(Si,{}):Ci.jsx(Ci.Fragment,{children:e})},hc=Dl` 20 query GetBusinessAccountMigrationSchedule { 21 getBusinessAccountMigrationSchedule { 22 id 23 orgId 24 migrationType 25 scheduledTime 26 executionStatus 27 validationStatus 28 completedTime 29 createTime 30 } 31 } 32`,mc=({children:e,updateTopNav:t,isBusinessAccountsEnabled:n})=>{const{isMigrating:r}=((e=!1)=>{const t=hi(),[n,r]=(0,vi.Mj)("business_accounts_migration_schedule",null),o=t&&n?.orgId===t?n:void 0,i=((e,t)=>{if("RUNNING"===e?.executionStatus)return!0;if("SCHEDULED"!==e?.executionStatus||!e.scheduledTime)return!1;const n=Date.parse(e.scheduledTime);return Number.isFinite(n)&&t>=n})(o?.schedule,Date.now()),s=!t||"SUCCEEDED"===o?.schedule?.executionStatus||e&&!i&&void 0!==o,l=(({isMigrating:e,orgId:t,localStorageEntry:n,shouldStopPolling:r})=>{const[,o]=(0,a.useState)(0),i=(0,a.useRef)({isMigrating:e,orgId:t,localStorageEntry:n,shouldStopPolling:r});return i.current={isMigrating:e,orgId:t,localStorageEntry:n,shouldStopPolling:r},(0,a.useEffect)((()=>{if("SCHEDULED"!==n?.schedule?.executionStatus)return;const e=n.schedule.scheduledTime;if(!e)return;const t=Date.parse(e)-Date.now();if(!Number.isFinite(t)||t<=0||t>2147483647)return;const r=window.setTimeout((()=>{o((e=>e+1))}),t);return()=>window.clearTimeout(r)}),[n?.schedule?.executionStatus,n?.schedule?.scheduledTime]),i})({isMigrating:i,orgId:t,localStorageEntry:o,shouldStopPolling:s}),{data:c,loading:u,networkStatus:d}=nc(hc,{fetchPolicy:"network-only",nextFetchPolicy:"network-only",notifyOnNetworkStatusChange:!0,skip:s,pollInterval:s?0:6e4,skipPollAttempt:()=>{const{isMigrating:e,orgId:t,localStorageEntry:n,shouldStopPolling:r}=l.current;if(r)return!0;const o=e?6e4:72e5;return null!=n&&n.orgId===t&&n.updatedAt+o>Date.now()}});return(0,a.useEffect)((()=>{t&&c&&d===Cl.ready&&r({orgId:t,schedule:c.getBusinessAccountMigrationSchedule,updatedAt:Date.now()})}),[c,d,t,r]),{schedule:o?.schedule,executionStatus:o?.schedule?.executionStatus,scheduledTime:o?.schedule?.scheduledTime,loading:!!t&&(u&&void 0===o||n?.orgId!==t),isMigrating:i}})(n);return(0,a.useEffect)((()=>{r&&t?.({tabs:[]})}),[r,t]),r?Ci.jsx(Si,{}):Ci.jsx(Ci.Fragment,{children:e})}},14300:(e,t)=>{"use strict";function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r="active",o="idle",i=r,a=["click","mousemove","keydown","DOMMouseScroll","mousewheel","mousedown","touchstart","touchmove","focus"],s=["blur","visibilitychange"],l=["mousemove"],c=void 0,u=void 0;if(void 0!==document.hidden)c="hidden",u="visibilitychange";else for(var d=["webkit","moz","ms"],p=0;p<d.length;p++){var f=d[p];if(void 0!==document[f+"Hidden"]){c=f+"Hidden",u=f+"visibilitychange";break}}t.A=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=t.activityEvents,p=void 0===d?a:d,f=t.inactivityEvents,h=void 0===f?s:f,m=t.ignoredEventsWhenIdle,g=void 0===m?l:m,v=t.timeToIdle,y=void 0===v?3e4:v,b=t.initialState,w=void 0===b?i:b,x=t.autoInit,k=void 0===x||x,C=(n(e={},r,[]),n(e,o,[]),e),E=void 0,S=void 0,O=function e(t){clearTimeout(S),t===r&&(S=setTimeout((function(){return e(o)}),y)),E!==t&&C[E=t].forEach((function(e){return e()}))},A=function(e){(E===r||g.indexOf(e.type)<0)&&O(r)},_=function(){O(o)},P=function(){O(document[c]?o:r)},j=function(){O((arguments.length>0&&void 0!==arguments[0]?arguments[0]:i)===r?r:o),p.forEach((function(e){return window.addEventListener(e,A)})),h.filter((function(e){return"visibilitychange"!==e})).forEach((function(e){return window.addEventListener(e,_)})),h.indexOf("visibilitychange")>=0&&u&&document.addEventListener(u,P)};return k&&j(w),{on:function(e,t){return C[e].push(t),function(){var n=C[e].indexOf(t);n>=0&&C[e].splice(n,1)}},stop:function(){C[r]=[],C[o]=[],clearTimeout(S),p.forEach((function(e){return window.removeEventListener(e,A)})),h.forEach((function(e){return window.removeEventListener(e,_)})),u&&document.removeEventListener(u,P)},init:j}}},72505:(e,t,n)=>{e.exports=n(18015)},35592:(e,t,n)=>{"use strict";var r=n(9516),o=n(7522),i=n(33948),a=n(79106),s=n(99615),l=n(62012),c=n(64202),u=n(47763),d=n(96987),p=n(31928);e.exports=function(e){return new Promise((function(t,n){var f,h=e.data,m=e.headers,g=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}r.isFormData(h)&&delete m["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(b+":"+w)}var x=s(e.baseURL,e.url);function k(){if(y){var r="getAllResponseHeaders"in y?l(y.getAllResponseHeaders()):null,i={data:g&&"text"!==g&&"json"!==g?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};o((function(e){t(e),v()}),(function(e){n(e),v()}),i),y=null}}if(y.open(e.method.toUpperCase(),a(x,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=k:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(k)},y.onabort=function(){y&&(n(u("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(u("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var C=(e.withCredentials||c(x))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;C&&(m[e.xsrfHeaderName]=C)}"setRequestHeader"in y&&r.forEach(m,(function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete m[t]:y.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),g&&"json"!==g&&(y.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(f=function(e){y&&(n(!e||e&&e.type?new p("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f))),h||(h=null),y.send(h)}))}},18015:(e,t,n)=>{"use strict";var r=n(9516),o=n(69012),i=n(35155),a=n(85343),s=function e(t){var n=new i(t),s=o(i.prototype.request,n);return r.extend(s,i.prototype,n),r.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(96987));s.Axios=i,s.Cancel=n(31928),s.CancelToken=n(3191),s.isCancel=n(93864),s.VERSION=n(49641).version,s.all=function(e){return Promise.all(e)},s.spread=n(17980),s.isAxiosError=n(45019),e.exports=s,e.exports.default=s},31928:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")}
vendor: 14,113 bytes, line 32
32,t.prototype.__CANCEL__=!0,e.exports=t},3191:(e,t,n)=>{"use strict";var r=n(31928);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},93864:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},35155:(e,t,n)=>{"use strict";var r=n(9516),o=n(79106),i=n(83471),a=n(64490),s=n(85343),l=n(34841),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new i,response:new i}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&l.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!r){var u=[a,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(i),o=Promise.resolve(e);u.length;)o=o.then(u.shift(),u.shift());return o}for(var d=e;n.length;){var p=n.shift(),f=n.shift();try{d=p(d)}catch(e){f(e);break}}try{o=a(d)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},u.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=u},83471:(e,t,n)=>{"use strict";var r=n(9516);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},99615:(e,t,n)=>{"use strict";var r=n(29137),o=n(84680);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},47763:(e,t,n)=>{"use strict";var r=n(5449);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},64490:(e,t,n)=>{"use strict";var r=n(9516),o=n(82881),i=n(93864),a=n(96987),s=n(31928);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},5449:e=>{"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},85343:(e,t,n)=>{"use strict";var r=n(9516);e.exports=function(e,t){t=t||{};var n={};function o(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function l(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,o=t(e);r.isUndefined(o)&&t!==l||(n[e]=o)})),n}},7522:(e,t,n)=>{"use strict";var r=n(47763);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},82881:(e,t,n)=>{"use strict";var r=n(9516),o=n(96987);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},96987:(e,t,n)=>{"use strict";var r=n(9516),o=n(7018),i=n(5449),a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(l=n(35592)),l),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),function(e){if(r.isString(e))try{return(0,JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw i(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(a)})),e.exports=c},49641:e=>{e.exports={version:"0.24.0"}},69012:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},79106:(e,t,n)=>{"use strict";var r=n(9516);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},84680:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},33948:(e,t,n)=>{"use strict";var r=n(9516);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},29137:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},45019:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},64202:(e,t,n)=>{"use strict";var r=n(9516);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},7018:(e,t,n)=>{"use strict";var r=n(9516);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},62012:(e,t,n)=>{"use strict";var r=n(9516),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},17980:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},34841:(e,t,n)=>{"use strict";var r=n(49641).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,a){if(!1===e)throw new Error(o(r," has been removed"+(t?" in "+t:"")));return t&&!i[r]&&(i[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,a)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var s=e[i],l=void 0===s||a(s,i,e);if(!0!==l)throw new TypeError("option "+i+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},9516:(e,t,n)=>{"use strict";var r=n(69012),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function l(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===o.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isPlainObject:l,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:u,merge:function e(){var t={};function n(n,r){l(t[r])&&l(n)?t[r]=e(t[r],n):l(n)?t[r]=e({},n):i(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)u(arguments[r],n);return t},extend:function(e,t,n){return u(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},67590:(e,t,n)=>{"use strict";var r={};n.r(r),n.d(r,{event:()=>Go,eventGa4:()=>Ko,getDefaultParams:()=>qo,initGA:()=>Ho,outboundLink:()=>Zo,pageView:()=>Wo,set:()=>Yo,setUserId:()=>Jo,setUserProperties:()=>Qo,timing:()=>Xo,virtualPageView:()=>$o});var o={};n.r(o),n.d(o,{Ql:()=>PQ,wm:()=>
32IQ,h3:()=>jQ,TV:()=>LQ,UN:()=>RQ,Uf:()=>TQ,LR:()=>DQ,ON:()=>_Q,Cn:()=>NQ});var i={};n.r(i),n.d(i,{uw:()=>L0});var a={};n.r(a),n.d(a,{C9:()=>n4}),n(16280),n(4294),n(18107),n(10838),n(13451),n(74423),n(44114),n(9678),n(57145),n(71658),n(13609),n(11558),n(16573),n(78100),n(77936),n(47072),n(77691),n(78347),n(14628),n(15472),n(69479),n(17642),n(58004),n(33853),n(45876),n(32475),n(15024),n(31698),n(67357),n(42043),n(67438),n(48140),n(21903),n(91134),n(28845),n(37467),n(44732),n(79577),n(64979),n(59848),n(13611),n(71678),n(2222),n(45781),n(14603),n(47566),n(98721);var s=n(24002),l=n.t(s,2),c=n.n(s);function u(e){function t(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.message=e,this.code=t}return t.prototype=new Error,t.prototype.name=e,t.prototype.constructor=t,t}const d=u("LaunchDarklyUnexpectedResponseError"),p=u("LaunchDarklyInvalidEnvironmentIdError"),f=u("LaunchDarklyInvalidUserError"),h=u("LaunchDarklyInvalidEventKeyError"),m=u("LaunchDarklyInvalidArgumentError"),g=u("LaunchDarklyFlagFetchError");for(var v={LDUnexpectedResponseError:d,LDInvalidEnvironmentIdError:p,LDInvalidUserError:f,LDInvalidEventKeyError:h,LDInvalidArgumentError:m,LDInvalidDataError:u("LaunchDarklyInvalidDataError"),LDFlagFetchError:g,LDTimeoutError:u("LaunchDarklyTimeoutError"),isHttpErrorRecoverable:function(e){return!(e>=400&&e<500)||400===e||408===e||429===e}},y=[],b=[],w=("undefined"!=typeof Uint8Array&&Uint8Array,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),x=0;x<64;++x)y[x]=w[x],b[w.charCodeAt(x)]=x;function k(e){return y[e>>18&63]+y[e>>12&63]+y[e>>6&63]+y[63&e]}function C(e,t,n){for(var r,o=[],i=t;i<n;i+=3)r=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]),o.push(k(r));return o.join("")}b["-".charCodeAt(0)]=62,b["_".charCodeAt(0)]=63;var E=Array.isArray,S=Object.keys,O=Object.prototype.hasOwnProperty,A=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var r,o,i,a=E(t),s=E(n);if(a&&s){if((o=t.length)!=n.length)return!1;for(r=o;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(a!=s)return!1;var l=t instanceof Date,c=n instanceof Date;if(l!=c)return!1;if(l&&c)return t.getTime()==n.getTime();var u=t instanceof RegExp,d=n instanceof RegExp;if(u!=d)return!1;if(u&&d)return t.toString()==n.toString();var p=S(t);if((o=p.length)!==S(n).length)return!1;for(r=o;0!=r--;)if(!O.call(n,p[r]))return!1;for(r=o;0!=r--;)if(!e(t[i=p[r]],n[i]))return!1;return!0}return t!=t&&n!=n};const _=["key","ip","country","email","firstName","lastName","avatar","name"];function P(e){return function(e){for(var t,n=e.length,r=n%3,o=[],i=16383,a=0,s=n-r;a<s;a+=i)o.push(C(e,a,a+i>s?s:a+i));return 1===r?(t=e[n-1],o.push(y[t>>2]+y[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],o.push(y[t>>10]+y[t>>4&63]+y[t<<2&63]+"=")),o.join("")}(function(e){const t=[];for(let n=0;n<e.length;n++)t.push(e.charCodeAt(n));return t}(unescape(encodeURIComponent(e))))}function j(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var T,I={appendUrlPath:function(e,t){return(e.endsWith("/")?e.substring(0,e.length-1):e)+(t.startsWith("/")?"":"/")+t},base64URLEncode:function(e){return P(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},btoa:P,clone:function(e){return JSON.parse(JSON.stringify(e))},deepEquals:function(e,t){return A(e,t)},extend:function(...e){return e.reduce(((e,t)=>({...e,...t})),{})},getLDUserAgentString:function(e){const t=e.version||"?";return e.userAgent+"/"+t},objectHasOwnProperty:j,onNextTick:function(e){setTimeout(e,0)},sanitizeContext:function(e){if(!e)return e;let t;return null!==e.kind&&void 0!==e.kind||_.forEach((n=>{const r=e[n];void 0!==r&&"string"!=typeof r&&(t=t||{...e},t[n]=String(r))})),t||e},transformValuesToVersionedValues:function(e){const t={};for(const n in e)j(e,n)&&(t[n]={value:e[n],version:0});return t},transformVersionedValuesToValues:function(e){const t={};for(const n in e)j(e,n)&&(t[n]=e[n].value);return t},wrapPromiseCallback:function(e,t){const n=e.then((e=>(t&&setTimeout((()=>{t(null,e)}),0),e)),(e=>{if(!t)return Promise.reject(e);setTimeout((()=>{t(e,null)}),0)}));return t?void 0:n},once:function(e){let t,n=!1;return function(...r){return n||(n=!0,t=e.apply(this,r)),t}}},L=new Uint8Array(16);function N(){if(!T&&!(T="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return T(L)}var R=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function D(e){return"string"==typeof e&&R.test(e)}for(var F,M,B=[],V=0;V<256;++V)B.push((V+256).toString(16).substr(1));function z(e){var t=arguments.length>
vendor: 5,954 bytes, line 32
321&&void 0!==arguments[1]?arguments[1]:0,n=(B[e[t+0]]+B[e[t+1]]+B[e[t+2]]+B[e[t+3]]+"-"+B[e[t+4]]+B[e[t+5]]+"-"+B[e[t+6]]+B[e[t+7]]+"-"+B[e[t+8]]+B[e[t+9]]+"-"+B[e[t+10]]+B[e[t+11]]+B[e[t+12]]+B[e[t+13]]+B[e[t+14]]+B[e[t+15]]).toLowerCase();if(!D(n))throw TypeError("Stringified UUID is invalid");return n}var U=0,H=0;function q(e){if(!D(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}function W(e,t,n){function r(e,r,o,i){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=q(r)),16!==r.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+e.length);if(a.set(r),a.set(e,r.length),(a=n(a))[6]=15&a[6]|t,a[8]=63&a[8]|128,o){i=i||0;for(var s=0;s<16;++s)o[i+s]=a[s];return o}return z(a)}try{r.name=e}catch(e){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}function $(e){return 14+(e+64>>>9<<4)+1}function G(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function K(e,t,n,r,o,i){return G((a=G(G(t,e),G(r,i)))<<(s=o)|a>>>32-s,n);var a,s}function Z(e,t,n,r,o,i,a){return K(t&n|~t&r,e,t,o,i,a)}function Y(e,t,n,r,o,i,a){return K(t&r|n&~r,e,t,o,i,a)}function X(e,t,n,r,o,i,a){return K(t^n^r,e,t,o,i,a)}function Q(e,t,n,r,o,i,a){return K(n^(t|~r),e,t,o,i,a)}var J=W("v3",48,(function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){for(var t=[],n=32*e.length,r="0123456789abcdef",o=0;o<n;o+=8){var i=e[o>>5]>>>o%32&255,a=parseInt(r.charAt(i>>>4&15)+r.charAt(15&i),16);t.push(a)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[$(t)-1]=t;for(var n=1732584193,r=-271733879,o=-1732584194,i=271733878,a=0;a<e.length;a+=16){var s=n,l=r,c=o,u=i;n=Z(n,r,o,i,e[a],7,-680876936),i=Z(i,n,r,o,e[a+1],12,-389564586),o=Z(o,i,n,r,e[a+2],17,606105819),r=Z(r,o,i,n,e[a+3],22,-1044525330),n=Z(n,r,o,i,e[a+4],7,-176418897),i=Z(i,n,r,o,e[a+5],12,1200080426),o=Z(o,i,n,r,e[a+6],17,-1473231341),r=Z(r,o,i,n,e[a+7],22,-45705983),n=Z(n,r,o,i,e[a+8],7,1770035416),i=Z(i,n,r,o,e[a+9],12,-1958414417),o=Z(o,i,n,r,e[a+10],17,-42063),r=Z(r,o,i,n,e[a+11],22,-1990404162),n=Z(n,r,o,i,e[a+12],7,1804603682),i=Z(i,n,r,o,e[a+13],12,-40341101),o=Z(o,i,n,r,e[a+14],17,-1502002290),n=Y(n,r=Z(r,o,i,n,e[a+15],22,1236535329),o,i,e[a+1],5,-165796510),i=Y(i,n,r,o,e[a+6],9,-1069501632),o=Y(o,i,n,r,e[a+11],14,643717713),r=Y(r,o,i,n,e[a],20,-373897302),n=Y(n,r,o,i,e[a+5],5,-701558691),i=Y(i,n,r,o,e[a+10],9,38016083),o=Y(o,i,n,r,e[a+15],14,-660478335),r=Y(r,o,i,n,e[a+4],20,-405537848),n=Y(n,r,o,i,e[a+9],5,568446438),i=Y(i,n,r,o,e[a+14],9,-1019803690),o=Y(o,i,n,r,e[a+3],14,-187363961),r=Y(r,o,i,n,e[a+8],20,1163531501),n=Y(n,r,o,i,e[a+13],5,-1444681467),i=Y(i,n,r,o,e[a+2],9,-51403784),o=Y(o,i,n,r,e[a+7],14,1735328473),n=X(n,r=Y(r,o,i,n,e[a+12],20,-1926607734),o,i,e[a+5],4,-378558),i=X(i,n,r,o,e[a+8],11,-2022574463),o=X(o,i,n,r,e[a+11],16,1839030562),r=X(r,o,i,n,e[a+14],23,-35309556),n=X(n,r,o,i,e[a+1],4,-1530992060),i=X(i,n,r,o,e[a+4],11,1272893353),o=X(o,i,n,r,e[a+7],16,-155497632),r=X(r,o,i,n,e[a+10],23,-1094730640),n=X(n,r,o,i,e[a+13],4,681279174),i=X(i,n,r,o,e[a],11,-358537222),o=X(o,i,n,r,e[a+3],16,-722521979),r=X(r,o,i,n,e[a+6],23,76029189),n=X(n,r,o,i,e[a+9],4,-640364487),i=X(i,n,r,o,e[a+12],11,-421815835),o=X(o,i,n,r,e[a+15],16,530742520),n=Q(n,r=X(r,o,i,n,e[a+2],23,-995338651),o,i,e[a],6,-198630844),i=Q(i,n,r,o,e[a+7],10,1126891415),o=Q(o,i,n,r,e[a+14],15,-1416354905),r=Q(r,o,i,n,e[a+5],21,-57434055),n=Q(n,r,o,i,e[a+12],6,1700485571),i=Q(i,n,r,o,e[a+3],10,-1894986606),o=Q(o,i,n,r,e[a+10],15,-1051523),r=Q(r,o,i,n,e[a+1],21,-2054922799),n=Q(n,r,o,i,e[a+8],6,1873313359),i=Q(i,n,r,o,e[a+15],10,-30611744),o=Q(o,i,n,r,e[a+6],15,-1560198380),r=Q(r,o,i,n,e[a+13],21,1309151649),n=Q(n,r,o,i,e[a+4],6,-145523070),i=Q(i,n,r,o,e[a+11],10,-1120210379),o=Q(o,i,n,r,e[a+2],15,718787259),r=Q(r,o,i,n,e[a+9],21,-343485551),n=G(n,s),r=G(r,l),o=G(o,c),i=G(i,u)}return[n,r,o,i]}(function(e){if(0===e.length)return[];for(var t=8*e.length,n=new Uint32Array($(t)),r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}(e),8*e.length))})),ee=J;function te(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function ne(e,t){return e<<t|e>>>32-t}var re=W("v5",80,(function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var r=unescape(encodeURIComponent(e));e=[];for(var o=0;o<r.length;++o)e.push(r.charCodeAt(o))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var i=e.length/4+2,a=Math.ceil(i/16),s=new Array(a),l=0;l<a;++l){for(var c=new Uint32Array(16),u=0;u<16;++u)c[u]=e[64*l+4*u]<<24|e[64*l+4*u+1]<<16|e[64*l+4*u+2]<<8|e[64*l+4*u+3];s[l]=c}s[a-1][14]=8*(e.length-1)/Math.pow(2,32),s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=8*(e.length-1)&4294967295;for(var d=0;d<a;++d){for(var p=new Uint32Array(80),f=0;f<16;++f)p[f]=s[d][f];for(var h=16;h<80;++h)p[h]=ne(p[h-3]^p[h-8]^p[h-14]^p[h-16],1);for(var m=n[0],g=n[1],v=n[2],y=n[3],b=n[4],w=0;w<80;++w){var x=Math.floor(w/20),k=ne(m,5)+te(x,g,v,y)+b+t[x]+p[w]>>>0;b=y,y=v,v=ne(g,30)>>>0,g=m,m=k}n[0]=n[0]+m>>>0,n[1]=n[1]+g>>>0,n[2]=n[2]+v>>>0,n[3]=n[3]+y>>>0,n[4]=n[4]+b>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>
32>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]})),oe=re,ie=Object.freeze({__proto__:null,v1:function(e,t,n){var r=t&&n||0,o=t||new Array(16),i=(e=e||{}).node||F,a=void 0!==e.clockseq?e.clockseq:M;if(null==i||null==a){var s=e.random||(e.rng||N)();null==i&&(i=F=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==a&&(a=M=16383&(s[6]<<8|s[7]))}var l=void 0!==e.msecs?e.msecs:Date.now(),c=void 0!==e.nsecs?e.nsecs:H+1,u=l-U+(c-H)/1e4;if(u<0&&void 0===e.clockseq&&(a=a+1&16383),(u<0||l>U)&&void 0===e.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");U=l,H=c,M=a;var d=(1e4*(268435455&(l+=122192928e5))+c)%4294967296;o[r++]=d>>>24&255,o[r++]=d>>>16&255,o[r++]=d>>>8&255,o[r++]=255&d;var p=l/4294967296*1e4&268435455;o[r++]=p>>>8&255,o[r++]=255&p,o[r++]=p>>>24&15|16,o[r++]=p>>>16&255,o[r++]=a>>>8|128,o[r++]=255&a;for(var f=0;f<6;++f)o[r+f]=i[f];return t||z(o)},v3:ee,v4:function(e,t,n){var r=(e=e||{}).random||(e.rng||N)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return z(r)},v5:oe,NIL:"00000000-0000-0000-0000-000000000000",version:function(e){if(!D(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)},validate:D,stringify:z,parse:q});const ae=["debug","info","warn","error","none"];var se={commonBasicLogger:function(e,t){if(e&&e.destination&&"function"!=typeof e.destination)throw new Error("destination for basicLogger was set to a non-function");function n(e){return function(t){console&&console[e]&&console[e].call(console,t)}}const r=e&&e.destination?[e.destination,e.destination,e.destination,e.destination]:[n("log"),n("info"),n("warn"),n("error")],o=!(!e||!e.destination),i=e&&void 0!==e.prefix&&null!==e.prefix?e.prefix:"[LaunchDarkly] ";let a=1;if(e&&e.level)for(let t=0;t<ae.length;t++)ae[t]===e.level&&(a=t);function s(e,n,a){if(a.length<1)return;let s;const l=o?n+": "+i:i;if(1!==a.length&&t){const e=[...a];e[0]=l+e[0],s=t(...e)}else s=l+a[0];try{r[e](s)}catch(e){console&&console.log&&console.log("[LaunchDarkly] Configured logger's "+n+" method threw an exception: "+e)}}const l={};for(let e=0;e<ae.length;e++){const t=ae[e];if("none"!==t)if(e<a)l[t]=()=>{};else{const n=e;l[t]=function(){s(n,t,arguments)}}}return l},validateLogger:function(e){ae.forEach((t=>{if("none"!==t&&(!e[t]||"function"!=typeof e[t]))throw new Error("Provided logger instance must support logger."+t+"(...) method")}))}};function le(e){return e&&e.message?e.message:"string"==typeof e||e instanceof String?e:JSON.stringify(e)}const ce=" Please see https://docs.launchdarkly.com/sdk/client-side/javascript#initialize-the-client for instructions on SDK initialization.";var ue={bootstrapInvalid:function(){return"LaunchDarkly bootstrap data is not available because the back end could not read the flags."},bootstrapOldFormat:function(){return"LaunchDarkly client was initialized with bootstrap data that did not include flag metadata. Events may not be sent correctly."+ce},clientInitialized:function(){return"LaunchDarkly client initialized"},clientNotReady:function(){return"LaunchDarkly client is not ready"},debugEnqueueingEvent:function(e){return'enqueueing "'+e+'" event'},debugPostingDiagnosticEvent:function(e){return"sending diagnostic event ("+e.kind+")"},debugPostingEvents:function(e){return"sending "+e+" events"},debugStreamDelete:function(e){return'received streaming deletion for flag "'+e+'"'},debugStreamDeleteIgnored:function(e){return'received streaming deletion for flag "'+e+'" but ignored due to version check'},debugStreamPatch:function(e){return'received streaming update for flag "'+e+'"'},debugStreamPatchIgnored:function(e){return'received streaming update for flag "'+e+'" but ignored due to version check'},debugStreamPing:function(){return"received ping message from stream"},debugPolling:function(e){return"polling for feature flags at "+e},debugStreamPut:function(){return"received streaming update for all flags"},deprecated:function(e,t){return t?'"'+e+'" is deprecated, please use "'+t+'"':'"'+e+'" is deprecated'},environmentNotFound:function(){return"Environment not found. Double check that you specified a valid environment/client-side ID."+ce},environmentNotSpecified:function(){return"No environment/client-side ID was specified."+ce},errorFetchingFlags:function(e){return"Error fetching flag settings: "+le(e)},eventCapacityExceeded:function(){return"Exceeded event queue capacity. Increase capacity to avoid dropping events."},eventWithoutContext:function(){return"Be sure to call `identify` in the LaunchDarkly client: https://docs.lau
32nchdarkly.com/sdk/features/identify#javascript"},httpErrorMessage:function(e,t,n){return"Received error "+e+(401===e?" (invalid SDK key)":"")+" for "+t+" - "+(v.isHttpErrorRecoverable(e)?n:"giving up permanently")},httpUnavailable:function(){return"Cannot make HTTP requests in this environment."+ce},identifyDisabled:function(){return"identify() has no effect here; it must be called on the main client instance"},inspectorMethodError:(e,t)=>`an inspector: "${t}" of type: "${e}" generated an exception`,invalidContentType:function(e){return'Expected application/json content type but got "'+e+'"'},invalidData:function(){return"Invalid data received from LaunchDarkly; connection may have been interrupted"},invalidInspector:(e,t)=>`an inspector: "${t}" of an invalid type (${e}) was configured`,invalidKey:function(){return"Event key must be a string"},invalidMetricValue:e=>`The track function was called with a non-numeric "metricValue" (${e}), only numeric metric values are supported.`,invalidContext:function(){return"Invalid context specified."+ce},invalidTagValue:e=>`Config option "${e}" must only contain letters, numbers, ., _ or -.`,localStorageUnavailable:function(e){return"local storage is unavailable: "+le(e)},networkError:e=>"network error"+(e?" ("+e+")":""),optionBelowMinimum:(e,t,n)=>'Config option "'+e+'" was set to '+t+", changing to minimum value of "+n,streamClosing:function(){return"Closing stream connection"},streamConnecting:function(e){return"Opening stream connection to "+e},streamError:function(e,t){return"Error on stream connection: "+le(e)+", will continue retrying after "+t+" milliseconds."},tagValueTooLong:e=>`Value of "${e}" was longer than 64 characters and was discarded.`,unknownCustomEventKey:function(e){return'Custom event "'+e+'" does not exist'},unknownOption:e=>'Ignoring unknown config option "'+e+'"',contextNotSpecified:function(){return"No context specified."+ce},unrecoverableStreamError:e=>`Error on stream connection ${le(e)}, giving up permanently`,wrongOptionType:(e,t,n)=>'Config option "'+e+'" should be of type '+t+", got "+n+", using default value",wrongOptionTypeBoolean:(e,t)=>'Config option "'+e+'" should be a boolean, got '+t+", converting to boolean"};const{validateLogger:de}=se,pe={baseUrl:{default:"https://app.launchdarkly.com"},streamUrl:{default:"https://clientstream.launchdarkly.com"},eventsUrl:{default:"https://events.launchdarkly.com"},sendEvents:{default:!0},streaming:{type:"boolean"},sendLDHeaders:{default:!0},requestHeaderTransform:{type:"function"},sendEventsOnlyForVariation:{default:!1},useReport:{default:!1},evaluationReasons:{default:!1},eventCapacity:{default:100,minimum:1},flushInterval:{default:2e3,minimum:2e3},samplingInterval:{default:0,minimum:0},streamReconnectDelay:{default:1e3,minimum:0},allAttributesPrivate:{default:!1},privateAttributes:{default:[]},bootstrap:{type:"string|object"},diagnosticRecordingInterval:{default:9e5,minimum:2e3},diagnosticOptOut:{default:!1},wrapperName:{type:"string"},wrapperVersion:{type:"string"},stateProvider:{type:"object"},application:{validator:function(e,t,n){const r={};return t.id&&(r.id=me(`${e}.id`,t.id,n)),t.version&&(r.version=me(`${e}.version`,t.version,n)),r}},inspectors:{default:[]},hooks:{default:[]},plugins:{default:[]}},fe=/^(\w|\.|-)+$/;function he(e){return e&&e.replace(/\/+$/,"")}function me(e,t,n){if("string"==typeof t&&t.match(fe)){if(!(t.length>64))return t;n.warn(ue.tagValueTooLong(e))}else n.warn(ue.invalidTagValue(e))}var ge={baseOptionDefs:pe,validate:function(e,t,n,r){const o=I.extend({logger:{default:r}},pe,n),i={};function a(e){I.onNextTick((()=>{t&&t.maybeReportError(new v.LDInvalidArgumentError(e))}))}let s=I.extend({},e||{});return function(e){const t=e;
32Object.keys(i).forEach((e=>{if(void 0!==t[e]){const n=i[e];r&&r.warn(ue.deprecated(e,n)),n&&(void 0===t[n]&&(t[n]=t[e]),delete t[e])}}))}(s),s=function(e){const t=I.extend({},e);return Object.keys(o).forEach((e=>{void 0!==t[e]&&null!==t[e]||(t[e]=o[e]&&o[e].default)})),t}(s),s=function(e){const t=I.extend({},e),n=e=>{if(null===e)return"any";if(void 0===e)return;if(Array.isArray(e))return"array";const t=typeof e;return"boolean"===t||"string"===t||"number"===t||"function"===t?t:"object"};return Object.keys(e).forEach((i=>{const s=e[i];if(null!=s){const l=o[i];if(void 0===l)a(ue.unknownOption(i));else{const o=l.type||n(l.default),c=l.validator;if(c){const n=c(i,e[i],r);void 0!==n?t[i]=n:delete t[i]}else if("any"!==o){const e=o.split("|"),r=n(s);e.indexOf(r)<0?"boolean"===o?(t[i]=!!s,a(ue.wrongOptionTypeBoolean(i,r))):(a(ue.wrongOptionType(i,o,r)),t[i]=l.default):"number"===r&&void 0!==l.minimum&&s<l.minimum&&(a(ue.optionBelowMinimum(i,s,l.minimum)),t[i]=l.minimum)}}}})),t.baseUrl=he(t.baseUrl),t.streamUrl=he(t.streamUrl),t.eventsUrl=he(t.eventsUrl),t}(s),de(s.logger),s},getTags:function(e){const t={};return e&&(e.application&&void 0!==e.application.id&&null!==e.application.id&&(t["application-id"]=[e.application.id]),e.application&&void 0!==e.application.version&&null!==e.application.id&&(t["application-version"]=[e.application.version])),t}};const{getLDUserAgentString:ve}=I;var ye={getLDHeaders:function(e,t){if(t&&!t.sendLDHeaders)return{};const n={};n[e.userAgentHeaderName||"User-Agent"]=ve(e),t&&t.wrapperName&&(n["X-LaunchDarkly-Wrapper"]=t.wrapperVersion?t.wrapperName+"/"+t.wrapperVersion:t.wrapperName);const r=ge.getTags(t),o=Object.keys(r);return o.length&&(n["x-launchdarkly-tags"]=o.sort().map((e=>Array.isArray(r[e])?r[e].sort().map((t=>`${e}/${t}`)):[`${e}/${r[e]}`])).reduce(((e,t)=>e.concat(t)),[]).join(" ")),n},transformHeaders:function(e,t){return t&&t.requestHeaderTransform?t.requestHeaderTransform({...e}):e}};const{v1:be}=ie,{getLDHeaders:we,transformHeaders:xe}=ye;var ke=function(e,t,n){const r=I.extend({"Content-Type":"application/json"},we(e,n)),o={sendEvents:(t,o,i)=>{if(!e.httpRequest)return Promise.resolve();const a=JSON.stringify(t),s=i?null:be();return function t(l){const c=i?r:I.extend({},r,{"X-LaunchDarkly-Event-Schema":"4","X-LaunchDarkly-Payload-ID":s});return e.httpRequest("POST",o,xe(c,n),a).promise.then((e=>{if(e)return e.status>=400&&v.isHttpErrorRecoverable(e.status)&&l?t(!1):function(e){const t={status:e.status},n=e.header("date");if(n){const e=Date.parse(n);e&&(t.serverTime=e)}return t}(e)})).catch((()=>l?t(!1):Promise.reject()))}(!0).catch((()=>{}))}};return o},Ce=function e(t,n=[]){if(null===t||"object"!=typeof t)return JSON.stringify(t);if(n.includes(t))throw new Error("Cycle detected");return Array.isArray(t)?`[${t.map((r=>e(r,[...n,t]))).map((e=>void 0===e?"null":e)).join(",")}]`:`{${Object.keys(t).sort().map((r=>{const o=e(t[r],[...n,t]);if(void 0!==o)return`${JSON.stringify(r)}:${o}`})).filter((e=>void 0!==e)).join(",")}}`};const{commonBasicLogger:Ee}=se;function Se(e){return"string"==typeof e&&"kind"!==e&&e.match(/^(\w|\.|-)+$/)}function Oe(e){return e.includes("%")||e.includes(":")?e.replace(/%/g,"%25").replace(/:/g,"%3A"):e}var Ae={checkContext:function(e,t){if(e){if(t&&(void 0===e.kind||null===e.kind))return void 0!==e.ke
32y&&null!==e.key;const n=e.key,r=void 0===e.kind?"user":e.kind,o=Se(r),i="multi"===r||null!=n&&""!==n;if("multi"===r){const t=Object.keys(e).filter((e=>"kind"!==e));return i&&t.every((e=>Se(e)))&&t.every((t=>{const n=e[t].key;return null!=n&&""!==n}))}return i&&o}return!1},getContextKeys:function(e,t=Ee()){if(!e)return;const n={},{kind:r,key:o}=e;switch(r){case void 0:n.user=`${o}`;break;case"multi":Object.entries(e).filter((([e])=>"kind"!==e)).forEach((([e,t])=>{t&&t.key&&(n[e]=t.key)}));break;case null:t.warn(`null is not a valid context kind: ${e}`);break;case"":t.warn(`'' is not a valid context kind: ${e}`);break;default:n[r]=`${o}`}return n},getContextKinds:function(e){return e?null===e.kind||void 0===e.kind?["user"]:"multi"!==e.kind?[e.kind]:Object.keys(e).filter((e=>"kind"!==e)):[]},getCanonicalKey:function(e){if(e){if((void 0===e.kind||null===e.kind||"user"===e.kind)&&e.key)return e.key;if("multi"!==e.kind&&e.key)return`${e.kind}:${Oe(e.key)}`;if("multi"===e.kind)return Object.keys(e).sort().filter((e=>"kind"!==e)).map((t=>`${t}:${Oe(e[t].key)}`)).join(":")}}};const{getContextKinds:_e}=Ae;var Pe=function(e){let t={},n={};return{summarizeEvent:function(e){if("feature"===e.kind){const r=Ce(e.context);if(!r)return;let o=t[r];o||(t[r]=function(){const e={};let t=0,n=0,r={},o={};return e.summarizeEvent=e=>{if("feature"===e.kind){const i=e.key+":"+(null!==e.variation&&void 0!==e.variation?e.variation:"")+":"+(null!==e.version&&void 0!==e.version?e.version:""),a=r[i];let s=o[e.key];s||(s=new Set,o[e.key]=s),function(e){return e.context?_e(e.context):e.contextKeys?Object.keys(e.contextKeys):[]}(e).forEach((e=>s.add(e))),a?a.count=a.count+1:r[i]={count:1,key:e.key,version:e.version,variation:e.variation,value:e.value,default:e.default},(0===t||e.creationDate<t)&&(t=e.creationDate),e.creationDate>n&&(n=e.creationDate)}},e.getSummary=()=>{const e={};let i=!0;for(const t of Object.values(r)){let n=e[t.key];n||(n={default:t.default,counters:[],contextKinds:[...o[t.key]]},e[t.key]=n);const r={value:t.value,count:t.count};void 0!==t.variation&&null!==t.variation&&(r.variation=t.variation),void 0!==t.version&&null!==t.version?r.version=t.version:r.unknown=!0,n.counters.push(r),i=!1}return i?null:{startDate:t,endDate:n,features:e,kind:"summary"}},e.clearSummary=()=>{t=0,n=0,r={},o={}},e}(),o=t[r],n[r]=e.context),o.summarizeEvent(e)}},getSummaries:function(){const r=t,o=n;return t={},n={},Object.entries(r).map((([t,n])=>{const r=n.getSummary();return r.context=e.filter(o[t]),r}))}}};function je(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function Te(e){return(e.startsWith("/")?e.substring(1):e).split("/").map((e=>e.indexOf("~")>=0?e.replace(/~1/g,"/").replace(/~0/g,"~"):e))}function Ie(e){return!e.startsWith("/")}function Le(e,t){const n=Ie(e),r=Ie(t);if(n&&r)return e===t;if(n){const n=Te(t);return 1===n.length&&e===n[0]}if(r){const n=Te(e);return 1===n.length&&t===n[0]}return e===t}function Ne(e){return`/${je(e)}`}var Re={cloneExcluding:function(e,t){const n=[],r={},o=[];for(n.push(...Object.keys(e).map((t=>({key:t,ptr:Ne(t),source:e,parent:r,visited:[e]}))));n.length;){const e=n.pop();if(t.some((t=>Le(t,e.ptr))))o.push(e.ptr);else{const t=e.source[e.key];if(null===t)e.parent[e.key]=t;else if(Array.isArray(t))e.parent[e.key]=[...t];else if("object"==typeof t){if(e.visited.includes(t))continue;e.parent[e.key]={},n.push(...Object.keys(t).map((n=>{return{key:n,ptr:(r=e.ptr,o=je(n),`${r}/${o}`),source:t,parent:e.parent[e.key],visited:[...e.visited,t]};var r,o})))}else e.parent[e.key]=t}}return{cloned:r,excluded:o.sort()}},compare:Le,literalToReference:Ne};const{getContextKeys:De}=Ae;const Fe="ready",Me="initialized",Be="failed",{appendUrlPath:Ve,base64URLEncode:ze,objectHasOwnProperty:Ue}=I,{getLDHeaders:He,transformHeaders:qe}=ye,{isHttpErrorRecoverable:We}=v;const{transformHeaders:$e,getLDHeaders:Ge}=ye,Ke="application/json";const{v1:Ze}=ie,{getContextKinds:Ye}=Ae;var Xe=function(e){function t(e){return null==e||"user"===e?"ld:$anonUserId":`ld:$contextKey:${e}`}function n(n,r){return null!==r.key&&void 0!==r.key?(r.key=r.key.toString(),Promise.resolve(r)):r.anonymous?function(n){return e.get(t(n))}(n).then((o=>
32{if(o)return r.key=o,r;{const o=Ze();return r.key=o,function(n,r){return e.set(t(r),n)}(o,n).then((()=>r))}})):Promise.reject(new v.LDInvalidUserError(ue.invalidContext()))}this.processContext=e=>{if(!e)return Promise.reject(new v.LDInvalidUserError(ue.contextNotSpecified()));const t=I.clone(e);if("multi"===e.kind){const e=Ye(t);return Promise.all(e.map((e=>n(e,t[e])))).then((()=>t))}return n(e.kind,t)}};const{v1:Qe}=ie,{baseOptionDefs:Je}=ge,{appendUrlPath:et}=I;const{onNextTick:tt}=I,nt={flagUsed:"flag-used",flagDetailsChanged:"flag-details-changed",flagDetailChanged:"flag-detail-changed",clientIdentityChanged:"client-identity-changed"};Object.freeze(nt);var rt={InspectorTypes:nt,InspectorManager:function(e,t){const n={},r={[nt.flagUsed]:[],[nt.flagDetailsChanged]:[],[nt.flagDetailChanged]:[],[nt.clientIdentityChanged]:[]},o={[nt.flagUsed]:[],[nt.flagDetailsChanged]:[],[nt.flagDetailChanged]:[],[nt.clientIdentityChanged]:[]},i=e&&e.map((e=>function(e,t){let n=!1;const r={type:e.type,name:e.name,synchronous:e.synchronous,method:(...o)=>{try{e.method(...o)}catch{n||(n=!0,t.warn(ue.inspectorMethodError(r.type,r.name)))}}};return r}(e,t)));return i&&i.forEach((e=>{Object.prototype.hasOwnProperty.call(r,e.type)&&!e.synchronous?r[e.type].push(e):Object.prototype.hasOwnProperty.call(o,e.type)&&e.synchronous?o[e.type].push(e):t.warn(ue.invalidInspector(e.type,e.name))})),n.hasListeners=e=>r[e]&&r[e].length||o[e]&&o[e].length,n.onFlagUsed=(e,t,n)=>{const i=nt.flagUsed;o[i].length&&o[i].forEach((r=>r.method(e,t,n))),r[i].length&&tt((()=>{r[i].forEach((r=>r.method(e,t,n)))}))},n.onFlags=e=>{const t=nt.flagDetailsChanged;o[t].length&&o[t].forEach((t=>t.method(e))),r[t].length&&tt((()=>{r[t].forEach((t=>t.method(e)))}))},n.onFlagChanged=(e,t)=>{const n=nt.flagDetailChanged;o[n].length&&o[n].forEach((n=>n.method(e,t))),r[n].length&&tt((()=>{r[n].forEach((n=>n.method(e,t)))}))},n.onIdentityChanged=e=>{const t=nt.clientIdentityChanged;o[t].length&&o[t].forEach((t=>t.method(e))),r[t].length&&tt((()=>{r[t].forEach((t=>t.method(e)))}))},n}};const{LDTimeoutError:ot}=v,it="unknown hook";function at(e,t,n,r,o){try{return r()}catch(r){return e?.error(`An error was encountered in "${t}" of the "${n}" hook: ${r}`),o}}function st(e,t){try{return t.getMetadata().name||it}catch{return e.error("Exception thrown getting metadata for hook. Unable to get hook name."),it}}const lt="unknown plugin";function ct(e,t){try{return t.getMetadata().name||lt}catch(t){return e.error("Exception thrown getting metadata for plugin. Unable to get plugin name."),lt}}var ut={getPluginHooks:function(e,t,n){const r=[];return n.forEach((n=>{try{const o=n.getHooks?.(t);void 0===o?e.error(`Plugin ${ct(e,n)} returned undefined from getHooks.`):o&&o.length>0&&r.push(...o)}catch(t){e.error(`Exception thrown getting hooks for plugin ${ct(e,n)}. Unable to get hooks.`)}})),r},registerPlugins:function(e,t,n,r){r.forEach((r=>{try{r.register(n,t)}catch(t){e.error(`Exception thrown registering plugin ${ct(e,r)}.`)}}))},registerPluginsForDebugOverride:function(e,t,n){n.forEach((n=>{try{n.registerDebug?.(t)}catch(t){e.error(`Exception thrown registering debug override with plugin ${ct(e,n)}.`)}}))},createPluginEnvironment:function(e,t,n){const r={};e.userAgent&&(r.name=e.userAgent),e.version&&(r.version=e.version),n.wrapperName&&(r.wrapperName=n.wrapperName),n.wrapperVersion&&(r.wrapperVersion=n.wrapperVersion);const o={};n.application&&(n.application.name&&(o.name=n.application.name),n.application.version&&(o.version=n.application.version));const i={sdk:r,clientSideId:t};return Object.keys(o).length>0&&(i.application=o),i}};const{commonBasicLogger:dt}=se,{checkContext:pt,getContextKeys:ft}=Ae,{InspectorTypes:ht,InspectorManager:mt}=rt,{getPluginHooks:gt,registerPlugins:vt,registerPluginsForDebugOverride:yt,createPluginEnvironment:bt}=ut,wt="change",xt="internal-change";var kt={initialize:function(e,t,n,r,o){const i=n&&n.logger?n.logger:o&&o.logger&&o.logger.default||dt("warn"),a=function(e){const t={},n={};return t.on=function(e,t,r){n[e]=n[e]||[],n[e]=n[e].concat({handler:t,context:r})},t.off=function(e,t,r){if(n[e])for(let o=0;o<n[e].length;o++)n[e][o].handler===t&&n[e][o].context===r&&(n[e]=n[e].slice(0,o).c
32oncat(n[e].slice(o+1)))},t.emit=function(e){if(!n[e])return;const t=n[e].slice(0);for(let e=0;e<t.length;e++)t[e].handler.apply(t[e].context,Array.prototype.slice.call(arguments,1))},t.getEvents=function(){return Object.keys(n)},t.getEventListenerCount=function(e){return n[e]?n[e].length:0},t.maybeReportError=function(t){t&&(n.error?this.emit("error",t):(e||console).error(t.message))},t}(i),s=function(e){let t=!1,n=!1,r=null,o=null;const i=new Promise((t=>{const n=()=>{e.off(Fe,n),t()};e.on(Fe,n)})).catch((()=>{}));return{getInitializationPromise:()=>o||(t?Promise.resolve():n?Promise.reject(r):(o=new Promise(((t,n)=>{const r=()=>{e.off(Me,r),t()},o=t=>{e.off(Be,o),n(t)};e.on(Me,r),e.on(Be,o)})),o)),getReadyPromise:()=>i,signalSuccess:()=>{t||n||(t=!0,e.emit(Me),e.emit(Fe))},signalFailure:o=>{t||n||(n=!0,r=o,e.emit(Be,o),e.emit(Fe)),e.maybeReportError(o)}}}(a),l=ge.validate(n,a,o,i),c=mt(l.inspectors,i),u=l.sendEvents;let d=e,p=l.hash;const f=[...l.plugins],h=bt(r,e,l),m=gt(i,h,f),g=function(e,t){const n=t?[...t]:[];return{withEvaluation:function(t,r,o,i){if(0===n.length)return i();const a=[...n],s={flagKey:t,context:r,defaultValue:o},l=function(e,t,n){return t.map((t=>at(e,"beforeEvaluation",st(e,t),(()=>t?.beforeEvaluation?.(n,{})??{}),{})))}(e,a,s),c=i();return function(e,t,n,r,o){for(let i=t.length-1;i>=0;i-=1){const a=t[i],s=r[i];at(e,"afterEvaluation",st(e,a),(()=>a?.afterEvaluation?.(n,s,o)??{}),{})}}(e,a,s,l,c),c},identify:function(t,r){const o=[...n],i={context:t,timeout:r},a=function(e,t,n){return t.map((t=>at(e,"beforeIdentify",st(e,t),(()=>t?.beforeIdentify?.(n,{})??{}),{})))}(e,o,i);return t=>{!function(e,t,n,r,o){for(let i=t.length-1;i>=0;i-=1){const a=t[i],s=r[i];at(e,"afterIdentify",st(e,a),(()=>a?.afterIdentify?.(n,s,o)??{}),{})}}(e,o,i,a,t)}},addHook:function(e){n.push(e)},afterTrack:function(t){if(0===n.length)return;const r=[...n];!function(e,t,n){for(let r=t.length-1;r>=0;r-=1){const o=t[r];at(e,"afterTrack",st(e,o),(()=>o?.afterTrack?.(n)),void 0)}}(e,r,t)}}}(i,[...l.hooks,...m]),y=function(e,t){const n={};let r=!1;const o=e=>{r||(r=!0,t.warn(ue.localStorageUnavailable(e)))};return n.isEnabled=()=>!!e,n.get=t=>new Promise((n=>{e?e.get(t).then(n).catch((e=>{o(e),n(void 0)})):n(void 0)})),n.set=(t,n)=>new Promise((r=>{e?e.set(t,n).then((()=>r(!0))).catch((e=>{o(e),r(!1)})):r(!1)})),n.clear=t=>new Promise((n=>{e?e.clear(t).then((()=>n(!0))).catch((e=>{o(e),n(!1)})):n(!1)})),n}(r.localStorage,i),b=ke(r,0,l),w=l.sendEvents&&!l.diagnosticOptOut,x=w?function(e){const t={diagnosticId:Qe()};return e&&(t.sdkKeySuffix=e.length>6?e.substring(e.length-6):e),t}(d):null,k=w?function(e){let t,n,r,o;function i(e){t=e,n=0,r=0,o=[]}return i(e),{getProps:()=>({dataSinceDate:t,droppedEvents:n,eventsInLastBatch:r,streamInits:o}),setProps:e=>{t=e.dataSinceDate,n=e.droppedEvents||0,r=e.eventsInLastBatch||0,o=e.streamInits||[]},incrementDroppedEvents:()=>{n++},setEventsInLastBatch:e=>{r=e},recordStreamInit:(e,t,n)=>{const r={timestamp:e,failed:t,durationMillis:n};o.push(r)},reset:i}}((new Date).getTime()):null,C=w?function(e,t,n,r,o,i,a){const s=!!e.diagnosticUseCombinedEvent,l="ld:"+o+":$diagnostics",c=et(i.eventsUrl,"/events/diagnostic/"+o),u=i.diagnosticRecordingInterval,d=n;let p,f,h=!!i.streaming;const m={};function g(){return{sdk:b(),configuration:{customBaseURI:i.baseUrl!==Je.baseUrl.default,customStreamURI:i.streamUrl!==Je.streamUrl.default,customEventsURI:i.eventsUrl!==Je.eventsUrl.default,eventsCapacity:i.eventCapacity,eventsFlushIntervalMillis:i.flushInterval,reconnectTimeMillis:i.streamReconnectDelay,streamingDisabled:!h,allAttributesPrivate:!!i.allAttributesPrivate,diagnosticRecordingIntervalMillis:i.diagnosticRecordingInterval,usingSecureMode:!!i.hash,bootstrapMode:!!i.bootstrap,fetchGoalsDisabled:!i.fetchGoals,sendEventsOnlyForVariation:!!i.sendEventsOnlyForVariation},platform:e.diagnosticPlatformData}}function v(e){i.logger&&i.logger.debug(ue.debugPostingDiagnosticEvent(e)),r.sendEvents(e,c,!0).then((()=>{})).catch((()=>{}))}function y(){v(function(){const e=(new Date).getTime();let t={kind:s?"diagnostic-combined":"diagnostic",id:a,creationDate:e,...d.getProps()};return s&&(t={...t,...g()}),d.reset(e),t}()),f=setTimeout(y,u),p=(new Date).getTime(),s&&function(){if(t.isEnabled()){const e={...d.getProps()};t.set(l,JSON.stringify(e))}}()}function b(){const t={...e.diagnosticSdkData};return i.wrapperName&&(t.wrapperName=i.wrapperName),i.wrapperVersion&&(t.wrapperVersion=i.wrapperVersion),t}return m.start=()=>{s?function(e){if(!t.isEnabled())return e(!1);t.get(l).then((t=>{if(t)try{const e=JSON.parse(t);d.setProps(e),p=e.dataSinceDate}catch(e){}e(!0)})).catch((()=>{e(!1)}))}((e=>{if(e){const e=(p||0)+u,t=(new Date).getTime();t>=e?y():f=setTimeout(y,e-t)}else 0===Math.floor(4*Math.random())?y():f=setTimeout(y,u)})):(v({kind:"diagnostic-init",id:a,creationDate:d.getProps().dataSinceDate,...g()}),f=setTimeout(y,u))},m.stop=()=>{f&&clearTimeout(f)},m.setStreaming=e=>{h=e},m}(r,y,k,b,d,l,x):null,E=function(e,t,n,r){const o=t.streamUrl,i=t.logger,a={},s=Ve(o,"/eval/"+n),l=t.useReport,c=t.evaluationReasons,u=t.streamReconnectDelay,d=He(e,t);let p,f=!1,h=null,m=null,g=null,v=null,y=null,b=0;function w(e){if(e.status&&"number"==typeof e.status&&!We(e.status))return C(),i.error(ue.unrecoverableStreamError(e)),void(m&&(clearTimeout(m),m=null));const t=function(){const e=(t=function(){const e=u*Math.pow(2,b);return e>3e4?3e4:e}
32(),t-Math.trunc(.5*Math.random()*t));var t;return b+=1,e}();f||(i.warn(ue.streamError(e,t)),f=!0),E(!1),C(),x(t)}function x(e){m||(e?m=setTimeout(k,e):k())}function k(){let r;m=null;let a="";const u={headers:d,readTimeoutMillis:3e5};if(e.eventSourceFactory){null!=v&&(a="h="+v),l?e.eventSourceAllowsReport?(r=s,u.method="REPORT",u.headers["Content-Type"]="application/json",u.body=JSON.stringify(g)):(r=Ve(o,"/ping/"+n),a=""):r=s+"/"+ze(JSON.stringify(g)),u.headers=qe(u.headers,t),c&&(a=a+(a?"&":"")+"withReasons=true"),r=r+(a?"?":"")+a,C(),i.info(ue.streamConnecting(r)),p=(new Date).getTime(),h=e.eventSourceFactory(r,u);for(const e in y)Ue(y,e)&&h.addEventListener(e,y[e]);h.onerror=w,h.onopen=()=>{b=0}}}function C(){h&&(i.info(ue.streamClosing()),h.close(),h=null)}function E(e){p&&r&&r.recordStreamInit(p,!e,(new Date).getTime()-p),p=null}return a.connect=function(e,t,n){g=e,v=t,y={};for(const e in n||{})y[e]=function(t){f=!1,E(!0),n[e]&&n[e](t)};x()},a.disconnect=function(){clearTimeout(m),m=null,C()},a.isConnected=function(){return!!(h&&e.eventSourceIsActive&&e.eventSourceIsActive(h))},a}(r,l,d,k),S=l.eventProcessor||function(e,t,n,r=null,o=null,i=null){const a={},s=i||ke(e,0,t),l=I.appendUrlPath(t.eventsUrl,"/events/bulk/"+n),c=function(e){const t={},n=e.allAttributesPrivate,r=e.privateAttributes||[],o=["key","kind","_meta","anonymous"],i=["name","ip","firstName","lastName","email","avatar","country"],a=(e,t)=>{if("object"!=typeof e||null===e||Array.isArray(e))return;const{cloned:i,excluded:a}=Re.cloneExcluding(e,((e,t)=>(n||t&&e.anonymous?Object.keys(e):[...r,...e._meta&&e._meta.privateAttributes||[]]).filter((e=>!o.some((t=>Re.compare(e,t))))))(e,t));return i.key=String(i.key),a.length&&(i._meta||(i._meta={}),i._meta.redactedAttributes=a),i._meta&&(delete i._meta.privateAttributes,0===Object.keys(i._meta).length&&delete i._meta),void 0!==i.anonymous&&(i.anonymous=!!i.anonymous),i};return t.filter=(e,t=!1)=>void 0===e.kind||null===e.kind?a((e=>{const t={...e.custom||{},kind:"user",key:e.key};void 0!==e.anonymous&&(t.anonymous=!!e.anonymous);for(const n of i)delete t[n],void 0!==e[n]&&null!==e[n]&&(t[n]=String(e[n]));return void 0!==e.privateAttributeNames&&null!==e.privateAttributeNames&&(t._meta=t._meta||{},t._meta.privateAttributes=e.privateAttributeNames.map((e=>e.startsWith("/")?Re.literalToReference(e):e))),t})(e),t):"multi"===e.kind?((e,t)=>{const n={kind:e.kind},r=Object.keys(e);for(const o of r)if("kind"!==o){const r=a(e[o],t);r&&(n[o]=r)}return n})(e,t):a(e,t),t}(t),u=Pe(c),d=t.samplingInterval,p=t.eventCapacity,f=t.flushInterval,h=t.logger;let m,g=[],y=0,b=!1,w=!1;function x(){return 0===d||0===Math.floor(Math.random()*d)}function k(e){g.length<p?(g.push(e),w=!1):(w||(w=!0,h.warn(ue.eventCapacityExceeded())),r&&r.incrementDroppedEvents())}return a.enqueue=function(e){if(b)return;let t=!1,n=!1;var r;if(u.summarizeEvent(e),"feature"===e.kind?x()&&(t=!!e.trackEvents,n=!!(r=e).debugEventsUntilDate&&r.debugEventsUntilDate>y&&r.debugEventsUntilDate>(new Date).getTime()):t=x(),t&&k(function(e){const t=I.extend({},e);return"identify"===e.kind||"feature"===e.kind||"custom"===e.kind?t.context=c.filter(e.context):(t.contextKeys=De(e.context,h),delete t.context),"feature"===e.kind&&(delete t.trackEvents,delete t.debugEventsUntilDate),t}(e)),n){const t=I.extend({},e,{kind:"debug"});t.context=c.filter(t.context),delete t.trackEvents,delete t.debugEventsUntilDate,k(t)}},a.flush=async function(){if(b)return Promise.resolve();const e=g;return u.getSummaries().forEach((t=>{Object.keys(t.features).length&&e.push(t)})),r&&r.setEventsInLastBatch(e.length),0===e.length?Promise.resolve():(g=[],h.debug(ue.debugPostingEvents(e.length)),s.sendEvents(e,l).then((e=>{e&&(e.serverTime&&(y=e.serverTime),v.isHttpErrorRecoverable(e.status)||(b=!0),e.status>=400&&I.onNextTick((()=>{o.maybeReportError(new v.LDUnexpectedResponseError(ue.httpErrorMessage(e.status,"event posting","some events were dropped")))})))})))},a.start=function(){const e=()=>{a.flush(),m=setTimeout(e,f)};m=setTimeout(e,f)},a.stop=function(){clearTimeout(m)},a}(r,l,d,k,a,b),O=function(e,t,n){const r=t.baseUrl,o=t.useReport,i=t.evaluationReasons,a=t.logger,s={},l={};function c(n,r){if(!e.httpRequest)return new Promise(((e,t)=>{t(new v.LDFlagFetchError(ue.httpUnavailable()))}
32));const o=r?"REPORT":"GET",i=Ge(e,t);r&&(i["Content-Type"]=Ke);let a=l[n];a||(a=function(e){let t,n,r,o;const i={addPromise:(i,a)=>{t=i,n&&n(),n=a,i.then((n=>{t===i&&(r(n),e&&e())}),(n=>{t===i&&(o(n),e&&e())}))}};return i.resultPromise=new Promise(((e,t)=>{r=e,o=t})),i}((()=>{delete l[n]})),l[n]=a);const s=e.httpRequest(o,n,$e(i,t),r),c=s.promise.then((e=>{if(200===e.status){if(e.header("content-type")&&e.header("content-type").substring(0,16)===Ke)return JSON.parse(e.body);{const t=ue.invalidContentType(e.header("content-type")||"");return Promise.reject(new v.LDFlagFetchError(t))}}return Promise.reject(function(e){return 404===e.status?new v.LDInvalidEnvironmentIdError(ue.environmentNotFound()):new v.LDFlagFetchError(ue.errorFetchingFlags(e.statusText||String(e.status)))}(e))}),(e=>Promise.reject(new v.LDFlagFetchError(ue.networkError(e)))));return a.addPromise(c,(()=>{s.cancel&&s.cancel()})),a.resultPromise}return s.fetchJSON=function(e){return c(I.appendUrlPath(r,e),null)},s.fetchFlagSettings=function(e,t){let s,l,u,d="";return o?(l=[r,"/sdk/evalx/",n,"/context"].join(""),u=JSON.stringify(e)):(s=I.base64URLEncode(JSON.stringify(e)),l=[r,"/sdk/evalx/",n,"/contexts/",s].join("")),t&&(d="h="+t),i&&(d=d+(d?"&":"")+"withReasons=true"),l=l+(d?"?":"")+d,a.debug(ue.debugPolling(l)),c(l,u)},s}(r,l,d),A=function(){let e,t={};function n(n){return e&&I.objectHasOwnProperty(e,n)&&e[n]?e[n]:t&&I.objectHasOwnProperty(t,n)&&t[n]&&!t[n].deleted?t[n]:null}return{clearAllOverrides:function(){if(!e)return{};const t={...e};return e=void 0,t},get:n,getFlagOverrides:function(){return e||{}},getFlags:function(){return t},getFlagsWithOverrides:function(){const r={};for(const e in t){const t=n(e);t&&(r[e]=t)}if(e)for(const t in e){const e=n(t);e&&(r[t]=e)}return r},removeOverride:function(t){e&&e[t]&&(delete e[t],0===Object.keys(e).length&&(e=void 0))},setFlags:function(e){t={...e}},setOverride:function(t,n){e||(e={}),e[t]={value:n}}}}();let _,P,j,T=l.streaming,L=!1,N=!1,R=!0;const D=l.stateProvider,F=function(e,t){const n={};let r;return n.setContext=function(e){r=I.sanitizeContext(e),r&&t&&t(I.clone(r))},n.getContext=function(){return r?I.clone(r):null},n}(0,(function(e){(function(e){D||e&&V({kind:"identify",context:e,creationDate:(new Date).getTime()})})(e),c.hasListeners(ht.clientIdentityChanged)&&c.onIdentityChanged(F.getContext())})),M=new Xe(y),B=y.isEnabled()?function(e,t,n,r){const o={};function i(){let e="";const o=r.getContext();return o&&(e=n||I.btoa(JSON.stringify(o))),"ld:"+t+":"+e}return o.loadFlags=()=>e.get(i()).then((e=>{if(null==e)return null;try{let t=JSON.parse(e);if(t){const e=t.$schema;void 0===e||e<1?t=I.transformValuesToVersionedValues(t):delete t.$schema}return t}catch(e){return o.clearFlags().then((()=>null))}})),o.saveFlags=t=>{const n=I.extend({},t,{$schema:1});return e.set(i(),JSON.stringify(n))},o.clearFlags=()=>e.clear(i()),o}(y,d,p,F):null;function V(e){d&&(D&&D.enqueueEvent&&D.enqueueEvent(e)||(e.context?(R=!1,!u||N||r.isDoNotTrack()||(i.debug(ue.debugEnqueueingEvent(e.kind)),S.enqueue(e))):R&&(i.warn(ue.eventWithoutContext()),R=!1)))}function z(e,t){c.hasListeners(ht.flagDetailChanged)&&c.onFlagChanged(e.key,$(t))}function U(){c.hasListeners(ht.flagDetailsChanged)&&c.onFlags(Object.entries(A.getFlagsWithOverrides()).map((([e,t])=>({key:e,detail:$(t)}))).reduce(((e,t)=>(e[t.key]=t.detail,e)),{}))}function H(e,t,n,r){const o=F.getContext(),i=new Date,a={kind:"feature",key:e,context:o,value:t?t.value:null,variation:t?t.variationIndex:null,default:n,creationDate:i.getTime()},s=A.getFlags()[e];s&&(a.version=s.flagVersion?s.flagVersion:s.version,a.trackEvents=s.trackEvents,a.debugEventsUntilDate=s.debugEventsUntilDate),(r||s&&s.trackReason)&&t&&(a.reason=t.reason),V(a)}function q(e){return pt(e,!1)?Promise.resolve(e):Promise.reject(new v.LDInvalidUserError(ue.invalidContext()))}function W(e,t,n,r,o,i){let a;const s=A.get(e);return s?(a=$(s),null!==s.value&&void 0!==s.value||(a.value=t)):a={value:t,variationIndex:null,reason:{kind:"ERROR",errorKind:"FLAG_NOT_FOUND"}},n&&(o||s?.prerequisites?.forEach((e=>
32{W(e,void 0,n,!1,!1,!1)})),H(e,a,t,r)),!o&&i&&function(e,t){c.hasListeners(ht.flagUsed)&&c.onFlagUsed(e,t,F.getContext())}(e,a),a}function $(e){return{value:e.value,variationIndex:void 0===e.variation?null:e.variation,reason:e.reason||null}}function G(){if(P=!0,!F.getContext())return;const e=e=>{try{return JSON.parse(e)}catch(e){return void a.maybeReportError(new v.LDInvalidDataError(ue.invalidData()))}};E.connect(F.getContext(),p,{ping:function(){i.debug(ue.debugStreamPing());const e=F.getContext();O.fetchFlagSettings(e,p).then((t=>{I.deepEquals(e,F.getContext())&&Z(t||{})})).catch((e=>{a.maybeReportError(new v.LDFlagFetchError(ue.errorFetchingFlags(e)))}))},put:function(t){const n=e(t.data);n&&(i.debug(ue.debugStreamPut()),Z(n))},patch:function(t){const n=e(t.data);if(!n)return;const r=A.getFlags(),o=r[n.key];if(!o||!o.version||!n.version||o.version<n.version){i.debug(ue.debugStreamPatch(n.key));const e={},t=I.extend({},n);delete t.key,r[n.key]=t,A.setFlags(r);const a=$(t);e[n.key]=o?{previous:o.value,current:a}:{current:a},z(n,t),Y(e)}else i.debug(ue.debugStreamPatchIgnored(n.key))},delete:function(t){const n=e(t.data);if(!n)return;const r=A.getFlags();if(!r[n.key]||r[n.key].version<n.version){i.debug(ue.debugStreamDelete(n.key));const e={};r[n.key]&&!r[n.key].deleted&&(e[n.key]={previous:r[n.key].value}),r[n.key]={version:n.version,deleted:!0},A.setFlags(r),z(n,r[n.key]),Y(e)}else i.debug(ue.debugStreamDeleteIgnored(n.key))}})}function K(){P&&(E.disconnect(),P=!1)}function Z(e){const t={};if(!e)return Promise.resolve();const n=A.getFlags();for(const r in n)I.objectHasOwnProperty(n,r)&&n[r]&&(e[r]&&!I.deepEquals(e[r].value,n[r].value)?t[r]={previous:n[r].value,current:$(e[r])}:e[r]&&!e[r].deleted||(t[r]={previous:n[r].value}));for(const r in e)I.objectHasOwnProperty(e,r)&&e[r]&&(!n[r]||n[r].deleted)&&(t[r]={current:$(e[r])});return A.setFlags({...e}),U(),Y(t).catch((()=>{}))}function Y(e){const t=Object.keys(e);if(t.length>0){const n={};t.forEach((t=>{const r=e[t].current,o=r?r.value:void 0,i=e[t].previous;a.emit(wt+":"+t,o,i),n[t]=r?{current:o,previous:i}:{previous:i}})),a.emit(wt,n),a.emit(xt,A.getFlagsWithOverrides()),l.sendEventsOnlyForVariation||D||t.forEach((t=>{H(t,e[t].current)}))}return _&&B?B.saveFlags(A.getFlags()):Promise.resolve()}function X(){const e=T||j&&void 0===T;e&&!P?G():!e&&P&&K(),C&&C.setStreaming(e)}function Q(e){return e===wt||e.substr(0,7)===wt+":"}if("string"==typeof l.bootstrap&&"LOCALSTORAGE"===l.bootstrap.toUpperCase()&&(B?_=!0:i.warn(ue.localStorageUnavailable())),"object"==typeof l.bootstrap&&A.setFlags(function(e){const t=Object.keys(e),n="$flagsState",r="$valid",o=e[n];!o&&t.length&&i.warn(ue.bootstrapOldFormat()),!1===e[r]&&i.warn(ue.bootstrapInvalid());const a={};return t.forEach((t=>{if(t!==n&&t!==r){let n={value:e[t]};o&&o[t]?n=I.extend(n,o[t]):n.version=0,a[t]=n}})),a}(l.bootstrap)),D){const e=D.getInitialState();e?J(e):D.on("init",J),D.on("update",(function(e){e.context&&F.setContext(e.context),e.flags&&Z(e.flags)}))}else(function(){if(!e)return Promise.reject(new v.LDInvalidEnvironmentIdError(ue.environmentNotSpecified()));let n;return M.processContext(t).then(q).then((e=>(n=I.once(g.identify(e,void 0)),e))).then((e=>(n?.({status:"completed"}),F.setContext(e),"object"==typeof l.bootstrap?ee():_?B.loadFlags().then((e=>null==e?(A.setFlags({}),O.fetchFlagSettings(F.getContext(),p).then((e=>Z(e||{}))).then(ee).catch((e=>{te(new v.LDFlagFetchError(ue.errorFetchingFlags(e)))}))):(A.setFlags(e),I.onNextTick(ee),O.fetchFlagSettings(F.getContext(),p).then((e=>Z(e))).catch((e=>a.maybeReportError(e)))))):O.fetchFlagSettings(F.getContext(),p).then((e=>{A.setFlags(e||{}),U(),ee()})).catch((e=>{A.setFlags({}),te(e)}))))).catch((e=>{throw n?.({status:"error"}),e}))})().catch(te);function J(e){d=e.environment,F.setContext(e.context),A.setFlags({...e.flags}),I.onNextTick(ee)}function ee(){i.info(ue.clientInitialized()),L=!0,X(),s.signalSuccess()}function te(e){s.signalFailure(e)}const ne={waitForInitialization:function(e=void 0){if(null!=e){if("number"==typeof e)return function(e){e>5&&i.warn("The waitForInitialization function was called with a timeout greater than 5 seconds. We recommend a timeout of 5 seconds or less.");const t=s.getInitializationPromise(),n=function(e){return new Promise(((t,n)=>{setTimeout((()=>{n(new ot(`waitForInitialization timed out after ${e} seconds.`))}),1e3*e)}))}(e);return Promise.race([n,t]).catch((e=>{throw e instanceof v.LDTimeoutError&&i.error(`waitForInitialization error: ${e}`),e}))}(e);i.warn("The waitForInitialization method was provided with a non-numeric timeout.")}return i.warn("The waitForInitialization function was called without a timeout specified. In a future version a default timeout will be applied."),s.getInitializationPromise()},waitUntilReady:()=>s.getReadyPromise(),identify:function(e,t,n){if(N)return I.wrapPromiseCallback(Promise.resolve({}),n);if(D)return i.warn(ue.identifyDisabled()),I.wrapPromiseCallback(Promise.resolve(I.transformVersionedValuesToValues(A.getFlagsWithOverrides())),n);let r;const o=_&&B?B.clearFlags():Promise.resolve();return I.wrapPromiseCallback(o.then((()=>M.processContext(e))).then(q).then((e=>(r=I.once(g.identify(e,void 0)),e))).then((e=>O.fetchFlagSettings(e,t).then((n=>{const r=I.transformVersionedValuesToValues(n);return F.setContext(e),p=t,n?Z(n).then((()=>r)):r})))).then((e=>(r?.({status:"completed"}),P&&G(),e))).catch((e=>(r?.({status:"error"}),a.maybeReportError(e),Promise.reject(e)))),n)},getContext:function(){return F.getContext()},variation:function(e,t){const{value:n}=g.withEvaluation(e,F.getContext(),t,(()=>W(e,t,!0,!1,!1,!0)));return n},variationDetail:function(e,t){return g.withEvaluation(e,F.getContext(),t,(()=>W(e,t,!0,!0,!1,!0)))},track:function(e,t,n){if("string"!=typeof e)return void a.maybeReportError(new v.LDInvalidEventKeyError(ue.unknownCustomEventKey(e)));
vendor: 1,116 bytes, line 32
32void 0!==n&&"number"!=typeof n&&i.warn(ue.invalidMetricValue(typeof n)),r.customEventFilter&&!r.customEventFilter(e)&&i.warn(ue.unknownCustomEventKey(e));const o=F.getContext(),s={kind:"custom",key:e,context:o,url:r.getCurrentUrl(),creationDate:(new Date).getTime()};o&&o.anonymous&&(s.contextKind=o.anonymous?"anonymousUser":"user"),null!=t&&(s.data=t),null!=n&&(s.metricValue=n),V(s),g.afterTrack({context:o,key:e,data:t,metricValue:n})},on:function(e,t,n){Q(e)?(j=!0,L&&X(),a.on(e,t,n)):a.on(...arguments)},off:function(e){if(a.off(...arguments),Q(e)){let e=!1;a.getEvents().forEach((t=>{Q(t)&&a.getEventListenerCount(t)>0&&(e=!0)})),e||(j=!1,P&&void 0===T&&K())}},setStreaming:function(e){const t=null===e?void 0:e;t!==T&&(T=t,X())},flush:function(e){return I.wrapPromiseCallback(u?S.flush():Promise.resolve(),e)},allFlags:function(){const e={},t=A.getFlagsWithOverrides();if(!t)return e;for(const n in t)e[n]=W(n,null,!l.sendEventsOnlyForVariation,!1,!0,!1).value;return e},close:function(e){if(N)return I.wrapPromiseCallback(Promise.resolve(),e);const t=()=>{N=!0,A.setFlags({})},n=Promise.resolve().then((()=>
32{if(K(),C&&C.stop(),u)return S.stop(),S.flush()})).then(t).catch(t);return I.wrapPromiseCallback(n,e)},addHook:function(e){g.addHook(e)}};vt(i,h,ne,f);const re={setOverride:function(e,t){const n={},r=A.get(e),o=r?r.value:null;if(o===t)return void i.debug(`setOverride: No change needed for ${e}, value already ${t}`);A.setOverride(e,t);const a=A.get(e),s=$(a);n[e]={previous:o,current:s},z({key:e},a),Y(n)},removeOverride:function(e){const t=A.getFlagOverrides();if(!t[e])return;const n={},r=t[e],o=A.getFlags()[e];n[e]={previous:r.value,current:o?$(o):void 0},A.removeOverride(e),z({key:e},o),Y(n)},clearAllOverrides:function(){const e=A.getFlagOverrides();if(0===Object.keys(e).length)return;const t={},n=A.getFlags();Object.keys(e).forEach((r=>{const o=e[r],i=n[r];t[r]={previous:o.value,current:i?$(i):void 0}})),A.clearAllOverrides(),Object.keys(t).length>0&&Y(t)},getAllOverrides:function(){const e=A.getFlagOverrides();if(!e)return{};const t={};return Object.keys(e).forEach((n=>{const r=e[n];r&&(t[n]=r.value)})),t}};return yt(i,re,f),{client:ne,options:l,emitter:a,ident:F,logger:i,requestor:O,start:function(){u&&(C&&C.start(),S.start())},enqueueEvent:V,getFlagsInternal:function(){return A.getFlagsWithOverrides()},getEnvironmentId:()=>d,internalChangeEventName:xt}},commonBasicLogger:dt,errors:v,messages:ue,utils:I,getContextKeys:ft},Ct=kt.initialize,Et=kt.errors;function St(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function At(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ot(Object(n),!0).forEach((function(t){St(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _t={promise:Promise.resolve({status:200,header:function(){return null},body:null})},Pt=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};function jt(e,t,n,r){var o,i,a=("substring"!==e.kind&&"regex"!==e.kind||!r.includes("/")?t.replace(r,""):t).replace(n,"");switch(e.kind){case"exact":i=t,o=new RegExp("^"+Pt(e.url)+"/?$");break;case"canonical":i=a,o=new RegExp("^"+Pt(e.url)+"/?$");break;case"substring":i=a,o=new RegExp(".*"+Pt(e.substring)+".*$");break;case"regex":i=a,o=new RegExp(e.pattern);break;default:return!1}return o.test(i)}function Tt(e,t){for(var n={},r=null,o=[],i=0;i<e.length;i++)for(var a=e[i],s=a.urls||[],l=0;l<s.length;l++)if(jt(s[l],window.location.href,window.location.search,window.location.hash)){"pageview"===a.kind?t("pageview",a):(o.push(a),t("click_pageview",a));break}return o.length>0&&(r=function(e){for(var n=function(e,t){for(var n=[],r=0;r<t.length;r++)for(var o=e.target,i=t[r],a=i.selector,s=document.querySelectorAll(a);o&&s.length>0;){for(var l=0;l<s.length;l++)o===s[l]&&n.push(i);o=o.parentNode}return n}(e,o),r=0;r<n.length;r++)t("click",n[r])},document.addEventListener("click",r)),n.dispose=function(){document.removeEventListener("click",r)},n}var It="goalsReady",Lt={fetchGoals:{default:!0},hash:{type:"string"},eventProcessor:{type:"object"},eventUrlTransformer:{type:"function"},disableSyncEventPost:{default:!1}};function Nt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=function(e){var t,n={userAgentHeaderName:"X-LaunchDarkly-User-Agent",synchronousFlush:!1};if(window.XMLHttpRequest){var r=e&&e.disableSyncEventPost;n.httpRequest=function(e,t,o,i){var a=n.synchronousFlush&!r;return n.synchronousFlush=!1,function(e,t,n,r,o){if(o&&!function(){var e=window.navigator&&window.navigator.userAgent;if(e){var t=e.match(/Chrom(e|ium)\/([0-9]+)\./);if(t)return parseInt(t[2],10)<73}return!0}())return _t;var i=new window.XMLHttpRequest;for(var a in i.open(e,t,!o),n||{})Object.prototype.hasOwnProperty.call(n,a)&&i.setRequestHeader(a,n[a]);if(o){try{i.send(r)}catch(e){}return _t}var s,l=new Promise((function(e,t){i.addEventListener("load",(function(){s||e({status:i.status,header:function(e){return i.getResponseHeader(e)},body:i.responseText})})),i.addEventListener("error",(function(){s||t(new Error)})),i.send(r)}));return{promise:l,cancel:function(){s=!0,i.abort()}}}(e,t,o,i,a)}}n.httpAllowsPost=function(){return void 0===t&&(t=!!window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest),t},n.httpFallbackPing=function(e){(new window.Image).src=e};var o,i=e&&e.eventUrlTransformer;n.getCurrentUrl=function(){return i?i(window.location.href):window.location.href},n.isDoNotTrack=function(){var e;return 1===(e=window.navigator&&void 0!==window.navigator.doNotTrack?window.navigator.doNotTrack:window.navigator&&void 0!==window.navigator.msDoNotTrack?window.navigator.msDoNotTrack:window.doNotTrack)||!0===e||"1"===e||"
32yes"===e};try{window.localStorage&&(n.localStorage={get:function(e){return new Promise((function(t){t(window.localStorage.getItem(e))}))},set:function(e,t){return new Promise((function(n){window.localStorage.setItem(e,t),n()}))},clear:function(e){return new Promise((function(t){window.localStorage.removeItem(e),t()}))}})}catch(e){n.localStorage=null}if(e&&e.useReport&&"function"==typeof window.EventSourcePolyfill&&window.EventSourcePolyfill.supportedOptions&&window.EventSourcePolyfill.supportedOptions.method?(n.eventSourceAllowsReport=!0,o=window.EventSourcePolyfill):(n.eventSourceAllowsReport=!1,o=window.EventSource),window.EventSource){var a=3e5;n.eventSourceFactory=function(e,t){var n=At(At({},{heartbeatTimeout:a,silentTimeout:a,skipDefaultHeaders:!0}),t);return new o(e,n)},n.eventSourceIsActive=function(e){return e.readyState===window.EventSource.OPEN||e.readyState===window.EventSource.CONNECTING}}return n.userAgent="JSClient",n.version="3.9.1",n.diagnosticSdkData={name:"js-client-sdk",version:"3.9.1"},n.diagnosticPlatformData={name:"JS"},n.diagnosticUseCombinedEvent=!0,n}(n),o=Ct(e,t,n,r,Lt),i=o.client,a=o.options,s=o.emitter,l=new Promise((function(e){var t=s.on(It,(function(){s.off(It,t),e()}))}));i.waitUntilGoalsReady=function(){return l},a.fetchGoals?function(e,t){var n,r;function o(){r&&r.dispose(),n&&n.length&&(r=Tt(n,i))}function i(t,n){var r=e.ident.getContext(),o={kind:t,key:n.key,data:null,url:window.location.href,creationDate:(new Date).getTime(),context:r};return"click"===t&&(o.selector=n.selector),e.enqueueEvent(o)}e.requestor.fetchJSON("/sdk/goals/"+e.getEnvironmentId()).then((function(e){e&&e.length>0&&(r=Tt(n=e,i),function(e,t){var n,r=window.location.href;function o(){(n=window.location.href)!==r&&(r=n,t())}!function e(t,n){t(),setTimeout((function(){e(t,n)}),n)}(o,300),window.history&&window.history.pushState?window.addEventListener("popstate",o):window.addEventListener("hashchange",o)}(0,o)),t()})).catch((function(n){e.emitter.maybeReportError(new Et.LDUnexpectedResponseError((n&&n.message,n.message))),t()}))}(o,(function(){return s.emit(It)})):s.emit(It),"complete"!==document.readyState?window.addEventListener("load",o.start):o.start();var c=function(){r.synchronousFlush=!0,i.flush().catch((function(){})),r.synchronousFlush=!1};return document.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState&&c()})),window.addEventListener("pagehide",c),i}var Rt=n(32028),Dt=n.n(Rt),Ft=n(4146),Mt=n.n(Ft);const Bt=(0,s.createContext)({flags:{},flagKeyMap:{},ldClient:void 0}),{Provider:Vt,Consumer:zt}=Bt,Ut={useCamelCaseFlagKeys:!0,sendEventsOnFlagRead:!0,reactContext:Bt},Ht=e=>{var t;return null!=(t=e.context)?t:e.user},qt=e=>{const t={};for(const n in e)0!==n.indexOf("$")&&(t[Dt()(n)]=e[n]);return t},Wt=(e,t)=>{const n={};for(const r in e)t&&void 0===t[r]||(n[r]=e[r].current);return n},$t=(e,t)=>{const n=e.allFlags();return t?Object.keys(t).reduce(((e,r)=>(e[r]=Object.prototype.hasOwnProperty.call(n,r)?n[r]:t[r],e)),{}):n};function Gt(e,t,n=Ut,r){const o=function(e,t){return void 0===t?e:Object.keys(t).reduce(((t,n)=>(Kt(e,n)&&(t[n]=e[n]),t)),{})}(t,r),{useCamelCaseFlagKeys:i=!0}=n,[a,s={}]=i?function(e){const t={},n={};for(const r in e){if(0===r.indexOf("$"))continue;const o=Dt()(r);t[o]=e[r],n[o]=r}return[t,n]}(o):[o];return{flags:n.sendEventsOnFlagRead?Zt(e,a,s,i):a,flagKeyMap:s}}function Kt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Zt(e,t,n,r){return new Proxy(t,{get(t,o,i){const a=Reflect.get(t,o,i),s=r&&Kt(n,o)||Kt(t,o);if("symbol"==typeof o||!s)return a;if(void 0===a)return;const l=r?n[o]:o;return e.variation(l,a)}})}qt.camelCaseKeys=qt;const Yt={wrapperName:"react-client-sdk",wrapperVersion:"3.9.1",sendEventsOnlyForVariation:!0};Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,s.Component,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var Xt=Object.defineProperty,Qt=Object.defineProperties,Jt=Object.getOwnPropertyDescriptors,en=Object.getOwnPropertySymbols,tn=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable,rn=(e,t,n)=>t in e?Xt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,on=(e,t)=>{for(var n in t||(t={}
32))tn.call(t,n)&&rn(e,n,t[n]);if(en)for(var n of en(t))nn.call(t,n)&&rn(e,n,t[n]);return e},an=(e,t)=>Qt(e,Jt(t));function sn(e){return t=this,n=function*(){var t,n;const{clientSideID:r,flags:o,options:i,reactOptions:a}=e,l=on(on({},Ut),a),u=null!=(t=Ht(e))?t:{anonymous:!0,kind:"user"};let d,p={};const f=null!=(n=yield e.ldClient)?n:Nt(r,u,on(on({},Yt),i));try{yield f.waitForInitialization(e.timeout),p=$t(f,o)}catch(e){d=e}const h=(null==i?void 0:i.bootstrap)&&"localStorage"!==i.bootstrap?i.bootstrap:p;return({children:e})=>{const[t,n]=(0,s.useState)((()=>an(on({unproxiedFlags:h},Gt(f,h,l,o)),{ldClient:f,error:d})));(0,s.useEffect)((()=>{function e(e){const t=Wt(e,o);Object.keys(t).length>0&&n((e=>{const n=on(on({},e.unproxiedFlags),t);return on(an(on({},e),{unproxiedFlags:n}),Gt(f,n,l,o))}))}function t(){const e=$t(f,o);n((t=>on(an(on({},t),{unproxiedFlags:e}),Gt(f,e,l,o))))}function r(e){n((t=>an(on({},t),{error:e})))}return f.on("change",e),(null==d?void 0:d.name.toLowerCase().includes("timeout"))&&(f.on("failed",r),f.on("ready",t)),function(){f.off("change",e),f.off("failed",r),f.off("ready",t)}}),[]);const r=t,{unproxiedFlags:i}=r,a=((e,t)=>{var n={};for(var r in e)tn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&en)for(var r of en(e))t.indexOf(r)<0&&nn.call(e,r)&&(n[r]=e[r]);return n})(r,["unproxiedFlags"]),{reactContext:u}=l;return c().createElement(u.Provider,{value:a},e)}},new Promise(((e,r)=>{var o=e=>{try{a(n.next(e))}catch(e){r(e)}},i=e=>{try{a(n.throw(e))}catch(e){r(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,i);a((n=n.apply(t,null)).next())}));var t,n}var ln=Object.defineProperty,cn=Object.getOwnPropertySymbols,un=Object.prototype.hasOwnProperty,dn=Object.prototype.propertyIsEnumerable,pn=(e,t,n)=>t in e?ln(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fn=(e,t)=>{for(var n in t||(t={}))un.call(t,n)&&pn(e,n,t[n]);if(cn)for(var n of cn(t))dn.call(t,n)&&pn(e,n,t[n]);return e};const hn=e=>{const{flags:t}=(0,s.useContext)(null!=e?e:Ut.reactContext);return t},mn=e=>{const{ldClient:t}=(0,s.useContext)(null!=e?e:Ut.reactContext);return t};function gn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vn(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function yn(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){vn(i,r,o,a,s,"next",e)}function s(e){vn(i,r,o,a,s,"throw",e)}a(void 0)}))}}function bn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xn(e,t,n){return t&&wn(e.prototype,t),n&&wn(e,n),e}function kn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cn(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function En(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){kn(e,t,n[t])}))}return e}function Sn(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function On(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||Pn(e,t)||function(){throw new TypeError("Invalid attempt to de
32structure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function An(e){return function(e){if(Array.isArray(e))return gn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Pn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _n(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Pn(e,t){if(e){if("string"==typeof e)return gn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gn(e,t):void 0}}function jn(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}var Tn,In,Ln,Nn,Rn,Dn="airTracker_unknown",Fn={appName:Dn,appVersion:Dn,env:"staging",isWebappContainer:!1,delay:2e3,errorRepeatTime:3,enableErrorMonitoring:!1,assetSpeedMonitoringWhiteList:[],enableDetectPageChange:!1,enableRecordPageRetention:!1,hideSearchParams:!1,useSessionStorageForSessionId:!1,assetSpeedMonitoringWhiteListByMFE:{}},Mn={appName:Dn,env:"staging",sessionId:Dn,deviceId:Dn},Bn=function(){var e=new WeakSet;return function(t,n){if(Cn(n,Error))return"Error.message: ".concat(n.message," \n Error.stack: ").concat(n.stack);if("object"===(void 0===n?"undefined":_n(n))&&null!==n){if(e.has(n))return"[Circular ".concat(t||"root","]");e.add(n)}return"function"==typeof n?"function":"symbol"===(void 0===n?"undefined":_n(n))?"symbol":void 0===n?null:n}},Vn=function(e){if("string"==typeof e)return e;try{return Cn(e,Error)?(JSON.stringify(e,Bn())||"undefined").replace(/"/gim,""):JSON.stringify(e,Bn())}catch(e){return'{"error":"error happen when airTracker stringify"}'}},zn=function(e){var t=e.method,n=void 0===t?"post":t,r=e.url,o=e.data,i=e.success,a=e.fail;if((s=o)&&!/^\s*$/.test(s)&&(s=(s=(s=s.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@")).replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]")).replace(/(?:^|:|,)(?:\s*\[)+/g,""),/^[\],:{}\s]*$/.test(s))){var s,l=new XMLHttpRequest;l.addEventListener("readystatechange",(function(){4===l.readyState&&(l.status>=400||0===l.status?null==a||a(l.response):null==i||i(l.response))})),l.open(n,r),l.setRequestHeader("Content-Type","application/json"),l.send(o)}},Un="onCommonUpdated",Hn="AIR_ANALYTICS_DEVICE_ID",qn="AIR_ANALYTICS_SESSION_ID",Wn=function(){var e="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}));return e},$n=function(e){var t,n,r;return e.config.getMFEName?e.config.getMFEName():(null===(r=location)||void 0===r||null===(n=r.pathname)||void 0===n||null===(t=n.split("/"))||void 0===t?void 0:t[2])||"unknown"},Gn=function(e){return"string"==typeof e?e.split("?")[1]||"":e},Kn=function(e){return"string"==typeof e&&e.startsWith("//")?"undefined"!=typeof location&&"https:"===location.protocol:/^https/.test(e)},Zn=function(e,t){return"number"==typeof e||"string"==typeof e?e:t?"":-1},Yn=function(e,t){var n,r=!1;if(!t.config.isWebappContainer)return Xn(e,t.config.assetSpeedMonitoringWhiteList);var o=$n(t);return r||Xn(e,null===(n=t.config.assetSpeedMonitoringWhiteListByMFE)||void 0===n?void 0:n[o])},Xn=function(e,t){if(!(null==t?void 0:t.length))return!1;for(var n=0;n<t.length;n++){var r=t[n];if(Cn(r,RegExp)&&r.test(e))return!0;
vendor: 4,712 bytes, line 32
32if("string"==typeof r&&e.includes(r))return!0}return!1},Qn=function(e,t){return Math.round(100*(e-t))/100},Jn=function(e){return function(t){var n,r,o,i=$n(e),a=e.config.isWebappContainer?En({},e.commonData||{},(null===(n=e.MFECommonDataMap)||void 0===n?void 0:n[i])||{}):e.commonData,s=Array.isArray(t)?t:[t];if(0!==s.length){var l=Vn({commonData:a,data:s}),c={method:"post",url:(o=e.commonData.env,"prod"==o?"https://o11y.airwallex.com/airtracker/logs":"demo"==o?"https://o11y-demo.airwallex.com/airtracker/logs":"preview"==o?"https://o11y.sandbox.airwallex.com/airtracker/logs":"https://o11y-staging.airwallex.com/airtracker/logs"),data:l};"function"==typeof(null===(r=navigator)||void 0===r?void 0:r.sendBeacon)&&navigator.sendBeacon(c.url,l)||zn(c)}}},er=function(e){return function(t){var n,r,o,i=$n(e),a={commonData:e.config.isWebappContainer?En({},e.commonData||{},(null===(n=e.MFECommonDataMap)||void 0===n?void 0:n[i])||{}):e.commonData,data:Array.isArray(t)?t:[t]},s=Vn(a),l={method:"post",url:(o=e.commonData.env,"prod"==o?"https://o11y.airwallex.com/airtracker/metrics":"demo"==o?"https://o11y-demo.airwallex.com/airtracker/metrics":"preview"==o?"https://o11y.sandbox.airwallex.com/airtracker/metrics":"https://o11y-staging.airwallex.com/airtracker/metrics"),data:s};"function"==typeof(null===(r=navigator)||void 0===r?void 0:r.sendBeacon)&&navigator.sendBeacon(l.url,s)||zn(l)}},tr=function(e,t){var n,r=[],o=e.config;return window.addEventListener("beforeunload",(function(){r.length>0&&(e.immediateSendPipe(r.splice(0,r.length)),n&&clearTimeout(n))})),function(i,a){if(r.push(i),e.lifeCycle.on(Un,(function(){r.length>0&&(null==a||a(r.splice(0,r.length)),e.lifeCycle.remove(Un),n&&clearTimeout(n))})),t&&r.length>=t)return null==a||a(r.splice(0,r.length)),void(n&&clearTimeout(n));n&&clearTimeout(n),n=setTimeout((function(){n=null,r.length>0&&(null==a||a(r.splice(0,r.length)),e.lifeCycle.remove(Un))}),o.delay)}},nr=function(){},rr=function(e){if(!e||!e.reduce||!e.length)throw new TypeError("createPipeline need at least one function param");return 1===e.length?function(t,n){e[0](t,n||nr)}:e.reduce((function(e,t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nr;return e(n,(function(e){return null==t?void 0:t(e,r)}))}}))},or=function(){function e(){var t=this;bn(this,e),this.emit=function(e,n){if(t){var r,o=t.eventsList[e];if(null==o?void 0:o.length){o=o.slice();for(var i=0;i<o.length;i++){r=o[i];try{var a=r.callback.apply(t,[n]);if(1===r.type&&t.remove(e,r.callback),!1===a)break}catch(e){throw e}}}return t}},this.eventsList={}}return xn(e,[{key:"indexOf",value:function(e,t){for(var n=0;n<e.length;n++)if(e[n].callback===t)return n;return-1}},{key:"on",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(this){var r=this.eventsList[e];if(r||(this.eventsList[e]=[],r=this.eventsList[e]),-1===this.indexOf(r,t)){var o={name:e,type:n||0,callback:t};return r.push(o),this}return this}}},{key:"one",value:function(e,t){this.on(e,t,1)}},{key:"remove",value:function(e,t){if(this){var n=this.eventsList[e];if(!n)return null;if(!t){try{delete this.eventsList[e]}catch(e){}return null}if(n.length){var r=this.indexOf(n,t);n.splice(r,1)}return this}}},{key:"clear",value:function(){this.eventsList={}}}]),e}(),ir=function(){function e(t){bn(this,e),this.name="",this.isInit=!1,this.name=t.name,this.option=t}return xn(e,[{key:"patch",value:function(e){var t,n;this.isInit||(this.isInit=!0,null===(n=this.option)||void 0===n||null===(t=n.setUp)||void 0===t||t.call(this.option,e))}},{key:"uninstall",value:function(){var e,t;null===(t=this.option)||void 0===t||null===(e=t.destroy)||void 0===e||e.apply(this),this.isInit=!1}}]),e}(),ar=function(e){var t="".concat(Vn(e.message)||""," @ (").concat(Vn(e.filename)||"",":").concat(e.lineno||0,":").concat(e.colno||0,")\n").concat(Vn(e.error||""));Tn.normalLogPipeLine({severity:"autoDetectError",eventName:"windowOnError",extraInfo:{error:t}})},sr=function(e){var t=e&&Vn(e.reason);Tn.normalLogPipeLine({severity:"autoDetectError",eventName:"promiseError",extraInfo:{error:t}})},lr=function(e){var t=(null==e?void 0:e.target)||(null==e?void 0:e.srcElement);if(t){var n=(null==t?void 0:t.src)||(null==t?void 0:t.href),r=t.tagName,o="unknown";if("string"==typeof n&&r){if(window.location.href.indexOf(n)>-1)return;if(/\.js$/.test(n))o="script";else if(/\.css$/.test(n))o="css";else switch(r.toLowerCase()){case"script":o="script";break;case"link":o="css";break;case"img":o="image";break;case"audio":case"video":o="media";break;default:return}Tn.normalLogPipeLine({severity:"autoDetectError",eventName:"staticFileLoadError",extraInfo:{staticFileType:o,error:"".concat(r," load fail
32: ").concat(n)}})}}},cr=new ir({name:"errorDetectionPlugin",setUp:function(e){Tn=e,window.addEventListener("error",ar),window.addEventListener("unhandledrejection",sr),window.document.addEventListener("error",lr,!0)},destroy:function(){window.removeEventListener("unhandledrejection",sr),window.document.removeEventListener("error",lr,!0),window.removeEventListener("error",ar)}}),ur=["img","css","script","link","audio","video","iframe"],dr="resource",pr=function(e){var t,n=e.name;return{url:(t=n,"string"==typeof t?(t.split("?")[0]||"").slice(0,200):t),method:"get",duration:Number(e.duration.toFixed(2)),type:"static",isHttps:Kn(n),urlQuery:Gn(n),domainLookup:Zn(e.domainLookupEnd-e.domainLookupStart),connectTime:Zn(e.connectEnd-e.connectStart)}},fr=function(e,t){for(var n=0,r=e.length;n<r;n++){var o=e[n];-1!==ur.indexOf(o.initiatorType)&&Yn(o.name,t)&&t.normalLogPipeLine({severity:"performance",eventName:"assets_speed",extraInfo:{log:pr(o)}})}},hr=new ir({name:"assetsSpeedPlugin",setUp:function(e){if(void 0!==window.performance&&"function"==typeof window.performance.clearResourceTimings&&"function"==typeof window.performance.getEntriesByType&&"function"==typeof window.performance.now){var t=0;window.performance.onresourcetimingbufferfull=function(){t=0,window.performance.clearResourceTimings()},"function"==typeof window.PerformanceObserver?(fr(window.performance.getEntriesByType(dr),e),(Ln=new window.PerformanceObserver((function(t){fr(t.getEntries(),e)}))).observe({entryTypes:[dr]})):In=setInterval((function(){var n=window.performance.getEntriesByType(dr),r=n.slice(t);t=n.length,fr(r,e)}),3e3)}},destroy:function(){null==Ln||Ln.disconnect(),In&&clearInterval(In)}}),mr=new ir({name:"onPageChangePlugin",setUp:function(){var e=yn((function(e){var t,n,r,o,i;return jn(this,(function(a){return n=null===(t=location)||void 0===t?void 0:t.href,r=document.querySelector("body"),o=function(t){var n,r,o,i,a,s=t.prevHref;e.normalLogPipeLine({severity:"autoDetectEvent",eventName:"onPageChange",extraInfo:{prevHref:s,href:(null===(n=location)||void 0===n?void 0:n.href)||"",hostname:null===(r=location)||void 0===r?void 0:r.hostname,pathName:null===(o=location)||void 0===o?void 0:o.pathname,protocol:null===(i=location)||void 0===i?void 0:i.protocol,search:null===(a=location)||void 0===a?void 0:a.search}})},o({prevHref:""}),Nn=new MutationObserver((function(){if(location.href!==n){var e=n;n=location.href,o({prevHref:e})}})),i={subtree:!0,childList:!0},Nn.observe(r||document,i),[2]}))}));return function(t){return e.apply(this,arguments)}}(),destroy:function(){null==Nn||Nn.disconnect()}}),gr=new ir({name:"onPageRetentionPlugin",setUp:function(){var e=yn((function(e){var t,n,r,o,i,a,s;return jn(this,(function(l){return void 0===document.visibilityState||(n=null===(t=location)||void 0===t?void 0:t.href,r=document.querySelector("body"),(i=function(){o=Date.now()})(),document.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState?a({href:location.href,leftReason:"visibilityChange"}):"visible"===document.visibilityState&&i()})),window.addEventListener("beforeunload",(function(){a({href:location.href,sendImmediate:!0,leftReason:"pageClose"})})),a=function(t){var n=t.href,r=t.sendImmediate,i=t.leftReason;if(o){var a=Date.now()-o;if(0!==a){o=void 0;var s={severity:"autoDetectEvent",eventName:"onPageRetention",extraInfo:{href:n,duration:a,leftReason:i}};r?e.ImmediatePipeline(s):e.normalLogPipeLine(s)}}},Rn=new MutationObserver((function(){if(location.href!==n){var e=n;n=location.href,a({href:e,leftReason:"nextPage"}),i()}})),s={subtree:!0,childList:!0},Rn.observe(r||document,s)),[2]}))}));return function(t){return e.apply(this,arguments)}}(),destroy:function(){null==Rn||Rn.disconnect()}}),vr=function(){return Date.now().toString(36)+Math.random().toString(36).substring(2,15)},yr=function(e,t){return![/authenticate\/heartbeat/,/papluginlogs\/.*/,/airtracker\/.*/,/o11y(-staging|-demo)?\.airwallex\.com/,/\.(png|jpe?g|gif|svg|ico|webp|avif|css|js|json|woff2?|ttf|eot|map|txt|csv|xml)(\?.*)?(#.*)?$/i].some((function(t){return t.test(e)}))&&Xn(e,t||[/^https?:\/\/[^\/]*\.airwallex\.com($|\/)/])},br=function(e){return Math.round(100*e)/100},wr=function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,h,m,g,v,y,b,w,x=e.url,k=e.method,C=e.errorType,E=e.errorDetail,S=function(e){var t=e.startTime,n=e.endTime,r=e.entries;if(0!==r.length){if(1===r.length)return r[0];var o=r.filter((function(e){return e.startTime>=t&&n&&e.responseEnd<=n})).sort((function(e,t){return e.startTime-t.startTime}));return null==o?void 0:o[0]}}(e),O=new URL(x,window.location.href),A=O.href,_=O.protocol,P=S?(r=(n=S).startTime,o=n.duration,i=n.responseStart,a=n.connectEnd,s=n.connectStart,l=n.domainLookupEnd,c=n.domainLookupStart,u=n.requestStart,d=n.secureConnectionStart,p=n.redirectEnd,f=n.redirectStart,h=n.responseStatus,m=n.responseEnd,g=n.encodedBodySize,v=n.decodedBodySize,y=n.transferSize,b=n.deliveryType,w=n.initiatorType,{startTime:br(r),totalDuration:br(o),timeToFirstByte:Qn(i,r),tcpDuration:Qn(a,s),dnsDuration:Qn(l,c),tlsDuration:Qn(u,d),redirectDuration:Qn(p,f),responseDuration:Qn(m,i),encodeResponseSize:g,decodeResponseSize:v,transferSize:y,deliveryType:b,statusCode:h,initiatorType:w}):{};return{severity:"autoDetectEvent",eventName:"httpClientMetrics",extraInfo:En(Sn(En({httpUrl:A,method:k,scheme:_},C&&{errorType:C},E&&{errorDetail:E},P),{statusCode:(null==P?void 0:P.statusCode)||(null==e?void 0:e.responseStatus),startTime:(null==P?void 0:P.startTime)||(null==e?void 0:e.startTime),initiatorType:(null==P?void 0:P.initiatorType)||(null==e?void 0:e.initiatorType)}),t)}},xr=function(e){return e&&"object"===(void 0===e?"undefined":_n(e))&&"errors"in e&&Array.isArray(e.errors)&&e.errors.every((function(e){return e&&"object"===(void 0===e?"undefined":_n(e))&&"message"in e}))},kr="awx_airtracker_api_performance_queue",Cr="awx_airtracker_api_performance_plugin_loaded",Er="undefined"!=typeof window?window:"undefined"!=typeof global?global:{};Er[kr]=Er[kr]||[];var Sr=function(e,t,n){setTimeout((function(){var r=wr(e,n);t.observerPipeline(r),Er[kr]=Er[kr].filter((function(t){return t.id!==e.id}))}),300)},Or=function(e,t){setTimeout((function(){var n=Er[kr].find((function(t){return t.id===e}));if(n){var r=wr(n,{exceptionType:"timeout-without-response"});t.observerPipeline(r),Er[kr]=Er[kr].filter((function(t){return t.id!==e}))}}),1e4)},Ar=new ir({name:"apiPerformancePlugin",setUp:function(){var e=yn((function(e){var t,n;return jn(this,(function(r){return Er[Cr]||(null===(t=e.config)||void 0===t?void 0:t.enableRecordAPIPerformance)&&Math.random()<((null===(n=e.config)||void 0===n?void 0:n.enableRecordAPIPerformancePercentage)||0)&&(Er[Cr]=!0,function(e){var t;(function(e){var t=XMLHttpRequest.prototype.open,n=XMLHttpRequest.prototype.send;XMLHttpRequest.prototype.open=function(n,r,o,i,a){try{var s,l=vr();this.__requestId=l;var c=Cn(r,URL)?r.href:new URL(r,window.location.href).href;if(!yr(c,null===(s=e.config)||void 0===s?void 0:s.enableRecordAPIPerformanceWhitelist))return t.call(this,n,r,null==o||o,i,a);var u={id:l,startTime:performance.now(),method:n,url:c,entries:[],initiatorType:"xmlhttprequest"};return Er[kr].push(u),Or(l,e),t.call(this,n,r,null==o||o,i,a)}catch(s){return e.normalLogPipeLine({severity:"warn",eventName:"apiPerformancePluginError",extraInfo:{message:"Inject XHR open error",error:s}}),t.call(this,n,r,null==o||o,i,a)}},XMLHttpRequest.prototype.send=function(){for(var t=this,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];try{var a=Er[kr].find((function(e){return e.id===t.__requestId}));if(!a)return n.apply(this,o);var s=this;return this.addEventListener("loadend",yn((function(){var t,n,r,o,i,l,c;return jn(this,(function(u){switch(u.label){case 0:if(t=performance.now(),n=t-a.startTime,0===(r=s.status))return[2];a.endTime=t,a.duration=n,a.responseStatus=r,u.label=1;case 1:return u.trys.push([1,6,,7]),""!==s.responseType&&"text"!==s.responseType?[3,2]:(o=s.responseText,[3,5]);case 2:return"json"!==s.responseType?[3,3]:(o=s.response,[3,5]);case 3:return"blob"!==s.responseType||"application/json"!==(null==(i=s.response)?void 0:i.type)?[3,5]:[4,i.text()];case 4:o=u.sent(),u.label=5;case 5:return(l=o&&"string"==typeof o?JSON.parse(o):o)&&xr(l)&&(a.errorType="graphqlError",a.errorDetail=l.errors),[3,7];case 6:return c=u.sent(),e.normalLogPipeLine({severity:"warn",eventName:"apiPerformancePluginError",extraInfo:{message:"Parse response body error in XHR",url:null==a?void 0:a.url,error:c}}),[3,7];
vendor: 12,810 bytes, line 32
32case 7:return Sr(a,e),[2]}}))}))),this.addEventListener("error",(function(){Sr(a,e,{exceptionType:"network-error"})})),this.addEventListener("abort",(function(){Sr(a,e,{exceptionType:"abort-error"})})),this.addEventListener("timeout",(function(){Sr(a,e,{exceptionType:"timeout-error"})})),n.apply(this,o)}catch(t){throw e.normalLogPipeLine({severity:"warn",eventName:"apiPerformancePluginError",extraInfo:{message:"InjectXHR send error",error:t}}),t}}})(e),function(e){var t=window.fetch;window.fetch=yn((function(){var n,r,o,i,a,s,l,c,u,d,p,f,h,m,g,v,y=arguments;return jn(this,(function(b){switch(b.label){case 0:for(n=y.length,r=new Array(n),o=0;o<n;o++)r[o]=y[o];return s=new URL(Cn(r[0],Request)?r[0].url:String(r[0]),window.location.href).href,yr(s,null===(i=e.config)||void 0===i?void 0:i.enableRecordAPIPerformanceWhitelist)?[3,2]:[4,t.apply(this,r)];case 1:return[2,b.sent()];case 2:return b.trys.push([2,9,,10]),c=performance.now(),u=vr(),a={id:u,startTime:c,method:(null===(l=Cn(r[0],Request)?r[0]:r[1])||void 0===l?void 0:l.method)||"GET",url:s,entries:[],initiatorType:"fetch"},Er[kr].push(a),Or(u,e),[4,t.apply(this,r)];case 3:d=b.sent(),p=performance.now(),a.endTime=p,a.duration=p-c,a.responseStatus=d.status,f=d.clone(),b.label=4;case 4:return b.trys.push([4,7,,8]),f.ok?[4,f.json()]:[3,6];case 5:(h=b.sent())&&xr(h)&&(a.errorType="graphqlError",a.errorDetail=h.errors),b.label=6;case 6:return[3,8];case 7:return m=b.sent(),e.normalLogPipeLine({severity:"warn",eventName:"apiPerformancePluginError",extraInfo:{message:"Parse response body error in fetch",url:null==a?void 0:a.url,error:m}}),[3,8];case 8:return Sr(a,e),[2,d];case 9:throw g=b.sent(),a&&a.id&&Er[kr].find((function(e){return e.id===(null==a?void 0:a.id)}))?(v="fetch-error",Cn(g,TypeError)?v="network-error":Cn(g,DOMException)&&"AbortError"===g.name&&(v="abort-error"),Sr(a,e,{exceptionType:v})):e.normalLogPipeLine({severity:"warn",eventName:"apiPerformancePluginError",extraInfo:{message:"Inject fetch error",error:g}}),g;case 10:return[2]}}))}))}(e),(null===(t=window)||void 0===t?void 0:t.PerformanceObserver)?new window.PerformanceObserver((function(e){e.getEntries().forEach((function(e){var t=e;"fetch"!==t.initiatorType&&"xmlhttprequest"!==t.initiatorType||Er[kr].filter((function(e){return e.url===t.name})).forEach((function(e){e.entries.push(t)}))}))})).observe({entryTypes:["resource"],buffered:!0}):e.normalLogPipeLine({severity:"warn",eventName:"apiPerformancePluginError",extraInfo:{error:"PerformanceObserver Not Supported"}})}(e)),[2]}))}));return function(t){return e.apply(this,arguments)}}()}),_r=function(){function e(t){var n,r,o=this,i=t.config,a=t.plugins,s=void 0===a?[]:a;bn(this,e),this.config=Fn,this.lifeCycle=new or,this.plugins=[],this._commonData=Mn,this._MFECommonDataMap={},this.timeMap={},this.packedDataConvert=function(e){var t,n,r=e.severity,i=e.eventName,a=e.extraInfo,s=En({severity:r,eventName:i,currentHref:o.config.hideSearchParams?((null===(t=location)||void 0===t?void 0:t.href)||"").split("?")[0]||"":(null===(n=location)||void 0===n?void 0:n.href)||""},a);return o.config.isWebappContainer&&(s.MFEName=$n(o)),s},this.normalPipelineObj=rr([tr(this,8),(n=this,r={},function(e,t){var o="number"==typeof n.config.errorRepeatTime?n.config.errorRepeatTime:5;if(0===o)return null==t?void 0:t(e);null==t||t(e.filter((function(e){return"autoDetectError"!=e.severity||(r[e.error]=r[e.error]||0,r[e.error]+=1,!(r[e.error]>o))})))}),Jn(this)]),this.observerPipelineObj=rr([tr(this,8),er(this)]),this.immediateSendPipe=Jn(this),this.observerPipeline=function(e){var t=e.severity,n=e.eventName,r=e.extraInfo,i=o.packedDataConvert({severity:t,eventName:n,extraInfo:r});return o.observerPipelineObj(i)},this.normalLogPipeLine=function(e){var t,n,r,i=e.severity,a=e.eventName,s=e.extraInfo;s&&(t=Sn(En({},s),{msSinceNavigation:null!==(n=s.msSinceNavigation)&&void 0!==n?n:"undefined"!=typeof performance?Math.floor(performance.now()):void 0,eventTime:null!==(r=s.eventTime)&&void 0!==r?r:(new Date).toISOString()}));var l=o.packedDataConvert({severity:i,eventName:a,extraInfo:t});return o.config.disableThrottle?o.immediateSendPipe(l):o.normalPipelineObj(l)},this.ImmediatePipeline=function(e){var t=e.severity,n=e.eventName,r=e.extraInfo,i=o.packedDataConvert({severity:t,eventName:n,extraInfo:r});return o.immediateSendPipe(i)},this.plugins=An(s),this.setConfig(i),this.initCommonData(i),this.lifeCycle.emit("onInit"),i.enableErrorMonitoring&&this.plugins.push(cr),((null==i?void 0:i.assetSpeedMonitoringWhiteList)&&i.assetSpeedMonitoringWhiteList.length>0||i.isWebappContainer)&&this.plugins.push(hr),(null==i?void 0:i.enableDetectPageChange)&&this.plugins.push(mr),(null==i?void 0:i.enableRecordPageRetention)&&this.plugins.push(gr),(null==i?void 0:i.enableRecordAPIPerformance)&&(null==i?void 0:i.enableRecordAPIPerformancePercentage)&&i.enableRecordAPIPerformancePercentage>0&&i.enableRecordAPIPerformancePercentage<=1&&this.plugins.push(Ar),this.installPlugins()}return xn(e,[{key:"installPlugins",value:function(){var e=this;this.plugins.forEach((function(t){t.patch(e)}))}},{key:"commonData",get:function(){return this._commonData}},{key:"MFECommonDataMap",get:function(){return this._MFECommonDataMap}},{key:"initCommonData",value:function(e){this._commonData.sessionId=e.useSessionStorageForSessionId?function(){try{var e=window.sessionStorage.getItem(qn);return e||(e=Wn(),window.sessionStorage.setItem(qn,e)),e}catch(e){return Wn()}}():Wn(),this._commonData.deviceId=function(){try{var e=window.localStorage.getItem(Hn);return e||(e=Wn(),window.localStorage.setItem(Hn,e)),e}catch(e){}}()||Dn,this._commonData.riskDeviceId=function(){try{return window.localStorage.getItem("AWX_RISK_ID")||void 0}catch(e){}}(),this._commonData.networkType=function(){var e,t,n="",r=navigator.userAgent.match(/NetType\/(\w+)/);if(r)n=On(r,2)[1];else if(null===(e=navigator)||void 0===e?void 0:e.connection){var o,i,a,s;n=(null===(i=navigator)||void 0===i||null===(o=i.connection)||void 0===o?void 0:o.effectiveType)||(null===(s=navigator)||void 0===s||null===(a=s.connection)||void 0===a?void 0:a.type)}return n||(n="unknown"),t=n,(t=String(t).toLowerCase()).indexOf("4g")>=0?"net4g":t.indexOf("wifi")>=0?"wifi":t.indexOf("5g")>=0?"net5g":t.indexOf("3g")>=0?"net3g":t.indexOf("2g")>=0?"net2g":"unknown"}()||"unknown",this._commonData.env=e.env||this._commonData.env,this._commonData.accountId=e.accountId||Dn,this._commonData.appVersion=e.appVersion,this._commonData.appName=e.appName,this._commonData.sdkVersion="3.1.0",this.lifeCycle.emit("onCommonDataInit",this.commonData)}},{key:"updateCommonDataBasedOnConfig",value:function(e){this.lifeCycle.emit(Un,this._commonData),this._commonData.env=e.env||this._commonData.env,this._commonData.appName=e.appName||this._commonData.appName,this._commonData.env=e.env||this._commonData.env,this._commonData.accountId=e.accountId||this._commonData.accountId,this._commonData.appVersion=e.appVersion||this._commonData.appVersion}},{key:"updateCommonData",value:function(e){this.lifeCycle.emit(Un,this._commonData),this._commonData=En({},this._commonData,e)}},{key:"removeCommonDataByKey",value:function(e){var t=this;this.lifeCycle.emit(Un,this._commonData),setTimeout((function(){e.forEach((function(e){delete t._commonData[e]}))}),1e3)}},{key:"addToMFECommonData",value:function(e){var t,n=e.MFEName,r=e.MFECommonData;this.config.isWebappContainer&&n&&r&&(this._MFECommonDataMap=Sn(En({},this._MFECommonDataMap||{}),kn({},n,En({},(null===(t=this._MFECommonDataMap)||void 0===t?void 0:t[n])||{},r))))}},{key:"setConfig",value:function(e){var t=this;this.config.isWebappContainer||(Object.entries(e).forEach((function(e){var n=On(e,2),r=n[0],o=n[1];void 0!==(void 0===o?"undefined":_n(o))&&function(e,n){t.config[e]=n}(r,o)})),this.lifeCycle.emit("onConfigInit",this.config),this.updateCommonDataBasedOnConfig(e))}},{key:"verbose",value:function(e,t){this.normalLogPipeLine({severity:"verbose",eventName:e,extraInfo:t})}},{key:"httpLog",value:function(e,t){this.normalLogPipeLine({severity:"http",eventName:e,extraInfo:t})}},{key:"info",value:function(e,t){this.normalLogPipeLine({severity:"info",eventName:e,extraInfo:t})}},{key:"warn",value:function(e,t){this.normalLogPipeLine({severity:"warn",eventName:e,extraInfo:t})}},{key:"error",value:function(e,t){console.error("error",e),this.normalLogPipeLine({severity:"error",eventName:e,extraInfo:t})}},{key:"businessLog",value:function(e,t){this.normalLogPipeLine({severity:"info",eventName:e,extraInfo:Sn(En({},t),{isBusinessLog:!0})})}},{key:"reportDuration",value:function(e,t,n){"string"==typeof e?"number"==typeof t?t<0||t>6e4?console.warn("reportDuration: duration (second param) must between 0 and 60000"):this.normalLogPipeLine({severity:"speed",eventName:e,extraInfo:En({duration:t},n)}):console.warn("reportDuration: duration (second param) must be number"):console.warn("reportDuration: eventName (first param) must be a string")}},{key:"getTimerKey",value:function(e){var t=$n(this);return this.config.isWebappContainer?"".concat(t,"_").concat(e):e}},{key:"timeStart",value:function(e){"string"==typeof e?(this.timeMap[this.getTimerKey(e)]&&console.warn("Timer ".concat(e," already exists")),this.timeMap[this.getTimerKey(e)]=Date.now()):console.warn("time: first param must be a string")}},{key:"timeEnd",value:function(e,t){if("string"==typeof e)if(this.timeMap[this.getTimerKey(e)]){var n=Date.now()-this.timeMap[this.getTimerKey(e)]+(t||0);this.normalLogPipeLine({severity:"speed",eventName:e,extraInfo:{duration:n}}),delete this.timeMap[this.getTimerKey(e)]}else console.warn("Timer key :".concat(e," does not exist"));else console.warn("timeEnd: first param must be a string")}},{key:"addToAssetSpeedWhiteListByMFE",value:function(e){var t,n,r,o,i=e.MFEName,a=e.whiteList;this.config.isWebappContainer&&i&&(null==a?void 0:a.length)&&(this.config.assetSpeedMonitoringWhiteListByMFE||(this.config.assetSpeedMonitoringWhiteListByMFE={}),(null===(t=this.config.assetSpeedMonitoringWhiteListByMFE)||void 0===t?void 0:t[i])?null===(o=this.config.assetSpeedMonitoringWhiteListByMFE)||void 0===o||null===(r=o[i])||void 0===r||(n=r).push.apply(n,An(a)):this.config.assetSpeedMonitoringWhiteListByMFE=Sn(En({},this.config.assetSpeedMonitoringWhiteListByMFE),kn({},i,a)))}},{key:"destroy",value:function(){this.config.isWebappContainer||this.plugins.forEach((function(e){e.uninstall()}))}}]),e}(),Pr=_r,jr=n(27805);const Tr={prod:{launchDarklyClientId:"5e96b9c9982e6706f6e890b5",environment:"prod",versionBucket:"https://static.airwallex.com/webapp/versions",appBucketPath:"https://static.airwallex.com",airwayAppHost:"https://app.airwallex.com",airwayPciAppHost:"https://pci-app.airwallex.com",clarityId:"ot3cvq3kff"},demo:{launchDarklyClientId:"698953f10e10ce09f4de787d",environment:"demo",versionBucket:"https://static-demo.airwallex.com/webapp/versions",appBucketPath:"https://static-demo.airwallex.com",airwayAppHost:"https://app-demo.airwallex.com",airwayPciAppHost:"https://pci-app-demo.airwallex.com",clarityId:"ot3vljhwyq"},staging:{launchDarklyClientId:"5e9d2caa486b2f0995706473",environment:"staging",versionBucket:"https://static-staging.airwallex.com/webapp/versions",appBucketPath:"https://static-staging.airwallex.com",airwayAppHost:"https://app-staging.airwallex.com",airwayPciAppHost:"https://pci-app-staging.airwallex.com",clarityId:"ot3ujonhhg"},dev:{launchDarklyClientId:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.AWX_LD_CLIENT_ID??"5e96b9ea982e6706f6e890bc",environment:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.AWX_ENVIRONMENT??"dev",versionBucket:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.AWX_VERSION_BUCKET??"https://versions.dev.awx.im",appBucketPath:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.AWX_APP_BUCKET_PATH??"https://static-dev.airwallex.com",airwayAppHost:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.AWX_AIRWAY_APP_HOST??"https://app-dev.airwallex.com",airwayPciAppHost:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.AWX_AIRWAY_PCI_APP_HOST??"https://pci-app-dev.airwallex.com",clarityId:"ot3w7g1znb"},preview:{launchDarklyClientId:"698953f10e10ce09f4de787d",environment:"preview",ver
32sionBucket:"https://static.sandbox.airwallex.com/webapp/versions",appBucketPath:"https://static.sandbox.airwallex.com",airwayAppHost:"https://app.sandbox.airwallex.com",airwayPciAppHost:"https://pci-app.sandbox.airwallex.com",clarityId:"vtdknnbrw9"}},{launchDarklyClientId:Ir,environment:Lr,versionBucket:Nr,appBucketPath:Rr,airwayAppHost:Dr,airwayPciAppHost:Fr,clarityId:Mr}=(()=>{const{hostname:e}=window.location;return("airwallex.com"===e||"www.airwallex.com"===e||e.includes("www"))&&!e.includes("sandbox")})()?Tr.prod:(()=>{const{hostname:e}=window.location;return e.includes("sandbox")||e.includes("shadow-demo")})()?Tr.preview:(()=>{const{hostname:e}=window.location;return e.includes("staging")})()?Tr.staging:(()=>{const{hostname:e}=window.location;return e.includes("demo")&&!e.includes("shadow-demo")})()?Tr.demo:(()=>{const{hostname:e}=window.location;return e.includes("local")||e.includes("dev.")})()?Tr.dev:Tr.prod,Br={appPath:"/app1",apiPath:"/api",environment:Lr,versionBucket:Nr,appBucketPath:Rr,launchDarklyClientId:Ir,airwayAppHost:Dr,airwayPciAppHost:Fr,appVersions:{kyc:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_KYC||"",transfers:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_TRANSFERS||"",cards:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_CARDS||"","card-activation":{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_CARD_ACTIVATION||"",referral:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_REFERRAL||"",signup:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_SIGNUP||"",acquiring:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_ACQUIRING||"","get-paid":{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_GET_PAID||"",contacts:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_CONTACTS||"",dashboard:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_DASHBOARD||"",globalaccount:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_GLOBALACCOUNT||"",wallet:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_WALLET||"",app:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_LEGACY_WEBAPP||"",conversions:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_CONVERSIONS||"","add-funds":{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_ADD_FUNDS||"",growth:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_GROWTH||"",expenses:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_EXPENSES||"",approvals:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_APPROVALS||"",hostedflow:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_HOSTEDFLOW||"",reports:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_REPORTS||"","bill-pay":{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPLICATION_VERSION_BILL_PAY||""},manifestOverride:{kyc:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.KYC_MANIFEST_OVERRIDE||"",transfers:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.TRANSFERS_MANIFEST_OVERRIDE||"",cards:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.CARDS_MANIFEST_OVERRIDE||"","card-activation":{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.CARD_ACTIVATION_MANIFEST_OVERRIDE||"",referral:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.REFERRAL_MANIFEST_OVERRIDE||"",signup:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.SIGNUP_MANIFEST_OVERRIDE||"",acquiring:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.ACQUIRING_MANIFEST_OVERRIDE||"","get-paid":{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.GET_PAID_MANIFEST_OVERRIDE||"",contacts:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.CONTACTS_MANIFEST_OVERRIDE||"",dashboard:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.DASHBOARD_MANIFEST_OVERRIDE||"",globalaccount:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.GLOBALACCOUNT_MANIFEST_OVERRIDE||"",wallet:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.WALLET_MANIFEST_OVERRIDE||"",app:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.LEGACY_WEBAPP_MANIFEST_OVERRIDE||"",conversions:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.CONVERSIONS_MANIFEST_OVERRIDE||"","add-funds":{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.ADD_FUNDS_MANIFEST_OVERRIDE||"",growth:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.GROWTH_MANIFEST_OVERRIDE||"",expenses:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.EXPENSES_MANIFEST_OVERRIDE||"",approvals:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.APPROVALS_MANIFEST_OVERRIDE||"",hostedflow:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.HOSTEDFLOW_MANIFEST_OVERRIDE||"",reports:{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.REPORTS_MANIFEST_OVERRIDE||"","bill-pay":{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.BILL_PAY_MANIFEST_OVERRIDE||""}},Vr={appName:"webapp-container",appVersion:"latest",env:Br.environment,enableErrorMonitoring:!0,enableDetectPageChange:!0,assetSpeedMonitoringWhiteList:[],enableRecordPageRetention:!0,enableRecordAPIPerformance:!0,enableRecordAPIPerformancePercentage:1,isWebappContainer:!0,useSessionStorageForSessionId:!0,deviceId:(0,jr.IP)()||"unknown_device",getMFEName:()=>{var e;const t=null===(e=location)||void 0===e||null===(e=e.pathname)||void 0===e?void 0:e.split("/"),n=(null==t?void 0:t[2])||"unknown";if("spend"===n){const e=null==t?void 0:t[3];return e?`${n}-${e}
32`:n}return n}},zr=new Pr({config:Vr,plugins:[new ir({name:"browserCaniusePlugin",setUp:e=>{e.updateCommonData({browser:{caniuse:{"css-container-queries":"undefined"!=typeof CSS&&"function"==typeof CSS.supports&&CSS.supports("container-type: size"),"mdn-api_navigation":"undefined"!=typeof window&&"navigation"in window}}})}})]}),Ur=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document;const r=(0,s.useRef)();(0,s.useEffect)((()=>{r.current=t}),[t]),(0,s.useEffect)((()=>{if(!n||!n.addEventListener)return;const t=t=>{"storage"===e||"awx:interceptor:theme-override"===e||Hr.has(t)||(zr.info("CUSTOM_EVENT_RECEIVED",{customEventName:e,detail:t.detail}),Hr.add(t)),r.current&&r.current(t)};return n.addEventListener(e,t),()=>{n.removeEventListener(e,t)}}),[e,n])},Hr=new WeakSet;var qr=n(29970);const Wr={READ:"r",WRITE:"w"},$r=(e,t)=>{const[n,r,o,i]=t,[a,s,l,c]=e;return n.includes(a)&&s===r&&((e,t)=>{const n=e.replace(".*","").replace("*","")+".";return(t+".").includes(n)})(l,o)&&("*"===c||c===i)};function Gr(...e){return{anyOf:e}}const Kr=(e,t)=>"string"!=typeof t?t.anyOf.some((t=>Zr(e,t))):Zr(e,t);function Zr(e,t){const n=t.split(":");return e.some((e=>{if("string"==typeof e){const t=e.split(":");return $r(t,n)}{const{actionTypeAllowed:t,namespace:r,resourceUrnPattern:o,actionNamePattern:i}=e;return $r([Wr[t],r,o,i],n)}}))}function Yr(e){return null!=e}const Xr="r:org:billing_plan:view",Qr="r:awx:billing_plan:view",Jr="r:org:external_billing.product:view",eo="r:org:external_billing.price:view",to="r:org:external_billing.customer:view",no="r:org:external_billing.invoice:view",ro=(e,t)=>[Kr(e,t?Xr:Qr)?{href:"/app/plan-billing/manage-plan",title:"Manage plan",description:"Upgrade or downgrade your Airwallex subscription plan"}:null].filter(Yr),oo=/app\/billing\/connections\/[^/]+\/review-sync-issues/,io={oauth2:"globalaccount","linkedaccounts/accounts":"wallet","linkedaccounts/accounts/verify":"add-funds",linkedaccounts:"add-funds",request2fa:"account",signup:"login",oauth:"login","login-auth":"login",auth:"uam",confirmation:"uam","aggregate-funds":"batch-transfers","plan-billing":"saas-pricing",billing:e=>e.includes("app/billing/invoices")||e.includes("app/billing/subscriptions")||e.includes("app/billing/customers")||oo.test(e)?"ext-billing-invoice":"ext-billing-platform",vendor:"spend-vendor","purchase-orders":"spend-procurement",transfers:"payout","sales-orders":"order-collection",customers:"order-collection","dashboard-intro":"dashboard-container","dashboard-account":"dashboard-container","dashboard-org":"dashboard-container","org-acquiring":"acquiring","org-fraud":"fraud","dashboard-account-overview":"dashboard-container","spend/accounting":"spend-accounting","spend/connection":"spend-connection","spend/overview":"spend-overview","spend/bills":"billpay","spend/vendors":"spend-vendor","spend/vendor-portal":"spend-vendor-portal","spend/purchase-orders":"spend-procurement","spend/budgets":"spend-budgets","spend/expenses":"expenses","spend/requests":"spend-requests","spend/approvals":"approvals","org-get-paid":"get-paid",search:"universal-search-webapp"},ao=e=>{var t,n;const r=("undefined"!=typeof window?window.location.pathname:"").replace(/^\/app1?\/?/,""),o=(e=>{const t=Object.keys(io).filter((t=>e===t||e.startsWith(t+"/")));return t.length>0?t.sort(((e,t)=>t.length-e.length))[0]:void 0})(r);if(void 0!==o){const e=io[o];if("function"==typeof e)return e("undefined"!=typeof window?window.location.pathname:r);if("string"==typeof e)return e}const i=(null==r||null===(t=r.split("/"))||void 0===t?void 0:t[0])||(null==e||null===(n=e.split("/"))||void 0===n?void 0:n[0])||e||e,a=i?io[i]:void 0;return"function"==typeof a?a("undefined"!=typeof window?window.location.pathname:r):"string"==typeof a?a:i},so=/\/app[1]?(?=\/)/,lo=e=>{var t;return null==e||null===(t=e.path)||void 0===t?void 0:t.replace(so,"").split("/")[1]},co=e=>null==e?void 0:e.replace(so,"").split("/")[1];var uo=n(83503),po=n.n(uo);const fo="698953f10e10ce09f4de787d",ho={local:"5e96b9ea982e6706f6e890bc",dev:"5e96b9ea982e6706f6e890bc",staging:"5e9d2caa486b2f0995706473",demo:fo,prod:"5e96b9c9982e6706f6e890b5",preview:fo},mo=e=>["prod","staging"].includes(e)?`https://${e}-newrelayproxy.airwallex.com`:"preview"===e||"demo"===e?"https://newrelayproxy.sandbox.airwallex.com":"https://staging-newrelayproxy.airwallex.com",go=e=>"dev"===e?{NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.AWX_LD_CLIENT_ID??ho[e]:ho[e]?ho[e]:ho.prod,vo="6a703751f8a3db0ae76fd95a",yo={local:vo,dev:vo,staging:vo,preview:"6a7037891432a40aac44bf4a",prod:"6a703738cc6fc70a80633979"};let bo={appPath:"/app1",apiPath:"/api",environment:"local",versionBucket:"https://versions.dev.awx.im",appBucketPath:"https://static-dev.airwallex.com",appVersions:{}
32,launchDarklyClientId:ho.dev,manifestOverride:{},airwayAppHost:"https://app-dev.airwallex.com",airwayPciAppHost:"https://pci-app-dev.airwallex.com"};const wo=()=>(window.airwallex&&window.airwallex.env?(bo={...Br,...window.airwallex.env},delete window.airwallex.env):bo=Br,bo);function xo(e){return"prod"!==bo.environment&&"demo"!==bo.environment&&"preview"!==bo.environment||!e?e:po()(e)}var ko=n(27290),Co=n.n(ko);const Eo="1.1245.0",So="airwallex/demo",Oo={staging:So,local:So,dev:So,prod:"airwallex/awx-production",preview:"airwallex/awx-preview"},Ao=["accept-language","apollographql-client-name","apollographql-client-version","cache-control","origin","referer","user-agent","x-correlation-id","x-risk-device-id","x-routing-by","x-target-account-id","traceparent"],_o=["cf-ray","content-encoding","content-type","date","x-b3-traceid","x-cache","x-cache-hits","x-served-by","x-content-type-options","x-dns-prefetch-control","x-download-options","x-envoy-upstream-service-time","x-frame-options","x-permitted-cross-domain-policies","x-powered-by","x-xss-protection"],Po=e=>{try{const t=new URL(e,window.location.origin);for(const e of Array.from(t.searchParams.keys()))t.searchParams.set(e,"REDACTED");return`${t.pathname}${t.search}${t.hash}`}catch{return e}},jo=(e,t)=>t.reduce(((t,n)=>{const r=Object.keys(e).find((e=>e.toLowerCase()===n.toLowerCase()));return r&&void 0!==e[r]&&null!==e[r]&&(t[n]=e[r]),t}),{}),To=new Set(["localhost","127.0.0.1","[::1]"]),Io=["o11y.airwallex.com","bws.airwallex.com","region-lookup.airwallex.com"],Lo=["relayproxy.airwallex.com"],No=/^static(?:[.-][\w-]+)*\.airwallex\.com$/,Ro=e=>{if(!e)return!1;const t=(e=>{try{const{hostname:t,pathname:n}=new URL(e,window.location.origin);return{hostname:t,pathname:n}}catch{return null}})(e);if(!t)return!1;const{hostname:n,pathname:r}=t;if(/\/remoteEntry\.js$/i.test(r))return!1;const o=(e=>To.has(e)?"local":"airwallex.com"===e||e.endsWith(".airwallex.com")?"airwallex":"third_party")(n);return"local"!==o&&("third_party"===o||Io.includes(n)||Lo.some((e=>n.endsWith(e)))||No.test(n))},Do=()=>e=>Ro(e.url)?null:{...e,url:Po(e.url),headers:jo(e.headers,Ao),body:null},Fo=()=>e=>e.status?Ro(e.url)?null:{...e,url:e.url?Po(e.url):e.url,headers:jo(e.headers,_o),body:null}:null,Mo={release:Eo,dom:{inputSanitizer:!0,textSanitizer:!0,imageSanitizer:!0},network:{requestSanitizer:Do(),responseSanitizer:Fo()},shouldCaptureIP:!1},Bo={release:Eo,dom:{inputSanitizer:!0,textSanitizer:!0,imageSanitizer:!0},network:{requestSanitizer:Do(),responseSanitizer:Fo()},shouldCaptureIP:!1},Vo={staging:Mo,local:Mo,dev:Mo,prod:Bo,preview:Bo},zo=new Set(["prod","preview"]),Uo=()=>{const e=ao(co(location.pathname));return{event_timestamp:Date.now(),mfe:e,page:location.pathname}},Ho=()=>{var e;const t=(null===(e=window)||void 0===e||null===(e=e.airwallex)||void 0===e?void 0:e.ga4Id)??"G-J1TGSTQ102";var n,r;"undefined"==typeof window||window.GA4_INITIALIZED||(qr.Ay.gtag("config",t,{user_id:(0,jr.Pu)()||"",device_id:(0,jr.IP)(),remember_me_last_mode:(0,jr.D1)(),country_code:(0,jr.gI)(),airtracker_session_id:null==zr||null===(n=zr.commonData)||void 0===n?void 0:n.sessionId,user_name:xo((0,jr.TO)()||""),remember_me_email:xo((0,jr.cY)()||""),remember_me_phone:xo((null===(r=(0,jr.W$)())||void 0===r?void 0:r.join("-"))||"")}),qr.Ay.set({transport:"beacon"}),window.GA4_INITIALIZED=!0)};function qo(){var e;const t=ao(co(location.pathname));return{...(null===(e=window.airwallex)||void 0===e||null===(e=e.analytics)||void 0===e?void 0:e.user_properties)||{},event_timestamp:Date.now(),mfe:t,is_ga_custom_event:!0,page:location.pathname,org_id:(0,jr.I)(),account_id:(0,jr.PU)(),account_group_id:(0,jr.mg)(),awx_user_id:(0,jr.Pu)(),language:(0,jr.sC)()}}const Wo=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location;window.GA4_INITIALIZED&&(qr.Ay.set({page:e.pathname}),qr.Ay.send({hitType:"pageview",...qo(),page:e.pathname}))},$o=e=>{window.GA4_INITIALIZED&&qr.Ay.send({hitType:"pageview",...qo(),virtual_page_path:e})},Go=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};window.GA4_INITIALIZED&&qr.Ay.event({...qo(),category:e,action:t,label:n,...r})},Ko=(e,t)=>{window.GA4_INITIALIZED&&qr.Ay.event(e,{...qo(),...t}),window.LOGROCKET_INITIALIZED&&Co().track(e,{...Uo(),...t})},Zo=(e,t,n)=>{window.GA4_INITIALIZED&&qr.Ay.event("outboundLink",{...qo(),...e,hitCallback:t,trackerNames:n})},Yo=e=>{window.GA4_INITIALIZED&&qr.Ay.set(e)},Xo=(e,t,n,r)=>{window.GA4_INITIALIZED&&qr.Ay.send({hitType:"timing",category:e,variable:t,value:n,label:r,...qo()})},Qo=e=>{var t;window.GA4_INITIALIZED&&(qr.Ay.gtag("set","user_properties",e),window.airwallex=window.airwallex||{},window.airwallex.analytics={...window.airwallex.analytics||{},user_properties:{...(null===(t=window.airwallex.analytics)||void 0===t?void 0:t.user_properties)||{},...e}})},Jo=e=>{window.GA4_INITIALIZED&&(qr.Ay.gtag("set","user_id",e),window.airwallex=window.airwallex||{},window.airwallex.analytics={...window.airwallex.analytics||{},user_id:e})};const ei=e=>"prod"!==bo.environment?console[e||"log"]:()=>{},ti=wo(),ni=()=>({kind:"multi",user:{anonymous:!(0,jr.c4)(),ip:(0,jr.Ot)(),key:(0,jr.PU)()??(0,jr.mg)()??"webapp-user"}});function ri(){return["CN",""].includes((0,jr.gI)())}function oi(){return{clientSideID:go(ti.environment),context:ni()}}function ii(){const e=oi(),t=mo(ti.environment);return{...e,options:{baseUrl:t,streamUrl:t,eventsUrl:t}}}var ai="AWX_RISK_ID",si=".airwallex.com",li=function(){var e=(0,jr.Qw)(ai)||function(e){try{if("undefined"==typeof document||!document.cookie)return"";var t="".concat(e,"="),n=document.cookie.split("; ").find((function(e){return e.startsWith(t)}));return n?decodeURIComponent(n.slice(t.length)):""}catch(e){return""}}(ai),t=e||function(){var e=new Date,t=String(e.getFullYear()).slice(2),n=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0");return"".concat(function(){var e=new Uint8Array(20),t="undefined"!=typeof globalThis?globalThis.crypto:void 0;if(null==t?void 0:t.getRandomValues)t.getRandomValues(e);else for(var n=0;n<20;
32n+=1)e[n]=Math.floor(256*Math.random());return Array.from(e,(function(e){return e.toString(16).padStart(2,"0")})).join("")}(),"_").concat(t).concat(n).concat(r)}();return t?((0,jr.wE)(ai,t),function(e){try{if("undefined"==typeof document)return;var t="".concat(ai,"=").concat(e,"; path=/; max-age=").concat(94608e3);document.cookie="".concat(t,"; SameSite=Lax"),window.location.hostname.endsWith(si)&&(document.cookie="".concat(t,"; domain=").concat(si,"; SameSite=None; Secure"))}catch(e){}}(t),t):""},ci=n(445),ui=n(72505),di=n.n(ui);const pi=di().create({baseURL:"",headers:{"content-type":"application/json"}});var fi=n(74848),hi=n(28221),mi=(n(55655),n(45021),n(71287),fi.Fragment),gi=function(e,t,n){return hi.h.call(t,"css")?fi.jsx(hi.E,(0,hi.c)(e,t),n):fi.jsx(e,t,n)},vi=function(e,t,n){return hi.h.call(t,"css")?fi.jsxs(hi.E,(0,hi.c)(e,t),n):fi.jsxs(e,t,n)};const yi={initialized:!!(0,jr.gI)(),countryCode:(0,jr.gI)()},bi=(0,s.createContext)(yi),wi=async()=>{try{const{data:{countryCode:e}}=await pi.get("/country");return(0,jr.gq)(e),e}catch(e){return Ko("get_country_error",{error:(0,ci.M)(e)}),console.error(`Get country code error: ${(0,ci.M)(e)}`),""}},xi=e=>{let{...t}=e;const[n,r]=(0,s.useState)(yi);return(0,s.useEffect)((()=>{n.initialized||(async()=>{const e=await wi();r({initialized:!0,countryCode:e})})()}),[n.initialized]),gi(bi.Provider,{value:n,...t})};function ki(){const e=navigator.userAgentData,t=navigator.userAgent;return/\b(iPad|Tablet)\b/i.test(t)||/\bAndroid\b/.test(t)&&!/\bMobile\b/.test(t)?"tablet":(null==e?void 0:e.mobile)??/\b(Mobile|iPhone|iPod|Android)\b/i.test(t)?"mobile":"desktop"}function Ci(){try{const e=li();if(e)return e}catch(e){ei("warn")("[webapp-container resolveAnonymousDeviceId] ensureDeviceId() failed, falling back to getDeviceId()",(0,ci.M)(e))}return(0,jr.IP)()||"webapp-anonymous"}const Ei=wo(),Si=["ipAddress","userAgent"];async function Oi(){const e=Br.environment,t=(e=>{const t={NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}.AWX_ANONYMOUS_LD_CLIENT_ID;return t&&["local","dev"].includes(e)?t:yo[e]})(e);if(t){ei("info")(`[webapp-container getPreLoginLDSetup] initializing PRE-LOGIN anonymous LD space (env: ${e})`);const n=await(async()=>{const e=await async function(){return(0,jr.gI)()||Promise.race([wi(),new Promise((e=>{setTimeout((()=>e("")),1500)}))])}();return{kind:"device",key:Ci(),deviceType:ki(),countryCode:e||"unknown",userAgent:navigator.userAgent,ipAddress:(0,jr.Ot)()||"unknown"}})();ei("debug")("[webapp-container getPreLoginLDSetup] anonymous LD context",function(e){return(0,jr.n5)(e,["key","ipAddress","userAgent"])}(n));const r=function(e,t){const n=function(e,t){return{clientSideID:e,context:t,options:{privateAttributes:Si}}}(e,t);return ri()?function(e){const t=mo(Ei.environment);return{...e,options:{...e.options,baseUrl:t,streamUrl:t,eventsUrl:t}}}(n):n}(t,n);return ei("debug")("[webapp-container getPreLoginLDSetup] anonymous LD config",{clientSideID:r.clientSideID,usingRelayProxy:ri()}),{space:"anonymous",config:r,context:n}}return ei("warn")(`[webapp-container getPreLoginLDSetup] anonymous LD space not configured for env "${e}"; falling back to container space`),{space:"container",config:ri()?ii():oi(),context:ni()}}const Ai={default:oi,withProxy:ii};async function _i(e,t){try{zr.info("LD_ASYNC_INITIALIZATION_START",{message:`[webapp-container asyncWithLDProviderWithRetry] Attempting initialization with ${e} config`});const t=Ai[e](),n=await async function(){for(let e=0;e<=1;e++)try{return await Promise.race([sn(t),new Promise(((e,t)=>setTimeout((()=>t(new Error("LD_ASYNC_WITH_PROVIDER_TIMEOUT"))),5e3)))])}catch(t){zr.warn("LD_ASYNC_RETRY_TIMES_ERROR",{message:`[webapp-container retryTimes] Attempt ${e} failed. ${e<1?"Retrying...":""}`,error:t})}throw zr.warn("LD_ASYNC_RETRY_TIMES_FAILED",{message:"[webapp-container retryTimes] Failed after all 1 retries"}),new Error("MAX_RETRY_TIMES_REACHED")}();return zr.info("LD_ASYNC_INITIALIZATION_SUCCESS",{message:`[webapp-container asyncWithLDProviderWithRetry] Successfully initialized with ${e} config`}),n}catch(n){zr.error("LD_ASYNC_INITIALIZATION_TIMEOUT",{message:`[webapp-container asyncWithLDProviderWithRetry] Failed to initialize ld provider with ${e} config, falling back to ${t} config:`,error:n});const r=Ai[t]();return await sn({...r,timeout:5})}}var Pi=n(11677),ji=n(98003),Ti=["BRAND","INTERACTIVE","INVERSE","AI"],Ii=ji.styled.div({transition:"opacity 250ms ease",pointerEvents:"none",fontSize:0},(e=>{var{show:t}=e;return{opacity:t?1:0}})),Li=n(77500);function Ni(){return Ni=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ni.apply(this,arguments)}var Ri=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),Di=(e,t)=>{var n=Ni({},e);for(var[r,o]of Object.entries(t))if(void 0!==o){var i=e[r];Ri(i)&&Ri(o)?n[r]=Di(i,o):n[r]=o}return n},Fi=(e,t)=>Di(e,t),Mi=(e,t,n)=>
32{void 0===n&&(n=[]),Object.entries(e).forEach((e=>{var[r,o]=e;(e=>"string"==typeof e||"number"==typeof e||"boolean"==typeof e)(o)?t([...n,r]):Ri(o)&&Mi(o,t,[...n,r])}))},Bi=e=>{var t,{componentTheme:n,tokenKey:r,defaults:o,variantOverride:i}=e,a=null==(t=n.layout)?void 0:t[r],s=null==i?void 0:i[r];return Ni({},o,Ri(a)?a:{},Ri(s)?s:{})},Vi=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),zi=e=>{var t={};for(var[n,r]of Object.entries(e))if(void 0!==r)if(Vi(r)){var o=zi(r);Object.keys(o).length>0&&(t[n]=o)}else t[n]=r;return t},Ui=e=>{var{defaults:t,legacyOverlay:n,newFormatOverlay:r}=e,o=n?Fi(t,n):t;return r?Fi(o,r):o};function Hi(e,t){if(!e)return(e,t)=>t;var n=t();return n?(e,t)=>{try{var r;return null!=(r=e(n))?r:t}catch(e){if(e instanceof TypeError)return t;throw e}}:(e,t)=>t}var qi=n(452),Wi=new WeakMap,$i=e=>{var t=Wi.get(e);if(t)return t;var{colors:n}=e,r={background:{primary:n.white,secondary:n.grays[10],field:n.grays[5],fieldDisabled:n.grays[10],overlay:Gi(n.black,.3),inverse:n.grays[100],highlight:n.purples[10],selected:n.purples[20],interactive:n.purples[70]},text:{primary:n.grays[90],secondary:n.grays[60],placeholder:n.grays[50],disabled:n.grays[50],link:n.purples[70],error:n.reds[60],success:n.greens[60],inverse:n.white},icon:{primary:n.grays[80],secondary:n.grays[50],disabled:n.grays[30],link:n.purples[70],error:n.reds[60],success:n.greens[50],information:n.blues[50],warning:n.oranges[50],inverse:n.white},border:{decorative:n.grays[20],decorativeStrong:n.grays[40],perceivable:n.grays[50],interactive:n.purples[70],focus:n.purples[70],error:n.reds[50]}},o=(0,qi.A)({semanticColors:r},e);return Wi.set(e,o),o};function Gi(e,t){var[n,r,o]=e.match(/\w\w/g).map((e=>parseInt(e,16)));return"rgba("+n+", "+r+", "+o+", "+t+")"}var Ki=e=>{var{theme:t}=e,n=Hi(t.semanticTokensV9,(()=>t.tokens)),{semanticColors:r}=$i(t);return{brand:{gradient:{start:t.colors.reds[50],end:t.colors.oranges[50]}},ai:{start:n((e=>e.colors.fg.ai.end),"#D200A3"),stop:n((e=>e.colors.fg.ai.start),t.colors.purples[70])},stroke:{interactive:n((e=>e.colors.fg.brand),r.icon.link),inverse:n((e=>e.colors.fg.inverse),r.icon.inverse),default:n((e=>e.colors.fg.secondary),"#333")}}},Zi=n(43538),Yi=e=>{var{componentTheme:t,defaultComponentTheme:n}=e,r={};return Xi(n,(e=>{var o=(0,Li.A)(t,e);o!==(0,Li.A)(n,e)&&(0,Zi.A)(r,e,o)})),r};function Xi(e,t,n){void 0===n&&(n=[]),Object.entries(e).forEach((e=>{var[r,o]=e;!function(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e}(o)?Xi(o,t,[...n,r]):t([...n,r])}))}var Qi=e=>{var{theme:t}=e;return{colors:{stop:{initial:t.colors.oranges[50]},start:{initial:t.colors.reds[50]}}}},Ji=e=>{var t,n,{theme:r}=e,{colors:o}=Yi({componentTheme:r.spinner,defaultComponentTheme:Qi({theme:r})});return zi({brand:{gradient:{start:null==o||null==(t=o.start)?void 0:t.initial,end:null==o||null==(n=o.stop)?void 0:n.initial}}})},ea=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),ta=e=>{var{theme:t}=e,n=t.spinner;return zi({brand:ea(n,"brand")?n.brand:void 0,ai:ea(n,"ai")?n.ai:void 0,stroke:ea(n,"stroke")?n.stroke:void 0})};function na(){return na=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},na.apply(this,arguments)}var ra=e=>{var{square:t,strokeWidth:n=5,primary:r=!1,color:o,show:i=!1}=e,a=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["square","strokeWidth","primary","color","show"]),l=Math.ceil(n/2),c=(0,ji.useTheme)(),u=(0,s.useMemo)((()=>(e=>{var{theme:t}=e;return Ui({defaults:Ki({theme:t}),legacyOverlay:Ji({theme:t}),newFormatOverlay:ta({theme:t})})})({theme:c}
32)),[c]),[d]=(0,s.useState)((()=>Math.random().toString(32).substring(2,15))),p=!!o&&Ti.includes(o),f=(0,s.useMemo)((()=>r&&!o?"BRAND":p?o:void 0),[o,p,r]),h=p?null:o,m="BRAND"===f||"AI"===f,{startColor:g,stopColor:v}=(0,s.useMemo)((()=>"AI"===f?{startColor:u.ai.start,stopColor:u.ai.stop}:{startColor:u.brand.gradient.start,stopColor:u.brand.gradient.end}),[f,u]),y=g.replace(/#/g,"")+"_"+v.replace(/#/g,"")+"_"+d,b=(0,s.useMemo)((()=>{if(m)return"url(#"+y+")";switch(f){case"INTERACTIVE":return u.stroke.interactive;case"INVERSE":return u.stroke.inverse;default:return h||u.stroke.default}}),[f,m,y,u,h]);return(0,fi.jsx)(Ii,na({show:i},a,{children:(0,fi.jsxs)("svg",{width:t,height:t,viewBox:"0 0 "+(38+2*l)+" "+(38+2*l),children:[m&&(0,fi.jsx)("defs",{children:(0,fi.jsxs)("linearGradient",{id:y,children:[(0,fi.jsx)("stop",{stopColor:g,offset:"0%"}),(0,fi.jsx)("stop",{stopColor:v,offset:"100%"})]})}),(0,fi.jsx)("g",{transform:"translate("+l+" "+l+")",fill:"none",fillRule:"evenodd",children:(0,fi.jsx)("path",{d:"M36 18c0-9.94-8.06-18-18-18",stroke:b,strokeWidth:n,strokeLinecap:"round",children:(0,fi.jsx)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.8s",repeatCount:"indefinite"})})})]})}))};ra.displayName="Spinner";const oa=()=>gi("div",{css:Pi.AH` 33 display: flex; 34 justify-content: center; 35 height: 100vh; 36 align-items: center; 37 `,children:gi(ra,{square:60,color:"BRAND",show:!0,"data-test":"spinner"})});class ia extends c().Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){ei("error")("Render error",(0,ci.M)(e),t),zr.error("ErrorBoundary componentDidCatch",{error:e,errorInfo:t,safeLog:!0})}render(){const{hasError:e}=this.state,{children:t,fallback:n}=this.props;return e?void 0!==n?n:gi("div",{children:"Unable to display this component."}):t}}const aa=c().lazy((async()=>{ei("info")("[webapp-container AuthLDProvider] initializing POST-LOGIN container LD space"),performance.mark("reinitialize-ld-provider-start");const e=await async function(){return ri()?await _i("withProxy","default"):await _i("default","withProxy")}();performance.mark("reinitialize-ld-provider-end");const t=performance.measure("reinitialize-ld-provider-duration","reinitialize-ld-provider-start","reinitialize-ld-provider-end").duration;return Ko("reinitialize-ld-provider-duration",{duration:t,error:!1}),{default:e}})),sa=c().lazy((async()=>{performance.mark("prelogin-ld-provider-start");try{const{space:e,config:t,context:n}=await Oi(),r=Nt(t.clientSideID,n,t.options),o=await sn({...t,ldClient:r,timeout:15});performance.mark("prelogin-ld-provider-end");const i=performance.measure("prelogin-ld-provider-duration","prelogin-ld-provider-start","prelogin-ld-provider-end").duration;return Ko("prelogin-ld-provider-duration",{duration:i,error:!1,space:e}),{default:o}}catch(e){throw Ko("prelogin-ld-provider-duration",{error:!0}),ei("error")("[webapp-container PreLoginLDProvider] LD initialization failed",(0,ci.M)(e)),e}}));var la=n(18036);class ca{id=0;constructor(){this.id=0,this.callback=()=>{}}start(e,t){if(!e)throw new Error("callback cannot be null");this.cancel(),this.callback=e,this.id=window.setTimeout(e,t)}cancel(){0!==this.id&&(clearTimeout(this.id),this.id=0)}}var ua=function(e,t){return ua=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},ua(e,t)};function da(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ua(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var pa=function(){return pa=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},pa.apply(this,arguments)};function fa(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}
37function ha(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function ma(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function ga(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function va(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;const ya=/\r\n|[\n\r]/g;function ba(e,t){let n=0,r=1;for(const o of e.body.matchAll(ya)){if("number"==typeof o.index||va(!1),o.index>=t)break;n=o.index+o[0].length,r+=1}return{line:r,column:t+1-n}}function wa(e){return xa(e.source,ba(e.source,e.start))}function xa(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,o=t.line-1,i=e.locationOffset.line-1,a=t.line+i,s=1===t.line?n:0,l=t.column+s,c=`${e.name}:${a}:${l}\n`,u=r.split(/\r\n|[\n\r]/g),d=u[o];if(d.length>120){const e=Math.floor(l/80),t=l%80,n=[];for(let e=0;e<d.length;e+=80)n.push(d.slice(e,e+80));return c+ka([[`${a} |`,n[0]],...n.slice(1,e+1).map((e=>["|",e])),["|","^".padStart(t)],["|",n[e+1]]])}return c+ka([[a-1+" |",u[o-1]],[`${a} |`,d],["|","^".padStart(l)],[`${a+1} |`,u[o+1]]])}function ka(e){const t=e.filter((([e,t])=>void 0!==t)),n=Math.max(...t.map((([e])=>e.length)));return t.map((([e,t])=>e.padStart(n)+(t?" "+t:""))).join("\n")}class Ca extends Error{constructor(e,...t){var n,r,o;const{nodes:i,source:a,positions:s,path:l,originalError:c,extensions:u}=function(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=l?l:void 0,this.originalError=null!=c?c:void 0,this.nodes=Ea(Array.isArray(i)?i:i?[i]:void 0);const d=Ea(null===(n=this.nodes)||void 0===n?void 0:n.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!=a?a:null==d||null===(r=d[0])||void 0===r?void 0:r.source,this.positions=null!=s?s:null==d?void 0:d.map((e=>e.start)),this.locations=s&&a?s.map((e=>ba(a,e))):null==d?void 0:d.map((e=>ba(e.source,e.start)));const p="object"==typeof(f=null==c?void 0:c.extensions)&&null!==f?null==c?void 0:c.extensions:void 0;var f;this.extensions=null!==(o=null!=u?u:p)&&void 0!==o?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=c&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,Ca):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const t of this.nodes)t.loc&&(e+="\n\n"+wa(t.loc));else if(this.source&&this.locations)for(const t of this.locations)e+="\n\n"+xa(this.source,t);return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function Ea(e){return void 0===e||0===e.length?void 0:e}function Sa(e,t,n){return new Ca(`Syntax Error: ${n}`,{source:e,positions:[t]})}class Oa{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class Aa{constructor(e,t,n,r,o,i){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=o,this.value=i,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const _a={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],Float
37Value:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},Pa=new Set(Object.keys(_a));function ja(e){const t=null==e?void 0:e.kind;return"string"==typeof t&&Pa.has(t)}var Ta,Ia,La,Na,Ra,Da;function Fa(e){return 9===e||32===e}function Ma(e){return e>=48&&e<=57}function Ba(e){return e>=97&&e<=122||e>=65&&e<=90}function Va(e){return Ba(e)||95===e}function za(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,o=-1;for(let t=0;t<e.length;++t){var i;const a=e[t],s=Ua(a);s!==a.length&&(r=null!==(i=r)&&void 0!==i?i:t,o=t,0!==t&&s<n&&(n=s))}return e.map(((e,t)=>0===t?e:e.slice(n))).slice(null!==(t=r)&&void 0!==t?t:0,o+1)}function Ua(e){let t=0;for(;t<e.length&&Fa(e.charCodeAt(t));)++t;return t}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(Ta||(Ta={})),function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(Ia||(Ia={})),(Da=La||(La={})).NAME="Name",Da.DOCUMENT="Document",Da.OPERATION_DEFINITION="OperationDefinition",Da.VARIABLE_DEFINITION="VariableDefinition",Da.SELECTION_SET="SelectionSet",Da.FIELD="Field",Da.ARGUMENT="Argument",Da.FRAGMENT_SPREAD="FragmentSpread",Da.INLINE_FRAGMENT="InlineFragment",Da.FRAGMENT_DEFINITION="FragmentDefinition",Da.VARIABLE="Variable",Da.INT="IntValue",Da.FLOAT="FloatValue",Da.STRING="StringValue",Da.BOOLEAN="BooleanValue",Da.NULL="NullValue",Da.ENUM="EnumValue",Da.LIST="ListValue",Da.OBJECT="ObjectValue",Da.OBJECT_FIELD="ObjectField",Da.DIRECTIVE="Directive",Da.NAMED_TYPE="NamedType",Da.LIST_TYPE="ListType",Da.NON_NULL_TYPE="NonNullType",Da.SCHEMA_DEFINITION="SchemaDefinition",Da.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",Da.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",Da.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",Da.FIELD_DEFINITION="FieldDefinition",Da.INPUT_VALUE_DEFINITION="InputValueDefinition",Da.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",Da.UNION_TYPE_DEFINITION="UnionTypeDefinition",Da.ENUM_TYPE_DEFINITION="EnumTypeDefinition",Da.ENUM_VALUE_DEFINITION="EnumValueDefinition",Da.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",Da.DIRECTIVE_DEFINITION="DirectiveDefinition",Da.SCHEMA_EXTENSION="SchemaExtension",Da.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",Da.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",Da.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",Da.UNION_TYPE_EXTENSION="UnionTypeExtension",Da.ENUM_TYPE_EXTENSION="EnumTypeExtension",Da.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",(Ra=Na||(Na={})).SOF="<SOF>",Ra.EOF="<EOF>",Ra.BANG="!",Ra.DOLLAR="$",Ra.AMP="&",Ra.PAREN_L="(",Ra.PAREN_R=")",Ra.SPREAD="...",Ra.
37COLON=":",Ra.EQUALS="=",Ra.AT="@",Ra.BRACKET_L="[",Ra.BRACKET_R="]",Ra.BRACE_L="{",Ra.PIPE="|",Ra.BRACE_R="}",Ra.NAME="Name",Ra.INT="Int",Ra.FLOAT="Float",Ra.STRING="String",Ra.BLOCK_STRING="BlockString",Ra.COMMENT="Comment";class Ha{constructor(e){const t=new Aa(Na.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==Na.EOF)do{if(e.next)e=e.next;else{const t=Ya(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===Na.COMMENT);return e}}function qa(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function Wa(e,t){return $a(e.charCodeAt(t))&&Ga(e.charCodeAt(t+1))}function $a(e){return e>=55296&&e<=56319}function Ga(e){return e>=56320&&e<=57343}function Ka(e,t){const n=e.source.body.codePointAt(t);if(void 0===n)return Na.EOF;if(n>=32&&n<=126){const e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function Za(e,t,n,r,o){const i=e.line,a=1+n-e.lineStart;return new Aa(t,n,r,i,a,o)}function Ya(e,t){const n=e.source.body,r=n.length;let o=t;for(;o<r;){const t=n.charCodeAt(o);switch(t){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===n.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 35:return Xa(e,o);case 33:return Za(e,Na.BANG,o,o+1);case 36:return Za(e,Na.DOLLAR,o,o+1);case 38:return Za(e,Na.AMP,o,o+1);case 40:return Za(e,Na.PAREN_L,o,o+1);case 41:return Za(e,Na.PAREN_R,o,o+1);case 46:if(46===n.charCodeAt(o+1)&&46===n.charCodeAt(o+2))return Za(e,Na.SPREAD,o,o+3);break;case 58:return Za(e,Na.COLON,o,o+1);case 61:return Za(e,Na.EQUALS,o,o+1);case 64:return Za(e,Na.AT,o,o+1);case 91:return Za(e,Na.BRACKET_L,o,o+1);case 93:return Za(e,Na.BRACKET_R,o,o+1);case 123:return Za(e,Na.BRACE_L,o,o+1);case 124:return Za(e,Na.PIPE,o,o+1);case 125:return Za(e,Na.BRACE_R,o,o+1);case 34:return 34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)?as(e,o):es(e,o)}if(Ma(t)||45===t)return Qa(e,o,t);if(Va(t))return ss(e,o);throw Sa(e.source,o,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":qa(t)||Wa(n,o)?`Unexpected character: ${Ka(e,o)}.`:`Invalid character: ${Ka(e,o)}.`)}return Za(e,Na.EOF,r,r)}function Xa(e,t){const n=e.source.body,r=n.length;let o=t+1;for(;o<r;){const e=n.charCodeAt(o);if(10===e||13===e)break;if(qa(e))++o;else{if(!Wa(n,o))break;o+=2}}return Za(e,Na.COMMENT,t,o,n.slice(t+1,o))}function Qa(e,t,n){const r=e.source.body;let o=t,i=n,a=!1;if(45===i&&(i=r.charCodeAt(++o)),48===i){if(i=r.charCodeAt(++o),Ma(i))throw Sa(e.s
37ource,o,`Invalid number, unexpected digit after 0: ${Ka(e,o)}.`)}else o=Ja(e,o,i),i=r.charCodeAt(o);if(46===i&&(a=!0,i=r.charCodeAt(++o),o=Ja(e,o,i),i=r.charCodeAt(o)),69!==i&&101!==i||(a=!0,i=r.charCodeAt(++o),43!==i&&45!==i||(i=r.charCodeAt(++o)),o=Ja(e,o,i),i=r.charCodeAt(o)),46===i||Va(i))throw Sa(e.source,o,`Invalid number, expected digit but got: ${Ka(e,o)}.`);return Za(e,a?Na.FLOAT:Na.INT,t,o,r.slice(t,o))}function Ja(e,t,n){if(!Ma(n))throw Sa(e.source,t,`Invalid number, expected digit but got: ${Ka(e,t)}.`);const r=e.source.body;let o=t+1;for(;Ma(r.charCodeAt(o));)++o;return o}function es(e,t){const n=e.source.body,r=n.length;let o=t+1,i=o,a="";for(;o<r;){const r=n.charCodeAt(o);if(34===r)return a+=n.slice(i,o),Za(e,Na.STRING,t,o+1,a);if(92!==r){if(10===r||13===r)break;if(qa(r))++o;else{if(!Wa(n,o))throw Sa(e.source,o,`Invalid character within String: ${Ka(e,o)}.`);o+=2}}else{a+=n.slice(i,o);const t=117===n.charCodeAt(o+1)?123===n.charCodeAt(o+2)?ts(e,o):ns(e,o):is(e,o);a+=t.value,o+=t.size,i=o}}throw Sa(e.source,o,"Unterminated string.")}function ts(e,t){const n=e.source.body;let r=0,o=3;for(;o<12;){const e=n.charCodeAt(t+o++);if(125===e){if(o<5||!qa(r))break;return{value:String.fromCodePoint(r),size:o}}if(r=r<<4|os(e),r<0)break}
37throw Sa(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+o)}".`)}function ns(e,t){const n=e.source.body,r=rs(n,t+2);if(qa(r))return{value:String.fromCodePoint(r),size:6};if($a(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){const e=rs(n,t+8);if(Ga(e))return{value:String.fromCodePoint(r,e),size:12}}throw Sa(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function rs(e,t){return os(e.charCodeAt(t))<<12|os(e.charCodeAt(t+1))<<8|os(e.charCodeAt(t+2))<<4|os(e.charCodeAt(t+3))}function os(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function is(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw Sa(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function as(e,t){const n=e.source.body,r=n.length;let o=e.lineStart,i=t+3,a=i,s="";const l=[];for(;i<r;){const r=n.charCodeAt(i);if(34===r&&34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2)){s+=n.slice(a,i),l.push(s);const r=Za(e,Na.BLOCK_STRING,t,i+3,za(l).join("\n"));return e.line+=l.length-1,e.lineStart=o,r}if(92!==r||34!==n.charCodeAt(i+1)||34!==n.charCodeAt(i+2)||34!==n.charCodeAt(i+3))if(10!==r&&13!==r)if(qa(r))++i;
37else{if(!Wa(n,i))throw Sa(e.source,i,`Invalid character within String: ${Ka(e,i)}.`);i+=2}else s+=n.slice(a,i),l.push(s),13===r&&10===n.charCodeAt(i+1)?i+=2:++i,s="",a=i,o=i;else s+=n.slice(a,i),a=i+1,i+=4}throw Sa(e.source,i,"Unterminated string.")}function ss(e,t){const n=e.source.body,r=n.length;let o=t+1;for(;o<r&&(Ba(i=n.charCodeAt(o))||Ma(i)||95===i);)++o;var i;return Za(e,Na.NAME,t,o,n.slice(t,o))}function ls(e,t){if(!Boolean(e))throw new Error(t)}const cs=10,us=2;function ds(e){return ps(e,[])}function ps(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:ps(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>us)return"[Array]";const n=Math.min(cs,e.length),r=e.length-n,o=[];for(let r=0;r<n;++r)o.push(ps(e[r],t));return 1===r?o.push("... 1 more item"):r>1&&o.push(`... ${r} more items`),"["+o.join(", ")+"]"}(e,n);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>us)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const r=n.map((([e,n])=>e+": "+ps(n,t)));return"{ "+r.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}const fs=globalThis.process?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var n;const r=t.prototype[Symbol.toStringTag];if(r===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(n=e.constructor)||void 0===n?void 0:n.name)){const t=ds(e);throw new Error(`Cannot use ${r} "${t}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1};class hs{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||ls(!1,`Body must be a string. Received: ${ds(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||ls(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||ls(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class ms{constructor(e,t={}){const n=function(e){return fs(e,hs)}(e)?e:new hs(e);this._lexer=new Ha(n),this._options=t,this._tokenCounter=0}parseName(){const e=this.expectToken(Na.NAME);return this.node(e,{kind:La.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:La.DOCUMENT,definitions:this.many(Na.SOF,this.parseDefinition,Na.EOF)})}parseDefinition(){if(this.peek(Na.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===Na.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw Sa(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(Na.BRACE_L))return this.node(e,{kind:La.OPERATION_DEFINITION,operation:Ta.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let n;return this.peek(Na.NAME)&&(n=this.parseName()),this.node(e,{kind:La.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(Na.NAME);switch(e.value){case"query":return Ta.QUERY;case"mutation":return Ta.MUTATION;case"subscription":return Ta.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(Na.PAREN_L,this.parseVariableDefinition,Na.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:La.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(Na.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(Na.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(Na.DOLLAR),this.node(e,{kind:La.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:La.SELECTION_SET,selections:this.many(Na.BRACE_L,this.parseSelection,Na.BRACE_R)})}parseSelection(){return this.peek(Na.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let n,r;return this.expectOptionalToken(Na.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:La.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(Na.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(Na.PAREN_L,t,Na.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,n=this.parseName();return this.expectToken(Na.COLON),this.node(t,{kind:La.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(Na.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(Na.NAME)?this.node(e,{kind:La.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:La.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token;return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:La.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:La.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case Na.BRACKET_L:return this.parseList(e);case Na.BRACE_L:return this.parseObject(e);case Na.INT:return this.advanceLexer(),this.node(t,{kind:La.INT,value:t.value});case Na.FLOAT:return this.advanceLexer(),this.node(t,{kind:La.FLOAT,value:t.value});case Na.STRING:case Na.BLOCK_STRING:return this.parseStringLiteral();case Na.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:La.BOOLEAN,value:!0});case"false":return this.node(t,{kind:La.BOOLEAN,value:!1});case"null":return this.node(t,{kind:La.NULL});default:return this.node(t,{kind:La.ENUM,value:t.value})}case Na.DOLLAR:if(e){if(this.expectToken(Na.DOLLAR),this._lexer.token.kind===Na.NAME){const e=this._lexer.token.value;throw Sa(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:La.STRING,value:e.value,block:e.kind===Na.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:La.LIST,values:this.any(Na.BRACKET_L,(()=>this.parseValueLiteral(e)),Na.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:La.OBJECT,fields:this.any(Na.BRACE_L,(()=>this.parseObjectField(e)),Na.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,n=this.parseName();return this.expectToken(Na.COLON),this.node(t,{kind:La.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(Na.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(Na.AT),this.node(t,{kind:La.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(Na.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(Na.BRACKET_R),t=this.node(e,{kind:La.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(Na.BANG)?this.node(e,{kind:La.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:La.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(Na.STRING)||this.peek(Na.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const n=this.parseConstDirectives(),r=this.many(Na.BRACE_L,this.parseOperationTypeDefinition,Na.BRACE_R);return this.node(e,{kind:La.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(Na.COLON);const n=this.parseNamedType();return this.node(e,{kind:La.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:La.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),i=this.parseFieldsDefinition();return this.node(e,{kind:La.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:i})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(Na.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(Na.BRACE_L,this.parseFieldDefinition,Na.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(Na.COLON);const o=this.parseTypeReference(),i=this.parseConstDirectives();return this.node(e,{kind:La.FIELD_DEFINITION,description:t,name:n,arguments:r,type:o,directives:i})}parseArgumentDefs(){return this.optionalMany(Na.PAREN_L,this.parseInputValueDef,Na.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(Na.COLON);const r=this.parseTypeReference();let o;this.expectOptionalToken(Na.EQUALS)&&(o=this.parseConstValueLiteral());const i=this.parseConstDirectives();return this.node(e,{kind:La.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:o,directives:i})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),i=this.parseFieldsDefinition();return this.node(e,{kind:La.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:i})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(e,{kind:La.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(Na.EQUALS)?this.delimitedMany(Na.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(e,{kind:La.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:o})}parseEnumValuesDefinition(){return this.optionalMany(Na.BRACE_L,this.parseEnumValueDefinition,Na.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:La.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw Sa(this._lexer.source,this._lexer.token.start,`${gs(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const n=this.parseName(),r=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(e,{kind:La.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(Na.BRACE_L,this.parseInputValueDef,Na.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===Na.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),n=this.optionalMany(Na.BRACE_L,this.parseOperationTypeDefinition,Na.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:La.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:La.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return this.node(e,{kind:La.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return this.node(e,{kind:La.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:La.UN
37ION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:La.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:La.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Na.AT);const n=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const i=this.parseDirectiveLocations();return this.node(e,{kind:La.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:o,locations:i})}parseDirectiveLocations(){return this.delimitedMany(Na.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(Ia,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new Oa(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw Sa(this._lexer.source,t.start,`Expected ${vs(e)}, found ${gs(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==Na.NAME||t.value!==e)throw Sa(this._lexer.source,t.start,`Expected "${e}", found ${gs(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===Na.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){const t=null!=e?e:this._lexer.token;return Sa(this._lexer.source,t.start,`Unexpected ${gs(t)}.`)}any(e,t,n){this.expectToken(e);const r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);const r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);const n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n}advanceLexer(){const{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==Na.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw Sa(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function gs(e){const t=e.value;return vs(e.kind)+(null!=t?` "${t}"`:"")}function vs(e){return function(e){return e===Na.BANG||e===Na.DOLLAR||e===Na.AMP||e===Na.PAREN_L||e===Na.PAREN_R||e===Na.SPREAD||e===Na.COLON||e===Na.EQUALS||e===Na.AT||e===Na.BRACKET_L||e===Na.BRACKET_R||e===Na.BRACE_L||e===Na.PIPE||e===Na.BRACE_R}(e)?`"${e}"`:e}var ys=new Map,bs=new Map,ws=!0,xs=!1;function ks(e){return e.replace(/[\s,]+/g," ").trim()}function Cs(e){var t,n,r,o=ks(e);if(!ys.has(o)){var i=function(e,t){return new ms(e,t).parseDocument()}(e,{experimentalFragmentVariables:xs,allowLegacyFragmentVariables:xs});if(!i||"Document"!==i.kind)throw new Error("Not a valid GraphQL document.");ys.set(o,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(n){var r=e[n];r&&"object"==typeof r&&t.add(r)}))}));var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}((t=i,n=new Set,r=[],t.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var t=e.name.value,o=ks((a=e.loc).source.body.substring(a.start,a.end)),i=bs.get(t);i&&!i.has(o)?ws&&console.warn("Warning: fragment with name "+t+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):i||bs.set(t,i=new Set),i.add(o),n.has(o)||
37(n.add(o),r.push(e))}else r.push(e);var a})),pa(pa({},t),{definitions:r}))))}return ys.get(o)}function Es(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var r=e[0];return t.forEach((function(t,n){t&&"Document"===t.kind?r+=t.loc.source.body:r+=t,r+=e[n+1]})),Cs(r)}var Ss,Os=Es;(Ss=Es||(Es={})).gql=Os,Ss.resetCaches=function(){ys.clear(),bs.clear()},Ss.disableFragmentWarnings=function(){ws=!1},Ss.enableExperimentalFragmentVariables=function(){xs=!0},Ss.disableExperimentalFragmentVariables=function(){xs=!1},Es.default=Es;var As=n(74945),_s="Invariant Violation",Ps=Object.setPrototypeOf,js=void 0===Ps?function(e,t){return e.__proto__=t,e}:Ps,Ts=function(e){function t(n){void 0===n&&(n=_s);var r=e.call(this,"number"==typeof n?_s+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=_s,js(r,t.prototype),r}return da(t,e),t}(Error);function Is(e,t){if(!e)throw new Ts(t)}var Ls=["debug","log","warn","error","silent"],Ns=Ls.indexOf("log");function Rs(e){return function(){if(Ls.indexOf(e)>=Ns)return(console[e]||console.log).apply(console,arguments)}}!function(e){e.debug=Rs("debug"),e.log=Rs("log"),e.warn=Rs("warn"),e.error=Rs("error")}(Is||(Is={}));var Ds="3.11.8";function Fs(e){try{return e()}catch(e){}}const Ms=Fs((function(){return globalThis}))||Fs((function(){return window}))||Fs((function(){return self}))||Fs((function(){return global}))||Fs((function(){return Fs.constructor("return this")()}));var Bs=new Map;function Vs(e){var t=Bs.get(e)||1;return Bs.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function zs(e,t){void 0===t&&(t=0);var n=Vs("stringifyForDisplay");return JSON.stringify(e,(function(e,t){return void 0===t?n:t}),t).split(JSON.stringify(n)).join("<undefined>")}function Us(e){return function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if("number"==typeof t){var o=t;(t=Gs(o))||(t=Ks(o,n),n=[])}e.apply(void 0,[t].concat(n))}}var Hs=Object.assign((function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];e||Is(e,Gs(t,n)||Ks(t,n))}),{debug:Us(Is.debug),log:Us(Is.log),warn:Us(Is.warn),error:Us(Is.error)});function qs(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Ts(Gs(e,t)||Ks(e,t))}var Ws=Symbol.for("ApolloErrorMessageHandler_"+Ds);function $s(e){if("string"==typeof e)return e;try{return zs(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function Gs(e,t){if(void 0===t&&(t=[]),e)return Ms[Ws]&&Ms[Ws](e,t.map($s))}function Ks(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:Ds,message:e,args:t.map($s)})))}function Zs(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ys(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xs(e,t,n){return t&&Ys(e.prototype,t),n&&Ys(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}globalThis.__DEV__;var Qs=function(){return"function"==typeof Symbol},Js=function(e){return Qs()&&Boolean(Symbol[e])},el=function(e){return Js(e)?Symbol[e]:"@@"+e};Qs()&&!Js("observable")&&(Symbol.observable=Symbol("observable"));var tl=el("iterator"),nl=el("observable"),rl=el("species");function ol(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw new TypeError(n+" is not a function");return n}}function il(e){var t=e.constructor;return void 0!==t&&null===(t=t[rl])&&(t=void 0),void 0!==t?t:ml}function al(e){return e instanceof ml}function sl(e){sl.log?sl.log(e):setTimeout((function(){throw e}))}function ll(e){Promise.resolve().then((function(){try{e()}catch(e){sl(e)}}))}function cl(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var n=ol(t,"unsubscribe");n&&n.call(t)}}catch(e){sl(e)}}function ul(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function dl(e,t,n){e._state="running";var r=e._observer;try{var o=ol(r,t);switch(t){case"next":o&&o.call(r,n);break;case"error":if(ul(e),!o)throw n;o.call(r,n);break;case"complete":ul(e),o&&o.call(r)}}catch(e){sl(e)}"closed"===e._state?cl(e):"running"===e._state&&(e._state="ready")}function pl(e,t,n){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:n}],void ll((function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(dl(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)}))):void dl(e,t,n);e._queue.push({type:t,value:n})}}var fl=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new hl(this);try{this._cleanup=t.call(void 0,n)}catch(e){n.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(ul(this),cl(this))},Xs(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),hl=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){pl(this._subscription,"next",e)},t.error=function(e){pl(this._subscription,"error",e)},t.complete=function(){pl(this._subscription,"complete")},Xs(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),ml=function(){function e(t){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return"object"==typeof e&&null!==e||(e={next:e,error:arguments[1],complete:arguments[2]}),new fl(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise((function(n,r){if("function"==typeof e)var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){r(e),o.unsubscribe()}},error:r,complete:n});else r(new TypeError(e+" is not a function"));function i(){o.unsubscribe(),n()}}))},t.map=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(il(this))((function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))},t.filter=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(il(this))((function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))},t.reduce=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=il(this),r=arguments.length>1,o=!1,i=arguments[1];return new n((function(n){return t.subscribe({next:function(t){var a=!o;if(o=!0,!a||r)try{i=e(i,t)}catch(e){return n.error(e)}else i=t},error:function(e){n.error(e)},complete:function(){if(!o&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(i),n.complete()}})}))},t.concat=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=il(this);return new o((function(t){var r,i=0;return function e(a){r=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){i===n.length?(r=void 0,t.complete()):e(o.from(n[i++]))}})}(e),function(){r&&(r.unsubscribe(),r=void 0)}}))},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=il(this);return new n((function(r){var o=[],i=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return r.error(e)}var i=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=o.indexOf(i);e>=0&&o.splice(e,1),a()}});o.push(i)},error:function(e){r.error(e)},complete:function(){a()}});function a(){i.closed&&0===o.length&&r.complete()}return function(){o.forEach((function(e){return e.unsubscribe()})),i.unsubscribe()}}))},t[nl]=function(){return this},e.from=function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=ol(t,nl);
37if(r){var o=r.call(t);if(Object(o)!==o)throw new TypeError(o+" is not an object");return al(o)&&o.constructor===n?o:new n((function(e){return o.subscribe(e)}))}if(Js("iterator")&&(r=ol(t,tl)))return new n((function(e){ll((function(){if(!e.closed){for(var n,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Zs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zs(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(r.call(t));!(n=o()).done;){var i=n.value;if(e.next(i),e.closed)return}e.complete()}}))}));if(Array.isArray(t))return new n((function(e){ll((function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}}))}));throw new TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return new("function"==typeof this?this:e)((function(e){ll((function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}}))}))},Xs(e,null,[{key:rl,get:function(){return this}}]),e}();function gl(e){return null!==e&&"object"==typeof e}function vl(e,t){var n=t,r=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw qs(74,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&r.push(e)})),void 0===n&&(Hs(1===r.length,75,r.length),n=r[0].name.value),pa(pa({},e),{definitions:ga([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function yl(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function bl(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=e.name.value;if("function"==typeof t)return t(n);var r=t&&t[n];return Hs(r,76,n),r||null;default:return null}}function wl(){}Qs()&&Object.defineProperty(ml,Symbol("extensions"),{value:{symbol:nl,hostReportError:sl},configurable:!0});const xl=wl,kl="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},Cl="undefined"!=typeof WeakMap?WeakMap:Map,El="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:wl,unregister:wl}};class Sl{constructor(e=1/0,t=xl){this.max=e,this.dispose=t,this.map=new Cl,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){const t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);const n=t.key;delete t.key,t.keyRef=new kl(n),this.registry.register(n,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new El(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.scheduleFinalization(n),this.map.set(e,n),this.size++,n.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;const t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){const t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}function Ol(){}class Al{constructor(e=1/0,t=Ol){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);
37return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){const t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}var _l=new WeakSet;function Pl(e){e.size<=(e.max||-1)||_l.has(e)||(_l.add(e),setTimeout((function(){e.clean(),_l.delete(e)}),100))}var jl=function(e,t){var n=new Sl(e,t);return n.set=function(e,t){var n=Sl.prototype.set.call(this,e,t);return Pl(this),n},n},Tl=function(e,t){var n=new Al(e,t);return n.set=function(e,t){var n=Al.prototype.set.call(this,e,t);return Pl(this),n},n},Il=Symbol.for("apollo.cacheSize"),Ll=pa({},Ms[Il]),Nl={};function Rl(e,t){Nl[e]=t}var Dl=!1!==globalThis.__DEV__?function(){var e,t,n,r,o;if(!1===globalThis.__DEV__)throw new Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map((function(e){var t=e[0],n=e[1];return[t,Ll[t]||n]}))),sizes:pa({print:null===(e=Nl.print)||void 0===e?void 0:e.call(Nl),parser:null===(t=Nl.parser)||void 0===t?void 0:t.call(Nl),canonicalStringify:null===(n=Nl.canonicalStringify)||void 0===n?void 0:n.call(Nl),links:ql(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:Ul(this.queryManager.documentTransform)}},null===(o=(r=this.cache).getMemoryInternals)||void 0===o?void 0:o.call(r))}}:void 0,Fl=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return pa(pa({},Bl.apply(this)),{addTypenameDocumentTransform:Ul(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:Vl(this.storeReader.executeSelectionSet),executeSubSelectedArray:Vl(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:Vl(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:Vl(null==e?void 0:e.findFragmentSpreads),lookup:Vl(null==e?void 0:e.lookup),transform:Vl(null==e?void 0:e.transform)}})}:void 0,Ml=!1!==globalThis.__DEV__?Bl:void 0;function Bl(){return{cache:{fragmentQueryDocuments:Vl(this.getFragmentDoc)}}}function Vl(e){return function(e){return!!e&&"dirtyKey"in e}(e)?e.size:void 0}function zl(e){return null!=e}function Ul(e){return Hl(e).map((function(e){return{cache:e}}))}function Hl(e){return e?ga(ga([Vl(null==e?void 0:e.performWork)],Hl(null==e?void 0:e.left),!0),Hl(null==e?void 0:e.right),!0).filter(zl):[]}function ql(e){var t;return e?ga(ga([null===(t=null==e?void 0:e.getMemoryInternals)||void 0===t?void 0:t.call(e)],ql(null==e?void 0:e.left),!0),ql(null==e?void 0:e.right),!0).filter(zl):[]}var Wl,$l=Object.assign((function(e){return JSON.stringify(e,Gl)}),{reset:function(){Wl=new Tl(Ll.canonicalStringify||1e3)}});function Gl(e,t){if(t&&"object"==typeof t){var n=Object.getPrototypeOf(t);if(n===Object.prototype||null===n){var r=Object.keys(t);if(r.every(Kl))return t;var o=JSON.stringify(r),i=Wl.get(o);if(!i){r.sort();var a=JSON.stringify(r);i=Wl.get(a)||r,Wl.set(o,i),Wl.set(a,i)}var s=Object.create(n);return i.forEach((function(e){s[e]=t[e]})),s}}return t}function Kl(e,t,n){return 0===t||n[t-1]<=e}function Zl(e){return{__ref:String(e)}}function Yl(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function Xl(e,t,n,r){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var o={};n.fields.map((function(e){return Xl(o,e.name,e.value,r)})),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(n)){var i=(r||{})[n.name.value];e[t.value]=i}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return Xl(n,t,e,r),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw qs(85,t.value,n.kind);e[t.value]=null}}!1!==globalThis.__DEV__&&Rl("canonicalStringify",(function(){return Wl.size})),$l.reset();var Ql=["connection","include","skip","client","rest","export","nonreactive"],Jl=$l,ec=Object.assign((function(e,t,n){if(t&&n&&n.connection&&n.c
37onnection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var o={};return r.forEach((function(e){o[e]=t[e]})),"".concat(n.connection.key,"(").concat(Jl(o),")")}return n.connection.key}var i=e;if(t){var a=Jl(t);i+="(".concat(a,")")}return n&&Object.keys(n).forEach((function(e){-1===Ql.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?i+="@".concat(e,"(").concat(Jl(n[e]),")"):i+="@".concat(e))})),i}),{setStringify:function(e){var t=Jl;return Jl=e,t}});function tc(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,o=e.value;return Xl(n,r,o,t)})),n}return null}function nc(e){return e.alias?e.alias.value:e.name.value}function rc(e,t,n){for(var r,o=0,i=t.selections;o<i.length;o++)if(oc(l=i[o])){if("__typename"===l.name.value)return e[nc(l)]}else r?r.push(l):r=[l];if("string"==typeof e.__typename)return e.__typename;if(r)for(var a=0,s=r;a<s.length;a++){var l,c=rc(e,bl(l=s[a],n).selectionSet,n);if("string"==typeof c)return c}}function oc(e){return"Field"===e.kind}function ic(e){Hs(e&&"Document"===e.kind,77);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw qs(78,e.kind);return e}));return Hs(t.length<=1,79,t.length),e}function ac(e){return ic(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function sc(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&!!e.name})).map((function(e){return e.name.value}))[0]||null}function lc(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function cc(e){var t=ac(e);return Hs(t&&"query"===t.operation,80),t}function uc(e){var t;ic(e);for(var n=0,r=e.definitions;n<r.length;n++){var o=r[n];if("OperationDefinition"===o.kind){var i=o.operation;if("query"===i||"mutation"===i||"subscription"===i)return o}"FragmentDefinition"!==o.kind||t||(t=o)}if(t)return t;throw qs(84)}function dc(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach((function(e){e.defaultValue&&Xl(t,e.variable.name,e.defaultValue)})),t}function pc(e,t){return t?t(e):ml.of()}function fc(e){return"function"==typeof e?new mc(e):e}function hc(e){return e.request.length<=1}var mc=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return ml.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(fc).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,n,r){var o,i=fc(n),a=fc(r||new e(pc));return o=hc(i)&&hc(a)?new e((function(e){return t(e)?i.request(e)||ml.of():a.request(e)||ml.of()})):new e((function(e,n){return t(e)?i.request(e,n)||ml.of():a.request(e,n)||ml.of()})),Object.assign(o,{left:i,right:a})},e.execute=function(e,t){return e.request(function(e,t){var n=pa({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n=pa(pa({},n),"function"==typeof e?e(n):e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return pa({},n)}}),t}(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?sc(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];if(t.indexOf(o)<0)throw qs(44,o)}return e}(t))))||ml.of()},e.concat=function(t,n){var r=fc(t);if(hc(r))return!1!==globalThis.__DEV__&&Hs.warn(36,r),r;var o,i=fc(n);return o=hc(i)?new e((function(e){return r.request(e,(function(e){return i.request(e)||ml.of()}))||ml.of()})):new e((function(e,t){return r.request(e,(function(e){return i.request(e,t)||ml.of()}))||ml.of()})),Object.assign(o,{left:r,right:i})},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(pc)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw qs(37)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}();const gc=Object.freeze({});function vc(e,t,n=_a){const r=new Map;for(const e of Object.values(La))r.set(e,yc(t,e));let o,i,a,s=Array.isArray(e),l=[e],c=-1,u=[],d=e;const p=[],f=[];do{c++;const e=c===l.length,v=e&&0!==u.length;if(e){if(i=0===f.length?void 0:p[p.length-1],d=a,a=f.pop(),v)if(s){d=d.slice();let e=0;for(const[t,n]of u){const r=t-e;null===n?(d.splice(r,1),e++):d[r]=n}}else{d=Object.defineProperties({},Object.getOwnPropertyDescriptors(d));for(const[e,t]of u)d[e]=t}c=o.index,l=o.keys,u=o.edits,s=o.inArray,o=o.prev}else if(a){if(i=s?c:l[c],d=a[i],null==d)continue;p.push(i)}let y;if(!Array.isArray(d)){var h,m;ja(d)||ls(!1,`Invalid AST Node: ${ds(d)}.`);const n=e?null===(h=r.get(d.kind))||void 0===h?void 0:h.leave:null===(m=r.get(d.kind))||void 0===m?void 0:m.enter;
37if(y=null==n?void 0:n.call(t,d,i,a,p,f),y===gc)break;if(!1===y){if(!e){p.pop();continue}}else if(void 0!==y&&(u.push([i,y]),!e)){if(!ja(y)){p.pop();continue}d=y}}var g;void 0===y&&v&&u.push([i,d]),e?p.pop():(o={inArray:s,index:c,keys:l,edits:u,prev:o},s=Array.isArray(d),l=s?d:null!==(g=n[d.kind])&&void 0!==g?g:[],c=-1,u=[],a&&f.push(a),a=d)}while(void 0!==o);return 0!==u.length?u[u.length-1][1]:e}function yc(e,t){const n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function bc(e,t){var n=e.directives;return!n||!n.length||function(e){var t=[];return e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var n=e.arguments,r=e.name.value;Hs(n&&1===n.length,71,r);var o=n[0];Hs(o.name&&"if"===o.name.value,72,r);var i=o.value;Hs(i&&("Variable"===i.kind||"BooleanValue"===i.kind),73,r),t.push({directive:e,ifArgument:o})}})),t}(n).every((function(e){var n=e.directive,r=e.ifArgument,o=!1;return"Variable"===r.value.kind?(o=t&&t[r.value.name.value],Hs(void 0!==o,70,n.name.value)):o=r.value.value,"skip"===n.name.value?!o:o}))}function wc(e,t,n){var r=new Set(e),o=r.size;return vc(t,{Directive:function(e){if(r.delete(e.name.value)&&(!n||!r.size))return gc}}),n?!r.size:r.size<o}function xc(e){return e&&wc(["client","export"],e,!0)}var kc=function(e,t){var n;try{n=JSON.stringify(e)}catch(e){var r=qs(40,t,e.message);throw r.parseError=e,r}return n},Cc="ReactNative"==Fs((function(){return navigator.product})),Ec="function"==typeof WeakMap&&!(Cc&&!global.HermesInternal),Sc="function"==typeof WeakSet,Oc="function"==typeof Symbol&&"function"==typeof Symbol.for,Ac=Oc&&Symbol.asyncIterator,_c="function"==typeof Fs((function(){return window.document.createElement})),Pc=Fs((function(){return navigator.userAgent.indexOf("jsdom")>=0}))||!1,jc=(_c||Cc)&&!Pc;function Tc(e){var t={next:function(){return e.read()}};return Ac&&(t[Symbol.asyncIterator]=function(){return this}),t}function Ic(e){var t,n=e;if(e.body&&(n=e.body),t=n,Ac&&t[Symbol.asyncIterator])return function(e){var t,n=e[Symbol.asyncIterator]();return(t={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},t}(n);if(function(e){return!!e.getReader}(n))return Tc(n.getReader());if(function(e){return!!e.stream}(n))return Tc(n.stream().getReader());if(function(e){return!!e.arrayBuffer}(n))return function(e){var t=!1,n={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise((function(t,n){e.then((function(e){t({value:e,done:!1})})).catch(n)})))}};return Ac&&(n[Symbol.asyncIterator]=function(){return this}),n}(n.arrayBuffer());if(function(e){return!!e.pipe}(n))return function(e){var t=null,n=null,r=!1,o=[],i=[];function a(e){if(!n){if(i.length){var t=i.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}o.push(e)}}function s(e){n=e,i.slice().forEach((function(t){t[1](e)})),!t||t()}function l(){r=!0,i.slice().forEach((function(e){e[0]({value:void 0,done:!0})})),!t||t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",l),e.removeListener("finish",l),e.removeListener("close",l)},e.on("data",a),e.on("error",s),e.on("end",l),e.on("finish",l),e.on("close",l);var c={next:function(){return new Promise((function(e,t){return n?t(n):o.length?e({value:o.shift(),done:!1}):r?e({value:void 0,done:!0}):void i.push([e,t])}))}};return Ac&&(c[Symbol.asyncIterator]=function(){return this}),c}(n);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var Lc=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},Nc=Symbol();function Rc(e){return e.hasOwnProperty("graphQLErrors")}var Dc=function(e){function t(n){var r,o,i=n.graphQLErrors,a=n.protocolErrors,s=n.clientErrors,l=n.networkError,c=n.errorMessage,u=n.extraInfo,d=e.call(this,c)||this;return d.name="ApolloError",d.graphQLErrors=i||[],d.protocolErrors=a||[],d.clientErrors=s||[],d.networkError=l||null,d.message=c||(o=ga(ga(ga([],(r=d).graphQLErrors,!0),r.clientErrors,!0),r.protocolErrors,!0),r.networkError&&o.push(r.networkError),o.map((function(e){return gl(e)&&e.message||"Error message not found."})).join("\n")),d.extraInfo=u,d.cause=ga(ga(ga([l],i||[],!0),a||[],!0),s||[],!0).find((function(e){return!!e}))||null,d.__proto__=t.prototype,d}return da(t,e),t}(Error),Fc=Array.isArray;function Mc(e){return Array.isArray(e)&&e.length>0}var Bc=Object.prototype.hasOwnProperty;function Vc(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return zc(e)}function zc(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new Hc,o=1;o<n;++o)t=r.merge(t,e[o]);return t}
37var Uc=function(e,t,n){return this.merge(e[n],t[n])},Hc=function(){function e(e){void 0===e&&(e=Uc),this.reconciler=e,this.isObject=gl,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];return gl(t)&&gl(e)?(Object.keys(t).forEach((function(o){if(Bc.call(e,o)){var i=e[o];if(t[o]!==i){var a=n.reconciler.apply(n,ga([e,t,o],r,!1));a!==i&&((e=n.shallowCopyForMerge(e))[o]=a)}}else(e=n.shallowCopyForMerge(e))[o]=t[o]})),e):t},e.prototype.shallowCopyForMerge=function(e){return gl(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):pa({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}();function qc(e){return"incremental"in e}function Wc(e){return gl(e)&&"payload"in e}function $c(e,t){var n=e,r=new Hc;return qc(t)&&Mc(t.incremental)&&t.incremental.forEach((function(e){for(var t=e.data,o=e.path,i=o.length-1;i>=0;--i){var a=o[i],s=isNaN(+a)?{}:[];s[a]=t,t=s}n=r.merge(n,t)})),n}var Gc=Object.prototype.hasOwnProperty;function Kc(e){var t={};return e.split("\n").forEach((function(e){var n=e.indexOf(":");if(n>-1){var r=e.slice(0,n).trim().toLowerCase(),o=e.slice(n+1).trim();t[r]=o}})),t}function Zc(e,t){e.status>=300&&Lc(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(r){var n=r;throw n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,n}}const Yc=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function Xc(e){return Qc[e.charCodeAt(0)]}const Qc=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],Jc={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>eu(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=nu("(",eu(e.variableDefinitions,", "),")"),n=eu([e.operation,eu([e.name,t]),eu(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+nu(" = ",n)+nu(" ",eu(r," "))},SelectionSet:{leave:({selections:e})=>tu(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:o}){const i=nu("",e,": ")+t;let a=i+nu("(",eu(n,", "),")");return a.length>80&&(a=i+nu("(\n",ru(eu(n,"\n")),"\n)")),eu([a,eu(r," "),o]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+nu(" ",eu(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>eu(["...",nu("on ",e),eu(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:o})=>`fragment ${e}${nu("(",eu(n,", "),")")} on ${t} ${nu("",eu(r," ")," ")}`+o},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?function(e){const t=e.replace(/"""/g,'\\"""'),n=t.split(/\r\n|[\n\r]/g),r=1===n.length,o=n.length>1&&n.slice(1).every((e=>0===e.length||Fa(e.charCodeAt(0)))),i=t.endsWith('\\"""'),a=e.endsWith('"')&&!i,s=e.endsWith("\\"),l=a||s,c=!r||e.length>70||l||o||i;let u="";const d=r&&Fa(e.charCodeAt(0));return(c&&!d||o)&&(u+="\n"),u+=t,(c||l)&&(u+="\n"),'"""'+u+'"""'}(e):`"${e.replace(Yc,Xc)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+eu(e,", ")+"]"}
37,ObjectValue:{leave:({fields:e})=>"{"+eu(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+nu("(",eu(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>nu("",e,"\n")+eu(["schema",eu(t," "),tu(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>nu("",e,"\n")+eu(["scalar",t,eu(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:o})=>nu("",e,"\n")+eu(["type",t,nu("implements ",eu(n," & ")),eu(r," "),tu(o)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:o})=>nu("",e,"\n")+t+(ou(n)?nu("(\n",ru(eu(n,"\n")),"\n)"):nu("(",eu(n,", "),")"))+": "+r+nu(" ",eu(o," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:o})=>nu("",e,"\n")+eu([t+": "+n,nu("= ",r),eu(o," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:o})=>nu("",e,"\n")+eu(["interface",t,nu("implements ",eu(n," & ")),eu(r," "),tu(o)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>nu("",e,"\n")+eu(["union",t,eu(n," "),nu("= ",eu(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>nu("",e,"\n")+eu(["enum",t,eu(n," "),tu(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>nu("",e,"\n")+eu([t,eu(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>nu("",e,"\n")+eu(["input",t,eu(n," "),tu(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:o})=>nu("",e,"\n")+"directive @"+t+(ou(n)?nu("(\n",ru(eu(n,"\n")),"\n)"):nu("(",eu(n,", "),")"))+(r?" repeatable":"")+" on "+eu(o," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>eu(["extend schema",eu(e," "),tu(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>eu(["extend scalar",e,eu(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>eu(["extend type",e,nu("implements ",eu(t," & ")),eu(n," "),tu(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>eu(["extend interface",e,nu("implements ",eu(t," & ")),eu(n," "),tu(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>eu(["extend union",e,eu(t," "),nu("= ",eu(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>eu(["extend enum",e,eu(t," "),tu(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>eu(["extend input",e,eu(t," "),tu(n)]," ")}};function eu(e,t=""){var n;return null!==(n=null==e?void 0:e.filter((e=>e)).join(t))&&void 0!==n?n:""}function tu(e){return nu("{\n",ru(eu(e,"\n")),"\n}")}function nu(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function ru(e){return nu(" ",e.replace(/\n/g,"\n "))}function ou(e){var t;return null!==(t=null==e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}var iu,au=Object.assign((function(e){var t=iu.get(e);return t||(t=function(e){return vc(e,Jc)}(e),iu.set(e,t)),t}),{reset:function(){iu=new jl(Ll.print||2e3)}});au.reset(),!1!==globalThis.__DEV__&&Rl("print",(function(){return iu?iu.size:0}));var su={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},lu=function(e,t){return t(e)};function cu(e){return new ml((function(t){t.error(e)}))}var uu={kind:La.FIELD,name:{kind:La.NAME,value:"__typename"}};function du(e,t){return!e||e.selectionSet.selections.every((function(e){return e.kind===La.FRAGMENT_SPREAD&&du(t[e.name.value],t)}))}function pu(e){return du(ac(e)||function(e){Hs("Document"===e.kind,81),Hs(e.definitions.length<=1,82);var t=e.definitions[0];return Hs("FragmentDefinition"===t.kind,83),t}(e),yl(lc(e)))?null:e}function fu(e){var t=new Map;return function(n){void 0===n&&(n=e);var r=t.get(n);return r||t.set(n,r={variables:new Set,fragmentSpreads:new Set}),r}}function hu(e,t){ic(t);for(var n=fu(""),r=fu(""),o=function(e){for(var t=0,o=void 0;t<e.length&&(o=e[t]);++t)if(!Fc(o)){if(o.kind===La.OPERATION_DEFINITION)return n(o.name&&o.name.value);if(o.kind===La.FRAGMENT_DEFINITION)return r(o.name.value)}return!1!==globalThis.__DEV__&&Hs.error(86),null},i=0,a=t.definitions.length-1;a>=0;--a)t.definitions[a].kind===La.OPERATION_DEFINITION&&++i;
37var s,l,c,u=(s=e,l=new Map,c=new Map,s.forEach((function(e){e&&(e.name?l.set(e.name,e):e.test&&c.set(e.test,e))})),function(e){var t=l.get(e.name.value);return!t&&c.size&&c.forEach((function(n,r){r(e)&&(t=n)})),t}),d=function(e){return Mc(e)&&e.map(u).some((function(e){return e&&e.remove}))},p=new Map,f=!1,h={enter:function(e){if(d(e.directives))return f=!0,null}},m=vc(t,{Field:h,InlineFragment:h,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,n,r,i){var a=o(i);a&&a.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,n,r,i){if(d(e.directives))return f=!0,null;var a=o(i);a&&a.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,n,r){p.set(JSON.stringify(r),e)},leave:function(e,t,n,o){return e===p.get(JSON.stringify(o))?e:i>0&&e.selectionSet.selections.every((function(e){return e.kind===La.FIELD&&"__typename"===e.name.value}))?(r(e.name.value).removed=!0,f=!0,null):void 0}},Directive:{leave:function(e){if(u(e))return f=!0,null}}});if(!f)return t;var g=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach((function(t){g(r(t)).transitiveVars.forEach((function(t){e.transitiveVars.add(t)}))}))),e},v=new Set;m.definitions.forEach((function(e){e.kind===La.OPERATION_DEFINITION?g(n(e.name&&e.name.value)).fragmentSpreads.forEach((function(e){v.add(e)})):e.kind!==La.FRAGMENT_DEFINITION||0!==i||r(e.name.value).removed||v.add(e.name.value)})),v.forEach((function(e){g(r(e)).fragmentSpreads.forEach((function(e){v.add(e)}))}));var y={enter:function(e){if(t=e.name.value,!v.has(t)||r(t).removed)return null;var t}};return pu(vc(m,{FragmentSpread:y,FragmentDefinition:y,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=g(n(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return pa(pa({},e),{variableDefinitions:e.variableDefinitions.filter((function(e){return t.has(e.variable.name.value)}))})}}}}))}var mu=Object.assign((function(e){return vc(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==La.OPERATION_DEFINITION){var r=e.selections;if(r&&!r.some((function(e){return oc(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var o=n;if(!(oc(o)&&o.directives&&o.directives.some((function(e){return"export"===e.name.value}))))return pa(pa({},e),{selections:ga(ga([],r,!0),[uu],!1)})}}}}})}),{added:function(e){return e===uu}});function gu(e){return"query"===uc(e).operation?e:vc(e,{OperationDefinition:{enter:function(e){return pa(pa({},e),{operation:"query"})}}})}function vu(e){return ic(e),hu([{test:function(e){return"client"===e.name.value},remove:!0}],e)}var yu=Fs((function(){return fetch})),bu=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,r=e.fetch,o=e.print,i=void 0===o?lu:o,a=e.includeExtensions,s=e.preserveHeaderCase,l=e.useGETForQueries,c=e.includeUnusedVariables,u=void 0!==c&&c,d=fa(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&function(e){if(!e&&"undefined"==typeof fetch)throw qs(38)}(r||yu);var p={http:{includeExtensions:a,preserveHeaderCase:s},options:d.fetchOptions,credentials:d.credentials,headers:d.headers};return new mc((function(e){var t=function(e,t){return e.getContext().uri||("function"==typeof t?t(e):t||"/graphql")}(e,n),o=e.getContext(),a={};if(o.clientAwareness){var s=o.clientAwareness,c=s.name,d=s.version;c&&(a["apollographql-client-name"]=c),d&&(a["apollographql-client-version"]=d)}var f=pa(pa({},a),o.headers),h={http:o.http,options:o.fetchOptions,credentials:o.credentials,headers:f};if(wc(["client"],e.query)){var m=vu(e.query);if(!m)return cu(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=m}var g,v,y,b,w,x=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o={},i={};n.forEach((function(e){o=pa(pa(pa({},o),e.options),{headers:pa(pa({},o.headers),e.headers)}
37),e.credentials&&(o.credentials=e.credentials),i=pa(pa({},i),e.http)})),o.headers&&(o.headers=function(e,t){if(!t){var n={};return Object.keys(Object(e)).forEach((function(t){n[t.toLowerCase()]=e[t]})),n}var r={};Object.keys(Object(e)).forEach((function(t){r[t.toLowerCase()]={originalName:t,value:e[t]}}));var o={};return Object.keys(r).forEach((function(e){o[r[e].originalName]=r[e].value})),o}(o.headers,i.preserveHeaderCase));var a=e.operationName,s=e.extensions,l=e.variables,c=e.query,u={operationName:a,variables:l};return i.includeExtensions&&(u.extensions=s),i.includeQuery&&(u.query=t(c,au)),{options:o,body:u}}(e,i,su,p,h),k=x.options,C=x.body;C.variables&&!u&&(C.variables=(g=C.variables,v=e.query,y=pa({},g),b=new Set(Object.keys(g)),vc(v,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&b.delete(e.name.value)}}),b.forEach((function(e){delete y[e]})),y)),k.signal||"undefined"==typeof AbortController||(w=new AbortController,k.signal=w.signal);var E=function(e){return"OperationDefinition"===e.kind&&"subscription"===e.operation}(uc(e.query)),S=wc(["defer"],e.query);if(l&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(k.method="GET"),S||E){k.headers=k.headers||{};var O="multipart/mixed;";E&&S&&!1!==globalThis.__DEV__&&Hs.warn(39),E?O+="boundary=graphql;subscriptionSpec=1.0,application/json":S&&(O+="deferSpec=20220824,application/json"),k.headers.accept=O}if("GET"===k.method){var A=function(e,t){var n=[],r=function(e,t){n.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){var o=void 0;try{o=kc(t.variables,"Variables map")}catch(e){return{parseError:e}}r("variables",o)}if(t.extensions){var i=void 0;try{i=kc(t.extensions,"Extensions map")}catch(e){return{parseError:e}}r("extensions",i)}var a="",s=e,l=e.indexOf("#");-1!==l&&(a=e.substr(l),s=e.substr(0,l));var c=-1===s.indexOf("?")?"?":"&";return{newURI:s+c+n.join("&")+a}}(t,C),_=A.newURI,P=A.parseError;if(P)return cu(P);t=_}else try{k.body=kc(C,"Payload")}catch(P){return cu(P)}return new ml((function(n){var o=r||Fs((function(){return fetch}))||yu,i=n.next.bind(n);return o(t,k).then((function(t){var n;e.setContext({response:t});var r,o=null===(n=t.headers)||void 0===n?void 0:n.get("content-type");return null!==o&&/^multipart\/mixed/i.test(o)?function(e,t){return ha(this,void 0,void 0,(function(){var n,r,o,i,a,s,l,c,u,d,p,f,h,m,g,v,y,b,w,x,k,C,E,S;return ma(this,(function(O){switch(O.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");n=new TextDecoder("utf-8"),r=null===(S=e.headers)||void 0===S?void 0:S.get("content-type"),o="boundary=",i=(null==r?void 0:r.includes(o))?null==r?void 0:r.substring((null==r?void 0:r.indexOf(o))+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",a="\r\n--".concat(i),s="",l=Ic(e),c=!0,O.label=1;case 1:return c?[4,l.next()]:[3,3];case 2:for(u=O.sent(),d=u.value,p=u.done,f="string"==typeof d?d:n.decode(d),h=s.length-a.length+1,c=!p,m=(s+=f).indexOf(a,h);m>-1;){if(g=void 0,C=[s.slice(0,m),s.slice(m+a.length)],s=C[1],v=(g=C[0]).indexOf("\r\n\r\n"),y=Kc(g.slice(0,v)),(b=y["content-type"])&&-1===b.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(w=g.slice(v))if(x=Zc(e,w),Object.keys(x).length>1||"data"in x||"incremental"in x||"errors"in x||"payload"in x)if(Wc(x)){if(k={},"payload"in x){if(1===Object.keys(x).length&&null===x.payload)return[2];k=pa({},x.payload)}"errors"in x&&(k=pa(pa({},k),{extensions:pa(pa({},"extensions"in k?k.extensions:null),(E={},E[Nc]=x.errors,E))})),t(k)}else t(x);else if(1===Object.keys(x).length&&"hasNext"in x&&!x.hasNext)return[2];m=s.indexOf(a)}return[3,1];case 3:return[2]}}
37))}))}(t,i):(r=e,function(e){return e.text().then((function(t){return Zc(e,t)})).then((function(t){return Array.isArray(t)||Gc.call(t,"data")||Gc.call(t,"errors")||Lc(e,t,"Server response was missing for query '".concat(Array.isArray(r)?r.map((function(e){return e.operationName})):r.operationName,"'.")),t}))})(t).then(i)})).then((function(){w=void 0,n.complete()})).catch((function(e){w=void 0,function(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}(e,n)})),function(){w&&w.abort()}}))}))},wu=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,bu(t).request)||this;return n.options=t,n}return da(t,e),t}(mc),xu=mc.execute;const{toString:ku,hasOwnProperty:Cu}=Object.prototype,Eu=Function.prototype.toString,Su=new Map;function Ou(e,t){try{return _u(e,t)}finally{Su.clear()}}const Au=Ou;function _u(e,t){if(e===t)return!0;const n=ku.call(e);if(n!==ku.call(t))return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(Iu(e,t))return!0;const n=Pu(e),r=Pu(t),o=n.length;if(o!==r.length)return!1;for(let e=0;e<o;++e)if(!Cu.call(t,n[e]))return!1;for(let r=0;r<o;++r){const o=n[r];if(!_u(e[o],t[o]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!=e)return t!=t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e==`${t}`;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(Iu(e,t))return!0;const r=e.entries(),o="[object Map]"===n;for(;;){const e=r.next();if(e.done)break;const[n,i]=e.value;if(!t.has(n))return!1;if(o&&!_u(i,t.get(n)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{let n=e.byteLength;if(n===t.byteLength)for(;n--&&e[n]===t[n];);return-1===n}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const n=Eu.call(e);return n===Eu.call(t)&&!function(e,t){const n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}(n,Tu)}}return!1}function Pu(e){return Object.keys(e).filter(ju,e)}function ju(e){return void 0!==this[e]}const Tu="{ [native code] }";function Iu(e,t){let n=Su.get(e);if(n){if(n.has(t))return!0}else Su.set(e,n=new Set);return n.add(t),!1}const Lu=()=>Object.create(null),{forEach:Nu,slice:Ru}=Array.prototype,{hasOwnProperty:Du}=Object.prototype;class Fu{constructor(e=!0,t=Lu){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return Nu.call(e,(e=>t=t.getChildTrie(e))),Du.call(t,"data")?t.data:t.data=this.makeData(Ru.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){const r=t.mapFor(e[n],!1);t=r&&r.get(e[n])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){const n=e[0],r=this.mapFor(n,!1),o=r&&r.get(n);o&&(t=o.removeArray(Ru.call(e,1)),o.data||o.weak||o.strong&&o.strong.size||r.delete(n))}else t=this.data,delete this.data;return t}getChildTrie(e){const t=this.mapFor(e,!0);let n=t.get(e);return n||t.set(e,n=new Fu(this.weakness,this.makeData)),n}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}const Mu=()=>Object.create(null),{forEach:Bu,slice:Vu}=Array.prototype,{hasOwnProperty:zu}=Object.prototype;class Uu{constructor(e=!0,t=Mu){this.weakness=e,this.makeData=t}lookup(...e){return this.lookupArray(e)}lookupArray(e){let t=this;return Bu.call(e,(e=>t=t.getChildTrie(e))),zu.call(t,"data")?t.data:t.data=this.makeData(Vu.call(e))}peek(...e){return this.peekArray(e)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){const r=this.weakness&&Hu(e[n])?t.weak:t.strong;t=r&&r.get(e[n])}return t&&t.data}getChildTrie(e){const t=this.weakness&&Hu(e)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map);let n=t.get(e);return n||t.set(e,n=new Uu(this.weakness,this.makeData)),n}}function Hu(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}let qu=null;const Wu={};let $u=1;function Gu(e){try{return e()}catch(e){}}const Ku="@wry/context:Slot",Zu=Gu((()=>
37globalThis))||Gu((()=>global))||Object.create(null),Yu=Zu[Ku]||Array[Ku]||function(e){try{Object.defineProperty(Zu,Ku,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",$u++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=qu;e;e=e.parent)if(this.id in e.slots){const t=e.slots[this.id];if(t===Wu)break;return e!==qu&&(qu.slots[this.id]=t),!0}return qu&&(qu.slots[this.id]=Wu),!1}getValue(){if(this.hasValue())return qu.slots[this.id]}withValue(e,t,n,r){const o={__proto__:null,[this.id]:e},i=qu;qu={parent:i,slots:o};try{return t.apply(r,n)}finally{qu=i}}static bind(e){const t=qu;return function(){const n=qu;try{return qu=t,e.apply(this,arguments)}finally{qu=n}}}static noContext(e,t,n){if(!qu)return e.apply(n,t);{const r=qu;try{return qu=null,e.apply(n,t)}finally{qu=r}}}}),{bind:Xu,noContext:Qu}=Yu,Ju=new Yu,{hasOwnProperty:ed}=Object.prototype,td=Array.from||function(e){const t=[];return e.forEach((e=>t.push(e))),t};function nd(e){const{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}const rd=[],od=100;function id(e,t){if(!e)throw new Error(t||"assertion failure")}function ad(e,t){const n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function sd(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function ld(e){return e.slice(0)}class cd{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++cd.count}peek(){if(1===this.value.length&&!pd(this))return ud(this),this.value[0]}recompute(e){return id(!this.recomputing,"already recomputing"),ud(this),pd(this)?function(e,t){return bd(e),Ju.withValue(e,dd,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{nd(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(e,t)&&function(e){e.dirty=!1,pd(e)||hd(e)}(e),sd(e.value)}(this,e):sd(this.value)}setDirty(){this.dirty||(this.dirty=!0,fd(this),nd(this))}dispose(){this.setDirty(),bd(this),md(this,((e,t)=>{e.setDirty(),wd(e,this)}))}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=rd.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(td(this.deps).forEach((e=>e.delete(this))),this.deps.clear(),rd.push(this.deps),this.deps=null)}}function ud(e){const t=Ju.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),pd(e)?gd(t,e):vd(t,e),t}function dd(e,t){e.recomputing=!0;const{normalizeResult:n}=e;let r;n&&1===e.value.length&&(r=ld(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!ad(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function pd(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function fd(e){md(e,gd)}function hd(e){md(e,vd)}function md(e,t){const n=e.parents.size;if(n){const r=td(e.parents);for(let o=0;o<n;++o)t(r[o],e)}}function gd(e,t){id(e.childValues.has(t)),id(pd(t));const n=!pd(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=rd.pop()||new Set;e.dirtyChildren.add(t),n&&fd(e)}function vd(e,t){id(e.childValues.has(t)),id(!pd(t));const n=e.childValues.get(t);0===n.length?e.childValues.set(t,ld(t.value)):ad(n,t.value)||e.setDirty(),yd(e,t),pd(e)||hd(e)}function yd(e,t){const n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(rd.length<od&&rd.push(n),e.dirtyChildren=null))}function bd(e){e.childValues.size>0&&e.childValues.forEach(((t,n)=>{wd(e,n)})),e.forgetDeps(),id(null===e.dirtyChildren)}function wd(e,t){t.parents.delete(e),e.childValues.delete(t),yd(e,t)}cd.count=0;const xd={setDirty:!0,dispose:!0,forget:!0};function kd(e){const t=new Map,n=e&&e.subscribe;function r(e){const r=Ju.getValue();if(r){let o=t.get(e);o||t.set(e,o=new Set),r.dependOn(o),"function"==typeof n&&(nd(o),o.unsubscribe=n(e))}}return r.dirty=function(e,n){const r=t.get(e);if(r){const o=n&&ed.call(xd,n)?n:"setDirty";td(r).forEach((e=>e[o]())),t.delete(e),nd(r)}},r}let Cd;function Ed(...e){return(Cd||(Cd=new Uu("function"==typeof WeakMap))).lookupArray(e)}const Sd=new Set;function Od(e,{max:t=Math.pow(2,16),keyArgs:n,makeCacheKey:r=Ed,normalizeResult:o,subscribe:i,cache:a=Al}=Object.create(null)){const s="function"==typeof a?new a(t,(e=>e.dispose())):a,l=function(){const t=r.apply(null,n?n.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let a=s.get(t);a||(s.set(t,a=new cd(e)),a.normalizeResult=o,a.subscribe=i,a.forget=()=>s.delete(t));const l=a.recompute(Array.prototype.slice.call(arguments));
37return s.set(t,a),Sd.add(s),Ju.hasValue()||(Sd.forEach((e=>e.clean())),Sd.clear()),l};function c(e){const t=e&&s.get(e);t&&t.setDirty()}function u(e){const t=e&&s.get(e);if(t)return t.peek()}function d(e){return!!e&&s.delete(e)}return Object.defineProperty(l,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(l.options={max:t,keyArgs:n,makeCacheKey:r,normalizeResult:o,subscribe:i,cache:s}),l.dirtyKey=c,l.dirty=function(){c(r.apply(null,arguments))},l.peekKey=u,l.peek=function(){return u(r.apply(null,arguments))},l.forgetKey=d,l.forget=function(){return d(r.apply(null,arguments))},l.makeCacheKey=r,l.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(l)}function Ad(e){return e}var _d=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=Sc?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(Ad,{cache:!1})},e.split=function(t,n,r){return void 0===r&&(r=e.identity()),Object.assign(new e((function(e){return(t(e)?n:r).transformDocument(e)}),{cache:!1}),{left:n,right:r})},e.prototype.resetCache=function(){var t=this;if(this.cached){var n=new Fu(Ec);this.performWork=Od(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var r=t.getCacheKey(e);if(r)return Hs(Array.isArray(r),69),n.lookupArray(r)},max:Ll["documentTransform.cache"],cache:Sl})}},e.prototype.performWork=function(e){return ic(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var n=this;return Object.assign(new e((function(e){return t.transformDocument(n.transformDocument(e))}),{cache:!1}),{left:this,right:t})},e}();function Pd(e,t,n){return new ml((function(r){var o={then:function(e){return new Promise((function(t){return t(e())}))}};function i(e,t){return function(n){if(e){var i=function(){return r.closed?0:e(n)};o=o.then(i,i).then((function(e){return r.next(e)}),(function(e){return r.error(e)}))}else r[t](n)}}var a={next:i(t,"next"),error:i(n,"error"),complete:function(){o.then((function(){return r.complete()}))}},s=e.subscribe(a);return function(){return s.unsubscribe()}}))}function jd(e){return Mc(Td(e))}function Td(e){var t=Mc(e.errors)?e.errors.slice(0):[];return qc(e)&&Mc(e.incremental)&&e.incremental.forEach((function(e){e.errors&&t.push.apply(t,e.errors)})),t}function Id(e,t,n){var r=[];e.forEach((function(e){return e[t]&&r.push(e)})),r.forEach((function(e){return e[t](n)}))}function Ld(e){function t(t){Object.defineProperty(e,t,{value:ml})}return Oc&&Symbol.species&&t(Symbol.species),t("@@species"),e}function Nd(e){return e&&"function"==typeof e.then}var Rd,Dd=function(e){function t(t){var n=e.call(this,(function(e){return n.addObserver(e),function(){return n.removeObserver(e)}}))||this;return n.observers=new Set,n.promise=new Promise((function(e,t){n.resolve=e,n.reject=t})),n.handlers={next:function(e){null!==n.sub&&(n.latest=["next",e],n.notify("next",e),Id(n.observers,"next",e))},error:function(e){var t=n.sub;null!==t&&(t&&setTimeout((function(){return t.unsubscribe()})),n.sub=null,n.latest=["error",e],n.reject(e),n.notify("error",e),Id(n.observers,"error",e))},complete:function(){var e=n,t=e.sub,r=e.sources;if(null!==t){var o=(void 0===r?[]:r).shift();o?Nd(o)?o.then((function(e){return n.sub=e.subscribe(n.handlers)}),n.handlers.error):n.sub=o.subscribe(n.handlers):(t&&setTimeout((function(){return t.unsubscribe()})),n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),n.notify("complete"),Id(n.observers,"complete"))}}},n.nextResultListeners=new Set,n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.error(e)},n.promise.catch((function(e){})),"function"==typeof t&&(t=[new ml(t)]),Nd(t)?t.then((function(e){return n.start(e)}),n.handlers.error):n.start(t),n}return da(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],n=e[t];n&&n.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var n=this.nextResultListeners;
37n.size&&(this.nextResultListeners=new Set,n.forEach((function(n){return n(e,t)})))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add((function(n,r){t||(t=!0,e(n,r))}))},t}(ml);function Fd(e){return!!e&&e<7}function Md(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach((function(e){e&&Object.keys(e).forEach((function(t){var r=e[t];void 0!==r&&(n[t]=r)}))})),n}Ld(Dd),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(Rd||(Rd={}));var Bd=Object.prototype.toString;function Vd(e){return zd(e)}function zd(e,t){switch(Bd.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var n=e.slice(0);return t.set(e,n),n.forEach((function(e,r){n[r]=zd(e,t)})),n;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var r=Object.create(Object.getPrototypeOf(e));return t.set(e,r),Object.keys(e).forEach((function(n){r[n]=zd(e[n],t)})),r;default:return e}}function Ud(e,t,n,r){var o=t.data,i=fa(t,["data"]),a=n.data,s=fa(n,["data"]);return Au(i,s)&&Hd(uc(e).selectionSet,o,a,{fragmentMap:yl(lc(e)),variables:r})}function Hd(e,t,n,r){if(t===n)return!0;var o=new Set;return e.selections.every((function(e){if(o.has(e))return!0;if(o.add(e),!bc(e,r.variables))return!0;if(qd(e))return!0;if(oc(e)){var i=nc(e),a=t&&t[i],s=n&&n[i],l=e.selectionSet;if(!l)return Au(a,s);var c=Array.isArray(a),u=Array.isArray(s);if(c!==u)return!1;if(c&&u){var d=a.length;if(s.length!==d)return!1;for(var p=0;p<d;++p)if(!Hd(l,a[p],s[p],r))return!1;return!0}return Hd(l,a,s,r)}var f=bl(e,r.fragmentMap);return f?!!qd(f)||Hd(f.selectionSet,t,n,r):void 0}))}function qd(e){return!!e.directives&&e.directives.some(Wd)}function Wd(e){return"nonreactive"===e.name.value}var $d=Object.assign,Gd=Object.hasOwnProperty,Kd=function(e){function t(t){var n=t.queryManager,r=t.queryInfo,o=t.options,i=e.call(this,(function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=Yd)}catch(e){}var n=!i.observers.size;i.observers.add(e);var r=i.last;return r&&r.error?e.error&&e.error(r.error):r&&r.result&&e.next&&e.next(r.result),n&&i.reobserve().catch((function(){})),function(){i.observers.delete(e)&&!i.observers.size&&i.tearDownQuery()}}))||this;i.observers=new Set,i.subscriptions=new Set,i.queryInfo=r,i.queryManager=n,i.waitForOwnResult=Qd(o.fetchPolicy),i.isTornDown=!1,i.subscribeToMore=i.subscribeToMore.bind(i);var a=n.defaultOptions.watchQuery,s=(void 0===a?{}:a).fetchPolicy,l=void 0===s?"cache-first":s,c=o.fetchPolicy,u=void 0===c?l:c,d=o.initialFetchPolicy,p=void 0===d?"standby"===u?l:u:d;i.options=pa(pa({},o),{initialFetchPolicy:p,fetchPolicy:u}),i.queryId=r.queryId||n.generateQueryId();var f=ac(i.query);return i.queryName=f&&f.name&&f.name.value,i}return da(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){o.unsubscribe()}),0)},error:n},o=e.subscribe(r)}))},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),n=this.queryInfo.networkStatus||t&&t.networkStatus||Rd.ready,r=pa(pa({},t),{loading:Fd(n),networkStatus:n}),o=this.options.fetchPolicy,i=void 0===o?"cache-first":o;if(Qd(i)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var a=this.queryInfo.getDiff();(a.complete||this.options.returnPartialData)&&(r.data=a.result),Ou(r.data,{})&&(r.data=void 0),a.complete?(delete r.partial,!a.complete||r.networkStatus!==Rd.loading||"cache-first"!==i&&"cache-only"!==i||(r.networkStatus=Rd.ready,r.loading=!1)):r.partial=!0,!1===globalThis.__DEV__||a.complete||this.options.partialRefetch||r.loading||r.data||r.error||Xd(a.missing)}return e&&this.updateLastResult(r),r},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||(this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!Ud(this.query,this.last.result,e,this.variables):!Ou(this.last.result,e))||t&&!Ou(this.last.variables,t)},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||Ou(n.variables,this.variables)))return n[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,n={pollInterval:0},r=this.options.fetchPolicy;if(n.fetchPolicy="cache-and-network"===r?r:"no-cache"===r?"no-cache":"network-only",!1!==globalThis.__DEV__&&e&&Gd.call(e,"variables")){var o=cc(this.query),i=o.variableDefinitions;i&&i.some((function(e){return"variables"===e.variable.name.value}))||!1!==globalThis.__DEV__&&Hs.warn(20,e,(null===(t=o.name)||void 0===t?void 0:t.value)||o)}return e&&!Ou(this.options.variables,e)&&(n.variables=this.options.variables=pa(
37pa({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,Rd.refetch)},t.prototype.fetchMore=function(e){var t=this,n=pa(pa({},e.query?e:pa(pa(pa(pa({},this.options),{query:this.options.query}),e),{variables:pa(pa({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});n.query=this.transformDocument(n.query);var r=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):n.query;var o=this.queryInfo,i=o.networkStatus;o.networkStatus=Rd.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var a=new Set,s=null==e?void 0:e.updateQuery,l="no-cache"!==this.options.fetchPolicy;return l||Hs(s,21),this.queryManager.fetchQuery(r,n,Rd.fetchMore).then((function(c){if(t.queryManager.removeQuery(r),o.networkStatus===Rd.fetchMore&&(o.networkStatus=i),l)t.queryManager.cache.batch({update:function(r){var o=e.updateQuery;o?r.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},(function(e){return o(e,{fetchMoreResult:c.data,variables:n.variables})})):r.writeQuery({query:n.query,variables:n.variables,data:c.data})},onWatchUpdated:function(e){a.add(e.query)}});else{var u=t.getLast("result"),d=s(u.data,{fetchMoreResult:c.data,variables:n.variables});t.reportResult(pa(pa({},u),{data:d}),t.variables)}return c})).finally((function(){l&&!a.has(t.query)&&Zd(t)}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var r=e.updateQuery;r&&t.updateQuery((function(e,t){var o=t.variables;return r(e,{subscriptionData:n,variables:o})}))},error:function(t){e.onError?e.onError(t):!1!==globalThis.__DEV__&&Hs.error(22,t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=Md(this.options,e||{});$d(this.options,t)},t.prototype.setVariables=function(e){return Ou(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},Rd.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,n=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});n&&(t.cache.writeQuery({query:this.options.query,data:n,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var n=t.fetchPolicy,r=void 0===n?"cache-first":n,o=t.initialFetchPolicy,i=void 0===o?r:o;"standby"===r||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(r,{reason:e,options:t,observable:this,initialFetchPolicy:i}):t.fetchPolicy="variables-changed"===e?i:t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,n){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,n)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,n=this.options.pollInterval;if(n&&this.hasObservers()){if(!t||t.interval!==n){Hs(n,23),(t||(this.pollingInfo={})).interval=n;var r=function(){var t,n;e.pollingInfo&&(Fd(e.queryInfo.networkStatus)||(null===(n=(t=e.options).skipPollAttempt)||void 0===n?void 0:n.call(t))?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},Rd.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(r,t.interval))};o()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var n=this.getLastError();return n&&this.last&&!Ou(t,this.last.variables)&&(n=void 0),this.last=pa({result:this.queryManager.assumeImmutableResults?e:Vd(e),variables:t},n?{error:n}:null)},t.prototype.reobserveAsConcast=function(e,t){var n=this;this.isTornDown=!1;var r=t===Rd.refetch||t===Rd.fetchMore||t===Rd.poll,o=this.options.variables,i=this.options.fetchPolicy,a=Md(this.options,e||{}),s=r?a:$d(this.options,a),l=this.transformDocument(s.query);this.lastQuery=l,r||(this.updatePolling(),!e||!e.variables||Ou(e.variables,o)||"standby"===s.fetchPolicy||s.fetchPolicy!==i&&"function"!=typeof s.nextFetchPolicy||(this.applyNextFetchPolicy("variables-changed",s),void 0===t&&(t=Rd.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=Qd(s.fetchPolicy));var c=function(){n.concast===p&&(n.waitForOwnResult=!1)},u=s.variables&&pa({},s.variables),d=this.fetch(s,t,l),p=d.concast,f=d.fromLink,h={next:function(e){Ou(n.variables,u)&&(c(),n.reportResult(e,u))},error:function(e){Ou(n.variables,u)&&(Rc(e)||(e=new Dc({networkError:e})),c(),n.reportError(e,u))}};return r||!f&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=p,this.observer=h),p.addObserver(h),p},t.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.last;this.resetLastResults();var r=this.subscribe.apply(this,e);return this.last=n,r},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var n=this.getLastError(),r=this.isDifferentFromLastResult(e,t);(n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(n||r)&&Id(this.observers,"next",e)},t.prototype.reportError=function(e,t){var n=pa(pa({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:Rd.error,loading:!1});this.updateLastResult(n,t),Id(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t}(ml);function Zd(e){var t=e.options,n=t.fetchPolicy,r=t.nextFetchPolicy;return"cache-and-network"===n||"network-only"===n?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,t){return this.nextFetchPolicy=r,"function"==typeof this.nextFetchPolicy?this.nextFetchPolicy(e,t):n}}):e.reobserve()}function Yd(e){!1!==globalThis.__DEV__&&Hs.error(24,e.message,e.stack)}function Xd(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&Hs.debug(25,e)}function Qd(e){return"network-only"===e||"no-cache"===e||"standby"===e}Ld(Kd);var Jd=new(Ec?WeakMap:Map);function ep(e,t){var n=e[t];"function"==typeof n&&(e[t]=function(){return Jd.set(e,(Jd.get(e)+1)%1e15),n.apply(this,arguments)})}function tp(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var np=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var n=this.cache=e.cache;Jd.has(n)||(Jd.set(n,0),ep(n,"evict"),ep(n,"modify"),ep(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||Rd.loading;return this.variables&&this.networkStatus!==Rd.loading&&!Ou(this.variables,e.variables)&&(t=Rd.setVariables),Ou(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){tp(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&Ou(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var n=this.cache.diff(e);return this.updateLastDiff(n,e),n},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,n=this,r=this.lastDiff&&this.lastDiff.diff;e&&!e.complete&&(null===(t=this.observableQuery)||void 0===t?void 0:t.getLastError())||(this.updateLastDiff(e),this.dirty||Ou(r&&r.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return n.notify()}),0))))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():Zd(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
37tp(this),this.shouldNotify()&&this.listeners.forEach((function(t){return t(e)})),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(Fd(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var n=this.observableQuery;if(!n||"no-cache"!==n.options.fetchPolicy){var r=pa(pa({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&Ou(r,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=r))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===Jd.get(this.cache)&&Ou(t,n.variables)&&Ou(e.data,n.result.data))},e.prototype.markResult=function(e,t,n,r){var o=this,i=new Hc,a=Mc(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&Mc(e.incremental)){var s=$c(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var l=this.getDiff();e.data=i.merge(l.result,e.data)}this.graphQLErrors=a,"no-cache"===n.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):0!==r&&(rp(e,n.errorPolicy)?this.cache.performTransaction((function(i){if(o.shouldWrite(e,n.variables))i.writeQuery({query:t,data:e.data,variables:n.variables,overwrite:1===r}),o.lastWrite={result:e,variables:n.variables,dmCount:Jd.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete)return void(e.data=o.lastDiff.diff.result);var a=o.getDiffOptions(n.variables),s=i.diff(a);!o.stopped&&Ou(o.variables,n.variables)&&o.updateWatch(n.variables),o.updateLastDiff(s,a),s.complete&&(e.data=s.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Rd.ready},e.prototype.markError=function(e){return this.networkStatus=Rd.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function rp(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,r=!jd(e);return!r&&n&&e.data&&(r=!0),r}var op=Object.prototype.hasOwnProperty,ip=Object.create(null),ap=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new jl(Ll["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Fu(!1);var n=new _d((function(e){return t.cache.transformDocument(e)}),{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults;var r=e.documentTransform;this.documentTransform=r?n.concat(r).concat(n):n,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,n){e.stopQueryNoBroadcast(n)})),this.cancelPendingFetches(qs(26))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return ha(this,arguments,void 0,(function(e){var t,n,r,o,i,a,s,l=e.mutation,c=e.variables,u=e.optimisticResponse,d=e.updateQueries,p=e.refetchQueries,f=void 0===p?[]:p,h=e.awaitRefetchQueries,m=void 0!==h&&h,g=e.update,v=e.onQueryUpdated,y=e.fetchPolicy,b=void 0===y?(null===(a=this.defaultOptions.mutate)||void 0===a?void 0:a.fetchPolicy)||"network-only":y,w=e.errorPolicy,x=void 0===w?(null===(s=this.defaultOptions.mutate)||void 0===s?void 0:s.errorPolicy)||"none":w,k=e.keepRootFields,C=e.context;return ma(this,(function(e){switch(e.label){case 0:return Hs(l,27),Hs("network-only"===b||"no-cache"===b,28),t=this.generateMutationId(),l=this.cache.transformForLink(this.transform(l)),n=this.getDocumentInfo(l).hasClientExports,c=this.getVariables(l,c),n?[4,this.localState.addExportedVariables(l,c,C)]:[3,2];case 1:c=e.sent(),e.label=2;case 2:return r=this.mutationStore&&(this.mutationStore[t]={mutation:l,variables:c,loading:!0,error:null}),o=u&&this.markMutationOptimistic(u,{mutationId:t,document:l,variables:c,fetchPolicy:b,errorPolicy:x,context:C,updateQueries:d,update:g,keepRootFields:k}),this.broadcastQueries(),i=this,[2,new Promise((function(e,n){return Pd(i.getObservableFromLink(l,pa(pa({},C),{optimisticResponse:o?u:void 0}),c,{},!1),(function(e){if(jd(e)&&"none"===x)throw new Dc({graphQLErrors:Td(e)});r&&(r.loading=!1,r.error=null);var n=pa({},e);return"function"==typeof f&&(f=f(n)),"ignore"===x&&jd(n)&&delete n.errors,i.markMutationResult({mutationId:t,result:n,document:l,variables:c,fetchPolicy:b,errorPolicy:x,context:C,update:g,updateQueries:d,awaitRefetchQueries:m,refetchQueries:f,removeOptimistic:o?t:void 0,onQueryUpdated:v,keepRootFields:k})})).subscribe({next:function(t){i.broadcastQueries(),"hasNext"in t&&!1!==t.hasNext||e(t)},error:function(e){r&&(r.loading=!1,r.error=e),o&&i.cache.removeOptimistic(t),i.broadcastQueries(),n(e instanceof Dc?e:new Dc({networkError:e}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var r=e.result,o=[],i="no-cache"===e.fetchPolicy;if(!i&&rp(r,e.errorPolicy)){if(qc(r)||o.push({result:r.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),qc(r)&&Mc(r.incremental)){var a=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
37),s=void 0;a.result&&(s=$c(a.result,r)),void 0!==s&&(r.data=s,o.push({result:s,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var l=e.updateQueries;l&&this.queries.forEach((function(e,i){var a=e.observableQuery,s=a&&a.queryName;if(s&&op.call(l,s)){var c=l[s],u=n.queries.get(i),d=u.document,p=u.variables,f=t.diff({query:d,variables:p,returnPartialData:!0,optimistic:!1}),h=f.result;if(f.complete&&h){var m=c(h,{mutationResult:r,queryName:d&&sc(d)||void 0,queryVariables:p});m&&o.push({result:m,dataId:"ROOT_QUERY",query:d,variables:p})}}}))}if(o.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var c=[];if(this.refetchQueries({updateCache:function(t){i||o.forEach((function(e){return t.write(e)}));var a,s=e.update,l=!(qc(a=r)||function(e){return"hasNext"in e&&"data"in e}(a))||qc(r)&&!r.hasNext;if(s){if(!i){var c=t.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});c.complete&&("incremental"in(r=pa(pa({},r),{data:c.result}))&&delete r.incremental,"hasNext"in r&&delete r.hasNext)}l&&s(t,r,{context:e.context,variables:e.variables})}i||e.keepRootFields||!l||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var n=t.fieldName,r=t.DELETE;return"__typename"===n?e:r}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach((function(e){return c.push(e)})),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(c).then((function(){return r}))}return Promise.resolve(r)},e.prototype.markMutationOptimistic=function(e,t){var n=this,r="function"==typeof e?e(t.variables,{IGNORE:ip}):e;return r!==ip&&(this.cache.recordOptimisticTransaction((function(e){try{n.markMutationResult(pa(pa({},t),{result:{data:r}}),e)}catch(e){!1!==globalThis.__DEV__&&Hs.error(e)}}),t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,n){return this.fetchConcastWithInfo(e,t,n).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,n){e[n]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var n={hasClientExports:xc(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:wc(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:hu([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:dc(ac(e)),asQuery:pa(pa({},e),{definitions:e.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?pa(pa({},e),{operation:"query"}):e}))})};t.set(e,n)}return t.get(e)},e.prototype.getVariables=function(e,t){return pa(pa({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=pa(pa({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=new np(this),r=new Kd({queryManager:this,queryInfo:n,options:e});return r.lastQuery=t,this.queries.set(r.queryId,n),n.init({document:t,observableQuery:r,variables:r.variables}),r},e.prototype.query=function(e,t){var n=this;return void 0===t&&(t=this.generateQueryId()),Hs(e.query,29),Hs("Document"===e.query.kind,30),Hs(!e.returnPartialData,31),Hs(!e.pollInterval,32),this.fetchQuery(t,pa(pa({},e),{query:this.transform(e.query)})).finally((function(){return n.stopQuery(t)}))},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}
37),this.cancelPendingFetches(qs(33)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=Rd.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var n=new Map,r=new Map,o=new Set;return Array.isArray(e)&&e.forEach((function(e){var n;"string"==typeof e?r.set(e,!1):gl(n=e)&&"Document"===n.kind&&Array.isArray(n.definitions)?r.set(t.transform(e),!1):gl(e)&&e.query&&o.add(e)})),this.queries.forEach((function(t,o){var i=t.observableQuery,a=t.document;if(i){if("all"===e)return void n.set(o,i);var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&r.has(s)||a&&r.has(a))&&(n.set(o,i),s&&r.set(s,!0),a&&r.set(a,!0))}})),o.size&&o.forEach((function(e){var r=Vs("legacyOneTimeQuery"),o=t.getQuery(r).init({document:e.query,variables:e.variables}),i=new Kd({queryManager:t,queryInfo:o,options:pa(pa({},e),{fetchPolicy:"network-only"})});Hs(i.queryId===r),o.setObservableQuery(i),n.set(r,i)})),!1!==globalThis.__DEV__&&r.size&&r.forEach((function(e,t){e||!1!==globalThis.__DEV__&&Hs.warn("string"==typeof t?34:35,t)})),n},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.getObservableQueries(e?"all":"active").forEach((function(r,o){var i=r.options.fetchPolicy;r.resetLastResults(),(e||"standby"!==i&&"cache-only"!==i)&&n.push(r.refetch()),t.getQuery(o).setDiff(null)})),this.broadcastQueries(),Promise.all(n)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.fetchPolicy,o=e.errorPolicy,i=void 0===o?"none":o,a=e.variables,s=e.context,l=void 0===s?{}:s,c=e.extensions,u=void 0===c?{}:c;n=this.transform(n),a=this.getVariables(n,a);var d=function(e){return t.getObservableFromLink(n,l,e,u).map((function(o){"no-cache"!==r&&(rp(o,i)&&t.cache.write({query:n,result:o.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=jd(o),s=function(e){return!!e.extensions&&Array.isArray(e.extensions[Nc])}(o);if(a||s){var l={};if(a&&(l.graphQLErrors=o.errors),s&&(l.protocolErrors=o.extensions[Nc]),"none"===i||s)throw new Dc(l)}return"ignore"===i&&delete o.errors,o}))};if(this.getDocumentInfo(n).hasClientExports){var p=this.localState.addExportedVariables(n,a,l).then(d);return new ml((function(e){var t=null;return p.then((function(n){return t=n.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return d(a)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,r,o){var i,a,s=this;void 0===o&&(o=null!==(i=null==t?void 0:t.queryDeduplication)&&void 0!==i?i:this.queryDeduplication);var l=this.getDocumentInfo(e),c=l.serverQuery,u=l.clientQuery;if(c){var d=this.inFlightLinkObservables,p=this.link,f={query:c,variables:n,operationName:sc(c)||void 0,context:this.prepareContext(pa(pa({},t),{forceFetch:!o})),extensions:r};if(t=f.context,o){var h=au(c),m=$l(n),g=d.lookup(h,m);if(!(a=g.observable)){var v=new Dd([xu(p,f)]);a=g.observable=v,v.beforeNext((function(){d.remove(h,m)}))}}else a=new Dd([xu(p,f)])}else a=new Dd([ml.of({data:{}})]),t=this.prepareContext(t);return u&&(a=Pd(a,(function(e){return s.localState.runResolvers({document:u,remoteResult:e,context:t,variables:n})}))),a},e.prototype.getResultsFromLink=function(e,t,n){var r=e.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(n.query);return Pd(this.getObservableFromLink(o,n.context,n.variables),(function(i){var a=Td(i),s=a.length>0,l=n.errorPolicy;if(r>
37=e.lastRequestId){if(s&&"none"===l)throw e.markError(new Dc({graphQLErrors:a}));e.markResult(i,o,n,t),e.markReady()}var c={data:i.data,loading:!1,networkStatus:Rd.ready};return s&&"none"===l&&(c.data=void 0),s&&"ignore"!==l&&(c.errors=a,c.networkStatus=Rd.error),c}),(function(t){var n=Rc(t)?t:new Dc({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n}))},e.prototype.fetchConcastWithInfo=function(e,t,n,r){var o=this;void 0===n&&(n=Rd.loading),void 0===r&&(r=t.query);var i,a,s=this.getVariables(r,t.variables),l=this.getQuery(e),c=this.defaultOptions.watchQuery,u=t.fetchPolicy,d=void 0===u?c&&c.fetchPolicy||"cache-first":u,p=t.errorPolicy,f=void 0===p?c&&c.errorPolicy||"none":p,h=t.returnPartialData,m=void 0!==h&&h,g=t.notifyOnNetworkStatusChange,v=void 0!==g&&g,y=t.context,b=void 0===y?{}:y,w=Object.assign({},t,{query:r,variables:s,fetchPolicy:d,errorPolicy:f,returnPartialData:m,notifyOnNetworkStatusChange:v,context:b}),x=function(e){w.variables=e;var r=o.fetchQueryByPolicy(l,w,n);return"standby"!==w.fetchPolicy&&r.sources.length>0&&l.observableQuery&&l.observableQuery.applyNextFetchPolicy("after-fetch",t),r},k=function(){return o.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,(function(e){k(),setTimeout((function(){return i.cancel(e)}))})),this.getDocumentInfo(w.query).hasClientExports)i=new Dd(this.localState.addExportedVariables(w.query,w.variables,w.context).then(x).then((function(e){return e.sources}))),a=!0;else{var C=x(w.variables);a=C.fromLink,i=new Dd(C.sources)}return i.promise.then(k,k),{concast:i,fromLink:a}},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,r=e.include,o=e.optimistic,i=void 0!==o&&o,a=e.removeOptimistic,s=void 0===a?i?Vs("refetchQueries"):void 0:a,l=e.onQueryUpdated,c=new Map;r&&this.getObservableQueries(r).forEach((function(e,n){c.set(n,{oq:e,lastDiff:t.getQuery(n).getDiff()})}));var u=new Map;return n&&this.cache.batch({update:n,optimistic:i&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,n){var r=e.watcher instanceof np&&e.watcher.observableQuery;if(r){if(l){c.delete(r.queryId);var o=l(r,t,n);return!0===o&&(o=r.refetch()),!1!==o&&u.set(r,o),o}null!==l&&c.set(r.queryId,{oq:r,lastDiff:n,diff:t})}}}),c.size&&c.forEach((function(e,n){var r,o=e.oq,i=e.lastDiff,a=e.diff;if(l){if(!a){var s=o.queryInfo;s.reset(),a=s.getDiff()}r=l(o,a,i)}l&&!0!==r||(r=o.refetch()),!1!==r&&u.set(o,r),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)})),s&&this.cache.removeOptimistic(s),u},e.prototype.fetchQueryByPolicy=function(e,t,n){var r=this,o=t.query,i=t.variables,a=t.fetchPolicy,s=t.refetchWritePolicy,l=t.errorPolicy,c=t.returnPartialData,u=t.context,d=t.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:o,variables:i,networkStatus:n});var f=function(){return e.getDiff()},h=function(t,n){void 0===n&&(n=e.networkStatus||Rd.loading);var a=t.result;!1===globalThis.__DEV__||c||Ou(a,{})||Xd(t.missing);var s=function(e){return ml.of(pa({data:e,loading:Fd(n),networkStatus:n},t.complete?null:{partial:!0}))};return a&&r.getDocumentInfo(o).hasForcedResolvers?r.localState.runResolvers({document:o,remoteResult:{data:a},context:u,variables:i,onlyRunForcedResolvers:!0}).then((function(e){return s(e.data||void 0)})):"none"===l&&n===Rd.refetch&&Array.isArray(t.missing)?s(void 0):s(a)},m="no-cache"===a?0:n===Rd.refetch&&"merge"!==s?1:2,g=function(){return r.getResultsFromLink(e,m,{query:o,variables:i,context:u,fetchPolicy:a,errorPolicy:l})},v=d&&"number"==typeof p&&p!==n&&Fd(n);switch(a){default:case"cache-first":return(y=f()).complete?{fromLink:!1,sources:[h(y,e.markReady())]}:c||v?{fromLink:!0,sources:[h(y),g()]}:{fromLink:!0,sources:[g()]};case"cache-and-network":var y;return(y=f()).complete||c||v?{fromLink:!0,sources:[h(y),g()]}:{fromLink:!0,sources:[g()]};case"cache-only":return{fromLink:!1,sources:[h(f(),e.markReady())]};case"network-only":return v?{fromLink:!0,sources:[h(f()),g()]}:{fromLink:!0,sources:[g()]};case"no-cache":return v?{fromLink:!0,sources:[h(e.getDiff()),g()]}:{fromLink:!0,sources:[g()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new np(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return pa(pa(pa({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}();function sp(e){return e.kind===La.FIELD||e.kind===La.FRAGMENT_SPREAD||e.kind===La.INLINE_FRAGMENT}var lp=new Yu,cp=new WeakMap;function up(e){var t=cp.get(e);return t||cp.set(e,t={vars:new Set,dep:kd()}),t}
37function dp(e){up(e).vars.forEach((function(t){return t.forgetCache(e)}))}function pp(e){var t=new Set,n=new Set,r=function(i){if(arguments.length>0){if(e!==i){e=i,t.forEach((function(e){up(e).dep.dirty(r),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)}));var a=Array.from(n);n.clear(),a.forEach((function(t){return t(e)}))}}else{var s=lp.getValue();s&&(o(s),up(s).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var o=r.attachCache=function(e){return t.add(e),up(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}var fp=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,o=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),o&&this.setFragmentMatcher(o)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=Vc(t.resolvers,e)})):this.resolvers=Vc(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return ha(this,arguments,void 0,(function(e){var t=e.document,n=e.remoteResult,r=e.context,o=e.variables,i=e.onlyRunForcedResolvers,a=void 0!==i&&i;return ma(this,(function(e){return t?[2,this.resolveDocument(t,n.data,r,o,this.fragmentMatcher,a).then((function(e){return pa(pa({},n),{data:e.result})}))]:[2,n]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return wc(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return vu(e)},e.prototype.prepareContext=function(e){var t=this.cache;return pa(pa({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return ha(this,arguments,void 0,(function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),ma(this,(function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(e){return pa(pa({},t),e.exportedVariables)}))]:[2,pa({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return vc(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return gc}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:gu(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return ha(this,arguments,void 0,(function(e,t,n,r,o,i){var a,s,l,c,u,d,p,f,h,m;return void 0===n&&(n={}),void 0===r&&(r={}),void 0===o&&(o=function(){return!0}),void 0===i&&(i=!1),ma(this,(function(g){return a=uc(e),s=lc(e),l=yl(s),c=this.collectSelectionsToResolve(a,l),u=a.operation,d=u?u.charAt(0).toUpperCase()+u.slice(1):"Query",f=(p=this).cache,h=p.client,m={fragmentMap:l,context:pa(pa({},n),{cache:f,client:h}),variables:r,fragmentMatcher:o,defaultOperationType:d,exportedVariables:{},selectionsToResolve:c,onlyRunForcedResolvers:i},[2,this.resolveSelectionSet(a.selectionSet,!1,t,m).then((function(e){return{result:e,exportedVariables:m.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,n,r){return ha(this,void 0,void 0,(function(){var o,i,a,s,l,c=this;return ma(this,(function(u){return o=r.fragmentMap,i=r.context,a=r.variables,s=[n],l=function(e){return ha(c,void 0,void 0,(function(){var l,c;return ma(this,(function(u){return(t||r.selectionsToResolve.has(e))&&bc(e,a)?oc(e)?[2,this.resolveField(e,t,n,r).then((function(t){var n;void 0!==t&&s.push(((n={})[nc(e)]=t,n))}))]:(function(e){return"InlineFragment"===e.kind}(e)?l=e:(l=o[e.name.value],Hs(l,18,e.name.value)),l&&l.typeCondition&&(c=l.typeCondition.name.value,r.fragmentMatcher(n,c,i))?[2,this.resolveSelectionSet(l.selectionSet,t,n,r).then((function(e){s.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(l)).then((function(){return zc(s)}))]}))}))},e.prototype.resolveField=function(e,t,n,r){return ha(this,void 0,void 0,(function(){var o,i,a,s,l,c,u,d,p,f=this;return ma(this,(function(h){return n?(o=r.variables,i=e.name.value,a=nc(e),s=i!==a,l=n[a]||n[i],c=Promise.resolve(l),r.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(u=n.__typename||r.defaultOperationType,(d=this.resolvers&&this.resolvers[u])&&(p=d[s?i:a])&&(c=Promise.resolve(lp.withValue(this.cache,p,[n,tc(e,o),r.context,{field:e,fragmentMap:r.fragmentMap}])))),[2,c.then((function(n){var o,i;
37if(void 0===n&&(n=l),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(r.exportedVariables[e.value.value]=n)}))})),!e.selectionSet)return n;if(null==n)return n;var a=null!==(i=null===(o=e.directives)||void 0===o?void 0:o.some((function(e){return"client"===e.name.value})))&&void 0!==i&&i;return Array.isArray(n)?f.resolveSubSelectedArray(e,t||a,n,r):e.selectionSet?f.resolveSelectionSet(e.selectionSet,t||a,n,r):void 0}))]):[2,null]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,n,r){var o=this;return Promise.all(n.map((function(n){return null===n?null:Array.isArray(n)?o.resolveSubSelectedArray(e,t,n,r):e.selectionSet?o.resolveSelectionSet(e.selectionSet,t,n,r):void 0})))},e.prototype.collectSelectionsToResolve=function(e,t){var n=function(e){return!Array.isArray(e)},r=this.selectionsToResolveCache;return function e(o){if(!r.has(o)){var i=new Set;r.set(o,i),vc(o,{Directive:function(e,t,r,o,a){"client"===e.name.value&&a.forEach((function(e){n(e)&&sp(e)&&i.add(e)}))},FragmentSpread:function(r,o,a,s,l){var c=t[r.name.value];Hs(c,19,r.name.value);var u=e(c);u.size>0&&(l.forEach((function(e){n(e)&&sp(e)&&i.add(e)})),i.add(r),u.forEach((function(e){i.add(e)})))}})}return r.get(o)}(e)},e}();function hp(e,t){return Md(e,t,t.variables&&{variables:Md(pa(pa({},e&&e.variables),t.variables))})}var mp=!1,gp=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw qs(15);var n=e.uri,r=e.credentials,o=e.headers,i=e.cache,a=e.documentTransform,s=e.ssrMode,l=void 0!==s&&s,c=e.ssrForceFetchDelay,u=void 0===c?0:c,d=e.connectToDevTools,p=e.queryDeduplication,f=void 0===p||p,h=e.defaultOptions,m=e.defaultContext,g=e.assumeImmutableResults,v=void 0===g?i.assumeImmutableResults:g,y=e.resolvers,b=e.typeDefs,w=e.fragmentMatcher,x=e.name,k=e.version,C=e.devtools,E=e.link;E||(E=n?new wu({uri:n,credentials:r,headers:o}):mc.empty()),this.link=E,this.cache=i,this.disableNetworkFetches=l||u>0,this.queryDeduplication=f,this.defaultOptions=h||Object.create(null),this.typeDefs=b,this.devtoolsConfig=pa(pa({},C),{enabled:(null==C?void 0:C.enabled)||d}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),u&&setTimeout((function(){return t.disableNetworkFetches=!1}),u),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=Ds,this.localState=new fp({cache:i,client:this,resolvers:y,fragmentMatcher:w}),this.queryManager=new ap({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:m,documentTransform:a,queryDeduplication:f,ssrMode:l,clientAwareness:{name:x,version:k},localState:this.localState,assumeImmutableResults:v,onBroadcast:this.devtoolsConfig.enabled?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,mp||!1===globalThis.__DEV__||(mp=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout((function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,n=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?n="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(n="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),n&&!1!==globalThis.__DEV__&&Hs.log("Download the Apollo DevTools for a better development experience: %s",n)}}),1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform}
37,enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=hp(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=pa(pa({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=hp(this.defaultOptions.query,e)),Hs("cache-and-network"!==e.fetchPolicy,16),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=pa(pa({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=hp(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){return this.cache.watchFragment(e)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return xu(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!1})})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!0})})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),n=[],r=[];t.forEach((function(e,t){n.push(t),r.push(e)}));var o=Promise.all(r);return o.queries=n,o.results=r,o.catch((function(e){!1!==globalThis.__DEV__&&Hs.debug(17,e)})),o},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(gp.prototype.getMemoryInternals=Dl);var vp=mc.from;function yp(e){return new mc((function(t,n){return new ml((function(r){var o,i,a;try{o=n(t).subscribe({next:function(o){o.errors&&(a=e({graphQLErrors:o.errors,response:o,operation:t,forward:n}))?i=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.next(o)},error:function(o){(a=e({operation:t,networkError:o,graphQLErrors:o&&o.result&&o.result.errors||void 0,forward:n}))?i=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.error(o)},complete:function(){a||r.complete.bind(r)()}})}catch(o){e({networkError:o,operation:t,forward:n}),r.error(o)}return function(){o&&o.unsubscribe(),i&&o.unsubscribe()}}))}))}!function(e){function t(t){var n=e.call(this)||this;return n.link=yp(t),n}
37da(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(mc);const bp=()=>!!(0,jr.c4)(),wp=()=>{const e=(0,jr.c4)();return null===e&&((0,jr.hw)(),window.dispatchEvent(new CustomEvent("redirectToLogin"))),`Bearer ${e}`};var xp=n(47107),kp=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=Od(vl,{max:Ll["cache.fragmentQueryDocuments"]||1e3,cache:Sl})}return e.prototype.batch=function(e){var t,n=this,r="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction((function(){return t=e.update(n)}),r),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read(pa(pa({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,n=this,r=e.fragment,o=e.fragmentName,i=e.from,a=e.optimistic,s=void 0===a||a,l=fa(e,["fragment","fragmentName","from","optimistic"]),c=this.getFragmentDoc(r,o),u=pa(pa({},l),{returnPartialData:!0,id:void 0===i||"string"==typeof i?i:this.identify(i),query:c,optimistic:s});return new ml((function(e){return n.watch(pa(pa({},u),{immediate:!0,callback:function(n){if(!t||!Ud(c,{data:null==t?void 0:t.result},{data:n.result})){var r={data:n.result,complete:!!n.complete};n.missing&&(r.missing=zc(n.missing.map((function(e){return e.missing})))),t=n,e.next(r)}}}))}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read(pa(pa({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,r=fa(e,["id","data"]);return this.write(Object.assign(r,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,r=e.fragment,o=e.fragmentName,i=fa(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(i,{query:this.getFragmentDoc(r,o),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(n){var r=n.readQuery(e),o=t(r);return null==o?r:(n.writeQuery(pa(pa({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(n){var r=n.readFragment(e),o=t(r);return null==o?r:(n.writeFragment(pa(pa({},e),{data:o})),o)}})},e}();!1!==globalThis.__DEV__&&(kp.prototype.getMemoryInternals=Ml);var Cp=function(e){function t(n,r,o,i){var a,s=e.call(this,n)||this;if(s.message=n,s.path=r,s.query=o,s.variables=i,Array.isArray(s.path)){s.missing=s.message;for(var l=s.path.length-1;l>=0;--l)s.missing=((a={})[s.path[l]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return da(t,e),t}(Error);function Ep(e){return!1!==globalThis.__DEV__&&(t=e,(n=new Set([t])).forEach((function(e){gl(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach((function(t){gl(e[t])&&n.add(e[t])}))}))),e;var t,n}var Sp=Object.prototype.hasOwnProperty;function Op(e){return null==e}function Ap(e,t){var n=e.__typename,r=e.id,o=e._id;if("string"==typeof n&&(t&&(t.keyObject=Op(r)?Op(o)?void 0:{_id:o}:{id:r}),Op(r)&&!Op(o)&&(r=o),!Op(r)))return"".concat(n,":").concat("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))}var _p={dataIdFromObject:Ap,addTypename:!0,resultCaching:!0,canonizeResults:!1};function Pp(e){var t=e.canonizeResults;return void 0===t?_p.canonizeResults:t}var jp=/^[_a-z][_0-9a-z]*/i;function Tp(e){var t=e.match(jp);return t?t[0]:e}function Ip(e,t,n){return!!gl(t)&&(Fc(t)?t.every((function(t){return Ip(e,t,n)})):e.selections.every((function(e){if(oc(e)&&bc(e,n)){var r=nc(e);return Sp.call(t,r)&&(!e.selectionSet||Ip(e.selectionSet,t[r],n))}return!0})))}function Lp(e){return gl(e)&&!Yl(e)&&!Fc(e)}function Np(e,t){var n=yl(lc(e));return{fragmentMap:n,lookupFragment:function(e){var r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}var Rp=Object.create(null),Dp=function(){return Rp},Fp=Object.create(null),Mp=function(){function e(e,t){var n=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return Ep(Yl(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return Yl(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return Zl(e);if(Yl(e))return e;var r=n.policies.identify(e)[0];if(r){var o=Zl(r);return t&&n.merge(r,e),o}}}return e.prototype.toObject=function(){return pa({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),Sp.call(this.data,e)){var n=this.data[e];if(n&&Sp.call(n,t))return n[t]}return"__typename"===t&&Sp.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof Up?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),Sp.call(this.data,e)?this.data[e]:this instanceof Up?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,r=this;Yl(e)&&(e=e.__ref),Yl(t)&&(t=t.__ref);var o="string"==typeof e?this.lookup(n=e):e,i="string"==typeof t?this.lookup(n=t):t;if(i){Hs("string"==typeof n,1);var a=new Hc(qp).merge(o,i);if(this.data[n]=a,a!==o&&(delete this.refs[n],this.group.caching)){var s=Object.create(null);
37o||(s.__exists=1),Object.keys(i).forEach((function(e){if(!o||o[e]!==a[e]){s[e]=1;var t=Tp(e);t===e||r.policies.hasKeyArgs(a.__typename,t)||(s[t]=1),void 0!==a[e]||r instanceof Up||delete a[e]}})),!s.__typename||o&&o.__typename||this.policies.rootTypenamesById[n]!==a.__typename||delete s.__typename,Object.keys(s).forEach((function(e){return r.group.dirty(n,e)}))}}},e.prototype.modify=function(e,t){var n=this,r=this.lookup(e);if(r){var o=Object.create(null),i=!1,a=!0,s={DELETE:Rp,INVALIDATE:Fp,isReference:Yl,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"==typeof t?{fieldName:t,from:r||Zl(e)}:t,{store:n})}};if(Object.keys(r).forEach((function(l){var c=Tp(l),u=r[l];if(void 0!==u){var d="function"==typeof t?t:t[l]||t[c];if(d){var p=d===Dp?Rp:d(Ep(u),pa(pa({},s),{fieldName:c,storeFieldName:l,storage:n.getStorage(e,l)}));if(p===Fp)n.group.dirty(e,l);else if(p===Rp&&(p=void 0),p!==u&&(o[l]=p,i=!0,u=p,!1!==globalThis.__DEV__)){var f=function(e){if(void 0===n.lookup(e.__ref))return!1!==globalThis.__DEV__&&Hs.warn(2,e),!0};if(Yl(p))f(p);else if(Array.isArray(p))for(var h=!1,m=void 0,g=0,v=p;g<v.length;g++){var y=v[g];if(Yl(y)){if(h=!0,f(y))break}else"object"==typeof y&&y&&n.policies.identify(y)[0]&&(m=y);if(h&&void 0!==m){!1!==globalThis.__DEV__&&Hs.warn(3,m);break}}}}void 0!==u&&(a=!1)}})),i)return this.merge(e,o),a&&(this instanceof Up?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var r,o=this.lookup(e);if(o){var i=this.getFieldValue(o,"__typename"),a=t&&n?this.policies.getStoreFieldName({typename:i,fieldName:t,args:n}):t;return this.modify(e,a?((r={})[a]=Dp,r):Dp)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(Sp.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof Up&&this!==t&&(n=this.parent.evict(e,t)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||"__exists")),n},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach((function(t){Sp.call(e.policies.rootTypenamesById,t)||n.push(t)})),n.length&&(t.__META={extraRootIds:n.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(n){e&&Sp.call(e,n)||t.delete(n)})),e){var n=e.__META,r=fa(e,["__META"]);Object.keys(r).forEach((function(e){t.merge(e,r[e])})),n&&n.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof Up?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach((function(r){Sp.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])}));var r=Object.keys(n);if(r.length){for(var o=this;o instanceof Up;)o=o.parent;r.forEach((function(e){return o.delete(e)}))}return r},e.prototype.findChildRefIds=function(e){if(!Sp.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=this.data[e];if(!n)return t;var r=new Set([n]);r.forEach((function(e){Yl(e)&&(t[e.__ref]=!0),gl(e)&&Object.keys(e).forEach((function(t){var n=e[t];gl(n)&&r.add(n)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),Bp=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?kd():null,this.keyMaker=new Fu(Ec)}
37,e.prototype.depend=function(e,t){if(this.d){this.d(Vp(e,t));var n=Tp(t);n!==t&&this.d(Vp(e,n)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(Vp(e,t),"__exists"===t?"forget":"setDirty")},e}();function Vp(e,t){return t+"#"+e}function zp(e,t){Wp(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var n=t.policies,r=t.resultCaching,o=void 0===r||r,i=t.seed,a=e.call(this,n,new Bp(o))||this;return a.stump=new Hp(a),a.storageTrie=new Fu(Ec),i&&a.replace(i),a}return da(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(Mp||(Mp={}));var Up=function(e){function t(t,n,r,o){var i=e.call(this,n.policies,o)||this;return i.id=t,i.parent=n,i.replay=r,i.group=o,r(i),i}return da(t,e),t.prototype.addLayer=function(e,n){return new t(e,this,n,this.group)},t.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var r=t.data[e],o=n.lookup(e);o?r?r!==o&&Object.keys(r).forEach((function(n){Ou(r[n],o[n])||t.group.dirty(e,n)})):(t.group.dirty(e,"__exists"),Object.keys(o).forEach((function(n){t.group.dirty(e,n)}))):t.delete(e)})),n):n===this.parent?this:n.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return pa(pa({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return Sp.call(this.data,t)?pa(pa({},n),e.prototype.findChildRefIds.call(this,t)):n},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(Mp),Hp=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new Bp(t.group.caching,t.group))||this}return da(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(Up);function qp(e,t,n){var r=e[n],o=t[n];return Ou(r,o)?r:o}function Wp(e){return!!(e instanceof Mp&&e.group.caching)}var $p=function(){function e(){this.known=new(Sc?WeakSet:Set),this.pool=new Fu(Ec),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return gl(e)&&this.known.has(e)},e.prototype.pass=function(e){if(gl(e)){var t=function(e){return gl(e)?Fc(e)?e.slice(0):pa({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if(gl(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var r=e.map(this.admit,this);return(s=this.pool.lookupArray(r)).array||(this.known.add(s.array=r),!1!==globalThis.__DEV__&&Object.freeze(r)),s.array;case null:case Object.prototype:if(this.known.has(e))return e;var o=Object.getPrototypeOf(e),i=[o],a=this.sortedKeys(e);i.push(a.json);var s,l=i.length;if(a.sorted.forEach((function(n){i.push(t.admit(e[n]))})),!(s=this.pool.lookupArray(i)).object){var c=s.object=Object.create(o);this.known.add(c),a.sorted.forEach((function(e,t){c[e]=i[l+t]})),!1!==globalThis.__DEV__&&Object.freeze(c)}return s.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),n=this.pool.lookupArray(t);if(!n.keys){t.sort();var r=JSON.stringify(t);(n.keys=this.keysByJSON.get(r))||this.keysByJSON.set(r,n.keys={sorted:t,json:r})}return n.keys},e}();function Gp(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var Kp=function(){function e(e){var t=this;this.knownResults=new(Ec?WeakMap:Map),this.config=Md(e,{addTypename:!1!==e.addTypename,canonizeResults:Pp(e)}),this.canon=e.canon||new $p,this.executeSelectionSet=Od((function(e){var n,r=e.context.canonizeResults,o=Gp(e);o[3]=!r;var i=(n=t.executeSelectionSet).peek.apply(n,o);return i?r?pa(pa({},i),{result:t.canon.admit(i.result)}):i:(zp(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize||Ll["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:Gp,makeCacheKey:function(e,t,n,r){if(Wp(n.store))return n.store.makeCacheKey(e,Yl(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=Od((function(e){return zp(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize||Ll["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;
37if(Wp(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new $p},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,r=e.rootId,o=void 0===r?"ROOT_QUERY":r,i=e.variables,a=e.returnPartialData,s=void 0===a||a,l=e.canonizeResults,c=void 0===l?this.config.canonizeResults:l,u=this.config.cache.policies;i=pa(pa({},dc(cc(n))),i);var d,p=Zl(o),f=this.executeSelectionSet({selectionSet:uc(n).selectionSet,objectOrReference:p,enclosingRef:p,context:pa({store:t,query:n,policies:u,variables:i,varString:$l(i),canonizeResults:c},Np(n,this.config.fragments))});if(f.missing&&(d=[new Cp(Zp(f.missing),f.missing,n,i)],!s))throw d[0];return{result:f.result,complete:!d,missing:d}},e.prototype.isFresh=function(e,t,n,r){if(Wp(r.store)&&this.knownResults.get(e)===n){var o=this.executeSelectionSet.peek(n,t,r,this.canon.isKnown(e));if(o&&e===o.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,n=e.selectionSet,r=e.objectOrReference,o=e.enclosingRef,i=e.context;if(Yl(r)&&!i.policies.rootTypenamesById[r.__ref]&&!i.store.has(r.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(r.__ref," object")};var a,s=i.variables,l=i.policies,c=i.store.getFieldValue(r,"__typename"),u=[],d=new Hc;function p(e,t){var n;return e.missing&&(a=d.merge(a,((n={})[t]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof c&&!l.rootIdsByTypename[c]&&u.push({__typename:c});var f=new Set(n.selections);f.forEach((function(e){var n,h;
37if(bc(e,s))if(oc(e)){var m=l.readField({fieldName:e.name.value,field:e,variables:i.variables,from:r},i),g=nc(e);void 0===m?mu.added(e)||(a=d.merge(a,((n={})[g]="Can't find field '".concat(e.name.value,"' on ").concat(Yl(r)?r.__ref+" object":"object "+JSON.stringify(r,null,2)),n))):Fc(m)?m.length>0&&(m=p(t.executeSubSelectedArray({field:e,array:m,enclosingRef:o,context:i}),g)):e.selectionSet?null!=m&&(m=p(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:m,enclosingRef:Yl(m)?m:o,context:i}),g)):i.canonizeResults&&(m=t.canon.pass(m)),void 0!==m&&u.push(((h={})[g]=m,h))}else{var v=bl(e,i.lookupFragment);if(!v&&e.kind===La.FRAGMENT_SPREAD)throw qs(9,e.name.value);v&&l.fragmentMatches(v,c)&&v.selectionSet.selections.forEach(f.add,f)}}));var h={result:zc(u),missing:a},m=i.canonizeResults?this.canon.admit(h):Ep(h);return m.result&&this.knownResults.set(m.result,n),m},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,o=e.array,i=e.enclosingRef,a=e.context,s=new Hc;function l(e,n){var r;return e.missing&&(t=s.merge(t,((r={})[n]=e.missing,r))),e.result}return r.selectionSet&&(o=o.filter(a.store.canRead)),o=o.map((function(e,t){return null===e?null:Fc(e)?l(n.executeSubSelectedArray({field:r,array:e,enclosingRef:i,context:a}),t):r.selectionSet?l(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,enclosingRef:Yl(e)?e:i,context:a}),t):(!1!==globalThis.__DEV__&&function(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach((function(n){gl(n)&&(Hs(!Yl(n),10,function(e,t){return Yl(t)?e.get(t.__ref,"__typename"):t&&t.__typename}(e,n),t.name.value),Object.values(n).forEach(r.add,r))}))}}(a.store,r,e),e)})),{result:a.canonizeResults?this.canon.admit(o):o,missing:t}},e}();function Zp(e){try{JSON.stringify(e,(function(e,t){if("string"==typeof t)throw t;return t}))}catch(e){return e}}var Yp=Object.create(null);function Xp(e){var t=JSON.stringify(e);return Yp[t]||(Yp[t]=Object.create(null))}function Qp(e){var t=Xp(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var r=function(e,t){return n.readField(t,e)},o=n.keyObject=ef(e,(function(e){var o=rf(n.storeObject,e,r);return void 0===o&&t!==n.storeObject&&Sp.call(t,e[0])&&(o=rf(t,e,nf)),Hs(void 0!==o,4,e.join("."),t),o}));return"".concat(n.typename,":").concat(JSON.stringify(o))})}function Jp(e){var t=Xp(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,o=n.variables,i=n.fieldName,a=ef(e,(function(e){var n=e[0],i=n.charAt(0);if("@"!==i)if("$"!==i){if(t)return rf(t,e)}else{var a=n.slice(1);if(o&&Sp.call(o,a)){var s=e.slice(0);return s[0]=a,rf(o,s)}}else if(r&&Mc(r.directives)){var l=n.slice(1),c=r.directives.find((function(e){return e.name.value===l})),u=c&&tc(c,o);return u&&rf(u,e.slice(1))}})),s=JSON.stringify(a);return(t||"{}"!==s)&&(i+=":"+s),i})}function ef(e,t){var n=new Hc;return tf(e).reduce((function(e,r){var o,i=t(r);if(void 0!==i){for(var a=r.length-1;a>=0;--a)(o={})[r[a]]=i,i=o;e=n.merge(e,i)}return e}),Object.create(null))}function tf(e){var t=Xp(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach((function(t,o){Fc(t)?(tf(t).forEach((function(e){return n.push(r.concat(e))})),r.length=0):(r.push(t),Fc(e[o+1])||(n.push(r.slice(0)),r.length=0))}))}return t.paths}function nf(e,t){return e[t]}function rf(e,t,n){return n=n||nf,of(t.reduce((function e(t,r){return Fc(t)?t.map((function(t){return e(t,r)})):t&&n(t,r)}),e))}function of(e){return gl(e)?Fc(e)?e.map(of):ef(Object.keys(e).sort(),(function(t){return rf(e,t)})):e}function af(e){return void 0!==e.args?e.args:e.field?tc(e.field,e.variables):null}var sf=function(){},lf=function(e,t){return t.fieldName},cf=function(e,t,n){return(0,n.mergeObjects)(e,t)},uf=function(e,t){return t},df=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=pa({dataIdFromObject:Ap},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var n,r=this,o=t&&(t.typename||(null===(n=t.storeObject)||void 0===n?void 0:n.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var i,a=t&&t.storeObject||e,s=pa(pa({},t),{typename:o,storeObject:a,readField:t&&t.readField||function(){var e=ff(arguments,a);return r.readField(e,{store:r.cache.data,variables:e.variables})}}),l=o&&this.getTypePolicy(o),c=l&&l.keyFn||this.config.dataIdFromObject;c;){var u=c(pa(pa({},e),a),s);if(!Fc(u)){i=u;break}c=Qp(u)}return i=i?String(i):void 0,s.keyObject?[i,s.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(n){var r=e[n],o=r.queryType,i=r.mutationType,a=r.subscriptionType,s=fa(r,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",n),i&&t.setRootTypename("Mutation",n),a&&t.setRootTypename("Subscription",n),Sp.call(t.toBeAdded,n)?t.toBeAdded[n].push(s):t.toBeAdded[n]=[s]}))},e.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),o=t.keyFields,i=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?cf:!1===t?uf:e.merge}a(r,t.merge),r.keyFn=!1===o?sf:Fc(o)?Qp(o):"function"==typeof o?o:r.keyFn,i&&Object.keys(i).forEac
37h((function(t){var r=n.getFieldPolicy(e,t,!0),o=i[t];if("function"==typeof o)r.read=o;else{var s=o.keyArgs,l=o.read,c=o.merge;r.keyFn=!1===s?lf:Fc(s)?Jp(s):"function"==typeof s?s:r.keyFn,"function"==typeof l&&(r.read=l),a(r,c)}r.read&&r.merge&&(r.keyFn=r.keyFn||lf)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&(Hs(!r||r===e,5,e),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(n){t.getSupertypeSet(n,!0),e[n].forEach((function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(jp);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!Sp.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var r=this.supertypeMap.get(e);!r&&this.fuzzySubtypes.size&&(r=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach((function(n,o){if(n.test(e)){var i=t.supertypeMap.get(o);i&&i.forEach((function(e){return r.add(e)}))}}))),r&&r.size&&r.forEach((function(e){var r=t.getTypePolicy(e),o=r.fields,i=fa(r,["fields"]);Object.assign(n,i),Object.assign(n.fields,o)}))}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach((function(n){t.updateTypePolicy(e,n)})),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var r=this.getTypePolicy(e).fields;return r[t]||n&&(r[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,r){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var i=e.typeCondition.name.value;if(t===i)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(i))for(var a=this.getSupertypeSet(t,!0),s=[a],l=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&s.indexOf(t)<0&&s.push(t)},c=!(!n||!this.fuzzySubtypes.size),u=!1,d=0;d<s.length;++d){var p=s[d];if(p.has(i))return a.has(i)||(u&&!1!==globalThis.__DEV__&&Hs.warn(6,t,i),a.add(i)),!0;p.forEach(l),c&&d===s.length-1&&Ip(e.selectionSet,n,r)&&(c=!1,u=!0,this.fuzzySubtypes.forEach((function(e,n){var r=t.match(e);r&&r[0]===t&&l(n)})))}return!1},e.prototype.hasKeyArgs=function(e,t){var n=this.getFieldPolicy(e,t,!1);return!(!n||!n.keyFn)},e.prototype.getStoreFieldName=function(e){var t,n=e.typename,r=e.fieldName,o=this.getFieldPolicy(n,r,!1),i=o&&o.keyFn;if(i&&n)for(var a={typename:n,fieldName:r,field:e.field||null,variables:e.variables},s=af(e);i;){var l=i(s,a);if(!Fc(l)){t=l||r;break}i=Jp(l)}return void 0===t&&(t=e.field?function(e,t){var n=null;e.directives&&(n={},e.directives.forEach((function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach((function(r){var o=r.name,i=r.value;return Xl(n[e.name.value],o,i,t)}))})));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach((function(e){var n=e.name,o=e.value;return Xl(r,n,o,t)}))),ec(e.name.value,r,n)}(e.field,e.variables):ec(r,af(e))),!1===t?r:r===Tp(t)?t:r+":"+t},e.prototype.readField=function(e,t){var n=e.from;if(n&&(e.field||e.fieldName)){if(void 0===e.typename){var r=t.store.getFieldValue(n,"__typename");r&&(e.typename=r)}var o=this.getStoreFieldName(e),i=Tp(o),a=t.store.getFieldValue(n,o),s=this.getFieldPolicy(e.typename,i,!1),l=s&&s.read;if(l){var c=pf(this,n,e,t,t.store.getStorage(Yl(n)?n.__ref:n,o));return lp.withValue(this.cache,l,[a,c])}return a}},e.prototype.getReadFunction=function(e,t){var n=this.getFieldPolicy(e,t,!1);return n&&n.read},e.prototype.getMergeFunction=function(e,t,n){var r=this.getFieldPolicy(e,t,!1),o=r&&r.merge;return!o&&n&&(o=(r=this.getTypePolicy(n))&&r.merge),o},e.prototype.runMergeFunction=function(e,t,n,r,o){var i=n.field,a=n.typename,s=n.merge;return s===cf?hf(r.store)(e,t):s===uf?t:(r.overwrite&&(e=void 0),s(e,t,pf(this,void 0,{typename:a,fieldName:i.name.value,field:i,variables:r.variables},r,o||Object.create(null))))},e}();function pf(e,t,n,r,o){var i=e.getStoreFieldName(n),a=Tp(i),s=n.variables||r.variables,l=r.store,c=l.toReference,u=l.canRead;return{args:af(n),field:n.field||null,fieldName:a,storeFieldName:i,variables:s,isReference:Yl,toReference:c,storage:o,cache:e.cache,canRead:u,readField:function(){return e.readField(ff(arguments,t,s),r)},mergeObjects:hf(r.store)}}function ff(e,t,n){var r,o=e[0],i=e[1],a=e.length;return"string"==typeof o?r={fieldName:o,from:a>1?i:t}:(r=pa({},o),Sp.call(r,"from")||(r.from=t)),!1!==globalThis.__DEV__&&void 0===r.from&&!1!==globalThis.__DEV__&&Hs.warn(7,zs(Array.from(e))),void 0===r.variables&&(r.variables=n),r}function hf(e){return function(t,n){if(Fc(t)||Fc(n))throw qs(8);if(gl(t)&&gl(n)){var r=e.getFieldValue(t,"__typename"),o=e.getFieldValue(n,"__typename");if(r&&o&&r!==o)return n;if(Yl(t)&&Lp(n))return e.merge(t.__ref,n),t;if(Lp(t)&&Yl(n))return e.merge(t,n.__ref),n;if(Lp(t)&&Lp(n))return pa(pa({},t),n)}return n}}function mf(e,t,n){var r="".concat(t).concat(n),o=e.flavors.get(r);return o||e.flavors.set(r,o=e.clientOnly===t&&e.deferred===n?e:pa(pa({},e),{clientOnly:t,deferred:n})),o}var gf=function(){function e(e,t,n){this.cache=e,this.reader=t,this.fragments=n}return e.prototype.writeToStore=function(e,t){var n=this,r=t.query,o=t.result,i=t.dataId,a=t.variables,s=t.overwrite,l=ac(r),c=new Hc;a=pa(pa({},dc(l)),a);var u=pa(pa({store:e,written:Object.create(null),merge:function(e,t){return c.merge(e,t)},variables:a,varString:$l(a)},Np(r,this.fragments)),{overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),d=this.processSelectionSet({result:o||Object.create(null),dataId:i,selectionSet:l.selectionSet,mergeTree:{map:new Map},context:u});if(!Yl(d))throw qs(11,o);
37return u.incomingById.forEach((function(t,r){var o=t.storeObject,i=t.mergeTree,a=t.fieldNodeSet,s=Zl(r);if(i&&i.map.size){var l=n.applyMerges(i,s,o,u);if(Yl(l))return;o=l}if(!1!==globalThis.__DEV__&&!u.overwrite){var c=Object.create(null);a.forEach((function(e){e.selectionSet&&(c[e.name.value]=!0)})),Object.keys(o).forEach((function(e){(function(e){return!0===c[Tp(e)]})(e)&&!function(e){var t=i&&i.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,n,r){var o=function(e){var t=r.getFieldValue(e,n);return"object"==typeof t&&t},i=o(e);if(i){var a=o(t);if(a&&!Yl(i)&&!Ou(i,a)&&!Object.keys(i).every((function(e){return void 0!==r.getFieldValue(a,e)}))){var s=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),l=Tp(n),c="".concat(s,".").concat(l);if(!kf.has(c)){kf.add(c);var u=[];Fc(i)||Fc(a)||[i,a].forEach((function(e){var t=r.getFieldValue(e,"__typename");"string"!=typeof t||u.includes(t)||u.push(t)})),!1!==globalThis.__DEV__&&Hs.warn(14,l,s,u.length?"either ensure all objects of type "+u.join(" and ")+" have an ID or a custom merge function, or ":"",c,pa({},i),pa({},a))}}}}(s,o,e,u.store)}))}e.merge(r,o)})),e.retain(d.__ref),d},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,r=e.result,o=e.selectionSet,i=e.context,a=e.mergeTree,s=this.cache.policies,l=Object.create(null),c=n&&s.rootTypenamesById[n]||rc(r,o,i.fragmentMap)||n&&i.store.get(n,"__typename");"string"==typeof c&&(l.__typename=c);var u=function(){var e=ff(arguments,l,i.variables);if(Yl(e.from)){var t=i.incomingById.get(e.from.__ref);if(t){var n=s.readField(pa(pa({},e),{from:t.storeObject}),i);if(void 0!==n)return n}}return s.readField(e,i)},d=new Set;this.flattenFields(o,r,i,c).forEach((function(e,n){var o,i=nc(n),p=r[i];if(d.add(n),void 0!==p){var f=s.getStoreFieldName({typename:c,fieldName:n.name.value,field:n,variables:e.variables}),h=yf(a,f),m=t.processFieldValue(p,n,n.selectionSet?mf(e,!1,!1):e,h),g=void 0;n.selectionSet&&(Yl(m)||Lp(m))&&(g=u("__typename",m));var v=s.getMergeFunction(c,n.name.value,g);v?h.info={field:n,typename:c,merge:v}:xf(a,f),l=e.merge(l,((o={})[f]=m,o))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||mu.added(n)||s.getReadFunction(c,n.name.value)||!1!==globalThis.__DEV__&&Hs.error(12,nc(n),r)}));try{var p=s.identify(r,{typename:c,selectionSet:o,fragmentMap:i.fragmentMap,storeObject:l,readField:u}),f=p[0],h=p[1];n=n||f,h&&(l=i.merge(l,h))}catch(e){if(!n)throw e}if("string"==typeof n){var m=Zl(n),g=i.written[n]||(i.written[n]=[]);if(g.indexOf(o)>=0)return m;if(g.push(o),this.reader&&this.reader.isFresh(r,m,o,i))return m;var v=i.incomingById.get(n);return v?(v.storeObject=i.merge(v.storeObject,l),v.mergeTree=bf(v.mergeTree,a),d.forEach((function(e){return v.fieldNodeSet.add(e)}))):i.incomingById.set(n,{storeObject:l,mergeTree:wf(a)?void 0:a,fieldNodeSet:d}),m}return l},e.prototype.processFieldValue=function(e,t,n,r){var o=this;return t.selectionSet&&null!==e?Fc(e)?e.map((function(e,i){var a=o.processFieldValue(e,t,n,yf(r,i));return xf(r,i),a})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):!1!==globalThis.__DEV__?Vd(e):e},e.prototype.flattenFields=function(e,t,n,r){void 0===r&&(r=rc(t,e,n.fragmentMap));var o=new Map,i=this.cache.policies,a=new Fu(!1);return function e(s,l){var c=a.lookup(s,l.clientOnly,l.deferred);c.visited||(c.visited=!0,s.selections.forEach((function(a){if(bc(a,n.variables)){var s=l.clientOnly,c=l.deferred;if(s&&c||!Mc(a.directives)||a.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var r=tc(e,n.variables);r&&!1===r.if||(c=!0)}})),oc(a)){var u=o.get(a);u&&(s=s&&u.clientOnly,c=c&&u.deferred),o.set(a,mf(n,s,c))}else{var d=bl(a,n.lookupFragment);if(!d&&a.kind===La.FRAGMENT_SPREAD)throw qs(13,a.name.value);d&&i.fragmentMatches(d,r,t,n.variables)&&e(d.selectionSet,mf(n,s,c))}}})))}(e,n),o},e.prototype.applyMerges=function(e,t,n,r,o){var i,a=this;if(e.map.size&&!Yl(n)){var s,l=Fc(n)||!Yl(t)&&!Lp(t)?void 0:t,c=n;l&&!o&&(o=[Yl(l)?l.__ref:l]);var u=function(e,t){return Fc(e)?"number"==typeof t?e[t]:void 0:r.store.getFieldValue(e,String(t))};
37e.map.forEach((function(e,t){var n=u(l,t),i=u(c,t);if(void 0!==i){o&&o.push(t);var d=a.applyMerges(e,n,i,r,o);d!==i&&(s=s||new Map).set(t,d),o&&Hs(o.pop()===t)}})),s&&(n=Fc(c)?c.slice(0):pa({},c),s.forEach((function(e,t){n[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,r,o&&(i=r.store).getStorage.apply(i,o)):n},e}(),vf=[];function yf(e,t){var n=e.map;return n.has(t)||n.set(t,vf.pop()||{map:new Map}),n.get(t)}function bf(e,t){if(e===t||!t||wf(t))return e;if(!e||wf(e))return t;var n=e.info&&t.info?pa(pa({},e.info),t.info):e.info||t.info,r=e.map.size&&t.map.size,o={info:n,map:r?new Map:e.map.size?e.map:t.map};if(r){var i=new Set(t.map.keys());e.map.forEach((function(e,n){o.map.set(n,bf(e,t.map.get(n))),i.delete(n)})),i.forEach((function(n){o.map.set(n,bf(t.map.get(n),e.map.get(n)))}))}return o}function wf(e){return!e||!(e.info||e.map.size)}function xf(e,t){var n=e.map,r=n.get(t);r&&wf(r)&&(vf.push(r),n.delete(t))}var kf=new Set,Cf=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new _d(mu),n.assumeImmutableResults=!0,n.makeVar=pp,n.txCount=0,n.config=function(e){return Md(_p,e)}(t),n.addTypename=!!n.config.addTypename,n.policies=new df({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return da(t,e),t.prototype.init=function(){var e=this.data=new Mp.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,n=this.storeReader,r=this.config.fragments;this.storeWriter=new gf(this,this.storeReader=new Kp({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:Pp(this.config),canon:e?void 0:n&&n.canon,fragments:r}),r),this.maybeBroadcastWatch=Od((function(e,n){return t.broadcastWatch(e,n)}),{max:this.config.resultCacheMaxSize||Ll["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if(Wp(n)){var r=e.optimistic,o=e.id,i=e.variables;return n.makeCacheKey(e.query,e.callback,$l({optimistic:r,id:o,variables:i}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach((function(e){return e.resetCaching()}))},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,n=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore(pa(pa({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:n})).result||null}catch(e){if(e instanceof Cp)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(Sp.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore(pa(pa({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||function(e){up(e).vars.forEach((function(t){return t.attachCache(e)}))}(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&dp(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){var t;$l.reset(),au.reset(),this.addTypenameTransform.resetCache(),null===(t=this.config.fragments)||void 0===t||t.resetCaches();var n=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),n},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if(Yl(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&Hs.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(Sp.call(e,"id"))return!1;e=pa(pa({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),$l.reset(),e&&e.discardWatches?(this.watches.forEac
37h((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),dp(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,n=this,r=e.update,o=e.optimistic,i=void 0===o||o,a=e.removeOptimistic,s=e.onWatchUpdated,l=function(e){var o=n,i=o.data,a=o.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=r(n)}finally{--n.txCount,n.data=i,n.optimisticData=a}},c=new Set;return s&&!this.txCount&&this.broadcastWatches(pa(pa({},e),{onWatchUpdated:function(e){return c.add(e),!1}})),"string"==typeof i?this.optimisticData=this.optimisticData.addLayer(i,l):!1===i?l(this.data):l(),"string"==typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),s&&c.size?(this.broadcastWatches(pa(pa({},e),{onWatchUpdated:function(e,t){var n=s.call(this,e,t);return!1!==n&&c.delete(e),n}})),c.size&&c.forEach((function(e){return n.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(n){return t.maybeBroadcastWatch(n,e)}))},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var n=e.lastDiff,r=this.diff(e);t&&(e.optimistic&&"string"==typeof t.optimistic&&(r.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,r,n))||n&&Ou(n.result,r.result)||e.callback(e.lastDiff=r,n)},t}(kp);!1!==globalThis.__DEV__&&(Cf.prototype.getMemoryInternals=Fl);const Ef=new Cf({typePolicies:{OrgAuthContext:{keyFields:()=>(0,jr.I)()},DelegationSubject:{keyFields:["userId"]},OrganisationBalance:{keyFields:e=>{let{__typename:t}=e;return`${t}:${(0,jr.I)()}:${(0,jr.F6)()}`}},OrganisationMemberAccount:{keyFields:["accountId"]}}}),Sf=["Connection prematurely closed BEFORE response","invalid authentication token","Unauthorized to invoke this operation"],Of="/app/graphql";let Af=Of;const _f=new wu({fetch:As.fetch,uri:e=>`${Af}/${e.operationName}`}),Pf=new mc(((e,t)=>{const n=(0,jr.IP)();return e.setContext((e=>{let{headers:t}=e;return{headers:{authorization:wp(),...n?{[xp.t]:n}:void 0,...t}}})),t(e)})),jf=yp((e=>{var t;let{graphQLErrors:n,operation:r,networkError:o}=e;null!==(t=r.getContext())&&void 0!==t&&t.skipErrorReporting||n&&(n.forEach((e=>{let{message:t,locations:n}=e;Sf.filter((e=>e.includes(t))).length<1&&console.error(`[GraphQL error]: Message: ${t}, Operation: ${r.operationName}, Location: ${Array.isArray(n)?`column: ${n[0].column}, line: ${n[0].line}`:n}`)})),o&&console.error(`[Network error]: ${(0,ci.M)(o)}`))}
37)),Tf=new gp({cache:Ef,link:vp([jf,Pf,_f]),connectToDevTools:!1,name:"webapp-container",version:Eo}),If=e=>{var t,n;let{account:r}=e;return(null==r||null===(t=r.scaleConnectedPlatformInfo)||void 0===t?void 0:t.webappTheme)??(null==r||null===(n=r.clientApiSettings)||void 0===n||null===(n=n.connectedAccountSettings)||void 0===n?void 0:n.webappTheme)??void 0},Lf=e=>{var t;let{account:n}=e;return!1!==(null===(t=If({account:n}))||void 0===t||null===(t=t.featureOverrides)||void 0===t?void 0:t.rewards)},Nf=["/app/uam/no-permission","/app1/uam/no-permission"],Rf=[...Nf,"/app/profile","/app1/account/profile","/app/account/profile","/app1/uam/accounts/create","/app/uam/accounts/create"],Df=e=>{var t,n;let{account:r,org:o,otherPermissions:i}=e;if(null!=o&&null!==(t=o.data)&&void 0!==t&&t.isBusinessAccountsEnabled)return o.data.hasKycPassedEntity;const a="SUCCESS"===(null===(n=r.kycRecord)||void 0===n?void 0:n.status);return void 0!==i?a&&i:a},Ff=()=>!0,Mf=e=>{var t,n;let{account:r,org:o}=e;const i=(null==r||null===(t=r.clientApiSettings)||void 0===t||null===(t=t.paSetting)||void 0===t?void 0:t.paState)??"";return!!(0,jr.mg)()||((0,jr.I)()?!(null!=o&&null!==(a=o.data)&&void 0!==a&&a.isBusinessAccountsEnabled):!("FORBIDDEN"===i||!i)&&["SUBMITTED","SUCCESS"].includes((null===(n=r.kycRecord)||void 0===n?void 0:n.status)??""));var a},Bf=["/app/login","/app/signup"],Vf=e=>{var t;return!(null==e||null===(t=e.clientInternalInfo)||void 0===t||null===(t=t.scaleModel)||void 0===t||!t.managementAccountId)},zf=new ca,Uf=6e4,Hf=()=>Number((0,jr.Qw)(jr.G8))-Date.now(),qf=()=>Number((0,jr.Qw)(jr.G8))-Date.now()<=Uf;async function Wf(){try{const{accessToken:e,accessTokenExpireAt:t,refreshToken:n,refreshTokenExpireAt:r}=await async function(){const e=(0,jr.c4)(),t=(0,jr.ve)();if(t){const n={...e&&{"x-auth-token":e}},{data:r}=(await eh.post("/v2/reauth",{refreshToken:t},{headers:n})).data;return(0,jr.nE)(r)}throw new Error("No refresh token")}();Gf(e,t),n&&r&&(0,jr.fE)(n,r)}catch{Ko("reauth_session_error"),Jf(),Qf()}}const $f=()=>{qf()?Wf():(zf.cancel(),zf.start($f,Hf()-Uf))},Gf=(e,t)=>{zf.cancel(),(0,jr.rZ)(e,t),zf.start($f,t-Date.now()-Uf)},Kf=new ca,Zf=async()=>{let e=!0;const t=(0,jr.Qw)(jr.NM),n=Date.now()-Number(t);(!t||n>=5e3)&&((0,jr.wE)(jr.NM,`${Date.now()}`),e=await(async()=>{if(!(0,jr.c4)())return!1;try{await eh.get("/authenticate/heartbeat")}catch(t){var e;if(di().isAxiosError(t)&&401===(null===(e=t.response)||void 0===e?void 0:e.status))return Ko("authenticate_heartbeat_error",{message:"Failed to authenticate the user",error:(0,ci.M)(t)}),!1;Ko("authenticate_heartbeat_error",{message:"Failed to call api",error:(0,ci.M)(t)})}return!0})()),e?Kf.start(Zf,5e3):(0,jr.Eb)(jr.NM)},Yf=Es` 38 mutation LogoutCurrentSession { 39 logoutCurrentSession { 40 success 41 } 42 } 43`,Xf=async()=>{try{await Tf.mutate({mutation:Yf}),Ko("logout_current_session")}catch(e){Ko("logout_current_session_error",{error:(0,ci.M)(e)}),console.error(`Error occurred on logout in webapp-container, error: ${(0,ci.M)(e)}`)}finally{(0,jr.Eb)(jr.dt),(0,jr.Eb)(jr.Yk),(0,jr.Eb)(jr.NM)}return Promise.resolve()},Qf=e=>{if(!["/app1/login","/app/login"].includes(window.location.pathname)){var t;const n=null===(t=If({account:e}))||void 0===t?void 0:t.contentfulSlug,r=Vf(e),o=null==e?void 0:e.id,i=new URLSearchParams(window.location.search).get("platformSlug"),a=n??i,s=new URLSearchParams(window.location.search);o&&s.set("accountId",o);const l="demo"===bo.environment||"preview"===bo.environment?"/app/login/sandbox":"/app/login",c=encodeURIComponent(`?${s}`),u=a&&r?`/${a}`:"",d=`?redirect=${window.location.pathname}${c}`;window.location.replace(`${l}${u}${d}`)}},Jf=()=>{zf.cancel(),Kf.cancel(),(0,jr.$0)(),(0,jr.hw)()},eh=di().create({baseURL:"/api",headers:{"content-type":"application/json"}}),th=di().create({baseURL:"/onboarding",headers:{"content-type":"application/json"}}),nh=e=>{if(e.headers){var t,n;if(bp()&&(e.headers["x-auth-token"]=(0,jr.c4)()??""),null!==(t=window.airwallex)&&void 0!==t&&t.region&&(e.headers["x-region"]=window.airwallex.region),!e.headers[xp.t]){const t=(0,jr.IP)();t&&(e.headers[xp.t]=t)}const r=null===(n=window)||void 0===n||null===(n=n.airwallex)||void 0===n||null===(n=n.i18n)||void 0===n?void 0:n.langKey;r&&(e.headers["x-lang-key"]=r)}return e};eh.interceptors.request.use(nh),th.interceptors.request.use(nh);const rh=["/currentuser","/user/account","/v2/reauth","/authenticate/heartbeat"];eh.interceptors.response.use((e=>e),(e=>{var t,n;return 401===(null==e||null===(t=e.response)||void 0===t?void 0:t.status)?(console.error(`Failed to authenticate the user, error: ${(0,ci.M)(e)}`),rh.includes(null==e||null===(n=e.config)||void 0===n?void 0:n.url)&&(Jf(),Qf())):console.error(`Failed api call, error: ${(0,ci.M)(e)}`),Promise.reject(e)}));var oh=n(27243),ih=n.t(oh,2),ah=Oc?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function sh(){Hs("createContext"in ih,46);var e=oh.createContext[ah];return e||(Object.defineProperty(oh.createContext,ah,{value:e=oh.createContext({}
43),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}var lh=function(e){var t=e.client,n=e.children,r=sh(),o=oh.useContext(r),i=oh.useMemo((function(){return pa(pa({},o),{client:t||o.client})}),[o,t]);return Hs(i.client,47),oh.createElement(r.Provider,{value:i},n)},ch=n(63878),uh=n(42536);let dh=function(e){e()};const ph=()=>dh,fh=Symbol.for("react-redux-context"),hh="undefined"!=typeof globalThis?globalThis:{};function mh(){var e;if(!s.createContext)return{};const t=null!=(e=hh[fh])?e:hh[fh]=new Map;let n=t.get(s.createContext);return n||(n=s.createContext(null),t.set(s.createContext,n)),n}const gh=mh();function vh(e=gh){return function(){return(0,s.useContext)(e)}}const yh=vh(),bh=()=>{throw new Error("uSES not initialized!")};let wh=bh;const xh=(e,t)=>e===t;function kh(e=gh){const t=e===gh?yh:vh(e);return function(e,n={}){const{equalityFn:r=xh,stabilityCheck:o,noopCheck:i}="function"==typeof n?{equalityFn:n}:n,{store:a,subscription:l,getServerState:c,stabilityCheck:u,noopCheck:d}=t(),p=((0,s.useRef)(!0),(0,s.useCallback)({[e.name]:t=>e(t)}[e.name],[e,u,o])),f=wh(l.addNestedSub,a.getState,c||a.getState,p,r);return(0,s.useDebugValue)(f),f}}const Ch=kh();var Eh=n(58168),Sh=n(98587),Oh=n(44363);const Ah=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function _h(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:i,areStatePropsEqual:a}){let s,l,c,u,d,p=!1;return function(f,h){return p?function(p,f){const h=!i(f,l),m=!o(p,s,f,l);return s=p,l=f,h&&m?(c=e(s,l),t.dependsOnOwnProps&&(u=t(r,l)),d=n(c,u,l),d):h?(e.dependsOnOwnProps&&(c=e(s,l)),t.dependsOnOwnProps&&(u=t(r,l)),d=n(c,u,l),d):m?function(){const t=e(s,l),r=!a(t,c);return c=t,r&&(d=n(c,u,l)),d}():d}(f,h):(s=f,l=h,c=e(s,l),u=t(r,l),d=n(c,u,l),p=!0,d)}}function Ph(e){return function(t){const n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function jh(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function Th(e,t){return function(t,{displayName:n}){const r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=jh(e);let o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=jh(o),o=r(t,n)),o},r}}function Ih(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function Lh(e,t,n){return(0,Eh.A)({},n,e,t)}const Nh={notify(){},get:()=>[]};function Rh(e,t){let n,r=Nh,o=0,i=!1;function a(){c.onStateChange&&c.onStateChange()}function s(){o++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){const e=ph();let t=null,n=null;return{clear(){t=null,n=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}function l(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=Nh)}const c={addNestedSub:function(e){s();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),l())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,s())},tryUnsubscribe:function(){i&&(i=!1,l())},getListeners:()=>r};return c}const Dh="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?s.useLayoutEffect:s.useEffect;function Fh(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function Mh(e,t){if(Fh(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!Fh(e[n[r]],t[n[r]]))return!1;return!0}const Bh=["reactReduxForwardedRef"];let Vh=bh;const zh=[null,null];function Uh(e,t,n,r,o,i){e.current=r,n.current=!1,o.current&&(o.current=null,i())}function Hh(e,t){return e===t}const qh=function({store:e,context:t,children:n,serverState:r,stabilityCheck:o="once",noopCheck:i="once"}){const a=s.useMemo((()=>{const t=Rh(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0,stabilityCheck:o,noopCheck:i}}),[e,r,o,i]),l=s.useMemo((()=>e.getState()),[e]);Dh((()=>{const{subscription:t}=a;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),l!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[a,l]);const c=t||gh;return s.createElement(c.Provider,{value:a},n)};function Wh(e=gh){const t=e===gh?yh:vh(e);return function(){const{store:e}=t();return e}}const $h=Wh();function Gh(e=gh){const t=e===gh?$h:Wh(e);return function(){return t().dispatch}}const Kh=Gh();var Zh;(e=>{wh=e})(uh.useSyncExternalStoreWithSelector),(e=>{Vh=e})(ch.useSyncExternalStore),Zh=la.unstable_batchedUpdates,dh=Zh;var Yh=n(38803);const Xh=()=>Kh(),Qh=Ch;let Jh=function(e){return e.en="en",e.zh="zh",e.fr="fr",e["en-US"]="en-US",e["es-MX"]="es-MX",e.ko="ko",e.ja="ja",e.de="de",e.vi="vi",e["pt-BR"]="pt-BR",e}({});const em=()=>{var e;const t=hn(),n=(null==t||null===(e=t.webappSupportedLangs)||void 0===e?void 0:e.split(","))||["en","zh"],r=Qh((e=>{var t;return null==e||null===(t=e.user)||void 0===t||null===(t=t.data)||void 0===t||null===(t=t.user)||void 0===t?void 0:t.langKey})),o=(navigator.language||navigator.browserLanguage).substr(0,2),i=(0,jr.sC)()||r||o;return n.includes(i)?i:Jh.en},tm=e=>t=>e.includes(t)?t:"en",nm=e=>(0,jr.Qw)(e),rm={marketing:!0,statistics:!0},om=()=>
43{const e=nm("awxPrivacyConsent");if(!e)return rm;try{const t=JSON.parse(e);return(null==t?void 0:t.values)??rm}catch(e){return console.error("Error parsing consent values from local storage",(0,ci.M)(e)),rm}},im=["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE"],am=e=>im.includes(e.toUpperCase()),sm=()=>{const e=om();if("boolean"==typeof e.statistics)return e.statistics?"granted":"denied";const t=(0,jr.gI)();return t&&am(t)?"denied":"granted"},lm=()=>{var e,t,n,r,o,i;const{pathname:a}=(0,Yh.useLocation)(),l=Qh((e=>e.user)),c=Qh((e=>e.account)),u=Qh((e=>e.accountGroup)),d=Qh((e=>e.org)),p=em(),f=Qh((e=>{var t;return null===(t=e.account.kycRecord)||void 0===t?void 0:t.status})),h=zr.commonData.sessionId;return(0,s.useEffect)((()=>{var e;const t=null==l||null===(e=l.data)||void 0===e||null===(e=e.user)||void 0===e?void 0:e.id;var n,r,o,i;t&&(null===(n=(r=window).clarity)||void 0===n||n.call(r,"identify",t,h||""),null===(o=(i=window).clarity)||void 0===o||o.call(i,"consentv2",{ad_Storage:"denied",analytics_Storage:sm()}))}),[a,h,null==l||null===(e=l.data)||void 0===e||null===(e=e.user)||void 0===e?void 0:e.id]),(0,s.useEffect)((()=>{f&&Qo({account_kyc_status:f})}),[f]),(0,s.useEffect)((()=>{var e,t;null!=l&&null!==(e=l.data)&&void 0!==e&&null!==(e=e.user)&&void 0!==e&&e.id&&Jo(null==l||null===(t=l.data)||void 0===t||null===(t=t.user)||void 0===t?void 0:t.id)}),[null==l||null===(t=l.data)||void 0===t||null===(t=t.user)||void 0===t?void 0:t.id]),(0,s.useEffect)((()=>{p&&Qo({lang_key:p})}),[p]),(0,s.useEffect)((()=>{null!=c&&c.id&&Qo({account_id:null==c?void 0:c.id}),null!=u&&u.id&&Qo({account_group_id:null==u?void 0:u.id})}),[null==c?void 0:c.id,null==u?void 0:u.id]),(0,s.useEffect)((()=>{var e;const t=null==c||null===(e=c.accountDetails)||void 0===e||null===(e=e.businessDetails)||void 0===e?void 0:e.businessName;t&&Qo({account_business_name:xo(t)})}),[null==c||null===(n=c.accountDetails)||void 0===n||null===(n=n.businessDetails)||void 0===n?void 0:n.businessName]),(0,s.useEffect)((()=>{var e,t;null!=d&&null!==(e=d.data)&&void 0!==e&&e.id&&Qo({org_id:null==d||null===(t=d.data)||void 0===t?void 0:t.id})}),[null==d||null===(r=d.data)||void 0===r?void 0:r.id]),(0,s.useEffect)((()=>{var e;const t=null==l||null===(e=l.data)||void 0===e||null===(e=e.user)||void 0===e?void 0:e.email;t&&Qo({email:xo(t)})}),[null==l||null===(o=l.data)||void 0===o||null===(o=o.user)||void 0===o?void 0:o.email]),(0,s.useEffect)((()=>{var e;const t=null==l||null===(e=l.data)||void 0===e||null===(e=e.user)||void 0===e?void 0:e.phoneNumber;t&&Qo({phone_number:xo(t)})}),[null==l||null===(i=l.data)||void 0===i||null===(i=i.user)||void 0===i?void 0:i.phoneNumber]),(0,s.useEffect)((()=>{const e=(0,jr.Ot)();e&&Qo({ip_address:xo(e)})}),[]),(0,s.useEffect)((()=>{Wo()}),[a]),null};(new(n(77232).UAParser)).getDevice().type;const cm=(e,t)=>"MEXPAGO_MX"===e||"AIRWALLEX_JP"===e&&!(null!=t&&t.gtpnJapanFullLaunchExperience);function um(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function dm(e){return!!e&&!!e[Ym]}function pm(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===Xm}(e)||Array.isArray(e)||!!e[Zm]||!!(null===(t=e.constructor)||void 0===t?void 0:t[Zm])||ym(e)||bm(e))}function fm(e,t,n){void 0===n&&(n=!1),0===hm(e)?(n?Object.keys:Qm)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function hm(e){var t=e[Ym];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ym(e)?2:bm(e)?3:0}function mm(e,t){return 2===hm(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function gm(e,t,n){var r=hm(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function vm(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function ym(e){return Wm&&e instanceof Map}function bm(e){return $m&&e instanceof Set}function wm(e){return e.o||e.t}function xm(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Jm(e);delete t[Ym];for(var n=Qm(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function km(e,t){return void 0===t&&(t=!1),Em(e)||dm(e)||!pm(e)||(hm(e)>1&&(e.set=e.add=e.clear=e.delete=Cm),Object.freeze(e),t&&fm(e,(function(e,t){return km(t,!0)}),!0)),e}function Cm(){um(2)}function Em(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function Sm(e){var t=eg[e];return t||um(18,e),t}
vendor: 5,321 bytes, line 43
43function Om(){return Hm}function Am(e,t){t&&(Sm("Patches"),e.u=[],e.s=[],e.v=t)}function _m(e){Pm(e),e.p.forEach(Tm),e.p=null}function Pm(e){e===Hm&&(Hm=e.l)}function jm(e){return Hm={p:[],l:Hm,h:e,m:!0,_:0}}function Tm(e){var t=e[Ym];0===t.i||1===t.i?t.j():t.g=!0}function Im(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.O||Sm("ES5").S(t,e,r),r?(n[Ym].P&&(_m(t),um(4)),pm(e)&&(e=Lm(t,e),t.l||Rm(t,e)),t.u&&Sm("Patches").M(n[Ym].t,e,t.u,t.s)):e=Lm(t,n,[]),_m(t),t.u&&t.v(t.u,t.s),e!==Km?e:void 0}function Lm(e,t,n){if(Em(t))return t;var r=t[Ym];if(!r)return fm(t,(function(o,i){return Nm(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return Rm(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=xm(r.k):r.o,i=o,a=!1;3===r.i&&(i=new Set(o),o.clear(),a=!0),fm(i,(function(t,i){return Nm(e,r,o,t,i,n,a)})),Rm(e,o,!1),n&&e.u&&Sm("Patches").N(r,n,e.u,e.s)}return r.o}function Nm(e,t,n,r,o,i,a){if(dm(o)){var s=Lm(e,o,i&&t&&3!==t.i&&!mm(t.R,r)?i.concat(r):void 0);if(gm(n,r,s),!dm(s))return;e.m=!1}else a&&n.add(o);if(pm(o)&&!Em(o)){if(!e.h.D&&e._<1)return;Lm(e,o),t&&t.A.l||Rm(e,o)}}function Rm(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&km(t,n)}function Dm(e,t){var n=e[Ym];return(n?wm(n):e)[t]}function Fm(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Mm(e){e.P||(e.P=!0,e.l&&Mm(e.l))}function Bm(e){e.o||(e.o=xm(e.t))}function Vm(e,t,n){var r=ym(t)?Sm("MapSet").F(t,n):bm(t)?Sm("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:Om(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=tg;n&&(o=[r],i=ng);var a=Proxy.revocable(o,i),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(t,n):Sm("ES5").J(t,n);return(n?n.A:Om()).p.push(r),r}function zm(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return xm(e)}var Um,Hm,qm="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Wm="undefined"!=typeof Map,$m="undefined"!=typeof Set,Gm="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Km=qm?Symbol.for("immer-nothing"):((Um={})["immer-nothing"]=!0,Um),Zm=qm?Symbol.for("immer-draftable"):"__$immer_draftable",Ym=qm?Symbol.for("immer-state"):"__$immer_state",Xm=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Qm="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Jm=Object.getOwnPropertyDescriptors||function(e){var t={};return Qm(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},eg={},tg={get:function(e,t){if(t===Ym)return e;var n=wm(e);if(!mm(n,t))return function(e,t,n){var r,o=Fm(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!pm(r)?r:r===Dm(e.t,t)?(Bm(e),e.o[t]=Vm(e.A.h,r,e)):r},has:function(e,t){return t in wm(e)},ownKeys:function(e){return Reflect.ownKeys(wm(e))},set:function(e,t,n){var r=Fm(wm(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=Dm(wm(e),t),i=null==o?void 0:o[Ym];if(i&&i.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(vm(n,o)&&(void 0!==n||mm(e.t,t)))return!0;Bm(e),Mm(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==Dm(e.t,t)||t in e.t?(e.R[t]=!1,Bm(e),Mm(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=wm(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){um(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){um(12)}},ng={};fm(tg,(function(e,t){ng[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),ng.deleteProperty=function(e,t){return ng.set.call(this,e,t,void 0)},ng.set=function(e,t,n){return tg.set.call(this,e[0],t,n,e[0])};var rg=function(){function e(e){var t=this;this.O=Gm,this.D=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var o=n;n=e;var i=t;return function(e){var t=this;void 0===e&&(e=o);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return i.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(a))}))}}var a;if("function"!=typeof n&&um(6),void 0!==r&&"function"!=typeof r&&um(7),pm(e)){var s=jm(t),l=Vm(t,e,void 0),c=!0;try{a=n(l),c=!1}finally{c?_m(s):Pm(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(e){return Am(s,r),Im(e,s)}),(function(e){throw _m(s),e})):(Am(s,r),Im(a,s))}if(!e||"object"!=typeof e){if(void 0===(a=n(e))&&(a=e),a===Km&&(a=void 0),t.D&&km(a,!0),r){var u=[],d=[];Sm("Patches").M(e,a,u,d),r(u,d)}return a}um(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))};var r,o,i=t.produce(e,n,(function(e,t){r=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,r,o]}
43)):[i,r,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){pm(e)||um(8),dm(e)&&(e=function(e){return dm(e)||um(22,e),function e(t){if(!pm(t))return t;var n,r=t[Ym],o=hm(t);if(r){if(!r.P&&(r.i<4||!Sm("ES5").K(r)))return r.t;r.I=!0,n=zm(t,o),r.I=!1}else n=zm(t,o);return fm(n,(function(t,o){r&&function(e,t){return 2===hm(e)?e.get(t):e[t]}(r.t,t)===o||gm(n,t,e(o))})),3===o?new Set(n):n}(e)}(e));var t=jm(this),n=Vm(this,e,void 0);return n[Ym].C=!0,Pm(t),n},t.finishDraft=function(e,t){var n=(e&&e[Ym]).A;return Am(n,t),Im(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!Gm&&um(20),this.O=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=Sm("Patches").$;return dm(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),og=new rg,ig=og.produce;og.produceWithPatches.bind(og),og.setAutoFreeze.bind(og),og.setUseProxies.bind(og),og.applyPatches.bind(og),og.createDraft.bind(og),og.finishDraft.bind(og);const ag=ig;function sg(e){return sg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sg(e)}function lg(e,t,n){return(t=function(e){var t=function(e){if("object"!=sg(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=sg(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==sg(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ug(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cg(Object(n),!0).forEach((function(t){lg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dg(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var pg="function"==typeof Symbol&&Symbol.observable||"@@observable",fg=function(){return Math.random().toString(36).substring(7).split("").join(".")},hg={INIT:"@@redux/INIT"+fg(),REPLACE:"@@redux/REPLACE"+fg(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+fg()}};function mg(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(dg(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(dg(1));return n(mg)(e,t)}if("function"!=typeof e)throw new Error(dg(2));var o=e,i=t,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function u(){if(l)throw new Error(dg(3));return i}function d(e){if("function"!=typeof e)throw new Error(dg(4));if(l)throw new Error(dg(5));var t=!0;return c(),s.push(e),function(){if(t){if(l)throw new Error(dg(6));t=!1,c();var n=s.indexOf(e);s.splice(n,1),a=null}}}function p(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(dg(7));if(void 0===e.type)throw new Error(dg(8));if(l)throw new Error(dg(9));try{l=!0,i=o(i,e)}finally{l=!1}for(var t=a=s,n=0;n<t.length;n++)(0,t[n])();return e}return p({type:hg.INIT}),(r={dispatch:p,subscribe:d,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(dg(10));o=e,p({type:hg.REPLACE})}})[pg]=function(){var e,t=d;return e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(dg(11));function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}},e[pg]=function(){return this},e},r}function gg(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];"function"==typeof e[o]&&(n[o]=e[o])}var i,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:hg.INIT}))throw new Error(dg(12));if(void 0===n(void 0,{type:hg.PROBE_UNKNOWN_ACTION()}))throw new Error(dg(13))}))}(n)}catch(e){i=e}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var r=!1,o={},s=0;s<a.length;s++){var l=a[s],c=n[l],u=e[l],d=c(u,t);if(void 0===d)throw t&&t.type,new Error(dg(14));o[l]=d,r=r||d!==u}return(r=r||a.length!==Object.keys(e).length)?o:e}}function vg(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function yg(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(dg(15
43))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return r=vg.apply(void 0,i)(n.dispatch),ug(ug({},n),{},{dispatch:r})}}}function bg(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}var wg=bg();wg.withExtraArgument=bg;const xg=wg;var kg=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Cg=function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e},Eg=Object.defineProperty,Sg=Object.defineProperties,Og=Object.getOwnPropertyDescriptors,Ag=Object.getOwnPropertySymbols,_g=Object.prototype.hasOwnProperty,Pg=Object.prototype.propertyIsEnumerable,jg=function(e,t,n){return t in e?Eg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},Tg=function(e,t){for(var n in t||(t={}))_g.call(t,n)&&jg(e,n,t[n]);if(Ag)for(var r=0,o=Ag(t);r<o.length;r++)n=o[r],Pg.call(t,n)&&jg(e,n,t[n]);return e},Ig=function(e,t){return Sg(e,Og(t))},Lg="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?vg:vg.apply(null,arguments)};function Ng(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(t){var o=t.apply(void 0,n);if(!o)throw new Error("prepareAction did not return an object");return Tg(Tg({type:e,payload:o.payload},"meta"in o&&{meta:o.meta}),"error"in o&&{error:o.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var Rg=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return kg(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,Cg([void 0],e[0].concat(this)))):new(t.bind.apply(t,Cg([void 0],e.concat(this))))},t}(Array),Dg=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return kg(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,Cg([void 0],e[0].concat(this)))):new(t.bind.apply(t,Cg([void 0],e.concat(this))))},t}(Array);function Fg(e){return pm(e)?ag(e,(function(){})):e}function Mg(e){var t,n={},r=[],o={addCase:function(e,t){var r="string"==typeof e?e:e.type;if(!r)throw new Error("`builder.addCase` cannot be called with an empty action type");if(r in n)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return n[r]=t,o},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),o},addDefaultCase:function(e){return t=e,o}};return e(o),[n,r,t]}function Bg(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var n,r="function"==typeof e.initialState?e.initialState:Fg(e.initialState),o=e.reducers||{},i=Object.keys(o),a={},s={},l={};function c(){var t="function"==typeof e.extraReducers?Mg(e.extraReducers):[e.extraReducers],n=t[0],o=void 0===n?{}:n,i=t[1],a=void 0===i?[]:i,l=t[2],c=void 0===l?void 0:l,u=Tg(Tg({},o),s);return function(e,t,n){void 0===n&&(n=[]);var r,o=Mg(t),i=o[0],a=o[1],s=o[2];if(function(e){return"function"==typeof e}(e))r=function(){return Fg(e())};else{var l=Fg(e);r=function(){return l}}function c(e,t){void 0===e&&(e=r());var n=Cg([i[t.type]],a.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===n.filter((function(e){return!!e})).length&&(n=[s]),n.reduce((function(e,n){if(n){var r;if(dm(e))return void 0===(r=n(e,t))?e:r;if(pm(e))return ag(e,(function(e){return n(e,t)}));if(void 0===(r=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return e}),e)}return c.getInitialState=r,c}(r,(function(e){for(var t in u)e.addCase(t,u[t]);for(var n=0,r=a;n<r.length;n++){var o=r[n];e.addMatcher(o.matcher,o.reducer)}c&&e.addDefaultCase(c)}))}
43return i.forEach((function(e){var n,r,i=o[e],c=function(e,t){return e+"/"+t}(t,e);"reducer"in i?(n=i.reducer,r=i.prepare):n=i,a[e]=n,s[c]=n,l[e]=r?Ng(c,r):Ng(c)})),{name:t,reducer:function(e,t){return n||(n=c()),n(e,t)},actions:l,caseReducers:a,getInitialState:function(){return n||(n=c()),n.getInitialState()}}}var Vg=["name","message","stack","code"],zg=function(e,t){this.payload=e,this.meta=t},Ug=function(e,t){this.payload=e,this.meta=t},Hg=function(e){if("object"==typeof e&&null!==e){for(var t={},n=0,r=Vg;n<r.length;n++){var o=r[n];"string"==typeof e[o]&&(t[o]=e[o])}return t}return{message:String(e)}},qg=function(){function e(e,t,n){var r=Ng(e+"/fulfilled",(function(e,t,n,r){return{payload:e,meta:Ig(Tg({},r||{}),{arg:n,requestId:t,requestStatus:"fulfilled"})}})),o=Ng(e+"/pending",(function(e,t,n){return{payload:void 0,meta:Ig(Tg({},n||{}),{arg:t,requestId:e,requestStatus:"pending"})}})),i=Ng(e+"/rejected",(function(e,t,r,o,i){return{payload:o,error:(n&&n.serializeError||Hg)(e||"Rejected"),meta:Ig(Tg({},i||{}),{arg:r,requestId:t,rejectedWithValue:!!o,requestStatus:"rejected",aborted:"AbortError"===(null==e?void 0:e.name),condition:"ConditionError"===(null==e?void 0:e.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return e.prototype.abort=function(){},e}();return Object.assign((function(e){return function(s,l,c){var u,d=(null==n?void 0:n.idGenerator)?n.idGenerator(e):function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t}(),p=new a;function f(e){u=e,p.abort()}var h=function(){return a=this,h=null,m=function(){var a,h,m,g,v,y;return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}(this,(function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),null===(w=g=null==(a=null==n?void 0:n.condition)?void 0:a.call(n,e,{getState:l,extra:c}))||"object"!=typeof w||"function"!=typeof w.then?[3,2]:[4,g];case 1:g=b.sent(),b.label=2;case 2:if(!1===g||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return v=new Promise((function(e,t){return p.signal.addEventListener("abort",(function(){return t({name:"AbortError",message:u||"Aborted"})}))})),s(o(d,e,null==(h=null==n?void 0:n.getPendingMeta)?void 0:h.call(n,{requestId:d,arg:e},{getState:l,extra:c}))),[4,Promise.race([v,Promise.resolve(t(e,{dispatch:s,getState:l,extra:c,requestId:d,signal:p.signal,abort:f,rejectWithValue:function(e,t){return new zg(e,t)},fulfillWithValue:function(e,t){return new Ug(e,t)}})).then((function(t){if(t instanceof zg)throw t;return t instanceof Ug?r(t.payload,d,e,t.meta):r(t,d,e)}))])];case 3:return m=b.sent(),[3,5];case 4:return y=b.sent(),m=y instanceof zg?i(null,d,e,y.payload,y.meta):i(y,d,e),[3,5];case 5:return n&&!n.dispatchConditionRejection&&i.match(m)&&m.meta.condition||s(m),[2,m]}var w}))},new Promise((function(e,t){var n=function(e){try{o(m.next(e))}catch(e){t(e)}},r=function(e){try{o(m.throw(e))}catch(e){t(e)}},o=function(t){return t.done?e(t.value):Promise.resolve(t.value).then(n,r)};o((m=m.apply(a,h)).next())}));var a,h,m}();return Object.assign(h,{abort:f,requestId:d,arg:e,unwrap:function(){return h.then(Wg)}})}}),{pending:o,rejected:i,fulfilled:r,typePrefix:e})}return e.withTypes=function(){return e},e}();function Wg(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}Object.assign;var $g="listenerMiddleware";Ng($g+"/add"),Ng($g+"/removeAll"),Ng($g+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:void 0!==n.g?n.g:globalThis);"undefined"!=typeof window&&window.requestAnimationFrame&&window.requestAnimationFrame,function(){function e(e,t){var n=o[e];return n?n.enumerable=t:o[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[Ym];return tg.get(t,e)},set:function(t){var n=this[Ym];tg.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var o=e[t][Ym];if(!o.P)switch(o.i){case 5:r(o)&&Mm(o);break;case 4:n(o)&&Mm(o)}}}function n(e){for(var t=e.t,n=e.k,r=Qm(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==Ym){var a=t[i];if(void 0===a&&!mm(t,i))return!0;var s=n[i],l=s&&s[Ym];if(l?l.t!==a:!vm(s,a))return!0}}var c=!!t[Ym];return r.length!==Qm(t).length+(c?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var o={};!function(e,t){eg[e]||(eg[e]=t)}("ES5",{J:function(t,n){var r=Array.isArray(t),o=function(t,n){if(t){for(var r=Array(n.length),o=0;o<n.length;o++)Object.defineProperty(r,""+o,e(o,!0));return r}var i=Jm(n);delete i[Ym];for(var a=Qm(i),s=0;s<a.length;s++){var l=a[s];i[l]=e(l,t||!!i[l].enumerable)}return Object.create(Object.getPrototypeOf(n),i)}(r,t),i={i:r?5:4,A:n?n.A:Om(),P:!1,I:!1,R:{},l:n,t,k:o,o:null,g:!1,C:!1};return Object.defineProperty(o,Ym,{value:i,writable:!0}),o},S:function(e,n,o){o?dm(n)&&n[Ym].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[Ym];if(n){var o=n.t,i=n.k,a=n.R,s=n.i;if(4===s)fm(i,(function(t){t!==Ym&&(void 0!==o[t]||mm(o,t)?a[t]||e(i[t]):(a[t]=!0,Mm(n)))})),fm(o,(function(e){void 0!==i[e]||mm(i,e)||(a[e]=!1,Mm(n))}));else if(5===s){if(r(n)&&(Mm(n),a.length=!0),i.length<o.length)for(var l=i.length;l<o.length;l++)a[l]=!1;else for(var c=o.length;c<i.length;c++)a[c]=!0;for(var u=Math.min(i.length,o.length),d=0;d<u;d++)i.hasOwnProperty(d)||(a[d]=!0),void 0===a[d]&&e(i[d])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}();const Gg=Bg({name:"themeOverride",initialState:{override:null,semanticTokensV9:null},reducers:{setThemeOverride:(e,t)=>({override:t.payload.override??null,semanticTokensV9:t.payload.semanticTokensV9??null})}}),{setThemeOverride:Kg}=Gg.actions,{actions:Zg,reducer:Yg}=Gg,Xg=e=>e.themeOverride.override,Qg=e=>e.themeOverride.semanticTokensV9;var Jg="NOT_FOUND",ev=function(e,t){return e===t};function tv(e,t){var n,r,o="object"==typeof t?t:{equalityCheck:t},i=o.equalityCheck,a=void 0===i?ev:i,s=o.maxSize,l=void 0===s?1:s,c=o.resultEqualityCheck,u=function(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}}(a),d=1===l?(n=u,{get:function(e){return r&&n(r.key,e)?r.value:Jg},put:function(e,t){r={key:e,value:t}},getEntries:function(){return r?[r]:[]},clear:function(){r=void 0}}):function(e,t){var n=[];
43function r(e){var r=n.findIndex((function(n){return t(e,n.key)}));if(r>-1){var o=n[r];return r>0&&(n.splice(r,1),n.unshift(o)),o.value}return Jg}return{get:r,put:function(t,o){r(t)===Jg&&(n.unshift({key:t,value:o}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(l,u);function p(){var t=d.get(arguments);if(t===Jg){if(t=e.apply(null,arguments),c){var n=d.getEntries().find((function(e){return c(e.value,t)}));n&&(t=n.value)}d.put(arguments,t)}return t}return p.clearCache=function(){return d.clear()},p}function nv(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];var i,a=0,s={memoizeOptions:void 0},l=r.pop();if("object"==typeof l&&(s=l,l=r.pop()),"function"!=typeof l)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof l+"]");var c=s.memoizeOptions,u=void 0===c?n:c,d=Array.isArray(u)?u:[u],p=function(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return"function"==typeof e?"function "+(e.name||"unnamed")+"()":typeof e})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+n+"]")}return t}(r),f=e.apply(void 0,[function(){return a++,l.apply(null,arguments)}].concat(d)),h=e((function(){for(var e=[],t=p.length,n=0;n<t;n++)e.push(p[n].apply(null,arguments));return i=f.apply(null,e)}));return Object.assign(h,{resultFunc:l,memoizedResultFunc:f,dependencies:p,lastResult:function(){return i},recomputations:function(){return a},resetRecomputations:function(){return a=0}}),h}}var rv=nv(tv);const ov=(e,t)=>e??t,iv="/public/favicon.ico",av={"16x16":"/public/favicon-16x16.png","32x32":"/public/favicon-32x32.png","180x180":"/public/apple-touch-icon.png"},sv=e=>{let{account:t,accountGroup:n,isCardUserOnly:r,assistantMode:o}=e;const i=(0,jr.sC)(),a=If({account:t});return n.id?{langKey:i,contextType:"account-group"}:r||o?{langKey:i,contextType:"cardholder-only",partnerTheme:a}:{langKey:i,contextType:"default",partnerTheme:a}},lv=rv([e=>e.account,e=>e.accountGroup],((e,t)=>sv({account:e,accountGroup:t}))),cv=(e,t)=>{const n=Qh(Xg),r=Qh(Qg),{pffEnableSemanticColorsV9:o=!1}=hn();return(0,s.useMemo)((()=>({...e,themeOverride:n??t,semanticTokensV9:ov(r,o)})),[e,t,n,r,o])};var uv=n(51581);function dv(e){return e.every((function(e){const[,t,n]=e.split(":");return"awx_action"===t||"issuing.card_user"===n||(null==n?void 0:n.startsWith("issuing.card_user."))||"expense_management.expense"===n||(null==n?void 0:n.startsWith("expense_management.expense."))||"bill_pay.bill"===n||(null==n?void 0:n.startsWith("bill_pay.bill."))||"bill_pay.bill_v2"===n||(null==n?void 0:n.startsWith("bill_pay.bill_v2."))}))&&e.length>0}function pv(e){return e.some((function(e){const[,t,n]=e.split(":");return"awx"===t&&("issuing.card_user"===n||(null==n?void 0:n.startsWith("issuing.card_user.")))}))}var fv,hv=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},mv="00000000-0000-0000-0000-000000001000",gv="00000000-0000-0000-0000-000000002000",vv="00000000-0000-0000-0000-000000005000",yv="00000000-0000-0000-0000-000000006000",bv="00000000-0000-0000-0000-000000007000",wv="00000000-0000-0000-0000-000000009000",xv="00000000-0000-0000-0000-000000040000",kv="00000000-0000-0000-0000-000000011000",Cv="00000000-0000-0000-0000-000000012000",Ev="00000000-0000-0000-0000-000000019000",Sv="00000000-0000-0000-0000-000000021000",Ov="00000000-0000-0000-0000-000000022000",Av="00000000-0000-0000-0000-000000023000",_v="00000000-0000-0000-0000-000000024000",Pv="00000000-0000-0000-0000-000000025000",jv="00000000-0000-0000-0000-000000026000",Tv="00000000-0000-0000-0000-000000027000",Iv=((fv={})[mv]=Sv,fv[gv]=Ov,fv["00000000-0000-0000-0000-000000030000"]=Av,fv["00000000-0000-0000-0000-000000031000"]=Pv,fv[bv]=Tv,fv["00000000-0000-0000-0000-000000032000"]=jv,fv),Lv=[kv,Cv,Ev,"00000000-0000-0000-0000-000000016000"],Nv=[Sv,Ov,Av,Pv,jv,Tv,_v],Rv=hv(hv(hv([],[mv,gv,vv,yv,bv,
43wv,xv],!0),Lv,!0),Nv,!0);const Dv={en:JSON.parse('{"00000000-0000-0000-0000-000000001000.label":"Owner","00000000-0000-0000-0000-000000001000.desc":"Can make critical account-level changes, such as adding and removing of other Owners, and control over the transfer approval workflows. ","00000000-0000-0000-0000-000000002000.label":"Account admin","00000000-0000-0000-0000-000000002000.desc":"Full access except critical account-level changes.","00000000-0000-0000-0000-000000040000.label":"Channel Partner","00000000-0000-0000-0000-000000040000.desc":"","00000000-0000-0000-0000-000000005000.label":"Cardholder","00000000-0000-0000-0000-000000005000.desc":"For employees to access their own cards.","00000000-0000-0000-0000-000000006000.label":"Analyst","00000000-0000-0000-0000-000000006000.desc":"For limited access to view wallet balances and create conversions and transfers.","00000000-0000-0000-0000-000000007000.label":"Developer","00000000-0000-0000-0000-000000007000.desc":"For setting up an Airwallex integration, can manage API keys which grants access to almost all Airwallex resources.","00000000-0000-0000-0000-000000009000.label":"Viewer","00000000-0000-0000-0000-000000009000.desc":"For viewing wallet balances, conversions and transfers, but cannot make any changes.","00000000-0000-0000-0000-000000011000.label":"Group owner","00000000-0000-0000-0000-000000011000.desc":"The Group owner has all the permissions and cannot be removed by Group Admins.","00000000-0000-0000-0000-000000012000.label":"Group admin","00000000-0000-0000-0000-000000012000.desc":"The Group admin has all the permissions including group user management.","00000000-0000-0000-0000-000000016000.label":"Group analyst","00000000-0000-0000-0000-000000016000.desc":"Access to transactional data and ability to aggregate funds","00000000-0000-0000-0000-000000019000.label":"Group viewer","00000000-0000-0000-0000-000000019000.desc":"The Group viewer has access to transactional data but cannot make any changes.","00000000-0000-0000-0000-000000021000.label":"Owner","00000000-0000-0000-0000-000000021000.desc":"Owners can do everything Admins can do plus enable / disable transfer approval workflows and invite other owners.","00000000-0000-0000-0000-000000022000.label":"Admin","00000000-0000-0000-0000-000000022000.desc":"Admins can do everything finance admins can do plus invite developers, other admins, and create new accounts and entities.","00000000-0000-0000-0000-000000023000.label":"Finance admin","00000000-0000-0000-0000-000000030000.label":"Finance admin","00000000-0000-0000-0000-000000023000.desc":"Finance admins can do everything a finance manager can plus invite users, set up connections, create and edit transfer approval workflows, and link bank accounts.","00000000-0000-0000-0000-000000024000.label":"Employee","00000000-0000-0000-0000-000000024000.desc":"Employees can submit expenses, reimbursements, and bills. They can be issued virtual or physical cards, but otherwise wonât have account access.","00000000-0000-0000-0000-000000025000.label":"Finance manager","00000000-0000-0000-0000-000000031000.label":"Finance manager","00000000-0000-0000-0000-000000025000.desc":"Finance managers can view wallet balances and transactions, create FX conversions and transfers, create global accounts, manage spend, and issue cards to new and existing users.","00000000-0000-0000-0000-000000026000.label":"Bookkeeper","00000000-0000-0000-0000-000000032000.label":"Bookkeeper","00000000-0000-0000-0000-000000026000.desc":"Bookkeepers can manage spend and view wallet balances, conversions, and transfers for accounting purposes.","00000000-0000-0000-0000-000000027000.label":"Developer","00000000-0000-0000-0000-000000027000.desc":"Developers can set up Airwallex integrations and manage API keys that grant access to most Airwallex resources."}'),zh:JSON.parse('{"00000000-0000-0000-0000-000000001000.label":"ææè
","00000000-0000-0000-0000-000000001000.desc":"è´¦æ·ææäººå¯ä»¥è¿è¡å
³é®çè´¦æ·çº§å«æ´æ¹ï¼ä¾å¦æ·»å åç§»é¤å
¶ä»è´¦æ·ææäººï¼ä»¥åæ§å¶è½¬è´¦å®¡æ¹æµç¨ã","00000000-0000-0000-0000-000000002000.label":"è´¦æ·ç®¡çå","00000000-0000-0000-0000-000000002000.desc":"è´¦æ·ç®¡ç忥æé¤å
³é®è´¦æ·çº§å«æ´æ¹ä»¥å¤çå®å
¨è®¿é®æéã","00000000-0000-0000-0000-000000040000.label":"æ¸ éå使¹","00000000-0000-0000-0000-000000040000.desc":"","00000000-0000-0000-0000-000000005000.label":"æå¡äºº","00000000-0000-0000-0000-000000005000.desc":"ææé使ç¨èæå¡","00000000-0000-0000-0000-000000006000.label":"åæå¸","00000000-0000-0000-0000-000000006000.desc":"ææéæ¥çäº¤ææ°æ®åå建å¾
å®äº¤æ","00000000-0000-0000-0000-000000007000.label":"å¼åè
","00000000-0000-0000-0000-000000007000.desc":"ææéæ¥ç设置 Airwallex éæï¼å¯ä»¥ç®¡ç API å¯é¥ï¼æäºè®¿é®å 乿æ Airwallex èµæºã","00000000-0000-0000-0000-000000009000.label":"æµè§è
","00000000-0000-0000-0000-000000009000.desc":"ææéæ¥çé±å
ä½é¢ãæ±æ¬¾å转账ï¼ä½ä¸è½è¿è¡ä»»ä½æ´æ¹ã","00000000-0000-0000-0000-000000011000.label":"ç¾¤ç»ææäºº","00000000-0000-0000-0000-000000011000.desc":"æ¥æå®æ´ç群ç»è®¿é®æéï¼å¹¶ä¸ä¸å¯è¢«ç¾¤ç»ç®¡çåç§»é¤","00000000-0000-0000-0000-000000012000.label":"群ç»ç®¡çå","00000000-0000-0000-0000-000000012000.desc":"æ¥æå®æ´ç群ç»è®¿é®æéï¼å
æ¬ç¾¤ç»ç¨æ·ç®¡ç","00000000-0000-0000-0000-000000016000.label":"群ç»åæå¸","00000000-0000-0000-0000-000000016000.desc":"ææéæ¥çäº¤ææ°æ®åå½é群ç»å
èµé","00000000-0000-0000-0000-000000019000.label":"ç¾¤ç»æµè§è
","00000000-0000-0000-0000-000000019000.desc":"ææéæ¥çäº¤ææ°æ®ä½æ æ³è¿è¡ä»»ä½æä½","00000000-0000-0000-0000-000000021000.label":"ææäºº","00000000-0000-0000-0000-000000021000.desc":"ææäººå¯ä»¥åææç®¡çåå¯ä»¥åçäºæ
ï¼è¿å¯ä»¥å¯ç¨/ç¦ç¨è½¬è´¦å®¡æ¹å·¥ä½æµï¼å¹¶é请å
¶ä»ææäººã","00000000-0000-0000-0000-000000022000.label":"管çå","00000000-0000-0000-0000-000000022000.desc":"管çåå¯ä»¥æ§è¡è´¢å¡ç®¡çåè½å¤æ§è¡çæææä½ï¼è¿å¯ä»¥é请å¼å人åãå
¶ä»ç®¡çåï¼å¹¶å建æ°è´¦æ·åå®ä½ã","00000000-0000-0000-0000-000000023000.label":"è´¢å¡ç®¡çå","00000000-0000-0000-0000-000000030000.label":"è´¢å¡ç®¡çå","00000000-0000-0000-0000-000000023000.desc":"è´¢å¡ç®¡çåå¯ä»¥åè´¢å¡ç»çå¯ä»¥åçææäºæ
ï¼å
æ¬éè¯·ç¨æ·ã建ç«è¿æ¥ãå建åç¼è¾è½¬è´¦å®¡æ¹å·¥ä½æµï¼ä»¥å龿¥é¶è¡è´¦æ·ã","00000000-0000-0000-0000-000000024000.label":"éå","00000000-0000-0000-0000-000000024000.desc":"æææäº¤è´¹ç¨ãæ¥éåè´¦åãä»ä»¬å¯ä»¥åè¡èæå¡æå®ä½å¡ï¼ä½ä¸ä¼æè´¦æ·è®¿é®æéã","00000000-0000-0000-0000-000000025000.label":"è´¢å¡ç»ç","00000000-0000-0000-0000-000000031000.label":"è´¢å¡ç»ç","00000000-0000-0000-0000-000000025000.desc":"æææ¥çé±å
ä½é¢å交æï¼åå»ºå¤æ±è½¬æ¢å转账ï¼å建å
¨çè´¦æ·ï¼ç®¡çæ¯åºï¼å¹¶åæ°ç¨æ·åç°æç¨æ·åå¡ã","00000000-0000-0000-0000-000000026000.label":"ä¼è®¡","00000000-0000-0000-0000-000000032000.label":"ä¼è®¡","00000000-0000-0000-0000-000000026000.desc":"ææç®¡çæ¯åºå¹¶æ¥çé±å
ä½é¢ã转æ¢å转账ï¼ä»¥ç¨äºä¼è®¡ç®çã","00000000-0000-0000-0000-000000027000.label":"å¼åè
","00000000-0000-0000-0000-000000027000.desc":"ææè®¾ç½® Airwallex éæå¹¶ç®¡çæäºè®¿é®å¤§å¤æ° Airwallex èµæºçAPIå¯é¥ã"}')};var Fv,Mv=function(){return Mv=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Mv.apply(this,arguments)},Bv=function(e,t,n){var r,o=n&&Iv[t]||t;return function(e){return Rv.includes(e)}(t)?null===(r=Dv[e])||void 0===r?void 0:r["".concat(o,".label")]:null},Vv=function(e){return e.slice().sort((function(e,t){return e.id===kv&&t.id!==kv?-1:t.id===kv&&e.id!==kv?1:e.id===Cv&&t.id!==Cv?-1:t.id===Cv&&e.id!==Cv?1:e.id===mv&&t.id!==mv?-1:t.id===mv&&e.
43id!==mv?1:e.id===gv&&t.id!==gv?-1:t.id===gv&&e.id!==gv?1:e.name.localeCompare(t.name)}))},zv=((Fv={})[kv]=1,Fv[Cv]=2,Fv[Ev]=3,Fv[vv]=4,Fv[gv]=5,Fv[yv]=6,Fv[wv]=7,Fv[bv]=8,Fv[mv]=9,Fv[Sv]=10,Fv[Ov]=11,Fv[Av]=12,Fv[Pv]=13,Fv[jv]=14,Fv[_v]=15,Fv[Tv]=16,function(e,t,n){return Vv(t.map((function(t){var r;return Mv(Mv({},t),{name:null!==(r=Bv(e,t.id,n))&&void 0!==r?r:t.name})})).filter((function(e){return!!e.name}))).map((function(e){return e.name})).join(", ")}),Uv=[[19968,40959],[13312,19903],[131072,173791],[173824,177983],[177984,178207],[178208,183983],[183984,191471],[196608,201551],[201552,205743],[13056,13311],[65072,65103],[63744,64255],[194560,195103]],Hv=[[12448,12543],[12352,12447]],qv=[...Hv,[12288,12351],[65280,65519],...Uv],Wv=(e,t=!0)=>{const n=e.map((e=>`[\\u{${e[0].toString(16)}}-\\u{${e[1].toString(16)}}]`)).join("|");return t?new RegExp(`^(?:${n})+$`,"u"):new RegExp(`(?:${n})`,"u")},$v=Wv(Uv),Gv=(Wv([[65,90],[97,122],[192,255],[256,383],[384,591],[7680,7935],[45,45],[39,39],[46,46],[44,44],[32,32],[40,41],[38,38],[34,34],[183,183]]),Wv([[44032,55203],[4352,4607],[12592,12687],[43360,43391],[55216,55295],[45,45],[39,39],[46,46],[44,44],[32,32],[40,41],[38,38],[34,34],[183,183]]),Wv(Hv),Wv(qv),Wv([...Uv,[183,183]])),Kv=(e,t=!0)=>t?Gv.test(e):$v.test(e),Zv=(e,t)=>{if(!(e=>{if(!e)return!1;const{firstName:t,lastName:n}=e;return!!(null==t?void 0:t.trim())&&!!(null==n?void 0:n.trim())})(e))return"";const{ignoreMiddleName:n}=t||{},{firstName:r="",middleName:o="",lastName:i=""}=e||{},a=r.trim(),s=o.trim(),l=i.trim();return Kv(a)&&Kv(l)?`${l}${a}`:[a,!n&&s?s:"",l].filter(Boolean).join(" ")},Yv=n(90179),Xv=n.n(Yv);const Qv=[],Jv=e=>e.org.data,ey=e=>e.org.cardsEnabledFetchFailed,ty=e=>e.org.hasDualOnboardingEntity,ny=e=>e.org.dualOnboardingResolved,ry=e=>{var t;return(null===(t=e.user.data)||void 0===t?void 0:t.allAccountPermissionsInOrg)??Qv},oy=e=>{var t;return(null===(t=e.user.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions)??Qv},iy=e=>{var t;return(null===(t=e.user.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions)??Qv},ay=rv([e=>e.user.data,(e,t)=>t],((e,t)=>{var n,r,o,i;return{name:Zv({firstName:(null==e||null===(n=e.user)||void 0===n?void 0:n.firstName)??"",lastName:(null==e||null===(r=e.user)||void 0===r?void 0:r.lastName)??""}),email:(null==e||null===(o=e.user)||void 0===o?void 0:o.email)||(null==e||null===(i=e.user)||void 0===i?void 0:i.phoneNumber)||"",roles:[zv(t,(null==e?void 0:e.orgRoles)??(null==e?void 0:e.roles)??[])]}})),sy=rv([Jv],(e=>e?Xv()(e,["posTerminalAccounts","orgPaEnabled","orgHasPlatformAccount"]):e));function ly(){return Qh(cy)}function cy(e){var t;let{user:n}=e;return!(null===(t=n.data)||void 0===t||!t.orgRoles)&&1===n.data.orgRoles.length&&n.data.orgRoles[0].id===_v}var uy,dy,py=!1,fy=ih.useSyncExternalStore||function(e,t,n){var r=t();!1===globalThis.__DEV__||py||r===t()||(py=!0,!1!==globalThis.__DEV__&&Hs.error(60));var o=oh.useState({inst:{value:r,getSnapshot:t}}),i=o[0].inst,a=o[1];return jc?oh.useLayoutEffect((function(){Object.assign(i,{value:r,getSnapshot:t}),hy(i)&&a({inst:i})}),[e,r,t]):Object.assign(i,{value:r,getSnapshot:t}),oh.useEffect((function(){return hy(i)&&a({inst:i}),e((function(){hy(i)&&a({inst:i})}))}),[e]),r};function hy(e){var t=e.value,n=e.getSnapshot;try{return t!==n()}catch(e){return!0}}function my(e){var t;switch(e){case uy.Query:t="Query";break;case uy.Mutation:t="Mutation";break;case uy.Subscription:t="Subscription"}return t}function gy(e){dy||(dy=new jl(Ll.parser||1e3));var t,n,r=dy.get(e);if(r)return r;Hs(!!e&&!!e.kind,62,e);for(var o=[],i=[],a=[],s=[],l=0,c=e.definitions;l<c.length;l++){var u=c[l];if("FragmentDefinition"!==u.kind){if("OperationDefinition"===u.kind)switch(u.operation){case"query":i.push(u);break;case"mutation":a.push(u);break;case"subscription":s.push(u)}}else o.push(u)}Hs(!o.length||i.length||a.length||s.length,63),Hs(i.length+a.length+s.length<=1,64,e,i.length,s.length,a.length),n=i.length?uy.Query:uy.Mutation,i.length||a.length||(n=uy.Subscription);var d=i.length?i:a.length?a:s;Hs(1===d.length,65,e,d.length);var p=d[0];t=p.variableDefinitions||[];var f={name:p.name&&"Name"===p.name.kind?p.name.value:"data",type:n,variables:t};return dy.set(e,f),f}function vy(e){var t=oh.useContext(sh()),n=e||t.client;return Hs(!!n,50),n}!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(uy||(uy={})),gy.resetCache=function(){dy=void 0},!1!==globalThis.__DEV__&&Rl("parser",(function(){return dy?dy.size:0}));var yy=Symbol.for("apollo.hook.wrappers"),by=Object.prototype.hasOwnProperty;function wy(){}var xy=Symbol();function ky(e,t){return void 0===t&&(t=Object.create(null)),(n=Cy,(i=(o=(r=vy(t&&t.client).queryManager)&&r[yy])&&o.useQuery)?i(n):n)(e,t);var n,r,o,i}function Cy(e,t){var n=function(e,t){var n=vy(t.client),r=oh.useContext(sh()).renderPromises,o=!!r,i=n.disableNetworkFetches,a=!1!==t.ssr&&!t.skip,s=t.partialRefetch,l=function(e,t,n,r){void 0===n&&(n={});var o=n.skip,i=(n.ssr,n.onCompleted,n.onError,n.defaultOptions),a=fa(n,["skip","ssr","onCompleted","onError","defaultOptions"]);return function(n){var s=Object.assign(a,{query:t});return!r||"network-only"!==s.fetchPolicy&&"cache-and-network"!==s.fetchPolicy||(s.fetchPolicy="cache-first"),s.variables||(s.variables={}),o?(s.initialFetchPolicy=s.initialFetchPolicy||s.fetchPolicy||Ay(i,e.defaultOptions),s.fetchPolicy="standby"):s.fetchPolicy||(s.fetchPolicy=(null==n?void 0:n.options.initialFetchPolicy)||Ay(i,e.defaultOptions)),s}}(n,e,t,o),c=function(e,t,n,r,o){function i(i){var a;return function(e,t){var n=gy(e),r=my(t),o=my(n.type);Hs(n.type===t,66,r,r,o)}(t,uy.Query),{client:e,query:t,observable:r&&r.getSSRObservable(
43o())||e.watchQuery(Ey(void 0,e,n,o())),resultData:{previousData:null===(a=null==i?void 0:i.resultData.current)||void 0===a?void 0:a.data}}}var a=oh.useState(i),s=a[0],l=a[1];function c(e){var t,n;Object.assign(s.observable,((t={})[xy]=e,t));var r=s.resultData;l(pa(pa({},s),{query:e.query,resultData:Object.assign(r,{previousData:(null===(n=r.current)||void 0===n?void 0:n.data)||r.previousData,current:void 0})}))}if(e!==s.client||t!==s.query){var u=i(s);return l(u),[u,c]}return[s,c]}(n,e,t,r,l),u=c[0],d=u.observable,p=u.resultData,f=c[1],h=l(d);!function(e,t,n,r,o){var i;t[xy]&&!Ou(t[xy],o)&&(t.reobserve(Ey(t,n,r,o)),e.previousData=(null===(i=e.current)||void 0===i?void 0:i.data)||e.previousData,e.current=void 0),t[xy]=o}(p,d,n,t,h);var m=oh.useMemo((function(){return function(e){return{refetch:e.refetch.bind(e),reobserve:e.reobserve.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}}(d)}),[d]);!function(e,t,n){t&&n&&(t.registerSSRObservable(e),e.getCurrentResult().loading&&t.addObservableQueryPromise(e))}(d,r,a);var g=function(e,t,n,r,o,i,a,s,l){var c=oh.useRef(l);oh.useEffect((function(){c.current=l}));var u=!s&&!i||!1!==r.ssr||r.skip?r.skip||"standby"===o.fetchPolicy?jy:void 0:Py,d=e.previousData,p=oh.useMemo((function(){return u&&_y(u,d,t,n)}),[n,t,u,d]);return fy(oh.useCallback((function(r){if(s)return function(){};var o=function(){var o=e.current,i=t.getCurrentResult();o&&o.loading===i.loading&&o.networkStatus===i.networkStatus&&Ou(o.data,i.data)||Sy(i,e,t,n,a,r,c.current)},i=function(s){if(l.current.unsubscribe(),l.current=t.resubscribeAfterError(o,i),!by.call(s,"graphQLErrors"))throw s;var u=e.current;(!u||u&&u.loading||!Ou(s,u.error))&&Sy({data:u&&u.data,error:s,loading:!1,networkStatus:Rd.error},e,t,n,a,r,c.current)},l={current:t.subscribe(o,i)};return function(){setTimeout((function(){return l.current.unsubscribe()}))}}),[i,s,t,e,a,n]),(function(){return p||Oy(e,t,c.current,a,n)}),(function(){return p||Oy(e,t,c.current,a,n)}))}(p,d,n,t,h,i,s,o,{onCompleted:t.onCompleted||wy,onError:t.onError||wy});return{result:g,obsQueryFields:m,observable:d,resultData:p,client:n,onQueryExecuted:f}}(e,t),r=n.result,o=n.obsQueryFields;return oh.useMemo((function(){return pa(pa({},r),o)}),[r,o])}function Ey(e,t,n,r){var o=[],i=t.defaultOptions.watchQuery;return i&&o.push(i),n.defaultOptions&&o.push(n.defaultOptions),o.push(Md(e&&e.options,r)),o.reduce(hp)}function Sy(e,t,n,r,o,i,a){var s=t.current;s&&s.data&&(t.previousData=s.data),!e.error&&Mc(e.errors)&&(e.error=new Dc({graphQLErrors:e.errors})),t.current=_y(function(e,t,n){return!e.partial||!n||e.loading||e.data&&0!==Object.keys(e.data).length||"cache-only"===t.options.fetchPolicy?e:(t.refetch(),pa(pa({},e),{loading:!0,networkStatus:Rd.refetch}))}(e,n,o),t.previousData,n,r),i(),function(e,t,n){if(!e.loading){var r=function(e){return Mc(e.errors)?new Dc({graphQLErrors:e.errors}):e.error}(e);Promise.resolve().then((function(){r?n.onError(r):e.data&&t!==e.networkStatus&&e.networkStatus===Rd.ready&&n.onCompleted(e.data)})).catch((function(e){!1!==globalThis.__DEV__&&Hs.warn(e)}))}}(e,null==s?void 0:s.networkStatus,a)}function Oy(e,t,n,r,o){return e.current||Sy(t.getCurrentResult(),e,t,o,r,(function(){}),n),e.current}function Ay(e,t){var n;return(null==e?void 0:e.fetchPolicy)||(null===(n=null==t?void 0:t.watchQuery)||void 0===n?void 0:n.fetchPolicy)||"cache-first"}function _y(e,t,n,r){var o=e.data,i=(e.partial,fa(e,["data","partial"]));return pa(pa({data:o},i),{client:r,observable:n,variables:n.variables,called:e!==Py&&e!==jy,previousData:t})}var Py=Ep({loading:!0,data:void 0,error:void 0,networkStatus:Rd.loading}),jy=Ep({loading:!1,data:void 0,error:void 0,networkStatus:Rd.ready}),Ty=n(88486);function Iy(e){const t=(0,s.useCallback)((()=>{try{const t=sessionStorage.getItem(e);return t?JSON.parse(t):null}catch(t){return console.warn(`Error reading sessionStorage key â${e}â:`,(0,ci.M)(t)),null}}),[e]),[n,r]=(0,s.useState)((()=>t())),o=(0,s.useCallback)((t=>{r(t),sessionStorage.setItem(e,JSON.stringify(t)),window.dispatchEvent(new StorageEvent("session-storage",{key:e}))}),[e]),i=(0,s.useCallback)((()=>{r(null),sessionStorage.removeItem(e),window.dispatchEvent(new StorageEvent("session-storage",{key:e}))}),[e]);return(0,s.useEffect)((()=>{const n=new AbortController;return window.addEventListener("session-storage",(n=>{n.key===e&&r((()=>t()))}),{signal:n.signal}),()=>{n.abort()}}),[e,t]),[n,o,i]}const Ly=Es` 44 query delegations { 45 delegations { 46 id 47 orgId 48 assistantViewed 49 delegator { 50 userId 51 nickName 52 email 53 } 54 } 55 } 56`,Ny=()=>{const{data:e,loading:t}=ky(Ly,{context:{headers:{"x-routing-by":"org"}}});return(0,s.useMemo)((()=>({delegators:(null==e?void 0:e.delegations.map((e=>({userId:e.delegator.userId,orgId:e.orgId,display:e.delegator.nickName??e.delegator.email??""}))))??[],loading:t})),[null==e?void 0:e.delegations,t])},Ry=()=>(0,Ty.Mj)("airwallex_delegator",void 0),Dy="awx-interceptor",Fy=["__proto__","constructor","prototype"],My=e
56=>null!==e&&"object"==typeof e&&Object.keys(e).some((t=>Fy.includes(t)||My(e[t]))),By=e=>null==e||"object"!=typeof e||Array.isArray(e)||My(e)?null:e,Vy=e=>"boolean"==typeof e?e:null,zy=(e,t)=>{"prod"!==bo.environment&&e(Kg({override:t.themeOverride,semanticTokensV9:t.semanticTokensV9??null}))},Uy=["/login","/uam/invite-expired","/signup","/request2fa","/auth"],Hy=["two-factor-auth","force-reset-password","reset-password","verify","verify-existing"],qy=e=>{let{children:t}=e;const n=Qh((e=>e.account)),r=Qh((e=>e.accountGroup)),o=Qh((e=>e.org.data)),i=Qh(oy),[a]=Ry(),l=dv(i),c=ly();(()=>{const e=Xh();(0,s.useLayoutEffect)((()=>{const t=(()=>{const e=window.__AWX_THEME_OVERRIDE__;return e&&"object"==typeof e&&e.source===Dy?{themeOverride:By(e.themeOverride),semanticTokensV9:Vy(e.semanticTokensV9)}:null})();t&&zy(e,t)}),[e]),Ur("awx:interceptor:theme-override",(t=>{var n;(null===(n=t.detail)||void 0===n?void 0:n.source)===Dy&&zy(e,{themeOverride:By(t.detail.themeOverride),semanticTokensV9:Vy(t.detail.semanticTokensV9)})}))})();const u=(0,s.useMemo)((()=>sv({account:n,accountGroup:r,isCardUserOnly:!o&&l||c,assistantMode:!!a})),[n,r,o,l,c,a]),d=cv(u),p=If({account:n}),f=(()=>{const{pathname:e}=window.location;if(e.startsWith("/app1/login/")||e.startsWith("/app/login/")){const t=e.replace(/\S*\/(login|reset-password)\//g,"");if(t&&!t.includes("/")&&!Hy.includes(t))return t}})(),{partnerDetails:h}=(0,uv.Mr)({environment:bo.environment,slug:(null==p?void 0:p.contentfulSlug)??f});return(0,s.useEffect)((()=>{(n.initialized||r.initialized||Uy.some((e=>window.location.pathname.includes(e))))&&(e=>{var t;const n=null==e||null===(t=e.favicon)||void 0===t||null===(t=t.fields)||void 0===t||null===(t=t.file)||void 0===t?void 0:t.url,r=null==e?void 0:e.brandName;(e=>{const t=bo.appPath,n=`${t}${iv}`,r=document.querySelector("#favicon");r&&(r.href=e||n),Array.from(document.querySelectorAll("link[rel$=icon][sizes]")).forEach((n=>{var r;const o=null===(r=n.sizes)||void 0===r?void 0:r.value,i=e||`${t}${av[o]||iv}`;n.href=i}))})(n),(e=>{e&&(document.title=(e=>e?e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"):e)(e))})(r)})(null==h?void 0:h[(0,jr.sC)()])}),[h,n,r]),gi(ji.ThemeProvider,{...d,children:gi(ji.PartnerThemeConfigProvider,{value:null==d?void 0:d.partnerTheme,children:t})})};var Wy=Object.defineProperty,$y=Object.getOwnPropertySymbols,Gy=Object.prototype.hasOwnProperty,Ky=Object.prototype.propertyIsEnumerable,Zy=(e,t,n)=>t in e?Wy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Yy=(e,t)=>{for(var n in t||(t={}))Gy.call(t,n)&&Zy(e,n,t[n]);if($y)for(var n of $y(t))Ky.call(t,n)&&Zy(e,n,t[n]);return e},Xy=(0,s.forwardRef)((function({render:e,destroy:t,containerProps:n,style:r,className:o},i){const a=(0,s.useRef)(null);return(0,s.useImperativeHandle)(i,(()=>a.current),[]),(0,s.useEffect)((()=>{const e=a.current;if(e)return()=>t({dom:e})}),[t]),(0,s.useEffect)((()=>{const t=a.current;t&&e({dom:t,props:n})}),[n,e]),s.createElement("div",{ref:a,style:r,className:o})})),Qy=class extends s.Component{constructor(){super(...arguments),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}render(){const{error:e}=this.state,{fallback:t,children:n}=this.props;return e?t?s.createElement(t,{error:e}):null:n}},Jy=({loader:e,loading:t=null,fallback:n,export:r="default",props:o})=>{const i=(0,s.lazy)((()=>{return t=function*(){var t;const n=yield e(),i=null!=(t=n[r])?t:n.default;if(null==i)throw new Error(`Remote module is missing export "${String(r)}" and has no default export`);if("function"==typeof(a=i)&&!0===a.__isBridge){const{render:e,destroy:t}=i(),n=(0,s.forwardRef)(((n,r)=>{const i=(0,s.useMemo)((()=>{var e;return Yy(Yy({},null!=o?o:{}),null!=(e=n.props)?e:{})}),[n.props]);return s.createElement(Xy,{ref:r,render:e,destroy:t,containerProps:i,style:n.style,className:n.className})}));return n.displayName="RemoteBridgeApp",{default:n}}var a;const l=i,c=(0,s.forwardRef)(((e,t)=>{var n;return s.createElement(l,Yy(Yy({},null!=o?o:{}),null!=(n=e.props)?n:{}))}));return c.displayName="RemoteLegacyApp",{default:c}},new Promise(((e,n)=>{var r=e=>{try{i(t.next(e))}catch(e){n(e)}},o=e=>{try{i(t.throw(e))}catch(e){n(e)}},i=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,o);i((t=t.apply(null,null)).next())}));var t})),a=(0,s.forwardRef)(((e,r)=>{var o,a;return s.createElement(Qy,{fallback:null!=(o=e.fallback)?o:n},s.createElement(s.Suspense,{fallback:null!=(a=e.loading)?a:t},s.createElement(i,Yy({ref:r},e))))}));return a.displayName="RemoteApp",a},eb=Object.defineProperty,tb=Object.defineProperties,nb=Object.getOwnPropertyDescriptors,rb
56=Object.getOwnPropertySymbols,ob=Object.prototype.hasOwnProperty,ib=Object.prototype.propertyIsEnumerable,ab=Math.pow,sb=(e,t,n)=>t in e?eb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,lb=(e,t)=>{for(var n in t||(t={}))ob.call(t,n)&&sb(e,n,t[n]);if(rb)for(var n of rb(t))ib.call(t,n)&&sb(e,n,t[n]);return e},cb=(e,t,n)=>new Promise(((r,o)=>{var i=e=>{try{s(n.next(e))}catch(e){o(e)}},a=e=>{try{s(n.throw(e))}catch(e){o(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(i,a);s((n=n.apply(e,t)).next())}));function ub(e){if(e){if(e instanceof Event){const t=e.target;return{type:"Event",eventType:e.type,scriptSrc:null==t?void 0:t.src}}if(e instanceof Error){const t=e.cause;return{type:"Error",name:e.name,message:e.message,stack:e.stack,cause:ub(t)}}return{type:typeof e}}}function db(e){return cb(this,arguments,(function*({producerName:e,consumerName:t,getRemoteEntryUrl:r,exposedKey:o,shareScope:i,maxRetryCount:a=0,logger:s}){const l=performance.now();let c;null==s||s.info(`Loading module '${o}' from '${e}'`,{maxRetryCount:a,producerName:e,exposedKey:o,consumerName:t});let u=0,d=0,p=0;const f=[];let h,m=0;const g=()=>cb(null,null,(function*(){m+=1;const g=m>1,v=performance.now();let y,b=0,w=0,x=0;const k={attempt:m,producerName:e,exposedKey:o,consumerName:t};let C,E,S;g&&(null==s||s.info(`Retry attempt ${m-1}/${a} for '${e}'`,lb({},k)));try{const t=!!window[e];if(c||t){const n=t?"producer already loaded":"URL already cached";null==s||s.info(`Skipped getRemoteEntryUrl for '${e}' (${n})`,lb({remoteEntryUrl:c,producerAlreadyLoaded:t},k))}else y="getRemoteEntryUrl",C=performance.now(),c=yield r(),b=performance.now()-C,u+=b,C=void 0,null==s||s.info(`Got remote URL for '${e}'`,lb({remoteEntryUrl:c},k));y="loadRemoteContainer",E=performance.now();const a=yield((e,t)=>new Promise(((n,r)=>{const o=()=>!!window[t]&&(n(window[t]),!0);if(o())return;const i=document.querySelector(`[data-webpack="${t}"]`),a=e=>{var n;const i=null==e?void 0:e.currentTarget;null==i||i.removeEventListener("error",s),o()||(null==(n=null==i?void 0:i.parentNode)||n.removeChild(i),r(new Error(`Remote ${t} not found`,{cause:e})))},s=e=>{var n;const o=null==e?void 0:e.currentTarget;null==o||o.removeEventListener("load",a),null==(n=null==o?void 0:o.parentNode)||n.removeChild(o),r(new Error(`Failed to load remote entry for ${t}`,{cause:e}))};if(i){if(o())return;return i.addEventListener("load",a,{once:!0}),void i.addEventListener("error",s,{once:!0})}if(!e)return void r(new Error(`No remote entry URL available for ${t}`));const l=document.createElement("script");l.type="text/javascript",l.setAttribute("data-webpack",t),l.async=!0,l.addEventListener("load",a,{once:!0}),l.addEventListener("error",s,{once:!0}),l.src=e,document.head.appendChild(l)})))(c,e);w=performance.now()-E,d+=w,E=void 0,null==s||s.info(`Remote entry loaded successfully for '${e}'`,lb({},k)),y="initFederationModule",S=performance.now();const h=yield function(e,t,r){return cb(this,null,(function*(){return yield n.I(r),e.__initialized||(yield e.init(n.S[r]),e.__initialized=!0),(yield e.get(t))()}))}(a,o,i);x=performance.now()-S,p+=x,S=void 0,f.push({attempt:m,duration:performance.now()-v,getRemoteEntryUrl:b,loadRemoteContainer:w,initFederationModule:x,success:!0});const g=performance.now()-l;return null==s||s.info(`Successfully loaded '${o}' from '${e}'`,((e,t)=>tb(e,nb(t)))(lb({},k),{latency:{total:g,getRemoteEntryUrl:u,loadRemoteContainer:d,initFederationModule:p,attemptLatencies:f}})),h}catch(t){void 0!==C&&(b=performance.now()-C,u+=b),void 0!==E&&(w=performance.now()-E,d+=w),void 0!==S&&(x=performance.now()-S,p+=x),f.push({attempt:m,duration:performance.now()-v,getRemoteEntryUrl:b,loadRemoteContainer:w,initFederationModule:x,success:!1});const n=lb({error:t,errorInfo:ub(t),stage:y},k);throw null==s||s.warn(`Attempt ${m} failed for '${e}'`,lb({},n)),h=n,t}}));try{return yield function(e){return cb(this,arguments,(function*(e,{maxRetries:t=5,baseDelayMs:n=1e3,logger:r,producerName:o}={}){let i;const a=o?` for '${o}'`:"",s=Math.max(1,t);for(let t=1;t<=s;t++)try{return yield e()}catch(e){if(i=e,t<s){const i=Math.min(n*ab(2,t-1),3e4);null==r||r.warn(`Lazy load attempt ${t}/${s}${a} failed, retrying in ${i}ms`,{attempt:t,maxRetries:s,delay:i,producerName:o,error:e,errorInfo:ub(e)}),yield new Promise((e=>
56{setTimeout(e,i)}))}}throw null==r||r.error(`Lazy load${a} failed after ${s} attempts`,{maxRetries:s,producerName:o,error:i,errorInfo:ub(i)}),i}))}(g,{maxRetries:a+1,baseDelayMs:0})}catch(t){throw null==s||s.error(`All attempts failed for '${e}'`,lb({},h)),t}}))}const pb={approvals:"spend-approvals",idv:"idv-webapp"},fb=async e=>{const t={NODE_ENV:"production",AWX_DEFAULT_CACHE_POLICY:"pull",AWX_DEFAULT_CACHE_KEY:"cache-1-1245-0",AWX_CACHE_FALLBACK_KEY:"cache-master",AWX_WORKFLOW:"trunkflow"}[`AWX_${e.toUpperCase()}_REMOTE`];if(t)return ei()(`[AWX] Using local remote path for ${e}`),t;const n=await(async e=>{let{application:t}=e;return ei()("[AWX] Attempting to load application from bucket"),(async e=>{let{application:t,flags:n}=e;ei()("[AWX] Fetch from app bucket");const r=pb[t]||t;try{const e=bo.appBucketPath,o=(e=>{var t;let{application:n,flags:r}=e;const o=(null==r?void 0:r[`${n}VersionOverride`])||(null==bo||null===(t=bo.appVersions)||void 0===t?void 0:t[n]);return o&&"string"==typeof o&&"default"!==o?(ei()(`[AWX] Using version override for ${n}: "${o}" `),o):""})({application:t,flags:n})||await(async e=>fetch(`${bo.appBucketPath}/webapp/${e}/version.json?timestamp=${Math.floor((new Date).getTime()/5e3)}`).then((e=>e.json())).then((e=>null==e?void 0:e.version)))(r);return o?`${e}/webapp/${r}/${o}`:""}catch(e){return e instanceof Error&&(Ko("fetch_mfe_bucket_error",{error:(0,ci.M)(e),application:t}),console.error(`Error loading app version data for ${r}, application: ${t}`),console.error((0,ci.M)(e))),""}})({application:t})})({application:e});if(!n)throw new Error(`Failed to fetch bucket path for ${e}`);return`${n}/remoteEntry.js`},hb="./bootstrap",mb="spend-approvals",gb="tax-filing",vb={acquiring:{remote:"payment_webapp",sharedScope:"default",module:hb,applicationName:"acquiring"},analytics:{remote:"analytics_webapp",sharedScope:"default",module:hb,applicationName:"analytics"},"get-paid":{remote:"getpaid_webapp",sharedScope:"default",module:hb,applicationName:"get-paid"},rfi:{remote:"rfi_webapp",sharedScope:"default",module:hb,applicationName:"rfi"},"platform-console":{remote:"platform_console_webapp",sharedScope:"default",module:hb,applicationName:"platform-console"},uam:{remote:"uam_webapp",sharedScope:"default",module:hb,applicationName:"uam"},login:{remote:"login_webapp",sharedScope:"default",module:hb,applicationName:"login"},account:{remote:"account_settings_webapp",sharedScope:"default",module:hb,applicationName:"account"},"post-auth":{remote:"post_auth_webapp",sharedScope:"default",module:hb,applicationName:"post-auth"},org:{remote:"org_webapp",sharedScope:"default",module:hb,applicationName:"org"},expenses:{remote:"expenses_webapp",sharedScope:"default",module:hb,applicationName:"expenses"},billpay:{remote:"billpay_webapp",sharedScope:"default",module:hb,applicationName:"billpay"},"spend-vendor":{remote:"spend_vendor_webapp",sharedScope:"default",module:hb,applicationName:"spend-vendor"},"spend-vendor-portal":{remote:"spend_vendor_portal_webapp",sharedScope:"default",module:hb,applicationName:"spend-vendor-portal"},"spend-overview":{remote:"spend_overview_webapp",sharedScope:"default",module:hb,applicationName:"spend-overview"},"spend-accounting":{remote:"spend_accounting_webapp",sharedScope:"default",module:hb,applicationName:"spend-accounting"},"spend-connection":{remote:"spend_connection_webapp",sharedScope:"default",module:hb,applicationName:"spend-connection"},"spend-procurement":{remote:"spend_procurement_webapp",sharedScope:"default",module:hb,applicationName:"spend-procurement"},[mb]:{remote:"spend_approvals_webapp",sharedScope:"default",module:hb,applicationName:"approvals"},connect:{remote:"connect_webapp",sharedScope:"default",module:hb,applicationName:"connect"},integrations:{remote:"integrations_webapp",sharedScope:"default",module:hb,applicationName:"integrations"},"saas-pricing":{remote:"saas_pricing_webapp",sharedScope:"default",module:hb,applicationName:"saas-pricing"},"ext-billing-invoice":{remote:"ext_billing_invoice_webapp",sharedScope:"default",module:hb,applicationName:"ext-billing-invoice"},"ext-billing-platform":{remote:"ext_billing_platform_webapp",sharedScope:"default",module:hb,applicationName:"ext-billing-platform"},invitation:{remote:"invitation_webapp",sharedScope:"default",module:hb,applicationName:"invitation"},kyb:{remote:"kyb_webapp",sharedScope:"default",module:hb,applicationName:"kyb"},kyc:{remote:"onboarding_webapp",sharedScope:"default",module:hb,applicationName:"kyc"},idv:{remote:"idv_webapp",sharedScope:"default",module:hb,applicationName:"idv"},cards:{remote:"cards_webapp",sharedScope:"default",module:hb,applicationName:"
56cards"},"spend-requests":{remote:"spend_requests_webapp",sharedScope:"default",module:hb,applicationName:"spend-requests"},"spend-budgets":{remote:"spend_budgets_webapp",sharedScope:"default",module:hb,applicationName:"spend-budgets"},[gb]:{remote:"tax_filing_webapp",sharedScope:"default",module:hb,applicationName:"tax-filing"},wallet:{remote:"wallet_webapp",sharedScope:"default",module:hb,applicationName:"wallet"},"customer-support":{remote:"customer_support_webapp",sharedScope:"default",module:hb,applicationName:"customer-support"},"finos-copilot":{remote:"finos_copilot_webapp",sharedScope:"default",module:hb,applicationName:"finos-copilot"},"dashboard-container":{remote:"dashboard_container",sharedScope:"default",module:hb,applicationName:"dashboard-container"},"pre-org-migration-review":{remote:"org_webapp",sharedScope:"default",module:"./preOrgMigrationReview",applicationName:"org"},fraud:{remote:"fraud_webapp",sharedScope:"default",module:hb,applicationName:"fraud"},reports:{remote:"reports_webapp",sharedScope:"default",module:hb,applicationName:"reports"},payapps:{remote:"payapps_webapp",sharedScope:"default",module:hb,applicationName:"payapps"},announcement:{remote:"announcement",sharedScope:"default",module:hb,applicationName:"announcement"},contacts:{remote:"contacts_webapp",sharedScope:"default",module:hb,applicationName:"contacts"},conversions:{remote:"conversions_webapp",sharedScope:"default",module:hb,applicationName:"conversions"},"add-funds":{remote:"add_funds_client",sharedScope:"default",module:hb,applicationName:"add-funds"},"batch-transfers":{remote:"batch_transfers_webapp",sharedScope:"default",module:hb,applicationName:"batch-transfers"},"order-collection":{remote:"order_collection_webapp",sharedScope:"default",module:hb,applicationName:"order-collection"},"global-account":{remote:"global_account_webapp",sharedScope:"default",module:hb,applicationName:"globalaccount"},rewards:{remote:"rewards_webapp",sharedScope:"default",module:hb,applicationName:"rewards"},transfers:{remote:"payout_kaleido",sharedScope:"default",module:hb,applicationName:"payout"},"business-accounts":{remote:"business_accounts_webapp",sharedScope:"default",module:hb,applicationName:"business-accounts"},"business-accounts-tour":{remote:"business_accounts_webapp",sharedScope:"default",module:"./business-accounts-tour",applicationName:"business-accounts"},"settings-container":{remote:"settings_container",sharedScope:"default",module:hb,applicationName:"settings-container"},reimbursements:{remote:"reimbursements_webapp",sharedScope:"default",module:hb,applicationName:"reimbursements"},"hosted-transfer":{remote:"hosted_transfer_mf",sharedScope:"default",module:hb,applicationName:"hosted-transfer-mf"},"spend-ai-mf":{remote:"spend_ai_mf",sharedScope:"default",module:hb,applicationName:"spend-ai-mf"},yield:{remote:"yield_webapp",sharedScope:"default",module:hb,applicationName:"yield"},lending:{remote:"lending_webapp",sharedScope:"default",module:hb,applicationName:"lending"},developer:{remote:"developer_webapp",sharedScope:"default",module:hb,applicationName:"developer"},hostedflow:{remote:"hosted_flow_webapp",sharedScope:"default",module:hb,applicationName:"hostedflow"},"card-activation":{remote:"card_activation_webapp",sharedScope:"default",module:hb,applicationName:"card-activation"},theme:{remote:"theme_webapp",sharedScope:"default",module:hb,applicationName:"theme"},dashboard:{remote:"grw_dashboard",sharedScope:"default",module:hb,applicationName:"dashboard"},"universal-search-webapp":{remote:"universal_search_webapp",sharedScope:"default",module:hb,applicationName:"universal-search-webapp"},"universal-search-bar":{remote:"universal_search_webapp",sharedScope:"default",module:"./search-bar",applicationName:"universal-search-webapp"}},yb=new Map(Object.values(vb).map((e=>[e.remote,e.applicationName]))),bb={error:(e,t)=>{zr.error("REMOTE_COMPONENT_LOAD_ERROR",{message:e,params:t})},warn:(e,t)=>{zr.warn("REMOTE_COMPONENT_LOAD_WARNING",{message:e,params:t})},info:(e,t)=>{zr.info("REMOTE_COMPONENT_LOAD_INFO",{message:e,params:t})}},wb=e=>{let{producerName:t,exposedKey:n,consumerName:r="webapp-container"}=e;return db({producerName:t,consumerName:r,getRemoteEntryUrl:async()=>{const e=yb.get(t);if(!e)throw new Error(`Remote ${t} is not registered in the webapp-container`);const n=await fb(e);return window.performance.mark("webapp:before micro app load",{detail:{application:e}}),n},exposedKey:n,shareScope:"default",maxRetryCount:5,logger:bb})},xb=e=>t=>wb({...t,consumerName:e}),kb=()=>Qh((e=>Vf(e.account))),Cb={ACCOUNT:"/app/dashboard-account",ORG:"/app/dashboard-org",ORG_ACCOUNT_OVERVIEW:"/app/dashboard-account-overview",INTRO:"/app/dashboard-intro",SME:"/app/dashboard"},Eb=[Cb.ORG,Cb.ACCOUNT,Cb.ORG_ACCOUNT_OVERVIEW],Sb=()=>{const e=kb(),t=(0,jr.I)(),n=Qh((e=>{var t;return null===(t=e.org.data)||void 0===t?void 0:t.orgType}));return window.location.pathname.includes(Cb.INTRO)?window.location.pathname:window.location.hostname.includes("yunhuipay.com")?Cb.SME:t?"
56SASE"===n?Cb.ACCOUNT:window.location.pathname===Cb.ORG_ACCOUNT_OVERVIEW?Cb.ORG_ACCOUNT_OVERVIEW:Cb.ORG:e?Cb.SME:Cb.ACCOUNT};var Ob=n(34915),Ab=n.n(Ob),_b=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function Pb(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(Ab()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var o=new RegExp(_b),i=null;null!==(i=o.exec(e));)if(i[0].trim())if(i[1]){var a=i[1].trim(),s=[a,""];a.indexOf("=")>-1&&(s=a.split("=")),t.attrs[s[0]]=s[1],o.lastIndex--}else i[2]&&(t.attrs[i[2]]=i[3].trim().substring(1,i[3].length-1));return t}var jb=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,Tb=/^\s*$/,Ib=Object.create(null);function Lb(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(Lb,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var Nb={parse:function(e,t){t||(t={}),t.components||(t.components=Ib);var n,r=[],o=[],i=-1,a=!1;if(0!==e.indexOf("<")){var s=e.indexOf("<");r.push({type:"text",content:-1===s?e:e.substring(0,s)})}return e.replace(jb,(function(s,l){if(a){if(s!=="</"+n.name+">")return;a=!1}var c,u="/"!==s.charAt(1),d=s.startsWith("\x3c!--"),p=l+s.length,f=e.charAt(p);if(d){var h=Pb(s);return i<0?(r.push(h),r):((c=o[i]).children.push(h),r)}if(u&&(i++,"tag"===(n=Pb(s)).type&&t.components[n.name]&&(n.type="component",a=!0),n.voidElement||a||!f||"<"===f||n.children.push({type:"text",content:e.slice(p,e.indexOf("<",p))}),0===i&&r.push(n),(c=o[i-1])&&c.children.push(n),o[i]=n),(!u||n.voidElement)&&(i>-1&&(n.voidElement||n.name===s.slice(2,-1))&&(i--,n=-1===i?r:o[i]),!a&&"<"!==f&&f)){c=-1===i?r:o[i].children;var m=e.indexOf("<",p),g=e.slice(p,-1===m?void 0:m);Tb.test(g)&&(g=" "),(m>-1&&i+c.length>=0||" "!==g)&&c.push({type:"text",content:g})}})),r},stringify:function(e){return e.reduce((function(e,t){return e+Lb("",t)}),"")}};const Rb=Nb,Db=(...e)=>{console?.warn&&(Ub(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))},Fb={},Mb=(...e)=>{Ub(e[0])&&Fb[e[0]]||(Ub(e[0])&&(Fb[e[0]]=new Date),Db(...e))},Bb=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout((()=>{e.off("initialized",n)}),0),t()};e.on("initialized",n)}}
56,Vb=(e,t,n)=>{e.loadNamespaces(t,Bb(e,n))},zb=(e,t,n,r)=>{Ub(n)&&(n=[n]),n.forEach((t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,Bb(e,r))},Ub=e=>"string"==typeof e,Hb=e=>"object"==typeof e&&null!==e,qb=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Wb={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"â¦","…":"â¦","/":"/","/":"/"},$b=e=>Wb[e];let Gb={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(qb,$b)};const Kb=()=>Gb;let Zb;const Yb=()=>Zb,Xb=(e,t)=>{if(!e)return!1;const n=e.props?.children??e.children;return t?n.length>0:!!n},Qb=e=>{if(!e)return[];const t=e.props?.children??e.children;return e.props?.i18nIsDynamicList?Jb(t):t},Jb=e=>Array.isArray(e)?e:[e],ew=(e,t)=>{if(!e)return"";let n="";const r=Jb(e),o=t?.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return r.forEach(((e,r)=>{if(Ub(e))n+=`${e}`;else if((0,s.isValidElement)(e)){const{props:i,type:a}=e,s=Object.keys(i).length,l=o.indexOf(a)>-1,c=i.children;if(c||!l||s)if(!c&&(!l||s)||i.i18nIsDynamicList)n+=`<${r}></${r}>`;else if(l&&1===s&&Ub(c))n+=`<${a}>${c}</${a}>`;else{const e=ew(c,t);n+=`<${r}>${e}</${r}>`}else n+=`<${a}/>`}else if(null===e)Db("Trans: the passed in value is invalid - seems you passed in a null child.");else if(Hb(e)){const{format:t,...r}=e,o=Object.keys(r);if(1===o.length){const e=t?`${o[0]}, ${t}`:o[0];n+=`{{${e}}}`}else Db("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else Db("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)})),n},tw=(e,t,n,r,o,i)=>{if(""===t)return[];const a=r.transKeepBasicHtmlNodesFor||[],l=t&&new RegExp(a.map((e=>`<${e}`)).join("|")).test(t);if(!e&&!l&&!i)return[t];const c={},u=e=>{Jb(e).forEach((e=>{Ub(e)||(Xb(e)?u(Qb(e)):Hb(e)&&!(0,s.isValidElement)(e)&&Object.assign(c,e))}))};u(e);const d=Rb.parse(`<0>${t}</0>`),p={...c,...o},f=(e,t,n)=>{const r=Qb(e),o=m(r,t.children,n);return(e=>Array.isArray(e)&&e.every(s.isValidElement))(r)&&0===o.length||e.props?.i18nIsDynamicList?r:o},h=(e,t,n,r,o)=>{e.dummy?(e.children=t,n.push((0,s.cloneElement)(e,{key:r},o?void 0:t))):n.push(...s.Children.map([e],(e=>{const n={...e.props};return delete n.i18nIsDynamicList,(0,s.createElement)(e.type,{...n,key:r,ref:e.ref},o?null:t)})))},m=(t,o,c)=>{const u=Jb(t);return Jb(o).reduce(((t,o,d)=>{const g=o.children?.[0]?.content&&n.services.interpolator.interpolate(o.children[0].content,p,n.language);if("tag"===o.type){let i=u[parseInt(o.name,10)];1!==c.length||i||(i=c[0][o.name]),i||(i={});const v=0!==Object.keys(o.attrs).length?((e,t)=>{const n={...t};return n.props=Object.assign(e.props,t.props),n})({props:o.attrs},i):i,y=(0,s.isValidElement)(v),b=y&&Xb(o,!0)&&!o.voidElement,w=l&&Hb(v)&&v.dummy&&!y,x=Hb(e)&&Object.hasOwnProperty.call(e,o.name);if(Ub(v)){const e=n.services.interpolator.interpolate(v,p,n.language);t.push(e)}else if(Xb(v)||b){const e=f(v,o,c);h(v,e,t,d)}else if(w){const e=m(u,o.children,c);h(v,e,t,d)}else if(Number.isNaN(parseFloat(o.name)))if(x){const e=f(v,o,c);h(v,e,t,d,o.voidElement)}else if(r.transSupportBasicHtmlNodes&&a.indexOf(o.name)>-1)if(o.voidElement)t.push((0,s.createElement)(o.name,{key:`${o.name}-${d}`}));else{const e=m(u,o.children,c);t.push((0,s.createElement)(o.name,{key:`${o.name}-${d}`},e))}else if(o.voidElement)t.push(`<${o.name} />`);else{const e=m(u,o.children,c);t.push(`<${o.name}>${e}</${o.name}>`)}else if(Hb(v)&&!y){const e=o.children[0]?g:null;e&&t.push(e)}else h(v,g,t,d,1!==o.children.length||!g)}else if("text"===o.type){const e=r.transWrapTextNodes,a=i?r.unescape(n.services.interpolator.interpolate(o.content,p,n.language)):n.services.interpolator.interpolate(o.content,p,n.language);e?t.push((0,s.createElement)(e,{key:`${o.name}-${d}`},a)):t.push(a)}return t}),[])},g=m([{dummy:!0,children:e||[]}],d,Jb(e||[]));return Qb(g[0])},nw={type:"3rdParty",init(e){((e={})=>{Gb={...Gb,...e}})(e.options.react),(e=>{Zb=e})(e)}},rw=(0,s.createContext)();class ow{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach((e=>{this.usedNamespaces[e]??=!0}))}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function iw({children:e,count:t,parent:n,i18nKey:r,context:o,tOptions:i={}
56,values:a,defaults:l,components:c,ns:u,i18n:d,t:p,shouldUnescape:f,...h}){const{i18n:m,defaultNS:g}=(0,s.useContext)(rw)||{},v=d||m||Yb(),y=p||v?.t.bind(v);return function({children:e,count:t,parent:n,i18nKey:r,context:o,tOptions:i={},values:a,defaults:l,components:c,ns:u,i18n:d,t:p,shouldUnescape:f,...h}){const m=d||Yb();if(!m)return Mb("You will need to pass in an i18next instance by using i18nextReactModule"),e;const g=p||m.t.bind(m)||(e=>e),v={...Kb(),...m.options?.react};let y=u||g.ns||m.options?.defaultNS;y=Ub(y)?[y]:y||["translation"];const b=ew(e,v),w=l||b||v.transEmptyNodeValue||r,{hashTransKey:x}=v,k=r||(x?x(b||w):b||w);m.options?.interpolation?.defaultVariables&&(a=a&&Object.keys(a).length>0?{...a,...m.options.interpolation.defaultVariables}:{...m.options.interpolation.defaultVariables});const C=a||void 0!==t||!e?i.interpolation:{interpolation:{...i.interpolation,prefix:"#$?",suffix:"?$#"}},E={...i,context:o||i.context,count:t,...a,...C,defaultValue:w,ns:y},S=k?g(k,E):w;c&&Object.keys(c).forEach((e=>{const t=c[e];"function"==typeof t.type||!t.props||!t.props.children||S.indexOf(`${e}/>`)<0&&S.indexOf(`${e} />`)<0||(c[e]=(0,s.createElement)((function(){return(0,s.createElement)(s.Fragment,null,t)})))}));const O=tw(c||e,S,m,v,E,f),A=n??v.defaultTransParent;return A?(0,s.createElement)(A,h,O):O}({children:e,count:t,parent:n,i18nKey:r,context:o,tOptions:i,values:a,defaults:l,components:c,ns:u||y?.ns||g||v?.options?.defaultNS,i18n:v,t:p,shouldUnescape:f,...h})}const aw=(e,t,n,r)=>e.getFixedT(t,n,r),sw=(e,t={})=>{const{i18n:n}=t,{i18n:r,defaultNS:o}=(0,s.useContext)(rw)||{},i=n||r||Yb();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new ow),!i){Mb("You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>Ub(t)?t:Hb(t)&&Ub(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}i.options.react?.wait&&Mb("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const a={...Kb(),...i.options.react,...t},{useSuspense:l,keyPrefix:c}=a;let u=e||o||i.options?.defaultNS;u=Ub(u)?[u]:u||["translation"],i.reportNamespaces.addUsedNamespaces?.(u);const d=(i.isInitialized||i.initializedStoreOnce)&&u.every((e=>((e,t,n={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n?.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):(Mb("i18n.languages were undefined or empty",t.languages),!0))(e,i,a))),p=((e,t,n,r)=>(0,s.useCallback)(aw(e,t,n,r),[e,t,n,r]))(i,t.lng||null,"fallback"===a.nsMode?u:u[0],c),f=()=>p,h=()=>aw(i,t.lng||null,"fallback"===a.nsMode?u:u[0],c),[m,g]=(0,s.useState)(f);let v=u.join();t.lng&&(v=`${t.lng}${v}`);const y=((e,t)=>{const n=(0,s.useRef)();return(0,s.useEffect)((()=>{n.current=e}),[e,t]),n.current})(v),b=(0,s.useRef)(!0);(0,s.useEffect)((()=>{const{bindI18n:e,bindI18nStore:n}=a;b.current=!0,d||l||(t.lng?zb(i,t.lng,u,(()=>{b.current&&g(h)})):Vb(i,u,(()=>{b.current&&g(h)}))),d&&y&&y!==v&&b.current&&g(h);const r=()=>{b.current&&g(h)};return e&&i?.on(e,r),n&&i?.store.on(n,r),()=>{b.current=!1,i&&e?.split(" ").forEach((e=>i.off(e,r))),n&&i&&n.split(" ").forEach((e=>i.store.off(e,r)))}}),[i,v]),(0,s.useEffect)((()=>{b.current&&d&&g(f)}),[i,c,d]);const w=[m,i,d];if(w.t=m,w.i18n=i,w.ready=d,d)return w;if(!d&&!l)return w;throw new Promise((e=>{t.lng?zb(i,t.lng,u,(()=>e())):Vb(i,u,(()=>e()))}))};var lw=n(2404),cw=n.n(lw);const uw=Es` 57 query batchQueryMemberAccountSpaceIds { 58 batchQueryMemberAccountSpaceIds { 59 spaceId 60 accountId 61 } 62 } 63`,dw=Es` 64 query GetOrg { 65 authContext { 66 ... on OrgAuthContext { 67 org { 68 id 69 name 70 orgType 71 displayNameForIA 72 orgPaEnabled 73 paStatus { 74 accountId 75 status 76 payByLinkStatus 77 } 78 migrated 79 orgHasPlatformAccount 80 hasKycPassedEntity 81 disputeAccounts: accounts(permissions: ["r:awx:pa.dispute.*:*"]) { 82 items { 83 id 84 nickname 85 paDataCenterLocation 86 } 87 } 88 posTerminalAccounts: accounts(permissions: ["r:awx:pa.payment.*:*"]) { 89 items { 90 id 91 posStatus 92 } 93 } 94 tierType: configuration(key: "billing.pricing_plan.tier") 95 viewerCanCreateAccounts 96 isBusinessAccountsEnabled 97 } 98 } 99 } 100 } 101`,pw=Es` 102 query GetOrgCardsEnabled { 103 authContext { 104 ... on OrgAuthContext { 105 org { 106 id 107 isCardsEnabled 108 } 109 } 110 } 111 } 112`,fw=Es` 113 query GetOrgDualOnboarding { 114 authContext { 115 ... on OrgAuthContext { 116 org { 117 id 118 hasDualOnboardingEntity 119 } 120 } 121 } 122 } 123`,hw=Es` 124 query GetSpendAnalyticsConfigs { 125 spendAnalyticsConfigs { 126 configs { 127 role 128 productTypes 129 } 130 headOfFields { 131 departments { 132 id 133 value 134 } 135 locations { 136 id 137 value 138 } 139 } 140 } 141 } 142`,mw=Es` 143 query GetCurrentAccount { 144 # Billing plan status 145 authContext { 146 ... on OrgAuthContext { 147 account { 148 id 149 ...AccountFragment 150 } 151 } 152 ... on AccountAuthContext { 153 nonOrgAccount: account { 154 id 155 ...AccountFragment 156 tierType: configuration(key: "billing.pricing_plan.tier") 157 } 158 } 159 } 160 checkIsPlanCancelled 161 162 # Transfer settings 163 transferSettings { 164 isRefundNewFlowEnabled 165 } 166 } 167 fragment AccountFragment on Account { 168 posStatus 169 clientLegalEntity { 170 id 171 name 172 englishName 173 country 174 } 175 billingPreference { 176 enableBilling 177 } 178 joinedAccountGroup { 179 id 180 } 181 } 182`;async function gw(){try{const{data:e}=await Tf.query({query:hw,fetchPolicy:"network-only",context:{headers:{"x-routing-by":"org"}}});return e.spendAnalyticsConfigs}catch(e){return console.error("[fetchSpendAnalyticsConfigs] Failed to fetch spend analytics configs:",(0,ci.M)(e)),null}}async function vw(){var e;const[t,n]=await Promise.all([Tf.query({query:dw,fetchPolicy:"network-only",context:{headers:{"x-routing-by":"org"}}}),gw()]);return"OrgAuthContext"!==(null===(e=t.data)||void 0===e||null===(e=e.authContext)||void 0===e?void 0:e.__typename)?null:{...t.data.authContext.org,spendAnalyticsConfigs:n}}async function yw(){var e,t,n,r,o;const[i,a]=await Promise.all([eh.get("/user/account"),Tf.query({query:mw,fetchPolicy:"network-only"})]),{authContext:s}=a.data,l="OrgAuthContext"===(null==s?void 0:s.__typename)?null===(e=s.account)||void 0===e?void 0:e.clientLegalEntity:"AccountAuthContext"===(null==s?void 0:s.__typename)?s.nonOrgAccount.clientLegalEntity:null,c="OrgAuthContext"===(null==s?void 0:s.__typename)?(null===(t=s.account)||void 0===t?void 0:t.billingPreference)??null:"AccountAuthContext"===(null==s?void 0:s.__typename)?s.nonOrgAccount.billingPreference:null,u="OrgAuthContext"===(null==s?void 0:s.__typename)?null===(n=s.account)||void 0===n?void 0:n.joinedAccountGroup:"AccountAuthContext"===(null==s?void 0:s.__typename)?s.nonOrgAccount.joinedAccountGroup:null,d="OrgAuthContext"===(null==s?void 0:s.__typename)?null===(r=s.account)||void 0===r?void 0:r.posStatus:"AccountAuthContext"===(null==s?void 0:s.__typename)?s.nonOrgAccount.posStatus:null;return{...i.data,clientLegalEntity:l?Xv()(l,"__typename"):null,billingPreference:c?Xv()(c,"__typename"):null,tierType:"AccountAuthContext"===(null===(o=a.data.authContext)||void 0===o?void 0:o.__typename)?a.data.authContext.nonOrgAccount.tierType:void 0,isPricingPlanCancelled:!!a.data.checkIsPlanCancelled,transferSettings:Xv()(a.data.transferSettings,"__typename"),joinedAccountGroup:u?Xv()(u,"__typename"):null,posStatus:d??null}}const bw=Es` 183 query GetCurrentUser { 184 viewer { 185 id 186 createTime 187 email 188 firstName 189 lastName 190 phoneNumber 191 langKey 192 passwordResetRequired 193 194 # Below fields aren't used by webapp-container itself, but passed to MFEs through container props. 195 # It doesn't necessarily mean any MFE is using them. We added them here to keep consistency with the webapp-api response. 196 # TODO: Doma - Remove these fields from the response if no MFE is using them. 197 emailApplyToChange 198 emailVerifiedDate 199 emailChangeCount 200 verifyingEmail 201 phoneVerifiedDate 202 isPhoneNumberLoginable 203 } 204 205 # Viewer's enrollment and permissions 206 # TODO: Doma - Group fetchCurrentOrg and fetchCurrentUser together in one single thunk, and move this part to GetOrg query. 207 authContext { 208 ... on OrgAuthContext { 209 org { 210 # Viewer's enrollment and permissions 211 viewerEnrollment { 212 id 213 enrollmentStatus 214 permissions 215 roles { 216 roleId 217 roleMeta { 218 name 219 } 220 ownerType 221 } 222 allAccountPermissionsInOrg 223 } 224 } 225 account { 226 viewerEnrollment { 227 ...AccountViewerEnrollment 228 } 229 } 230 } 231 ... on AccountAuthContext { 232 nonOrgAccount: account { 233 viewerEnrollment { 234 ...AccountViewerEnrollment 235 isTeamAdmin 236 } 237 } 238 } 239 } 240 241 getUserCountry { 242 code 243 currency 244 name 245 } 246 } 247 fragment AccountViewerEnrollment on AccountEnrollment { 248 id 249 enrollmentStatus 250 permissions 251 roles { 252 roleId 253 roleMeta { 254 name 255 } 256 ownerType 257 } 258 } 259`;async function ww(){var e,t,n,r,o;
259if(!bp())return Promise.reject(new Error("unauthenticated"));const[{data:i},{data:a}]=await Promise.all([(0,jr.mg)()?eh.get("/currentuser"):Promise.resolve({data:{}}),Tf.query({query:bw,fetchPolicy:"network-only"})]),{viewer:s,authContext:l,getUserCountry:c}=a,u={id:s.id,createTime:s.createTime,email:s.email??void 0,firstName:s.firstName,lastName:s.lastName,phoneNumber:s.phoneNumber,langKey:s.langKey,passwordResetRequired:s.passwordResetRequired,emailApplyToChange:s.emailApplyToChange??void 0,emailVerifiedDate:s.emailVerifiedDate??void 0,emailChangeCount:s.emailChangeCount??void 0,verifyingEmail:s.verifyingEmail,phoneVerifiedDate:s.phoneVerifiedDate??void 0,isPhoneNumberLoginable:s.isPhoneNumberLoginable},d="OrgAuthContext"===(null==l?void 0:l.__typename)?{enrollmentId:null===(e=l.org.viewerEnrollment)||void 0===e?void 0:e.id,enrollmentStatus:null===(t=l.org.viewerEnrollment)||void 0===t?void 0:t.enrollmentStatus,isTeamAdmin:!1,permissions:(null===(n=l.org.viewerEnrollment)||void 0===n?void 0:n.permissions)??[]}:void 0,p="OrgAuthContext"===(null==l?void 0:l.__typename)?(null===(r=l.org.viewerEnrollment)||void 0===r||null===(r=r.roles)||void 0===r?void 0:r.map((e=>{var t;return{id:e.roleId??"",name:(null===(t=e.roleMeta)||void 0===t?void 0:t.name)??"",type:e.ownerType??""}})))??[]:void 0,f=function(e,t){const{authContext:n}=e;return n?"OrgAuthContext"===n.__typename&&n.account?{enrollmentId:null===(r=n.account.viewerEnrollment)||void 0===r?void 0:r.id,enrollmentStatus:null===(o=n.account.viewerEnrollment)||void 0===o?void 0:o.enrollmentStatus,isTeamAdmin:!1,permissions:(null===(i=n.account.viewerEnrollment)||void 0===i?void 0:i.permissions)??[]}:"AccountAuthContext"===n.__typename?{enrollmentId:null===(a=n.nonOrgAccount.viewerEnrollment)||void 0===a?void 0:a.id,enrollmentStatus:null===(s=n.nonOrgAccount.viewerEnrollment)||void 0===s?void 0:s.enrollmentStatus,isTeamAdmin:(null===(l=n.nonOrgAccount.viewerEnrollment)||void 0===l?void 0:l.isTeamAdmin)??!1,permissions:(null===(c=n.nonOrgAccount.viewerEnrollment)||void 0===c?void 0:c.permissions)??[]}:void 0:t.enrollment;var r,o,i,a,s,l,c}(a,i),h=function(e,t){const{authContext:n}=e;return n?"OrgAuthContext"===n.__typename&&n.account?(null===(r=n.account.viewerEnrollment)||void 0===r||null===(r=r.roles)||void 0===r?void 0:r.map(i))??[]:"AccountAuthContext"===n.__typename?(null===(o=n.nonOrgAccount.viewerEnrollment)||void 0===o||null===(o=o.roles)||void 0===o?void 0:o.map(i))??[]:[]:t.roles;var r,o;function i(e){var t;return{id:e.roleId??"",name:(null===(t=e.roleMeta)||void 0===t?void 0:t.name)??"",type:e.ownerType??""}}}(a,i);return{...Xv()(i,["user","orgEnrollment","orgRoles","enrollment","roles","allAccountPermissionsInOrg"]),user:u,country:Xv()(c,"__typename"),...d?{orgEnrollment:d}:{},...p?{orgRoles:p}:{},...f?{enrollment:f}:{},roles:h,allAccountPermissionsInOrg:"OrgAuthContext"===(null==l?void 0:l.__typename)?(null===(o=l.org.viewerEnrollment)||void 0===o?void 0:o.allAccountPermissionsInOrg)??void 0:void 0}}async function xw(){var e;return{...(await eh.get("/v2/user/account_group")).data,memberAccountSpaceIds:null===(e=(await Tf.query({query:uw})).data)||void 0===e?void 0:e.batchQueryMemberAccountSpaceIds}}const kw=async e=>{try{const{data:t}=await eh.post("/v2/user/findScalePlatform",{...e&&{platformId:e}});return t}catch(e){return console.error(`fetch /v2/user/findScalePlatform error: ${(0,ci.M)(e)}`),{}}};var Cw=n(38221),Ew=n.n(Cw);const Sw=Ew()((async e=>{const{data:t}=(await eh.post("/v3/switchContext",{...e,refreshToken:(0,jr.ve)()})).data,{accessToken:n,accessTokenExpireAt:r,refreshToken:o,refreshTokenExpireAt:i}=(0,jr.nE)(t);(0,jr.Il)(n,r,o),(0,jr.fE)(o,i)}),1e3,{leading:!0,trailing:!1});let Ow=function(e){return e.SCALE_PLATFORM="SCALE_PLATFORM",e.SCALE_PARTNER="SCALE_PARTNER",e.PLATFORM_MANAGED_CONNECTED_ACCOUNT="PLATFORM_MANAGED_CONNECTED_ACCOUNT",e.SELF_MANAGED_CONNECTED_ACCOUNT="SELF_MANAGED_CONNECTED_ACCOUNT",e.NOT_SCALE_ACCOUNT="NOT_SCALE_ACCOUNT",e}({});const Aw=qg("auth/switchAccountWithinOrg",(async e=>{await Sw(e);const[t,n]=await Promise.all([yw(),ww()]);return{account:t,user:n}}),{condition:(e,t)=>{let{accountId:n}=e,{getState:r}=t;const{org:o,account:i}=r();return!!o.data&&i.id!==n&&void 0}}),_w=qg("auth/reinitializeAuthContext",(async e=>{const[t,n,r,o]=await Promise.all([e.orgId?vw():Promise.resolve(null),e.accountId?yw():Promise.resolve(null),e.accountGroupId?xw():Promise.resolve(null),ww()]);let i=null;var a,s,l;return e.accountId&&n&&(null!==(a=n.scaleConnectedPlatformInfo)&&void 0!==a&&a.platformOpenId?i=await kw(null==n||null===(l=n.scaleConnectedPlatformInfo)||void 0===l?void 0:l.platformOpenId):(null===(s=n.scaleModel)||void 0===s?void 0:s.scaleAccountType)===Ow.SCALE_PARTNER&&n.openId&&(i=await kw(n.openId))),{org:t,account:n,platformInfo:i,accountGroup:r,user:o,accountGroupView:e.accountGroupView}})),Pw="airwallex_webapp_hide_org_nav_for_account_group",jw=Bg({name:"auth",initialState:{accountGroupView:function(){const e=sessionStorage.getItem(Pw);try{return e?JSON.parse(e):null}catch{return null}}(),switchingTarget:null},reducers:{setSwitchingTarget:(e,t)=>{e.switchingTarget=t.payload},clearAccountGroupView:e=>
259{e.accountGroupView=null,sessionStorage.removeItem(Pw)}},extraReducers:e=>{e.addCase(_w.fulfilled,((e,t)=>{const{accountGroupView:n}=t.payload;e.accountGroupView=n??null,n?sessionStorage.setItem(Pw,JSON.stringify({id:n.id,name:n.name})):sessionStorage.removeItem(Pw)}))}}),{actions:Tw,reducer:Iw}=jw,Lw={appBucketPath:"https://static.staging-yunhuipay.com"},Nw={appBucketPath:"https://static.yunhuipay.com"},{appBucketPath:Rw}=function(){switch(window.location.hostname){case"staging-yunhuipay.com":case"www.staging-yunhuipay.com":case"localhost":return Lw;default:return Nw}}(),Dw=qg("user/fetchStatus",(async function(){if(!bp())return Promise.reject(new Error("unauthenticated"));const[{data:e},{data:t},{data:{enableBilling:n}}]=await Promise.all([eh.get("/currentuser"),eh.get("/user/country"),eh.get("/billing/preference")]);return{...e,country:t,enableBilling:n}})),Fw=window.location.hostname.endsWith("yunhuipay.com")?Dw:qg("user/fetchStatus",(async(e,t)=>{let{rejectWithValue:n}=t;try{return await ww()}catch(e){return n(e)}})),Mw={syncing:!1,initialized:!1,error:null,data:{user:{},role:{},roles:[],enrollment:{},allAccountPermissionsInOrg:[],country:{code:"",currency:"",name:""}}},Bw=Bg({name:"user",initialState:Mw,reducers:{setLangKey:(e,t)=>{var n;null!==(n=e.data)&&void 0!==n&&n.user&&(e.data.user.langKey=t.payload)}},extraReducers:e=>{e.addCase(Fw.pending,(e=>{e.syncing=!0,e.error=null})),e.addCase(Fw.fulfilled,((e,t)=>{var n,r;e.syncing=!1,e.initialized=!0,e.error=null,e.data=t.payload,null!==(n=t.payload.user)&&void 0!==n&&n.passwordResetRequired?Xf().then((()=>{Jf(),Qf()})):((e=>{if(Rf.some((e=>window.location.pathname.includes(e))))return!1;const{enrollment:t,orgEnrollment:n}=e;return(0,jr.I)()?(!n||"SUSPENDED"===n.enrollmentStatus||n.permissions.length<1)&&(!t||"SUSPENDED"===t.enrollmentStatus||t.permissions.length<1):!t||"SUSPENDED"===t.enrollmentStatus||t.permissions.length<1})(t.payload)&&window.location.replace(Nf[0]),(0,jr.Mq)((null===(r=t.payload.user)||void 0===r?void 0:r.langKey)||(0,jr.sC)()||jr.ik.en))})),e.addCase(Fw.rejected,((e,t)=>{var n;e.syncing=!1,e.error=t.payload,Ko("get_current_user_error",{message:(null==t||null===(n=t.error)||void 0===n?void 0:n.message)||"rejected",error:(0,ci.M)(t.error)}),ei("error")(t.type,(0,ci.M)(t.error))})),e.addCase(_w.fulfilled,((e,t)=>({syncing:!1,initialized:!0,error:null,data:t.payload.user??Mw.data}))),e.addCase(Aw.fulfilled,((e,t)=>({syncing:!1,initialized:!0,error:null,data:t.payload.user})))}}),{actions:Vw,reducer:zw}=Bw,Uw={initialized:!1,data:void 0,error:void 0,cardsEnabled:void 0,cardsEnabledResolved:!1,cardsEnabledFetchFailed:!1,hasDualOnboardingEntity:!1,dualOnboardingResolved:!1},Hw=qg("org/fetchStatus",vw),qw=qg("org/fetchCardsEnabled",(async function(){var e;const{data:t}=await Tf.query({query:pw,fetchPolicy:"network-only",context:{headers:{"x-routing-by":"org"}}});return"OrgAuthContext"===(null==t||null===(e=t.authContext)||void 0===e?void 0:e.__typename)&&!!t.authContext.org.isCardsEnabled})),Ww=qg("org/fetchDualOnboarding",(async function(){let e;try{var t;const{data:n}=await Promise.race([Tf.query({query:fw,fetchPolicy:"network-only",context:{headers:{"x-routing-by":"org"}}}),new Promise(((t,n)=>{e=setTimeout((()=>n(new Error("ORG_DUAL_ONBOARDING_TIMEOUT"))),1e4)}))]);return"OrgAuthContext"===(null==n||null===(t=n.authContext)||void 0===t?void 0:t.__typename)&&!!n.authContext.org.hasDualOnboardingEntity}finally{clearTimeout(e)}})),$w=Bg({name:"org",initialState:Uw,reducers:{setDisplayName:(e,t)=>{e.data&&(e.data.displayNameForIA=t.payload)}},extraReducers:e=>{e.addCase(Hw.pending,(e=>{e.error=void 0})),e.addCase(Hw.fulfilled,((e,t)=>{var n;e.initialized=!0,e.data=t.payload?{id:t.payload.id,name:t.payload.name,orgType:t.payload.orgType,displayNameForIA:t.payload.displayNameForIA,tierType:t.payload.tierType,disputeAccounts:t.payload.disputeAccounts,posTerminalAccounts:t.payload.posTerminalAccounts,paStatus:t.payload.paStatus,orgPaEnabled:t.payload.orgPaEnabled,migrated:t.payload.migrated,viewerCanCreateAccounts:t.payload.viewerCanCreateAccounts,isBusinessAccountsEnabled:t.payload.isBusinessAccountsEnabled,orgHasPlatformAccount:t.payload.orgHasPlatformAccount,hasKycPassedEntity:t.payload.hasKycPassedEntity,isCardsEnabled:e.cardsEnabled??(null===(n=e.data)||void 0===n?void 0:n.isCardsEnabled)??!1,spendAnalyticsConfigs:t.payload.spendAnalyticsConfigs}:void 0,e.error=void 0})),e.addCase(Hw.rejected,((e,t)=>{e.error=t.error,ei("error")(t.type,(0,ci.M)(t.error))})),e.addCase(_w.fulfilled,((e,t)=>{var n,r;if(!t.payload.org)return Uw;const o=t.payload.org.id===(null===(n=e.data)||void 0===n?void 0:n.id);return{initialized:!0,data:{id:t.payload.org.id,name:t.payload.org.name,orgType:t.payload.org.orgType,displayNameForIA:t.payload.org.dis
259playNameForIA,tierType:t.payload.org.tierType,paStatus:t.payload.org.paStatus,orgPaEnabled:t.payload.org.orgPaEnabled,migrated:t.payload.org.migrated,disputeAccounts:t.payload.org.disputeAccounts,posTerminalAccounts:t.payload.org.posTerminalAccounts,viewerCanCreateAccounts:t.payload.org.viewerCanCreateAccounts,isBusinessAccountsEnabled:t.payload.org.isBusinessAccountsEnabled,orgHasPlatformAccount:t.payload.org.orgHasPlatformAccount,hasKycPassedEntity:t.payload.org.hasKycPassedEntity,isCardsEnabled:(null===(r=e.data)||void 0===r?void 0:r.isCardsEnabled)??!1,spendAnalyticsConfigs:t.payload.org.spendAnalyticsConfigs},error:void 0,cardsEnabled:void 0,cardsEnabledResolved:!1,cardsEnabledFetchFailed:!1,hasDualOnboardingEntity:!!o&&e.hasDualOnboardingEntity,dualOnboardingResolved:!!o&&e.dualOnboardingResolved}})),e.addCase(qw.pending,(e=>{e.cardsEnabledResolved=!1,e.cardsEnabledFetchFailed=!1})),e.addCase(qw.fulfilled,((e,t)=>{e.cardsEnabled=t.payload,e.data&&(e.data.isCardsEnabled=t.payload),e.cardsEnabledResolved=!0,e.cardsEnabledFetchFailed=!1})),e.addCase(qw.rejected,((e,t)=>{e.cardsEnabledResolved=!0,e.cardsEnabledFetchFailed=!0,ei("error")(t.type,(0,ci.M)(t.error))})),e.addCase(Ww.fulfilled,((e,t)=>{e.hasDualOnboardingEntity=t.payload,e.dualOnboardingResolved=!0})),e.addCase(Ww.rejected,((e,t)=>{e.dualOnboardingResolved=!0,ei("error")(t.type,(0,ci.M)(t.error))}))}}),{actions:Gw,reducer:Kw}=$w,Zw=qg("featureFlags/fetchStatus",(async(e,t)=>{let{rejectWithValue:n}=t;try{return(await eh.get("/defaultFeatureFlags")).data}catch(e){return n(e)}})),Yw=Bg({name:"featureFlags",initialState:{syncing:!1,initialized:!1,error:null,data:null},reducers:{},extraReducers:e=>{e.addCase(Zw.pending,(e=>{e.syncing=!0,e.error=null})),e.addCase(Zw.fulfilled,((e,t)=>{const n=t.payload;e.syncing=!1,e.initialized=!0,e.error=null,e.data=n})),e.addCase(Zw.rejected,((e,t)=>{var n;e.syncing=!1,e.error=t.payload,Ko("get_default_feature_flags_error",{message:(null==t||null===(n=t.error)||void 0===n?void 0:n.message)||"rejected",error:(0,ci.M)(t.error)})}))}}),{actions:Xw,reducer:Qw}=Yw,Jw=qg("accountGroup/fetchStatus",(async(e,t)=>{let{rejectWithValue:n}=t;try{return await xw()}catch(e){return n(e)}})),ex={syncing:!1,initialized:!1,error:null},tx=Bg({name:"account",initialState:ex,reducers:{},extraReducers:e=>{e.addCase(Jw.pending,(e=>{e.syncing=!0,e.error=null})),e.addCase(Jw.fulfilled,((e,t)=>({syncing:!1,initialized:!0,error:null,...t.payload}))),e.addCase(Jw.rejected,((e,t)=>{e.syncing=!1,e.error=t.payload,ei("error")(t.type,(0,ci.M)(t.error))})),e.addCase(_w.fulfilled,((e,t)=>t.payload.accountGroup?{syncing:!1,initialized:!0,error:null,...t.payload.accountGroup}:ex))}}),{actions:nx,reducer:rx}=tx,ox=qg("platform/fetchPlatformInfo",(async(e,t)=>{let{rejectWithValue:n}=t;try{return await kw(e)}catch(e){return n(e)}})),ix={initialized:!1,error:null},ax=Bg({name:"platform",initialState:ix,reducers:{setInitialized:(e,t)=>{e.initialized=t.payload}},extraReducers:e=>{e.addCase(ox.pending,(e=>{e.error=null})),e.addCase(ox.fulfilled,((e,t)=>({initialized:!0,error:null,platformInfo:t.payload}))),e.addCase(ox.rejected,((e,t)=>{var n;e.error=t.payload,Ko("get_platform_error",{message:(null==t||null===(n=t.error)||void 0===n?void 0:n.message)||"rejected",error:(0,ci.M)(t.error)}),ei("error")(t.type,(0,ci.M)(t.error))})),e.addCase(_w.fulfilled,((e,t)=>{const{platformInfo:n}=t.payload;return null==n?ix:{initialized:!0,error:null,platformInfo:n}}))}}),{actions:sx,reducer:lx}=ax,cx=qg("account/fetchStatus",(async(e,t)=>{let{rejectWithValue:n}=t;try{return await yw()}catch(e){return n(e)}})),ux={syncing:!1,initialized:!1,error:null},dx=Bg({name:"account",initialState:ux,reducers:{setLangKey:(e,t)=>{e.langKey=t.payload,e.primaryContact&&(e.primaryContact.langKey=t.payload)},setNickname:(e,t)=>{e.nickname=t.payload,e.externalInfo?e.externalInfo.nickName=t.payload:e.externalInfo={nickName:t.payload}}},extraReducers:e=>{e.addCase(cx.pending,(e=>{e.syncing=!0,e.error=null})),e.addCase(cx.fulfilled,((e,t)=>({syncing:!1,initialized:!0,error:null,...px(t.payload)}))),e.addCase(cx.rejected,((e,t)=>{var n;e.syncing=!1,e.error=t.payload,Ko("get_account_error",{message:(null==t||null===(n=t.error)||void 0===n?void 0:n.message)||"rejected",error:(0,ci.M)(t.error)}),ei("error")(t.type,(0,ci.M)(t.error))})),e.addCase(Fw.fulfilled,((e,t)=>{var n;e.langKey=null===(n=t.payload)||void 0===n||null===(n=n.user)||void 0===n?void 0:n.langKey,e.primaryContact&&(e.primaryContact.langKey=t.payload.user.langKey)})),e.addCase(_w.fulfilled,((e,t)=>{const n=t.payload.account;return n?{syncing:!1,initialized:!0,error:null,...px(n)}:ux})),e.addCase(Aw.fulfilled,((e,t)=>({syncing:!1,initialized:!0,error:null,...px(t.payload.account)})))}});function px(e){var t,n,r;return{...e,accountDetails:e.accountDetails?{...e.accountDetails,address:(null===(t=e.accountDetails)||void 0===t||null===(t=t.businessDetail
259s)||void 0===t?void 0:t.address)??null}:null,accountId:e.id,apiCredentials:{apiKey:e.apiKey},langKey:(null===(n=e.primaryContact)||void 0===n?void 0:n.langKey)??null,nickname:(null===(r=e.externalInfo)||void 0===r?void 0:r.nickName)??null,personalDetails:e.primaryContact,clientLegalEntity:e.clientLegalEntity,tierType:e.tierType,isPricingPlanCancelled:e.isPricingPlanCancelled}}const{actions:fx,reducer:hx}=dx;var mx=n(6449),gx=n.n(mx),vx=n(48487),yx=n.n(vx),bx=n(95313),wx=n.n(bx),xx=n(98184),kx=n.n(xx);function Cx(e){let{org:t,account:n,accountGroup:r}=e;const o=(0,jr.I)(),i=(0,jr.PU)(),a=(0,jr.mg)();return o?i?t.initialized&&n.initialized:t.initialized:a?r.initialized:n.initialized}const Ex=()=>({...(0,jr.gW)()?{dc:(0,jr.gW)()}:null,...(0,jr.np)()?{padc:(0,jr.np)()}:null,...(0,jr.XV)()?{issdc:(0,jr.XV)()}:null}),Sx=e=>{var t,n,r;return{...null!==(t=e.data)&&void 0!==t&&t.user.id?{userId:e.data.user.id}:null,...null!==(n=e.data)&&void 0!==n&&n.user.createTime?{createTime:e.data.user.createTime}:null,...null!==(r=e.data)&&void 0!==r&&null!==(r=r.country)&&void 0!==r&&r.code?{country:e.data.country.code}:null}},Ox=e=>{var t,n,r,o,i,a,s,l;return{...null!==(t=e.kycRecord)&&void 0!==t&&t.status?{kycStatus:e.kycRecord.status}:null,...e.owningEntity?{owningEntity:e.owningEntity}:null,...null!==(n=e.accountDetails)&&void 0!==n&&null!==(n=n.businessDetails)&&void 0!==n&&n.industryCategory?{industryCategory:e.accountDetails.businessDetails.industryCategory}:null,...null!==(r=e.clientInternalInfo)&&void 0!==r&&r.spaceId?{spaceId:e.clientInternalInfo.spaceId}:null,...null!==(o=e.scaleModel)&&void 0!==o&&o.managementAccountId?{managementAccountId:e.scaleModel.managementAccountId}:null,fundDeductionMode:null===(i=e.clientApiSettings)||void 0===i?void 0:i.fundDeductionMode,batchPaymentV1:(null===(a=e.featureFlagOverrides)||void 0===a?void 0:a.batchPaymentV1)??!1,transactionApproval:(null===(s=e.featureFlagOverrides)||void 0===s?void 0:s.transactionApproval)??!1,accountActiveDate:(null===(l=e.statusDetails)||void 0===l?void 0:l.activeDate)??null,accountGroupId:e.accountGroupId,legalEntityId:e.legalEntityId,orgId:(0,jr.I)()}},Ax=e=>{var t;return{memberAccountSpaceIds:(null===(t=e.memberAccountSpaceIds)||void 0===t?void 0:t.map((e=>null==e?void 0:e.spaceId)).filter(Boolean))||[]}},_x=e=>{let{user:t,account:n}=e;const r={key:n.id,...Sx(t),...Ex(),...Ox(n)};return{kind:"multi",user:r,account:r}},Px=e=>{let{user:t,accountGroupId:n,accountGroup:r}=e;const o={key:n,...Ax(r),...Sx(t),...Ex()};return{kind:"multi",user:o,accountGroup:o}},jx=e=>{let{user:t,orgId:n,accountId:r,accountState:o}=e;const i={kind:"multi"};return i.org={key:n,orgdc:(0,jr.OX)()},r&&(i.account={key:r,...Sx(t),...Ex(),...Ox(o)},i.user={key:r,...Sx(t),...Ex(),...Ox(o)}),i};function Tx(e){let{user:t,account:n,accountGroup:r}=e;if(!t.initialized)return null;const o=(0,jr.I)(),i=(0,jr.PU)(),a=(0,jr.mg)();return o?jx({user:t,orgId:o,accountId:i,accountState:n}):a?Px({user:t,accountGroupId:a,accountGroup:r}):i&&n.initialized?_x({user:t,account:n}):null}const Ix=(e,t)=>!(null==e||!e.isBusinessAccountsEnabled)||!(null==e||!e.id)&&!!t,Lx=(0,s.createContext)(void 0),Nx=e=>{var t,n,r,o;const i=Xh(),a=(0,jr.I)(),l=(0,jr.PU)(),c=(0,jr.mg)(),u=Qh((e=>e.user)),d=Qh((e=>e.org)),p=d.initialized,f=Qh((e=>e.account)),h=Qh((e=>e.accountGroup)),m=Qh((e=>e.platform)),g=Qh((e=>e.featureFlags)),v={context:{headers:{"x-routing-by":"org"}}},{data:y,loading:b,refetch:w}=ky(gx(),{variables:{spendRequestsEnabled:!!a},...v,errorPolicy:"all"}),{data:x,loading:k,refetch:C}=ky(yx(),{variables:{ffSpendVendorsEnabled:!0,spendPurchaseOrdersEnabled:!!a},...v}),{data:E,refetch:S}=ky(wx(),{...v,skip:!a,errorPolicy:"all"}),O=hn(),A=Ix(d.data,O.spendCardsCardsMovedToOrg)||!!a&&!!O.spendCardsCardsMovedToOrg,{data:_,loading:P}=ky(kx(),{...v,skip:!a||!O.spendBudgetsBudgetMvp}),{isIdentified:j,isReIdentifying:T}=(()=>
259{const e=mn(),[t,n]=(0,s.useState)(!1),[r,o]=(0,s.useState)(!1),i=function(){const e=Qh((e=>e.user)),t=Qh((e=>e.account)),n=Qh((e=>e.accountGroup)),r=Qh(Cx);return(0,s.useMemo)((()=>r?Tx({account:t,accountGroup:n,user:e}):null),[t,n,e,r])}();return(0,s.useEffect)((()=>{e&&i&&(async()=>{try{t&&o(!0),cw()(i,e.getContext())||await Promise.race([e.identify(i),new Promise((e=>setTimeout(e,1e4)))])}finally{n(!0),o(!1)}})()}),[JSON.stringify(i)]),{isIdentified:t,isReIdentifying:r}})(),I=Qh(Cx),L=(e=>{var t,n,r,o,i;let{billsConfig:a}=e;if(a)return{isActivated:!(null==a||null===(t=a.billActivationStatus)||void 0===t||!t.isActivated),isPricingAvailable:(0,jr.I)()?"OrgAuthContext"===(null==a||null===(n=a.authContext)||void 0===n?void 0:n.__typename)&&!(null==a||null===(r=a.authContext)||void 0===r||null===(r=r.org)||void 0===r||!r.billPayAvailable):"AccountAuthContext"===(null==a||null===(o=a.authContext)||void 0===o?void 0:o.__typename)&&!(null==a||null===(i=a.authContext)||void 0===i||!i.account.billPayAvailable)}})({billsConfig:x}),N=(e=>{var t,n,r,o,i;let{vendorsConfig:a}=e;if(a)return{isActivated:!(null==a||null===(t=a.vendorManagementQueries)||void 0===t||null===(t=t.vendorActivationStatus)||void 0===t||!t.isActivated),isPricingAvailable:(0,jr.I)()?"OrgAuthContext"===(null==a||null===(n=a.authContext)||void 0===n?void 0:n.__typename)&&!(null==a||null===(r=a.authContext)||void 0===r||null===(r=r.org)||void 0===r||!r.billPayAvailable):"AccountAuthContext"===(null==a||null===(o=a.authContext)||void 0===o?void 0:o.__typename)&&!(null==a||null===(i=a.authContext)||void 0===i||!i.account.billPayAvailable)}})({vendorsConfig:x}),R=(e=>{var t,n,r;let{purchaseOrdersConfig:o}=e;if(o)return{isActivated:!(null==o||null===(t=o.purchaseOrderQueries)||void 0===t||null===(t=t.activationStatus)||void 0===t||!t.isActivated),isPricingAvailable:!!(0,jr.I)()&&"OrgAuthContext"===(null==o||null===(n=o.authContext)||void 0===n?void 0:n.__typename)&&!(null==o||null===(r=o.authContext)||void 0===r||null===(r=r.org)||void 0===r||!r.purchaseOrdersAvailable)}})({purchaseOrdersConfig:x}),D=(e=>{var t,n;return"OrgAuthContext"!==(null==e||null===(t=e.authContext)||void 0===t?void 0:t.__typename)||!1!==(null===(n=e.authContext.org)||void 0===n?void 0:n.extBillingEnabled)})(E),[F,M]=(0,s.useState)(!1),B=(()=>{const{delegators:e,loading:t}=Ny(),[n,r]=Ry(),o=(0,jr.I)(),[i,a]=(()=>{const[e,t,n]=Iy("airwallex_delegator_id"),r=(0,s.useMemo)((()=>new URL(window.location.href)),[]);return(0,s.useEffect)((()=>{const n=r.searchParams.get("delegatorId");n&&(e!==n&&t(n),r.searchParams.delete("delegatorId"),window.history.replaceState(window.history.state,"",r))}),[e,t,r]),[e,n]})();return(0,s.useEffect)((()=>{if(n||i){if(n&&n.orgId!==o)return console.warn("Clearing delegator due to mismatched orgId"),r(void 0);if(!t){if(i){const t=e.find((e=>e.userId===i&&e.orgId===o));t?(null==n?void 0:n.userId)!==t.userId&&r(t):console.warn("Ignoring query param delegatorId due to mismatch"),a()}n&&!e.some((e=>e.userId===n.userId&&e.orgId===o))&&(console.warn("Clearing missing delegator"),r(void 0))}}}),[e,n,r,o,t,i,a]),t})(),V=!!a&&j&&A&&!d.cardsEnabledResolved,z=u.initialized&&j&&I&&(!l||g.initialized)&&!b&&!k&&!P&&(!l||m.initialized)&&!B&&!V;(0,s.useEffect)((()=>{u.initialized||i(Fw())}),[i,u.initialized]),(0,s.useEffect)((()=>{!a||p||F||i(Hw())}),[a,p,i,F]),(0,s.useEffect)((()=>{a&&!F&&i(qw())}),[a,F,i]),(0,s.useEffect)((()=>{a&&!F&&i(Ww())}),[a,F,i]),Ur("awx:update-org-name",(e=>{var t;if("MAME"===(null===(t=d.data)||void 0===t?void 0:t.orgType)){const{name:t}=e.detail;i(Gw.setDisplayName(t))}i(Hw())})),Ur("awx:update-account-nickname",(e=>{var t;e.detail.accountId&&e.detail.accountId!==f.id||"SASE"!==(null===(t=d.data)||void 0===t?void 0:t.orgType)||(i(Gw.setDisplayName(e.detail.nickname)),i(Hw()))})),(0,s.useEffect)((()=>{!l||f.initialized||F||i(cx())}),[f.initialized,l,i,F]),Ur("awx:update-account-nickname",(e=>{e.detail.accountId&&e.detail.accountId!==f.id||(i(fx.setNickname(e.detail.nickname)),i(cx()))})),(0,s.useEffect)((()=>{!l||g.initialized||F||i(Zw())}),[l,g.initialized,i,F]),(0,s.useEffect)((()=>{!c||h.initialized||F||i(Jw())}),[h.initialized,c,i,F]),(0,s.useEffect)((()=>
259{if(c)i(sx.setInitialized(!0));else if(f.initialized&&!m.initialized&&!F){var e,t,n;null!==(e=f.scaleConnectedPlatformInfo)&&void 0!==e&&e.platformOpenId?i(ox(null===(n=f.scaleConnectedPlatformInfo)||void 0===n?void 0:n.platformOpenId)):(null===(t=f.scaleModel)||void 0===t?void 0:t.scaleAccountType)===Ow.SCALE_PARTNER&&f.openId?i(ox(f.openId)):i(sx.setInitialized(!0))}}),[i,f.openId,null===(t=f.scaleConnectedPlatformInfo)||void 0===t?void 0:t.platformOpenId,c,null===(n=f.scaleModel)||void 0===n?void 0:n.scaleAccountType,F,f.initialized,m.initialized]);const U=(0,s.useCallback)((()=>Promise.all([i(Fw()),i(cx()),i(Zw())])),[i]),H=(0,s.useCallback)((async e=>{if(F)return;M(!0);const t=(0,jr.I)(),n=(0,jr.PU)(),r=(0,jr.mg)();try{const a=await i(_w({orgId:t,accountId:n,accountGroupId:r,accountGroupView:null==e?void 0:e.hideOrgNavForAccountGroup}));a.type===_w.rejected.type&&o(a),await Promise.all([Zw(),w(),C(),...t?[S().catch((e=>zr.error("ExtBillingConfig refetch failed",{error:e})))]:[]])}catch(e){o(e)}finally{M(!1)}function o(e){console.error("[webapp-container IdentityAuthProvider] reinitialization failed",(0,ci.M)(e)),zr.error("Reinitialization failed",{error:e}),window.location.reload()}}),[F,i,w,C,S]);return[u.error,d.error,f.error,h.error,m.error,g.error].find((e=>e&&!function(e){var t,n;if(!e)return!1;if(e instanceof Error&&"unauthenticated"===e.message)return!0;if(di().isAxiosError(e)&&401===(null===(t=e.response)||void 0===t?void 0:t.status))return!0;const r=null==e?void 0:e.networkError;return 401===(null==r?void 0:r.statusCode)||401===(null==r||null===(n=r.response)||void 0===n?void 0:n.status)}(e))),gi(Lx.Provider,{value:{initialized:z,fullyReinitialize:H,isReinitializing:F||T,reinitialize:U,user:u,account:f,accountGroup:h,org:d.data,expenseConfig:y,billsConfig:L,vendorsConfig:N,purchaseOrdersConfig:R,spendAnalyticsConfig:(null===(r=d.data)||void 0===r?void 0:r.spendAnalyticsConfigs)??void 0,transferSettings:f.transferSettings,hasOwnedBudget:null==_||null===(o=_.spendBudgetQueries)||void 0===o?void 0:o.hasOwnedBudgets,extBillingEnabled:D},...e})},Rx=e=>{const t=t=>gi(Nx,{children:c().createElement(e,t)});return t.displayName=`withIdentityAuthProvider(${e.displayName||e.name})`,t},Dx=()=>{const e=(0,s.useContext)(Lx);if(void 0===e)throw new Error("useIdentityAuth must be used within a IdentityAuthProvider provider");return e},Fx=[{key:"security",path:"/app/account/settings",activeFn:e=>{let{location:{pathname:t,search:n}}=e;const r=`${t}${n}`;return!(null!=n&&n.includes("enrollment"))&&r.indexOf("account/settings")>-1}},{key:"enrollment",path:"/app/account/settings?tab=enrollment",activeFn:e=>{let{location:{search:t}}=e;return!(null==t||!t.includes("enrollment"))}}],Mx=[{key:"menu.developerGuides",path:"/app/developer",activeFn:e=>{let{location:{pathname:t}}=e;return["/app/developer","/app1/developer","/app/developer/"].includes(t??"")}},{key:"menu.apiKeys",path:"/app/account/apiKeys",activeFn:e=>{let{location:{pathname:t}}=e;return!(null==t||!t.includes("account/apiKeys"))}},{key:"menu.webhooks",path:"/app/developer/webhooks",activeFn:e=>{let{location:{pathname:t}}=e;return!(null==t||!t.includes("developer/webhooks"))}},{key:"menu.connectionLink",path:"/app/developer/connectionlink",activeFn:e=>{let{location:{pathname:t}}=e;return!(null==t||!t.includes("/developer/connectionlink"))}}],Bx=e=>{var t;let{flags:n,user:r}=e;const o=(null===(t=r.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions)??[];return!(!n.addFundsMicroApp||!Kr(o,"r:awx:gtpn.linked_accounts.*"))},Vx=[{key:"balances",path:"/app/wallet/balances"},{key:"walletSummary",path:"/app/wallet/balances"},{key:"orgBalances",path:"/app/wallet/org/balances"},{key:"orgTransactions",path:"/app/wallet/org/transactions"},{key:"transactions",path:"/app/wallet/transactions"},{key:"linkedaccounts",path:"/app/linkedaccounts/accounts"},{key:"settings",path:"/app/wallet/settings"}],zx=e=>{var t;let{user:n}=e;const r=(null===(t=n.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions)??[];return Kr(r,"r:awx:fx.conversions.*:*")};function Ux(e,t){return!(null==t||!t.id)&&Kr(e,"r:awx:gtpn.global_accounts.*:*")}function Hx(e){var t,n;let{account:r,flags:o,user:i,isOrg:a=!1}=e;const s=(a?null===(t=i.data)||void 0===t?void 0:t.allAccountPermissionsInOrg:null==i||null===(n=i.data)||void 0===n||null===(n=n.enrollment)||void 0===n?void 0:n.permissions)??[],l=Kr(s,"r:awx:core_banking.wallet.balances.*"),c=Kr(s,"r:awx:treasury_management.wallet.transactions.*"),u=Kr(s,"r:awx:yield.investor.*"),d=Kr(s,"r:awx:credit.loan_account.*"),p=["r:awx:gtpn.global_accounts.*","w:awx:gtpn.global_accounts.*"].every((e=>Kr(s,e))),f={balances:l||u||d,transactions:c||u||d,linkedAccounts:Bx({user:i,flags:o}),globalAccounts:Ux(s,r),conversions:zx({user:i}),settings:l||p};return{hasPermission:Object.values(f).some((e=>e)),hasOrgPermission:f.balances||f.transactions,walletPagePermissions:f}}function qx(e){return Kr(e,"r:awx:gtpn.transfers_v2.*:*")}function Wx(e,t,n){var r,o,i;return Kr(e,"r:awx:gtpn.transfer_methods.*:*")&&(!(null==t||null===(r=t.clientApiSettings)||void 0===r||null===(r=r.chinaInboundSettings)||void 0===r||null===(r=r.goodsTradeOffline)||void 0===r||!r.enabled)||!(null==t||null===(o=t.clientApiSettings)||void 0===o||null===(o=o.chinaInboundSettings)||void 0===o||null===(o=o.goodsTradeOnlineB2B)||void 0===o||!o.enabled)||!(null==t||null===(i=t.clientApiSettings)||void 0===i||null===(i=i.chinaInboundSettings)||void 0===i||null===(i=i.goodsTradeOnline)||void 0===i||!i.payment))&&!cm(null==t?void 0:t.owningEntity,n)}function $x(e,t,n){return Kr(e,"r:awx:gtpn.transfer_approvals.*:*")&&!cm(null==t?void 0:t.owningEntity,n)}function Gx(e,t){return Kr(e,"r:awx:gtpn.transfer_settings.*:*")&&!(null==t||!t.isRefundNewFlowEnabled)}const Kx=e=>t=>{let{location:n}=t;return null==e?void 0:e.some((e=>{var t;return null===(t=n.pathname)||void 0===t?void 0:t.includes(e)}))},Zx=()=>{const{initialized:e,user:t,account:n,transferSettings:r}=Dx(),o=Qh(Jv),i=hn(),{t:a}=sw(),{pathname:l}=(0,Yh.useLocation)(),c=ao(co(l)),u=(()=>{const e=Qh((e=>{var t,n;let{account:r,platform:o}=e;const i=(null===(t=r.scaleModel)||void 0===t?void 0:t.scaleAccountType)===Ow.SCALE_PARTNER;return!(null===(n=o.platformInfo)||void 0===n||!n.scaleWebSignUpEnable)&&i})),{t}=sw(),n=Mx.map((e=>({...e,label:t(e.key)})));return null==n?void 0:n.filter((t=>"menu.connectionLink"!==t.key||e))})(),d=(0,Yh.useLocation)();return(0,s.useMemo)((()=>e?l.includes("/app/account/settings")?((e,t)=>
259{var n;const r=Fx.map((e=>({...e,label:t(e.key)}))),o=(null===(n=e.data)||void 0===n||null===(n=n.enrollment)||void 0===n?void 0:n.permissions)??[],i={security:Kr(o,"r:awx:system.accounts:*")&&Kr(o,"w:awx:system.accounts.*")};return null==r?void 0:r.filter((e=>i[e.key]))})(t,a):l.includes("/app/account/apiKeys")||"developer"===c?u:"wallet"===c||"add-funds"===c?((e,t,n,r,o)=>{var i;const a=(0,jr.mg)(),s="org"===o.pathname.split("/")[3],l=!!a||s,c=null==e||null===(i=e.kycRecord)||void 0===i?void 0:i.status,u=Vx.map((e=>({...e,label:r(e.key)}))),{walletPagePermissions:d}=Hx({account:e,flags:n,user:t,isOrg:s}),p={balances:()=>!(!d.balances||"AIRWALLEX_MY"===(null==e?void 0:e.owningEntity)&&!n.myFullLaunch||l),orgBalances:()=>!!d.balances&&"AIRWALLEX_MY"!==(null==e?void 0:e.owningEntity)&&!!s,orgTransactions:()=>!!d.transactions&&!!s,walletSummary:()=>!!d.balances&&"AIRWALLEX_MY"!==(null==e?void 0:e.owningEntity)&&!!a,transactions:()=>!(!d.transactions||s||!a&&"AIRWALLEX_MY"!==(null==e?void 0:e.owningEntity)&&"SUCCESS"!==c),linkedaccounts:()=>!!d.linkedAccounts&&!l&&!cm(null==e?void 0:e.owningEntity,n)&&Bx({flags:n,user:t}),settings:()=>!!d.settings&&!cm(null==e?void 0:e.owningEntity,n)&&"SUCCESS"===c&&!l};return null==u?void 0:u.filter((e=>p[e.key]()))})(n,t,i,a,d):"payout"===c||"approvals"===c||"order-collection"===c?((e,t,n,r,o,i)=>{var a;const s=(null===(a=t.data)||void 0===a||null===(a=a.enrollment)||void 0===a?void 0:a.permissions)??[],l=qx(s),c=Wx(s,e,o),u=$x(s,e,o),d=Gx(s,r),p=Boolean(null==i?void 0:i.isBusinessAccountsEnabled);return[{label:n("transfers.summary"),path:"/app/transfers/payouts/summary",permitted:l,activeFn:Kx(["/payouts/summary","/batchDetail"])},{label:n("transfers.methods"),path:"/app/transfers/payouts/transfer-methods",permitted:c,activeFn:Kx(["/payouts/transfer-methods","/order-collection/limit-management"])},{label:n("transfers.approval"),path:"/app/approvals/transfers",permitted:!(o.gtpnTransferOrgApprovalWorkflowEnabled&&(0,jr.I)())&&!p&&u},{label:n("transfers.settings"),path:"/app/transfers/payouts/settings",permitted:!p&&d}].filter((e=>e.permitted))})(n,t,a,r,i,o):[]:[]),[c,i,e,a,t,l,u,o])},Yx=c().createContext({initialized:!1,fluid:!1,tabs:[],updateTopNav:()=>{},usingContainerRoutes:!1,allowTabs:!0,sandboxBannerHeight:0,setSandboxBannerHeight:()=>{},hideProfileAndHelp:!1}),Xx=e=>{let{hideProfileAndHelp:t=!1,...n}=e;const r=(0,Yh.useLocation)(),o=(0,s.useRef)(ao(co(r.pathname))),i=Zx(),[a,l]=(0,s.useState)(!0),[c,u]=(0,s.useState)(!1),[d,p]=(0,s.use
259State)(null),[f,h]=(0,s.useState)(0),[m,g]=(0,s.useState)(!0),v=(0,s.useCallback)((e=>{let{tabs:t,fluid:n,usingContainerRoutes:r,allowTabs:i}=e;l(n??!1),g(i??!0);const a=ao(co(window.location.pathname));a&&(o.current=a),r?u(!0):(p(t??[]),u(!1))}),[]);(0,s.useEffect)((()=>{const e=ao(co(r.pathname));e!==o.current&&(!c||null!=i&&i.every((e=>{let{path:t}=e;return!r.pathname.includes(t)})))&&(o.current=e,p(null),u(!1),g(!0))}),[d,i,c,r.pathname]);const y=c?i:d;return gi(Yx.Provider,{value:{initialized:!!y,tabs:y??[],fluid:a,usingContainerRoutes:c,allowTabs:m,updateTopNav:v,sandboxBannerHeight:f,setSandboxBannerHeight:h,hideProfileAndHelp:t},...n})},Qx=()=>c().useContext(Yx),Jx={};function ek(){const e=Qh((e=>e.featureFlags.data??Jx)),t=Qh((e=>e.account.featureFlagOverrides??Jx));return(0,s.useCallback)((function(n){const r=t[n];if(void 0!==r)return r;const o=e[n];return void 0!==o?o:void 0}),[e,t])}const tk=rv([e=>e.featureFlags.data,e=>e.account.featureFlagOverrides],((e,t)=>((e,t)=>{const n={};function r(e){return n[e]||{backendDefault:void 0,backendOverride:void 0}}return Object.keys(e).forEach((t=>{n[t]={...r(t),backendDefault:e[t]}})),Object.keys(t).forEach((e=>{n[e]={...r(e),backendOverride:t[e]}})),n})(e??{},t??{})));var nk=n(55364),rk=n.n(nk);const ok={error:(e,t)=>{zr.error("REMOTE_COMPONENT_LOAD_ERROR",{message:e,params:t})},warn:(e,t)=>{zr.warn("REMOTE_COMPONENT_LOAD_WARNING",{message:e,params:t})},info:(e,t)=>{zr.info("REMOTE_COMPONENT_LOAD_INFO",{message:e,params:t})}},ik={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class ak{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||ik,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new ak(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new ak(this.logger,e)}}var sk=new ak;class lk{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach((e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)})),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&Array.from(this.observers[e].entries()).forEach((e=>{let[t,r]=e;for(let e=0;e<r;e++)t(...n)})),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach((t=>{let[r,o]=t;for(let t=0;t<o;t++)r.apply(r,[e,...n])}))}}const ck=()=>{let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n},uk=e=>null==e?"":""+e,dk=/###/g,pk=e=>e&&e.indexOf("###")>-1?e.replace(dk,"."):e,fk=e=>!e||"string"==typeof e,hk=(e,t,n)=>{const r="string"!=typeof t?t:t.split(".");let o=0;for(;o<r.length-1;){if(fk(e))return{};const t=pk(r[o]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++o}return fk(e)?{}:{obj:e,k:pk(r[o])}},mk=(e,t,n)=>{const{obj:r,k:o}=hk(e,t,Object);if(void 0!==r||1===t.length)return void(r[o]=n);let i=t[t.length-1],a=t.slice(0,t.length-1),s=hk(e,a,Object);for(;void 0===s.obj&&a.length;)i=`${a[a.length-1]}.${i}`,a=a.slice(0,a.length-1),s=hk(e,a,Object),s&&s.obj&&void 0!==s.obj[`${s.k}.${i}`]&&(s.obj=void 0);s.obj[`${s.k}.${i}`]=n},gk=(e,t)=>{const{obj:n,k:r}=hk(e,t);if(n)return n[r]},vk=(e,t,n)=>{for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):vk(e[r],t[r],n):e[r]=t[r]);return e}
vendor: 3,896 bytes, line 259
259,yk=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var bk={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const wk=e=>"string"==typeof e?e.replace(/[&<>"'\/]/g,(e=>bk[e])):e,xk=[" ",",","?","!",";"],kk=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20),Ck=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let o=e;for(let e=0;e<r.length;){if(!o||"object"!=typeof o)return;let t,i="";for(let a=e;a<r.length;++a)if(a!==e&&(i+=n),i+=r[a],t=o[i],void 0!==t){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<r.length-1)continue;e+=a-e+1;break}o=t}return o},Ek=e=>e&&e.indexOf("_")>0?e.replace("_","-"):e;class Sk extends lk{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],n&&(Array.isArray(n)?a.push(...n):"string"==typeof n&&o?a.push(...n.split(o)):a.push(n)));const s=gk(this.data,a);return!s&&!t&&!n&&e.indexOf(".")>-1&&(e=a[0],t=a[1],n=a.slice(2).join(".")),s||!i||"string"!=typeof n?s:Ck(this.data&&this.data[e]&&this.data[e][t],n,o)}addResource(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator;let a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),mk(this.data,a,r),o.silent||this.emit("added",e,t,n,r)}addResources(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const r in n)("string"==typeof n[r]||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);let s=gk(this.data,a)||{};i.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?vk(s,n,o):s={...s,...n},mk(this.data,a,s),i.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var Ok={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,o){return e.forEach((e=>{this.processors[e]&&(t=this.processors[e].process(t,n,r,o))})),t}};const Ak={};class _k extends lk{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),((e,t,n)=>{["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
259i18nFormat","utils"].forEach((e=>{t[e]&&(n[e]=t[e])}))})(0,e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=sk.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;const n=this.resolve(e,t);return n&&void 0!==n.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let o=t.ns||this.options.defaultNS||[];const i=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,n)=>{t=t||"",n=n||"";const r=xk.filter((e=>t.indexOf(e)<0&&n.indexOf(e)<0));if(0===r.length)return!0;const o=kk.getRegExp(`(${r.map((e=>"?"===e?"\\?":e)).join("|")})`);let i=!o.test(e);if(!i){const t=e.indexOf(n);t>0&&!o.test(e.substring(0,t))&&(i=!0)}return i})(e,n,r));if(i&&!a){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:o};const i=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(i[0])>-1)&&(o=i.shift()),e=i.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const r=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:i,namespaces:a}=this.extractFromKey(e[e.length-1],t),s=a[a.length-1],l=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(c){const e=t.nsSeparator||this.options.nsSeparator;return r?{res:`${s}${e}${i}`,usedKey:i,exactUsedKey:i,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:`${s}${e}${i}`}return r?{res:i,usedKey:i,exactUsedKey:i,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:i}const u=this.resolve(e,t);let d=u&&u.res;const p=u&&u.usedKey||i,f=u&&u.exactUsedKey||i,h=Object.prototype.toString.apply(d),m=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,g=!this.i18nFormat||this.i18nFormat.handleAsObject;if(g&&d&&"string"!=typeof d&&"boolean"!=typeof d&&"number"!=typeof d&&["[object Number]","[object Function]","[object RegExp]"].indexOf(h)<0&&("string"!=typeof m||!Array.isArray(d))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,d,{...t,ns:a}):`key '${i} (${this.language})' returned an object instead of string.`;return r?(u.res=e,u.usedParams=this.getUsedParamsDetails(t),u):e}if(o){const e=Array.isArray(d),n=e?[]:{},r=e?f:p;for(const e in d)if(Object.prototype.hasOwnProperty.call(d,e)){const i=`${r}${o}${e}`;n[e]=this.translate(i,{...t,joinArrays:!1,ns:a}),n[e]===i&&(n[e]=d[e])}d=n}}else if(g&&"string"==typeof m&&Array.isArray(d))d=d.join(m),d&&(d=this.extendTranslation(d,e,t,n));else{let r=!1,a=!1;const c=void 0!==t.count&&"string"!=typeof t.count,p=_k.hasDefaultValue(t),f=c?this.pluralResolver.getSuffix(l,t.count,t):"",h=t.ordinal&&c?this.pluralResolver.getSuffix(l,t.count,{ordinal:!1}):"",m=c&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),g=m&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${f}`]||t[`defaultValue${h}`]||t.defaultValue;!this.isValidLookup(d)&&p&&(r=!0,d=g),this.isValidLookup(d)||(a=!0,d=i);const v=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:d,y=p&&g!==d&&this.options.updateMissing;if(a||r||y){if(this.logger.log(y?"updateKey":"missingKey",l,s,i,y?g:d),o){const e=this.resolve(i,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t<n.length;t++)e.push(n[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const r=(e,n,r)=>{const o=p&&r!==d?r:v;this.options.missingKeyHandler?this.options.missingKeyHandler(e,s,n,o,y,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,s,n,o,y,t),this.emit
vendor: 40,170 bytes, line 259
259("missingKey",e,s,n,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?e.forEach((e=>{const n=this.pluralResolver.getSuffixes(e,t);m&&t[`defaultValue${this.options.pluralSeparator}zero`]&&n.indexOf(`${this.options.pluralSeparator}zero`)<0&&n.push(`${this.options.pluralSeparator}zero`),n.forEach((n=>{r([e],i+n,t[`defaultValue${n}`]||g)}))})):r(e,i,g))}d=this.extendTranslation(d,e,t,u,n),a&&d===i&&this.options.appendNamespaceToMissingKey&&(d=`${s}:${i}`),(a||r)&&this.options.parseMissingKeyHandler&&(d="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${i}`:i,r?d:void 0):this.options.parseMissingKeyHandler(d))}return r?(u.res=d,u.usedParams=this.getUsedParamsDetails(t),u):d}extendTranslation(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const a="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let s;if(a){const t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language||r.usedLng,n),a){const t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(n.lng=this.language||r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn(`It seems you are nesting recursively key: ${r[0]} in key: ${t[0]}`),null):i.translate(...r,t)}),n)),n.interpolation&&this.interpolator.reset()}const a=n.postProcess||this.options.postProcess,s="string"==typeof a?[a]:a;return null!=e&&s&&s.length&&!1!==n.applyPostProcessor&&(e=Ok.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e){let t,n,r,o,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const s=this.extractFromKey(e,a),l=s.key;n=l;let c=s.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const u=void 0!==a.count&&"string"!=typeof a.count,d=u&&!a.ordinal&&0===a.count&&this.pluralResolver.shouldUseIntlApi(),p=void 0!==a.context&&("string"==typeof a.context||"number"==typeof a.context)&&""!==a.context,f=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);c.forEach((e=>{this.isValidLookup(t)||(i=e,!Ak[`${f[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(i)&&(Ak[`${f[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${f.join(", ")}" won't get resolved as namespace "${i}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach((n=>{if(this.isValidLookup(t))return;o=n;const i=[l];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(i,l,n,e,a);else{let e;u&&(e=this.pluralResolver.getSuffix(n,a.count,a));const t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(i.push(l+e),a.ordinal&&0===e.indexOf(r)&&i.push(l+e.replace(r,this.options.pluralSeparator)),d&&i.push(l+t)),p){const n=`${l}${this.options.contextSeparator}${a.context}`;i.push(n),u&&(i.push(n+e),a.ordinal&&0===e.indexOf(r)&&i.push(n+e.replace(r,this.options.pluralSeparator)),d&&i.push(n+t))}}let s;for(;s=i.pop();)this.isValidLookup(t)||(r=s,t=this.getResource(n,e,s,a))})))}))})),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&"string"!=typeof e.replace;let r=n?e.replace:e;if(n&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const e of t)delete r[e]}return r}static hasDefaultValue(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}const Pk=e=>e.charAt(0).toUpperCase()+e.slice(1);class jk{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=sk.create("languageUtils")}getScriptPartFromCode(e){if(!(e=Ek(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=Ek(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"==typeof e&&e.indexOf("-")>-1){const t=["hans","hant","latn","cyrl","cans","mong","arab"];let n=e.split("-");return this.options.lowerCaseLng?n=n.map((e=>e.toLowerCase())):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Pk(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Pk(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=Pk(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find((e=>e===n?e:e.indexOf("-")<0&&n.indexOf("-")<0?void 0:e.indexOf("-")>0&&n.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],o=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return"string"==typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),n.forEach((e=>{r.indexOf(e)<0&&o(this.formatLanguageCode(e))})),r}}let Tk=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Ik={1:e=>Number(e>1),2:e=>Number(1!=e),3:e=>0,4:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),5:e=>Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5),6:e=>Number(1==e?0:e>=2&&e<=4?1:2),7:e=>Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),8:e=>Number(1==e?0:2==e?1:8!=e&&11!=e?2:3),9:e=>Number(e>=2),10:e=>Number(1==e?0:2==e?1:e<7?2:e<11?3:4),11:e=>Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3),12:e=>Number(e%10!=1||e%100==11),13:e=>Number(0!==e),14:e=>Number(1==e?0:2==e?1:3==e?2:3),15:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2),16:e=>Number(e%10==1&&e%100!=11?0:0!==e?1:2),17:e=>Number(1==e||e%10==1&&e%100!=11?0:1),18:e=>Number(0==e?0:1==e?1:2),19:e=>Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3),20:e=>Number(1==e?0:0==e||e%100>0&&e%100<20?1:2),21:e=>Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0),22:e=>Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)};const Lk=["v1","v2","v3"],Nk=["v4"],Rk={zero:0,one:1,two:2,few:3,many:4,other:5};class Dk{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=sk.create("pluralResolver"),this.options.compatibilityJSON&&!Nk.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(()=>{const e={};return Tk.forEach((t=>{t.lngs.forEach((n=>{e[n]={numbers:t.nr,plurals:Ik[t.fc]}}))})),e})(),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{const n=Ek("dev"===e?"en":e),r=t.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:n,type:r});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];const i=new Intl.PluralRules(n,{type:r});return this.pluralRulesCache[o]=i,i}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort(((e,t)=>Rk[e]-Rk[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):n.numbers.map((n=>this.getSuffix(e,n,t))):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=this.getRule(e,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:this.getSuffixRetroCompatible(r,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let r=e.numbers[n];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r="plural":1===r&&(r=""));const o=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return"v1"===this.options.compatibilityJSON?1===r?"":"number"==typeof r?`_plural_${r.toString()}`:o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!Lk.includes(this.options.compatibilityJSON)}}const Fk=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=((e,t,n)=>{const r=gk(e,n);return void 0!==r?r:gk(t,n)})(e,t,n);return!i&&o&&"string"==typeof n&&(i=Ck(e,n,r),void 0===i&&(i=Ck(t,n,r))),i},Mk=e=>e.replace(/\$/g,"$$$$");class Bk{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=sk.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:o,prefixEscaped:i,suffix:a,suffixEscaped:s,formatSeparator:l,unescapeSuffix:c,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:p,nestingSuffix:f,nestingSuffixEscaped:h,nestingOptionsSeparator:m,maxReplaces:g,alwaysFormat:v}=e.interpolation;this.escape=void 0!==t?t:wk,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=o?yk(o):i||"{{",this.suffix=a?yk(a):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=d?yk(d):p||yk("$t("),this.nestingSuffix=f?yk(f):h||yk(")"),this.nestingOptionsSeparator=m||",",this.maxReplaces=g||1e3,this.alwaysFormat=void 0!==v&&v,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let o,i,a;const s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=e=>{if(e.indexOf(this.formatSeparator)<0){const o=Fk(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(o,void 0,n,{...r,...t,interpolationkey:e}):o}const o=e.split(this.formatSeparator),i=o.shift().trim(),a=o.join(this.formatSeparator).trim();return this.format(Fk(t,s,i,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...r,...t,interpolationkey:i})};this.resetRegExp();const c=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>Mk(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?Mk(this.escape(e)):Mk(e)}].forEach((t=>{for(a=0;o=t.regex.exec(e);){const n=o[1].trim();if(i=l(n),void 0===i)if("function"==typeof c){const t=c(e,o,r);i="string"==typeof t?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))i="";else{if(u){i=o[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),i=""}else"string"==typeof i||this.useRawValueToEscape||(i=uk(i));const s=t.safeValue(i);if(e=e.replace(o[0],s),u?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,a++,a>=this.maxReplaces)break}})),e}nest(e,t){let n,r,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(e,t)=>{const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let i=`{${r[1]}`;e=r[0],i=this.interpolate(i,o);const a=i.match(/'/g),s=i.match(/"/g);(a&&a.length%2==0&&!s||s.length%2!=0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),t&&(o={...t,...o})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,e};for(;n=this.nestingRegexp.exec(e);){let s=[];o={...i},o=o.replace&&"string"!=typeof o.replace?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){const e=n[1].split(this.formatSeparator).map((e=>e.trim()));n[1]=e.shift(),s=e,l=!0}if(r=t(a.call(this,n[1].trim(),o),o),r&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=uk(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),l&&(r=s.reduce(((e,t)=>this.format(e,t,i.lng,{...i,interpolationkey:n[1].trim()})),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}const Vk=e=>{const t={};return(n,r,o)=>{let i=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(i={...i,[o.interpolationkey]:void 0});const a=r+JSON.stringify(i);let s=t[a];return s||(s=e(Ek(r),o),t[a]=s),s(n)}};class zk{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=sk.create("formatter"),this.options=e,this.formats={number:Vk(((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)})),currency:Vk(((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)})),datetime:Vk(((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)})),relativetime:Vk(((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")})),list:Vk(((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)}))},this.init(e)}init(e){const t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Vk(t)}format(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=t.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find((e=>e.indexOf(")")>-1))){const e=o.findIndex((e=>e.indexOf(")")>-1));o[0]=[o[0],...o.splice(1,e)].join(this.formatSeparator)}const i=o.reduce(((e,t)=>{const{formatName:o,formatOptions:i}=(e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const o=r[1].substring(0,r[1].length-1);"currency"===t&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):"relativetime"===t&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach((e=>{if(e){const[t,...r]=e.split(":"),o=r.join(":").trim().replace(/^'+|'+$/g,""),i=t.trim();n[i]||(n[i]=o),"false"===o&&(n[i]=!1),"true"===o&&(n[i]=!0),isNaN(o)||(n[i]=parseInt(o,10))}}))}return{formatName:t,formatOptions:n}})(t);if(this.formats[o]){let t=e;try{const a=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},s=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[o](e,s,{...i,...r,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${o}`),e}),e);return i}}class Uk extends lk{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=sk.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,r.backend,r)}queueLoad(e,t,n,r){const o={},i={},a={},s={};return e.forEach((e=>{let r=!0;t.forEach((t=>{const a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===i[a]&&(i[a]=!0):(this.state[a]=1,r=!1,void 0===i[a]&&(i[a]=!0),void 0===o[a]&&(o[a]=!0),void 0===s[t]&&(s[t]=!0)))})),r||(a[e]=!0)})),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){const r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),!t&&n&&this.store.addResourceBundle(o,i,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);const a={};this.queue.forEach((n=>{((e,t,n)=>{const{obj:r,k:o}=hk(e,t,Object);r[o]=r[o]||[],r[o].push(n)})(n.loaded,[o],i),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((e=>{a[e]||(a[e]={});const t=n.loaded[e];t.length&&t.forEach((t=>{void 0===a[e][t]&&(a[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((e=>!e.done))}read(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!e.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:o,callback:i});this.readingCalls++;const a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&s&&r<this.maxRetries?setTimeout((()=>{this.read.call(this,e,t,n,r+1,2*o,i)}),o):i(a,s)},s=this.backend[n].bind(this.backend);if(2!==s.length)return s(e,t,a);try{const n=s(e,t);n&&"function"==typeof n.then?n.then((e=>a(null,e))).catch(a):a(null,n)}catch(e){a(e)}}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);const o=this.queueLoad(e,t,n,r);if(!o.toLoad.length)return o.pending.length||r(),null;o.toLoad.forEach((e=>{this.loadOne(e)}))}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e.split("|"),r=n[0],o=n[1];this.read(r,o,"read",void 0,void 0,((n,i)=>{n&&this.logger.warn(`${t}loading namespace ${o} for language ${r} failed`,n),!n&&i&&this.logger.log(`${t}loaded namespace ${o} for language ${r}`,i),this.loaded(e,n,i)}))}saveMissing(e,t,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(null!=n&&""!==n){if(this.backend&&this.backend.create){const s={...i,isUpdate:o},l=this.backend.create.bind(this.backend);if(l.length<6)try{let o;o=5===l.length?l(e,t,n,r,s):l(e,t,n,r),o&&"function"==typeof o.then?o.then((e=>a(null,e))).catch(a):a(null,o)}catch(e){a(e)}else l(e,t,n,r,a,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}const Hk=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach((e=>{t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),qk=e=>("string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),Wk=()=>{};class $k extends lk{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var n;if(super(),this.options=qk(e),this.services={},this.logger=sk,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const r=Hk();this.options={...r,...this.options,...qk(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...r.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator);const o=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let t;this.modules.logger?sk.init(o(this.modules.logger),this.options):sk.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=zk);const n=new jk(this.options);this.store=new Sk(this.options.resources,this.options);const i=this.services;i.logger=sk,i.resourceStore=this.store,i.languageUtils=n,i.pluralResolver=new Dk(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(i.formatter=o(t),i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new Bk(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new Uk(o(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit(t,...r)})),this.modules.languageDetector&&(i.languageDetector=o(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=o(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new _k(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit(t,...r)})),this.modules.external.forEach((e=>{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,n||(n=Wk),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((t=>{this[t]=function(){return e.store[t](...arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const i=ck(),a=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),i.resolve(t),n(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?a():setTimeout(a,0),i}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Wk;const n="string"==typeof e?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],r=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};n?r(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>r(e))),this.options.preload&&this.options.preload.forEach((e=>r(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,n){const r=ck();return"function"==typeof e&&(n=e,e=void 0),"function"==typeof t&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=Wk),this.services.backendConnector.reload(e,t,(e=>{r.resolve(),n(e)})),r}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&Ok.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;const r=ck();this.emit("languageChanging",e);const o=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(e,i)=>{i?(o(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,r.resolve((function(){return n.t(...arguments)})),t&&t(e,(function(){return n.t(...arguments)}))},a=t=>{e||t||!this.services.languageDetector||(t=[]);const n="string"==typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||o(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,(e=>{i(e,n)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}getFixedT(e,t,n){var r=this;const o=function(e,t){let i;if("object"!=typeof t){for(var a=arguments.length,s=new Array(a>2?a-2:0),l=2;l<a;l++)s[l-2]=arguments[l];i=r.options.overloadTranslationOptionHandler([e,t].concat(s))}else i={...t};i.lng=i.lng||o.lng,i.lngs=i.lngs||o.lngs,i.ns=i.ns||o.ns,""!==i.keyPrefix&&(i.keyPrefix=i.keyPrefix||n||o.keyPrefix);const c=r.options.keySeparator||".";let u;return u=i.keyPrefix&&Array.isArray(e)?e.map((e=>`${i.keyPrefix}${c}${e}`)):i.keyPrefix?`${i.keyPrefix}${c}${e}`:e,r.t(u,i)};return"string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const i=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||0===n||2===n};if(t.precheck){const e=t.precheck(this,i);if(void 0!==e)return e}return!(!this.hasResourceBundle(n,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!i(n,e)||r&&!i(o,e)))}loadNamespaces(e,t){const n=ck();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=ck();"string"==typeof e&&(e=[e]);const r=this.options.preload||[],o=e.filter((e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e)));return o.length?(this.options.preload=r.concat(o),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new jk(Hk());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new $k(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Wk;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},o=new $k(r);return void 0===e.debug&&void 0===e.prefix||(o.logger=o.logger.clone(e)),["store","services","language"].forEach((e=>{o[e]=this[e]})),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},n&&(o.store=new Sk(this.store.data,r),o.services.resourceStore=o.store),o.translator=new _k(o.services,r),o.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o.emit(e,...n)})),o.init(r,t),o.translator.options=r,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Gk=$k.createInstance();Gk.createInstance=$k.createInstance,Gk.createInstance,Gk.dir,Gk.init,Gk.loadResources,Gk.reloadResources,Gk.use,Gk.changeLanguage,Gk.getFixedT,Gk.t,Gk.exists,Gk.setDefaultNamespace,Gk.hasLoadedNamespace,Gk.loadNamespaces,Gk.loadLanguages;const Kk=JSON.parse('{"accountStatus.SUSPENDED":"Suspended","accountSwitch.accounts":"Accounts","accountSwitch.newAccount":"New account","accountSwitch.viewAndCreateAccounts":"View and create accounts","accountSwitch.addNewOrganisation":"New client organisation","accountSwitch.newAccountGroup":"New account group","accountSwitch.nAccounts_one":"{{count}} account","accountSwitch.nAccounts_other":"{{count}} accounts","accountSwitch.noResultsFound":"No results found","accountSwitch.trySearchingWithDifferentKeywords":"Try searching with different keywords","accountSwitch.searchOrgs":"Search orgs","accountSwitch.accountSwitcherLabel":"Account switcher","accountSwitch.close":"Close","assistantView":"Assistant view","backToPersonalView":"Back to personal view","balances":"Balances","contactSupport":"Contact support","enrollment":"Declarant information","guidedTour.orgSwitcher.employee.mame.title":"Your new organisation is here","guidedTour.orgSwitcher.mame.content":"View and manage global features across all of your entities and accounts","guidedTour.accountSwitcher.employee.mame.title":"Easy access to your accounts","guidedTour.accountSwitcher.mame.content":"You can use the switcher to see account specific features here.","guidedTour.orgSwitcher.employee.mase.title":"View and manage global features across all of your accounts","guidedTour.accountSwitcher.employee.mase.title":"Easy access to your accounts","guidedTour.accountSwitcher.mase.content":"You can use the switcher to see account specific features here.","guidedTour.orgSwitcher.title":"This is your organisation section","guidedTour.orgSwitcher.content":"Manage your business workflows here. These features apply across all of your accounts.","guidedTour.accountSwitcher.title":"This is the account section","guidedTour.accountSwitcher.content":"Accounts lets you manage funds, create transfers, issue cards, accept payments, and more. You can switch to your other accounts from the top of the menu on the left.","guidedTour.orgSwitcher.sase.title":"This is your organisation section","guidedTour.orgSwitcher.sase.content":"Manage your business workflows here. These features apply across all of your accounts, even as your business grows and you add accounts.","guidedTour.accountSwitcher.sase.title":"This is the account section","guidedTour.accountSwitcher.sase.content":"Accounts lets you manage funds, create transfers, issue cards, accept payments, and more.","kycStatus.FAILURE":"Failed","kycStatus.INIT":"Pending","kycStatus.SUBMITTED":"In review","linkedaccounts":"Linked A
259ccounts","menu.account":"Account","menu.accountDetails":"Account details","menu.accountGroup":"Account group","menu.accountGroupManagement":"Group management","menu.apiKeys":"API Keys","menu.approvals":"Approvals","menu.balances":"Balances","menu.batchTransfers":"Batch Transfers","menu.planBilling":"Plan & Billing","menu.billPay":"Bills","menu.billPay.activate":"Activate bills","menu.billPay.settings":"Settings","menu.billPay.manageBill":"Go to Bill details","menu.billPay.payBills":"Pay bills","menu.billPay.createBill":"Add new bill","menu.billPay.summary":"Summary","menu.vendor":"Vendors","menu.vendor.new":"New Vendor","menu.vendor.details":"Vendor Details","menu.vendor.activate":"Activate Vendor","menu.vendor.approvals":"Vendor Approvals","menu.vendor.pricing":"Pricing","menu.vendor.settings":"Vendor Settings","menu.vendorPortal":"Vendor Portal","menu.spend":"Spend","menu.spendRequests":"Requests","menu.spendRequests.create":"Create Request","menu.spendRequests.details":"Request Details","menu.spendRequests.activate":"Activate Requests","menu.spendRequests.settings":"Requests Settings","menu.spendRequests.settings.entity":"Request Form Entity Settings","menu.spendRequests.spendRequest":"Spend Requests","menu.spendBudgets":"Budgets","menu.spendBudgets.budgets":"Budgets","menu.spendAccounting":"Accounting","menu.purchaseOrders":"Purchase orders","menu.purchaseOrders.details":"Purchase Order details","menu.purchaseOrders.settings":"Purchase Orders settings","menu.purchaseOrders.activate":"Activate Purchase Orders","menu.purchaseOrders.import":"Import Purchase Orders","menu.cards":"Cards","menu.cards.summary":"Summary","menu.cards.companyCards":"Company Cards","menu.cards.identityReview":"Identity review","menu.cards.changePin":"Change PIN","menu.cards.temporaryLimits":"Temporary limits","menu.cards.cardSettings":"Settings","menu.cards.cardholders":"Cardholders","menu.cards.selectCardType":"Create card","menu.cards.createEmployeeCard":"Create an employee card","menu.cards.editCard":"Configure card details","menu.cards.createCompanyCard":"Create a company card","menu.cards.transactions":"Transactions","menu.cards.editCompanyCardOwners":"Edit card","menu.cards.deliveryAddress":"Provide delivery address","menu.cards.reissuePhysical":"Renew card","menu.cards.replaceCard":"Select the reason for replacement","menu.cards.transactionFeedback":"Get help with this transaction","menu.cards.cardActivation":"Select card to activate","menu.connectionLink":"Connection Link","menu.connections":"Connections","menu.contacts":"Contacts","menu.contacts.payer":"Payers","menu.contacts.payer.new":"New payer","menu.contacts.payer.edit":"Edit payer","menu.contacts.recipient":"Recipients","menu.contacts.recipient.new":"New recipient","menu.contacts.recipient.edit":"Edit recipient","menu.conversions":"Conversions","menu.conversions.booked":"Booked Conversions","menu.conversions.limitOrders":"Limit Orders","menu.conversions.settings":"Settings","menu.conversions.new":"New Conversion","menu.dashboard":"Dashboard","menu.overview":"Overview","menu.dashboard.deepLinks.kycIntro":"KYC Intro","menu.dashboard.deepLinks.singleEntityKyc":"Single Entity KYC","menu.dashboard.deepLinks.multipleEntityKyc":"Multiple Entity KYC","menu.dashboard.deepLinks.kycSuccess":"KYC Success","menu.dashboard.deepLinks.pptaAuthorisation":"PPTA Authorisation Task","menu.dashboard.deepLinks.accountOwnerActivation":"Account Owner Activation","menu.dashboard.deepLinks.adminActivation":"Admin Activation","menu.dashboard.deepLinks.businessAddressAmendment":"Business Address Amendment","menu.declarationCenter":"Declaration Center","menu.developer":"Developer","menu.developerGuides":"Guides","menu.disputes":"Disputes","menu.expenses":"Expenses","menu.expenses.activate":"Activate expenses","menu.expenses.automations":"Expense automations","menu.expenses.cardExpenses":"Card expenses","menu.expenses.entitySettings":"Expense entity settings","menu.expenses.manageCardExpense":"Go to card expense details","menu.expenses.manageReimbursement":"Go to reimbursement details","menu.expenses.pricing":"Expenses pricing","menu.expenses.reimbursements":"Reimbursements","menu.expenses.settings":"Expense settings","menu.globalAccounts":"Global accounts","menu.globalAccounts.accounts":"Summary","menu.globalAccounts.accounts.new":"Create Global Account","menu.globalAccounts.accounts.detail":"Global Account details","menu.globalAccounts.transactions":"All transactions","menu.globalAccounts.openingForm":"Opening Form","menu.myCards":"My cards","menu.paymentLinks":"Payment links","menu.paymentLinks.createPaymentLink":"Create Payment Link","menu.paymentLinks.editPaymentLink":"Edit Payment Link","menu.paymentLinks.paymentLinkDetail
259s":"Payment Link Details","menu.paymentLinks.paymentLinkSettings":"Payment Link Settings","menu.payments":"Payments","menu.performance":"Performance","menu.settlements":"Settlements","menu.paymentActivity":"Payment activity","menu.referral":"Referral","menu.reports":"Reports","menu.rewards":"Rewards","menu.rewards.dashboard.programmeDetails":"Programme details","menu.rewards.partnerPerks":"Partner perks","menu.terminals":"POS Terminals","menu.risk":"Risk","menu.risk.addWatchlist":"Add new items to your Watchlist","menu.risk.analytics":"Fraud prevention","menu.risk.buckAddWatchlist":"Add new Watchlist items via file","menu.risk.watchList":"Watchlist","menu.security":"Security","menu.settings":"Settings","menu.statements":"Statements","menu.transfers":"Transfers","menu.transfers.new":"New Transfer (Payout)","menu.transfers.edit":"Edit Payout","menu.transfers.batchNew":"New Batch Transfer","menu.transfers.batchEdit":"Edit Batch Transfer","menu.transfers.booked":"Booked Transfers","menu.transfers.batchDetail":"Batch Transfer Details","menu.transfers.transferMethods":"Transfer methods","menu.transfers.limitManagement":"Store and transfer limit management","menu.transfers.limitManagement.storeConnect":"Choose the marketplace or SaaS platform for your store","menu.transfers.limitManagement.salesOrderUpload":"Select a store to upload sales orders","menu.transfers.settings":"Transfer settings","menu.transfers.approval":"Transfer approvals","menu.transfers.approval.edit":"Set up approval layers and approvers","menu.transfers.approval.changelog":"View workflow change log","menu.transfers.approval.changerequests":"View workflow change requests","menu.salesOrders":"Sales Orders","menu.salesOrders.detail":"Sales order detail","menu.salesOrders.new":"New sales order","menu.salesOrders.edit":"Edit sales order","menu.salesOrders.fulfillment.new":"New fulfillment","menu.salesOrders.fulfillment.edit":"Edit fulfillment","menu.customers":"Customers","menu.userManagement":"User management","menu.users":"Users","menu.wallet":"Wallet","menu.wallet_my":"Transactions","menu.addFunds":"Add funds","menu.addFunds.method":"Select method to add funds","menu.addFunds.summary":"Add funds to your wallet","menu.addFunds.airwallexPay":"Receive funds or top up wallet through Airwallex Pay","menu.linkedAccounts":"Linked Accounts","menu.linkedAccounts.contactInfo":"Complete your business contact information","menu.linkedAccounts.heading":"Link your external bank account","menu.linkedAccounts.accounts":"Linked Accounts","menu.linkedAccounts.bankStatementVerify":"Verify your external bank account","menu.linkedAccounts.directDebit":"Add funds via direct debit","menu.linkedAccounts.directDebitSuccess":"Your funds are on the way","menu.wallet.deepLinks.prepaymentBalance":"Prepayment Balance","menu.wallet.deepLinks.configuration":"Configuration","menu.wallet.deepLinks.cashBalanceDetails":"Cash Balance Details","menu.lending.details":"Credit Account Details","menu.lending.onboarding":"Activate Credit Limit","menu.lending.repayment":"Credit Repayment","menu.wallet.yield.balanceDetails":"Yield Balance Details","menu.wallet.yield.balanceStatements":"Yield Balance Statements","menu.wallet.yield.addFunds":"Add Funds to Yield","menu.wallet.yield.withdraw":"Withdraw from Yield","menu.wallet.yield.ineligible":"Yield Ineligibility","menu.wallet.yield.onboarding":"Yield Onboarding","menu.wallet.yield.rescheduleOnboarding":"Reschedule Yield Verification Meeting","menu.webhooks":"Webhooks","menu.qbmXeroBankFeed":"Xero bank feed","menu.connectedAccounts":"Connected accounts","menu.connectedAccounts.accounts":"Accounts","menu.connectedAccounts.accountDetails":"Account Details","menu.connectedAccounts.transactions":"Transactions","menu.connectedAccounts.transactionDetails":"Transaction Details","menu.connectedAccounts.rfiCenter":"RFI Center","menu.connectedAccounts.rfiDetails":"RFI Details","menu.connections.title":"Connections","menu.connections.title.connect.marketplace":"Connect marketplace","menu.connections.title.setup.xero":"Setup Xero","menu.connections.title.setup.quickbooks":"Setup QuickBooks","menu.connections.title.setup.netsuite":"Setup NetSuite","menu.connections.title.setup.walmart":"Setup Walmart","menu.connections.title.setup.mybank":"Setup Mybank","menu.connections.title.setup.accountingProvider":"Setup accounting provider","menu.connections.title.setup.sage":"Setup Sage","menu.connections.title.sage.refreshConnection":"Refresh Sage connection","menu.connections.title.oauth.consent":"OAuth Consent","menu.connections.title.oauth.tokenio":"Token.io consent","menu.connections.title.xero.expense.accountingData":"Setup Xero expense accounting data","menu.connections.title.quickbooks.expense.accountingData":"Setup QuickBooks expense accounting data","menu.connections.title.netsuite.expense":"Setup NetSuite expense","menu.connections.title.xero.refreshConnection":"Refresh Xero connection","menu.taxFiling":"Tax filing","menu.taxFiling.summary":"Tax Filing","menu.taxFiling.settings":"Tax Filing Settings","menu.org.approvals":"Spend approvals","menu.org.approvals.expenses":"Expense approvals","menu.org.approvals.expenses.edit":"Edit expense approvals workflow","menu.org.approvals.card-expenses":"Card expense approvals","menu.org.approvals.card-expenses.edit":"Edit card expense approvals workflow","menu.org.approvals.reimbursements":"Reimbursements approvals","menu.org.approvals.reimbursements.edit":"Edit reimbursements approvals workflow","menu.org.approvals.bills":"Bill approvals","menu.org.approvals.bills.edit":"Edit bill approvals workflow","menu.org.approvals.vendors":"Vendors","menu.org.approvals.vendors.new":"New vend
259or approvals","menu.org.approvals.vendors.edit":"Edit vendor approvals workflow","menu.org.approvals.spendRequests":"Card request approvals","menu.org.approvals.spendRequests.edit":"Edit card request approvals workflow","menu.org.approvals.purchaseRequests":"Purchase order request approvals","menu.org.approvals.purchaseRequests.edit":"Edit purchase order request approvals workflow","menu.org.approvals.transfers":"Transfer approvals","menu.org.balances":"Balances","menu.org.businessAccount":"Business Accounts","menu.org.businessAccount.allAccounts":"Show all ({{count}})","menu.org.businessAccount.loadAccountsError":"Failed to load your accounts.","menu.org.businessAccount.retry":"Retry","menu.org.businessAccount.deepLinks.activity":"Activity","menu.org.businessAccount.deepLinks.cashAccount":"Cash account","menu.org.businessAccount.deepLinks.cashAccountAirwallexPay":"Cash account Airwallex Pay","menu.org.businessAccount.deepLinks.cashAccountBalanceDetails":"Cash account balance details","menu.org.businessAccount.deepLinks.cashAccountConfiguration":"Cash account configuration","menu.org.businessAccount.deepLinks.cashAccountGlobalAccountDetails":"Cash account global account details","menu.org.businessAccount.deepLinks.cashAccountGlobalAccounts":"Cash account global accounts","menu.org.businessAccount.deepLinks.cashAccountLinkedBankAccounts":"Cash account linked bank accounts","menu.org.businessAccount.deepLinks.cashAccountOverview":"Cash account overview","menu.org.businessAccount.deepLinks.conversions":"Conversions","menu.org.businessAccount.deepLinks.createPayee":"Create payee","menu.org.businessAccount.deepLinks.creditAccount":"Credit account","menu.org.businessAccount.deepLinks.creditAccountDocuments":"Credit account statements","menu.org.businessAccount.deepLinks.creditAccountOverview":"Credit account overview","menu.org.businessAccount.deepLinks.editPayee":"Edit payee","menu.org.businessAccount.deepLinks.overview":"Overview","menu.org.businessAccount.deepLinks.payees":"Payees","menu.org.businessAccount.deepLinks.transfers":"Transfers","menu.org.businessAccount.deepLinks.yieldAccount":"Yield account","menu.org.businessAccount.deepLinks.yieldAccountBalanceDetails":"Yield account balance details","menu.org.businessAccount.deepLinks.yieldAccountConfiguration":"Yield account configuration","menu.org.businessAccount.deepLinks.yieldAccountDocuments":"Yield account statements","menu.org.businessAccount.deepLinks.yieldAccountOverview":"Yield account overview","menu.org.businessAccount.description":"View and manage business accounts within the organisation.","menu.org.businessAccount.deepLinks.overview.description":"View and manage all business accounts in your organisation.","menu.org.businessAccount.deepLinks.transfers.description":"View and manage transfers across business accounts.","menu.org.businessAccount.deepLinks.newInternalTransfer.description":"Create a new internal transfer between business accounts.","menu.org.businessAccount.deepLinks.newExternalTransfer.description":"Create a new external transfer from a business account.","menu.org.businessAccount.deepLinks.conversions.description":"View and manage currency conversions across business accounts.","menu.org.businessAccount.deepLinks.payees.description":"View and manage payees for business account transfers.","menu.org.businessAccount.deepLinks.createPayee.description":"Create a payee for business account transfers.","menu.org.businessAccount.deepLinks.editPayee.description":"Edit a payee for business account transfers.","menu.org.businessAccount.deepLinks.activity.description":"View business account activity and transaction history.","menu.org.businessAccount.deepLinks.addFunds.description":"Add funds to a business account by selecting a method.","menu.org.businessAccount.deepLinks.createCard.description":"Create a card funded by a specific business account.","menu.org.businessAccount.deepLinks.newConversion.description":"Create a new currency conversion.","menu.org.businessAccount.deepLinks.createAccount.description":"Create a new account in your organisation.","menu.org.businessAccount.deepLinks.cashAccount.de
259scription":"View balances, global accounts, linked bank accounts, and settings for a cash account.","menu.org.businessAccount.deepLinks.cashAccountOverview.description":"View balances and account details for a cash account.","menu.org.businessAccount.deepLinks.cashAccountGlobalAccounts.description":"View and manage global accounts for a cash account.","menu.org.businessAccount.deepLinks.cashAccountGlobalAccountDetails.description":"View global account details for a cash account.","menu.org.businessAccount.deepLinks.cashAccountLinkedBankAccounts.description":"View and manage linked bank accounts for a cash account.","menu.org.businessAccount.deepLinks.cashAccountAirwallexPay.description":"View and manage Airwallex Pay for a cash account.","menu.org.businessAccount.deepLinks.cashAccountConfiguration.description":"View and manage configuration for a cash account.","menu.org.businessAccount.deepLinks.cashAccountBalanceDetails.description":"View balance details for a cash account currency.","menu.org.businessAccount.deepLinks.creditAccount.description":"View overview and statements for a credit account.","menu.org.businessAccount.deepLinks.creditAccountOverview.description":"View overview and account details for a credit account.","menu.org.businessAccount.deepLinks.creditAccountDocuments.description":"View statements and documents for a credit account.","menu.org.businessAccount.deepLinks.yieldAccount.description":"View overview, statements, and settings for a yield account.","menu.org.businessAccount.deepLinks.yieldAccountOverview.description":"View balances and account details for a yield account.","menu.org.businessAccount.deepLinks.yieldAccountDocuments.description":"View statements and documents for a yield account.","menu.org.businessAccount.deepLinks.yieldAccountConfiguration.description":"View and manage configuration for a yield account.","menu.org.businessAccount.deepLinks.yieldAccountBalanceDetails.description":"View balance details for a yield account currency.","menu.org.billing":"Billing","menu.org.billing.customers":"Customers","menu.org.billing.products":"Products","menu.org.billing.productsCatalog":"Product catalogue","menu.org.billing.invoices":"Invoices","menu.org.billing.settings":"Billing settings","menu.org.billing.subscriptions":"Subscriptions","menu.org.billing.ubb":"Usage metering","menu.org.billing.customers.deepLinks.view":"View customer","menu.org.billing.customers.deepLinks.new":"New customer","menu.org.billing.customers.deepLinks.edit":"Edit customer","menu.org.billing.products.deepLinks.view":"View product","menu.org.billing.products.deepLinks.new":"New product","menu.org.billing.products.deepLinks.edit":"Edit product","menu.org.billing.products.deepLinks.viewPrice":"View price","menu.org.billing.products.deepLinks.createPrice":"Create price","menu.org.billing.products.deepLinks.editPrice":"Edit price","menu.org.billing.products.deepLinks.viewCoupon":"View coupon","menu.org.billing.products.deepLinks.createCoupon":"Create coupon","menu.org.billing.products.deepLinks.manageCoupon":"Manage coupon","menu.org.billing.invoices.deepLinks.view":"View invoice","menu.org.billing.invoices.deepLinks.create":"Create invoice","menu.org.billing.invoices.deepLinks.edit":"Edit invoice","menu.org.billing.invoices.deepLinks.duplicate":"Duplicate invoice","menu.org.billing.subscriptions.deepLinks.view":"View subscription","menu.org.billing.subscriptions.deepLinks.new":"New subscription","menu.org.billing.subscriptions.deepLinks.edit":"Edit subscription","menu.org.billing.subscriptions.deepLinks.duplicate":"Duplicate subscription","menu.org.billing.ubb.deepLinks.viewMeters":"View usage meters","menu.org.billing.ubb.deepLinks.viewMeter":"View usage meter","menu.org.billing.ubb.deepLinks.createMeter":"Create usage meter","menu.org.billing.ubb.deepLinks.editMeter":"Edit usage meter","menu.org.billing.ubb.deepLinks.viewEvents":"View usage events","menu.org.billing.settings.deepLinks.general":"General","menu.org.billing.settings.deepLinks.communications":"Billing Communication Settings","menu.org.planBilling":"Plan & Billing","menu.org.theme":"Themes","menu.org.theme.management":"Manage themes","menu.org.theme.create":"Create theme","menu.org.theme.edit":"Edit theme","menu.org.connections":"Connections","menu.org.paymentsNew":"Payments","menu.org.payments.accounts":"Payment accounts","menu.org.payments.paymentStatus":"KYB status","menu.org.payments.paymentMethods":"Payment methods","menu.org.payments.settings":"Account configurations","menu.org.payments.analytics":"Analytics","menu.org.payments.paymentActivityNew":"All payments","menu.org.payments.paymentDetails":"Payment details","menu.org.payments.disputeAnalytics":"Dispute analytics","menu.org.payments.disputeDetails":"Dispute details","menu.org.payments.disputes":"Disputes","menu.org.payments.settlementsSummary":"Summary","menu.org.payments.dashboard":"Dashboard","menu.org.payments.dashboardNew":"Overview","menu.payments.disputes":"Disputes","menu.payments.dashboard":"Dashboard","menu.payments.allPayments":"All payments","menu.payments.analytics":"Analytics","menu.payments.settings":"Settings","menu.payments.settlementsNew":"Summary","menu.payments.surcharge":"Manage your surcharge rate","menu.payments.addApplePayDomain":"Add domain","menu.payments.addApplePayCertificate":"iOS certificates","menu.payments.paymentMethods":"Payment methods","menu.payments.paymentDetails":"Payment details","menu.payments.disputeDetails":"Dispute details","menu.payments.terminals":"Terminals","menu.org.disputes":"Disputes","menu.org.reports":"Reports","menu.org.settings":"Settings","menu.org.uam":"User management","menu.org.users":"Users","menu.org.uam.roles":"Roles","menu.org.uam.fields":"Fields","menu.org.uam.inviteUsers":"Invite users","menu.org.uam.createRole":"Create role","menu.org.uam.editRole":"Edit role","menu.org.uam.users":"Users","menu.org.uam.createAccount":"Create account","menu.org.uam.createEntity":"Create entity","menu.rfi.kyc":"KYC RFI","menu.rfi.ongoing_kyc":"Ongoing KYC RFI","menu.rfi.kyb":"KYB RFI","menu.rfi.kyb_ongoing":"Ongoing KYB RFI","menu.rfi.pa":"PA RFI","menu.rfi.user":"User RFI","menu.rfi.lending":"Lending RFI","menu.rfi.tm":"Transaction RFI","menu.rfi.tm.list":"Transaction RFIs","menu.rfi.order":"Order RFI","menu.developer.apiKeys":"API Keys","menu.developer.webhooks":"Webhooks","menu.developer.events":"Events","menu.reports.deepLinks.reportsOverview":"Reports Overview","menu.reports.deepLinks.downloads":"Downloads","menu.orgBalances.deepLinks.balances":"Balances","menu.orgBalances.deepLinks.transactions":"Transactions","menu.orgBalances.deepLinks.aggregateFunds":"Aggregate Funds","menu.account.deepLinks.accountDetails":"Account Details","menu.account.deepLinks.accountProfile":"Profile","menu.account.deepLinks.security":"Security","menu.account.deepLinks.notifications":"Notifications","menu.account.deepLinks.accounts":"Accounts","menu.account.deepLinks.assistants":"Assistants","menu.account.deepLinks.changePassword":"Change Password","menu.account.deepLinks.setupTwoFactorAuth":"Setup Two-Factor Authentication","menu.account.deepLinks.addEmailAddress":"Add Email Address","menu.account.deepLinks.addMobileNumber":"Add Mobile Number","menu.account.deepLinks.accountSettings":"Account Settings","menu.account.deepLinks.bankDetail
259s":"Bank Details","menu.account.deepLinks.developerSettings":"Developer Settings","menu.account.deepLinks.apiKeys":"API Keys","menu.account.deepLinks.userManagement":"User Management","menu.account.deepLinks.users":"Users","menu.account.deepLinks.accountGroup":"Account Group","menu.account.deepLinks.groupManagement":"Group Management","menu.account.deepLinks.accountStatements":"Account Statements","menu.kyb.onboarding":"Payment application","menu.kyb.ongoing":"Additional payment method activation","navigation.mainMenuTooltip":"Main menu","navigation.open":"Open navigation menu","navigation.close":"Close","navigation.back":"Back","navigation.forward":"Forward","navigation.search":"Search","navigation.dock":"Dock navigation","navigation.undock":"Undock navigation","navigation.openSideNav":"Open navigation","navigation.closeSideNav":"Close navigation","navigation.toggleSubmenu":"Toggle {{title}} submenu","navigation.account":"Account","navigation.accountGroup":"Account group","navigation.entity":"Entity","navigation.organisation":"Organisation","navigation.selectOrganisation":"Select an Organisation","navigation.selectAccount":"Select an Account","navigation.moreSubPages":"More {{parentTitle}} pages","navigation.poweredBy":"powered by <logo />","topNavigation.copilotFeedback.getHelp":"Get help","topNavigation.copilotFeedback.reportBug":"Report a bug","topNavigation.copilotFeedback.shareFeedback":"Share feedback on Airwallex","topNavigation.copilotFeedback.suggestFeature":"Suggest a feature","messages.viewingOrgAccountFromAccountGroup.heading":"You are viewing this account from the account group {{accountGroupName}}","messages.viewingOrgAccountFromAccountGroup.body":"For all features, such as Expenses, Bills, and Settings, switch to Organisation {{orgName}}.","messages.viewingOrgAccountFromAccountGroup.cta.switchView":"Switch view","orgBalances":"Balances","orgTransactions":"Transactions","security":"Security","selectAPlan":"Select a plan","selectAPlanToGetStarted":"Select a plan to get started","selectAPlanToGetStartedDesc":"To get started, first select one of our available plans. Once you subscribe to a plan, you will be able to access your account and data.","sessionDescription":"To protect your security, we automatically log you out after some time of inactivity.","sessionHeading":"You\'ve been idle for a while","settings":"Settings","skeleton.loadingPageContent":"Loading page content","skeleton.loadingNavigationTabs":"Loading navigation tabs","skeleton.loadingAccountSwitcher":"Loading accounts","tag.new":"New","transactions":"Transactions","verification.content":"Please complete your account verification to explore Airwallex services","verification.heading":"Complete your account verification","verification.primary":"Start","verification.secondary":"Maybe later","verificationSubmitted.content":"Our team is reviewing your information and you will receive an email or message once complete","verificationSubmitted.heading":"Account verification in progress","verificationSubmitted.primary":"Confirm","verificationFailure.content":"Unfortunately we are unable to support you at the moment.","verificationFailure.heading":"Account activation failed","verificationFailure.primary":"Close","walletSummary":"Wallet Summary","transfers.summary":"Summary","transfers.methods":"Transfer methods","transfers.approval":"Transfer approvals","transfers.settings":"Settings","sandbox.banner.text":"This is the sandbox environment. <getStartedLink>Go to production</getStartedLink> to make a real transaction.","menu.org.payments.surcharge":"Surcharge","menu.surcharge":"Surcharge","userSettings.editProfile":"Edit profile","userSettings.assistantMode":"Assistant mode","userSettings.exitAssistantMode":"Exit assistant mode","userSettings.profile":"Profile","userSettings.notifications":"Notifications","userSettings.assistants":"Assistants","userSettings.help":"Help","userSettings.moreRoles":"+{{count}} more roles","userSettings.shareFeedback":"Share feedback","userSettings.logout":"Log out"}'),Zk=JSON.parse('{"accountStatus.SUSPENDED":"æå使ç¨","accountSwitch.accounts":"è´¦æ·å表","accountSwitch.newAccount":"æ°å¢è´¦æ·","accountSwitch.viewAndCreateAccounts":"æ¥çå¹¶å建账æ·","accountSwitch.newAccountGroup":"æ°å¢è´¦å·ç¾¤ç»","accountSwitch.nAccounts_one"
259:"{{count}} 个账æ·","accountSwitch.nAccounts_other":"{{count}} 个账æ·","accountSwitch.noResultsFound":"æªæ¾å°ç»æ","accountSwitch.trySearchingWithDifferentKeywords":"å°è¯ä½¿ç¨ä¸åçå
³é®è¯æç´¢","balances":"è´¦æ·ä½é¢","enrollment":"è·¨å¢ç³æ¥äººä¿¡æ¯","kycStatus.FAILURE":"认è¯å¤±è´¥","kycStatus.INIT":"æªå®æ","kycStatus.SUBMITTED":"å®¡æ ¸ä¸","linkedaccounts":"å
³èè´¦æ·","menu.account":"è´¦æ·","menu.account.deepLinks.users":"ç¨æ·å表","menu.accountGroup":"è´¦æ·ç¾¤ç»","menu.accountGroupManagement":"群ç»ç®¡ç","menu.apiKeys":"API å¯é¥","menu.approvals":"审æ¹ç®¡ç","menu.balances":"ä½é¢","menu.org.disputes":"äºè®®","menu.batchTransfers":"æ¹é仿¬¾","menu.org.users":"ç¨æ·å表","menu.terminals":"POS æ¯ä»ç»ç«¯","menu.planBilling":"å¥é¤ä¸è´¦å","menu.billPay":"è´¦åæ¯ä»","menu.billPay.activate":"å¯ç¨è´¦ååè½","menu.billPay.settings":"设置","menu.billPay.manageBill":"æ¥çè´¦å详æ
","menu.billPay.payBills":"æ¯ä»è´¦å","menu.billPay.createBill":"æ·»å æ°çè´¦å","menu.billPay.summary":"æè¦","menu.users":"ç¨æ·å表","menu.vendor":"ä¾åºå","menu.vendor.new":"æ°å»ºä¾åºå","menu.vendor.details":"ä¾åºå详æ
","menu.vendor.activate":"æ¿æ´»ä¾åºå","menu.vendor.approvals":"ä¾åºå审æ¹","menu.vendor.pricing":"å®ä»·","menu.vendor.settings":"ä¾åºå设置","menu.spend":"æ¯åº","menu.spendRequests":"æ¯åºç³è¯·","menu.spendRequests.create":"å建ç³è¯·","menu.spendRequests.details":"ç³è¯·è¯¦æ
","menu.spendRequests.activate":"å¯ç¨ç³è¯·","menu.spendRequests.settings":"ç³è¯·è®¾ç½®","menu.spendRequests.settings.entity":"ç³è¯·è¡¨åå®ä½è®¾ç½®","menu.spendRequests.spendRequest":"æ¯åºç³è¯·","menu.spendBudgets":"é¢ç®","menu.spendBudgets.budgets":"é¢ç®","menu.spendAccounting":"ä¼è®¡","menu.purchaseOrders":"éè´è®¢å","menu.purchaseOrders.details":"éè´è®¢å详æ
","menu.purchaseOrders.settings":"éè´è®¢å设置","menu.purchaseOrders.activate":"å¯ç¨éè´è®¢å","menu.purchaseOrders.import":"导å
¥éè´è®¢å","menu.cards":"å¡ç管ç","menu.cards.summary":"æ¦è§","menu.cards.companyCards":"å
¬å¸å¡ç","menu.cards.identityReview":"身份éªè¯","menu.cards.changePin":"ä¿®æ¹å¯ç ","menu.cards.cardSettings":"设置","menu.cards.cardholders":"æå¡äºº","menu.cards.selectCardType":"å建æ°å¡ç","menu.cards.createEmployeeCard":"å建åå·¥å¡ç","menu.cards.editCard":"é
ç½®å¡ç详æ
","menu.cards.createCompanyCard":"å建å
¬å¸å¡ç","menu.cards.transactions":"交æè®°å½","menu.cards.editCompanyCardOwners":"ç¼è¾å¡ç","menu.cards.deliveryAddress":"æä¾é
éå°å","menu.cards.reissuePhysical":"ç»å¡","menu.cards.replaceCard":"éæ©æ´æ¢åå ","menu.cards.transactionFeedback":"è·åæ¤äº¤æå¸®å©","menu.cards.cardActivation":"è¯·éæ©å¡çè¿è¡æ¿æ´»","menu.connectionLink":"龿¥","menu.connections":"åºç¨æ©å±","menu.contacts":"è系人","menu.contacts.payer":"仿¬¾äºº","menu.contacts.payer.new":"æ°å¢ä»æ¬¾äºº","menu.contacts.payer.edit":"ç¼è¾ä»æ¬¾äºº","menu.contacts.recipient":"æ¶æ¬¾äºº","menu.contacts.recipient.new":"æ°å¢æ¶æ¬¾äºº","menu.contacts.recipient.edit":"ç¼è¾æ¶æ¬¾äºº","menu.conversions":"æ¢æ±","menu.conversions.booked":"å·²ç¡®è®¤æ¢æ±","menu.conversions.limitOrders":"é价订å","menu.conversions.settings":"设置","menu.conversions.new":"æ°å¢æ¢æ±","menu.dashboard":"主页","menu.overview":"è´¦æ·ä¸è§","menu.declarationCenter":"ç³æ¥ä¸å¿","menu.developer":"å¼åè
","menu.developerGuides":"å¯¹æ¥æå","menu.disputes":"äºè®®","menu.expenses":"è´¹æ§","menu.expenses.activate":"å¯ç¨è´¹ç¨","menu.expenses.automations":"è´¹ç¨èªå¨å","menu.expenses.cardExpenses":"å¡çæ¯åº","menu.expenses.entitySettings":"è´¹ç¨å®ä½è®¾ç½®","menu.expenses.manageCardExpense":"åå¾å¡çæ¯åºè¯¦æ
","menu.expenses.manageReimbursement":"å徿¥é详æ
","menu.expenses.pricing":"è´¹ç¨å®ä»·","menu.expenses.reimbursements":"æ¥é","menu.expenses.settings":"è´¹ç¨è®¾ç½®","menu.globalAccounts":"å
¨çæ¶æ¬¾è´¦æ·","menu.globalAccounts.accounts":"è´¦æ·ç®¡ç","menu.globalAccounts.accounts.new":"å建å
¨çæ¶æ¬¾è´¦æ·","menu.globalAccounts.accounts.detail":"å
¨çæ¶æ¬¾è´¦æ·è¯¦æ
","menu.globalAccounts.transactions":"交æè®°å½","menu.globalAccounts.openingForm":"弿·ç³è¯·","menu.myCards":"æçå¡ç","menu.paymentLinks":"æ¶æ¬¾é¾æ¥","menu.payments":"æ¶å","menu.performance":"表ç°ä¸è§","menu.settlements":"ç»ç®ä¿¡æ¯","menu.paymentActivity":"äº¤ææ´»å¨","menu.referral":"æ¨è好å","menu.reports":"æ¥å","menu.rewards":"æçä¸å¿","menu.rewards.dashboard.programmeDetails":"计å详æ
","menu.rewards.partnerPerks":"å使ç","menu.risk":"é£é©ç®¡ç","menu.risk.addWatchlist":"æ·»å æ°é¡¹ç®è³æ¨ççå¯å表","menu.risk.analytics":"欺è¯é¢é²è¡¨ç°","menu.risk.buckAddWatchlist":"éè¿ä¸ä¼ æä»¶æ·»å 项ç®","menu.risk.watchList":"çå¯å表","menu.security":"è´¦æ·å®å
¨","menu.settings":"设置","menu.statements":"æçè´¦å","menu.transfers":"仿¬¾","menu.transfers.new":"æ°å¢ä»æ¬¾","menu.transfers.edit":"ç¼è¾ä»æ¬¾","menu.transfers.batchNew":"æ°å¢æ¹é
259仿¬¾","menu.transfers.batchEdit":"ç¼è¾æ¹é仿¬¾","menu.transfers.booked":"å·²ç¡®è®¤ä»æ¬¾","menu.transfers.batchDetail":"æ¹é仿¬¾è¯¦æ
","menu.transfers.transferMethods":"æ¯ä»æ¹å¼","menu.transfers.limitManagement":"åºéºå仿¬¾éé¢ç®¡ç","menu.transfers.limitManagement.storeConnect":"éæ©åºéºæå¨ççµåå¹³å°","menu.transfers.limitManagement.salesOrderUpload":"éæ©åºéºä¸ä¼ éå®è®¢å","menu.transfers.settings":"仿¬¾è®¾ç½®","menu.transfers.approval":"仿¬¾å®¡æ¹æµç¨","menu.transfers.approval.edit":"设置审æ¹å±çº§å审æ¹äºº","menu.transfers.approval.changelog":"æ¥çå®¡æ¹æµç¨åæ´æ¥å¿","menu.transfers.approval.changerequests":"æ¥çå®¡æ¹æµç¨åæ´è¯·æ±","menu.salesOrders":"éå®è®¢å","menu.salesOrders.detail":"éå®è®¢å详æ
","menu.salesOrders.new":"æ°å¢éå®è®¢å","menu.salesOrders.edit":"ç¼è¾éå®è®¢å","menu.salesOrders.fulfillment.new":"æ°ç©æµ","menu.salesOrders.fulfillment.edit":"ç¼è¾ç©æµ","menu.customers":"客æ·","menu.userManagement":"ç¨æ·ç®¡ç","menu.wallet":"å¤å¸ç§é±å
","menu.wallet_my":"交æè®°å½","menu.addFunds":"æ·»å èµé","menu.addFunds.method":"éæ©æ·»å èµéçæ¹å¼","menu.addFunds.summary":"æ·»å èµéå°æ¨çé±å
","menu.addFunds.airwallexPay":"éè¿ Airwallex Pay æ¥æ¶èµéæå
å¼é±å
","menu.linkedAccounts":"å
³èè´¦æ·","menu.linkedAccounts.contactInfo":"å®åæ¨çä¸å¡è系信æ¯","menu.linkedAccounts.heading":"å
³èæ¨çå¤é¨é¶è¡è´¦æ·","menu.linkedAccounts.accounts":"å
³èè´¦æ·","menu.linkedAccounts.bankStatementVerify":"éªè¯æ¨çå¤é¨é¶è¡è´¦æ·","menu.linkedAccounts.directDebit":"éè¿ç´æ¥æ£æ¬¾æ·»å èµé","menu.linkedAccounts.directDebitSuccess":"æ¨çèµéæ£å¨è·¯ä¸","menu.webhooks":"Webhooks","menu.connectedAccounts":"å
³èè´¦æ·","menu.connectedAccounts.accounts":"è´¦æ·","menu.connectedAccounts.accountDetails":"è´¦æ·è¯¦æ
","menu.connectedAccounts.transactions":"交æ","menu.connectedAccounts.transactionDetails":"交æè¯¦æ
","menu.connectedAccounts.rfiCenter":"RFIä¸å¿","menu.connectedAccounts.rfiDetails":"RFI详æ
","menu.taxFiling":"æ¥ç¨","menu.rfi.kyc":"è´¦æ·ç³è¯·ä¿¡æ¯è¡¥å
请æ±","menu.rfi.ongoing_kyc":"è´¦æ·å®¡æ¥ä¿¡æ¯è¡¥å
请æ±","menu.rfi.kyb":"æ¶åä¸å¡ä¿¡æ¯è¡¥å
请æ±","menu.rfi.kyb_ongoing":"æ¶åä¸å¡ä¿¡æ¯è¡¥å
请æ±","menu.rfi.pa":"æ¯ä»æ¹å¼ä¿¡æ¯è¡¥å
请æ±","menu.rfi.user":"ç¨æ·ä¿¡æ¯è¡¥å
请æ±","menu.rfi.lending":"ä¿¡ç¨è´¦æ·ä¿¡æ¯è¡¥å
请æ±","menu.rfi.tm":"交æä¿¡æ¯è¡¥å
请æ±","menu.rfi.tm.list":"交æä¿¡æ¯è¡¥å
请æ±å表","menu.rfi.order":"éå®è®¢åä¿¡æ¯è¡¥å
请æ±","menu.taxFiling.summary":"æ¥ç¨","menu.taxFiling.settings":"æ¥ç¨è®¾ç½®","menu.org.balances":"ä½é¢","menu.org.billing":"计费","menu.org.billing.productsCatalog":"产åç®å½","menu.org.billing.invoices":"è´¦å","menu.org.billing.products":"产å","menu.org.billing.customers":"客æ·","menu.org.billing.settings":"计费设置","menu.org.billing.subscriptions":"订é
","menu.org.billing.ubb":"ç¨é计é","menu.org.businessAccount":"ä¼ä¸è´¦æ·","menu.org.businessAccount.allAccounts":"ææè´¦æ· ({{count}})","menu.org.businessAccount.loadAccountsError":"å è½½æ¨çè´¦æ·å¤±è´¥ã","menu.org.businessAccount.retry":"éè¯","menu.org.planBilling":"å¥é¤ä¸è´¦å","menu.org.connections":"åºç¨æ©å±","menu.org.reports":"æ¥å","menu.org.settings":"设置","menu.org.theme":"主é¢","menu.org.theme.management":"管ç主é¢","menu.org.theme.create":"å建主é¢","menu.org.theme.edit":"ç¼è¾ä¸»é¢","menu.org.uam":"ç¨æ·ç®¡ç","uam.users.employment_type.addNew":"æ°é佣类å","menu.org.uam.roles":"è§è²","menu.org.uam.fields":"åæ®µ","menu.org.uam.inviteUsers":"éè¯·ç¨æ·","menu.org.uam.createRole":"å建è§è²","menu.org.uam.editRole":"ç¼è¾è§è²","menu.org.uam.users":"ç¨æ·","menu.org.uam.createAccount":"å建账æ·","menu.org.uam.createEntity":"å建å®ä½","menu.org.paymentsNew":"æ¶å","menu.org.payments.accounts":"交æè´¦æ·","menu.org.payments.paymentStatus":"æ¶åä¸å¡ç¶æ","menu.org.payments.paymentMethods":"æ¯ä»æ¹å¼","menu.org.payments.settings":"è´¦æ·é
ç½®","menu.org.payments.analytics":"åææ¥è¡¨","menu.org.payments.paymentActivityNew":"æææ¯ä»","menu.org.payments.paymentDetails":"交æä¿¡æ¯","menu.org.payments.disputeAnalytics":"äºè®®åæ","menu.org.payments.disputeDetails":"äºè®®è¯¦æ
","menu.org.payments.disputes":"äºè®®","menu.org.payments.settlementsSummary":"æ¦åµ","menu.org.payments.dashboard":"çæ¿","menu.org.payments.dashboardNew":"äº¤ææ¦åµ","menu.payments.disputes":"äºè®®","menu.payments.dashboard":"çæ¿","menu.payments.allPayments":"æææ¯ä»","menu.payments.analytics":"åææ¥è¡¨","menu.payments.settings":"设置","menu.payments.settlementsNew":"æ¦åµ","menu.payments.surcharge":"ç®¡çæ¨çéå æç»è´¹","menu.payments.addApplePayDomain":"æ·»å åå","menu.payments.addApplePayCertificate":"iOS è¯ä¹¦","menu.payments.paymentMethods":"æ¯ä»æ¹å¼","menu.payments.paymentDetails":"交æä¿¡æ¯","menu.payments.disputeDetails":"äºè®®è¯¦æ
","menu.payments.terminals":"æ¯ä»ç»ç«¯","menu.org.approvals":"æ¯åºå®¡æ¹æµç¨","menu.org.approvals.transfers":"仿¬¾å®¡æ¹æµç¨","menu.developer.apiKeys":"API å¯é¥","menu.developer.webhooks":"Webhook","menu.developer.events":"äºä»¶","menu.wallet.deepLinks.prepaymentBalance":"é¢ä»æ¬¾ä½é¢","menu.wallet.deepLinks.configuration":"é
ç½®","menu.wallet.deepLinks.cashBalanceDetails":"ç°éä½é¢è¯¦æ
","menu.wallet.deepLinks.transactions":"交æè®°å½","menu.wallet.deepLinks.lendingOnboarding":"å¼éåè´·åè½","menu.wallet.deepLinks.lendingRepayment":"å¿è¿è´·æ¬¾","menu.wallet.deepLinks.settings":"é±å
设置","menu.wallet.yield.balanceDetails":"æ¶çä½é¢è¯¦æ
","menu.wallet.yield.balanceStatements":"æ¶çä½é¢æ¥è¡¨","menu.wallet.yield.addFunds":"æ·»å èµéå°æ¶ç","menu.wallet.yield.withdraw":"仿¶ç䏿å","menu.wallet.yield.ineligible":"ä¸ç¬¦åæ¶çèµæ ¼","menu.wallet.yield.onboarding":"æ¶çå¼å¯¼","menu.wallet.yield.rescheduleOnboarding":"鿰宿æ¶çéªè¯ä¼è®®","menu.reports.deepLinks.reportsOverview":"æ¥åæ¦è§","menu.reports.deepLinks.downloads":"ä¸è½½","menu.orgBalances.deepLinks.balances":"ä½é¢","menu.orgBalances.deepLinks.transactions":"交æè®°å½","menu.orgBalances.deepLinks.aggregateFunds":"èµéèå","menu.account.deepLinks.accountDetails":"è´¦æ·è¯¦æ
","menu.account.deepLinks.accountProfile":"个人","menu.account.deepLinks.security":"å®å
¨","menu.account.deepLinks.notifications":"éç¥","menu.account.deepLinks.accounts":"è´¦æ·","menu.account.deepLinks.assistants":"婿","menu.account.deepLinks.changePassword":"æ´æ¹å¯ç ","menu.account.deepLinks.setupTwoFactorAuth":"设置
259åé认è¯","menu.account.deepLinks.addEmailAddress":"æ·»å çµåé®ä»¶å°å","menu.account.deepLinks.addMobileNumber":"æ·»å ææºå·ç ","menu.account.deepLinks.accountSettings":"è´¦æ·è®¾ç½®","menu.account.deepLinks.bankDetails":"é¶è¡è¯¦æ
","menu.account.deepLinks.developerSettings":"å¼åè
设置","menu.account.deepLinks.apiKeys":"APIå¯é¥","menu.account.deepLinks.userManagement":"ç¨æ·ç®¡ç","menu.account.deepLinks.accountGroup":"è´¦æ·ç»","menu.account.deepLinks.groupManagement":"ç»ç®¡ç","menu.account.deepLinks.accountStatements":"è´¦æ·æ¥è¡¨","menu.kyb.onboarding":"æ¯ä»ç³è¯·","menu.kyb.ongoing":"æ¿æ´»é¢å¤æ¯ä»æ¹å¼","navigation.accountGroup":"è´¦æ·ç¾¤ç»","navigation.mainMenuTooltip":"主èå","navigation.createAccountGroup":"æ°å¢è´¦å·ç¾¤ç»","navigation.organisation":"ä¼ä¸éå¢","navigation.moreSubPages":"æ´å¤{{parentTitle}}页é¢","navigation.poweredBy":"<logo /> ææ¯æ¯æ","orgBalances":"ä½é¢","orgTransactions":"交æè®°å½","security":"è´¦æ·å®å
¨","sandbox.banner.text":"è¿æ¯æ²çç¯å¢ã<getStartedLink>åå¾ç产ç¯å¢</getStartedLink>è¿è¡çå®äº¤æã","sessionDescription":"为äºä¿æ¤æ¨çè´¦æ·å®å
¨ï¼å¦ææ¨é¿æ¶é´ä¸è¿è¡æä½æ¨çè´¦æ·ä¼èªå¨ç»åºã","sessionHeading":"æ¨è¿å¨å±å¹ååï¼","settings":"设置","skeleton.loadingPageContent":"æ£å¨å 载页é¢å
容","skeleton.loadingNavigationTabs":"æ£å¨å è½½å¯¼èªæ ç¾","tag.new":"æ°åè½","transactions":"交æè®°å½","verification.content":"为äºä¸å½±åæ¨ä½¿ç¨ Airwallex æå¡ï¼è¯·å
å®æè´¦æ·å®åéªè¯ã","verification.heading":"å®æè´¦æ·å®åéªè¯","verification.primary":"å¼å§","verification.secondary":"ç¨åéªè¯","verificationSubmitted.content":"æä»¬æ£å¨å®¡æ ¸æ¨çææï¼å®¡æ ¸å®æåä¼ç¬¬ä¸æ¶é´ä»¥é®ä»¶/çä¿¡éç¥æ¨","verificationSubmitted.heading":"è´¦æ·å®¡æ ¸ä¸","verificationSubmitted.primary":"确认","verificationFailure.content":"æ±æï¼æä»¬ææ¶æ æ³ä¸ºæ¨æä¾æå¡ã","verificationFailure.heading":"è´¦æ·æ¿æ´»å¤±è´¥","verificationFailure.primary":"å
³é","walletSummary":"ä½é¢æ±æ»","transfers.summary":"仿¬¾å表","transfers.methods":"æ¯ä»æ¹å¼","transfers.approval":"å®¡æ¹æµç¨","transfers.settings":"设置","menu.org.payments.surcharge":"éå è´¹","menu.surcharge":"éå è´¹"}'),Yk=JSON.parse('{"_comment":"This file is generated via awx-i18n-service, please do not update contents manually","accountStatus.SUSPENDED":"Suspendu","accountSwitch.accounts":"Comptes","accountSwitch.newAccount":"Nouveau compte","accountSwitch.viewAndCreateAccounts":"Voir et créer des comptes","accountSwitch.newAccountGroup":"Nouveau groupe de comptes","accountSwitch.nAccounts_one":"{{count}} compte","accountSwitch.nAccounts_other":"{{count}} comptes","accountSwitch.noResultsFound":"Aucun résultat trouvé","accountSwitch.trySearchingWithDifferentKeywords":"Essayez de rechercher avec des mots-clés différents","assistantView":"Affichage de l\'assistant","backToPersonalView":"Retour à lâaffichage personnel","balances":"Soldes","contactSupport":"Contacter le service client","enrollment":"Informations sur le déclarant","guidedTour.accountSwitcher.content":"Les comptes vous permettent de gérer des fonds, dâinitier des virements, d\'émettre des cartes, d\'accepter des paiements, etc. Vous pouvez accéder à vos autres comptes en haut du menu de gauche.","guidedTour.accountSwitcher.employee.mame.title":"Accédez facilement à vos comptes","guidedTour.accountSwitcher.employee.mase.title":"Accédez facilement à vos comptes","guidedTour.accountSwitcher.mame.content":"Utilisez le sélecteur pour afficher les fonctionnalités propres à chaque compte.","guidedTour.accountSwitcher.mase.content":"Utilisez le sélecteur pour afficher les fonctionnalités propres à chaque compte.","guidedTour.accountSwitcher.sase.content":"Les comptes vous permettent de gérer des fonds, dâinitier des virements, d\'émettre des cartes, d\'accepter des paiements, etc.","guidedTour.accountSwitcher.sase.title":"Il s\'agit de la section des comptes","guidedTour.accountSwitcher.title":"Il s\'agit de la section des comptes","guidedTour.orgSwitcher.content":"Gérez vos flux de travail ici. Ces fonctionnalités s\'appliquent à tous vos comptes.","guidedTour.orgSwitcher.employee.mame.title":"Votre nouvelle organisation est disponible ici","guidedTour.orgSwitcher.employee.mase.title":"Affichez et gérez les fonctionnalités globales de tous vos comptes","guidedTour.orgSwitcher.mame.content":"Affichez et gérez les fonctionnalités globales de toutes vos entités et comptes","guidedTour.orgSwitcher.sase.content":"Gérez vos flux de travail ici. Ces fonctionnalités s\'appliquent à tous vos comptes, y compris à mesure que votre entreprise se développe et que vous ajoutez des comptes.","guidedTour.orgSwitcher.sase.title":"Il sâagit de la section de votre organisation","guidedTour.orgSwitcher.title":"Il sâagit de la section de votre organisation","kycStatus.FAILURE":"Ãchoué","kycStatus.INIT":"En attente","kycStatus.SUBMITTED":"Vérification en cours","linkedaccounts":"Comptes liés","menu.org.users":"Utilisateurs","menu.account.deepLinks.users":"Utilisateurs","menu.terminals":"Terminaux de paiement","menu.account":"Compte","menu.accountDetails":"Coordonnées du compte","menu.accountGroup":"Groupe de comptes","menu.accountGroupManagement":"Gestion des groupes","menu.apiKeys":"Clés API","menu.approvals":"Approbations","menu.balances":"Soldes","menu.batchTransfers":"Virement groupé","menu.billPay":"Paiement de factures","menu.billPay.activate":"Activer les factures","menu.billPay.settings":"Paramètres","menu.billPay.manageBill":"Accéder aux détails de la facture","menu.billPay.payBills":"Payez les factures","menu.billPay.createBill":"Ajouter une nouvelle facture","menu.billPay.summary":"Synthèse","menu.billing":"Facturation","menu.billing.customers":"Clients","menu.billing.invoices":"Factures","menu.billing.products":"Produits","menu.billing.productsCatalog":"Catalogue de produits","menu.cards":"Cartes","menu.cards.summary":"Résumé","menu.cards.companyCards":"Cartes d\'entreprise","menu.cards.identityReview":"Vérification d\'identité","menu.cards.changePin":"Modifier le code PIN","menu.cards.cardSettings":"Paramètres","menu.cards.cardholders":"Titulaires de cartes","menu.cards.selectCardType":"Créer une nouvelle carte","menu.cards.createEmployeeCard":"Créer une carte d\'employé","menu.cards.editCard":"Configurer les détails de la carte","menu.cards.createCompanyCard":"Créer une carte d\'entreprise","menu.cards.transactions":"Transactions","menu.cards.editCompanyCardOwners":"Modifier la carte","menu.cards.deliveryAddress":"Fournir l\'adresse de livraison","menu.cards.reissuePhysical":"Renouveler la carte","menu.cards.replaceCard":"Sélectionner la raison du remplacement","menu.cards.transactionFeedback":"Obtenir de l\'aide pour cette transaction","menu.cards.cardActivation":"Sélectionnez la carte à activer","menu.connectedAccounts":"Comptes connectés","menu.connectionLink":"Lien de connexion","menu.connections":"Connexions","menu.contacts":"Contacts","menu.contacts.payer":"Payeurs","menu.contacts.payer.new":"Nouveau payeur","menu.contacts.payer.edit":"Modifier le payeur","menu.contacts.recipient":"Destinataires","menu.contacts.recipient.new":"Nouveau destinataire","menu.contacts.recipient.edit":"Modifier le destinataire","menu.conversions":"Conversions","menu.conversions.booked":"Conversions réservées","menu.conversions.limitOrders":"Limites de conversion","menu.conversions.settings":"Paramètres de conversion","menu.conversions.new":"Nouvelle conversion","menu.customers":"Clients","menu.dashboard":"Tableau de bord","menu.declarationCenter":"Centre de déclaration","menu.developer":"Développeur","menu.developerGuides":"Guides","menu.disputes":"Litiges","menu.expenses":"Frais","menu.expenses.activate":"Activer les dépenses","menu.expenses.automations":"Automatisations de dépenses","menu.expenses.cardExpenses":"Dépenses par carte","menu.expenses.entitySettings":"Paramètres de lâentité pour les dépenses","menu.expenses.manageCardExpense":"Accéder aux détails de la dépense par carte","menu.expenses.manageReimbursement":"Accéder aux détails du remboursement","menu.expenses.pricing":"Tarification des dépenses","menu.expenses.reimbursements":"Remboursements","menu.expenses.settings":"Paramètres des dépenses","menu.globalAccounts":"Comptes multi-devises","menu.globalAccounts.accounts":"Synthèse","menu.globalAccounts.accounts.new":"Créer un compte multi-devises","menu.globalAccounts.accounts.detail":"Détails du compte multi-devises","menu.globalAccounts.transactions":"Toutes les transactions","menu.globalAccounts.openingForm":"Formulaire d\'ouverture","menu.myCards":"Mes cartes","menu.org.approvals":"Approbations de dépenses","menu.org.approvals.transfers":"Approbations de virements","menu.org.balances":"Soldes","menu.org.billing":"Facturation","menu.org.billing.customers":"Clients","menu.org.billing.products":"Produits","menu.org.billing.invoices":"Factures","menu.org.billing.settings":"Paramètres","menu.org.billing.subscriptions":"Abonnements","menu.org.billing.ubb":"Mesure de lâusage","menu.org.businessAccount":"Comptes dâentreprise","menu.org.businessAccount.allAccounts":"Tous les comptes ({{count}})","menu.org.businessAccount.loadAccountsError":"Le chargement de vos comptes a échoué.","menu.org.businessAccount.retry":"Réessayer","menu.org.planBilling":"Abonnement et Facturation","menu.org.connections":"Connexions","menu.org.disputes":"Litiges","menu.org.paymentsNew":"Paiements","menu.org.payments.accounts":"Comptes de paiement","menu.org.payments.paymentStatus":"Statut KYB","menu.org.payments.paymentMethods":"Modes de paiement","menu.org.payments.settings":"Configurations du compte","menu.org.payments.analytics":"Analyses","menu.org.payments.paymentActivityNew":"Tous les paiements","menu.org.payments.paymentDetails":"Détails du paiement","menu.org.payments.disputeAnalytics":"Analyses des litiges","menu.org.payments.disputeDetails":"Informations sur le litige","menu.org.payments.disputes":"Litiges","menu.org.payments.settlementsSummary":"Résumé","menu.org.payments.dashboard":"Tableau de bord","menu.org.payments.dashboardNew":"Présentation","menu.payments.disputes":"Litiges","menu.payments.dashboard":"Tableau de bord","menu.payments.allPayments":"Tous les paiements","menu.payments.analytics":"Analyses","menu.payments.settings":"Paramètres","menu.payments.settlementsNew":"Résumé","menu.payments.surcharge":"Gérez votre taux de supplément","menu.payments.addApplePayDomain":"Ajoutez un domaine","menu.payments.addApplePayCertificate":"Certificats iOS","menu.payments.paymentMethods":"Modes de paiement","menu.payments.paymentDetails":"Détails du paiement","menu.payments.disputeDetails":"Informations sur le litige","menu.payments.terminals":"Terminaux","menu.org.reports":"Rapports","menu.org.settings":"Paramètres","menu.org.theme":"Thèmes","menu.org.theme.management":"Gérer les thèmes","menu.org.theme.create":"Créer un thème","menu.org.theme.edit":"Modifier un thème","menu.org.uam":"Gestion des utilisateurs","menu.overview":"Présentation","menu.paymentActivity":"Activité de paiement","menu.paymentLinks":"Liens de paiement","menu.payments":"Paiements","menu.performance":"Performances","menu.planBilling":"Abonnement et Facturation","menu.referral":"Recommandation","menu.reports":"Rapports","menu.rewards":"Récompenses","menu.rewards.dashboard.programmeDetails":"Détails du programme","menu.rewards.partnerPerks":"Avantages des partenaires","menu.risk":"Risque","menu.risk.addWatchlist":"Ajoutez de nouveaux éléments à votre liste de surveillance","menu.risk.analytics":"Prévention de la fraude","menu.risk.buckAddWatchlist":"Ajoutez de nouveaux éléments de liste de surveillance via un fichier","menu.risk.watchList":"Liste de surveillance","menu.salesOrders":"Commandes clients","menu.salesOrders.detail":"Détails de la commande client","menu.salesOrders.new":"Nouvelle commande client","menu.salesOrders.edit":"Modifier la commande client","menu.salesOrders.fulfillment.new":"Nouvelle livraison","menu.salesOrders.fulfillment.edit":"Modifier la livraison","menu.security":"Sécurité","menu.settings":"Paramètres","menu.settlements":"Règlements","menu.spend":"Dépenses","menu.spendRequests":"Demandes de dépenses","menu.spendAccounting":"Comptabilité","menu.purchaseOrders":"Bons de commande","menu.purchaseOrders.details":"Détails du bon de commande","menu.purchaseOrders.settings":"Paramètres des bons de commande","menu.purchaseOrders.activate":"Activer les bons de commande","menu.purchaseOrders.import":"Importer des bons de commande","menu.spendRequests.create":"Créer une demande","menu.spendRequests.details":"Détails de la demande","menu.spendRequests.activate":"Activer les demandes","menu.spendRequests.settings":"Paramètres des demandes","menu.spendRequests.settings.entity":"Paramètres de lâentité du formulaire de demande","menu.spendRequests.spendRequest":"Demandes de dépenses","menu.spendBudgets":"Budgets","menu.spendBudgets.budgets":"Budgets","menu.statements":"Relevés","menu.taxFiling":"Déclaration fiscale","menu.taxFiling.summary":"Déclaration fiscale","menu.taxFiling.settings":"Paramètres de la déclaration fiscale","menu.transfers":"Virements","menu.transfers.new":"Nouveau virement (Payout)","menu.transfers.edit":"Modifier le virement","menu.transfers.batchNew":"Nouveau virement groupé","menu.transfers.batchEdit":"Modifier le virement groupé","menu.transfers.booked":"Virements réservés","menu.transfers.batchDetail":"Détails du virement groupé","menu.transfers.transferMethods":"Modes de virement","menu.transfers.limitManagement":"Gestion des limites de virement","menu.transfers.limitManagement.storeConnect":"Choisissez la marketplace ou la plateforme SaaS pour votre boutique","menu.transfers.limitManagement.salesOrderUpload":"Sélectionnez une boutique pour télécharger les commandes clients","menu.transfers.settings":"Paramètres de virement","menu.transfers.approval":"Approbations de virements","menu.transfers.approval.edit":"Configurer les couches d\'approbation et les approbateurs","menu.transfers.approval.changelog":"Voir le journal des modifications du flux de travail","menu.transfers.approval.changerequests":"Voir les demandes de modification du flux de travail","menu.userManagement":"Gestion des utilisateurs","menu.users":"Utilisateurs","menu.vendor":"Fournisseurs","menu.vendor.new":"Nouveau fournisseur","menu.vendor.details":"Détails du fournisseur","menu.vendor.activate":"Activer le fournisseur","menu.vendor.approvals":"Approbations de fournisseurs","menu.vendor.pricing":"Tarification","menu.vendor.settings":"Paramètres du fournisseur","menu.wallet":"Wallet","menu.wallet_my":"Transactions","menu.addFunds":"Ajouter des fonds","menu.addFunds.method":"Select method to add funds","menu.addFunds.summary":"Ajouter des fonds à votre wallet","menu.addFunds.airwallexPay":"Recevoir des fonds ou alimenter votre wallet via Airwallex Pay","menu.linkedAccounts":"Comptes liés","menu.linkedAccounts.contactInfo":"Compléter vos informations de contact commerciales","menu.linkedAccounts.heading":"Lier votre compte bancaire externe","menu.linkedAccounts.accounts":"Comptes liés","menu.linkedAccounts.bankStatementVerify":"Vérifier votre compte bancaire externe","menu.linkedAccounts.directDebit":"Ajouter des fonds via prélèvement automatique","menu.linkedAccounts.directDebitSuccess":"Vos fonds sont en cours de transfert","menu.webhooks":"Webhooks","menu.org.uam.roles":"Rôle","menu.org.uam.fields":"Champ","menu.org.uam.inviteUsers":"Inviter un utilisateur","menu.org.uam.createRole":"Créer un rôle","menu.org.uam.editRole":"Ãditer un rôle","menu.org.uam.users":"Utilisateur","menu.org.uam.createAccount":"Créer un compte","menu.org.uam.createEntity":"Créer une entité","menu.developer.apiKeys":"Clés API","menu.developer.webhooks":"Webhooks","menu.developer.events":"Ãvénements","menu.walletSummary":"Synthèse du wallet","menu.wallet.deepLinks.prepaymentBalance":"Solde de prépaiement","menu.wallet.deepLinks.configuration":"Configuration","menu.wallet.deepLinks.cashBalanceDetails":"Détails du solde de trésorerie","menu.w
259allet.deepLinks.transactions":"Transactions","menu.wallet.deepLinks.lendingOnboarding":"Activation du crédit","menu.wallet.deepLinks.lendingRepayment":"Remboursement de crédit","menu.wallet.deepLinks.settings":"Paramètres du wallet","menu.wallet.yield.balanceDetails":"Détails du Solde de Rendement","menu.wallet.yield.balanceStatements":"Relevés de Solde de Rendement","menu.wallet.yield.addFunds":"Ajouter des Fonds au Rendement","menu.wallet.yield.withdraw":"Retirer du Rendement","menu.wallet.yield.ineligible":"Inéligibilité au Rendement","menu.wallet.yield.onboarding":"Intégration au Rendement","menu.wallet.yield.rescheduleOnboarding":"Reprogrammer la Réunion de Vérification du Rendement","menu.reports.deepLinks.reportsOverview":"Aperçu des Rapports","menu.reports.deepLinks.downloads":"Téléchargements","menu.orgBalances.deepLinks.balances":"Soldes","menu.orgBalances.deepLinks.transactions":"Transactions","menu.orgBalances.deepLinks.aggregateFunds":"Agrégation de Fonds","menu.account.deepLinks.accountDetails":"Détails du Compte","menu.account.deepLinks.accountProfile":"Profil","menu.account.deepLinks.security":"Sécurité","menu.account.deepLinks.notifications":"Notifications","menu.account.deepLinks.accounts":"Comptes","menu.account.deepLinks.assistants":"Assistants","menu.account.deepLinks.changePassword":"Changer le Mot de Passe","menu.account.deepLinks.setupTwoFactorAuth":"Configurer l\'Authentification à Deux Facteurs","menu.account.deepLinks.addEmailAddress":"Ajouter une Adresse E-mail","menu.account.deepLinks.addMobileNumber":"Ajouter un Numéro de Mobile","menu.account.deepLinks.accountSettings":"Paramètres du Compte","menu.account.deepLinks.bankDetails":"Détails Bancaires","menu.account.deepLinks.developerSettings":"Paramètres Développeur","menu.account.deepLinks.apiKeys":"Clés API","menu.account.deepLinks.userManagement":"Gestion des Utilisateurs","menu.account.deepLinks.accountGroup":"Groupe de Comptes","menu.account.deepLinks.groupManagement":"Gestion des Groupes","menu.account.deepLinks.accountStatements":"Relevés de Compte","navigation.poweredBy":"alimenté par <logo />","messages.viewingOrgAccountFromAccountGroup.body":"Pour toutes les fonctionnalités telles que les dépenses, les factures et les paramètres, passez à l\'organisation {{orgName}}. ","messages.viewingOrgAccountFromAccountGroup.cta.switchView":"Changer dâaffichage","messages.viewingOrgAccountFromAccountGroup.heading":"Vous consultez ce compte à partir du groupe de comptes {{accountGroupName}}","navigation.account":"Compte","navigation.close":"Fermer","navigation.entity":"Entité","navigation.mainMenuTooltip":"Menu principal","navigation.open":"Ouvrir le menu de navigation","navigation.organisation":"Organisation","navigation.selectAccount":"Sélectionnez un compte","navigation.selectOrganisation":"Sélectionnez une organisation","navigation.moreSubPages":"Plus de pages {{parentTitle}}","orgBalances":"Soldes","orgTransactions":"Transactions","security":"Sécurité","selectAPlan":"Sélectionnez un abonnement","selectAPlanToGetStarted":"Sélectionnez un abonnement pour commencer","selectAPlanToGetStartedDesc":"Pour commencer, choisissez lâun de nos abonnements disponibles. Une fois votre abonnement activé, vous pourrez accéder à votre compte et à vos données.","sandbox.banner.text":"Ceci est l\'environnement de test. <getStartedLink>Accédez à la production</getStartedLink> pour effectuer une vraie transaction.","sessionDescription":"Pour votre sécurité, nous vous déconnectons automatiquement après un certain temps d\'inactivité.","sessionHeading":"Vous êtes inactif depuis un moment","settings":"Paramètres","skeleton.loadingPageContent":"Chargement du contenu de la page","skeleton.loadingNavigationTabs":"Chargement des onglets de navigation","tag.new":"Nouveau","transactions":"Transactions","transfers.approval":"Approbations de virements","transfers.methods":"Modes de virement","transfers.settings":"Paramètres","transfers.summary":"Synthèse","verification.content":"Veuillez terminer la vérification de votre compte pour accéder aux services Airwallex","verification.heading":"Terminez la vérification de votre compte","verification.primary":"Commencer","verification.secondary":"Peut-être plus tard","verificationFailure.content":"Nous ne sommes malheureusement pas en mesure de vous fournir une assistance pour le moment.","verificationFailure.heading":"Lâactivation du compte a échoué","verificationFailure.primary":"Fermer","verificationSubmitted.content":"Notre équipe est en train de vérifier vos informations. Vous recevrez un e-mail ou un message une fois lâopération terminée","verificationSubmitted.heading":"Vérification du compte en cours","verificationSubmitted.primary":"Confirmer","walletSummary":"Synthèse du wallet","menu.org.payments.surcharge":"Supplément","menu.surcharge":"Supplément"}'),Xk=JSON.parse('{"_comment":"This file is generated via awx-i18n-service, please do not update contents manually","accountStatus.SUSPENDED":"Suspended","accountSwitch.accounts":"Accounts","accountSwitch.newAccount":"New account","accountSwitch.viewAndCreateAccounts":"View and create accounts","accountSwitch.newAccountGroup":"New account group","accountSwitch.nAccounts_one"
259:"{{count}} account","accountSwitch.nAccounts_other":"{{count}} accounts","accountSwitch.noResultsFound":"No results found","accountSwitch.trySearchingWithDifferentKeywords":"Try searching with different keywords","assistantView":"Assistant view","backToPersonalView":"Back to personal view","balances":"Balances","contactSupport":"Contact support","enrollment":"Declarant information","guidedTour.accountSwitcher.content":"Accounts lets you manage funds, create transfers, issue cards, accept payments, and more. You can switch to your other accounts from the top of the menu on the left.","guidedTour.accountSwitcher.employee.mame.title":"Easy access to your accounts","guidedTour.accountSwitcher.employee.mase.title":"Easy access to your accounts","guidedTour.accountSwitcher.mame.content":"You can use the switcher to see account specific features here.","guidedTour.accountSwitcher.mase.content":"You can use the switcher to see account specific features here.","guidedTour.accountSwitcher.sase.content":"Accounts lets you manage funds, create transfers, issue cards, accept payments, and more.","guidedTour.accountSwitcher.sase.title":"This is the account section","guidedTour.accountSwitcher.title":"This is the account section","guidedTour.orgSwitcher.content":"Manage your business workflows here. These features apply across all of your accounts.","guidedTour.orgSwitcher.employee.mame.title":"Your new organization is here","guidedTour.orgSwitcher.employee.mase.title":"View and manage global features across all of your accounts","guidedTour.orgSwitcher.mame.content":"View and manage global features across all of your entities and accounts","guidedTour.orgSwitcher.sase.content":"Manage your business workflows here. These features apply across all of your accounts, even as your business grows and you add accounts.","guidedTour.orgSwitcher.sase.title":"This is your organization section","guidedTour.orgSwitcher.title":"This is your organization section","kycStatus.FAILURE":"Failed","kycStatus.INIT":"Pending","kycStatus.SUBMITTED":"In review","linkedaccounts":"Linked Accounts","menu.account":"Account","menu.account.deepLinks.users":"Users","menu.accountDetails":"Account details","menu.accountGroup":"Account group","menu.accountGroupManagement":"Group management","menu.apiKeys":"API Keys","menu.approvals":"Approvals","menu.balances":"Balances","menu.batchTransfers":"Batch Transfers","menu.org.users":"Users","menu.planBilling":"Plan & Billing","menu.billPay":"Bills","menu.billPay.activate":"Activate bills","menu.billPay.settings":"Settings","menu.billPay.manageBill":"Go to Bill details","menu.billPay.payBills":"Pay bills","menu.billPay.createBill":"Add new bill","menu.billPay.summary":"Summary","menu.users":"Users","menu.vendor":"Vendors","menu.vendor.new":"New Vendor","menu.vendor.details":"Vendor Details","menu.vendor.activate":"Activate Vendor","menu.vendor.approvals":"Vendor Approvals","menu.vendor.pricing":"Pricing","menu.vendor.settings":"Vendor Settings","menu.spend":"Spend","menu.spendRequests":"Requests","menu.spendBudgets":"Budgets","menu.purchaseOrders":"Purchase orders","menu.purchaseOrders.details":"Purchase Order details","menu.purchaseOrders.settings":"Purchase Orders settings","menu.purchaseOrders.activate":"Activate Purchase Orders","menu.purchaseOrders.import":"Import Purchase Orders","menu.cards":"Cards","menu.cards.summary":"Summary","menu.cards.companyCards":"Company Cards","menu.cards.identityReview":"Identity review","menu.cards.changePin":"Change PIN","menu.cards.cardSettings":"Settings","menu.cards.cardholders":"Cardholders","menu.cards.selectCardType":"Create card","menu.cards.createEmployeeCard":"Create an employee card","menu.cards.editCard":"Configure card details","menu.cards.createCompanyCard":"Create a company card","menu.cards.transactions":"Transactions","menu.cards.editCompanyCardOwners":"Edit card","menu.cards.deliveryAddress":"Provide delivery address","menu.cards.reissuePhysical":"Renew card","menu.cards.replaceCard":"Select the reason for replacement","menu.cards.transactionFeedback":"Get help with this transaction","menu.cards.cardActivation":"Select card to activate","menu.connectionLink":"Connection Link","menu.connections":"Connections","menu.contacts":"Contacts","menu.contacts.payer":"Payers","menu.contacts.payer.new":"New payer","menu.contacts.payer.edit":"Edit payer","menu.contacts.recipient":"Recipients","menu.contacts.recipient.new":"New recipient","menu.contacts.recipient.edit":"Edit recipient","menu.conversions":"Conversions","menu.conversions.booked":"Booked Conversions","menu.conversions.limitOrders":"Limit Orders","menu.conversions.settings":"Settings","menu.conversions.new":"New Conversion","menu.dashboard":"Dashboard","menu.overview":"Overview","menu.declarationCenter":"Declaration Center","menu.developer":"Developer","menu.developerGuides":"Guides","menu.disputes":"Disputes","menu.expenses":"Expenses","menu.expenses.activate":"Activate expenses","menu.expenses.automations":"Expense automations","menu.expenses.cardExpenses":"Card expenses","menu.expenses.entitySettings":"Expense entity settings","menu.expenses.manageCardExpense":"Go to card expense details","menu.expenses.manageReimbursement":"Go to reimbursement details","menu.expenses.pricing":"Expenses pricing","menu.expenses.reimbursements":"Reimbursements","menu.expenses.settings":"Expense settings","menu.globalAccounts":"Global accounts","menu.globalAccounts.accounts":"Summary","menu.globalAccounts.accounts.new":"Create Global Account","menu.globalAccounts.accounts.detail":"Global Account details","menu.globalAccounts.transactions":"All transactions","menu.globalAccounts.openingForm":"Opening Form","menu.myCards":"My cards","menu.paymentLinks":"Payment links","menu.payments":"Payments","menu.performance":"Performance","menu.settlements":"Settlements","menu.spendRequests.create":"Create Request","menu.spendRequests.details":"Request Details","menu.spendRequests.activate":"Activate Requests","menu.spendRequests.settings":"Requests Settings","menu.spendRequests.settings.entity":"Request Form Entity Settings","menu.spendRequests.spendRequest":"Spend Requests","menu.spendBudgets.budgets":"Budgets","menu.paymentActivity":"Payment activity","menu.referral":"Referral","menu.reports":"Reports","menu.rewards":"Rewards","menu.rewards.dashboard.programmeDetails":"Programme details","menu.rewards.partnerPerks":"Partner perks","menu.terminals":"POS Terminals","menu.risk":"Risk","menu.risk.addWatchlist":"Add new items to your Watchlist","menu.risk.analytics":"Fraud prevention","menu.risk.buckAddWatchlist":"Add new Watchlist items via file","menu.risk.watchList":"Watchlist","menu.security":"Security","menu.settings":"Settings","menu.statements":"Statements","menu.transfers":"Transfers","menu.transfers.new":"New Transfer (Payout)","menu.transfers.edit":"Edit Payout","menu.transfers.batchNew":"New Batch Transfer","menu.transfers.batchEdit":"Edit Batch Transfer","menu.transfers.booked":"Booked Transfers","menu.transfers.batchDetail":"Batch Transfer Details","menu.transfers.transferMethods":"Transfer methods","menu.transfers.limitManagement":"Store and transfer limit management","menu.transfers.limitManagement.storeConnect":"Choose the marketplace or SaaS platform for your store","menu.transfers.limitManagement.salesOrderUpload":"Select a store to upload sales orders","menu.transfers.settings":"Transfer settings","menu.transfers.approval":"Transfer approvals","menu.transfers.approval.edit":"Set up approval layers and approvers","menu.transfers.approval.changelog":"View workflow change log","menu.transfers.approval.changerequests":"View workflow change requests","menu.salesOrders":"Sales Orders","menu.salesOrders.detail":"Sales order detail","menu.salesOrders.new":"New Sales order","menu.salesOrders.edit":"Edit Sales order","menu.salesOrders.fulfillment.new":"New Fulfillment","menu.salesOrders.fulfillment.edit":"Edit Fulfillment","menu.customers":"Customers","menu.userManagement":"User management","menu.wallet":"Wallet","menu.wallet_my":"Transactions","menu.addFunds":"Add funds","menu.addFunds.method":"Select method to add funds","menu.addFunds.summary":"Add funds to your wallet","menu.addFunds.airwallexPay":"Receive funds or top up wallet through Airwallex Pay","menu.linkedAccounts":"Linked A
259ccounts","menu.linkedAccounts.contactInfo":"Complete your business contact information","menu.linkedAccounts.heading":"Link your external bank account","menu.linkedAccounts.accounts":"Linked Accounts","menu.linkedAccounts.bankStatementVerify":"Verify your external bank account","menu.linkedAccounts.directDebit":"Add funds via direct debit","menu.linkedAccounts.directDebitSuccess":"Your funds are on the way","menu.webhooks":"Webhooks","menu.connectedAccounts":"Connected accounts","menu.taxFiling":"Tax filing","menu.taxFiling.summary":"Tax Filing","menu.taxFiling.settings":"Tax Filing Settings","menu.org.approvals":"Spend approvals","menu.org.balances":"Balances","menu.org.businessAccount":"Business Accounts","menu.org.businessAccount.allAccounts":"All accounts ({{count}})","menu.org.businessAccount.loadAccountsError":"Failed to load your accounts.","menu.org.businessAccount.retry":"Retry","menu.org.billing":"Billing","menu.org.billing.customers":"Customers","menu.org.billing.products":"Products","menu.org.billing.productsCatalog":"Product catalog","menu.org.billing.invoices":"Invoices","menu.org.billing.settings":"Billing settings","menu.org.billing.subscriptions":"Subscriptions","menu.org.billing.ubb":"Usage metering","menu.org.planBilling":"Plan & Billing","menu.org.connections":"Connections","menu.org.paymentsNew":"Payments","menu.org.payments.accounts":"Payment accounts","menu.org.payments.paymentStatus":"KYB status","menu.org.payments.paymentMethods":"Payment methods","menu.org.payments.settings":"Account settings","menu.org.payments.analytics":"Analytics","menu.org.payments.paymentActivityNew":"All payments","menu.org.payments.paymentDetails":"Payment details","menu.org.payments.disputeAnalytics":"Dispute analytics","menu.org.payments.disputeDetails":"Dispute details","menu.org.payments.disputes":"Disputes","menu.org.payments.settlementsSummary":"Summary","menu.org.payments.dashboard":"Dashboard","menu.org.payments.dashboardNew":"Overview","menu.payments.disputes":"Disputes","menu.payments.dashboard":"Dashboard","menu.payments.allPayments":"All payments","menu.payments.analytics":"Analytics","menu.payments.settings":"Settings","menu.payments.settlementsNew":"Summary","menu.payments.surcharge":"Manage your surcharge rate","menu.payments.addApplePayDomain":"Add domain","menu.payments.addApplePayCertificate":"iOS certificates","menu.payments.paymentMethods":"Payment methods","menu.payments.paymentDetails":"Payment details","menu.payments.disputeDetails":"Dispute details","menu.payments.terminals":"Terminals","menu.org.disputes":"Disputes","menu.org.reports":"Reports","menu.org.settings":"Settings","menu.org.uam":"User management","menu.org.uam.roles":"Roles","menu.org.uam.fields":"Fields","menu.org.uam.inviteUsers":"Invite users","menu.org.uam.createRole":"Create role","menu.org.uam.editRole":"Edit role","menu.org.uam.users":"Users","menu.org.uam.createAccount":"Create account","menu.org.uam.createEntity":"Create entity","menu.wallet.deepLinks.prepaymentBalance":"Prepayment Balance","menu.wallet.deepLinks.configuration":"Configuration","menu.wallet.deepLinks.cashBalanceDetails":"Cash Balance Details","menu.wallet.deepLinks.transactions":"Transactions","menu.wallet.deepLinks.lendingOnboarding":"Credit Onboarding","menu.wallet.deepLinks.lendingRepayment":"Credit Repayment","menu.wallet.deepLinks.settings":"Wallet Settings","menu.wallet.yield.balanceDetails":"Yield Balance Details","menu.wallet.yield.balanceStatements":"Yield Balance Statements","menu.wallet.yield.addFunds":"Add Funds to Yield","menu.wallet.yield.withdraw":"Withdraw from Yield","menu.wallet.yield.ineligible":"Yield Ineligibility","menu.wallet.yield.onboarding":"Yield Onboarding","menu.wallet.yield.rescheduleOnboarding":"Reschedule Yield Verification Meeting","menu.reports.deepLinks.reportsOverview":"Reports Overview","menu.reports.deepLinks.downloads":"Downloads","menu.orgBalances.deepLinks.balances":"Balances","menu.orgBalances.deepLinks.transactions":"Transactions","menu.orgBalances.deepLinks.aggregateFunds":"Aggregate Funds","menu.account.deepLinks.accountDetails":"Account Details","menu.account.deepLinks.accountProfile":"Profile","menu.account.deepLinks.security":"Security","menu.account.deepLinks.notifications":"Notifications","menu.account.deepLinks.accounts":"Accounts","menu.account.deepLinks.assistants":"Assistants","menu.account.deepLinks.changePassword":"Change Password","menu.account.deepLinks.setupTwoFactorAuth":"Setup Two-Factor Authentication","menu.account.deepLinks.addEmailAddress":"Add Email Address","menu.account.deepLinks.addMobileNumber":"Add Mobile Number","menu.account.deepLinks.accountSettings":"Account Settings","menu.account.deepLinks.bankDetail
259s":"Bank Details","menu.account.deepLinks.developerSettings":"Developer Settings","menu.account.deepLinks.apiKeys":"API Keys","menu.account.deepLinks.userManagement":"User Management","menu.account.deepLinks.accountGroup":"Account Group","menu.account.deepLinks.groupManagement":"Group Management","menu.account.deepLinks.accountStatements":"Account Statements","menu.org.approvals.expenses":"Expense approvals","menu.org.approvals.expenses.edit":"Edit expense approvals workflow","menu.org.approvals.card-expenses":"Card expense approvals","menu.org.approvals.card-expenses.edit":"Edit card expense approvals workflow","menu.org.approvals.reimbursements":"Reimbursements approvals","menu.org.approvals.reimbursements.edit":"Edit reimbursements approvals workflow","menu.org.approvals.bills":"Bill approvals","menu.org.approvals.bills.edit":"Edit bill approvals workflow","menu.org.approvals.vendors":"Vendors","menu.org.approvals.vendors.new":"New vendor approvals","menu.org.approvals.vendors.edit":"Edit vendor approvals workflow","menu.org.approvals.spendRequests":"Card request approvals","menu.org.approvals.spendRequests.edit":"Edit card request approvals workflow","menu.org.approvals.purchaseRequests":"Purchase order request approvals","menu.org.approvals.purchaseRequests.edit":"Edit purchase order request approvals workflow","menu.org.approvals.transfers":"Transfer approvals","navigation.mainMenuTooltip":"Main menu","navigation.open":"Open navigation menu","navigation.close":"Close","navigation.account":"Account","navigation.accountGroup":"Account group","navigation.entity":"Entity","navigation.organisation":"Organization","navigation.selectOrganisation":"Select an Organization","navigation.selectAccount":"Select an Account","navigation.moreSubPages":"More {{parentTitle}} pages","navigation.poweredBy":"powered by <logo />","messages.viewingOrgAccountFromAccountGroup.heading":"You are viewing this account from the account group {{accountGroupName}}","messages.viewingOrgAccountFromAccountGroup.body":"For all features, such as Expenses, Bills, and Settings, switch to Organization {{orgName}}.","messages.viewingOrgAccountFromAccountGroup.cta.switchView":"Switch view","orgBalances":"Balances","orgTransactions":"Transactions","security":"Security","selectAPlan":"Select a plan","selectAPlanToGetStarted":"Select a plan to get started","selectAPlanToGetStartedDesc":"To get started, first select one of our available plans. Once you subscribe to a plan, you will be able to access your account and data.","sessionDescription":"To protect your security, we automatically log you out after some time of inactivity.","sessionHeading":"You\'ve been idle for a while","settings":"Settings","skeleton.loadingPageContent":"Loading page content","skeleton.loadingNavigationTabs":"Loading navigation tabs","tag.new":"New","transactions":"Transactions","verification.content":"Please complete your account verification to explore Airwallex services","verification.heading":"Complete your account verification","verification.primary":"Start","verification.secondary":"Maybe later","verificationSubmitted.content":"Our team is reviewing your information and you will receive an email or message once complete","verificationSubmitted.heading":"Account verification in progress","verificationSubmitted.primary":"Confirm","verificationFailure.content":"Unfortunately we are unable to support you at the moment.","verificationFailure.heading":"Account activation failed","verificationFailure.primary":"Close","walletSummary":"Wallet Summary","transfers.summary":"Summary","transfers.methods":"Transfer methods","transfers.approval":"Transfer approvals","transfers.settings":"Settings","sandbox.banner.text":"This is the sandbox environment. <getStartedLink>Go to production</getStartedLink> to make a real transaction.","menu.org.payments.surcharge":"Surcharge","menu.surcharge":"Surcharge"}'),Qk=JSON.parse('{"_comment":"This file is generated via awx-i18n-service, please do not update contents manually","accountStatus.SUSPENDED":"Suspendido","accountSwitch.accounts":"Cuentas","accountSwitch.createNew":"Crear nuevo","accountSwitch.createNewAccount":"Crear nueva cuenta","accountSwitch.createNewAccountGroup":"Crear nuevo grupo de cuentas","accountSwitch.nAccounts_one"
259:"{{count}} cuenta","accountSwitch.nAccounts_other":"{{count}} cuentas","accountSwitch.newAccount":"Nueva cuenta","accountSwitch.viewAndCreateAccounts":"Ver y crear cuentas","accountSwitch.newAccountGroup":"Grupo de cuentas nuevo","accountSwitch.noResultsFound":"No se encontraron resultados","accountSwitch.trySearchingWithDifferentKeywords":"Intente buscar con diferentes palabras clave","assistantView":"Vista de asistente","backToPersonalView":"Volver a la vista personal","balances":"Saldos","contactSupport":"Contacte","enrollment":"Información del declarante","guidedTour.accountSwitcher.content":"Las cuentas le permiten gestionar fondos, crear transferencias, emitir tarjetas, aceptar pagos y más. Usted puede cambiar a sus otras cuentas desde la parte superior del menú a la izquierda.","guidedTour.accountSwitcher.employee.mame.title":"Acceso fácil a sus cuentas.","guidedTour.accountSwitcher.employee.mase.title":"Acceso fácil a sus cuentas.","guidedTour.accountSwitcher.mame.content":"Puede utilizar el conmutador para ver caracterÃsticas especÃficas de la cuenta aquÃ.","guidedTour.accountSwitcher.mase.content":"Puede utilizar el conmutador para ver caracterÃsticas especÃficas de la cuenta aquÃ.","guidedTour.accountSwitcher.sase.content":"Las cuentas le permiten gestionar fondos, crear transferencias, emitir tarjetas, aceptar pagos y más.","guidedTour.accountSwitcher.sase.title":"Esta es la sección de cuentas.","guidedTour.accountSwitcher.title":"Esta es la sección de cuentas.","guidedTour.orgSwitcher.content":"Gestione los flujos de trabajo de su negocio aquÃ. Estas caracterÃsticas se aplican a todas sus cuentas.","guidedTour.orgSwitcher.employee.mame.title":"Su nueva organización está aquÃ.","guidedTour.orgSwitcher.employee.mase.title":"Ver y gestionar caracterÃsticas globales en todas sus cuentas.","guidedTour.orgSwitcher.mame.content":"Ver y gestionar caracterÃsticas globales en todas sus entidades y cuentas.","guidedTour.orgSwitcher.sase.content":"Gestione los flujos de trabajo de su negocio aquÃ. Estas caracterÃsticas se aplican a todas sus cuentas, incluso a medida que su negocio crece y usted añade cuentas.","guidedTour.orgSwitcher.sase.title":"Esta es su sección de organización.","guidedTour.orgSwitcher.title":"Esta es su sección de organización.","kycStatus.FAILURE":"Fallido","kycStatus.INIT":"Pendiente","kycStatus.SUBMITTED":"En revisión","linkedaccounts":"Cuentas vinculadas","menu.account":"Cuenta","menu.account.deepLinks.accountDetails":"Detalles de la cuenta","menu.account.deepLinks.accountGroup":"Grupo de cuentas","menu.account.deepLinks.accountProfile":"Perfil","menu.account.deepLinks.accountSettings":"Configuraciones de la cuenta","menu.account.deepLinks.accountStatements":"Estados de cuenta","menu.account.deepLinks.accounts":"Cuentas","menu.account.deepLinks.addEmailAddress":"Agregar dirección de correo electrónico","menu.account.deepLinks.addMobileNumber":"Agregar número de celular","menu.account.deepLinks.apiKeys":"Claves de API","menu.account.deepLinks.assistants":"Asistentes","menu.account.deepLinks.bankDetails":"Detalles bancarios","menu.account.deepLinks.changePassword":"Cambiar contraseña","menu.account.deepLinks.developerSettings":"Configuraciones de desarrollador","menu.account.deepLinks.groupManagement":"Gestión de grupos","menu.account.deepLinks.notifications":"Notificaciones","menu.account.deepLinks.security":"Seguridad","menu.account.deepLinks.setupTwoFactorAuth":"Configurar la autenticación de dos factores","menu.account.deepLinks.userManagement":"Gestión de usuarios","menu.account.deepLinks.users":"Usuarios","menu.accountDetails":"Detalles de la cuenta","menu.accountGroup":"Grupo de cuentas","menu.accountGroupManagement":"Gestión de grupos","menu.addFunds":"Agregar fondos","menu.addFunds.airwallexPay":"Recibir fondos o recargar billetera a través de Airwallex Pay","menu.addFunds.method":"Seleccionar método para añadir fondos","menu.addFunds.summary":"Agregue fondos a su billetera","menu.apiKeys":"Claves de API","menu.approvals":"Aprobaciones","menu.balances":"Saldos","menu.batchTransfers":"Transferencias por lotes","menu.billPay":"Facturas","menu.billPay.activate":"Activar facturas","menu.billPay.createBill":"Agregar nueva factura","menu.billPay.manageBill":"Ir a detalles de la factura","menu.billPay.payBills":"Pagar facturas","menu.billPay.settings":"Configuración","menu.billPay.summary":"Resumen","menu.cards":"Tarjetas","menu.cards.cardActivation":"Seleccione la tarjeta para activar","menu.cards.cardSettings":"Configuración","menu.cards.cardholders":"Titulares de la tarjeta","menu.cards.changePin":"Cambiar PIN","menu.cards.companyCards":"Tarjetas Empresariales","menu.cards.createCompanyCard":"Crear una tarjeta empresarial ","menu.cards.createEmployeeCard":"Crear una tarjeta de empleado ","menu.cards.deliveryAddress":"Proporcionar dirección de entrega","menu.cards.editCard":"Configure los detalles de la tarjeta.","menu.cards.editCompanyCardOwners":"Editar tarjeta","menu.cards.identityReview":"Revisión de identidad","menu.cards.reissuePhysical":"Renovar tarjeta","menu.cards.replaceCard":"Seleccione el motivo del reemplazo","menu.cards.selectCardType":"Crear tarjeta","menu.cards.summary":"Resumen","menu.cards.transactionFeedback":"Obtenga ayuda con esta transacción","menu.cards.transactions":"Transacciones","menu.connectedAccounts":"Cuentas conectadas","menu.connectedAccounts.accountDetails":"Detalles de la cuenta","menu.connectedAccounts.accounts":"Cuentas","menu.connectedAccounts.rfiCenter":"Solicitud de información del centro","menu.connectedAccounts.rfiDetails":"Solicitud de información de detalles","menu.connectedAccounts.transactionDetail
259s":"Detalles de la transacción","menu.connectedAccounts.transactions":"Transacciones","menu.connectionLink":"Enlace de conexión","menu.connections":"Conexiones","menu.connections.title":"Conexiones","menu.connections.title.connect.marketplace":"Conectar mercado","menu.connections.title.netsuite.expense":"Configurar el gasto de NetSuite","menu.connections.title.oauth.consent":"Consentimiento de OAuth","menu.connections.title.quickbooks.expense.accountingData":"Configurar los datos contables del gasto de QuickBooks","menu.connections.title.sage.refreshConnection":"Actualizar conexión Sage","menu.connections.title.setup.accountingProvider":"Configurar el proveedor contable","menu.connections.title.setup.mybank":"Configurar Mybank","menu.connections.title.setup.netsuite":"Configurar NetSuite","menu.connections.title.setup.quickbooks":"Configurar QuickBooks","menu.connections.title.setup.sage":"Configurar Sage","menu.connections.title.setup.walmart":"Configurar Walmart","menu.connections.title.setup.xero":"Configurar Xero","menu.connections.title.xero.expense.accountingData":"Configurar datos contables de gastos de Xero","menu.connections.title.xero.refreshConnection":"Actualizar conexión de Xero","menu.contacts":"Contactos","menu.contacts.payer":"Pagadores","menu.contacts.payer.edit":"Editar pagador","menu.contacts.payer.new":"Nuevo pagador","menu.contacts.recipient":"Destinatarios","menu.contacts.recipient.edit":"Editar destinatario","menu.contacts.recipient.new":"Nuevo destinatario","menu.conversions":"Conversiones","menu.conversions.booked":"Conversión de reserva...","menu.conversions.limitOrders":"Limitar pedidos","menu.conversions.new":"Nueva conversión","menu.conversions.settings":"Configuración","menu.customers":"Clientes","menu.dashboard":"Panel de control","menu.declarationCenter":"Centro de declaraciones","menu.developer":"Desarrollador","menu.developer.apiKeys":"Claves de API","menu.developer.events":"Eventos","menu.developer.webhooks":"Webhooks","menu.developerGuides":"GuÃas","menu.disputes":"Disputas","menu.expenses":"Gastos","menu.expenses.activate":"Activar gastos","menu.expenses.automations":"Automatizaciones de gastos","menu.expenses.cardExpenses":"Gastos de tarjeta","menu.expenses.entitySettings":"Configuraciones de entidad de gastos","menu.expenses.manageCardExpense":"Ir a los detalles del gasto de tarjeta","menu.expenses.manageReimbursement":"Ir a los detalles del reembolso","menu.expenses.pricing":"Precios de gastos","menu.expenses.reimbursements":"Reembolsos","menu.expenses.settings":"Configuraciones de gastos","menu.globalAccounts":"Cuentas globales","menu.globalAccounts.accounts":"Resumen","menu.globalAccounts.accounts.detail":"Detalles de la cuenta bancaria global","menu.globalAccounts.accounts.new":"Crear Cuenta Global","menu.globalAccounts.openingForm":"Formulario de apertura","menu.globalAccounts.transactions":"Todas las transacciones ","menu.kyb.onboarding":"Aplicación de pago","menu.kyb.ongoing":"Activación de método de pago adicional","menu.lending.details":"Detalles de la cuenta de crédito","menu.lending.onboarding":"Activar lÃmite de crédito","menu.lending.repayment":"Reembolsos de crédito","menu.linkedAccounts":"Cuentas vinculadas","menu.linkedAccounts.accounts":"Cuentas vinculadas","menu.linkedAccounts.bankStatementVerify":"Verifique su cuenta bancaria externa","menu.linkedAccounts.contactInfo":"Complete su información de contacto empresarial","menu.linkedAccounts.directDebit":"Agregar fondos a través de débito directo","menu.linkedAccounts.directDebitSuccess":"Sus fondos están en camino","menu.linkedAccounts.heading":"Vincule su cuenta bancaria externa","menu.myCards":"Mis tarjetas","menu.org.approvals":"Aprobaciones de gastos","menu.org.approvals.bills":"Aprobaciones de facturas","menu.org.approvals.bills.edit":"Editar flujo de trabajo de aprobaciones de facturas","menu.org.approvals.card-expenses":"Aprobaciones de gastos de tarjeta","menu.org.approvals.card-expenses.edit":"Editar flujo de trabajo de aprobaciones de gastos de tarjeta","menu.org.approvals.expenses":"Aprobaciones de gastos","menu.org.approvals.expenses.edit":"Editar flujo de trabajo de aprobaciones de gastos","menu.org.approvals.purchaseRequests":"Aprobación de solicitud de orden de compra","menu.org.approvals.purchaseRequests.edit":"Editar flujo de trabajo de aprobaciones de solicitudes órdenes de compra","menu.org.approvals.reimbursements":"Aprobaciones de reembolso","menu.org.approvals.reimbursements.edit":"Editar flujo de trabajo de aprobaciones de reembolsos","menu.org.approvals.spendRequests":"Aprobaciones de solicitudes de tarjeta","menu.org.approvals.spendRequests.edit":"Editar flujo de trabajo de aprobaciones de solicitudes de tarjeta","menu.org.approvals.transfers":"Aprobaciones de transferencia","menu.org.approvals.vendors":"Proveedores","menu.org.approvals.vendors.edit":"Editar el flujo de trabajo de aprobaciones de proveedores","menu.org.approvals.vendors.new":"Nuevas aprobaciones de proveedores","menu.org.balances":"Saldos","menu.org.billing":"Facturación","menu.org.billing.customers":"Clientes","menu.org.billing.invoices":"Facturas","menu.org.billing.products":"Productos","menu.org.billing.productsCatalog":"Catálogo de productos","menu.org.billing.settings":"Configuraciones de facturación","menu.org.billing.subscriptions":"Suscripciones","menu.org.billing.ubb":"Medición de uso","menu.org.businessAccount":"Cuentas empresariales","menu.org.businessAccount.allAccounts":"Todas las cuentas ({{count}})","menu.org.businessAccount.loadAccountsError":"No pudimos cargar sus cuentas.","menu.org.businessAccount.retry":"Reintentar","menu.org.connections":"Conexiones","menu.org.disputes":"Disputas","menu.org.payments.accounts":"Cuentas de pago","menu.org.payments.paymentStatus":"Estado de KYB","menu.org.payments.paymentMethods":"Métodos de pago","menu.org.payments.settings":"Configuraciones de cuenta","menu.org.payments.analytics":"Análisis","menu.org.payments.dashboard":"Panel de control","menu.org.payments.dashboardNew":"Resumen","menu.org.payments.disputeAnalytics":"Análisis de disputas","menu.org.payments.disputeDetails":"Detalles de disputa","menu.org.payments.disputes":"Disputas","menu.org.payments.paymentActivityNew":"Todos los pagos","menu.org.payments.paymentDetails":"Detalles del pago","menu.org.payments.settlementsSummary":"Resumen","menu.org.paymentsNew":"Pagos","menu.org.planBilling":"Plan y facturación","menu.org.reports":"Informes","menu.org.settings":"Configuración","menu.org.theme":"Temas","menu.org.theme.management":"Administrar temas","menu.org.theme.create":"Crear tema","menu.org.theme.edit":"Editar tema","menu.org.uam":"Gestión de usuarios","menu.org.uam.createAccount":"Crear cuenta","menu.org.uam.createEntity":"Crear entidad","menu.org.uam.createRole":"Crear rol","menu.org.uam.editRole":"Editar rol","menu.org.uam.fields":"Campos","menu.org.uam.inviteUsers":"Invitar usuarios","menu.org.uam.roles":"Roles","menu.org.uam.users":"Usuarios","menu.org.users":"Usuarios","menu.orgBalances.deepLinks.aggregateFunds":"Fondos agregados","menu.orgBalances.deepLinks.balances":"Saldos","menu.orgBalances.deepLinks.transactions":"Transacciones","menu.overview":"Resumen","menu.paymentActivity":"Actividad de pago","menu.paymentLinks":"Enlaces de pago","menu.paymentLinks.createPaymentLink":"Crear enlace de pago","menu.paymentLinks.editPaymentLink":"Editar enlace de pago","menu.paymentLinks.paymentLinkDetail
259s":"Detalles de enlace de pago","menu.paymentLinks.paymentLinkSettings":"Configuraciones de enlaces de pago","menu.payments":"Pagos","menu.payments.addApplePayCertificate":"Certificados de iOS","menu.payments.addApplePayDomain":"Agregar dominio","menu.payments.allPayments":"Todos los pagos","menu.payments.analytics":"AnalÃtica","menu.payments.dashboard":"Panel de control","menu.payments.disputeDetails":"Detalles de disputa","menu.payments.disputes":"Disputas","menu.payments.paymentDetails":"Detalles del pago","menu.payments.paymentMethods":"Métodos de pago","menu.payments.settings":"Configuración","menu.payments.settlementsNew":"Resumen","menu.payments.surcharge":"Gestionar su tasa de recargo","menu.payments.terminals":"Terminales","menu.performance":"Rendimiento","menu.planBilling":"Plan y facturación","menu.purchaseOrders":"Ãrdenes de compra ","menu.purchaseOrders.activate":"Activar órdenes de compra","menu.purchaseOrders.details":"Detalles de órdenes de compra","menu.purchaseOrders.import":"Importar de órdenes de compra importadas","menu.purchaseOrders.settings":"Configuraciones de órdenes de compra","menu.referral":"Referencia","menu.reports":"Informes","menu.reports.deepLinks.downloads":"Descargas","menu.reports.deepLinks.reportsOverview":"Resumen de informes","menu.rewards":"Recompensas","menu.rewards.dashboard.programmeDetails":"Detalles del programa","menu.rewards.partnerPerks":"Beneficios para socios","menu.rfi.kyb":"Solicitud de información de KYB","menu.rfi.kyb_ongoing":"Solicitud de información de KYB en curso","menu.rfi.kyc":"Solicitud de información de KYC","menu.rfi.lending":"Solicitud de información de préstamos","menu.rfi.ongoing_kyc":"Solicitud de información de KYC en curso","menu.rfi.order":"Solicitud de información de pedido","menu.rfi.pa":"Solicitud de información de PA","menu.rfi.tm":"Solicitud de información de transacción","menu.rfi.tm.list":"Solicitud de información de transacción","menu.rfi.user":"Solicitud de información de usuario","menu.risk":"Riesgo","menu.risk.addWatchlist":"Agregar nuevos artÃculos a su Lista de vigilancia","menu.risk.analytics":"Prevención de fraude","menu.risk.buckAddWatchlist":"Agregar nuevos artÃculos a la Lista de vigilancia a través de un archivo","menu.risk.watchList":"Lista de vigilancia","menu.salesOrders":"Ãrdenes de ventas","menu.salesOrders.detail":"Detalle del pedido de ventas","menu.salesOrders.edit":"Editar pedido de ventas","menu.salesOrders.fulfillment.edit":"Editar cumplimiento","menu.salesOrders.fulfillment.new":"Nuevo cumplimiento","menu.salesOrders.new":"Nueva orden de venta","menu.security":"Seguridad","menu.settings":"Configuración","menu.settlements":"Liquidaciones","menu.spend":"Spend","menu.spendAccounting":"Contabilidad","menu.spendRequests":"Solicitudes","menu.spendRequests.activate":"Activar solicitudes","menu.spendRequests.create":"Crear solicitud","menu.spendRequests.details":"Detalles de la solicitud","menu.spendRequests.settings":"Configuraciones de solicitudes","menu.spendRequests.settings.entity":"Configuraciones de la entidad del formulario de solicitud","menu.spendRequests.spendRequest":"Solicitudes de Spend","menu.spendBudgets":"Presupuestos","menu.spendBudgets.budgets":"Presupuestos","menu.statements":"Estados de cuenta","menu.taxFiling":"Declaración de impuestos","menu.taxFiling.settings":"Configuraciones de presentación de impuestos","menu.taxFiling.summary":"Declaración de impuestos","menu.terminals":"Terminales de punto de venta (POS)","menu.transfers":"Transferencias","menu.transfers.approval":"Aprobaciones de transferencia","menu.transfers.approval.changelog":"Ver registro de cambios del flujo de trabajo","menu.transfers.approval.changerequests":"Ver solicitudes de cambio de flujo de trabajo","menu.transfers.approval.edit":"Configurar capas de aprobación y aprobadores","menu.transfers.batchDetail":"Detalles de transferencia por lotes","menu.transfers.batchEdit":"Editar transferencia por lotes","menu.transfers.batchNew":"Nueva transferencia por lotes","menu.transfers.booked":"Transferencias reservadas","menu.transfers.edit":"Editar pago","menu.transfers.limitManagement":"Gestión de lÃmites de tienda y transferencia","menu.transfers.limitManagement.salesOrderUpload":"Seleccione una tienda para cargar pedidos de ventas","menu.transfers.limitManagement.storeConnect":"Elija el mercado o la plataforma SaaS para su tienda","menu.transfers.new":"Nueva transferencia (pago)","menu.transfers.settings":"Configuraciones de transferencia","menu.transfers.transferMethods":"Métodos de transferencia","menu.userManagement":"Gestión de usuarios","menu.users":"Usuarios","menu.vendor":"Proveedores","menu.vendor.activate":"Activar proveedor","menu.vendor.approvals":"Aprobaciones de proveedores","menu.vendor.details":"Detalles del proveedor","menu.vendor.new":"Nuevo proveedor","menu.vendor.pricing":"Precios","menu.vendor.settings":"Configuración del proveedor","menu.wallet":"Billetera","menu.wallet.deepLinks.cashBalanceDetails":"Detalles del saldo en efectivo","menu.wallet.deepLinks.configuration":"Configuración","menu.wallet.deepLinks.prepaymentBalance":"Saldo de prepago","menu.wallet.yield.addFunds":"Agregar fondos a Yield","menu.wallet.yield.balanceDetails":"Detalles del saldo de Yield","menu.wallet.yield.balanceStatements":"Estados de cuenta de Yield","menu.wallet.yield.ineligible":"Inelegibilidad para Yield","menu.wallet.yield.onboarding":"Incorporación a Yield","menu.wallet.yield.rescheduleOnboarding":"Reprogramar la reunión de verificación de Yield","menu.wallet.yield.withdraw":"Retirar de Yield","menu.wallet_my":"Transacciones","menu.webhooks":"Webhooks","messages.viewingOrgAccountFromA
259ccountGroup.body":"Para todas las funciones, como Gastos, Facturas y Configuraciones, cambie a Organización {{orgName}}.","messages.viewingOrgAccountFromAccountGroup.cta.switchView":"Cambiar vista","messages.viewingOrgAccountFromAccountGroup.heading":"Está viendo esta cuenta del grupo de cuentas {{accountGroupName}}","navigation.account":"Cuenta","navigation.accountGroup":"Grupo de cuentas","navigation.close":"Cerrar","navigation.createAccountGroup":"Crear grupo de cuentas","navigation.entity":"Entidad","navigation.mainMenuTooltip":"menú principal","navigation.moreSubPages":"Más páginas de {{parentTitle}}","navigation.open":"Abrir menú de navegación","navigation.organisation":"Organización","navigation.poweredBy":"con tecnologÃa <logo />","navigation.selectAccount":"Seleccionar una cuenta","navigation.selectOrganisation":"Seleccione una organización","orgBalances":"Saldos","orgTransactions":"Transacciones","sandbox.banner.text":"Este es el entorno de pruebas (sandbox). <getStartedLink>Vaya a producción</getStartedLink> para realizar una transacción real.","security":"Seguridad","selectAPlan":"Seleccionar un plan","selectAPlanToGetStarted":"Seleccione un plan para comenzar","selectAPlanToGetStartedDesc":"Para comenzar, primero seleccione uno de nuestros planes disponibles. Una vez que se suscriba a un plan, podrá acceder a su cuenta y datos.","sessionDescription":"Para proteger su seguridad, cerramos la sesión automáticamente después de un tiempo de inactividad.","sessionHeading":"Ha estado inactivo algo de tiempo","settings":"Configuración","tag.new":"Nuevo","transactions":"Transacciones","transfers.approval":"Aprobaciones de transferencia","transfers.methods":"Métodos de transferencia","transfers.settings":"Configuración","transfers.summary":"Resumen","verification.content":"Complete su verificación de cuenta para explorar los servicios de Airwallex","verification.heading":"Complete su verificación de cuenta","verification.primary":"Comenzar","verification.secondary":"Quizá más tarde","verificationFailure.content":"Lamentablemente, no podemos apoyarle en este momento.","verificationFailure.heading":"La activación de la cuenta ha fallado","verificationFailure.primary":"Cerrar","verificationSubmitted.content":"Nuestro equipo está revisando su información y recibirá un correo electrónico o mensaje una vez que se haya completado","verificationSubmitted.heading":"Verificación de cuenta en proceso","verificationSubmitted.primary":"Confirmar","walletSummary":"Resumen de la billetera","menu.org.payments.surcharge":"Recargo","menu.surcharge":"Recargo"}'),Jk=JSON.parse('{"_comment":"This file is generated via awx-i18n-service, please do not update contents manually","accountStatus.SUSPENDED":"䏿忢ä¸","accountSwitch.accounts":"ã¢ã«ã¦ã³ã","accountSwitch.createNew":"æ°è¦ä½æ","accountSwitch.createNewAccount":"æ°ããã¢ã«ã¦ã³ãã使","accountSwitch.createNewAccountGroup":"æ°ããã¢ã«ã¦ã³ãã°ã«ã¼ãã使","accountSwitch.nAccounts_one":"{{count}}ä»¶ã®ã¢ã«ã¦ã³ã","accountSwitch.nAccounts_other":"{{count}}ä»¶ã®ã¢ã«ã¦ã³ã","accountSwitch.newAccount":"æ°ããã¢ã«ã¦ã³ã","accountSwitch.viewAndCreateAccounts":"ã¢ã«ã¦ã³ãã表示ãã¦ä½æ","accountSwitch.newAccountGroup":"æ°è¦ã¢ã«ã¦ã³ãã°ã«ã¼ã","accountSwitch.noResultsFound":"çµæãè¦ã¤ããã¾ãã","accountSwitch.trySearchingWithDifferentKeywords":"å¥ã®ãã¼ã¯ã¼ãã§æ¤ç´¢ãã¦ãã ãã","assistantView":"ã¢ã·ã¹ã¿ã³ããã¥ã¼","backToPersonalView":"å人ãã¥ã¼ã«æ»ã","balances":"æ®é«","contactSupport":"ãµãã¼ãã«åãåããã","enrollment":"ç³åè
æ
å ±","guidedTour.accountSwitcher.content":"è³éã®ç®¡çãééã®ä½æãã«ã¼ãã®çºè¡ãæ¯æãã®åé ãªã©ãã¢ã«ã¦ã³ãã§è¡ãã¾ããç»é¢å·¦ä¸ã®ã¡ãã¥ã¼ã§ä»ã®ã¢ã«ã¦ã³ãã«åãæ¿ãããã¨ãã§ãã¾ãã","guidedTour.accountSwitcher.employee.mame.title":"ã¢ã«ã¦ã³ãã«ç°¡åã«ã¢ã¯ã»ã¹","guidedTour.accountSwitcher.employee.mase.title":"ã¢ã«ã¦ã³ãã«ç°¡åã«ã¢ã¯ã»ã¹","guidedTour.accountSwitcher.mame.content":"ã¹ã¤ããã£ã¼ã使ãã°ãã¡ãã«ã¢ã«ã¦ã³ãåºæã®æ©è½ã表示ã§ãã¾ãã","guidedTour.accountSwitcher.mase.content":"ã¹ã¤ããã£ã¼ã使ãã°ãã¡ãã«ã¢ã«ã¦ã³ãåºæã®æ©è½ã表示ã§ãã¾ãã","guidedTour.accountSwitcher.sase.content":"è³éã®ç®¡çãééã®ä½æãã«ã¼ãã®çºè¡ãæ¯æãã®åé ãªã©ãã¢ã«ã¦ã³ãã§è¡ãã¾ãã","guidedTour.accountSwitcher.sase.title":"ããã¯ã¢ã«ã¦ã³ãã»ã¯ã·ã§ã³ã§ã","guidedTour.accountSwitcher.title":"ããã¯ã¢ã«ã¦ã³ãã»ã¯ã·ã§ã³ã§ã","guidedTour.orgSwitcher.content":"ãã®ã»ã¯ã·ã§ã³ã§æ¥åã¯ã¼ã¯ããã¼ã管çãã¾ãããããã®æ©è½ã¯ãã¹ã¦ã®ã¢ã«ã¦ã³ãã§å©ç¨ã§ãã¾ãã","guidedTour.orgSwitcher.employee.mame.title":"æ°ããçµç¹ããã¡ãã«
259表示ããã¦ãã¾ã","guidedTour.orgSwitcher.employee.mase.title":"ãã¹ã¦ã®ã¢ã«ã¦ã³ãã®ã°ãã¼ãã«ãªæ©è½ã表示ããã³ç®¡ç","guidedTour.orgSwitcher.mame.content":"ãã¹ã¦ã®æ³äººã¨ã¢ã«ã¦ã³ãã®ã°ãã¼ãã«ãªæ©è½ã表示ããã³ç®¡ç","guidedTour.orgSwitcher.sase.content":"ãã®ã»ã¯ã·ã§ã³ã§æ¥åã¯ã¼ã¯ããã¼ã管çãã¾ããäºæ¥ã®æé·ã«ä¼´ãã¢ã«ã¦ã³ãã追å ããã¦ãããããã®æ©è½ã¯ãã¹ã¦ã®ã¢ã«ã¦ã³ãã§å©ç¨ã§ãã¾ãã","guidedTour.orgSwitcher.sase.title":"ããã¯çµç¹ã»ã¯ã·ã§ã³ã§ã","guidedTour.orgSwitcher.title":"ããã¯çµç¹ã»ã¯ã·ã§ã³ã§ã","kycStatus.FAILURE":"䏿ç«","kycStatus.INIT":"ä¿çä¸","kycStatus.SUBMITTED":"確èªä¸","linkedaccounts":"飿ºæ¸ã¿ã¢ã«ã¦ã³ã","menu.account":"ã¢ã«ã¦ã³ã","menu.account.deepLinks.accountDetails":"ã¢ã«ã¦ã³ã詳細","menu.account.deepLinks.accountGroup":"ã¢ã«ã¦ã³ãã°ã«ã¼ã","menu.account.deepLinks.accountProfile":"ãããã£ã¼ã«","menu.account.deepLinks.accountSettings":"ã¢ã«ã¦ã³ãè¨å®","menu.account.deepLinks.accountStatements":"ã¢ã«ã¦ã³ãæç´°æ¸","menu.account.deepLinks.accounts":"å£åº§","menu.account.deepLinks.addEmailAddress":"Eã¡ã¼ã«ã¢ãã¬ã¹ã追å ","menu.account.deepLinks.addMobileNumber":"æºå¸¯é»è©±çªå·ã追å ","menu.account.deepLinks.apiKeys":"APIãã¼","menu.account.deepLinks.assistants":"ã¢ã·ã¹ã¿ã³ã","menu.account.deepLinks.bankDetails":"éè¡è©³ç´°","menu.account.deepLinks.changePassword":"ãã¹ã¯ã¼ãã夿´","menu.account.deepLinks.developerSettings":"éçºè
è¨å®","menu.account.deepLinks.groupManagement":"ã°ã«ã¼ã管ç","menu.account.deepLinks.notifications":"éç¥","menu.account.deepLinks.security":"ã»ãã¥ãªãã£","menu.account.deepLinks.setupTwoFactorAuth":"2è¦ç´ èªè¨¼ãè¨å®","menu.account.deepLinks.userManagement":"ã¦ã¼ã¶ã¼ç®¡ç","menu.account.deepLinks.users":"ã¦ã¼ã¶ã¼","menu.accountDetails":"å£åº§æ
å ±","menu.accountGroup":"ã¢ã«ã¦ã³ãã°ã«ã¼ã","menu.accountGroupManagement":"ã°ã«ã¼ã管ç","menu.addFunds":"è³éã追å ","menu.addFunds.airwallexPay":"Airwallex Payã§è³éãåãåããã¦ã©ã¬ããã«è£å
ãã","menu.addFunds.method":"è³éã®è¿½å æ¹æ³ã鏿","menu.addFunds.summary":"ã¦ã©ã¬ããã«è³éã追å ","menu.apiKeys":"APIãã¼","menu.approvals":"æ¿èª","menu.balances":"æ®é«","menu.batchTransfers":"ãããéé","menu.billPay":"è«æ±æ¸","menu.billPay.activate":"è«æ±æ¸ãæå¹å","menu.billPay.createBill":"æ°ããè«æ±æ¸ã追å ","menu.billPay.manageBill":"è«æ±æç´°ã«ã¢ã¯ã»ã¹","menu.billPay.payBills":"è«æ±æ¸ã®æ¯æããè¡ã","menu.billPay.settings":"è¨å®","menu.billPay.summary":"æ¦è¦","menu.cards":"ã«ã¼ã","menu.cards.cardActivation":"æå¹åããã«ã¼ãã鏿","menu.cards.cardSettings":"è¨å®","menu.cards.cardholders":"ã«ã¼ãä¿æè
","menu.cards.changePin":"PINã夿´","menu.cards.companyCards":"ã³ã¼ãã¬ã¼ãã«ã¼ã","menu.cards.createCompanyCard":"ã³ã¼ãã¬ã¼ãã«ã¼ãã使","menu.cards.createEmployeeCard":"社å¡ã«ã¼ãã使","menu.cards.deliveryAddress":"é
éå
使ãæå®","menu.cards.editCard":"ã«ã¼ãã®è©³ç´°æ
å ±ãè¨å®","menu.cards.editCompanyCardOwners":"ã«ã¼ããä¿®æ£","menu.cards.identityReview":"æ¬äººç¢ºèª","menu.cards.reissuePhysical":"ã«ã¼ããæ´æ°","menu.cards.replaceCard":"åãæ¿ããçç±ã鏿","menu.cards.selectCardType":"ã«ã¼ãã使","menu.cards.summary":"æ¦è¦","menu.cards.transactionFeedback":"ãã®åå¼ã§ãµãã¼ããåãã","menu.cards.transactions":"åå¼","menu.connectedAccounts":"飿ºã¢ã«ã¦ã³ã","menu.connectedAccounts.accountDetails":"ã¢ã«ã¦ã³ã詳細","menu.connectedAccounts.accounts":"ã¢ã«ã¦ã³ã","menu.connectedAccounts.rfiCenter":"RFIï¼æ
å ±æä¾ä¾é ¼æ¸ï¼ã»ã³ã¿ã¼","menu.connectedAccounts.rfiDetails":"RFIï¼æ
å ±æä¾ä¾é ¼æ¸ï¼ã®è©³ç´°","menu.connectedAccounts.transactionDetails":"åå¼ã®è©³ç´°","menu.connectedAccounts.transactions":"åå¼","menu.connectionLink":"æ¥ç¶ãªã³ã¯","menu.connections":"æ¥ç¶","menu.connections.title":"æ¥ç¶","menu.connections.title.connect.marketplace":"ãã¼ã±ãããã¬ã¤ã¹ãæ¥ç¶","menu.connections.title.netsuite.expense":"NetSuiteã®çµè²»ãè¨å®","menu.connections.title.oauth.consent":"OAuthåæ","menu.connections.title.quickbooks.expense.accountingData":"QuickBooksã®çµè²»ä¼è¨ãã¼ã¿ãè¨å®","menu.connections.title.sage.refreshConnection":"Sageã®æ¥ç¶ãåèªã¿è¾¼ã¿","menu.connections.title.setup.accountingProvider":"ä¼è¨ãããã¤ãã¼ãè¨å®","menu.connections.title.setup.mybank":"MyBankãè¨å®","menu.connections.title.setup.netsuite":"NetSuiteãè¨å®","menu.connections.title.setup.quickbooks":"QuickBooksãè¨å®","menu.connections.title.setup.sage":"Sageãè¨å®","menu.connections.title.setup.walmart":"Walmartãè¨å®","menu.connections.title.setup.xero":"Xeroãè¨å®","menu.connections.title.xero.expense.accountingData":"Xeroã®çµè²»ä¼è¨ãã¼ã¿ãè¨å®","menu.connections.title.xero.refreshConnection":"Xeroæ¥ç¶ãåèªã¿è¾¼ã¿","menu.contacts":"é£çµ¡å
","menu.contacts.payer":"æ¯æè
","menu.contacts.payer.edit":"æ¯æè
ãä¿®æ£","menu.contacts.payer.new":"æ°ããæ¯æè
","menu.contacts.recipient":"åå人","menu.contacts.recipient.edit":"åå人ãä¿®æ£","menu.contacts.recipient.new":"æ°ããåå人","menu.conversions":"両æ¿","menu.conversions.booked":"äºç´æ¸ã¿ã®ä¸¡æ¿","menu.conversions.limitOrders":"æå¤æ³¨æ","menu.conversions.new":"æ°ãã両æ¿","menu.conversions.settings":"è¨å®","menu.customers":"顧客","menu.dashboard":"ããã·ã¥ãã¼ã","menu.declarationCenter":"ç³åã»ã³ã¿ã¼","menu.developer":"éçºè
","menu.developer.apiKeys":"APIãã¼","menu.developer.events":"ã¤ãã³ã","menu.developer.webhooks":"Webhookï¼ã¦ã§ãããã¯ï¼","menu.developerGuides":"ã¬ã¤ã","menu.disputes":"ç´äº","menu.expenses":"çµè²»","menu.expenses.activate":"çµè²»ãæå¹å","menu.expenses.automations":"çµè²»ã®èªåå","menu.expenses.cardExpenses":"ã«ã¼ãçµè²»","menu.expenses.entitySettings":"çµè²»ã®äºæ¥è
ãè¨å®","menu.expenses.manageCardExpense":"ã«ã¼ãçµè²»ã®è©³ç´°ã«ã¢ã¯ã»ã¹","menu.expenses.manageReimbursement":"çµè²»ç²¾ç®ã®è©³ç´°ã«ã¢ã¯ã»ã¹","menu.expenses.pricing":"çµè²»é¢é£ã®æéè¨å®","menu.expenses.reimbursements":"çµè²»ç²¾ç®","menu.expenses.settings":"çµè²»è¨å®","menu.globalAccounts":"ã°ãã¼ãã«ã¢ã«ã¦ã³ã","menu.globalAccounts.accounts":"æ¦è¦","menu.globalAccounts.accounts.detail":"ã°ãã¼ãã«ã¢ã«ã¦ã³ãã®è©³ç´°","menu.globalAccounts.accounts.new":"ã°ãã¼ãã«ã¢ã«ã¦ã³ããéè¨","menu.globalAccounts.openingForm":"éè¨ãã©ã¼ã ","menu.globalAccounts.transactions":"å
¨ã¦ã®åå¼","menu.kyb.onboarding":"ãªã³ã©ã¤ã³æ±ºæ¸ã®ç³è«","menu.kyb.ongoing":"è¿½å æ±ºæ¸æ¹æ³ã®æå¹å","menu.lending.details":"ã¯ã¬ã¸ããã¢ã«ã¦ã³ãã®è©³ç´°","menu.lending.onboarding":"å©ç¨é度é¡ãæå¹å","menu.lending.repayment":"ã¯ã¬ã¸ããè¿æ¸","menu.linkedAccounts":"飿ºæ¸ã¿ã®å£åº§","menu.linkedAccounts.accounts":"飿ºæ¸ã¿ã®å£åº§","menu.linkedAccounts.bankStatementVerify":"å¤é¨ã®éè¡å£åº§ãèªè¨¼","menu.linkedAccounts.contactInfo":"ä¼ç¤¾ã®é£çµ¡å
æ
å ±ãå
¥å","menu.linkedAccounts.directDebit":"å£åº§æ¯æ¿ã§è³éã追å ","menu.linkedAccounts.directDebitSuccess":"ééä¸ã§ã","menu.linkedAccounts.heading":"å¤é¨ã®éè¡å£åº§ã飿º","menu.myCards":"ç§ã®ã«ã¼ã","menu.org.approvals":"æ¯åºæ¿èª","menu.org.approvals.bills":"è«æ±æ¸ã®æ¿èª","menu.org.approvals.bills.edit":"è«æ±æ¸æ¿èªã¯ã¼ã¯ããã¼ãä¿®æ£","menu.org.approvals.card-expenses":"ã«ã¼ãçµè²»ã®æ¿èª","menu.org.approvals.card-expenses.edit":"ã«ã¼ãçµè²»æ¿èªã¯ã¼ã¯ããã¼ãä¿®æ£","menu.org.approvals.expenses":"çµè²»ã®æ¿èª","menu.org.approvals.expenses.edit":"çµè²»æ¿èªã¯ã¼ã¯ããã¼ãä¿®æ£","menu.org.approvals.purchaseRequests":"çºæ³¨æ¸ãªã¯ã¨ã¹ãã®æ¿èª","menu.org.approvals.purchaseRequests.edit":"çºæ³¨æ¸ãªã¯ã¨ã¹ãæ¿èªã¯ã¼ã¯ããã¼ãä¿®æ£","menu.org.approvals.reimbursements":"çµè²»ç²¾ç®ã®æ¿èª","menu.org.approvals.reimbursements.edit":"çµè²»ç²¾ç®ã®æ¿èªã¯ã¼ã¯ããã¼ãä¿®æ£","menu.org.approvals.spendRequests":"ã«ã¼ããªã¯ã¨ã¹ãã®æ¿èª","menu.org.approvals.spendRequests.edit":"ã«ã¼ããªã¯ã¨ã¹ãæ¿èªã¯ã¼ã¯ããã¼ãä¿®æ£","menu.org.approvals.transfers":"ééæ¿èª","menu.org.approvals.vendors":"ãã³ãã¼","menu.org.approvals.vendors.edit":"ãã³ãã¼æ¿èªã¯ã¼ã¯ããã¼ãä¿®æ£","menu.org.approvals.vendors.new":"æ°ãããã³ãã¼ã®æ¿èª","menu.org.balances":"æ®é«","menu.org.billing":"è«æ±","menu.org.billing.customers":"顧客","menu.org.billing.invoices":"è«æ±æ¸","menu.org.billing.products":"製å","menu.org.billing.productsCatalog":"ååã«ã¿ãã°","menu.org.billing.settings":"è«æ±è¨å®","menu.org.billing.subscriptions":"ãµãã¹ã¯ãªãã·ã§ã³","menu.org.billing.ubb":"使ç¨éè¨æ¸¬","menu.org.businessAccount":"ãã¸ãã¹ã¢ã«ã¦ã³ã","menu.org.businessAccount.allAccounts":"å
¨ã¦ã®å£åº§ï¼{{count}}ï¼","menu.org.businessAccount.loadAccountsError":"ã¢ã«ã¦ã³ãã®èªã¿è¾¼ã¿ã«å¤±æãã¾ããã","menu.org.businessAccount.retry":"å試è¡","menu.org.connections":"æ¥ç¶","menu.org.disputes":"ç´äº","menu.org.payments.accounts":"決æ¸å£åº§","menu.org.payments.paymentStatus":"KYBï¼æ³äººç¢ºèªï¼ã¹ãã¼ã¿ã¹","menu.org.payments.paymentMethods":"æ±ºæ¸æ¹æ³","menu.org.payments.settings":"å£åº§è¨å®","menu.org.payments.analytics":"åæ","menu.org.payments.dashboard":"ããã·ã¥ãã¼ã","menu.org.payments.dashboardNew":"æ¦è¦","menu.org.payments.disputeAnalytics":"ç°è°ç³ãç«ã¦ã®åæ","menu.org.payments.disputeDetails":"ç°è°ç³ãç«ã¦ã®è©³ç´°","menu.org.payments.disputes":"ç°è°ç³ãç«ã¦","menu.org.payments.paymentActivityNew":"å
¨ã¦ã®æ±ºæ¸","menu.org.payments.paymentDetails":"決æ¸ã®è©³ç´°","menu.org.payments.settlementsSummary":"æ¦è¦","menu.org.paymentsNew":"ãªã³ã©ã¤ã³æ±ºæ¸","menu.org.planBilling":"ãã©ã³ã¨è«æ±","menu.org.reports":"ã¬ãã¼ã","menu.org.settings":"è¨å®","menu.org.theme":"ãã¼ã","menu.org.theme.management":"ãã¼ãã管ç","menu.org.theme.create":"ãã¼ãã使","menu.org.theme.edit":"ãã¼ããç·¨é","menu.org.uam":"ã¦ã¼ã¶ã¼ç®¡ç","menu.org.uam.createAccount":"ã¢ã«ã¦ã³ãã使","menu.org.uam.createEntity":"äºæ¥è
ã使","menu.org.uam.createRole":"権éã使","menu.org.uam.editRole":"権éãä¿®æ£","menu.org.uam.fields":"ãã£ã¼ã«ã","menu.org.uam.inviteUsers":"ã¦ã¼ã¶ã¼ãæå¾
","menu.org.uam.roles":"権é","menu.org.uam.users":"ã¦ã¼ã¶ã¼","menu.org.users":"ã¦ã¼ã¶ã¼","menu.orgBalances.deepLinks.aggregateFunds":"è³éãéç´","menu.orgBalances.deepLinks.balances":"æ®é«","menu.orgBalances.deepLinks.transactions":"åå¼","menu.overview":"æ¦è¦","menu.paymentActivity":"åå¼ç¶æ³","menu.paymentLinks":"決æ¸ç¨ãªã³ã¯","menu.paymentLinks.createPaymentLink":"決æ¸ç¨ãªã³ã¯ã使","menu.paymentLinks.editPaymentLink":"決æ¸ç¨ãªã³ã¯ãä¿®æ£","menu.paymentLinks.paymentLinkDetail
259s":"決æ¸ç¨ãªã³ã¯ã®è©³ç´°","menu.paymentLinks.paymentLinkSettings":"決æ¸ç¨ãªã³ã¯ã®è¨å®","menu.payments":"ãªã³ã©ã¤ã³æ±ºæ¸","menu.payments.addApplePayCertificate":"iOSè¨¼ææ¸","menu.payments.addApplePayDomain":"ãã¡ã¤ã³ã追å ","menu.payments.allPayments":"å
¨ã¦ã®æ±ºæ¸","menu.payments.analytics":"åæ","menu.payments.dashboard":"ããã·ã¥ãã¼ã","menu.payments.disputeDetails":"ç°è°ç³ãç«ã¦ã®è©³ç´°","menu.payments.disputes":"ç°è°ç³ãç«ã¦","menu.payments.paymentDetails":"決æ¸ã®è©³ç´°","menu.payments.paymentMethods":"æ±ºæ¸æ¹æ³","menu.payments.settings":"è¨å®","menu.payments.settlementsNew":"æ¦è¦","menu.payments.surcharge":"ãµã¼ãã£ã¼ã¸çã管ç","menu.payments.terminals":"端æ«","menu.performance":"ããã©ã¼ãã³ã¹","menu.planBilling":"ãã©ã³ã¨è«æ±","menu.purchaseOrders":"è³¼å
¥æ³¨æ","menu.purchaseOrders.activate":"çºæ³¨æ¸ãæå¹å","menu.purchaseOrders.details":"çºæ³¨æ¸ã®è©³ç´°","menu.purchaseOrders.import":"çºæ³¨æ¸ãã¤ã³ãã¼ã","menu.purchaseOrders.settings":"çºæ³¨æ¸ã®è¨å®","menu.referral":"ç´¹ä»","menu.reports":"ã¬ãã¼ã","menu.reports.deepLinks.downloads":"ãã¦ã³ãã¼ã","menu.reports.deepLinks.reportsOverview":"ã¬ãã¼ãã®æ¦è¦","menu.rewards":"ç¹å
¸","menu.rewards.dashboard.programmeDetails":"ããã°ã©ã ã®è©³ç´°","menu.rewards.partnerPerks":"ãã¼ããã¼ç¹å
¸","menu.rfi.kyb":"KYBï¼æ³äººç¢ºèªï¼ã®RFIï¼æ
å ±æä¾ä¾é ¼æ¸ï¼","menu.rfi.kyb_ongoing":"ç¶ç¶çãªKYBï¼æ³äººç¢ºèªï¼ã®RFIï¼æ
å ±æä¾ä¾é ¼æ¸ï¼","menu.rfi.kyc":"KYCï¼æ¬äººç¢ºèªï¼ã®RFIï¼æ
å ±æä¾ä¾é ¼æ¸ï¼","menu.rfi.lending":"èè³ã®RFIï¼æ
å ±æä¾ä¾é ¼æ¸ï¼","menu.rfi.ongoing_kyc":"ç¶ç¶çãªKYCï¼æ¬äººç¢ºèªï¼ã®RFIï¼æ
å ±æä¾ä¾é ¼æ¸ï¼","menu.rfi.order":"注æã®RFIï¼æ
å ±æä¾ä¾é ¼æ¸ï¼","menu.rfi.pa":"PAã®RFIï¼æ
å ±æä¾ä¾é ¼æ¸ï¼","menu.rfi.tm":"åå¼ã®RFIï¼æ
å ±æä¾ä¾é ¼æ¸ï¼","menu.rfi.tm.list":"åå¼ã®RFIï¼æ
å ±æä¾ä¾é ¼æ¸ï¼","menu.rfi.user":"ã¦ã¼ã¶ã¼ã®RFIï¼æ
å ±æä¾ä¾é ¼æ¸ï¼","menu.risk":"ãªã¹ã¯","menu.risk.addWatchlist":"ã¦ã©ãããªã¹ãã«æ°ããé
ç®ã追å ","menu.risk.analytics":"䏿£å©ç¨é²æ¢","menu.risk.buckAddWatchlist":"ãã¡ã¤ã«ããæ°ããã¦ã©ãããªã¹ãé
ç®ã追å ","menu.risk.watchList":"ã¦ã©ãããªã¹ã","menu.salesOrders":"販売注æ","menu.salesOrders.detail":"è²©å£²æ³¨ææ¸ã®è©³ç´°","menu.salesOrders.edit":"è²©å£²æ³¨ææ¸ãä¿®æ£","menu.salesOrders.fulfillment.edit":"å±¥è¡æ
å ±ãä¿®æ£","menu.salesOrders.fulfillment.new":"æ°ããå±¥è¡æ
å ±","menu.salesOrders.new":"æ°ããè²©å£²æ³¨ææ¸","menu.security":"ã»ãã¥ãªãã£","menu.settings":"è¨å®","menu.settlements":"決æ¸","menu.spend":"æ¯åº","menu.spendAccounting":"ä¼è¨","menu.spendRequests":"ãªã¯ã¨ã¹ã","menu.spendRequests.activate":"ãªã¯ã¨ã¹ããæå¹å","menu.spendRequests.create":"ãªã¯ã¨ã¹ãã使","menu.spendRequests.details":"ãªã¯ã¨ã¹ãã®è©³ç´°","menu.spendRequests.settings":"ãªã¯ã¨ã¹ãã®è¨å®","menu.spendRequests.settings.entity":"ãªã¯ã¨ã¹ããã©ã¼ã ã®äºæ¥è
è¨å®","menu.spendRequests.spendRequest":"æ¯åºãªã¯ã¨ã¹ã","menu.spendBudgets":"äºç®","menu.spendBudgets.budgets":"äºç®","menu.statements":"æç´°æ¸","menu.taxFiling":"ç¨åç³å","menu.taxFiling.settings":"ç¨åç³åè¨å®","menu.taxFiling.summary":"ç¨åç³å","menu.terminals":"POS端æ«","menu.transfers":"éé","menu.transfers.approval":"ééæ¿èª","menu.transfers.approval.changelog":"ã¯ã¼ã¯ããã¼å¤æ´ãã°ã表示","menu.transfers.approval.changerequests":"ã¯ã¼ã¯ããã¼å¤æ´ãªã¯ã¨ã¹ãã表示","menu.transfers.approval.edit":"æ¿èªã¬ã¤ã¤ã¼ã¨æ¿èªè
ãè¨å®","menu.transfers.batchDetail":"ãããééã®è©³ç´°","menu.transfers.batchEdit":"ãããééãä¿®æ£","menu.transfers.batchNew":"æ°è¦ãããéé","menu.transfers.booked":"äºç´æ¸ã¿ã®éé","menu.transfers.edit":"ãã¤ã¢ã¦ããä¿®æ£","menu.transfers.limitManagement":"ã¹ãã¢ã¨ééé度é¡ã®ç®¡ç","menu.transfers.limitManagement.salesOrderUpload":"è²©å£²æ³¨ææ¸ãã¢ãããã¼ãããã¹ãã¢ã鏿","menu.transfers.limitManagement.storeConnect":"ã¹ãã¢ã®ãã¼ã±ãããã¬ã¤ã¹ã¾ãã¯SaaSãã©ãããã©ã¼ã ã鏿","menu.transfers.new":"æ°ããééï¼ãã¤ã¢ã¦ãï¼","menu.transfers.settings":"ééè¨å®","menu.transfers.transferMethods":"ééæ¹æ³","menu.userManagement":"ã¦ã¼ã¶ã¼ç®¡ç","menu.users":"ã¦ã¼ã¶ã¼","menu.vendor":"ãã³ãã¼","menu.vendor.activate":"ãã³ãã¼ãæå¹å","menu.vendor.approvals":"ãã³ãã¼æ¿èª","menu.vendor.details":"ãã³ãã¼ã®è©³ç´°","menu.vendor.new":"æ°ãããã³ãã¼","menu.vendor.pricing":"æéè¨å®","menu.vendor.settings":"ãã³ãã¼è¨å®","menu.wallet":"ã¦ã©ã¬ãã","menu.wallet.deepLinks.cashBalanceDetails":"ç¾éæ®é«ã®è©³ç´°","menu.wallet.deepLinks.configuration":"è¨å®","menu.wallet.deepLinks.prepaymentBalance":"åæãæ®é«","menu.wallet.yield.addFunds":"Yieldã«è³éã追å ","menu.wallet.yield.balanceDetails":"Yieldæ®é«ã®è©³ç´°","menu.wallet.yield.balanceStatements":"Yieldæ®é«æç´°æ¸","menu.wallet.yield.ineligible":"Yieldä¸é©æ ¼","menu.wallet.yield.onboarding":"Yieldãªã³ãã¼ãã£ã³ã°","menu.wallet.yield.rescheduleOnboarding":"Yieldèªè¨¼ä¼è°ã®ã¹ã±ã¸ã¥ã¼ã«ãåè¨å®","menu.wallet.yield.withdraw":"Yieldããåºé","menu.wallet_my":"åå¼","menu.webhooks":"Webhook","messages.viewingOrgAccountFromA
259ccountGroup.body":"çµè²»ãè«æ±æ¸ãè¨å®ãªã©ã®ãã¹ã¦ã®æ©è½ãå©ç¨ããã«ã¯ãçµç¹{{orgName}}ã«åãæ¿ãã¦ãã ããã","messages.viewingOrgAccountFromAccountGroup.cta.switchView":"表示ãåãæ¿ãã","messages.viewingOrgAccountFromAccountGroup.heading":"ã¢ã«ã¦ã³ãã°ã«ã¼ã{{accountGroupName}}ã®ã¢ã«ã¦ã³ãã表示ããã¦ãã¾ã","navigation.account":"ã¢ã«ã¦ã³ã","navigation.accountGroup":"ã¢ã«ã¦ã³ãã°ã«ã¼ã","navigation.close":"éãã","navigation.createAccountGroup":"ã¢ã«ã¦ã³ãã°ã«ã¼ãã使","navigation.entity":"æ³äºº","navigation.mainMenuTooltip":"ã¡ã¤ã³ã¡ãã¥ã¼","navigation.moreSubPages":"ãã®ä»{{parentTitle}}ãã¼ã¸","navigation.open":"ããã²ã¼ã·ã§ã³ã¡ãã¥ã¼ãéã","navigation.organisation":"çµç¹","navigation.poweredBy":"æä¾ï¼<logo />","navigation.selectAccount":"ã¢ã«ã¦ã³ãã鏿","navigation.selectOrganisation":"çµç¹ã鏿","orgBalances":"æ®é«","orgTransactions":"åå¼","sandbox.banner.text":"ãã¡ãã¯ãµã³ãããã¯ã¹ï¼ãã¹ãï¼ç°å¢ã§ãã<getStartedLink>å®ç¨¼åç°å¢ã«ã¢ã¯ã»ã¹</getStartedLink>ãã¦ãå®éã®åå¼ãè¡ã£ã¦ãã ããã","security":"ã»ãã¥ãªãã£","selectAPlan":"ãã©ã³ã鏿","selectAPlanToGetStarted":"ãå©ç¨ãå§ããã«ã¯ããã©ã³ã鏿ãã¦ãã ãã","selectAPlanToGetStartedDesc":"ãå©ç¨ãå§ããã«ã¯ãã¾ãã¯å©ç¨å¯è½ãªãã©ã³ã®ãããããã鏿ãã ããããã©ã³ã«å å
¥ããã¨ã¢ã«ã¦ã³ãã¨ãã¼ã¿ããå©ç¨ã«ãªãã¾ãã","sessionDescription":"ã»ãã¥ãªãã£ä¸ã®çç±ã§ãä¸å®æéæä½ããããªãã¨èªåçã«ãã°ã¢ã¦ãããã¾ãã","sessionHeading":"æä½ãããªãç¶æ
ããã°ããç¶ãã¦ãã¾ã","settings":"è¨å®","tag.new":"æ°è¦","transactions":"åå¼","transfers.approval":"ééæ¿èª","transfers.methods":"ééæ¹æ³","transfers.settings":"è¨å®","transfers.summary":"æ¦è¦","verification.content":"å£åº§ç¢ºèªãå®äºãã¦ãAirwallexã®ãµã¼ãã¹ãã試ããã ãã","verification.heading":"å£åº§ç¢ºèªãå®äºãã¦ãã ãã","verification.primary":"ã¯ããã","verification.secondary":"å¾ã§","verificationFailure.content":"æ®å¿µãªãããç¾æç¹ã§ã¯å¯¾å¿ã§ãã¾ããã","verificationFailure.heading":"ã¢ã«ã¦ã³ããæå¹åã§ãã¾ããã§ãã","verificationFailure.primary":"éãã","verificationSubmitted.content":"ã客ãã¾ã®æ
å ±ãå½ç¤¾ã§ç¢ºèªãã¦ãã¾ãã確èªãçµäºãã¾ãããEã¡ã¼ã«ãã¡ãã»ã¼ã¸ã§ãç¥ãããããã¾ãã","verificationSubmitted.heading":"å£åº§ç¢ºèªãé²è¡ä¸ã§ã","verificationSubmitted.primary":"確èª","walletSummary":"ã¦ã©ã¬ããã®æ¦è¦","menu.org.payments.surcharge":"ãµã¼ãã£ã¼ã¸","menu.surcharge":"ãµã¼ãã£ã¼ã¸"}'),eC=JSON.parse('{"_comment":"This file is generated via awx-i18n-service, please do not update contents manually","accountStatus.SUSPENDED":"ì¼ì ì¤ì§ë¨","accountSwitch.accounts":"ê³ì ","accountSwitch.createNew":"ìë¡ ìì±","accountSwitch.createNewAccount":"ì ê· ê³ì ë§ë¤ê¸°","accountSwitch.createNewAccountGroup":"ì ê³ì 그룹 ìì±","accountSwitch.nAccounts_one":"ê³ì {{count}}ê°","accountSwitch.nAccounts_other":"ê³ì {{count}}ê°","accountSwitch.newAccount":"ì ê· ê³ì¢","accountSwitch.viewAndCreateAccounts":"ê³ì¢ 보기 ë° ë§ë¤ê¸°","accountSwitch.newAccountGroup":"ì ê· ê³ì 그룹","accountSwitch.noResultsFound":"결과를 ì°¾ì ì ìì","accountSwitch.trySearchingWithDifferentKeywords":"ë¤ë¥¸ í¤ìëë¡ ê²ìí´ ë³´ì¸ì","assistantView":"ì´ìì¤í´í¸ 보기","backToPersonalView":"ê°ì¸ ë³´ê¸°ë¡ ëìê°ê¸°","balances":"ìì¡","contactSupport":"ì§ì 문ì","enrollment":"ì ê³ ì ì ë³´","guidedTour.accountSwitcher.content":"ê³ì ì íµí´ ìê¸ ê´ë¦¬, ì¡ê¸ ìì±, ì¹´ë ë°ê¸, ê²°ì ìë½ ë±ì ìì
ì ìíí ì ìì´ì. ì¼ìª½ ë©ë´ ìë¨ìì ë¤ë¥¸ ê³ì ì¼ë¡ ì íí ì ìì´ì.","guidedTour.accountSwitcher.employee.mame.title":"ê°í¸íê² ê
259³ì ì ì ê·¼íì¸ì","guidedTour.accountSwitcher.employee.mase.title":"ê°í¸íê² ê³ì ì ì ê·¼íì¸ì","guidedTour.accountSwitcher.mame.content":"ì¬ê¸°ìì ì¤ìì²ë¥¼ ì¬ì©íì¬ ê³ì ë³ ê¸°ë¥ì íì¸í ì ìì´ì.","guidedTour.accountSwitcher.mase.content":"ì¬ê¸°ìì ì¤ìì²ë¥¼ ì¬ì©íì¬ ê³ì ë³ ê¸°ë¥ì íì¸í ì ìì´ì.","guidedTour.accountSwitcher.sase.content":"ê³ì ì íµí´ ìê¸ ê´ë¦¬, ì¡ê¸ ìì±, ì¹´ë ë°ê¸, ê²°ì ìë½ ë±ì ìì
ì ìíí ì ìì´ì.","guidedTour.accountSwitcher.sase.title":"ê³ì ì¹ì
ì´ìì","guidedTour.accountSwitcher.title":"ê³ì ì¹ì
ì´ìì","guidedTour.orgSwitcher.content":"ì¬ê¸°ìì ë¹ì¦ëì¤ ìí¬íë¡ì°ë¥¼ ê´ë¦¬íì¸ì. ì´ë¬í 기ë¥ì 모ë ê³ì ì ì ì©ë¼ì.","guidedTour.orgSwitcher.employee.mame.title":"ì¬ê¸°ì ì ì¡°ì§ì´ ìì´ì","guidedTour.orgSwitcher.employee.mase.title":"모ë ê³ì ì ê±¸ì³ ê¸ë¡ë² 기ë¥ì íì¸íê³ ê´ë¦¬íì¸ì","guidedTour.orgSwitcher.mame.content":"모ë ë²ì¸ ë° ê³ì ì ë°ì ê±¸ì³ ê¸ë¡ë² 기ë¥ì íì¸íê³ ê´ë¦¬íì¸ì","guidedTour.orgSwitcher.sase.content":"ì¬ê¸°ìì ë¹ì¦ëì¤ ìí¬íë¡ì°ë¥¼ ê´ë¦¬íì¸ì. ì´ë¬í 기ë¥ì ë¹ì¦ëì¤ê° ì±ì¥íê³ ê³ì ì ì¶ê°íëë¼ë 모ë ê³ì ì ì ì©ë¼ì.","guidedTour.orgSwitcher.sase.title":"ìì ì¡°ì§ì ì¹ì
ì´ìì","guidedTour.orgSwitcher.title":"ìì ì¡°ì§ì ì¹ì
ì´ìì","kycStatus.FAILURE":"ì¤í¨","kycStatus.INIT":"ë기 ì¤","kycStatus.SUBMITTED":"ê²í ì¤","linkedaccounts":"ì°ê²°ë ê³ì ","menu.account":"ê³ì ","menu.account.deepLinks.accountDetails":"ê³ì ìì¸ ì ë³´","menu.account.deepLinks.accountGroup":"ê³ì 그룹","menu.account.deepLinks.accountProfile":"íë¡í","menu.account.deepLinks.accountSettings":"ê³ì ì¤ì ","menu.account.deepLinks.accountStatements":"ê³ì¢ ëª
ì¸ì","menu.account.deepLinks.accounts":"ê³ì ","menu.account.deepLinks.addEmailAddress":"ì´ë©ì¼ 주ì ì¶ê°","menu.account.deepLinks.addMobileNumber":"í´ëí° ë²í¸ ì¶ê°","menu.account.deepLinks.apiKeys":"API í¤","menu.account.deepLinks.assistants":"ì´ìì¤í´í¸","menu.account.deepLinks.bankDetails":"ìí ì ë³´","menu.account.deepLinks.changePassword":"ë¹ë°ë²í¸ ë³ê²½","menu.account.deepLinks.developerSettings":"ê°ë°ì ì¤ì ","menu.account.deepLinks.groupManagement":"그룹 ê´ë¦¬","menu.account.deepLinks.notifications":"ì림","menu.account.deepLinks.security":"ë³´ì","menu.account.deepLinks.setupTwoFactorAuth":"2ë¨ê³ ì¸ì¦ ì¤ì ","menu.account.deepLinks.userManagement":"ì¬ì©ì ê´ë¦¬","menu.account.deepLinks.users":"ì¬ì©ì","menu.accountDetails":"ê³ì¢ ì¸ë¶ ì ë³´","menu.accountGroup":"ê³ì 그룹","menu.accountGroupManagement":"그룹 ê´ë¦¬","menu.addFunds":"ìê¸ ì¶ê°","menu.addFunds.airwallexPay":"Airwallex Pay를 íµí´ ìê¸ì ë°ê±°ë ìë ì ì¶©ì íì¸ì","menu.addFunds.method":"ìê¸ ì¶ê° ë°©ë² ì í","menu.addFunds.summary":"ìë ì ìê¸ ì¡°ë¬ ì¶ê°í기","menu.apiKeys":"API í¤","menu.approvals":"ì¹ì¸","menu.balances":"ìì¡","menu.batchTransfers":"ì¼ê´ ì¡ê¸","menu.billPay":"ì²êµ¬ì","menu.billPay.activate":"ì²êµ¬ì íì±í","menu.billPay.createBill":"ì ì²êµ¬ì ì¶ê°","menu.billPay.manageBill":"ì²êµ¬ ì¸ë¶ ì ë³´ë¡ ì´ë","menu.billPay.payBills":"ì²êµ¬ì ê²°ì ","menu.billPay.settings":"ì¤ì ","menu.billPay.summary":"ìì½","menu.cards":"ì¹´ë","menu.cards.cardActivation":"íì±íí ì¹´ë ì í","menu.cards.cardSettings":"ì¤ì ","menu.cards.cardholders":"ì¹´ë ìì ì","menu.cards.changePin":"PIN ë²í¸ ë³ê²½","menu.cards.companyCards":"기ì
ì¹´ë","menu.cards.createCompanyCard":"기ì
ì¹´ë ìì±","menu.cards.createEmployeeCard":"ì§ì ì¹´ë ìì±","menu.cards.deliveryAddress":"ë°°ì¡ ì£¼ì ì
ë ¥","menu.cards.editCard":"ì¹´ë ì¸ë¶ ì ë³´ 구ì±","menu.cards.editCompanyCardOwners":"ì¹´ë í¸ì§","menu.cards.identityReview":"ì ì ê²í ","menu.cards.reissuePhysical":"ì¹´ë ê°±ì ","menu.cards.replaceCard":"êµì²´ ì¬ì ì í","menu.cards.selectCardType":"ì¹´ë ë§ë¤ê¸°","menu.cards.summary":"ìì½","menu.cards.transactionFeedback":"ì´ ê±°ë ê´ë ¨ ì§ì ë°ê¸°","menu.cards.transactions":"ê±°ë","menu.connectedAccounts":"ì°ê²°ë ê³ì ","menu.connectedAccounts.accountDetails":"ê³ì ìì¸ ì ë³´","menu.connectedAccounts.accounts":"ê³ì ","menu.connectedAccounts.rfiCenter":"RFI ì¼í°","menu.connectedAccounts.rfiDetails":"RFI ì¸ë¶ ì ë³´","menu.connectedAccounts.transactionDetail
259s":"ê±°ë ì¸ë¶ ì ë³´","menu.connectedAccounts.transactions":"ê±°ë","menu.connectionLink":"ì°ê²° ë§í¬","menu.connections":"ì°ê²°","menu.connections.title":"ì°ê²°","menu.connections.title.connect.marketplace":"ë§ì¼íë ì´ì¤ ì°ê²°","menu.connections.title.netsuite.expense":"NetSuite ì§ì¶ ì¤ì ","menu.connections.title.oauth.consent":"OAuth ëì","menu.connections.title.quickbooks.expense.accountingData":"QuickBooks ì§ì¶ íê³ ë°ì´í° ì¤ì ","menu.connections.title.sage.refreshConnection":"Sage ì°ê²° ìë¡ ê³ ì¹¨","menu.connections.title.setup.accountingProvider":"íê³ ì ê³µì ì¤ì ","menu.connections.title.setup.mybank":"Mybank ì¤ì ","menu.connections.title.setup.netsuite":"NetSuite ì¤ì ","menu.connections.title.setup.quickbooks":"QuickBooks ì¤ì ","menu.connections.title.setup.sage":"Sage ì¤ì ","menu.connections.title.setup.walmart":"Walmart ì¤ì ","menu.connections.title.setup.xero":"Xero ì¤ì ","menu.connections.title.xero.expense.accountingData":"Xero ì§ì¶ íê³ ë°ì´í° ì¤ì ","menu.connections.title.xero.refreshConnection":"Xero ì°ê²° ìë¡ ê³ ì¹¨","menu.contacts":"ì°ë½ì²","menu.contacts.payer":"ì§ê¸ì","menu.contacts.payer.edit":"ì§ê¸ì ìì ","menu.contacts.payer.new":"ì ê· ì§ê¸ì","menu.contacts.recipient":"ìì·¨ì¸","menu.contacts.recipient.edit":"ìì·¨ì¸ ìì ","menu.contacts.recipient.new":"ì ê· ìì·¨ì¸","menu.conversions":"íì ","menu.conversions.booked":"ìì½ë íì ","menu.conversions.limitOrders":"ì§ì ê° ì£¼ë¬¸","menu.conversions.new":"ì ê· íì ","menu.conversions.settings":"ì¤ì ","menu.customers":"ê³ ê°","menu.dashboard":"ëìë³´ë","menu.declarationCenter":"ê³ ì§ ì¼í°","menu.developer":"ê°ë°ì","menu.developer.apiKeys":"API í¤","menu.developer.events":"ì´ë²¤í¸","menu.developer.webhooks":"ì¹í
","menu.developerGuides":"ê°ì´ë","menu.disputes":"ë¶ì","menu.expenses":"ì§ì¶","menu.expenses.activate":"ì§ì¶ íì±í","menu.expenses.automations":"ì§ì¶ ìëí","menu.expenses.cardExpenses":"ì¹´ë ì§ì¶","menu.expenses.entitySettings":"ì§ì¶ ë²ì¸ ì¤ì ","menu.expenses.manageCardExpense":"ì¹´ë ì§ì¶ ì¸ë¶ ì ë³´ë¡ ì´ë","menu.expenses.manageReimbursement":"ê²½ë¹ ì ì° ì¸ë¶ ì ë³´ë¡ ì´ë","menu.expenses.pricing":"ì§ì¶ ê°ê²© ì±
ì ","menu.expenses.reimbursements":"ê²½ë¹ ì ì°","menu.expenses.settings":"ì§ì¶ ì¤ì ","menu.globalAccounts":"ê¸ë¡ë² ê³ì¢","menu.globalAccounts.accounts":"ìì½","menu.globalAccounts.accounts.detail":"ê¸ë¡ë² ê³ì¢ ì¸ë¶ ì ë³´","menu.globalAccounts.accounts.new":"ê¸ë¡ë² ê³ì¢ ìì±","menu.globalAccounts.openingForm":"ê°ì¤ ìì","menu.globalAccounts.transactions":"모ë ê±°ë","menu.kyb.onboarding":"ê²°ì ì ì²","menu.kyb.ongoing":"ì¶ê° ê²°ì ìë¨ íì±í","menu.lending.details":"ì ì© ê³ì¢ ì¸ë¶ ì ë³´","menu.lending.onboarding":"ì ì© íë íì±íí기","menu.lending.repayment":"ì ì© ìí","menu.linkedAccounts":"ì°ê²°ë ê³ì¢","menu.linkedAccounts.accounts":"ì°ê²°ë ê³ì¢","menu.linkedAccounts.bankStatementVerify":"ì¸ë¶ ìí ê³ì¢ ì¸ì¦","menu.linkedAccounts.contactInfo":"ê·ì¬ ì°ë½ì² ì 보를 ì
ë ¥íì¸ì","menu.linkedAccounts.directDebit":"ìë ì´ì²´ë¥¼ íµí´ ìê¸ ì¶ê°í기","menu.linkedAccounts.directDebitSuccess":"ìê¸ì´ ì²ë¦¬ëê³ ìì´ì","menu.linkedAccounts.heading":"ì¸ë¶ ìí ê³ì¢ ì°ê²°","menu.myCards":"ë´ ì¹´ë","menu.org.approvals":"ì§ì¶ ì¹ì¸","menu.org.approvals.bills":"ì²êµ¬ì ì¹ì¸","menu.org.approvals.bills.edit":"ì²êµ¬ì ì¹ì¸ ìí¬íë¡ì° í¸ì§","menu.org.approvals.card-expenses":"ì¹´ë ì§ì¶ ì¹ì¸","menu.org.approvals.card-expenses.edit":"ì¹´ë ì§ì¶ ì¹ì¸ ìí¬íë¡ì° í¸ì§","menu.org.approvals.expenses":"ì§ì¶ ì¹ì¸","menu.org.approvals.expenses.edit":"ì§ì¶ ì¹ì¸ ìí¬íë¡ì° í¸ì§","menu.org.approvals.purchaseRequests":"구매 주문 ìì² ì¹ì¸","menu.org.approvals.purchaseRequests.edit":"구매 주문 ìì² ì¹ì¸ ìí¬íë¡ì° í¸ì§","menu.org.approvals.reimbursements":"ê²½ë¹ ì ì° ì¹ì¸","menu.org.approvals.reimbursements.edit":"ê²½ë¹ ì ì° ì¹ì¸ ìí¬íë¡ì° í¸ì§","menu.org.approvals.spendRequests":"ì¹´ë ìì² ì¹ì¸","menu.org.approvals.spendRequests.edit":"ì¹´ë ìì² ì¹ì¸ ìí¬íë¡ì° í¸ì§","menu.org.approvals.transfers":"ì¡ê¸ ì¹ì¸","menu.org.approvals.vendors":"ê³µê¸ì
ì²´","menu.org.approvals.vendors.edit":"ê³µê¸ì
ì²´ ì¹ì¸ ìí¬íë¡ì° í¸ì§","menu.org.approvals.vendors.new":"ì ê· ê³µê¸ì
ì²´ ì¹ì¸","menu.org.balances":"ìì¡","menu.org.billing":"ì²êµ¬","menu.org.billing.customers":"ê³ ê°","menu.org.billing.invoices":"ì¸ë³´ì´ì¤","menu.org.billing.products":"ìí","menu.org.billing.productsCatalog":"ì í ì¹´íë¡ê·¸","menu.org.billing.settings":"ì²êµ¬ ì¤ì ","menu.org.billing.subscriptions":"구ë
","menu.org.billing.ubb":"ì¬ì©ë 측ì ","menu.org.businessAccount":"ë¹ì¦ëì¤ ê³ì ","menu.org.businessAccount.allAccounts":"모ë ê³ì ({{count}})","menu.org.businessAccount.loadAccountsError":"ê³ì ì ë¡ëíì§ ëª»íì´ì.","menu.org.businessAccount.retry":"ë¤ì ìëí기","menu.org.connections":"ì°ê²°","menu.org.disputes":"ë¶ì","menu.org.payments.accounts":"ê²°ì ê³ì¢","menu.org.payments.paymentStatus":"KYB ìí","menu.org.payments.paymentMethods":"ê²°ì ìë¨","menu.org.payments.settings":"ê³ì 구ì±","menu.org.payments.analytics":"ë¶ì","menu.org.payments.dashboard":"ëìë³´ë","menu.org.payments.dashboardNew":"ê°ì","menu.org.payments.disputeAnalytics":"ë¶ì ë¶ì","menu.org.payments.disputeDetails":"ë¶ì ì¸ë
259¶ ì ë³´","menu.org.payments.disputes":"ë¶ì","menu.org.payments.paymentActivityNew":"모ë ê²°ì ","menu.org.payments.paymentDetails":"ê²°ì ì¸ë¶ ì ë³´","menu.org.payments.settlementsSummary":"ìì½","menu.org.paymentsNew":"ê²°ì ","menu.org.planBilling":"ìê¸ì ë° ì²êµ¬","menu.org.reports":"ë³´ê³ ì","menu.org.settings":"ì¤ì ","menu.org.theme":"í
ë§","menu.org.theme.management":"í
ë§ ê´ë¦¬","menu.org.theme.create":"í
ë§ ìì±","menu.org.theme.edit":"í
ë§ í¸ì§","menu.org.uam":"ì¬ì©ì ê´ë¦¬","menu.org.uam.createAccount":"ê³ì¢ ìì±","menu.org.uam.createEntity":"ë²ì¸ ìì±","menu.org.uam.createRole":"ìí ìì±","menu.org.uam.editRole":"ìí í¸ì§","menu.org.uam.fields":"ì
ë ¥ë","menu.org.uam.inviteUsers":"ì¬ì©ì ì´ë","menu.org.uam.roles":"ìí ","menu.org.uam.users":"ì¬ì©ì","menu.org.users":"ì¬ì©ì","menu.orgBalances.deepLinks.aggregateFunds":"ìê¸ íµí©","menu.orgBalances.deepLinks.balances":"ìì¡","menu.orgBalances.deepLinks.transactions":"ê±°ë","menu.overview":"ê°ì","menu.paymentActivity":"ê²°ì ë´ì","menu.paymentLinks":"ê²°ì ë§í¬","menu.paymentLinks.createPaymentLink":"ê²°ì ë§í¬ ìì±","menu.paymentLinks.editPaymentLink":"ê²°ì ë§í¬ ìì ","menu.paymentLinks.paymentLinkDetails":"ê²°ì ë§í¬ ì¸ë¶ ì ë³´","menu.paymentLinks.paymentLinkSettings":"ê²°ì ë§í¬ ì¤ì ","menu.payments":"ê²°ì ","menu.payments.addApplePayCertificate":"iOS ì¸ì¦ì","menu.payments.addApplePayDomain":"ëë©ì¸ ì¶ê°","menu.payments.allPayments":"모ë ê²°ì ","menu.payments.analytics":"ë¶ì","menu.payments.dashboard":"ëìë³´ë","menu.payments.disputeDetails":"ë¶ì ì¸ë¶ ì ë³´","menu.payments.disputes":"ë¶ì","menu.payments.paymentDetails":"ê²°ì ì¸ë¶ ì ë³´","menu.payments.paymentMethods":"ê²°ì ìë¨","menu.payments.settings":"ì¤ì ","menu.payments.settlementsNew":"ìì½","menu.payments.surcharge":"ì¶ê° ìì¨ ê´ë¦¬","menu.payments.terminals":"ë¨ë§ê¸°","menu.performance":"ì¤ì ","menu.planBilling":"ìê¸ì ë° ì²êµ¬","menu.purchaseOrders":"구매 주문","menu.purchaseOrders.activate":"구매 주문ì íì±í","menu.purchaseOrders.details":"구매 주문ì ì¸ë¶ ì ë³´","menu.purchaseOrders.import":"구매 주문ì ê°ì ¸ì¤ê¸°","menu.purchaseOrders.settings":"구매 주문ì ì¤ì ","menu.referral":"ì¶ì²","menu.reports":"ë³´ê³ ì","menu.reports.deepLinks.downloads":"ë¤ì´ë¡ë","menu.reports.deepLinks.reportsOverview":"ë³´ê³ ì ê°ì","menu.rewards":"리ìë","menu.rewards.dashboard.programmeDetails":"íë¡ê·¸ë¨ ì¸ë¶ ì ë³´","menu.rewards.partnerPerks":"íí¸ë íí","menu.rfi.kyb":"KYB RFI","menu.rfi.kyb_ongoing":"ì§í ì¤ì¸ KYB RFI","menu.rfi.kyc":"KYC RFI","menu.rfi.lending":"ëì¶ RFI","menu.rfi.ongoing_kyc":"ì§í ì¤ì¸ KYC RFI","menu.rfi.order":"주문 RFI","menu.rfi.pa":"PA RFI","menu.rfi.tm":"ê±°ë RFI","menu.rfi.tm.list":"ê±°ë RFI","menu.rfi.user":"ì¬ì©ì RFI","menu.risk":"ìí","menu.risk.addWatchlist":"ê°ì 목ë¡ì ì í목 ì¶ê°","menu.risk.analytics":"ì¬ê¸° ë°©ì§","menu.risk.buckAddWatchlist":"íì¼ì íµí´ ì ê°ì ëª©ë¡ í목 ì¶ê°","menu.risk.watchList":"ê°ì 목ë¡","menu.salesOrders":"í매 주문ì","menu.salesOrders.detail":"í매 주문 ìì¸","menu.salesOrders.edit":"í매 주문 ìì ","menu.salesOrders.fulfillment.edit":"주문 ì´í ìì ","menu.salesOrders.fulfillment.new":"ì ê· ì£¼ë¬¸ ì´í","menu.salesOrders.new":"ì ê· í매 주문","menu.security":"ë³´ì","menu.settings":"ì¤ì ","menu.settlements":"ì ì°","menu.spend":"ì§ì¶","menu.spendAccounting":"íê³","menu.spendRequests":"ìì²","menu.spendRequests.activate":"ìì² íì±í","menu.spendRequests.create":"ìì² ìì±","menu.spendRequests.details":"ìì² ì¸ë¶ ì ë³´","menu.spendRequests.settings":"ìì² ì¤ì ","menu.spendRequests.settings.entity":"ìì² ìì ë²ì¸ ì¤ì ","menu.spendRequests.spendRequest":"ì§ì¶ ìì²","menu.spendBudgets":"ìì°","menu.spendBudgets.budgets":"ìì°","menu.statements":"ëª
ì¸ì","menu.taxFiling":"ì¸ê¸ ì ê³ ","menu.taxFiling.settings":"ì¸ê¸ ì ê³ ì¤ì ","menu.taxFiling.summary":"ì¸ê¸ ì ê³ ","menu.terminals":"POS ë¨ë§ê¸°","menu.transfers":"ì¡ê¸","menu.transfers.approval":"ì¡ê¸ ì¹ì¸","menu.transfers.approval.changelog":"ìí¬íë¡ì° ë³ê²½ ë¡ê·¸ 보기","menu.transfers.approval.changerequests":"ìí¬íë¡ ë³ê²½ ìì² ë³´ê¸°","menu.transfers.approval.edit":"ì¹ì¸ ë¨ê³ ë° ì¹ì¸ì ì¤ì ","menu.transfers.batchDetail":"ì¼ê´ ì¡ê¸ ìì¸","menu.transfers.batchEdit":"ì¼ê´ ì¡ê¸ í¸ì§","menu.transfers.batchNew":"ì ê· ì¼ê´ ì¡ê¸","menu.transfers.booked":"ìì½ë ì¡ê¸","menu.transfers.edit":"ì¶ê¸ í¸ì§","menu.transfers.limitManagement":"ì ì¥ ë° ì¡ê¸ íë ê´ë¦¬","menu.transfers.limitManagement.salesOrderUpload":"ì¤í ì´ë¥¼ ì ííì¬ í매 주문 ì
ë¡ë","menu.transfers.limitManagement.storeConnect":"ì¤í ì´ì ì í©í ë§ì¼íë ì´ì¤ ëë SaaS íë«í¼ ì í","menu.transfers.new":"ì ê· ì´ì²´(ì¶ê¸)","menu.transfers.settings":"ì¡ê¸ ì¤ì ","menu.transfers.transferMethods":"ì¡ê¸ ë°©ë²","menu.userManagement":"ì¬ì©ì ê´ë¦¬","menu.users":"ì¬ì©ì","menu.vendor":"ê³µê¸ì
ì²´","menu.vendor.activate":"ê³µê¸ì
ì²´ íì±í","menu.vendor.approvals":"ê³µê¸ì
ì²´ ì¹ì¸","menu.vendor.details":"ê³µê¸ì
ì²´ ì¸ë¶ ì ë³´","menu.vendor.new":"ì ê· ê³µê¸ì
ì²´","menu.vendor.pricing":"ê°ê²© ì±
ì ","menu.vendor.settings":"ê³µê¸ì
ì²´ ì¤ì ","menu.wallet":"ìë ","menu.wallet.deepLinks.cashBalanceDetails":"íê¸ ì
259ì¡ ì¸ë¶ ì ë³´","menu.wallet.deepLinks.configuration":"구ì±","menu.wallet.deepLinks.prepaymentBalance":"ì ê²°ì ìì¡","menu.wallet.yield.addFunds":"Airwallex Yieldì ìê¸ ì¶ê°í기","menu.wallet.yield.balanceDetails":"Airwallex Yield ìì¡ ì¸ë¶ ì ë³´","menu.wallet.yield.balanceStatements":"Airwallex Yield ìì¡ ëª
ì¸ì","menu.wallet.yield.ineligible":"Airwallex Yield ë¶ì 격","menu.wallet.yield.onboarding":"Airwallex Yield ì¨ë³´ë©","menu.wallet.yield.rescheduleOnboarding":"Airwallex Yield ê²ì¦ íì ì¼ì ë³ê²½","menu.wallet.yield.withdraw":"Airwallex Yieldìì ì¸ì¶","menu.wallet_my":"ê±°ë","menu.webhooks":"ì¹í
","messages.viewingOrgAccountFromAccountGroup.body":"ì§ì¶ ë´ì, ì²êµ¬ì, ì¤ì ê³¼ ê°ì 모ë 기ë¥ì ì¬ì©íë ¤ë©´, {{orgName}} ì¡°ì§ì¼ë¡ ì ííì¸ì.","messages.viewingOrgAccountFromAccountGroup.cta.switchView":"보기 ì í","messages.viewingOrgAccountFromAccountGroup.heading":"íì¬ {{accountGroupName}} ê³ì 그룹ìì ì´ ê³ì ì ë³´ê³ ê³ì¸ì","navigation.account":"ê³ì ","navigation.accountGroup":"ê³ì 그룹","navigation.close":"ë«ê¸°","navigation.createAccountGroup":"ê³ì 그룹 ìì±","navigation.entity":"ë²ì¸","navigation.mainMenuTooltip":"ë©ì¸ ë©ë´","navigation.moreSubPages":"{{parentTitle}} íì´ì§ ë 보기","navigation.open":"íì ë©ë´ ì´ê¸°","navigation.organisation":"ì¡°ì§","navigation.poweredBy":"<logo /> ì ê³µ","navigation.selectAccount":"ê³ì ì ì ííì¸ì","navigation.selectOrganisation":"ì¡°ì§ ì í","orgBalances":"ìì¡","orgTransactions":"ê±°ë","sandbox.banner.text":"ì´ê²ì ìëë°ì¤ íê²½ì´ìì. ì¤ì ê±°ë를 ìííë ¤ë©´, <getStartedLink>íë¡ëì
ì¼ë¡ ì´ëíì¸ì</getStartedLink>.","security":"ë³´ì","selectAPlan":"íëì ì ííì¸ì","selectAPlanToGetStarted":"íëì ì ííì¬ ììí기","selectAPlanToGetStartedDesc":"ììíë ¤ë©´ 먼ì ì´ì© ê°ë¥í íë ì¤ íë를 ì ííì¸ì. íëì ê°ì
íë©´ ê³ì ê³¼ ë°ì´í°ì ì¡ì¸ì¤í ì ìì´ì.","sessionDescription":"ë³´ìì ìí´ ì¼ì ìê° ëì íëì´ ìì¼ë©´ ìëì¼ë¡ ë¡ê·¸ììë¼ì.","sessionHeading":"íëì ì í´ ìíìì´ì","settings":"ì¤ì ","tag.new":"ì ê·","transactions":"ê±°ë","transfers.approval":"ì¡ê¸ ì¹ì¸","transfers.methods":"ì¡ê¸ ë°©ë²","transfers.settings":"ì¤ì ","transfers.summary":"ìì½","verification.content":"Airwallex ìë¹ì¤ë¥¼ ì´ì©íë ¤ë©´ ê³ì ì¸ì¦ì ìë£íì¸ì","verification.heading":"ê³ì ì¸ì¦ ìë£í기","verification.primary":"ìì","verification.secondary":"ëì¤ì","verificationFailure.content":"ìíê¹ê²ë íì¬ë¡ìë ì§ìí´ë릴 ì ìì´ì.","verificationFailure.heading":"ê³ì íì±í ì¤í¨","verificationFailure.primary":"ë«ê¸°","verificationSubmitted.content":"ì ì¶íì ì 보를 ë´ë¹íì´ ê²í ì¤ì´ë©° ìë£ëë©´ ì´ë©ì¼ ëë ë©ìì§ë¥¼ ë³´ë´ëë ¤ì","verificationSubmitted.heading":"ê³ì ì¸ì¦ ì§í ì¤","verificationSubmitted.primary":"íì¸","walletSummary":"ìë ìì½","menu.org.payments.surcharge":"ì¶ê° ìê¸","menu.surcharge":"ì¶ê° ìê¸"}'),tC=JSON.parse('{"_comment":"This file is generated via awx-i18n-service, please do not update contents manually","accountStatus.SUSPENDED":"Gesperrt","accountSwitch.accounts":"Konten","accountSwitch.nAccounts_one":"{{count}} Konto","accountSwitch.nAccounts_other":"{{count}} Konten","accountSwitch.newAccount":"Neues Konto","accountSwitch.viewAndCreateAccounts":"Konten anzeigen und erstellen","accountSwitch.newAccountGroup":"Neue Kontogruppe","accountSwitch.noResultsFound":"Keine Ergebnisse gefunden","accountSwitch.trySearchingWithDifferentKeywords":"Versuchen Sie es mit anderen Suchbegriffen","assistantView":"Ansicht des Assistenten","backToPersonalView":"Zurück zur persönlichen Ansicht","balances":"Kontostände","contactSupport":"Support kontaktieren","enrollment":"Informationen zum Erklärungspflichtigen","guidedTour.accountSwitcher.content":"Mit Konten können Sie Gelder verwalten, Ãberweisungen erstellen, Karten ausgeben, Zahlungen annehmen und mehr. Sie können oben im Menü auf der linken Seite zu Ihren anderen Konten wechseln.","guidedTour.accountSwitcher.employee.mame.title":"Einfacher Zugang zu Ihren Konten","guidedTour.accountSwitcher.employee.mase.title":"Einfacher Zugang zu Ihren Konten","guidedTour.accountSwitcher.mame.content":"Sie können den Schalter verwenden, um die kontospezifischen Funktionen hier zu sehen.","guidedTour.accountSwitcher.mase.content":"Sie können den Schalter verwenden, um die kontospezifischen Funktionen hier zu sehen.","guidedTour.accountSwitcher.sase.content":"Mit Konten können Sie Gelder verwalten, Ãberweisungen erstellen, Karten ausgeben, Zahlungen annehmen und mehr.","guidedTour.accountSwitcher.sase.title":"Dies ist der Kontobereich","guidedTour.accountSwitcher.title":"Dies ist der Kontobereich","guidedTour.orgSwitcher.content":"Verwalten Sie hier Ihre Geschäftsabläufe. Diese Funktionen gelten für alle Ihre Konten.","guidedTour.orgSwitcher.employee.mame.title":"Ihre neue Organisation ist da.","guidedTour.orgSwitcher.employee.mase.title":"Globale Funktionen für alle Ihre Konten anzeigen und verwalten","guidedTour.orgSwitcher.mame.content":"Globale Funktionen für alle Ihre Einheiten und Konten anzeigen und verwalten","guidedTour.orgSwitcher.sase.content":"Verwalten Sie hier Ihre Geschäftsabläufe. Diese Funktionen gelten für alle Ihre Konten, auch wenn Ihr Unternehmen wächst und Sie weitere Konten hinzufügen.","guidedTour.orgSwitcher.sase.title":"Dies ist Ihr Organisationsbereich","guidedTour.orgSwitcher.title":"Dies ist Ihr Organisationsbereich","kycStatus.FAILURE":"Fehlgeschlagen","kycStatus.INIT":"Ausstehend","kycStatus.SUBMITTED":"Wird geprüft","linkedaccounts":"Verknüpfte Konten","menu.account":"Konto","menu.account.deepLinks.accountDetails":"Kontodetails","menu.account.deepLinks.accountGroup":"Kontogruppe","menu.account.deepLinks.accountProfile":"Profil","menu.account.deepLinks.accountSettings":"Kontoeinstellungen","menu.account.deepLinks.accountStatements":"Kontoauszüge","menu.account.deepLinks.accounts":"Konten","menu.account.deepLinks.addEmailAddress":"E-Mail-Adresse hinzufügen","menu.account.deepLinks.addMobileNumber":"Handynummer hinzufügen","menu.account.deepLinks.apiKeys":"API-Schlüssel","menu.account.deepLinks.assistants":"Assistenten","menu.account.deepLinks.bankDetail
259s":"Bankdetails","menu.account.deepLinks.changePassword":"Passwort ändern","menu.account.deepLinks.developerSettings":"Entwicklereinstellungen","menu.account.deepLinks.groupManagement":"Gruppenverwaltung","menu.account.deepLinks.notifications":"Benachrichtigungen","menu.account.deepLinks.security":"Sicherheit","menu.account.deepLinks.setupTwoFactorAuth":"Zwei-Faktoren-Authentifizierung einrichten","menu.account.deepLinks.userManagement":"Benutzerverwaltung","menu.account.deepLinks.users":"Benutzer","menu.accountDetails":"Kontodetails","menu.accountGroup":"Kontogruppe","menu.accountGroupManagement":"Gruppenverwaltung","menu.addFunds":"Konto aufladen","menu.addFunds.airwallexPay":"Geld erhalten oder Wallet über Airwallex Pay aufladen","menu.addFunds.method":"Methode zum Hinzufügen von Guthaben auswählen","menu.addFunds.summary":"Guthaben zu Ihrer Wallet hinzufügen","menu.apiKeys":"API-Schlüssel","menu.approvals":"Genehmigungen","menu.balances":"Kontostände","menu.batchTransfers":"Sammelüberweisungen","menu.billPay":"Rechnungen","menu.billPay.activate":"Rechnungen aktivieren","menu.billPay.createBill":"Neue Rechnung hinzufügen","menu.billPay.manageBill":"Zu den Rechnungsdetails","menu.billPay.payBills":"Rechnungen bezahlen","menu.billPay.settings":"Einstellungen","menu.billPay.summary":"Zusammenfassung","menu.cards":"Karten","menu.cards.cardActivation":"Zu aktivierende Karte auswählen","menu.cards.cardSettings":"Einstellungen","menu.cards.cardholders":"Karteninhaber","menu.cards.changePin":"PIN ändern","menu.cards.companyCards":"Firmenkarten","menu.cards.createCompanyCard":"Firmenkarte erstellen","menu.cards.createEmployeeCard":"Eine Mitarbeiterkarte erstellen","menu.cards.deliveryAddress":"Lieferadresse angeben","menu.cards.editCard":"Kartendetails konfigurieren","menu.cards.editCompanyCardOwners":"Karte bearbeiten","menu.cards.identityReview":"Identitätsprüfung","menu.cards.reissuePhysical":"Karte erneuern","menu.cards.replaceCard":"Wählen Sie den Grund für den Austausch","menu.cards.selectCardType":"Karte erstellen","menu.cards.summary":"Zusammenfassung","menu.cards.transactionFeedback":"Hilfe zu dieser Transaktion erhalten","menu.cards.transactions":"Transaktionen","menu.connectedAccounts":"Verbundene Konten","menu.connectedAccounts.accountDetails":"Kontodetails","menu.connectedAccounts.accounts":"Konten","menu.connectedAccounts.rfiCenter":"RFI-Zentrum","menu.connectedAccounts.rfiDetails":"RFI-Details","menu.connectedAccounts.transactionDetails":"Transaktionsdetails","menu.connectedAccounts.transactions":"Transaktionen","menu.connectionLink":"Verbindung Link","menu.connections":"Verbindungen","menu.connections.title":"Verbindungen","menu.connections.title.connect.marketplace":"Marktplatz verbinden","menu.connections.title.netsuite.expense":"NetSuite-Ausgaben einrichten","menu.connections.title.oauth.consent":"OAuth-Zustimmung","menu.connections.title.quickbooks.expense.accountingData":"QuickBooks Buchhaltungsdaten einrichten","menu.connections.title.sage.refreshConnection":"Sage-Verbindung aktualisieren","menu.connections.title.setup.accountingProvider":"Buchhaltungsanbieter einrichten","menu.connections.title.setup.mybank":"Mybank einrichten","menu.connections.title.setup.netsuite":"NetSuite einrichten","menu.connections.title.setup.quickbooks":"QuickBooks einrichten","menu.connections.title.setup.sage":"Sage einrichten","menu.connections.title.setup.walmart":"Walmart einrichten","menu.connections.title.setup.xero":"Xero einrichten","menu.connections.title.xero.expense.accountingData":"Xero-Buchhaltungsdaten für Ausgaben einrichten","menu.connections.title.xero.refreshConnection":"Xero-Verbindung aktualisieren","menu.contacts":"Kontakte","menu.contacts.payer":"Zahler","menu.contacts.payer.edit":"Zahler bearbeiten","menu.contacts.payer.new":"Neuer Zahler","menu.contacts.recipient":"Empfänger","menu.contacts.recipient.edit":"Empfänger bearbeiten","menu.contacts.recipient.new":"Neuer Empfänger","menu.conversions":"Währungsumrechnungen","menu.conversions.booked":"Gebuchte Währungsumrechnungen","menu.conversions.limitOrders":"Limitaufträge","menu.conversions.new":"Neuer Währungsumtausch","menu.conversions.settings":"Einstellungen","menu.customers":"Kunden","menu.dashboard":"Dashboard","menu.declarationCenter":"Deklarationszentrum","menu.developer":"Entwickler","menu.developer.apiKeys":"API-Schlüssel","menu.developer.events":"Veranstaltungen","menu.developer.webhooks":"Webhooks","menu.developerGuides":"Leitfäden","menu.disputes":"Streitfälle","menu.expenses":"Spesen","menu.expenses.activate":"Aktivieren Sie Ausgaben","menu.expenses.automations":"Automatisierungen von Ausgaben","menu.expenses.cardExpenses":"Kartenausgaben","menu.expenses.entitySettings":"Einstellungen für Ausgabeneinheiten","menu.expenses.manageCardExpense":"Zu den Details der Kartenausgaben gehen","menu.expenses.manageReimbursement":"Zu den Erstattungsdetails gehen","menu.expenses.pricing":"Preisgestaltung der Ausgaben","menu.expenses.reimbursements":"Erstattungen","menu.expenses.settings":"Ausgaben-Einstellungen","menu.globalAccounts":"Globale Konten","menu.globalAccounts.accounts":"Zusammenfassung","menu.globalAccounts.accounts.detail":"Details zum globalen Konto","menu.globalAccounts.accounts.new":"Globales Konto erstellen","menu.globalAccounts.openingForm":"Eröffnungsformular","menu.globalAccounts.transactions":"Alle Transaktionen","menu.kyb.onboarding":"Zahlungsantrag","menu.kyb.ongoing":"Aktivierung einer zusätzlichen Zahlungsmethode","menu.lending.details":"Kreditkontodetails","menu.lending.onboarding":"Kreditlimit aktivieren","menu.lending.repayment":"Kreditrückzahlung","menu.linkedAccounts":"Verknüpfte Konten","menu.linkedAccounts.accounts":"Verknüpfte Konten","menu.linkedAccounts.bankStatementVerify":"Ihr externes Bankkonto verifizieren","menu.linkedAccounts.contactInfo":"Vervollständigen
259Sie die Kontaktinformationen Ihres Unternehmens","menu.linkedAccounts.directDebit":"Mittel per Lastschrift hinzufügen","menu.linkedAccounts.directDebitSuccess":"Ihr Geld ist auf dem Weg","menu.linkedAccounts.heading":"Verknüpfen Sie Ihr externes Bankkonto","menu.myCards":"Meine Karten","menu.org.approvals":"Ausgabengenehmigungen","menu.org.approvals.bills":"Genehmigungen für Rechnungen","menu.org.approvals.bills.edit":"Rechnungsgenehmigungsprozess bearbeiten","menu.org.approvals.card-expenses":"Genehmigungen von Kartenausgaben","menu.org.approvals.card-expenses.edit":"Genehmigungsprozess für Kartenausgaben bearbeiten","menu.org.approvals.expenses":"Genehmigungen von Ausgaben","menu.org.approvals.expenses.edit":"Ausgabengenehmigungsprozess bearbeiten","menu.org.approvals.purchaseRequests":"Genehmigungen von Bestellungen","menu.org.approvals.purchaseRequests.edit":"Genehmigungsprozess für Bestellungen bearbeiten","menu.org.approvals.reimbursements":"Genehmigungen von Erstattungen","menu.org.approvals.reimbursements.edit":"Genehmigungsprozess für Erstattungen bearbeiten","menu.org.approvals.spendRequests":"Genehmigungen von Kartenanträgen","menu.org.approvals.spendRequests.edit":"Genehmigungsprozess für Kartenanträge bearbeiten","menu.org.approvals.transfers":"Ãberweisungsfreigaben","menu.org.approvals.vendors":"Anbieter","menu.org.approvals.vendors.edit":"Genehmigungsprozess für Lieferanten bearbeiten","menu.org.approvals.vendors.new":"Neue Lieferantengenehmigungen","menu.org.balances":"Kontostände","menu.org.billing":"Abrechnung","menu.org.billing.customers":"Kunden","menu.org.billing.invoices":"Rechnungen","menu.org.billing.products":"Produkte","menu.org.billing.productsCatalog":"Produktkatalog","menu.org.billing.settings":"Abrechnungseinstellungen","menu.org.billing.subscriptions":"Abonnements","menu.org.billing.ubb":"Nutzungsabrechnung","menu.org.businessAccount":"Geschäftskonten","menu.org.businessAccount.allAccounts":"Alle Konten ({{count}})","menu.org.businessAccount.loadAccountsError":"Ihre Konten konnten nicht geladen werden.","menu.org.businessAccount.retry":"Erneut versuchen","menu.org.connections":"Verbindungen","menu.org.disputes":"Streitfälle","menu.org.payments.accounts":"Zahlungskonten","menu.org.payments.paymentStatus":"KYB-Status","menu.org.payments.paymentMethods":"Zahlungsmethoden","menu.org.payments.settings":"Kontokonfigurationen","menu.org.payments.analytics":"Analysen","menu.org.payments.dashboard":"Dashboard","menu.org.payments.dashboardNew":"Ãbersicht","menu.org.payments.disputeAnalytics":"Streitfall-Analysen","menu.org.payments.disputeDetails":"Details zum Streitfall","menu.org.payments.disputes":"Streitfälle","menu.org.payments.paymentActivityNew":"Alle Zahlungen","menu.org.payments.paymentDetails":"Zahlungsdetails","menu.org.payments.settlementsSummary":"Zusammenfassung","menu.org.paymentsNew":"Zahlungen","menu.org.planBilling":"Tarif & Abrechnung","menu.org.reports":"Berichte","menu.org.settings":"Einstellungen","menu.org.theme":"Designs","menu.org.theme.management":"Designs verwalten","menu.org.theme.create":"Design erstellen","menu.org.theme.edit":"Design bearbeiten","menu.org.uam":"Benutzerverwaltung","menu.org.uam.createAccount":"Konto erstellen","menu.org.uam.createEntity":"Entität erstellen","menu.org.uam.createRole":"Rolle erstellen","menu.org.uam.editRole":"Rolle bearbeiten","menu.org.uam.fields":"Felder","menu.org.uam.inviteUsers":"Benutzer einladen","menu.org.uam.roles":"Rollen","menu.org.uam.users":"Benutzer","menu.org.users":"Benutzer","menu.orgBalances.deepLinks.aggregateFunds":"Mittel aggregieren","menu.orgBalances.deepLinks.balances":"Kontostände","menu.orgBalances.deepLinks.transactions":"Transaktionen","menu.overview":"Ãbersicht","menu.paymentActivity":"Zahlungsaktivität","menu.paymentLinks":"Zahlungslinks","menu.paymentLinks.createPaymentLink":"Zahlungslink erstellen","menu.paymentLinks.editPaymentLink":"Zahlungslink bearbeiten","menu.paymentLinks.paymentLinkDetails":"Details zum Zahlungslink","menu.paymentLinks.paymentLinkSettings":"Einstellungen für Zahlungslink","menu.payments":"Zahlungen","menu.payments.addApplePayCertificate":"iOS-Zertifikate","menu.payments.addApplePayDomain":"Domain hinzufügen","menu.payments.allPayments":"Alle Zahlungen","menu.payments.analytics":"Analytik","menu.payments.dashboard":"Dashboard","menu.payments.disputeDetails":"Details zum Streitfall","menu.payments.disputes":"Streitfälle","menu.payments.paymentDetails":"Zahlungsdetails","menu.payments.paymentMethods":"Zahlungsmethoden","menu.payments.settings":"Einstellungen","menu.payments.settlementsNew":"Zusammenfassung","menu.payments.surcharge":"Ihre Zuschlagsrate verwalten","menu.payments.terminals":"Terminals","menu.performance":"Leistung","menu.planBilling":"Tarif & Abrechnung","menu.purchaseOrders":"Bestellungen","menu.purchaseOrders.activate":"Aktivieren Sie Bestellungen","menu.purchaseOrders.details":"Bestellungsdetails","menu.purchaseOrders.import":"Bestellungen importieren","menu.purchaseOrders.settings":"Bestellungseinstellungen","menu.referral":"Verweis","menu.reports":"Berichte","menu.reports.deepLinks.downloads":"Downloads","menu.reports.deepLinks.reportsOverview":"Berichte-Ãbersicht","menu.rewards":"Rewards","menu.rewards.dashboard.programmeDetails":"Einzelheiten zum Programm","menu.rewards.partnerPerks":"Partnervergünstigungen","menu.rfi.kyb":"KYB RFI","menu.rfi.kyb_ongoing":"Laufende KYB RFI","menu.rfi.kyc":"KYC RFI","menu.rfi.lending":"Lending RFI","menu.rfi.ongoing_kyc":"Laufendes
259KYC RFI","menu.rfi.order":"Order RFI","menu.rfi.pa":"PA RFI","menu.rfi.tm":"Transaktion RFI","menu.rfi.tm.list":"Transaktion RFIs","menu.rfi.user":"Benutzer RFI","menu.risk":"Risiko","menu.risk.addWatchlist":"Neue Einträge zu Ihrer Beobachtungsliste hinzufügen","menu.risk.analytics":"Betrugsprävention","menu.risk.buckAddWatchlist":"Neue Einträge zur Beobachtungsliste per Datei hinzufügen","menu.risk.watchList":"Beobachtungsliste","menu.salesOrders":"Kundenaufträge","menu.salesOrders.detail":"Kundenauftragsdetails","menu.salesOrders.edit":"Kundenauftrag bearbeiten","menu.salesOrders.fulfillment.edit":"Erfüllung bearbeiten","menu.salesOrders.fulfillment.new":"Neue Aufgabenstellung","menu.salesOrders.new":"Neuer Kundenauftrag","menu.security":"Sicherheit","menu.settings":"Einstellungen","menu.settlements":"Abrechnungen","menu.spend":"Ausgaben","menu.spendAccounting":"Buchhaltung","menu.spendRequests":"Anfragen","menu.spendRequests.activate":"Anfragen aktivieren","menu.spendRequests.create":"Anfrage erstellen","menu.spendRequests.details":"Anfragedetails","menu.spendRequests.settings":"Antragseinstellungen","menu.spendRequests.settings.entity":"Anfrageformular-Entitätseinstellungen","menu.spendRequests.spendRequest":"Ausgabenanfragen","menu.spendBudgets":"Budgets","menu.spendBudgets.budgets":"Budgets","menu.statements":"Erklärungen","menu.taxFiling":"Steuererklärungen","menu.taxFiling.settings":"Einstellungen für die Steuererklärung","menu.taxFiling.summary":"Steueranmeldung","menu.terminals":"POS-Terminals","menu.transfers":"Ãberweisungen","menu.transfers.approval":"Ãberweisungsfreigaben","menu.transfers.approval.changelog":"Workflow-Ãnderungsprotokoll anzeigen","menu.transfers.approval.changerequests":"Ãnderungsanträge für Workflow anzeigen","menu.transfers.approval.edit":"Einrichten von Genehmigungsebenen und Genehmigern","menu.transfers.batchDetail":"Details der Sammelüberweisung","menu.transfers.batchEdit":"Sammelüberweisung bearbeiten","menu.transfers.batchNew":"Neue Sammelüberweisung","menu.transfers.booked":"Gebuchte Ãberweisungen","menu.transfers.edit":"Auszahlung bearbeiten","menu.transfers.limitManagement":"Verwaltung von Speicher- und Ãberweisungslimits","menu.transfers.limitManagement.salesOrderUpload":"Wählen Sie einen Shop zum Hochladen von Kundenaufträgen","menu.transfers.limitManagement.storeConnect":"Wählen Sie den Marktplatz oder die SaaS-Plattform für Ihren Store","menu.transfers.new":"Neue Ãberweisung (Payout)","menu.transfers.settings":"Ãberweisungseinstellungen","menu.transfers.transferMethods":"Ãberweisungsmethoden","menu.userManagement":"Benutzerverwaltung","menu.users":"Benutzer","menu.vendor":"Lieferanten","menu.vendor.activate":"Lieferant aktivieren","menu.vendor.approvals":"Lieferantengenehmigungen","menu.vendor.details":"Lieferantendetails","menu.vendor.new":"Neuer Verkäufer","menu.vendor.pricing":"Preisgestaltung","menu.vendor.settings":"Lieferanteneinstellungen","menu.wallet":"Wallet","menu.wallet.deepLinks.cashBalanceDetails":"Details zum Barguthaben","menu.wallet.deepLinks.configuration":"Konfiguration","menu.wallet.deepLinks.prepaymentBalance":"Vorauszahlungssaldo","menu.wallet.yield.addFunds":"Guthaben zu Ertrag hinzufügen","menu.wallet.yield.balanceDetails":"Details zum Ertragssaldo","menu.wallet.yield.balanceStatements":"Ertragssaldoauszüge","menu.wallet.yield.ineligible":"Nichtberechtigung auf Ertrag","menu.wallet.yield.onboarding":"Ertrag-Onboarding","menu.wallet.yield.rescheduleOnboarding":"Ertragsprüfungstermin verschieben","menu.wallet.yield.withdraw":"Von Ertrag abheben","menu.wallet_my":"Transaktionen","menu.webhooks":"Webhooks","messages.viewingOrgAccountFromAccountGroup.body":"Für alle Funktionen wie Ausgaben, Rechnungen und Einstellungen wechseln Sie zu Organisation {{orgName}}.","messages.viewingOrgAccountFromAccountGroup.cta.switchView":"Ansicht wechseln","messages.viewingOrgAccountFromAccountGroup.heading":"Sie sehen dieses Konto in der Kontogruppe {{accountGroupName}}","navigation.account":"Konto","navigation.accountGroup":"Kontogruppe","navigation.close":"SchlieÃen","navigation.entity":"Entität","navigation.mainMenuTooltip":"Hauptmenü","navigation.moreSubPages":"Weitere {{parentTitle}} Seiten","navigation.open":"Navigationsmenü öffnen","navigation.organisation":"Organisation","navigation.poweredBy":"powered by <logo />","navigation.selectAccount":"Wählen Sie ein Konto","navigation.selectOrganisation":"Wählen Sie eine Organisation","orgBalances":"Kontost
259ände","orgTransactions":"Transaktionen","sandbox.banner.text":"Dies ist die Sandbox-Umgebung. <getStartedLink>Go to production</getStartedLink>, um eine echte Transaktion durchzuführen.","security":"Sicherheit","selectAPlan":"Wählen Sie einen Tarif","selectAPlanToGetStarted":"Wählen Sie einen Tarif aus, um zu starten","selectAPlanToGetStartedDesc":"Um loszulegen, wählen Sie zunächst einen unserer verfügbaren Tarife aus. Sobald Sie einen Tarif abonnieren, können Sie auf Ihr Konto und Ihre Daten zugreifen.","sessionDescription":"Um Ihre Sicherheit zu gewährleisten, melden wir Sie nach einer gewissen Zeit der Inaktivität automatisch ab.","sessionHeading":"Sie waren eine Weile inaktiv","settings":"Einstellungen","skeleton.loadingNavigationTabs":"Navigations-Registerkarten werden geladen","skeleton.loadingPageContent":"Seiteninhalt wird geladen","tag.new":"Neu","transactions":"Transaktionen","transfers.approval":"Ãberweisungsfreigaben","transfers.methods":"Ãberweisungsmethoden","transfers.settings":"Einstellungen","transfers.summary":"Zusammenfassung","verification.content":"Bitte vervollständigen Sie Ihre Kontoverifizierung, um Airwallex-Dienste zu nutzen","verification.heading":"Vervollständigen Sie Ihre Kontoverifizierung","verification.primary":"Start","verification.secondary":"Vielleicht später","verificationFailure.content":"Leider können wir Sie im Moment nicht unterstützen.","verificationFailure.heading":"Kontoaktivierung fehlgeschlagen","verificationFailure.primary":"SchlieÃen","verificationSubmitted.content":"Unser Team prüft Ihre Angaben, und Sie erhalten eine E-Mail oder Nachricht, sobald die Prüfung abgeschlossen ist","verificationSubmitted.heading":"Kontoverifizierung in Bearbeitung","verificationSubmitted.primary":"Bestätigen","walletSummary":"Wallet-Zusammenfassung"}'),nC=JSON.parse('{"_comment":"This file is generated via awx-i18n-service, please do not update contents manually","accountStatus.SUSPENDED":"Bá» treo","accountSwitch.accounts":"Tà i khoản","accountSwitch.nAccounts_one":"{{count}} tà i khoản ","accountSwitch.nAccounts_other":"{{count}} tà i khoản","accountSwitch.newAccount":"Tà i khoản má»i","accountSwitch.newAccountGroup":"Nhóm tà i khoản má»i","accountSwitch.noResultsFound":"Không tìm thấy kết quả nà o","accountSwitch.trySearchingWithDifferentKeywords":"Hãy thá» tìm kiếm vá»i các từ khóa khác","assistantView":"Chế Äá» xem cá»§a trợ lý","backToPersonalView":"Quay lại chế Äá» xem cá nhân","balances":"Sá» dư","contactSupport":"Liên há» há» trợ","enrollment":"Thông tin ngưá»i kê khai","guidedTour.accountOverview.accountSwitcher.content":"Phần nà y cho phép bạn xem ná»i dung tóm tắt vá» các hoạt Äá»ng cá»§a má»t tà i khoản cá nhân. Bạn có thá» dá»
dà ng chuyá»n Äá»i giữa các tà i khoản bằng cách sá» dụng menu á» góc trên cùng bên trái.","guidedTour.accountOverview.accountSwitcher.title":"Má»i tà i khoản cá»§a bạn Äá»u có má»t trang Tá»ng quan","guidedTour.accountOverview.orgSwitcher.content":"Giá» Äây, khi bạn Äã có nhiá»u tà i khoản, trang Tá»ng quan cá»§a bạn Äã ÄÆ°á»£c cáºp nháºt Äá» cung cấp chế Äá» xem hợp nhất vá» tà i chÃnh và các tác vụ Äang chá» xá» lý cá»§a bạn tại má»t nÆ¡i duy nhất.","guidedTour.accountOverview.orgSwitcher.title":"Trang tá»ng quan cho phép bạn quản lý hoạt Äá»ng kinh doanh cá»§a mình trên các tà i khoản","guidedTour.accountSwitcher.content":"Các tà i khoản giúp bạn quản lý tiá»n, tạo các giao dá»ch chuyá»n tiá»n, phát hà nh thẻ, chấp nháºn thanh toán và nhiá»u tÃnh nÄng khác. Bạn có thá» chuyá»n sang các tà i khoản khác cá»§a mình từ Äầu cá»§a menu á» bên trái.","guidedTour.accountSwitcher.employee.mame.title":"Dá»
dà ng truy cáºp và o tà i khoản cá»§a bạn","guidedTour.accountSwitcher.employee.mase.title":"Dá»
dà ng truy cáºp và o tà i khoản cá»§a bạn","guidedTour.accountSwitcher.mame.content":"Bạn có thá» sá» dụng công cụ chuyá»n Äá»i Äá» xem các tÃnh nÄng dà nh riêng cho từng tà i khoản tại Äây.","guidedTour.accountSwitcher.mase.content":"Bạn có thá» sá» dụng công cụ chuyá»n Äá»i Äá» xem các tÃnh nÄng dà nh riêng cho từng tà i khoản tại Äây.","guidedTour.accountSwitcher.sase.content":"Các tà i khoản giúp bạn quản lý tiá»n, tạo các giao dá»ch chuyá»n tiá»n, phát hà nh thẻ, chấp nháºn thanh toán và nhiá»u tÃnh nÄng khác.","guidedTour.accountSwitcher.sase.title":"Äây là phần tà i khoản","guidedTour.accountSwitcher.title":"Äây là phần tà i khoản","guidedTour.orgSwitcher.content":"Quản lý quy trình kinh doanh cá»§a bạn tại Äây. Các tÃnh nÄng nà y áp dụng cho tất cả các tà i khoản cá»§a bạn.","guidedTour.orgSwitcher.employee.mame.title":"Tá» chức má»i cá»§a bạn á» Äây","guidedTour.orgSwitcher.employee.mase.title":"Xem và quản lý các tÃnh nÄng quá»c tế trên tất cả các tà i khoản cá»§a bạn.","guidedTour.orgSwitcher.mame.content":"Xem và quản lý các tÃnh nÄng quá»c tế trên tất cả các công ty và tà i khoản cá»§a bạn.","guidedTour.orgSwitcher.sase.content":"Quản lý quy trình kinh doanh cá»§a bạn tại Äây. Các tÃnh nÄng nà y áp dụng cho tất cả các tà i khoản cá»§a bạn, ngay cả khi doanh nghiá»p cá»§a bạn phát triá»n và bạn thêm tà i khoản má»i.","guidedTour.orgSwitcher.sase.title":"Äây là phần tá» chức cá»§a bạn","guidedTour.orgSwitcher.title":"Äây là phần tá» chức cá»§a bạn","kycStatus.FAILURE":"Thất bại","kycStatus.INIT":"Äang chá»","kycStatus.SUBMITTED":"Äang xem xét","linkedaccounts":"Tà i khoản Äã liên kết","menu.account":"Tà i khoản","menu.account.deepLinks.accountDetails":"Thông tin vá» tà i khoản","menu.account.deepLinks.accountGroup":"Nhóm tà i khoản","menu.account.deepLinks.accountProfile":"Há» sÆ¡","menu.account.deepLinks.accountSettings":"Cà i Äặt tà i khoản","menu.account.deepLinks.accountStatements":"Sao kê tà i khoản","menu.account.deepLinks.accounts":"Tà i khoản","menu.account.deepLinks.addEmailAddress":"Thêm Äá»a chá» email","menu.account.deepLinks.addMobileNumber":"Thêm sá» Äiá»n thoại di Äá»ng","menu.account.deepLinks.apiKeys":"Khóa API","menu.account.deepLinks.assistants":"Trợ lý","menu.account.deepLinks.bankDetail
259s":"Thông tin ngân hà ng","menu.account.deepLinks.changePassword":"Äá»i máºt khẩu","menu.account.deepLinks.developerSettings":"Cà i Äặt dà nh cho láºp trình viên","menu.account.deepLinks.groupManagement":"Quản lý nhóm","menu.account.deepLinks.notifications":"Thông báo","menu.account.deepLinks.security":"Bảo máºt","menu.account.deepLinks.setupTwoFactorAuth":"Thiết láºp xác thá»±c hai yếu tá»","menu.account.deepLinks.userManagement":"Quản lý ngưá»i dùng","menu.account.deepLinks.users":"Ngưá»i dùng","menu.accountDetails":"Thông tin vá» tà i khoản","menu.accountGroup":"Nhóm tà i khoản","menu.accountGroupManagement":"Quản lý nhóm","menu.addFunds":"Nạp tiá»n","menu.addFunds.airwallexPay":"Nháºn tiá»n hoặc nạp tiá»n và o và qua Airwallex Pay","menu.addFunds.method":"Chá»n phương thức Äá» nạp tiá»n","menu.addFunds.summary":"Nạp tiá»n và o và cá»§a bạn","menu.apiKeys":"Khóa API","menu.approvals":"Phê duyá»t","menu.balances":"Sá» dư","menu.batchTransfers":"Chuyá»n khoản hà ng loạt","menu.billPay":"Hóa ÄÆ¡n","menu.billPay.activate":"KÃch hoạt hóa ÄÆ¡n","menu.billPay.createBill":"Thêm hóa ÄÆ¡n má»i","menu.billPay.manageBill":"Äi tá»i Thông tin hóa ÄÆ¡n","menu.billPay.payBills":"Thanh toán hóa ÄÆ¡n","menu.billPay.settings":"Cà i Äặt","menu.billPay.summary":"Tóm tắt","menu.cards":"Thẻ","menu.cards.cardActivation":"Chá»n thẻ Äá» kÃch hoạt","menu.cards.cardSettings":"Cà i Äặt","menu.cards.cardholders":"Chá»§ thẻ","menu.cards.changePin":"Thay Äá»i mã PIN","menu.cards.companyCards":"Thẻ Doanh nghiá»p","menu.cards.createCompanyCard":"Tạo thẻ doanh nghiá»p","menu.cards.createEmployeeCard":"Tạo thẻ nhân viên","menu.cards.deliveryAddress":"Cung cấp Äá»a chá» giao nháºn","menu.cards.editCard":"Cà i Äặt thông tin chi tiết vá» thẻ","menu.cards.editCompanyCardOwners":"Chá»nh sá»a thẻ","menu.cards.identityReview":"Kiá»m tra danh tÃnh","menu.cards.reissuePhysical":"Gia hạn thẻ","menu.cards.replaceCard":"Chá»n lý do thay thẻ","menu.cards.selectCardType":"Tạo thẻ","menu.cards.summary":"Tóm tắt","menu.cards.temporaryLimits":"Hạn mức tạm thá»i","menu.cards.transactionFeedback":"Nháºn trợ giúp vá» giao dá»ch nà y","menu.cards.transactions":"Các giao dá»ch","menu.connectedAccounts":"Tà i khoản liên kết","menu.connectedAccounts.accountDetails":"Thông tin vá» tà i khoản","menu.connectedAccounts.accounts":"Tà i khoản","menu.connectedAccounts.rfiCenter":"Trung tâm Yêu cầu cung cấp thông tin","menu.connectedAccounts.rfiDetails":"Chi tiết Yêu cầu cung cấp thông tin","menu.connectedAccounts.transactionDetails":"Thông tin vá» giao dá»ch","menu.connectedAccounts.transactions":"Các giao dá»ch","menu.connectionLink":"Liên kết kết ná»i","menu.connections":"Kết ná»i","menu.connections.title":"Kết ná»i","menu.connections.title.connect.marketplace":"Kết ná»i vá»i sà n thương mại Äiá»n tá»","menu.connections.title.netsuite.expense":"Thiết láºp chi phà NetSuite","menu.connections.title.oauth.consent":"Chấp thuáºn OAuth","menu.connections.title.quickbooks.expense.accountingData":"Thiết láºp dữ liá»u kế toán chi phà QuickBooks","menu.connections.title.sage.refreshConnection":"Là m má»i kết ná»i Sage","menu.connections.title.setup.accountingProvider":"Thiết láºp nhà cung cấp dá»ch vụ kế toán","menu.connections.title.setup.mybank":"Thiết láºp Mybank","menu.connections.title.setup.netsuite":"Thiết láºp NetSuite","menu.connections.title.setup.quickbooks":"Thiết láºp QuickBooks","menu.connections.title.setup.sage":"Thiết láºp Sage","menu.connections.title.setup.walmart":"Thiết láºp Walmart","menu.connections.title.setup.xero":"Thiết láºp Xero","menu.connections.title.xero.expense.accountingData":"Thiết láºp dữ liá»u kế toán chi phà Xero","menu.connections.title.xero.refreshConnection":"Là m má»i kết ná»i Xero","menu.contacts":"Ngưá»i liên há»","menu.contacts.payer":"Ngưá»i thanh toán","menu.contacts.payer.edit":"Chá»nh sá»a ngưá»i thanh toán","menu.contacts.payer.new":"Ngưá»i thanh toán má»i","menu.contacts.recipient":"Ngưá»i nháºn","menu.contacts.recipient.edit":"Chá»nh sá»a ngưá»i nháºn","menu.contacts.recipient.new":"Ngưá»i nháºn má»i","menu.conversions":"Chuyá»n Äá»i","menu.conversions.booked":"Các chuyá»n Äá»i Äã Äặt","menu.conversions.limitOrders":"Giá»i hạn ÄÆ¡n hà ng","menu.conversions.new":"Chuyá»n Äá»i má»i","menu.conversions.settings":"Cà i Äặt","menu.customers":"Khách hà ng","menu.dashboard":"Tá»ng quan","menu.declarationCenter":"Trung tâm Kê khai","menu.developer":"Láºp trình viên","menu.developer.apiKeys":"Khóa API","menu.developer.events":"Sá»± kiá»n","menu.developer.webhooks":"Webhook","menu.developerGuides":"Hưá»ng dẫn","menu.disputes":"Khiếu nại","menu.expenses":"Chi phÃ","menu.expenses.activate":"KÃch hoạt tÃnh nÄng Chi phÃ","menu.expenses.automations":"Tá»± Äá»ng hóa chi phÃ","menu.expenses.cardExpenses":"Chi tiêu bằng thẻ","menu.expenses.entitySettings":"Cà i Äặt pháp nhân chi phÃ","menu.expenses.manageCardExpense":"Äi Äến thông tin chi tiêu bằng thẻ","menu.expenses.manageReimbursement":"Äi Äến thông tin vá» khoản bá»i hoà n","menu.expenses.pricing":"Äá»nh giá chi phÃ","menu.expenses.reimbursements":"Khoản bá»i hoà n","menu.expenses.settings":"Cà i Äặt chi phÃ","menu.globalAccounts":"Tà i khoản quá»c tế","menu.globalAccounts.accounts":"Tóm tắt","menu.globalAccounts.accounts.detail":"Thông tin Tà i khoản quá»c tế","menu.globalAccounts.accounts.new":"Tạo Tà i khoản quá»c tế","menu.globalAccounts.openingForm":"Biá»u mẫu má» tà i khoản","menu.globalAccounts.transactions":"Tất cả các giao dá»ch","menu.kyb.onboarding":"ÄÆ¡n ÄÄng ký thanh toán","menu.kyb.ongoing":"KÃch hoạt phương thức thanh toán bá» sung","menu.lending.details":"Thông tin vá» tà i khoản tÃn dụng","menu.lending.onboarding":"KÃch hoạt hạn mức tÃn dụng","menu.lending.repayment":"Trả nợ tÃn dụng","menu.linkedAccounts":"Tà i khoản Äã liên kết","menu.linkedAccounts.accounts":"Tà i khoản Äã liên kết","menu.linkedAccounts.bankStatementVerify":"Xác minh tà i khoản ngân hà ng bên ngoà i cá»§a bạn","menu.linkedAccounts.contactInfo":"Hoà n tất thông tin liên há» doanh nghiá»p cá»§a bạn","menu.linkedAccounts.directDebit":"Nạp tiá»n qua trÃch nợ tá»± Äá»ng","menu.linkedAccounts.directDebitSuccess":"Tiá»n cá»§a bạn Äang ÄÆ°á»£c chuyá»n Äến","menu.linkedAccounts.heading":"Liên kết tà i khoản ngân hà ng bên ngoà i cá»§a bạn","menu.myCards":"Thẻ cá»§a tôi","menu.org.approvals":"Phê duyá»t chi tiêu","menu.org.approvals.bills":"Phê duyá»t hóa ÄÆ¡n","menu.org.approvals.bills.edit":"Chá»nh sá»a quy trình phê duyá»t hóa ÄÆ¡n","menu.org.approvals.card-expenses":"Phê duyá»t các khoản chi tiêu bằng thẻ","menu.org.approvals.card-expenses.edit":"Chá»nh sá»a quy trình phê duyá»t chi tiêu bằng thẻ","menu.org.approvals.expenses":"Phê duyá»t chi phÃ","menu.org.approvals.expenses.edit":"Chá»nh sá»a quy trình phê duyá»t chi phÃ","menu.org.approvals.purchaseRequests":"Phê duyá»t yêu
259cầu ÄÆ¡n hà ng","menu.org.approvals.purchaseRequests.edit":"Chá»nh sá»a quy trình phê duyá»t yêu cầu ÄÆ¡n hà ng","menu.org.approvals.reimbursements":"Phê duyá»t bá»i hoà n","menu.org.approvals.reimbursements.edit":"Chá»nh sá»a quy trình phê duyá»t bá»i hoà n","menu.org.approvals.spendRequests":"Phê duyá»t yêu cầu cấp thẻ","menu.org.approvals.spendRequests.edit":"Chá»nh sá»a quy trình phê duyá»t yêu cầu cấp thẻ","menu.org.approvals.transfers":"Phê duyá»t chuyá»n tiá»n","menu.org.approvals.vendors":"Nhà cung cấp","menu.org.approvals.vendors.edit":"Chá»nh sá»a quy trình phê duyá»t nhà cung cấp","menu.org.approvals.vendors.new":"Phê duyá»t nhà cung cấp má»i","menu.org.balances":"Sá» dư","menu.org.billing":"Láºp hóa ÄÆ¡n","menu.org.billing.customers":"Khách hà ng","menu.org.billing.invoices":"Hóa ÄÆ¡n","menu.org.billing.products":"Sản phẩm","menu.org.billing.productsCatalog":"Danh mục sản phẩm","menu.org.billing.settings":"Cà i Äặt thanh toán","menu.org.billing.subscriptions":"Gói ÄÄng ký","menu.org.billing.ubb":"Äo lưá»ng mức sá» dụng","menu.org.businessAccount":"Tà i khoản doanh nghiá»p","menu.org.businessAccount.allAccounts":"Tất cả các tà i khoản ({{count}})","menu.org.businessAccount.loadAccountsError":"Không tải ÄÆ°á»£c tà i khoản cá»§a bạn.","menu.org.businessAccount.retry":"Thá» lại","menu.org.connections":"Kết ná»i","menu.org.disputes":"Khiếu nại","menu.org.payments":"Tá»ng quan vá» thanh toán","menu.org.payments.accounts":"Tà i khoản thanh toán","menu.org.payments.analytics":"Phân tÃch","menu.org.payments.dashboard":"Trang tá»ng quan","menu.org.payments.dashboardNew":"Tá»ng quan","menu.org.payments.disputeAnalytics":"Phân tÃch tranh chấp","menu.org.payments.disputeDetails":"Thông tin vá» khiếu nại","menu.org.payments.disputes":"Khiếu nại","menu.org.payments.paymentActivity":"Hoạt Äá»ng thanh toán","menu.org.payments.paymentActivityNew":"Tất cả thanh toán","menu.org.payments.paymentDetails":"Thông tin vá» khoản thanh toán","menu.org.payments.paymentMethods":"Phương thức thanh toán","menu.org.payments.settings":"Các thiết láºp tà i khoản","menu.org.payments.settlementsSummary":"Tóm tắt","menu.org.payments.surcharge":"Phụ phÃ","menu.org.paymentsNew":"Thanh toán","menu.org.planBilling":"Gói & thanh toán","menu.org.reports":"Báo cáo","menu.org.settings":"Cà i Äặt","menu.org.theme":"Chá»§ Äá»","menu.org.theme.create":"Tạo chá»§ Äá»","menu.org.theme.edit":"Chá»nh sá»a chá»§ Äá»","menu.org.theme.management":"Quản lý chá»§ Äá»","menu.org.uam":"Quản lý ngưá»i dùng","menu.org.uam.createAccount":"Tạo tà i khoản","menu.org.uam.createEntity":"Tạo pháp nhân","menu.org.uam.createRole":"Tạo vai trò","menu.org.uam.editRole":"Chá»nh sá»a vai trò","menu.org.uam.fields":"Trưá»ng","menu.org.uam.inviteUsers":"Má»i ngưá»i dùng","menu.org.uam.roles":"Vai trò","menu.org.uam.users":"Ngưá»i dùng","menu.org.users":"Ngưá»i dùng","menu.orgBalances.deepLinks.aggregateFunds":"Tá»ng hợp tiá»n","menu.orgBalances.deepLinks.balances":"Sá» dư","menu.orgBalances.deepLinks.transactions":"Các giao dá»ch","menu.overview":"Tá»ng quan","menu.paymentActivity":"Hoạt Äá»ng thanh toán","menu.paymentLinks":"Liên kết thanh toán","menu.paymentLinks.createPaymentLink":"Tạo liên kết thanh toán","menu.paymentLinks.editPaymentLink":"Chá»nh sá»a liên kết thanh toán","menu.paymentLinks.paymentLinkDetails":"Thông tin vá» liên kết thanh toán","menu.paymentLinks.paymentLinkSettings":"Cà i Äặt liên kết thanh toán","menu.payments":"Thanh toán","menu.payments.addApplePayCertificate":"Chứng nháºn iOS","menu.payments.addApplePayDomain":"Thêm miá»n","menu.payments.allPayments":"Tất cả các khoản thanh toán","menu.payments.analytics":"Phân tÃch","menu.payments.dashboard":"Tá»ng quan","menu.payments.disputeDetails":"Thông tin vá» khiếu nại","menu.payments.disputes":"Khiếu nại","menu.payments.paymentDetails":"Thông tin vá» khoản thanh toán","menu.payments.paymentMethods":"Các phương thức thanh toán","menu.payments.settings":"Cà i Äặt","menu.payments.settlementsNew":"Tóm tắt","menu.payments.surcharge":"Quản lý mức phà phụ thu cá»§a bạn","menu.payments.terminals":"Cá»ng","menu.performance":"Hiá»u suất","menu.planBilling":"Gói & thanh toán","menu.purchaseOrders":"ÄÆ¡n hà ng","menu.purchaseOrders.activate":"KÃch hoạt ÄÆ¡n hà ng","menu.purchaseOrders.details":"Thông tin vá» ÄÆ¡n hà ng","menu.purchaseOrders.import":"Nháºp ÄÆ¡n hà ng","menu.purchaseOrders.settings":"Cà i Äặt vá» ÄÆ¡n hà ng","menu.referral":"Giá»i thiá»u","menu.reports":"Báo cáo","menu.reports.deepLinks.downloads":"Tải xuá»ng","menu.reports.deepLinks.reportsOverview":"Tá»ng quan vá
259» báo cáo","menu.rewards":"Phần thưá»ng","menu.rewards.dashboard.programmeDetails":"Thông tin vá» chương trình","menu.rewards.partnerPerks":"Quyá»n lợi dà nh cho Äá»i tác","menu.rfi.kyb":"Yêu cầu thông tin vá» KYB","menu.rfi.kyb_ongoing":"Yêu cầu thông tin vá» KYB Äang diá»
n ra","menu.rfi.kyc":"Yêu cầu thông tin vá» KYC","menu.rfi.lending":"Yêu cầu thông tin vá» cho vay","menu.rfi.ongoing_kyc":"Yêu cầu thông tin vá» KYC Äang diá»
n ra","menu.rfi.order":"Yêu cầu thông tin vá» ÄÆ¡n hà ng","menu.rfi.pa":"Yêu cầu thông tin vá» PA","menu.rfi.tm":"Yêu cầu cung cấp thông tin vá» giao dá»ch","menu.rfi.tm.list":"Yêu cầu thông tin vá» giao dá»ch","menu.rfi.user":"Yêu cầu thông tin vá» ngưá»i dùng","menu.risk":"Rá»§i ro","menu.risk.addWatchlist":"Thêm các mục má»i và o Danh sách theo dõi cá»§a bạn","menu.risk.analytics":"Phòng chá»ng gian láºn","menu.risk.buckAddWatchlist":"Thêm mục má»i và o Danh sách theo dõi qua tá»p","menu.risk.watchList":"Danh sách theo dõi","menu.salesOrders":"ÄÆ¡n hà ng bán","menu.salesOrders.detail":"Thông tin vá» ÄÆ¡n hà ng bán","menu.salesOrders.edit":"Chá»nh sá»a ÄÆ¡n hà ng bán","menu.salesOrders.fulfillment.edit":"Chá»nh sá»a vá» hoà n tất ÄÆ¡n hà ng","menu.salesOrders.fulfillment.new":"Hoà n tất ÄÆ¡n hà ng má»i","menu.salesOrders.new":"ÄÆ¡n hà ng bán má»i","menu.security":"Bảo máºt","menu.settings":"Cà i Äặt","menu.settlements":"Quyết toán","menu.spend":"Chi tiêu","menu.spendAccounting":"Kế toán","menu.spendBudgets":"Ngân sách","menu.spendBudgets.budgets":"Ngân sách","menu.spendRequests":"Các yêu cầu","menu.spendRequests.activate":"KÃch hoạt yêu cầu","menu.spendRequests.create":"Tạo yêu cầu","menu.spendRequests.details":"Thông tin vá» yêu cầu","menu.spendRequests.settings":"Cà i Äặt yêu cầu","menu.spendRequests.settings.entity":"Cà i Äặt biá»u mẫu yêu cầu theo pháp nhân","menu.spendRequests.spendRequest":"Yêu cầu vá» chi tiêu","menu.statements":"Sao kê","menu.surcharge":"Phụ phÃ","menu.taxFiling":"Kê khai thuế","menu.taxFiling.settings":"Cà i Äặt vá» kê khai thuế","menu.taxFiling.summary":"Kê khai thuế","menu.terminals":"Máy POS","menu.transfers":"Chuyá»n tiá»n","menu.transfers.approval":"Phê duyá»t chuyá»n tiá»n","menu.transfers.approval.changelog":"Xem nháºt ký thay Äá»i quy trình","menu.transfers.approval.changerequests":"Xem các yêu cầu thay Äá»i quy trình","menu.transfers.approval.edit":"Thiết láºp các lá»p phê duyá»t và ngưá»i phê duyá»t","menu.transfers.batchDetail":"Thông tin vá» chuyá»n tiá»n hà ng loạt","menu.transfers.batchEdit":"Chá»nh sá»a vá» chuyá»n tiá»n hà ng loạt","menu.transfers.batchNew":"Chuyá»n tiá»n hà ng loạt","menu.transfers.booked":"Các khoản chuyá»n tiá»n Äã Äặt lá»n
259h","menu.transfers.edit":"Chá»nh sá»a thanh toán","menu.transfers.limitManagement":"Quản lý cá»a hà ng và hạn mức chuyá»n tiá»n","menu.transfers.limitManagement.salesOrderUpload":"Chá»n má»t cá»a hà ng Äá» tải lên các ÄÆ¡n hà ng bán","menu.transfers.limitManagement.storeConnect":"Chá»n sà n thương mại Äiá»n tá» hoặc ná»n tảng SaaS cho cá»a hà ng cá»§a bạn","menu.transfers.new":"Chuyá»n khoản má»i (Thanh toán)","menu.transfers.settings":"Cà i Äặt chuyá»n tiá»n","menu.transfers.transferMethods":"Phương thức chuyá»n tiá»n","menu.userManagement":"Quản lý ngưá»i dùng","menu.users":"Ngưá»i dùng","menu.vendor":"Nhà cung cấp","menu.vendor.activate":"KÃch hoạt nhà cung cấp","menu.vendor.approvals":"Phê duyá»t nhà cung cấp","menu.vendor.details":"Thông tin nhà cung cấp","menu.vendor.new":"Nhà cung cấp má»i","menu.vendor.pricing":"Giá","menu.vendor.settings":"Cà i Äặt nhà cung cấp","menu.wallet":"VÃ","menu.wallet.deepLinks.cashBalanceDetails":"Thông tin vá» sá» dư tiá»n mặt","menu.wallet.deepLinks.configuration":"Cà i Äặt","menu.wallet.deepLinks.prepaymentBalance":"Sá» dư trả trưá»c","menu.wallet.yield.addFunds":"Thêm tiá»n và o Yield","menu.wallet.yield.balanceDetails":"Thông tin vá» sá» dư Yield","menu.wallet.yield.balanceStatements":"Sao kê sá» dư Yield","menu.wallet.yield.ineligible":"Không Äá»§ Äiá»u kiá»n tham gia Yield","menu.wallet.yield.onboarding":"ÄÄng ký Yield","menu.wallet.yield.rescheduleOnboarding":"Lên lá»ch lại Cuá»c há»p xác minh Yield","menu.wallet.yield.withdraw":"Rút từ Yield","menu.wallet_my":"Các giao dá»ch","menu.webhooks":"Webhook","messages.viewingOrgAccountFromAccountGroup.body":"Äá»i vá»i tất cả các tÃnh nÄng, và dụ như Chi phÃ, Hóa ÄÆ¡n và Cà i Äặt, hãy chuyá»n sang Tá» chức {{orgName}}.","messages.viewingOrgAccountFromAccountGroup.cta.switchView":"Chuyá»n Äá»i chế Äá» xem","messages.viewingOrgAccountFromAccountGroup.heading":"Bạn Äang xem tà i khoản nà y từ nhóm tà i khoản {{accountGroupName}}","navigation.account":"Tà i khoản","navigation.accountGroup":"Nhóm tà i khoản","navigation.close":"Äóng","navigation.entity":"Pháp nhân","navigation.mainMenuTooltip":"Menu chÃnh","navigation.moreSubPages":"Thêm {{parentTitle}} trang","navigation.open":"Má» menu Äiá»u hưá»ng","navigation.organisation":"Tá» chức","navigation.poweredBy":"ÄÆ°á»£c cung cấp bá»i <logo />","navigation.selectAccount":"Chá»n má»t tà i khoản","navigation.selectOrganisation":"Chá»n má»t tá» chức","orgBalances":"Sá» dư","orgTransactions":"Các giao dá»ch","sandbox.banner.text":"Äây là môi trưá»ng thá» nghiá»m. <getStartedLink>Chuyá»n sang sản xuất</getStartedLink> Äá» thá»±c hiá»n má»t giao dá»ch thá»±c sá»±.","security":"Bảo máºt","selectAPlan":"Chá»n má»t gói","selectAPlanToGetStarted":"Chá»n má»t gói Äá» bắt Äầu","selectAPlanToGetStartedDesc":"Äá» bắt Äầu, trưá»c tiên hãy chá»n má»t trong các gói có sẵn cá»§a chúng tôi. Sau khi ÄÄng ký má»t gói, bạn sẽ có thá» truy cáºp tà i khoản và dữ liá»u cá»§a mình.","sessionDescription":"Äá» bảo vá» an toà n cho bạn, chúng tôi sẽ tá»± Äá»ng ÄÄng xuất cho bạn sau má»t khoảng thá»i gian không hoạt Äá»ng.","sessionHeading":"Bạn Äã không hoạt Äá»ng trong má»t thá»i gian","settings":"Cà i Äặt","skeleton.loadingNavigationTabs":"Äang tải các tab Äiá»u hưá»ng","skeleton.loadingPageContent":"Äang tải ná»i dung trang","tag.new":"Má»i","transactions":"Các giao dá»ch","transfers.approval":"Phê duyá»t chuyá»n tiá»n","transfers.methods":"Phương thức chuyá»n tiá»n","transfers.settings":"Cà i Äặt","transfers.summary":"Tóm tắt","verification.content":"Vui lòng hoà n tất xác minh tà i khoản cá»§a bạn Äá» khám phá các dá»ch vụ cá»§a Airwallex","verification.heading":"Hoà n tất xác minh tà i khoản cá»§a bạn","verification.primary":"Bắt Äầu","verification.secondary":"Có thá» Äá» sau","verificationFailure.content":"Rất tiếc, chúng tôi không thá» há» trợ bạn và o lúc nà y.","verificationFailure.heading":"KÃch hoạt tà i khoản không thà nh công","verificationFailure.primary":"Äóng","verificationSubmitted.content":"Äá»i ngÅ© cá»§a chúng tôi Äang kiá»m tra thông tin cá»
259§a bạn và bạn sẽ nháºn ÄÆ°á»£c email hoặc tin nhắn sau khi hoà n tất","verificationSubmitted.heading":"Äang tiến hà nh xác minh tà i khoản","verificationSubmitted.primary":"Xác nháºn","walletSummary":"Tóm tắt vá» vÃ"}'),rC=JSON.parse('{"_comment":"This file is generated via awx-i18n-service, please do not update contents manually","accountStatus.SUSPENDED":"Suspenso","accountSwitch.accounts":"Contas","accountSwitch.nAccounts_one":"{{count}} conta","accountSwitch.nAccounts_other":"{{count}} contas","accountSwitch.newAccount":"Nova conta","accountSwitch.viewAndCreateAccounts":"Ver e criar contas","accountSwitch.newAccountGroup":"Novo grupo de contas","accountSwitch.noResultsFound":"Nenhum resultado encontrado","accountSwitch.trySearchingWithDifferentKeywords":"Tente pesquisar com palavras-chave diferentes","assistantView":"Visualização do assistente","backToPersonalView":"Voltar à visão pessoal","balances":"Saldos","contactSupport":"Entre em contato com o suporte","enrollment":"Informações sobre o declarante","guidedTour.accountSwitcher.content":"As contas permitem que você gerencie fundos, crie transferências, emita cartões, aceite pagamentos e muito mais. Você pode alternar para suas outras contas na parte superior do menu à esquerda.","guidedTour.accountSwitcher.employee.mame.title":"Fácil acesso à s suas contas","guidedTour.accountSwitcher.employee.mase.title":"Fácil acesso à s suas contas","guidedTour.accountSwitcher.mame.content":"Você pode usar o alternador para ver os recursos especÃficos da conta aqui.","guidedTour.accountSwitcher.mase.content":"Você pode usar o alternador para ver os recursos especÃficos da conta aqui.","guidedTour.accountSwitcher.sase.content":"As contas permitem que você gerencie fundos, crie transferências, emita cartões, aceite pagamentos e muito mais.","guidedTour.accountSwitcher.sase.title":"Esta é a seção da conta","guidedTour.accountSwitcher.title":"Esta é a seção da conta","guidedTour.orgSwitcher.content":"Gerencie os fluxos de trabalho de sua empresa aqui. Esses recursos se aplicam a todas as suas contas.","guidedTour.orgSwitcher.employee.mame.title":"Sua nova organização está aqui","guidedTour.orgSwitcher.employee.mase.title":"Visualizar e gerenciar recursos globais em todas as suas contas","guidedTour.orgSwitcher.mame.content":"Visualize e gerencie recursos globais em todas as suas entidades e contas","guidedTour.orgSwitcher.sase.content":"Gerencie os fluxos de trabalho de sua empresa aqui. Esses recursos se aplicam a todas as suas contas, mesmo que sua empresa cresça e você adicione contas.","guidedTour.orgSwitcher.sase.title":"Esta é a seção da sua organização","guidedTour.orgSwitcher.title":"Esta é a seção da sua organização","kycStatus.FAILURE":"Falha","kycStatus.INIT":"Pendente","kycStatus.SUBMITTED":"Em análise","linkedaccounts":"Contas vinculadas","menu.account":"Conta","menu.account.deepLinks.accountDetails":"Detalhes da conta","menu.account.deepLinks.accountGroup":"Grupo de contas","menu.account.deepLinks.accountProfile":"Perfil","menu.account.deepLinks.accountSettings":"Configurações da conta","menu.account.deepLinks.accountStatements":"Extratos da conta","menu.account.deepLinks.accounts":"Contas","menu.account.deepLinks.addEmailAddress":"Adicionar endereço de e-mail","menu.account.deepLinks.addMobileNumber":"Adicionar número de celular","menu.account.deepLinks.apiKeys":"Chaves de API","menu.account.deepLinks.assistants":"Assistentes","menu.account.deepLinks.bankDetails":"Dados bancários","menu.account.deepLinks.changePassword":"Alterar senha","menu.account.deepLinks.developerSettings":"Configurações do desenvolvedor","menu.account.deepLinks.groupManagement":"Gerente de grupo","menu.account.deepLinks.notifications":"Notificações","menu.account.deepLinks.security":"Segurança","menu.account.deepLinks.setupTwoFactorAuth":"Configurar a autenticação de dois fatores","menu.account.deepLinks.userManagement":"Gerenciamento de usuários","menu.account.deepLinks.users":"Usuários","menu.accountDetails":"Detalhes da conta","menu.accountGroup":"Grupo de contas","menu.accountGroupManagement":"Gerente de grupo","menu.addFunds":"Adicionar fundos","menu.addFunds.airwallexPay":"Receber fundos ou recarregar a carteira por meio do Airwallex Pay","menu.addFunds.method":"Selecione o método para adicionar fundos","menu.addFunds.summary":"Adicionar fundos em sua carteira","menu.apiKeys":"Chaves de API","menu.approvals":"Aprovadores","menu.balances":"Saldos","menu.batchTransfers":"Transferências em lote","menu.billPay":"Contas","menu.billPay.activate":"Ativar contas","menu.billPay.createBill":"Adicionar nova fatura","menu.billPay.manageBill":"Ir para os detalhes da fatura","menu.billPay.payBills":"Pagamento de Contas","menu.billPay.settings":"Configurações","menu.billPay.summary":"Resumo","menu.cards":"Cartões","menu.cards.cardActivation":"Selecione o cartão a ser ativado","menu.cards.cardSettings":"Configurações","menu.cards.cardholders":"Portadores do cartão","menu.cards.changePin":"Alterar PIN","menu.cards.companyCards":"Cartões Corporativos","menu.cards.createCompanyCard":"Criar um cartão corporativo","menu.cards.createEmployeeCard":"Criar um cartão de Funcionários","menu.cards.deliveryAddress":"Fornecer endereço de entrega","menu.cards.editCard":"Configurar detalhes do cartão","menu.cards.editCompanyCardOwners":"Editar cartão","menu.cards.identityReview":"Revisão da identidade","menu.cards.reissuePhysical":"Renovar cartão","menu.cards.replaceCard":"Selecione o motivo da substituição","menu.cards.selectCardType":"Criar cartão","menu.cards.summary":"Resumo","menu.cards.transactionFeedback":"Obter ajuda com essa transação","menu.cards.transactions":"Transações","menu.connectedAccounts":"Contas conectadas","menu.connectedAccounts.accountDetails":"Detalhes da conta","menu.connectedAccounts.accounts":"Contas","menu.connectedAccounts.rfiCenter":"Centro de RFI","menu.connectedAccounts.rfiDetails":"Detalhes da RFI (Pedido de informações)","menu.connectedAccounts.transactionDetail
259s":"Detalhes da transação","menu.connectedAccounts.transactions":"Transações","menu.connectionLink":"Link de conexão","menu.connections":"Conexões","menu.connections.title":"Conexões","menu.connections.title.connect.marketplace":"Conectar marketplace","menu.connections.title.netsuite.expense":"Configurar despesas do NetSuite","menu.connections.title.oauth.consent":"Consentimento OAuth","menu.connections.title.quickbooks.expense.accountingData":"Configurar dados contábeis de despesas do QuickBooks","menu.connections.title.sage.refreshConnection":"Atualizar a conexão do Sage","menu.connections.title.setup.accountingProvider":"Configurar provedor de contabilidade","menu.connections.title.setup.mybank":"Configuração do Mybank","menu.connections.title.setup.netsuite":"Configuração do NetSuite","menu.connections.title.setup.quickbooks":"Configuração do QuickBooks","menu.connections.title.setup.sage":"Configuração do Sage","menu.connections.title.setup.walmart":"Configuração do Walmart","menu.connections.title.setup.xero":"Configurar o Xero","menu.connections.title.xero.expense.accountingData":"Configurar dados contábeis de despesas do Xero","menu.connections.title.xero.refreshConnection":"Atualizar a conexão com o Xero","menu.contacts":"Contatos","menu.contacts.payer":"Pagadores","menu.contacts.payer.edit":"Editar pagador","menu.contacts.payer.new":"Novo pagador","menu.contacts.recipient":"Beneficiários","menu.contacts.recipient.edit":"Editar beneficiário","menu.contacts.recipient.new":"Novo beneficiário","menu.conversions":"Conversões","menu.conversions.booked":"Conversões reservadas","menu.conversions.limitOrders":"Ordens limitadas","menu.conversions.new":"Nova conversão","menu.conversions.settings":"Configurações","menu.customers":"Clientes","menu.dashboard":"Painel de controle","menu.declarationCenter":"Centro de Declarações","menu.developer":"Desenvolvedor","menu.developer.apiKeys":"Chaves de API","menu.developer.events":"Eventos","menu.developer.webhooks":"Webhooks","menu.developerGuides":"Guias","menu.disputes":"Disputas","menu.expenses":"Despesas","menu.expenses.activate":"Ativar despesas","menu.expenses.automations":"Automações para despesas","menu.expenses.cardExpenses":"Despesas com cartão","menu.expenses.entitySettings":"Configurações da entidade de despesa","menu.expenses.manageCardExpense":"Ir para os detalhes de despesas com cartão","menu.expenses.manageReimbursement":"Ir para detalhes do reembolso","menu.expenses.pricing":"Preço das despesas","menu.expenses.reimbursements":"Reembolsos","menu.expenses.settings":"Configurações de despesas","menu.globalAccounts":"Contas Globais","menu.globalAccounts.accounts":"Resumo","menu.globalAccounts.accounts.detail":"Detalhes da conta global","menu.globalAccounts.accounts.new":"Criar conta global","menu.globalAccounts.openingForm":"Formulário de abertura","menu.globalAccounts.transactions":"Todas as transações","menu.kyb.onboarding":"Aplicativo de pagamento","menu.kyb.ongoing":"Ativação de método de pagamento adicional","menu.lending.details":"Detalhes da conta de crédito","menu.lending.onboarding":"Ativar limite de crédito","menu.lending.repayment":"Reembolso de crédito","menu.linkedAccounts":"Contas vinculadas","menu.linkedAccounts.accounts":"Contas vinculadas","menu.linkedAccounts.bankStatementVerify":"Verifique sua conta bancária externa","menu.linkedAccounts.contactInfo":"Preencha as informações de contato da sua empresa","menu.linkedAccounts.directDebit":"Adicionar fundos por meio de débito automático","menu.linkedAccounts.directDebitSuccess":"Seus fundos estão a caminho","menu.linkedAccounts.heading":"Vincular sua conta bancária externa","menu.myCards":"Meus cartões","menu.org.approvals":"Aprovadores de despesas","menu.org.approvals.bills":"Aprovações de fatura","menu.org.approvals.bills.edit":"Editar fluxo de aprovação de faturas","menu.org.approvals.card-expenses":"Aprovações de despesas com cartão","menu.org.approvals.card-expenses.edit":"Editar o fluxo de aprovação de despesas com cartão","menu.org.approvals.expenses":"Aprovadores de despesas","menu.org.approvals.expenses.edit":"Editar o fluxo de aprovação de despesas","menu.org.approvals.purchaseRequests":"Aprovadores de pedidos de compra","menu.org.approvals.purchaseRequests.edit":"Editar o fluxo de aprovação de pedidos de compra","menu.org.approvals.reimbursements":"Aprovações de reembolsos","menu.org.approvals.reimbursements.edit":"Editar o fluxo de aprovação de reembolsos","menu.org.approvals.spendRequests":"Aprovações de solicitações de cartão","menu.org.approvals.spendRequests.edit":"Editar fluxo de aprovação de solicitações de cartão","menu.org.approvals.transfers":"Aprovações de transferências","menu.org.approvals.vendors":"Fornecedores","menu.org.approvals.vendors.edit":"Editar o fluxo de aprovação de fornecedores","menu.org.approvals.vendors.new":"Novas aprovações de fornecedores","menu.org.balances":"Saldos","menu.org.billing":"Faturamento","menu.org.billing.customers":"Clientes","menu.org.billing.invoices":"Faturas","menu.org.billing.products":"Produtos","menu.org.billing.productsCatalog":"Catálogo de produtos","menu.org.billing.settings":"Configurações de faturamento","menu.org.billing.subscriptions":"Assinaturas","menu.org.billing.ubb":"Medição de uso","menu.org.businessAccount":"Contas empresariais","menu.org.businessAccount.allAccounts":"Todas as contas ({{count}})","menu.org.businessAccount.loadAccountsError":"Falha ao carregar suas contas.","menu.org.businessAccount.retry":"Repetir","menu.org.connections":"Conexões","menu.org.disputes":"Disputas","menu.org.payments.dashboard":"Painel de controle","menu.org.payments.disputeAnalytics":"Análise de disputas","menu.org.payments.disputeDetails":"Detalhes da disputa","menu.org.payments.disputes":"Disputas","menu.org.payments.paymentActivityNew":"Todos os pagamentos","menu.org.payments.paymentDetails":"Detalhes do pagamento","menu.org.payments.settlementsSummary":"Resumo","menu.org.paymentsNew":"Pagamentos","menu.org.payments.paymentStatus":"Status do KYB","menu.org.planBilling":"Plano & Faturamento","menu.org.reports":"Relatórios","menu.org.settings":"Configurações","menu.org.theme":"Temas","menu.org.theme.management":"Gerenciar temas","menu.org.theme.create":"Criar tema","menu.org.theme.edit":"Editar tema","menu.org.uam":"Gerenciamento de usuários","menu.org.uam.createAccount":"Criar conta","menu.org.uam.createEntity":"Criar entidade","menu.org.uam.createRole":"Criar função","menu.org.uam.editRole":"Editar função","menu.org.uam.fields":"Campos","menu.org.uam.inviteUsers":"Convidar usuários","menu.org.uam.roles":"Funções","menu.org.uam.users":"Usuários","menu.org.users":"Usuários","menu.orgBalances.deepLinks.aggregateFunds":"Fundos agregados","menu.orgBalances.deepLinks.balances":"Saldos","menu.orgBalances.deepLinks.transactions":"Transações","menu.overview":"Visão geral","menu.paymentActivity":"Atividade de pagamento","menu.paymentLinks":"Links de Pagamento","menu.paymentLinks.createPaymentLink":"Criar Links de Pagamento","menu.paymentLinks.editPaymentLink":"Editar link de pagamento","menu.paymentLinks.paymentLinkDetail
259s":"Detalhes do link de pagamento","menu.paymentLinks.paymentLinkSettings":"Configurações de Link de Pagamento","menu.payments":"Pagamentos","menu.payments.addApplePayCertificate":"Certificados iOS","menu.payments.addApplePayDomain":"Adicionar domÃnio","menu.payments.allPayments":"Todos os pagamentos","menu.payments.analytics":"Análises","menu.payments.dashboard":"Painel de controle","menu.payments.disputeDetails":"Detalhes da disputa","menu.payments.disputes":"Disputas","menu.payments.paymentDetails":"Detalhes do pagamento","menu.payments.paymentMethods":"Métodos de pagamento","menu.payments.settings":"Configurações","menu.payments.settlementsNew":"Resumo","menu.payments.surcharge":"Gerencie sua Tarifa de cobrança adicional","menu.payments.terminals":"Terminais","menu.performance":"Desempenho","menu.planBilling":"Plano & Faturamento","menu.purchaseOrders":"Pedidos de compra","menu.purchaseOrders.activate":"Ativar pedidos de compra","menu.purchaseOrders.details":"Detalhes do pedido de compra","menu.purchaseOrders.import":"Importar ordens de compra","menu.purchaseOrders.settings":"Configurações de pedidos de compra","menu.referral":"Indicação","menu.reports":"Relatórios","menu.reports.deepLinks.downloads":"Downloads","menu.reports.deepLinks.reportsOverview":"Visão geral dos relatórios","menu.rewards":"Recompensas","menu.rewards.dashboard.programmeDetails":"Detalhes do programa","menu.rewards.partnerPerks":"Vantagens do parceiro","menu.rfi.kyb":"KYB RFI","menu.rfi.kyb_ongoing":"KYB RFI em andamento","menu.rfi.kyc":"KYC RFI","menu.rfi.lending":"Empréstimo RFI","menu.rfi.ongoing_kyc":"KYC RFI em andamento","menu.rfi.order":"Pedido de RFI","menu.rfi.pa":"PA RFI","menu.rfi.tm":"Transação de RFI","menu.rfi.tm.list":"Transação de RFIs","menu.rfi.user":"RFI do usuário","menu.risk":"Risco","menu.risk.addWatchlist":"Adicionar novos itens à sua Lista de Monitoramento","menu.risk.analytics":"Prevenção de fraude","menu.risk.buckAddWatchlist":"Adicionar novos itens da Lista de Monitoramento via arquivo","menu.risk.watchList":"Lista de Monitoramento","menu.salesOrders":"Pedidos de vendas","menu.salesOrders.detail":"Detalhes do pedido de vendas","menu.salesOrders.edit":"Editar ordem do cliente","menu.salesOrders.fulfillment.edit":"Editar preenchimento","menu.salesOrders.fulfillment.new":"Novo preenchimento","menu.salesOrders.new":"Novo pedido de vendas","menu.security":"Segurança","menu.settings":"Configurações","menu.settlements":"Liquidações","menu.spend":"Gastar","menu.spendAccounting":"Contabilidade","menu.spendRequests":"Solicitações","menu.spendRequests.activate":"Ativar solicitações","menu.spendRequests.create":"Criar solicitação","menu.spendRequests.details":"Solicitar detalhes","menu.spendRequests.settings":"Configurações de solicitações","menu.spendRequests.settings.entity":"Configurações da entidade do formulário de solicitação","menu.spendRequests.spendRequest":"Solicitações de despesas","menu.spendBudgets":"Orçamentos","menu.spendBudgets.budgets":"Orçamentos","menu.statements":"Declarações","menu.taxFiling":"Declaração de imposto","menu.taxFiling.settings":"Configurações de arquivamento de impostos","menu.taxFiling.summary":"Declaração de impostos","menu.terminals":"Terminais POS","menu.transfers":"Transferências","menu.transfers.approval":"Aprovações de transferências","menu.transfers.approval.changelog":"Visualize o registro de alterações do fluxo de trabalho","menu.transfers.approval.changerequests":"Exibir solicitações de alteração de fluxo de trabalho","menu.transfers.approval.edit":"Configurar camadas de aprovação e aprovadores","menu.transfers.batchDetail":"Detalhes da transferência em lote","menu.transfers.batchEdit":"Editar transferência em lote","menu.transfers.batchNew":"Nova transferência em lote","menu.transfers.booked":"Transferências reservadas","menu.transfers.edit":"Editar pagamento","menu.transfers.limitManagement":"Gerenciamento de limites de armazenamento e transferência","menu.transfers.limitManagement.salesOrderUpload":"Selecione uma loja para carregar pedidos de vendas","menu.transfers.limitManagement.storeConnect":"Escolha o marketplace ou a plataforma SaaS para sua loja","menu.transfers.new":"Nova transferência (pagamento)","menu.transfers.settings":"Configurações de transferência","menu.transfers.transferMethods":"Métodos de transferência","menu.userManagement":"Gerenciamento de usuários","menu.users":"Usuários","menu.vendor":"Fornecedores","menu.vendor.activate":"Ativar fornecedor","menu.vendor.approvals":"Aprovações do fornecedor","menu.vendor.details":"Detalhes do fornecedor","menu.vendor.new":"Novo fornecedor","menu.vendor.pricing":"Precificação","menu.vendor.settings":"Configurações do fornecedor","menu.wallet":"Carteira","menu.wallet.deepLinks.cashBalanceDetails":"Detalhes do saldo de caixa","menu.wallet.deepLinks.configuration":"Configuração.","menu.wallet.deepLinks.prepaymentBalance":"Saldo de pré-pagamento","menu.wallet.yield.addFunds":"Adicionar fundos ao Yield","menu.wallet.yield.balanceDetails":"Detalhes do saldo de Yield","menu.wallet.yield.balanceStatements":"Saldos dos extratos de Yield","menu.wallet.yield.ineligible":"Inelegibilidade de Yield","menu.wallet.yield.onboarding":"Integração de Yield","menu.wallet.yield.rescheduleOnboarding":"Reagendar a reunião de verificação de Yield","menu.wallet.yield.withdraw":"Saque de Yield","menu.wallet_my":"Transações","menu.webhooks":"Webhooks","messages.viewingOrgAccountFromA
259ccountGroup.body":"Para todos os recursos, como Despesas, Contas e Configurações, mude para Organização {{orgName}}.","messages.viewingOrgAccountFromAccountGroup.cta.switchView":"Visualização do interruptor","messages.viewingOrgAccountFromAccountGroup.heading":"Você está visualizando esta conta do grupo de contas {{accountGroupName}}","navigation.account":"Conta","navigation.accountGroup":"Grupo de contas","navigation.close":"Fechar","navigation.entity":"Entidade","navigation.mainMenuTooltip":"Menu principal","navigation.moreSubPages":"Mais páginas em {{parentTitle}} ","navigation.open":"Abrir o menu de navegação","navigation.organisation":"Organização","navigation.poweredBy":"desenvolvido por <logo />","navigation.selectAccount":"Selecione uma conta","navigation.selectOrganisation":"Selecione uma organização","orgBalances":"Saldos","orgTransactions":"Transações","sandbox.banner.text":"Esse é o ambiente sandbox. <getStartedLink>Vá para produção </getStartedLink> para fazer uma transação real.","security":"Segurança","selectAPlan":"Selecione um plano","selectAPlanToGetStarted":"Selecione um plano para começar","selectAPlanToGetStartedDesc":"Para começar, primeiro selecione um de nossos planos disponÃveis. Depois de assinar um plano, você poderá acessar sua conta e seus dados.","sessionDescription":"Para proteger sua segurança, nós o desconectamos automaticamente após algum tempo de inatividade.","sessionHeading":"Você está ocioso há algum tempo","settings":"Configurações","skeleton.loadingNavigationTabs":"Carregando as guias de navegação","skeleton.loadingPageContent":"Carregamento do conteúdo da página","tag.new":"Novo","transactions":"Transações","transfers.approval":"Aprovações de transferências","transfers.methods":"Métodos de transferência","transfers.settings":"Configurações","transfers.summary":"Resumo","verification.content":"Conclua a verificação de sua conta para explorar os serviços da Airwallex","verification.heading":"Conclua a verificação de sua conta","verification.primary":"InÃcio","verification.secondary":"Talvez mais tarde","verificationFailure.content":"Infelizmente, não podemos ajudá-lo no momento.","verificationFailure.heading":"Falha na ativação da conta","verificationFailure.primary":"Fechar","verificationSubmitted.content":"Nossa equipe está analisando suas informações e você receberá um e-mail ou uma mensagem assim que concluir","verificationSubmitted.heading":"Verificação da conta em andamento","verificationSubmitted.primary":"Confirmar","walletSummary":"Resumo da carteira"}');Gk.use(nw).init({lng:"en",debug:!1,fallbackLng:"en",keySeparator:!1,preload:["en","zh"],interpolation:{escapeValue:!1},react:{useSuspense:!1,transSupportBasicHtmlNodes:!0,transKeepBasicHtmlNodesFor:["b","br"]},resources:{en:{translation:Kk},zh:{translation:Zk},fr:{translation:Yk},"en-US":{translation:Xk},"es-MX":{translation:Qk},ja:{translation:Jk},ko:{translation:eC},de:{translation:tC},vi:{translation:nC},"pt-BR":{translation:rC}},returnNull:!1});const oC=Gk;function iC(){const e=Xh();return(0,s.useCallback)((t=>{oC.changeLanguage(t),(0,jr.Mq)(t),e(fx.setLangKey(t)),e(Vw.setLangKey(t))}),[e])}function aC(e){const{moduleFederationName:t}=e,n=hn(),o=Qh(sy),i=Qh(sC),a=Qh(lC),l=Qh(uC),c=Qh(cC),u=Qh(tk),{updateTopNav:d}=Qx(),p=Xh(),f=$h(),h=(0,Yh.useHistory)(),m=mn(),g=Sb(),v=iC(),y=(0,s.useMemo)((()=>sv({account:i,accountGroup:a})),[i,a]),b=(0,s.useMemo)((()=>(e=>{if(null!=e&&e.componentTheme)try{return JSON.parse(null==e?void 0:e.componentTheme)}catch(e){console.error("Component Theme Invalid",(0,ci.M)(e))}})(c.platformInfo)),[c.platformInfo]),w=cv(y,b);return(0,s.useMemo)((()=>{const e="true"===nm("APP_REMOVAL");return pC({environmentVariables:{appPath:bo.appPath,apiPath:bo.apiPath,environment:bo.environment,appBucketPath:bo.appBucketPath,airwayPciAppHost:"",airwayAppHost:e?"":bo.airwayAppHost},updateTopNav:d,user:l,account:i,analytics:r,loadModule:(s=t,(e,t,n,r)=>function(e,t){return db({producerName:arguments.length>2&&void 0!==arguments[2]?arguments[2]:`${e}_webapp`,consumerName:arguments.length>4&&void 0!==arguments[4]?arguments[4]:"webapp-container",getRemoteEntryUrl:async()=>{const t=await fb(e);return window.performance.mark("webapp:before micro app load",{detail:{application:e}}),t},exposedKey:t,shareScope:arguments.length>3&&void 0!==arguments[3]?arguments[3]:"default",maxRetryCount:5,logger:ok})}
259(e,t,n,r,s)),loadRemoteModule:xb(t),handleLangKeyChange:v,refetchUserState:()=>p(Fw()),featureFlags:n,accountFeatureFlags:u,themeProviderProps:w,containerHistory:h,ldClient:m,dashboardUrl:g,checkEnrollmentPermissions:Kr,accountGroup:a,org:o,switchAccountWithinOrg:async e=>{await p(Aw({accountId:e}));const t=Tx(f.getState());t&&!cw()(t,null==m?void 0:m.getContext())&&await(null==m?void 0:m.identify(t))}},[n,h,m]);var s}),[n,d,l,i,u,v,w,h,m,g,a,o,p,f,t])}const sC=rv([e=>e.account],(e=>({...Xv()(e,["clientLegalEntity","billingPreference","transferSettings","joinedAccountGroup","posStatus"]),error:!!e.error}))),lC=rv([e=>e.accountGroup],(e=>({...e,error:!!e.error}))),cC=rv([e=>e.platform],(e=>({...e,error:!!e.error}))),uC=rv([e=>e.user,e=>e.account],((e,t)=>{var n;return e.data?rk()({},Xv()(e,"data.permissions"),{error:!!e.error,data:{permissions:dC,enableBilling:null===(n=t.billingPreference)||void 0===n?void 0:n.enableBilling}}):{...e,error:!!e.error}})),dC={wallet:{value:"DISABLED"},payments:{value:"DISABLED"},conversions:{value:"DISABLED"},contacts:{value:"DISABLED"},settings:{value:"DISABLED",users:{value:"DISABLED"},api:{value:"DISABLED"}},maker:{value:"DISABLED"},checker:{value:"DISABLED"},cards:{value:"DISABLED"},carduser:{value:"DISABLED"},acquiring:{value:"DISABLED"},dispute:{value:"DISABLED"}};function pC(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const r=hC.get(e);if(r)return r;if(null!=t&&t.includes(e))return hC.set(e,e),e;const o=new Proxy(e,{get(e,r,o){var i;if("symbol"==typeof r)return Reflect.get(e,r,o);const a=n?Array.isArray(e)&&Number.isInteger(Number(r))?`${n}[*]`:`${n}.${r}`:r;null===fC&&(fC={},setTimeout((()=>{zr.info("WEBAPP_CONTAINER_PROP_ACCESS",{paths:fC}),fC=null}),5e3)),"number"!=typeof fC[a]?fC[a]=1:fC[a]++;const s=Reflect.get(e,r,o);return"object"==typeof s&&null!==s&&!1!==(null===(i=Object.getOwnPropertyDescriptor(e,r))||void 0===i?void 0:i.configurable)?pC(s,t,a):s}});return hC.set(e,o),o}let fC=null;const hC=new WeakMap,mC=Jy({loader:()=>wb({producerName:"uam_webapp",exposedKey:"./orgIDVRedirect"}),fallback:e=>{let{error:t}=e;throw t}}),gC=()=>{const e=aC({moduleFederationName:"uam_webapp"});return gi(ia,{fallback:null,children:gi(mC,{props:e})})};var vC="webapp: performance FCP";function yC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function bC(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return yC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yC(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var wC=0,xC=["img","script","iframe","link","audio","video","source"];function kC(e,t){for(var n,r=bC(e);!(n=r()).done;){var o=n.value;if(t.includes(o.nodeName.toLowerCase())||kC(o.children,t))return!0}return!1}var CC,EC,SC=function(e,t){if(e.length>2)return performance.now();for(var n,r=[],o=bC(t);!(n=o()).done;){var i=n.value;r.push({timestamp:i.start,type:"requestStart"}),r.push({timestamp:i.end,type:"requestEnd"})}for(var a,s=bC(e);!(a=s()).done;)r.push({timestamp:a.value,type:"requestStart"});r.sort((function(e,t){return e.timestamp-t.timestamp}));for(var l=e.length,c=r.length-1;c>=0;c--){var u=r[c];switch(u.type){case"requestStart":l--;break;case"requestEnd":if(++l>2)return u.timestamp;break;default:throw Error("Internal Error: This should never happen")}}return 0},OC=1e3,AC=["api/authenticate/heartbeat","newrelayproxy.airwallex.com","/bws/v1","/events.statsigapi.net/v1/rgstr","/papluginlogs/cors-logs","signalfx.com","/www.google-analytics.com/g/collect"],_C=function(){function e(e){void 0===e&&(e={}),this._useMutationObserver=!!e.useMutationObserver,this._minValue=e.minValue||null,this._fromWhen=e.fromWhen||null,this._networkWhiteList=[].concat(e.networkWhiteList||[],AC);var t=window.__tti&&window.__tti.e,n=window.__tti&&window.__tti.o;this._longTasks=t?t.map((function(e){return{start:e.startTime,end:e.startTime+e.duration}})):[],n&&n.disconnect(),this._networkRequests=[],this._incompleteJSInitiatedRequestStartTimes=new Map,this._timerId=null,this._timerActivationTime=-1/0,this._scheduleTimerTasks=!1,this._firstConsistentlyInteractiveResolver=null,this._performanceObserver=null,this._mutationObserver=null,this._registerListeners()}var t,n,r=e.prototype;return r.getFirstConsistentlyInteractive=function(){var e=this;return new Promise((function(t){e._firstConsistentlyInteractiveResolver=t,"complete"==document.readyState?e.startSchedulingTimerTasks():window.addEventListener("load",(function(){e.startSchedulingTimerTasks()}))}))},r.startSchedulingTimerTasks=function(){this._scheduleTimerTasks=!0;var e=this._longTasks.length>0?this._longTasks[this._longTasks.length-1].end:0,t=SC(this._incompleteRequestStarts,this._networkRequests);this.rescheduleTimer(Math.max(t+OC,e,this._fromWhen+1e3))},r.setMinValue=function(e){this._minValue=e},r.rescheduleTimer=function(e){var t=this;if(this._scheduleTimerTasks&&!(this._timerActivationTime>e)){var n=e-performance.now();clearTimeout(this._timerId),this._timerId=setTimeout((function(){t._checkTTI()}),n),this._timerActivationTime=e}},r.disable=function(){clearTimeout(this._timerId),this._scheduleTimerTasks=!1,this._unregisterListeners()},r._registerPerformanceObserver=function(){var e=this;this._performanceObserver=new PerformanceObserver((function(t){for(var n,r=bC(t.getEntries());!(n=r()).done;){var o=n.value;"resource"===o.entryType&&e._networkRequestFinishedCallback(o),"longtask"===o.entryType&&e._longTaskFinishedCallback(o)}})),this._performanceObserver.observe({entryTypes:["longtask","resource"]})},r._registerListeners=function(){var e,t,n,r,o,i,a,s,l;e=this._beforeJSInitiatedRequestCallback.bind(this),t=this._afterJSInitiatedRequestCallback.bind(this),n=XMLHttpRequest.prototype.send,r=wC++,XMLHttpRequest.prototype.send=function(){var o=this;return e(r),this.addEventListener("readystatechange",(function(){4===o.readyState&&t(r)})),n.apply(this,[].slice.call(arguments))},o=this._beforeJSInitiatedRequestCallback.bind(this),i=this._afterJSInitiatedRequestCallback.bind(this),a=fetch,fetch=function(){var e=arguments;return new Promise((function(t,n){var r=wC++;o(r),a.apply(void 0,[].slice.call(e)).then((function(e){i(r),t(e)}),(function(e){i(e),n(e)}))}))},this._registerPerformanceObserver(),this._useMutationObserver&&(this._mutationObserver=(s=this._mutationObserverCallback.bind(this),(l=new MutationObserver((function(e){for(var t,n=bC(e);!(t=n()).done;){var r=t.value;("childList"==r.type&&kC(r.addedNodes,xC)||"attributes"==r.type&&xC.includes(r.target.tagName.toLowerCase()))&&s(r)}}))).observe(document,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["href","src"]}),l))},r._unregisterListeners=function(){this._performanceObserver&&this._performanceObserver.disconnect(),this._mutationObserver&&this._mutationObserver.disconnect()},r._beforeJSInitiatedRequestCallback=function(e){this._incompleteJSInitiatedRequestStartTimes.set(e,performance.now())},r._afterJSInitiatedRequestCallback=function(e){this._incompleteJSInitiatedRequestStartTimes.delete(e)},r.isWhiteListed=function(e){for(var t=0;t<this._networkWhiteList.length;t++)if(-1!==e.indexOf(this._networkWhiteList[t]))return!0;return!1},r._networkRequestFinishedCallback=function(e){this.isWhiteListed(e.name)||(this._networkRequests.push({start:e.fetchStart,end:e.responseEnd}),this.rescheduleTimer(SC(this._incompleteRequestStarts,this._networkRequests)+OC))},r._longTaskFinishedCallback=function(e){var t=e.startTime+e.duration;this._longTasks.push({start:e.startTime,end:t}),this.rescheduleTimer(t+OC)},r._mutationObserverCallback=function(e){this.rescheduleTimer(performance.now()+OC)},r._getMinValue=function(){if(this._minValue)return this._minValue;if(performance.timing.domContentLoadedEventEnd){var e=performance.timing;return e.domContentLoadedEventEnd-e.navigationStart}return null},r._checkTTI=function(){var e=performance.timing.navigationStart,t=SC(this._incompleteRequestStarts,this._networkRequests),n=(window.chrome&&window.chrome.loadTimes?1e3*window.chrome.loadTimes().firstPaintTime-e:0)||performance.timing.domContentLoadedEventEnd-e,r=this._getMinValue(),o=performance.now();null===r&&this.rescheduleTimer(Math.max(t+OC,o+OC));
259var i=function(e,t,n,r,o,i){if(r-n<1e3)return null;var a=e,s=e;o.length&&(a=o[o.length-1].end),i.length&&(s=i[i.length-1].end);var l=Math.max(a,s);return r-l<1e3?null:Math.max(l,t)}(n,r,t,o,this._longTasks,this._networkRequests);i&&(this._firstConsistentlyInteractiveResolver(i),this.disable()),this.rescheduleTimer(performance.now()+OC)},t=e,(n=[{key:"_incompleteRequestStarts",get:function(){return[].concat(this._incompleteJSInitiatedRequestStartTimes.values())}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,"symbol"==typeof(o=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key))?o:String(o),r)}var o}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();(EC=CC||(CC={})).SingleSpa="single-spa",EC.ModuleFederation="module-federation";var PC=function(e,t){var n=window.performance.getEntriesByName(e).filter((function(e){var n;return(null==e||null==(n=e.detail)?void 0:n.application)===t}));return n[n.length-1]};const jC="WEBAPP_CONTAINER_FCP",TC=(e,t)=>{(function(e,t){return new Promise((function(n,r){if(function(){var e;return!(null==(e=window.performance)||!e.getEntriesByName)}()){if(window.awxMFEPerformance){if(window.awxMFEPerformance[e])return void r({message:"already logged",appName:e});window.awxMFEPerformance[e]=!0}else{var o;window.awxMFEPerformance=((o={})[e]=!0,o)}!function(e,t,n){function r(){window.performance.mark(""+vC,{detail:{application:e}})}var o=document.getElementById(e);o?t===CC.ModuleFederation&&o.hasChildNodes()?r():new MutationObserver((function(e,t){r(),t.disconnect()})).observe(o,{childList:!0}):n({message:"no container",appName:e})}(e,t,r),function(e){return void 0===e&&(e={}),new _C(e).getFirstConsistentlyInteractive()}({fromWhen:window.performance.now(),useMutationObserver:!1,networkWhitelist:void 0}).then((function(o){if(function(e){return!!document.getElementById(e)}(e))if(o){var i=PC(t===CC.ModuleFederation?"webapp:before micro app load":"webapp:before system import",e),a=null==i?void 0:i.startTime;if(a){var s=PC(vC,e),l=null==s?void 0:s.startTime;l||r({message:"no FCP entry",appName:e}),n({appName:e,FCP:l-a,TTI:o-a,startTime:a})}else r({message:"no start entry",appName:e})}else r({message:"no tti response",appName:e});else r({message:"not current webapp",appName:e})}))}else r({message:"performance not supported",appName:e})}))})(e,t).then((t=>{zr.info("WEBAPP_CONTAINER_PERFORMANCE: MFE PERFORMANCE",{appName:e,...t})})).catch((t=>{zr.warn("WEBAPP_CONTAINER_PERFORMANCE: MFE PERFORMANCE ERROR",{appName:e,error:null==t?void 0:t.message})}))};
259class IC extends Event{constructor(){super("currententrychange")}}function LC(){return LC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},LC.apply(this,arguments)}function NC(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function RC(e){if(NC(e)){var t=e.__awxNavigation;if(function(e){if(!NC(e))return!1;var t=e.key,n=e.index;return"string"==typeof t&&t.length>0&&"number"==typeof n&&Number.isInteger(n)&&n>=0}(t))return t}}function DC(e,t){return LC({},NC(e)?e:{__userState:e},{__awxNavigation:t})}function FC(){var{crypto:e}=globalThis;if(e&&"function"==typeof e.randomUUID)return e.randomUUID();if(!e||"function"!=typeof e.getRandomValues)throw new Error("Web Crypto API is not available.");var t=e.getRandomValues(new Uint8Array(16));t[6]=15&t[6]|64,t[8]=63&t[8]|128;var n=Array.from(t,(e=>e.toString(16).padStart(2,"0"))).join("");return n.slice(0,8)+"-"+n.slice(8,12)+"-"+n.slice(12,16)+"-"+n.slice(16,20)+"-"+n.slice(20)}var MC;function BC(e){e.catch((()=>{}))}function VC(e){return{committed:e.committed,finished:e.finished}}!function(e){e[e.Backward=-1]="Backward",e[e.Forward=1]="Forward"}(MC||(MC={}));var zC="awx.webappNavigation.pointerState";function UC(e,t){if(e)try{var n=e.getItem(zC);if(!n)return;var r=JSON.parse(n);if(!function(e,t){if(!NC(e))return!1;var n=e.pointers;if(!NC(n))return!1;var{rearIndex:r,currentIndex:o,frontIndex:i}=n;if(!HC(r)||!HC(o)||!HC(i))return!1;if(!(r<=o&&o<=i))return!1;var a=e.currentEntry;if(!NC(a))return!1;var{key:s,url:l,index:c}=a;return!("string"!=typeof s||"string"!=typeof l||"number"!=typeof c||!Number.isInteger(c))&&(c===o&&(!!qC(l,t)&&function(e){return void 0===e||Array.isArray(e)&&e.every((e=>function(e,t,n,r){if(!NC(e))return!1;var o=e.key,i=e.index,a=e.url,s=e.ignored;return!("string"!=typeof o||"number"!=typeof i||!Number.isInteger(i))&&(!(i<t||i>n)&&(!("string"!=typeof a||!qC(a,r))&&(void 0===s||"boolean"==typeof s)))}(e,r,i,t)))}(e.entries)))}(r,t))return;return r}catch(e){return}}function HC(e){return"number"==typeof e&&Number.isInteger(e)&&e>=0}function qC(e,t){var n;try{n=new URL(e)}catch(e){return!1}return!("http:"!==n.protocol&&"https:"!==n.protocol||t&&n.origin!==t)}function WC(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var $C=0;function GC(e){return"__private_"+$C+++"_"+e}function KC(){return KC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KC.apply(this,arguments)}var ZC=Symbol.for("awx.webappNavigation.instance"),YC=GC("_disposed"),XC=GC("_history"),QC=GC("_location"),JC=GC("_storage"),eE=GC("_patch"),tE=GC("_pointers"),nE=GC("_currentEntry"),rE=GC("_entries"),oE=GC("_indexByKey"),iE=GC("_normalEntryBeforeIgnoreSkip"),aE=GC("_ignoreSkipVisited"),sE=GC("_bounceOriginIndex"),lE=GC("_ignoreSkipDispatchTracker"),cE=GC("_pendingTraverseStack"),uE=GC("_ongoingTracker"),dE=GC("_upcomingTraverseTrackers"),pE=GC("_shouldIgnoreEntry"),fE=GC("_commitTraversal"),hE=GC("_ensureInitialEntryMetadata"),mE=GC("_resolveDocumentOrigin"),gE=GC("_hydrateFromStorage"),vE=GC("_restoreEntries"),yE=GC("_registerEntry"),bE=GC("_pruneRegistryAfterIndex"),wE=GC("_classifyCurrentEntry"),xE=GC("_setIgnored"),kE=GC("_isWithinPointerRange"),CE=GC("_resolveTraverseTargetIndex"),EE=GC("_findNormalIndexInDirection"),SE=GC("_isEntryIgnored"),OE=GC("_continuePastIgnoredEntry"),AE=GC("_bounceToNormalEntry"),_E=GC("_clearIgnoreSkipState"),PE=GC("_rebasePointersForUnknownEntry"),jE=GC("_persist"),TE=GC("_emitCurrentEntryChange"),IE=GC("_resolveImmediately"),LE=GC("_beginTraversal"),NE=GC("_abortSupersededTraversal"),RE=GC("_cancelOngoingTraversal"),DE=GC("_resolveCommittedForOngoingTraversal"),FE=GC("_resolveFinishedForOngoingTraversal"),ME=GC("_cleanupTracker"),BE=GC("_rejectResult"),VE=GC("_rejectIfDisposed");class zE extends EventTarget{get currentEntry(){return WC(this,nE)[nE]}get canGoBack(){return!WC(this,YC)[YC]&&null!=WC(this,CE)[CE](MC.Backward,MC.Backward)}get canGoForward(){return!WC(this,YC)[YC]&&null!=WC(this,CE)[CE](MC.Forward,MC.Forward)}get disposed(){return WC(this,YC)[YC]}shouldIgnoreEntry(e){return!1}navigate(e,t){var n;void 0===t&&(t={});var r=WC(this,VE)[VE]();if(r)return r;var o=function(e,t){if("string"==typeof e)return new URL(e,t).href;var n=new URL(t);return void 0!==e.pathname&&(n.pathname=e.pathname),void 0!==e.search&&(n.search=e.search),void 0!==e.hash&&(n.hash=e.hash),n.href}(e,WC(this,QC)[QC].href),i=null!=(n=t.history)?n:"auto",a="replace"===i||"auto"===i&&o===WC(this,nE)[nE].url;try{var s,l;return a?WC(this,XC)[XC].replaceState(null!=(s=t.state)?s:WC(this,XC)[XC].state,"",o):WC(this,XC)[XC].pushState(null!=(l=t.state)?l:WC(this,XC)[XC].state,"",o),WC(this,IE)[IE](WC(this,nE)[nE])}catch(e){return WC(this,BE)[BE](e)}}go(e,t){var n=WC(this,VE)[VE]();if(n)return n;if(0===e)return WC(this,IE)[IE](WC(this,nE)[nE]);var r=e>0?MC.Forward:MC.Backward,o=WC(this,CE)[CE](e,r);if(null==o)return WC(this,IE)[IE](WC(this,nE)[nE]);var i=o-WC(this,tE)[tE].currentIndex;if(0===i)return WC(this,IE)[IE](WC(this,nE)[nE]);var{result:a}=WC(this,LE)[LE](null,r);try{WC(this,XC)[XC].go(i)}catch(e){return WC(this,RE)[RE](),WC(this,BE)[BE](e)}return a}back(e){return this.go(-1,e)}forward(e){return this.go(1,e)}traverseTo(e,t){var n;void 0===t&&(t={});var r=WC(this,VE)[VE]();if(r)return r;if(e===WC(this,nE)[nE].key)return WC(this,IE)[IE](WC(this,nE)[nE]);var o=WC(this,oE)[oE].get(e);if(void 0===o)return WC(this,BE)[BE](new DOMException("Invalid navigation history entry key.","InvalidStateError"));var i=o-WC(this,tE)[tE].currentIndex;if(0===i)return WC(this,IE)[IE](WC(this,nE)[nE]);if(!WC(this,kE)[kE](o))return WC(this,IE)[IE](WC(this,nE)[nE]);var a=i>0?MC.Forward:MC.Backward,{result:s,isNew:l}=WC(this,LE)[LE](e,a);if(!l)return s;WC(this,cE)[cE]=null!=(n=t.stack)?n:"traverse";try{WC(this,XC)[XC].go(i)}catch(e){return WC(this,cE)[cE]=void 0,WC(this,RE)[RE](),WC(this,BE)[BE](e)}return s}dispose(){var e;if(!WC(this,YC)[YC]&&(WC(this,YC)[YC]=!0,WC(this,NE)[NE](),null==(e=WC(this,eE)[eE])||e.uninstall(),"undefined"!=typeof window&&WC(this,XC)[XC]===window.history)){var t=window;t[ZC]===this&&delete t[ZC]}}buildPushMutation(e,t){var n=WC(this,tE)[tE].currentIndex+1,r=FC(),o=null!=t?new URL(String(t),WC(this,QC)[QC].href).href:WC(this,QC)[QC].href;return{historyState:DC(e,{key:r,index:n}),url:o,key:r,index:n}}buildReplaceMutation(e,t){var n=WC(this,nE)[nE].key,r=null!=t?new URL(String(t),WC(this,QC)[QC].href).href:WC(this,QC)[QC].href;return{historyState:DC(e,{key:n,index:WC(this,tE)[tE].currentIndex}),url:r,key:n}}syncAfterPush(e){WC(this,NE)[NE]();var t=KC({},WC(this,nE)[nE]);WC(this,tE)[tE].currentIndex=e.index,WC(this,tE)[tE].frontIndex=e.index,WC(this,nE)[nE]={key:e.key,index:e.index,url:e.url},WC(this,bE)[bE](e.index,{inclusive:!0}),WC(this,yE)[yE](e.key,e.index,e.url),WC(this,wE)[wE](),WC(this,jE)[jE](),WC(this,TE)[TE]("push",t)}syncAfterReplace(e){var t=KC({},WC(this,nE)[nE]);WC(this,nE)[nE]={key:e.key,index:WC(this,tE)[tE].currentIndex,url:e.url},WC(this,yE)[yE](e.key,WC(this,tE)[tE].currentIndex,e.url),WC(this,wE)[wE](),WC(this,jE)[jE](),WC(this,TE)[TE]("replace",t)}syncAfterPopState(e,t){var n,r=KC({},WC(this,nE)[nE]),o=RC(e);null!=(null==o?void 0:o.index)?(WC(this,tE)[tE].currentIndex=o.index,WC(this,nE)[nE]={key:o.key,index:o.index,url:t},WC(this,yE)[yE](o.key,o.index,t)):WC(this,PE)[PE](t),WC(this,wE)[wE]();
259var i=WC(this,lE)[lE];if(WC(this,lE)[lE]=void 0,i&&i!==WC(this,uE)[uE])WC(this,jE)[jE]();else{var a=null!=(null==(n=WC(this,uE)[uE])?void 0:n.destinationKey)&&WC(this,uE)[uE].destinationKey===WC(this,nE)[nE].key;if(!WC(this,pE)[pE](WC(this,nE)[nE])&&!WC(this,SE)[SE](WC(this,nE)[nE])||a||null==WC(this,uE)[uE]){var s=WC(this,iE)[iE];WC(this,fE)[fE](null!=s?s:r)}else WC(this,OE)[OE](r)}}constructor(e={}){var t,n,r,o,i,a;if(super(),Object.defineProperty(this,pE,{value:UE}),Object.defineProperty(this,fE,{value:HE}),Object.defineProperty(this,hE,{value:qE}),Object.defineProperty(this,mE,{value:WE}),Object.defineProperty(this,gE,{value:$E}),Object.defineProperty(this,vE,{value:GE}),Object.defineProperty(this,yE,{value:KE}),Object.defineProperty(this,bE,{value:ZE}),Object.defineProperty(this,wE,{value:YE}),Object.defineProperty(this,xE,{value:XE}),Object.defineProperty(this,kE,{value:QE}),Object.defineProperty(this,CE,{value:JE}),Object.defineProperty(this,EE,{value:eS}),Object.defineProperty(this,SE,{value:tS}),Object.defineProperty(this,OE,{value:nS}),Object.defineProperty(this,AE,{value:rS}),Object.defineProperty(this,_E,{value:oS}),Object.defineProperty(this,PE,{value:iS}),Object.defineProperty(this,jE,{value:aS}),Object.defineProperty(this,TE,{value:sS}),Object.defineProperty(this,IE,{value:lS}),Object.defineProperty(this,LE,{value:cS}),Object.defineProperty(this,NE,{value:uS}),Object.defineProperty(this,RE,{value:dS}),Object.defineProperty(this,DE,{value:pS}),Object.defineProperty(this,FE,{value:fS}),Object.defineProperty(this,ME,{value:hS}),Object.defineProperty(this,BE,{value:mS}),Object.defineProperty(this,VE,{value:gS}),Object.defineProperty(this,YC,{writable:!0,value:void 0}),Object.defineProperty(this,XC,{writable:!0,value:void 0}),Object.defineProperty(this,QC,{writable:!0,value:void 0}),Object.defineProperty(this,JC,{writable:!0,value:void 0}),Object.defineProperty(this,eE,{writable:!0,value:void 0}),Object.defineProperty(this,tE,{writable:!0,value:void 0}),Object.defineProperty(this,nE,{writable:!0,value:void 0}),Object.defineProperty(this,rE,{writable:!0,value:void 0}),Object.defineProperty(this,oE,{writable:!0,value:void 0}),Object.defineProperty(this,iE,{writable:!0,value:void 0}),Object.defineProperty(this,aE,{writable:!0,value:void 0}),Object.defineProperty(this,sE,{writable:!0,value:void 0}),Object.defineProperty(this,lE,{writable:!0,value:void 0}),Object.defineProperty(this,cE,{writable:!0,value:void 0}),Object.defineProperty(this,uE,{writable:!0,value:void 0}),Object.defineProperty(this,dE,{writable:!0,value:void 0}),WC(this,YC)[YC]=!1,WC(this,rE)[rE]=new Map,WC(this,oE)[oE]=new Map,WC(this,aE)[aE]=new Set,WC(this,dE)[dE]=new Map,"undefined"==typeof window)throw new Error("Navigation requires a browser-like environment.");if(WC(this,XC)[XC]=null!=(t=e.history)?t:window.history,WC(this,QC)[QC]=null!=(n=e.location)?n:window.location,WC(this,JC)[JC]=null!=(r=e.storage)?r:window.sessionStorage,WC(this,XC)[XC]===window.history){var s=window;if(s[ZC]&&!s[ZC].disposed)throw new Error("Only one active Navigation instance can exist per window.");s[ZC]=this}var l=WC(this,mE)[mE](),c=UC(WC(this,JC)[JC],l),u=null!=(o=null==c?void 0:c.pointers.currentIndex)?o:Math.max(0,WC(this,XC)[XC].length-1);WC(this,tE)[tE]=null!=(i=null==c?void 0:c.pointers)?i:function(e){return{rearIndex:e,currentIndex:e,frontIndex:e}}(u),WC(this,nE)[nE]=null!=(a=null==c?void 0:c.currentEntry)?a:{key:FC(),index:WC(this,tE)[tE].currentIndex,url:WC(this,QC)[QC].href},WC(this,vE)[vE](null==c?void 0:c.entries),WC(this,eE)[eE]=function(e,t,n){var r=e.pushState.bind(e),o=e.replaceState.bind(e);e.pushState=(e,n,o)=>{var i=t.buildPushMutation(e,o);r(i.historyState,n,i.url),t.syncAfterPush(i)},e.replaceState=(e,n,r)=>{var i=t.buildReplaceMutation(e,r);o(i.historyState,n,i.url),t.syncAfterReplace(i)};var i=e=>{t.syncAfterPopState(e.state,n())};return window.addEventListener("popstate",i),{uninstall(){e.pushState=r,e.replaceState=o,window.removeEventListener("popstate",i)}}}(WC(this,XC)[XC],this,(()=>WC(this,QC)[QC].href)),WC(this,hE)[hE](),WC(this,gE)[gE]()}}function UE(e){try{return this.shouldIgnoreEntry(e)}catch(e){return console.warn("[@airwallex/webapp-navigation Navigation] shouldIgnoreEntry threw; treating entry as normal",e),!1}}function HE(e){var t,n=null!=(null==(t=WC(this,uE)[uE])?void 0:t.destinationKey)&&WC(this,uE)[uE].destinationKey===WC(this,nE)[nE].key;"pop"===WC(this,cE)[cE]&&n&&(WC(this,tE)[tE].frontIndex=WC(this,tE)[tE].currentIndex,WC(this,bE)[bE](WC(this,tE)[tE].currentIndex)),WC(this,cE)[cE]=void 0,WC(this,jE)[jE]();var r=WC(this,nE)[nE];WC(this,DE)[DE](r),WC(this,TE)[TE]("traverse",e),WC(this,FE)[FE](r)}function qE(){var e=RC(WC(this,XC)[XC].state);if(e)return WC(this,tE)[tE].currentIndex=e.index,WC(this,nE)[nE]={key:e.key,index:e.index,url:WC(this,QC)[QC].href},WC(this,yE)[yE](e.key,e.index,WC(this,QC)[QC].href),void WC(this,wE)[wE]();var t=WC(this,nE)[nE].key,n=WC(this,tE)[tE].currentIndex,r=DC(WC(this,XC)[XC].state,{key:t,index:n});try{WC(this,XC)[XC].replaceState(r,"",WC(this,QC)[QC].href),WC(this,nE)[nE]={key:t,index:n,url:WC(this,QC)[QC].href},WC(this,yE)[yE](t,n,WC(this,QC)[QC].href),WC(this,wE)[wE]()}catch(e){}}function WE(){try{return new URL(WC(this,QC)[QC].href).origin}catch(e){return}}function $E(){var e=UC(WC(this,JC)[JC],WC(this,mE)[mE]());e&&(WC(this,tE)[tE]=e.pointers,WC(this,nE)[nE]=e.currentEntry,WC(this,yE)[yE](e.currentEntry.key,e.currentEntry.index,e.currentEntry.url),WC(this,vE)[vE](e.entries),WC(this,wE)[wE]())}function GE(e){for(var t of WC(this,rE)[rE].values())t.ignored=!1;for(var n of null!=e?e:[]){var r;WC(this,yE)[yE](n.key,n.index,n.url),WC(this,rE)[rE].get(n.index).ignored=null!=(r=n.ignored)&&r}}function KE(e,t,n){var r,o=WC(this,rE)[rE].get(t),i=WC(this,oE)[oE].get(e);o&&o.key!==e&&WC(this,oE)[oE].delete(o.key),void 0!==i&&i!==t&&WC(this,rE)[rE].delete(i),WC(this,rE)[rE].set(t,{key:e,ignored:null!=(r=null==o?void 0:o.ignored)&&r,url:null!=n?n:null==o?void 0:o.url}),WC(this,oE)[oE].set(e,t)}function ZE(e,t){void 0===t&&(t={});var n=n=>t.inclusive?n>=e:n>e;for(var[r,o]of WC(this,rE)[rE])n(r)&&(WC(this,rE)[rE].delete(r),WC(this,oE)[oE].delete(o.key))}function YE(){WC(this,xE)[xE](WC(this,nE)[nE],WC(this,pE)[pE](WC(this,nE)[nE]))}function XE(e,t){var n=WC(this,rE)[rE].get(e.index);n?n.ignored=t:t&&(WC(this,rE)[rE].set(e.index,{key:e.key,ignored:!0,url:e.url}),WC(this,oE)[oE].set(e.key,e.index))}function QE(e){return e>=WC(this,tE)[tE].rearIndex&&e<=WC(this,tE)[tE].frontIndex}function JE(e,t){var n,r=WC(this,tE)[tE].currentIndex+e;return WC(this,kE)[kE](r)?(null==(n=WC(this,rE)[rE].get(r))?void 0:n.ignored)?WC(this,EE)[EE](r+t,t,WC(this,nE)[nE].url):r:null}
259function eS(e,t,n){for(var r=e;WC(this,kE)[kE](r);){var o=WC(this,rE)[rE].get(r);if(!(null==o?void 0:o.ignored)&&(null==n||(null==o?void 0:o.url)!==n))return r;r+=t}return null}function tS(e){var t,n;return null!=(t=null==(n=WC(this,rE)[rE].get(e.index))?void 0:n.ignored)&&t}function nS(e){var t,n=WC(this,uE)[uE].direction;if(WC(this,iE)[iE]||WC(this,SE)[SE](e)||WC(this,pE)[pE](e)||(WC(this,iE)[iE]=e),WC(this,aE)[aE].has(WC(this,nE)[nE].index)){if(WC(this,sE)[sE]===WC(this,nE)[nE].index){var r=WC(this,iE)[iE];return void WC(this,fE)[fE](null!=r?r:e)}WC(this,AE)[AE](e)}else{WC(this,aE)[aE].add(WC(this,nE)[nE].index);var o=null==(t=WC(this,iE)[iE])?void 0:t.url,i=WC(this,EE)[EE](WC(this,nE)[nE].index+n,n,o);if(null!=i){var a=i-WC(this,nE)[nE].index;if(0!==a){WC(this,lE)[lE]=WC(this,uE)[uE];try{return void WC(this,XC)[XC].go(a)}catch(t){return WC(this,lE)[lE]=void 0,void WC(this,AE)[AE](e)}}}WC(this,AE)[AE](e)}}function rS(e){var t=WC(this,iE)[iE];if(t){var n=t.index-WC(this,nE)[nE].index;if(0!==n){WC(this,sE)[sE]=WC(this,nE)[nE].index,WC(this,lE)[lE]=WC(this,uE)[uE];try{WC(this,XC)[XC].go(n)}catch(e){WC(this,lE)[lE]=void 0,WC(this,tE)[tE].currentIndex=t.index,WC(this,nE)[nE]=KC({},t),WC(this,fE)[fE](t)}}else WC(this,fE)[fE](t)}else WC(this,fE)[fE](e)}function oS(){WC(this,iE)[iE]=void 0,WC(this,aE)[aE].clear(),WC(this,sE)[sE]=void 0}function iS(e){var t=WC(this,tE)[tE].currentIndex;WC(this,tE)[tE]={rearIndex:t,currentIndex:t,frontIndex:t};var n=FC();WC(this,nE)[nE]={key:n,index:t,url:e},WC(this,rE)[rE].clear(),WC(this,oE)[oE].clear(),WC(this,_E)[_E](),WC(this,yE)[yE](n,t,e)}function aS(){var e=[...WC(this,rE)[rE]].filter((e=>{var[,t]=e;return null!=t.url})).map((e=>{var[t,n]=e;return KC({key:n.key,index:t,url:n.url},n.ignored?{ignored:!0}:{})}));!function(e,t){if(e)try{e.setItem(zC,JSON.stringify(t))}catch(e){}}(WC(this,JC)[JC],{pointers:WC(this,tE)[tE],currentEntry:WC(this,nE)[nE],entries:e})}function sS(e,t){this.dispatchEvent(function(e,t){var n=new IC;return Object.defineProperties(n,{navigationType:{value:e},from:{value:t,enumerable:!0}}),n}(e,t))}function lS(e){var t=Promise.resolve(e);return{committed:t,finished:t}}function cS(e,t){if(null!=e){var n=WC(this,dE)[dE].get(e);if(n)return{result:VC(n),isNew:!1}}WC(this,NE)[NE]();var r=function(e,t){var n,r,o,i,a=!1,s=new Promise(((e,t)=>{n=e,r=t})),l=new Promise(((e,t)=>{o=e,i=t}));return BC(l),{destinationKey:e,direction:t,committed:s,finished:l,resolveCommitted(e){a||(a=!0,n(e))},resolveFinished(e){o(e)},reject(e){a||r(e),i(e)}}}(e,t);return WC(this,uE)[uE]=r,null!=e&&WC(this,dE)[dE].set(e,r),{result:VC(r),isNew:!0}}function uS(){var e=WC(this,uE)[uE];e&&(BC(e.committed),BC(e.finished),e.reject(new DOMException("Navigation was aborted.","AbortError")),WC(this,cE)[cE]=void 0,WC(this,ME)[ME](e))}function dS(){var e=WC(this,uE)[uE];e&&(e.reject(new DOMException("Navigation was cancelled.","AbortError")),WC(this,cE)[cE]=void 0,WC(this,ME)[ME](e))}function pS(e){var t=WC(this,uE)[uE];t&&t.resolveCommitted(e)}function fS(e){var t=WC(this,uE)[uE];t&&(t.resolveFinished(e),WC(this,ME)[ME](t))}function hS(e){WC(this,uE)[uE]===e&&(WC(this,uE)[uE]=void 0,WC(this,_E)[_E]()),null!=e.destinationKey&&WC(this,dE)[dE].delete(e.destinationKey)}function mS(e){var t=Promise.reject(e);return{committed:t,finished:t}}function gS(){if(WC(this,YC)[YC])return WC(this,BE)[BE](new Error("Navigation instance has been disposed."))}const vS="app",yS=["/signup","/signup/verify","/cards/employee/create","/uam/oauth/authorize","/account/profile","/account/profile/edit-name","/account/profile/change-password","/account/profile/recovery-code","/account/profile/setup-2fa/start","/account/profile/setup-2fa","/account/profile/setup-2fa/sms","/account/profile/setup-2fa/app","/account/profile/add-email","/account/profile/edit-email","/account/profile/add-mobile","/account/profile/edit-mobile","/account/profile/verify-mobile","/account/profile/resend-verification-email","/account/profile/enable-email-notifications","/account/add-bank-details","/uam/accounts/create","/uam/account-group/create","/uam/account-group/add-members","/globalaccount/accounts/new","/hostedflow","/aggregate-funds",""],bS=new Set(yS.map((e=>`/app1${e}`)).concat(yS.map((e=>`/${vS}${e}`)))),wS=["/globalaccount/ecommerce-connect","/globalaccount/marketplace-connect","/rewards/partner","/rewards/enroll","/oauth/consent","/oauth","/confirmation","/post-auth","/integrations/accept-access-grant","/integrations/sage/bank-feed/auth","/integrations/sage/bank-feed/authrefresh","/integrations/home/accept-access-grant","/integrations/home/org/xero/bank-feed/connect","/integrations/home/org/xero/expense/connect","/integrations/home/org/xero/invoice/connect","/integrations/home/org/quickbooks/expense/connect","/integrations/home/org/quickbooks/payments-feed/connect","/integrations/home/org/netsuite/bank-feed/connect","/integrations/home/org/netsuite/accounting/connect","/integrations/home/quickbooks/online-payments-feed/account-mappings","/integrations/home/logeecom/accept-access-grant","/integrations/home/sage-bank-feed/auth","/integrations/home/sage-bank-feed/authrefresh","/integrations/home/connect-marketplace","/integrations/home/tiktokshop/accept-access-grant","/integrations/home/org/setup","/integrations/home/org/xero/billing/connect","/integrations/home/org/xero/payments-feed/connect","/integrations/home/org/quickbooks/billing/connect","/integrations/home/org/netsuite/payments-feed/connect","/integrations/home/datev/bank-feed/connect","/integrations/home/datev/expense/connect","/integrations/home/pennylane/bank-feeds/connect","/integrations/home/priority/bank-feeds/connect","/integrations/home/sage-intacct/expense/connect","/integrations/home/fonoa-fr/connect","/integrations/home/xero-qantas/connect","/integrations/home/xero/billing/account-mapping","/integrations/home/quickbooks/billing/account-mapping","/integrations/myob/bank-feed/auth","/integrations/home/myob/bank-feed/auth","/integrations/home/myob/bank-feed/success","/integrations/home/custom-accounting-data/setup","/integrations/home/oktasecurity/setup","/integrations/home/shopify/add-new-store","/integrations/home/shopify/connect-payment-app","/integrations/home/shopify/configure-connection","/integrations/home/shopify/customise-theme","/linkedaccounts/new","/linkedaccounts/create","/linkedaccounts/contact-info","/linkedaccounts/bank-statement/verify","/linkedaccounts/accounts/verify","/order-collection/increase-limit","/order-collection/cny-repatriation/activate","/add-funds","/transfers/payouts/new","/transfers/payouts/edit","/transfers/payouts/booked","/transfers/newBatch","/transfers/batch/new","/transfers/batch/edit","/conversions/booked/","/conversions/new","/card-activation","/cards/create/select","/cards/create-company-card","/cards/create-employee-card","/cards/create-employee-card/users","/cards/create-employee-card/basic-detail
259s/","/cards/create-employee-card/id-check/","/cards/create-employee-card/verify/","/cards/activated","/cards/edit-company-card/","/cards/edit-company-card-owners/","/cards/edit-employee-card/","/sales-orders/new","/sales-orders/edit","/fulfillment/new","/fulfillment/edit","/customers/new","/customers/edit","/order-collection/store-connect","/order-collection/sales-order-upload","/transfers/rfi/respond","/globalaccount/rfi/respond","/contacts/new/recipient","/contacts/edit/recipient","/contacts/new/payer","/contacts/edit/payer","/conversions/new","/conversions/new/v2","/conversions/limit-order/edit","/conversions/booked","/transfers/approvals/edit","/transfers/approvals/review","/transfers/approvals/changelog/detail","/lending/onboarding","/lending/org-onboarding","/lending/apply","/lending/repayment","/kyc","/spend/approvals/transfers/new"],xS=[`/${vS}/connect`,"/app1/kyc",`/${vS}/kyc`,/^\/app\/kyb(?!\/org-payment-status(?:\/|$))/,`/${vS}/plan-billing/select-plan`,"/app1/hostedflow",`/${vS}/hostedflow`,`/${vS}/rfi`,`/${vS}/idv`,`/${vS}/platform-console/funding-limit`,`/${vS}/platform-console/connected-accounts/rfi`,"/app1/login",`/${vS}/login`,`/${vS}/login-auth`,"/app1/request2fa",`/${vS}/request2fa`,"/app1/signup","/app1/uam/invite-expired",`/${vS}/auth`,`/${vS}/uam/users/edit`,`/${vS}/uam/users/invite`,`/${vS}/uam/users/edit/batch`,`/${vS}/uam/roles/create`,`/${vS}/uam/roles/edit`,`/${vS}/uam/teams/create`,`/${vS}/uam/teams/edit`,`/${vS}/uam/roles/assign`,`/${vS}/uam/teams/add-members`,`/${vS}/uam/accounts/create`,`/${vS}/uam/invite-expired`,`/${vS}/invitation`,"/app1/uam/psd2/auth",`/${vS}/uam/psd2/auth`,`/${vS}/kyc/task/ppta-authorization/authorize`,`/${vS}/integrations/shopify-home`,`/${vS}/integrations/home/shopify-home`,`/${vS}/integrations/home/setup-connection`,/\/integrations\/home\/marketplace-oauth\/[^/]+/,`/${vS}/tax-filing/download`,/\/approvals\/(?:bills|vendors|spend-requests|purchase-requests|card-expenses|reimbursements|transfers)\/[^/]+/],kS=e=>{for(const t of wS)if(e.includes(t))return!0;for(const t of xS)if("string"==typeof t?e.startsWith(t):t.test(e))return!0;return bS.has(e)},CS=()=>kS(window.location.pathname),ES=["/spend/bills/create","/spend/bills/bulk-payments","/billing/settings/tax/registrations/new","/purchase-orders/import","/wallet/org/aggregate-funds","/plan-billing/cancel-subscription","/plan-billing/downgrade-subscription"],SS=[/\/account\/profile\/edit-personal-details(?:\/|$)/,/\/cards\/create-card(?:\/|$)/,/\/cards\/create-cards(?:\/|$)/,/\/cards\/edit-card\/[^/]+/,/\/cards\/change-pin\/[^/]+\/[^/]+/,/\/cards\/cardholder\/(?:id-check|change-pin|temporary-limits)(?:\/|$)/,/\/cards\/cardholder-id-check(?:\/|$)/,/\/cards\/transactionFeedback\/[^/]+/,/\/cards\/transactionDispute\/[^/]+\/post-replace(?:\/|$)/,/\/cards\/transaction-verification(?:-v2)?\/(?:v2\/)?[^/]+/,/\/cards\/[^/]+\/(?:reissue-physical(?:-pending|-success)?|replace(?:-success)?|delivery-address)(?:\/|$)/,/\/spend\/bills\/bill\/[^/]+/,/\/billing\/(?:invoices|subscriptions|customers|products|coupons)\/create(?:\/|$)/,/\/billing\/usage\/meters\/create(?:\/|$)/,/\/billing\/products\/edit\/[^/]+/,/\/billing\/invoices\/[^/]+\/(?:edit|duplicate|credit-note\/create)(?:\/|$)/,/\/billing\/subscriptions\/[^/]+\/(?:edit|duplicate|cancel)/,/\/billing\/products\/[^/]+\/price\/(?:create|[^/]+\/edit)(?:\/|$)/,/\/billing\/products\/[^/]+\/rate-card\/[^/]+\/(?:edit|add-version)(?:\/|$)/,/\/billing\/coupons\/(?:edit|duplicate)\/[^/]+/,/\/billing\/usage\/meters\/[^/]+\/edit/,/\/purchase-orders\/goods-receipt\/[^/]+/,/\/order-collection\/limit-management\/CN\/?$/,/\/globalaccount\/opening-form\/[^/]+/,/\/batch-transfers\/new\/aba\/[^/]+/,/\/balances\/yield\/(?:onboarding|withdraw|ineligible)(?:\/|$)/,/\/theme\/(?:create|edit|fork|apply)(?:\/|$)/,/\/spend\/accounting\/accruals\/(?:new|[^/]+\/success)/,/\/spend[/-]overview\/(?:duplicate-)?custom-view/,/\/spend[/-]requests\/create-request/,/\/uam\/entity\/create(?:\/|$)/,/\/platform-console\/issuing\/card\/[^/]+\/[^/]+\/(?:replace|renew)(?:\/|$)/,/\/integrations\/home\/quickbooks\/accounting\/[^/]+/,/\/integrations\/home\/walmart\/(?:marketplace-deposits|sales-order-data)\/[^/]+/],OS=[{page:/\/uam\/users(?:\/|$)/,params:["drawerEnrollmentId","drawerRoleChangeCaseId"]},{page:/\/uam\/roles(?:\/|$)/,params:["drawerRoleId"]},{page:/\/uam\/teams(?:\/|$)/,params:["drawerTeamId"]},{page:/\/platform-console\/transactions\/list(?:\/|$)/,params:["transactionId"]},{page:/\/platform-console\/issuing\/cards\/list(?:\/|$)/,params:["cardId"]},{page:/\/platform-console\/connected-accounts\/list(?:\/|$)/,params:["id"]},{page:/\/platform-console\/issuing\/cardholders\/list(?:\/|$)/,params:["id"]},{page:/\/transfers\/payouts\/summary(?:\/|$)/,params:["drawer"]}],AS=[/\/cards\/(?:cardholder\/)?transactions\/[^/]+/,/\/cards\/card-detail
259s\/[^/]+/,/\/cards\/cardholders\/[^/]+/,/\/cards\/cardholder\/(?!(?:company-cards|transactions|id-check|change-pin|temporary-limits|landing)(?:\/|$))[^/]+/,/\/spend\/expenses\/list\/[^/]+/,/\/spend\/vendors\/details\/[^/]+/,/\/spend\/vendors\/new(?:\/|$)/];class _S extends zE{shouldIgnoreEntry(e){return(e=>{const{pathname:t,searchParams:n}=new URL(e);return n.has("settings")||(e=>kS(e)||((e,t)=>t.some((t=>e.includes(t))))(e,ES)||((e,t)=>t.some((t=>t.test(e))))(e,SS))(t)||(e=>{const{pathname:t,searchParams:n}=new URL(e),r=OS.some((e=>{let{page:r,params:o}=e;return r.test(t)&&o.some((e=>n.has(e)))}));return r||AS.some((e=>e.test(t)))})(e)})(e.url)}}let PS=null;const jS=()=>PS,TS=Bg({name:"navigation",initialState:{showVerificationModal:!1,showSelectPricingPlanModal:!1},reducers:{toggleVerificationModal:(e,t)=>{e.showVerificationModal=t.payload??!0},toggleSelectPlanModal:(e,t)=>{e.showSelectPricingPlanModal=t.payload}}}),{actions:IS,reducer:LS}=TS,NS=function(e){var t,n=function(e){return function(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=(e.immutableCheck,e.serializableCheck,e.actionCreatorCheck,new Rg);return n&&(function(e){return"boolean"==typeof e}(n)?r.push(xg):r.push(xg.withExtraArgument(n.extraArgument))),r}(e)},r=e||{},o=r.reducer,i=void 0===o?void 0:o,a=r.middleware,s=void 0===a?n():a,l=r.devTools,c=void 0===l||l,u=r.preloadedState,d=void 0===u?void 0:u,p=r.enhancers,f=void 0===p?void 0:p;if("function"==typeof i)t=i;else{if(!function(e){if("object"!=typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=gg(i)}var h=s;"function"==typeof h&&(h=h(n));var m=yg.apply(void 0,h),g=vg;c&&(g=Lg(Tg({trace:!1},"object"==typeof c&&c)));var v=new Dg(m),y=v;return Array.isArray(f)?y=Cg([m],f):"function"==typeof f&&(y=f(v)),mg(t,d,g.apply(void 0,y))}({reducer:gg({account:hx,accountGroup:rx,auth:Iw,themeOverride:Yg,featureFlags:Qw,navigation:LS,org:Kw,user:zw,platform:lx}),preloadedState:undefined});const RS="pffContainerUseFederationRouter";var DS=n(13293);const FS=[97,72,82,48,99,72,77,108,77,48,69,108,77,107,89,108,77,107,90,121,90,87,100,112,98,50,52,116,98,71,57,118,97,51,86,119,76,109,70,112,99,110,100,104,98,71,120,108,101,67,53,106,98,50,48,108,77,107,90,121,90,87,100,112,98,50,52,117,97,110,77,61],MS=()=>(0,DS.D4)(FS.map((e=>String.fromCharCode(e))).join("")),BS=e=>{const t=e;if(t.key!==jr.sn)return;const n=t.newValue,r=t.oldValue,o=(0,jr.UI)(n||""),i=(0,jr.UI)(r||"");(null==o?void 0:o.accountId)!==(null==i?void 0:i.accountId)&&window.location.replace("/app")},VS=e=>{let{children:t}=e;const n=Xh(),r=Qh((e=>e.account)),o=Qh((e=>e.user)),i=Qh((e=>e.org));(0,s.useEffect)((()=>{var e,t,n;zr.updateCommonData({countryCode:(null==r||null===(e=r.accountDetails)||void 0===e||null===(e=e.businessDetails)||void 0===e||null===(e=e.address)||void 0===e?void 0:e.countryCode)||"",owningEntity:(null==r?void 0:r.owningEntity)||"",orgId:(0,jr.I)()??void 0,accountId:(0,jr.PU)()??"webapp-user",accountGroupId:(0,jr.mg)()??"webapp-user",userId:(0,jr.Pu)()||"",userRole:(null===(t=o.data)||void 0===t?void 0:t.roles.map((e=>e.name)).join(", "))||"",dc:(0,jr.gW)()||void 0,dcRegion:(0,jr.iB)()||void 0,isBusinessAccountsEnabled:(0,jr.I)()&&!i.initialized?void 0:!(null===(n=i.data)||void 0===n||!n.isBusinessAccountsEnabled)})}),[r,o,i]);const a=(0,s.useCallback)((()=>{n(cx())}),[n]);return(0,s.useEffect)((()=>{window.document.querySelector(`script[src="${decodeURIComponent(MS())}"]`)||(()=>{const e=window.document.createElement("script");e.src=decodeURIComponent(MS()),(window.document.head||window.document.body).appendChild(e)})()})),Ur("storage",BS,window),Ur("awx:refetch-account",a,document),gi(mi,{children:t})},zS=e=>{let{component:t,redirect:n,to:r,path:o,routes:i,href:a,external:s,...l}=e;const c=(0,Yh.useHistory)();return n&&a?(ei()(`Fake redirect:${a}`),s?window.location.replace(`${a}${window.location.search}`):c.push(a),null):gi(Yh.Route,{...l,path:o,render:e=>n&&r?gi(Yh.Redirect,{from:o[0],to:r}):t?gi(t,{...e,...l,routes:i}):null})};n(86663);const US=di().create({baseURL:"/api",headers:{"content-type":"application/json"}});const HS=({axiosClient:e,analytics:t})=>
259function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function*(){try{const n=new URLSearchParams(window.location.search),r=null==n?void 0:n.get("accountId"),o=null==n?void 0:n.get("accountGroupId"),i=null==n?void 0:n.get("orgId"),a=(0,jr.PU)(),s=(0,jr.mg)(),l=(0,jr.I)(),c=(0,jr.ve)();if(r&&r!==a||o&&o!==s||i&&i!==l){const{data:{data:n}}=yield(({axiosClient:e,accountId:t,accountGroupId:n,orgId:r,refreshToken:o})=>function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function*(){return e.post("/v3/switchContext",{accountId:t,accountGroupId:n,refreshToken:o,orgId:r},{headers:{"x-auth-token":(0,jr.c4)()}})})))({axiosClient:e||US,accountId:r,accountGroupId:o,orgId:i,refreshToken:c}),{accessToken:a,accessTokenExpireAt:s,refreshToken:l,refreshTokenExpireAt:u}=(0,jr.nE)(n);return(0,jr.Il)(a,s),(0,jr.fE)(l,u),null==t||t.event("switch context","success",`userName: ${(0,jr.TO)()}, account id: ${r}, account group id: ${o}, org id: ${i}`),!0}return!1}catch(e){return null==t||t.event("switch context","failed",`userName: ${(0,jr.TO)()}, error: ${(e=>{const{status:t,data:n}=e||{};return t||n?JSON.stringify({status:t,data:n}):JSON.stringify(e)})(e)}`),n="/app",(0,jr.V$)()&&(0,jr.Ys)()?window.location.assign(n):window.history.replaceState(null,"null",n),!1}var n})),qS=Es` 260 query PollAccountsInCurrentOrg { 261 authContext { 262 ... on OrgAuthContext { 263 org { 264 id 265 accounts { 266 items { 267 id 268 } 269 } 270 } 271 } 272 } 273 } 274`,WS=e=>{let{children:t}=e;const n=Qh((e=>e.account)),o=Qh((e=>e.accountGroup));!function(){var e,t;const n=Qh((e=>{var t;return null===(t=e.org.data)||void 0===t?void 0:t.id}
274)),[r,o]=(0,s.useState)(!1),i=(0,jr.I)()&&!(0,jr.PU)(),{data:a}=ky(qS,{skip:r||!i,fetchPolicy:"network-only",pollInterval:1e4,notifyOnNetworkStatusChange:!0}),l="OrgAuthContext"===(null==a||null===(e=a.authContext)||void 0===e?void 0:e.__typename)&&a.authContext.org.id===n&&a.authContext.org.accounts.items.length>0?null===(t=a.authContext.org.accounts.items[0])||void 0===t?void 0:t.id:void 0,{pathname:c}=(0,Yh.useLocation)(),u=(0,Yh.useHistory)(),{fullyReinitialize:d}=Dx();(0,s.useEffect)((()=>{!async function(){if(l&&!r){o(!0);try{await Sw({accountId:l});const e=d();u.push("/app",{redirectUrl:c}),await e}catch(e){console.warn("[webapp-container useAutoSwitchToInitialOrgAccount] Failed to switch to account "+l,(0,ci.M)(e))}finally{o(!1)}}}()}),[l,r,d,u,c])}(),(0,s.useEffect)((()=>{(async()=>{if(bp()&&!Bf.includes(window.location.pathname)){const e=await HS({analytics:r,axiosClient:eh}),t=new URL(window.location.href);t.searchParams.delete("accountId"),t.searchParams.delete("accountGroupId"),t.searchParams.delete("orgId"),e?window.location.href=t.href:window.history.replaceState(window.history.state,"",t)}})()}),[null==n?void 0:n.id,null==o?void 0:o.id]);const i=em();return(0,s.useEffect)((()=>{oC.changeLanguage(i)}),[i]),bp()||Bf.includes(window.location.pathname)?gi(mi,{children:t}):(Jf(),Qf(n),null)};var $S=n(17437),GS=n(71656);const KS=e=>({background:e.colors.greys[100],color:e.colors.greys[30],border:`1px solid ${e.colors.greys[80]}`,scrollbarColor:e.colors.grays[70],separator:e.colors.grays[70],navItem:{hoverBackgroundColor:e.colors.grays[80],hoverTextColor:e.colors.white,chevronButton:{defaultIconColor:e.colors.grays[40],hoverIconColor:e.semanticColors.icon.inverse},newTag:{background:e.colors.grays[80],color:GS.orange,selectedBackground:e.colors.grays[80],selectedColor:GS.orange},submenuDecorationLine:{hoverColor:e.colors.grays[60]}},switcherV2:{button:{default:{background:e.colors.grays[100],primaryText:e.colors.white,secondaryText:e.colors.grays[40],icon:"#D7DBE0"},hover:{background:e.colors.grays[90]},active:{background:e.colors.white,primaryText:e.colors.grays[80],secondaryText:e.colors.grays[60],icon:e.colors.greys[80]}},menuitem:{default:{icon:e.colors.white,iconBackground:e.colors.grays[50]},selected:{icon:e.colors.white,iconBackground:e.nav.item.selected.gradient?GS[e.nav.item.selected.gradient]:e.nav.item.selected.color}}}}),ZS=e=>({background:e.colors.greys[10],color:e.semanticColors.text.secondary,border:e.borders.normal[100],scrollbarColor:e.colors.greys[20],separator:e.colors.grays[30],navItem:{hoverBackgroundColor:e.colors.grays[20],hoverTextColor:e.semanticColors.text.primary,chevronButton:{defaultIconColor:e.semanticColors.icon.secondary,hoverIconColor:e.semanticColors.icon.primary},newTag:{background:e.colors.white,color:GS.orange,selectedBackground:e.colors.white,selectedColor:GS.orange},submenuDecorationLine:{hoverColor:e.semanticColors.border.decorativeStrong}},switcherV2:{button:{default:{background:e.nav.background,primaryText:e.colors.grays[80],secondaryText:e.colors.grays[60],icon:e.colors.grays[80]},hover:{background:e.colors.grays[20]},active:{background:e.colors.white,primaryText:e.colors.grays[80],secondaryText:e.colors.grays[60],icon:e.colors.grays[80]}},menuitem:{default:{icon:e.colors.white,iconBackground:e.colors.grays[50]},selected:{icon:e.colors.white,iconBackground:e.nav.item.selected.gradient?GS[e.nav.item.selected.gradient]:e.nav.item.selected.color}}}}),YS=e=>{const t=ZS(e);return t.background=e.colors.purples[10],t.navItem.hoverBackgroundColor=e.semanticColors.background.selected,t.navItem.selectedTextColor=e.semanticColors.text.link,t.navItem.selectedIndicatorColor=e.semanticColors.border.interactive,t.switcherV2.button.default.background=e.colors.purples[10],t.switcherV2.button.hover.background=e.colors.purples[20],t.switcherV2.menuitem.selected.iconBackground=GS.purple,t.navItem.newTag={background:e.colors.white,color:e.colors.purples[70],selectedBackground:e.colors.white,selectedColor:e.colors.purples[70]},t};function XS(e,t){return"assistant"===t?YS(e):"light"===t?ZS(e):"pba_light"===t?QS(ZS(e),e):"pba_dark"===t?QS(KS(e),e):KS(e)}function QS(e,t){return rk()({},e,{background:t.nav.background,color:t.nav.item.color,border:t.nav.border,scrollbarColor:t.nav.button.hover.background,navItem:{hoverTextColor:t.nav.item.hover.color,hoverBackgroun
274dColor:t.nav.button.hover.background,selectedTextColor:t.nav.item.selected.color,submenuDecorationLine:{hoverColor:t.nav.subMenuLine},chevronButton:{defaultIconColor:t.nav.item.color,hoverIconColor:t.nav.item.hover.color},newTag:{background:t.nav.item.tag.background,color:t.nav.item.tag.color,selectedBackground:t.nav.item.tag.selected.background,selectedColor:t.nav.item.tag.selected.color}},switcherV2:{button:{default:{background:t.nav.background,primaryText:t.nav.item.color,secondaryText:t.nav.item.color,icon:t.nav.item.color},hover:{background:t.nav.button.hover.background},active:{background:t.nav.item.hover.color,primaryText:t.nav.background,secondaryText:t.nav.background,icon:t.nav.background}},menuitem:{default:{icon:t.nav.item.hover.color},selected:{icon:t.nav.item.hover.color}}}})}function JS(e){let{children:t,themeVariant:n="dark"}=e;return gi(Pi.NP,{theme:e=>{const t=function(e,t){return"light"===t?rk()({},e,{nav:{background:e.colors.grays[10]}}):e}(e,n);return{...t,navigationV3:XS(t,n)}},children:t})}const eO=ji.styled,tO=ji.useTheme,nO=240,rO=eO.nav((e=>{let{theme:t}=e;return(0,$S.AH)("display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;background-color:",t.navigationV3.background,";color:",t.navigationV3.color,";",t.breakpoints.breakpoint.s,"{display:none;}","")}),(function(e){let{expanded:t}=e;return(0,$S.AH)("width:",t?nO:48,"px;will-change:width;transition:width 180ms ease;","")}));var oO={name:"112zjc7",styles:"::-webkit-scrollbar{display:none;}"};const iO=eO.div((e=>{let{expanded:t}=e;return(0,$S.AH)("width:",t?nO:48,"px;overflow:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;&:has([aria-haspopup='menu'][aria-expanded='true']){overflow-y:hidden;}","")}),(function(e){let{theme:t,expanded:n}=e;return n?(0,$S.AH)("--scrollbar-width:10px;--scrollbar-thumb-width:4px;::-webkit-scrollbar{-webkit-appearance:none;}::-webkit-scrollbar:vertical{width:var(--scrollbar-width);background-color:transparent;}::-webkit-scrollbar-thumb{border-radius:calc(var(--scrollbar-width) - var(--scrollbar-thumb-width));background-color:",t.navigationV3.scrollbarColor,";border:calc((var(--scrollbar-width) - var(--scrollbar-thumb-width)) / 2) solid transparent;background-clip:padding-box;}::-webkit-scrollbar-track{background:none;}",""):oO}));var aO=n(88258),sO=n.n(aO);function lO(e){return"type"in e&&("skeleton"===e.type||"error"===e.type)}var cO=SO(),uO=e=>xO(e,cO),dO=SO();uO.write=e=>xO(e,dO);var pO=SO();uO.onStart=e=>xO(e,pO);var fO=SO();uO.onFrame=e=>xO(e,fO);var hO=SO();uO.onFinish=e=>xO(e,hO);var mO=[];uO.setTimeout=(e,t)=>{const n=uO.now()+t,r=()=>{const e=mO.findIndex((e=>e.cancel==r));~e&&mO.splice(e,1),bO-=~e?1:0},o={time:n,handler:e,cancel:r};return mO.splice(gO(n),0,o),bO+=1,kO(),o};var gO=e=>~(~mO.findIndex((t=>t.time>e))||~mO.length);uO.cancel=e=>{pO.delete(e),fO.delete(e),hO.delete(e),cO.delete(e),dO.delete(e)},uO.sync=e=>{wO=!0,uO.batchedUpdates(e),wO=!1},uO.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,uO.onStart(n)}return r.handler=e,r.cancel=()=>{pO.delete(n),t=null},r};var vO="undefined"!=typeof window?window.requestAnimationFrame:()=>{};uO.use=e=>vO=e,uO.now="undefined"!=typeof performance?()=>performance.now():Date.now,uO.batchedUpdates=e=>e(),uO.catch=console.error,uO.frameLoop="always",uO.advance=()=>{"demand"!==uO.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):EO()};var yO=-1,bO=0,wO=!1;function xO(e,t){wO?(t.delete(e),e(0)):(t.add(e),kO())}function kO(){yO<0&&(yO=0,"demand"!==uO.frameLoop&&vO(CO))}function CO(){~yO&&(vO(CO),uO.batchedUpdates(EO))}function EO(){const e=yO;yO=uO.now();const t=gO(yO);t&&(OO(mO.splice(0,t),(e=>e.handler())),bO-=t),bO?(pO.flush(),cO.flush(e?Math.min(64,yO-e):16.667),fO.flush(),dO.flush(),hO.flush()):yO=-1}function SO(){let e=new Set,t=e;return{add(n){bO+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(bO-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,bO-=t.size,OO(t,(t=>t(n)&&e.add(t))),bO+=e.size,t=e)}}}function OO(e,t){e.forEach((e=>{try{t(e)}catch(e){uO.catch(e)}}))}var AO=Object.defineProperty,_O={};function PO(){}((e,t)=>{for(var n in t)AO(e,n,{get:t[n],enumerable:!0})})(_O,{assign:()=>HO,colors:()=>VO,createStringInterpolator:()=>DO,skipAnimation:()=>zO,to:()=>FO,willAdvance:()=>UO});var jO={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function TO(e,t){if(jO.arr(e)){if(!jO.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var IO=(e,t)=>
274e.forEach(t);function LO(e,t,n){if(jO.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var NO=e=>jO.und(e)?[]:jO.arr(e)?e:[e];function RO(e,t){if(e.size){const n=Array.from(e);e.clear(),IO(n,t)}}var DO,FO,MO=(e,...t)=>RO(e,(e=>e(...t))),BO=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),VO=null,zO=!1,UO=PO,HO=e=>{e.to&&(FO=e.to),e.now&&(uO.now=e.now),void 0!==e.colors&&(VO=e.colors),null!=e.skipAnimation&&(zO=e.skipAnimation),e.createStringInterpolator&&(DO=e.createStringInterpolator),e.requestAnimationFrame&&uO.use(e.requestAnimationFrame),e.batchedUpdates&&(uO.batchedUpdates=e.batchedUpdates),e.willAdvance&&(UO=e.willAdvance),e.frameLoop&&(uO.frameLoop=e.frameLoop)},qO=new Set,WO=[],$O=[],GO=0,KO={get idle(){return!qO.size&&!WO.length},start(e){GO>e.priority?(qO.add(e),uO.onStart(ZO)):(YO(e),uO(QO))},advance:QO,sort(e){if(GO)uO.onFrame((()=>KO.sort(e)));else{const t=WO.indexOf(e);~t&&(WO.splice(t,1),XO(e))}},clear(){WO=[],qO.clear()}};function ZO(){qO.forEach(YO),qO.clear(),uO(QO)}function YO(e){WO.includes(e)||XO(e)}function XO(e){WO.splice(function(t){const n=t.findIndex((t=>t.priority>e.priority));return n<0?t.length:n}(WO),0,e)}function QO(e){const t=$O;for(let n=0;n<WO.length;n++){const r=WO[n];GO=r.priority,r.idle||(UO(r),r.advance(e),r.idle||t.push(r))}return GO=0,($O=WO).length=0,(WO=t).length>0}var JO="[-+]?\\d*\\.?\\d+",eA=JO+"%";function tA(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var nA=new RegExp("rgb"+tA(JO,JO,JO)),rA=new RegExp("rgba"+tA(JO,JO,JO,JO)),oA=new RegExp("hsl"+tA(JO,eA,eA)),iA=new RegExp("hsla"+tA(JO,eA,eA,JO)),aA=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,sA=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,lA=/^#([0-9a-fA-F]{6})$/,cA=/^#([0-9a-fA-F]{8})$/;function uA(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function dA(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=uA(o,r,e+1/3),a=uA(o,r,e),s=uA(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function pA(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function fA(e){return(parseFloat(e)%360+360)%360/360}function hA(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function mA(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function gA(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=lA.exec(e))?parseInt(t[1]+"ff",16)>>>0:VO&&void 0!==VO[e]?VO[e]:(t=nA.exec(e))?(pA(t[1])<<24|pA(t[2])<<16|pA(t[3])<<8|255)>>>0:(t=rA.exec(e))?(pA(t[1])<<24|pA(t[2])<<16|pA(t[3])<<8|hA(t[4]))>>>0:(t=aA.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=cA.exec(e))?parseInt(t[1],16)>>>0:(t=sA.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=oA.exec(e))?(255|dA(fA(t[1]),mA(t[2]),mA(t[3])))>>>0:(t=iA.exec(e))?(dA(fA(t[1]),mA(t[2]),mA(t[3]))|hA(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}var vA=(e,t,n)=>{if(jO.fun(e))return e;if(jO.arr(e))return vA({range:e,output:t,extrapolate:n});if(jO.str(e.output[0]))return DO(e);const r=e,o=r.output,i=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,a,s,l){let c=l?l(e):e;if(c<t){if("identity"===a)return c;"clamp"===a&&(c=t)}if(c>n){if("identity"===s)return c;"clamp"===s&&(c=n)}return r===o?r:t===n?e<=t?r:o:(t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t),c=i(c),r===-1/0?c=-c:o===1/0?c+=r:c=c*(o-r)+r,c)}(e,i[t],i[t+1],o[t],o[t+1],l,a,s,r.map)}},yA=1.70158,bA=1.525*yA,wA=yA+1,xA=2*Math.PI/3,kA=2*Math.PI/4.5,CA=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},EA={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>wA*e*e*e-yA*e*e,easeOutBack:e=>1+wA*Math.pow(e-1,3)+yA*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-bA)/2:(Math.pow(2*e-2,2)*((bA+1)*(2*e-2)+bA)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*xA),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*xA)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*kA)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*kA)/2+1,easeInBounce:e=>1-CA(1-e),easeOutBounce:CA,easeInOutBounce:e=>e<.5?(1-CA(1-2*e))/2:(1+CA(2*e-1))/2,steps:(e,t="end")=>n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e;return((e,t,n)=>Math.min(Math.max(n,0),1))(0,0,("end"===t?Math.floor(r):Math.ceil(r))/e)}},SA=Symbol.for("FluidValue.get"),OA=Symbol.for("FluidValue.observers"),AA=e=>Boolean(e&&e[SA]),_A=e=>e&&e[SA]?e[SA]():e,PA=e=>e[OA]||null;function jA(e,t){const n=e[OA];
274n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var TA=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");IA(this,e)}},IA=(e,t)=>DA(e,SA,t);function LA(e,t){if(e[SA]){let n=e[OA];n||DA(e,OA,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function NA(e,t){const n=e[OA];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[OA]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var RA,DA=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),FA=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,MA=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,BA=new RegExp(`(${FA.source})(%|[a-z]+)`,"i"),VA=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,zA=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,UA=e=>{const[t,n]=HA(e);if(!t||BO())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){return window.getComputedStyle(document.documentElement).getPropertyValue(n)||e}return n&&zA.test(n)?UA(n):n||e},HA=e=>{const t=zA.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},qA=(e,t,n,r,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`,WA=e=>{RA||(RA=VO?new RegExp(`(${Object.keys(VO).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>_A(e).replace(zA,UA).replace(MA,gA).replace(RA,gA))),n=t.map((e=>e.match(FA).map(Number))),r=n[0].map(((e,t)=>n.map((e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})))).map((t=>vA({...e,output:t})));return e=>{const n=!BA.test(t[0])&&t.find((e=>BA.test(e)))?.replace(FA,"");let o=0;return t[0].replace(FA,(()=>`${r[o++](e)}${n||""}`)).replace(VA,qA)}},$A="react-spring: ",GA=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${$A}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},KA=GA(console.warn),ZA=GA(console.warn);function YA(e){return jO.str(e)&&("#"==e[0]||/\d/.test(e)||!BO()&&zA.test(e)||e in(VO||{}))}var XA=BO()?s.useEffect:s.useLayoutEffect,QA=()=>{const e=(0,s.useRef)(!1);return XA((()=>(e.current=!0,()=>{e.current=!1})),[]),e};function JA(){const e=(0,s.useState)()[1],t=QA();return()=>{t.current&&e(Math.random())}}var e_=e=>(0,s.useEffect)(e,t_),t_=[];function n_(e){const t=(0,s.useRef)();return(0,s.useEffect)((()=>{t.current=e})),t.current}var r_=Symbol.for("Animated:node"),o_=e=>e&&e[r_],i_=(e,t)=>{return n=e,r=r_,o=t,Object.defineProperty(n,r,{value:o,writable:!0,configurable:!0});var n,r,o},a_=e=>e&&e[r_]&&e[r_].getPayload(),s_=class{constructor(){i_(this,this)}getPayload(){return this.payload||[]}},l_=class extends s_{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,jO.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new l_(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return jO.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,jO.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},c_=class extends l_{constructor(e){super(0),this._string=null,this._toString=vA({output:[e,e]})}static create(e){return new c_(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(jO.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=vA({output:[this.getValue(),e]})),this._value=0,super.reset()}},u_={dependencies:null},d_=class extends s_{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return LO(this.source,((n,r)=>{var o;(o=n)&&o[r_]===o?t[r]=n.getValue(e):AA(n)?t[r]=_A(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&IO(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return LO(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){u_.dependencies&&AA(e)&&u_.dependencies.add(e);const t=a_(e);t&&IO(t,(e=>this.add(e)))}},p_=class extends d_{constructor(e){super(e)}static create(e){return new p_(e)}getValue(){return this.source.map((e=>e.getValue()))}setValue(e){const t=this.getPayload();return e.length==t.length?t.map(((t,n)=>
274t.setValue(e[n]))).some(Boolean):(super.setValue(e.map(f_)),!0)}};function f_(e){return(YA(e)?c_:l_).create(e)}function h_(e){const t=o_(e);return t?t.constructor:jO.arr(e)?p_:YA(e)?c_:l_}var m_=(e,t)=>{const n=!jO.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,s.forwardRef)(((r,o)=>{const i=(0,s.useRef)(null),a=n&&(0,s.useCallback)((e=>{i.current=function(e,t){return e&&(jO.fun(e)?e(t):e.current=t),t}(o,e)}),[o]),[l,c]=function(e,t){const n=new Set;return u_.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new d_(e),u_.dependencies=null,[e,n]}(r,t),u=JA(),d=()=>{const e=i.current;n&&!e||!1===(!!e&&t.applyAnimatedValues(e,l.getValue(!0)))&&u()},p=new g_(d,c),f=(0,s.useRef)();XA((()=>(f.current=p,IO(c,(e=>LA(e,p))),()=>{f.current&&(IO(f.current.deps,(e=>NA(e,f.current))),uO.cancel(f.current.update))}))),(0,s.useEffect)(d,[]),e_((()=>()=>{const e=f.current;IO(e.deps,(t=>NA(t,e)))}));const h=t.getComponentProps(l.getValue());return s.createElement(e,{...h,ref:a})}))},g_=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&uO.write(this.update)}},v_=Symbol.for("AnimatedComponent"),y_=e=>jO.str(e)?e:e&&jO.str(e.displayName)?e.displayName:jO.fun(e)&&e.name||null;function b_(e,...t){return jO.fun(e)?e(...t):e}var w_=(e,t)=>!0===e||!!(t&&e&&(jO.fun(e)?e(t):NO(e).includes(t))),x_=(e,t)=>jO.obj(e)?t&&e[t]:e,k_=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,C_=e=>e,E_=(e,t=C_)=>{let n=S_;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const o of n){const n=t(e[o],o);jO.und(n)||(r[o]=n)}return r},S_=["config","onProps","onStart","onChange","onPause","onResume","onRest"],O_={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function A_(e){const t=function(e){const t={};let n=0;if(LO(e,((e,r)=>{O_[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return LO(e,((e,r)=>r in t||(n[r]=e))),n}return{...e}}function __(e){return e=_A(e),jO.arr(e)?e.map(__):YA(e)?_O.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function P_(e){return jO.fun(e)||jO.arr(e)&&jO.obj(e[0])}var j_={tension:170,friction:26,mass:1,damping:1,easing:EA.linear,clamp:!1},T_=class{constructor(){this.velocity=0,Object.assign(this,j_)}};function I_(e,t){if(jO.und(t.decay)){const n=!jO.und(t.tension)||!jO.und(t.friction);!n&&jO.und(t.frequency)&&jO.und(t.damping)&&jO.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var L_=[],N_=class{constructor(){this.changed=!1,this.values=L_,this.toValues=null,this.fromValues=L_,this.config=new T_,this.immediate=!1}};function R_(e,{key:t,props:n,defaultProps:r,state:o,actions:i}){return new Promise(((a,s)=>{let l,c,u=w_(n.cancel??r?.cancel,t);if(u)f();else{jO.und(n.pause)||(o.paused=w_(n.pause,t));let e=r?.pause;!0!==e&&(e=o.paused||w_(e,t)),l=b_(n.delay||0,t),e?(o.resumeQueue.add(p),i.pause()):(i.resume(),p())}function d(){o.resumeQueue.add(p),o.timeouts.delete(c),c.cancel(),l=c.time-uO.now()}function p(){l>0&&!_O.skipAnimation?(o.delayed=!0,c=uO.setTimeout(f,l),o.pauseQueue.add(d),o.timeouts.add(c)):f()}function f(){o.delayed&&(o.delayed=!1),o.pauseQueue.delete(d),o.timeouts.delete(c),e<=(o.cancelId||0)&&(u=!0);try{i.start({...n,callId:e,cancel:u},a)}catch(e){s(e)}}}))}var D_=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?B_(e.get()):t.every((e=>e.noop))?F_(e.get()):M_(e.get(),t.every((e=>e.finished))),F_=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),M_=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),B_=e=>({value:e,cancelled:!0,finished:!1});function V_(e,t,n,r){const{callId:o,parentId:i,onRest:a}=t,{asyncTo:s,promise:l}=n;return i||e!==s||t.reset?n.promise=(async()=>{n.asyncId=o,n.asyncTo=e;const c=E_(t,((e,t)=>"onRest"===t?void 0:e));let u,d;const p=new Promise(((e,t)=>(u=e,d=t))),f=e=>{const t=o<=(n.cancelId||0)&&B_(r)||o!==n.asyncId&&M_(r,!1);if(t)throw e.result=t,d(e),e},h=(e,t)=>{const i=new U_,a=new H_;return(async()=>
274{if(_O.skipAnimation)throw z_(n),a.result=M_(r,!1),d(a),a;f(i);const s=jO.obj(e)?{...e}:{...t,to:e};s.parentId=o,LO(c,((e,t)=>{jO.und(s[t])&&(s[t]=e)}));const l=await r.start(s);return f(i),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),l})()};let m;if(_O.skipAnimation)return z_(n),M_(r,!1);try{let t;t=jO.arr(e)?(async e=>{for(const t of e)await h(t)})(e):Promise.resolve(e(h,r.stop.bind(r))),await Promise.all([t.then(u),p]),m=M_(r.get(),!0,!1)}catch(e){if(e instanceof U_)m=e.result;else{if(!(e instanceof H_))throw e;m=e.result}}finally{o==n.asyncId&&(n.asyncId=i,n.asyncTo=i?s:void 0,n.promise=i?l:void 0)}return jO.fun(a)&&uO.batchedUpdates((()=>{a(m,r,r.item)})),m})():l}function z_(e,t){RO(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var U_=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},H_=class extends Error{constructor(){super("SkipAnimationSignal")}},q_=e=>e instanceof $_,W_=1,$_=class extends TA{constructor(){super(...arguments),this.id=W_++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=o_(this);return e&&e.getValue()}to(...e){return _O.to(this,e)}interpolate(...e){return KA(`${$A}The "interpolate" function is deprecated in v9 (use "to" instead)`),_O.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){jA(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||KO.sort(this),jA(this,{type:"priority",parent:this,priority:e})}},G_=Symbol.for("SpringPhase"),K_=e=>(1&e[G_])>0,Z_=e=>(2&e[G_])>0,Y_=e=>(4&e[G_])>0,X_=(e,t)=>t?e[G_]|=3:e[G_]&=-3,Q_=(e,t)=>t?e[G_]|=4:e[G_]&=-5,J_=class extends $_{constructor(e,t){if(super(),this.animation=new N_,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!jO.und(e)||!jO.und(t)){const n=jO.obj(e)?{...e}:{...t,from:e};jO.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(Z_(this)||this._state.asyncTo)||Y_(this)}get goal(){return _A(this.animation.to)}get velocity(){const e=o_(this);return e instanceof l_?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return K_(this)}get isAnimating(){return Z_(this)}get isPaused(){return Y_(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:o}=r;const{config:i}=r,a=a_(r.to);!a&&AA(r.to)&&(o=NO(_A(r.to))),r.values.forEach(((s,l)=>{if(s.done)return;const c=s.constructor==c_?1:a?a[l].lastPosition:o[l];let u=r.immediate,d=c;if(!u){if(d=s.lastPosition,i.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=r.fromValues[l],o=null!=s.v0?s.v0:s.v0=jO.arr(i.velocity)?i.velocity[l]:i.velocity;let a;const p=i.precision||(n==c?.005:Math.min(1,.001*Math.abs(c-n)));if(jO.und(i.duration))if(i.decay){const e=!0===i.decay?.998:i.decay,r=Math.exp(-(1-e)*t);d=n+o/(1-e)*(1-r),u=Math.abs(s.lastPosition-d)<=p,a=o*r}else{a=null==s.lastVelocity?o:s.lastVelocity;const t=i.restVelocity||p/10,r=i.clamp?0:i.bounce,l=!jO.und(r),f=n==c?s.v0>0:n<c;let h,m=!1;const g=1,v=Math.ceil(e/g);for(let e=0;e<v&&(h=Math.abs(a)>t,h||(u=Math.abs(c-d)<=p,!u));++e)l&&(m=d==c||d>c==f,m&&(a=-a*r,d=c)),a+=(1e-6*-i.tension*(d-c)+.001*-i.friction*a)/i.mass*g,d+=a*g}else{let r=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,s.durationProgress>0&&(s.elapsedTime=i.duration*s.durationProgress,t=s.elapsedTime+=e)),r=(i.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,s.durationProgress=r),d=n+i.easing(r)*(c-n),a=(d-s.lastPosition)/e,u=1==r}s.lastVelocity=a,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),u=!0)}
274a&&!a[l].done&&(u=!1),u?s.done=!0:t=!1,s.setValue(d,i.round)&&(n=!0)}));const s=o_(this),l=s.getValue();if(t){const e=_A(r.to);l===e&&!n||i.decay?n&&i.decay&&this._onChange(l):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(l)}set(e){return uO.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Z_(this)){const{to:e,config:t}=this.animation;uO.batchedUpdates((()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()}))}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return jO.und(e)?(n=this.queue||[],this.queue=[]):n=[jO.obj(e)?e:{...t,to:e}],Promise.all(n.map((e=>this._update(e)))).then((e=>D_(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),z_(this._state,e&&this._lastCallId),uO.batchedUpdates((()=>this._stop(t,e))),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=jO.obj(n)?n[t]:n,(null==n||P_(n))&&(n=void 0),r=jO.obj(r)?r[t]:r,null==r&&(r=void 0);const o={to:n,from:r};return K_(this)||(e.reverse&&([n,r]=[r,n]),r=_A(r),jO.und(r)?o_(this)||this._set(n):this._set(r)),o}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,E_(e,((e,t)=>/^on/.test(t)?x_(e,n):e))),aP(this,e,"onProps"),sP(this,"onProps",e,this);const o=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const i=this._state;return R_(++this._lastCallId,{key:n,props:e,defaultProps:r,state:i,actions:{pause:()=>{Y_(this)||(Q_(this,!0),MO(i.pauseQueue),sP(this,"onPause",M_(this,eP(this,this.animation.to)),this))},resume:()=>{Y_(this)&&(Q_(this,!1),Z_(this)&&this._resume(),MO(i.resumeQueue),sP(this,"onResume",M_(this,eP(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then((n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=tP(e);if(t)return this._update(t,!0)}return n}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(B_(this));const r=!jO.und(e.to),o=!jO.und(e.from);if(r||o){if(!(t.callId>this._lastToId))return n(B_(this));this._lastToId=t.callId}const{key:i,defaultProps:a,animation:s}=this,{to:l,from:c}=s;let{to:u=l,from:d=c}=e;!o||r||t.default&&!jO.und(u)||(u=d),t.reverse&&([u,d]=[d,u]);const p=!TO(d,c);p&&(s.from=d),d=_A(d);const f=!TO(u,l);f&&this._focus(u);const h=P_(t.to),{config:m}=s,{decay:g,velocity:v}=m;(r||o)&&(m.velocity=0),t.config&&!h&&function(e,t,n){n&&(I_(n={...n},t),t={...n,...t}),I_(e,t),Object.assign(e,t);for(const t in j_)null==e[t]&&(e[t]=j_[t]);let{frequency:r,damping:o}=e;const{mass:i}=e;jO.und(r)||(r<.01&&(r=.01),o<0&&(o=0),e.tension=Math.pow(2*Math.PI/r,2)*i,e.friction=4*Math.PI*o*i/r)}(m,b_(t.config,i),t.config!==a.config?b_(a.config,i):void 0);let y=o_(this);if(!y||jO.und(u))return n(M_(this,!0));const b=jO.und(t.reset)?o&&!t.default:!jO.und(d)&&w_(t.reset,i),w=b?d:this.get(),x=__(u),k=jO.num(x)||jO.arr(x)||YA(x),C=!h&&(!k||w_(a.immediate||t.immediate,i));if(f){const e=h_(u);if(e!==y.constructor){if(!C)throw Error(`Cannot animate between ${y.constructor.name} and ${e.name}, as the "to" prop suggests`);y=this._set(x)}}const E=y.constructor;let S=AA(u),O=!1;if(!S){const e=b||!K_(this)&&p;(f||e)&&(O=TO(__(w),x),S=!O),(TO(s.immediate,C)||C)&&TO(m.decay,g)&&TO(m.velocity,v)||(S=!0)}if(O&&Z_(this)&&(s.changed&&!b?S=!0:S||this._stop(l)),!h&&((S||AA(l))&&(s.values=y.getPayload(),s.toValues=AA(u)?null:E==c_?[1]:NO(x)),s.immediate!=C&&(s.immediate=C,C||b||this._set(l)),S)){const{onRest:e}=s;IO(iP,(e=>aP(this,t,e)));const r=M_(this,eP(this,l));MO(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&uO.batchedUpdates((()=>{s.changed=!b,e?.(r,this),b?b_(a.onRest,r):s.onStart?.(r,this)}))}b&&this._set(w),h?n(V_(t.to,t,this._state,this)):S?this._start():Z_(this)&&!f?this._pendingCalls.add(n):n(F_(w))}_focus(e){const t=this.animation;e!==t.to&&(PA(this)&&this._detach(),t.to=e,PA(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;AA(t)&&(LA(t,this),q_(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;AA(e)&&NA(e,this)}_set(e,t=!0){const n=_A(e);
274if(!jO.und(n)){const e=o_(this);if(!e||!TO(n,e.getValue())){const r=h_(n);e&&e.constructor==r?e.setValue(n):i_(this,r.create(n)),e&&uO.batchedUpdates((()=>{this._onChange(n,t)}))}}return o_(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,sP(this,"onStart",M_(this,eP(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),b_(this.animation.onChange,e,this)),b_(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;o_(this).reset(_A(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),Z_(this)||(X_(this,!0),Y_(this)||this._resume())}_resume(){_O.skipAnimation?this.finish():KO.start(this)}_stop(e,t){if(Z_(this)){X_(this,!1);const n=this.animation;IO(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),jA(this,{type:"idle",parent:this});const r=t?B_(this.get()):M_(this.get(),eP(this,e??n.to));MO(this._pendingCalls,r),n.changed&&(n.changed=!1,sP(this,"onRest",r,this))}}};function eP(e,t){const n=__(t);return TO(__(e.get()),n)}function tP(e,t=e.loop,n=e.to){const r=b_(t);if(r){const o=!0!==r&&A_(r),i=(o||e).reverse,a=!o||o.reset;return nP({...e,loop:t,default:!1,pause:void 0,to:!i||P_(n)?n:void 0,from:a?e.from:void 0,reset:a,...o})}}function nP(e){const{to:t,from:n}=e=A_(e),r=new Set;return jO.obj(t)&&oP(t,r),jO.obj(n)&&oP(n,r),e.keys=r.size?Array.from(r):null,e}function rP(e){const t=nP(e);return jO.und(t.default)&&(t.default=E_(t)),t}function oP(e,t){LO(e,((e,n)=>null!=e&&t.add(n)))}var iP=["onStart","onRest","onChange","onPause","onResume"];function aP(e,t,n){e.animation[n]=t[n]!==k_(t,n)?x_(t[n],e.key):void 0}function sP(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var lP=["onStart","onChange","onRest"],cP=1,uP=class{constructor(e,t){this.id=cP++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((e=>e.idle&&!e.isDelayed&&!e.isPaused))}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each(((t,n)=>e[n]=t.get())),e}set(e){for(const t in e){const n=e[t];jO.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(nP(e)),this}start(e){let{queue:t}=this;return e?t=NO(e).map(nP):this.queue=[],this._flush?this._flush(this,t):(vP(this,t),dP(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;IO(NO(t),(t=>n[t].stop(!!e)))}else z_(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(jO.und(e))this.start({pause:!0});else{const t=this.springs;IO(NO(e),(e=>t[e].pause()))}return this}resume(e){if(jO.und(e))this.start({pause:!1});else{const t=this.springs;IO(NO(e),(e=>t[e].resume()))}return this}each(e){LO(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,o=this._changed.size>0;(r&&!this._started||o&&!this._started)&&(this._started=!0,RO(e,(([e,t])=>{t.value=this.get(),e(t,this,this._item)})));const i=!r&&this._started,a=o||i&&n.size?this.get():null;o&&t.size&&RO(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),i&&(this._started=!1,RO(n,(([e,t])=>{t.value=a,e(t,this,this._item)})))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}uO.onFrame(this._onFrame)}};function dP(e,t){return Promise.all(t.map((t=>pP(e,t)))).then((t=>D_(e,t)))}async function pP(e,t,n){const{keys:r,to:o,from:i,loop:a,onRest:s,onResolve:l}=t,c=jO.obj(t.default)&&t.default;a&&(t.loop=!1),!1===o&&(t.to=null),!1===i&&(t.from=null);const u=jO.arr(o)||jO.fun(o)?o:void 0;u?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):IO(lP,(n=>{const r=t[n];if(jO.fun(r)){const o=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=o.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):o.set(r,{value:null,finished:e||!1,cancelled:t||!1})},c&&(c[n]=t[n])}}));const d=e._state;t.pause===!d.paused?(d.paused=t.pause,MO(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const p=(r||Object.keys(e.springs)).map((n=>e.springs[n].start(t))),f=!0===t.cancel||!0===k_(t,"cancel");(u||f&&d.asyncId)&&p.push(R_(++e._lastAsyncId,{props:t,state:d,actions:{pause:PO,resume:PO,start(t,n){f?(z_(d,e._lastAsyncId),n(B_(e))):(t.onRest=s,n(V_(u,t,d,e)))}}})),d.paused&&await new Promise((e=>{d.resumeQueue.add(e)}));const h=D_(e,await Promise.all(p));if(a&&h.finished&&(!n||!h.noop)){const n=tP(t,a,o);if(n)return vP(e,[n]),pP(e,n,!0)}return l&&uO.batchedUpdates((()=>l(h,e,e.item))),h}function fP(e,t){const n={...e.springs};return t&&IO(NO(t),(e=>{jO.und(e.keys)&&(e=nP(e)),jO.obj(e.to)||(e={...e,to:void 0}),gP(n,e,(e=>mP(e)))})),hP(e,n),n}function hP(e,t){LO(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,LA(t,e))}))}function mP(e,t){const n=new J_;return n.key=e,t&&LA(n,t),n}function gP(e,t,n){t.keys&&IO(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function vP(e,t){IO(t,(t=>{gP(e.springs,t,(t=>mP(t,e)))}))}var yP,bP=({children:e,...t})=>{const n=(0,s.useContext)(wP),r=t.pause||!!n.pause,o=t.immediate||!!n.immediate;
274t=function(e,t){const[n]=(0,s.useState)((()=>({inputs:t,result:e()}))),r=(0,s.useRef)(),o=r.current;let i=o;return i?Boolean(t&&i.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,i.inputs))||(i={inputs:t,result:e()}):i=n,(0,s.useEffect)((()=>{r.current=i,o==n&&(n.inputs=n.result=void 0)}),[i]),i.result}((()=>({pause:r,immediate:o})),[r,o]);const{Provider:i}=wP;return s.createElement(i,{value:t},e)},wP=(yP=bP,Object.assign(yP,s.createContext({})),yP.Provider._context=yP,yP.Consumer._context=yP,yP);bP.Provider=wP.Provider,bP.Consumer=wP.Consumer;var xP=()=>{const e=[],t=function(t){ZA(`${$A}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const r=[];return IO(e,((e,o)=>{if(jO.und(t))r.push(e.start());else{const i=n(t,e,o);i&&r.push(e.start(i))}})),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return IO(e,(e=>e.pause(...arguments))),this},t.resume=function(){return IO(e,(e=>e.resume(...arguments))),this},t.set=function(t){IO(e,((e,n)=>{const r=jO.fun(t)?t(n,e):t;r&&e.set(r)}))},t.start=function(t){const n=[];return IO(e,((e,r)=>{if(jO.und(t))n.push(e.start());else{const o=this._getProps(t,e,r);o&&n.push(e.start(o))}})),n},t.stop=function(){return IO(e,(e=>e.stop(...arguments))),this},t.update=function(t){return IO(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return jO.fun(e)?e(n,t):e};return t._getProps=n,t};function kP(e,t){const n=jO.fun(e),[[r],o]=function(e,t,n){const r=jO.fun(t)&&t;r&&!n&&(n=[]);const o=(0,s.useMemo)((()=>r||3==arguments.length?xP():void 0),[]),i=(0,s.useRef)(0),a=JA(),l=(0,s.useMemo)((()=>({ctrls:[],queue:[],flush(e,t){const n=fP(e,t);return i.current>0&&!l.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?dP(e,t):new Promise((r=>{hP(e,n),l.queue.push((()=>{r(dP(e,t))})),a()}))}})),[]),c=(0,s.useRef)([...l.ctrls]),u=[],d=n_(e)||0;function p(e,n){for(let o=e;o<n;o++){const e=c.current[o]||(c.current[o]=new uP(null,l.flush)),n=r?r(o,e):t[o];n&&(u[o]=rP(n))}}(0,s.useMemo)((()=>{IO(c.current.slice(e,d),(e=>{(function(e,t){e.ref?.delete(e),t?.delete(e)})(e,o),e.stop(!0)})),c.current.length=e,p(d,e)}),[e]),(0,s.useMemo)((()=>{p(0,Math.min(d,e))}),n);const f=c.current.map(((e,t)=>fP(e,u[t]))),h=(0,s.useContext)(bP),m=n_(h),g=h!==m&&function(e){for(const t in e)return!0;return!1}(h);XA((()=>{i.current++,l.ctrls=c.current;const{queue:e}=l;e.length&&(l.queue=[],IO(e,(e=>e()))),IO(c.current,((e,t)=>{o?.add(e),g&&e.start({default:h});const n=u[t];n&&(function(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),e_((()=>()=>{IO(l.ctrls,(e=>e.stop(!0)))}));const v=f.map((e=>({...e})));return o?[v,o]:v}(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,o]:r}var CP=class extends $_{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=vA(...t);const n=this._get(),r=h_(n);i_(this,r.create(n))}advance(e){const t=this._get();TO(t,this.get())||(o_(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&SP(this._active)&&OP(this)}_get(){const e=jO.arr(this.source)?this.source.map(_A):NO(_A(this.source));return this.calc(...e)}_start(){this.idle&&!SP(this._active)&&(this.idle=!1,IO(a_(this),(e=>{e.done=!1})),_O.skipAnimation?(uO.batchedUpdates((()=>this.advance())),OP(this)):KO.start(this))}_attach(){let e=1;IO(NO(this.source),(t=>{AA(t)&&LA(t,this),q_(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){IO(NO(this.source),(e=>{AA(e)&&NA(e,this)})),this._active.clear(),OP(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=NO(this.source).reduce(((e,t)=>Math.max(e,(q_(t)?t.priority:0)+1)),0))}};function EP(e){return!1!==e.idle}function SP(e){return!e.size||Array.from(e).every(EP)}function OP(e){e.idle||(e.idle=!0,IO(a_(e),(e=>{e.done=!0})),jA(e,{type:"idle",parent:e}))}_O.assign({createStringInterpolator:WA,to:(e,t)=>new CP(e,t)}),KO.advance;var AP=/^--/;function _P(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||AP.test(e)||jP.hasOwnProperty(e)&&jP[e]?(""+t).trim():t+"px"}var PP={},jP={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},TP=["Webkit","Ms","Moz","O"];jP=Object.keys(jP).reduce(((e,t)=>(TP.forEach((n=>e[((e,t)=>
274e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),jP);var IP=/^(matrix|translate|scale|rotate|skew)/,LP=/^(translate)/,NP=/^(rotate|skew)/,RP=(e,t)=>jO.num(e)&&0!==e?e+t:e,DP=(e,t)=>jO.arr(e)?e.every((e=>DP(e,t))):jO.num(e)?e===t:parseFloat(e)===t,FP=class extends d_{constructor({x:e,y:t,z:n,...r}){const o=[],i=[];(e||t||n)&&(o.push([e||0,t||0,n||0]),i.push((e=>[`translate3d(${e.map((e=>RP(e,"px"))).join(",")})`,DP(e,0)]))),LO(r,((e,t)=>{if("transform"===t)o.push([e||""]),i.push((e=>[e,""===e]));else if(IP.test(t)){if(delete r[t],jO.und(e))return;const n=LP.test(t)?"px":NP.test(t)?"deg":"";o.push(NO(e)),i.push("rotate3d"===t?([e,t,r,o])=>[`rotate3d(${e},${t},${r},${RP(o,n)})`,DP(o,0)]:e=>[`${t}(${e.map((e=>RP(e,n))).join(",")})`,DP(e,t.startsWith("scale")?1:0)])}})),o.length&&(r.transform=new MP(o,i)),super(r)}},MP=class extends TA{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return IO(this.inputs,((n,r)=>{const o=_A(n[0]),[i,a]=this.transforms[r](jO.arr(o)?o:n.map(_A));e+=" "+i,t=t&&a})),t?"none":e}observerAdded(e){1==e&&IO(this.inputs,(e=>IO(e,(e=>AA(e)&&LA(e,this)))))}observerRemoved(e){0==e&&IO(this.inputs,(e=>IO(e,(e=>AA(e)&&NA(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),jA(this,e)}};_O.assign({batchedUpdates:la.unstable_batchedUpdates,createStringInterpolator:WA,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var BP=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new d_(e),getComponentProps:r=e=>e}={})=>{const o={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},i=e=>{const t=y_(e)||"Anonymous";return(e=jO.str(e)?i[e]||(i[e]=m_(e,o)):e[v_]||(e[v_]=m_(e,o))).displayName=`Animated(${t})`,e};return LO(e,((t,n)=>{jO.arr(e)&&(n=y_(t)),i[n]=i(t)})),{animated:i}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{className:r,style:o,children:i,scrollTop:a,scrollLeft:s,viewBox:l,...c}=t,u=Object.values(c),d=Object.keys(c).map((t=>n||e.hasAttribute(t)?t:PP[t]||(PP[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())))));void 0!==i&&(e.textContent=i);for(const t in o)if(o.hasOwnProperty(t)){const n=_P(t,o[t]);AP.test(t)?e.style.setProperty(t,n):e.style[t]=n}
274d.forEach(((t,n)=>{e.setAttribute(t,u[n])})),void 0!==r&&(e.className=r),void 0!==a&&(e.scrollTop=a),void 0!==s&&(e.scrollLeft=s),void 0!==l&&e.setAttribute("viewBox",l)},createAnimatedStyle:e=>new FP(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),VP=BP.animated;function zP(){return vi(UP,{"data-test":"navigation-submenu-item-skeleton",children:[gi(qP,{height:10,width:127,"aria-busy":!0}),gi(qP,{height:8,width:84,"aria-busy":!0})]})}const UP=eO.div` 275 display: flex; 276 flex-direction: column; 277 justify-content: center; 278 gap: 12px; 279 box-sizing: border-box; 280 height: 48px; 281 padding: 4px 12px 4px 24px; 282`,HP=Pi.i7` 283 0% { 284 transform: translateX(-100%); 285 } 286 60% { 287 transform: translateX(127px); 288 } 289 100% { 290 transform: translateX(127px); 291 } 292`,qP=eO("span")((e=>{let{theme:t,height:n,width:r}=e;return Pi.AH` 293 display: block; 294 flex-shrink: 0; 295 height: ${n}px; 296 width: ${r}px; 297 border-radius: ${n/2}px; 298 position: relative; 299 overflow: hidden; 300 /* Medium grey skeleton on dark nav (matches design vs decoration-line tint) */ 301 background-color: ${t.navigationV3.scrollbarColor}; 302 303 &::after { 304 animation: ${HP} 1.6s linear 0.5s infinite; 305 background: linear-gradient( 306 90deg, 307 transparent, 308 rgba(255, 255, 255, 0.22), 309 rgba(255, 255, 255, 0.08), 310 transparent 311 ); 312 content: ''; 313 position: absolute; 314 inset: 0; 315 transform: translateX(-100%); 316 z-index: 1; 317 } 318 `}));var WP,$P=n(10083),GP=new Uint8Array(16);function KP(){if(!WP&&!(WP="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return WP(GP)}const ZP=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var YP=[],XP=0;XP<256;++XP)YP.push((XP+256).toString(16).substr(1));const QP=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(YP[e[t+0]]+YP[e[t+1]]+YP[e[t+2]]+YP[e[t+3]]+"-"+YP[e[t+4]]+YP[e[t+5]]+"-"+YP[e[t+6]]+YP[e[t+7]]+"-"+YP[e[t+8]]+YP[e[t+9]]+"-"+YP[e[t+10]]+YP[e[t+11]]+YP[e[t+12]]+YP[e[t+13]]+YP[e[t+14]]+YP[e[t+15]]).toLowerCase();if(!function(e){return"string"==typeof e&&ZP.test(e)}(n))throw TypeError("Stringified UUID is invalid");return n},JP=function(e,t,n){var r=(e=e||{}).random||(e.rng||KP)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return QP(r)};function ej(){return ej=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ej.apply(this,arguments)}var tj={x1:"0.459229",y1:"0",x2:"16.4592",y2:"16",gradientUnits:"userSpaceOnUse"},nj={yellow:{0:$P.oranges[40],1:$P.yellows[50]},red:{0:"#F80F6b",1:$P.reds[50]},pink:{0:$P.purples[50],1:"#F80F6b"},purple:{0:$P.purples[70],1:$P.purples[50]},spectrumOrange:{0:$P.reds[50],.5:$P.oranges[40],1:$P.yellows[50]},spectrumPurple:{0:$P.purples[70],.5:$P.purples[50],1:$P.reds[50]},orange:{0:$P.reds[50],1:$P.oranges[40]},ai:{0:$P.purples[70],1:"#D200A3"}};function rj(e){var{preset:t}=e,n=nj[t];return Object.entries(n).sort(((e,t)=>{var[n]=e,[r]=t;return parseFloat(n)-parseFloat(r)})).map((e=>{var[t,n]=e;return(0,fi.jsx)("stop",ej({stopColor:n},0===parseFloat(t)?{}:{offset:t}),t)}))}function oj(e){var{id:t,preset:n}=e;return(0,fi.jsx)("defs",{children:(0,fi.jsx)("linearGradient",ej({id:t},tj,{children:(0,fi.jsx)(rj,{preset:n})}))})}var ij=e=>{var t=t=>{var{gradient:n,gradientPainter:r}=t,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(t,["gradient","gradientPainter"]),i=JP();return r?(0,fi.jsx)(e,ej({},o,{color:"url(#"+i+")",children:(0,fi.jsx)(r,{id:i})})):n?(0,fi.jsx)(e,ej({}
318,o,{color:"url(#"+i+")",children:(0,fi.jsx)(oj,{id:i,preset:n})})):(0,fi.jsx)(e,ej({},o))};return t.displayName="withGradient(Glyphs)",t};function aj(){return aj=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aj.apply(this,arguments)}var sj=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",aj({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M13.7803 3.56446C14.7131 1.76562 17.2869 1.76562 18.2197 3.56446L30.1631 26.5996C31.0257 28.2637 29.8178 30.25 27.9433 30.25H4.05663C2.18218 30.25 0.974286 28.2637 1.8369 26.5996L13.7803 3.56446ZM4.05663 27.75H27.9433L16 4.71583L4.05663 27.75Z",fill:n}),(0,fi.jsx)("path",{d:"M17.5639 19.75C17.5639 20.4404 17.0043 21 16.3139 21C15.6236 21 15.0639 20.4404 15.0639 19.75L15.064 12.25C15.064 11.5597 15.6236 11 16.314 11C17.0043 11 17.564 11.5597 17.564 12.25L17.5639 19.75Z",fill:n}),(0,fi.jsx)("path",{d:"M17.5639 24.75C17.5639 25.4404 17.0043 26 16.314 26C15.6236 26 15.064 25.4404 15.064 24.75V24.25C15.064 23.5597 15.6236 23 16.314 23C17.0043 23 17.564 23.5597 17.564 24.25L17.5639 24.75Z",fill:n})]}))}));function lj(e){let{children:t}=e;return vi(cj,{children:[gi(sj,{}),gi("div",{children:t})]})}const cj=eO.div` 319 display: flex; 320 align-items: flex-start; 321 gap: 8px; 322 padding: 6px 12px 6px 24px; 323 font-size: 12px; 324 line-height: 18px; 325`;function uj(){return uj=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uj.apply(this,arguments)}var dj=(0,Pi.i7)({"0%":{backgroundPosition:"100% 0%"},"67%":{backgroundPosition:"-100% 0%"},"100%":{backgroundPosition:"-100% 0%"}}),pj=(e,t)=>{var n=Hi(e.semanticTokensV9,(()=>e.tokens)),r=n((e=>e.colors.fg.ai.start),e.colors.purples[70]),o=n((e=>e.colors.fg.ai.end),"#D200A3");return uj({display:"inline",color:r,background:"linear-gradient(135deg, "+r+" 13.72%, "+o+" 100%)",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},t&&{background:"linear-gradient(90deg, "+o+" 0%, "+r+" 50%, "+o+" 100%)",backgroundSize:"200% 100%",animation:dj+" 3s linear infinite"})},fj=ji.styled.span((e=>{var{lines:t}=e;return{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-word",display:"-webkit-box",WebkitLineClamp:t,WebkitBoxOrient:"vertical",whiteSpace:1===t?"nowrap":"normal"}}));function hj(){return hj=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hj.apply(this,arguments)}var mj=e=>"string"==typeof e||"number"==typeof e?String(e):Array.isArray(e)?e.map(mj).join(""):c().isValidElement(e)&&e.props.children?mj(e.props.children):"",gj=e=>{var{children:t,lines:n=1}=e,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["children","lines"]),o=(0,s.useRef)(null),[i,a]=(0,s.useState)(!1);return(0,s.useEffect)((()=>{var e=()=>{if(o.current){var e=o.current,t=1===n?e.scrollWidth>e.clientWidth:e.scrollHeight>e.clientHeight;a(t)}};e();var t=new ResizeObserver(e);return o.current&&t.observe(o.current),()=>{t.disconnect()}}),[t,n]),(0,fi.jsx)(fj,hj({lines:n,ref:o},i&&{title:mj(t)},r,{children:t}))},vj=n(14003),yj=n(10196),bj=500,wj=new Map,xj={lowHover:.03,lowPressed:.08,mediumHover:.05,mediumPressed:.1,highHover:.1,highPressed:.3};function kj(e){var{baseColor:t,tint:n}=e,r=xj[n.opacity];if(void 0===r)throw new RangeError("Unknown tint opacity stop: "+String(n.opacity));var o=JSON.stringify([t,n.color,n.opacity]),i=wj.get(o);if(void 0!==i)return wj.delete(o),wj.set(o,i),i;var a=(0,yj.jh)(r,n.color,t);if(wj.set(o,a),wj.size>bj){var s=wj.keys().next().value;void 0!==s&&wj.delete(s)}return a}var Cj="#612FFF",Ej="#D200A3",Sj="linear-gradient(135deg, "+Cj+" 13.72%, "+Ej+" 100%)",Oj=e=>{var{theme:t}=e,n=Hi(t.semanticTokensV9,(()=>t.tokens)),r={start:n((e=>e.colors.fg.ai.start),Cj),end:n((e=>e.colors.fg.ai.end),Ej)},o=n((e=>"linear-gradient("+e.colors.bg.fill.default+", "+e.colors.bg.fill.default+") padding-box, linear-gradient(135deg, "+e.colors.border.ai.start+" 13.72%, "+e.colors.border.ai.end+" 100%) border-box"),"linear-gradient("+t.colors.white+", "+t.colors.white+") padding-box, "+Sj+" border-box");return{background:{gray:n((e=>e.colors.bg.fill.decorative.gray),t.tag.colors.background.initial),purple:n((e=>e.colors.bg.fill.decorative.purple),t.tag.colors.background.primary),green:n((e=>e.colors.bg.fill.decorative.green),t.tag.colors.background.success),yellow:n((e=>e.colors.bg.fill.decorative.yellow),t.tag.colors.background.warning),orange:n((e=>e.colors.bg.fill.decorative.orange),t.tag.colors.background.secondary),red:n((e=>e.colors.bg.fill.decorative.red),t.tag.colors.background.danger),blue:n((e=>e.colors.bg.fill.decorative.blue),t.tag.colors.background.informational),ai:n((e=>"linear-gradient(135deg, "+kj({baseColor:e.colors.bg.area.primary,tint:{color:e.colors.bg.area.ai.start,opacity:"highHover"}})+" 13.72%, "+kj({baseColor:e.colors.bg.area.primary,tint:{color:e.colors.bg.area.ai.end,opacity:"highHover"}})+" 100%)"),"linear-gradient(135deg, rgba(97, 47, 255, 0.1) 13.72%, rgba(210, 0, 163, 0.1) 100%), "+t.colors.white),upsell:o},foreground:{gray:n((e=>e.colors.fg.decorative.gray),t.tag.colors.text.initial),purple:n((e=>e.colors.fg.decorative.purple),t.tag.colors.text.primary),green:n((e=>e.colors.fg.decorative.green),t.tag.colors.text.success),yellow:n((e=>
325e.colors.fg.decorative.yellow),t.tag.colors.text.warning),orange:n((e=>e.colors.fg.decorative.orange),t.tag.colors.text.secondary),red:n((e=>e.colors.fg.decorative.red),t.tag.colors.text.danger),blue:n((e=>e.colors.fg.decorative.blue),t.tag.colors.text.informational),ai:r,upsell:r},layout:{borderRadius:{default:n((e=>e.radii.sm),t.radius.m)}}}},Aj=e=>{var{theme:t}=e;return{colors:{background:{initial:t.colors.grays[20],primary:t.colors.purples[20],success:t.colors.greens[20],warning:t.colors.yellows[20],secondary:t.colors.oranges[20],danger:t.colors.reds[20],informational:t.colors.blues[20]},text:{initial:t.colors.grays[80],primary:t.colors.purples[80],success:t.colors.greens[80],warning:t.colors.yellows[80],secondary:t.colors.oranges[80],danger:t.colors.reds[80],informational:t.colors.blues[80]}}}},_j=e=>{var t,n,r,o,i,a,s,l,c,u,d,p,f,h,{theme:m}=e,{colors:g}=Yi({componentTheme:m.tag,defaultComponentTheme:Aj({theme:m})});return zi({background:{gray:null==g||null==(t=g.background)?void 0:t.initial,purple:null==g||null==(n=g.background)?void 0:n.primary,green:null==g||null==(r=g.background)?void 0:r.success,yellow:null==g||null==(o=g.background)?void 0:o.warning,orange:null==g||null==(i=g.background)?void 0:i.secondary,red:null==g||null==(a=g.background)?void 0:a.danger,blue:null==g||null==(s=g.background)?void 0:s.informational},foreground:{gray:null==g||null==(l=g.text)?void 0:l.initial,purple:null==g||null==(c=g.text)?void 0:c.primary,green:null==g||null==(u=g.text)?void 0:u.success,yellow:null==g||null==(d=g.text)?void 0:d.warning,orange:null==g||null==(p=g.text)?void 0:p.secondary,red:null==g||null==(f=g.text)?void 0:f.danger,blue:null==g||null==(h=g.text)?void 0:h.informational}})},Pj=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),jj=e=>{var{theme:t}=e,n=t.tag,r=Pj(n,"layout")||Pj(n,"borderRadius");return zi({background:Pj(n,"background")?n.background:void 0,foreground:Pj(n,"foreground")?n.foreground:void 0,layout:r?{borderRadius:Bi({componentTheme:n,tokenKey:"borderRadius",defaults:{default:t.radius.m},variantOverride:Pj(n,"borderRadius")?{borderRadius:n.borderRadius}:void 0})}:void 0})},Tj=e=>{var{theme:t}=e;return Ui({defaults:Oj({theme:t}),legacyOverlay:_j({theme:t}),newFormatOverlay:jj({theme:t})})},Ij={DEFAULT:"Gray",PRIMARY:"Purple",SUCCESS:"Green",WARNING:"Yellow",TERTIARY:"Yellow",SECONDARY:"Orange",DANGER:"Red",INFORMATIONAL:"Blue"};function Lj(){return Lj=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lj.apply(this,arguments)}var Nj=new Set(["color","as","variant","isSmall"]),Rj=e=>{var{start:t,end:n}=e;return"linear-gradient(135deg, "+t+" 13.72%, "+n+" 100%)"},Dj=(0,ji.styled)("span",{shouldForwardProp:e=>!Nj.has(e)})((e=>{var{isSmall:t,as:n,theme:r}=e,{layout:o}=Tj({theme:r});return Lj({fontFamily:r.fontFamily.default,fontSize:t?"10px":"12px",lineHeight:t?void 0:"16px",fontWeight:700,whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",gap:r.space.xs,padding:"4px 8px",border:"none",borderRadius:o.borderRadius.default},"button"===n&&{cursor:"pointer","&:focus":{outline:"none"}})}),(function(e){var{theme:t,variant:n="DEFAULT",color:r}=e,o=null!=r?r:Ij[n],{background:i,foreground:a}=Tj({theme:t});return{Gray:{backgroundColor:i.gray,color:a.gray},Purple:{backgroundColor:i.purple,color:a.purple},Green:{backgroundColor:i.green,color:a.green},Yellow:{backgroundColor:i.yellow,color:a.yellow},Orange:{backgroundColor:i.orange,color:a.orange},Red:{backgroundColor:i.red,color:a.red},Blue:{backgroundColor:i.blue,color:a.blue},"Purple gradient outlined":{padding:"2px 6px",background:i.upsell,border:"2px solid transparent","& > span":{background:Rj(a.upsell),backgroundClip:"text",color:"transparent"}},Upsell:{padding:"2px 6px",background:i.upsell,border:"2px solid transparent","& > span":{background:Rj(a.upsell),backgroundClip:"text",color:"transparent"}},AI:{background:i.ai,"& > span":{background:Rj(a.ai),backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",color:"transparent"}}}[o]})),Fj=e=>{var{id:t,themeKey:n}=e,r=(0,ji.useTheme)(),{start:o,end:i}=Tj({theme:r}).foreground[n];return(0,fi.jsx)("defs",{children:(0,fi.jsxs)("linearGradient",{id:t,gradientUnits:"userSpaceOnUse",gradientTransform:"rotate(45)",children:[(0,fi.jsx)("stop",{stopColor:o}),(0,fi.jsx)("stop",{offset:"1",stopColor:i})]})})},Mj=e=>{var{id:t}=e;return(0,fi.jsx)(Fj,{id:t,themeKey:"ai"})},Bj=e=>{var{id:t}=e;return(0,fi.jsx)(Fj,{id:t,themeKey:"upsell"})};function Vj(){return Vj=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vj.apply(this,arguments)}var zj=c().forwardRef(((e,t)=>{var n,r=[e,t],[o,...i]=r,{as:a="span",children:l,iconBefore:c}=o,u=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(o,["as","children","iconBefore"]),[d]=i,p=(0,s.useMemo)((()=>Dj.withComponent(a)),[a]),f="AI"===(n=u.color)?Mj:"Upsell"===n||"Purple gradient outlined"===n?Bj:void 0;return(0,fi.jsxs)(p,Vj({ref:d,as:a},u,{children:[c&&(0,fi.jsx)(c,{size:16,gradientPainter:f}),(0,fi.jsx)("span",{children:l})]}))}));zj.displayName="Tag";var Uj=zj;const Hj=40,qj=48,Wj={height:22,topSpacing:8};function $j(e){let{hasSubtitle:t}=e;return{height:t?qj:Hj,topSpacing:0}}const{breakpoint:Gj}
325=vj,Kj={backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},Zj=eO.li` 326 overflow: hidden; 327 margin-top: 0; 328 position: relative; 329`,Yj=eO.div((e=>{let{theme:t,extended:n,isSub:r}=e;return r?{cursor:"pointer",position:"relative"}:{cursor:"pointer",margin:0,paddingInlineStart:n?8:12,paddingInlineEnd:12,color:t.navigationV3.color}})),Xj=eO.a((e=>{let{theme:t,extended:n,isSub:r,hasSubtitle:o=!1,hasTag:i=!1,shouldShowChevronButton:a}=e;return r?{display:i?"flex":"block",alignItems:"center",width:"100%",height:$j({hasSubtitle:o}).height,paddingTop:o?4:9,paddingBottom:o?0:9,paddingLeft:24,paddingRight:8,border:0,textDecoration:"none",textAlign:"left",cursor:"pointer",backgroundColor:"transparent",margin:0,borderRadius:6,":focus":{outline:0},":focus-visible":{outline:"2px solid white",outlineOffset:-2}}:{display:"flex",alignItems:"center",justifyContent:n?"flex-start":"center",height:40,width:"100%",margin:0,padding:n?"8px 0 8px 6px":"8px 0",border:0,textDecoration:"none",textAlign:"left",cursor:"pointer",backgroundColor:"transparent",":focus":{outline:0},...n&&{borderRadius:6,...a&&{paddingInlineEnd:36},":focus-visible":{outline:"2px solid white",outlineOffset:-2},":hover":{backgroundColor:t.navigationV3.navItem.hoverBackgroundColor}},[Gj.s]:{height:40,justifyContent:"flex-start"}}})),Qj=eO.span((e=>{let{extended:t}=e;return{display:"flex",justifyContent:"center",alignItems:"center",padding:t?4:2,margin:`0 ${t?12:0}px 0 0`,[Gj.s]:{marginInlineStart:0}}})),Jj=eO.div((e=>{let{theme:t,active:n,current:r,hovered:o,assistant:i}=e;const a=t.navigationV3,s=a.navItem.selectedTextColor?{color:a.navItem.selectedTextColor}:{background:GS.orange,...Kj},l={background:`linear-gradient(135deg, ${t.colors.purples[70]} 0%, ${t.colors.purples[50]} 100%)`,...Kj};return{fontSize:"14px",lineHeight:1.5,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",fontWeight:r?700:400,...o&&!r?{background:a.navItem.hoverTextColor,...Kj}:n?i&&!r?l:s:{color:a.color}}})),eT=eO(Uj,{shouldForwardProp:e=>"active"!==e})((e=>{let{theme:t,active:n}=e;const{newTag:r}=t.navigationV3.navItem,o=n?r.selectedColor:r.color;return{marginLeft:t.space.xs,background:n?r.selectedBackground:r.background,fontSize:10,lineHeight:"12px","& > span":/gradient/i.test(o)?{background:o,...Kj}:{color:o}}})),tT=eO.div({display:"flex",alignItems:"center",gap:4,minWidth:0}),nT=eO.div((e=>{let{theme:t,current:n,hovered:r,dim:o,hasAdornment:i}=e;const{item:a}=t.nav;return{fontSize:"14px",lineHeight:"22px",minWidth:0,fontWeight:n?700:i?300:400,...o?{color:t.colors.grays[50]}:n?{background:a.selected.color||a.selected.gradient&&GS[a.selected.gradient],...Kj}:r?{background:a.hover.color,...Kj}:{color:a.color}}})),rT=eO.span({display:"flex",alignItems:"center",justifyContent:"center",flex:"0 0 auto","svg *:not([fill^='url'])":{fill:"currentcolor"}}),oT=eO(eT)({flex:"0 0 auto"}),iT=eO.span((e=>{let{theme:t,active:n}=e;return{position:"absolute",top:26,left:0,right:12,display:"block",fontSize:12,height:18,lineHeight:"18px",paddingLeft:24,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",pointerEvents:"none",color:t.colors.grays[50],...n&&{color:t.nav.item.selected.color||"inherit",...t.nav.item.selected.gradient&&{background:GS[t.nav.item.selected.gradient],...Kj}}}})),aT=eO.div((e=>{let{theme:t,visible:n}=e;return{position:"absolute",top:0,bottom:0,left:0,width:1,backgroundColor:t.navigationV3.navItem.submenuDecorationLine.hoverColor,visibility:n?"visible":"hidden"}})),sT=eO(Xj)((e=>{let{theme:t}=e;return{color:t.colors.grays[50],height:Wj.height,paddingTop:0,paddingBottom:0}})),lT=eO.div((e=>{let{theme:t,hasAdornment:n}=e;return{color:t.colors.grays[50],fontSize:12,lineHeight:"18px",fontWeight:n?300:400,minWidth:0}}));var cT={name:"l3a4pu",styles:"display:block;width:100%;min-width:0"};function uT(e){let{title:t,href:n,target:r,dataTest:o,tabIndex:i,titleAdornment:a,click:l,"data-navigation-link":c}=e;
329const[u,d]=(0,s.useState)(!1),p=null!=a,f=gi(lT,{hasAdornment:p,"data-test":"navigation-submenu-action-title",children:gi(gj,{css:cT,children:t})});return vi(Yj,{isSub:!0,onMouseMove:()=>d(!0),onMouseLeave:()=>d(!1),onClick:e=>{l&&(e.preventDefault(),l(e))},children:[gi(sT,{isSub:!0,href:n,target:r,"data-test":o,"data-navigation-link":c,tabIndex:i,children:p?vi(tT,{children:[f,gi(rT,{"data-test":"navigation-submenu-title-adornment",children:a})]}):f}),gi(aT,{visible:u})]})}const dT=eO.span({WebkitTextFillColor:"initial",background:"none"}),pT="undefined"!=typeof Intl&&"function"==typeof Intl.Segmenter?new Intl.Segmenter(void 0,{granularity:"grapheme"}):void 0,fT=e=>{let{children:t}=e;const n=(0,s.useMemo)((()=>(e=>{if(!pT||""===e)return[{text:e,emoji:!1}];const t=[];for(const{segment:n}of pT.segment(e)){const e=/\p{Emoji_Presentation}|\u{FE0F}|\u{20E3}|\p{Regional_Indicator}/u.test(n),r=t[t.length-1];r&&r.emoji===e?r.text+=n:t.push({text:n,emoji:e})}return t})(t)),[t]);let r=0;return gi(mi,{children:n.map((e=>{const t=`${r}:${e.emoji?"e":"t"}`;return r+=e.text.length,e.emoji?gi(dT,{children:e.text},t):gi(s.Fragment,{children:e.text},t)}))})};function hT(e){let{title:t,href:n,target:r,dataTest:o,active:i=!1,dim:a=!1,tabIndex:l,subtitle:c,titleAdornment:u,tag:d,click:p,"data-navigation-link":f}=e;const[h,m]=(0,s.useState)(!1),g=tO(),v=i,y=!!c,b=null!=u,w=a||!h?g.colors.grays[50]:g.nav.item.hover.color,x=v&&(0,s.isValidElement)(u)?(0,s.cloneElement)(u,{color:g.nav.item.selected.color,gradient:g.nav.item.selected.gradient}):u,k=gi(nT,{current:v,hovered:h,dim:a,hasAdornment:b,children:gi(gj,{css:(0,$S.AH)({display:"block",width:d?"auto":"100%",minWidth:0},"",""),children:null!=t?gi(fT,{children:t}):t})}),C=b?vi(tT,{children:[k,gi(rT,{"data-test":"navigation-submenu-title-adornment",style:{color:w},children:x})]}):k;return vi(Yj,{isSub:!0,onMouseMove:()=>m(!0),onMouseLeave:()=>m(!1),onClick:e=>{e.preventDefault(),null==p||p(e)},children:[vi(Xj,{isSub:!0,hasTag:!!d,hasSubtitle:y,href:n,target:r,"data-test":o,"data-navigation-link":f,"aria-current":i?"page":void 0,tabIndex:l,children:[C,d&&gi(oT,{isSmall:!0,active:v,children:d})]}),y&&gi(iT,{active:v,children:c}),gi(aT,{visible:h&&!v})]})}const mT=$j({hasSubtitle:!1});function gT(e){return lO(e)?$j({hasSubtitle:!0}):"action"===e.rowType?Wj:$j({hasSubtitle:!!e.subtitle})}function vT(e){let{height:t,topSpacing:n}=e;return t+n}const yT=eO.div` 330 display: flex; 331 flex-direction: row; 332 overflow: hidden; 333`,bT=eO.ul` 334 z-index: 1; // Make the focus rings cover the decoration line 335 flex-grow: 1; 336 list-style: none; 337 margin: 0; 338 padding: 0 12px 0 0; 339 overflow: hidden; 340`,wT=eO.li((e=>{let{hasSubtitle:t=!1}=e;return{margin:0,padding:0,height:$j({hasSubtitle:t}).height}})),xT=eO.li({margin:0,marginTop:Wj.topSpacing,padding:0,height:Wj.height}),kT=eO.div((e=>{let{theme:t}=e;return Pi.AH` 341 position: absolute; 342 z-index: 1; 343 top: 0; 344 width: 1px; 345 left: 100%; 346 background: ${t.nav.item.selected.color||t.nav.item.selected.gradient&&GS[t.nav.item.selected.gradient]}; 347 `})),CT=VP(kT),ET=eO.div((e=>{let{theme:t}=e;return Pi.AH` 348 width: 0; 349 margin-left: calc(26px + var(--indent-level) * 32px); 350 display: flex; 351 justify-content: flex-start; 352 position: relative; 353 354 &::after { 355 content: ''; 356 position: absolute; 357 top: 0; 358 bottom: 0; 359 width: 1px; 360 left: 100%; 361 background-color: ${t.nav.subMenuLine}; 362 } 363 `})),ST=c().forwardRef(((e,t)=>{let{expanded:n,links:r,onLinkClick:o,navigationExpanded:i,activeItemIndex:a}=e;const l=(0,s.useMemo)((()=>(r||[]).map(gT)),[r]),c=kP({transform:`translate3d(0,${(0,s.useMemo)((()=>{if(a<0)return 0;let e=(l[a]??mT).topSpacing;for(let t=0;t<a;t++)e+=vT(l[t]??mT);return e}),[a,l])}px,0)`,height:a>=0?(l[a]??mT).height:0}),u=(0,s.useMemo)((()=>(r||[]).map(((e,t)=>{if(lO(e))return"skeleton"===e.type?gi(wT,{hasSubtitle:!0,children:gi(zP,{})},`skeleton-${t}`):gi(wT,{hasSubtitle:!0,children:gi(lj,{children:e.children})},"error");const r=t=>{var n;null===(n=e.onClick)||void 0===n||n.call(e,t),null==o||o(e)},i=sO()(e.title),a=e.testId??sO()(`primary nav ${e.title}`);if("action"===e.rowType)return gi(xT,{children:gi(uT,{title:e.title,href:e.href,target:e.target,"data-navigation-link":i,titleAdornment:e.titleAdornment,dataTest:a,tabIndex:n?void 0:-1,click:r})},i);
363const s=!!e.subtitle;return gi(wT,{hasSubtitle:s,...e.logrocketPrivate?{"data-private":!0}:{},children:gi(hT,{title:e.title,href:e.href,target:e.target,"data-navigation-link":i,active:e.active,dim:e.dim,subtitle:e.subtitle,titleAdornment:e.titleAdornment,tag:e.tag,dataTest:a,tabIndex:n?void 0:-1,click:r})},i)}))),[n,r,o]);return i?vi(yT,{ref:t,children:[vi(ET,{children:[(r||[]).map(((e,t)=>gi("div",{style:{height:vT(l[t]??mT)}},t))),gi(CT,{style:c})]}),gi(bT,{children:u})]}):gi(s.Fragment,{children:u})}));ST.displayName="NavigationSubMenu";const OT={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};function AT(e){let{expanded:t,children:n}=e;const[r,{height:o}]=function(){const[e,t]=(0,s.useState)(null),[n,r]=(0,s.useState)(OT),o=(0,s.useMemo)((()=>new window.ResizeObserver((e=>{if(e[0]){const{x:t,y:n,width:o,height:i,top:a,left:s,bottom:l,right:c}=e[0].contentRect;r({x:t,y:n,width:o,height:i,top:a,left:s,bottom:l,right:c})}}))),[]);return(0,s.useLayoutEffect)((()=>{if(e)return o.observe(e),()=>{o.disconnect()}}),[e]),[t,n]}(),i=function(e){const t=(0,s.useRef)();return(0,s.useEffect)((()=>{t.current=e}),[e]),t.current}(t),{height:a,opacity:l,overflow:c,transform:u}=kP({config:{duration:180},from:{height:0,opacity:0,overflow:"hidden",transform:"translate3d(20px,0,0)"},to:{height:t?o:0,opacity:t?1:0,overflow:t?"visible":"hidden",transform:`translate3d(${t?0:20}px,0,0)`}});return gi(VP.div,{style:{overflow:c,opacity:l,height:t&&i===t?"auto":a},children:gi(VP.div,{ref:r,style:{transform:u},children:n})})}var _T=n(80006);function PT(){return PT=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},PT.apply(this,arguments)}var jT=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",PT({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M11.25 5.25V8.75H20.75V5.25H11.25ZM23.25 8.75C23.25 10.1307 22.1307 11.25 20.75 11.25H11.25C9.86929 11.25 8.75 10.1307 8.75 8.75V5.25C8.75 3.86929 9.86929 2.75 11.25 2.75H20.75L21.0059 2.7627C22.2664 2.89082 23.25 3.95566 23.25 5.25V8.75Z",fill:n}),(0,fi.jsx)("path",{d:"M6.25 11.25V25.75H25.75V11.25H6.25ZM28.25 25.75C28.25 27.1307 27.1307 28.25 25.75 28.25H6.25C4.86929 28.25 3.75 27.1307 3.75 25.75V11.25C3.75 9.86929 4.86929 8.75 6.25 8.75H25.75C27.1307 8.75 28.25 9.86929 28.25 11.25V25.75Z",fill:n}),(0,fi.jsx)("path",{d:"M6.25 11.25V14C6.25 14.9665 7.0335 15.75 8 15.75H24C24.9665 15.75 25.75 14.9665 25.75 14V11.25H6.25ZM28.25 14C28.25 16.3472 26.3472 18.25 24 18.25H8C5.65279 18.25 3.75 16.3472 3.75 14V11.25C3.75 9.86929 4.86929 8.75 6.25 8.75H25.75C27.1307 8.75 28.25 9.86929 28.25 11.25V14Z",fill:n})]}))}));function TT(){return TT=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},TT.apply(this,arguments)}var IT=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",TT({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M9 14.25C8.30964 14.25 7.75 13.6904 7.75 13C7.75 12.3096 8.30964 11.75 9 11.75H17C17.6904 11.75 18.25 12.3096 18.25 13C18.25 13.6904 17.6904 14.25 17 14.25H9Z",fill:n}),(0,fi.jsx)("path",{d:"M9 9.25C8.30964 9.25 7.75 8.69035 7.75 8C7.75 7.30964 8.30964 6.75 9 6.75L17 6.75C17.6904 6.75 18.25 7.30964 18.25 8C18.25 8.69036 17.6904 9.25 17 9.25L9 9.25Z",fill:n}),(0,fi.jsx)("path",{d:"M9 19.25C8.30964 19.25 7.75 18.6904 7.75 18C7.75 17.3096 8.30964 16.75 9 16.75L17 16.75C17.6904 16.75 18.25 17.3096 18.25 18C18.25 18.6904 17.6904 19.25 17 19.25H9Z",fill:n}),(0,fi.jsx)("path",{d:"M25.75 16C25.75 16.9665 24.9665 17.75 24 17.75H23.25L23.25 5.5C23.25 4.80965 23.8096 4.25 24.5 4.25C25.1904 4.25 25.75 4.80965 25.75 5.5L25.75 16ZM28.25 5.5C28.25 3.42893 26.5711 1.75 24.5 1.75C22.4289 1.75 20.75 3.42893 20.75 5.5L20.75 20.25H24C26.3472 20.25 28.25 18.3472 28.25 16L28.25 5.5Z",fill:n}),(0,fi.jsx)("path",{d:"M20.75 16C20.75 15.3096 21.3096 14.75 22 14.75C22.6903 14.75 23.25 15.3097 23.25 16V28.5996C23.25 29.089 22.9646 29.534 22.5195 29.7373C22.0745 29.9405 21.5515 29.8652 21.1816 29.5449L19 27.6533L16.8184 29.5449C16.3486 29.9517 15.6514 29.9517 15.1816 29.5449L13 27.6533L10.8184 29.5449C10.3486 29.9517 9.65136 29.9517 9.18164 29.5449L7 27.6533L4.81836 29.5449C4.44854 29.8652 3.92552 29.9405 3.48047 29.7373C3.03538 29.534 2.75 29.0889 2.75 28.5996V4.25C2.75 2.86929 3.86929 1.75 5.25 1.75H25C25.6904 1.75 26.25 2.30964 26.25 3C26.25 3.69036 25.6904 4.25 25 4.25H5.25V25.8623L6.18164 25.0557L6.27246 24.9834C6.7379 24.6498 7.37806 24.6741 7.81836 25.0557L10 26.9453L12.1816 25.0557L12.2725 24.9834C12.7379 24.6498 13.3781 24.6741 13.8184 25.0557L16 26.9453L18.1816 25.0557L18.2725 24.9834C18.7379 24.6498 19.3781 24.6741 19.8184 25.0557L20.75 25.8623V16Z",fill:n})]}))}));function LT(){return LT=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},LT.apply(this,arguments)}var NT=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",LT({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M27.75 16C27.75 9.51065 22.4893 4.25 16 4.25C9.51065 4.25 4.25 9.51065 4.25 16C4.25 22.4893 9.51065 27.75 16 27.75C22.4893 27.75 27.75 22.4893 27.75 16ZM30.25 16C30.25 23.8701 23.8701 30.25 16 30.25C8.12994 30.25 1.75 23.8701 1.75 16C1.75 8.12994 8.12994 1.75 16 1.75C23.8701 1.75 30.25 8.12994 30.25 16Z",fill:n}),(0,fi.jsx)("path",{d:"M18.75 13.2227C18.75 12.6857 18.3143 12.25 17.7773 12.25H14.5C13.8096 12.25 13.25 12.8096 13.25 13.5C13.25 14.1904 13.8096 14.75 14.5 14.75H17.5C19.5711 14.75 21.25 16.4289 21.25 18.5C21.25 20.5711 19.5711 22.25 17.5 22.25H14.2227C12.305 22.25 10.75 20.695 10.75 18.7773C10.7502 18.0872 11.3098 17.5273 12 17.5273C12.6902 17.5273 13.2498 18.0872 13.25 18.7773C13.25 19.3143 13.6857 19.75 14.2227 19.75H17.5C18.1904 19.75 18.75 19.1904 18.75 18.5C18.75 17.8096 18.1904 17.25 17.5 17.25H14.5C12.4289 17.25 10.75 15.5711 10.75 13.5C10.75 11.4289 12.4289 9.75 14.5 9.75H17.7773C19.695 9.75 21.25 11.305 21.25 13.2227C21.2498 13.9128 20.6902 14.4727 20 14.4727C19.3098 14.4727 18.7502 13.9128 18.75 13.2227Z",fill:n}),(0,fi.jsx)("path",{d:"M15 23V21C15 20.4477 15.4477 20 16 20C16.5523 20 17 20.4477 17 21V23C17 23.5523 16.5523 24 16 24C15.4477 24 15 23.5523 15 23Z",fill:n}),(0,fi.jsx)("path",{d:"M14.75 11V9C14.75 8.30964 15.3096 7.75 16 7.75C16.6904 7.75 17.25 8.30964 17.25 9V11C17.25 11.6904 16.6904 12.25 16 12.25C15.3096 12.25 14.75 11.6904 14.75 11Z",fill:n})]}))}));function RT(){return RT=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RT.apply(this,arguments)}var DT=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",RT({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M7.25 4.25V27.75H24.75V4.25H7.25ZM27.25 27.75C27.25 29.1307 26.1307 30.25 24.75 30.25H7.25C5.86929 30.25 4.75 29.1307 4.75 27.75V4.25C4.75 2.86929 5.86929 1.75 7.25 1.75H24.75C26.1307 1.75 27.25 2.8
3636929 27.25 4.25V27.75Z",fill:n}),(0,fi.jsx)("path",{d:"M13.5 30H11V3H13.5V30Z",fill:n}),(0,fi.jsx)("path",{d:"M8.75 7.5C9.44036 7.5 10 8.05965 10 8.75C10 9.44036 9.44036 10 8.75 10L4.25 10C3.55964 10 3 9.44036 3 8.75C3 8.05964 3.55964 7.5 4.25 7.5L8.75 7.5Z",fill:n}),(0,fi.jsx)("path",{d:"M21.75 7.5C22.4404 7.5 23 8.05965 23 8.75C23 9.44036 22.4404 10 21.75 10L16.25 10C15.5596 10 15 9.44036 15 8.75C15 8.05964 15.5596 7.5 16.25 7.5L21.75 7.5Z",fill:n}),(0,fi.jsx)("path",{d:"M8.75 14.5C9.44036 14.5 10 15.0596 10 15.75C10 16.4404 9.44036 17 8.75 17L4.25 17C3.55964 17 3 16.4404 3 15.75C3 15.0596 3.55964 14.5 4.25 14.5L8.75 14.5Z",fill:n}),(0,fi.jsx)("path",{d:"M21.75 14.5C22.4404 14.5 23 15.0596 23 15.75C23 16.4404 22.4404 17 21.75 17L16.25 17C15.5596 17 15 16.4404 15 15.75C15 15.0596 15.5596 14.5 16.25 14.5L21.75 14.5Z",fill:n}),(0,fi.jsx)("path",{d:"M8.75 21.5C9.44036 21.5 10 22.0596 10 22.75C10 23.4404 9.44036 24 8.75 24H4.25C3.55964 24 3 23.4404 3 22.75C3 22.0596 3.55964 21.5 4.25 21.5H8.75Z",fill:n})]}))}));function FT(){return FT=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FT.apply(this,arguments)}var MT=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",FT({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M4.25 6.25V21.75H27.75V6.25H4.25ZM30.25 21.75C30.25 23.1307 29.1307 24.25 27.75 24.25H4.25C2.86929 24.25 1.75 23.1307 1.75 21.75V6.25C1.75 4.86929 2.86929 3.75 4.25 3.75H27.75C29.1307 3.75 30.25 4.86929 30.25 6.25V21.75Z",fill:n}),(0,fi.jsx)("path",{d:"M23.75 26.5C24.4404 26.5 25 27.0596 25 27.75C25 28.4404 24.4404 29 23.75 29H8.25C7.55964 29 7 28.4404 7 27.75C7 27.0596 7.55964 26.5 8.25 26.5H23.75Z",fill:n}),(0,fi.jsx)("path",{d:"M14.75 27V23C14.75 22.3096 15.3096 21.75 16 21.75C16.6904 21.75 17.25 22.3096 17.25 23V27C17.25 27.6904 16.6904 28.25 16 28.25C15.3096 28.25 14.75 27.6904 14.75 27Z",fill:n})]}))}));function BT(){return BT=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BT.apply(this,arguments)}var VT=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",BT({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M8.25 4.25V26.2617L9.18164 25.4551L9.27246 25.3838C9.73781 25.0501 10.378 25.0737 10.8184 25.4551L13 27.3457L15.1816 25.4551L15.2725 25.3838C15.7378 25.0501 16.378 25.0737 16.8184 25.4551L19 27.3457L21.1816 25.4551L21.2725 25.3838C21.7378 25.0501 22.378 25.0737 22.8184 25.4551L23.75 26.2617V4.25H8.25ZM26.25 29C26.25 29.4893 25.9645 29.9334 25.5195 30.1367C25.0744 30.34 24.5515 30.2648 24.1816 29.9443L22 28.0537L19.8184 29.9443C19.3485 30.3515 18.6515 30.3515 18.1816 29.9443L16 28.0537L13.8184 29.9443C13.3485 30.3515 12.6515 30.3515 12.1816 29.9443L10 28.0537L7.81836 29.9443C7.44853 30.2648 6.92564 30.34 6.48047 30.1367C6.03551 29.9334 5.75 29.4893 5.75 29V4.25C5.75 2.86929 6.86929 1.75 8.25 1.75H23.75C25.1307 1.75 26.25 2.86929 26.25 4.25V29Z",fill:n}),(0,fi.jsx)("path",{d:"M20 11.75C20.6904 11.75 21.25 12.3096 21.25 13C21.25 13.6904 20.6904 14.25 20 14.25L12 14.25C11.3096 14.25 10.75 13.6904 10.75 13C10.75 12.3096 11.3096 11.75 12 11.75L20 11.75Z",fill:n}),(0,fi.jsx)("path",{d:"M20 16.75C20.6904 16.75 21.25 17.3096 21.25 18C21.25 18.6904 20.6904 19.25 20 19.25H12C11.3096 19.25 10.75 18.6904 10.75 18C10.75 17.3096 11.3096 16.75 12 16.75H20Z",fill:n}),(0,fi.jsx)("path",{d:"M20 6.75C20.6904 6.75 21.25 7.30964 21.25 8C21.25 8.69036 20.6904 9.25 20 9.25H12C11.3096 9.25 10.75 8.69036 10.75 8C10.75 7.30964 11.3096 6.75 12 6.75H20Z",fill:n})]}))}));function zT(){return zT=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zT.apply(this,arguments)}var UT=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",zT({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M5 3.75C5.69033 3.75 6.24996 4.30968 6.25 5V25.75H27C27.6903 25.75 28.25 26.3097 28.25 27C28.25 27.6904 27.6904 28.25 27 28.25H5C4.30968 28.25 3.75 27.6903 3.75 27V5C3.75004 4.3097 4.3097 3.75004 5 3.75ZM25.0967 9.13574C25.574 8.63717 26.3656 8.61957 26.8643 9.09668C27.3629 9.57398 27.3804 10.3655 26.9033 10.8643L20.1338 17.9355C19.898 18.1819 19.5715 18.3213 19.2305 18.3213C18.8896 18.3212 18.5638 18.1818 18.3281 17.9355L15.5381 15.02
36315L10.9033 19.8643C10.426 20.3629 9.63445 20.3805 9.13574 19.9033C8.63716 19.426 8.61954 18.6344 9.09668 18.1357L14.6357 12.3496L14.7275 12.2627C14.9525 12.0709 15.2397 11.964 15.5381 11.9639C15.879 11.9639 16.2056 12.1034 16.4414 12.3496L19.2305 15.2637L25.0967 9.13574Z",fill:n})]}))}));function HT(){return HT=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HT.apply(this,arguments)}var qT=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",HT({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M25 6.75C25.6904 6.75 26.25 7.30964 26.25 8C26.25 8.69036 25.6904 9.25 25 9.25H7C6.30964 9.25 5.75 8.69036 5.75 8C5.75 7.30964 6.30964 6.75 7 6.75H25Z",fill:n}),(0,fi.jsx)("path",{d:"M25 14.75C25.6904 14.75 26.25 15.3096 26.25 16C26.25 16.6904 25.6904 17.25 25 17.25H7C6.30964 17.25 5.75 16.6904 5.75 16C5.75 15.3096 6.30964 14.75 7 14.75H25Z",fill:n}),(0,fi.jsx)("path",{d:"M25 22.75C25.6904 22.75 26.25 23.3096 26.25 24C26.25 24.6904 25.6904 25.25 25 25.25H7C6.30964 25.25 5.75 24.6904 5.75 24C5.75 23.3096 6.30964 22.75 7 22.75H25Z",fill:n})]}))}));function WT(){return WT=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},WT.apply(this,arguments)}var $T=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",WT({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M27.75 16C27.75 9.51065 22.4893 4.25 16 4.25C9.51065 4.25 4.25 9.51065 4.25 16C4.25 22.4893 9.51065 27.75 16 27.75C22.4893 27.75 27.75 22.4893 27.75 16ZM30.25 16C30.25 23.8701 23.8701 30.25 16 30.25C8.12994 30.25 1.75 23.8701 1.75 16C1.75 8.12994 8.12994 1.75 16 1.75C23.8701 1.75 30.25 8.12994 30.25 16Z",fill:n}),(0,fi.jsx)("path",{d:"M18.75 16C18.75 12.4991 18.3118 9.37841 17.6338 7.1748C17.2924 6.06554 16.9111 5.2588 16.5459 4.75684C16.3657 4.50922 16.2166 4.37279 16.1143 4.30469C16.0658 4.27249 16.0334 4.25916 16.0176 4.25391C16.01 4.2514 16.005 4.25035 16.0029 4.25H15.9971C15.995 4.25035 15.99 4.2514 15.9824 4.25391C15.9666 4.25916 15.9342 4.27249 15.8857 4.30469C15.7834 4.37279 15.6343 4.50922 15.4541 4.75684C15.0889 5.2588 14.7076 6.06554 14.3662 7.1748C13.6882 9.37841 13.25 12.4991 13.25 16C13.25 19.5009 13.6882 22.6216 14.3662 24.8252C14.7076 25.9345 15.0889 26.7412 15.4541 27.2432C15.6343 27.4908 15.7834 27.6272 15.8857 27.6953C15.9342 27.7275 15.9666 27.7408 15.9824 27.7461C15.99 27.7486 15.995 27.7496 15.9971 27.75H16.0029C16.005 27.7496 16.01 27.7486 16.0176 27.7461C16.0334 27.7408 16.0658 27.7275 16.1143 27.6953C16.2166 27.6272 16.3657 27.4908 16.5459 27.2432C16.9111 26.7412 17.2924 25.9345 17.6338 24.8252C18.3118 22.6216 18.75 19.5009 18.75 16ZM21.25 16C21.25 19.6786 20.793 23.0581 20.0234 25.5596C19.6409 26.8027 19.1593 27.9002 18.5674 28.7139C17.9954 29.5 17.1437 30.25 16 30.25C14.8563 30.25 14.0046 29.5 13.4326 28.7139C12.8407 27.9002 12.3591 26.8027 11.9766 25.5596C11.207 23.0581 10.75 19.6786 10.75 16C10.75 12.3214 11.207 8.94186 11.9766 6.44043C12.3591 5.19734 12.8407 4.09979 13.4326 3.28613C14.0046 2.49995 14.8563 1.75 16 1.75C17.1437 1.75 17.9954 2.49995 18.5674 3.28613C19.1593 4.09979 19.6409 5.19734 20.0234 6.44043C20.793 8.94186 21.25 12.3214 21.25 16Z",fill:n}),(0,fi.jsx)("path",{d:"M29 14.5V17H3V14.5H29Z",fill:n})]}))}));function GT(){return GT=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GT.apply(this,arguments)}var KT=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",GT({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.2256 2.2402C21.1066 1.15449 23.4921 1.84009 24.5703 3.707C25.3176 5.0014 25.259 6.55606 24.5264 7.74997H27.75C29.1306 7.74997 30.2499 8.86935 30.25 10.25V13.75C30.25 14.9604 29.3896 15.9696 28.2471 16.2002C28.2474 16.2167 28.25 16.2333 28.25 16.25V26.75C28.25 28.1307 27.1307 29.25 25.75 29.25H6.25C4.8693 29.25 3.75002 28.1307 3.75 26.75V16.25C3.75 16.2333 3.75163 16.2167 3.75195 16.2002C2.6099 15.9693 1.75 14.9601 1.75 13.75V10.25C1.75011 8.86935 2.86936 7.74997 4.25 7.74997H8.27734C7.54483 6.55603 7.48604 5.00147 8.2334 3.707C9.31164 1.8402
3636 11.6963 1.15471 13.5771 2.2402C14.208 2.6045 14.7467 3.19877 15.1709 3.75875C15.6121 4.34121 16.0132 4.99854 16.3457 5.5986C16.3646 5.63263 16.3829 5.66734 16.4014 5.70114C16.4199 5.66728 16.4381 5.63269 16.457 5.5986C16.7896 4.99849 17.1906 4.34127 17.6318 3.75875C18.056 3.19873 18.5947 2.60455 19.2256 2.2402ZM17.25 26.75H25.75V16.25H17.25V26.75ZM6.25 26.75H14.75V16.25H6.25V26.75ZM4.25 13.75H14.75V10.25H4.25V13.75ZM17.25 13.75H27.75V10.25H17.25V13.75ZM12.3271 4.40524C11.6785 4.0312 10.8076 4.24912 10.3984 4.957C9.98948 5.66533 10.2355 6.52936 10.8838 6.90426C11.0786 7.01672 11.4653 7.13571 12.0576 7.20993C12.622 7.2806 13.2634 7.29799 13.8838 7.28707C14.0615 7.28394 14.2357 7.27758 14.4033 7.27047C14.3256 7.12159 14.2444 6.96711 14.1582 6.81149C13.8575 6.26875 13.5211 5.72194 13.1777 5.26852C12.8176 4.79307 12.5219 4.51774 12.3271 4.40524ZM22.4053 4.957C21.9961 4.24894 21.1243 4.03099 20.4756 4.40524C20.2808 4.51778 19.9852 4.79301 19.625 5.26852C19.2816 5.72198 18.9453 6.2687 18.6445 6.81149C18.5583 6.96716 18.4772 7.12154 18.3994 7.27047C18.5671 7.27758 18.7412 7.28393 18.9189 7.28707C19.5393 7.298 20.1807 7.28059 20.7451 7.20993C21.3375 7.13572 21.7241 7.01673 21.9189 6.90426C22.5674 6.52947 22.8142 5.66541 22.4053 4.957Z",fill:n})]}))}));function ZT(){return ZT=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ZT.apply(this,arguments)}var YT=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",ZT({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M20.0781 12.1562C20.5442 11.6471 21.3345 11.6122 21.8438 12.0781C22.353 12.5443 22.388 13.3355 21.9219 13.8447L15.5137 20.8438C15.2838 21.0949 14.9615 21.242 14.6211 21.25C14.2806 21.2579 13.9513 21.126 13.71 20.8857L10.1182 17.3096C9.62905 16.8225 9.62723 16.0312 10.1143 15.542C10.6013 15.0529 11.3926 15.0512 11.8818 15.5381L14.5498 18.1943L20.0781 12.1562Z",fill:n}),(0,fi.jsx)("path",{d:"M27.75 16C27.75 9.51065 22.4893 4.25 16 4.25C9.51065 4.25 4.25 9.51065 4.25 16C4.25 22.4893 9.51065 27.75 16 27.75C22.4893 27.75 27.75 22.4893 27.75 16ZM30.25 16C30.25 23.8701 23.8701 30.25 16 30.25C8.12994 30.25 1.75 23.8701 1.75 16C1.75 8.12994 8.12994 1.75 16 1.75C23.8701 1.75 30.25 8.12994 30.25 16Z",fill:n})]}))}));function XT(){return XT=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},XT.apply(this,arguments)}var QT=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",XT({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M4.25 23.75H27.75V8.25H4.25V23.75ZM30.25 24C30.25 25.2426 29.2426 26.25 28 26.25H4C2.75736 26.25 1.75 25.2426 1.75 24V8C1.75 6.75736 2.75736 5.75 4 5.75H28C29.2426 5.75 30.25 6.75736 30.25 8V24Z",fill:n}),(0,fi.jsx)("path",{d:"M25.25 16C25.25 16.6904 24.6904 17.25 24 17.25C23.3096 17.25 22.75 16.6904 22.75 16C22.75 15.3096 23.3096 14.75 24 14.75C24.6904 14.75 25.25 15.3096 25.25 16Z",fill:n}),(0,fi.jsx)("path",{d:"M9.25 16C9.25 16.6904 8.69036 17.25 8 17.25C7.30964 17.25 6.75 16.6904 6.75 16C6.75 15.3096 7.30964 14.75 8 14.75C8.69036 14.75 9.25 15.3096 9.25 16Z",fill:n}),(0,fi.jsx)("path",{d:"M18.25 16C18.25 14.7574 17.2426 13.75 16 13.75C14.7574 13.75 13.75 14.7574 13.75 16C13.75 17.2426 14.7574 18.25 16 18.25C17.2426 18.25 18.25 17.2426 18.25 16ZM20.75 16C20.75 18.6234 18.6234 20.75 16 20.75C13.3766 20.75 11.25 18.6234 11.25 16C11.25 13.3766 13.3766 11.25 16 11.25C18.6234 11.25 20.75 13.3766 20.75 16Z",fill:n})]}))}));function JT(){return JT=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JT.apply(this,arguments)}var eI=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",JT({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M3.75 27V16C3.75 15.3096 4.30964 14.75 5 14.75C5.69036 14.75 6.25 15.3096 6.25 16V27C6.25 27.4142 6.58579 27.75 7 27.75H25C25.4142 27.75 25.75 27.4142 25.75 27V16C25.75 15.3096 26.3096 14.75 27 14.75C27.6904 14.75 28.25 15.3096 28.25 16V27C28.25 28.7949 26.7949 30.25 25 30.25H7C5.20507 30.25 3.75 28.7949 3.75 27Z",fill:n}),(0,fi.jsx)("path",{d:"M19.7842 12.2354C19.7844 11.5452 20.344 10.9854 21.0342 10.9854C21.7244 10.9854 22.2839 11.5452 22.2842 12.2354C22.2842 13.6239 23.4103 14.75 24.7988 14.75H25.5586C26.7688 14.7499 27.7499 13.7688 27.75 12.5586C27.75 12.323 27.7122
36312.0887 27.6377 11.8652L25.2695 4.7627C25.1674 4.45662 24.8813 4.25005 24.5586 4.25H7.44141C7.11872 4.25005 6.83262 4.45662 6.73047 4.7627L4.3623 11.8652C4.28782 12.0887 4.25 12.323 4.25 12.5586C4.25006 13.7688 5.23115 14.7499 6.44141 14.75H7C8.51878 14.75 9.75 13.5188 9.75 12C9.75 11.3096 10.3096 10.75 11 10.75C11.6904 10.75 12.25 11.3096 12.25 12C12.25 14.8995 9.8995 17.25 7 17.25H6.44141C3.85044 17.2499 1.75006 15.1496 1.75 12.5586C1.75 12.0544 1.83178 11.5535 1.99121 11.0752L4.3584 3.97266C4.80076 2.64558 6.04255 1.75005 7.44141 1.75H24.5586C25.9574 1.75005 27.1992 2.64558 27.6416 3.97266L30.0088 11.0752C30.1682 11.5535 30.25 12.0544 30.25 12.5586C30.2499 15.1496 28.1496 17.2499 25.5586 17.25H24.7988C22.0296 17.25 19.7842 15.0046 19.7842 12.2354Z",fill:n}),(0,fi.jsx)("path",{d:"M9.75 12C9.75 11.3096 10.3096 10.75 11 10.75C11.6904 10.75 12.25 11.3096 12.25 12C12.25 13.5188 13.4812 14.75 15 14.75H17C18.5188 14.75 19.75 13.5188 19.75 12C19.75 11.3096 20.3096 10.75 21 10.75C21.6904 10.75 22.25 11.3096 22.25 12C22.25 14.8995 19.8995 17.25 17 17.25H15C12.1005 17.25 9.75 14.8995 9.75 12Z",fill:n}),(0,fi.jsx)("path",{d:"M22.25 23V29C22.25 29.6904 21.6904 30.25 21 30.25C20.3096 30.25 19.75 29.6904 19.75 29V23C19.75 22.5858 19.4142 22.25 19 22.25H13C12.5858 22.25 12.25 22.5858 12.25 23L12.25 29C12.25 29.6904 11.6904 30.25 11 30.25C10.3096 30.25 9.75 29.6904 9.75 29L9.75 23C9.75 21.2051 11.2051 19.75 13 19.75H19C20.7949 19.75 22.25 21.2051 22.25 23Z",fill:n})]}))}));function tI(){return tI=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tI.apply(this,arguments)}var nI=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",tI({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M16 1.75C23.8701 1.75 30.25 8.12994 30.25 16C30.25 23.8701 23.8701 30.25 16 30.25C8.12994 30.25 1.75 23.8701 1.75 16C1.75 8.12994 8.12994 1.75 16 1.75ZM16 20C15.3096 20 14.75 20.5596 14.75 21.25V21.75C14.75 22.4404 15.3096 23 16 23C16.6904 23 17.25 22.4404 17.25 21.75V21.25C17.25 20.5596 16.6904 20 16 20ZM16 8C15.3096 8 14.75 8.55964 14.75 9.25V16.75C14.75 17.4404 15.3096 18 16 18C16.6904 18 17.25 17.4404 17.25 16.75V9.25C17.25 8.55964 16.6904 8 16 8Z",fill:n})]}))})),rI=NT,oI=qT,iI=eI,aI=MT,sI=YT,lI=jT,cI=VT,uI=$T,dI=QT,pI=KT,fI=IT,hI=UT,mI=nI,gI=DT;const vI=()=>{var e;const t=(0,ji.useTheme)();return gi("defs",{children:vi("linearGradient",{id:"delegate-purple-gradient",x1:"5.1086",y1:"4.3999",x2:"38.2432",y2:"24.2685",gradientUnits:"userSpaceOnUse",children:[gi("stop",{stopColor:null===(e=t.colors)||void 0===e?void 0:e.purples[70]}),gi("stop",{offset:"1",stopColor:_T.BU[50]})]})})},yI=new Map([[cI,e=>{let{size:t=16,color:n="url(#delegate-purple-gradient)",...r}=e;return vi("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32","data-test":"nav-assistant-icon",...r,children:[gi(vI,{}),gi("g",{fill:"none",fillRule:"evenodd",children:gi("path",{fill:n,d:"M 16.4293 15.608 L 15.1115 15.4186 C 14.1461 15.2765 13.4105 14.9451 12.9201 14.4242 C 12.4145 13.8876 12.1693 13.13 12.1693 12.1673 C 12.1693 10.4943 13.1653 9.1843 14.8893 8.766 V 8.6161 C 14.8893 8.111 14.9046 7.9216 15.0272 7.677 C 15.1804 7.3692 15.5099 7.1641 15.9313 7.1641 C 16.3527 7.1641 16.6822 7.3692 16.8354 7.677 C 16.958 7.9216 16.9733 8.111 16.9733 8.6161 V 8.6634 C 17.548 8.7266 18.0383 8.8607 18.4981 9.0422 C 19.1723 9.3184 19.6167 9.7998 19.6167 10.3996 C 19.6167 10.6679 19.5018 10.9993 19.2949 11.2519 C 19.1187 11.4728 18.8505 11.6307 18.5134 11.6307 C 18.2069 11.6307 17.8545 11.4886 17.5633 11.3623 C 17.0959 11.1572 16.5672 11.0467 16.0769 11.0467 C 15.1421 11.0467 14.759 11.5833 14.759 11.9937 C 14.759 12.2146 14.805 12.4198 14.9736 12.5934 C 15.1115 12.7355 15.3413 12.8696 15.7244 12.9249 L 17.0423 13.1143 C 18.023 13.2563 18.7279 13.572 19.1876 14.0454 C 19.7699 14.6294 19.9998 15.4659 19.9998 16.5076 C 19.9998 18.3858 18.7049 19.5695 16.9733 19.9246 V 20.3586 C 16.9733 20.8638 16.958 21.053 16.8354 21.2978 C 16.6822 21.6056 16.3527 21.8106 15.9313 21.8106 C 15.5099 21.8106 15.1804 21.6056 15.0272 21.2978 C 14.9046 21.053 14.8893 20.8638 14.8893 20.3586 V 20.0114 C 14.3146 19.9641 13.7783 19.8694 13.2879 19.6642 C 12.3991 19.3012 11.8628 18.875 11.8628 18.0543 C 11.8628 17.7545 12.0007 17.3914 12.2306 17.1547 C 12.4451 16.9337 12.6903 16.8548 12.9661 16.8548 C 13.2496 16.8548 13.4795 16.95
36374 14.0081 17.1863 C 14.5445 17.423 15.1345 17.5966 15.801 17.5966 C 16.8584 17.5966 17.3641 17.2178 17.3641 16.5707 C 17.3641 16.3024 17.3028 16.0815 17.1496 15.9078 C 17.0116 15.7658 16.7818 15.6553 16.4293 15.608 Z M 4 2.4 C 4 1.0745 5.0745 0 6.4 0 H 25.6 C 26.9254 0 28 1.0745 28 2.4 V 27.8452 C 28 28.4278 27.7462 28.9816 27.3048 29.362 L 24.8068 31.514 C 24.0558 32.161 22.9444 32.1612 22.1932 31.514 L 21 30.486 L 19.8067 31.514 C 19.0558 32.161 17.9444 32.1612 17.1933 31.514 L 16 30.486 L 14.8067 31.514 C 14.0558 32.161 12.9444 32.1612 12.1933 31.514 L 11 30.486 L 9.8067 31.514 C 9.0558 32.161 7.9444 32.1612 7.1933 31.514 L 4.6953 29.362 C 4.2527 28.9808 4 28.4264 4 27.8452 V 2.4 Z M 8 4 V 26.9294 L 8.5 27.3602 L 9.6933 26.332 C 10.4444 25.685 11.5558 25.6852 12.3067 26.332 L 13.5 27.3602 L 14.6933 26.332 C 15.4444 25.685 16.5558 25.6852 17.3067 26.332 L 18.5 27.3602 L 19.6933 26.332 C 20.4444 25.685 21.5558 25.6852 22.3068 26.332 L 23.5 27.3602 L 24 26.9294 V 4 H 8 Z"})})]})}]]);function bI(e){let{icon:t,extended:n,active:r,current:o,hovered:i,assistant:a}=e;const l=(e=>{const[t]=Ry();return(0,s.useCallback)((n=>{if(!e)return null;const r=yI.get(e);return t&&n.gradient&&r?gi(r,{...n}):gi(e,{...n})}),[e,t])})(t),{navigationV3:c}=tO(),{selectedTextColor:u}=c.navItem;let d,p;return i&&!o?d=c.navItem.hoverTextColor:a&&r?(p="orange",d=o?u:void 0):r?(d=u,p=u?void 0:"orange"):d=c.color,gi(Qj,{extended:n,children:gi(l,{size:16,color:d,gradient:p})})}function wI(){return wI=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wI.apply(this,arguments)}var xI=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",wI({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M25.1162 9.81143C25.6044 9.32327 26.3957 9.32327 26.8838 9.81143C27.372 10.2996 27.372 11.0909 26.8838 11.579L17.2373 21.2255C16.5539 21.9089 15.4461 21.9089 14.7627 21.2255L5.11624 11.579C4.62808 11.0909 4.62808 10.2996 5.11624 9.81143C5.60439 9.32327 6.39566 9.32327 6.88382 9.81143L16 18.9276L25.1162 9.81143Z",fill:n})]}))})),kI=n(90644);const CI=(0,kI.A)("button",{target:"e17dgeew1"})({name:"ndp4v6",styles:"appearance:none;border:none;padding:0px;background:none;outline:none;width:100%;color:inherit;text-align:start"}),EI={"&::-webkit-scrollbar":{WebkitAppearance:"none"},"&::-webkit-scrollbar:vertical":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{width:4,borderRadius:4,backgroundColor:"#A9A9AE",border:"2px solid transparent",backgroundClip:"padding-box"},"&::-webkit-scrollbar-track":{backgroundColor:"#fff"}},SI=(0,kI.A)("div",{target:"e17dgeew0"})((e=>{let{theme:t}=e;return{...EI,flexGrow:1,overflowY:"auto",overflowX:"hidden",overflow:"overlay",padding:"0px 8px 8px",[t.breakpoints.breakpoint.s]:{paddingInline:16,"&:first-child":{paddingTop:8}}}}),"");function OI(e){return gi(AI,{type:"button",...e,children:gi(xI,{})})}const AI=eO(CI)((e=>{let{theme:t}=e;return Pi.AH` 364 width: 32px; 365 height: 32px; 366 padding: 8px; 367 border-radius: 6px; 368 color: ${t.navigationV3.navItem.chevronButton.defaultIconColor}; 369 cursor: pointer; 370 371 position: absolute; 372 top: 4px; 373 right: 12px; 374 375 &:hover { 376 color: ${t.navigationV3.navItem.chevronButton.hoverIconColor}; 377 background-color: ${t.navigationV3.navItem.hoverBackgroundColor}; 378 } 379 380 &:focus-visible { 381 outline: 2px solid white; 382 outline-offset: -2px; 383 } 384 385 &[aria-expanded='true'] { 386 > svg { 387 transform: rotate(180deg); 388 } 389 } 390 `})),_I=(0,s.forwardRef)((function(e,t){let{link:n,navigationExpanded:r,langKey:o="en",onMenuClick:i,onSubmenuClick:a}=e;const{t:l}=sw(),[c,u]=(0,s.useState)(!1),[d]=Ry(),p=(0,s.useMemo)((()=>{var e;return d?null===(e=n.children)||void 0===e?void 0:e.filter((e=>"assistantMode"in e&&e.assistantMode)):n.children}),[d,n.children]),f=((null==p?void 0:p.length)??0)>0,h=(0,s.useMemo)((()=>{const e=null==p?void 0:p.find((e=>!lO(e)&&!!e.active));return e?`${n.href}>${e.href}`:void 0}),[p,n.href]),{expanded:m,expand:g,toggle:v}=function(e){let{hasSubMenu:t,folderName:n,activeChildKey:r,selfActive:o}=e;
390const[i,a]=(0,s.useState)(!1),l=(0,s.useCallback)((e=>{t&&Ko("navigation_sub_menu_"+(e?"expand":"collapse"),{folder_name:n})}),[t,n]);return(0,s.useEffect)((function(){(r||o&&t)&&a(!0)}),[r,o,t]),{expanded:i,expand:(0,s.useCallback)((()=>{l(!0),a(!0)}),[l]),toggle:(0,s.useCallback)((()=>{a((e=>(l(!e),!e)))}),[l])}}({hasSubMenu:f,folderName:n.title,activeChildKey:h,selfActive:n.active}),y=!r&&(n.children??[]).some((e=>!lO(e)&&e.active)),b=!!(n.active||y||f&&!m&&h),w=!!n.active,x=(0,s.useMemo)((()=>(p||[]).findIndex((e=>!lO(e)&&e.active))),[p]),k=r&&f,C=!!d;return vi(Zj,{ref:t,children:[vi(Yj,{extended:r,onMouseMove:()=>u(!0),onMouseLeave:()=>u(!1),onClick:e=>{var t;e.preventDefault(),null===(t=n.onClick)||void 0===t||t.call(n,e),i(n,{expanded:f?m:void 0}),g()},children:[vi(Xj,{href:n.href,title:n.title,target:n.target,"data-test":n.testId??sO()(`primary nav ${n.title}`),"data-id":n.id,"data-navigation-link":sO()(n.title),extended:r,shouldShowChevronButton:k,"aria-current":n.active?"page":void 0,children:[gi(bI,{icon:n.icon,extended:r,active:b,current:w,hovered:c,assistant:C}),r&&gi(Jj,{active:b,current:w,hovered:c,assistant:C,children:gi(fT,{children:n.title})}),r&&n.tag&&gi(eT,{isSmall:!0,active:w,children:n.tag})]}),k&&gi(OI,{"aria-label":l("navigation.moreSubPages",{parentTitle:n.title}),"aria-expanded":m,onClick:e=>{e.stopPropagation(),v()}})]}),r&&f&&gi(AT,{expanded:m,children:gi(ST,{langKey:o,expanded:m,activeItemIndex:x,links:p||[],navigationExpanded:r,onLinkClick:a})})]})}));_I.displayName="NavigationItem";const PI=eO.section((e=>{let{theme:t,expanded:n}=e;return(0,$S.AH)("width:",n?nO:48,"px;padding-bottom:8px;--indent-level:0;&:not(:first-child){border-top:1px solid ",t.navigationV3.separator,";padding-top:8px;--indent-level:0;}","")})),jI=eO.ul` 391 margin: 0; 392 padding: 0; 393 list-style: none; 394`,TI=c().forwardRef(((e,t)=>{let{headerNode:n,links:r,onLinkClick:o,navigationExpanded:i,langKey:a="en",...l}=e;const c=(0,s.useCallback)(((e,t,n)=>{Ko("navigation_menu_item_clicked",{link_id:t.id}),null==o||o(t,n)}),[o]);return vi(PI,{ref:t,expanded:i,...l,children:[n,r&&gi(jI,{"data-test":"primary_nav_items","data-public":!0,children:r.map(((e,t)=>gi(_I,{langKey:a,link:e,onMenuClick:(e,n)=>c(t,e,n),onSubmenuClick:e=>null==o?void 0:o(e,{expanded:void 0}),navigationExpanded:i},e.title)))})]})}));function II(){return II=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},II.apply(this,arguments)}TI.displayName="NavigationSection";var LI=e=>{var{theme:t}=e,{semanticColors:n}=$i(t),r=Hi(t.semanticTokensV9,(()=>t.tokens)),o=(e=>{var t=Hi(e.semanticTokensV9,(()=>e.tokens));return{default:t((e=>e.radii.md),e.radius.l),small:t((e=>e.radii.md),e.radius.l)}})(t),i=(e,t)=>r((t=>{var[n,r,o]=e(t);return kj({baseColor:n,tint:{color:r,opacity:o}})}),t),a=(e,t)=>r((t=>{var[n,r]=e(t),o=kj({baseColor:n,tint:{color:t.colors.fg.brand,opacity:r}});return"linear-gradient("+o+", "+o+") padding-box, linear-gradient(135deg, "+t.colors.border.ai.start+" 0%, "+t.colors.border.ai.end+" 100%) border-box"}),t);return{primary:{background:{initial:r((e=>e.colors.bg.fill.brand),n.background.interactive),focus:r((e=>e.colors.bg.fill.brand),n.background.interactive),hover:i((e=>[e.colors.bg.fill.brand,e.colors.fg.primary,"highHover"]),t.colors.purples[60]),active:i((e=>[e.colors.bg.fill.brand,e.colors.fg.primary,"highPressed"]),t.colors.purples[50]),disabled:r((e=>e.colors.bg.fill.disabled),t.colors.grays[20]),focusHover:i((e=>[e.colors.bg.fill.brand,e.colors.fg.primary,"highHover"]),t.colors.purples[60]),focusActive:i((e=>[e.colors.bg.fill.brand,e.colors.fg.primary,"highPressed"]),t.colors.purples[50])},foreground:{initial:r((e=>e.colors.fg.onBrand),n.text.inverse),disabled:r((e=>e.colors.fg.disabled),n.text.disabled)},border:{initial:"transparent",hover:"transparent",active:"transparent",disabled:r((e=>e.colors.bg.fill.disabled),"transparent"),focus:r((e=>e.colors.bg.area.primary),t.colors.white),focusHover:r((e=>e.colors.bg.area.primary),t.colors.white),focusActive:r((e=>e.colors.bg.area.primary),t.colors.white)},borderRadius:o,focusOutline:r((e=>e.colors.border.focus),n.border.focus)},secondary:{background:{initial:r((e=>e.colors.bg.fill.default),n.background.primary),focus:r((e=>e.colors.bg.fill.default),t.colors.white),hover:i((e=>[e.colors.bg.fill.default,e.colors.fg.brand,"mediumHover"]),t.colors.purples[10]),active:i((e=>[e.colors.bg.fill.selected,e.colors.fg.brand,"mediumPressed"]),t.colors.purples[30]),disabled:r((e=>e.colors.bg.fill.disabled),t.colors.grays[20]),focusHover:i((e=>[e.colors.bg.fill.default,e.colors.fg.brand,"mediumHover"]),t.colors.purples[10]),focusActive:i((e=>[e.colors.bg.fill.selected,e.colors.fg.brand,"mediumPressed"]),t.colors.purples[30])},foreground:{initial:r((e=>e.colors.fg.brand),t.colors.purples[70]),disabled:r((e=>e.colors.fg.disabled),n.text.disabled)},border:{initial:r((e=>e.colors.border.default),n.border.decorative),hover:t.colors.purples[30],active:r((e=>e.colors.border.default),n.border.decorative),disabled:r((e=>e.colors.bg.fill.disabled),n.border.decorative),focus:r((e=>e.colors.bg.area.primary),t.colors.white),focusHover:r((e=>e.colors.bg.area.primary),t.colors.white),focusActive:r((e=>e.colors.bg.area.primary),t.colors.white)},borderRadius:o,focusOutline:r((e=>e.colors.border.focus),n.border.focus)},danger:{background:{initial:r((e=>e.colors.bg.fill.critical),t.colors.reds[60]),focus:r((e=>e.colors.bg.fill.critical),t.colors.reds[60]),hover:i((e=>[e.colors.bg.fill.critical,e.colors.fg.primary,"highHover"]),t.colors.reds[50]),active:i((e=>[e.colors.bg.fill.critical,e.colors.fg.primary,"highPressed"]),t.colors.reds[40]),disabled:r((e=>e.colors.bg.fill.disabled),t.colors.grays[20]),focusHover:i((e=>[e.colors.bg.fill.critical,e.colors.fg.primary,"highHover"]),t.colors.reds[50]),focusActive:i((e=>[e.colors.bg.fill.critical,e.colors.fg.primary,"highPressed"]),t.colors.reds[40])},foreground:{initial:r((e=>e.colors.fg.inverse),n.text.inverse),disabled:r((e=>e.colors.fg.disabled),n.text.disabled)},border:{initial:"transparent",hover:"transparent",active:"transparent",disabled:r((e=>e.colors.bg.fill.disabled),"transparent"),focus:r((e=>e.colors.bg.area.primary),t.colors.white),focusHover:r((e=>e.colors.bg.area.primary),t.colors.white),focusActive:r((e=>e.colors.bg.area.primary),t.colors.white)},borderRadius:o,focusOutline:r((e=>e.colors.border.focus),n.border.focus)},tertiary:{background:{initial:"transparent",focus:"transparent",hover:i((e=>[e.colors.bg.fill.default,e.colors.fg.brand,"mediumHover"]),t.colors.purples[10]),active:i((e=>[e.colors.bg.fill.selected,e.colors.fg.brand,"mediumPressed"]),t.colors.purples[30]),disabled:r((e=>e.colors.bg.fill.disabled),t.colors.grays[20]),focusHover:i((e=>[e.colors.bg.fill.default,e.colors.fg.brand,"mediumHover"]),t.colors.purples[10]),focusActive:i((e=>[e.colors.bg.fill.selected,e.colors.fg.brand,"mediumPressed"]),t.colors.purples[30])},foreground:{initial:r((e=>e.colors.fg.brand),n.background.interactive),disabled:r((e=>e.colors.fg.disabled),n.text.disabled)},border:{initial:"transparent",hover:"transparent",active:"transparent",disabled:r((e=>e.colors.bg.fill.disabled),"transparent"),focus:r((e=>e.colors.bg.area.primary),t.colors.white),focusHover:r((e=>e.colors.bg.area.primary),t.colors.white),focusActive:r((e=>e.colors.bg.area.primary),t.colors.white)},borderRadius:o,focusOutline:r((e=>e.colors.border.focus),n.border.focus)},ai:{background:{initial:r((e=>"linear-gradient("+e.colors.bg.fill.default+", "+e.colors.bg.fill.default+") padding-box, linear-gradient(135deg, "+e.colors.border.ai.start+" 0%, "+e.colors.border.ai.end+" 100%) border-box"),"linear-gradient("+t.colors.white+", "+t.colors.white+") padding-box, "+t.gradients.quinary+" border-box"),focus:r((e=>e.colors.bg.fill.default),n.background.primary),hover:a((e=>[e.colors.bg.fill.default,"mediumHover"]),"linear-gradient("+t.colors.purples[10]+", "+t.colors.purples[10]+") padding-box, "+t.gradients.quinary+" border-box"),active:a((e=>[e.colors.bg.fill.selected,"mediumPressed"]),"linear-gradient("+t.colors.purples[30]+", "+t.colors.purples[30]+") padding-box, "+t.gradients.quinary+" border-box"),disabled:r((e=>e.colors.bg.fill.disabled),t.colors.grays[20]),focusHover:a((e=>[e.colors.bg.fill.default,"mediumHover"]),t.colors.purples[10]),focusActive:a((e=>[e.colors.bg.fill.selected,"mediumPressed"]),t.colors.purples[30])},foreground:{initial:r((e=>e.colors.fg.brand),t.colors.purples[70]),disabled:r((e=>e.colors.fg.disabled),n.text.disabled)},border:{initial:"transparent",hover:"transparent",active:"transparent",disabled:r((e=>e.colors.bg.fill.disabled),"transparent"),focus:r((e=>e.colors.bg.area.primary),t.colors.white),focusHover:r((e=>e.colors.bg.area.primary),t.colors.white),focusActive:r((e=>e.colors.bg.area.primary),t.colors.white)},borderRadius:o,focusOutline:r((e=>e.colors.border.focus),n.border.focus)}}},NI={primary:"PRIMARY",secondary:"SECONDARY",danger:"DANGER",tertiary:"TERTIARY",ai:"AI"},RI=e=>{var{theme:t}=e;return{colors:{primary:{background:{initial:t.colors.purples[70]},foreground:{initial:t.colors.white}},secondary:{background:{initial:t.colors.white,hover:t.colors.purples[10],active:t.colors.purples[30],focus:t.colors.purples[10]},foreground:{initial:t.colors.purples[70]},boxShadow:t.colors.purples[20]},danger:{background:{initial:t.colors.reds[50]},foreground:{initial:t.colors.white}},success:{background:{initial:t.colors.blues[50]},foreground:{initial:t.colors.white}},link:{background:{active:t.colors.purples[20],hover:t.colors.purples[10]},foreground:{initial:t.colors.grays[100]}},default:{background:{initial:t.colors.white},foreground:{initial:t.colors.purples[70]}},disabled:{background:{initial:t.colors.grays[20]},foreground:{initial:t.colors.grays[40],hover:t.colors.grays[40]}}}}};function DI(){return DI=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DI.apply(this,arguments)}var FI={primary:"primary",secondary:"secondary",tertiary:"default",danger:"danger",ai:"default"},MI=e=>{var{theme:t,variant:n,themeStyle:r}=e,o=t.button,i=o[NI[n]];return DI({},r,{borderRadius:Bi({componentTheme:o,tokenKey:"borderRadius",defaults:r.borderRadius,variantOverride:i})})},BI=e=>{var t,n,r,{theme:o,variant:i}=e,a=(e=>{var{theme:t,variant:n}=e,r=LI({theme:t})[n];return(e=>{var{componentTheme:t,variantKey:n,defaults:r,finalize:o}=e,i=((e,t)=>{var n=e[t];return Ri(n)?n:void 0})(t,n);if(!i||!((e,t)=>{if(!t||!Ri(t))return!1;var n=!1;return Mi(t,(r=>{var o=(0,Li.A)(t,r),i=(0,Li.A)(e,r);void 0!==o&&o!==i&&(n=!0)})),n})(r,i))return null;var a=Fi(r,i);return o?o({merged:a,componentTheme:t,variantOverride:i}):a})({componentTheme:t.button,variantKey:NI[n],defaults:r,finalize:e=>{var{merged:t,componentTheme:n,variantOverride:r}=e;return II({},t,{borderRadius:Bi({componentTheme:n,tokenKey:"borderRadius",defaults:t.borderRadius,variantOverride:r})})}})})({theme:o,variant:i});if(a)return MI({theme:o,variant:i,themeStyle:a});var s,l=Yi({componentTheme:o.button,defaultComponentTheme:RI({theme:o})});if(s=Object.keys(null!=(t=null==l||null==(n=l.colors)?void 0:n[FI[i]])?t:{}).length>0?"secondary"===i?(e=>{var t,{theme:n}=e,r=LI({theme:n}).secondary,o=n.button.colors.secondary;return{background:DI({},r.background,{initial:o.background.initial,focus:o.background.focus,hover:o.background.hover,active:o.background.active}),foreground:DI({},r.foreground,{initial:null==(t=o.foreground)?void 0:t.initial}),border:DI({},r.border,{initial:o.boxShadow,hover:(0,yj.e$)(.05,o.background.hover),active:o.boxShadow,disabled:o.boxSh
394adow}),borderRadius:r.borderRadius,focusOutline:r.focusOutline}})({theme:o}):(e=>{var t,n,{theme:r,variant:o}=e,i=LI({theme:r})[o],a=r.button.colors[FI[o]],s=null==(t=a.background)?void 0:t.initial;return{background:DI({},i.background,{initial:a.background.initial,focus:(0,yj.e$)(.1,s),hover:(0,yj.e$)(.05,s),active:(0,yj.e$)(.1,s)}),foreground:DI({},i.foreground,{initial:null==(n=a.foreground)?void 0:n.initial}),border:i.border,borderRadius:i.borderRadius,focusOutline:i.focusOutline}})({theme:o,variant:i}):LI({theme:o})[i],null==l||null==(r=l.colors)?void 0:r.disabled){var c,u,d=o.button.colors.disabled;s=DI({},s,{background:DI({},s.background,{disabled:null!=(c=d.background.initial)?c:s.background.disabled}),foreground:DI({},s.foreground,{disabled:null!=(u=d.foreground.initial)?u:s.foreground.disabled})})}return MI({theme:o,variant:i,themeStyle:s})},VI=e=>{var{variant:t}=e,n=(0,ji.useTheme)();return BI({theme:n,variant:t})},zI=e=>{var{id:t}=e,n=(0,ji.useTheme)(),r=Hi(n.semanticTokensV9,(()=>n.tokens));return(0,fi.jsx)("defs",{children:(0,fi.jsxs)("linearGradient",{id:t,x1:"0%",y1:"0%",x2:"100%",y2:"100%",gradientUnits:"userSpaceOnUse",children:[(0,fi.jsx)("stop",{offset:"0%",stopColor:r((e=>e.colors.fg.ai.start),"#612FFF")}),(0,fi.jsx)("stop",{offset:"100%",stopColor:r((e=>e.colors.fg.ai.end),"#D200A3")})]})})};function UI(){return UI=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},UI.apply(this,arguments)}var HI={default:{iconPadding:11,contentPadding:{vertical:8,horizontal:15},iconGap:8},small:{iconPadding:7,contentPadding:{vertical:4,horizontal:12},iconGap:6}},qI=e=>"ai"===e,WI=(e,t)=>({outline:"2px solid "+e.focusOutline,border:"1px solid "+e.border.focus,background:e.background.focus,"&:hover":{background:t?e.background.focus:e.background.focusHover,border:"1px solid "+e.border.focusHover},"&:active":{background:t?e.background.focus:e.background.focusActive,border:"1px solid "+e.border.focusActive}}),$I=e=>e.border.active===e.border.initial?{}:{border:"1px solid "+e.border.active},GI=ji.styled.button((e=>{var{theme:t,variant:n,disabled:r,syncing:o,hover:i,active:a,iconOnly:s,responsive:l,size:c="default"}=e,u=BI({theme:t,variant:n}),d=qI(n),p=HI[c];return UI({display:"inline-block",position:"relative",padding:s?p.iconPadding+"px":p.contentPadding.vertical+"px "+p.contentPadding.horizontal+"px",borderRadius:u.borderRadius[c],border:"1px solid "+u.border.initial,cursor:"pointer",textDecoration:"none",background:u.background.initial,color:u.foreground.initial},((e,t,n,r)=>!qI(t)||n&&!r?{}:{"& *":{backgroundImage:Hi(e.semanticTokensV9,(()=>e.tokens))((e=>"linear-gradient(135deg, "+e.colors.fg.ai.start+" 0%, "+e.colors.fg.ai.end+" 100%)"),e.gradients.quinary),backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}})(t,n,!!r,!!o),{"&:hover":{background:u.background.hover,border:"1px solid "+u.border.hover}},i&&{background:u.background.hover,border:"1px solid "+u.border.hover},{"&:active":UI({background:u.background.active},$I(u))},a&&UI({background:u.background.active},$I(u)),{"&:focus-visible":WI(u,!!o)},((e,t,n,r)=>{if(!n)return{};var o=Hi(r.semanticTokensV9,(()=>r.tokens))((()=>({border:"1px solid "+e.border.disabled})),e.border.disabled&&e.border.disabled!==e.border.initial?{border:"1px solid "+e.border.disabled}:{});return UI({background:e.background.disabled,color:t?void 0:e.foreground.disabled,cursor:"not-allowed"},o,{"&:hover, &:focus-visible, &:active":UI({background:e.background.disabled,color:t?void 0:e.foreground.disabled},o)})})(u,o,r,t),((e,t,n)=>t?{background:e.background.initial,color:n?void 0:e.foreground.initial,cursor:"default",opacity:.95,border:"1px solid "+e.border.initial,"&:hover, &:focus-visible, &:active":{background:e.background.initial,color:n?void 0:e.foreground.initial,border:"1px solid "+e.border.initial}}:{})(u,o,d),l&&{[t.breakpoints.breakpoint.s]:{width:"100%"}})})),KI=ji.styled.span((e=>{var{theme:t,syncing:n=!1}=e;return UI({},t.typography.bodyEmphasis,{opacity:n?.3:1,transition:"opacity 250ms ease",display:"flex",alignItems:"center",justifyContent:"center",fontFamily:t.fontFamily.default,whiteSpace:"nowrap"})})),ZI=ji.styled.span((e=>{var{theme:t,iconPosition:n,disabled:r,size:o="default"}=e,{semanticColors:i}=$i(t),a=Hi(t.semanticTokensV9,(()=>t.tokens)),s=HI[o];return UI({display:"flex",alignItems:"center",justifyContent:"center",color:r?a((e=>e.colors.fg.disabled),i.text.disabled):"inherit"},"left"===n&&{paddingInlineEnd:s.iconGap},"right"===n&&{paddingInlineStart:s.iconGap})})),YI=ji.styled.div({position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}),XI=e=>{var{icon:t,position:n,disabled:r,variant:o,size:i="default"}=e,a=t||(()=>(0,fi.jsx)(fi.Fragment,{})),l=(0,s.isValidElement)(t)?t:(0,fi.jsx)(a,{size:16}),c="ai"===o&&!r;return(0,fi.jsx)(ZI,{iconPosition:n,disabled:r,size:i,children:(0,s.cloneElement)(l,UI({size:16},c&&{gradientPainter:zI}))})},QI={PRIMARY:"primary",SECONDARY:"secondary",DANGER:"danger",TERTIARY:"tertiary",AI:"ai"},JI=e=>(e=>e in QI)(e)?QI[e]:e;function eL(){return eL=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eL.apply(this,arguments)}function tL(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}var nL=(0,s.forwardRef)(((e,t)=>{var{type:n="button",href:r,variant:o="tertiary",children:i,disabled:a,syncing:s,onClick:l,hover:c,active:u,className:d,responsive:p,iconBefore:f,iconAfter:h,size:m="default"}=e,g=tL(e,["type","href","variant","children","disabled","syncing","onClick","hover","active","className","responsive","iconBefore","iconAfter","size"]),v=JI(o),y=r?GI.withComponent("a"):GI,b=VI({variant:v});return(0,fi.jsxs)(y,eL({ref:t,className:d,variant:v,disabled:a||s,type:r?void 0:n,onClick:l,syncing:s,hover:c,active:u,responsive:p,size:m,tabIndex:0,href:r},g,{children:[(0,fi.jsxs)(KI,{syncing:s,children:[f?(0,fi.jsx)(XI,{icon:f,position:"left",disabled:a,variant:v,size:m}):"",i,h?(0,fi.jsx)(XI,{icon:h,position:"right",disabled:a,variant:v,size:m}):""]}),s&&(0,fi.jsx)(YI,{children:(0,fi.jsx)(ra,{color:b.foreground.initial,show:!0,square:24})})]}))}));nL.displayName="Button";var rL=(0,s.forwardRef)(((e,t)=>{var{type:n="button",href:r,variant:o="tertiary",children:i,disabled:a,syncing:s,onClick:l,hover:c,active:u,className:d,icon:p,"aria-label":f,responsive:h,size:m="default"}=e,g=tL(e,["type","href","variant","children","disabled","syncing","onClick","hover","active","className","icon","aria-label","responsive","size"]),v=JI(o),y=r?GI.withComponent("a"):GI,b=VI({variant:v});return(0,fi.jsxs)(y,eL({ref:t,className:d,variant:v,disabled:a||s,type:r?void 0:n,onClick:l,syncing:s,hover:c,active:u,tabIndex:0,responsive:h,size:m,iconOnly:!0,href:r,"aria-label":f},g,{children:[(0,fi.jsx)(KI,{syncing:s,children:(0,fi.jsx)(XI,{icon:p,disabled:a,variant:v,size:m})}),s&&(0,fi.jsx)(YI,{children:(0,fi.jsx)(ra,{color:b.foreground.initial,show:!0,square:24})})]}))}));rL.displayName="IconButton";var oL=e=>{var{width:t=173,height:n=24,fontColor:r="#FFF"}=e,o=JP();return(0,fi.jsxs)("svg",{width:t,height:n,viewBox:"0 0 173 24",children:[(0,fi.jsx)("defs",{children:(0,fi.jsxs)("linearGradient",{x1:"0%",y1:"50%",y2:"50%",id:o,children:[(0,fi.jsx)("stop",{stopColor:"#FF4F42",offset:"0%"}),(0,fi.jsx)("stop",{stopColor:"#FF8E3C",offset:"100%"})]})}),(0,fi.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,fi.jsx)("path",{d:"M149.02 10.909c2.187 0 3.031 1.337 3.149 2.502a.126.126 0 0 1-.126.138h-6.008a.126.126 0 0 1-.126-.143c.163-1.137 1.172-2.497 3.111-2.497zm3.293 7.403a.251.251 0 0 0-.204.104c-.542.762-1.424 1.232-2.741 1.232-1.814 0-3.39-1.191-3.56-2.878a.126.126 0 0 1 .127-.14h10.794c.031-.094.094-.817.094-1.477 0-5.03-3.001-8.017-7.866-8.017-4.075 0-7.834 3.207-7.834 8.237 0 5.25 3.854 8.33 8.182 8.33 3.912 0 6.39-2.186 7.193-4.828.006-.017.032-.115.062-.26a.252.252 0 0 0-.247-.303h-4zm9.545-3.02l-5.118-7.289a.251.251 0 0 1 .207-.395h5.033c.085 0 .165.043.211.114l2.63 3.999c.05.076.163.076.212-.001l2.57-3.996a.252.252 0 0 1 .212-.116h4.743c.206 0 .325.23.207.397l-5.049 7.098a.25.25 0 0 0-.001.289c1.653 2.35 3.542 5.067 5.238 7.443.119.167-.001.397-.206.397h-4.997a.253.253 0 0 1-.212-.113l-2.727-4.13a.126.126 0 0 0-.21-.001c-.817 1.213-1.884 2.903-2.694 4.131a.252.252 0 0 1-.211.113h-4.658a.251.251 0 0 1-.208-.394l5.03-7.258c.059-.087.058-.201-.002-.287zm-27.117 7.689V.723c0-.139.113-.251.253-.251h4.297c.14 0 .252.112.252.251v22.258a.252.252 0 0 1-.252.251h-4.297a.252.252 0 0 1-.253-.251zm-7.076 0V.723c0-.139.113-.251.253-.251h4.296c.14 0 .253.112.253.251v22.258a.252.252 0 0 1-.253.251h-4.296a.252.252 0 0 1-.253-.251zm-10.625-3.427c1.927 0 3.57-1.509 3.57-4.15 0-2.703-1.611-4.118-3.57-4.118-2.054 0-3.602 1.415-3.602 4.118 0 2.578 1.612 4.15 3.602 4.15zm3.601 1.666c-.695 1.51-2.274 2.452-4.233 2.452-4.612 0-7.803-3.489-7.803-8.3 0-4.652 3.001-8.236 7.645-8.236 2.812 0 4.044 1.54 4.36 2.264V7.86c0-.14.113-.252.252-.252h4.139c.14 0 .252.113.252.252v15.12a.252.252 0 0 1-.252.252h-4.135a.252.252 0 0 1-.253-.255c.009-.568.028-1.88.028-1.757zM98.36 7.78l2.878 8.71c.038.118.207.115.241-.005l2.458-8.693a.252.252 0 0 1 .243-.184h4.173c.17 0 .292.164.242.326l-4.709 15.12
3941a.252.252 0 0 1-.241.177h-4.403a.253.253 0 0 1-.239-.171l-3.233-9.562c-.039-.115-.202-.115-.24 0l-3.172 9.56a.252.252 0 0 1-.24.173H87.62a.253.253 0 0 1-.241-.176l-4.77-15.121a.252.252 0 0 1 .241-.327h4.456c.114 0 .213.075.244.183l2.458 8.666c.034.12.202.123.242.006l2.908-8.683a.253.253 0 0 1 .24-.172h4.72c.11 0 .207.07.24.173zm-17.053 4.235a.252.252 0 0 1-.295.248 6.953 6.953 0 0 0-1.221-.097c-1.927 0-3.665 1.132-3.665 4.244v6.57a.252.252 0 0 1-.253.252h-4.296a.252.252 0 0 1-.253-.251V7.86c0-.14.113-.252.253-.252h4.138c.14 0 .253.113.253.252v1.854c.821-1.76 2.812-2.263 4.075-2.263.384 0 .767.041 1.067.107a.25.25 0 0 1 .197.245v4.212zM64.153 22.981V7.86c0-.14.113-.252.252-.252h4.297c.14 0 .253.113.253.252v15.12a.252.252 0 0 1-.253.252h-4.297a.252.252 0 0 1-.252-.251zM66.522.03c1.58 0 2.843 1.258 2.843 2.798s-1.264 2.798-2.843 2.798c-1.517 0-2.78-1.257-2.78-2.798 0-1.54 1.263-2.797 2.78-2.797zm-17.67 14.147h5.077a.126.126 0 0 0 .12-.167l-2.51-7.196a.127.127 0 0 0-.238-.001l-2.568 7.197a.126.126 0 0 0 .12.167zm6.656 4.527h-8.299a.252.252 0 0 0-.238.168l-1.492 4.191a.252.252 0 0 1-.238.168h-4.7a.252.252 0 0 1-.237-.34L48.55 1.106a.252.252 0 0 1 .236-.162h5.43c.106 0 .2.065.237.163l8.152 21.786a.252.252 0 0 1-.237.34h-4.89a.253.253 0 0 1-.24-.169l-1.49-4.191a.253.253 0 0 0-.24-.168z",fill:""+r}),(0,fi.jsx)("path",{d:"M34.219 9.305a4.394 4.394 0 0 1 1.044 4.71l-2.32 6.298c-.609 1.654-1.996 2.932-3.712 3.267a4.828 4.828 0 0 1-4.678-1.669L10.64 5.256a.306.306 0 0 0-.522.092L5.591 17.58c-.094.252.155.497.403.396l5.554-2.267a2.453 2.453 0 0 1 3.258 1.528c.411 1.257-.28 2.615-1.494 3.11l-7.256 2.961c-1.343.548-2.887.45-4.096-.355a4.404 4.404 0 0 1-1.686-5.197L5.623 3.311C6.257 1.598 7.7.389 9.484.077a4.97 4.97 0 0 1 4.714 1.734l7.985 9.56 7.345-2.998c1.633-.665 3.43-.309 4.69.932zm-4.237 4.802c.093-.253-.156-.498-.403-.397l-4.058 1.656 2.434 2.915c.152.181.441.13.523-.092l1.504-4.082z",fill:"url(#"+o+")"})]})]})};function iL(){return iL=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iL.apply(this,arguments)}var aL=e=>(0,fi.jsx)(oL,iL({},e,{fontColor:"#FFF"})),sL=e=>(0,fi.jsx)(oL,iL({},e,{fontColor:"#000"}));function lL(e){let{showPoweredByAirwallex:t=!0}=e;const n=(0,ji.useTheme)(),r=uL();return n.nav.logoUrl?vi(dL,{children:[gi(pL,{src:n.nav.logoUrl}),t&&gi(cL,{})]}):gi(r,{width:118,height:16})}function cL(){const e=uL();return gi(fL,{css:t=>({color:e===aL?t.colors.white:t.colors.black}),children:gi(iw,{i18nKey:"navigation.poweredBy",components:{logo:gi(e,{width:68,height:9})}})})}function uL(){const e=(0,ji.useTheme)();return(0,yj.bJ)("#fff",e.navigationV3.background)>(0,yj.bJ)("#000",e.navigationV3.background)?aL:sL}const dL=ji.styled.div({display:"flex",flexDirection:"column",justifyContent:"flex-end",alignItems:"center",fontSize:10,fontWeight:"bold"}),pL=ji.styled.img({display:"block",width:128,maxHeight:128}),fL=ji.styled.div({padding:"12px 0",display:"flex",flexWrap:"nowrap",gap:4,alignItems:"center"}),hL=eO.footer` 395 min-height: 64px; 396 flex-shrink: 0; 397 display: flex; 398 padding: 12px ${e=>{let{navigationExpanded:t}=e;return t?6:4}}px; 399 will-change: padding-inline; 400 transition: none; 401 align-content: flex-end; 402 flex-direction: row; 403 align-items: center; 404`,mL=eO(rL)((e=>{let{theme:t,navigationExpanded:n}=e;return(0,$S.AH)("align-self:flex-end;color:",t.navigationV3.color,";&:hover,&:active{background:",t.nav.button.hover.background,";}&:focus-visible{outline:2px solid white;outline-offset:-2px;}margin-right:",n?t.space.xs:0,";","")}));function gL(e){let{navigationExpanded:t,onToggle:n,showPoweredByAirwallex:r,...o}=e;const{t:i}=sw();return vi(hL,{navigationExpanded:t,...o,"data-public":!0,children:[gi(mL,{title:i("navigation.mainMenuTooltip"),navigationExpanded:t,onClick:e=>{Ko("navigation_menu_toggle_"+(t?"collapse":"expand"),{is_navigation_expand_before:t}),e.stopPropagation(),n()},icon:oI,"aria-label":i("navigation.mainMenuTooltip")}),t&&gi(lL,{showPoweredByAirwallex:r})]})}
404function vL(e){const[t,n]=(0,s.useState)((()=>window.matchMedia(e).matches));return(0,s.useEffect)((()=>{const r=window.matchMedia(e);r.matches!==t&&n(r.matches);const o=e=>{n(e.matches)};return r.addEventListener("change",o),()=>r.removeEventListener("change",o)}),[t,e]),t}const yL=eO.div((e=>{let{theme:t,navigationExpanded:n}=e;return Pi.AH` 405 padding: 8px ${n?20:8}px; 406 color: ${t.navigationV3.color}; 407 overflow: hidden; 408 `})),bL=eO.div` 409 font-weight: 700; 410 font-size: 14px; 411 line-height: 17px; 412 overflow: hidden; 413 text-overflow: ellipsis; 414 white-space: nowrap; 415`,wL=eO.div` 416 font-weight: 400; 417 font-size: 12px; 418 line-height: 15px; 419 margin-top: 2px; 420 overflow: hidden; 421 text-overflow: ellipsis; 422 white-space: nowrap; 423`,xL=c().forwardRef(((e,t)=>{let{line1:n,line2:r,navigationExpanded:o}=e;return vi(yL,{ref:t,navigationExpanded:o,children:[n&&gi(bL,{children:n}),r&&gi(wL,{children:r})]})}));xL.displayName="NavigationSectionHeader";const kL=xL;var CL=n(68319);const EL=eO.header` 424 padding-inline: 8px; 425`,SL=eO.div` 426 height: 50px; 427 padding: ${e=>{let{theme:t}=e;return t.space.xs}}; 428 display: flex; 429 align-items: center; 430 gap: 12px; 431 432 /* When it has only one child */ 433 &:not(:has(> * + *)) { 434 justify-content: center; 435 } 436`;var OL={name:"bev607",styles:"box-shadow:inset 0 0 0 1px currentcolor"};const AL=eO.div({name:"1767qv2",styles:"width:24px;height:24px;flex-shrink:0;border-radius:50%;display:flex;align-items:center;justify-content:center"},(function(e){let{theme:t,styleVariant:n}=e;return n?{"filled-orange-gradient":(0,$S.AH)("background:",t.navigationV3.switcherV2.menuitem.selected.iconBackground,";svg *{fill:",t.navigationV3.switcherV2.menuitem.selected.icon,";}",""),"filled-grey":(0,$S.AH)("background:",t.navigationV3.switcherV2.menuitem.default.iconBackground,";svg *{fill:",t.navigationV3.switcherV2.menuitem.default.icon,";}",""),outlined:OL}[n]:{}})),_L=eO.div` 437 overflow: hidden; 438`,PL=eO.div` 439 overflow: hidden; 440 text-overflow: ellipsis; 441 white-space: nowrap; 442 font-feature-settings: 443 'ss08' on, 444 'clig' off, 445 'liga' off; 446 font-family: ${CL.rZ}; 447 font-size: 14px; 448 font-style: normal; 449 font-weight: 700; 450 line-height: 17px; 451 height: 17px; 452`,jL=eO.div` 453 overflow: hidden; 454 font-feature-settings: 455 'ss08' on, 456 'clig' off, 457 'liga' off; 458 white-space: nowrap; 459 text-overflow: ellipsis; 460 font-family: ${CL.rZ}; 461 font-size: 12px; 462 font-style: normal; 463 font-weight: 400; 464 margin-top: 2px; 465 line-height: 15px; 466`;function TL(e,t){"desktop"!==e?Ko("account_switcher_panel_toggle",{toggleOpen:!t,view_type:"mobile"}):Ko("account_switcher_panel_"+(t?"collapse":"expand"),{view_type:"desktop"})}function IL(){return IL=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IL.apply(this,arguments)}var LL=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",IL({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M21.1163 19.8117C21.6044 19.3235 22.3957 19.3235 22.8839 19.8117C23.372 20.2998 23.372 21.0911 22.8839 21.5792L17.2374 27.2257C16.554 27.9091 15.4462 27.9091 14.7628 27.2257L9.11629 21.5792C8.62814 21.0911 8.62814 20.2998 9.11629 19.8117C9.60445 19.3235 10.3957 19.3235 10.8839 19.8117L16.0001 24.9279L21.1163 19.8117Z",fill:n}),(0,fi.jsx)("path",{d:"M10.8838 11.5794C10.3957 12.0676 9.60439 12.0676 9.11624 11.5794C8.62808 11.0913 8.62808 10.3 9.11624 9.81184L14.7627 4.16536C15.4461 3.48199 16.5539 3.48199 17.2373 4.16536L22.8838 9.81184C23.372 10.3 23.372 11.0913 22.8838 11.5794C22.3957 12.0676 21.6044 12.0676 21.1162 11.5794L16 6.46321L10.8838 11.5794Z",fill:n})]}))}));const NL=e=>({"--line1-color":e.primaryText,"--line2-color":e.secondaryText,"--icon-color":e.icon}),RL=e=>{let{theme:t,interactive:n,active:r}=e;const{default:o,hover:i,active:a}=t.navigationV3.switcherV2.button;return{height:48,borderRadius:6,padding:"6px 8px 6px 6px",display:"flex",alignItems:"center",gap:12,backgroundColor:r?a.background:o.background,"--line1-color":r?a.primaryText:o.primaryText,"--line2-color":r?a.secondaryText:o.secondaryText,"--icon-color":r?a.icon:o.icon,...n?{cursor:"pointer","&:hover, &:focus-visible":{backgroundColor:r?a.background:i.background}
466,"&:focus-visible":{outline:"2px solid white",outlineOffset:-2},"&:active":{backgroundColor:a.background,...NL(a)}}:{cursor:"default"}}},DL=eO(CI,{shouldForwardProp:e=>"active"!==e})((e=>{let{theme:t,active:n}=e;return RL({theme:t,interactive:!0,active:n})})),FL=eO("div",{shouldForwardProp:e=>"active"!==e})((e=>{let{theme:t,active:n}=e;return{width:"100%",textAlign:"start",color:"inherit",...RL({theme:t,interactive:!1,active:n})}})),ML=eO.div({overflow:"hidden",flexGrow:1}),BL=eO.div({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontFeatureSettings:"'ss08' on, 'clig' off, 'liga' off",fontFamily:CL.rZ,fontSize:14,fontStyle:"normal",fontWeight:700,lineHeight:"17px",height:"17px",color:"var(--line1-color)"}),VL=eO.div({overflow:"hidden",fontFeatureSettings:"'ss08' on, 'clig' off, 'liga' off",whiteSpace:"nowrap",textOverflow:"ellipsis",fontFamily:CL.rZ,fontSize:12,fontStyle:"normal",fontWeight:400,marginTop:"2px",lineHeight:"15px",color:"var(--line2-color)"}),zL=eO(LL)({flexShrink:0,color:"var(--icon-color)"}),UL=eO.div((e=>{let{theme:t}=e;const n=t.navigationV3.switcherV2.menuitem.selected;return{width:24,height:24,flexShrink:0,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",color:n.icon,background:n.iconBackground,"& svg *":{fill:"currentColor"}}}));function HL(e){let{line1:t,line2:n,icon:r,interactive:o}=e;return vi(mi,{children:[r,vi(ML,{children:[gi(BL,{children:t}),n&&gi(VL,{children:n})]}),o&&gi(zL,{})]})}const qL=(0,s.forwardRef)((function(e,t){let{line1:n,line2:r,icon:o,interactive:i=!0,active:a=!1,trackingViewType:s,onClick:l,...c}=e;return i?gi(DL,{ref:t,active:a,"aria-label":"Account switcher","aria-expanded":a,...c,onClick:e=>{s&&TL(s,a),null==l||l(e)},children:gi(HL,{line1:n,line2:r,icon:o,interactive:i})}):gi(FL,{ref:t,active:a,"aria-label":"Account switcher",children:gi(HL,{line1:n,line2:r,icon:o,interactive:i})})}));function WL(e){let{icon:t}=e;return gi(UL,{children:gi(t,{size:12,color:"currentColor"})})}function $L(){return $L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$L.apply(this,arguments)}var GL=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",$L({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M23.5 7.5H26.5V4.5H23.5V7.5ZM29 8.75L28.9932 8.87793C28.9291 9.50817 28.3972 10 27.75 10H22.25C21.5596 10 21 9.44036 21 8.75V3.25C21 2.60285 21.4918 2.07092 22.1221 2.00684L22.25 2H27.75L27.8779 2.00684C28.5082 2.07092 29 2.60285 29 3.25V8.75Z",fill:n}),(0,fi.jsx)("path",{d:"M23.5 17.5H26.5V14.5H23.5V17.5ZM29 18.75L28.9932 18.8779C28.9291 19.5082 28.3972 20 27.75 20H22.25C21.5596 20 21 19.4404 21 18.75V13.25C21 12.6028 21.4918 12.0709 22.1221 12.0068L22.25 12H27.75L27.8779 12.0068C28.5082 12.0709 29 12.6028 29 13.25V18.75Z",fill:n}),(0,fi.jsx)("path",{d:"M5.5 17.5H8.5V14.5H5.5V17.5ZM11 18.75L10.9932 18.8779C10.9291 19.5082 10.3972 20 9.75 20H4.25C3.55964 20 3 19.4404 3 18.75V13.25C3 12.6028 3.49183 12.0709 4.12207 12.0068L4.25 12H9.75L9.87793 12.0068C10.5082 12.0709 11 12.6028 11 13.25V18.75Z",fill:n}),(0,fi.jsx)("path",{d:"M23.5 27.5H26.5V24.5H23.5V27.5ZM29 28.75L28.9932 28.8779C28.9291 29.5082 28.3972 30 27.75 30H22.25C21.5596 30 21 29.4404 21 28.75V23.25C21 22.6028 21.4918 22.0709 22.1221 22.0068L22.25 22H27.75L27.8779 22.0068C28.5082 22.0709 29 22.6028 29 23.25V28.75Z",fill:n}),(0,fi.jsx)("path",{d:"M14.8848 24.75V17.25H9.5V14.75H14.8848V7.25C14.8848 5.86929 16.0041 4.75 17.3848 4.75H22.5V7.25H17.3848V14.75H22V17.25H17.3848V24.75H22.5V27.25H17.3848C16.0041 27.25 14.8848 26.1307 14.8848 24.75Z",fill:n})]}))}));function KL(){return KL=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KL.apply(this,arguments)}var ZL=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",KL({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M28.0355 23.2501C28.7259 23.2501 29.2854 23.8096 29.2854 24.4999C29.2854 25.1903 28.7259 25.7498 28.0355 25.7498H25.7498V28.0355C25.7498 28.7257 25.1903 29.2853 24.5 29.2853C23.8097 29.2853 23.2502 28.7258 23.2501 28.0355V25.7498H20.9644C20.2742 25.7497 19.7146 25.1902 19.7146 24.4999C19.7146 23.8096 20.2742 23.2502 20.9644 23.2501H23.2501V20.9644C23.2502 20.2741 23.8097 19.7145 24.5 19.7145C25.1903 19.7146 25.7498 20.2741 25.7498 20.9644V23.2501H28.0355Z",fill:n}),(0,fi.jsx)("path",{d:"M19.75 9C19.75 6.92893 18.0711 5.25 16 5.25C13.9289 5.25 12.25 6.92893 12.25 9C12.25 11.0711 13.9289 12.75 16 12.75C18.0711 12.75 19.75 11.0711 19.75 9ZM22.25 9C22.25 12.4518 19.4518 15.25 16 15.25C12.5482 15.25 9.75 12.4518 9.75 9C9.75 5.54822 12.5482 2.75 16 2.75C19.4518 2.75 22.25 5.54822 22.25 9Z",fill:n}),(0,fi.jsx)("path",{d:"M5.75 28V22.75C5.75 19.9886 7.98858 17.75 10.75 17.75H20.5C21.1904 17.75 21.75 18.3096 21.75 19C21.75 19.6904 21.1904 20.25 20.5 20.25H10.75C9.36929 20.25 8.25 21.3693 8.25 22.75V28C8.25 28.6904 7.69036 29.25 7 29.25C6.30964 29.25 5.75 28.6904 5.75 28Z",fill:n})]}))}));const YL=eO("div",{shouldForwardProp:e=>!["highlight","loading"].includes(e)})((e=>{let{theme:t,highlight:n,loading:r}=e;const{default:o,selected:i}=t.navigationV3.switcherV2.menuitem,a=n?i:o;return{width:20,height:20,borderRadius:"50%",color:r?t.colors.white:a.icon,background:a.iconBackgroun
466d,display:"flex",justifyContent:"center",alignItems:"center",flexShrink:0,"& svg *":{fill:"currentColor"}}})),XL={account:jT,"account-group":GL,org:$T,assistant:ZL};function QL(e){let{highlight:t,loading:n,type:r}=e;const o=XL[r]||jT;return gi(YL,{highlight:t,loading:Boolean(n),children:n?gi(ra,{square:10,show:!0,color:"currentColor"}):gi(o,{color:"currentColor",size:10})})}function JL(){var e,t;const n=Qh((e=>e.accountGroup)),r=Qh((e=>e.account)),o=Qh((e=>e.org.data)),[i]=Ry(),a=Qh((e=>e.auth.accountGroupView)),{t:s}=sw("translation",{keyPrefix:"navigation"});var l,c;return o?a?{icon:XL[i?"assistant":"account"],line1:null===(l=r.externalInfo)||void 0===l?void 0:l.nickName,line2:[null===(c=r.accountDetails)||void 0===c||null===(c=c.businessDetails)||void 0===c?void 0:c.businessName,null==i?void 0:i.display].filter(Boolean).join(" · ")}:{icon:XL[i?"assistant":"org"],line1:o.name,line2:[s("organisation"),null==i?void 0:i.display].filter(Boolean).join(" · ")}:n.id?{icon:XL["account-group"],line1:n.name,line2:s("accountGroup")}:{icon:XL.account,line1:null===(e=r.externalInfo)||void 0===e?void 0:e.nickName,line2:null===(t=r.accountDetails)||void 0===t||null===(t=t.businessDetails)||void 0===t?void 0:t.businessName}}const eN=(0,s.forwardRef)((function(e,t){let{...n}=e;const{icon:r,line1:o,line2:i}=JL();return gi(qL,{ref:t,line1:o,line2:i,icon:gi(WL,{icon:r}),...n})}));var tN=(0,s.createContext)({inGroup:!1}),nN=()=>(0,s.useContext)(tN),rN=e=>{var{children:t}=e;return(0,fi.jsx)(tN.Provider,{value:{inGroup:!0},children:t})},oN=n(16762),iN=n.n(oN);function aN(){return aN=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aN.apply(this,arguments)}var sN=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),lN=(e,t)=>{var n=aN({},e);for(var[r,o]of Object.entries(t))if(void 0!==o){var i=e[r];sN(i)&&sN(o)?n[r]=lN(i,o):n[r]=o}return n},cN=(e,t)=>lN(e,t),uN=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),dN=e=>{var t={};for(var[n,r]of Object.entries(e))if(void 0!==r)if(uN(r)){var o=dN(r);Object.keys(o).length>0&&(t[n]=o)}else t[n]=r;return t},pN=e=>{var{theme:t}=e;return{color:{background:t.colors.grays[20]},motion:{duration:"1500ms",easing:"ease-in-out"},opacity:{default:1,pulse:.55}}},fN=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),hN=e=>{var{theme:t}=e,n=t.skeleton;return n?dN({color:fN(n,"color")?n.color:void 0,motion:fN(n,"motion")?n.motion:void 0,opacity:fN(n,"opacity")?n.opacity:void 0}):{}},mN=e=>{var{theme:t}=e;return(e=>{var{defaults:t,legacyOverlay:n,newFormatOverlay:r}=e,o=n?cN(t,n):t;return r?cN(o,r):o})({defaults:pN({theme:t}),newFormatOverlay:hN({theme:t})})};function gN(){var e,t,n=(e=["\n 0%, 100% {\n opacity: ",";\n }\n 50% {\n opacity: ",";\n }\n "],t||(t=e.slice(0)),e.raw=t,e);return gN=function(){return n},n}var vN=e=>{var{motion:t,opacity:n}=mN({theme:e});return{animation:(0,Pi.i7)(gN(),n.default,n.pulse)+" "+t.duration+" "+t.easing+" infinite","@media (prefers-reduced-motion: reduce)":{animation:"none"}}};function yN(){return yN=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yN.apply(this,arguments)}var bN=ji.styled.div((e=>{var{theme:t,borderRadius:n,blockWidth:r,blockHeight:o,aspectRatio:i,animate:a}=e;return yN({backgroundColor:mN({theme:t}).color.background,width:r,height:o,aspectRatio:i,borderRadius:n,flexShrink:0},a?vN(t):{})})),wN=e=>{var{borderRadius:t,width:n,height:r,aspectRatio:o}=e,i=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["borderRadius","width","height","aspectRatio"]),{inGroup:a}=nN();return(0,fi.jsx)(bN,yN({"aria-hidden":"true",borderRadius:t,blockWidth:n,blockHeight:r,aspectRatio:o,animate:!a},i))};wN.displayName="SkeletonBaseBlock";var xN=(e,t)=>
466({sm:e.radius.s,md:e.radius.m,lg:e.radius.l,xl:e.radius.xl}[t]);function kN(){return kN=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kN.apply(this,arguments)}var CN=e=>{var{radius:t="md"}=e,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["radius"]),r=(0,ji.useTheme)();return(0,fi.jsx)(wN,kN({borderRadius:"circle"===t?"50%":xN(r,t)},n))};CN.displayName="SkeletonBlock";var EN=ji.styled.div((e=>{var{theme:t}=e;return vN(t)})),SN=ji.styled.span({position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0}),ON=e=>{var{label:t="Loadingâ¦",children:n,className:r,style:o}=e,{inGroup:i}=nN();return i?(0,fi.jsx)(fi.Fragment,{children:n}):(0,fi.jsxs)(EN,{role:"status","aria-busy":"true",className:r,style:o,children:[(0,fi.jsx)(SN,{children:t}),(0,fi.jsx)(rN,{children:n})]})};function AN(){return AN=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AN.apply(this,arguments)}ON.displayName="SkeletonGroupBoundary";var _N=e=>(0,fi.jsx)(ON,AN({},e));_N.displayName="SkeletonGroup";const PN=(0,ji.styled)("div",{shouldForwardProp:e=>"indent"!==e})((e=>{let{indent:t=0}=e;return{display:"flex",alignItems:"center",height:48,padding:"4px 8px",paddingLeft:8+t,boxSizing:"border-box"}})),jN=ji.styled.div({flex:"1 1 auto",marginLeft:12,minWidth:0,display:"flex",flexDirection:"column",gap:2}),TN=[{id:"row-1",indent:0},{id:"row-2",indent:0},{id:"row-3",indent:24},{id:"row-4",indent:24},{id:"row-5",indent:0},{id:"row-6",indent:0},{id:"row-7",indent:0}];function IN(e){let{indent:t=0}=e;return vi(PN,{indent:t,children:[gi(CN,{radius:"circle",width:20,height:20}),vi(jN,{children:[gi(CN,{width:220,height:17.5}),gi(CN,{width:120,height:18})]})]})}function LN(){const{t:e}=sw();return gi(_N,{label:e("skeleton.loadingAccountSwitcher"),children:TN.map((e=>{let{id:t,indent:n}=e;return gi(IN,{indent:n},t)}))})}var NN=n(7350),RN=n.n(NN),DN=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),FN="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,MN=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),BN="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(MN):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},VN=["top","right","bottom","left","width","height","size","weight"],zN="undefined"!=typeof MutationObserver,UN=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&s()}function a(){BN(i)}function s(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(a,t);o=e}return s}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}
vendor: 4,708 bytes, line 466
466));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){FN&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),zN?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){FN&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;VN.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),HN=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},qN=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||MN},WN=YN(0,0,0,0);function $N(e){return parseFloat(e)||0}function GN(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+$N(e["border-"+n+"-width"])}),0)}var KN="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof qN(e).SVGGraphicsElement}:function(e){return e instanceof qN(e).SVGElement&&"function"==typeof e.getBBox};function ZN(e){return FN?KN(e)?function(e){var t=e.getBBox();return YN(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return WN;var r=qN(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=$N(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,s=$N(r.width),l=$N(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==t&&(s-=GN(r,"left","right")+i),Math.round(l+a)!==n&&(l-=GN(r,"top","bottom")+a)),!function(e){return e===qN(e).document.documentElement}(e)){var c=Math.round(s+i)-t,u=Math.round(l+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return YN(o.left,o.top,s,l)}(e):WN}function YN(e,t,n,r){return{x:e,y:t,width:n,height:r}}var XN=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=YN(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=ZN(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),QN=function(e,t){var n=function(e){var t=e.x,n=e.y,r=e.width,o=e.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(i.prototype);return HN(a,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),a}(t);HN(this,{target:e,contentRect:n})},JN=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new DN,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof qN(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new XN(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof qN(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new QN(e.target,e.broadcastRect())}
466));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),eR="undefined"!=typeof WeakMap?new WeakMap:new DN,tR=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=UN.getInstance(),r=new JN(t,n,this);eR.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){tR.prototype[e]=function(){var t;return(t=eR.get(this))[e].apply(t,arguments)}}));const nR=void 0!==MN.ResizeObserver?MN.ResizeObserver:tR;function rR(){const[e,t]=(0,s.useState)(!1),{breakpoints:n}=(0,ji.useTheme)();return(0,s.useEffect)((()=>{const e=new nR(RN()((e=>{var r;const o=null==e||null===(r=e[0])||void 0===r||null===(r=r.contentRect)||void 0===r?void 0:r.width;o&&t(o<n.breakpointTokens.s)}),500));return e.observe(document.body),()=>{e.unobserve(document.body)}}),[n.breakpointTokens.s]),e}function oR(e){return e.accounts.filter((e=>!e.hidden))}function iR(e){const t=e.delegators??[];return 0===t.length?[]:[{type:"assistant-view",id:`${e.id}:assistant-view`,parentId:e.id,delegators:t}]}function aR(e){return"account"===e.type||"assistant-view"===e.type?[]:"org"===e.type&&"SASE"===e.orgType?iR(e):[...iR(e),...oR(e)]}function sR(e){let{data:t}=e;const n=Qh((e=>e.auth.accountGroupView)),r=Qh((e=>{var t;return null===(t=e.org.data)||void 0===t?void 0:t.id})),o=Qh((e=>e.accountGroup.id)),i=Qh((e=>e.account.id));return(0,s.useMemo)((()=>{if(!t)return null;if(r){if(i){if(n){const e=t.find((e=>"account-group"===e.type&&e.id===n.id));if(e)return e.accounts.find((e=>e.id===i))??null}const e=t.find((e=>"org"===e.type&&e.id===r));return"SASE"===(null==e?void 0:e.orgType)?e:(null==e?void 0:e.accounts.find((e=>e.id===i)))??null}return t.find((e=>"org"===e.type&&e.id===r))??null}return o?t.find((e=>"account-group"===e.type&&e.id===o))??null:i?t.find((e=>"account"===e.type&&e.id===i))??(null===(e=t.find((e=>"account-group"===e.type&&e.accounts.some((e=>e.id===i)))))||void 0===e?void 0:e.accounts.find((e=>e.id===i)))??null:null;var e}),[n,o,i,r,t])}var lR=n(24180);function cR(){return"undefined"!=typeof window}function uR(e){return fR(e)?(e.nodeName||"").toLowerCase():"#document"}function dR(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function pR(e){var t;return null==(t=(fR(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function fR(e){return!!cR()&&(e instanceof Node||e instanceof dR(e).Node)}function hR(e){return!!cR()&&(e instanceof Element||e instanceof dR(e).Element)}function mR(e){return!!cR()&&(e instanceof HTMLElement||e instanceof dR(e).HTMLElement)}function gR(e){return!(!cR()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof dR(e).ShadowRoot)}function vR(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=AR(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function yR(e){return/^(table|td|th)$/.test(uR(e))}function bR(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}const wR=/transform|translate|scale|rotate|perspective|filter/,xR=/paint|layout|strict|content/,kR=e=>!!e&&"none"!==e;let CR;function ER(e){const t=hR(e)?AR(e):e;return kR(t.transform)||kR(t.translate)||kR(t.scale)||kR(t.rotate)||kR(t.perspective)||!SR()&&(kR(t.backdropFilter)||kR(t.filter))||wR.test(t.willChange||"")||xR.test(t.contain||"")}function SR(){return null==CR&&(CR="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),CR}function OR(e){return/^(html|body|#document)$/.test(uR(e))}function AR(e){return dR(e).getComputedStyle(e)}function _R(e){return hR(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function PR(e){if("html"===uR(e))return e;const t=e.assignedSlot||e.parentNode||gR(e)&&e.host||pR(e);return gR(t)?t.host:t}function jR(e){const t=PR(e);return OR(t)?e.ownerDocument?e.ownerDocument.body:e.body:mR(t)&&vR(t)?t:jR(t)}function TR(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=jR(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=dR(o);if(i){const e=IR(a);
466return t.concat(a,a.visualViewport||[],vR(o)?o:[],e&&n?TR(e):[])}return t.concat(o,TR(o,[],n))}function IR(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function LR(e){let t=e.activeElement;for(;null!=(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement);){var n;t=t.shadowRoot.activeElement}return t}function NR(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&gR(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function RR(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function DR(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:n}=e;return t+"/"+n})).join(" "):navigator.userAgent}function FR(e){return!DR().includes("jsdom/")&&(!BR()&&0===e.width&&0===e.height||BR()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function MR(){return/apple/i.test(navigator.vendor)}function BR(){const e=/android/i;return e.test(RR())||e.test(DR())}function VR(){return RR().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function zR(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function UR(e){return(null==e?void 0:e.ownerDocument)||document}function HR(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function qR(e){return"composedPath"in e?e.composedPath()[0]:e.target}const WR="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function $R(e){return mR(e)&&e.matches(WR)}function GR(e){e.preventDefault(),e.stopPropagation()}function KR(e){return!!e&&"combobox"===e.getAttribute("role")&&$R(e)}const ZR=["start","end"],YR=["top","right","bottom","left"].reduce(((e,t)=>e.concat(t,t+"-"+ZR[0],t+"-"+ZR[1])),[]),XR=Math.min,QR=Math.max,JR=Math.round,eD=Math.floor,tD=e=>({x:e,y:e}),nD={left:"right",right:"left",bottom:"top",top:"bottom"};function rD(e,t,n){return QR(e,XR(t,n))}function oD(e,t){return"function"==typeof e?e(t):e}function iD(e){return e.split("-")[0]}function aD(e){return e.split("-")[1]}function sD(e){return"x"===e?"y":"x"}function lD(e){return"y"===e?"height":"width"}function cD(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function uD(e){return sD(cD(e))}function dD(e,t,n){void 0===n&&(n=!1);const r=aD(e),o=uD(e),i=lD(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=vD(a)),[a,vD(a)]}function pD(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const fD=["left","right"],hD=["right","left"],mD=["top","bottom"],gD=["bottom","top"];function vD(e){const t=iD(e);return nD[t]+e.slice(t.length)}function yD(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}var bD=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),wD="undefined"==typeof Element,xD=wD?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,kD=!wD&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},CD=function e(t,n){var r;void 0===n&&(n=!0);var o=null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===o||"true"===o||n&&t&&e(t.parentNode)},ED=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var a=i.shift();if(!CD(a,!1))if("SLOT"===a.tagName){var s=a.assignedElements(),l=e(s.length?s:a.children,!0,r);r.flatten?o.push.apply(o,l):o.push({scopeParent:a,candidates:l})}else{xD.call(a,bD)&&r.filter(a)&&(n||!t.includes(a))&&o.push(a);var c=a.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(a),u=!CD(c,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(a));if(c&&u){var d=e(!0===c?a.children:c.children,!0,r);r.flatten?o.push.apply(o,d):o.push({scopeParent:a,candidates:d})}else i.unshift.apply(i,a.children)}}return o},SD=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},OD=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!SD(e)?0:e.tabIndex},AD=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},_D=function(e){return"INPUT"===e.tagName}
vendor: 5,416 bytes, line 466
466,PD=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},jD=function(e,t){return!(t.disabled||CD(t)||function(e){return _D(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=xD.call(e,"details>summary:first-of-type")?e.parentElement:e;if(xD.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return PD(e)}else{if("function"==typeof r){for(var i=e;e;){var a=e.parentElement,s=kD(e);if(a&&!a.shadowRoot&&!0===r(a))return PD(e);e=e.assignedSlot?e.assignedSlot:a||s===e.ownerDocument?a:s.host}e=i}if(function(e){var t,n,r,o,i=e&&kD(e),a=null===(t=i)||void 0===t?void 0:t.host,s=!1;if(i&&i!==e)for(s=!!(null!==(n=a)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(a)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!s&&a;){var l,c,u;s=!(null===(c=a=null===(l=i=kD(a))||void 0===l?void 0:l.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(a))}return s}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!xD.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},TD=function(e,t){return!(function(e){return function(e){return _D(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||kD(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)}(t)||OD(t)<0||!jD(e,t))},ID=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},LD=function e(t){var n=[],r=[];return t.forEach((function(t,o){var i=!!t.scopeParent,a=i?t.scopeParent:t,s=function(e,t){var n=OD(e);return n<0&&t&&!SD(e)?0:n}(a,i),l=i?e(t.candidates):a;0===s?i?n.push.apply(n,l):n.push(a):r.push({documentOrder:o,tabIndex:s,item:t,isScope:i,content:l})})),r.sort(AD).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},ND=function(e,t){var n;return n=(t=t||{}).getShadowRoot?ED([e],t.includeContainer,{filter:TD.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ID}):function(e,t,n){if(CD(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(bD));return t&&xD.call(e,bD)&&r.unshift(e),r.filter(n)}(e,t.includeContainer,TD.bind(null,t)),LD(n)};function RD(e,t,n){let{reference:r,floating:o}=e;const i=cD(t),a=uD(t),s=lD(a),l=iD(t),c="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let f;switch(l){case"top":f={x:u,y:r.y-o.height};break;case"bottom":f={x:u,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:d};break;case"left":f={x:r.x-o.width,y:d};break;default:f={x:r.x,y:r.y}}switch(aD(t)){case"start":f[a]-=p*(n&&c?-1:1);break;case"end":f[a]+=p*(n&&c?-1:1)}return f}async function DD(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=oD(t,e),h=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(f),m=s[p?"floating"===d?"reference":"floating":d],g=yD(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),v="floating"===d?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),b=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},w=yD(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:y,strategy:l}):v);return{top:(g.top-w.top+h.top)/b.y,bottom:(w.bottom-g.bottom+h.bottom)/b.y,left:(g.left-w.left+h.left)/b.x,right:(w.right-g.right+h.right)/b.x}}const FD=new Set(["left","top"]);function MD(e){const t=AR(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=mR(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=JR(n)!==i||JR(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function BD(e){return hR(e)?e:e.contextElement}function VD(e){const t=BD(e);if(!mR(t))return tD(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=MD(t);let a=(i?JR(n.width):n.width)/r,s=(i?JR(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const zD=tD(0);function UD(e){const t=dR(e);
vendor: 7,005 bytes, line 466
466return SR()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:zD}function HD(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=BD(e);let a=tD(1);t&&(r?hR(r)&&(a=VD(r)):a=VD(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==dR(e))&&t}(i,n,r)?UD(i):tD(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=dR(i),t=r&&hR(r)?dR(r):r;let n=e,o=IR(n);for(;o&&r&&t!==n;){const e=VD(o),t=o.getBoundingClientRect(),r=AR(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=a,n=dR(o),o=IR(n)}}return yD({width:u,height:d,x:l,y:c})}function qD(e,t){const n=_R(e).scrollLeft;return t?t.left+n:HD(pR(e)).left+n}function WD(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-qD(e,n),y:n.top+t.scrollTop}}function $D(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=dR(e),r=pR(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=SR();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}const c=qD(r);if(c<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(r.clientWidth-t.clientWidth-o);a<=25&&(i-=a)}else c<=25&&(i+=c);return{width:i,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=pR(e),n=_R(e),r=e.ownerDocument.body,o=QR(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=QR(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+qD(e);const s=-n.scrollTop;return"rtl"===AR(r).direction&&(a+=QR(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(pR(e));else if(hR(t))r=function(e,t){const n=HD(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=mR(e)?VD(e):tD(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=UD(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return yD(r)}function GD(e,t){const n=PR(e);return!(n===t||!hR(n)||OR(n))&&("fixed"===AR(n).position||GD(n,t))}function KD(e,t,n){const r=mR(t),o=pR(t),i="fixed"===n,a=HD(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=tD(0);function c(){l.x=qD(o)}if(r||!r&&!i)if(("body"!==uR(t)||vR(o))&&(s=_R(t)),r){const e=HD(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&c();i&&!r&&o&&c();const u=!o||r||i?tD(0):WD(o,s);return{x:a.left+s.scrollLeft-l.x-u.x,y:a.top+s.scrollTop-l.y-u.y,width:a.width,height:a.height}}function ZD(e){return"static"===AR(e).position}function YD(e,t){if(!mR(e)||"fixed"===AR(e).position)return null;if(t)return t(e);let n=e.offsetParent;return pR(e)===n&&(n=n.ownerDocument.body),n}function XD(e,t){const n=dR(e);if(bR(e))return n;if(!mR(e)){let t=PR(e);for(;t&&!OR(t);){if(hR(t)&&!ZD(t))return t;t=PR(t)}return n}let r=YD(e,t);for(;r&&yR(r)&&ZD(r);)r=YD(r,t);return r&&OR(r)&&ZD(r)&&!ER(r)?n:r||function(e){let t=PR(e);for(;mR(t)&&!OR(t);){if(ER(t))return t;if(bR(t))return null;t=PR(t)}return null}(e)||n}const QD={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,a=pR(r),s=!!t&&bR(t.floating);if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},c=tD(1);const u=tD(0),d=mR(r);if((d||!d&&!i)&&(("body"!==uR(r)||vR(a))&&(l=_R(r)),d)){const e=HD(r);c=VD(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const p=!a||d||i?tD(0):WD(a,l);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+p.x,y:n.y*c.y-l.scrollTop*c.y+u.y+p.y}},getDocumentElement:pR,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i="clippingAncestors"===n?bR(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=TR(e,[],!1).filter((e=>hR(e)&&"body"!==uR(e))),o=null;const i="fixed"===AR(e).position;let a=i?PR(e):e;for(;hR(a)&&!OR(a);){const t=AR(a),n=ER(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&("absolute"===o.position||"fixed"===o.position)||vR(a)&&!n&&GD(e,a))?r=r.filter((e=>e!==a)):o=t,a=PR(a)}return t.set(e,r),r}(t,this._c):[].concat(n),a=[...i,r],s=$D(t,a[0],o);let l=s.top,c=s.right,u=s.bottom,d=s.left;for(let e=1;e<a.length;e++){const n=$D(t,a[e],o);l=QR(n.top,l),c=XR(n.right,c),u=XR(n.bottom,u),d=QR(n.left,d)}return{width:c-d,height:u-l,x:d,y:l}},getOffsetParent:XD,getElementRects:async function(e){const t=this.getOffsetParent||XD,n=this.getDimensions,r=await n(e.floating);return{reference:KD(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=MD(e);return{width:t,height:n}},getScale:VD,isElement:hR,isRTL:function(e){return"rtl"===AR(e).direction}};function JD(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eF(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=BD(e),u=o||i?[...c?TR(c):[],...t?TR(t):[]]:[];u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t){let n,r=null;const o=pR(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:f}=c;if(s||t(),!p||!f)return;const h={rootMargin:-eD(d)+"px "+-eD(o.clientWidth-(u+p))+"px "+-eD(o.clientHeight-(d+f))+"px "+-eD(u)+"px",threshold:QR(0,XR(1,l))||1};let m=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!m)return a();r?a(!1,r):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}1!==r||JD(c,e.getBoundingClientRect())||a(),m=!1}try{r=new IntersectionObserver(g,{...h,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,h)}r.observe(e)}(!0),i}(c,n):null;let p,f=-1,h=null;a&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&h&&t&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),n()})),c&&!l&&h.observe(c),t&&h.observe(t));let m=l?HD(e):null;return l&&function t(){const r=HD(e);m&&!JD(m,r)&&n(),m=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}const tF=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=iD(n),s=aD(n),l="y"===cD(n),c=FD.has(a)?-1:1,u=i&&l?-1:1,d=oD(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}
vendor: 4,751 bytes, line 466
466:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof h&&(f="end"===s?-1*h:h),l?{x:f*u,y:p*c}:{x:p*c,y:f*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},nF=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:i,middlewareData:a,placement:s,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:d,allowedPlacements:p=YR,autoAlignment:f=!0,...h}=oD(e,t),m=void 0!==d||p===YR?function(e,t,n){return(e?[...n.filter((t=>aD(t)===e)),...n.filter((t=>aD(t)!==e))]:n.filter((e=>iD(e)===e))).filter((n=>!e||aD(n)===e||!!t&&pD(n)!==n))}(d||null,f,p):p,g=await l.detectOverflow(t,h),v=(null==(n=a.autoPlacement)?void 0:n.index)||0,y=m[v];if(null==y)return{};const b=dD(y,i,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==y)return{reset:{placement:m[0]}};const w=[g[iD(y)],g[b[0]],g[b[1]]],x=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:y,overflows:w}],k=m[v+1];if(k)return{data:{index:v+1,overflows:x},reset:{placement:k}};const C=x.map((e=>{const t=aD(e.placement);return[e.placement,t&&u?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),E=C.filter((e=>e[2].slice(0,aD(e[0])?2:3).every((e=>e<=0)))),S=(null==(o=E[0])?void 0:o[0])||C[0][0];return S!==s?{data:{index:v+1,overflows:x},reset:{placement:S}}:{}}}},rF=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=oD(e,t),u={x:n,y:r},d=await i.detectOverflow(t,c),p=cD(iD(o)),f=sD(p);let h=u[f],m=u[p];if(a){const e="y"===f?"bottom":"right";h=rD(h+d["y"===f?"top":"left"],h,h-d[e])}if(s){const e="y"===p?"bottom":"right";m=rD(m+d["y"===p?"top":"left"],m,m-d[e])}const g=l.fn({...t,[f]:h,[p]:m});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[f]:a,[p]:s}}}}}},oF=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...g}=oD(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const v=iD(o),y=cD(s),b=iD(s)===s,w=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=p||(b||!m?[vD(s)]:function(e){const t=vD(e);return[pD(e),t,pD(t)]}(s)),k="none"!==h;!p&&k&&x.push(...function(e,t,n,r){const o=aD(e);let i=function(e,t,n){switch(e){case"top":case"bottom":return n?t?hD:fD:t?fD:hD;case"left":case"right":return t?mD:gD;default:return[]}}(iD(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(pD)))),i}(s,m,h,w));const C=[s,...x],E=await l.detectOverflow(t,g),S=[];let O=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&S.push(E[v]),d){const e=dD(o,a,w);S.push(E[e[0]],E[e[1]])}if(O=[...O,{placement:o,overflows:S}],!S.every((e=>e<=0))){var A,_;const e=((null==(A=i.flip)?void 0:A.index)||0)+1,t=C[e];if(t&&("alignment"!==d||y===cD(t)||O.every((e=>cD(e.placement)!==y||e.overflows[0]>0))))return{data:{index:e,overflows:O},reset:{placement:t}};let n=null==(_=O.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:_.placement;if(!n)switch(f){case"bestFit":{var P;const e=null==(P=O.filter((e=>{if(k){const t=cD(e.placement);return t===y||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:P[0];e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}return{}}}},iF=(e,t,n)=>{const r=new Map,o={platform:QD,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=a.detectOverflow?a:{...a,detectOverflow:DD},l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=RD(c,r,l),p=r,f=0;const h={};for(let n=0;n<i.length;n++){const m=i[n];if(!m)continue;const{name:g,fn:v}=m,{x:y,y:b,data:w,reset:x}=await v({x:u,y:d,initialPlacement:r,placement:p,strategy:o,middlewareData:h,rects:c,platform:s,elements:{reference:e,floating:t}});u=null!=y?y:u,d=null!=b?b:d,h[g]={...h[g],...w},x&&f<50&&(f++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):x.rects),({x:u,y:d}=RD(c,p,l))),n=-1)}return{x:u,y:d,placement:p,strategy:o,middlewareData:h}})(e,t,{...o,platform:i})};var aF="undefined"!=typeof document?s.useLayoutEffect:function(){};function sF(e,t){if(e===t)return!0;
466if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!sF(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(!("_owner"===n&&e.$$typeof||sF(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function lF(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function cF(e,t){const n=lF(e);return Math.round(t*n)/n}function uF(e){const t=s.useRef(e);return aF((()=>{t.current=e})),t}const dF=(e,t)=>({...tF(e),options:[e,t]}),pF=(e,t)=>({...rF(e),options:[e,t]}),fF=(e,t)=>({...oF(e),options:[e,t]}),hF={...l},mF=hF.useInsertionEffect||(e=>e());function gF(e){const t=s.useRef((()=>{}));return mF((()=>{t.current=e})),s.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}const vF="ArrowUp",yF="ArrowDown",bF="ArrowLeft",wF="ArrowRight";function xF(e,t,n){return Math.floor(e/t)!==n}function kF(e,t){return t<0||t>=e.current.length}function CF(e,t){return SF(e,{disabledIndices:t})}function EF(e,t){return SF(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function SF(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:o,amount:i=1}=void 0===t?{}:t;const a=e.current;let s=n;do{s+=r?-i:i}while(s>=0&&s<=a.length-1&&_F(a,s,o));return s}function OF(e,t,n,r,o){if(-1===e)return-1;const i=n.indexOf(e),a=t[e];switch(o){case"tl":return i;case"tr":return a?i+a.width-1:i;case"bl":return a?i+(a.height-1)*r:i;case"br":return n.lastIndexOf(e)}}function AF(e,t){return t.flatMap(((t,n)=>e.includes(t)?[n]:[]))}function _F(e,t,n){if(n)return n.includes(t);const r=e[t];return null==r||r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")}var PF="undefined"!=typeof document?s.useLayoutEffect:s.useEffect;function jF(e,t){const n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}const TF=s.createContext({register:()=>{},unregister:()=>{},map:new Map,elementsRef:{current:[]}});function IF(e){const{children:t,elementsRef:n,labelsRef:r}=e,[o,i]=s.useState((()=>new Map)),a=s.useCallback((e=>{i((t=>new Map(t).set(e,null)))}),[]),l=s.useCallback((e=>{i((t=>{const n=new Map(t);return n.delete(e),n}))}),[]);return PF((()=>{const e=new Map(o);Array.from(e.keys()).sort(jF).forEach(((t,n)=>{e.set(t,n)})),function(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e.entries())if(r!==t.get(n))return!1;return!0}(o,e)||i(e)}),[o]),s.createElement(TF.Provider,{value:s.useMemo((()=>({register:a,unregister:l,map:o,elementsRef:n,labelsRef:r})),[a,l,o,n,r])},t)}function LF(){return LF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},LF.apply(this,arguments)}let NF=!1,RF=0;const DF=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+RF++,FF=hF.useId||function(){const[e,t]=s.useState((()=>NF?DF():void 0));return PF((()=>{null==e&&t(DF())}),[]),s.useEffect((()=>{NF=!0}),[]),e};const MF=s.createContext(null),BF=s.createContext(null),VF=()=>{var e;return(null==(e=s.useContext(MF))?void 0:e.id)||null},zF=()=>s.useContext(BF);function UF(e){return"data-floating-ui-"+e}function HF(e){const t=(0,s.useRef)(e);return PF((()=>{t.current=e})),t}const qF=UF("safe-polygon");function WF(e,t,n){return n&&!zR(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function $F(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:o,events:i,elements:a}=e,{enabled:l=!0,delay:c=0,handleClose:u=null,mouseOnly:d=!1,restMs:p=0,move:f=!0}=t,h=zF(),m=VF(),g=HF(u),v=HF(c),y=HF(n),b=s.useRef(),w=s.useRef(-1),x=s.useRef(),k=s.useRef(-1),C=s.useRef(!0),E=s.useRef(!1),S=s.useRef((()=>{})),O=s.useRef(!1),A=s.useCallback((()=>{var e;const t=null==(e=o.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[o]);s.useEffect((()=>
466{if(l)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(w.current),clearTimeout(k.current),C.current=!0,O.current=!1)}}),[l,i]),s.useEffect((()=>{if(!l)return;if(!g.current)return;if(!n)return;function e(e){A()&&r(!1,e,"hover")}const t=UR(a.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[a.floating,n,r,l,g,A]);const _=s.useCallback((function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const o=WF(v.current,"close",b.current);o&&!x.current?(clearTimeout(w.current),w.current=window.setTimeout((()=>r(!1,e,n)),o)):t&&(clearTimeout(w.current),r(!1,e,n))}),[v,r]),P=gF((()=>{S.current(),x.current=void 0})),j=gF((()=>{if(E.current){const e=UR(a.floating).body;e.style.pointerEvents="",e.removeAttribute(qF),E.current=!1}})),T=gF((()=>!!o.current.openEvent&&["click","mousedown"].includes(o.current.openEvent.type)));s.useEffect((()=>{if(l&&hR(a.domReference)){var e;const r=a.domReference;return n&&r.addEventListener("mouseleave",s),null==(e=a.floating)||e.addEventListener("mouseleave",s),f&&r.addEventListener("mousemove",t,{once:!0}),r.addEventListener("mouseenter",t),r.addEventListener("mouseleave",i),()=>{var e;n&&r.removeEventListener("mouseleave",s),null==(e=a.floating)||e.removeEventListener("mouseleave",s),f&&r.removeEventListener("mousemove",t),r.removeEventListener("mouseenter",t),r.removeEventListener("mouseleave",i)}}function t(e){if(clearTimeout(w.current),C.current=!1,d&&!zR(b.current)||p>0&&!WF(v.current,"open"))return;const t=WF(v.current,"open",b.current);t?w.current=window.setTimeout((()=>{y.current||r(!0,e,"hover")}),t):n||r(!0,e,"hover")}function i(e){if(T())return;S.current();const t=UR(a.floating);if(clearTimeout(k.current),O.current=!1,g.current&&o.current.floatingContext){n||clearTimeout(w.current),x.current=g.current({...o.current.floatingContext,tree:h,x:e.clientX,y:e.clientY,onClose(){j(),P(),T()||_(e,!0,"safe-polygon")}});const r=x.current;return t.addEventListener("mousemove",r),void(S.current=()=>{t.removeEventListener("mousemove",r)})}("touch"!==b.current||!NR(a.floating,e.relatedTarget))&&_(e)}function s(e){T()||o.current.floatingContext&&(null==g.current||g.current({...o.current.floatingContext,tree:h,x:e.clientX,y:e.clientY,onClose(){j(),P(),T()||_(e)}})(e))}}),[a,l,e,d,p,f,_,P,j,r,n,y,h,v,g,o,T]),PF((()=>{var e;if(l&&n&&null!=(e=g.current)&&e.__options.blockPointerEvents&&A()){E.current=!0;const e=a.floating;if(hR(a.domReference)&&e){var t;const n=UR(a.floating).body;n.setAttribute(qF,"");const r=a.domReference,o=null==h||null==(t=h.nodesRef.current.find((e=>e.id===m)))||null==(t=t.context)?void 0:t.elements.floating;return o&&(o.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}}),[l,n,m,a,h,g,A]),PF((()=>{n||(b.current=void 0,O.current=!1,P(),j())}),[n,P,j]),s.useEffect((()=>()=>{P(),clearTimeout(w.current),clearTimeout(k.current),j()}),[l,a.domReference,P,j]);const I=s.useMemo((()=>{function e(e){b.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function o(){C.current||y.current||r(!0,t,"hover")}d&&!zR(b.current)||n||0===p||O.current&&e.movementX**2+e.movementY**2<2||(clearTimeout(k.current),"touch"===b.current?o():(O.current=!0,k.current=window.setTimeout(o,p)))}}}),[d,r,n,y,p]),L=s.useMemo((()=>({onMouseEnter(){clearTimeout(w.current)},onMouseLeave(e){T()||_(e.nativeEvent,!1)}})),[_,T]);return s.useMemo((()=>l?{reference:I,floating:L}:{}),[l,I,L])}let GF=0;function KF(e,t){void 0===t&&(t={});const{preventScroll:n=!1,cancelPrevious:r=!0,sync:o=!1}=t;r&&cancelAnimationFrame(GF);const i=()=>null==e?void 0:e.focus({preventScroll:n});o?i():GF=requestAnimationFrame(i)}function ZF(e,t){let n=e.filter((e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)})),r=n;for(;r.length;)r=e.filter((e=>{var t;return null==(t=r)?void 0:t.some((t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)}))})),n=n.concat(r);return n}const YF=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function XF(e,t){const n=ND(e,YF());"prev"===t&&n.reverse();const r=n.indexOf(LR(UR(e)));return n.slice(r+1)[0]}function QF(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!NR(n,r)}
466function JF(e){ND(e,YF()).forEach((e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}))}function eM(e){e.querySelectorAll("[data-tabindex]").forEach((e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")}))}const tM={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function nM(e){"Tab"===e.key&&(e.target,clearTimeout(void 0))}const rM=s.forwardRef((function(e,t){const[n,r]=s.useState();PF((()=>(MR()&&r("button"),document.addEventListener("keydown",nM),()=>{document.removeEventListener("keydown",nM)})),[]);const o={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[UF("focus-guard")]:"",style:tM};return s.createElement("span",LF({},e,o))})),oM=s.createContext(null),iM=UF("portal");function aM(e){const{children:t,id:n,root:r,preserveTabOrder:o=!0}=e,i=function(e){void 0===e&&(e={});const{id:t,root:n}=e,r=FF(),o=sM(),[i,a]=s.useState(null),l=s.useRef(null);return PF((()=>()=>{null==i||i.remove(),queueMicrotask((()=>{l.current=null}))}),[i]),PF((()=>{if(!r)return;if(l.current)return;const e=t?document.getElementById(t):null;if(!e)return;const n=document.createElement("div");n.id=r,n.setAttribute(iM,""),e.appendChild(n),l.current=n,a(n)}),[t,r]),PF((()=>{if(null===n)return;if(!r)return;if(l.current)return;let e=n||(null==o?void 0:o.portalNode);e&&!hR(e)&&(e=e.current),e=e||document.body;let i=null;t&&(i=document.createElement("div"),i.id=t,e.appendChild(i));const s=document.createElement("div");s.id=r,s.setAttribute(iM,""),e=i||e,e.appendChild(s),l.current=s,a(s)}),[t,n,r,o]),i}({id:n,root:r}),[a,l]=s.useState(null),c=s.useRef(null),u=s.useRef(null),d=s.useRef(null),p=s.useRef(null),f=null==a?void 0:a.modal,h=null==a?void 0:a.open,m=!!a&&!a.modal&&a.open&&o&&!(!r&&!i);return s.useEffect((()=>{if(i&&o&&!f)return i.addEventListener("focusin",e,!0),i.addEventListener("focusout",e,!0),()=>{i.removeEventListener("focusin",e,!0),i.removeEventListener("focusout",e,!0)};function e(e){i&&QF(e)&&("focusin"===e.type?eM:JF)(i)}}),[i,o,f]),s.useEffect((()=>
466{i&&(h||eM(i))}),[h,i]),s.createElement(oM.Provider,{value:s.useMemo((()=>({preserveTabOrder:o,beforeOutsideRef:c,afterOutsideRef:u,beforeInsideRef:d,afterInsideRef:p,portalNode:i,setFocusManagerState:l})),[o,i])},m&&i&&s.createElement(rM,{"data-type":"outside",ref:c,onFocus:e=>{if(QF(e,i)){var t;null==(t=d.current)||t.focus()}else{const e=XF(document.body,"prev")||(null==a?void 0:a.refs.domReference.current);null==e||e.focus()}}}),m&&i&&s.createElement("span",{"aria-owns":i.id,style:tM}),i&&la.createPortal(t,i),m&&i&&s.createElement(rM,{"data-type":"outside",ref:u,onFocus:e=>{if(QF(e,i)){var t;null==(t=p.current)||t.focus()}else{const t=XF(document.body,"next")||(null==a?void 0:a.refs.domReference.current);null==t||t.focus(),(null==a?void 0:a.closeOnFocusOut)&&(null==a||a.onOpenChange(!1,e.nativeEvent,"focus-out"))}}}))}const sM=()=>s.useContext(oM),lM="data-floating-ui-focusable";function cM(e){return mR(e.target)&&"BUTTON"===e.target.tagName}function uM(e){return $R(e)}function dM(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:o,elements:{domReference:i}}=e,{enabled:a=!0,event:l="click",toggle:c=!0,ignoreMouse:u=!1,keyboardHandlers:d=!0,stickIfOpen:p=!0}=t,f=s.useRef(),h=s.useRef(!1),m=s.useMemo((()=>({onPointerDown(e){f.current=e.pointerType},onMouseDown(e){const t=f.current;0===e.button&&"click"!==l&&(zR(t,!0)&&u||(!n||!c||o.current.openEvent&&p&&"mousedown"!==o.current.openEvent.type?(e.preventDefault(),r(!0,e.nativeEvent,"click")):r(!1,e.nativeEvent,"click")))},onClick(e){const t=f.current;"mousedown"===l&&f.current?f.current=void 0:zR(t,!0)&&u||(!n||!c||o.current.openEvent&&p&&"click"!==o.current.openEvent.type?r(!0,e.nativeEvent,"click"):r(!1,e.nativeEvent,"click"))},onKeyDown(e){f.current=void 0,e.defaultPrevented||!d||cM(e)||(" "!==e.key||uM(i)||(e.preventDefault(),h.current=!0),"Enter"===e.key&&r(!n||!c,e.nativeEvent,"click"))},onKeyUp(e){e.defaultPrevented||!d||cM(e)||uM(i)||" "===e.key&&h.current&&(h.current=!1,r(!n||!c,e.nativeEvent,"click"))}})),[o,i,l,u,d,r,n,p,c]);return s.useMemo((()=>a?{reference:m}:{}),[a,m])}const pM={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},fM={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},hM=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function mM(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,elements:o,dataRef:i}=e,{enabled:a=!0,escapeKey:l=!0,outsidePress:c=!0,outsidePressEvent:u="pointerdown",referencePress:d=!1,referencePressEvent:p="pointerdown",ancestorScroll:f=!1,bubbles:h,capture:m}=t,g=zF(),v=gF("function"==typeof c?c:()=>!1),y="function"==typeof c?v:c,b=s.useRef(!1),w=s.useRef(!1),{escapeKey:x,outsidePress:k}=hM(h),{escapeKey:C,outsidePress:E}=hM(m),S=s.useRef(!1),O=gF((e=>{var t;if(!n||!a||!l||"Escape"!==e.key)return;if(S.current)return;const o=null==(t=i.current.floatingContext)?void 0:t.nodeId,s=g?ZF(g.nodesRef.current,o):[];if(!x&&(e.stopPropagation(),s.length>0)){let e=!0;if(s.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)})),!e)return}r(!1,function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e,"escape-key")})),A=gF((e=>{var t;const n=()=>{var t;O(e),null==(t=qR(e))||t.removeEventListener("keydown",n)};null==(t=qR(e))||t.addEventListener("keydown",n)})),_=gF((e=>{var t;const n=b.current;b.current=!1;const a=w.current;if(w.current=!1,"click"===u&&a)return;if(n)return;if("function"==typeof y&&!y(e))return;const s=qR(e),l="["+UF("inert")+"]",c=UR(o.floating).querySelectorAll(l);let d=hR(s)?s:null;for(;d&&!OR(d);){const e=PR(d);if(OR(e)||!hR(e))break;d=e}if(c.length&&hR(s)&&!s.matches("html,body")&&!NR(s,o.floating)&&Array.from(c).every((e=>!NR(d,e))))return;if(mR(s)&&T){const t=s.clientWidth>0&&s.scrollWidth>s.clientWidth,n=s.clientHeight>0&&s.scrollHeight>s.clientHeight;let r=n&&e.offsetX>s.clientWidth;if(n&&"rtl"===AR(s).direction&&(r=e.offsetX<=s.offsetWidth-s.clientWidth),r||t&&e.offsetY>s.clientHeight)return}const p=null==(t=i.current.floatingContext)?void 0:t.nodeId,f=g&&ZF(g.nodesRef.current,p).some((t=>{var n;return HR(e,null==(n=t.context)?void 0:n.elements.floating)}));if(HR(e,o.floating)||HR(e,o.domReference)||f)return;const h=g?ZF(g.nodesRef.current,p):[];if(h.length>0){let e=!0;
vendor: 3,837 bytes, line 466
466if(h.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}r(!1,e,"outside-press")})),P=gF((e=>{var t;const n=()=>{var t;_(e),null==(t=qR(e))||t.removeEventListener(u,n)};null==(t=qR(e))||t.addEventListener(u,n)}));s.useEffect((()=>{if(!n||!a)return;i.current.__escapeKeyBubbles=x,i.current.__outsidePressBubbles=k;let e=-1;function t(e){r(!1,e,"ancestor-scroll")}function s(){window.clearTimeout(e),S.current=!0}function c(){e=window.setTimeout((()=>{S.current=!1}),SR()?5:0)}const d=UR(o.floating);l&&(d.addEventListener("keydown",C?A:O,C),d.addEventListener("compositionstart",s),d.addEventListener("compositionend",c)),y&&d.addEventListener(u,E?P:_,E);let p=[];return f&&(hR(o.domReference)&&(p=TR(o.domReference)),hR(o.floating)&&(p=p.concat(TR(o.floating))),!hR(o.reference)&&o.reference&&o.reference.contextElement&&(p=p.concat(TR(o.reference.contextElement)))),p=p.filter((e=>{var t;return e!==(null==(t=d.defaultView)?void 0:t.visualViewport)})),p.forEach((e=>{e.addEventListener("scroll",t,{passive:!0})})),()=>{l&&(d.removeEventListener("keydown",C?A:O,C),d.removeEventListener("compositionstart",s),d.removeEventListener("compositionend",c)),y&&d.removeEventListener(u,E?P:_,E),p.forEach((e=>{e.removeEventListener("scroll",t)})),window.clearTimeout(e)}}),[i,o,l,y,u,n,r,f,a,x,k,O,C,A,_,E,P]),s.useEffect((()=>{b.current=!1}),[y,u]);const j=s.useMemo((()=>({onKeyDown:O,[pM[p]]:e=>{d&&r(!1,e.nativeEvent,"reference-press")}})),[O,r,d,p]),T=s.useMemo((()=>({onKeyDown:O,onMouseDown(){w.current=!0},onMouseUp(){w.current=!0},[fM[u]]:()=>{b.current=!0}})),[O,u]);return s.useMemo((()=>a?{reference:j,floating:T}:{}),[a,j,T])}function gM(e){void 0===e&&(e={});const{nodeId:t}=e,n=function(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=FF(),i=s.useRef({}),[a]=s.useState((()=>function(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}())),l=null!=VF(),[c,u]=s.useState(r.reference),d=gF(((e,t,r)=>{i.current.openEvent=e?t:void 0,a.emit("openchange",{open:e,event:t,reason:r,nested:l}),null==n||n(e,t,r)})),p=s.useMemo((()=>({setPositionReference:u})),[]),f=s.useMemo((()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference})),[c,r.reference,r.floating]);return s.useMemo((()=>({dataRef:i,open:t,onOpenChange:d,elements:f,events:a,floatingId:o,refs:p})),[t,d,f,a,o,p])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,a]=s.useState(null),[l,c]=s.useState(null),u=(null==o?void 0:o.domReference)||i,d=s.useRef(null),p=zF();PF((()=>{u&&(d.current=u)}),[u]);const f=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,p]=s.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=s.useState(r);sF(f,r)||h(r);const[m,g]=s.useState(null),[v,y]=s.useState(null),b=s.useCallback((e=>{e!==C.current&&(C.current=e,g(e))}),[]),w=s.useCallback((e=>{e!==E.current&&(E.current=e,y(e))}),[]),x=i||m,k=a||v,C=s.useRef(null),E=s.useRef(null),S=s.useRef(d),O=null!=c,A=uF(c),_=uF(o),P=uF(u),j=s.useCallback((()=>{if(!C.current||!E.current)return;const e={placement:t,strategy:n,middleware:f};_.current&&(e.platform=_.current),iF(C.current,E.current,e).then((e=>{const t={...e,isPositioned:!1!==P.current};T.current&&!sF(S.current,t)&&(S.current=t,la.flushSync((()=>{p(t)})))}))}),[f,t,n,_,P]);aF((()=>{!1===u&&S.current.isPositioned&&(S.current.isPositioned=!1,p((e=>({...e,isPositioned:!1}))))}),[u]);const T=s.useRef(!1);aF((()=>(T.current=!0,()=>{T.current=!1})),[]),aF((()=>
466{if(x&&(C.current=x),k&&(E.current=k),x&&k){if(A.current)return A.current(x,k,j);j()}}),[x,k,j,A,O]);const I=s.useMemo((()=>({reference:C,floating:E,setReference:b,setFloating:w})),[b,w]),L=s.useMemo((()=>({reference:x,floating:k})),[x,k]),N=s.useMemo((()=>{const e={position:n,left:0,top:0};if(!L.floating)return e;const t=cF(L.floating,d.x),r=cF(L.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...lF(L.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,l,L.floating,d.x,d.y]);return s.useMemo((()=>({...d,update:j,refs:I,elements:L,floatingStyles:N})),[d,j,I,L,N])}({...e,elements:{...o,...l&&{reference:l}}}),h=s.useCallback((e=>{const t=hR(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;c(t),f.refs.setReference(t)}),[f.refs]),m=s.useCallback((e=>{(hR(e)||null===e)&&(d.current=e,a(e)),(hR(f.refs.reference.current)||null===f.refs.reference.current||null!==e&&!hR(e))&&f.refs.setReference(e)}),[f.refs]),g=s.useMemo((()=>({...f.refs,setReference:m,setPositionReference:h,domReference:d})),[f.refs,m,h]),v=s.useMemo((()=>({...f.elements,domReference:u})),[f.elements,u]),y=s.useMemo((()=>({...f,...r,refs:g,elements:v,nodeId:t})),[f,g,v,t,r]);return PF((()=>{r.dataRef.current.floatingContext=y;const e=null==p?void 0:p.nodesRef.current.find((e=>e.id===t));e&&(e.context=y)})),s.useMemo((()=>({...f,context:y,refs:g,elements:v})),[f,g,v,y])}function vM(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,events:o,dataRef:i,elements:a}=e,{enabled:l=!0,visibleOnly:c=!0}=t,u=s.useRef(!1),d=s.useRef(),p=s.useRef(!0);s.useEffect((()=>{if(!l)return;const e=dR(a.domReference);function t(){!n&&mR(a.domReference)&&a.domReference===LR(UR(a.domReference))&&(u.current=!0)}function r(){p.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",r,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",r,!0)}}),[a.domReference,n,l]),s.useEffect((()=>{if(l)return o.on("openchange",e),()=>{o.off("openchange",e)};function e(e){let{reason:t}=e;"reference-press"!==t&&"escape-key"!==t||(u.current=!0)}}),[o,l]),s.useEffect((()=>()=>{clearTimeout(d.current)}),[]);const f=s.useMemo((()=>({onPointerDown(e){FR(e.nativeEvent)||(p.current=!1)},onMouseLeave(){u.current=!1},onFocus(e){if(u.current)return;const t=qR(e.nativeEvent);if(c&&hR(t))try{if(MR()&&VR())throw Error();if(!t.matches(":focus-visible"))return}catch(e){if(!p.current&&!$R(t))return}r(!0,e.nativeEvent,"focus")},onBlur(e){u.current=!1;const t=e.relatedTarget,n=e.nativeEvent,o=hR(t)&&t.hasAttribute(UF("focus-guard"))&&"outside"===t.getAttribute("data-type");d.current=window.setTimeout((()=>{var e;const s=LR(a.domReference?a.domReference.ownerDocument:document);(t||s!==a.domReference)&&(NR(null==(e=i.current.floatingContext)?void 0:e.refs.floating.current,s)||NR(a.domReference,s)||o||r(!1,n,"focus"))}))}})),[i,a.domReference,r,c]);return s.useMemo((()=>l?{reference:f}:{}),[l,f])}const yM="active",bM="selected";function wM(e,t,n){const r=new Map,o="item"===n;let i=e;if(o&&e){const{[yM]:t,[bM]:n,...r}=e;i=r}return{..."floating"===n&&{tabIndex:-1,[lM]:""},...i,...t.map((t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,i]=t;var a;o&&[yM,bM].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof i&&(null==(a=r.get(n))||a.push(i),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return null==(e=r.get(n))?void 0:e.map((e=>e(...o))).find((e=>void 0!==e))})):e[n]=i)})),e):e),{})}}function xM(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),n=e.map((e=>null==e?void 0:e.floating)),r=e.map((e=>null==e?void 0:e.item)),o=s.useCallback((t=>wM(t,e,"reference")),t),i=s.useCallback((t=>wM(t,e,"floating")),n),a=s.useCallback((t=>wM(t,e,"item")),r);return s.useMemo((()=>({getReferenceProps:o,getFloatingProps:i,getItemProps:a})),[o,i,a])}let kM=!1;function CM(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function EM(e,t){return CM(t,e===vF||e===yF,e===bF||e===wF)}function SM(e,t,n){return CM(t,e===yF,n?e===bF:e===wF)||"Enter"===e||" "===e||""===e}function OM(e,t,n){return CM(t,n?e===wF:e===bF,e===vF)}function AM(e,t){const{open:n,onOpenChange:r,elements:o}=e,{listRef:i,activeIndex:a,onNavigate:l=()=>{},enabled:c=!0,selectedIndex:u=null,allowEscape:d=!1,loop:p=!1,nested:f=!1,rtl:h=!1,virtual:m=!1,focusItemOnOpen:g="auto",focusItemOnHover:v=!0,openOnArrowKeyDown:y=!0,disabledIndices:b,orientation:w="vertical",cols:x=1,scrollItemIntoView:k=!0,virtualItemRef:C,itemSizes:E,dense:S=!1}=t,O=HF((Z=o.floating)?Z.hasAttribute(lM)?Z:Z.querySelector("["+lM+"]")||Z:null),A=VF(),_=zF(),P=gF(l),j=KR(o.domReference),T=s.useRef(g),I=s.useRef(null!=u?u:-1),L=s.useRef(null),N=s.useRef(!0),R=s.useRef(P),D=s.useRef(!!o.floating),F=s.useRef(n),M=s.useRef(!1),B=s.useRef(!1),V=HF(b),z=HF(n),U=HF(k),H=HF(u),[q,W]=s.useState(),[$,G]=s.useState(),K=gF((function(e,t,n){function r(e){m?(W(e.id),null==_||_.events.emit("virtualfocus",e),C&&(C.current=e)):KF(e,{preventScroll:!0,sync:!(!VR()||!MR())&&(kM||M.current)})}void 0===n&&(n=!1);const o=e.current[t.current];o&&r(o),requestAnimationFrame((()=>{const i=e.current[t.current]||o;if(!i)return;o||r(i);const a=U.current;a&&X&&(n||!N.current)&&(null==i.scrollIntoView||i.scrollIntoView("boolean"==typeof a?{block:"nearest",inline:"nearest"}:a))}))}));var Z;PF((()=>{document.createElement("div").focus({get preventScroll(){return kM=!0,!1}})}),[]),PF((()=>{c&&(n&&o.floating?T.current&&null!=u&&(B.current=!0,I.current=u,P(u)):D.current&&(I.current=-1,R.current(null)))}),[c,n,o.floating,u,P]),PF((()=>
466{if(c&&n&&o.floating)if(null==a){if(M.current=!1,null!=H.current)return;if(D.current&&(I.current=-1,K(i,I)),(!F.current||!D.current)&&T.current&&(null!=L.current||!0===T.current&&null==L.current)){let e=0;const t=()=>{null==i.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e++):(I.current=null==L.current||SM(L.current,w,h)||f?CF(i,V.current):EF(i,V.current),L.current=null,P(I.current))};t()}}else kF(i,a)||(I.current=a,K(i,I,B.current),B.current=!1)}),[c,n,o.floating,a,H,f,i,w,h,P,K,V]),PF((()=>{var e;if(!c||o.floating||!_||m||!D.current)return;const t=_.nodesRef.current,n=null==(e=t.find((e=>e.id===A)))||null==(e=e.context)?void 0:e.elements.floating,r=LR(UR(o.floating)),i=t.some((e=>e.context&&NR(e.context.elements.floating,r)));n&&!i&&N.current&&n.focus({preventScroll:!0})}),[c,o.floating,_,A,m]),PF((()=>{if(c&&_&&m&&!A)return _.events.on("virtualfocus",e),()=>{_.events.off("virtualfocus",e)};function e(e){G(e.id),C&&(C.current=e)}}),[c,_,m,A,C]),PF((()=>{R.current=P,D.current=!!o.floating})),PF((()=>{n||(L.current=null)}),[n]),PF((()=>{F.current=n}),[n]);const Y=null!=a,X=s.useMemo((()=>{function e(e){if(!n)return;const t=i.current.indexOf(e);-1!==t&&P(t)}const t={onFocus(t){let{currentTarget:n}=t;e(n)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...v&&{onMouseMove(t){let{currentTarget:n}=t;e(n)},onPointerLeave(e){let{pointerType:t}=e;N.current&&"touch"!==t&&(I.current=-1,K(i,I),P(null),m||KF(O.current,{preventScroll:!0}))}}};return t}),[n,O,K,v,i,P,m]),Q=gF((e=>{if(N.current=!1,M.current=!0,229===e.which)return;if(!z.current&&e.currentTarget===O.current)return;if(f&&OM(e.key,w,h))return GR(e),r(!1,e.nativeEvent,"list-navigation"),void(mR(o.domReference)&&(m?null==_||_.events.emit("virtualfocus",o.domReference):o.domReference.focus()));const t=I.current,a=CF(i,b),s=EF(i,b);if(j||("Home"===e.key&&(GR(e),I.current=a,P(I.current)),"End"===e.key&&(GR(e),I.current=s,P(I.current))),x>1){const t=E||Array.from({length:i.current.length},(()=>({width:1,height:1}))),n=function(e,t,n){const r=[];let o=0;return e.forEach(((e,i)=>{let{width:a,height:s}=e,l=!1;for(n&&(o=0);!l;){const e=[];for(let n=0;n<a;n++)for(let r=0;r<s;r++)e.push(o+n+r*t);o%t+a<=t&&e.every((e=>null==r[e]))?(e.forEach((e=>{r[e]=i})),l=!0):o++}})),[...r]}(t,x,S),r=n.findIndex((e=>null!=e&&!_F(i.current,e,b))),o=n.reduce(((e,t,n)=>null==t||_F(i.current,t,b)?e:n),-1),l=n[function(e,t){let{event:n,orientation:r,loop:o,rtl:i,cols:a,disabledIndices:s,minIndex:l,maxIndex:c,prevIndex:u,stopEvent:d=!1}=t,p=u;if(n.key===vF){if(d&&GR(n),-1===u)p=c;else if(p=SF(e,{startingIndex:p,amount:a,decrement:!0,disabledIndices:s}),o&&(u-a<l||p<0)){const e=u%a,t=c%a,n=c-(t-e);p=t===e?c:t>e?n:n-a}kF(e,p)&&(p=u)}if(n.key===yF&&(d&&GR(n),-1===u?p=l:(p=SF(e,{startingIndex:u,amount:a,disabledIndices:s}),o&&u+a>c&&(p=SF(e,{startingIndex:u%a-a,amount:a,disabledIndices:s}))),kF(e,p)&&(p=u)),"both"===r){const t=eD(u/a);n.key===(i?bF:wF)&&(d&&GR(n),u%a!=a-1?(p=SF(e,{startingIndex:u,disabledIndices:s}),o&&xF(p,a,t)&&(p=SF(e,{startingIndex:u-u%a-1,disabledIndices:s}))):o&&(p=SF(e,{startingIndex:u-u%a-1,disabledIndices:s})),xF(p,a,t)&&(p=u)),n.key===(i?wF:bF)&&(d&&GR(n),u%a!=0?(p=SF(e,{startingIndex:u,decrement:!0,disabledIndices:s}),o&&xF(p,a,t)&&(p=SF(e,{startingIndex:u+(a-u%a),decrement:!0,disabledIndices:s}))):o&&(p=SF(e,{startingIndex:u+(a-u%a),decrement:!0,disabledIndices:s})),xF(p,a,t)&&(p=u));const r=eD(c/a)===t;kF(e,p)&&(p=o&&r?n.key===(i?wF:bF)?c:SF(e,{startingIndex:u-u%a-1,disabledIndices:s}):u)}return p}({current:n.map((e=>null!=e?i.current[e]:null))},{event:e,orientation:w,loop:p,rtl:h,cols:x,disabledIndices:AF([...b||i.current.map(((e,t)=>_F(i.current,t)?t:void 0)),void 0],n),minIndex:r,maxIndex:o,prevIndex:OF(I.current>s?a:I.current,t,n,x,e.key===yF?"bl":e.key===(h?bF:wF)?"tr":"tl"),stopEvent:!0})];if(null!=l&&(I.current=l,P(I.current)),"both"===w)return}if(EM(e.key,w)){if(GR(e),n&&!m&&LR(e.currentTarget.ownerDocument)===e.currentTarget)return I.current=SM(e.key,w,h)?a:s,void P(I.current);SM(e.key,w,h)?I.current=p?t>=s?d&&t!==i.current.length?-1:a:SF(i,{startingIndex:t,disabledIndices:b}):Math.min(s,SF(i,{startingIndex:t,disabledIndices:b})):I.current=p?t<=a?d&&-1!==t?i.current.length:s:SF(i,{startingIndex:t,decrement:!0,disabledIndices:b}):Math.max(a,SF(i,{startingIndex:t,decrement:!0,disabledIndices:b})),kF(i,I.current)?P(null):P(I.current)}})),J=s.useMemo((()=>m&&n&&Y&&{"aria-activedescendant":$||q}),[m,n,Y,$,q]),ee=s.useMemo((()=>({"aria-orientation":"both"===w?void 0:w,...!KR(o.domReference)&&J,onKeyDown:Q,onPointerMove(){N.current=!0}})),[J,Q,o.domReference,w]),te=s.useMemo((()=>{function e(e){"auto"===g&&function(e){return!(0!==e.mozInputSource||!e.isTrusted)||(BR()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}(e.nativeEvent)&&(T.current=!0)}return{...J,onKeyDown(e){N.current=!1;const t=e.key.startsWith("Arrow"),o=["Home","End"].includes(e.ke
466y),a=t||o,s=function(e,t,n){return CM(t,n?e===bF:e===wF,e===yF)}(e.key,w,h),l=OM(e.key,w,h),c=EM(e.key,w),d=(f?s:c)||"Enter"===e.key||""===e.key.trim();if(m&&n){const t=null==_?void 0:_.nodesRef.current.find((e=>null==e.parentId)),n=_&&t?function(e,t){let n,r=-1;return function t(o,i){i>r&&(n=o,r=i),ZF(e,o).forEach((e=>{t(e.id,i+1)}))}(t,0),e.find((e=>e.id===n))}(_.nodesRef.current,t.id):null;if(a&&n&&C){const t=new KeyboardEvent("keydown",{key:e.key,bubbles:!0});if(s||l){var p,g;const r=(null==(p=n.context)?void 0:p.elements.domReference)===e.currentTarget,o=l&&!r?null==(g=n.context)?void 0:g.elements.domReference:s?i.current.find((e=>(null==e?void 0:e.id)===q)):null;o&&(GR(e),o.dispatchEvent(t),G(void 0))}var v;if((c||o)&&n.context&&n.context.open&&n.parentId&&e.currentTarget!==n.context.elements.domReference)return GR(e),void(null==(v=n.context.elements.domReference)||v.dispatchEvent(t))}return Q(e)}(n||y||!t)&&(d&&(L.current=f&&c?null:e.key),f?s&&(GR(e),n?(I.current=CF(i,V.current),P(I.current)):r(!0,e.nativeEvent,"list-navigation")):c&&(null!=u&&(I.current=u),GR(e),!n&&y?r(!0,e.nativeEvent,"list-navigation"):Q(e),n&&P(I.current)))},onFocus(){n&&!m&&P(null)},onPointerDown:function(e){T.current=g,"auto"===g&&FR(e.nativeEvent)&&(T.current=!0)},onMouseDown:e,onClick:e}}),[q,J,Q,V,g,i,f,P,r,n,y,w,h,u,_,m,C]);return s.useMemo((()=>c?{reference:te,floating:ee,item:X}:{}),[c,te,ee,X])}const _M=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function PM(e,t){var n;void 0===t&&(t={});const{open:r,floatingId:o}=e,{enabled:i=!0,role:a="dialog"}=t,l=null!=(n=_M.get(a))?n:a,c=FF(),u=null!=VF(),d=s.useMemo((()=>"tooltip"===l||"label"===a?{["aria-"+("label"===a?"labelledby":"describedby")]:r?o:void 0}:{"aria-expanded":r?"true":"false","aria-haspopup":"alertdialog"===l?"dialog":l,"aria-controls":r?o:void 0,..."listbox"===l&&{role:"combobox"},..."menu"===l&&{id:c},..."menu"===l&&u&&{role:"menuitem"},..."select"===a&&{"aria-autocomplete":"none"},..."combobox"===a&&{"aria-autocomplete":"list"}}),[l,o,u,r,c,a]),p=s.useMemo((()=>{const e={id:o,...l&&{role:l}};return"tooltip"===l||"label"===a?e:{...e,..."menu"===l&&{"aria-labelledby":c}}}),[l,o,c,a]),f=s.useCallback((e=>{let{active:t,selected:n}=e;const r={role:"option",...t&&{id:o+"-option"}};switch(a){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}}),[o,a]);return s.useMemo((()=>i?{reference:d,floating:p,item:f}:{}),[i,d,p,f])}function jM(e,t){void 0===t&&(t={});const{open:n,elements:{floating:r}}=e,{duration:o=250}=t,i=("number"==typeof o?o:o.close)||0,[a,l]=s.useState("unmounted"),c=function(e,t){const[n,r]=s.useState(e);return e&&!n&&r(!0),s.useEffect((()=>{if(!e&&n){const e=setTimeout((()=>r(!1)),t);return()=>clearTimeout(e)}}),[e,n,t]),n}(n,i);return c||"close"!==a||l("unmounted"),PF((()=>{if(r){if(n){l("initial");const e=requestAnimationFrame((()=>{l("open")}));return()=>{cancelAnimationFrame(e)}}l("close")}}),[n,r]),{isMounted:c,status:a}}function TM(e,t){const[n,r]=e;let o=!1;const i=t.length;for(let e=0,a=i-1;e<i;a=e++){const[i,s]=t[e]||[0,0],[l,c]=t[a]||[0,0];s>=r!=c>=r&&n<=(l-i)*(r-s)/(c-s)+i&&(o=!o)}return o}function IM(e){void 0===e&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let o,i=!1,a=null,s=null,l=performance.now();const c=e=>{let{x:n,y:c,placement:u,elements:d,onClose:p,nodeId:f,tree:h}=e;return function(e){function m(){clearTimeout(o),p()}if(clearTimeout(o),!d.domReference||!d.floating||null==u||null==n||null==c)return;const{clientX:g,clientY:v}=e,y=[g,v],b=qR(e),w="mouseleave"===e.type,x=NR(d.floating,b),k=NR(d.domReference,b),C=d.domReference.getBoundingClientRect(),E=d.floating.getBoundingClientRect(),S=u.split("-")[0],O=n>E.right-E.width/2,A=c>E.bottom-E.height/2,_=function(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}(y,C),P=E.width>C.width,j=E.height>C.height,T=(P?C:E).left,I=(P?C:E).right,L=(j?C:E).top,N=(j?C:E).bottom;if(x&&(i=!0,!w))return;if(k&&(i=!1),k&&!w)return void(i=!0);if(w&&hR(e.relatedTarget)&&NR(d.floating,e.relatedTarget))return;if(h&&ZF(h.nodesRef.current,f).some((e=>{let{context:t}=e;return null==t?void 0:t.open})))return;if("top"===S&&c>=C.bottom-1||"bottom"===S&&c<=C.top+1||"left"===S&&n>=C.right-1||"right"===S&&n<=C.left+1)return m();let R=[];switch(S){case"top":R=[[T,C.top+1],[T,E.bottom-1],[I,E.bottom-1],[I,C.top+1]];break;case"bottom":R=[[T,E.top+1],[T,C.bottom-1],[I,C.bottom-1],[I,E.top+1]];break;case"left":R=[[E.right-1,N],[E.right-1,L],[C.left+1,L],[C.left+1,N]];break;case"right":R=[[C.right-1,N],[C.right-1,L],[E.left+1,L],[E.left+1,N]]}
466if(!TM([g,v],R)){if(i&&!_)return m();if(!w&&r){const t=function(e,t){const n=performance.now(),r=n-l;if(null===a||null===s||0===r)return a=e,s=t,l=n,null;const o=e-a,i=t-s,c=Math.sqrt(o*o+i*i);return a=e,s=t,l=n,c/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return m()}TM([g,v],function(e){let[n,r]=e;switch(S){case"top":return[[P?n+t/2:O?n+4*t:n-4*t,r+t+1],[P?n-t/2:O?n+4*t:n-4*t,r+t+1],[E.left,O||P?E.bottom-t:E.top],[E.right,O?P?E.bottom-t:E.top:E.bottom-t]];case"bottom":return[[P?n+t/2:O?n+4*t:n-4*t,r-t],[P?n-t/2:O?n+4*t:n-4*t,r-t],[E.left,O||P?E.top+t:E.bottom],[E.right,O?P?E.top+t:E.bottom:E.top+t]];case"left":{const e=[n+t+1,j?r+t/2:A?r+4*t:r-4*t],o=[n+t+1,j?r-t/2:A?r+4*t:r-4*t];return[[A||j?E.right-t:E.left,E.top],[A?j?E.right-t:E.left:E.right-t,E.bottom],e,o]}case"right":return[[n-t,j?r+t/2:A?r+4*t:r-4*t],[n-t,j?r-t/2:A?r+4*t:r-4*t],[A||j?E.left+t:E.right,E.top],[A?j?E.left+t:E.right:E.left+t,E.bottom]]}}([n,c]))?!i&&r&&(o=window.setTimeout(m,40)):m()}}};return c.__options={blockPointerEvents:n},c}function LM(){return LM=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},LM.apply(this,arguments)}var NM=e=>{var{breakpoints:t,fontFamily:n}=e,r=n.default;return LM({},e,{typography:{display100:{fontFamily:r,fontSize:36,lineHeight:"45px",fontWeight:500,[t.breakpoint.m]:{fontSize:32,lineHeight:"40px"},[t.breakpoint.s]:{fontSize:28,lineHeight:"35px"}},display200:{fontFamily:r,fontSize:28,lineHeight:"35px",fontWeight:500,[t.breakpoint.m]:{fontSize:24,lineHeight:"30px"},[t.breakpoint.s]:{fontSize:22,lineHeight:"28px"}},headline100:{fontFamily:r,fontSize:24,lineHeight:"30px",fontWeight:500,[t.breakpoint.m]:{fontSize:22,lineHeight:"27px"},[t.breakpoint.s]:{fontSize:20,lineHeight:"25px"}},headline200:{fontFamily:r,fontSize:18,lineHeight:"25px",fontWeight:500},headline300:{fontFamily:r,fontSize:16,lineHeight:"24px",fontWeight:500},headline400:{fontFamily:r,fontSize:14,lineHeight:"22px",fontWeight:500},body:{fontFamily:r,fontSize:14,lineHeight:"22px",fontWeight:"normal"},bodyBold:{fontFamily:r,fontSize:14,lineHeight:"22px",fontWeight:500},bodyEmphasis:{fontFamily:r,fontSize:14,lineHeight:"22px",fontWeight:500},link:{fontFamily:r,fontSize:14,lineHeight:"22px",fontWeight:500},linkInline:{fontFamily:r,fontSize:14,lineHeight:"22px",fontWeight:500,textDecoration:"underline"},hint:{fontFamily:r,fontSize:12,lineHeight:"18px",fontWeight:"normal"}}})};function RM(){return RM=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RM.apply(this,arguments)}var DM=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",RM({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M27.75 16C27.75 9.51065 22.4893 4.25 16 4.25C9.51065 4.25 4.25 9.51065 4.25 16C4.25 22.4893 9.51065 27.75 16 27.75C22.4893 27.75 27.75 22.4893 27.75 16ZM30.25 16C30.25 23.8701 23.8701 30.25 16 30.25C8.12994 30.25 1.75 23.8701 1.75 16C1.75 8.12994 8.12994 1.75 16 1.75C23.8701 1.75 30.25 8.12994 30.25 16Z",fill:n}),(0,fi.jsx)("path",{d:"M14.75 15.25C14.75 14.5596 15.3096 14 16 14C16.6904 14 17.25 14.5596 17.25 15.25V22.75C17.25 23.4404 16.6904 24 16 24C15.3096 24 14.75 23.4404 14.75 22.75V15.25Z",fill:n}),(0,fi.jsx)("path",{d:"M14.75 10.25C14.75 9.55964 15.3096 9 16 9C16.6904 9 17.25 9.55964 17.25 10.25V10.75C17.25 11.4404 16.6904 12 16 12C15.3096 12 14.75 11.4404 14.75 10.75V10.25Z",fill:n})]}))})),FM=e=>{var{theme:t}=e,n=Hi(t.semanticTokensV9,(()=>t.tokens)),{semanticColors:r}=$i(t);return{background:{default:n((e=>e.colors.bg.area.inverse),r.text.primary),rich:n((e=>e.colors.bg.area.primary),r.background.primary)},foreground:{default:n((e=>e.colors.fg.inverse),r.text.inverse),rich:n((e=>e.colors.fg.primary),r.text.primary),trigger:n((e=>e.colors.fg.tertiary),r.icon.secondary)},shadow:{default:"0 0 16px 0 rgba(0, 0, 0, 0.08)",rich:t.shadows.l},layout:{borderRadius:{default:n((e=>e.radii.sm),"4px"),rich:n((e=>
466e.radii.md),t.radius.l)}}}},MM=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),BM=e=>{var{theme:t}=e,n=t.tooltip;if(!n)return{};var r=MM(n,"layout")||MM(n,"borderRadius");return zi({background:MM(n,"background")?n.background:void 0,foreground:MM(n,"foreground")?n.foreground:void 0,shadow:MM(n,"shadow")?n.shadow:void 0,layout:r?{borderRadius:Bi({componentTheme:n,tokenKey:"borderRadius",defaults:{default:"4px",rich:t.radius.l},variantOverride:MM(n,"borderRadius")?{borderRadius:n.borderRadius}:void 0})}:void 0})},VM=e=>{var{theme:t}=e;return Ui({defaults:FM({theme:t}),newFormatOverlay:BM({theme:t})})};function zM(){return zM=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zM.apply(this,arguments)}var UM=ji.styled.div((()=>({display:"flex",alignItems:"center",justifyContent:"center"}))),HM=(0,s.forwardRef)(((e,t)=>{var n=(0,ji.useTheme)(),{foreground:r}=VM({theme:n});return(0,fi.jsx)(UM,{ref:t,children:(0,fi.jsx)(DM,{size:16,color:r.trigger})})})),qM=ji.styled.div((e=>{var{theme:t}=e,{typography:n}=NM(t);return zM({marginBottom:"4px"},n.bodyEmphasis)})),WM=ji.styled.div((e=>{var{theme:t,duration:n,color:r,compact:o}=e,{typography:i}=NM(t),{background:a,foreground:s,shadow:l,layout:c}=VM({theme:t}),u="white"===r;return zM({backgroundColor:u?a.rich:a.default,color:u?s.rich:s.default,borderRadius:c.borderRadius.default},i.body,{padding:o?"4px 8px":"12px 16px",maxWidth:"320px",boxShadow:l.default,zIndex:t.zIndex.tooltip,textAlign:"left",wordBreak:"break-word"},(e=>({opacity:0,transition:"opacity "+e+"ms ease-out, transform "+e+"ms ease-out",'[data-side="top"] &':{transform:"translateY(8px)"},'[data-side="bottom"] &':{transform:"translateY(-8px)"},'[data-side="left"] &':{transform:"translateX(8px)"},'[data-side="right"] &':{transform:"translateX(-8px)"},'[data-status="open"] &':{opacity:1,transform:"translate(0, 0)"},'[data-status="close"][data-side="top"] &':{opacity:0,transform:"translateY(8px)"},'[data-status="close"][data-side="bottom"] &':{opacity:0,transform:"translateY(-8px)"},'[data-status="close"][data-side="left"] &':{opacity:0,transform:"translateX(8px)"},'[data-status="close"][data-side="right"] &':{opacity:0,transform:"translateX(-8px)"},'[data-interactive="true"] &':{pointerEvents:"auto"},'[data-interactive="false"] &':{pointerEvents:"none"}}))(n))}));function $M(){return $M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$M.apply(this,arguments)}var GM=e=>{var{trigger:t,children:n,position:r="top",distance:o=8,delay:i=0,disabled:a=!1,onOpenChange:l,isOpen:c,className:u,style:d}=e,[p,f]=(0,s.useState)(!1),h=void 0!==c?c:p,{refs:m,floatingStyles:g,context:v}=gM({open:h&&!a,onOpenChange:e=>{f(e),null==l||l(e)},placement:r,middleware:[dF(o),fF(),pF({padding:8})],whileElementsMounted:eF}),y=(0,ji.useTheme)(),b=$F(v,{enabled:!a,move:!1,delay:i,handleClose:IM()}),w=vM(v,{enabled:!a}),x=mM(v),k=PM(v,{role:"tooltip"}),{getReferenceProps:C,getFloatingProps:E}=xM([b,w,x,k]),{isMounted:S,status:O}=jM(v,{duration:200}),A=v.placement.split("-")[0],_=t||(0,fi.jsx)(HM,{});return(0,fi.jsxs)(fi.Fragment,{children:[(0,fi.jsx)("span",$M({ref:m.setReference},C(),{style:d,className:u,children:_})),S&&(0,fi.jsx)(aM,{root:document.body,children:(0,fi.jsx)("div",$M({ref:m.setFloating,style:$M({},g,{zIndex:y.zIndex.tooltip})},E(),{"data-status":O,"data-side":A,"data-interactive":(!a).toString(),children:n}))})]})},KM=e=>{var{color:t,compact:n=!0,title:r,content:o,children:i,position:a,distance:s,delay:l,disabled:c,onOpenChange:u,isOpen:d,className:p,style:f}=e;return(0,fi.jsx)(GM,{position:a,distance:s,delay:l,disabled:c,onOpenChange:u,isOpen:d,className:p,style:f,trigger:i,children:(0,fi.jsxs)(WM,{duration:200,color:t,compact:n,children:[r&&(0,fi.jsx)(qM,{children:r}),o]})})},ZM=n(4909),YM=n.n(ZM),XM={fontVariantNumeric:"tabular-nums"};function QM(){return QM=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QM.apply(this,arguments)}var JM={primary:e=>e.colors.fg.primary,secondary:e=>e.colors.fg.secondary,placeholder:e=>e.colors.fg.tertiary,disabled:e=>e.colors.fg.disabled,link:e=>e.colors.fg.brand,error:e=>e.colors.fg.critical,success:e=>e.colors.fg.positive,inverse:e=>e.colors.fg.inverse},eB=(0,ji.styled)("p")((e=>{var{theme:t,variant:n,isGradientColor:r,animate:o}=e,i=n in t.typography?n:"bodyEmphasis"===n&&"bodyBold"in t.typography?"bodyBold":n;return QM({},t.typography[i],{margin:0},r&&pj(t,o))}));function tB(e){var{variant:t="body",as:n="p",color:r,children:o,style:i,animate:a,hasTabularNums:s=!1}=e,l=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["variant","as","color","children","style","animate","hasTabularNums"]),c=(0,ji.useTheme)(),{semanticColors:u,typography:d}=c,p=Hi(c.semanticTokensV9,(()=>c.tokens));YM()(!(t in d)&&"bodyEmphasis"!==t,'[@airwallex/typography Text] Please upgrade the @airwallex/theme package to >=8.12.0 to support variant "'+t+'".'),YM()(!(t in d)&&"bodyEmphasis"===t,'[@airwallex/typography Text] Please upgrade the @airwallex/theme package to >=8.14.0 to support variant "'+t+'".'+("bodyBold"in d?' Falling back to "bodyBold".':""));var f="AIGradient"===r;return(0,fi.jsx)(eB,QM({as:n,variant:t,isGradientColor:f},void 0!==a&&{animate:a},{style:QM({},i,s&&XM,!f&&r&&{color:p((e=>(0,JM[r])(e)),null==u?void 0:u.text[r])})},l,{children:o}))}var nB=n(23257),rB=n.n(nB);function oB(e){let{status:t,...n}=e;const{t:r}=sw(),{suspended:o,kycStatus:i}=t;return o?gi(Uj,{variant:"DEFAULT",...n,children:r("accountStatus.SUSPENDED")}):"INIT"===i||"SUBMITTED"===i||"FAILURE"===i?gi(Uj,{variant:{INIT:"SECONDARY",SUBMITTED:"WARNING",FAILURE:"DEFAULT"}[i],...n,children:r(`kycStatus.${i}`)}):null}const iB=(0,ji.styled)("div",{shouldForwardProp:e=>"isFocused"!==e&&"indentPx"!==e})((e=>{let{theme:t,isFocused:n,indentPx:r}=e;return{height:48,padding:"4px 8px",display:"flex",alignItems:"center",borderRadius:6,cursor:"pointer",...void 0!==r&&{paddingLeft:r},":hover":{background:t.semanticColors.background.secondary},...n?{background:t.semanticColors.background.secondary}:{"&[aria-selected='true']":{background:t.colors.grays[10]}}}})),aB=(0,ji.styled)(CI)({flex:"1 1 auto",minWidth:0,width:"auto",height:"100%",padding:0,display:"flex",alignItems:"center",background:"transparent",curs
466or:"pointer",":hover":{background:"transparent"}}),sB=ji.styled.div({flex:"1 1 auto",marginLeft:12,overflow:"hidden",minWidth:0}),lB=ji.styled.div({marginLeft:4}),cB=ji.styled.div(),uB=ji.styled.div({marginTop:2}),dB=(0,ji.styled)(tB)({display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,width:"100%"}),pB=(0,ji.styled)("mark")((e=>{let{theme:t}=e;return{color:t.semanticColors.text.link,backgroundColor:t.semanticColors.background.selected,borderRadius:t.radius.s}})),fB=(0,ji.styled)(CI)((e=>{let{theme:t}=e;return{marginLeft:4,padding:8,width:"auto",display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:6,cursor:"pointer",":hover":{background:t.colors.purples[20]}}})),hB=(0,ji.styled)(xI,{shouldForwardProp:e=>"expanded"!==e})((e=>{let{theme:t,expanded:n}=e;return{color:t.colors.purples[70],transform:n?"rotate(180deg)":"unset",transition:"transform 200ms ease"}}));function mB(e){const t=null==e?void 0:e.firstElementChild;return t instanceof HTMLElement&&t.scrollWidth>t.offsetWidth}function gB(e){const{expandable:t,selected:n,expanded:r,onToggleExpanded:o,onClick:i,item:a,iconHighlight:l,loading:c,className:u,indentPx:d,isFocused:p,highlightSearchWord:f,onRender:h,isMobile:m}=e,g=a.heading1,v=a.heading2,y="account"===a.type,b=function(e){return"account"===e.type?{kycStatus:e.kycStatus??"",suspended:!e.enabled}:"org"===e.type&&"SASE"===e.orgType&&e.accounts.length>0?{kycStatus:e.accounts[0].kycStatus??"",suspended:!e.accounts[0].enabled}:null}(a),w=gi(QL,{type:"account"===a.type?"account":a.type,highlight:l,loading:c}),x=(0,s.useRef)(null);(0,s.useLayoutEffect)((()=>{x.current&&(null==h||h(x.current))}),[h]);const[k,C]=(0,s.useState)(!1),E=(0,s.useRef)(null),S=(0,s.useRef)(null);(0,s.useLayoutEffect)((()=>{C(mB(E.current)||mB(S.current))}));const O=vi(mi,{children:[gi(cB,{ref:E,children:gi(dB,{as:"h5",variant:"headline400",children:f?gi(rB(),{searchWords:[f],autoEscape:!0,textToHighlight:g,highlightTag:pB}):g})}),v&&gi(uB,{ref:S,children:gi(dB,{as:"span",variant:"hint",color:"secondary",children:gi(rB(),{searchWords:y?[f||""]:[],autoEscape:!0,textToHighlight:v,highlightTag:pB})})})]}),A=gi(KM,{content:vi(mi,{children:[gi(tB,{variant:"bodyEmphasis",children:g}),v&&gi(tB,{variant:"hint",color:"secondary",children:v})]}),position:"right",children:O});return vi(iB,{isFocused:p,indentPx:d,"aria-selected":n,className:u,children:[vi(aB,{ref:x,type:"button","aria-selected":n,onClick:i,tabIndex:-1,children:[w,gi(sB,{children:k&&!m?A:O}),b&&gi(lB,{children:gi(oB,{status:b})})]}),t&&gi(fB,{type:"button",tabIndex:-1,"aria-label":r?`Collapse ${g}`:`Expand ${g}`,onClick:e=>{e.stopPropagation(),null==o||o()},children:gi(hB,{expanded:r})})]})}const vB=(e,t,n)=>{(0,s.useEffect)((()=>{function r(r){var o;const i=r.target;e.current&&!e.current.contains(i)&&(null!=n&&null!==(o=n.current)&&void 0!==o&&o.contains(i)||t())}return document.addEventListener("click",r),()=>document.removeEventListener("click",r)}),[t,e,n])},yB=(0,ji.styled)("div",{shouldForwardProp:e=>!["isMobile","topLevel"].includes(e)})((e=>{let{theme:t,isMobile:n,topLevel:r}=e;const o=n?function(e){if(e){const e=8;return{left:e,width:`calc(100% - ${2*e}px)`}}return{left:40,width:"calc(100% - 48px)"}}(r):void 0;return{position:n?"absolute":"fixed",...o&&{left:o.left,width:o.width},zIndex:9999,maxHeight:198,display:"flex",flexDirection:"column",borderRadius:6,border:`1px solid ${t.colors.grays[20]}`,boxShadow:t.shadows.m,background:t.colors.white}})),bB=ji.styled.div((e=>{let{isMobile:t}=e;return{...EI,boxSizing:"border-box",height:"100%",overflowY:"auto",overflowX:"hidden",overflow:"overlay",padding:8,minWidth:t?void 0:140,width:t?"100%":"max-content","& > * + *":{marginTop:4}}})),wB=(0,s.forwardRef)((function(e,t){let{isMobile:n,topLevel:r,children:o,onMouseEnter:i,onMouseLeave:a,...s}=e;return gi(yB,{ref:t,role:"dialog",isMobile:n,topLevel:r,onMouseEnter:i,onMouseLeave:a,...s,children:gi(bB,{isMobile:n,children:o})})}));function xB(){return xB=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xB.apply(this,arguments)}var kB=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",xB({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M21 26.25C20.3096 26.25 19.75 25.6903 19.75 25C19.75 24.3096 20.3096 23.75 21 23.75H24.8516L23.96 22.9091C23.4577 22.4356 23.4338 21.6449 23.9072 21.1425C24.3807 20.6402 25.1724 20.6173 25.6748 21.0908L28.8574 24.0908C29.1078 24.327 29.25 24.6557 29.25 25C29.25 25.3442 29.1078 25.673 28.8574 25.9091L25.6748 28.9091C25.1724 29.3826 24.3807 29.3598 23.9072 28.8574C23.4338 28.355 23.4577 27.5643 23.96 27.0908L24.8516 26.25H2
4661Z",fill:n}),(0,fi.jsx)("path",{d:"M19.75 9C19.75 6.92893 18.0711 5.25 16 5.25C13.9289 5.25 12.25 6.92893 12.25 9C12.25 11.0711 13.9289 12.75 16 12.75C18.0711 12.75 19.75 11.0711 19.75 9ZM22.25 9C22.25 12.4518 19.4518 15.25 16 15.25C12.5482 15.25 9.75 12.4518 9.75 9C9.75 5.54822 12.5482 2.75 16 2.75C19.4518 2.75 22.25 5.54822 22.25 9Z",fill:n}),(0,fi.jsx)("path",{d:"M5.75 28V22.75C5.75 19.9886 7.98858 17.75 10.75 17.75H22C22.6904 17.75 23.25 18.3096 23.25 19C23.25 19.6904 22.6904 20.25 22 20.25H10.75C9.36929 20.25 8.25 21.3693 8.25 22.75V28C8.25 28.6904 7.69036 29.25 7 29.25C6.30964 29.25 5.75 28.6904 5.75 28Z",fill:n})]}))}));const CB={default:{height:36,padding:"4px 8px"},trigger:{height:38,padding:"4px 8px",marginBottom:8},flyoutItem:{height:36,padding:"8px 16px"}},EB=(0,ji.styled)(CI,{shouldForwardProp:e=>!["variant","nested","selected","isFocused"].includes(e)})((e=>{let{theme:t,variant:n,nested:r,selected:o,isFocused:i}=e;const a=CB[n],s=o?t.semanticColors.background.selected:i?t.semanticColors.background.secondary:void 0;return{width:"100%",height:a.height,padding:a.padding,...void 0!==a.marginBottom&&{marginBottom:a.marginBottom},...r&&{paddingLeft:40},display:"flex",alignItems:"center",gap:12,borderRadius:6,cursor:"pointer",background:s,"&:hover":{background:o?t.colors.purples[30]:t.colors.purples[10]}}})),SB=(0,ji.styled)(kB)((e=>{let{theme:t}=e;return{color:t.colors.purples[70],padding:2,"& *":{fill:"currentColor"}}})),OB=(0,s.forwardRef)((function(e,t){let{children:n,variant:r="default",nested:o,selected:i,isFocused:a,onClick:s,onMouseEnter:l,onMouseLeave:c,...u}=e;return vi(EB,{ref:t,variant:r,nested:o,selected:i,isFocused:a,onClick:s,onMouseEnter:l,onMouseLeave:c,"aria-selected":i,...u,children:[gi(SB,{size:20}),gi(tB,{variant:"bodyEmphasis",color:"link",as:"span",children:n})]})}));function AB(e){let{delegators:t,selectedDelegatorId:n,assistantViewLabel:r,isMobile:o,topLevel:i=!1,isFocused:a=!1,onRender:l,onSelect:c}=e;
466const[u,d]=(0,s.useState)(!1),[p,f]=(0,s.useState)(!1),h=(0,s.useRef)(null),m=(0,s.useRef)(null),g=(0,s.useRef)((()=>{}));(0,s.useLayoutEffect)((()=>{h.current&&(null==l||l(h.current))}),[l]);const v=(0,s.useCallback)((()=>{u&&d(!1)}),[u]);if(vB(m,v,h),(0,s.useLayoutEffect)((function(){(p||u)&&!o&&h.current&&m.current&&function(e,t){const{left:n,top:r,width:o}=e.getBoundingClientRect();t.style.left=`${n+o+4}px`,t.style.top=r-55+"px"}(h.current,m.current)}),[u,p,o]),0===t.length)return null;if(1===t.length){const e=t[0];return gi(OB,{ref:h,variant:"trigger",nested:!i,isFocused:a,...i&&{role:"menuitem"},onClick:()=>c(e.userId),children:e.display})}const y=()=>g.current(),b=(e,t)=>{y();const n=setTimeout((()=>f(e)),t);g.current=()=>clearTimeout(n)},w=o?u:p||u,x=()=>{o||b(!1,500)};return vi(mi,{children:[gi(OB,{ref:h,variant:"trigger",nested:!i,isFocused:a,...i&&{role:"menuitem","aria-haspopup":"dialog","aria-expanded":w},onClick:()=>{d((e=>!e)),o&&(y(),f(!1))},onMouseEnter:()=>{o||b(!0,75)},onMouseLeave:x,children:r}),w&&gi(wB,{ref:m,isMobile:o,topLevel:i,onMouseEnter:()=>{o||y()},onMouseLeave:x,children:t.map((e=>gi(OB,{variant:"flyoutItem",...i&&{role:"menuitem"},selected:e.userId===n,onClick:()=>c(e.userId),children:e.display},e.userId)))})]})}const _B=ji.styled.div({padding:"24px 8px 16px",textAlign:"center"});function PB(){const{t:e}=sw();return vi(_B,{children:[gi(tB,{variant:"bodyEmphasis",color:"primary",children:e("accountSwitch.noResultsFound")}),gi(tB,{color:"secondary",children:e("accountSwitch.trySearchingWithDifferentKeywords")})]})}function jB(){return jB=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jB.apply(this,arguments)}var TB=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",jB({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M21.8965 13.0586C21.8965 8.17729 17.9399 4.21989 13.0586 4.21973C8.17719 4.21973 4.21973 8.17719 4.21973 13.0586C4.21989 17.9399 8.17729 21.8965 13.0586 21.8965V24.3965L12.4746 24.3818C6.67695 24.0878 2.02817 19.4393 1.73438 13.6416L1.71973 13.0586C1.71973 6.79648 6.79648 1.71973 13.0586 1.71973L13.6416 1.73438C19.6326 2.03797 24.3965 6.99211 24.3965 13.0586L24.3818 13.6416C24.0782 19.6325 19.1249 24.3963 13.0586 24.3965V21.8965C17.9398 21.8963 21.8963 17.9398 21.8965 13.0586Z",fill:n}),(0,fi.jsx)("path",{d:"M20.1161 20.116C20.6043 19.6278 21.3955 19.6278 21.8837 20.116L29.8837 28.116C30.3718 28.6041 30.3718 29.3954 29.8837 29.8836C29.3955 30.3717 28.6043 30.3717 28.1161 29.8836L20.1161 21.8836C19.628 21.3954 19.628 20.6041 20.1161 20.116Z",fill:n})]}))})),IB=e=>{var{theme:t}=e,{semanticColors:n}=$i(t),r=Hi(t.semanticTokensV9,(()=>t.tokens));return{colors:{border:{initial:r((e=>e.colors.border.default),n.border.decorative),focus:r((e=>e.colors.border.focus),n.border.focus),error:r((e=>e.colors.border.critical),n.border.error),disabled:"transparent"},text:{initial:r((e=>e.colors.fg.primary),n.text.primary),placeholder:r((e=>e.colors.fg.tertiary),n.text.placeholder),disabled:r((e=>e.colors.fg.disabled),n.text.disabled)},background:{initial:r((e=>e.colors.bg.input.default),n.background.primary),hover:r((e=>kj({baseColor:e.colors.bg.input.default,tint:{color:e.colors.fg.primary,opacity:"lowHover"}})),n.background.field),disabled:r((e=>e.colors.bg.input.disabled),n.background.fieldDisabled),readOnly:r((e=>e.colors.bg.input.disabled),n.background.secondary)}},layout:{borderRadius:{default:r((e=>e.radii.md),t.radius.l)}}}};function LB(){return LB=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},LB.apply(this,arguments)}var NB=e=>{var{theme:t}=e;return{colors:{border:{initial:t.colors.grays[20],focus:t.colors.purples[70],error:t.colors.reds[50]},text:{initial:t.colors.grays[100],disabled:t.colors.grays[50]},placeholder:{initial:t.colors.grays[50]},background:{initial:t.colors.grays[5],hover:t.colors.white,disabled:t.colors.grays[10]}}}},RB=e=>{var t,n,r,o,i,{theme:a}=e,s=Yi({componentTheme:{colors:a.textInput.colors},defaultComponentTheme:NB({theme:a})}).colors,l=a.textInput,c=void 0!==(null==(n=l.layout)||null==(t=n.borderRadius)?void 0:t.default)?{layout:{borderRadius:l.layout.borderRadius}}:{};return zi(LB({colors:{border:null==s?void 0:s.border,text:{initial:null==s||null==(r=s.text)?void 0:r.initial,placeholder:null==s||null==(o=s.placeholder)?void 0:o.initial,disabled:null==s||null==(i=s.text)?void 0:i.disabled},background:null==s?void 0:s.background}},c))};function DB(){return DB=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DB.apply(this,arguments)}var FB=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),MB=e=>{var t,n,{theme:r}=e,o=r.textInput,i=FB(o,"layout")||FB(o,"borderRadius")?{layout:{borderRadius:Bi({componentTheme:o,tokenKey:"borderRadius",defaults:{default:r.radius.l},variantOverride:FB(o,"borderRadius")?{borderRadius:o.borderRadius}:void 0})}}:{};return zi(DB({colors:{border:FB(o,"border")?o.border:void 0,text:FB(o,"foreground")?{initial:null==(t=o.foreground)?void 0:t.initial,disabled:null==(n=o.foreground)?void 0:n.disabled}:void 0,background:FB(o,"background")?o.background:void 0}},i))},BB=e=>(e=>{var{theme:t}=e;return Ui({defaults:IB({theme:t}),legacyOverlay:RB({theme:t}),newFormatOverlay:MB({theme:t})})})({theme:e});function VB(){return VB=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},VB.apply(this,arguments)}var zB={small:32,medium:40,large:40},UB={small:30,medium:38,large:54},HB=new Set(["size","hasBefore","hasAfter","isErrored","joinedRight","joinedLeft","borderRadius"]),qB=(0,ji.styled)("div",{shouldForwardProp:e=>!HB.has(e)})((e=>{var{theme:t,isErrored:n,joinedRight:r,joinedLeft:o,borderRadius:i,hasBefore:a,hasAfter:s,size:l}=e,{colors:{border:c,background:u},layout:{borderRadius:d}}=BB(t),p=n?c.error:c.focus,f=n?c.error:c.disabled;return VB({display:"flex",alignItems:"center",position:"relative",gap:12,minHeight:zB[l],borderRadius:null!=i?i:d.default,border:"1px solid "+c.initial,background:u.initial,transition:"border-color .15s, box-shadow .15s, background .15s",paddingInlineStart:a?t.space.s:0,paddingInlineEnd:s?t.space.s:0},r&&{borderStartEndRadius:0,borderEndEndRadius:0,zIndex:t.zIndex.default},o&&{borderStartStartRadius:0,borderEndStartRadius:0,marginInlineStart:"-2px",zIndex:t.zIndex.default},{"&:hover":{background:u.hover}},n&&{borderColor:c.error,zIndex:t.zIndex.default+1},{"&:has(>input:read-only)":{zIndex:"auto"},"&:has(>input:focus-within)":{background:u.initial,borderColor:p,outline:"2px s
466olid "+p,outlineOffset:-2,position:"relative",zIndex:t.zIndex.default+2},"&&:has(>input:read-only)":{borderColor:"transparent",backgroundColor:u.readOnly},"&&:has(>input[disabled])":{backgroundColor:u.disabled,borderColor:f,zIndex:n?t.zIndex.default+1:"auto"}})})),WB=new Set(["inputSize","hasBefore","hasAfter"]),$B=(0,ji.styled)("input",{shouldForwardProp:e=>!WB.has(e)})((e=>{var{theme:t,inputSize:n,hasBefore:r,hasAfter:o}=e,i="large"===n,a=Hi(t.semanticTokensV9,(()=>t.tokens)),{colors:{text:s,background:l}}=BB(t);return VB({border:"none",background:"none",fontFamily:"inherit",fontSize:t.typography.body[100].fontSize,padding:"0",paddingTop:t.space.xs,paddingBottom:t.space.xs,paddingInlineStart:r?0:t.space.s,paddingInlineEnd:o?0:t.space.s,width:"100%",borderRadius:a((e=>e.radii.sm),"4px"),"&:focus":{outline:"none"},"&[type='search'],\n &[type='search']::-webkit-search-cancel-button,\n &[type='search']::-webkit-search-decoration":{appearance:"none",WebkitAppearance:"none"},"&[type='number'],\n &[type='number']::-webkit-outer-spin-button,\n &[type='number']::-webkit-inner-spin-button":{appearance:"none",WebkitAppearance:"none",MozAppearance:"textfield"},color:s.initial},i&&t.typography.headline[100],{height:UB[n],flexGrow:1,"&::placeholder":VB({},i&&t.typography.headline[100],{color:s.placeholder}),"&:read-only":{backgroundColor:l.readOnly},"&:disabled":{color:s.disabled,cursor:"not-allowed"}})}));function GB(){return GB=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GB.apply(this,arguments)}var KB={MEDIUM:"medium",LARGE:"large"},ZB=(0,s.forwardRef)(((e,t)=>{var n=[e,t],[r,...o]=n,{isErrored:i,after:a,before:l,type:c="text",className:u,joinedRight:d,joinedLeft:p,borderRadius:f,variant:h,size:m}=r,g=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(r,["isErrored","after","before","type","className","joinedRight","joinedLeft","borderRadius","variant","size"]),[v]=o,y=null!=m?m:KB[null!=h?h:"MEDIUM"];YM()(void 0!==h,"[@airwallex/form-textinput TextInput] `variant` for sizing is deprecated; use `size`.");var b=(0,s.useRef)(null);return(0,s.useImperativeHandle)(v,(()=>b.current)),(0,s.useEffect)((()=>{var e=b.current,t=e=>{"number"===e.target.type&&e.preventDefault()};return e&&e.addEventListener("wheel",t),()=>{e&&e.removeEventListener("wheel",t)}}),[]),(0,fi.jsxs)(qB,{className:u,isErrored:i,joinedRight:d,joinedLeft:p,borderRadius:f,size:y,hasBefore:!!l,hasAfter:!!a,children:[l,(0,fi.jsx)($B,GB({hasAfter:!!a,hasBefore:!!l},g,{ref:b,type:c,inputSize:y})),a]})}));ZB.displayName="TextInput";var YB=n(67074),XB={de:{"field.requirement.optional":"(freiwillig)"},en:{"field.requirement.optional":"(optional)"},"en-US":{"field.requirement.optional":"(optional)"},"es-MX":{"field.requirement.optional":"(opcional)"},fr:{"field.requirement.optional":"(facultatif)"},ja:{"field.requirement.optional":"ï¼ä»»æï¼"},ko:{"field.requirement.optional":"(ì í ì¬í)"},pl:{"field.requirement.optional":"(opcjonalnie)"},"pt-BR":{"field.requirement.optional":"(opcional)"},tr:{"field.requirement.optional":"(isteÄe baÄlı)"},vi:{"field.requirement.optional":"(không bắt buá»c)"},zh:{"field.requirement.optional":"ï¼éå¡«ï¼"},th:{"field.requirement.optional":"(à¹à¸¡à¹à¸à¸±à¸à¸à¸±à¸)"},"zh-HK":{"field.requirement.optional":"ï¼é¸å¡«ï¼"}};function QB(e){var{label:t,requirementText:n,hasVisibleLabelAssociation:r}=e;if("string"==typeof t){if(!n)return t;if(t)return r?void 0:t+" "+n}}var JB=ji.styled.span((e=>{var{theme:t,isDisabled:n}=e,{semanticColors:r}=$i(t),o=Hi(t.semanticTokensV9,(()=>t.tokens));return{color:n?o((e=>e.colors.fg.disabled),r.text.disabled):o((e=>e.colors.fg.secondary),r.text.secondary)}})),eV=ji.styled.span((e=>{var{theme:t}=e,{semanticColors:n}=$i(t);return{display:"inline-block",lineHeight:0,color:Hi(t.semanticTokensV9,(()=>t.tokens))((e=>e.colors.fg.critical),n.text.error),"& > svg:first-of-type":{marginInlineEnd:t.space.xxs},"& > *":{verticalAlign:"middle"},"&& a, && button":{color:"inherit",textDecorationLine:"underline",textUnderlineOffset:"2px"},"&& a:active, && button:active, && a:focus-visible:active, && button:focus-visible:active":{color:"inherit"}}})),tV=ji.styled.div((e=>{var{theme:t}=e;return{display:"grid",gap:t.space.xxs}}));ji.styled.fieldset((e=>{var{theme:t}=e;return{display:"grid",border:"none",padding:"0px",margin:"0px",gap:t.space.xxs}})),ji.styled.div((e=>{var{theme:t}=e;return{display:"flex",alignItems:"center",gap:t.space.xs}})),ji.styled.span({marginInlineStart:"auto",fontVariantNumeric:"tabular-nums",whiteSpace:"nowrap"}),ji.styled.span({position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0});function nV(){return nV=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nV.apply(this,arguments)}var rV=e=>{var{requirementText:t}=e,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["requirementText"]),[r,o]=(e=>{var{id:t,name:n,hideLabel:r,label:o,labelClassname:i,disabled:a}=e;return[!r,{children:o,htmlFor:t||n,className:i,disabled:a,"data-test":(function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["id","name","hideLabel","label","labelClassname","disabled"])["data-test"]||t||n)+"-label"}]})(n);return r?(0,fi.jsxs)(tB,nV({as:"label",color:n.disabled?"disabled":"primary"},o,{children:[o.children,o.children&&t?(0,fi.jsxs)(fi.Fragment,{children:[" ",(0,fi.jsx)(JB,{isDisabled:n.disabled,children:t})]}):null]})):null};function oV(){return oV=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oV.apply(this,arguments)}var iV=e=>{var[t,n]=(e=>{var{hintClassname:t,hint:n,id:r,name:o,"data-test":i}=e;return[!!n,{id:(r||o)+"-hint",children:n,className:t,"data-test":(i||r||o)+"-hint"}]})(e);return t?(0,fi.jsx)(tB,oV({as:"span",variant:"hint",color:"secondary"},n,{children:n.children})):null};function aV(){return aV=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aV.apply(this,arguments)}var sV=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",aV({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M4.25 16C4.25 22.4893 9.51065 27.75 16 27.75C22.4893 27.75 27.75 22.4893 27.75 16C27.75 9.51065 22.4893 4.25 16 4.25C9.51065 4.25 4.25 9.51065 4.25 16ZM1.75 16C1.75 8.12994 8.12994 1.75 16 1.75C23.8701 1.75 30.25 8.12994 30.25 16C30.25 23.8701 23.8701 30.25 16 30.25C8.12994 30.25 1.75 23.8701 1.75 16Z",fill:n}),(0,fi.jsx)("path",{d:"M17.25 16.75C17.25 17.4404 16.6904 18 16 18C15.3096 18 14.75 17.4404 14.75 16.75L14.75 9.25C14.75 8.55964 15.3096 8 16 8C16.6904 8 17.25 8.55964 17.25 9.25L17.25 16.75Z",fill:n}),(0,fi.jsx)("path",{d:"M17.25 21.75C17.25 22.4404 16.6904 23 16 23C15.3096 23 14.75 22.4404 14.75 21.75V21.25C14.75 20.5596 15.3096 20 16 20C16.6904 20 17.25 20.5596 17.25 21.25V21.75Z",fill:n})]}))}));function lV(){return lV=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lV.apply(this,arguments)}var cV=e=>{var[t,n]=(e=>{var{id:t,name:n,isErrored:r,error:o,errorClassname:i,"data-test":a}=e;return[!(!r||!o),{id:(t||n)+"-error",children:o,className:i,"data-test":(a||t||n)+"-error"}]})(e);return t?(0,fi.jsxs)(eV,lV({},n,{"aria-live":"assertive",children:[(0,fi.jsx)(sV,{size:12,role:"img","aria-hidden":"true"}),(0,fi.jsx)(tB,{variant:"hint",as:"span",children:n.children})]})):null};function uV(){return uV=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uV.apply(this,arguments)}ji.styled.div((e=>{var{theme:t}=e;return{display:"grid",gridGap:t.space.xxs}}));var dV=ji.styled.div((e=>{var t,n,{theme:r}=e;return{lineHeight:0,flexShrink:0,color:Hi(r.semanticTokensV9,(()=>r.tokens))((e=>e.colors.fg.tertiary),null!=(t=null==(n=r.semanticColors)?void 0:n.icon.secondary)?t:r.colors.grays[50])}}));function pV(){return pV=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pV.apply(this,arguments)}ji.styled.span((e=>{var t,n,{theme:r}=e,o=Hi(r.semanticTokensV9,(()=>r.tokens)),i=r.typography.error[100].fontSize,a=o((e=>e.colors.fg.critical),null!=(t=null==(n=r.semanticColors)?void 0:n.text.error)?t:r.colors.reds[60]);return{display:"inline-block",lineHeight:0,"& > svg":{marginInlineEnd:r.space.xxs,verticalAlign:"middle",color:a,width:i,height:i},"& > span":{verticalAlign:"middle",color:a}}})),ji.styled.label((e=>{var{theme:t}=e;return uV({},t.typography.label[100],{lineHeight:"22px"})}));var fV=(0,s.forwardRef)(((e,t)=>{var{after:n,before:r,iconBefore:o,iconAfter:i,outerBefore:a,outerAfter:s,style:l,className:c,inputWrapperClassname:u,hideLabel:d,label:p,requirementIndicator:f}=e,h=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["after","before","iconBefore","iconAfter","outerBefore","outerAfter","style","className","inputWrapperClassname","hideLabel","label","requirementIndicator"]),{requirementText:m}=function(e){var{required:t,requirementIndicator:n}=e,{t:r}=(0,YB.B)(XB);return"optional"!==n||t?{requirementText:null}:{requirementText:r("field.requirement.optional")}}(e),g=((e,t)=>{var{id:n,name:r,isErrored:o,label:i,hideLabel:a,hint:s,error:l,inputClassname:c,"data-test":u}=e,{requirementText:d}=void 0===t?{}:t,p=n||r;return{name:r,isErrored:o,id:p,className:c,"aria-label":QB({label:i,requirementText:d,hasVisibleLabelAssociation:!a&&Boolean(p)}),"aria-describedby":s?p+"-hint":void 0,"aria-errormessage":o&&l?p+"-error":void 0,"aria-invalid":o?"true":void 0,"data-test":u||p}})(e,{requirementText:m});return(0,fi.jsxs)(tV,{style:l,className:c,children:[(0,fi.jsx)(rV,pV({},e,{requirementText:m})),(0,fi.jsxs)("div",{className:u,children:[a,(0,fi.jsx)(ZB,pV({},h,g,{ref:t,after:i?(0,fi.jsx)(dV,{children:i}):n,before:o?(0,fi.jsx)(dV,{children:o}):r})),s]}),(0,fi.jsx)(iV,pV({},e)),(0,fi.jsx)(cV,pV({},e))]})}));fV.displayName="TextField";const hV=(0,ji.styled)(fV)((e=>{let{theme:t}=e;return{paddingInline:8,paddingBottom:8,[t.breakpoints.breakpoint.s]:{paddingInline:16}}})),mV=(0,Pi.AH)({":has(>input:focus-within)":{outline:"none"}}),gV=(0,s.forwardRef)((function(e,t){let{value:n,onChange:r,onFocus:o,onBlur:i,onKeyDown:a}=e;return gi(hV,{ref:t,name:"search",size:"medium",autoComplete:"off",hideLabel:!0,iconBefore:gi(TB,{}),value:n,onChange:r,onFocus:o,onBlur:i,onKeyDown:e=>
466{n&&["ArrowLeft","ArrowRight"].includes(e.key)||null==a||a(e)},borderRadius:"4px",inputClassname:mV})})),vV=(0,s.forwardRef)((function(e,t){const{visible:n=!0,isSearchEnabled:r,filterText:o,onFilterTextChange:i,selectedItem:a,switchingTarget:l,isMobile:c,assistantViewLabel:u,selectedDelegatorId:d,treeView:p,onActivateItem:f,onSelectItem:h,onToggleExpanded:m}=e,{tree:g,isOpenNode:v,registerNodeElement:y,registerScrollElement:b,handleKeyDown:w,handleTreeShow:x,handleTreeFocus:k,handleTreeBlur:C,focusedNode:E,focusNode:S}=p;const O=(0,s.useRef)(null),A=(0,s.useRef)(null);return(0,s.useImperativeHandle)(t,(()=>({focus(){var e,t;r?null===(e=O.current)||void 0===e||e.focus():null===(t=A.current)||void 0===t||t.focus()}}))),(0,s.useLayoutEffect)((function(){n&&x()}),[n,x]),vi(mi,{children:[r&&gi(gV,{ref:O,value:o,onChange:i,onFocus:k,onBlur:C,onKeyDown:w}),gi(SI,{ref:b,tabIndex:-1,children:g.isEmpty?gi(PB,{}):gi("div",{ref:A,role:"tree",tabIndex:r?-1:0,onFocus:k,onBlur:C,onKeyDown:w,children:g.rootNodes.map((e=>{const t=e.value;if("assistant-view"===t.type)return null;const{id:n,expandable:r,isSwitching:i,selected:p,iconHighlight:g,expanded:b}=function(e,t){var n;return{id:e.id,expandable:aR(e).length>0,selected:e===a,iconHighlight:e===a||(null===(n=e.accounts)||void 0===n?void 0:n.includes(a)),expanded:v(t),isSwitching:(null==l?void 0:l.target.id)===e.id}}(t,e);return vi(s.Fragment,{children:[gi(gB,{item:t,isMobile:c,expandable:r,expanded:b,onToggleExpanded:()=>m(t,e),selected:p,isFocused:e===E,iconHighlight:g,loading:!!i,highlightSearchWord:o,onClick:()=>{S(e),f(t)},onRender:t=>y(e,t)}),r&&b&&"account"!==t.type&&e.childNodes.map((e=>function(e,t){const n=e.value;return"assistant-view"===n.type?gi(AB,{delegators:n.delegators,selectedDelegatorId:d,assistantViewLabel:u,isMobile:c,isFocused:e===E,onRender:t=>y(e,t),onSelect:e=>{h(t,e)}},n.id):"account"!==n.type?null:function(e,t,n){const r=!!l&&"parent"in l&&l.parent===t&&l.target===e,i=e===a;return gi(gB,{item:e,indentPx:40,isMobile:c,expandable:!1,highlightSearchWord:o,iconHighlight:i,loading:r,selected:i,isFocused:n===E,onClick:()=>{S(n),f(e,t)},onRender:e=>y(n,e)},e.id)}(n,t,e)}(e,t)))]},n)}))})})]})})),yV="airwallex_webapp_switch_context_intent";function bV(e){sessionStorage.setItem(yV,JSON.stringify(e))}function wV(){sessionStorage.removeItem(yV)}function xV(){const e=(0,Yh.useHistory)(),{fullyReinitialize:t}=Dx();return(0,s.useCallback)((async(n,r)=>{await Sw(function(e){return"parent"in e&&"org"===e.parent.type?{orgId:e.parent.id,accountId:e.target.id}:"org"===e.target.type?{orgId:e.target.id}:"account-group"===e.target.type?{accountGroupId:e.target.id}:{accountId:e.target.id}}(n)),"org"===n.target.type?bV("org"):"parent"in n&&"org"===n.parent.type?bV("account"):wV();try{const o=t({hideOrgNavForAccountGroup:"parent"in n&&"account-group"===n.parent.type&&n.isInAnOrg?{id:n.parent.id,name:n.parent.heading1}:null});e.push("/app",{redirectUrl:r}),await o}catch{requestAnimationFrame((()=>{window.location.reload()}))}}),[t,e])}function kV(e){return(0,s.useCallback)((t=>{var n;"keydown"===t.type&&(null===(n=e[t.key])||void 0===n||n.call(e,t))}),[e])}function CV(e){const{treeView:{tree:t,isRootNode:n,isOpenNode:r,isClosedNode:o,getPreviousVisibleNode:i,getNextVisibleNode:a,getLastVisibleNode:l,openNode:c,closeNode:u,isVisible:d},getSelectedNode:p,getDefaultFocusedNode:f,onAction:h}=e,{rootNodes:m}=t,g=(0,s.useRef)(new WeakMap),v=(0,s.useRef)(null),y=(0,s.useCallback)(((e,t)=>{g.current.set(e,t)}),[]),b=(0,s.useCallback)((e=>{v.current=e}),[]),[w,x]=(0,s.useState)(null),k=(0,s.useCallback)((e=>{x(e)}),[]),C=(0,s.useCallback)((e=>{"focus"===e.type&&x((()=>{if(f){const e=f(t);if(e&&d(e))return e}else if(p){const e=p(t);if(e&&d(e))return e}return m[0]??null}))}),[f,p,m,t,d]),E=(0,s.useCallback)((e=>{"blur"===e.type&&(e.currentTarget.contains(e.relatedTarget)||x(null))}),[]),S=(0,s.useRef)(d);S.current=d,(0,s.useEffect)((function(){x((()=>{if(f){const e=f(t);if(e)return e}else if(p){const e=p(t);if(e&&S.current(e))return e}return m[0]??null}))}),[t]);const O=(0,s.useCallback)((e=>{const t=g.current.get(e);t&&function(e,t){const n=t??EV(e);if(!n)return;const r=e.getBoundingClientRect(),o=n.getBoundingClientRect();r.top<o.top?n.scrollTop-=o.top-r.top:r.bottom>o.bottom&&(n.scrollTop+=r.bottom-o.bottom)}(t,v.current)}),[]),A=(0,s.useCallback)((()=>
466{if(w)O(w);else{const e=(()=>{if(f){const e=f(t);if(e&&d(e))return e}else if(p){const e=p(t);if(e&&d(e))return e}return m[0]??null})();x(e),O(e)}}),[w,f,p,d,m,O,t]);return{registerNodeElement:y,registerScrollElement:b,handleKeyDown:kV({ArrowRight(e){e.preventDefault(),w&&(o(w)?(c(w),O(w)):r(w)&&(x(w.firstChildNode),O(w.firstChildNode)))},ArrowLeft(e){e.preventDefault(),w&&(r(w)?(u(w),O(w)):n(w)||(x(w.parentNode),w.parentNode&&O(w.parentNode)))},ArrowDown(e){e.preventDefault();const t=w?a(w)??w:m[0];x(t),O(t)},ArrowUp(e){e.preventDefault();const t=w?i(w)??w:l();x(t),t&&O(t)},Enter(e){e.preventDefault(),w&&(null==h||h(w))}}),focusedNode:w,focusNode:k,handleTreeShow:A,handleTreeFocus:C,handleTreeBlur:E}}function EV(e){return e?e.scrollHeight>e.clientHeight?e:EV(e.parentElement):null}function SV(e){const{rootValues:t,getChildValues:n}=e,[r,o]=(0,s.useMemo)((function(){const e=new Map,r=[];for(const e of t){const t=o(e);if(r.length>0){const e=r[r.length-1];e.nextSiblingNode=t,t.previousSiblingNode=e}r.push(t)}return[r,e];function o(t){const r=new OV(t);for(const e of n(t))r.appendChild(o(e));return e.set(t,r),r}}),[t,n]),i=(0,s.useCallback)((e=>o.get(e)??null),[o]),a=(0,s.useCallback)((e=>{const t=[];return AV(r,(n=>{e(n)&&t.push(n)})),t}),[r]);return(0,s.useMemo)((()=>({rootNodes:r,getNodeByValue:i,filterNodes:a,isEmpty:0===r.length})),[r,i,a])}class OV{parentNode=null;childNodes=[];nextSiblingNode=null;previousSiblingNode=null;get firstChildNode(){return this.childNodes[0]??null}get lastChildNode(){return this.childNodes[this.childNodes.length-1]??null}constructor(e){this.value=e,this.childNodes=[]}appendChild(e){const t=this.lastChildNode;t&&(t.nextSiblingNode=e,e.previousSiblingNode=t),this.childNodes.push(e),e.parentNode=this}}function AV(e,t){for(const n of e)t(n),AV(n.childNodes,t)}function _V(e){const{rootValues:t,getChildValues:n,getDefaultOpenNodes:r,...o}=e,i=SV({rootValues:t,getChildValues:n}),{hasItem:a,addItem:l,removeItem:c,clear:u}=function(){const[e,t]=(0,s.useState)((()=>new Set(r?r(i):[])));return{hasItem:(0,s.useCallback)((t=>e.has(t)),[e]),addItem:(0,s.useCallback)((e=>{t((t=>new Set(t).add(e)))}),[]),removeItem:(0,s.useCallback)((e=>{t((t=>{const n=new Set(t);return n.delete(e),n}))}),[]),clear:(0,s.useCallback)((()=>{t(new Set)}),[])}}();(0,s.useEffect)((function(){u(),r&&r(i).forEach(l)}),[i]);const d=(0,s.useCallback)((e=>{a(e)?c(e):l(e)}),[c,l,a]),p=(0,s.useCallback)((e=>!e.parentNode),[]),f=(0,s.useCallback)((e=>e.childNodes.length>0&&a(e)),[a]),h=(0,s.useCallback)((e=>e.childNodes.length>0&&!a(e)),[a]),m=(0,s.useCallback)((e=>{if(f(e))return e.firstChildNode;const t=e.nextSiblingNode;if(t)return t;const n=e.parentNode;return n?n.nextSiblingNode:null}),[f]),g=(0,s.useCallback)((e=>{const t=e.previousSiblingNode;return t?f(t)?t.lastChildNode:t:e.parentNode}),[f]),v=(0,s.useCallback)((e=>{const t=e.lastChildNode;return t&&f(t)?v(t):t}),[f]),y=(0,s.useCallback)((()=>{const e=i.rootNodes.at(-1);return e?f(e)?v(e):e:null}),[i,f,v]),b=(0,s.useCallback)((e=>!!p(e)||b(e.parentNode)&&f(e.parentNode)),[p,f]),w={tree:i,isRootNode:p,isOpenNode:f,isClosedNode:h,getNextVisibleNode:m,getPreviousVisibleNode:g,getLastVisibleNode:y,toggleNode:d,openNode:l,closeNode:c,isVisible:b},x=CV({treeView:w,...o});return{...w,...x}}function PV(e,t){if("assistant-view"===e.type)return!1;const n=t.toLowerCase();return"account"===e.type?e.heading1.toLowerCase().includes(n)||!!e.heading2&&e.heading2.toLowerCase().includes(n):e.heading1.toLowerCase().includes(n)}const jV=(0,s.forwardRef)((function(e,t){const{data:n,accountIdToOrgMap:r,onCloseSwitcher:o,visible:i=!0}=e,a=sR({data:n}),[l,c]=Ry(),{t:u}=sw(),d=rR(),p=function(e){const t=Qh((e=>{var t,n;return{currentOrgId:null===(t=e.org.data)||void 0===t?void 0:t.id,currentAccountId:e.account.id,currentAccountGroupId:e.accountGroup.id,accountGroupViewId:null===(n=e.auth.accountGroupView)||void 0===n?void 0:n.id}}),Mh);return t.accountGroupViewId?e.filter((e=>"account-group"===e.type&&e.id===t.accountGroupViewId)):t.currentAccountGroupId?e.filter((e=>"account-group"===e.type&&e.id===t.currentAccountGroupId)):t.currentOrgId?e.filter((e=>"org"===e.type&&e.id===t.currentOrgId)):t.currentAccountId?e.filter((e=>"account-group"===e.type&&e.accounts.some((e=>e.id===t.currentAccountId)))):[]}(n),f=(0,lR.W6)(),{switchingTarget:h,onActivateItem:m,onSelectItem:g}=function(e){const{selectedItem:t,accountIdToOrgMap:n,onCloseSwitcher:r,currentDelegator:o,setDelegator:i,history:a}
466=e,l=Xh(),c=xV(),[u,d]=(0,s.useState)(!1),p=Qh((e=>e.auth.switchingTarget)),f=(0,s.useCallback)((async e=>{(null==e?void 0:e.userId)!==(null==o?void 0:o.userId)&&(d(!0),i(e),a.push("/app",e?{redirectUrl:"/app/expenses"}:void 0),d(!1)),r()}),[null==o?void 0:o.userId,a,r,i]),h=(0,s.useCallback)((async(e,t)=>{const n={target:e};l(Tw.setSwitchingTarget(n)),(null==t?void 0:t.userId)!==(null==o?void 0:o.userId)?(await c(n,"/app/expenses"),i(t)):await c(n),r(),l(Tw.setSwitchingTarget(null))}),[null==o?void 0:o.userId,l,r,i,c]),m=(0,s.useCallback)((async(e,n)=>{var r;if(Ko("account_switcher_select_item",{item_id:e.id,item_type:e.type,item_heading:e.heading1}),p||u)return;const i=n!==(null==o?void 0:o.userId)?null===(r=e.delegators)||void 0===r?void 0:r.find((e=>e.userId===n)):void 0,a=e===t,s=a||"account"!==e.type&&e.accounts.includes(t);("account-group"===e.type?a:s)?await f(i):await h(e,i)}),[null==o?void 0:o.userId,h,f,t,u,p]),g=(0,s.useCallback)((async(e,o)=>{if("assistant-view"!==e.type)if(o){if(!p)if(e===t)r();else{const t={parent:o,target:e,isInAnOrg:!!n.get(e.id)};Ko("account_switch_list_target",{item_id:e.id,item_type:e.type,item_heading:e.heading1,parent_id:o.id,is_in_an_org:!!n.get(e.id)}),l(Tw.setSwitchingTarget(t)),await c(t),r(),l(Tw.setSwitchingTarget(null))}}else await m(e,void 0)}),[n,l,r,m,t,c,p]);return{switchingTarget:p,onActivateItem:g,onSelectItem:m}}({selectedItem:a,accountIdToOrgMap:r,onCloseSwitcher:o,currentDelegator:l,setDelegator:c,history:f}),{treeView:v,isSearchEnabled:y,filterText:b,onFilterTextChange:w}=function(e){const{data:t,selectedItem:n,defaultExpandedItems:r,visible:o,onActivateItem:i}=e,a=r.map((e=>e.id)).join(","),l=(0,s.useCallback)((e=>{if(!n)return null;const r=e.getNodeByValue(n);if(r)return r;if("account"===n.type){const r=t.find((e=>("org"===e.type||"account-group"===e.type)&&e.accounts.includes(n)));return r?e.getNodeByValue(r):null}return null}),[t,n]),c=_V({rootValues:t,getChildValues:aR,getDefaultOpenNodes:e=>e.filterNodes((e=>"assistant-view"!==e.value.type&&r.includes(e.value))),getSelectedNode:l,onAction:e=>{var t;i(e.value,(null===(t=e.parentNode)||void 0===t?void 0:t.value)??void 0)}}),{isClosedNode:u,openNode:d,tree:p}=c;(0,s.useEffect)((function(){r.forEach((e=>{const t=p.getNodeByValue(e);t&&u(t)&&d(t)}))}),[a]);const{isSearchEnabled:f,filterText:h,setFilterText:m,filteredTreeView:g}=function(e,t){const n=(0,s.useMemo)((function(){return e.reduce(((e,t)=>{const n=aR(t).length;return e+(n>0?1+n:1)}),0)>=6}
466),[e]),[r,o]=(0,s.useState)(""),i=_V({rootValues:(0,s.useMemo)((()=>e.filter((e=>PV(e,r)||aR(e).some((e=>PV(e,r)))))),[e,r]),getChildValues:(0,s.useCallback)((e=>PV(e,r)?aR(e):aR(e).filter((e=>PV(e,r)))),[r]),getDefaultOpenNodes:e=>e.filterNodes((e=>e.childNodes.length>0)),getDefaultFocusedNode:e=>e.filterNodes((e=>PV(e.value,r)))[0],...t});return(0,s.useMemo)((()=>({isSearchEnabled:n,filterText:r,setFilterText:o,filteredTreeView:i})),[n,r,i])}(t,{getSelectedNode:l,onAction:e=>{var t;i(e.value,(null===(t=e.parentNode)||void 0===t?void 0:t.value)??void 0)}}),v=(0,s.useMemo)((()=>Ew()((e=>{Ko("account_switch_list_input",{text:e})}),1e3)),[]);return(0,s.useEffect)((function(){o||m("")}),[m,o]),(0,s.useEffect)((function(){return()=>{v.cancel()}}),[v]),{treeView:h?g:c,isSearchEnabled:f,filterText:h,onFilterTextChange:(0,s.useCallback)((e=>{const t=e.target.value;m(t),v(t)}),[v,m])}}({data:n,selectedItem:a,defaultExpandedItems:p,visible:i,onActivateItem:m}),{toggleNode:x}=v,k=(0,s.useCallback)(((e,t)=>{aR(e).length>0&&(Ko("org_account_list_toggle",{id:e.id,item_type:e.type,item_heading:e.heading1}),x(t))}),[x]);return gi(vV,{ref:t,visible:i,isSearchEnabled:y,filterText:b,onFilterTextChange:w,selectedItem:a,switchingTarget:h,isMobile:d,assistantViewLabel:u("assistantView"),selectedDelegatorId:null==l?void 0:l.userId,treeView:v,onActivateItem:m,onSelectItem:g,onToggleExpanded:k})})),TV=Es` 467 query fetchClientLegalEntities { 468 fetchClientLegalEntities { 469 clientLegalEntityId 470 businessName 471 countryCode 472 dc 473 } 474 } 475`;var IV=function(e){return e[e.NON_PBA=0]="NON_PBA",e[e.PBA_WITH_MASE_ENABLED=1]="PBA_WITH_MASE_ENABLED",e[e.PBA=2]="PBA",e}(IV||{});const LV=e=>{var t;const n=function(){const e=kb(),t=Qh((e=>e.accountGroup)),{enableMaseForSelectedPbaAccounts:n=!1,enableMaseForAccountGroupsContainingSelectedPbaAccounts:r=!1}=hn();return e?(0,jr.PU)()&&n||(0,jr.mg)()&&Ax(t).memberAccountSpaceIds.length&&r?IV.PBA_WITH_MASE_ENABLED:IV.PBA:IV.NON_PBA}(),r=ky(TV,{fetchPolicy:"network-only",skip:n!==IV.PBA_WITH_MASE_ENABLED}),o=Qh((e=>{var t;return null===(t=e.accountGroup)||void 0===t?void 0:t.id}));if(n===IV.NON_PBA){if(o){if(null==e?void 0:e.some((e=>e.viewerCanCreateAccounts)))return!0;if(Boolean(null==e?void 0:e.length))return!1}return!0}return n!==IV.PBA&&Boolean(null==r||null===(t=r.data)||void 0===t||null===(t=t.fetchClientLegalEntities)||void 0===t?void 0:t.length)},NV=Es` 476 query GetAccountSwitcherData { 477 orgs { 478 id 479 orgType 480 name 481 viewerCanCreateAccounts 482 isBusinessAccountsEnabled 483 accounts { 484 items { 485 id 486 nickname 487 kycStatus 488 enabled 489 clientLegalEntity { 490 name 491 englishName 492 country 493 } 494 } 495 } 496 } 497 498 viewer { 499 loginContexts(pageSize: 500) { 500 accounts { 501 id 502 nickname 503 kycStatus 504 enabled 505 clientLegalEntity { 506 name 507 englishName 508 country 509 } 510 roles { 511 id 512 } 513 } 514 accountGroups { 515 id 516 name 517 visibleMemberAccounts { 518 id 519 nickname 520 kycStatus 521 enabled 522 clientLegalEntity { 523 name 524 englishName 525 country 526 } 527 roles { 528 id 529 } 530 } 531 } 532 } 533 } 534 } 535`;function RV(e,t){return null===e.heading2&&null===t.heading2?0:null===e.heading2?1:null===t.heading2?-1:e.heading2.localeCompare(t.heading2)}function DV(e,t){return 0===RV(e,t)?e.heading1.localeCompare(t.heading1):RV(e,t)}function FV(e){return e.some((e=>{let{id:t}=e;return[mv,kv,gv,Cv].includes(t)}))}function MV(){var e,t,n,r,o,i,a,l,c,u,d;let{noCreation:p=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{t:f}=sw(),h=ky(NV),m=(g=h.data,(0,s.useMemo)((()=>{if(!g)return!1;const e=g.viewer.loginContexts.accountGroups;return 0!==e.length&&e.every((e=>e.visibleMemberAccounts.every((e=>g.orgs.some((t=>t.accounts.items.some((t=>
535t.id===e.id))))))))}),[g]));var g;const{delegators:v}=Ny(),y=Qh((e=>{var t;return null===(t=e.user.data)||void 0===t?void 0:t.user.id})),b=function(e,t,n){const{t:r}=sw(),o=Qh((e=>e.account)),i=Qh((e=>e.accountGroup)),a=Qh((e=>e.org.data));if(a){var s,l;const t=o.id?{type:"account",id:o.id,heading1:(null===(s=o.externalInfo)||void 0===s?void 0:s.nickName)??"",heading2:BV({clientLegalEntity:o.clientLegalEntity??null}),enabled:o.enabled??null,kycStatus:(null===(l=o.kycRecord)||void 0===l?void 0:l.status)??null}:null;return{type:"org",orgType:"SASE"===a.orgType?"SASE":"MA",id:a.id,heading1:a.name,heading2:r("navigation.organisation"),accounts:t?[{...t,...a.isBusinessAccountsEnabled?{hidden:!0}:{}}]:[],delegators:e.filter((e=>e.orgId===a.id&&e.userId!==n)),viewerCanCreateAccounts:a.viewerCanCreateAccounts,isBusinessAccountsEnabled:!!a.isBusinessAccountsEnabled}}if(i.id){var c,u;const e=o.id?{type:"account",id:o.id,heading1:(null===(c=o.externalInfo)||void 0===c?void 0:c.nickName)??"",heading2:BV({clientLegalEntity:o.clientLegalEntity??null}),enabled:o.enabled??null,kycStatus:(null===(u=o.kycRecord)||void 0===u?void 0:u.status)??null}:null;return{type:"account-group",id:i.id,heading1:i.name??"",heading2:t?`${r("navigation.accountGroup")} | ${r("accountSwitch.nAccounts",{count:e?1:0})}`:r("navigation.accountGroup"),accounts:t?[]:e?[e]:[]}}var d,p;return o.id?{type:"account",id:o.id,heading1:(null===(d=o.externalInfo)||void 0===d?void 0:d.nickName)??"",heading2:BV({clientLegalEntity:o.clientLegalEntity??null}),enabled:o.enabled??null,kycStatus:(null===(p=o.kycRecord)||void 0===p?void 0:p.status)??null}:null}(v,m,y),{spendCardsCardsMovedToOrg:w=!1}=hn(),x=Qh(Jv),k=(0,s.useMemo)((()=>{var e;const t=new Map;return null===(e=h.data)||void 0===e||e.orgs.forEach((e=>{e.accounts.items.forEach((n=>{t.set(n.id,e)}))})),t}),[null===(e=h.data)||void 0===e?void 0:e.orgs]),C=(0,s.useMemo)((()=>{var e;if(!(w||null!=x&&x.isBusinessAccountsEnabled))return new Set;const t=new Set;return null===(e=h.data)||void 0===e||e.viewer.loginContexts.accounts.forEach((e=>{var n;(n=e.roles).length>0&&n.every((e=>{let{id:t}=e;return t===vv}))&&t.add(e.id)})),t}),[null==x?void 0:x.isBusinessAccountsEnabled,w,null===(t=h.data)||void 0===t?void 0:t.viewer.loginContexts.accounts]),E=(0,s.useMemo)((()=>{var e,t,n;const r=[],o=[],i=[];null===(e=h.data)||void 0===e||e.orgs.forEach((e=>{r.push({type:"org",orgType:"SASE"===e.orgType?"SASE":"MA",id:e.id,heading1:e.name,heading2:f("navigation.organisation"),accounts:e.accounts.items.map((t=>({type:"account",id:t.id,heading1:t.nickname,heading2:BV(t),enabled:t.enabled,kycStatus:t.kycStatus,...e.isBusinessAccountsEnabled||C.has(t.id)?{hidden:!0}:{}}))).sort(DV),delegators:v.filter((t=>t.orgId===e.id&&t.userId!==y)),viewerCanCreateAccounts:e.viewerCanCreateAccounts,isBusinessAccountsEnabled:!!e.isBusinessAccountsEnabled})})),null===(t=h.data)||void 0===t||t.viewer.loginContexts.accountGroups.forEach((e=>{o.push({type:"account-group",id:e.id,heading1:e.name,heading2:m?`${f("navigation.accountGroup")} | ${f("accountSwitch.nAccounts",{count:e.visibleMemberAccounts.length})}`:f("navigation.accountGroup"),accounts:m?[]:e.visibleMemberAccounts.map((e=>({type:"account",id:e.id,heading1:e.nickname,heading2:BV(e),enabled:e.enabled,kycStatus:e.kycStatus}))).sort(DV)})})),null===(n=h.data)||void 0===n||n.viewer.loginContexts.accounts.forEach((e=>{k.get(e.id)||i.push({type:"account",id:e.id,heading1:e.nickname,heading2:BV(e),enabled:e.enabled,kycStatus:e.kycStatus})}));const a=[...r,...o,...i].sort(((e,t)=>function(e,t,n){const r=zV(e,n),o=zV(t,n);return r!==o?r-o:"account"===e.type&&"account"===t.type?DV(e,t):e.heading1.localeCompare(t.heading1)}(e,t,{treatAccountGroupAsNonExpandable:m})));return 0===a.length&&b?[b]:a}),[k,C,null===(n=h.data)||void 0===n?void 0:n.orgs,null===(r=h.data)||void 0===r?void 0:r.viewer.loginContexts.accountGroups,null===(o=h.data)||void 0===o?void 0:o.viewer.loginContexts.accounts,v,f,y,m,b]),S=function(e){const t=Qh((e=>e.org.data)),n=LV(e);return t?t.viewerCanCreateAccounts:n}(null===(i=h.data)||void 0===i?void 0:i.orgs)&&!p,O=function(e,t){const{pffSunsetAccountGroupCreation:n=!1}=hn(),r=Qh((e=>{var t,n;return!(null===(t=e.user.data)||void 0===t||!t.roles||!FV(null===(n=e.user.data)||void 0===n?void 0:n.roles))})),o=(0,s.useMemo)((()=>{const n=new Set;return null==e||e.forEach((e=>
535{e.visibleMemberAccounts.forEach((e=>{"SUCCESS"===e.kycStatus&&FV(e.roles)&&n.add(e.id)}))})),null==t||t.forEach((e=>{"SUCCESS"===e.kycStatus&&FV(e.roles)&&n.add(e.id)})),n.size>=2}),[e,t]);return!n&&r&&o}(null===(a=h.data)||void 0===a?void 0:a.viewer.loginContexts.accountGroups,null===(l=h.data)||void 0===l?void 0:l.viewer.loginContexts.accounts)&&!p,A=("org"===(null===(c=E[0])||void 0===c?void 0:c.type)&&"SASE"!==(null===(u=E[0])||void 0===u?void 0:u.orgType)||"account-group"===(null===(d=E[0])||void 0===d?void 0:d.type))&&oR(E[0]).length>0,_=E.length>1||A||S||O||function(e){return e.some((e=>{var t;return((null===(t=e.delegators)||void 0===t?void 0:t.length)??0)>0}))}(E);return Ur("awx:update-login-context",(()=>{h.refetch()})),Ur("awx:update-account-nickname",(()=>{h.refetch()})),Ur("awx:update-account-group-nickname",(()=>{h.refetch()})),Ur("awx:update-org-name",(()=>{h.refetch()})),Ur("awx:switch-context",(e=>{var t;const n=null===(t=h.data)||void 0===t?void 0:t.orgs.find((e=>e.id===(0,jr.I)()));null!=n&&n.accounts.items.some((t=>t.id===e.detail.accountId))&&async function(e){await Sw(e),requestAnimationFrame((()=>{window.location.href="/app"}))}({accountId:e.detail.accountId})})),{data:E,accountIdToOrgMap:k,canCreateAccount:S,canCreateAccountGroup:O,canOpenSwitcher:_,loading:h.loading,error:h.error,refetch:h.refetch}}function BV(e){var t,n,r,o;return null!==(t=e.clientLegalEntity)&&void 0!==t&&t.country&&!["CN","HK","TW"].includes(e.clientLegalEntity.country)?(null===(r=e.clientLegalEntity)||void 0===r?void 0:r.englishName)??(null===(o=e.clientLegalEntity)||void 0===o?void 0:o.name)??null:(null===(n=e.clientLegalEntity)||void 0===n?void 0:n.name)??null}var VV=function(e){return e[e.BusinessAccountOrgs=0]="BusinessAccountOrgs",e[e.ExpandableOrgs=1]="ExpandableOrgs",e[e.AccountGroups=2]="AccountGroups",e[e.UnexpandableOrgs=3]="UnexpandableOrgs",e[e.UnexpandableAccountGroups=4]="UnexpandableAccountGroups",e[e.StandaloneAccounts=5]="StandaloneAccounts",e}(VV||{});function zV(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{treatAccountGroupAsNonExpandable:n=!1}=t;return"account"===e.type?VV.StandaloneAccounts:"account-group"===e.type?n?VV.UnexpandableAccountGroups:VV.AccountGroups:e.isBusinessAccountsEnabled?VV.BusinessAccountOrgs:"MA"===e.orgType&&oR(e).length>0?VV.ExpandableOrgs:VV.UnexpandableOrgs}const UV=(0,ji.styled)("div",{shouldForwardProp:e=>!["sandboxBannerHeight","isViewportPositioned"].includes(e)})((e=>{let{theme:t,sandboxBannerHeight:n,isViewportPositioned:r=!1}=e;const o=n??0,i=`calc(100dvh - 60px - 8px - ${o}px)`;return[{position:r?"fixed":"absolute",top:r?60:"calc(100% + 4px)",left:r?16:0,zIndex:9999,maxHeight:`calc(100vh - 60px - 8px - ${o}px)`,width:308,borderRadius:6,border:`1px solid ${t.colors.grays[20]}`,boxShadow:t.shadows.m,background:t.colors.white,color:t.semanticColors.text.primary,padding:8,...r&&{right:16,width:"unset"}},{maxHeight:i}]}));var HV={name:"1d3w5wq",styles:"width:100%"};const qV=(0,s.forwardRef)((function(e,t){let{sandboxBannerHeight:n,delegators:r,selectedDelegatorId:o,assistantViewLabel:i,backToPersonalViewLabel:a,isMobile:s,topLevel:l,onSelect:c,isViewportPositioned:u=!1,...d}=e;return vi(UV,{ref:t,role:"menu",sandboxBannerHeight:n,isViewportPositioned:u,...d,children:[gi(AB,{delegators:r,selectedDelegatorId:o,assistantViewLabel:i,isMobile:s,topLevel:l,onSelect:e=>c(e)}),gi(nL,{role:"menuitem",variant:"SECONDARY",css:HV,onClick:()=>c(),children:a})]})}));function WV(e,t,n){return r=e.filter((e=>e.orgId===t&&e.userId!==n)),o="userId",r.filter(((e,t,n)=>n.findIndex((t=>t[o]===e[o]))===t));var r,o}function $V(e,t,n){if(void 0===e||e===t)return{action:"clear"};const r=n.find((t=>t.userId===e));return r?{action:"set",delegator:r}:{action:"noop"}}const GV=(0,s.forwardRef)((function(e,t){let{onCloseSwitcher:n,sandboxBannerHeight:r,isViewportPositioned:o}=e;const{t:i}=sw(),a=rR(),l=Qh((e=>{var t;return null===(t=e.org.data)||void 0===t?void 0:t.id})),c=Qh((e=>{var t;return null===(t=e.user.data)||void 0===t?void 0:t.user.id})),{delegators:u}=Ny(),[d,p]=Ry(),f=(0,s.useMemo)((()=>WV(u,l,c)),[u,l,c]),h=(0,s.useCallback)((e=>{const t=$V(e,null==d?void 0:d.userId,u);"clear"===t.action?p(void 0):"set"===t.action&&p(t.delegator),n()}),[null==d?void 0:d.userId,u,n,p]);return gi(qV,{ref:t,delegators:f,selectedDelegatorId:null==d?void 0:d.userId,assistantViewLabel:i("assistantView"),backToPersonalViewLabel:i("backToPersonalView"),isMobile:a,topLevel:!0,sandboxBannerHe
535ight:r,isViewportPositioned:o,onSelect:h})}));function KV(){return KV=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KV.apply(this,arguments)}var ZV=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",KV({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M25.9996 14.7498C26.6899 14.7498 27.2493 15.3094 27.2495 15.9997C27.2495 16.69 26.69 17.2495 25.9996 17.2495L17.2499 17.2489L17.2499 25.9993C17.2499 26.6897 16.6904 27.2492 16 27.2492C15.3096 27.2492 14.7501 26.6897 14.7501 25.9993L14.7501 17.2489L6.00038 17.2495C5.31002 17.2495 4.75051 16.69 4.75051 15.9997C4.75066 15.3094 5.31011 14.7498 6.00038 14.7498L14.7501 14.7491V6.00006C14.7501 5.3097 15.3096 4.75019 16 4.75019C16.6904 4.75019 17.2499 5.3097 17.2499 6.00006V14.7491L25.9996 14.7498Z",fill:n})]}))}));function YV(){return YV=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YV.apply(this,arguments)}var XV=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",YV({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M5.00781 16.75C4.31747 16.75 3.75783 16.1904 3.75781 15.5C3.75781 14.8097 4.31746 14.25 5.00781 14.25L23.8164 14.25L19.1494 9.91604C18.6435 9.44629 18.6142 8.65533 19.084 8.14944C19.5537 7.64355 20.3447 7.61426 20.8506 8.08401L27.8506 14.584C28.1053 14.8205 28.25 15.1524 28.25 15.5C28.25 15.8476 28.1053 16.1795 27.8506 16.416L20.8506 22.916C20.3447 23.3858 19.5537 23.3565 19.084 22.8506C18.6142 22.3447 18.6435 21.5538 19.1494 21.084L23.8164 16.75L5.00781 16.75Z",fill:n})]}))}));const QV={width:"100%",display:"flex"},JV={...QV,"& > span":{width:"100%","& > *:last-child":{marginLeft:"auto"}}};function ez(e){let{isBusinessAccountsEnabled:t=!1,isChannelPartner:n=!1,...r}=e;const{t:o}=sw(),i=t&&n,a=o(i?"accountSwitch.addNewOrganisation":t?"accountSwitch.viewAndCreateAccounts":"accountSwitch.newAccount");return gi(nL,{css:t&&!i?JV:QV,iconBefore:i?ZV:jT,iconAfter:t&&!i?XV:void 0,...r,children:a})}const tz="/app/business-accounts/overview",nz="/app/business-accounts/introduction?settings=org";function rz(){let{onClick:e,isChannelPartner:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{data:n}=MV(),r=null==n?void 0:n.find((e=>"org"===e.type&&e.viewerCanCreateAccounts)),o=(0,jr.I)(),i=Qh(Jv),a=!(null==i||!i.isBusinessAccountsEnabled),l=a&&!(null!=i&&i.hasKycPassedEntity);return(0,s.useCallback)((n=>(null==e||e(n),a&&t?(Ko("account_switcher_add_new_organisation_click"),void window.history.pushState({},"","/app/kyc/entity/create?flow=CREATE_FOR_CHANNEL_PARTNER")):a?(Ko("account_switcher_view_and_create_accounts_click",{is_pre_kyc:l}),void window.history.pushState({},"",l?nz:tz)):void(o||!r?window.history.pushState({},"",o?"/app/uam/accounts/create?from=global":"/app/uam/accounts/create"):document.dispatchEvent(new CustomEvent("awx:switch-context-without-reload",{detail:{orgId:r.id,redirectUrl:{pathname:"/app/uam/accounts/create?from=global"}},bubbles:!1}))))),[a,t,l,e,o,r])}function oz(e){let{onClick:t,...n}=e;const r=Qh(Jv),o=!(null==r||!r.isBusinessAccountsEnabled),{partnerKey:i,isLoading:a}=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const[t,n]=(0,s.useState)({isLoading:e});return(0,s.useEffect)((()=>{if(!e)return void n({isLoading:!1});let t=!0;return n({isLoading:!0}),th.get("/v1/partnerships/user/partner_key").then((e=>{let{data:r}=e;t&&n({partnerKey:r.partnerKey,isLoading:!1})}
535)).catch((()=>{t&&n({isLoading:!1})})),()=>{t=!1}}),[e]),t}(o),l=!!i,c=rz({onClick:t}),u=rz({onClick:t,isChannelPartner:!0}),d=!o||!(null==r||!r.hasKycPassedEntity),p=o&&l;return a||!d&&!p?null:vi(mi,{children:[p&&gi(ez,{isBusinessAccountsEnabled:!0,isChannelPartner:!0,onClick:u,...n}),d&&gi(ez,{isBusinessAccountsEnabled:o,onClick:c,...n})]})}const iz={width:"100%",display:"flex"};function az(e){const{t}=sw();return gi(nL,{css:iz,iconBefore:GL,...e,children:t("accountSwitch.newAccountGroup")})}function sz(e){let{onClick:t,...n}=e;const r=function(e){return(0,s.useCallback)((t=>{null==e||e(t),window.history.pushState({},"","/app/uam/account-group/create")}),[e])}(t);return gi(az,{onClick:r,...n})}function lz(e){let{canCreateAccount:t,canCreateAccountGroup:n,onCloseSwitcher:r}=e;return t||n?vi(mi,{children:[t&&gi(oz,{onClick:r}),n&&gi(sz,{onClick:r})]}):null}function cz(e){let{viewType:t,close:n,toggle:r}=e;return{closeSwitcher:(0,s.useCallback)(((e,r)=>{Ko("account_switcher_panel_collapse",{source:e,view_type:t,...null!=r&&r.type?{type:r.type}:{}}),n()}),[n,t]),closeDrawer:(0,s.useCallback)((e=>{Ko("account_switcher_panel_collapse",{source:"mobile_drawer",type:e,view_type:"mobile"}),n()}),[n]),toggleOpen:(0,s.useCallback)(((e,t)=>{e.stopPropagation(),r(),t()}),[r])}}function uz(){let{closeOnEscape:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[t,n]=(0,s.useState)(!1),r=(0,s.useRef)(null),o=(0,s.useCallback)((()=>{n(!1)}),[]),i=(0,s.useCallback)((()=>{n((e=>!e))}),[]);vB(r,o);const a=kV({Escape:o});return(0,s.useEffect)((function(){if(e)return document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)}),[e,a]),{isOpen:t,close:o,toggle:i,popupRef:r}}const dz=ji.styled.div({position:"relative",width:"100%"}),pz=(0,ji.styled)("div",{shouldForwardProp:e=>!["anchorTop","anchorLeft","anchorWidth","anchorHeight"].includes(e)})((e=>{let{theme:t,anchorTop:n,anchorLeft:r,anchorWidth:o,anchorHeight:i}=e;return{position:"fixed",top:n,left:r,width:o,height:i,zIndex:t.zIndex.modal+1,pointerEvents:"none","& > *":{pointerEvents:"auto"}}})),fz=ji.styled.div((e=>{let{theme:t}=e;return{height:"1px",backgroundColor:t.colors.grays[20]}})),hz=ji.styled.div({padding:8}),mz=ji.styled.div({paddingTop:8,height:"100%",width:320,overflow:"hidden",display:"flex",flexDirection:"column"}),gz=(0,ji.styled)("div",{shouldForwardProp:e=>"open"!==e&&"sandboxBannerHeight"!==e})((e=>{let{theme:t,open:n,sandboxBannerHeight:r}=e;return[{position:"absolute",top:"calc(100% + 4px)",left:0,zIndex:t.zIndex.modal+1,maxHeight:`calc(100vh - 56px - 4px - 8px - ${r}px)`,display:n?"flex":"none",flexDirection:"column",borderRadius:6,border:`1px solid ${t.colors.grays[20]}`,boxShadow:t.shadows[300],background:t.colors.white,color:t.semanticColors.text.primary},{maxHeight:`calc(100dvh - 56px - 4px - 8px - ${r}px)`}]}));function vz(e){let{hasActionBar:t,actionBar:n}=e;return t&&n?vi(mi,{children:[gi(fz,{}),gi(hz,{children:n})]}):null}function yz(e){let{open:t,sandboxBannerHeight:n,popupRef:r,onPanelBlur:o,panelContent:i,hasActionBar:a,actionBar:s}=e;return vi(gz,{ref:r,role:"dialog",open:t,sandboxBannerHeight:n,onBlur:o,children:[gi(mz,{children:i}),gi(vz,{hasActionBar:a,actionBar:s})]})}function bz(e){let{trigger:t,...n}=e;const{isAssistantMode:r,sandboxBannerHeight:o=0,assistantMenu:i,...a}=n,l=(0,s.useRef)(null),[c,u]=(0,s.useState)(null);(0,s.useLayoutEffect)((()=>{const e=()=>{var e;const t=null===(e=l.current)||void 0===e?void 0:e.getBoundingClientRect();t&&u({top:t.top,left:t.left,width:t.width,height:t.height})};if(e(),!a.open)return;window.addEventListener("resize",e),window.addEventListener("scroll",e,!0);const t=l.current,n="undefined"!=typeof ResizeObserver&&t?new ResizeObserver(e):null;return t&&(null==n||n.observe(t)),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0),null==n||n.disconnect()}}),[a.open]);const d=r?a.open&&i:gi(yz,{...a,sandboxBannerHeight:o});return vi(dz,{ref:l,children:[t,c&&(0,la.createPortal)(gi(pz,{"data-test":"account-switcher-desktop-portal-anchor",anchorTop:c.top,anchorLeft:c.left,anchorWidth:c.width,anchorHeight:c.height,children:d}),document.body)]})}function wz(e){let{noCreation:t}=e;const{data:n,loading:r,canCreateAccount:o,canCreateAccountGroup:i,canOpenSwitcher:a,accountIdToOrgMap:l,refetch:c}=MV({noCreation:t}
535),u=!(!o&&!i),{sandboxBannerHeight:d}=Qx(),p=(0,s.useRef)(null),{isOpen:f,close:h,toggle:m,popupRef:g}=uz({closeOnEscape:!0}),{closeSwitcher:v,toggleOpen:y}=cz({viewType:"desktop",close:h,toggle:m}),{switcherListFocusRef:b,handlePanelBlur:w}=function(e){let{isOpen:t,buttonRef:n,popupRef:r}=e;const o=(0,s.useRef)(null),i=(0,s.useCallback)((e=>{var n;!e.currentTarget.contains(e.relatedTarget)&&t&&(null===(n=o.current)||void 0===n||n.focus())}),[t]);return(0,s.useEffect)((function(){var e;if(t)return null===(e=o.current)||void 0===e||e.focus(),function(){var e,t;null!==(e=r.current)&&void 0!==e&&e.contains(document.activeElement)&&(null===(t=n.current)||void 0===t||t.focus())}}),[n,t,r]),{switcherListFocusRef:o,handlePanelBlur:i}}({isOpen:f,buttonRef:p,popupRef:g}),[x]=Ry();return gi(bz,{open:f,isAssistantMode:!!x,sandboxBannerHeight:d,hasActionBar:u,popupRef:g,onPanelBlur:w,trigger:gi(eN,{ref:p,interactive:a,active:f,trackingViewType:"desktop",onClick:a?e=>y(e,c):void 0}),panelContent:r?gi(LN,{}):gi(jV,{ref:b,data:n,accountIdToOrgMap:l,onCloseSwitcher:()=>v("switcher_list"),visible:f}),actionBar:gi(lz,{canCreateAccount:!!o,canCreateAccountGroup:!!i,onCloseSwitcher:()=>v("action_bar")}),assistantMenu:gi(GV,{ref:g,sandboxBannerHeight:d,isViewportPositioned:!1,onCloseSwitcher:()=>v("assistant_mode_menu")})})}function xz(){const{icon:e}=JL();return gi(WL,{icon:e})}const kz=(e,t)=>{(0,s.useEffect)((()=>{function n(n){e.current&&!e.current.contains(n.target)&&t()}return document.addEventListener("click",n),()=>document.removeEventListener("click",n)}),[t,e])},Cz=(0,kI.A)("button",{target:"e2mx65f1"})({name:"ndp4v6",styles:"appearance:none;border:none;padding:0px;background:none;outline:none;width:100%;color:inherit;text-align:start"}),Ez={"&::-webkit-scrollbar":{WebkitAppearance:"none"},"&::-webkit-scrollbar:vertical":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{width:4,borderRadius:4,backgroundColor:"#A9A9AE",border:"2px solid transparent",backgroundClip:"padding-box"},"&::-webkit-scrollbar-track":{backgroundColor:"#fff"}},Sz=(0,kI.A)("div",{target:"e2mx65f0"})((e=>{let{theme:t}=e;return{...Ez,flexGrow:1,overflowY:"auto",overflowX:"hidden",overflow:"overlay",padding:"0px 8px 8px",[t.breakpoints.breakpoint.s]:{paddingInline:16,"&:first-child":{paddingTop:8}}}}),"");function Oz(){return Oz=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Oz.apply(this,arguments)}var Az=ji.styled.p((e=>{var{theme:t,variant:n}=e;return Oz({},n&&(0,ji.withFallback)(t).typography.headline[n],{margin:0})}));function _z(){return _z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_z.apply(this,arguments)}var Pz={100:"h1",200:"h2",300:"h3",400:"h4",500:"h5",600:"h6"},jz=(0,s.forwardRef)(((e,t)=>{var n=[e,t],[r,...o]=n,{variant:i="100",as:a=Pz[i]}=r,s=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(r,["variant","as"]),[l]=o;return(0,fi.jsx)(Az,_z({ref:l,variant:i,as:a},s))}));function Tz(){return Tz=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tz.apply(this,arguments)}jz.displayName="Headline1";var Iz=ji.styled.span((e=>{var{theme:t,variant:n="100"}=e;return Tz({},t.typography.hint[n],{margin:0})}));function Lz(){const[e,t]=(0,s.useState)(!1),{breakpoints:n}=(0,ji.useTheme)();return(0,s.useEffect)((()=>{const e=new nR(RN()((e=>{var r;const o=null==e||null===(r=e[0])||void 0===r||null===(r=r.contentRect)||void 0===r?void 0:r.width;o&&t(o<n.breakpointTokens.s)}),500));return e.observe(document.body),()=>{e.unobserve(document.body)}}),[n.breakpointTokens.s]),e}const Nz={account:lI,"account-group":GL,org:uI,assistant:ZL};function Rz(e){const{highlight:t,loading:n,type:r}=e,o=(0,ji.useTheme)(),i=Nz[r]||lI;return gi("div",{css:e=>({width:20,height:20,borderRadius:"50%",background:t?e.navigationV3.switcherV2.menuitem.selected.iconBackgroun
535d:e.navigationV3.switcherV2.menuitem.default.iconBackground,display:"flex",justifyContent:"center",alignItems:"center",flexShrink:0}),children:n?gi(ra,{square:10,show:!0,color:o.colors.white}):gi(i,{color:t?o.navigationV3.switcherV2.menuitem.selected.icon:o.navigationV3.switcherV2.menuitem.default.icon,size:10})})}var Dz={name:"1h52dri",styles:"overflow:hidden;text-overflow:ellipsis;white-space:nowrap"},Fz={name:"glqo7w",styles:"display:block;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap"},Mz={name:"jq47p9",styles:"flex:1 1 auto;margin-left:12px;overflow:hidden"},Bz={name:"158icaa",styles:"margin-left:4px"};function Vz(e){const{expandable:t,selected:n,expanded:r,onToggleExpanded:o,onClick:i,icon:a,heading1:l,heading2:c,tag:u,className:d,isFocused:p,highlightSearchWord:f,highlightHeading2:h=!1,onRender:m}=e,g=(0,s.useRef)(null);(0,s.useLayoutEffect)((()=>{g.current&&(null==m||m(g.current))}),[m]);const v=(0,ji.useTheme)(),[y,b]=(0,s.useState)(!1),w=(0,s.useRef)(null),x=(0,s.useRef)(null);(0,s.useLayoutEffect)((()=>{b(!!w.current&&w.current.scrollWidth>w.current.offsetWidth||!!x.current&&x.current.scrollWidth>x.current.offsetWidth)}));const k=Lz(),C=vi(mi,{children:[gi(jz,{ref:w,variant:"500",css:Dz,children:f?gi(rB(),{searchWords:[f],autoEscape:!0,textToHighlight:l,highlightStyle:{color:v.semanticColors.text.link,backgroundColor:v.semanticColors.background.selected,borderRadius:v.radius.s}}):l}),c&&gi(Iz,{ref:x,css:Fz,children:f&&h?gi(rB(),{searchWords:[f],autoEscape:!0,textToHighlight:c,highlightStyle:{color:v.semanticColors.text.link,backgroundColor:v.semanticColors.background.selected,borderRadius:v.radius.s}}):c})]}),E=gi(KM,{content:vi(mi,{children:[gi(tB,{variant:"bodyEmphasis",children:l}),gi(tB,{children:c})]}),position:"right",children:C});return vi(Cz,{ref:g,type:"button","aria-selected":n,css:e=>({height:48,padding:"4px 8px",display:"flex",alignItems:"center",borderRadius:6,cursor:"pointer",":hover":{background:e.semanticColors.background.secondary},...p?{background:e.semanticColors.background.secondary}:{"&[aria-selected='true']":{background:e.colors.grays[10]}}}),onClick:i,className:d,tabIndex:-1,children:[a,gi("div",{css:Mz,children:y&&!k?E:C}),u&&gi("div",{css:Bz,children:u}),t&&gi(Cz,{type:"button",tabIndex:-1,"aria-label":r?`Collapse ${l}`:`Expand ${l}`,css:e=>({marginLeft:4,padding:8,width:"auto",display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:6,cursor:"pointer",":hover":{background:e.colors.purples[20]}}),onClick:e=>{e.stopPropagation(),null==o||o()},children:gi(xI,{css:e=>({color:e.colors.purples[70],transform:r?"rotate(180deg)":"unset",transition:"transform 200ms ease"})})})]})}var zz={name:"1ll9bqd",styles:"cursor:default"};const Uz=eO(Cz)((e=>{let{theme:t}=e;return(0,$S.AH)("height:48px;border-radius:6px;padding:6px 8px 6px 6px;display:flex;align-items:center;gap:12px;background-color:",t.navigationV3.switcherV2.button.default.background,";--line1-color:",t.navigationV3.switcherV2.button.default.primaryText,";--line2-color:",t.navigationV3.switcherV2.button.default.secondaryText,";--icon-color:",t.navigationV3.switcherV2.button.default.icon,";","")}),(function(e){let{theme:t,interactive:n}=e;return n?(0,$S.AH)("cursor:pointer;&:hover,&:focus-visible{background-color:",t.navigationV3.switcherV2.button.hover.background,";}&:focus-visible{outline:2px solid white;outline-offset:-2px;}&:active,&[aria-expanded='true']{background-color:",t.navigationV3.switcherV2.button.active.background,";--line1-color:",t.navigationV3.switcherV2.button.active.primaryText,";--line2-color:",t.navigationV3.switcherV2.button.active.secondaryText,";--icon-color:",t.navigationV3.switcherV2.button.active.icon,";}",""):zz})),Hz=eO(_L)` 536 flex-grow: 1; 537`,qz=eO(PL)` 538 color: var(--line1-color); 539`,Wz=eO(jL)` 540 color: var(--line2-color); 541`,$z=c().forwardRef(((e,t)=>{let{interactive:n=!0,active:r=!1,...o}=e;const{line1:i,line2:a}=Zz();return vi(Uz,{ref:t,as:n?"button":"div",interactive:n,"aria-label":"Account switcher","aria-expanded":r,...o,children:[gi(Kz,{}),vi(Hz,{children:[gi(qz,{children:i}),a&&gi(Wz,{children:a})]}),n&&gi(LL,{style:{flexShrink:0,color:"var(--icon-color)"}})]})}));$z.displayName="AccountSwitcherButton";const Gz=$z;function Kz(){const{icon:e}
541=Zz();return gi(AL,{styleVariant:"filled-orange-gradient",children:gi(e,{size:12})})}function Zz(){var e,t;const n=Qh((e=>e.accountGroup)),r=Qh((e=>e.account)),o=Qh((e=>e.org.data)),[i]=Ry(),a=Qh((e=>e.auth.accountGroupView)),{t:s}=sw("translation",{keyPrefix:"navigation"});var l,c;return o?a?{icon:Nz[i?"assistant":"account"],line1:null===(l=r.externalInfo)||void 0===l?void 0:l.nickName,line2:[null===(c=r.accountDetails)||void 0===c||null===(c=c.businessDetails)||void 0===c?void 0:c.businessName,null==i?void 0:i.display].filter(Boolean).join(" · ")}:{icon:Nz[i?"assistant":"org"],line1:o.name,line2:[s("organisation"),null==i?void 0:i.display].filter(Boolean).join(" · ")}:n.id?{icon:Nz["account-group"],line1:n.name,line2:s("accountGroup")}:{icon:Nz.account,line1:null===(e=r.externalInfo)||void 0===e?void 0:e.nickName,line2:null===(t=r.accountDetails)||void 0===t||null===(t=t.businessDetails)||void 0===t?void 0:t.businessName}}const Yz=Es` 542 query GetAccountSwitcherData { 543 orgs { 544 id 545 orgType 546 name 547 viewerCanCreateAccounts 548 isBusinessAccountsEnabled 549 accounts { 550 items { 551 id 552 nickname 553 kycStatus 554 enabled 555 clientLegalEntity { 556 name 557 englishName 558 country 559 } 560 } 561 } 562 } 563 564 viewer { 565 loginContexts(pageSize: 500) { 566 accounts { 567 id 568 nickname 569 kycStatus 570 enabled 571 clientLegalEntity { 572 name 573 englishName 574 country 575 } 576 roles { 577 id 578 } 579 } 580 accountGroups { 581 id 582 name 583 visibleMemberAccounts { 584 id 585 nickname 586 kycStatus 587 enabled 588 clientLegalEntity { 589 name 590 englishName 591 country 592 } 593 roles { 594 id 595 } 596 } 597 } 598 } 599 } 600 } 601`;function Xz(e,t){return null===e.heading2&&null===t.heading2?0:null===e.heading2?1:null===t.heading2?-1:e.heading2.localeCompare(t.heading2)}function Qz(e,t){return 0===Xz(e,t)?e.heading1.localeCompare(t.heading1):Xz(e,t)}function Jz(e){return e.some((e=>{let{id:t}=e;return[mv,kv,gv,Cv].includes(t)}))}function eU(){var e,t,n,r,o,i,a,l,c,u,d;let{noCreation:p=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{t:f}=sw(),h=ky(Yz),m=(g=h.data,(0,s.useMemo)((()=>{if(!g)return!1;const e=g.viewer.loginContexts.accountGroups;return 0!==e.length&&e.every((e=>e.visibleMemberAccounts.every((e=>g.orgs.some((t=>t.accounts.items.some((t=>t.id===e.id))))))))}),[g]));var g;const{delegators:v}=Ny(),y=Qh((e=>{var t;return null===(t=e.user.data)||void 0===t?void 0:t.user.id})),b=function(e,t,n){const{t:r}=sw(),o=Qh((e=>e.account)),i=Qh((e=>e.accountGroup)),a=Qh((e=>e.org.data));if(a){var s,l;const t=o.id?{type:"account",id:o.id,heading1:(null===(s=o.externalInfo)||void 0===s?void 0:s.nickName)??"",heading2:tU({clientLegalEntity:o.clientLegalEntity??null}),enabled:o.enabled??null,kycStatus:(null===(l=o.kycRecord)||void 0===l?void 0:l.status)??null}:null;return{type:"org",orgType:"SASE"===a.orgType?"SASE":"MA",id:a.id,heading1:a.name,heading2:r("navigation.organisation"),accounts:t?[{...t,...a.isBusinessAccountsEnabled?{hidden:!0}:{}}]:[],delegators:e.filter((e=>e.orgId===a.id&&e.userId!==n)),viewerCanCreateAccounts:a.viewerCanCreateAccounts,isBusinessAccountsEnabled:!!a.isBusinessAccountsEnabled}}if(i.id){var c,u;const e=o.id?{type:"account",id:o.id,heading1:(null===(c=o.externalInfo)||void 0===c?void 0:c.nickName)??"",heading2:tU({clientLegalEntity:o.clientLegalEntity??null}),enabled:o.enabled??null,kycStatus:(null===(u=o.kycRecord)||void 0===u?void 0:u.status)??null}:null;return{type:"account-group",id:i.id,heading1:i.name??"",heading2:t?`${r("navigation.accountGroup")} | ${r("accountSwitch.nAccounts",{count:e?1:0})}`:r("navigation.accountGroup"),accounts:t?[]:e?[e]:[]}}var d,p;return o.id?{type:"account",id:o.id,heading1:(null===(d=o.externalInfo)||void 0===d?void 0:d.nickName)??"",heading2:tU({clientLegalEntity:o.clientLegalEntity??null}),enabled:o.enabled??null,kycStatus:(null===(p=o.kycRecord)||void 0===p?void 0:p.status)??null}:null}(v,m,y),{spendCardsCardsMovedToOrg:w=!1}=hn(),x=Qh(Jv),k=(0,s.useMemo)((()=>{var e;const t=new Map;
601return null===(e=h.data)||void 0===e||e.orgs.forEach((e=>{e.accounts.items.forEach((n=>{t.set(n.id,e)}))})),t}),[null===(e=h.data)||void 0===e?void 0:e.orgs]),C=(0,s.useMemo)((()=>{var e;if(!(w||null!=x&&x.isBusinessAccountsEnabled))return new Set;const t=new Set;return null===(e=h.data)||void 0===e||e.viewer.loginContexts.accounts.forEach((e=>{var n;(n=e.roles).length>0&&n.every((e=>{let{id:t}=e;return t===vv}))&&t.add(e.id)})),t}),[null==x?void 0:x.isBusinessAccountsEnabled,w,null===(t=h.data)||void 0===t?void 0:t.viewer.loginContexts.accounts]),E=(0,s.useMemo)((()=>{var e,t,n;const r=[],o=[],i=[];null===(e=h.data)||void 0===e||e.orgs.forEach((e=>{r.push({type:"org",orgType:"SASE"===e.orgType?"SASE":"MA",id:e.id,heading1:e.name,heading2:f("navigation.organisation"),accounts:e.accounts.items.map((t=>({type:"account",id:t.id,heading1:t.nickname,heading2:tU(t),enabled:t.enabled,kycStatus:t.kycStatus,...e.isBusinessAccountsEnabled||C.has(t.id)?{hidden:!0}:{}}))).sort(Qz),delegators:v.filter((t=>t.orgId===e.id&&t.userId!==y)),viewerCanCreateAccounts:e.viewerCanCreateAccounts,isBusinessAccountsEnabled:!!e.isBusinessAccountsEnabled})})),null===(t=h.data)||void 0===t||t.viewer.loginContexts.accountGroups.forEach((e=>{o.push({type:"account-group",id:e.id,heading1:e.name,heading2:m?`${f("navigation.accountGroup")} | ${f("accountSwitch.nAccounts",{count:e.visibleMemberAccounts.length})}`:f("navigation.accountGroup"),accounts:m?[]:e.visibleMemberAccounts.map((e=>({type:"account",id:e.id,heading1:e.nickname,heading2:tU(e),enabled:e.enabled,kycStatus:e.kycStatus}))).sort(Qz)})})),null===(n=h.data)||void 0===n||n.viewer.loginContexts.accounts.forEach((e=>{k.get(e.id)||i.push({type:"account",id:e.id,heading1:e.nickname,heading2:tU(e),enabled:e.enabled,kycStatus:e.kycStatus})}));const a=[...r,...o,...i].sort(((e,t)=>function(e,t,n){const r=rU(e,n),o=rU(t,n);return r!==o?r-o:"account"===e.type&&"account"===t.type?Qz(e,t):e.heading1.localeCompare(t.heading1)}(e,t,{treatAccountGroupAsNonExpandable:m})));return 0===a.length&&b?[b]:a}),[k,C,null===(n=h.data)||void 0===n?void 0:n.orgs,null===(r=h.data)||void 0===r?void 0:r.viewer.loginContexts.accountGroups,null===(o=h.data)||void 0===o?void 0:o.viewer.loginContexts.accounts,v,f,y,m,b]),S=function(e){const t=Qh((e=>e.org.data)),n=LV(e);return t?t.viewerCanCreateAccounts:n}(null===(i=h.data)||void 0===i?void 0:i.orgs)&&!p,O=function(e,t){const{pffSunsetAccountGroupCreation:n=!1}=hn(),r=Qh((e=>{var t,n;return!(null===(t=e.user.data)||void 0===t||!t.roles||!Jz(null===(n=e.user.data)||void 0===n?void 0:n.roles))})),o=(0,s.useMemo)((()=>{const n=new Set;return null==e||e.forEach((e=>{e.visibleMemberAccounts.forEach((e=>{"SUCCESS"===e.kycStatus&&Jz(e.roles)&&n.add(e.id)}))})),null==t||t.forEach((e=>{"SUCCESS"===e.kycStatus&&Jz(e.roles)&&n.add(e.id)})),n.size>=2}),[e,t]);return!n&&r&&o}(null===(a=h.data)||void 0===a?void 0:a.viewer.loginContexts.accountGroups,null===(l=h.data)||void 0===l?void 0:l.viewer.loginContexts.accounts)&&!p,A=("org"===(null===(c=E[0])||void 0===c?void 0:c.type)&&"SASE"!==(null===(u=E[0])||void 0===u?void 0:u.orgType)||"account-group"===(null===(d=E[0])||void 0===d?void 0:d.type))&&oU(E[0]).length>0,_=E.length>1||A||S||O||function(e){return e.some((e=>{var t;return((null===(t=e.delegators)||void 0===t?void 0:t.length)??0)>0}))}(E);return Ur("awx:update-login-context",(()=>{h.refetch()})),Ur("awx:update-account-nickname",(()=>{h.refetch()})),Ur("awx:update-account-group-nickname",(()=>{h.refetch()})),Ur("awx:update-org-name",(()=>{h.refetch()})),Ur("awx:switch-context",(e=>{var t;const n=null===(t=h.data)||void 0===t?void 0:t.orgs.find((e=>e.id===(0,jr.I)()));null!=n&&n.accounts.items.some((t=>t.id===e.detail.accountId))&&async function(e){await Sw(e),requestAnimationFrame((()=>{window.location.href="/app"}))}({accountId:e.detail.accountId})})),{data:E,accountIdToOrgMap:k,canCreateAccount:S,canCreateAccountGroup:O,canOpenSwitcher:_,loading:h.loading,error:h.error,refetch:h.refetch}}function tU(e){var t,n,r,o;return null!==(t=e.clientLegalEntity)&&void 0!==t&&t.country&&!["CN","HK","TW"].includes(e.clientLegalEntity.country)?(null===(r=e.clientLegalEntity)||void 0===r?void 0:r.englishName)??(null===(o=e.clientLegalEntity)||void 0===o?void 0:o.name)??null:(null===(n=e.clientLegalEntity)||void 0===n?void 0:n.name)??null}var nU=function(e){return e[e.BusinessAccountOrgs=0]="BusinessAccountOrgs",e[e.ExpandableOrgs=1]="ExpandableOrgs",e[e.AccountGroups=2]="AccountGroups",e[e.UnexpandableOrgs=3]="UnexpandableOrgs",e[e.UnexpandableAccountGroups=4]="UnexpandableAccountGroups",e[e.StandaloneAccounts=5]="StandaloneAccounts",e}(nU||{});function rU(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{treatAccountGroupAsNonExpandable:n=!1}=t;return"account"===e.type?nU.StandaloneAccounts:"account-group"===e.type?n?nU.UnexpandableAccountGroups:nU.AccountGroups:e.isBusinessAccountsEnabled?nU.BusinessAccountOrgs:"MA"===e.orgType&&oU(e).length>0?nU.ExpandableOrgs:nU.UnexpandableOrgs}function oU(e){return e.accounts.filter((e=>!e.hidden))}function iU(e){const t=e.delegators??[];return 0===t.length?[]:[{type:"assistant-view",id:`${e.id}:assistant-view`,parentId:e.id,delegators:t}]}function aU(e){return"account"===e.type||"assistant-view"===e.type?[]:"org"===e.type&&"SASE"===e.orgType?iU(e):[...iU(e),...oU(e)]}const sU={width:"100%",display:"flex"},lU={...sU,"& > span":{width:"100%","& > *:last-child":{marginLeft:"auto"}}},cU=e=>{var t;const{onClick:n,buttonText:r,...o}=e,{data:i}=eU(),a=null==i?void 0:i.find((e=>"org"===e.type&&e.viewerCanCreateAccounts)),s=(0,jr.I)(),l=!(null===(t=Qh(Jv))||void 0===t||!t.isBusinessAccountsEnabled);return gi(nL,{css:l?lU:sU,iconBefore:jT,iconAfter:l?XV:void 0,...o,onClick:e=>{null==n||n(e),l?window.history.pushState({},"","/app/business-accounts/overview"):!s&&a?document.dispatchEvent(new CustomEvent("awx:switch-context-without-reload",{detail:{orgId:null==a?void 0:a.id,redirectUrl:{pathname:"/app/uam/accounts/create?from=global"}},bubbles:!1})):window.history.pushState({},"",s?"/app/uam/accounts/create?from=global":"/app/uam/accounts/create")},children:r})},uU=e=>{const{onClick:t,buttonText:n,...r}=e;return gi(nL,{css:sU,iconBefore:GL,...r,onClick:e=>{null==t||t(e),window.history.pushState({},"","/app/uam/account-group/create")},children:n})},dU=ji.styled.div((e=>{let{theme:t}=e;return{height:"1px",backgroundColor:t.colors.grays[20]}}));var pU={name:"1tk8yx0",styles:"padding:8px"};function fU(e){var t;const{showCreateAccount:n,showCreateAccountGroup:r,onCloseSwitcher:o}=e,{t:i}=sw(),a=i(null!==(t=Qh(Jv))&&void 0!==t&&t.isBusinessAccountsEnabled?"accountSwitch.viewAndCreateAccounts":"accountSwitch.newAccount");return n||r?vi(mi,{children:[gi(dU,{}),vi("div",{css:pU,children:[n&&gi(cU,{buttonText:a,onClick:o}),r&&gi(uU,{buttonText:i("accountSwitch.newAccountGroup"),onClick:o})]})]}):null}var hU=function(){return hU=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},hU.apply(this,arguments)},mU=function(e){var t=e.animate,n=e.animateBegin,r=e.backgroundColor,o=e.backgroundOpacity,i=e.baseUrl,a=e.children,l=e.foregroundColor,c=e.foregroundOpacity,u=e.gradientRatio,d=e.gradientDirection,p=e.uniqueKey,f=e.interval,h=e.rtl,m=e.speed,g=e.style,v=e.title,y=e.beforeMask,b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["animate","animateBegin","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","gradientDirection","uniqueKey","interval","rtl","speed","style","title","beforeMask"]),w=p||Math.random().toString(36).substring(6),x=w+"-diff",k=w+"-animated-diff",C=w+"-aria",E=h?{transform:"scaleX(-1)"}:null,S="0; "+f+"; 1",O=m+"s",A="top-bottom"===d?"rotate(90)":void 0;return(0,s.createElement)("svg",hU({"aria-labelledby":C,role:"img",style:hU(hU({},g),E)},b),v?(0,s.createElement)("title",{id:C},v):null,y&&(0,s.isValidElement)(y)?y:null,(0,s.createElement)("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url("+i+"#"+x+")",style:{fill:"url("+i+"#"+k+")"}}),(0,s.createElement)("defs",null,(0,s.createElement)("clipPath",{id:x},a),(0,s.createElement)("linearGradient",{id:k,gradientTransform:A},(0,s.createElement)("stop",{offset:"0%",stopColor:r,stopOpacity:o},t&&(0,s.createElement)("animate",{attributeName:"offset",values:-u+"; "+-u+";
601 1",keyTimes:S,dur:O,repeatCount:"indefinite",begin:n})),(0,s.createElement)("stop",{offset:"50%",stopColor:l,stopOpacity:c},t&&(0,s.createElement)("animate",{attributeName:"offset",values:-u/2+"; "+-u/2+"; "+(1+u/2),keyTimes:S,dur:O,repeatCount:"indefinite",begin:n})),(0,s.createElement)("stop",{offset:"100%",stopColor:r,stopOpacity:o},t&&(0,s.createElement)("animate",{attributeName:"offset",values:"0; 0; "+(1+u),keyTimes:S,dur:O,repeatCount:"indefinite",begin:n})))))};mU.defaultProps={animate:!0,backgroundColor:"#f5f6f7",backgroundOpacity:1,baseUrl:"",foregroundColor:"#eee",foregroundOpacity:1,gradientRatio:2,gradientDirection:"left-right",id:null,interval:.25,rtl:!1,speed:1.2,style:{},title:"Loading...",beforeMask:null};var gU=function(e){return e.children?(0,s.createElement)(mU,hU({},e)):(0,s.createElement)(vU,hU({},e))},vU=function(e){return(0,s.createElement)(gU,hU({viewBox:"0 0 476 124"},e),(0,s.createElement)("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),(0,s.createElement)("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),(0,s.createElement)("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),(0,s.createElement)("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),(0,s.createElement)("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),(0,s.createElement)("circle",{cx:"20",cy:"20",r:"20"}))};const yU=gU,bU={x:8,y:14,rx:100,ry:100,width:20,height:20},wU={x:bU.x+bU.width+12,y:4,rx:2,ry:2,width:220,height:17.5},xU={x:wU.x,y:wU.y+wU.height+2,rx:wU.rx,ry:wU.ry,width:120,height:18};function kU(e){let{offsetX:t=0,offsetY:n=0}=e;return vi(mi,{children:[gi("rect",{...bU,x:bU.x+t,y:bU.y+n}),gi("rect",{...wU,x:wU.x+t,widths:wU.width-t,y:wU.y+n}),gi("rect",{...xU,x:xU.x+t,widths:xU.width-t,y:xU.y+n})]})}function CU(){const e=bU.height+24;return vi(yU,{display:"block",width:"100%",height:7*e,children:[gi(kU,{}),gi(kU,{offsetY:e}),gi(kU,{offsetX:24,offsetY:2*e}),gi(kU,{offsetX:24,offsetY:3*e}),gi(kU,{offsetY:4*e}),gi(kU,{offsetY:5*e}),gi(kU,{offsetY:6*e}),gi(kU,{offsetY:7*e})]})}function EU(e){let{status:t,...n}=e;const{t:r}=sw(),{suspended:o,kycStatus:i}=t,a=(0,s.useMemo)((()=>o?{variant:"DEFAULT",children:r("accountStatus.SUSPENDED")}:"INIT"===i||"SUBMITTED"===i||"FAILURE"===i?{variant:{INIT:"SECONDARY",SUBMITTED:"WARNING",FAILURE:"DEFAULT"}[i],children:r(`kycStatus.${i}`)}:null),[i,o,r]);return a?gi(Uj,{...a,...n}):null}const SU="airwallex_webapp_switch_context_intent";function OU(e){sessionStorage.setItem(SU,JSON.stringify(e))}var AU={name:"eeu0j5",styles:"padding:2px"};const _U=(0,s.forwardRef)(((e,t)=>{let{children:n,className:r,onClick:o,onMouseEnter:i,onMouseLeave:a,selected:s,...l}=e;const c=(0,ji.useTheme)();return vi(Cz,{ref:t,className:r,css:(0,$S.AH)({flex:1,height:36,padding:"4px 8px",display:"flex",alignItems:"center",gap:12,borderRadius:6,cursor:"pointer",background:s?c.semanticColors.background.selected:void 0,":hover":{background:s?c.colors.purples[30]:c.colors.purples[10]}},"",""),onClick:o,onMouseEnter:i,onMouseLeave:a,"aria-selected":s,...l,children:[gi(kB,{color:c.colors.purples[70],size:20,css:AU}),gi(tB,{variant:"bodyBold",color:"link",as:"span",children:n})]})}));_U.displayName="Row";var PU={name:"1vig0cx",styles:"padding:8px 16px"};const jU=e=>{let{delegators:t,onSelect:n,topLevel:r=!1}=e;const{t:o}
601=sw(),[i]=Ry(),a=Lz(),[l,c]=(0,s.useState)(!1),[u,d]=(0,s.useState)(!1),p=(0,s.useRef)(null),f=(0,s.useRef)(null),h=(0,s.useRef)((()=>{}));if(kz(f,(()=>l&&c(!1))),(0,s.useLayoutEffect)((function(){if((u||l)&&!a){var e;const t=null===(e=p.current)||void 0===e?void 0:e.getBoundingClientRect();t&&(f.current.style.left=t.left+t.width+8+4-8+"px")}}),[l,u,a]),0===t.length)return null;if(1===t.length){const e=t[0];return gi(_U,{...r&&{role:"menuitem"},css:(0,$S.AH)({marginBottom:8,height:38,paddingLeft:r?void 0:40},"",""),onClick:()=>n(e.userId),children:e.display})}return vi(mi,{children:[gi(_U,{ref:p,...r&&{role:"menuitem","aria-haspopup":"dialog","aria-expanded":u||l},css:(0,$S.AH)({marginBottom:8,height:38,paddingLeft:r?void 0:40},"",""),onClick:()=>c((e=>!e)),onMouseEnter:()=>{h.current();const e=setTimeout((()=>d(!0)),75);h.current=()=>clearTimeout(e)},onMouseLeave:()=>{h.current();const e=setTimeout((()=>d(!1)),500);h.current=()=>clearTimeout(e)},children:o("assistantView")}),(u||l)&&gi("div",{role:"dialog",css:e=>({position:"absolute",transform:a?void 0:"translate(0, -55px)",width:a?`calc(100% - ${r?16:32}px)`:void 0,zIndex:9999,maxHeight:198,display:"flex",flexDirection:"column",borderRadius:6,border:`1px solid ${e.colors.grays[20]}`,boxShadow:e.shadows[300],background:e.colors.white}),ref:f,onMouseEnter:()=>h.current(),onMouseLeave:()=>{h.current();const e=setTimeout((()=>d(!1)),500);h.current=()=>clearTimeout(e)},children:gi("div",{css:(0,$S.AH)({...Ez,height:"100%",overflowY:"auto",overflowX:"hidden",overflow:"overlay",padding:8,minWidth:140,width:a?"100%":"max-content","& > * + *":{marginTop:4}},"",""),children:t.map((e=>gi(_U,{...r&&{role:"menuitem"},selected:e.userId===(null==i?void 0:i.userId),onClick:()=>n(e.userId),css:PU,children:e.display},e.userId)))})})]})};function TU(e){const{treeView:{tree:t,isRootNode:n,isOpenNode:r,isClosedNode:o,getPreviousVisibleNode:i,getNextVisibleNode:a,getLastVisibleNode:l,openNode:c,closeNode:u,isVisible:d},getSelectedNode:p,getDefaultFocusedNode:f,onAction:h}=e,{rootNodes:m}=t,g=(0,s.useRef)(new WeakMap),v=(0,s.useCallback)(((e,t)=>{g.current.set(e,t)}),[]),[y,b]=(0,s.useState)(null),w=(0,s.useCallback)((e=>{"focus"===e.type&&b((()=>{if(f){const e=f(t);if(e&&d(e))return e}else if(p){const e=p(t);if(e&&d(e))return e}return m[0]??null}))}),[f,p,m,t,d]),x=(0,s.useCallback)((e=>{"blur"===e.type&&(e.currentTarget.contains(e.relatedTarget)||b(null))}),[]),k=(0,s.useRef)(d);k.current=d,(0,s.useEffect)((function(){b((()=>{if(f){const e=f(t);if(e)return e}else if(p){const e=p(t);if(e&&k.current(e))return e}return m[0]??null}))}),[t]);const C=(0,s.useCallback)((e=>{const t=g.current.get(e);t&&function(e){const t=IU(e);if(!t)return;const n=e.offsetTop-t.offsetTop,r=n+e.clientHeight,o=t.scrollTop,i=o+t.clientHeight;n<o?t.scrollTop-=o-n:r>i&&(t.scrollTop+=r-i)}(t)}),[]),E=(0,s.useCallback)((()=>{if(y)C(y);else{const e=(()=>{if(f){const e=f(t);if(e&&d(e))return e}else if(p){const e=p(t);if(e&&d(e))return e}return m[0]??null})();b(e),C(e)}}),[y,f,p,d,m,C,t]);return{registerNodeElement:v,handleKeyDown:kV({ArrowRight(e){e.preventDefault(),y&&(o(y)?(c(y),C(y)):r(y)&&(b(y.firstChildNode),C(y.firstChildNode)))},ArrowLeft(e){e.preventDefault(),y&&(r(y)?(u(y),C(y)):n(y)||(b(y.parentNode),y.parentNode&&C(y.parentNode)))},ArrowDown(e){e.preventDefault();const t=y?a(y)??y:m[0];b(t),C(t)},ArrowUp(e){e.preventDefault();const t=y?i(y)??y:l();b(t),t&&C(t)},Enter(e){e.preventDefault(),y&&(null==h||h(y))}}),focusedNode:y,handleTreeShow:E,handleTreeFocus:w,handleTreeBlur:x}}function IU(e){return e?e.scrollHeight>e.clientHeight?e:IU(e.parentElement):null}function LU(e){const{rootValues:t,getChildValues:n}=e,[r,o]=(0,s.useMemo)((function(){const e=new Map,r=[];for(const e of t){const t=o(e);if(r.length>0){const e=r[r.length-1];e.nextSiblingNode=t,t.previousSiblingNode=e}r.push(t)}return[r,e];function o(t){const r=new NU(t);for(const e of n(t))r.appendChild(o(e));return e.set(t,r),r}}),[t,n]),i=(0,s.useCallback)((e=>o.get(e)??null),[o]),a=(0,s.useCallback)((e=>{const t=[];return RU(r,(n=>{e(n)&&t.push(n)})),t}),[r]);return(0,s.useMemo)((()=>({rootNodes:r,getNodeByValue:i,filterNodes:a,isEmpty:0===r.length})),[r,i,a])}class NU{parentNode=null;childNodes=[];nextSiblingNode=null;previousSiblingNode=null;get firstChildNode(){return this.childNodes[0]??null}get lastChildNode(){return this.childNodes[this.childNodes.length-1]??null}constructor(e){this.value=e,this.childNodes=[]}appendChild(e){const t=this.lastChildNode;t&&(t.nextSiblingNode=e,e.previousSiblingNode=t),this.childNodes.push(e),e.parentNode=this}}function RU(e,t){for(const n of e)t(n),RU(n.childNodes,t)}function DU(e){const{rootValues:t,getChildValues:n,getDefaultOpenNodes:r,...o}=e,i=LU({rootValues:t,getChildValues:n}),{hasItem:a,addItem:l,removeItem:c,clear:u}
601=function(){const[e,t]=(0,s.useState)((()=>new Set(r?r(i):[])));return{hasItem:(0,s.useCallback)((t=>e.has(t)),[e]),addItem:(0,s.useCallback)((e=>{t((t=>new Set(t).add(e)))}),[]),removeItem:(0,s.useCallback)((e=>{t((t=>{const n=new Set(t);return n.delete(e),n}))}),[]),clear:(0,s.useCallback)((()=>{t(new Set)}),[])}}();(0,s.useEffect)((function(){u(),r&&r(i).forEach(l)}),[i]);const d=(0,s.useCallback)((e=>{a(e)?c(e):l(e)}),[c,l,a]),p=(0,s.useCallback)((e=>!e.parentNode),[]),f=(0,s.useCallback)((e=>e.childNodes.length>0&&a(e)),[a]),h=(0,s.useCallback)((e=>e.childNodes.length>0&&!a(e)),[a]),m=(0,s.useCallback)((e=>{if(f(e))return e.firstChildNode;const t=e.nextSiblingNode;if(t)return t;const n=e.parentNode;return n?n.nextSiblingNode:null}),[f]),g=(0,s.useCallback)((e=>{const t=e.previousSiblingNode;return t?f(t)?t.lastChildNode:t:e.parentNode}),[f]),v=(0,s.useCallback)((e=>{const t=e.lastChildNode;return t&&f(t)?v(t):t}),[f]),y=(0,s.useCallback)((()=>{const e=i.rootNodes.at(-1);return e?f(e)?v(e):e:null}),[i,f,v]),b=(0,s.useCallback)((e=>!!p(e)||b(e.parentNode)&&f(e.parentNode)),[p,f]),w={tree:i,isRootNode:p,isOpenNode:f,isClosedNode:h,getNextVisibleNode:m,getPreviousVisibleNode:g,getLastVisibleNode:y,toggleNode:d,openNode:l,closeNode:c,isVisible:b},x=TU({treeView:w,...o});return{...w,...x}}var FU={name:"1a5khcu",styles:"padding:24px 8px 16px;text-align:center"};function MU(){const{t:e}=sw();return vi("div",{css:FU,children:[gi(tB,{variant:"bodyEmphasis",color:"primary",children:e("accountSwitch.noResultsFound")}),gi(tB,{color:"secondary",children:e("accountSwitch.trySearchingWithDifferentKeywords")})]})}function BU(e,t){if("assistant-view"===e.type)return!1;const n=t.toLowerCase();return"account"===e.type?e.heading1.toLowerCase().includes(n)||!!e.heading2&&e.heading2.toLowerCase().includes(n):e.heading1.toLowerCase().includes(n)}var VU={name:"9qijlg",styles:"padding-left:40px"};const zU=(0,s.forwardRef)((function(e,t){const{data:n,accountIdToOrgMap:r,onCloseSwitcher:o,visible:i=!0}=e,a=Xh(),l=function(){const e=(0,Yh.useHistory)(),{fullyReinitialize:t}=Dx();return(0,s.useCallback)((async(n,r)=>{await Sw(function(e){return"parent"in e&&"org"===e.parent.type?{orgId:e.parent.id,accountId:e.target.id}:"org"===e.target.type?{orgId:e.target.id}:"account-group"===e.target.type?{accountGroupId:e.target.id}:{accountId:e.target.id}}(n)),"org"===n.target.type?OU("org"):"parent"in n&&"org"===n.parent.type?OU("account"):sessionStorage.removeItem(SU);try{const o=t({hideOrgNavForAccountGroup:"parent"in n&&"account-group"===n.parent.type&&n.isInAnOrg?{id:n.parent.id,name:n.parent.heading1}:null});e.push("/app",{redirectUrl:r}),await o}catch{requestAnimationFrame((()=>{window.location.reload()}))}}),[t,e])}(),c=function(e){let{data:t}=e;const n=Qh((e=>e.auth.accountGroupView)),r=Qh((e=>{var t;return null===(t=e.org.data)||void 0===t?void 0:t.id})),o=Qh((e=>e.accountGroup.id)),i=Qh((e=>e.account.id));return(0,s.useMemo)((()=>{if(!t)return null;if(r){if(i){if(n){const e=t.find((e=>"account-group"===e.type&&e.id===n.id));if(e)return e.accounts.find((e=>e.id===i))??null}const e=t.find((e=>"org"===e.type&&e.id===r));return"SASE"===(null==e?void 0:e.orgType)?e:(null==e?void 0:e.accounts.find((e=>e.id===i)))??null}return t.find((e=>"org"===e.type&&e.id===r))??null}return o?t.find((e=>"account-group"===e.type&&e.id===o))??null:i?t.find((e=>"account"===e.type&&e.id===i))??(null===(e=t.find((e=>"account-group"===e.type&&e.accounts.some((e=>e.id===i)))))||void 0===e?void 0:e.accounts.find((e=>e.id===i)))??null:null;var e}),[n,o,i,r,t])}({data:n}),[u,d]=Ry(),p=(0,lR.W6)(),[f,h]=(0,s.useState)(!1),m=function(e){const t=Qh((e=>{var t,n;return{currentOrgId:null===(t=e.org.data)||void 0===t?void 0:t.id,currentAccountId:e.account.id,currentAccountGroupId:e.accountGroup.id,accountGroupViewId:null===(n=e.auth.accountGroupView)||void 0===n?void 0:n.id}}),Mh);return(0,s.useMemo)((()=>t.accountGroupViewId?e.filter((e=>"account-group"===e.type&&e.id===t.accountGroupViewId)):t.currentAccountGroupId?e.filter((e=>"account-group"===e.type&&e.id===t.currentAccountGroupId)):t.currentOrgId?e.filter((e=>"org"===e.type&&e.id===t.currentOrgId)):t.currentAccountId?e.filter((e=>"account-group"===e.type&&e.accounts.some((e=>e.id===t.currentAccountId)))):[]),[e,t])}(n),g=(0,s.useCallback)((e=>{if(!c)return null;const t=e.getNodeByValue(c);if(t)return t;if("account"===c.type){const t=n.find((e=>("org"===e.type||"account-group"===e.type)&&e.accounts.includes(c)));return t?e.getNodeByValue(t):null}return null}),[n,c]),v=DU({rootValues:n,getChildValues:aU,getDefaultOpenNodes:e=>e.filterNodes((e=>"assistant-view"!==e.value.type&&m.includes(e.value))),getSelectedNode:g,onAction:e=>{var t;return F(e.value,(null===(t=e.parentNode)||void 0===t?void 0:t.value)??void 0)}}),{isSearchEnabled:y,filterText:b,setFilterText:w,filteredTreeView:x}=function(e,t){const n=(0,s.useMemo)((function(){return e.reduce(((e,t)=>{const n=aU(t).length;return e+(n>0?1+n:1)}),0)>=6}
601),[e]),[r,o]=(0,s.useState)(""),i=DU({rootValues:(0,s.useMemo)((()=>e.filter((e=>BU(e,r)||aU(e).some((e=>BU(e,r)))))),[e,r]),getChildValues:(0,s.useCallback)((e=>BU(e,r)?aU(e):aU(e).filter((e=>BU(e,r)))),[r]),getDefaultOpenNodes:e=>e.filterNodes((e=>e.childNodes.length>0)),getDefaultFocusedNode:e=>e.filterNodes((e=>BU(e.value,r)))[0],...t});return(0,s.useMemo)((()=>({isSearchEnabled:n,filterText:r,setFilterText:o,filteredTreeView:i})),[n,r,i])}(n,{getSelectedNode:g,onAction:e=>{var t;return F(e.value,(null===(t=e.parentNode)||void 0===t?void 0:t.value)??void 0)}}),k=(0,s.useMemo)((()=>Ew()((e=>{Ko("account_switch_list_input",{text:e})}),1e3)),[]),C=e=>{const t=e.target.value;w(t),k(t)};(0,s.useEffect)((function(){i||w("")}),[i]);const E=b?x:v,{tree:S,isOpenNode:O,toggleNode:A,registerNodeElement:_,handleKeyDown:P,handleTreeShow:j,handleTreeFocus:T,handleTreeBlur:I,focusedNode:L}=E;(0,s.useLayoutEffect)((function(){i&&j()}),[i]);const N=Qh((e=>e.auth.switchingTarget)),R=null==N?void 0:N.target.id,D=e=>{var t;const n=e.id,r=e.delegators??[],o=!!R&&R===n,i=aU(e).length>0,a=e===c||(null===(t=e.accounts)||void 0===t?void 0:t.includes(c)),s=e===c,l=S.getNodeByValue(e);return{id:n,delegators:r,isSwitching:o,expandable:i,iconHighlight:a,selected:s,expanded:!(!l||!O(l)),node:l}};async function F(e,t){if("assistant-view"!==e.type)if(t){if(N)return;if(e===c)o();else{const n={parent:t,target:e,isInAnOrg:!!r.get(e.id)};Ko("account_switch_list_target",{item_id:e.id,item_type:e.type,item_heading:e.heading1,parent_id:t.id,is_in_an_org:!!r.get(e.id)}),a(Tw.setSwitchingTarget(n)),await l(n),o(),a(Tw.setSwitchingTarget(null))}}else M(e,void 0)}const M=async(e,t)=>{var n;const{selected:r,iconHighlight:i}=D(e);if(Ko("account_switcher_select_item",{item_id:e.id,item_type:e.type,item_heading:e.heading1}),N||f)return;const s=t!==(null==u?void 0:u.userId)?null===(n=e.delegators)||void 0===n?void 0:n.find((e=>e.userId===t)):void 0;("account-group"===e.type?r:i)?await(async e=>{(null==e?void 0:e.userId)!==(null==u?void 0:u.userId)&&(h(!0),d(e),p.push("/app",e?{redirectUrl:"/app/expenses"}:void 0),h(!1)),o()})(s):await(async(e,t)=>{const{expandable:n,expanded:r,node:i}=D(e),s={target:e};a(Tw.setSwitchingTarget(s)),(null==t?void 0:t.userId)!==(null==u?void 0:u.userId)?(await l(s,"/app/expenses"),d(t)):await l(s),i&&n&&!r&&A(i),o(),a(Tw.setSwitchingTarget(null))})(e,s)},B=(0,s.useCallback)((e=>"account"===e.type?gi(EU,{status:{kycStatus:e.kycStatus??"",suspended:!e.enabled}}):"org"===e.type&&"SASE"===e.orgType&&e.accounts.length>0?gi(EU,{status:{kycStatus:e.accounts[0].kycStatus??"",suspended:!e.accounts[0].enabled}}):null),[]),V=(0,s.useCallback)(((e,t,n)=>{const r=!!N&&"parent"in N&&N.parent===t&&N.target===e,o=e===c;return gi(Vz,{css:VU,expandable:!1,tag:B(e),heading1:e.heading1,heading2:e.heading2,highlightSearchWord:b,highlightHeading2:!0,icon:gi(Rz,{type:"account",highlight:o,loading:r}),selected:o,isFocused:n===L,onClick:()=>F(e,t),onRender:e=>_(n,e)},e.id)}),[B,N,c,L,F,b,_]),z=(0,s.useCallback)(((e,t)=>{const n=e.value;return"assistant-view"===n.type?gi(jU,{delegators:n.delegators,onSelect:e=>M(t,e)},n.id):"account"!==n.type?null:V(n,t,e)}),[_,V,M]),U=(0,s.useRef)(null),H=(0,s.useRef)(null);return(0,s.useImperativeHandle)(t,(()=>({focus(){var e,t;y?null===(e=U.current)||void 0===e||e.focus():null===(t=H.current)||void 0===t||t.focus()}}))),vi(mi,{children:[y&&gi(Pi.Z2,{children:e=>{let{css:t}=e;return gi(fV,{ref:U,name:"search",autoComplete:"off",hideLabel:!0,iconBefore:gi(TB,{}),value:b,onChange:C,onFocus:T,onBlur:I,onKeyDown:e=>{b&&["ArrowLeft","ArrowRight"].includes(e.key)||P(e)},borderRadius:"4px",css:e=>({paddingInline:8,paddingBottom:8,[e.breakpoints.breakpoint.s]:{paddingInline:16}}),inputClassname:t({":has(>input:focus-within)":{outline:"none"}})})}}),gi(Sz,{tabIndex:-1,children:E.tree.isEmpty?gi(MU,{}):gi("div",{ref:H,role:"tree",tabIndex:y?-1:0,onFocus:T,onBlur:I,onKeyDown:P,children:E.tree.rootNodes.map((e=>{const t=e.value;if("assistant-view"===t.type)return null;const{id:n,expandable:r,isSwitching:o,selected:i,iconHighlight:a,expanded:s}=D(t);return vi(fi.Fragment,{children:[gi(Vz,{expandable:r,expanded:s,onToggleExpanded:()=>{r&&(Ko("org_account_list_toggle",{id:t.id,item_type:t.type,item_heading:t.heading1}),A(e))},selected:i,isFocused:e===L,icon:gi(Rz,{type:t.type,highlight:a,loading:o}),heading1:t.heading1,heading2:t.heading2,highlightHeading2:"account"===t.type,highlightSearchWord:b,tag:B(t),onClick:()=>F(t),onRender:t=>_(e,t)}),r&&s&&"account"!==t.type&&e.childNodes.map((e=>z(e,t)))]},n)}))})})]})}));var UU={name:"1d3w5wq",styles:"width:100%"};const HU=(0,s.forwardRef)(((e,t)=>{const{onCloseSwitcher:n,...r}=e,{t:o}=sw(),i=Qh((e=>{var t;return null===(t=e.org.data)||void 0===t?void 0:t.id})),a=Qh((e=>{var t;return null===(t=e.user.data)||void 0===t?void 0:t.user.id})),{delegators:l}=Ny(),[c,u]=Ry(),d=(0,s.useMemo)((()=>{return e=l.filter((e=>e.orgId===i&&e.userId!==a)),t="userId",e.filter(((e,n,r)=>r.findIndex((n=>n[t]===e[t]))===n));var e,t}),[l,i,a]);return vi(qU,{role:"menu",...r,ref:t,children:[gi(jU,{delegators:d,onSelect:e=>{if(e===(null==c?void 0:c.userId))u(void 0);else{const t=l.find((t=>t.userId===e));t&&u(t)}n()},topLevel:!0}),gi(nL,{role:"menuitem",variant:"SECONDARY",onClick:()=>{u(void 0),n()},css:UU,children:o("backToPersonalView")})]})}));HU.displayName="AssistantModeMenu";const qU=ji.styled.div((e=>
601{let{theme:t,sandboxBannerHeight:n}=e;return Pi.AH` 602 position: absolute; 603 top: ${60}px; 604 left: 8px; 605 z-index: 9999; 606 max-height: calc(100vh - 56px - 4px - 8px - ${n??0}px); 607 max-height: calc(100dvh - 56px - 4px - 8px - ${n??0}px); 608 width: 308px; 609 border-radius: 6px; 610 border: 1px solid ${t.colors.grays[20]}; 611 box-shadow: ${t.shadows.m}; 612 background: ${t.colors.white}; 613 padding: 8px; 614 615 ${t.breakpoints.breakpoint.s} { 616 left: 16px; 617 right: 16px; 618 top: 116px; 619 width: unset; 620 } 621 `}));var WU={name:"aakzud",styles:"padding-top:8px;height:100%;width:320px;overflow:hidden;display:flex;flex-direction:column"};function $U(e){var t,n;let{noCreation:r}=e;const{data:o,loading:i,canCreateAccount:a,canCreateAccountGroup:l,canOpenSwitcher:c,accountIdToOrgMap:u,refetch:d}=eU({noCreation:r}),{sandboxBannerHeight:p}=Qx(),[f,h]=(0,s.useState)(!1),m=(0,s.useRef)(null);kz(m,(()=>h(!1)));const g=kV({Escape:()=>h(!1)});(0,s.useEffect)((function(){return document.addEventListener("keydown",g),()=>document.removeEventListener("keydown",g)}),[g]);const v=(0,s.useRef)(null);(0,s.useEffect)((function(){if(f){var e;null===(e=v.current)||void 0===e||null===(e=e.parentElement)||void 0===e||e.scrollIntoView();const n=new Map;for(let e=null===(t=v.current)||void 0===t?void 0:t.parentElement;e;e=e.parentElement){var t;n.set(e,e.style.overflow),e.style.overflow="hidden"}return function(){n.forEach(((e,t)=>{t.style.overflow=e}))}}}),[f]);const y=(0,s.useRef)(null);(0,s.useEffect)((function(){var e;if(f)return null===(e=y.current)||void 0===e||e.focus(),function(){var e,t;null!==(e=m.current)&&void 0!==e&&e.contains(document.activeElement)&&(null===(t=v.current)||void 0===t||t.focus())}}),[f]);const[b]=Ry(),w=!!b;return vi(mi,{children:[gi(Gz,{ref:v,interactive:c,active:f,onClick:c?e=>{e.stopPropagation(),Ko("account_switcher_panel_"+(f?"collapse":"expand"),{view_type:"desktop"}),h(!f),d()}:void 0}),w?f&&(0,la.createPortal)(gi(HU,{ref:m,sandboxBannerHeight:p,onCloseSwitcher:()=>{Ko("account_switcher_panel_collapse",{source:"assistant_mode_menu",view_type:"desktop"}),h(!1)}}),(null===(t=v.current)||void 0===t?void 0:t.parentElement)??document.body):(0,la.createPortal)(vi("div",{role:"dialog",css:e=>Pi.AH` 622 position: absolute; 623 top: ${60}px; 624 left: 8px; 625 z-index: ${e.zIndex.modal+1}; // Dropdowns should be above dialogs 626 max-height: calc(100vh - 56px - 4px - 8px - ${p??0}px); 627 max-height: calc(100dvh - 56px - 4px - 8px - ${p??0}px); 628 display: flex; 629 flex-direction: column; 630 border-radius: 6px; 631 border: 1px solid ${e.colors.grays[20]}; 632 box-shadow: ${e.shadows[300]}; 633 background: ${e.colors.white}; 634 ${!f&&Pi.AH` 635 display: none; 636 `} 637 `,ref:m,onBlur:e=>{var t;e.currentTarget.contains(e.relatedTarget)||f&&(null===(t=y.current)||void 0===t||t.focus())},children:[gi("div",{css:WU,children:i?gi(CU,{}):gi(zU,{ref:y,data:o,accountIdToOrgMap:u,onCloseSwitcher:()=>{Ko("account_switcher_panel_collapse",{source:"switcher_list",view_type:"desktop"}),h(!1)},visible:f})}),gi(fU,{showCreateAccount:!!a,showCreateAccountGroup:!!l,onCloseSwitcher:()=>{Ko("account_switcher_panel_collapse",{source:"action_bar",view_type:"desktop"}),h(!1)}})]}),(null===(n=v.current)||void 0===n?void 0:n.parentElement)??document.body)]})}const GU=(0,ji.styled)(EL)((e=>{let{theme:t,navigationExpanded:n}=e;return Pi.AH` 638 padding-block: ${t.space.xs}; 639 padding-inline: ${n?8:4}px; 640 641 ${t.breakpoints.breakpoint.s} { 642 padding-block: 0; 643 margin-block-end: ${t.space.s}; 644 } 645 `}));var KU={name:"128tros",styles:"height:48px"};const ZU=c().forwardRef(((e,t)=>{let{navigationExpanded:n=!0,noCreation:r}=e;const[o]=Ry(),{pffAccountSwitcherRefactor:i=!1}=hn(),a=i?xz:Kz;return gi(GU,{ref:t,navigationExpanded:n,children:n?gi(i?wz:$U,{noCreation:r??!!o}):gi(SL,{css:KU,children:gi(a,{})})})}));ZU.displayName="NavigationHeader";const YU=e=>{let{error:t}=e;throw t},XU=e=>{let{federationConfig:t,containerProps:n,loading:r}=e;const{remote:o,module:i}
645=t,[a]=(0,s.useState)((()=>((()=>{var e;if(window.AWX_CONTAINER_PERFORMANCE_LOGGED)return;const t=(null===(e=window)||void 0===e||null===(e=e.performance)||void 0===e?void 0:e.getEntriesByName(jC))||[],n=null!=t&&t.length?t[t.length-1].startTime:void 0,r=window.performance.now();window.AWX_CONTAINER_PERFORMANCE_LOGGED=!0,zr.info("WEBAPP_CONTAINER_PERFORMANCE: LOAD MFE",{loadingTime:r,...n&&{FCP:n,duration:r-n},loadingMode:"MF"})})(),Jy({loader:()=>wb({producerName:o,exposedKey:i}),fallback:YU}))));return gi(a,{props:n,loading:r})};var QU=n(25451);function JU(){return vL(`(max-width: ${(0,ji.useTheme)().breakpoints.breakpointTokens.s}px)`)}function eH(){const{pffEnableNewAppShell:e=!1}=hn(),t=Qh(Jv);return e&&Boolean(null==t?void 0:t.isBusinessAccountsEnabled)}const tH=()=>{const[e,t]=(0,s.useState)(!1),[n,r]=(0,s.useState)(!0),o=aC({moduleFederationName:"finos_copilot_webapp"}),i=hn(),a=JU(),{initialized:l}=Dx(),c=eH(),{util:u,error:d}=function(e,t){const[n,r]=(0,s.useState)(),[o,i]=(0,s.useState)();return(0,s.useEffect)((()=>{let n=!1;return async function(){try{const o=await wb({producerName:e,exposedKey:t});!n&&o&&r(o)}catch(t){if(!n){const n=t instanceof Error?t:new Error(String(t));zr.error("Error loading remote utility:",{error:n,producerName:e}),i(n)}}}(),()=>{n=!0}}),[e,t]),{util:n,error:o}}("finos_copilot_webapp","./checkCopilotEligibility");return(0,s.useEffect)((()=>{if(d)return r(!1),void t(!1);null!=u&&u.checkCopilotEligibility&&l&&u.checkCopilotEligibility({flags:i,isMobile:a,containerProps:o,hasSupportForMobile:c}).then((e=>t(e))).catch((()=>t(!1))).finally((()=>r(!1)))}),[u,i,a,o,l,c]),{isEligible:e,isLoading:n,error:d}},nH=(0,s.createContext)(null);function rH(e){let{children:t}=e;const{isEligible:n,isLoading:r}=tH(),[o,i]=(0,s.useState)(!1),{isOpen:a}=(0,QU.Tq)(),l=!r&&n;(0,s.useEffect)((()=>{a||i(!1)}),[a]);const c=a?o?"openAsFullscreen":"openAsPanel":"closed",u=(0,s.useMemo)((()=>({shouldShowKai:l,kaiDisplayState:c,setKaiFullscreen:i})),[l,c]);return gi(nH.Provider,{value:u,children:t})}function oH(){return(0,s.useContext)(nH)}const iH=e=>{var t;return null===(t=e.account.kycRecord)||void 0===t?void 0:t.status},aH=e=>!!iH(e)&&"SUCCESS"!==iH(e);function sH(){return sH=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sH.apply(this,arguments)}var lH=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",sH({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M25.75 20.75V4.25H15.25V8.58789C15.25 9.27825 14.6904 9.83789 14 9.83789C13.3096 9.83789 12.75 9.27825 12.75 8.58789V4.25C12.75 2.8693 13.8693 1.75001 15.25 1.75H25.75C27.1307 1.75 28.25 2.86929 28.25 4.25V20.75C28.25 22.1307 27.1307 23.25 25.75 23.25H18.7275C18.0372 23.25 17.4775 22.6904 17.4775 22C17.4775 21.3096 18.0372 20.75 18.7275 20.75H25.75Z",fill:n}),(0,fi.jsx)("path",{d:"M6.25 11.25V27.75H16.75V11.25H6.25ZM19.25 27.75C19.25 29.1307 18.1307 30.25 16.75 30.25H6.25C4.86929 30.25 3.75 29.1307 3.75 27.75V11.25C3.75 9.86931 4.86932 8.75003 6.25 8.75H16.75C18.1307 8.75 19.25 9.86929 19.25 11.25V27.75Z",fill:n})]}))}));const cH=()=>{const e=kb(),t=!!Qh((e=>{var t,n;return null===(t=e.user)||void 0===t||null===(t=t.data)||void 0===t||null===(t=t.roles)||void 0===t||null===(n=t.some)||void 0===n?void 0:n.call(t,(e=>e.id===xv))})),n=Qh(aH);return!e&&!t&&n},uH=()=>{const e=(0,Yh.useLocation)(),t=Qh(oy),n=Qh((e=>{var t;return(null===(t=e.account.billingPreference)||void 0===t?void 0:t.enableBilling)??!1})),{t:r}=sw(),o="/app/account/statements",i=!!(0,Yh.matchPath)(e.pathname,{path:o}),a=Kr(t,"r:awx:system.accounts:*")&&n,s=cH();return a||s?{title:r("menu.statements"),icon:lH,href:o,active:i,disabledBeforeKycSuccess:!0,ga4:{name:"click_nav_item",params:{label:"statements"}}}:null};function dH(){return dH=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dH.apply(this,arguments)}var pH=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",dH({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M19.75 9C19.75 6.92893 18.0711 5.25 16 5.25C13.9289 5.25 12.25 6.92893 12.25 9C12.25 11.0711 13.9289 12.75 16 12.75C18.0711 12.75 19.75 11.0711 19.75 9ZM22.25 9C22.25 12.4518 19.4518 15.25 16 15.25C12.5482 15.25 9.75 12.4518 9.75 9C9.75 5.54822 12.5482 2.75 16 2.75C19.4518 2.75 22.25 5.54822 22.25 9Z",fill:n}),(0,fi.jsx)("path",{d:"M23.75 28V22.75C23.75 21.3693 22.6307 20.25 21.25 20.25H10.75C9.36929 20.25 8.25 21.3693 8.25 22.75V28C8.25 28.6904 7.69036 29.25 7 29.25C6.30964 29.25 5.75 28.6904 5.75 28V22.75C5.75 19.9886 7.98858 17.75 10.75 17.75H21.25C24.0114 17.75 26.25 19.9886 26.25 22.75V28C26.25 28.6904 25.6904 29.25 25 29.25C24.3
645096 29.25 23.75 28.6904 23.75 28Z",fill:n})]}))}));const fH={"menu.userManagement":"menu.users","menu.org.uam":"menu.org.users","menu.account.deepLinks.userManagement":"menu.account.deepLinks.users"},hH=e=>{const t=Qh(Jv);return(null==t?void 0:t.isBusinessAccountsEnabled)?fH[e]??e:e},mH=()=>{const e=(0,Yh.useLocation)(),t=Qh(oy),n=Qh((e=>{var t;return(null===(t=e.user.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.isTeamAdmin)??!1})),r=Qh((e=>{var t;return(null===(t=e.account)||void 0===t?void 0:t.enabled)??!1})),{t:o}=sw(),i=hH("menu.userManagement"),a=["/app1/uam","/app/uam"].some((t=>(0,Yh.matchPath)(e.pathname,{path:t})));return!(0,jr.I)()&&r&&(Kr(t,"r:awx:uam.users.*:*")||n)?{title:o(i),icon:pH,href:"/app/uam/users",active:a,ga4:{name:"click_nav_item",params:{label:"user-management"}}}:null},gH=Es` 646 query LoginContextQuery { 647 viewer { 648 loginContexts(pageSize: 500) { 649 accounts { 650 id 651 kycStatus 652 roles { 653 id 654 } 655 } 656 accountGroups { 657 visibleMemberAccounts { 658 id 659 kycStatus 660 roles { 661 id 662 } 663 } 664 } 665 } 666 } 667 } 668`;function vH(){const{enableAccountGroupForSelectedPbaAccount:e}=hn(),t=kb(),n=Qh((e=>{var t;return Kr((null===(t=e.user.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions)??[],"w:awx:system.groups.*:*")})),r=Qh(yH),o=(e=>{var t;const n=ky(gH,{skip:e,fetchPolicy:"cache-and-network"}),r=null===(t=n.data)||void 0===t?void 0:t.viewer.loginContexts;return e?null:void 0!==n.data?function(e){let t=0;for(const n of e)if("SUCCESS"===n.kycStatus&&n.roles.some((e=>{let{id:t}=e;return[mv,gv].includes(t)}))&&(t+=1),t>=2)return!0;return!1}((null==r?void 0:r.accounts.concat((null==r?void 0:r.accountGroups.map((e=>{let{visibleMemberAccounts:t}=e;return t})).flat())??[]))??[]):null})(t&&!e||!n);return(!t||e)&&n&&!(!r&&!o)}function yH(e){return!!e.account.joinedAccountGroup}const bH=e=>{let{userPermissions:t,account:n,flags:r}=e;const o=Vf(n);return!!t&&Kr(t,"w:awx:integration.developer.settings.*")&&(!o||r.enableConnectedAccountDeveloperCenter)},wH=e=>{let{userPermissions:t}=e;return!!t&&Kr(t,"r:org:integration.developer.settings.*")},xH=()=>{const e=(0,Yh.useLocation)(),t=hn(),n=Qh(oy),r=Qh((e=>e.account)),o=Qh((e=>e.org.data)),i=function(){const{t:e}=sw();return[{href:"/app/account/apiKeys",title:e("menu.developer.apiKeys"),description:"View and manage your API keys."},{href:"/app/developer/webhooks",title:e("menu.developer.webhooks"),description:"View and manage your webhooks."},{href:"/app/developer/webhooks/events",title:e("menu.developer.events"),description:"View and manage your events."}]}(),a="/app/developer",s=[a,"/app/account/apiKeys"].some((t=>(0,Yh.matchPath)(e.pathname,{path:t}))),l=bH({userPermissions:n,flags:t,account:r}),{t:c}=sw();return l&&!o?{title:c("menu.developer"),description:"View and manage your developer settings, including API keys, webhooks, and events.",icon:aI,href:a,active:s,disabledBeforeKycSuccess:!0,ga4:{name:"click_nav_item",params:{label:"developer"}},deepLinks:i}:null};function kH(){return kH=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kH.apply(this,arguments)}var CH=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",kH({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M23.75 13.75C25.1307 13.75 26.25 14.8693 26.25 16.25V25.75C26.25 27.1307 25.1307 28.25 23.75 28.25H8.25C6.86929 28.25 5.75 27.1307 5.75 25.75V16.25C5.75 14.8693 6.86929 13.75 8.25 13.75H23.75ZM8.25 25.75H23.75V16.25H8.25V25.75Z",fill:n}),(0,fi.jsx)("path",{d:"M20.75 9C20.75 6.37665 18.6234 4.25 16 4.25C13.3766 4.25 11.25 6.37665 11.25 9V14.5H8.75V9C8.75 4.99594
66811.9959 1.75 16 1.75C20.0041 1.75 23.25 4.99594 23.25 9V15H20.75V9Z",fill:n})]}))}));function EH(){return EH=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},EH.apply(this,arguments)}var SH=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",EH({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M16.5752 1.75C18.3447 1.75001 19.8992 2.94466 20.333 4.66406L20.5762 5.62891C20.8176 6.58522 21.801 7.1528 22.75 6.88379L23.7383 6.60449L24.0586 6.52734C25.6641 6.21505 27.3173 6.94207 28.1533 8.37695L28.7285 9.36426C29.6222 10.8982 29.3455 12.838 28.0644 14.0654L27.3643 14.7363C26.6453 15.4253 26.6453 16.5747 27.3643 17.2637L28.0644 17.9346C29.3455 19.162 29.6222 21.1018 28.7285 22.6357L28.1533 23.623C27.2616 25.1535 25.4399 25.8779 23.7383 25.3955L22.75 25.1162C21.801 24.8472 20.8176 25.4148 20.5762 26.3711L20.333 27.3359C19.8992 29.0553 18.3447 30.25 16.5752 30.25H15.4248C13.6553 30.25 12.1007 29.0553 11.667 27.3359L11.4238 26.3711C11.1824 25.4148 10.199 24.8472 9.24999 25.1162L8.26171 25.3955C6.56007 25.8779 4.73843 25.1535 3.84667 23.623L3.27148 22.6357C2.37777 21.1018 2.6545 19.162 3.93554 17.9346L4.63573 17.2637C5.3547 16.5747 5.35471 15.4253 4.63573 14.7363L3.93554 14.0654C2.6545 12.838 2.37777 10.8982 3.27148 9.36426L3.84667 8.37695C4.73843 6.84646 6.56007 6.12211 8.26171 6.60449L9.24999 6.88379C10.199 7.1528 11.1824 6.58524 11.4238 5.62891L11.667 4.66406C12.1008 2.94465 13.6553 1.75001 15.4248 1.75H16.5752ZM15.4248 4.25C14.7864 4.25001 14.242 4.67995 14.0918 5.27539L13.8476 6.24023C13.2616 8.563 10.8731 9.94232 8.56835 9.28906L7.58007 9.00879C6.96678 8.83493 6.31902 9.0999 6.00683 9.63574L5.43163 10.623C5.12153 11.1554 5.2152 11.8286 5.66503 12.2598L6.36523 12.9316C8.11119 14.6048 8.11118 17.3952 6.36523 19.0684L5.66503 19.7402C5.21519 20.1713 5.12154 20.8446 5.43163 21.377L6.00683 22.3643C6.31892 22.8999 6.96597 23.1647 7.57909 22.9912L8.56835 22.7109C10.8731 22.0577 13.2616 23.437 13.8476 25.7598L14.0918 26.7246C14.242 27.3201 14.7864 27.75 15.4248 27.75H16.5752C17.2135 27.75 17.758 27.3201 17.9082 26.7246L18.1523 25.7598C18.7384 23.437 21.1269 22.0577 23.4316 22.7109L24.4199 22.9912C25.0332 23.1651 25.681 22.9001 25.9932 22.3643L26.5684 21.377C26.8785 20.8446 26.7848 20.1714 26.335 19.7402L25.6348 19.0684C23.8888 17.3952 23.8888 14.6048 25.6348 12.9316L26.335 12.2598C26.7848 11.8287 26.8784 11.1554 26.5684 10.623L25.9932 9.63574C25.6811 9.10006 25.034 8.83526 24.4209 9.00879L23.4316 9.28906C21.1269 9.94231 18.7384 8.56299 18.1523 6.24023L17.9082 5.27539C17.758 4.67994 17.2135 4.25001 16.5752 4.25H15.4248Z",fill:n}),(0,fi.jsx)("path",{d:"M18.75 16C18.75 14.4812 17.5188 13.25 16 13.25C14.4812 13.25 13.25 14.4812 13.25 16C13.25 17.5188 14.4812 18.75 16 18.75C17.5188 18.75 18.75 17.5188 18.75 16ZM21.25 16C21.25 18.8995 18.8995 21.25 16 21.25C13.1005 21.25 10.75 18.8995 10.75 16C10.75 13.1005 13.1005 10.75 16 10.75C18.8995 10.75 21.25 13.1005 21.25 16Z",fill:n})]}))}));const OH=()=>{const e=(0,Yh.useLocation)(),t=Qh((e=>!!e.org.data)),n=Qh(oy),{t:r}=sw(),o=Kr(n,"r:awx:system.accounts:*")&&Kr(n,"w:awx:system.accounts.*"),i=["/app1/account/settings","/app/account/settings"].some((t=>(0,Yh.matchPath)(e.pathname,{path:t})));return o?{title:r(t?"menu.security":"menu.settings"),icon:t?CH:SH,href:"/app/account/settings",active:i,disabledBeforeKycSuccess:!0,ga4:{name:"click_nav_item",params:{label:t?"security":"settings"}}}:null},AH="w:org:expense_management.expense:admin",_H="w:awx:expense_management.expense:admin",PH="w:org:bill_pay.bill:admin",jH="w:awx:bill_pay.bill:admin",TH="w:org:expense_management.approvals:edit",IH="w:awx:expense_management.approvals:edit",LH="w:org:bill_pay.approvals:edit",NH="w:org:card_request.approvals:edit",RH="w:org:procurement.approvals:edit",DH="w:org:vendor.a
668pprovals:edit",FH=e=>!!e&&(Kr(e,_H)||Kr(e,AH)),MH=e=>{let{userPermissions:t,expensesAvailable:n,activated:r,expensesPricingAvailable:o}=e;return!(!n||!t)&&(!!FH(t)||o&&r)},BH=e=>{let{orgPermissions:t}=e;return!!t&&Kr(t,TH)},VH=e=>{let{orgPermissions:t}=e;return!!t&&Kr(t,LH)},zH=e=>{let{orgPermissions:t}=e;return!!t&&Kr(t,DH)},UH=e=>{let{orgPermissions:t}=e;return!!t&&Kr(t,NH)},HH=e=>{let{orgPermissions:t}=e;return!!t&&Kr(t,RH)};function qH(e){var t,n;return(0,jr.I)()&&e&&"OrgAuthContext"===(null===(t=e.authContext)||void 0===t?void 0:t.__typename)&&"org"in e.authContext?!!e.authContext.org.expensesPricingAvailable:!(!e||"AccountAuthContext"!==(null==e||null===(n=e.authContext)||void 0===n?void 0:n.__typename)||!("account"in e.authContext)||!e.authContext.account.expensesPricingAvailable)}const WH=()=>{const e=(0,Yh.useLocation)(),t=Qh((e=>{var t;return null===(t=e.user.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions})),{expenseConfig:n}=Dx(),r=!(null==n||!n.expensesAvailable),o=qH(n),i=cH(),{t:a}=sw(),s=(e=>{let{userPermissions:t,expensesAvailable:n}=e;return!(!t||!n)&&!!(r=t)&&(Kr(r,IH)||Kr(r,TH));var r})({userPermissions:t,expensesAvailable:r,expensesPricingAvailable:o}),l="/app/spend/approvals",c=(0,jr.I)();return!c&&(!c&&s||i)?{title:a("menu.approvals"),icon:sI,href:l,active:(()=>{const t=[l].some((t=>(0,Yh.matchPath)(e.pathname,{path:t})));return!(0,Yh.matchPath)(e.pathname,{path:"/app/approvals/transfers"})&&!!t&&!c})(),disabledBeforeKycSuccess:!0,ga4:{name:"click_nav_item",params:{label:"approvals"}}}:null};function $H(){return $H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$H.apply(this,arguments)}var GH=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",$H({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M7.11597 14.6512L8.71593 13.0513C9.20409 12.5631 9.99555 12.5631 10.4837 13.0513C10.9719 13.5394 10.9719 14.3309 10.4837 14.819L8.88373 16.419C7.16284 18.14 7.16347 20.9301 8.88442 22.6511C10.6054 24.3718 13.3949 24.3719 15.1158 22.6511L16.7158 21.0511C17.2039 20.563 17.9954 20.5631 18.4835 21.0511C18.9717 21.5392 18.9717 22.3307 18.4835 22.8189L16.8836 24.4188C14.1864 27.116 9.81395 27.1158 7.11666 24.4188C4.41939 21.7216 4.41876 17.3485 7.11597 14.6512ZM21.5157 16.2512L23.1156 14.6512C24.8365 12.9303 24.8371 10.1402 23.1163 8.41916C21.3953 6.69817 18.6046 6.69817 16.8836 8.41916L15.2836 10.0191C14.7954 10.5071 14.0039 10.5072 13.5158 10.0191C13.0278 9.53104 13.0279 8.73953 13.5158 8.25136L15.1158 6.65139C17.8131 3.95409 22.1868 3.95409 24.8841 6.65139C27.5811 9.34871 27.5806 13.7218 24.8834 16.419L23.2834 18.019C22.7953 18.5069 22.0038 18.507 21.5157 18.019C21.0278 17.5309 21.0278 16.7393 21.5157 16.2512Z",fill:n}),(0,fi.jsx)("path",{d:"M11.1162 18.651L19.1161 10.6511C19.6042 10.163 20.3957 10.163 20.8838 10.6511C21.372 11.1393 21.372 11.9307 20.8838 12.4189L12.884 20.4187C12.3958 20.9069 11.6044 20.9069 11.1162 20.4187C10.6281 19.9306 10.6281 19.1391 11.1162 18.651Z",fill:n})]}))}));function KH(){return!!Qh((e=>{var t,n;return null===(t=e.user)||void 0===t||null===(t=t.data)||void 0===t||null===(t=t.roles)||void 0===t||null===(n=t.some)||void 0===n?void 0:n.call(t,(e=>e.id===xv))}))}const ZH="/app",YH="/integrations",XH=`${ZH}${YH}/home`,QH=()=>{const e=(0,Yh.useLocation)(),t=Qh(oy),n=Qh((e=>e.account)),{t:r}=sw(),o=e.pathname.includes("/app/integrations")||e.pathname.includes("/app1/integrations"),i=KH(),a=!((0,jr.I)()||i||dv(t)||Vf(n)),s=[{href:`${XH}`,title:r("menu.connections.title"),description:"Home page for connections to third party platforms"},{href:`${XH}/shopify-home`,title:r("menu.connections.title"),description:"Connect to Shopify to manage your sales orders data. This is not for payments"},{href:`${XH}/shopify-home/shopify`,title:r("menu.connections.title"),description:"Connect to Shopify to manage your sales orders data. This is not for payments"},{href:`${XH}/:provider(amazon|amazonvendorcentral|ebay|shopify|lazada|fnac|woocommerce|shopee|shoplazza|magento|shopline|icbu|tiktokshop|mercadolibre|shein)?`,title:r("menu.connections.title"),description:"Detail pages for marketplace platforms"},{href:`${XH}/:platform(bamboohr|sagehr|hibobhr|alexishr|alterahr|breathehr|charliehr|charthophr|dayforcehr|factorialhr|freshteamhr|hrcloudhr|hrpartnerhr|humaanshr|intellihr|jumpcloudhr|kallidushr|lanohr|luccahr|namelyhr|nmbrshr|officienthr|oktahr|oneloginhr|paycaptainhr|paychexhr|peoplehr|personiohr|prolianthr|sapsfhr|sesamehr|squarepayrollhr|ukgdimensionshr|ukgprohr|ukgreadyhr|webhr|workdayhr|zenef
668itshr|zelthr|employmentherohr)/settings`,title:r("menu.connections.title"),description:"Settings page for third party HRIS providers"},{href:`${XH}/xero/:capability`,title:r("menu.connections.title"),description:"Detail pages for different Xero capabilities"},{href:`${XH}/:oauthProvider(hubspot|mybank|sage-bank-feed|exact)`,title:r("menu.connections.title"),description:"Detail pages for other third party providers"},{href:`${XH}/netsuite/:capability`,title:r("menu.connections.title"),description:"Detail pages for different NetSuite capabilities"},{href:`${XH}/quickbooks/:capability`,title:r("menu.connections.title"),description:"Detail pages for different QuickBooks capabilities"},{href:`${XH}/walmart/:integration`,title:r("menu.connections.title"),description:"Detail pages for different Walmart integrations"},{href:`${XH}/:branding(xero|quickbooks|netsuite|walmart)`,title:r("menu.connections.title"),description:"Branding pages for different accounting providers"},{href:`${XH}/ecosystem/:appKey`,title:r("menu.connections.title"),description:"Detail pages for different oauth applications"},{href:`${XH}/lending/:appKey`,title:r("menu.connections.title"),description:"Detail pages for different lending applications"},{href:`${XH}/xero/expense/:accountingDataType`,title:r("menu.connections.title.xero.expense.accountingData"),description:"Accounting data configuration pages for Xero"},{href:`${XH}/quickbooks/accounting/:step`,title:r("menu.connections.title.quickbooks.expense.accountingData"),description:"Accounting data configuration pages for QuickBooks"},{href:`${XH}/custom-accounting-data`,title:r("menu.connections.title"),description:"Detail page for the custom accounting data"},{href:`${XH}/netsuite/accounting/:step`,title:r("menu.connections.title.netsuite.expense"),description:"Connect to NetSuite for accounting data like transaction reconciliation, spend management, payment acceptance, and payables solutions"},{href:`${XH}/netsuite/connect`,title:r("menu.connections.title.setup.netsuite"),description:"Connect to NetSuite for accounting data like transaction reconciliation, spend management, payment acceptance, and payables solutions"},{href:`${XH}/netsuite/select-currency`,title:r("menu.connections.title.setup.netsuite"),description:"Map currency page for account-level NetSuite"},{href:`${XH}/netsuite/bank-feed-setup-confirmation`,title:r("menu.connections.title.setup.netsuite"),description:"Bank feed setup confirmation page for account-level NetSuite"},{href:`${XH}/hubspot/accept-access-grant`,title:r("menu.connections.title.oauth.consent"),description:"Accept access grant page for Hubspot"},{href:`${XH}/hubspot/connect-success`,title:r("menu.connections.title.oauth.consent"),description:"Connect success page for Hubspot"},{href:`${XH}/quickbooks/online-payments-feed/account-mappings/:mode`,title:r("menu.connections.title.setup.quickbooks"),description:"Map currencies page for account-level QuickBooks online payments feed"},{href:`${XH}/walmart/marketplace-deposits/:step`,title:r("menu.connections.title.setup.walmart"),description:"Marketplace deposits page for account-level Walmart"},{href:`${XH}/walmart/sales-order-data/:step`,title:r("menu.connections.title.setup.walmart"),description:"Sales order data page for account-level Walmart"},{href:`${ZH}${YH}/oauth-tokenio/consent`,title:r("menu.connections.title.oauth.consent"),description:"Consent page for oauth tokenIO"},{href:`${XH}/accept-access-grant`,title:r("menu.connections.title.oauth.consent"),description:"Accept access grant page for oauth applications"},{href:`${XH}/logeecom/accept-access-grant`,title:r("menu.connections.title.oauth.consent"),description:"Accept access grant page for Logeecom"},{href:`${XH}/connect-success/:appName`,title:r("menu.connections.title.oauth.consent"),description:"Connect success page for oauth applications"},{href:`${XH}/sage-bank-feed/auth`,title:r("menu.connections.title.setup.sage"),description:"Connect page for Sage bank feed"},{href:`${XH}/sage-bank-feed/authrefresh`,title:r("menu.connections.title.sage.refreshConnection"),description:"Reconnect page for Sage bank feed"},{href:`${XH}/mybank/large-value-cny-transfer/:step`,title:r("menu.connections.title.setup.mybank"),description:"Large value CNY transfer page for account-level Mybank"},{href:`${XH}/connect-marketplace/:provider(tiktokshop|amazon|amazonvendorcentral|lazada|shopify|shein)`,title:r("menu.connections.title.connect.marketplace"),description:"Select country page for marketplace platforms"},{href:`${XH}/tiktokshop/accept-access-grant`,title:r("menu.connections.title.oauth.consent"),description:"Accept access grant page for managing your sales orders data on TikTok Shop. This is not for payments"},{href:`${XH}/tiktokshop/connect-success`,title:r("menu.connections.title.oauth.consent"),description:"Connect success page for managing your sales orders data on TikTok Shop. This is not for payments"},{href:`${XH}/quickbooks/payments-feed`,title:r("menu.connections.title"),description:"Detail page for QuickBooks payments feed"},{href:`${XH}/:mailProvider(gmail|outlook)`,title:r("menu.connections.title"),description:"Detail page for different mail providers"}];return a?{title:r("menu.connections"),icon:GH,href:"/app/integrations/home",active:o,disabledBeforeKycSuccess:!0,disabledForAccountWithCancelledPricingPlan:!0,ga4:{name:"click_nav_item",params:{label:"connections"}},deepLinks:s,description:"View and manage all third party integrations in your account"}:null},JH=()=>{const e=(0,Yh.useLocation)(),t=Qh((e=>e.account)),{ecosystemAccountingEnableXeroQantas:n}=hn(),{t:r}=sw();return n&&Vf(t)&&(e=>{var t;return"qantas-au"===(null==e||null===(t=e.scaleConnectedPlatformInfo)||void 0===t||null===(t=t.webappTheme)||void 0===t?void 0:t.contentfulSlug)})(t)?{title:r("menu.qbmXeroBankFeed"),href:"/app/integrations/home/xero-qantas",active:e.pathname.includes("/integrations/home/xero-qantas"),disabledBeforeKycSuccess:!0}:null},eq=()=>{const e=(0,Yh.useLocation)(),t=Qh(oy),n=Qh((e=>
668e.org.data)),r=!!Qh((e=>e.account.tierType)),o=!!Qh((e=>{var t;return null===(t=e.org.data)||void 0===t?void 0:t.tierType})),i=!!n,a=i?"/app/org/settings":"/app/account/details",{t:l}=sw(),c=(()=>{const e=(0,Yh.useLocation)(),t=["/app1/account/account-group","/app/account/account-group"].some((t=>(0,Yh.matchPath)(e.pathname,{path:t}))),n=vH(),r=cH(),{t:o}=sw();return n||r?{title:o("menu.accountGroup"),icon:GL,href:"/app/account/account-group",active:t,ga4:{name:"click_nav_item",params:{label:"account-group"}}}:null})();let u=xH(),d=OH();const p=uH(),f=(()=>{const e=(0,Yh.useLocation)(),t=Qh(oy),{t:n}=sw(),r="/app/plan-billing",o=!!(0,Yh.matchPath)(e.pathname,{path:r}),i=Kr(t,"w:awx:*:*"),a=cH();return i||a?{title:n("menu.planBilling"),icon:lH,description:"Provides an overview of the organization's current Airwallex subscription plan. It shows the billing information, entrance to manage plan, a summary of the previous billing cycle, and invoice history.",href:r,active:o,ga4:{name:"click_nav_item",params:{label:"plan-billing"}},deepLinks:ro(t,!1)}:null})();let h=null;h=o||r?f:p,i&&(u=null,d=null,h=null);const m=Qh(aH),g=[i?null:c,mH(),QH(),JH(),WH(),u,h,d].filter(Yr).map((e=>({...e,disabledBeforeKycSuccess:!0}))),v=m?[]:g,y=[a,"/app1/account/details"].some((t=>(0,Yh.matchPath)(e.pathname,{path:t}))),b=Kr(t,"r:awx:system.accounts:*"),w=function(){const{t:e}=sw(),t=Qh(oy),n=Qh((e=>{var t;return(null===(t=e.account.billingPreference)||void 0===t?void 0:t.enableBilling)??!1})),r=Qh((e=>{var t;return(null===(t=e.user.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.isTeamAdmin)??!1})),o=Qh((e=>{var t;return(null===(t=e.account)||void 0===t?void 0:t.enabled)??!1})),i=vH(),a=cH(),s=hH("menu.account.deepLinks.userManagement"),l=e=>Kr(t,e);return[{href:"/app/account/details",title:e("menu.account.deepLinks.accountDetails"),description:"View and edit your account information and contact information"},...l("r:awx:system.accounts:*")&&l("w:awx:system.accounts.*")?[{href:"/app/account/settings",title:e("menu.account.deepLinks.accountSettings"),description:"Configure account-wide two-factor authentication (2FA) to provide an extra layer of security to protect the safety of your account."}]:[],...l("w:awx:integration.developer.settings.*")?[{href:"/app/account/developer",title:e("menu.account.deepLinks.developerSettings"),description:"Manage API keys. Make API calls. Configure your webhooks"},{href:"/app/account/apiKeys",title:e("menu.account.deepLinks.apiKeys"),description:"Manage your Admin API keys and restricted API keys."}]:[],...o&&(l("r:awx:uam.users.*:*")||r)?[{href:"/app/uam/users",title:e(s),description:"Manage users and their roles within your account."}]:[],...i||a?[{href:"/app/account/account-group",title:e("menu.account.deepLinks.accountGroup"),description:"View your account group."}]:[],...l("r:awx:system.groups.*:*")?[{href:"/app/account/group-management",title:e("menu.account.deepLinks.groupManagement"),description:"View and manage your account group memberships."}]:[],...l("r:awx:system.accounts:*")&&n?[{href:"/app/account/statements",title:e("menu.account.deepLinks.accountStatements"),description:"View and download your account statements and transaction history."}]:[]]}(),x=(0,s.useMemo)((()=>l(i?"menu.accountDetails":"menu.account")),[l,i]);return i&&v.length<1||dv(t)?null:v.length>0||b?{title:x,icon:iI,href:a,active:y,children:v,disabledBeforeKycSuccess:!0,disabledForAccountWithCancelledPricingPlan:!0,ga4:{name:"click_nav_item",params:{label:i?"account-details":"account"}},deepLinks:w,description:"Manage your account information and business details."}:null};function tq(){return tq=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tq.apply(this,arguments)}var nq=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",tq({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M2.6875 27.75L2.6875 4.25C2.6875 2.86929 3.80679 1.75 5.1875 1.75L16.9375 1.75C17.6279
6681.75 18.1875 2.30964 18.1875 3C18.1875 3.69036 17.6279 4.25 16.9375 4.25H5.1875L5.1875 27.75H16.9375C17.6279 27.75 18.1875 28.3096 18.1875 29C18.1875 29.6904 17.6279 30.25 16.9375 30.25H5.1875C3.80679 30.25 2.6875 29.1307 2.6875 27.75Z",fill:n}),(0,fi.jsx)("path",{d:"M28.0625 14.75C28.7528 14.75 29.3125 15.3097 29.3125 16C29.3125 16.6904 28.7529 17.25 28.0625 17.25L14.126 17.25L17.5205 20.2354C18.0388 20.6914 18.0888 21.4817 17.6328 22C17.1767 22.5178 16.3873 22.5682 15.8691 22.1123L9.98633 16.9385C9.71677 16.7012 9.5625 16.3591 9.5625 16C9.56251 15.6409 9.71676 15.2988 9.98633 15.0615L15.8691 9.8877C16.3873 9.43185 17.1767 9.48217 17.6328 10C18.0888 10.5183 18.0388 11.3086 17.5205 11.7646L14.126 14.75L28.0625 14.75Z",fill:n})]}))}));const rq=()=>{var e,t;const n=Qh((e=>e.account)),r=null===(e=If({account:n}))||void 0===e||null===(e=e.navTheme)||void 0===e?void 0:e.backToPartnerLink,o=em();return r?{title:null==r||null===(t=r.text)||void 0===t?void 0:t[o],icon:nq,href:(null==r?void 0:r.url)??"",active:!1,ga4:{name:"click_nav_item",params:{label:"backToPartner"}}}:null};function oq(){return oq=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oq.apply(this,arguments)}var iq=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",oq({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M8.25 4.25V27.75H23.75V4.25H8.25ZM26.25 27.75C26.25 29.1307 25.1307 30.25 23.75 30.25H8.25C6.86929 30.25 5.75 29.1307 5.75 27.75V4.25C5.75 2.86932 6.86933 1.75005 8.25 1.75H23.75C25.1307 1.75 26.25 2.86929 26.25 4.25V27.75Z",fill:n}),(0,fi.jsx)("path",{d:"M20 11.75C20.6904 11.75 21.25 12.3096 21.25 13C21.25 13.6904 20.6904 14.25 20 14.25L12 14.25C11.3096 14.25 10.75 13.6904 10.75 13C10.75 12.3096 11.3096 11.75 12 11.75L20 11.75Z",fill:n}),(0,fi.jsx)("path",{d:"M20 16.75C20.6904 16.75 21.25 17.3096 21.25 18C21.25 18.6904 20.6904 19.25 20 19.25H12C11.3096 19.25 10.75 18.6904 10.75 18C10.75 17.3096 11.3096 16.75 12 16.75H20Z",fill:n}),(0,fi.jsx)("path",{d:"M20 6.75C20.6904 6.75 21.25 7.30964 21.25 8C21.25 8.69036 20.6904 9.25 20 9.25H12C11.3096 9.25 10.75 8.69036 10.75 8C10.75 7.30964 11.3096 6.75 12 6.75H20Z",fill:n})]}))}));const aq={BILL_PAY:"/app/dashboard-intro/billpay",PURCHASE_ORDERS:"/app/dashboard-intro/purchaseorders",CARDS:"/app/dashboard-intro/cards",EXPENSES:"/app/dashboard-intro/expenses",PAYMENTS:"/app/dashboard-intro/payments",ORG_PAYMENTS:"/app/dashboard-intro/orgpayments",SPEND_REQUESTS:"/app/dashboard-intro/spendrequests",TRANSFERS:"/app/dashboard-intro/transfers",WALLET:"/app/dashboard-intro/wallet",SPEND_ACCOUNTING:"/app/dashboard-intro/spendaccounting"};function sq(e){return!(null==e||!e.isPricingAvailable)}const lq={account:"w:awx:bill_pay.bill_v2.all:edit",org:"w:org:bill_pay.bill_v2.all:edit"},cq={account:"r:awx:bill_pay.bill_v2.all:view",org:"r:org:bill_pay.bill_v2.all:view"},uq={account:"w:awx:bill_pay.settings:edit",org:"w:org:bill_pay.settings:edit"},dq=e=>!!e&&(Kr(e,jH)||Kr(e,PH)),pq=e=>!!e&&(Kr(e,lq.account)||Kr(e,cq.account)||Kr(e,lq.org)||Kr(e,cq.org)),fq=e=>!!e&&(Kr(e,lq.account)||Kr(e,lq.org)),hq=e=>!!e&&(Kr(e,uq.account)||Kr(e,uq.org)),mq=e=>!!e&&(Kr(e,"w:awx_action:bill_pay_admin:*")||Kr(e,"w:org:billing_plan:manage")||hq(e)),gq=e=>{let t,{userPermissions:n,billPayActivated:r,account:o,billPayPricingAvailable:i}=e;return o&&(t=Vf(o)),!(!n||t||!(i&&r||mq(n)))},vq=e=>{let{permissions:t}=e;return!!t&&(Kr(t,"w:org:vendor.settings:edit")||Kr(t,"w:awx:vendor.settings:edit"))},yq=e=>{let t,{userPermissions:n,vendorActivated:r,account:o,vendorPricingAvailable:i}=e;return o&&(t=Vf(o)),!(!n||t||!(i&&r&&(e=>{let{permissions:t}=e;return!!t&&(Kr(t,"r:org:vendor.vendor.all:view")||Kr(t,"r:org:vendor.vendor.own:view")||Kr(t,"r:
668awx:vendor.vendor.all:view")||Kr(t,"r:awx:vendor.vendor.own:view"))})({permissions:n})||vq({permissions:n})))},bq=()=>{const e=(0,Yh.useLocation)(),{vendorsConfig:t}=Dx(),n=Qh((e=>e.account)),r="/app/spend/vendors",o=sq(t),i=Qh((e=>{var t;return null===(t=e.user.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions})),a=yq({userPermissions:i,vendorActivated:!(null==t||!t.isActivated),account:n,vendorPricingAvailable:o}),s=[r,"/app/spend/vendors","/app/vendor"].some((t=>(0,Yh.matchPath)(e.pathname,{path:t}))),{t:l}=sw();return a?{title:l("menu.vendor"),icon:iI,href:r,active:s,description:"View and manage all vendors",ga4:{name:"click_nav_item",params:{label:"vendor"}},deepLinks:[{href:`${r}/list`,title:l("menu.vendor"),description:"View and manage all vendors"},{href:`${r}/new`,title:l("menu.vendor.new"),description:"Create a new vendor"},{href:`${r}/details/:id`,title:l("menu.vendor.details"),description:Kr(i??[],"w:awx:vendor.vendor.all:edit")?"View and edit vendor details, payment information, and accounting rules":"View vendor details, payment information, and accounting rules"},...vq({permissions:i})?[{href:`${r}/activate`,title:l("menu.vendor.activate"),description:"Activate vendor management"}]:[],{href:`${r}/pricing`,title:l("menu.vendor.pricing"),description:"View vendor management pricing and plans"},...Kr(i??[],"w:awx:vendor.vendor.all:edit")?[{href:`${r}/list?statuses[]=ACTIVE`,title:l("menu.vendor"),description:"View all your active vendors"},{href:`${r}/list?statuses[]=DRAFT`,title:l("menu.vendor"),description:"View all your draft vendors"},{href:`${r}/list?statuses[]=IN_APPROVAL`,title:l("menu.vendor"),description:"View all your vendors that are in approval"},{href:`${r}/list?statuses[]=PENDING_YOUR_APPROVAL`,title:l("menu.vendor"),description:"View all your vendors that are pending your approval"}]:[],...Kr(i??[],"w:awx:vendor.vendor.all:edit")?[{href:`${r}/list?syncStatuses[]=NOT_SYNCED`,title:l("menu.vendor"),description:"View all your vendors that are not synced"},{href:`${r}/list?syncStatuses[]=SYNCED`,title:l("menu.vendor"),description:"View all your vendors that are synced"},{href:`${r}/list?syncStatuses[]=SYNC_FAILED`,title:l("menu.vendor"),description:"View all your vendors that failed to sync"}]:[],...Kr(i??[],"w:awx:vendor.settings:edit")?[{href:`${r}/settings`,title:l("menu.vendor.settings"),description:"Configure vendor settings and preferences"}]:[]]}:null};function wq(e){const{pathname:t}=(0,Yh.useLocation)();return(0,s.useMemo)((()=>!!(0,Yh.matchPath)(t,{path:`/app${e}`})),[t,e])}const xq=()=>{const{billsConfig:e}=Dx(),t=sq(e),n="/app/spend/bills",r=Qh((e=>e.account)),o=Qh(aH),i=Qh((e=>{var t;return null===(t=e.user.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions})),a=Qh((e=>{var t;return null===(t=e.user.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions})),s=!(null==e||!e.isActivated),l=gq({userPermissions:(0,jr.I)()?a:i,billPayActivated:s,account:r,billPayPricingAvailable:t}),c=o||!s?aq.BILL_PAY:n,u=wq(aq.BILL_PAY.replace("/app","")),d=wq(n.replace("/app",""))||u,{t:p}=sw(),f=cH(),h=[bq()].filter(Yr);return(0,jr.I)()?null:l||f?{title:p("menu.billPay"),icon:iq,href:c,description:"This page provides comprehensive bill management capabilities, displaying a summary of bills including submissions, pending approvals, and awaiting payments. It includes a search bar and filters for due date, created by, status, and billing entity. The page also offers accounting software integration options and enables email forwarding for bills, allowing users to create and manage bills and payments.",active:d,children:h,disabledForAccountWithCancelledPricingPlan:!0,ga4:{name:"click_nav_item",params:{label:"bill-pay"}},deepLinks:[...mq(i)?[{href:`${n}/activate`,title:p("menu.billPay.activate"),description:"Activate your bill pay feature for your account"}]:[],{href:`${n}/list`,title:p("menu.billPay.summary"),description:"This page provides comprehensive bill management capabilities, displaying a summary of bills including submissions, pending approvals, and awaiting payments. It includes a search bar and filters for due date, created by, status, and billing entity. The page also offers accounting software integration options and enables email forwarding for bills, allowing users to create and manage bills and payments."},{href:`${n}/create`,title:p("menu.billPay.createBill"),description:"Create a new bill"},{href:`${n}/bill/:id`,title:p("menu.billPay.manageBill"),description:"View the details, edit, approve or pay a specific bill"},...Kr(i??[],"w:awx:bill_pay.bill:admin")||pq(i)?[{href:`${n}/list?statuses[]=AWAITING_PAYMENT`,title:p("menu.billPay.summary"),description:"View all your bills that are awaiting payment"},{href:`${n}/list?statuses[]=PENDING_YOUR_APPROVAL`,title:p("menu.billPay.summary"),description:"View all your bills that are pending your approval"},{href:`${n}/list?statuses[]=PAYMENT_IN_PROGRESS`,title:p("menu.billPay.summary"),description:"View all your payment in progress bills"},{href:`${n}/list?statuses[]=PAID`,title:p("menu.billPay.summary"),description:"View all your paid bills"},{href:`${n}/list?statuses[]=REJECTED`,title:p("menu.billPay.summary"),description:"View all your bills that are rejected"},{href:`${n}/list?statuses[]=SCHEDULED`,title:p("menu.billPay.summary"),description:"View all your bills that are scheduled for payment"}]:[],...Kr(i??[],"w:awx:bill_pay.bill:admin")||hq(i)?[{href:`${n}/settings`,title:p("menu.billPay.settings"),description:"Manage your bills settings: customize visible fields, set required fields for bill submission, enable bill creation via email, or turn bills off."},{href:`${n}/settings/:entityId`,title:p("menu.billPay.settings"),description:"View and manage your bill settings for a specific billing entity"}]:[],...Kr(i??[],"w:awx:bill_pay.bill:admin")||fq(i)?[{href:`${n}/bulk-payments-v2`,title:p("menu.billPay.payBills"),description:"Bulk pay selected bills in bills list"}]:[]]}:null};function kq(){return kq=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kq.apply(this,arguments)}var Cq=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",kq({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M4.25 8.25V23.75H27.75V8.25H4.25ZM30.25 23.75C30.25 25.1307 29.1307 26.25 27.75 26.25H4.25C2.86929 26.25 1.75 25.1307 1.75 23.75V8.25C1.75 6.86929 2.86929 5.75 4.25 5.75H27.75C29.1307 5.75 30.25 6.86929 30.25 8.25V23.75Z",fill:n}),(0,fi.jsx)("path",{d:"M29 10.5V13H3V10.5H29Z",fill:n}),(0,fi.jsx)("path",{d:"M15.75 19.5C16.4404 19.5 17 20.0596 17 20.75C17 21.4404 16.4404 22 15.75 22H7.25C6.55964 22 6 21.4404 6 20.75C6 20.0596 6.55964 19.5 7.25 19.5H15.75Z",fill:n})]}))}));const Eq=(e,t)=>!!t("cards")&&Kr(e,Gr("r:awx:issuing.*:*","r:awx:issuing.card_user.*:*")),Sq=e=>!!e&&Kr(e,"w:awx:issuing.*"),Oq=(e,t)=>
668{if(t("cards"))return{isCardAdmin:Sq(n=e),isCardUser:Kr(n,"w:awx:issuing.card_user.*"),isCardUserOnly:Kr(n,"w:awx:issuing.card_user.*")&&!Kr(n,"w:awx:issuing.*")};var n},Aq="/app/cards";function _q(e){return[{href:"/app/card-activation",title:e("menu.cards.cardActivation"),description:"Activate your physical card"},{href:`${Aq}/:cardId/delivery-address`,title:e("menu.cards.deliveryAddress"),description:"Manage delivery address for physical card"},{href:`${Aq}/:cardId/reissue-physical`,title:e("menu.cards.reissuePhysical"),description:"Reissue a physical card"},{href:`${Aq}/:cardId/replace`,title:e("menu.cards.replaceCard"),description:"Replace an existing card"},{href:`${Aq}/transactionFeedback/:transactionId`,title:e("menu.cards.transactionFeedback"),description:"Provide feedback or dispute a transaction"}]}function Pq(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return[{href:`${Aq}/cardholder`,title:e("menu.cards.summary"),description:"View and manage the individual cards you have access to in one place. ".concat("Supports the following search params: ","cardsStatus[]: Filter by card status (ACTIVE, INACTIVE, PENDING);","cardsSpendMin/cardsSpendMax: Filter cards by spending amount range;","cardsLimitMin/cardsLimitMax: Filter cards by spending limit range from (0-100).")},{href:`${Aq}/cardholder/:cardId`,title:e("menu.cards.summary"),description:"Provides detailed view of individual card such as Card information, transactions, settings"},...t?[{href:`${Aq}/cardholder/transactions`,title:e("menu.cards.transactions"),description:"View and manage transactions for the cards you have access to"},{href:`${Aq}/cardholder/transactions/:transactionId`,title:e("menu.cards.transactions"),description:"View transaction details including transaction status, merchant details, etc"}]:[{href:`${Aq}/cardholder/company-cards`,title:e("menu.cards.companyCards"),description:"View and manage the company cards for shared team purchases such as subscriptions or office supplies. ".concat("Supports the following search params: ","cardsStatus[]: Filter by card status (ACTIVE, INACTIVE, PENDING);","cardsSpendMin/cardsSpendMax: Filter cards by spending amount range in (number);","cardsLimitMin/cardsLimitMax: Filter cards by spending limit range from (0-100).")},{href:`${Aq}/cardholder/company-cards/:cardId`,title:e("menu.cards.companyCards"),description:"Provide detailed view of company card such as Card information, transactions, settings"}],{href:`${Aq}/cardholder/id-check`,title:e("menu.cards.identityReview"),description:"Complete identity verification for your cards. Enter your personal details exactly as printed on a government-issued ID to get access to your new card."},...t?[{href:`${Aq}/cardholder/temporary-limits/:cardId`,title:e("menu.cards.temporaryLimits"),description:"Set a temporary spending limit for your card"}]:[],{href:`${Aq}/cardholder/change-pin/:cardId/:cardNumber`,title:e("menu.cards.changePin"),description:"Change the PIN for your card"}]}function jq(e){return[{href:`${Aq}/transactions`,title:e("menu.cards.transactions"),description:"View and manage card transactions with optional transaction detail view. ".concat("Supports the following search params: ","accountTransactionsStatus[]: Filter transactions by status (APPROVED, FAILED, PENDING, REVERSED);","accountTransactionsCurrency[]: Filter transactions by currency (AUD, USD, EUR, etc.);","accountTransactionsCategories[]: Filter transactions by categories (CULTURE, ENTERTAINMENT, FINANCE, GROCERIES, HEALTH_AND_BEAUTY, HOME_AND_UTILITIES, OTHER, PROFESSIONAL_SERVICES, PUBLIC_ADMINISTRATIONS, RESTAURANTS, SHOPPING, SOFTWARE, TRANSPORT, TRAVEL);","accountTransactionsStartDate: Filter transactions from this date (ISO 8601 format with timezone);","accountTransactionsEndDate: Filter transactions until this date (ISO 8601 format with timezone).")},{href:`${Aq}/transactions/:transactionId`,title:e("menu.cards.transactions"),description:"View transaction details including transaction status, merchant details, etc"},{href:`${Aq}/create-card`,title:e("menu.cards.selectCardType"),description:"Create a company card(virtual card only) or an employee card(virtual or physical)"},{href:`${Aq}/edit-card/:id`,title:e("menu.cards.editCard"),description:"Edit c
668ard details, settings, and spending limits"},{href:`${Aq}/edit-company-card-owners/:id`,title:e("menu.cards.editCompanyCardOwners"),description:"Manage the owners assigned to a company card"},{href:`${Aq}/cardholders`,title:e("menu.cards.cardholders"),description:"Manage cardholders and view their details with optional cardholder detail view. ".concat("Supports the following search params: ","cardholdersStatus[]: Filter cardholders by status (DELETED, DISABLED, INCOMPLETE, PENDING, READY);","cardholdersHasPhysicalCards: Filter cardholders who have physical cards (true/false);","cardholdersSpendMin/cardholdersSpendMax: Filter cardholders by spending amount range in (number).")},{href:`${Aq}/cardholders/:cardholderId?`,title:e("menu.cards.cardholders"),description:"Cardholder detail view including card access details and card spending summary"},{href:`${Aq}/card-settings`,title:e("menu.cards.cardSettings"),description:"Manage cards settings includes business name on card, funding currency, etc."},{href:`${Aq}/cardholder-id-check/:cardholderId`,title:e("menu.cards.identityReview"),description:"Review and verify cardholder identity information"},{href:`${Aq}/change-pin/:cardId/:cardNumber`,title:e("menu.cards.changePin"),description:"Change PIN for specific card"},{href:`${Aq}`,title:e("menu.cards.summary"),description:"Main dashboard for card administrators. View total spend across all company cards, or employee cards. ".concat("Supports the following search params: ","cardsType[]: Filter by card types (INDIVIDUAL_PHYSICAL, INDIVIDUAL_VIRTUAL, ORGANISATION_VIRTUAL);","cardsStatus[]: Filter by card status (ACTIVE, INACTIVE, PENDING);","cardsSpendMin/cardsSpendMax: Filter cards by spending amount range in (number);","cardsLimitMin/cardsLimitMax: Filter cards by spending limit range from (0-100).")},{href:`${Aq}/card-details/:id`,title:e("menu.cards.summary"),description:"Detailed view of an individual card including card information, transactions, and settings"}]}const Tq="/app/cards/myCards",Iq=[Tq,Tq.replace("/app/","/app1/")];function Lq(){return Lq=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lq.apply(this,arguments)}var Nq=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",Lq({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M6.25 6.25V25.75H25.75V6.25H6.25ZM28.25 25.75C28.25 27.1307 27.1307 28.25 25.75 28.25H6.25C4.86929 28.25 3.75 27.1307 3.75 25.75V6.25C3.75 4.86929 4.86929 3.75 6.25 3.75H25.75C27.1307 3.75 28.25 4.86929 28.25 6.25V25.75Z",fill:n}),(0,fi.jsx)("path",{d:"M11 17.75C11.6904 17.75 12.25 18.3096 12.25 19V22C12.25 22.6904 11.6904 23.25 11 23.25C10.3096 23.25 9.75 22.6904 9.75 22V19C9.75 18.3096 10.3096 17.75 11 17.75ZM16 13.75C16.6904 13.75 17.25 14.3096 17.25 15V22C17.25 22.6904 16.6904 23.25 16 23.25C15.3096 23.25 14.75 22.6904 14.75 22V15C14.75 14.3096 15.3096 13.75 16 13.75ZM21 9.75C21.6904 9.75 22.25 10.3096 22.25 11V22C22.25 22.6904 21.6904 23.25 21 23.25C20.3096 23.25 19.75 22.6904 19.75 22V11C19.75 10.3096 20.3096 9.75 21 9.75Z",fill:n})]}))}));function Rq(){const e=Qh((e=>{var t;return null===(t=e.user.data)||void 0===t?void 0:t.orgRoles}));return!!e&&1===e.length&&e[0].id===Tv}const Dq=()=>{const e=(0,jr.I)(),t=Qh((e=>e.org.data)),n=(0,Yh.useLocation)(),r=Qh(oy),o=Rq(),i=ly(),a=Qh(aH),{t:s}=sw(),l=function(){const e=Qh(iH),{t}=sw(),n=[{href:"/app/kyc/intro",title:t("menu.dashboard.deepLinks.kycIntro"),description:"Start your KYC onboarding process and set up your business profile."},{href:"/app/kyc/v3",title:t("menu.dashboard.deepLinks.singleEntityKyc"),description:"Complete KYC verification for a single business entity."},{href:"/app/kyc/v4",title:t("menu.dashboard.deepLinks.multipleEntityKyc"),description:"Complete KYC verification for multiple business entities."}],r=[{href:"/app/kyc/v3/success",title:t("menu.dashboard.deepLinks.kycSuccess"),description:"View your KYC completion status and next steps."},{href:"/app/kyc/v4/success",title:t("menu.dashboard.deepLinks.kycSuccess"),description:"View your multi-entity KYC completion status."}],o=[{href:"/app/kyc/task/ppta-authorization",title:t("menu.dashboard.deepLinks.pptaAuthorisation"),description:"Complete PPTA authorization process."},{href:"/app/kyc/task/account-owner-activation",title:t("menu.dashboard.deepLinks.accountOwnerActivation"),description:"Activate your account owner permissions."},{href:"/app/kyc/task/admin-activation",title:t("menu.dashboard.deepLinks.adminActivation"),description:"Complete admin account activation."},{href:"/app/kyc/amendment/business-address",title:t("menu.dashboard.deepLinks.businessAddressAmendment"),description:"Update your business address information."}];switch(e){case"INIT":return n;case"SUBMITTED":return r;case"FAILURE":return[];default:return o}}(),c=[...l];if("SASE"===(null==t?void 0:t.orgType))return null;if("MAME"===(null==t?void 0:t.orgType)&&a)return null;if(dv(r)||o||i)return null;const u=["/app1/dashboard","/app/dashboard",Cb.ACCOUNT,Cb.ORG_ACCOUNT_OVERVIEW].some((e=>(0,Yh.matchPath)(n.pathname,{path:e,exact:!0})));return{title:s(t?"menu.overview":"menu.dashboard"),icon:Nq,deepLinks:c,href:e&&"SASE"!==(null==t?void 0:t.orgType)?Cb.ORG_ACCOUNT_OVERVIEW:Cb.ACCOUNT,active:u,id:"dashboard",description:"View account overview, key metrics, and financial summaries for your account.",ga4:{name:"click_nav_item",params:{label:t?"overview":"dashboard"}}}},Fq=()=>{var e;const{t}=sw(),n=Qh((e=>{var t;return null===(t=e.user.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions})),r=FH(n),o=Qh(ry),i=Kr(o,"w:awx:gtpn.transfers.*:*"),{expenseConfig:a}=Dx(),l=!(null==a||!a.expensesApprover)||!(null==a||null===(e=a.reimbursementReportQueries)||void 0===e||!e.isReportApprover),c=!!Ry()[0];return(0,s.useMemo)((()=>[...r?[{href:"/app/expenses/activate",title:t("menu.expenses.activate"),description:"Activate expenses features like Airwallex Reimbursements and Card Expenses"},{href:"/app/expenses/pricing",title:t("menu.expenses.pricing"),description:"View expenses pricing and plans"}]:[],{href:"/app/expenses/list",title:t("menu.expenses.cardExpenses"),description:r&&!c?"Vie
668w and manage all expenses":l?"View and manage expenses":"View and manage your expenses"},{href:"/app/expenses/list/:id",title:t("menu.expenses.manageCardExpense"),description:"View the details, edit, submit or approve a specific card expense"},...r||l?[{href:"/app/expenses/list?status=REVIEW",title:t("menu.expenses.cardExpenses"),description:"View all card expenses that are pending your approval"}]:[],{href:"/app/expenses/list?status=EDITING&status=REJECTED",title:t("menu.expenses.cardExpenses"),description:"View all card expenses that you need to submit"},{href:"/app/expenses/reimbursements",title:t("menu.expenses.reimbursements"),description:r&&!c?"View and manage all reimbursements":l?"View and manage reimbursements":"View and manage your reimbursements"},{href:"/app/expenses/reimbursements?report=:reportId",title:t("menu.expenses.manageReimbursement"),description:"View the details, edit, approve or pay a specific reimbursement report"},...r&&i?[{href:"/app/expenses/reimbursements?statuses[]=AWAITING_PAYMENT",title:t("menu.expenses.reimbursements"),description:"View all reimbursement reports that are awaiting payment"}]:[],...r||l?[{href:"/app/expenses/reimbursements?statuses[]=PENDING_YOUR_APPROVAL",title:t("menu.expenses.reimbursements"),description:"View all reimbursement reports that are pending your approval"}]:[],{href:"/app/expenses/reimbursements?statuses[]=DRAFT,REJECTED",title:t("menu.expenses.reimbursements"),description:"View all reimbursement reports that require reporters' action before submission."},...r?[{href:"/app/expenses/settings",title:t("menu.expenses.settings"),description:"Manage and customize your expense settings. Configure expense form fields, receipt options, processing start dates, and activate features like Airwallex Reimbursements and Card Expenses"},{href:"/app/expenses/settings/:entityId",title:t("menu.expenses.entitySettings"),description:"View and manage your expense settings for a specific entity"}]:[]]),[c,l,r,i,t])},Mq="/app/expenses",Bq=()=>{var e,t;const{expenseConfig:n}=Dx(),r=!(null==n||!n.expensesAvailable),o=qH(n),i=!(null==n||null===(e=n.expenseActivationStatus)||void 0===e||!e.isActivated),a=!(null==n||null===(t=n.reimbursementActivationStatus)||void 0===t||!t.isActivated),s=i||a,l=Qh((e=>{var t,n;return(0,jr.I)()?null===(t=e.user.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions:null===(n=e.user.data)||void 0===n||null===(n=n.enrollment)||void 0===n?void 0:n.permissions})),c=MH({userPermissions:l,expensesAvailable:r,activated:s,expensesPricingAvailable:o}),u=(0,Yh.useLocation)(),{t:d}=sw(),p=u.pathname.startsWith(Mq)||u.pathname.startsWith(aq.EXPENSES),f=Fq();return(0,jr.I)()?null:c?{title:d("menu.expenses"),icon:cI,href:s?u.pathname.toLowerCase().includes("reimbursement")?`${Mq}/reimbursements`:Mq:aq.EXPENSES,description:"View and manage expenses",active:p,assistantMode:!0,ga4:{name:"click_nav_item",params:{label:"expenses"}},deepLinks:f}:null};function Vq(){return Vq=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vq.apply(this,arguments)}var zq=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",Vq({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M13 27C13 26.4477 12.5523 26 12 26C11.4477 26 11 26.4477 11 27C11 27.5523 11.4477 28 12 28C12.5523 28 13 27.5523 13 27ZM15 27C15 28.6569 13.6569 30 12 30C10.3431 30 9 28.6569 9 27C9 25.3431 10.3431 24 12 24C13.6569 24 15 25.3431 15 27Z",fill:n}),(0,fi.jsx)("path",{d:"M23 27C23 26.4477 22.5523 26 22 26C21.4477 26 21 26.4477 21 27C21 27.5523 21.4477 28 22 28C22.5523 28 23 27.5523 23 27ZM25 27C25 28.6569 23.6569 30 22 30C20.3431 30 19 28.6569 19 27C19 25.3431 20.3431 24 22 24C23.6569 24 25 25.3431 25 27Z",fill:n}),(0,fi.jsx)("path",{d:"M5.48535 1.75C6.66757 1.75 7.68907 2.57849 7.93262 3.73535L8.41992 6.04785H28.2549C29.9675 6.04805 31.1725 7.73106 30.62
66811 9.35254L26.4717 21.5547C26.127 22.5682 25.175 23.25 24.1045 23.25H11.5146C10.3324 23.25 9.31093 22.4215 9.06738 21.2646L5.48535 4.25H3C2.30964 4.25 1.75 3.69036 1.75 3C1.75 2.30964 2.30964 1.75 3 1.75H5.48535ZM11.5146 20.75H24.1045L28.2549 8.54785H8.94531L11.5146 20.75Z",fill:n})]}))}));const Uq=["INACTIVE","KYB_ONBOARDING"],Hq=["KYB_APPROVED","ENABLED"],qq="/app1/acquiring/dispute",Wq="/app/acquiring/dispute",$q=()=>{const e=(0,Yh.useLocation)(),t=Qh(oy),n=[qq,Wq].some((t=>(0,Yh.matchPath)(e.pathname,{path:t}))),r=Kr(t,"r:awx:pa.dispute.*:*"),o=cH(),{t:i}=sw();return r||o?{title:i("menu.disputes"),icon:mI,href:"/app/acquiring/dispute/list/need-response",active:n,disabledBeforeKycSuccess:!0,ga4:{name:"click_nav_item",params:{label:"disputes"}}}:null};function Gq(){return Gq=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gq.apply(this,arguments)}var Kq=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",Gq({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M23.7501 9.30942L16.0001 5.40024L8.25007 9.30942C8.24998 11.1597 8.24998 15.9731 8.25007 19.5672C8.25008 20.2671 8.53019 21.002 9.08893 21.7704C9.64875 22.5402 10.442 23.2778 11.3389 23.953C13.1004 25.2789 15.0935 26.2365 16.0001 26.6395C16.9065 26.2365 18.8997 25.279 20.6612 23.953C21.5581 23.2778 22.3514 22.5402 22.9112 21.7704C23.4699 21.002 23.7501 20.2671 23.7501 19.5672V9.30942ZM26.2501 19.5672C26.2501 20.9578 25.6906 22.1978 24.9327 23.2401C24.1759 24.2808 23.1759 25.1901 22.1651 25.951C20.1447 27.472 17.9071 28.5318 16.96 28.95C16.3455 29.2214 15.6557 29.2213 15.0411 28.95C14.0941 28.5319 11.8565 27.4719 9.836 25.951C8.8252 25.1901 7.82423 24.2808 7.06745 23.2401C6.30955 22.1978 5.7501 20.9578 5.75007 19.5672C5.74998 15.9712 5.74998 11.1548 5.75007 9.30649C5.75014 8.35938 6.28489 7.50143 7.12409 7.07797L14.8741 3.16782C15.5822 2.81057 16.4179 2.81062 17.126 3.16782L24.876 7.07797C25.7153 7.50141 26.25 8.35933 26.2501 9.30649V19.5672Z",fill:n}),(0,fi.jsx)("path",{d:"M17.25 4V27.5H14.75V4H17.25Z",fill:n})]}))}));const Zq="/app1/fraud",Yq="/app/fraud",Xq=()=>{const e=(0,Yh.useLocation)(),t="/app/fraud",n=`${t}/analytics`,r=[Zq,Yq].some((t=>(0,Yh.matchPath)(e.pathname,{path:t}))),{t:o}=sw();return{title:o("menu.risk"),description:"Monitor payment fraud, manage risk rules, and analyze risk performance.",icon:Kq,href:n,active:r,disabledBeforeKycSuccess:!0,ga4:{name:"click_nav_item",params:{label:"risk"}},deepLinks:[{href:n,title:o("menu.risk.analytics"),description:"Review your account's fraud prevention performance based on your historical payment activity."},{href:`${t}/configuration/watchList`,title:o("menu.risk.watchList"),description:"Create rules to automatically block, verify with 3DS, or approve specific payment patterns."},{href:`${t}/watchList/add`,title:o("menu.risk.addWatchlist"),description:"Add watchlist items to block, require 3DS, or approve payments based on email, card BIN, or other criteria."},{href:`${t}/watchList/upload`,title:o("menu.risk.buckAddWatchlist"),description:"Upload multiple watchlist items at once to block, require 3DS, or approve payments based on risk criteria."}]}},Qq=["INACTIVE","KYB_ONBOARDING"],Jq=["KYB_APPROVED","ENABLED"],eW=["ENABLED"],tW=()=>{var e,t;const n=(0,Yh.useLocation)(),r=Qh((e=>e.account)),o=(null==r||null===(e=r.clientApiSettings)||void 0===e||null===(e=e.paSetting)||void 0===e?void 0:e.paState)??"",i=(null==r||null===(t=r.clientApiSettings)||void 0===t||null===(t=t.paSetting)||void 0===t?void 0:t.paybylinkState)??"",a=Qh(oy),s=n.pathname.includes("/app1/get-paid")||n.pathname.includes("/app/get-paid"),l=Kr(a,"r:awx:pa.payment.*:*"),c=Qh(aH),u=Jq.includes(o)&&!dv(a),d=Qq.includes(o)&&!dv(a),{t:p}=sw(),f=eW.includes(i),h=cH();return f&&(h||d||u&&!c&&l)?{title:p("menu.paymentLinks"),icon:GH,description:"Generate a Payment Link to accept one-time or reusable payments without needing your own checkout flow. Share links programmatically or embed them in email/SMS/QR codes to collect payments from customers. Configure link behavior (currency, amount, expiry, billing details) through the API or dashboard. Track link status and payment outcomes directly in the Airwallex API or dashboard.",href:"/app/get-paid/list",active:s,disabledBeforeKycSuccess:!0,ga4:{name:"click_nav_item",params:{label:"payment-links"}},deepLinks:[{href:"/app/get-paid",title:p("menu.paymentLinks"),description:"Create and manage payment links to get paid by anyone."},{href:"/app/get-paid/create",title:p("menu.paymentLinks.createPaymentLink"),description:"Create a new payment link to get paid by anyone."},{href:"/app/get-paid/edit/:id",title:p("menu.paymentLinks.editPaymentLink"),description:"Edit the details of an existing payment link."},{href:"/app/get-paid/list-item/:id",title:p("menu.paymentLinks.paymentLinkDetail
668s"),description:"View the details of a specific payment link."},{href:"/app/get-paid/settings",title:p("menu.paymentLinks.paymentLinkSettings"),description:"Manage your payment link settings, such as company profile, customer support, email notifications and surcharge settings"}]}:null},nW="/app/acquiring/activity/analytics",rW="/app/acquiring/list",oW=()=>{const e=(0,Yh.useLocation)(),t=Qh(oy),n=rW,r=[n,nW].some((t=>(0,Yh.matchPath)(e.pathname,{path:t}))),{t:o}=sw();return Kr(t,"r:awx:pa.payment.*:*")?{title:o("menu.paymentActivity"),icon:hI,href:n,active:r,disabledBeforeKycSuccess:!0,ga4:{name:"click_nav_item",params:{label:"payment-activity"}}}:null},iW="/app/acquiring/settlements",aW=()=>{const e=(0,Yh.useLocation)(),t=Qh(oy),n=Boolean((0,Yh.matchPath)(e.pathname,{path:iW})),{t:r}=sw();return Kr(t,"r:awx:pa.payment.*:*")?{title:r("menu.settlements"),icon:rI,href:"/app/acquiring/settlements/overview",active:n,disabledBeforeKycSuccess:!0,ga4:{name:"click_nav_item",params:{label:"settlements"}}}:null};function sW(){return sW=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sW.apply(this,arguments)}var lW=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",sW({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M8.25 4.25V27.75H23.75V4.25H8.25ZM26.25 27.75C26.25 29.1307 25.1307 30.25 23.75 30.25H8.25C6.86929 30.25 5.75 29.1307 5.75 27.75V4.25C5.75 2.86929 6.86929 1.75 8.25 1.75H23.75C25.1307 1.75 26.25 2.86929 26.25 4.25V27.75Z",fill:n}),(0,fi.jsx)("path",{d:"M20 5.75C20.6904 5.75 21.25 6.30964 21.25 7C21.25 7.69036 20.6904 8.25 20 8.25H12C11.3096 8.25 10.75 7.69036 10.75 7C10.75 6.30964 11.3096 5.75 12 5.75H20Z",fill:n}),(0,fi.jsx)("path",{d:"M17.5 24.5C17.5 25.3284 16.8284 26 16 26C15.1716 26 14.5 25.3284 14.5 24.5C14.5 23.6716 15.1716 23 16 23C16.8284 23 17.5 23.6716 17.5 24.5Z",fill:n})]}))}));const cW="/app/acquiring/terminal",uW=()=>{const e=(0,Yh.useLocation)(),t=Qh(oy),n=[cW].some((t=>(0,Yh.matchPath)(e.pathname,{path:t}))),r=Qh((e=>e.account.posStatus)),o=Kr(t,"r:awx:pa.payment.*:*"),{t:i}=sw();return o&&"ENABLED"===r?{title:i("menu.terminals"),icon:lW,href:"/app/acquiring/terminal/list",active:n,disabledBeforeKycSuccess:!0,ga4:{name:"click_nav_item",params:{label:"terminals"}}}:null},dW=()=>{var e;const t=(0,Yh.useLocation)(),n=Qh((e=>e.account)),r=Qh(aH),o=(null==n||null===(e=n.clientApiSettings)||void 0===e||null===(e=e.paSetting)||void 0===e?void 0:e.paState)??"",i=Qh(oy),{t:a}=sw(),s=t.pathname.includes(aq.PAYMENTS)||t.pathname.includes("/acquiring")&&![qq,Wq,Zq,Yq,nW,rW,iW].some((e=>t.pathname.includes(e))),{hasPaymentsPermission:l,hasDisputePermission:c,hasPaymentsEditPermission:u}=(e=>({hasPaymentsPermission:Kr(e,"r:awx:pa.payment.*:*"),hasDisputePermission:Kr(e,"r:awx:pa.dispute.*:*"),hasPaymentsEditPermission:Kr(e,"w:awx:pa.payment.*:*")}))(i),d=cH(),p=Uq.includes(o)&&!dv(i),f=Hq.includes(o),h=((e,t)=>e||t?aq.PAYMENTS:"/app/acquiring/dashboard")(r,p),m=[oW(),Xq(),$q(),aW(),tW(),uW()].filter(Yr),g=[...pW(),...fW()];return((e,t,n,r,o,i,a)=>e||t&&n||r&&!o&&(i||a))(d,p,u,f,r,c,l)?{title:a("menu.payments"),description:"View and manage your payments from customers, risk analytics and configuration, disputes, settlements, payment links and POS terminals of current account.",icon:zq,href:h,active:s,children:r||p?[]:m,ga4:{name:"click_nav_item",params:{label:"payments"}},deepLinks:g}:null};function pW(){const e=Qh(oy),t=t=>Kr(e,t),{t:n}=sw(),r=Qh((e=>e.account.posStatus));return[...t("r:awx:pa.payment.*:*")?[{href:"/app/acquiring/dashboard",title:n("menu.payments.dashboard"),description:"View your payments dashboard, which includes current snapshot of settlements, and charts about gross sales, successful payments, average acceptance rate, refunds and refund rate."},{href:"/app/acquiring/list",title:n("menu.payments.allPayments"),description:"View and manage all of your customers' payments."},{href:"/app/acquiring/list/details/:intentId",title:n("menu.payments.paymentDetails"),description:"View the details of a specific payment."},{href:"/app/acquiring/list/details/:accountId/:intentId/:disputeId?",title:n("menu.payments.paymentDetails"),description:"View the details of a specific payment, with account context."},{href:"/app/acquiring/activity/analytics",title:n("menu.payments.analytics"),description:"View analytics of your payment activities, which includes diagrams of payment acceptance rate, successful payment attempts, declined payments, total payment attempts."},{href:"/app/acquiring/settings",title:n("menu.payments.settings"),description:"View and manage your payment settings, including view and request change for your Maximum transaction value and Average monthly volume, enable Automatic Currency Conversion, view and manage surcharge rate, and view your reserve plan."},{href:"/app/acquiring/settings/apple-pay/list",title:n("menu.payments.settings"),description:"Manage configuration of Apple Pay, including adding and updating web domains and iOS certificates."},{href:"/app/acquiring/settlements/overview",title:n("menu.payments.settlementsNew"),description:"View your settlements from transactions or your rolling reserve balance over the selected time period."},..."ENABLED"===r?[{href:"/app/acquiring/terminal/list",title:n("menu.payments.terminals"),description:"View and manage your POS terminals."}]:[]]:[],...t("w:awx:pa.payment.*:*")?[{href:"/app/acquiring/settings/surcharge",title:n("menu.payments.surcharge"),description:"View and configure payment products to apply your surcharge rate to your customers."},{href:"/app/acquiring/settings/apple-pay/add-domain",title:n("menu.payments.addApplePayDomain"),description:"Manage configuration of Apple Pay by registering web domains that are not Airwallex's hosted payment pages or payment links to accept Apple Pay payments."},{href:"/app/acquiring/settings/apple-pay/add-certificate",title:n("menu.payments.addApplePayCertificate"),description:"Manage configuration of Apple Pay by adding iOS certificates to be able to accept Apple Pay on native mobile apps."},{href:"/app/acquiring/settings/apple-pay/update-certificate",title:n("menu.payments.addApplePayCertificate"),description:"Manage configuration of Apple Pay by updating an existing iOS certificate for Apple Pay."}
668,{href:"/app/acquiring/payment-methods/my-pms",title:n("menu.payments.paymentMethods"),description:"View and Manage payment methods in Payment Acceptance that you have enabled for your customers."},{href:"/app/acquiring/payment-methods/other-pms",title:n("menu.payments.paymentMethods"),description:"View and Manage other payment methods in Payment Acceptance that Airwallex supports but you have not enabled for your customers yet."}]:[],...t("r:awx:pa.dispute.*:*")?[{href:"/app/acquiring/dispute/list",title:n("menu.payments.disputes"),description:"View and manage all of your customers' disputes."},{href:"/app/acquiring/dispute/details/:accountId/:intentId/:disputeId",title:n("menu.payments.disputeDetails"),description:"View the details of a specific dispute, alongside with its payment information."},{href:"/app/acquiring/dispute/analytics",title:n("menu.payments.analytics"),description:"View analytics of your payment disputes, which includes diagrams of dispute rates, dispute count and dispute value, and top dispute reasons."}]:[]]}const fW=()=>{const{t:e}=sw();return Qh(hW)?[{href:"/app/kyb/payment-activation",title:e("menu.kyb.onboarding"),description:"Apply for activation of payment methods for the first time."},{href:"/app/kyb/payment-activation/add",title:e("menu.kyb.ongoing"),description:"Apply for activation of additional payment methods after the first-time setup."}]:[]},hW=rv([iH,e=>{var t;return null===(t=e.account.clientApiSettings)||void 0===t||null===(t=t.paSetting)||void 0===t?void 0:t.paState},e=>{var t;return(null===(t=e.user.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions)??[]}],((e,t,n)=>"SUCCESS"===e&&"FORBIDDEN"!==t&&Kr(n,"w:awx:pa.payment.*:*")));function mW(){return mW=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mW.apply(this,arguments)}var gW=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",mW({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M5.75 27.75V4.25C5.75 2.86932 6.86933 1.75005 8.25 1.75H19.4824C20.1454 1.75005 20.7812 2.01363 21.25 2.48242L25.5176 6.75C25.9864 7.2188 26.25 7.85461 26.25 8.51758V27.75C26.25 29.1307 25.1307 30.25 23.75 30.25H8.25C6.86929 30.25 5.75 29.1307 5.75 27.75ZM8.25 27.75H23.75V8.51758L19.4824 4.25H8.25V27.75Z",fill:n}),(0,fi.jsx)("path",{d:"M17.75 3C17.75 2.30964 18.3096 1.75 19 1.75C19.6904 1.75 20.25 2.30964 20.25 3V7.75H25C25.6904 7.75 26.25 8.30964 26.25 9C26.25 9.69036 25.6904 10.25 25 10.25H19C18.3096 10.25 17.75 9.69036 17.75 9V3Z",fill:n})]}))}));const vW=()=>{const e=(0,Yh.useLocation)(),t=Qh(oy),n=Kr(t,"r:awx:core_banking.wallet.balances.*:*"),{t:r}=sw(),o=e.pathname.includes("/app1/reports")||e.pathname.includes("/app/reports"),i=Qh(aH),a=cH(),s=function(){const{t:e}=sw(),t=Qh(oy);return[{href:"/app/reports",title:e("menu.reports.deepLinks.reportsOverview"),description:"View and generate various types of reports for your account."},...(n="r:awx:core_banking.wallet.balances.*:*",Kr(t,n)?[{href:"/app/reports/downloads",title:e("menu.reports.deepLinks.downloads"),description:"View and manage your downloaded reports."}]:[])];var n}(),l=!!(0,jr.I)();return(n&&!i||a)&&!l?{title:r("menu.reports"),icon:gW,href:"/app/reports",active:o,disabledBeforeKycSuccess:!0,ga4:{name:"click_nav_item",params:{label:"reports"}},deepLinks:s,description:"View and generate various types of reports for your account."}:null},yW=()=>{const{t:e}=sw();return[{href:"/app/rewards/dashboard",title:e("menu.rewards"),description:"View and manage your reward programmes that you are enrolled in."},{href:"/app/rewards/dashboard?campaignId={CAMPAIGN_ID}",title:e("menu.rewards.dashboard.programmeDetails"),description:"View details of your enrolled reward programme."},{href:"/app/rewards/perks",title:e("menu.rewards.partnerPerks"),description:"View exclusive perks available to you as an Airwallex customer."}]},bW=()=>{var e;const t=(0,Yh.useLocation)(),n=Qh((e=>e.account)),r=Qh((e=>e.user)),o=Qh((e=>e.org)),i=Rq(),a=ly(),s=KH(),{t:l}=sw(),c=yW();if(null!=o&&o.data)return null;const u=!s&&!i&&!a&&Lf({account:n})&&!dv((null==r||null===(e=r.data)||void 0===e||null===(e=e.enrollment)||void 0===e?void 0:e.permissions)??[]),d="/app/rewards",p=t.pathname.includes(d)||t.pathname.includes("/app1/rewards");return u?{title:l("menu.rewards"),icon:pI,href:d,active:p,disabledBeforeKycSuccess:!0,disabledForAccountWithCancelledPricingPlan:!0,description:"View and manage your rewards and partner perks.",deepLinks:c,ga4:{name:"click_nav_item",params:{label:"rewards"}}}:null};function wW(e){return Kr(e,"r:awx:gtpn.contact_management.*:*")}const xW=()=>{const e=(0,Yh.useLocation)(),t=wW(Qh(oy)),n="/app/contacts",r=e.pathname.includes(n)||e.pathname.includes("/app1/contacts"),{t:o}=sw(),i=function(){const e=Qh(oy),t=t=>Kr(e,t),{t:n}=sw();return[...t("r:awx:gtpn.transfers_v2.*:*")?[{href:"/app/contacts",title:n("menu.contacts"),description:"View your list of contacts."},{href:"/app/contacts/payer",title:n("menu.contacts.payer"),description:"View the details of a specific payer."}]:[],...t("w:awx:gtpn.transfers_v2.*:*")?[{href:"/app/contacts/new/recipient",title:n("menu.contacts.recipient.new"),description:"Create a new recipient."},{href:"/app/contacts/edit/recipient/:id",title:n("menu.contacts.recipient.edit"),description:"Edit a recipient."},{href:"/app/contacts/new/payer",title:n("menu.contacts.payer.new"),description:"Create a new payer."},{href:"/app/contacts/edit/payer/:id",title:n("menu.contacts.payer.edit"),description:"Edit a payer."}]:[]]}();return t?{title:o("menu.contacts"),description:"View and manage your contacts (account-wide)",href:n,active:r,icon:gI,ga4:{name:"click_nav_item",params:{label:"contacts"}},disabledBeforeKycSuccess:!0,deepLinks:i}:null};function kW(){return kW=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kW.apply(this,arguments)}var CW=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",kW({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M28.25 16.5352C28.25 17.2255 27.6904 17.7852 27 17.7852C26.3096 17.7852 25.75 17.2255 25.75 16.5352V8.78516H4.25V22.2852H16C16.6904 22.2852 17.25 22.8448 17.25 23.5352C17.25 24.2255 16.6904 24.7852 16 24.7852H4C2.75736 24.7852 1.75 23.7778 1.75 22.5352V8.53516C1.75 7.29252 2.75736 6.28516 4 6.28516H26C27.2426 6.28516 28.25 7.29251 28.25 8.53516V16.5352Z",fill:n}),(0,fi.jsx)("path",{d:"M16.75 15.5352C16.75 14.5687 15.9665 13.7852 15 13.7852C14.0335 13.7852 13.25 14.5687 13.25 15.5352C13.25 16.5017 14.0335 17.2852 15 17.2852C15.9665 17.2852 16.75 16.5017 16.75 15.5352ZM19.25 15.5352C19.25 17.8824
66817.3472 19.7852 15 19.7852C12.6528 19.7852 10.75 17.8824 10.75 15.5352C10.75 13.1879 12.6528 11.2852 15 11.2852C17.3472 11.2852 19.25 13.1879 19.25 15.5352Z",fill:n}),(0,fi.jsx)("path",{d:"M23 22.0352C23 22.8636 22.3284 23.5352 21.5 23.5352C20.6716 23.5352 20 22.8636 20 22.0352C20 21.2067 20.6716 20.5352 21.5 20.5352C22.3284 20.5352 23 21.2067 23 22.0352Z",fill:n}),(0,fi.jsx)("path",{d:"M28 27.0352C28 27.8636 27.3284 28.5352 26.5 28.5352C25.6716 28.5352 25 27.8636 25 27.0352C25 26.2067 25.6716 25.5352 26.5 25.5352C27.3284 25.5352 28 26.2067 28 27.0352Z",fill:n}),(0,fi.jsx)("path",{d:"M26.1161 20.6513C26.6043 20.1631 27.3955 20.1631 27.8837 20.6513C28.3718 21.1394 28.3718 21.9307 27.8837 22.4188L21.8837 28.4188C21.3955 28.907 20.6043 28.907 20.1161 28.4188C19.628 27.9307 19.628 27.1394 20.1161 26.6513L26.1161 20.6513Z",fill:n}),(0,fi.jsx)("path",{d:"M9 15.5352C9 16.2255 8.44036 16.7852 7.75 16.7852C7.05964 16.7852 6.5 16.2255 6.5 15.5352C6.5 14.8448 7.05964 14.2852 7.75 14.2852C8.44036 14.2852 9 14.8448 9 15.5352Z",fill:n}),(0,fi.jsx)("path",{d:"M23.75 15.5352C23.75 16.2255 23.1904 16.7852 22.5 16.7852C21.8096 16.7852 21.25 16.2255 21.25 15.5352C21.25 14.8448 21.8096 14.2852 22.5 14.2852C23.1904 14.2852 23.75 14.8448 23.75 15.5352Z",fill:n})]}))}));function EW(e,t){return(Kr(e,"r:awx:scale.tax_filing:view")||Kr(e,"w:awx:scale.tax_filing:edit"))&&!!t.enableTaxFilingWebapp}const SW=()=>{const e=(0,Yh.useLocation)(),t=Qh(oy),n=hn(),r=e.pathname.includes("/app/tax-filing"),o=EW(t,n),i=Qh(aH),{t:a}=sw(),s=cH();return!i&&o||s?{title:a("menu.taxFiling"),icon:CW,href:"/app/tax-filing",active:r,disabledBeforeKycSuccess:!0,ga4:{name:"click_nav_item",params:{label:"tax-filing"}},deepLinks:[{href:"/app/tax-filing/summary",title:a("menu.taxFiling.summary"),description:"View and manage your contractorsâ annual tax filings"},{href:"/app/tax-filing/settings",title:a("menu.taxFiling.settings"),description:"View your tax filing settings"}]}:null},OW=()=>{var e;const t=(0,Yh.useLocation)(),n=Qh((e=>e.account)),r=Qh(aH),{transferSettings:o}=Dx(),i=Qh(oy),a=Vf(n),s=hn(),l=a&&!(null!=n&&null!==(e=n.scaleConnectedPlatformInfo)&&void 0!==e&&null!==(e=e.featureFlags)&&void 0!==e&&e.transfers),c=qx(i),u=Wx(i,n,s),d=$x(i,n,s),p=Gx(i,o),f=d&&!(s.gtpnTransferOrgApprovalWorkflowEnabled&&(0,jr.I)()),h=[r?aq.TRANSFERS:null,c?"/app/transfers/payouts/summary":null,u?"/app/transfers/payouts/transfer-methods":null,f?"/app/approvals/transfers":null,p?"/app/transfers/payouts/settings":null].filter(Boolean),m=["/app1/transfers/payouts","/app/transfers/payouts","/app/transfers/batchDetail","/app1/transfers/batchDetail","/app/order-collection/limit-management","/app/transfers/transfer-approvals","/app/transfers/limit-management",...h].some((e=>t.pathname.includes(e))),g=[xW(),SW()].filter(Yr),v=r?[]:g,{t:y}=sw(),b=function(e){let{hasTransfersSummaryPermission:t,hasTransferMethodsPermissions:n,hasTransferApprovalsPermissions:r,hasTransferSettingsPermissions:o}=e;const i=Qh(oy),a=e=>Kr(i,e),{t:s}=sw();return[...t?[{href:"/app/transfers/payouts/summary",title:s("menu.transfers"),description:"View and manage your payouts (transfers)."},{href:"/app/transfers/batchDetail",title:s("menu.transfers.batchDetail"),description:"View the details of a specific batch transfer."}]:[],...t&&a("w:awx:gtpn.transfers_v2.*:*")?[{href:"/app/transfers/payouts/new",title:s("menu.transfers.new"),description:"Create a new transfer."},{href:"/app/transfers/payouts/edit/:transferId",title:s("menu.transfers.edit"),description:"Edit the details of an recalled transfer."},{href:"/app/transfers/batch/new",title:s("menu.transfers.batchNew"),description:"Create a new batch transfer."},{href:"/app/transfers/batch/edit/:batchId",title:s("menu.transfers.batchEdit"),description:"Edit the details of an existing batch transfer."},{href:"/app/transfers/payouts/booked/:transferId",title:s("menu.transfers.booked"),description:"View and manage your booked transfer confirmations."}]:[],...r?[{href:"/app/approvals/transfers",title:s("menu.transfers.approval"),description:"View, create, and manage transfer approval settings, workflows, and workflow change policy."}
668,{href:"/app/approvals/transfers/changelog",title:s("menu.transfers.approval.changelog"),description:"View the details of transfer approval change log."}]:[],...r&&a("w:awx:gtpn.transfer_approvals.*:*")?[{href:"/app/approvals/transfers/:id",title:s("menu.transfers.approval.edit"),description:"Edit the details of transfer approval."}]:[],...o?[{href:"/app/transfers/payouts/settings",title:s("menu.transfers.settings"),description:"Manage your transfer settings and preferences."}]:[],...n?[{href:"/app/transfers/payouts/transfer-methods",title:s("menu.transfers.transferMethods"),description:"View and manage your transfer methods."},{href:"/app/order-collection/limit-management/CN",title:s("menu.transfers.limitManagement"),description:"View the details of store and transfer limit management."},{href:"/app/order-collection/limit-management/CN/online-b2b",title:s("menu.transfers.limitManagement"),description:"View the details of store and transfer limit management."},{href:"/app/order-collection/limit-management/CN/online-b2c",title:s("menu.transfers.limitManagement"),description:"View the details of store and transfer limit management."}
668]:[],...n&&a("w:awx:gtpn.transfer_methods.*:*")?[{href:"/app/order-collection/store-connect/online-b2b",title:s("menu.transfers.limitManagement.storeConnect"),description:"View the details of store and transfer limit management."},{href:"/app/order-collection/store-connect/online-b2c",title:s("menu.transfers.limitManagement.storeConnect"),description:"View the details of store and transfer limit management."},{href:"/app/order-collection/sales-order-upload/online-b2b",title:s("menu.transfers.limitManagement.salesOrderUpload"),description:"View the details of store and transfer limit management."},{href:"/app/order-collection/sales-order-upload/online-b2c",title:s("menu.transfers.limitManagement.salesOrderUpload"),description:"View the details of store and transfer limit management."}]:[]]}({hasTransfersSummaryPermission:c,hasTransferMethodsPermissions:u,hasTransferApprovalsPermissions:f,hasTransferSettingsPermissions:p});return!l&&h.length>0?{title:y("menu.transfers"),description:"View and manage your transfers (account-wide)",href:h[0],active:m,children:v,icon:dI,ga4:{name:"click_nav_item",params:{label:"transfers"}},disabledForAccountWithCancelledPricingPlan:!0,deepLinks:b}:null};function AW(){return AW=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AW.apply(this,arguments)}var _W=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",AW({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M4.25 11.25V24.75H27.75V11.25H4.25ZM30.25 24.75C30.25 26.1307 29.1307 27.25 27.75 27.25H4.25C2.86929 27.25 1.75 26.1307 1.75 24.75V11.25C1.75 9.86929 2.86929 8.75 4.25 8.75H27.75C29.1307 8.75 30.25 9.86929 30.25 11.25V24.75Z",fill:n}),(0,fi.jsx)("path",{d:"M1.75 11V8C1.75 5.65279 3.65279 3.75 6 3.75H26.7539C27.4442 3.75008 28.0039 4.3
6680969 28.0039 5C28.0039 5.6903 27.4442 6.24992 26.7539 6.25H6C5.0335 6.25 4.25 7.0335 4.25 8V11C4.25 11.6904 3.69036 12.25 3 12.25C2.30964 12.25 1.75 11.6904 1.75 11Z",fill:n}),(0,fi.jsx)("path",{d:"M25 17.75C25 18.4404 24.4404 19 23.75 19C23.0596 19 22.5 18.4404 22.5 17.75C22.5 17.0596 23.0596 16.5 23.75 16.5C24.4404 16.5 25 17.0596 25 17.75Z",fill:n})]}))}));function PW(){return PW=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},PW.apply(this,arguments)}var jW=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",PW({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M6.25 25.625V23.709C8.43991 26.4715 11.7883 28.2499 15.5547 28.25C20.601 28.25 24.8958 25.062 26.6631 20.584C26.9165 19.9418 26.6011 19.2153 25.959 18.9619C25.3169 18.7086 24.5903 19.0239 24.3369 19.666C22.9222 23.2505 19.5101 25.75 15.5547 25.75C12.2639 25.7499 9.35201 24.0214 7.64941 21.375H10.3623C11.0527 21.375 11.6123 20.8154 11.6123 20.125C11.6123 19.4346 11.0527 18.875 10.3623 18.875H5C4.30964 18.875 3.75 19.4346 3.75 20.125V25.625C3.75 26.3154 4.3
6680964 26.875 5 26.875C5.69036 26.875 6.25 26.3154 6.25 25.625ZM15.4453 3.75C10.399 3.75 6.10418 6.93805 4.33691 11.416C4.08348 12.0582 4.39886 12.7847 5.04102 13.0381C5.68314 13.2914 6.40967 12.9761 6.66309 12.334C8.07778 8.74946 11.4899 6.25 15.4453 6.25C18.7361 6.2501 21.648 7.9786 23.3506 10.625H20.6377C19.9473 10.625 19.3877 11.1846 19.3877 11.875C19.3877 12.5654 19.9473 13.125 20.6377 13.125H26C26.6904 13.125 27.25 12.5654 27.25 11.875V6.375C27.25 5.68464 26.6904 5.125 26 5.125C25.3096 5.125 24.75 5.68464 24.75 6.375V8.29004C22.5601 5.52783 19.2114 3.75009 15.4453 3.75Z",fill:n})]}))}));function TW(){const e=Qh((e=>e.account)),{myFullLaunch:t}=hn();return{canAccountHoldFunds:"AIRWALLEX_MY"!==(null==e?void 0:e.owningEntity)||t}}const IW=()=>{const e=(0,Yh.useLocation)(),t=Qh(oy),n=Kr(t,"r:awx:fx.conversions.*:*"),r=e.pathname.includes("/app1/conversions")||e.pathname.includes("/app/conversions"),{t:o}=sw(),{canAccountHoldFunds:i}=TW(),a=function(){const e=Qh(oy),t=t=>Kr(e,t),{t:n}=sw();return[...t("r:awx:fx.conversions.*:*")?[{href:"/app/conversions",title:n("menu.conversions"),description:"Learn about conversions and how to get started."},{href:"/app/conversions/booked/:conversionId",title:n("menu.conversions.booked"),description:"View the details of a booked conversion."},{href:"/app/conversions/limit-orders",title:n("menu.conversions.limitOrders"),description:"View your list of limit orders."},{href:"/app/conversions/settings",title:n("menu.conversions.settings"),description:"View and set rate alerts when chosen currency pairs reach specified rates."}]:[],...t("w:awx:fx.conversions.*:*")?[{href:"/app/conversions/new/v2",title:n("menu.conversions.new"),description:"Create a new currency conversion."}]:[]]}();return n&&i?{title:o("menu.conversions"),icon:jW,href:"/app/conversions",active:r,ga4:{name:"click_nav_item",params:{label:"conversions"}},deepLinks:a}:null},LW=()=>{const e=(0,Yh.useLocation)(),t=Qh((e=>e.account)),n=Qh(oy),r=Ux(n,t),o=function(e,t){return!(null==t||!t.id)&&Kr(e,"w:awx:gtpn.global_accounts.*:*")}(n,t),i=e.pathname.includes("/app1/globalaccount")||e.pathname.includes("/app/globalaccount"),{t:a}=sw(),{canAccountHoldFunds:s}=TW();return r&&s?{title:a("menu.globalAccounts"),icon:rI,ga4:{name:"click_nav_item",params:{label:"global-accounts"}},href:"/app/globalaccount/accounts",active:i,deepLinks:[{href:"/app/globalaccount/accounts",title:a("menu.globalAccounts.accounts"),description:"View, manage and export your global accounts in different countries."},{href:"/app/globalaccount/accounts/:id",title:a("menu.globalAccounts.accounts.detail"),description:"View and managethe details of an Global Account."},{href:"/app/globalaccount/transactions",title:a("menu.globalAccounts.transactions"),description:"View and export transactions history of all your Global Accounts."},...o?[{href:"/app/globalaccount/accounts/new",title:a("menu.globalAccounts.accounts.new"),description:"Create a Global Account in different countries and currencies to receive funds or set up direct debits"},{href:"/app/globalaccount/opening-form/:id",title:a("menu.globalAccounts.openingForm"),description:"Apply for a AU ANZ Global Account by providing the necessary documents."}]:[]]}:null},NW=()=>{const e=(0,Yh.useLocation)(),t=Qh((e=>e.account)),n=Qh(aH),r=Qh((e=>e.user)),o=hn(),{canAccountHoldFunds:i}=TW(),{hasPermission:a,walletPagePermissions:s}=Hx({account:t,flags:o,user:r});let l="";n?l=aq.WALLET:s.balances?l="/app/wallet/balances":s.transactions?l="/app/wallet/transactions":s.linkedAccounts?l="/app/linkedaccounts/accounts":s.globalAccounts?l="/app/globalaccount/accounts":s.conversions&&(l="/app/conversions");const c=!e.pathname.includes("/org/")&&(e.pathname.includes(aq.WALLET)||e.pathname.includes("/app1/wallet")||e.pathname.includes("/app/wallet")||e.pathname.includes("/app/linkedaccounts"));let u=[LW(),IW()].filter(Yr).map((e=>({...e,disabledBeforeKycSuccess:!0})));(n||cm(null==t?void 0:t.owningEntity,o))&&(u=[]);const{t:d}=sw(),p=function(){var e;const{t}=sw(),n=Qh((e=>e.account)),{goodsTradeOnline:r,goodsTradeOnlineB2B:o,goodsTradeOffline:i}=(null==n||null===(e=n.clientApiSettings)||void 0===e?void 0:e.chinaInboundSettings)||{},a=(null==r?void 0:r.payment)||(null==o?void 0:o.enabled)||(null==i?void 0:i.enabled),s=Qh(oy),l=Qh((e=>{var t;return null===(t=e.user.data)||void 0===t||null===(t=t.roles)||void 0===t?void 0:t.some((e=>e.id===mv))})),c=e=>Kr(s,e),u=e=>e.every((e=>Kr(s,e))),d=c("r:awx:core_banking.wallet.balances.*"),p=u(["r:awx:gtpn.global_accounts.*","w:awx:gtpn.global_accounts.*","r:awx:core_banking.wallet.balances.*","w:awx:core_banking.wallet.balances.*","r:awx:gtpn.connected_stores.*","w:awx:gtpn.connected_stores.*"]),f=u(["r:awx:gtpn.global_accounts.*","w:awx:gtpn.global_accounts.*"]),h=d||p||f;return[{href:"/app/wallet/balances/prepayment/:ccy",title:t("menu.wallet.deepLinks.prepaymentBalance"),description:"View the details of your prepayment balance for a specific currency."},{href:"/app/add-funds/method",title:t("menu.addFunds.method"),description:"Add funds to your wallet by selecting a method."},{href:"/app/add-funds/summary",title:t("menu.addFunds.summary"),description:"Review and confirm the details to add funds to your wallet."},{href:"/app/add-funds/airwallex-pay",title:t("menu.addFunds.airwallexPay"),description:"Add funds to your wallet through Airwallex Pay."},...c("w:awx:system.accounts.*")?[{href:"/app/linkedaccounts/contact-info",title:t("menu.linkedAccounts.contactInfo"),description:"View and manage your linked external bank account contact information."}]:[],...c("w:awx:gtpn.transfers_v2.*:*")&&a?[{href:"/app/linkedaccounts/new/CN",title:t("menu.linkedAccounts.heading"),description:"Add a new linked external bank account in China."}]:[],...c("r:awx:gtpn.linked_accounts.*")?[{href:"/app/linkedaccounts/accounts",title:t("menu.linkedAccounts.accounts"),description:"View and manage your linked external bank accounts."}]:[],...c("w:awx:gtpn.linked_accounts.*")?[{href:"/app/linkedaccounts/bank-statement/verify",title:t("menu.linkedAccounts.bankStatementVerify"),description:"Verify your bank statement."},{href:"/app/add-funds/direct-debit",title:t("menu.linkedAccounts.directDebit"),description:"Add funds to your wallet through direct debit."},{href:"/app/add-funds/direct-debit/:id",title:t("menu.linkedAccounts.directDebitSuccess"),description:"The direct debit success screen after you create a direct debit deposit."},{href:"/app/linkedaccounts/create",title:t("menu.linkedAccounts.heading"),description:"Add a new linked account. Link your external bank account now to easily add funds to Airwallex."}]:[],...d?[{href:"/app/wallet/balances",title:t("menu.balances"),description:"View and manage your wallet balances, including cash balances, credit accounts and yield."},{href:"/app/wallet/balances/config",title:t("menu.wallet.deepLinks.configuration"),description:"Configure your wallet preferences, select which currencies you would like to view in your wallet."},{href:"/app/wallet/balances/cash/:ccy",title:t("menu.wallet.deepLinks.cashBalanceDetails"),description:"View the details of your cash balance for a specific currency."}]:[],...h?[{href:"/app/wallet/settings",title:t("menu.settings"),description:"Manage your wallet settings and preferences, including Direct debit mandates, and low balance alert settings."}]:[],...c("r:awx:treasury_management.wallet.transactions.*:*")?[{href:"/app/wallet/transactions",title:t("transactions"),description:"View your wallet transaction history."}]:[],...c("r:awx:yield.investor.*")?[{href:"/app/wallet/balances/yield/:ccy",title:t("menu.wallet.yield.balanceDetails"),description:"View the details of your yield balance and earnings."},{href:"/app/wallet/balances/yield/:ccy/statements",title:t("menu.wallet.yield.balanceStatements"),description:"View the monthly statements of your yield account."},{href:"/app/wallet/balances/yield/ineligible",title:t("menu.wallet.yield.ineligible"),description:"View the reasons if your account is not eligible for yield."}]:[],...c("w:awx:yield.investor.*")?[{href:"/app/wallet/balances/yield/ad
668d-funds",title:t("menu.wallet.yield.addFunds"),description:"Add funds to your yield investment."},{href:"/app/wallet/balances/yield/withdraw",title:t("menu.wallet.yield.withdraw"),description:"Withdraw funds from your yield investment."}]:[],...l&&c("w:awx:yield.investor.*")?[{href:"/app/wallet/balances/yield/onboarding",title:t("menu.wallet.yield.onboarding"),description:"Set up your yield investment account (requires Owner role)."},{href:"/app/wallet/balances/yield/onboarding/reschedule",title:t("menu.wallet.yield.rescheduleOnboarding"),description:"Reschedule your yield onboarding verification appointment."}]:[],...c("r:awx:credit.loan_account.*")?[{href:"/app/wallet/balances/lending/details/:loanAccountId",title:t("menu.lending.details"),description:"View your credit account balance, payment information, and transaction history."}]:[],...l&&c("r:awx:credit.loan_account.*")?[{href:"/app/wallet/balances/lending/onboarding",title:t("menu.lending.onboarding"),description:"Review and accept your credit offer to activate your credit account."}]:[],...u(["r:awx:credit.loan_account.*","w:awx:credit.loan_account.*"])?[{href:"/app/wallet/balances/lending/repayment/:loanAccountId",title:t("menu.lending.repayment"),description:"Make a repayment towards your credit balance."}]:[]]}();return a?{title:d(i?"menu.wallet":"menu.wallet_my"),icon:_W,href:l,active:c,children:u,ga4:{name:"click_nav_item",params:{label:i?"wallet":"wallet-my"}},description:"Manage your wallet, including cash balances, credit accounts, transactions and yield.",deepLinks:p}:null};function RW(){return RW=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RW.apply(this,arguments)}var DW=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",RW({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M7.9502 4.25V26.2617L8.88184 25.4551L8.97266 25.3838C9.43801 25.0501 10.0782 25.0737 10.5186 25.4551L12.7002 27.3457L14.8818 25.4551L14.9727 25.3838C15.438 25.0501 16.0782 25.0737 16.5186 25.4551L18.7002 27.3457L20.8818 25.4551L20.9727 25.3838C21.438 25.0501 22.0782 25.0737 22.5186 25.4551L23.4502 26.2617V4.25H7.9502ZM25.9502 29C25.9502 29.4893 25.6647 29.9334 25.2197 30.1367C24.7746 30.34 24.2517 30.2648 23.8818 29.9443L21.7002 28.0537L19.5186 29.9443C19.0487 30.3515 18.3517 30.3515 17.8818 29.9443L15.7002 28.0537L13.5186 29.9443C13.0487 30.3515 12.3517 30.3515 11.8818 29.9443L9.7002 28.0537L7.51855 29.9443C7.14872 30.2648 6.62583 30.34 6.18066 30.1367C5.73571 29.9334 5.4502 29.4893 5.4502 29V4.25C5.4502 2.86929 6.56948 1.75 7.9502 1.75H23.4502C24.8309 1.75 25.9502 2.86929 25.9502 4.25V29Z",fill:n}),(0,fi.jsx)("path",{d:"M11.7002 11.75C12.3906 11.75 12.9502 12.3096 12.9502 13C12.9502 13.6904 12.3906 14.25 11.7002 14.25L10.7002 14.25C10.0098 14.25 9.4502 13.6904 9.4502 13C9.4502 12.3096 10.0098 11.75 10.7002 11.75L11.7002 11.75Z",fill:n}),(0,fi.jsx)("path",{d:"M11.7002 16.75C12.3906 16.75 12.9502 17.3096 12.9502 18C12.9502 18.6904 12.3906 19.25 11.7002 19.25H10.7002C10.0098 19.25 9.4502 18.6904 9.4502 18C9.4502 17.3096 10.0098 16.75 10.7002 16.75H11.7002Z",fill:n}),(0,fi.jsx)("path",{d:"M11.7002 6.75C12.3906 6.75 12.9502 7.30964 12.9502 8C12.9502 8.69036 12.3906 9.25 11.7002 9.25H10.7002C10.0098 9.25 9.4502 8.69036 9.4502 8C9.4502 7.30964 10.0098 6.75 10.7002 6.75H11.7002Z",fill:n}),(0,fi.jsx)("path",{d:"M20.7002 11.75C21.3906 11.75 21.9502 12.3096 21.9502 13C21.9502 13.6904 21.3906 14.25 20.7002 14.25L15.7002 14.25C15.0098 14.25 14.4502 13.6904 14.4502 13C14.4502 12.3096 15.0098 11.75 15.7002 11.75L20.7002 11.75Z",fill:n}),(0,fi.jsx)("path",{d:"M20.7002 16.75C21.3906 16.75 21.9502 17.3096 21.9502 18C21.9502 18.6904 21.3906 19.25 20.7002 19.25H15.7002C15.0098 19.25 14.4502 18.6904 14.4502 18C14.4502 17.3096 15.0098 16.75 15.7002 16.75H20.7002Z",fill:n}),(0,fi.jsx)("path",{d:"M20.7002 6.75C21.3906 6.75 21.9502 7.30964 21.9502 8C21.9502 8.69036 21.3906 9.25 20.7002 9.25H15.7002C15.0098 9.25 14.4502 8.69036 14.4502 8C14.4502 7.30964 15.0098 6.75 15.7002 6.75H20.7002Z",fill:n})]}))}));const FW=()=>{var e;const{t}=sw(),n=(0,Yh.useLocation)(),r=Qh((e=>e.account)),{salesOrderCustomerMigration:o}=hn(),i=!(null==r||null===(e=r.clientApiSettings)||void 0===e||null===(e=e.chinaInboundSettings)||void 0===e||null===(e=e.goodsTradeOffline)||void 0===e||!e.enabled),a=Qh(oy),s=Kr(a,"r:awx:gtpn.transfers_v2.*:*"),l=i&&s&&!o,c=["/app1/customers","/app/customers"].some((e=>n.pathname.startsWith(e)));return l?{title:t("menu.customers"),href:"/app/customers/summary",active:c,icon:gI,ga4:{name:"click_nav_item",params:{label:"customers"}},disabledBeforeKycSuccess:!0}:null},MW=()=>{var e;const{t}=sw(),n=(0,Yh.useLocation)(),r=Qh((e=>e.account)),o=!(null==r||null===(e=r.clientApiSettings)||void 0===e||null===(e=e.chinaInboundSettings)||void 0===e||null===(e=e.goodsTradeOffline)||void 0===e||!e.enabled),i=Qh(oy),a=Kr(i,"r:awx:gtpn.transfers_v2.*:*"),s=o&&a,l=[FW()].filter(Yr),c=["/app1/sales-orders","/app/sales-orders"].some((e=>n.pathname.startsWith(e))),u=function(){var e;const t=Qh(oy),n=e=>Kr(t,e),r=Qh((e=>e.account)),{goodsTradeOffline:o}=(null==r||null===(e=r.clientApiSettings)||void 0===e?void 0:e.chinaInboundSettings)||{},{t:i}=sw();return[...o&&n("r:awx:gtpn.transfers_v2.*:*")?[{href:"/app/sales-orders/summary",title:i("menu.salesOrders"),description:"View your list of sales orders."},{href:"/app/sales-orders/:id",title:i("menu.salesOrders.detail"),description:"View the details of a specific sales order."}]:[],...o&&n("w:awx:gtpn.transfers_v2.*:*")?[{href:"/app/sales-orders/new",title:i("menu.salesOrders.new"),description:"Create a new sales order."},{href:"/app/sales-orders/edit/:id",title:i("menu.salesOrders.edit"),description:"Edit a sales order."},{href:"/app/sales-orders/:orderId/fulfillment/new",title:i("menu.salesOrders.fulfillment.new"),description:"Create a new fulfillment for a specific sales order."},{href:"/app/sales-orders/:orderId/fulfillment/edit/:fulfillmentId",title:i("menu.salesOrders.fulfillment.edit"),description:"Edit a fulfillment for a specific sales order."}]:[]]}();return s?{title:t("menu.salesOrders"),href:"/app/sales-orders/summary",active:c,children:l,icon:DW,ga4:{name:"click_nav_item",params:{label:"sales-orders"}},disabledBeforeKycSuccess:!0,deepLinks:u}:null},BW="/app/platform-console",VW="/connected-accounts/list",zW=`${VW}?id=[ACCOUNT_ID]`,UW="/rfi/list",HW=`${UW}?rfiSessionId=[RFI_SESSION_ID]`,qW="/transactions/list",WW=`${qW}?transactionId=[TRANSACTION_ID]`,$W=e=>{var t;let{permissions:n,account:r,orgHasPlatformAccount:o=!1}=e;const i=(null===(t=r.scaleModel)||void 0===t?void 0:t.scaleAccountType)===Ow.SCALE_PLATFORM||!!(0,jr.I)()&&o;return Kr(n,"r:awx:scale.platform_console.entry:view")&&i},GW=e=>{let{permissions:t}=e;
668return Kr(t,"r:awx:scale.platform_console:list")},KW=e=>{let{permissions:t}=e;return Kr(t,"r:awx_action:platform_console.rfi_view:*")},ZW=e=>{let{permissions:t}=e;return Kr(t,"r:awx_action:platform_console.transaction_view:*")},YW=()=>{const{t:e}=sw(),t=(0,Yh.useLocation)(),n=Qh((e=>e.account)),r=Qh(oy),o=$W({account:n,permissions:r}),i=t.pathname.startsWith(BW),a=(e=>{const{t}=sw();return(0,jr.I)()?[]:[...GW({permissions:e})?[{title:t("menu.connectedAccounts.accounts"),href:`${BW}${VW}`,description:"View key details of all connected accounts, including onboarding status, KYC information, payment activation status, balances and more (as a platform)"},{title:t("menu.connectedAccounts.accountDetails"),href:`${BW}${zW}`,description:"View a connected account details, including onboarding status, KYC information, global accounts information, linked accounts, balances, transactions, RFI, payments and more (as a platform)"}]:[],...KW({permissions:e})?[{title:t("menu.connectedAccounts.rfiCenter"),href:`${BW}${UW}`,description:"View and respond to connected accounts RFI (as a platform)"},{title:t("menu.connectedAccounts.rfiDetails"),href:`${BW}${HW}`,description:"View single connected account RFI details with RFI session ID (as a platform)"}]:[],...ZW({permissions:e})?[{title:t("menu.connectedAccounts.transactions"),href:`${BW}${qW}`,description:"View connected accounts transaction details for all products (as a platform)"},{title:t("menu.connectedAccounts.transactionDetails"),href:`${BW}${WW}`,description:"View single connected account transaction details with transaction ID (as a platform)"}]:[]]})(r);return(0,jr.I)()?null:o?{title:e("menu.connectedAccounts"),href:BW,description:"View and manage your connected accounts (as a platform)",active:i,icon:GL,deepLinks:a,ga4:{name:"click_nav_item",params:{label:"connected-accounts"}},disabledBeforeKycSuccess:!0}:null},XW=()=>{const e=Qh((e=>e.org.data)),t=Qh((e=>{var t;return"SUSPENDED"===(null===(t=e.user.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.enrollmentStatus)})),n=!!e,r=hn(),o=xH(),i=OH(),a=(()=>{const e=(0,Yh.useLocation)(),t=Qh(aH),n=Qh(oy),r=ek(),o=Eq(n,r),{isCardUserOnly:i,isCardAdmin:a}=Oq(n,r)??{},s=t?aq.CARDS:"/app/cards",l=[s,s.replace("/app/","/app1/")],{t:c}=sw(),u=l.some((t=>(0,Yh.matchPath)(e.pathname,{path:t})))&&!Iq.some((t=>(0,Yh.matchPath)(e.pathname,{path:t}))),d=cH();return o||d?{title:c("menu.cards"),icon:Cq,href:s,description:a?"View and manage all cards across the organization as an administrator":"View and manage your personal cards and company cards",active:u,ga4:{name:"click_nav_item",params:{label:"cards"}},deepLinks:[..._q(c),...i?Pq(c):[],...a?jq(c):[]]}:null})(),s=uH(),l=!!Qh((e=>{var t;return null===(t=e.org.data)||void 0===t?void 0:t.tierType})),c=n&&!l?s:null,u=n?o:null,d=Ix(e,r.spendCardsCardsMovedToOrg)?null:a,p=[Dq(),YW(),NW(),OW(),MW(),d,Bq(),xq(),dW(),vW(),bW(),eq(),u,n?i:null,rq(),c].filter(Yr);return t?[]:p},QW=[];function JW(e){var t;return(null===(t=e.user.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions)??QW}function e$(){return Qh(JW)}const t$="/plan-billing",n$=()=>{const{t:e}=sw(),t=e$(),n=wq(t$),r=!!Qh((e=>{var t;return null===(t=e.org.data)||void 0===t?void 0:t.tierType})),o=Kr(t,"r:org:billing_center.billing_details:view");return r&&o?{title:e("menu.org.planBilling"),description:"View your current plan details, and invoices",icon:GH,href:`/app${t$}`,active:n,ga4:{name:"click_nav_item",params:{label:"plan-billing"}},deepLinks:ro(t,!0)}:null},r$="/uam",o$=()=>{const{t:e}=sw(),t=Qh((e=>e.org.data)),n=e$(),r=wq(r$),o=Kr(n,"r:org:uam.users:view"),i=Kr(n,"w:org:settings.legal_entities:create")&&"ACCELERATE"===(null==t?void 0:t.tierType),a=hH("menu.org.uam");return o?{title:e(a),icon:pH,href:`/app${r$}/users`,description:"Manage users for your organization.",active:r,deepLinks:[{href:"/app/uam/roles",title:e("menu.org.uam.roles"),description:"View and manage roles for your organization."},{href:"/app/uam/fields",title:e("menu.org.uam.fields"),description:"Create and manage the fields and values available in user management and spend approval workflows."},{href:"/app/uam/users/invite",title:e("menu.org.uam.inviteUsers"),description:"Invite a new user to your organization."},{href:"/app/uam/roles/create",title:e("menu.org.uam.createRole"),description:"Create a new custom role for your organization by defining permissions and access levels through the role creation interface."},{href:"/app/uam/roles/edit/:roleId",title:e("menu.org.uam.editRole"),description:"Edit an existing role for your organization."},...i?[{href:"/app/uam/entity/create",title:e("menu.org.uam.createEntity"),description:"Create a new entity for your organization."}]:[]]}:null},i$="/spend/connection",a$=()=>{const{t:e}=sw(),t=e$(),n=wq(YH),r=wq(i$),o=n||r,i=Kr(t,"r:org:ecosystem.integrations:view"),a=[{href:`${XH}`,title:e("menu.connections.title"),description:"Home page for connections"},{href:`${XH}/:provider(amazon|amazonvendorcentral|ebay|shopify|lazada|fnac|woocommerce|shopee|shoplazza|magento|shopline|icbu|tiktokshop|mercadolibre|shein)?`,title:e("menu.connections.title"),description:"Detail pages for marketplace platforms"},{href:`${XH}/org/setup/:platform`,title:e("menu.connections.title.setup.accountingProvider"),description:"Setup page for org-level accounting providers"},{href:`${XH}/:platform(bamboohr|sagehr|hibobhr|alexishr|alterahr|breathehr|charliehr|charthophr|dayforcehr|deelhr|factorialhr|freshteamhr|hrcloudhr|hrpartnerhr|humaanshr|intellihr|jumpcloudhr|kallidushr|lanohr|luccahr|namelyhr|nmbrshr|officienthr|oktahr|oneloginhr|paycaptainhr|paychexhr|peoplehr|personiohr|prolianthr|sagepeoplehr|sapsfhr|sesamehr|squarepayrollhr|ukgdimensionshr|ukgprohr|ukgreadyhr|webhr|workdayhr|zenef
668itshr|zelthr|employmentherohr)/settings`,title:e("menu.connections.title"),description:"Settings page for third party HRIS providers"},{href:`${XH}/xero/:capability`,title:e("menu.connections.title"),description:"Detail pages for different Xero capabilities"},{href:`${XH}/:oauthProvider(hubspot|mybank|sage-bank-feed|exact)`,title:e("menu.connections.title"),description:"Detail pages for other third party providers"},{href:`${XH}/netsuite/:capability`,title:e("menu.connections.title"),description:"Detail pages for different NetSuite capabilities"},{href:`${XH}/quickbooks/:capability`,title:e("menu.connections.title"),description:"Detail pages for different QuickBooks capabilities"},{href:`${XH}/walmart/:integration`,title:e("menu.connections.title"),description:"Detail pages for different Walmart integrations"},{href:`${XH}/:branding(xero|quickbooks|netsuite|walmart|msbc)`,title:e("menu.connections.title"),description:"Branding pages for different accounting providers"},{href:`${XH}/ecosystem/:appKey`,title:e("menu.connections.title"),description:"Detail pages for different oauth applications"},{href:`${XH}/lending/:appKey`,title:e("menu.connections.title"),description:"Detail pages for different lending applications"},{href:`${XH}/xero/expense/:accountingDataType`,title:e("menu.connections.title.xero.expense.accountingData"),description:"Accounting data configuration pages for Xero"},{href:`${XH}/org/xero/:capability/connect`,title:e("menu.connections.title.setup.xero"),description:"Setup pages for org-level Xero capabilities"},{href:`${XH}/org/quickbooks/:capability/connect`,title:e("menu.connections.title.setup.quickbooks"),description:"Setup pages for org-level QuickBooks capabilities"},{href:`${XH}/org/netsuite/:capability/connect`,title:e("menu.connections.title.setup.netsuite"),description:"Setup pages for org-level NetSuite capabilities"},{href:`${XH}/quickbooks/accounting/:step`,title:e("menu.connections.title.quickbooks.expense.accountingData"),description:"Accounting data configuration pages for QuickBooks"},{href:`${XH}/custom-accounting-data`,title:e("menu.connections.title"),description:"Detail page for the custom accounting data"},{href:`${XH}/netsuite/accounting/:step`,title:e("menu.connections.title.netsuite.expense"),description:"Accounting data configuration pages for NetSuite"},{href:`${ZH}${YH}/oauth-tokenio/consent`,title:e("menu.connections.title.oauth.tokenio"),description:"Consent page for oauth tokenIO"},{href:`${XH}/accept-access-grant`,title:e("menu.connections.title.oauth.consent"),description:"Accept access grant page for oauth applications"},{href:`${XH}/logeecom/accept-access-grant`,title:e("menu.connections.title.oauth.consent"),description:"Accept access grant page for Logeecom"},{href:`${XH}/connect-success/:appName`,title:e("menu.connections.title.oauth.consent"),description:"Connect success page for oauth applications"},{href:`${XH}/sage-bank-feed/auth`,title:e("menu.connections.title.setup.sage"),description:"Connect page for Sage bank feed"},{href:`${XH}/sage-bank-feed/authrefresh`,title:e("menu.connections.title.sage.refreshConnection"),description:"Reconnect page for Sage bank feed"},{href:`${XH}/connect-marketplace/:provider(tiktokshop|amazon|amazonvendorcentral|lazada|shopify|shein)`,title:e("menu.connections.title.connect.marketplace"),description:"Select country page for marketplace platforms"},{href:`${XH}/tiktokshop/accept-access-grant`,title:e("menu.connections.title.oauth.consent"),description:"Accept access grant page for TikTok Shop"},{href:`${XH}/quickbooks/payments-feed`,title:e("menu.connections.title"),description:"Detail page for QuickBooks payments feed"},{href:`${XH}/:mailProvider(gmail|outlook)`,title:e("menu.connections.title"),description:"Detail page for different mail providers"},{href:`${XH}/pennylane/bank-feeds`,title:e("menu.connections.title"),description:"Detail page for org-level Pennylane bank feeds"},{href:`${XH}/pennylane/bank-feeds/connect`,title:e("menu.connections.title"),description:"Setup page for org-level Pennylane bank feeds"},{href:`${XH}/priority/bank-feeds`,title:e("menu.connections.title"),description:"Detail page for org-level Priority bank feeds"},{href:`${XH}/priority/bank-feeds/connect`,title:e("menu.connections.title"),description:"Setup page for org-level Priority bank feeds"},{href:`${XH}/msbc/:capability(bank-feed|expense)`,title:e("menu.connections.title"),description:"Detail pages for org-level Microsoft Business Central capabilities"},{href:`${XH}/setup-connection/msbc/:capability(bank-feed|expense)/connect`,title:e("menu.connections.title"),description:"Setup pages for org-level Microsoft Business Central capabilities"},{href:`${XH}/slack`,title:e("menu.connections.title"),description:"Detail page for org-level Slack OAuth"},{href:`${XH}/oktasecurity`,title:e("menu.connections.title"),description:"Detail page for org-level Okta SSO"},{href:`${XH}/marketplace-oauth/:platform`,title:e("menu.connections.title.connect.marketplace"),description:"OAuth callback page for marketplace platforms"},{href:`${ZH}${i$}/:platform`,title:e("menu.connections.title"),description:"Spend connection settings pages for accounting providers"}];return i?{title:e("menu.org.connections"),icon:GH,href:XH,active:o,description:"View and manage all third party integrations across your organization (not just for the current account)",deepLinks:a}:null};function s$(e){var t;return!!((0,jr.I)()&&e&&"OrgAuthContext"===(null===(t=e.authContext)||void 0===t?void 0:t.__typename)&&"org"in e.authContext)&&!!e.authContext.org.requestsPricingAvailable}const l$="/app/dashboard-org",c$=()=>{const e=e$(),{billsConfig:t,expenseConfig:n,vendorsConfig:r,purchaseOrdersConfig:o}=Dx(),i=Qh(Jv),a=(null==i?void 0:i.isBusinessAccountsEnabled)??!1,s=sq(t),l=qH(n),c=sq(r),u=sq(o),d=s$(n),p=l&&BH({orgPermissions:e}),f=s&&VH({orgPermissions:e}),h=c&&zH({orgPermissions:e}),m=d&&UH({orgPermissions:e}),g=u&&HH({orgPermissions:e}),v="/spend/approvals",y=`/app${v}
668`,b=wq(v),w=wq("/approvals/transfers"),{t:x}=sw(),k=a?[{href:`${l$}?settings=spend%2Fexpenses`,title:x("menu.org.approvals.expenses"),description:"View and configure expense approval settings (card expenses and reimbursements) for your organization."}]:[{href:`${y}/card-expenses`,title:x("menu.org.approvals.card-expenses"),description:"View and configure card expense approval settings for your organization."},{href:`${y}/reimbursements`,title:x("menu.org.approvals.reimbursements"),description:"View and manage reimbursement approval settings for your organization."}],C=[...p?[...k,{href:`${y}/card-expenses/new`,title:x("menu.org.approvals.card-expenses.edit"),description:"Create a new expense approval workflow for your organization."},{href:`${y}/reimbursements/new`,title:x("menu.org.approvals.reimbursements.edit"),description:"Create a new reimbursement approval workflow for your organization."}]:[],...f?[{href:a?`${l$}?settings=spend%2Fbills`:`${y}/bills`,title:x("menu.org.approvals.bills"),description:"View and manage bill approval settings for your organization."},{href:`${y}/bills/new`,title:x("menu.org.approvals.bills.edit"),description:"Create a bill approval workflow for your organization."}]:[],...h?[{href:`${y}/vendors`,title:x("menu.org.approvals.vendors"),description:"View and manage vendor approval settings for your organization."},{href:`${y}/vendors/new`,title:x("menu.org.approvals.vendors.new"),description:"Create a new vendor approval workflow for your organization."},{href:`${y}/vendors/:id`,title:x("menu.org.approvals.vendors.edit"),description:"Edit vendor approval settings for your organization."}]:[],...m?[{href:a?`${l$}?settings=spend%2Fcards`:`${y}/spend-requests`,title:x("menu.org.approvals.spendRequests"),description:"View and manage card request approval settings for your organization."},{href:`${y}/spend-requests/new`,title:x("menu.org.approvals.spendRequests.edit"),description:"Create a new card request approval workflow for your organization."}]:[],...g?[{href:a?`${l$}?settings=spend%2Fpurchase-orders`:`${y}/purchase-requests`,title:x("menu.org.approvals.purchaseRequests"),description:"View and manage purchase order request approval settings for your organization."},{href:`${y}/purchase-requests/new`,title:x("menu.org.approvals.purchaseRequests.edit"),description:"Create a new purchase order request approval workflow for your organization."}]:[]];return p||f||h||m||g?{title:x("menu.org.approvals"),icon:sI,href:y,active:b&&!w,deepLinks:C}:null},u$="/transfers/approvals";function d$(e){var t;return(e=>{let{allAccountPermissionsInOrg:t}=e;return Kr(t,"r:awx:gtpn.transfer_approvals.*:*")})({allAccountPermissionsInOrg:(null===(t=e.user.data)||void 0===t?void 0:t.allAccountPermissionsInOrg)??[]})}const p$=()=>{const e=Qh(d$),t=hn(),n=Qh(Jv),r=(null==n?void 0:n.isBusinessAccountsEnabled)??!1,{t:o}=sw(),i=wq(u$);return t.gtpnTransferOrgApprovalWorkflowEnabled&&!r&&e?{title:o("menu.org.approvals.transfers"),href:`/app${u$}`,active:i,deepLinks:[{href:`/app${u$}`,title:o("menu.org.approvals.transfers"),description:"View the details of transfer approval."},{href:`/app${u$}/changelog`,title:o("menu.transfers.approval.changerequests"),description:"View the details of transfer approval change requests."}]}:null},f$="/theme",h$=()=>{const{t:e}=sw(),t=e$(),n=wq(f$);if(!Kr(t,"r:org:themes:view"))return null;const r=`/app${f$}`;return{title:e("menu.org.theme"),description:"Configure themes for your organization.",icon:GH,href:r,active:n,ga4:{name:"click_nav_item",params:{label:"theme"}},deepLinks:[{href:`${r}/management`,title:e("menu.org.theme.management"),description:"View and manage themes for your organization."},{href:`${r}/create`,title:e("menu.org.theme.create"),description:"Create a new theme for your organization."},{href:`${r}/edit/:id`,title:e("menu.org.theme.edit"),description:"Edit an existing theme for your organization."}]}},m$="/org/settings",g$="orgSettings",v$=()=>{const e=e$(),{t}=sw(),n=Qh(Jv),r=(null==n?void 0:n.isBusinessAccountsEnabled)??!1,o=Kr(e,"r:org:settings.legal_entities:*"),i=wq(m$),a=[o$(),c$(),p$(),a$(),h$(),n$()].filter(Yr);return r?{id:g$,title:t("menu.org.settings"),icon:SH,href:`/app${m$}`,description:"View and manage organisation settings, including organization accounts and entities",active:i,ga4:{name:"click_nav_item",params:{label:"settings"}},deepLinks:a.flatMap((e=>null==e?void 0:e.deepLinks)).filter((e=>void 0!==e))}:a.length>0||o?{id:g$,title:t("menu.org.settings"),icon:SH,href:`/app${m$}`,description:"View and manage organisation settings, including organization accounts and entities",active:i,children:a,ga4:{name:"click_nav_item",params:{label:"settings"}}}:null},y$=()=>{var e;return(null===(e=Qh(Jv))||void 0===e?void 0:e.hasKycPassedEntity)??!1},b$=()=>{const e=(0,Yh.useLocation)(),t=hn(),n=Qh((e=>
668e.org.data)),r=e$(),o="/app/developer/org",i=[o].some((t=>(0,Yh.matchPath)(e.pathname,{path:t}))),a=wH({userPermissions:r,flags:t}),s=y$(),{t:l}=sw();return a&&n?{title:l("menu.developer"),icon:aI,href:o,active:i,disabledBeforeKycSuccess:!s,ga4:{name:"click_nav_item",params:{label:"developer"}}}:null};function w$(){return w$=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w$.apply(this,arguments)}var x$=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",w$({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M24.75 23.7059V12.7059C24.75 12.0155 25.3096 11.4559 26 11.4559C26.6904 11.4559 27.25 12.0155 27.25 12.7059V23.7059C27.25 24.3962 26.6904 24.9559 26 24.9559C25.3096 24.9559 24.75 24.3962 24.75 23.7059Z",fill:n}),(0,fi.jsx)("path",{d:"M11.5 23.7059L11.5 12.7059C11.5 12.0155 12.0596 11.4559 12.75 11.4559C13.4404 11.4559 14 12.0155 14 12.7059L14 23.7059C14 24.3962 13.4404 24.9559 12.75 24.9559C12.0596 24.9559 11.5 24.3962 11.5 23.7059Z",fill:n}),(0,fi.jsx)("path",{d:"M18 23.7059V12.7059C18 12.0155 18.5596 11.4559 19.25 11.4559C19.9404 11.4559 20.5 12.0155 20.5 12.7059V23.7059C20.5 24.3962 19.9404 24.9559 19.25 24.9559C18.5596 24.9559 18 24.3962 18 23.7059Z",fill:n}),(0,fi.jsx)("path",{d:"M4.75 23.7059V12.7059C4.75 12.0155 5.30964 11.4559 6 11.4559C6.69036 11.4559 7.25 12.0155 7.25 12.7059V23.7059C7.25 24.3962 6.69036 24.9559 6 24.9559C5.30964 24.9559 4.75 24.3962 4.75 23.7059Z",fill:n}),(0,fi.jsx)("path",{d:"M16.2764 4.15899C16.0991 4.08887 15.9009 4.08887 15.7236 4.15899L4.25 8.69707V10.4559H27.75V8.69707L16.2764 4.15899ZM30.25 11.7059C30.25 12.3962 29.6904 12.9559 29 12.9559H3C2.30964 12.9559 1.75 12.3962 1.75 11.7059V8.52813C1.75016 7.60527 2.31379 6.77597 3.17188 6.43633L14.8047 1.83477C15.5727 1.53099 16.4273 1.53099 17.1953 1.83477L28.8281 6.43633C29.6862 6.77597 30.2498 7.60527 30.25 8.52813V11.7059Z",fill:n}),(0,fi.jsx)("path",{d:"M4.25 25.2501V27.7501H27.75V25.2501H4.25ZM30.25 27.7501C30.25 29.1308 29.1307 30.2501 27.75 30.2501H4.25C2.86929 30.2501 1.75 29.1308 1.75 27.7501V25.2501C1.75 23.8693 2.86929 22.7501 4.25 22.7501H27.75C29.1307 22.7501 30.25 23.8693 30.25 25.2501V27.7501Z",fill:n})]}))}));const k$="/wallet/org",C$=()=>{var e;const t=Qh((e=>e.user)),n=Qh((e=>e.account)),r=Qh((e=>{var t;return"SASE"===(null===(t=e.org.data)||void 0===t?void 0:t.orgType)})),o=null===(e=Qh(Jv))||void 0===e?void 0:e.isBusinessAccountsEnabled,i=hn(),{t:a}=sw(),{hasOrgPermission:s,walletPagePermissions:l}=Hx({flags:i,account:n,user:t,isOrg:!0}),c=wq(k$);let u="";u=l.balances?`/app${k$}/balances`:l.transactions?`/app${k$}/transactions`:`/app${k$}/balances`;const d=cH(),p=y$(),f=d&&!p,h=function(){const{t:e}=sw(),t=Qh(oy),n=e=>Kr(t,e);return[...n("r:awx:core_banking.wallet.balances.*:*")?[{href:"/app/wallet/org/balances",title:e("menu.orgBalances.deepLinks.balances"),description:"View the wallet balances for your entire organization."}]:[],...n("r:awx:treasury_management.wallet.transactions.*:*")?[{href:"/app/wallet/org/transactions",title:e("menu.orgBalances.deepLinks.transactions"),description:"View the wallet transaction history for your entire organization."}]:[],...n("w:awx_action:aggregate_funds.*")?[{href:"/app/wallet/org/aggregate-funds",title:e("menu.orgBalances.deepLinks.aggregateFunds"),description:"Combine funds from multiple accounts in your organization."}]:[]]}();return r||o?null:s?{title:a("menu.org.balances"),icon:x$,href:u,active:c,disabledBeforeKycSuccess:f,ga4:{name:"click_nav_item",params:{label:"balances"}},deepLinks:h,description:"Manage your wallet balances in Org level"}:null},E$=()=>{var e,t;const{expenseConfig:n}=Dx(),r=!(null==n||null===(e=n.expenseActivationStatus)||void 0===e||!e.isActivated)||!(null==n||null===(t=n.reimbursementActivationStatus)||void 0===t||!t.isActivated),{t:o}=sw(),i=(0,Yh.useLocation)(),a="/app/spend/expenses",s=wq(aq.EXPENSES.replace("/app","")),l=wq(a.replace("/app",""))||s,c=function(e){var t,n;const r=!(null==e||null===(t=e.expenseActivationStatus)||void 0===t||!t.isActivated)||!(null==e||null===(n=e.reimbursementActivationStatus)||void 0===n||!n.isActivated),o=Qh((e=>{var t;return null===(t=e.user.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions}));return MH({activated:r,userPermissions:o??[],expensesAvailable:!(null==e||!e.expensesAvailable),expensesPricingAvailable:qH(e)})}(n);let u=a;(i.pathname.toLowerCase().includes("reimbursement")||i.search.includes("reimbursement"))&&(u=u.replace("/expenses","/expenses/reimbursements"));const d=Fq();return c?{title:o("menu.expenses"),icon:cI,href:r?u:aq.EXPENSES,description:"View and manage expenses",active:l,assistantMode:!0,ga4:{name:"click_nav_item",params:{label:"expenses"}},deepLinks:d}:null},S$="/reports",O$=()=>{const e=Qh(ry),{t}=sw(),n=Kr(e,"r:awx:core_banking.wallet.balances.*:*")||Kr(e,"r:awx:pa.payment.*:*"),r=wq(S$),o=y$();return n?{title:t("menu.org.reports"),icon:gW,href:`/app${S$}`,active:r,disabledBeforeKycSuccess:!o,ga4:{name:"click_nav_item",params:{label:"reports"}}}:null};function A$(){return A$=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},A$.apply(this,arguments)}var _$=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",A$({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M30.5 24C30.5 25.3807 29.3807 26.5 28 26.5H4C2.61929 26.5 1.5 25.3807 1.5 24V8C1.5 6.61929 2.61929 5.5 4 5.5H16C16.8284 5.5 17.5 6.17157 17.5 7C17.5 7.82843 16.8284 8.5 16 8.5H4.5V23.5H27.5V19C27.5 18.1716 28.1716 17.5 29 17.5C29.8284 17.5 30.5 18.1716 30.5 19V24ZM30.5 12C30.5 12.8284 29.8284 13.5 29 13.5C28.1716 13.5 27.5 12.8284 27.5 12V8.5H23
668C22.1716 8.5 21.5 7.82843 21.5 7C21.5 6.17157 22.1716 5.5 23 5.5H28C29.3807 5.5 30.5 6.61929 30.5 8V12Z",fill:n})]}))}));function P$(){return P$=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},P$.apply(this,arguments)}var j$=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",P$({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M5.75 27.75V4.25C5.75 2.86932 6.86933 1.75005 8.25 1.75H19.4824C20.1454 1.75005 20.7812 2.01363 21.25 2.48242L25.5176 6.75C25.9864 7.2188 26.25 7.85461 26.25 8.51758V11.5C26.25 12.1904 25.6904 12.75 25 12.75C24.3096 12.75 23.75 12.1904 23.75 11.5V8.51758L19.4824 4.25H8.25V27.75H23.75V27C23.75 26.3096 24.3096 25.75 25 25.75C25.6904 25.75 26.25 26.3096 26.25 27V27.75C26.25 29.1307 25.1307 30.25 23.75 30.25H8.25C6.86929 30.25 5.75 29.1307 5.75 27.75Z",fill:n}),(0,fi.jsx)("path",{d:"M17.75 3C17.75 2.30964 18.3096 1.75 19 1.75C19.6904 1.75 20.25 2.30964 20.25 3V7.75H25C25.6904 7.75 26.25 8.30964 26.25 9C26.25 9.69036 25.6904 10.25 25 10.25H19C18.3096 10.25 17.75 9.69036 17.75 9V3Z",fill:n}),(0,fi.jsx)("path",{d:"M24.7197 18.625C24.7197 17.1228 23.5022 15.9053 22 15.9053C20.4978 15.9053 19.2803 17.1228 19.2803 18.625C19.2803 20.1272 20.4978 21.3447 22 21.3447C23.5022 21.3447 24.7197 20.1272 24.7197 18.625ZM27.2803 18.625C27.2803 21.5411 24.9161 23.9053 22 23.9053C19.0839 23.9053 16.7197 21.5411 16.7197 18.625C16.7197 15.7089 19.0839 13.3447 22 13.3447C24.9161 13.3447 27.2803 15.7089 27.2803 18.625Z",fill:n}),(0,fi.jsx)("path",{d:"M24.1161 20.7411C24.6043 20.253 25.3955 20.253 25.8837 20.7411L28.8837 23.7411C29.3718 24.2293 29.3718 25.0205 28.8837 25.5087C28.3955 25.9968 27.6043 25.9968 27.1161 25.5087L24.1161 22.5087C23.628 22.0205 23.628 21.2293 24.1161 20.7411Z",fill:n})]}))}));const T$=()=>{const{paFeNewOrgPayments:e}=hn(),t=Qh((e=>e.org.data));return Boolean(e&&(null==t?void 0:t.isBusinessAccountsEnabled))};function I$(){return I$=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I$.apply(this,arguments)}var L$=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",I$({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M23.0654 5.70516C23.5239 5.1893 24.3141 5.14237 24.83 5.60067C25.3459 6.05921 25.3928 6.84933 24.9345 7.36532L8.93453 25.3653C8.47599 25.8812 7.68587 25.9281 7.16988 25.4698C6.65403 25.0113 6.60709 24.2211 7.06539 23.7052L23.0654 5.70516Z",fill:n}),(0,fi.jsx)("path",{d:"M11.75 9.53516C11.75 8.56866 10.9665 7.78516 10 7.78516C9.0335 7.78516 8.25 8.56866 8.25 9.53516C8.25 10.5017 9.0335 11.2852 10 11.2852C10.9665 11.2852 11.75 10.5017 11.75 9.53516ZM14.25 9.53516C14.25 11.8824 12.3472 13.7852 10 13.7852C7.65279 13.7852 5.75 11.8824 5.75 9.53516C5.75 7.18795 7.65279 5.28516 10 5.28516C12.3472 5.28516 14.25 7.18795 14.25 9.53516Z",fill:n}),(0,fi.jsx)("path",{d:"M23.75 21.5352C23.75 20.5687 22.9665 19.7852 22 19.7852C21.0335 19.7852 20.25 20.5687 20.25 21.5352C20.25 22.5017 21.0335 23.2852 22 23.2852C22.9665 23.2852 23.75 22.5017 23.75 21.5352ZM26.25 21.5352C26.25 23.8824 24.3472 25.7852 22 25.7852C19.6528 25.7852 17.75 23.8824 17.75 21.5352C17.75 19.1879 19.6528 17.2852 22 17.2852C24.3472 17.2852 26.25 19.1879 26.25 21.5352Z",fill:n})]}))}));const N$="/org-acquiring/dynamic-surcharge",R$=["ENABLED"],D$=["KYB_APPROVED","ENABLED"],F$=()=>{const e=Qh((e=>{var t;return null===(t=e.org.data)||void 0===t?void 0:t.paStatus}));return(0,s.useMemo)((()=>new Map(null==e?void 0:e.flatMap((e=>"string"==typeof(null==e?void 0:e.accountId)?[[e.accountId,e.status]]:[])))),[e])},M$="/app/org-acquiring/terminals",B$=e=>{let{t,hasPaReadPermission:n,isNewOrgPaymentsEnabled:r}=e;
668return n?[{href:"/app/org-acquiring/list",title:t(r?"menu.org.paymentsNew":"menu.org.payments.paymentActivityNew"),description:"View and manage all customer payments across your organization (not just for the current account)."},{href:"/app/org-acquiring/list/details/:accountId/:intentId/:disputeId?",title:t("menu.org.payments.paymentDetails"),description:"View the details of a specific payment."},{href:"/app/org-acquiring/dashboard",title:t(r?"menu.org.payments.dashboardNew":"menu.org.payments.dashboard"),description:"View your payments dashboard, which includes current snapshot of settlements, and charts about gross sales, successful payments, average acceptance rate, refunds and refund rate across your organization."},{href:"/app/org-acquiring/analytics",title:t("menu.org.payments.analytics"),description:"View analytics of your payments across your organization."}]:[]},V$=e=>{let{t,hasSurcharge:n}=e;return n?[{href:"/app/org-acquiring/dynamic-surcharge",title:t("menu.org.payments.surcharge",{defaultValue:"Surcharge"}),description:"View and configure dynamic surcharge rate for your customers."}]:[]},z$=e=>{let{t,hasDisputes:n,isNewOrgPaymentsEnabled:r}=e;return n?[{href:r?"/app/org-fraud/dispute/list":"/app/org-acquiring/dispute/list",title:t("menu.org.payments.disputes"),description:"Review evidence, submit responses, and manage all disputes across your organization."},{href:r?"/app/org-fraud/dispute/details/:accountId/:intentId/:disputeId":"/app/org-acquiring/dispute/details/:accountId/:intentId/:disputeId",title:t("menu.org.payments.disputeDetails"),description:"View the details of a specific dispute, alongside with its payment information."}]:[]},U$=e=>{let{t,hasTerminals:n}=e;
668return n?[{href:"/app/org-acquiring/terminals/list",title:t("menu.terminals"),description:"View and manage your POS terminals across your organization."}]:[]},H$=e=>{let{t,hasPaReadPermission:n,isNewOrgPaymentsEnabled:r}=e;return n?[{href:"/app/org-acquiring/settlements/overview",title:t(r?"menu.settlements":"menu.org.payments.settlementsSummary"),description:"View your settlements from transactions or your rolling reserve balance across your organization over the selected time period."}]:[]},q$=e=>{let{t,hasPaReadPermission:n,isNewOrgPaymentsEnabled:r,isSAOrg:o}=e;return n&&r&&!o?[{href:"/app/org-acquiring/accounts",title:t("menu.org.payments.accounts"),description:"View and manage your payment accounts across your organization."},{href:"/app/org-acquiring/dashboard/:accountId",title:t("menu.org.payments.dashboardNew"),description:"View your payments dashboard, which includes current snapshot of settlements, and charts about gross sales, successful payments, average acceptance rate, refunds and refund rate for a specific account."}
668,{href:"/app/org-acquiring/payment-methods/:accountId",title:t("menu.org.payments.paymentMethods"),description:"View and manage your payment methods for a specific account."},{href:"/app/org-acquiring/settings/:accountId",title:t("menu.org.payments.settings"),description:"View and manage your payment settings for a specific account."},{href:"/app/kyb/org-payment-status/:accountId",title:t("menu.org.payments.paymentStatus"),description:"View the KYB status of a specific account."}]:[]},W$=e=>{let{t,hasPaReadPermission:n,isNewOrgPaymentsEnabled:r,isSAOrg:o}=e;return n&&r&&o?[{href:"/app/org-acquiring/payment-methods",title:t("menu.org.payments.paymentMethods"),description:"View and manage your payment methods across your organization, in which you only have access to one account."},{href:"/app/org-acquiring/settings",title:t("menu.org.payments.settings"),description:"View and manage your payment settings across your organization, in which you only have access to one account."}]:[]},$$=e=>{let{t,hasGetPaid:n}=e;return n?[{href:"/app/
668org-get-paid/list",title:t("menu.paymentLinks"),description:"Create and manage payment links to get paid by anyone."},{href:"/app/org-get-paid/create",title:t("menu.paymentLinks.createPaymentLink"),description:"Create a new payment link to get paid by anyone."},{href:"/app/org-get-paid/edit/:id",title:t("menu.paymentLinks.editPaymentLink"),description:"Edit the details of an existing payment link."},{href:"/app/org-get-paid/list-item/:id",title:t("menu.paymentLinks.paymentLinkDetails"),description:"View the details of a specific payment link."},{href:"/app/org-get-paid/settings",title:t("menu.paymentLinks.paymentLinkSettings"),description:"Manage your payment link settings, such as company profile, customer support, email notifications and surcharge settings"}]:[]},G$="/app/org-acquiring/dashboard",K$=()=>{var e;const t=T$(),{paFeDisableZeroStateDashboard:n}=hn(),r=Qh((e=>{var t;return null===(t=e.org.data)||void 0===t?void 0:t.paStatus})),o=null==r?void 0:r.some((e=>"ENABLED"===(null==e?void 0:e.status))),i=Qh((e=>{var t;return null===(t=e.org.data)||void 0===t?void 0:t.orgPaEnabled})),a=Qh((e=>{var t;return"SASE"===(null===(t=e.org.data)||void 0===t?void 0:t.orgType)})),s=Qh((e=>{var t;return(null===(t=e.user.data)||void 0===t?void 0:t.orgRoles)||[]})),l=Qh((e=>{var t;return null===(t=e.org.data)||void 0===t||null===(t=t.disputeAccounts)||void 0===t?void 0:t.items})),c=Qh((e=>{var t;return null===(t=e.org.data)||void 0===t||null===(t=t.posTerminalAccounts)||void 0===t?void 0:t.items})),{t:u}=sw(),d=(()=>{var e;const t=T$(),{org:n}=Dx(),r=null==n||null===(e=n.disputeAccounts)||void 0===e||null===(e=e.items)||void 0===e?void 0:e.reduce(((e,t)=>{var r;return!0===e&&(null==t?void 0:t.paDataCenterLocation)===(null==n||null===(r=n.disputeAccounts)||void 0===r||null===(r=r.items[0])||void 0===r?void 0:r.paDataCenterLocation)}),!0),{t:o}=sw(),i=Qh(ry),a=wq(t?"/org-fraud/dispute":"/org-acquiring/dispute");if(!Kr(i,"r:awx:pa.dispute.*:*"))return null;const s={title:o("menu.org.disputes"),icon:GH,active:a,testId:"primary_nav_disputes_org",ga4:{name:"click_nav_item",params:{label:"disputes"}}};
668return t?{...s,href:"/app/org-fraud/dispute/list"}:r?{...s,href:"/app/org-acquiring/dispute/list"}:null})(),p=(()=>{const{t:e}=sw(),t=Qh(ry),n=wq("/org-acquiring/settlements"),r=Kr(t,"r:awx:pa.payment.*:*"),o=T$();return r&&!o?{title:e("menu.settlements"),icon:NT,href:"/app/org-acquiring/settlements/overview",active:n,testId:"primary_nav_settlements_org",ga4:{name:"click_nav_item",params:{label:"settlements"}}}:null})(),f=(()=>{const{t:e}=sw(),t=Qh(ry),n=wq(N$),r=Kr(t,"r:awx:pa.payment.*:*"),{paFeWebappEnableDynamicSurchargeConfig:o}=hn(),i=T$();return r&&o&&!i?{title:e("menu.surcharge",{defaultValue:"Surcharge"}),icon:L$,href:`/app${N$}`,active:n,testId:"primary_nav_surcharge_org",ga4:{name:"click_nav_item",params:{label:"surcharge"}}}:null})(),h=(()=>{const{t:e}=sw(),t=T$(),n=Qh(ry),{pathname:r}=(0,Yh.useLocation)(),o=Boolean(t?(0,Yh.matchPath)(r,{path:["/app/org-acquiring/list","/app/org-acquiring/settlements"],exact:!1}):(0,Yh.matchPath)(r,{path:["/app/org-acquiring/list","/app/org-acquiring/analytics"],exact:!1}));return Kr(n,"r:awx:pa.payment.*:*")?{title:e("menu.paymentActivity"),icon:t?void 0:UT,href:"/app/org-acquiring/list",active:o,testId:"primary_nav_payment_activity_org",ga4:{name:"click_nav_item",params:{label:"payment_activity"}}}:null})(),m=(()=>{const{t:e}=sw(),t=Qh(ry),n=wq("/org-fraud/risk"),r=T$();return Kr(t,"r:awx:pa.payment.*:*")&&r?{title:e("menu.risk"),icon:Kq,href:"/app/org-fraud/risk/analytics",active:n,testId:"primary_nav_risk_org",ga4:{name:"click_nav_item",params:{label:"risk"}}
668,deepLinks:[{href:"/app/org-fraud/risk/analytics",title:e("menu.risk.analytics"),description:"Review your account's fraud prevention performance based on your historical payment activity."},{href:"/app/org-fraud/risk/watchlist",title:e("menu.risk.watchList"),description:"Create rules to automatically block, verify with 3DS, or approve specific payment patterns."},{href:"/app/org-fraud/risk/watchlist-manage/add",title:e("menu.risk.addWatchlist"),description:"Add watchlist items to block, require 3DS, or approve payments based on email, card BIN, or other criteria."},{href:"/app/org-fraud/risk/watchlist-manage/upload",title:e("menu.risk.buckAddWatchlist"),description:"Upload multiple watchlist items at once to block, require 3DS, or approve payments based on risk criteria."}]}:null})(),g=(()=>{const{t:e}=sw(),t=T$(),{pathname:n}=(0,Yh.useLocation)(),r=Boolean((0,Yh.matchPath)(n,{path:"/app/org-get-paid",exact:!1})),o=Qh((e=>{var t;return(null===(t=e.org.data)||void 0===t?void 0:t.paStatus)??[]})),i=Qh((e=>{var t;return(null===(t=e.user.data)||void 0===t?void 0:t.allAccountPermissionsInOrg)??[]})),a=Kr(i,"r:awx:pa.payment.*:*"),s=o.some((e=>e&&R$.includes(e.payByLinkStatus??""))),l=o.some((e=>e&&D$.includes(e.status??"")));return t&&s&&l&&a?{title:e("menu.paymentLinks"),icon:GH,href:"/app/
668org-get-paid/list",active:r,testId:"primary_nav_payment_links_org",ga4:{name:"click_nav_item",params:{label:"payment-links"}}}:null})(),v=(()=>{const{t:e}=sw(),{pathname:t}=(0,Yh.useLocation)(),n=Qh((e=>{var t;return(null===(t=e.org.data)||void 0===t||null===(t=t.posTerminalAccounts)||void 0===t?void 0:t.items)??[]})),r=F$(),o=T$(),i=n.some((e=>"ENABLED"===e.posStatus&&["ENABLED","KYB_APPROVED"].find((t=>t===r.get(e.id)))));return i&&o?{title:e("menu.terminals"),href:`${M$}/list`,active:!!(0,Yh.matchPath)(t,{path:M$,exact:!1}),testId:"primary_nav_terminals_org",ga4:{name:"click_nav_item",params:{label:"terminals"}}}:null})(),y=Array.isArray(c)&&c.length>0,b=1===s.length&&(s[0].id===Tv||s[0].id===_v),{pathname:w}=(0,Yh.useLocation)(),x=Boolean(t?(0,Yh.matchPath)(w,{path:["/app/org-acquiring/dashboard","/app/org-acquiring/analytics","/app/org-acquiring/accounts","/app/org-acquiring/payment-methods","/app/org-acquiring/settings",aq.PAYMENTS,"/app/kyb/org-payment-status"],exact:!1}):(0,Yh.matchPath)(w,{path:G$,exact:!1})),k=new Set([...l??[],...c??[]].map((e=>e.id))),C=F$(),E=Qh((e=>{var t;return null===(t=e.org.data)||void 0===t?void 0:t.paStatus})),S=null==E||null===(e=E[0])||void 0===e?void 0:e.status,O="KYB_APPROVED"===S||"ENABLED"===S,A=k.size>0&&[...k].every((e=>"FORBIDDEN"===C.get(e))),_=!(t&&a&&!O||t&&!a&&A),P=_?G$:aq.PAYMENTS,j=_?[h,m,d,v,p,f,g].filter(Yr):[];if(!t&&(y||d)&&!1===i&&!n)return{id:"orgPayments",title:u("menu.org.paymentsNew"),description:"View and manage payments from all customers across your organization.",icon:_$,href:aq.ORG_PAYMENTS,testId:"primary_nav_payments_org",active:!!(0,Yh.matchPath)(w,{path:aq.ORG_PAYMENTS,exact:!1}),children:[],ga4:{name:"click_nav_item",params:{label:"payments"}},deepLinks:[]};if(!(t?!b:Boolean(o&&(y||d))))return null;const T={t:u,isNewOrgPaymentsEnabled:t,hasPaReadPermission:y,isSAOrg:a,hasSurcharge:Boolean(f),hasDisputes:Boolean(d),hasTerminals:Boolean(v),hasGetPaid:Boolean(g)};return{id:"orgPayments",title:u("menu.org.paymentsNew"),description:"View and manage payments from all customers across your organization.",icon:t?_$:j$,href:P,testId:"primary_nav_payments_org",active:x,children:j,ga4:{name:"click_nav_item",params:{label:"payments"}},deepLinks:_?[...B$(T),...V$(T),...z$(T),...U$(T),...H$(T),...q$(T),...W$(T),...$$(T),...(null==m?void 0:m.deepLinks)??[]]:[]}};function Z$(e){return FH(e)||dq(e)||pq(e)}function Y$(e){return FH(e)}function X$(e,t){try{if(null!=e&&e.configs){const{configs:t}=e;if(Array.isArray(t)&&t.length>0){const e=t.some((e=>{if(!e||!e.role)return!1;if("ADMIN"!==e.role&&"MANAGER"!==e.role)return!1;if(!Array.isArray(e.productTypes))return!1;const t=["BILL","EXPENSE","REIMBURSEMENT"];return e.productTypes.some((e=>t.includes(e)))}));if(e)return!0}}return Z$(t||[])}catch{return Z$(t||[])}}const Q$=()=>{const e=(0,Yh.useLocation)(),{vendorsConfig:t}=Dx(),n=Qh((e=>{var t;return null===(t=e.user.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions})),r=Qh((e=>e.account)),{t:o}=sw(),i="/app/spend/vendors",a=sq(t),s=yq({userPermissions:n,vendorActivated:!(null==t||!t.isActivated),account:r,vendorPricingAvailable:a}),l=[i,"/app/spend/vendors","/app/vendor"].some((t=>(0,Yh.matchPath)(e.pathname,{path:t})));return s?{title:o("menu.vendor"),icon:iI,href:i,active:l,description:"View and manage all vendors in your organisation",ga4:{name:"click_nav_item",params:{label:"vendor"}},deepLinks:[{href:`${i}/list`,title:o("menu.vendor"),description:"View and manage all your vendors in your organisation"},{href:`${i}/new`,title:o("menu.vendor.new"),description:"Add a new vendor to your organisation"},{href:`${i}/details/:id`,title:o("menu.vendor.details"),description:Kr(n??[],"w:org:vendor.vendor.all:edit")?"View and edit vendor details, payment information, and accounting rules in your organisation":"View vendor details, payment information, and accounting rules in your organisation"},{href:`${i}/pricing`,title:o("menu.vendor.pricing"),description:"View vendor management pricing and plans for your organisation"},...Kr(n??[],"w:org:vendor.vendor.own:view")?[{href:`${i}/list?statuses[]=ACTIVE`,title:o("menu.vendor"),description:"View all your active vendors in your organisation"},{href:`${i}/list?statuses[]=DRAFT`,title:o("menu.vendor"),description:"View all your draft vendors in your organisation"},{href:`${i}/list?statuses[]=IN_APPROVAL`,title:o("menu.vendor"),description:"View all your vendors that are in approval in your organisation"},{href:`${i}/list?statuses[]=PENDING_YOUR_APPROVAL`,title:o("menu.vendor"),description:"View all your vendors that are pending your approval in your organisation"}]:[],...Kr(n??[],"w:org:vendor.vendor.all:edit")?[{href:`${i}/list?syncStatuses[]=NOT_SYNCED`,title:o("menu.vendor"),description:"View all your vendors that are not synced in your organisation"},{href:`${i}/list?syncStatuses[]=SYNCED`,title:o("menu.vendor"),description:"View all your vendors that are synced in your organisation"},{href:`${i}/list?syncStatuses[]=SYNC_FAILED`,title:o("menu.vendor"),description:"View all your vendors that failed to sync in your organisation"}]:[],...Kr(n??[],"w:org:vendor.settings:edit")?[{href:`${i}/settings`,title:o("menu.vendor.settings"),description:"Configure vendor settings and preferences for your organisation"}]:[],...vq({permissions:n})?[{href:`${i}
668/activate`,title:o("menu.vendor.activate"),description:"Activate vendor management for your organisation"}]:[]]}:null},J$=e=>{let t,{userPermissions:n,purchaseOrdersActivated:r,account:o,purchaseOrdersPricingAvailable:i}=e;return o&&(t=Vf(o)),!(!n||t||!(i&&r&&(e=>{let{permissions:t}=e;return!!t&&(Kr(t,"r:org:procurement.procurement.all:view")||Kr(t,"r:org:procurement.procurement.own:view"))})({permissions:n})||(e=>{let{permissions:t}=e;return!!t&&Kr(t,"w:org:procurement.procurement.settings:edit")})({permissions:n})))},eG=()=>{const e=(0,Yh.useLocation)(),{purchaseOrdersConfig:t}=Dx(),n=!(null==t||!t.isActivated),r=Qh((e=>{var t;return null===(t=e.user.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions})),o=Qh((e=>e.account)),i=J$({userPermissions:r,purchaseOrdersActivated:n,purchaseOrdersPricingAvailable:!(null==t||!t.isPricingAvailable),account:o}),a="/app/spend/purchase-orders",s=[a,"/app/purchase-orders","/app/spend/purchase-orders"].some((t=>(0,Yh.matchPath)(e.pathname,{path:t}))),l=wq(aq.PURCHASE_ORDERS.replace("/app","")),{t:c}=sw();return i?{title:c("menu.purchaseOrders"),icon:iI,href:n?a:aq.PURCHASE_ORDERS,description:"Control company spend with purchase orders",active:s||l,ga4:{name:"click_nav_item",params:{label:"purchaseOrders"}},deepLinks:[...Kr(r??[],"w:org:procurement.procurement.settings:edit")?[{href:"/app/dashboard-intro/purchaseorders",title:c("menu.purchaseOrders.activate"),description:"Activate the Purchase Orders feature for your organization"}]:[],{href:`${a}/list`,title:c("menu.purchaseOrders"),description:"View and manage your purchase orders across your organization"},{href:`${a}/list?statuses[]=CLOSED`,title:c("menu.purchaseOrders"),description:"View all your closed Purchase Orders"},{href:`${a}/list?statuses[]=ARCHIVED`,title:c("menu.purchaseOrders"),description:"View all your archived Purchase Orders"},{href:`${a}/list?statuses[]=OPEN`,title:c("menu.purchaseOrders"),description:"View all your open Purchase Orders"},{href:`${a}/list?statuses[]=COMPLETED`,title:c("menu.purchaseOrders"),description:"View all your fully billed Purchase Orders"},...Kr(r??[],"r:org:procurement.procurement.own:view")?[{href:`${a}/details/:id`,title:c("menu.purchaseOrders.details"),description:Kr(r??[],"w:org:procurement.procurement.own:edit")?"View and edit the details of, download a PDF of, create a Bill from or close an individual purchase order":"View the details of or download a PDF of an individual purchase order"}]:[],...Kr(r??[],"w:org:procurement.procurement.all:edit")?[{href:`${a}/import`,title:c("menu.purchaseOrders.import"),description:"Import purchase orders from your accounting provider, eg. Xero, Netsuite and more"}]:[],...Kr(r??[],"w:org:procurement.procurement.settings:edit")?[{href:`${a}/settings`,title:c("menu.purchaseOrders.settings"),description:"Manage your purchase order settings for your organisation, including approval configuration, purchase order matching, purchase order numbering. You can also turn purchase order off from here."}]:[]]}:null},tG=()=>{const{t:e}=sw(),t="/spend/bills",{billsConfig:n,spendAnalyticsConfig:r}=Dx(),o=!(null==n||!n.isActivated),i=sq(n),a=Qh((e=>e.account)),s=wq(aq.BILL_PAY.replace("/app","")),l=wq(t)||s,c=Qh((e=>{var t;return null===(t=e.user.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions})),u=gq({userPermissions:c,billPayActivated:!(null==n||!n.isActivated),account:a,billPayPricingAvailable:i}),d=[Q$(),eG()].filter(Yr),p=X$(r,c)?[]:d;return u?{title:e("menu.billPay"),icon:fI,href:o?`/app${t}`:aq.BILL_PAY,description:"This page provides comprehensive bill management capabilities across your organization, displaying a summary of bills including submissions, pending approvals, and awaiting payments. It includes a search bar and filters for due date, created by, status, and billing entity. The page also offers accounting software integration options and enables email forwarding for bills, allowing users to create and manage bills and payments organization-wide.",active:l,children:p,ga4:{name:"click_nav_item",params:{label:"bill-pay"}},deepLinks:[...mq(c)?[{href:`/app${t}/activate`,title:e("menu.billPay.activate"),description:"Activate your bill pay feature for your organization"}]:[],{href:`/app${t}/list`,title:e("menu.billPay.summary"),description:"This page provides comprehensive bill management capabilities across your organization, displaying a summary of bills including submissions, pending approvals, and awaiting payments. It includes a search bar and filters for due date, created by, status, and billing entity. The page also offers accounting software integration options and enables email forwarding for bills, allowing users to create and manage bills and payments organization-wide."},{href:`/app${t}/create`,title:e("menu.billPay.createBill"),description:"Create a new bill"},{href:`/app${t}/bill/:id`,title:e("menu.billPay.manageBill"),description:"View the details, edit, approve or pay a specific bill"},...Kr(c??[],"w:org:bill_pay.bill:admin")||pq(c)?[{href:`/app${t}/list?statuses[]=AWAITING_PAYMENT`,title:e("menu.billPay.summary"),description:"View all your bills that are awaiting payment"},{href:`/app${t}/list?statuses[]=PENDING_YOUR_APPROVAL`,title:e("menu.billPay.summary"),description:"View all your bills that are pending your approval"},{href:`/app${t}/list?statuses[]=PAYMENT_IN_PROGRESS`,title:e("menu.billPay.summary"),description:"View all your payment in progress bills"},{href:`/app${t}/list?statuses[]=PAID`,title:e("menu.billPay.summary"),description:"View all your paid bills"},{href:`/app${t}/list?statuses[]=REJECTED`,title:e("menu.billPay.summary"),description:"View all your bills that are rejected"},{href:`/app${t}/list?statuses[]=SCHEDULED`,title:e("menu.billPay.summary"),description:"View all your bills that are scheduled for payment"}]:[],...Kr(c??[],"w:org:bill_pay.bill:admin")||hq(c)?[{href:`/app${t}/settings`,title:e("menu.billPay.settings"),description:"Manage your bills settings: customize visible fields, set required fields for bill submission, enable bill creation via email, or turn bills off."},{href:`/app${t}/settings/:entityId`,title:e("menu.billPay.settings"),description:"View and manage your bill settings for a specific billing entity"}]:[],...Kr(c??[],"w:org:bill_pay.bill:admin")||fq(c)?[{href:`/app${t}/bulk-payments-v2`,title:e("menu.billPay.payBills"),description:"Bulk pay selected bills in bills list"}]:[]]}:null},nG=()=>{const e=Qh((e=>{var t;return"SASE"===(null===(t=e.org.data)||void 0===t?void 0:t.orgType)})),t=Rq(),n=ly(),{t:r}=sw(),o=e?"/dashboard-account":"/dashboard-org",i=wq(o),a=t||n,s=(()=>{const{t:e}=sw(),t=Qh(oy),n=e=>Kr(t,e),r=Qh((e=>{var t;return!(null===(t=e.user.data)||void 0===t||null===(t=t.roles)||void 0===t||!t.some((e=>{let{id:t}=e;return[gv,mv].includes(t)})))}));
668return[...r?[{href:"/app/rfi/kyc/:rfiSessionId",title:e("menu.rfi.kyc"),description:"Provide more information in support of your application."},{href:"/app/rfi/ongoing_kyc/:rfiSessionId",title:e("menu.rfi.ongoing_kyc"),description:"Update your information to keep your account active."},{href:"/app/rfi/kyb/:rfiSessionId",title:e("menu.rfi.kyb"),description:"Provide more information about your application for payments."},{href:"/app/rfi/kyb_ongoing/:rfiSessionId",title:e("menu.rfi.kyb_ongoing"),description:"Provide more information to finalize your requested changes to payments."},{href:"/app/rfi/pa/:rfiSessionId",title:e("menu.rfi.pa"),description:"Provide more information to activate your payment method(s)."},{href:"/app/rfi/user/:rfiSessionId",title:e("menu.rfi.user"),description:"Update your user information."},{href:"/app/rfi/lending/:rfiSessionId",title:e("menu.rfi.lending"),description:"Provide more information in support of your application for Credit Cards."}]:[],...n("w:awx_action:rfi_transaction_edit")?[{href:"/app/rfi/tm/list",title:e("menu.rfi.tm.list"),description:"A list of all transaction RFIs."},{href:"/app/rfi/tm/list/:rfiSessionId",title:e("menu.rfi.tm"),description:"Provide more Information to release your transactions."}]:[],...n("w:awx_action:transfers_edit_v2")?[{href:"/app/rfi/order/:rfiSessionId",title:e("menu.rfi.order"),description:"Provide more information to validate your sales order documentations."}]:[]]})();return a?null:{title:r("menu.dashboard"),icon:Nq,href:`/app${o}`,active:i,id:"orgDashboard",description:"View organization overview, key metrics, and financial summaries for your organization.",ga4:{name:"click_nav_item",params:{label:"dashboard"}},deepLinks:[...s]}};function rG(){return rG=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rG.apply(this,arguments)}var oG=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",rG({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M29.077 3.30931C29.4056 3.63809 29.525 4.12237 29.3863 4.56608L21.8719 28.6119C21.2393 30.6357 18.4144 30.7409 17.6327 28.77L13.6539 18.7324L3.61627 14.7535C1.6449 13.9721 1.7503 11.1469 3.7744 10.5143L27.8202 2.99995L27.988 2.95921C28.3824 2.89364 28.7893 3.02165 29.077 3.30931ZM5.19345 12.6888L14.314 16.3045L23.717 6.90146L5.19345 12.6888ZM16.0818 18.0722L19.696 27.1914L25.4848 8.66923L16.0818 18.0722Z",fill:n})]}))}));const iG=e=>{var t;let n,{userPermissions:r,account:o,expenseConfig:i,spendRequestsPricingAvailable:a}=e;return o&&(n=Vf(o)),!(!r||n||null==i||!i.expensesAvailable)&&(!(!(s=r)||!Kr(s,Gr("w:org:spend_request.request:*")))||a&&!(null===(t=i.getSpendRequestActivationStatus)||void 0===t||!t.isActivated)||!1);var s},aG=()=>{var e;const{t}=sw(),n="/spend/requests",r=Qh((e=>e.account)),o=wq(aq.SPEND_REQUESTS.replace("/app","")),i=wq(n)||o,a=Qh(iy),{expenseConfig:s}=Dx(),l=s$(s),c=iG({userPermissions:a,account:r,expenseConfig:s,spendRequestsPricingAvailable:l}),u=null==s||null===(e=s.getSpendRequestActivationStatus)||void 0===e?void 0:e.isActivated,d=u?[{href:"/app/spend-requests/",title:t("menu.spendRequests.spendRequest"),description:"View and manage requests for company and employee spend."},{href:"/app/spend-requests/activate",title:t("menu.spendRequests.activate"),description:"Activate spend requests."},{href:"/app/spend-requests/details/:requestId",title:t("menu.spendRequests.details"),description:"View the details of a specific request."},{href:"/create-request/:id?",title:t("menu.spendRequests.create"),description:"Create a new spend request, or modify an existing one if an id is provided (Card Request or Purchase Request)."},...Kr(a,"w:org:spend_request.request:admin")?[{href:"/app/spend-requests/settings",title:t("menu.spendRequests.settings"),description:"Configure the approval workflow and form settings for spend requests."},{href:"/app/spend-requests/settings/:entityId",title:t("menu.spendRequests.settings.entity"),description:"Configure the accounting information for purchase request line items for a given entity."}]:[]]:void 0;return c?{title:t("menu.spendRequests"),icon:oG,href:u?`/app${n}`:aq.SPEND_REQUESTS,active:i,ga4:{name:"click_nav_item",params:{label:"spend-requests"}},description:"View, create and manage requests for company and employee spend.",...d?{deepLinks:d}:{}}:null};function sG(){return sG=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sG.apply(this,arguments)}var lG=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",sG({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M27.5 27.75C27.5 29.2688 26.2688 30.5 24.75 30.5H7.25C5.73122 30.5 4.5 29.2688 4.5 27.75V3C4.5 2.17157 5.17157 1.5 6 1.5C6.82843 1.5 7.5 2.17157 7.5 3V27.5H24.5V7.7998
668C24.4999 5.97742 23.0226 4.50011 21.2002 4.5H15.333C14.5047 4.49982 13.833 3.82832 13.833 3C13.833 2.17168 14.5047 1.50018 15.333 1.5H21.2002C24.6794 1.50011 27.4999 4.32057 27.5 7.7998V27.75Z",fill:n})]}))}));const cG=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;const[r,o]=(0,Ty.Mj)(e,{firstShowTime:"",read:!1,expired:!1}),[i,a]=(0,s.useState)(!1),{firstShowTime:l,read:c,expired:u}=r,d=(0,s.useCallback)((()=>{o({firstShowTime:l,read:!0,expired:u}),a(!1)}),[o]);return(0,s.useEffect)((()=>{!t||c||u?a(!1):l?(new Date).getTime()-new Date(l).getTime()<24*n*60*60*1e3?a(!0):(o({firstShowTime:l,read:!1,expired:!0}),a(!1)):(o({firstShowTime:(new Date).toISOString(),read:!1,expired:!1}),a(!0))}),[n,t]),{needToShow:i,markAsRead:d}},uG=e=>{const t=e$();return Array.isArray(e)?e.every((e=>Kr(t,e))):Kr(t,e)},dG=()=>({hasInvoiceEditPermission:uG(["w:org:external_billing.invoice:edit",Jr,eo,to]),hasInvoiceViewPermission:uG(no),hasSubscriptionEditPermission:uG(["w:org:external_billing.subscription:edit",no,Jr,eo,to]),hasSubscriptionViewPermission:uG("r:org:external_billing.subscription:view"),hasProductViewPermission:uG(Jr),hasProductEditPermission:uG("w:org:external_billing.product:edit"),hasPriceViewPermission:uG([eo,Jr]),hasPriceEditPermission:uG(["w:org:external_billing.price:edit",Jr]),hasCustomerViewPermission:uG(to),hasCustomerEditPermission:uG("w:org:external_billing.customer:edit"),hasSettingViewPermission:uG("r:org:external_billing.settings:view"),hasSettingEditPermission:uG("w:org:external_billing.settings:edit"),hasDiscountViewPermission:uG("r:org:external_billing.discount:view"),hasDiscountEditPermission:uG("w:org:external_billing.discount:edit")}),pG="/billing/products",fG=()=>{const{t:e}=sw(),t=wq(pG),n=wq("/billing/coupons"),{hasProductViewPermission:r,hasProductEditPermission:o,hasPriceViewPermission:i,hasPriceEditPermission:a,hasDiscountViewPermission:s,hasDiscountEditPermission:l}=dG(),c=s||r,u=y$();return c?{title:e("menu.org.billing.productsCatalog"),description:"View and manage your organisation's products",disabledBeforeKycSuccess:!u,href:`/app${pG}`,active:t||n,ga4:{name:"click_nav_item",params:{label:"billing-products"}},deepLinks:[r?{href:"/app/billing/products/:productId",title:e("menu.org.billing.products.deepLinks.view"),description:"View and manage a specific product"}:null,o?{href:"/app/billing/products/create",title:e("menu.org.billing.products.deepLinks.new"),description:"Create a new product for your organisation"}:null,o?{href:"/app/billing/products/edit/:productId",title:e("menu.org.billing.products.deepLinks.edit"),description:"Edit a product"}:null,i?{href:"/app/billing/products/:productId/price/:priceId",title:e("menu.org.billing.products.deepLinks.viewPrice"),description:"View and manage a specific price"}:null,a?{href:"/app/billing/products/:productId/price/create",title:e("menu.org.billing.products.deepLinks.createPrice"),description:"Create a price"}:null,a?{href:"/app/billing/products/:productId/price/:priceId/edit",title:e("menu.org.billing.products.deepLinks.editPrice"),description:"Edit a price"}:null,s?{href:"/app/billing/coupons/:couponsId",title:e("menu.org.billing.products.deepLinks.viewCoupon"),description:"View your coupons"}:null,l?{href:"/app/billing/coupons/create",title:e("menu.org.billing.products.deepLinks.createCoupon"),description:"Create a coupon"}:null,l?{href:"/app/billing/coupons/:action/:couponsId",title:e("menu.org.billing.products.deepLinks.manageCoupon"),description:"Manage a coupon"}:null].filter(Yr)}:null},hG="/billing/invoices",mG=()=>{const{t:e}=sw(),t=wq(hG),n=e$(),r=Kr(n,"r:org:external_billing.invoice:view"),{hasInvoiceViewPermission:o,hasInvoiceEditPermission:i}=dG(),a=y$();return r?{title:e("menu.org.billing.invoices"),description:"View and manage your organisation's invoices",disabledBeforeKycSuccess:!a,href:`/app${hG}`,active:t,ga4:{name:"click_nav_item",params:{label:"billing-invoices"}},deepLinks:[o?{href:"/app/billing/invoices/:invoiceId",title:e("menu.org.billing.invoices.deepLinks.view"),description:"View and manage a specific invoice"}:null,i?{href:"/app/billing/invoices/create",title:e("menu.org.billing.invoices.deepLinks.create"),description:"Create a new one-off invoice for your customers in your organisation"}:null,i?{href:"/app/billing/invoices/:invoiceId/edit",title:e("menu.org.billing.invoices.deepLinks.edit"),description:"Edit an invoice"}:null,i?{href:"/app/billing/invoices/:invoiceId/duplicate",title:e("menu.org.billing.invoices.deepLinks.duplicate"),description:"Duplicate an invoice"}:null].filter(Yr)}:null},gG="/billing/customers",vG=()=>{const{t:e}=sw(),t=wq(gG),n=e$(),r=Kr(n,"r:org:external_billing.customer:view"),{hasCustomerViewPermission:o,hasCustomerEditPermission:i}=dG(),a=y$();return r?{title:e("menu.org.billing.customers"),description:"This page provides comprehensive customer management capabilities for your organisation's billing customers. Users can view, search, filter customer list, and create new customers",disabledBeforeKycSuccess:!a,href:`/app${gG}`,active:t,ga4:{name:"click_nav_item",params:{label:"billing-customers"}},deepLinks:[o?{href:"/app/billing/customers/:customerId",title:e("menu.org.billing.customers.deepLinks.view"),description:"View and manage a specific customer"}:null,i?{href:"/app/billing/customers/create",title:e("menu.org.billing.customers.deepLinks.new"),description:"Create a new billing customer profile for your organisation"}:null,i?{href:"/app/billing/customers/edit/:customerId",title:e("menu.org.billing.customers.deepLinks.edit"),description:"Edit a billing customer"}:null].filter(Yr)}:null},yG="/billing/subscriptions",bG=()=>{const{t:e}=sw(),t=wq(yG),n=e$(),r=Kr(n,"r:org:external_billing.subscription:view"),{hasSubscriptionViewPermission:o,hasSubscriptionEditPermission:i}=dG(),a=y$();return r?{title:e("menu.org.billing.subscriptions"),description:"View and manage your organisation's subscriptions",disabledBeforeKycSuccess:!a,href:`/app${yG}`,active:t,ga4:{name:"click_nav_item",params:{label:"billing-subscriptions"}},deepLinks:[o?{href:"/app/billing/subscriptions/:subscriptionId",title:e("menu.org.billing.subscriptions.deepLinks.view"),description:"View and manage a specific subscription"}:null,i?{href:"/app/billing/subscriptions/create",title:e("menu.org.billing.subscriptions.deepLinks.new"),description:"Set up new subscription (recurring billing) for your customers"}:null,i?{href:"/app/billing/subscriptions/:subscriptionId/edit",title:e("menu.org.billing.subscriptions.deepLinks.edit"),description:"Edit a subscription"}:null,i?{href:"/app/billing/subscriptions/:subscriptionId/duplicate",title:e("menu.org.billing.subscriptions.deepLinks.duplicate"),description:"Duplicate a subscription"}:null].filter(Yr)}:null},wG="/billing/settings",xG=()=>{const{t:e}=sw(),t=wq(wG),n=e$(),r=Kr(n,"r:org:external_billing.settings:view"),{hasSettingViewPermission:o}=dG(),i=Qh(Jv),a=(null==i?void 0:i.isBusinessAccountsEnabled)??!1,s=y$();return r&&!a?{title:e("menu.org.billing.settings"),description:"View and configure how you bill your customers and manage the subscription plans for your products and services.",disabledBeforeKycSuccess:!s,href:`/app${wG}`,active:t,ga4:{name:"click_nav_item",params:{label:"billing-settings"}},deepLinks:[o?{href:"/app/billing/settings/general",title:e("menu.org.billing.settings.deepLinks.general"),description:"View and configure how you bill your customers and manage the subscription plans for your products and services."}:null,o?{href:"/app/billing/settings/communications",title:e("menu.org.billing.settings.deepLinks.communications"),description:"Manage the automated billing emails sent to your customers, configure notifications for events like new invoices, successful payments, overdue reminders, and payment failures."}:null].filter(Yr)}:null},kG="/billing/usage",CG=()=>{const{t:e}=sw(),t=e$(),n=Kr(t,"r:org:external_billing.price:view"),{hasPriceViewPermission:r,hasPriceEditPermission:o}=dG(),i=wq(kG),a=y$();return n?{title:e("menu.org.billing.ubb"),description:"View and manage your organisation's usage meters",disabledBeforeKycSuccess:!a,href:`/app${kG}`,active:i,ga4:{name:"click_nav_item",params:{label:"billing-usage-meters"}},deepLinks:[{href:"/app/billing/usage/meters",title:e("menu.org.billing.ubb.deepLinks.viewMeters"),description:"View and manage your organisation's usage meters"},r?{href:"/app/billing/usage/meters/:meterId",title:e("menu.org.billing.ubb.deepLinks.viewMeter"),description:"View and manage a specific usage meter"}:null,o?{href:"/app/billing/usage/meters/create",title:e("menu.org.billing.ubb.deepLinks.createMeter"),description:"Create a new usage meter for your organisation"}:null,o?{href:"/app/billing/usage/meters/:meterId/edit",title:e("menu.org.billing.ubb.deepLinks.editMeter"),description:"Edit a usage meter"}:null,r?{href:"/app/billing/usage/events",title:e("menu.org.billing.ubb.deepLinks.viewEvents"),description:"View and manage usage events for your organisation"}:null].filter(Yr)}:null},EG="/billing/dashboard",SG=()=>{const{t:e}=sw(),{pathname:t}=(0,Yh.useLocation)(),n=wq(EG),r=y$(),{extBillingEnabled:o}=Dx(),i=[vG(),fG(),mG(),bG(),CG(),xG()].filter(Yr),a=!1!==o&&i.length>0,{needToShow:l,markAsRead:c}
668=cG("airwallex_webapp_billing_dashboard_new_tag",a);return(0,s.useEffect)((()=>{t.includes("/billing")&&c()}),[t,c]),a?{title:e("menu.org.billing"),description:"This page provides an overview of the organization's billing information and analytics, displaying key indicators including Annual recurring revenue, Active customers, Average revenue per customer, and Lifetime customer value. The dashboard also includes charts of Monthly recurring revenue, Active customers, Customer churn rate, and Subscription status. You can also create a new billing from this page.",icon:lG,disabledBeforeKycSuccess:!r,tag:l?e("tag.new"):void 0,href:`/app${EG}`,active:n,children:i,ga4:{name:"click_nav_item",params:{label:"billing"}}}:null},OG=()=>{const{t:e}=sw(),t=(0,Yh.useLocation)(),n=Qh((e=>e.account)),r=Qh(Jv),o=Qh(ry),i=$W({account:n,permissions:o,orgHasPlatformAccount:!(null==r||!r.orgHasPlatformAccount)}),a=t.pathname.startsWith(BW),s=(e=>{const{t}=sw();return[...GW({permissions:e})?[{title:t("menu.connectedAccounts.accounts"),href:`${BW}${VW}`,description:"View key details of all connected accounts, including onboarding status, KYC information, payment activation status, balances and more (as org-wide platforms)"},{title:t("menu.connectedAccounts.accountDetails"),href:`${BW}${zW}`,description:"View a connected account details, including onboarding status, KYC information, global accounts information, linked accounts, balances, transactions, RFI, payments and more (as org-wide platforms)"}]:[],...KW({permissions:e})?[{title:t("menu.connectedAccounts.rfiCenter"),href:`${BW}${UW}`,description:"View and respond to connected accounts RFI (as org-wide platforms)"},{title:t("menu.connectedAccounts.rfiDetails"),href:`${BW}${HW}`,description:"View single connected account RFI details with RFI session ID (as org-wide platforms)"}]:[],...ZW({permissions:e})?[{title:t("menu.connectedAccounts.transactions"),href:`${BW}${qW}`,description:"View connected accounts transaction details for all products (as org-wide platforms)"},{title:t("menu.connectedAccounts.transactionDetails"),href:`${BW}${WW}`,description:"View single connected account transaction details with transaction ID (as org-wide platforms)"}]:[]]})(o),l=y$();return i?{title:e("menu.connectedAccounts"),description:"View and manage your connected accounts (as a platform)",href:BW,active:a,icon:GL,ga4:{name:"click_nav_item",params:{label:"connected-accounts"}},disabledBeforeKycSuccess:!l,deepLinks:s}:null};function AG(){return AG=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AG.apply(this,arguments)}var _G=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",AG({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M16.7773 14.3623C16.7773 15.705 15.6894 16.7938 14.3467 16.7939H4.5V26.5H27.5V13.8828C27.5 13.0544 28.1716 12.3828 29 12.3828C29.8284 12.3828 30.5 13.0544 30.5 13.8828V27.0684C30.5 28.4112 29.4112 29.5 28.0684 29.5H3.93164C2.58883 29.5 1.5 28.4112 1.5 27.0684V16.2256C1.5 14.8828 2.58883 13.7939 3.93164 13.7939H13.7773V4.93164C13.7773 3.58888 14.8663 2.50009 16.209 2.5H29C29.8284 2.5 30.5 3.17157 30.5 4C30.5 4.82843 29.8284 5.5 29 5.5H16.7773V14.3623Z",fill:n})]}))}));const PG="/spend/accounting",jG=e=>{let t,{userPermissions:n,account:r,flags:o,hasOwnedBudget:i}=e;return r&&(t=Vf(r)),!t&&!!o.spendBudgetsBudgetMvp&&(!(!(a=n)||!Kr(a,Gr("w:org:spend_budget.budget:*")))||i||!1);var a},TG="/spend/budgets",IG=()=>{const{t:e}=sw(),{pathname:t}=(0,Yh.useLocation)(),n=hn(),r=Qh((e=>e.account)),o=wq(TG),i=Qh(iy),{hasOwnedBudget:a}=Dx(),l=jG({userPermissions:i,account:r,flags:n,hasOwnedBudget:a}),c=cH(),u=l&&!c,d=t.includes("/spend"),{needToShow:p,markAsRead:f}=cG("airwallex_webapp_spend_budgets_new_tag",u&&d);(0,s.useEffect)((()=>{t.includes(TG)&&f()}),[t,f]);const h=[{href:"/app/spend/budgets",title:e("menu.spendBudgets.budgets"),description:"View and manage all budgets across your organisation."}];return u?{title:e("menu.spendBudgets"),icon:_W,tag:p?e("tag.new"):void 0,href:`/app${TG}`,active:o,ga4:{name:"click_nav_item",params:{label:"spend-budgets"}},description:"View and manage all budgets across your organisation.",deepLinks:h}:null},LG="/spend/vendor-portal",NG="/app/cards",RG=()=>{const{t:e}=sw(),t=hn(),n=wq(NG.replace("/app","")),r=Qh(ry),o=Qh(Jv),i=Qh(ey);if(!Ix(o,t.spendCardsCardsMovedToOrg)||!(null!=o&&o.isCardsEnabled||i))return null;const a=Sq(r);return{title:e("menu.cards"),icon:Cq,href:NG,description:"View and manage cards across the organization",active:n,ga4:{name:"click_nav_item",params:{label:"cards"}},deepLinks:[..._q(e),...a?jq(e):Pq(e,!0)]}},DG=()=>{const e="/spend/overview",{t}=sw(),n=wq(e),{pathname:r}=(0,Yh.useLocation)(),o=RG(),i=E$(),a=tG(),l=IG(),c=aG(),u=(()=>{var e;const{t}=sw(),{expenseConfig:n}=Dx(),r=Qh((e=>e.account)),o=Qh(iy),i=!(null==n||null===(e=n.expenseActivationStatus)||void 0===e||!e.isActivated),a=cH(),s=wq(PG),l=wq(aq.SPEND_ACCOUNTING.replace("/app","")),c=s||l,u=!Vf(r),d=u&&Y$(o);if(!n)return null;if(!n.expensesAvailable)return null;if(!(d||a&&u))return null;const p=(0,jr.I)()?[{href:`/app${PG}/automations`,title:t("menu.expenses.automations"),description:'View and manage expense automations, including creating mappings and rules for card expenses and reimbursements. It features a "New automation" button for creating new automations and search capabilities to find specific automation rules by name.'}]:[];return{title:t("menu.spendAccounting"),icon:gW,href:i?`/app${PG}`:aq.SPEND_ACCOUNTING,active:c,ga4:{name:"click_nav_item",params:{label:"spend-accounting"}},description:"Reconcile, bulk edit, and sync card expenses to accounting systems",deepLinks:p}})(),d=Q$(),p=(()=>{const{t:e}=sw(),t=hn(),n=wq(LG);return t.spendVendorVendorPortalEnabled?{title:e("menu.vendorPortal"),icon:GH,href:`/app${LG}`,active:n,description:"View and manage the vendor portal for your organisation",ga4:{name:"click_nav_item",params:{label:"vendor-portal"}},deepLinks:[{href:`/app${LG}`,title:e("menu.vendorPortal"),description:"View and manage the vendor portal for your organisation"}]}:null})(),f=eG(),h=[i,a?{...a,children:void 0}:null,f,d,p,l,c,u].filter(Yr),m=[o,...h].filter(Yr),g=`/app${e}`,v=[{href:g,title:t("menu.spend"),description:"Overview of all Spend information across your organization. This is also the landing page to activate all Spend products."}],y=h.length>0,{needToShow:b,markAsRead:w}=cG("airwallex_webapp_spend_overview_new_tag",y);return(0,s.useEffect)((()=>{g===r&&w()}),[r,w,g]),y?{title:t("menu.spend"),icon:_G,href:g,description:"Overview of all Spend information across your organization. This is also the landing page to activate all Spend products.",active:n,children:m,ga4:{name:"click_nav_item",params:{label:"spend"}},deepLinks:v,tag:b?t("tag.new"):void 0}:null},FG="/rewards",MG=()=>{const{t:e}=sw(),t=wq(FG),n=Rq(),r=ly(),o=n||r,i=yW(),a=y$();return o?null:{title:e("menu.rewards"),icon:pI,href:`/app${FG}`,active:t,disabledBeforeKycSuccess:!a,description:"View and manage your rewards and partner perks at the organization level.",deepLinks:i,ga4:{name:"click_nav_item",params:{label:"rewards"}}}};function BG(){return BG=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BG.apply(this,arguments)}var VG=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",BG({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M10.3894 6.48927L14.9393 1.93934C15.5251 1.35355 16.4749 1.35355 17.0607 1.93934L21.6106 6.48927C22.1964 7.07505 22.1964 8.0248 21.6106 8.61059C21.0248 9.19637 20.0751 9.19637 19.4893 8.61059L16 5.12132L12.5107 8.61059C11.9249 9.19637 10.9752 9.19637 10.3894 8.61059C9.80363 8.0248 9.80363 7.07505 10.3894 6.48927Z",fill:n}),(0,fi.jsx)("path",{d:"M21.6106 25.5107L17.0607 30.0607C16.4749 30.6464 15.5251 30.6464 14.9393 30.0607L10.3894 25.5107C9.80363 24.9249 9.80363 23.9752 10.3894 23.3894C10.9752 22.8036 11.9249 22.8036 12.5107 23.3894L16 26.8787L19.4893 23.3894C20.0751 22.8036 21.0248 22.8036 21.6106 23.3894C22.1964 23.9752 22.1964 24.9249 21.6106 25.5107Z",fill:n}),(0,fi.jsx)("path",{d:"M25.5107 10.3894L30.0607 14.9393C30.6464 15.5251 30.6464 16.4749 30.0607 17.0607L25.5107 21.6106C24.9249 22.1964 23.9752 22.1964 23.3894 21.6106C22.8036 21.0248 22.8036 20.0751 23.3894 19.4893L26.8787 16L23.3894 12.5107C22.8036 11.9249 22.8036 10.9752 23.3894 10.3894C23.9752 9.80362 24.9249 9.80362 25.5107 10.3894Z",fill:n}),(0,fi.jsx)("path",{d:"M6.48927 21.6106L1.93934 17.0607C1.35355 16.4749 1.35355 15.5251 1.93934 14.9393L6.48927 10.3894C7.07506 9.80363 8.0248 9.80363 8.61059 10.3894C9.19638 10.9752 9.19638 11.9249 8.61059 12.5107L5.12132 16L8.610
66859 19.4893C9.19637 20.0751 9.19637 21.0248 8.61059 21.6106C8.0248 22.1964 7.07505 22.1964 6.48927 21.6106Z",fill:n})]}))}));function zG(){return zG=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zG.apply(this,arguments)}var UG=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",zG({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M15.9649 3.74999C16.4257 3.7372 16.8563 3.97968 17.085 4.37988L20.8067 10.8926L27.2579 12.2529C27.6957 12.3452 28.0514 12.6643 28.1895 13.0898C28.3276 13.5155 28.227 13.9827 27.9268 14.3144L23.3106 19.4131L24.2403 26.8447C24.2971 27.2993 24.1008 27.7486 23.7286 28.0156C23.3562 28.2826 22.8675 28.3247 22.4551 28.125L16.0001 24.998L9.54499 28.125C9.13264 28.3247 8.64389 28.2826 8.27155 28.0156C7.89934 27.7486 7.70302 27.2993 7.75984 26.8447L8.68757 19.415L4.07526 14.3408C3.77233 14.0076 3.67185 13.5372 3.81257 13.1094C3.95329 12.6816 4.31336 12.3627 4.75495 12.2744L11.6553 10.8935L14.8819 4.4414C15.088 4.02921 15.5043 3.76295 15.9649 3.74999Z",fill:n})]}))}));const HG="r:awx:core_banking.wallet.balances.*",qG="r:awx:credit.loan_account.*",WG="r:awx:yield.investor.*";var $G=n(70783),GG=n.n($G);const KG=()=>performance.now(),ZG="/business-accounts";function YG(e,t){return!!(0,Yh.matchPath)(e,{path:`/app${ZG}/${t}`})||!!(0,Yh.matchPath)(e,{path:`/app${ZG}/:type(cash|yield|credit)/${t}`})}const XG=()=>{const e=Qh(Jv),t=Qh(ry),n=!(null==e||!e.isBusinessAccountsEnabled)&&function(e){return Kr(e,Gr(HG,WG,qG))}(t),{pathname:r}=(0,Yh.useLocation)(),{t:o}=sw(),i=function(e){const{pathname:t}=(0,Yh.useLocation)(),{t:n}=sw(),[{data:r,error:o,refetch:i,networkStatus:a}]=function(e){var t;const n=null===(t=Qh(Jv))||void 0===t?void 0:t.id,[r,o]=(0,s.use
668State)({}),i=(0,s.useRef)(0),a=(0,s.useRef)(null),l=(0,s.useRef)(),c=ky(GG(),{variables:{orgId:n??"",input:{}},skip:!e||!n,notifyOnNetworkStatusChange:!0}),u=vy();Ur("awx:update-account-nickname",(e=>{const{accountId:t,nickname:n}=e.detail;u.cache.modify({id:u.cache.identify({__typename:"Account",id:t}),fields:{nickname:()=>n}})})),Ur("awx:favorite-account-toggled",(t=>{if(!e)return;const{accountId:n,isFavorite:r}=t.detail??{};n&&"boolean"==typeof r&&(i.current=KG(),o((e=>({...e,[n]:r}))))})),(0,s.useEffect)((()=>{c.networkStatus===Rd.poll&&(a.current=KG()),l.current===Rd.poll&&c.networkStatus!==Rd.poll&&a.current&&(a.current>i.current&&o({}),a.current=null),l.current=c.networkStatus}),[c.networkStatus]);const d=(0,s.useMemo)((()=>function(e,t){var n;if(!e)return;const r=null===(n=e.getOrgById)||void 0===n?void 0:n.businessAccountsSummary;return r?{accounts:r.accounts.map((e=>({id:e.account.id,isFavourite:t[e.account.id]??e.account.isFavourite,nickname:e.account.nickname}))),totalAccounts:r.totalAccounts}:void 0}(c.data,r)),[c.data,r]);return(0,s.useMemo)((()=>[{...c,data:d}]),[c,d])}(e),l=!!o;return(0,s.useMemo)((()=>{const e=null==r?void 0:r.accounts,o=(null==r?void 0:r.totalAccounts)??0;if(l)return[{type:"error",children:vi(mi,{children:[n("menu.org.businessAccount.loadAccountsError")," ",gi(QG,{role:"button",tabIndex:0,onClick:()=>i(),children:n("menu.org.businessAccount.retry")})]})}];if(!(null!=e&&e.length||a!==Rd.loading&&a!==Rd.refetch))return Array.from({length:3},(()=>({type:"skeleton"})));if(null==e||!e.length)return[];const s=(e,t)=>(e.nickname??"").localeCompare(t.nickname??""),c=e.filter((e=>e.isFavourite)).sort(s),u=e.filter((e=>!e.isFavourite)).sort(s),d=Math.max(c.length,5),p=[...c,...u],f=((e,t,n)=>{const r=t.find((e=>YG(n,e.id)));return!r||e.some((e=>e.id===r.id))?e:[...e,r]})(p.slice(0,d),p,t),h=f.map((e=>{return{title:e.nickname??"",logrocketPrivate:!0,titleAdornment:e.isFavourite?gi(UG,{size:14}):void 0,href:(n=e.id,`/app${ZG}/${n}`),active:YG(t,e.id),icon:VG,ga4:{name:"click_nav_item",params:{label:"business-account-item"}}};var n})),m={title:n("menu.org.businessAccount.allAccounts",{count:o}),href:`/app${ZG}`,rowType:"action",titleAdornment:gi(XV,{size:14}),ga4:{name:"click_nav_item",params:{label:"business-account-all"}}};return o>5?[...h,m]:h}),[a,null==r?void 0:r.accounts,null==r?void 0:r.totalAccounts,l,n,i,t])}(n),a=function(e){const{t}=sw(),n=Kr(e,HG),r=Kr(e,qG),o=Kr(e,WG);return(0,s.useMemo)((()=>[{href:`/app${ZG}/overview`,title:t("menu.org.businessAccount.deepLinks.overview"),description:t("menu.org.businessAccount.deepLinks.overview.description")},{href:`/app${ZG}/transfers`,title:t("menu.org.businessAccount.deepLinks.transfers"),description:t("menu.org.businessAccount.deepLinks.transfers.description")},{href:"/app/transfers/payouts/new?payoutScope=internal",title:t("menu.transfers.new"),description:t("menu.org.businessAccount.deepLinks.newInternalTransfer.description")},{href:"/app/transfers/payouts/new?payoutScope=external",title:t("menu.transfers.new"),description:t("menu.org.businessAccount.deepLinks.newExternalTransfer.description")},{href:`/app${ZG}/conversions`,title:t("menu.org.businessAccount.deepLinks.conversions"),description:t("menu.org.businessAccount.deepLinks.conversions.description")},{href:`/app${ZG}/payees`,title:t("menu.org.businessAccount.deepLinks.payees"),description:t("menu.org.businessAccount.deepLinks.payees.description")},{href:`/app${ZG}/payees/create`,title:t("menu.org.businessAccount.deepLinks.createPayee"),description:t("menu.org.businessAccount.deepLinks.createPayee.description")},{href:`/app${ZG}/payees/edit/:id`,title:t("menu.org.businessAccount.deepLinks.editPayee"),description:t("menu.org.businessAccount.deepLinks.editPayee.description")},{href:`/app${ZG}/activity`,title:t("menu.org.businessAccount.deepLinks.activity"),description:t("menu.org.businessAccount.deepLinks.activity.description")},{href:"/app/add-funds/method",title:t("menu.addFunds.method"),description:t("menu.org.businessAccount.deepLinks.addFunds.description")},{href:"/app/cards/create-card?fundingAccountId=:accountId",title:t("menu.cards.selectCardType"),description:t("menu.org.businessAccount.deepLinks.createCard.description")},{href:"/app/conversions/new/v2",title:t("menu.conversions.new"),description:t("menu.org.businessAccount.deepLinks.newConversion.description")},{href:"/app/uam/accounts/create?exitUrl=:exitUrl",title:t("menu.org.uam.createAccount"),description:t("menu.org.businessAccount.deepLinks.createAccount.de
668scription")},...n?[{href:`/app${ZG}/cash/:accountId`,title:t("menu.org.businessAccount.deepLinks.cashAccount"),description:t("menu.org.businessAccount.deepLinks.cashAccount.description")},{href:`/app${ZG}/cash/:accountId/overview`,title:t("menu.org.businessAccount.deepLinks.cashAccountOverview"),description:t("menu.org.businessAccount.deepLinks.cashAccountOverview.description")},{href:`/app${ZG}/cash/:accountId/global-accounts`,title:t("menu.org.businessAccount.deepLinks.cashAccountGlobalAccounts"),description:t("menu.org.businessAccount.deepLinks.cashAccountGlobalAccounts.description")},{href:`/app${ZG}/cash/:accountId/global-accounts/:globalAccountId`,title:t("menu.org.businessAccount.deepLinks.cashAccountGlobalAccountDetails"),description:t("menu.org.businessAccount.deepLinks.cashAccountGlobalAccountDetails.description")},{href:`/app${ZG}/cash/:accountId/linked-bank-accounts`,title:t("menu.org.businessAccount.deepLinks.cashAccountLinkedBankAccounts"),description:t("menu.org.businessAccount.deepLinks.cashAccountLinkedBankAccounts.description")},{href:`/app${ZG}/cash/:accountId/airwallex-pay`,title:t("menu.org.businessAccount.deepLinks.cashAccountAirwallexPay"),description:t("menu.org.businessAccount.deepLinks.cashAccountAirwallexPay.description")},{href:`/app${ZG}/cash/:accountId/account-configuration`,title:t("menu.org.businessAccount.deepLinks.cashAccountConfiguration"),description:t("menu.org.businessAccount.deepLinks.cashAccountConfiguration.description")},{href:`/app${ZG}/cash/:accountId/balances/:currency`,title:t("menu.org.businessAccount.deepLinks.cashAccountBalanceDetails"),description:t("menu.org.businessAccount.deepLinks.cashAccountBalanceDetails.description")}]:[],...r?[{href:`/app${ZG}/credit/:accountId`,title:t("menu.org.businessAccount.deepLinks.creditAccount"),description:t("menu.org.businessAccount.deepLinks.creditAccount.description")},{href:`/app${ZG}/credit/:accountId/overview`,title:t("menu.org.businessAccount.deepLinks.creditAccountOverview"),description:t("menu.org.businessAccount.deepLinks.creditAccountOverview.description")},{href:`/app${ZG}/credit/:accountId/documents`,title:t("menu.org.businessAccount.deepLinks.creditAccountDocuments"),description:t("menu.org.businessAccount.deepLinks.creditAccountDocuments.description")}]:[],...o?[{href:`/app${ZG}/yield/:accountId`,title:t("menu.org.businessAccount.deepLinks.yieldAccount"),description:t("menu.org.businessAccount.deepLinks.yieldAccount.description")},{href:`/app${ZG}/yield/:accountId/overview`,title:t("menu.org.businessAccount.deepLinks.yieldAccountOverview"),description:t("menu.org.businessAccount.deepLinks.yieldAccountOverview.description")},{href:`/app${ZG}/yield/:accountId/documents`,title:t("menu.org.businessAccount.deepLinks.yieldAccountDocuments"),description:t("menu.org.businessAccount.deepLinks.yieldAccountDocuments.description")},{href:`/app${ZG}/yield/:accountId/account-configuration`,title:t("menu.org.businessAccount.deepLinks.yieldAccountConfiguration"),description:t("menu.org.businessAccount.deepLinks.yieldAccountConfiguration.description")},{href:`/app${ZG}/yield/:accountId/balances/:currency`,title:t("menu.org.businessAccount.deepLinks.yieldAccountBalanceDetails"),description:t("menu.org.businessAccount.deepLinks.yieldAccountBalanceDetails.description")}]:[]]),[n,r,o,t])}(t),l=!!(0,Yh.matchPath)(r,{path:[`/app${ZG}`,`/app${ZG}/overview`,`/app${ZG}/introduction`,`/app${ZG}/accounts`,`/app${ZG}/transfers`,`/app${ZG}/transactions`,`/app${ZG}/conversions`,`/app${ZG}/activity`,`/app${ZG}/payees`,`/app${ZG}/cny-repatriation`,"/app/order-collection/cny-repatriation/online-b2c/summary","/app/order-collection/cny-repatriation/online-b2b/summary","/app/order-collection/cny-repatriation/offline-b2b/summary"],exact:!0});return n?{id:"orgBusinessAccount",title:o("menu.org.businessAccount"),icon:VG,href:`/app${ZG}`,active:l,children:i,ga4:{name:"click_nav_item",params:{label:"business-account"}},description:o("menu.org.businessAccount.description"),deepLinks:a}:null};const QG=ji.styled.span` 669 cursor: pointer; 670 font-weight: 500; 671 text-decoration: underline; 672`;function JG(){return(0,s.useCallback)((async e=>{try{(await wb({producerName:"settings_container",exposedKey:"./settings-utils"})).openSettings(e)}catch(t){const n=(0,ci.M)(t);console.error("[useOpenSettings] Failed to load settings-container:",n),zr.error("OPEN_SETTINGS_LOAD_ERROR",{path:e,error:n}),Ko("open_settings_load_error",{path:e,error:n})}}),[])}function eK(){const e=Qh(ty),t=Qh(ny),{spendBillpayDualOnboardingShowSpend:n=!1}=hn();if(n)return{shouldShowSpend:!0,shouldBlockSpendRoutes:!1};const r=!!(0,jr.I)();return{shouldShowSpend:!(r&&!t||e),shouldBlockSpendRoutes:r&&t&&e}}function tK(){const e=(0,Yh.useHistory)(),t=Qh(aH),n=Xh(),r=Qh(Jv),o=(null==r?void 0:r.isBusinessAccountsEnabled)??!1,i=JG(),a=nG(),s=OG(),l=C$(),c=XG(),u=E$(),d=tG(),p=IG(),f=aG(),h=DG(),m=SG(),g=K$(),v=O$(),y=RG(),b=MG(),w=v$(),x=b$(),k=o$(),C=function(){const{spendAnalyticsConfig:e}=Dx(),[t]=Ry(),n=!!t;return X$(e,Qh(iy))&&!n}(),{shouldShowSpend:E}=eK();return[a,s,l,c,...E?C&&h?[h]:[y,u,d,f,p]:[y],m,g,v,b,x,o?k:null,w].filter(Yr).map((function r(a){const s=a===w;return{...a,onClick:r=>{var l;if(null!=a&&a.ga4){const{name:e,params:t}=a.ga4;Ko(e,{...t,nav_item_level:"org"})}if(!t||null==a||!a.disabledBeforeKycSuccess)return o&&s?(r.preventDefault(),void i("home")):void(null!=a&&null!==(l=a.href)&&void 0!==l&&l.startsWith("/app")?e.push(a.href):window.location.href=(null==a?void 0:a.href)??"");n(IS.toggleVerificationModal())},children:a.children&&a.children.length>0?a.children.map((e=>lO(e)?e:r(e))):a.children}}))}const nK=()=>{const e=(0,Yh.useLocation)(),t=Qh(oy),{t:n}=sw(),r=hH("menu.userManagement"),o=["/app1/uam","/app/uam"].some((t=>(0,Yh.matchPath)(e.pathname,{path:t})));
672return Kr(t,"r:awx:uam.users.*:*")?{title:n(r),icon:pH,href:"/app/uam/users",active:o,ga4:{name:"click_nav_item",params:{label:"user-management"}}}:null},rK=()=>{const e=(0,Yh.useLocation)(),t=Qh(oy),{t:n}=sw(),r="/app/account/group-management",o=[nK()].filter(Yr),i=[r,"/app1/account/group-management"].some((t=>(0,Yh.matchPath)(e.pathname,{path:t}))),a=Kr(t,"r:awx:system.groups.*:*");return o.length>0||a?{title:n("menu.accountGroupManagement"),icon:GL,href:r,active:i,children:o,ga4:{name:"click_nav_item",params:{label:"account-group-management"}}}:null},oK=()=>{const e=(0,Yh.useLocation)(),t=Qh(oy),n=Qh((e=>{var t;return null===(t=e.accountGroup)||void 0===t?void 0:t.members}))||[],r=[qq,Wq].some((t=>(0,Yh.matchPath)(e.pathname,{path:t}))),o=Kr(t,"r:awx:pa.dispute.*:*"),{t:i}=sw(),a=n.every((e=>{var t;return!(null==e||null===(t=e.dataCenterLocations)||void 0===t||!t.PA)})),s=n.reduce(((e,t)=>{var r,o;return!0===e&&(null==t||null===(r=t.dataCenterLocations)||void 0===r?void 0:r.PA)===(null===(o=n[0])||void 0===o||null===(o=o.dataCenterLocations)||void 0===o?void 0:o.PA)}),!0);return o&&a&&s?{title:i("menu.disputes"),icon:mI,href:"/app/acquiring/dispute/list/need-response",active:r,disabledBeforeKycSuccess:!0,ga4:{name:"click_nav_item",params:{label:"disputes"}}}:null},iK=()=>{const e=(0,Yh.useLocation)(),t=Qh(oy),n=Qh((e=>{var t;return null===(t=e.accountGroup)||void 0===t?void 0:t.members}))||[],r="/app/acquiring/list",o=[oK()].filter(Yr),i=[r,"/app1/acquiring/list"].some((t=>(0,Yh.matchPath)(e.pathname,{path:t}))),a=Kr(t,"r:awx:pa.payment.*:*"),{t:s}=sw();return(a||o.length>0)&&n.length>0?{title:s("menu.payments"),icon:zq,href:r,active:i,children:o,ga4:{name:"click_nav_item",params:{label:"payments"}}}:null},aK=()=>{const e=(0,Yh.useLocation)(),t=Qh((e=>{var t;return null===(t=e.accountGroup)||void 0===t?void 0:t.members}))||[],n=Qh(oy),r=Kr(n,"r:awx:core_banking.wallet.balances.*:*"),{t:o}=sw(),i=e.pathname.includes("/app1/reports")||e.pathname.includes("/app/reports");return r&&t.length>0?{title:o("menu.reports"),icon:gW,href:"/app/reports",active:i,ga4:{name:"click_nav_item",params:{label:"reports"}}}:null},sK=()=>{const e=(0,Yh.useLocation)(),t=Qh((e=>{var t;return null===(t=e.accountGroup)||void 0===t?void 0:t.members}))||[],n=Qh(oy),r=Kr(n,"r:awx:core_banking.wallet.balances.*:*"),o=e.pathname.includes("/app1/wallet")||e.pathname.includes("/app/wallet"),{t:i}=sw();return r&&t.length>0?{title:i("menu.balances"),icon:_W,href:"/app/wallet/balances",active:o,ga4:{name:"click_nav_item",params:{label:"balances"}}}:null};function lK(){const e=Qh((e=>e.account)),t=Qh(cK),n=Qh((e=>e.auth.accountGroupView)),r=Qh((e=>e.org.data)),o=Qh((e=>e.accountGroup.id)),[i]=Ry(),{t:a}=sw(),s=Qh((e=>{var t;return"SUSPENDED"===(null===(t=e.user.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.enrollmentStatus)})),l=Qh((e=>{var t;return"SUSPENDED"===(null===(t=e.user.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.enrollmentStatus)})),c=tK().filter((e=>!i||e.assistantMode)),u=function(){const e=(0,Yh.useHistory)(),t=Qh(aH),n=Qh((e=>e.account.isPricingPlanCancelled)),r=Qh((e=>{var t;return null===(t=e.account.kycRecord)||void 0===t?void 0:t.status})),o=Xh(),i=a=>({...a,onClick:i=>{var s;if(null!=a&&a.ga4){const{name:e,params:t}=a.ga4;Ko(e,{...t,nav_item_level:"account",account_kyc_status:r})}null!=a&&a.onClick?a.onClick(i):t&&null!=a&&a.disabledBeforeKycSuccess?o(IS.toggleVerificationModal()):n&&a.disabledForAccountWithCancelledPricingPlan?o(IS.toggleSelectPlanModal(!0)):null!=a&&null!==(s=a.href)&&void 0!==s&&s.startsWith("/app")?e.push(a.href):window.location.href=(null==a?void 0:a.href)??""},children:a.children&&a.children.length>0?a.children.map((e=>lO(e)?e:i(e))):a.children});return XW().map(i)}().filter((e=>!i||"assistantMode"in e&&e.assistantMode)),d=function(){const e=(0,Yh.useHistory)(),t=n=>({...n,onClick:t=>{if(n.onClick&&n.onClick(t),n.href&&e.push(n.href),null!=n&&n.ga4){const{name:e,params:t}=n.ga4;Ko(e,{...t,nav_item_level:"account-group"})}},children:n.children&&n.children.length>0?n.children.map((e=>lO(e)?e:t(e))):n.children});return[sK(),iK(),aK(),rK()].filter(Yr).map(t)}();
672if(!r&&e.id)return[{headerLine1:null,headerLine2:null,links:l?[]:u}];if(o)return[{headerLine1:null,headerLine2:null,links:d}];if(n)return[{headerLine1:null,headerLine2:null,links:l?[]:u}];const p=[{headerLine1:null,headerLine2:null,links:s?[]:c}];var f;return e.id&&u.length>0&&(null==r||!r.isBusinessAccountsEnabled)&&p.push({headerLine1:null===(f=e.externalInfo)||void 0===f?void 0:f.nickName,headerLine2:`${a("menu.account")} | ${t??""}`,links:l?[]:u}),p}const cK=rv([e=>e.account.clientLegalEntity],(e=>{if(e)return BV({clientLegalEntity:e})})),uK={producerName:"settings_container",exposedKey:"./settings-deep-links"};const dK=e=>{const t=eH(),n=(0,QU.xI)(),r=function(){const e=function(){const e=lK(),t=(0,s.useMemo)((()=>e.flatMap((e=>e.links.map((e=>{var t,n;return{path:e.href,title:e.title,description:e.description,children:null===(t=e.children)||void 0===t?void 0:t.filter((e=>!lO(e))).map((t=>{var n;return{path:t.href,title:`${e.title} -> ${t.title}`,description:t.description,deepLinks:null===(n=t.deepLinks)||void 0===n?void 0:n.map((n=>({path:n.href,title:`${e.title} -> ${t.title} -> ${n.title}`,description:n.description})))}})),deepLinks:null===(n=e.deepLinks)||void 0===n?void 0:n.map((t=>({path:t.href,title:`${e.title} -> ${t.title}`,description:t.description})))}}))))),[e]),n=function(){const{t:e}=sw();return(0,s.useMemo)((()=>[{path:"/app/account/profile",title:e("menu.account.deepLinks.accountProfile"),description:"Manage your personal details, contact information & login method, personal bank details and language preference"},{path:"/app/account/profile?tab=security",title:e("menu.account.deepLinks.security"),description:"Manage your password, two-factor authentication (2FA) methods and login sessions"},{path:"/app/account/profile?tab=notifications",title:e("menu.account.deepLinks.notifications"),description:"Manage your notification preferences for different products"},{path:"/app/account/profile?tab=accounts",title:e("menu.account.deepLinks.accounts"),description:"View all your accounts of your organization."},{path:"/app/account/profile?tab=assistants",title:e("menu.account.deepLinks.assistants"),description:"Add your assistant by name or email address"},{path:"/app/account/profile/change-password",title:e("menu.account.deepLinks.changePassword"),description:"Update your account password for enhanced security."},{path:"/app/account/profile/setup-2fa/start",title:e("menu.account.deepLinks.setupTwoFactorAuth"),description:"Enable two-factor authentication to secure your account."},{path:"/app/account/profile/add-email",title:e("menu.account.deepLinks.addEmailAddress"),description:"Add email address to your account which can be used as login credentials."},{path:"/app/account/profile/add-mobile",title:e("menu.account.deepLinks.addMobileNumber"),description:"Add a mobile number to your account which can be used as login credentials."},{path:"/app/account/add-bank-details",title:e("menu.account.deepLinks.bankDetails"),description:"Add your bank details to receive reimbursements."}]),[e])}(),r=function(){const e=Qh((e=>e.user)),t=Qh((e=>e.org.data)),n=hn(),r=Boolean((null==t?void 0:t.id)&&(null==t?void 0:t.isBusinessAccountsEnabled)),[o,i]=(0,s.useState)([]);return(0,s.useEffect)((()=>{if(!r)return void i((e=>0===e.length?e:[]));let o=!1;const a={user:e,org:t,flags:n};return(async()=>{try{const e=await wb(uK),t=await e.resolveSettingsTabAccess(a);if(o)return;i(e.getSettingsDeepLinks(a,t).map((e=>({path:e.href,title:e.title,description:e.description}))))}catch(e){o||i((e=>0===e.length?e:[])),zr.error("SETTINGS_DEEP_LINKS_LOAD_ERROR",{error:(0,ci.M)(e)})}})(),()=>{o=!0}}),[r,e,t,n]),o}();return(0,s.useMemo)((()=>[...t,...n,...r]),[t,n,r])}();return(0,s.useMemo)((()=>({deepLinks:e})),[e])}(),{isOpen:o}=(0,QU.Tq)(),i=oH(),a={isOpen:o,isFullscreen:"openAsFullscreen"===(null==i?void 0:i.kaiDisplayState),onFullscreenChange:null==i?void 0:i.setKaiFullscreen,onOpenChange:e=>e?n.requestOpen({source:"finos-copilot"}):n.requestClose(),skipCreatePortal:!0,skipTriggerButton:!0,hasSupportForMobile:!0},l=t?a:{isOpen:!0,onOpenChange:()=>{},hasSupportForMobile:!0};return gi(XU,{federationConfig:vb["finos-copilot"],containerProps:{...e,...l,context:r}}
672)},pK=new Set(["customer-support","pre-org-migration-review","announcement","analytics","settings-container","business-accounts-tour"]),fK=e=>{let{applicationName:t}=e;const n=(0,Yh.useHistory)(),o=hn(),i=Qh((e=>e.user)),a=Qh((e=>e.account)),l=cv(Qh(lv)),c=Qh(tk),u=mn(),d=Xh(),p=iC(),f=Qh((e=>e.org.data)),h=lo({path:location.pathname}),m=ao(h),g=(0,s.useMemo)((()=>xb(vb[t].remote)),[t]),v=!CS()||"/app"===window.location.pathname;return(0,s.useMemo)((()=>{const e={history:n,flags:o,user:i,account:a,themeProviderProps:l,ldClient:u,application:t,org:f,showContainerNav:v,analytics:r,accountFeatureFlags:c,activeAppName:m,loadRemoteModule:g,handleLangKeyChange:p,refetchUserState:()=>d(Fw())};return"finos-copilot"===t?gi(dK,{...e}):pK.has(t)?gi(XU,{federationConfig:vb[t],containerProps:e},t):null}),[a,t,v,o,n,u,f,l,i,c,m,g,p,d])},hK=e=>gi(ia,{fallback:null,children:gi(fK,{...e})});function mK(e){let{sections:t,langKey:n="en",noCreation:r,showPoweredByAirwallex:o}=e;const i=(0,ji.useTheme)(),a=vL(`(max-width: ${i.breakpoints.breakpointTokens.m}px) and (min-width: ${i.breakpoints.breakpointTokens.s}
672px)`),[l,c]=(0,s.useState)(!a),[u,d]=(0,s.useState)(!1);(0,s.useEffect)((function(){c(!a)}),[a]);const{handleMouseEnter:p,handleMouseLeave:f}=function(e){let{delay:t,onHovered:n,onUnhovered:r}=e;const o=(0,s.useRef)();(0,s.useEffect)((()=>()=>{o.current&&clearTimeout(o.current)}),[]);const i=(0,s.useCallback)((()=>{o.current&&clearTimeout(o.current),o.current=setTimeout((()=>{null==n||n(),o.current&&clearTimeout(o.current)}),t)}),[t,n]),a=(0,s.useCallback)((()=>{o.current&&clearTimeout(o.current),null==r||r()}),[r]);return(0,s.useMemo)((()=>({handleMouseEnter:i,handleMouseLeave:a})),[i,a])}({delay:300,onHovered(){l||(Ko("navigation_menu_hover_expand"),d(!0),c(!0))},onUnhovered(){u&&(Ko("navigation_menu_hover_collapse"),d(!1),c(!1))}});return vi(rO,{expanded:l,children:[gi(hK,{applicationName:"business-accounts-tour"}),gi(iO,{onMouseEnter:p,onMouseLeave:f,expanded:l,children:null==t?void 0:t.map(((e,t)=>gi(TI,{headerNode:vi(mi,{children:[0===t&&gi(ZU,{navigationExpanded:l,noCreation:r}),(e.headerLine1||e.headerLine2)&&gi(kL,{line1:e.headerLine1,line2:e.headerLine2,navigationExpanded:l})]}),links:e.links,navigationExpanded:l,langKey:n},t)))}),gi(gL,{navigationExpanded:l,onMouseEnter:()=>{u&&(c(!1),d(!1))},onToggle:()=>{c(!l)},showPoweredByAirwallex:o})]})}function gK(){return gK=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gK.apply(this,arguments)}var vK=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",gK({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M21.8838 24.8114C22.3719 25.2996 22.3719 26.0909 21.8838 26.579C21.3956 27.0672 20.6043 27.0672 20.1162 26.579L10.4697 16.9325C9.78633 16.2491 9.78633 15.1413 10.4697 14.4579L20.1162 4.81143C20.6043 4.32327 21.3956 4.32327 21.8838 4.81143C22.3719 5.29958 22.3719 6.09085 21.8838 6.57901L12.7676 15.6952L21.8838 24.8114Z",fill:n})]}))}));function yK(){return yK=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yK.apply(this,arguments)}var bK=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",yK({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M24.1162 6.11612C24.6044 5.62796 25.3956 5.62796 25.8838 6.11612C26.3719 6.60427 26.3719 7.39554 25.8838 7.88369L17.7676 15.9999L25.8838 24.1161C26.3719 24.6043 26.3719 25.3955 25.8838 25.8837C25.3956 26.3718 24.6044 26.3718 24.1162 25.8837L16 17.7675L7.88379 25.8837C7.39563 26.3718 6.60436 26.3718 6.11621 25.8837C5.62805 25.3955 5.62805 24.6043 6.11621 24.1161L14.2324 15.9999L6.11621 7.88369C5.62805 7.39554 5.62805 6.60427 6.11621 6.11612C6.60436 5.62796 7.39563 5.62796 7.88379 6.11612L16 14.2323L24.1162 6.11612Z",fill:n})]}))}));function wK(e){let{open:t,assistantMenu:n,portalTarget:r}=e;return t&&n?(0,la.createPortal)(n,r):null}let xK=function(e){return e[e.Exited=0]="Exited",e[e.Entering=1]="Entering",e[e.Entered=2]="Entered",e[e.Exiting=3]="Exiting",e}({});const kK=Pi.i7` 673 from { 674 transform: translate3d(0, 100%, 0); 675 } 676 to { 677 transform: translate3d(0, 0, 0); 678 } 679`,CK=Pi.i7` 680 from { 681 transform: translate3d(0, 0, 0); 682 } 683 to { 684 transform: translate3d(0, 100%, 0); 685 } 686`,EK=(0,ji.styled)("div",{shouldForwardProp:e=>"in"!==e})` 687 will-change: transform; 688 animation: ${e=>{let{in:t}=e;return t?kK:CK}} 0.5s cubic-bezier(0.32, 0.72, 0, 1) both; 689`,SK=ji.styled.div((e=>{let{theme:t}=e;return{position:"relative",padding:8,borderTop:`1px solid ${t.colors.grays[20]}`}})),OK=(0,ji.styled)((function(e){const{animationState:t,onAnimationEnd:n}=function(e){let{in:t}=e;
689const[n,r]=(0,s.useState)((()=>t?xK.Entered:xK.Exited));return(0,s.useEffect)((function(){r(t?e=>e!==xK.Entered?xK.Entering:e:e=>e!==xK.Exited?xK.Exiting:e)}),[t]),{animationState:n,onAnimationEnd:(0,s.useCallback)((()=>{r((e=>{switch(e){case xK.Entering:return xK.Entered;case xK.Exiting:return xK.Exited;default:return e}}))}),[])}}(e);return t===xK.Exited?null:gi(EK,{onAnimationEnd:n,...e})}))((e=>{let{theme:t}=e;return{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:t.zIndex.modal+1,display:"flex",flexDirection:"column",background:t.colors.white}})),AK=ji.styled.div((e=>{let{theme:t}=e;return{height:56,flexShrink:0,padding:16,display:"flex",alignItems:"center",justifyContent:"space-between",color:t.colors.grays[70]}})),_K=(0,ji.styled)(rL)((e=>{let{theme:t}=e;return{color:t.colors.grays[70],flexShrink:0}})),PK=ji.styled.div({height:"100%",overflow:"hidden",display:"flex",flexDirection:"column",width:"100%"});function jK(e){let{open:t,popupRef:n,panelContent:r,hasActionBar:o,actionBar:i,onBack:a,onClose:s,portalTarget:l}=e;return(0,la.createPortal)(vi(OK,{ref:n,role:"dialog",in:t,children:[vi(AK,{"data-test":"account-switcher-mobile-drawer-header",children:[gi(_K,{"aria-label":"Back",icon:vK,onClick:a}),gi(_K,{"aria-label":"Close",icon:bK,onClick:s})]}),gi(PK,{children:r}),o&&i&&gi(SK,{children:i})]}),l)}function TK(e){let{trigger:t,portalContainer:n,...r}=e;const o=n??document.body,{isAssistantMode:i,assistantMenu:a,...s}=r;return vi(mi,i?{children:[t,gi(wK,{open:s.open,assistantMenu:a,portalTarget:o})]}:{children:[t,gi(jK,{...s,portalTarget:o})]})}function IK(e){let{noCreation:t,onClosePopup:n}=e;const{data:r,loading:o,canCreateAccount:i,canCreateAccountGroup:a,canOpenSwitcher:l,accountIdToOrgMap:c,refetch:u}=MV({noCreation:t}),d=!(!i&&!a),{isOpen:p,close:f,toggle:h,popupRef:m}=uz(),{closeSwitcher:g,closeDrawer:v,toggleOpen:y}=cz({viewType:"mobile",close:f,toggle:h}),[b]=Ry(),w=!!b,x=(0,s.useCallback)((()=>{null==n||n()}),[n]),k=(0,s.useCallback)((()=>{g("switcher_list"),x()}),[g,x]),C=(0,s.useCallback)((()=>{g("assistant_mode_menu",{type:"close"}),x()}),[g,x]),E=(0,s.useCallback)((()=>{g("action_bar"),x()}),[g,x]),S=(0,s.useCallback)((()=>{v("close"),x()}),[v,x]);return gi(TK,{open:p,isAssistantMode:w,hasActionBar:d,popupRef:m,portalContainer:document.body,onBack:()=>v("back"),onClose:S,trigger:gi(eN,{interactive:l,active:p,trackingViewType:"mobile","aria-haspopup":"dialog",onClick:l?e=>y(e,u):void 0}),panelContent:o?gi(LN,{}):gi(jV,{data:r,accountIdToOrgMap:c,onCloseSwitcher:k}),actionBar:gi(lz,{canCreateAccount:!!i,canCreateAccountGroup:!!a,onCloseSwitcher:E}),assistantMenu:gi(GV,{ref:m,isViewportPositioned:!0,onCloseSwitcher:C})})}let LK=function(e){return e[e.Exited=0]="Exited",e[e.Entering=1]="Entering",e[e.Entered=2]="Entered",e[e.Exiting=3]="Exiting",e}({});const NK=$S.i7` 690 from { 691 transform: translate3d(0, 100%, 0); 692 } 693 to { 694 transform: translate3d(0, 0, 0); 695 } 696`,RK=$S.i7` 697 from { 698 transform: translate3d(0, 0, 0); 699 } 700 to { 701 transform: translate3d(0, 100%, 0); 702 } 703`,DK=(0,ji.styled)("div",{shouldForwardProp:e=>"in"!==e})` 704 will-change: transform; 705 animation: ${e=>{let{in:t}=e;return t?NK:RK}} 0.5s cubic-bezier(0.32, 0.72, 0, 1) both; 706`;function FK(e){var t;const{showCreateAccount:n,showCreateAccountGroup:r,onCloseSwitcher:o}=e,{t:i}=sw(),a=i(null!==(t=Qh(Jv))&&void 0!==t&&t.isBusinessAccountsEnabled?"accountSwitch.viewAndCreateAccounts":"accountSwitch.newAccount");return n||r?vi(MK,{children:[n&&gi(cU,{buttonText:a,onClick:o}),r&&gi(uU,{buttonText:i("accountSwitch.newAccountGroup"),onClick:o})]}):null}const MK=ji.styled.div((e=>{let{theme:t}=e;return{position:"relative",padding:8,borderTop:`1px solid ${t.colors.grays[20]}`}}));function BK(e){let{noCreation:t,onClosePopup:n}=e;const{data:r,loading:o,canCreateAccount:i,canCreateAccountGroup:a,canOpenSwitcher:l,accountIdToOrgMap:c,refetch:u}=eU({noCreation:t}
706),[d,p]=(0,s.useState)(!1),f=(0,s.useRef)(null);kz(f,(()=>p(!1)));const[h]=Ry(),m=!!h;return vi(mi,{children:[gi(Gz,{interactive:l,active:d,"aria-haspopup":"dialog",onClick:l?e=>{e.stopPropagation(),Ko("account_switcher_panel_toggle",{toggleOpen:!d,view_type:"mobile"}),p(!d),u()}:void 0}),m?d&&(0,la.createPortal)(gi(HU,{ref:f,onCloseSwitcher:()=>{Ko("account_switcher_panel_collapse",{source:"assistant_mode_menu",type:"close",view_type:"mobile"}),p(!1),null==n||n()}}),document.body):(0,la.createPortal)(vi(HK,{in:d,onBack:()=>{Ko("account_switcher_panel_collapse",{source:"mobile_drawer",type:"back",view_type:"mobile"}),p(!1)},onClose:()=>{Ko("account_switcher_panel_collapse",{source:"mobile_drawer",type:"close",view_type:"mobile"}),p(!1),null==n||n()},children:[gi(UK,{children:o?gi(CU,{}):gi(zU,{data:r,accountIdToOrgMap:c,onCloseSwitcher:()=>{Ko("account_switcher_panel_collapse",{source:"switcher_list",view_type:"mobile"}),p(!1),null==n||n()}})}),gi(FK,{showCreateAccount:!!i,showCreateAccountGroup:!!a,onCloseSwitcher:()=>{Ko("account_switcher_panel_collapse",{source:"action_bar",view_type:"mobile"}),p(!1),null==n||n()}})]}),document.body)]})}const VK=(0,ji.styled)((function(e){const{animationState:t,onAnimationEnd:n}=function(e){let{in:t}=e;const[n,r]=(0,s.useState)((()=>t?LK.Entered:LK.Exited));return(0,s.useEffect)((function(){r(t?e=>e!==LK.Entered?LK.Entering:e:e=>e!==LK.Exited?LK.Exiting:e)}),[t]),{animationState:n,onAnimationEnd:(0,s.useCallback)((()=>{r((e=>{switch(e){case LK.Entering:return LK.Entered;case LK.Exiting:return LK.Exited;default:return e}}))}),[])}}(e);return t===LK.Exited?null:gi(DK,{onAnimationEnd:n,...e})}))((e=>{let{theme:t}=e;return{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:t.zIndex.modal+1,display:"flex",flexDirection:"column",background:t.colors.white}})),zK=ji.styled.div((e=>{let{theme:t}=e;return{height:56,flexShrink:0,padding:16,display:"flex",alignItems:"center",justifyContent:"space-between",color:t.colors.grays[70]}})),UK=ji.styled.div({height:"100%",overflow:"hidden",display:"flex",flexDirection:"column",width:"100%"});function HK(e){let{onBack:t,onClose:n,children:r,...o}=e;return vi(VK,{role:"dialog",...o,children:[vi(zK,{children:[gi(vK,{role:"button","aria-label":"Back",onClick:t}),gi(bK,{role:"button","aria-label":"Close",onClick:n})]}),r]})}var qK=n(22573);const WK=eO.div` 707 position: sticky; 708 padding: 8px 12px; 709 top: 0; 710 width: 100%; 711 display: flex; 712 align-items: center; 713 z-index: ${qK.f.header}; 714 background-color: ${e=>{let{theme:t}=e;return t.colors.white}}; 715 font-size: 18px; 716 font-weight: bold; 717 box-shadow: 0px -1px 0px 0px #cbcbcb inset; 718`,$K=eO(rL)` 719 padding: 8px; 720 color: ${e=>{let{theme:t}=e;return t.colors.greys[100]}}; 721`,GK=eO.nav((e=>{let{theme:t}=e;return Pi.AH` 722 position: fixed; 723 z-index: ${qK.f.modal}; 724 width: 100%; 725 width: ${nO}px; 726 left: 0; 727 top: 0; 728 bottom: 0; 729 box-sizing: border-box; 730 background-color: ${t.navigationV3.background}; 731 color: ${t.navigationV3.color}; 732 display: flex; 733 flex-direction: column; 734 align-items: flex-start; 735 justify-content: space-between; 736 `}),(function(e){let{expanded:t}=e;return Pi.AH` 737 transform: ${t?"translateX(0)":"translateX(-100%)"}; 738 will-change: transform; 739 transition: transform 180ms ease; 740 `})),KK=eO.div` 741 margin-left: ${e=>{let{theme:t}=e;return t.space.xs}}; 742 font-size: 18px; 743 font-weight: 700; 744 color: ${e=>{let{theme:t}=e;return t.colors.greys[100]}}; 745`,ZK=Pi.i7` 746 from { 747 opacity: 0; 748 } 749 to { 750 opacity: 1; 751 } 752`,YK=eO.div` 753 position: fixed; 754 top: 0; 755 right: 0; 756 bottom: 0; 757 left: 0; 758 inset: 0; 759 background-color: rgba(0, 0, 0, 0.3); 760 z-index: ${qK.f.modal-1}; 761 animation: ${ZK} 180ms ease; 762`;function XK(e){let{showPoweredByAirwallex:t}=e;return gi(QK,{children:gi(lL,{showPoweredByAirwallex:t})})}const QK=ji.styled.footer` 763 min-height: 64px; 764 flex-shrink: 0; 765 display: flex; 766 align-items: center; 767 padding-inline-start: 16px; 768`;var JK={name:"1tk8yx0",styles:"padding:8px"};function eZ(e){let{sections:t,langKey:n="en",noCreation:r,showPoweredByAirwallex:o}=e;const{t:i}=sw(),{pffAccountSwitcherRefactor:a=!1}
768=hn(),l=a?IK:BK,[c,u]=(0,s.useState)(!1);(0,s.useEffect)((function(){c?(Ko("navigation_menu_mobile_expand"),document.body.style.overflow="hidden",document.body.style.height="100%"):(Ko("navigation_menu_mobile_collapse"),document.body.style.overflow="unset",document.body.style.height="unset")}),[c]);const d=(0,s.useMemo)((()=>{for(const e of t??[])for(const t of e.links){for(const e of t.children||[])if("active"in e&&e.active)return e.title;if(t.active)return t.title}return null}),[t]),p=(0,s.useCallback)(((e,t)=>{!1!==t.expanded&&u(!1)}),[]);return vi(mi,{children:[vi(WK,{children:[gi($K,{onClick:()=>{u(!0)},"aria-label":i("navigation.open"),icon:()=>gi(oI,{size:24,"aria-hidden":!0})}),gi(KK,{children:d})]}),vi(GK,{expanded:c,hidden:!c,children:[gi(iO,{expanded:c,children:null==t?void 0:t.map(((e,t)=>gi(TI,{headerNode:vi(mi,{children:[0===t&&gi("div",{css:JK,children:gi(l,{noCreation:r,onClosePopup:()=>u(!1)})}),(e.headerLine1||e.headerLine2)&&gi(kL,{line1:e.headerLine1,line2:e.headerLine2})]}),links:e.links,navigationExpanded:c,langKey:n,onLinkClick:p},t)))}),gi(XK,{showPoweredByAirwallex:o})]}),c&&gi(YK,{onClick:()=>u(!1)})]})}function tZ(){const e=Qh((e=>{var t;return!e.org.data&&dv((null===(t=e.user.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions)??[])})),t=Qh((e=>!!e.accountGroup.id)),n=ly(),[r]=Ry(),o=(0,ji.useTheme)();return Qh(nZ)?(0,yj.bJ)("#fff",o.nav.background)>(0,yj.bJ)("#000",o.nav.background)?"pba_dark":"pba_light":r?"assistant":t||e||n?"light":"dark"}function nZ(e){return!!If({account:e.account})}function rZ(){const{initialized:e,isReinitializing:t}=Dx(),n=(0,jr.sC)(),r=lK();!function(e){const[t]=(0,s.useState)((()=>document.title)),n=(0,s.useMemo)((()=>{for(const t of e)for(const e of t.links){if(e.active)return e;if(e.children)for(const t of e.children)if("active"in t&&t.active)return t}return null}),[e]);(0,s.useEffect)((()=>{if(n)return document.title=`${t} - ${n.title}`,()=>{document.title=t}}),[n,t])}(r);const o=JU(),i=tZ();return e||t?gi(JS,o?{themeVariant:i,children:gi(eZ,{langKey:n,sections:r})}:{themeVariant:i,children:gi(mK,{langKey:n,sections:r})}):null}var oZ=n(25149);const iZ=(aZ={Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã
:"A",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",Ã:"C",ç:"c",Ã:"D",ð:"d",Ã:"E",Ã:"E",Ã:"E",Ã:"E",è:"e",é:"e",ê:"e",ë:"e",Ã:"I",Ã:"I",Ã:"I",Ã:"I",ì:"i",Ã:"i",î:"i",ï:"i",Ã:"N",ñ:"n",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ã:"U",Ã:"U",Ã:"U",Ã:"U",ù:"u",ú:"u",û:"u",ü:"u",Ã:"Y",ý:"y",ÿ:"y",Ã:"Ae",æ:"ae",Ã:"Th",þ:"th",Ã:"ss",Ä:"A",Ä:"A",Ä:"A",Ä:"a",Ä:"a",Ä
:"a",Ä:"C",Ä:"C",Ä:"C",Ä:"C",Ä:"c",Ä:"c",Ä:"c",Ä:"c",Ä:"D",Ä:"D",Ä:"d",Ä:"d",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"G",Ä:"G",Ä :"G",Ä¢:"G",Ä:"g",Ä:"g",Ä¡:"g",Ä£:"g",Ĥ:"H",Ħ:"H",Ä¥:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Ä®:"I",İ:"I",Ä©:"i",Ä«:"i",Ä:"i",į:"i",ı:"i",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",ĸ:"k",Ĺ:"L",Ä»:"L",Ľ:"L",Ä¿:"L",Å:"L",ĺ:"l",ļ:"l",ľ:"l",Å:"l",Å:"l",Å:"N",Å
:"N",Å:"N",Å:"N",Å:"n",Å:"n",Å:"n",Å:"n",Å:"O",Å:"O",Å:"O",Å:"o",Å:"o",Å:"o",Å:"R",Å:"R",Å:"R",Å:"r",Å:"r",Å:"r",Å:"S",Å:"S",Å:"S",Å :"S",Å:"s",Å:"s",Å:"s",Å¡:"s",Å¢:"T",Ť:"T",Ŧ:"T",Å£:"t",Å¥:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Å®:"U",Ű:"U",Ų:"U",Å©:"u",Å«:"u",Å:"u",ů:"u",ű:"u",ų:"u",Å´:"W",ŵ:"w",Ŷ:"Y",Å·:"y",Ÿ:"Y",Ź:"Z",Å»:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Å:"Oe",Å:"oe",Å:"'n",Å¿:"s"},function(e){return null==aZ?void 0:aZ[e]});
768var aZ,sZ=n(3456),lZ=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,cZ=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var uZ=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var dZ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var pZ="\\ud800-\\udfff",fZ="\\u2700-\\u27bf",hZ="a-z\\xdf-\\xf6\\xf8-\\xff",mZ="A-Z\\xc0-\\xd6\\xd8-\\xde",gZ="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",vZ="["+gZ+"]",yZ="\\d+",bZ="["+fZ+"]",wZ="["+hZ+"]",xZ="[^"+pZ+gZ+yZ+fZ+hZ+mZ+"]",kZ="(?:\\ud83c[\\udde6-\\uddff]){2}",CZ="[\\ud800-\\udbff][\\udc00-\\udfff]",EZ="["+mZ+"]",SZ="(?:"+wZ+"|"+xZ+")",OZ="(?:"+EZ+"|"+xZ+")",AZ="(?:['â](?:d|ll|m|re|s|t|ve))?",_Z="(?:['â](?:D|LL|M|RE|S|T|VE))?",PZ="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",jZ="[\\ufe0e\\ufe0f]?",TZ=jZ+PZ+"(?:\\u200d(?:"+["[^"+pZ+"]",kZ,CZ].join("|")+")"+jZ+PZ+")*",IZ="(?:"+[bZ,kZ,CZ].join("|")+")"+TZ,LZ=RegExp([EZ+"?"+wZ+"+"+AZ+"(?="+[vZ,EZ,"$"].join("|")+")",OZ+"+"+_Z+"(?="+[vZ,EZ+SZ,"$"].join("|")+")",EZ+"?"+SZ+"+"+AZ,EZ+"+"+_Z,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",yZ,IZ].join("|"),"g");const NZ=function(e,t,n){return e=(0,sZ.A)(e),void 0===(t=n?void 0:t)?function(e){return dZ.test(e)}(e)?function(e){return e.match(LZ)||[]}(e):function(e){return e.match(uZ)||[]}(e):e.match(t)||[]};var RZ,DZ=RegExp("['â]","g");const FZ=(RZ=function(e,t,n){return e+(n?"_":"")+t.toLowerCase()},function(e){return function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}(NZ(function(e){return(e=(0,sZ.A)(e))&&e.replace(lZ,iZ).replace(cZ,"")}(e).replace(DZ,"")),RZ,"")});var MZ,BZ=e=>
768{var t=(0,s.useRef)(null),n=(0,s.useRef)(null),[r,o]=(0,s.useState)((()=>Object.keys(e).reduce(((e,t)=>(e[t]=!1,e)),{})));(0,s.useLayoutEffect)((()=>{var r=t.current;if(r){var i=r.getBoundingClientRect().width;n.current=i;var a={};for(var[s,l]of Object.entries(e))a[s]=i<=l;if(o(a),"undefined"!=typeof ResizeObserver){var c=new ResizeObserver((t=>{var[r]=t;if(r){var i=r.target.getBoundingClientRect().width,a=n.current;if(null!==a&&!Object.values(e).some((e=>a<=e!=i<=e)))return;n.current=i;var s={};for(var[l,c]of Object.entries(e))s[l]=i<=c;o(s)}}));return c.observe(r),()=>{c.disconnect()}}}}),[e]);var i=(0,s.useCallback)((e=>{var t;return null!=(t=r[e])&&t}),[r]),a=(0,s.useCallback)((e=>{var t;return!(null==(t=r[e])||t)}),[r]);return{ref:t,isEqualOrSmallerThan:i,isLargerThan:a}},VZ={en:{"alert.dismiss":"Dismiss","alert.fullwidth.expand":"Expand","alert.fullwidth.collapse":"Collapse","alert.fullwidth.viewDetails":"View details","alert.fullwidth.hideDetails":"Hide details"},"en-US":{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","alert.dismiss":"Dismiss","alert.fullwidth.expand":"Expand","alert.fullwidth.collapse":"Collapse","alert.fullwidth.viewDetails":"View details","alert.fullwidth.hideDetails":"Hide details"},zh:{"alert.dismiss":"å
³é","alert.fullwidth.expand":"å±å¼","alert.fullwidth.collapse":"æ¶èµ·","alert.fullwidth.viewDetails":"æ¥ç详æ
","alert.fullwidth.hideDetails":"éè详æ
"},fr:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","alert.dismiss":"Rejeter","alert.fullwidth.expand":"Développer","alert.fullwidth.collapse":"Réduire","alert.fullwidth.viewDetails":"Afficher les détails","alert.fullwidth.hideDetails":"Masquer les détails"},"es-MX":{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","alert.dismiss":"Descartar","alert.fullwidth.expand":"Expandir","alert.fullwidth.collapse":"Contraer","alert.fullwidth.viewDetails":"Ver detalles","alert.fullwidth.hideDetails":"Ocultar detalles"},de:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","alert.dismiss":"Ablehnen","alert.fullwidth.expand":"Erweitern","alert.fullwidth.collapse":"Reduzieren","alert.fullwidth.viewDetails":"Details anzeigen","alert.fullwidth.hideDetails":"Details ausblenden"},ja:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","alert.dismiss":"éãã","alert.fullwidth.expand":"å±é","alert.fullwidth.collapse":"æãããã","alert.fullwidth.viewDetails":"詳細ã表示","alert.fullwidth.hideDetails":"詳細ãé表示"},ko:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","alert.dismiss":"í´ì§","alert.fullwidth.expand":"í¼ì¹ê¸°","alert.fullwidth.collapse":"ì 기","alert.fullwidth.viewDetails":"ì¸ë¶ ì ë³´ 보기","alert.fullwidth.hideDetails":"ì¸ë¶ ì ë³´ ì¨ê¸°ê¸°"},"pt-BR":{"alert.dismiss":"Liberar","alert.fullwidth.expand":"Expandir","alert.fullwidth.collapse":"Recolher","alert.fullwidth.viewDetails":"Ver detalhes","alert.fullwidth.hideDetails":"Ocultar detalhes"},vi:{"alert.dismiss":"BaÌi chưÍc","alert.fullwidth.expand":"Má» rá»ng","alert.fullwidth.collapse":"Thu gá»n","alert.fullwidth.viewDetails":"Xem chi tiết","alert.fullwidth.hideDetails":"Ẩn chi tiết"},tr:{"alert.dismiss":"Kapat","alert.fullwidth.expand":"GeniÅlet","alert.fullwidth.collapse":"Daralt","alert.fullwidth.viewDetails":"Ayrıntıları görüntüle","alert.fullwidth.hideDetails":"Ayrıntıları gizle"},pl:{"alert.dismiss":"Zamknij","alert.fullwidth.expand":"RozwiÅ","alert.fullwidth.collapse":"ZwiÅ","alert.fullwidth.viewDetails":"Zobacz szczegóÅy","alert.fullwidth.hideDetails":"Ukryj szczegóÅy"},th:{"alert.dismiss":"à¸à¸´à¸","alert.fullwidth.expand":"à¸à¸¢à¸²à¸¢","alert.fullwidth.collapse":"ยà¹à¸","alert.fullwidth.viewDetails":"à¸à¸¹à¸£à¸²à¸¢à¸¥à¸°à¹à¸à¸µà¸¢à¸","alert.fullwidth.hideDetails":"à¸à¹à¸à¸à¸£à¸²à¸¢à¸¥à¸°à¹à¸à¸µà¸¢à¸"},"zh-HK":{"alert.dismiss":"éé","alert.fullwidth.expand":"å±é","alert.fullwidth.collapse":"æ¶å","alert.fullwidth.viewDetails":"æ¥ç詳æ
","alert.fullwidth.hideDetails":"é±è詳æ
"}};function zZ(){return zZ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zZ.apply(this,arguments)}!function(e){e.INFORMATIONAL="INFORMATIONAL",e.SUCCESS="SUCCESS",e.WARNING="WARNING",e.CRITICAL="CRITICAL"}(MZ||(MZ={}));var UZ={[MZ.INFORMATIONAL]:"informational",[MZ.SUCCESS]:"success",[MZ.WARNING]:"warning",[MZ.CRITICAL]:"critical"},HZ=zZ({},UZ,{AI:"ai"}),qZ={informational:"INFORMATIONAL",success:"SUCCESS",warning:"WARNING",critical:"CRITICAL"},WZ=e=>{var{tone:t,variant:n}=e;return t||(n?UZ[n]:"informational")};function $Z(){return $Z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$Z.apply(this,arguments)}var GZ=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",$Z({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M16 1.75C23.8701 1.75 30.25 8.12994 30.25 16C30.25 23.8701 23.8701 30.25 16 30.25C8.12994 30.25 1.75 23.8701 1.75 16C1.75 8.12994 8.12994 1.75 16 1.75ZM16 14C15.3096 14 14.75 14.5596 14.75 15.25V22.75C14.75 23.4404 15.3096 24 16 24C16.6904 24 17.25 23.4404 17.25 22.75V15.25C17.25 14.5596 16.6904 14 16 14ZM16 9C15.3096 9 14.75 9.55964 14.75 10.25V10.75C14.75 11.4404 15.3096 12 16 12C16.
7686904 12 17.25 11.4404 17.25 10.75V10.25C17.25 9.55964 16.6904 9 16 9Z",fill:n})]}))}));function KZ(){return KZ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KZ.apply(this,arguments)}var ZZ=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",KZ({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 1.75C23.8701 1.75 30.25 8.12994 30.25 16C30.25 23.8701 23.8701 30.25 16 30.25C8.12994 30.25 1.75 23.8701 1.75 16C1.75 8.12994 8.12994 1.75 16 1.75ZM22.8662 11.5986C22.3685 11.1205 21.577 11.1363 21.0986 11.6338L14.2764 18.7295L11.5537 16.1006C11.0571 15.6215 10.2656 15.6354 9.78613 16.1318C9.30705 16.6284 9.32116 17.42 9.81738 17.8994L13.4414 21.3994C13.6801 21.6299 14.0013 21.7561 14.333 21.75C14.6649 21.7438 14.9809 21.6055 15.2109 21.3662L22.9004 13.3662C23.3788 12.8686 23.3638 12.0771 22.8662 11.5986Z",fill:n})]}))}));function YZ(){return YZ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YZ.apply(this,arguments)}var XZ=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",YZ({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M13.7801 3.56443C14.7129 1.76561 17.2867 1.76
768565 18.2196 3.56443L30.1629 26.5996C31.0255 28.2637 29.8176 30.25 27.9432 30.25H4.05648C2.18211 30.2499 0.974185 28.2636 1.83675 26.5996L13.7801 3.56443ZM16.3143 23C15.6239 23 15.0643 23.5596 15.0643 24.25V24.75C15.0643 25.4403 15.6239 26 16.3143 26C17.0045 25.9998 17.5643 25.4402 17.5643 24.75V24.25C17.5643 23.5598 17.0045 23.0002 16.3143 23ZM16.3143 11C15.6239 11 15.0643 11.5596 15.0643 12.25V19.75C15.0643 20.4403 15.6239 21 16.3143 21C17.0045 20.9998 17.5643 20.4402 17.5643 19.75V12.25C17.5643 11.5598 17.0045 11.0002 16.3143 11Z",fill:n})]}))}));function QZ(){return QZ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QZ.apply(this,arguments)}var JZ=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",QZ({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.8964 2.14729C15.5922 1.80505 16.4077 1.8051 17.1035 2.14729L25.8535 6.45197C26.7045 6.8707 27.2499 7.73434 27.25 8.69123V19.8631C27.2498 21.364 26.6245 22.7015 25.7792 23.825C24.9345 24.9478 23.8171 25.9299 22.6884 26.7518C20.4313 28.3953 17.9431 29.5325 16.9394 29.9617C16.3378 30.219 15.6621 30.219 15.0605 29.9617C14.0566 29.5324 11.5686 28.3952 9.31147 26.7518C8.1827 25.9299 7.06543 24.9478 6.22065 23.825C5.3754 22.7015 4.75013 21.3641 4.74995 19.8631C4.74985 15.9309 4.74986 10.6512 4.74995 8.69123C4.75 7.73447 5.29556 6.87073 6.14644 6.45197L14.8964 2.14729ZM21.8437 12.076C21.3345 11.6101 20.5442 11.645 20.0781 12.1541L14.5498 18.1922L11.8818 15.536C11.3926 15.0491 10.6012 15.0508 10.1142 15.5399C9.6272 16.0291 9.62903 16.8204 10.1181 17.3074L13.7099 20.8836C13.9513 21.1239 14.2806 21.2557 14.621 21.2479C14.9614 21.2399 15.2837 21.0928 15.5136 20.8416L21.9218 13.8426C22.388 13.3334 22.3529 12.5422 21.8437 12.076Z",fill:n})]}))}));function eY(){return eY=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eY.apply(this,arguments)}var tY=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",eY({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M14.8966 2.14631C15.5923 1.80407 16.4078 1.80412 17.1036 2.14631L25.8536 6.451C26.7047 6.86972 27.2501 7.73336 27.2501 8.69025V19.8621C27.2499 21.3631 26.6246 22.7006 25.7794 23.824C24.9346 24.9468 23.8173 25.9289 22.6885 26.7508C20.4314 28.3943 17.9433 29.5315 16.9395 29.9608C16.3379 30.218 15.6622 30.218 15.0606 29.9608C14.0567 29.5315 11.5687 28.3943 9.3116 26.7508C8.18282 25.9289 7.06555 24.9468 6.22078 23.824C5.37552 22.7005 4.75025 21.3631 4.75007 19.8621C4.74997 15.93 4.74998 10.6502 4.75007 8.69025C4.75012 7.73349 5.29568 6.86975 6.14656 6.451L14.8966 2.14631ZM16.0001 20.9979C15.3097 20.9979 14.7501 21.5575 14.7501 22.2479V22.7479C14.7501 23.4382 15.3097 23.9979 16.0001 23.9979C16.6904 23.9978 17.2501 23.4382 17.2501 22.7479V22.2479C17.2501 21.5575 16.6904 20.9979 16.0001 20.9979ZM16.0001 8.99787C15.3097 8.99787 14.7501 9.55752 14.7501 10.2479V17.7479C14.7501 18.4382 15.3097 18.9979 16.0001 18.9979C16.6904 18.9978 17.2501 18.4382 17.2501 17.7479V10.2479C17.2501 9.55754 16.6904 8.9979 16.0001 8.99787Z",fill:n})]}))}));function nY(){return nY=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nY.apply(this,arguments)}var rY=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",nY({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.8964 2.14729C15.5922 1.80505 16.4077 1.8051 17.1035 2.14729L25.8535 6.45197C26.7045 6.8707 27.2499 7.73434 27.25 8.69123V19.8631C27.2498 21.364 26.6245 22.7015 25.7792 23.825C24.9345 24.9478 23.8171 25.9299 22.6884 26.7518C20.4313 28.3953 17.9431 29.5325 16.9394 29.9617C16.3378 30.219 15.6621 30.219 15.0605 29.9617C14.0566 29.5324 11.5686 28.3952 9.31147 26.7518C8.1827 25.9299 7.06543 24.9478 6.22065 23.825C5.3754 22.7015 4.75013 21.3641 4.74995 19.8631C4.74985 15.9309 4.74986 10.6512 4.74995 8.69123C4.75 7.73447 5.29556 6.87073 6.14644 6.45197L14.8964 2.14729ZM20.4462 11.9617C19.9582 11.4737 19.1668 11.4739 18.6787 11.9617L15.955 14.6844L13.3183 12.0477C12.8302 11.5595 12.0389 11.5595 11.5507 12.0477C11.0626 12.5358 11.0626 13.3271 11.5507 13.8153L14.1875 16.452L11.4619 19.1785C10.9737 19.6667 10.9737 20.458 11.4619 20.9461C11.95 21.4343 12.7413 21.4343 13.2294 20.9461L15.955 18.2196L18.7705 21.035C19.2586 21.5229 20.05 21.523 20.538 21.035C21.0261 20.5469 21.0259 19.7556 20.538 19.2674L17.7226 16.452L20.4462 13.7293C20.9341 13.2411 20.9343 12.4498 20.4462 11.9617Z",fill:n})]}))})),oY={informational:GZ,success:ZZ,warning:nI,critical:XZ},iY={informational:GZ,success:JZ,warning:tY,critical:rY},aY=e=>{var{tone:t,iconType:n,size:r=20}=e,o=function(e){var{tone:t,iconType:n}=e;return"VERIFY"===n?iY[t]:oY[t]}({tone:t,iconType:n});return(0,fi.jsx)(o,{size:r})},sY=e=>{var t,{theme:n}=e,{semanticColors:r}=$i(n),o=Hi(n.semanticTokensV9,(()=>n.tokens));return{foreground:{primary:o((e=>e.colors.fg.brand),r.text.link),secondary:o((e=>e.colors.fg.primary),r.text.primary),textSecondary:o((e=>e.colors.fg.secondary),n.colors.grays[60]),disabled:o((e=>e.colors.fg.disabled),(null==(t=n.typography.textLink.colors)?void 0:t.disabled)||n.colors.grays[40])}}},lY=e=>{var t,{theme:n}=e,r=n.textLink;return r?zi({foreground:(t=r,Object.prototype.hasOwnProperty.call(t,"foreground")?r.foreground:void 0)}):{}},cY=e=>{var{theme:t}=e;return Ui({defaults:sY({theme:t}),newFormatOverlay:lY({theme:t})})};function uY(){return uY=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uY.apply(this,arguments)}var dY=ji.styled.span({display:"inline-flex",alignItems:"center",height:"1lh",verticalAlign:"top","&:first-child":{marginInlineEnd:"0.25em"},"&:last-child":{marginInlineStart:"0.25em"},"& > svg":{width:"calc(1em + 2px)",height:"calc(1em + 2px)",flexShrink:0}}),pY=e=>{var{theme:t}=e,n=t.typography.textLink,{foreground:r}=cY({theme:t}),{semanticColors:o}=$i(t),i=Hi(t.semanticTokensV9,(()=>t.tokens)),a=i((e=>e.colors.fg.brand),o.text.link),s=uY({outline:"none",textDecorationLine:"none",pointerEvents:"none",cursor:"default",color:r.disabled,WebkitTextFillColor:r.disabled,background:"none",backgroundClip:"unset",WebkitBackgroun
768dClip:"unset",backgroundSize:"unset",animation:"none"},i((()=>({opacity:1})),{}),{"& > *":{color:r.disabled,WebkitTextFillColor:r.disabled}});return{display:"inline",cursor:"pointer",background:"transparent",textUnderlineOffset:2,fontSize:"inherit",lineHeight:"inherit",fontFamily:n.fontFamily,fontWeight:n.fontWeight,outline:"none",border:"none","&:hover":uY({},i((()=>({opacity:.9})),{color:o.text.link}),{textDecorationLine:"underline"}),"&:focus-visible":{outline:"1px solid "+a,outlineOffset:1,borderRadius:i((e=>e.radii.xs),2)},"&&:active":uY({},i((()=>({opacity:.7})),{textDecoration:"none",color:t.colors.purples[50]})),"&:focus-visible:active":uY({outline:"1px solid "+a},i((()=>({opacity:.7})),{color:t.colors.purples[50]})),'&&[aria-disabled="true"]':s,"&&:disabled":s}},fY=e=>{var{theme:t,variant:n="primary"}=e,{foreground:r}=cY({theme:t});return{primary:{color:r.primary,textDecorationLine:"none"},secondary:{color:r.secondary,textDecorationLine:"underline"},textSecondary:{color:r.textSecondary,textDecorationLine:"underline"},ai:uY({},pj(t),{textDecorationLine:"none"})}[n]},hY=ji.styled.a(pY,fY,{"&:where(button)":{appearance:"none",padding:0}}),mY=ji.styled.button(pY,fY);function gY(){return gY=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gY.apply(this,arguments)}var vY=hY,yY=(e,t)=>{var n,r=[e,t],[o,...i]=r,{as:a="a",iconBefore:s,iconAfter:l,children:c,disabled:u=!1,variant:d="primary",tabIndex:p}=o,f=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(o,["as","iconBefore","iconAfter","children","disabled","variant","tabIndex"]),[h]=i,m="ai"!==d||u?void 0:"ai",g=gY({},f,"button"===a?{disabled:u,tabIndex:p,type:null!=(n=f.type)?n:"button"}:{"aria-disabled":u,tabIndex:u?-1:null!=p?p:0},{as:a,ref:h,variant:d});return(0,fi.jsxs)(vY,gY({},g,{children:[s&&(0,fi.jsx)(dY,{"data-text-link-icon":"before",children:(0,fi.jsx)(s,{gradient:m})}),(0,fi.jsx)("span",{children:c}),l&&(0,fi.jsx)(dY,{"data-text-link-icon":"after",children:(0,fi.jsx)(l,{gradient:m})})]}))},bY=(0,s.forwardRef)(yY);bY.displayName="TextLink";var wY=e=>{var{theme:t}=e,n=Hi(t.semanticTokensV9,(()=>t.tokens)),{semanticColors:r}=$i(t);return{background:{INFORMATIONAL:n((e=>e.colors.bg.area.information),t.colors.blues[5]),SUCCESS:n((e=>e.colors.bg.area.positive),t.colors.greens[5]),WARNING:n((e=>e.colors.bg.area.warning),t.colors.oranges[5]),CRITICAL:n((e=>e.colors.bg.area.critical),t.colors.reds[5]),subtle:n((e=>e.colors.bg.area.secondary),t.colors.grays[5])},foreground:{INFORMATIONAL:n((e=>e.colors.fg.primary),r.text.primary),SUCCESS:n((e=>e.colors.fg.primary),r.text.primary),WARNING:n((e=>e.colors.fg.primary),r.text.primary),CRITICAL:n((e=>e.colors.fg.primary),r.text.primary)},border:{INFORMATIONAL:n((e=>e.colors.border.information),t.colors.blues[40]),SUCCESS:n((e=>e.colors.border.positive),t.colors.greens[40]),WARNING:n((e=>e.colors.border.warning),t.colors.oranges[40]),CRITICAL:n((e=>e.colors.border.critical),t.colors.reds[40]),subtle:n((e=>e.colors.border.default),t.colors.grays[20])},iconBackground:{INFORMATIONAL:n((e=>e.colors.fg.information),t.colors.blues[50]),SUCCESS:n((e=>e.colors.fg.positive),r.icon.success),WARNING:n((e=>e.colors.fg.warning),t.colors.oranges[50]),CRITICAL:n((e=>e.colors.fg.critical),r.icon.error)},link:{text:{initial:n((e=>e.colors.fg.primary),t.colors.grays[100]),active:n((e=>e.colors.fg.primary),t.colors.grays[90])},textDecoration:{hover:n((e=>e.colors.fg.primary),t.colors.grays[90]),active:n((e=>e.colors.border.default),t.colors.grays[20]),initial:n((e=>e.colors.border.emphasis),t.colors.grays[40])},outline:{focus:n((e=>e.colors.fg.primary),t.colors.grays[100])}},button:{text:{initial:n((e=>e.colors.fg.primary),r.text.primary)},border:{initial:n((e=>e.colors.border.emphasis),t.colors.grays[30])},background:{hover:"rgba(0, 0, 0, 0.1)"}},closeButton:{text:{initial:n((e=>e.colors.fg.tertiary),t.colors.grays[50])},border:{initial:n((e=>e.colors.border.emphasis),t.colors.grays[50])},background:{hover:n((e=>e.colors.bg.area.primary),t.colors.white)}},layout:{borderRadius:{default:n((e=>
768e.radii.md),t.radius.l)}}}};function xY(){return xY=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xY.apply(this,arguments)}var kY=["INFORMATIONAL","SUCCESS","WARNING","CRITICAL"],CY={INFORMATIONAL:"informational",SUCCESS:"success",WARNING:"warning",CRITICAL:"critical"},EY=e=>{var{theme:t}=e;return{colors:{background:{success:t.colors.greens[5],informational:t.colors.blues[5],warning:t.colors.oranges[5],critical:t.colors.reds[5]},iconBackground:{success:t.colors.greens[50],informational:t.colors.blues[50],warning:t.colors.oranges[50],critical:t.colors.reds[50]},border:{success:t.colors.greens[40],warning:t.colors.oranges[40],critical:t.colors.reds[40],informational:t.colors.blues[40]},link:{text:{initial:t.colors.grays[100],active:t.colors.grays[90]},textDecoration:{hover:t.colors.grays[90],active:t.colors.grays[20],initial:t.colors.grays[40]},outline:{focus:t.colors.grays[100]}},button:{text:{initial:t.colors.grays[80]},border:{initial:t.colors.grays[30]},background:{hover:t.colors.white}},closeButton:{text:{initial:t.colors.grays[60]},border:{initial:t.colors.grays[50]},background:{hover:t.colors.white}}}}},SY=e=>{var{theme:t}=e,{colors:n}=Yi({componentTheme:t.alert,defaultComponentTheme:EY({theme:t})}),r=null==n?void 0:n.background,o=null==n?void 0:n.border,i=null==n?void 0:n.iconBackground;return zi(xY({},r&&{background:{INFORMATIONAL:r.informational,SUCCESS:r.success,WARNING:r.warning,CRITICAL:r.critical}},o&&{border:{INFORMATIONAL:o.informational,SUCCESS:o.success,WARNING:o.warning,CRITICAL:o.critical}},i&&{iconBackground:Object.fromEntries(kY.map((e=>[e,i[CY[e]]])).filter((e=>{var[,t]=e;return void 0!==t})))},{link:null==n?void 0:n.link,button:null==n?void 0:n.button,closeButton:null==n?void 0:n.closeButton}))},OY=["INFORMATIONAL","SUCCESS","WARNING","CRITICAL"],AY=new Set(["background","border"]),_Y=["background","foreground","border","iconBackground"],PY=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),jY=(e,t)=>{var n={};for(var r of OY)PY(t,r)&&(n[r]=t[r]);return AY.has(e)&&PY(t,"subtle")&&(n.subtle=t.subtle),n},TY=e=>{var t,{theme:n}=e,r=n.alert,o=_Y.some((e=>PY(r,e))),i=PY(r,"layout");if(!o&&!i)return{};var a=(e=>{var t={};for(var n of _Y)if(PY(e,n)){var r=e[n];if(r){var o=jY(n,r);Object.keys(o).length>0&&(t[n]=o)}}return t})(r);return i&&(null==(t=r.layout)?void 0:t.borderRadius)&&(a.layout={borderRadius:r.layout.borderRadius}),zi(a)},IY=e=>{var{theme:t}=e;return Ui({defaults:wY({theme:t}),legacyOverlay:SY({theme:t}),newFormatOverlay:TY({theme:t})})},LY="--fec-alert-bg-hover",NY="--fec-alert-bg-active";function RY(){return RY=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RY.apply(this,arguments)}function DY(e,t,n){var r=Hi(e.semanticTokensV9,(()=>e.tokens)),o="fullWidth"===n?"rgba(0, 0, 0, 0.05)":void 0,i="fullWidth"===n?"rgba(0, 0, 0, 0.08)":void 0,a="80",s=(e,t,n)=>({hover:r((t=>kj({baseColor:e(t),tint:{color:t.colors.fg.primary,opacity:"mediumHover"}})),t),active:r((t=>kj({baseColor:e(t),tint:{color:t.colors.fg.primary,opacity:"mediumPressed"}})),n)});switch(t){case"success":return s((e=>e.colors.bg.area.positive),null!=o?o:e.colors.greens[10]+a,null!=i?i:e.colors.greens[10]);case"warning":return s((e=>e.colors.bg.area.warning),null!=o?o:e.colors.oranges[10]+a,null!=i?i:e.colors.oranges[10]);case"critical":return s((e=>e.colors.bg.area.critical),null!=o?o:e.colors.reds[10]+a,null!=i?i:e.colors.reds[10]);case"ai":return s((e=>e.colors.bg.area.ai.start),null!=o?o:e.colors.purples[10]+a,null!=i?i:e.colors.purples[10]);default:return s((e=>e.colors.bg.area.information),null!=o?o:e.colors.blues[10]+a,null!=i?i:e.colors.blues[10])}}var FY=ji.styled.div({display:"flex",flexDirection:"column",order:2,"&& > * + *":{marginTop:4}}),MY=ji.styled.div((e=>{var{theme:t,tone:n,layout:r="default",isMobile:o=!1,isSubtle:i=!1}=e,a=qZ[n],s=IY({theme:t}),{hover:l,active:c}=DY(t,n),u=Hi(t.semanticTokensV9,(()=>t.tokens));return RY({display:"grid",position:"relative",textAlign:"start",gridGap:i?t.space.xs:t.space.s,padding:i?"8px 12px":15,fontSize:14,borderRadius:i?u((e=>
768e.radii.md),t.radius.l):s.layout.borderRadius.default,color:s.foreground[a],[""+LY]:l,[""+NY]:c,background:s.background[i?"subtle":a],border:"1px solid "+s.border[i?"subtle":a],gridTemplateColumns:"auto 1fr"},"withDismiss"===r&&{gridTemplateColumns:"auto 1fr auto",button:{alignSelf:"start"}},("withAction"===r||"withLinkAction"===r)&&{gridTemplateColumns:o?"auto 1fr":"auto 1fr auto"},"withDismissAndAction"===r&&{gridTemplateColumns:o?"auto 1fr auto":"auto 1fr auto auto"})})),BY=ji.styled.div((e=>{var{theme:t,tone:n}=e,{iconBackground:r}=IY({theme:t});return{display:"flex",order:1,paddingBlock:1,color:r[qZ[n]]}})),VY=ji.styled.div((e=>{var{layout:t="withAction",isMobile:n=!1,isSubtle:r=!1}=e;return RY({display:"flex",alignItems:"center",marginBlock:r?0:-9,marginInlineStart:32,order:3},n&&{gridColumn:"1/ -1",width:"100%",margin:0},"withDismissAndAction"===t&&{marginInlineStart:"auto"},"withLinkAction"===t&&n&&{gridColumnEnd:"none"})})),zY=(0,ji.styled)(nL)((e=>{var{theme:t,isMobile:n=!1}=e,{button:r}=IY({theme:t});return RY({outline:"1px solid "+r.border.initial,color:r.text.initial,"&&:hover":{background:"var("+LY+")",color:r.text.initial},"&&:active":{background:"var("+NY+")"},"&:focus-visible":{boxShadow:"none",outlineOffset:-1},"& path":{stroke:r.text.initial}},n&&{width:"100%"})})),UY=(0,ji.styled)(rL)((e=>{var{theme:t,isMobile:n=!1}=e,r=function(e){var{semanticColors:t}=$i(e),n=Hi(e.semanticTokensV9,(()=>e.tokens));return{button:{border:{hover:n((e=>e.colors.fg.tertiary),e.colors.grays[50]),focus:n((e=>e.colors.border.focus),e.colors.purples[70])}},closeButton:{text:{hover:n((e=>e.colors.fg.primary),t.icon.primary),focus:n((e=>e.colors.fg.primary),t.icon.primary)}}}}(t),{closeButton:o}=IY({theme:t});return RY({padding:8,margin:-5,order:4,alignSelf:"self-start",boxShadow:"none","&&:hover":{background:"var("+LY+")",svg:{color:r.closeButton.text.hover}},"&&:active":{background:"var("+NY+")"},"&:focus-visible":{outlineOffset:-2,svg:{color:r.closeButton.text.focus}},svg:{color:o.text.initial}},n&&{order:2})})),HY=(0,ji.styled)(bY)((e=>{var{theme:t}=e,{link:n}=IY({theme:t});return{textDecoration:"underline",textDecorationLine:"underline",textDecorationStyle:"solid",textUnderlineOffset:"2px",color:n.text.initial,paddingInline:t.space.xxs,textDecorationColor:n.textDecoration.initial,":hover":{color:n.text.initial,textDecorationColor:n.textDecoration.hover},":active":{color:n.text.active,textDecorationColor:n.textDecoration.active},":focus":{outline:"1px solid "+n.outline.focus}}})),qY=ji.styled.div((e=>{var{theme:t}=e,n=IY({theme:t}),r=Hi(t.semanticTokensV9,(()=>t.tokens));return{display:"flex",padding:"8px 12px",border:"1px solid "+n.border.subtle,borderRadius:r((e=>e.radii.md),t.radius.l),backgroundColor:n.background.subtle}})),WY=ji.styled.div((()=>({display:"flex",flexDirection:"column"}))),$Y=ji.styled.div((e=>{var{theme:t}=e;return{display:"flex",flexDirection:"column",marginInlineStart:t.space.xs,flex:1,"> div + div":{marginTop:"4px"}}}));function GY(){return GY=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GY.apply(this,arguments)}var KY=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",GY({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M6.88379 21.5792C6.39564 22.0673 5.60437 22.0673 5.11621 21.5792C4.62806 21.091 4.62806 20.2998 5.11621 19.8116L14.7627 10.1651C15.4461 9.48177 16.5539 9.48176 17.2373 10.1651L26.8838 19.8116C27.3719 20.2998 27.3719 21.091 26.8838 21.5792C26.3956 22.0674 25.6044 22.0674 25.1162 21.5792L16 12.463L6.88379 21.5792Z",fill:n})]}))}));var ZY=e=>{var{theme:t}=e,{semanticColors:n}=$i(t),r=Hi(t.semanticTokensV9,(()=>t.tokens));return{background:{surface:r((e=>e.colors.bg.area.primary),t.colors.white),hover:r((e=>kj({baseColor:e.colors.bg.area.primary,tint:{color:e.colors.fg.primary,opacity:"lowHover"}})),t.colors.purples[10]),active:r((e=>kj({baseColor:e.colors.bg.area.primary,tint:{color:e.colors.fg.primary,opacity:"lowPressed"}})),t.colors.purples[30])},border:{default:r((e=>e.colors.border.default),n.border.decorative)},icon:{default:r((e=>e.colors.fg.primary),n.icon.link),disabled:r((e=>e.colors.fg.disabled),n.icon.disabled)},focus:{outline:r((e=>e.colors.border.focus),t.colors.purples[70])}}},YY=(e,t)=>
768Object.prototype.hasOwnProperty.call(e,t),XY=e=>{var{theme:t}=e,n=t.accordion;return n?zi({background:YY(n,"background")?n.background:void 0,border:YY(n,"border")?n.border:void 0,icon:YY(n,"icon")?n.icon:void 0,focus:YY(n,"focus")?n.focus:void 0}):{}},QY=e=>{var{theme:t}=e;return Ui({defaults:ZY({theme:t}),newFormatOverlay:XY({theme:t})})};function JY(){return JY=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JY.apply(this,arguments)}function eX(e,t){return t||(t=e.slice(0)),e.raw=t,e}function tX(){var e=eX(["\n from {\n height: 0;\n opacity: 0; \n }\n to {\n height: var(--fec-accordion-content-height);\n opacity: 1; \n }\n"]);return tX=function(){return e},e}function nX(){var e=eX(["\n from {\n height: var(--fec-accordion-content-height);\n opacity: 1;\n }\n to {\n height: 0;\n opacity: 0;\n }\n"]);return nX=function(){return e},e}function rX(){var e=eX(["\n "," 0.3s ease\n "]);return rX=function(){return e},e}function oX(){var e=eX(["\n overflow: hidden;\n &[aria-hidden='true'] {\n height: 0;\n opacity: 0; /* Match keyframe 'to' state */\n animation: "," 300ms;\n animation-timing-function: cubic-bezier(0.2, 0.2, 0.3, 1);\n }\n &[aria-hidden='false'] {\n opacity: 1; /* Match keyframe 'to' state */\n animation: ",";\n animation-timing-function: cubic-bezier(0.2, 0.2, 0.3, 1);\n }\n"]);return oX=function(){return e},e}var iX=(0,ji.styled)(mY)((e=>{var{indicatorPlacement:t,size:n,theme:r}=e;return{display:"inline-flex",alignItems:"center",flexDirection:"before"===t?"row":"row-reverse",gap:"medium"===n?r.space.xs:r.space.xxs,padding:0,"&& > svg":{flexShrink:0,margin:0,color:"inherit"},"& > span":{display:"inline-block",overflowWrap:"anywhere"}}})),aX=(ji.styled.section((e=>{var{theme:t,connected:n}=e,{border:r}=QY({theme:t}),o=Hi(t.semanticTokensV9,(()=>t.tokens))((e=>e.radii.md),t.radius.l);return JY({"&:not(:last-child)":{borderBottom:"1px solid "+r.default},"&:last-child > *":{borderEndStartRadius:o,borderEndEndRadius:o},"& > *:has(+ div:not([hidden]))":{borderEndStartRadius:0,borderEndEndRadius:0}},!n&&{overflow:"hidden",borderRadius:o,border:"1px solid "+r.default,"& > *:first-child":{borderStartStartRadius:o,borderStartEndRadius:o},"& > *:has(+ div[hidden])":{borderEndStartRadius:o,borderEndEndRadius:o}})})),(0,ji.styled)(rL)((()=>({"&:disabled":{background:"transparent"}}))),ji.styled.button((e=>{var{theme:t}=e,{background:n,focus:r}=QY({theme:t});return{width:"100%",border:"none",paddingBlock:0,paddingInlineStart:t.space.s,paddingInlineEnd:t.space.xs,margin:0,display:"flex",alignItems:"start",gap:t.space.s,background:n.surface,borderRadius:"inherit",cursor:"pointer","&:hover":{background:n.hover,borderRadius:0},"&:active":{background:n.active},"&:disabled":{background:n.surface,cursor:"not-allowed"},"&:focus-visible":{outline:"2px solid "+r.outline,outlineOffset:-2,borderRadius:"inherit"},"& > svg":{flexShrink:0}}})),(0,Pi.i7)(tX())),sX=(0,Pi.i7)(nX()),lX=ji.styled.div(oX(),sX,(e=>{var{shouldAnimate:t}=e;return t?(0,Pi.AH)(rX(),aX):"none"}));function cX(){return cX=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cX.apply(this,arguments)}function uX(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(0,ji.styled)(tB)((e=>{var{theme:t}=e;return{paddingBlock:t.space.xs,textAlign:"start",overflowWrap:"anywhere",whiteSpace:"break-spaces"}})),(0,ji.styled)(tB)((e=>{var{theme:t}=e;return{display:"flex",alignItems:"center",marginInlineStart:"auto",gap:t.space.xs,flexShrink:0}})),ji.styled.div((e=>{var{theme:t,disabled:n}=e,{icon:r}=QY({theme:t});return{lineHeight:0,padding:12,flexShrink:0,"& > svg":{color:n?r.disabled:r.default}}})),ji.styled.div((e=>{var{theme:t,connected:n}=e,{background:r,border:o}=QY({theme:t}),i=Hi(t.semanticTokensV9,(()=>t.tokens));return JY({border:"1px solid "+o.default,borderRadius:i((e=>
768e.radii.md),t.radius.l),overflow:"hidden",background:r.surface},!n&&{display:"flex",flexDirection:"column",gap:t.space.s,border:"none"})})),(0,ji.styled)(tB)((e=>{var{theme:t}=e;return{display:"flex",alignItems:"start",gap:t.space.s,padding:t.space.xs,paddingInlineStart:t.space.s,margin:0}})),ji.styled.span((e=>{var{theme:t}=e;return{display:"flex",alignItems:"center",flexShrink:0,minHeight:t.space.xl,"&:empty":{display:"none"}}}));var dX=(0,s.createContext)(void 0),pX=()=>{var e=(0,s.useContext)(dX);if(!e)throw new Error("useAccordionSimpleContext must be used within a AccordionSimpleContext.Provider");return e},fX=dX.Provider,hX=e=>{var t,{children:n}=e,r=uX(e,["children"]),{disabled:o=!1,defaultOpen:i=!1,open:a,isOpen:l,onOpenChange:c}=r,u=uX(r,["disabled","defaultOpen","open","isOpen","onOpenChange"]),d=(void 0===(t="fec-simple-accordion")&&(t=""),(0,s.useState)((()=>t+Math.random().toString(32).substring(2,15)))[0]);YM()(void 0!==a,"[@airwallex/accordion AccordionSimple] `open` is deprecated. Use `isOpen` instead.");var[p,f]=function(e){var{prop:t,defaultProp:n,onChange:r=function(){}}=e,[o,i,a]=function(e){var{defaultProp:t,onChange:n}
768=e,[r,o]=(0,s.useState)(t),i=(0,s.useRef)(r),a=(0,s.useRef)(n);return(0,s.useEffect)((()=>{a.current=n}),[n]),(0,s.useEffect)((()=>{i.current!==r&&(null==a.current||a.current.call(a,r),i.current=r)}),[r]),[r,o,a]}({defaultProp:n,onChange:r}),l=void 0!==t;return[l?t:o,(0,s.useCallback)((e=>{if(l){var n="function"==typeof e?e(t):e;n!==t&&(null==a.current||a.current.call(a,n))}else i(e)}),[l,t,i,a])]}({defaultProp:i,prop:null!=l?l:a,onChange:c});return(0,fi.jsx)(fX,{value:{isOpen:p,setIsOpen:f,disabled:o,controlId:d},children:(0,fi.jsx)("div",cX({},u,{children:n}))})};hX.Trigger=e=>{var{children:t,size:n="medium",indicatorPlacement:r="after",gradient:o}=e,i=uX(e,["children","size","indicatorPlacement","gradient"]),a="medium"===n?"body":"hint",s="medium"===n?16:14,{setIsOpen:l,disabled:c,isOpen:u,controlId:d}=pX(),p="function"==typeof t?t(u):t;return(0,fi.jsx)(tB,{variant:a,as:"span",children:(0,fi.jsxs)(iX,cX({type:"button",size:n,indicatorPlacement:r,disabled:c,"aria-disabled":c,onClick:()=>l((e=>!e)),"aria-expanded":u,"aria-controls":d},i,{children:[u?(0,fi.jsx)(KY,cX({size:s},o&&{gradient:o})):(0,fi.jsx)(xI,cX({size:s},o&&{gradient:o})),(0,fi.jsx)("span",{children:p})]}))})},hX.Content=e=>{var{children:t}=e,n=uX(e,["children"]),{isOpen:r,controlId:o}=pX(),{contentRef:i,dynamicStyle:a,isContentHidden:l,handleAnimationEnd:c,shouldAnimate:u}=(e=>{var t=(0,s.useRef)(null),[n,r]=(0,s.useState)(0),[o,i]=(0,s.useState)(!e),a=(0,s.useRef)(!1);(0,s.useEffect)((()=>{e||(a.current=!0)}),[e]),(0,s.useLayoutEffect)((()=>{e&&i(!1)}),[e]),(0,s.useLayoutEffect)((()=>{var n=t.current;if(n){var o=new ResizeObserver((()=>{e&&r(n.scrollHeight)}));return o.observe(n),()=>o.disconnect()}}),[e]);var l=(0,s.useMemo)((()=>({"--fec-accordion-content-height":n?n+"px":void 0})),[n]);return{contentRef:t,dynamicStyle:l,isContentHidden:o,handleAnimationEnd:()=>{e||i(!0)},shouldAnimate:a.current}})(r);return(0,fi.jsx)(lX,{onAnimationEnd:c,hidden:l,"aria-hidden":!r,style:a,ref:i,id:o,shouldAnimate:u,children:(0,fi.jsx)("div",{style:cX({},n.style),className:n.className,children:t})})};var mX=e=>{var{id:t}=e,n=(0,ji.useTheme)(),r=Hi(n.semanticTokensV9,(()=>n.tokens));return(0,fi.jsx)("defs",{children:(0,fi.jsxs)("linearGradient",{id:t,x1:"0%",y1:"0%",x2:"100%",y2:"100%",gradientUnits:"userSpaceOnUse",children:[(0,fi.jsx)("stop",{offset:"0%",stopColor:r((e=>e.colors.fg.ai.start),"#612FFF")}),(0,fi.jsx)("stop",{offset:"100%",stopColor:r((e=>e.colors.fg.ai.end),"#D200A3")})]})})};function gX(){return gX=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gX.apply(this,arguments)}function vX(e,t){return"ai"===t?Hi(e.semanticTokensV9,(()=>e.tokens))((e=>"linear-gradient(135deg, "+e.colors.bg.area.ai.start+" 0%, "+e.colors.bg.area.ai.end+" 100%)"),e.colors.purples[5]):IY({theme:e}).background[qZ[t]]}function yX(e,t){var n,r,o;return"ai"===t?Hi(e.semanticTokensV9,(()=>e.tokens))((e=>e.colors.fg.primary),null!=(n=null==(o=e.semanticColors)||null==(r=o.text)?void 0:r.primary)?n:e.colors.grays[100]):IY({theme:e}).foreground[qZ[t]]}var bX=ji.styled.div((e=>{var{theme:t,tone:n,isMobile:r}=e,o=Hi(t.semanticTokensV9,(()=>t.tokens)),i="ai"===n?o((e=>e.radii.md),t.radius.l):IY({theme:t}).layout.borderRadius.default,{hover:a,active:s}=DY(t,n,"fullWidth");return{display:"flex",flexDirection:"column",gap:16,width:"100%",background:vX(t,n),paddingBlock:12,paddingInline:r?t.space.m:56,borderRadius:i,[LY]:a,[NY]:s}})),wX=ji.styled.div((e=>{var{theme:t,isMobile:n}=e;return{display:"flex",flexWrap:"wrap",alignItems:"center",rowGap:t.space.s,columnGap:n?t.space.xs:20}})),xX=ji.styled.div((e=>{var{theme:t}=e;return{display:"flex",alignItems:"center",gap:t.space.s,flex:"1 1 0",minWidth:0}})),kX=ji.styled.span((e=>{var{theme:t,tone:n}=e,{iconBackground:r}=IY({theme:t});return gX({display:"flex",alignItems:"center",flexShrink:0,lineHeight:0},"ai"!==n&&{color:r[qZ[n]]})})),CX=ji.styled.div((e=>{var{theme:t,tone:n}=e;return{flex:"1 1 0",minWidth:0,overflowWrap:"anywhere",color:yX(t,n)}})),EX=ji.styled.span({display:"flex",alignItems:"center","& > span":{display:"flex",alignItems:"center",margin:0,padding:0},"& > span > button":{margin:0,padding:0},"& > span > button > svg":{margin:0,verticalAlign:"middle"}}),SX=ji.styled.div((e=>{var{theme:t,tone:n}=e;return{paddingTop:12,background:"transparent",color:yX(t,n)}}));function OX(){return OX=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},OX.apply(this,arguments)}var AX=e=>"ai"===e?(0,fi.jsx)(GZ,{size:20,gradientPainter:mX}):(0,fi.jsx)(aY,{tone:e,size:20});function _X(){return _X=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_X.apply(this,arguments)}function PX(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}var jX=e=>{var{children:t}=e,n=PX(e,["children"]);return(0,fi.jsx)(HY,_X({},n,{children:t}))},TX=e=>{var{hide:t}=e,n=PX(e,["hide"]);return t?null:(YM()(void 0!==n.variant,"[@airwallex/alert Alert] `variant` is deprecated. Use `tone` instead."),(0,fi.jsx)(IX,_X({},n)))},IX=e=>{var{tone:t,variant:n,emphasis:r="default",icon:o,heading:i,btnAction:a,btnText:s,btnIcon:l,buttonIconBefore:c,buttonIconAfter:u,dismiss:d,onDismiss:p,children:f,linkAction:h,linkText:m,syncing:g,isMobile:v}=e,y=PX(e,["tone","variant","emphasis","icon","heading","btnAction","btnText","btnIcon","buttonIconBefore","buttonIconAfter","dismiss","onDismiss","children","linkAction","linkText","syncing","isMobile"]),b=((e,t,n)=>e&&t?"withDismissAndAction":e?"withAction":t?"withDismiss":n?"withLinkAction":"default")(a,null!=p?p:d,h),w=WZ({tone
768:t,variant:n}),{t:x}=(0,YB.B)(VZ),{breakpoints:k}=(0,ji.useTheme)(),{ref:C,isEqualOrSmallerThan:E}=BZ(k.breakpointTokens),S=null!=v?v:E("xs"),O="subtle"===r;return(0,fi.jsxs)(MY,_X({ref:C,layout:b,tone:w,isMobile:S,isSubtle:O,icon:o,"data-test":FZ("alert-"+(i||"hook"))},y,{children:[(0,fi.jsx)(BY,{tone:w,children:(0,fi.jsx)(aY,{size:O?16:void 0,tone:w,iconType:"VERIFY"===o?o:void 0})}),(0,fi.jsxs)(FY,{children:[(0,fi.jsx)(LX,{isSubtle:O,children:i}),(0,fi.jsx)(NX,{isSubtle:O,children:f})]}),("withAction"===b||"withDismissAndAction"===b)&&(0,fi.jsx)(VY,{layout:b,isMobile:S,isSubtle:O,children:(0,fi.jsx)(zY,{variant:"TERTIARY",onClick:a,syncing:g,iconBefore:c,iconAfter:null!=u?u:l,isMobile:S,children:s||"Button"})}),("withDismiss"===b||"withDismissAndAction"===b)&&(0,fi.jsx)(UY,{onClick:null!=p?p:d,"aria-label":x("alert.dismiss"),icon:bK,isMobile:S}),"withLinkAction"===b&&(0,fi.jsx)(VY,{layout:b,isMobile:S,isSubtle:O,children:(0,fi.jsx)(jX,{onClick:h,children:m||"Link"})})]}))};function LX(e){var{isSubtle:t,children:n}=e;return RX(t,n)?t?(0,fi.jsx)(tB,{color:"primary",variant:"hint",as:"div",children:n}):(0,fi.jsx)(tB,{variant:"headline400",children:n}):null}function NX(e){var{isSubtle:t,children:n}=e;return RX(t,n)?t?(0,fi.jsx)(tB,{color:"secondary",variant:"hint",as:"div",children:n}):(0,fi.jsx)(tB,{children:n}):null}function RX(e,t){return e?Boolean(t):Boolean(t)||0===t}function DX(){const{t:e}=sw("translation",{keyPrefix:"messages.viewingOrgAccountFromAccountGroup"}),{initialized:t}=Dx(),n=Qh((e=>e.auth.accountGroupView)),r=Xh(),o=Qh((e=>e.org.data));return t&&n&&o?gi(oZ.mc,{fluid:!0,style:{marginBottom:40},children:gi(TX,{variant:"INFORMATIONAL",heading:e("heading",{accountGroupName:n.name}),btnText:e("cta.switchView"),btnAction:()=>{r(Tw.clearAccountGroupView())},children:e("body",{orgName:o.name})})}):null}TX.Subtle=e=>{var{tone:t,variant:n,heading:r,children:o}=e,i=WZ({tone:t,variant:n});return YM()(!0,'[@airwallex/alert Alert.Subtle] `Alert.Subtle` is deprecated. Use `<Alert emphasis="subtle" />` instead.'),YM()(void 0!==n,"[@airwallex/alert Alert.Subtle] `variant` is deprecated. Use `tone` instead."),(0,fi.jsxs)(qY,{children:[(0,fi.jsx)(WY,{children:(0,fi.jsx)(BY,{tone:i,children:(0,fi.jsx)(aY,{size:16,tone:i})})}),(0,fi.jsxs)($Y,{children:[!!r&&(0,fi.jsx)(tB,{color:"primary",variant:"hint",as:"div",children:r}),!!o&&(0,fi.jsx)(tB,{color:"secondary",variant:"hint",as:"div",children:o})]})]})},TX.Fullwidth=e=>{var{tone:t,variant:n,heading:r,children:o,btnText:i,btnAction:a,buttonIconBefore:l,buttonIconAfter:c,syncing:u,isMobile:d,padding:p,expandLabel:f,collapseLabel:h,isOpen:m,open:g,defaultOpen:v=!1,onOpenChange:y,className:b,style:w}=e,{t:x}=(0,YB.B)(VZ),{breakpoints:k}=(0,ji.useTheme)(),{ref:C,isEqualOrSmallerThan:E}=BZ(k.breakpointTokens),S=null!=d?d:E("s"),O=null!=d?d:E("xs"),A=(e=>{var{tone:t,variant:n}=e;return t||(n?HZ[n]:"informational")})({tone:t,variant:n});YM()(void 0!==n,"[@airwallex/alert Alert.Fullwidth] `variant` is deprecated. Use `tone` instead."),YM()(void 0!==g,"[@airwallex/alert Alert.Fullwidth] `open` is deprecated. Use `isOpen` instead.");var _=null!=m?m:g,[P,j]=(0,s.useState)(v),T=void 0!==_,I=T?_:P,L=e=>{T||j(e),null==y||y(e)},N=Boolean(o),R=void 0!==a,D=null!=f?f:x("alert.fullwidth.viewDetails"),F=null!=h?h:x("alert.fullwidth.hideDetails"),M=I?F:D,B=x(I?"alert.fullwidth.hideDetails":"alert.fullwidth.viewDetails"),V="string"==typeof M?M:void 0,z=N&&(S?(0,fi.jsx)(rL,{variant:"TERTIARY",icon:I?KY:xI,onClick:()=>L(!I),"aria-label":null!=V?V:B,"aria-expanded":I,size:"small"}):(0,fi.jsx)(EX,{children:(0,fi.jsx)(hX.Trigger,{"aria-label":V,children:M})})),U=R&&i&&(0,fi.jsx)(zY,{variant:"TERTIARY",onClick:a,syncing:u,iconBefore:l,iconAfter:c,isMobile:O,size:"small",children:i}),H=(0,fi.jsxs)(wX,{isMobile:S,children:[(0,fi.jsxs)(xX,{children:[(0,fi.jsx)(kX,{tone:A,children:AX(A)}),(0,fi.jsx)(CX,{tone:A,children:(0,fi.jsx)(tB,{as:"span",variant:"body",children:r})})]}),!O&&U,z]}),q=OX({},void 0!==p&&{paddingInline:p},w);return(0,fi.jsxs)(bX,{ref:C,tone:A,isMobile:S,className:b,style:q,role:"alert",children:[N?(0,fi.jsxs)(hX,{isOpen:I,onOpenChange:L,children:[H,(0,fi.jsx)(hX.Content,{children:(0,fi.jsx)(SX,{tone:A,children:o})})]}):H,O&&U]})};var FX=n(14300);Promise.resolve(!1);Promise.resolve(!0);
768var MX=Promise.resolve();function BX(e,t){return e||(e=0),new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))}function VX(){return Math.random().toString(36).substring(2)}var zX=0,UX=0;function HX(){var e=(new Date).getTime();return e===zX?1e3*e+ ++UX:(zX=e,UX=0,1e3*e)}var qX={create:function(e){var t={messagesCallback:null,bc:new BroadcastChannel(e),subFns:[]};return t.bc.onmessage=function(e){t.messagesCallback&&t.messagesCallback(e.data)},t},close:function(e){e.bc.close(),e.subFns=[]},onMessage:function(e,t){e.messagesCallback=t},postMessage:function(e,t){try{return e.bc.postMessage(t,!1),MX}catch(e){return Promise.reject(e)}},canBeUsed:function(){if("undefined"==typeof window)return!1;if("function"==typeof BroadcastChannel){if(BroadcastChannel._pubkey)throw new Error("BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill");return!0}return!1},type:"native",averageResponseTime:function(){return 150},microSeconds:HX},WX=function(){function e(e){this.ttl=e,this.map=new Map,this._to=!1}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.add=function(e){var t=this;this.map.set(e,$X()),this._to||(this._to=!0,setTimeout((function(){t._to=!1,function(e){for(var t=$X()-e.ttl,n=e.map[Symbol.iterator]();;){var r=n.next().value;if(!r)return;var o=r[0];if(!(r[1]<t))return;e.map.delete(o)}}(t)}),0))},e.prototype.clear=function(){this.map.clear()},e}();function $X(){return(new Date).getTime()}function GX(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=JSON.parse(JSON.stringify(e));return void 0===t.webWorkerSupport&&(t.webWorkerSupport=!0),t.idb||(t.idb={}),t.idb.ttl||(t.idb.ttl=45e3),t.idb.fallbackInterval||(t.idb.fallbackInterval=150),e.idb&&"function"==typeof e.idb.onclose&&(t.idb.onclose=e.idb.onclose),t.localstorage||(t.localstorage={}),t.localstorage.removeTimeout||(t.localstorage.removeTimeout=6e4),e.methods&&(t.methods=e.methods),t.node||(t.node={}),t.node.ttl||(t.node.ttl=12e4),t.node.maxParallelWrites||(t.node.maxParallelWrites=2048),void 0===t.node.useFastPath&&(t.node.useFastPath=!0),t}var KX="messages",ZX={durability:"relaxed"};function YX(){if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof window){if(void 0!==window.mozIndexedDB)return window.mozIndexedDB;if(void 0!==window.webkitIndexedDB)return window.webkitIndexedDB;if(void 0!==window.msIndexedDB)return window.msIndexedDB}return!1}function XX(e){e.commit&&e.commit()}function QX(e){e.closed||JX(e).then((function(){return BX(e.options.idb.fallbackInterval)})).then((function(){return QX(e)}))}function JX(e){return e.closed?MX:e.messagesCallback?function(e,t){var n=e.transaction(KX,"readonly",ZX),r=n.objectStore(KX),o=[],i=IDBKeyRange.bound(t+1,1/0);if(r.getAll){var a=r.getAll(i);return new Promise((function(e,t){a.onerror=function(e){return t(e)},a.onsuccess=function(t){e(t.target.result)}}))}return new Promise((function(e,a){var s=function(){try{return i=IDBKeyRange.bound(t+1,1/0),r.openCursor(i)}catch(e){return r.openCursor()}}();s.onerror=function(e){return a(e)},s.onsuccess=function(r){var i=r.target.result;i?i.value.id<t+1?i.continue(t+1):(o.push(i.value),i.continue()):(XX(n),e(o))}}))}(e.db,e.lastCursorId).then((function(t){var n=t.filter((function(e){return!!e})).map((function(t){return t.id>e.lastCursorId&&(e.lastCursorId=t.id),t})).filter((function(t){return function(e,t){return!(e.uuid===t.uuid||t.eMIs.has(e.id)||e.data.time<t.messagesCallbackTime)}(t,e)})).sort((function(e,t){return e.time-t.time}));return n.forEach((function(t){e.messagesCallback&&(e.eMIs.add(t.id),e.messagesCallback(t.data))})),MX})):MX}var eQ={create:function(e,t){return t=GX(t),function(e){var t="pubkey.broadcast-channel-0-"+e,n=YX().open(t);return n.onupgradeneeded=function(e){e.target.result.createObjectStore(KX,{keyPath:"id",autoIncrement:!0})},new Promise((function(e,t){n.onerror=function(e){return t(e)},n.onsuccess=function(){e(n.result)}}))}(e).then((function(n){var r={closed:!1,lastCursorId:0,channelName:e,options:t,uuid:VX(),eMIs:new WX(2*t.idb.ttl),writeBlockPromise:MX,messagesCallback:null,readQueuePromises:[],db:n};
768return n.onclose=function(){r.closed=!0,t.idb.onclose&&t.idb.onclose()},QX(r),r}))},close:function(e){e.closed=!0,e.db.close()},onMessage:function(e,t,n){e.messagesCallbackTime=n,e.messagesCallback=t,JX(e)},postMessage:function(e,t){return e.writeBlockPromise=e.writeBlockPromise.then((function(){return function(e,t,n){var r={uuid:t,time:(new Date).getTime(),data:n},o=e.transaction([KX],"readwrite",ZX);return new Promise((function(e,t){o.oncomplete=function(){return e()},o.onerror=function(e){return t(e)},o.objectStore(KX).add(r),XX(o)}))}(e.db,e.uuid,t)})).then((function(){0===Math.floor(11*Math.random()+0)&&function(e){return(t=e.db,n=e.options.idb.ttl,r=(new Date).getTime()-n,o=t.transaction(KX,"readonly",ZX),i=o.objectStore(KX),a=[],new Promise((function(e){i.openCursor().onsuccess=function(t){var n=t.target.result;if(n){var i=n.value;i.time<r?(a.push(i),n.continue()):(XX(o),e(a))}else e(a)}}))).then((function(t){return function(e,t){if(e.closed)return Promise.resolve([]);var n=e.db.transaction(KX,"readwrite",ZX).objectStore(KX);return Promise.all(t.map((function(e){var t=n.delete(e);return new Promise((function(e){t.onsuccess=function(){return e()}}))})))}(e,t.map((function(e){return e.id})))}));var t,n,r,o,i,a}(e)})),e.writeBlockPromise},canBeUsed:function(){return!!YX()},type:"idb",averageResponseTime:function(e){return 2*e.idb.fallbackInterval},microSeconds:HX};function tQ(){var e;if("undefined"==typeof window)return null;try{e=window.localStorage,e=window["ie8-eventlistener/storage"]||window.localStorage}catch(e){}return e}function nQ(e){return"pubkey.broadcastChannel-"+e}function rQ(){var e=tQ();if(!e)return!1;try{var t="__broadcastchannel_check";e.setItem(t,"works"),e.removeItem(t)}catch(e){return!1}return!0}var oQ={create:function(e,t){if(t=GX(t),!rQ())throw new Error("BroadcastChannel: localstorage cannot be used");var n=VX(),r=new WX(t.localstorage.removeTimeout),o={channelName:e,uuid:n,eMIs:r};return o.listener=function(e){var t=nQ(e),i=function(e){var i;e.key===t&&(i=JSON.parse(e.newValue),o.messagesCallback&&i.uuid!==n&&i.token&&!r.has(i.token)&&(i.data.time&&i.data.time<o.messagesCallbackTime||(r.add(i.token),o.messagesCallback(i.data))))};return window.addEventListener("storage",i),i}(e),o},close:function(e){var t;t=e.listener,window.removeEventListener("storage",t)},onMessage:function(e,t,n){e.messagesCallbackTime=n,e.messagesCallback=t},postMessage:function(e,t){return new Promise((function(n){BX().then((function(){var r=nQ(e.channelName),o={token:VX(),time:(new Date).getTime(),data:t,uuid:e.uuid},i=JSON.stringify(o);tQ().setItem(r,i);var a=document.createEvent("Event");a.initEvent("storage",!0,!0),a.key=r,a.newValue=i,window.dispatchEvent(a),n()}))}))},canBeUsed:rQ,type:"localstorage",averageResponseTime:function(){var e=navigator.userAgent.toLowerCase();return e.includes("safari")&&!e.includes("chrome")?240:120},microSeconds:HX},iQ=HX,aQ=new Set,sQ={create:function(e){var t={name:e,messagesCallback:null};return aQ.add(t),t},close:function(e){aQ.delete(e)},onMessage:function(e,t){e.messagesCallback=t},postMessage:function(e,t){return new Promise((function(n){return setTimeout((function(){Array.from(aQ).filter((function(t){return t.name===e.name})).filter((function(t){return t!==e})).filter((function(e){return!!e.messagesCallback})).forEach((function(e){return e.messagesCallback(t)})),n()}),5)}))},canBeUsed:function(){return!0},type:"simulate",averageResponseTime:function(){return 5},microSeconds:iQ},lQ=[qX,eQ,oQ],cQ=new Set,uQ=0,dQ=function(e,t){var n,r,o;this.id=uQ++,cQ.add(this),this.name=e,this.options=GX(t),this.method=function(e){var t=[].concat(e.methods,lQ).filter(Boolean);if(e.type){if("simulate"===e.type)return sQ;var n=t.find((function(t){return t.type===e.type}));if(n)return n;throw new Error("method-type "+e.type+" not found")}e.webWorkerSupport||(t=t.filter((function(e){return"idb"!==e.type})));var r=t.find((function(e){return e.canBeUsed()}));if(r)return r;throw new Error("No usable method found in "+JSON.stringify(lQ.map((function(e){return e.type}))))}(this.options),this._iL=!1,this._onML=null,this._addEL={message:[],internal:[]},this._uMP=new Set,this._befC=[],this._prepP=null,(o=r=(n=this).method.create(n.name,n.options))&&"function"==typeof o.then?(n._prepP=r,r.then((function(e){n._state=e}))):n._state=r};function pQ(e,t,n){var r={time:e.method.microSeconds(),type:t,data:n};return(e._prepP?e._prepP:MX).then((function(){var t=e.method.postMessage(e._state,r);return e._uMP.add(t),t.catch().then((function(){return e._uMP.delete(t)})),t}))}function fQ(e){return e._addEL.message.length>0||e._addEL.internal.length>0}function hQ(e,t,n){e._addEL[t].push(n),function(e){if(!e._iL&&fQ(e)){var t=function(t){e._addEL[t.type].forEach((function(e){var n=e.time-1e5;t.time>=n&&e.fn(t.data)}))},n=e.method.microSeconds();e._prepP?e._prepP.then((function(){e._iL=!0,e.method.onMessage(e._state,t,n)})):(e._iL=!0,e.method.onMessage(e._state,t,n))}}(e)}function mQ(e,t,n){e._addEL[t]=e._addEL[t].filter((function(e){return e!==n})),function(e){if(e._iL&&!fQ(e)){e._iL=!1;var t=e.method.microSeconds();e.method.onMessage(e._state,null,t)}}(e)}dQ._pubkey=!0,dQ.prototype={postMessage:function(e){if(this.closed)throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed "+JSON.stringify(e));return pQ(this,"message",e)},postInternal:function(e){return pQ(this,"internal",e)},set onmessage(e){var t={time:this.method.microSeconds(),fn:e};mQ(this,"message",this._onML),e&&"function"==typeof e?(this._onML=t,hQ(this,"message",t)):this._onML=null},addEventListener:function(e,t){hQ(this,e,{time:this.method.microSeconds(),fn:t})},removeEventListener:function(e,t){mQ(this,e,this._addEL[e].find((function(e){return e.fn===t})))},close:function(){var e=this;if(!this.closed){cQ.delete(this),this.closed=!0;var t=this._prepP?this._prepP:MX;return this._onML=null,this._addEL.message=[],t.then((function(){return Promise.all(Array.from(e._uMP))})).then((function(){return Promise.all(e._befC.map((function(e){return e()})))})).then((function(){return e.method.close(e._state)}))}}
768,get type(){return this.method.type},get isClosed(){return this.closed}};Object.prototype.toString.call("undefined"!=typeof process?process:0),new Set;function gQ(){return gQ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gQ.apply(this,arguments)}var vQ=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",gQ({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M14.75 9C14.75 8.30964 15.3096 7.75 16 7.75C16.6904 7.75 17.25 8.30964 17.25 9V16.6221L21.5801 18.8926C22.1913 19.2131 22.4277 19.9687 22.1074 20.5801C21.7869 21.1913 21.0313 21.4277 20.4199 21.1074L15.4199 18.4854C15.0083 18.2695 14.75 17.8427 14.75 17.3779V9Z",fill:n}),(0,fi.jsx)("path",{d:"M27.75 16C27.75 9.51065 22.4893 4.25 16 4.25C9.51065 4.25 4.25 9.51065 4.25 16C4.25 22.4893 9.51065 27.75 16 27.75C22.4893 27.75 27.75 22.4893 27.75 16ZM30.25 16C30.25 23.8701 23.8701 30.25 16 30.25C8.12994 30.25 1.75 23.8701 1.75 16C1.75 8.12994 8.12994 1.75 16 1.75C23.8701 1.75 30.25 8.12994 30.25 16Z",fill:n})]}))})),yQ=n(35034);const bQ=(0,kI.A)("div",{target:"e1vkyyad3"})((e=>{let{isOpen:t}=e;return{position:"fixed",top:0,bottom:0,left:0,right:0,zIndex:2147483647,display:t?"flex":"none",backgroundColor:"rgba(0, 0, 0, 0.7)",alignItems:"center",justifyContent:"center",borderRadius:6,"@supports (z-index: calc(infinity))":{zIndex:"calc(infinity)"}}}),""),wQ=(0,kI.A)("div",{target:"e1vkyyad2"})({name:"mr9r3l",styles:"position:relative;background:linear-gradient(to right, #f0730e 0%, #ffa052 100%);color:#ffffff;width:650px;padding:20px;display:flex;& img{margin-right:20px;}border-radius:6px;overflow:hidden"}),xQ=$S.i7` 769 from { 770 width: 650px; 771 } 772 773 to { 774 width: 0px; 775 } 776`,kQ=(0,kI.A)("div",{target:"e1vkyyad1"})("position:absolute;bottom:0;right:0;height:4px;background:",yQ.white,";animation-name:",xQ,";animation-iteration-count:1;animation-duration:",(e=>{let{durationMs:t=6e4}=e;return t/1e3+"s"}),";animation-timing-function:linear;z-index:2;"),CQ=(0,kI.A)("div",{target:"e1vkyyad0"})("position:absolute;bottom:0;right:0;height:4px;background:",yQ.white,";width:100%;opacity:0.4;z-index:1;"),EQ=e=>{let{promptDurationMs:t}=e;return vi(wQ,{children:[gi(vQ,{size:64,color:yQ.white}),vi("div",{style:{marginLeft:24},children:[gi("h3",{children:oC.t("sessionHeading")}),gi("p",{children:oC.t("sessionDescription")})]}),gi(CQ,{}),gi(kQ,{durationMs:t})]})},SQ=["local","dev"];class OQ extends c().Component{onUserIdle=(()=>new CustomEvent("onUserIdle"))();idleDuration=(()=>new ca)();promptDuration=(()=>new ca)();broadIdleStatePollingEventEmitter=(()=>new dQ("AirwallexWebAppIdleStatePollingEvent"))();constructor(e){super(e),this.state={showPrompt:!1,idle:!1},this.forceLogoutConfig=e.forceLogoutConfig,this.activityDetector=(0,FX.A)({timeToIdle:this.forceLogoutConfig.timeToIdle,inactivityEvents:[],ignoredEventsWhenIdle:[]})}componentDidMount(){(0,jr.c4)()&&(qf()?(ei()("reAuth"),Wf()):(ei()("setup reAuth timer"),zf.start((()=>$f()),Hf()-Uf))),this.initActivityMonitor(),Zf(),window.addEventListener("redirectToLogin",this.redirectToLogin)}componentWillUnmount(){this.idleDuration.cancel(),this.promptDuration.cancel(),this.activityDetector.stop(),window.removeEventListener("redirectToLogin",this.redirectToLogin),this.broadIdleStatePollingEventEmitter.close()}redirectToLogin=()=>{const{account:e}=this.props;Jf(),Qf(e)};onMaxIdle=async()=>{const{account:e}=this.props,{promptDuration:t}=this.forceLogoutConfig;await this.checkWhetherOtherTabActive()||!this.state.idle?this.onActive():this.setState({showPrompt:!0},(()=>{this.promptDuration.start((async()=>{Ko("logout_idle"),zr.info("Webapp idle logout"),await Xf(),Jf(),Qf(e)}),t)}))};checkWhetherOtherTabActive=async()=>new Promise((e=>{const t=n=>{"active"===n&&(this.broadIdleStatePollingEventEmitter.removeEventListener("message",t),e(!0))};this.broadIdleStatePollingEventEmitter.addEventListener("message",t),this.broadIdleStatePollingEventEmitter.postMessage("check"),setTimeout((()=>{this.broadIdleStatePollingEventEmitter.removeEventListener("message",t),e(!1)}),2e3)}));onIdle=()=>{this.setState({idle:!0},(()=>{this.idleSetStateCallback()}))};idleSetStateCallback=()=>{const{maxIdleDuration:e,promptDuration:t}=this.forceLogoutConfig,{flags:n,disableForceLogout:r}=this.props;window.dispatchEvent(this.onUserIdle),r||(null!=n&&n.testDelaySessionPrompt&&SQ.includes(bo.environment)?this.idleDuration.start(this.onMaxIdle,e+t):this.idleDuration.start(this.onMaxIdle,e))};activeSetStateCallback=()=>{$f(),this.idleDuration.cancel(),this.promptDuration.cancel()};onActive=()=>{this.setState({idle:!1,showPrompt:!1},(()=>{this.activeSetStateCallback()}))};initActivityMonitor=()=>{this.broadIdleStatePollingEventEmitter.postMessage("active"),this.activityDetector.on("idle",(()=>{this.broadIdleStatePollingEventEmitter.postMessage("idle"),this.onIdle(),setTimeout((()=>{this.broadIdleStatePollingEventEmitter.postMessage("check")}),1e3)})),this.activityDetector.on("active",(()=>{this.onActive(),this.broadIdleStatePollingEventEmitter.postMessage("active")})),this.broadIdleStatePollingEventEmitter.onmessage=e=>{"check"===e?this.broadIdleStatePollingEventEmitter.postMessage(this.state.idle?"idle":"active"):"active"===e?this.setState({showPrompt:!1},(()=>{this.activeSetStateCallback()})):"idle"===e&&this.state.idle&&this.idleSetStateCallback()}};render(){const{showPrompt:e}=this.state;return gi(bQ,{isOpen:e,children:gi(EQ,{promptDurationMs:this.forceLogoutConfig.promptDuration})})}}const AQ=function(e,t,n,{pure:r,areStatesEqual:o=Hh,areOwnPropsEqual:i=Mh,areStatePropsEqual:a=Mh,areMergedPropsEqual:l=Mh,forwardRef:c=!1,context:u=gh}={}){const d=u,p=function(e){return e?"function"==typeof e?Th(e):Ih(e,"mapStateToProps"):Ph((()=>({})))}(e),f=function(e){return e&&"object"==typeof e?Ph((t=>function(e,t){const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=(...e)=>t(o(...e)))}return n}(e,t))):e?"function"==typeof e?Th(e):Ih(e,"mapDispatchToProps"):Ph((e=>({dispatch:e})))}(t),h=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let o,i=!1;return function(t,n,a){const s=e(t,n,a);return i?r(s,o)||(o=s):(i=!0,o=s),o}}}(e):Ih(e,"mergeProps"):()=>Lh}(n),m=Boolean(e);return e=>
776{const t=e.displayName||e.name||"Component",n=`Connect(${t})`,r={shouldHandleStateChanges:m,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:p,initMapDispatchToProps:f,initMergeProps:h,areStatesEqual:o,areStatePropsEqual:a,areOwnPropsEqual:i,areMergedPropsEqual:l};function u(t){const[n,o,i]=s.useMemo((()=>{const{reactReduxForwardedRef:e}=t,n=(0,Sh.A)(t,Bh);return[t.context,e,n]}),[t]),a=s.useMemo((()=>n&&n.Consumer&&(0,Oh.isContextConsumer)(s.createElement(n.Consumer,null))?n:d),[n,d]),l=s.useContext(a),c=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),u=Boolean(l)&&Boolean(l.store),p=c?t.store:l.store,f=u?l.getServerState:p.getState,h=s.useMemo((()=>function(e,t){let{initMapStateToProps:n,initMapDispatchToProps:r,initMergeProps:o}=t,i=(0,Sh.A)(t,Ah);return _h(n(e,i),r(e,i),o(e,i),e,i)}(p.dispatch,r)),[p]),[g,v]=s.useMemo((()=>{if(!m)return zh;const e=Rh(p,c?void 0:l.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[p,c,l]),y=s.useMemo((()=>c?l:(0,Eh.A)({},l,{subscription:g})),[c,l,g]),b=s.useRef(),w=s.useRef(i),x=s.useRef(),k=s.useRef(!1),C=(s.useRef(!1),s.useRef(!1)),E=s.useRef();Dh((()=>(C.current=!0,()=>{C.current=!1})),[]);const S=s.useMemo((()=>()=>x.current&&i===w.current?x.current:h(p.getState(),i)),[p,i]),O=s.useMemo((()=>e=>g?function(e,t,n,r,o,i,a,s,l,c,u){if(!e)return()=>{};let d=!1,p=null;const f=()=>{if(d||!s.current)return;const e=t.getState();let n,f;try{n=r(e,o.current)}catch(e){f=e,p=e}f||(p=null),n===i.current?a.current||c():(i.current=n,l.current=n,a.current=!0,u())};return n.onStateChange=f,n.trySubscribe(),f(),()=>{if(d=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}(m,p,g,h,w,b,k,C,x,v,e):()=>{}),[g]);var A,_;let P;A=Uh,_=[w,b,k,i,x,v],Dh((()=>A(..._)),undefined);try{P=Vh(O,S,f?()=>h(f(),i):S)}catch(e){throw E.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${E.current.stack}\n\n`),e}Dh((()=>{E.current=void 0,x.current=void 0,b.current=P}));const j=s.useMemo((()=>s.createElement(e,(0,Eh.A)({},P,{ref:o}))),[o,e,P]);return s.useMemo((()=>m?s.createElement(a.Provider,{value:y},j):j),[a,j,y])}const g=s.memo(u);if(g.WrappedComponent=e,g.displayName=u.displayName=n,c){const t=s.forwardRef((function(e,t){return s.createElement(g,(0,Eh.A)({},e,{reactReduxForwardedRef:t}))}));return t.displayName=n,t.WrappedComponent=e,Mt()(t,e)}return Mt()(g,e)}}((e=>({account:e.account})))(function(e={clientOnly:!1}){return function(t){var n;const r=null!=(n=e.reactContext)?n:Ut.reactContext;return n=>s.createElement(r.Consumer,null,(({flags:r,ldClient:o})=>e.clientOnly?s.createElement(t,fn({ldClient:o},n)):s.createElement(t,fn({flags:r,ldClient:o},n))))}}()(OQ));var _Q="#FFFFFF",PQ="#000000",jQ={5:"#FAFAFB",10:"#F5F6F7",20:"#E8EAED",30:"#D0D4D9",40:"#B0B6BF",50:"#878E99",60:"#68707A",70:"#4C5259",80:"#2B2F33",90:"#1B1F21",100:"#14171A"},TQ={5:"#F7F7FF",10:"#F0EFFF",20:"#DFDEFF",30:"#CBC9FF",40:"#ABA8FF",50:"#867DFF",60:"#6B54F0",70:"#612FFF",80:"#5500E5",90:"#320094",100:"#15005C"},IQ={5:"#F0F9FF",10:"#E0F2FE",20:"#BAE6FD",30:"#8AD9FF",40:"#3AC0FC",50:"#0096DB",60:"#0074B8",70:"#0F5D99",80:"#0E3C78",90:"#10254F",100:"#0D1A33"},LQ={5:"#EFFBF4",10:"#D9FCE7",20:"#BAF2D1",30:"#8EEDB4",40:"#49D189",50:"#00A156",60:"#008044",70:"#036B3B",80:"#054F2C",90:"#05361F",100:"#042616"},NQ={5:"#FFFCEB",10:"#FFF6CC",20:"#FAE891",30:"#F5D64E",40:"#E5B917",50:"#CC9814",60:"#AD7823",70:"#875C1B",80:"#634114",90:"#4D320F",100:"#38250B"},RQ={5:"#FFF6EF",10:"#FFEDE0",20:"#FFD9BD",30:"#FFB27A",40:"#FF8E3C",50:"#E56820",60:"#C4490C",70:"#A33A0D",80:"#8C300E",90:"#69200A",100:"#4D1A0B"},DQ={5:"#FFF5F5",10:"#FFE7E5",20:"#FFCECC",30:"#FFAAA6",40:"#FC796D",50:"#FF4F42",60:"#D91807",70:"#A61202",80:"#801302",90:"#661405",100:"#521004"},{ON:FQ,Ql:MQ,h3:BQ,Uf:VQ,wm:zQ,TV:UQ,Cn:HQ,UN:qQ,LR:WQ}=o;function $Q(){return $Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$Q.apply(this,arguments)}var GQ={x1:"0.459229",y1:"0",x2:"16.4592",y2:"16",gradientUnits:"userSpaceOnUse"},KQ={yellow:{0:qQ[40],1:HQ[50]},red:{0:"#F80F6b",1:WQ[50]},pink:{0:VQ[50],1:"#F80F6b"},purple:{0:VQ[70],1:VQ[50]},spectrumOrange:{0:WQ[50],.5:qQ[40],1:HQ[50]},spectrumPurple:{0:VQ[70],.5:VQ[50],1:WQ[50]},orange:{0:WQ[50],1:qQ[40]},ai:{0:VQ[70],1:"#D200A3"}};
776function ZQ(e){var{preset:t}=e,n=KQ[t];return Object.entries(n).sort(((e,t)=>{var[n]=e,[r]=t;return parseFloat(n)-parseFloat(r)})).map((e=>{var[t,n]=e;return(0,fi.jsx)("stop",$Q({stopColor:n},0===parseFloat(t)?{}:{offset:t}),t)}))}function YQ(e){var{id:t,preset:n}=e;return(0,fi.jsx)("defs",{children:(0,fi.jsx)("linearGradient",$Q({id:t},GQ,{children:(0,fi.jsx)(ZQ,{preset:n})}))})}var XQ=e=>{var t=t=>{var{gradient:n,gradientPainter:r}=t,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(t,["gradient","gradientPainter"]),i=JP();return r?(0,fi.jsx)(e,$Q({},o,{color:"url(#"+i+")",children:(0,fi.jsx)(r,{id:i})})):n?(0,fi.jsx)(e,$Q({},o,{color:"url(#"+i+")",children:(0,fi.jsx)(YQ,{id:i,preset:n})})):(0,fi.jsx)(e,$Q({},o))};return t.displayName="withGradient(Glyphs)",t};function QQ(){return QQ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QQ.apply(this,arguments)}var JQ=XQ((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",QQ({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M21.8838 24.8114C22.3719 25.2996 22.3719 26.0909 21.8838 26.579C21.3956 27.0672 20.6043 27.0672 20.1162 26.579L10.4697 16.9325C9.78633 16.2491 9.78633 15.1413 10.4697 14.4579L20.1162 4.81143C20.6043 4.32327 21.3956 4.32327 21.8838 4.81143C22.3719 5.29958 22.3719 6.09085 21.8838 6.57901L12.7676 15.6952L21.8838 24.8114Z",fill:n})]}))}));function eJ(){return eJ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eJ.apply(this,arguments)}var tJ=XQ((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",eJ({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M10.1162 6.88388C9.62808 6.39573 9.62808 5.60446 10.1162 5.11631C10.6044 4.62815 11.3957 4.62815 11.8838 5.11631L21.5303 14.7628C22.2137 15.4462 22.2137 16.554 21.5303 17.2374L11.8838 26.8839C11.3957 27.372 10.6044 27.372 10.1162 26.8839C9.62808 26.3957 9.62808 25.6045 10.1162 25.1163L19.2324 16.0001L10.1162 6.88388Z",fill:n})]}))}));function nJ(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{t.forEach((t=>{"function"==typeof t?t(e):t&&(t.current=e)}))}}function rJ(){return rJ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rJ.apply(this,arguments)}var oJ=ji.styled.div({position:"relative",display:"flex",alignItems:"stretch"}),iJ={display:"inline-flex",margin:0,padding:0,flexShrink:0},aJ=(ji.styled.li(iJ),{listStyle:"none",margin:0,padding:0,display:"flex",overflowX:"auto",whiteSpace:"nowrap",scrollbarWidth:"none",msOverflowStyle:"none","&::-webkit-scrollbar":{display:"none"}}),sJ=(ji.styled.ul((e=>{var{theme:t,border:n}=e;return rJ({},aJ,{alignItems:"stretch",gap:24},n&&{borderBottom:"1px solid "+t.colors.grays[20]})})),ji.styled.ul(rJ({},aJ,{alignItems:"center",gap:8})),(e,t,n)=>ji.styled.button((r=>{var{theme:o,position:i}=r;return rJ({display:"flex",alignItems:"center",justifyContent:"center",width:e,height:t,padding:0,border:0,background:o.colors.white,cursor:"pointer",position:"absolute",top:"50%",transform:"translateY(-50%)",zIndex:1},"left"===i?{left:0}:{right:0},{"& svg":{color:o.semanticColors.icon.secondary},"&::before":rJ({content:'""',position:"absolute",top:0,bottom:0,width:n,pointerEvents:"none"},"left"===i?{right:-n,background:"linear-gradient(to right, "+o.colors.white+" 0%, transparent 100%)"}:{left:-n,background:"linear-gradient(to left, "+o.colors.white+" 0%, transparent 100%)"}),"&:hover":{background:o.colors.purples[10],borderRadius:o.radius.l,"& svg":{color:o.colors.purples[70]}},"&:focus-visible":{outline:"none",borderRadius:o.radius.l,boxShadow:"inset 0 0 0 2px "+o.semanticColors.border.focus},"&:active":{background:o.colors.purples[30],borderRadius:o.radius.l}})}))),lJ=sJ(40,40,24),cJ=(sJ(32,40,16),ji.styled.li(rJ({},iJ,{"&:not(:last-child)":{marginRight:24}})),ji.styled.li(rJ({},iJ,{"&:not(:last-child)":{marginRight:8}})),e=>{var{theme:t,active:n,disabled:r}=e;return rJ({display:"flex",alignItems:"center",justifyContent:"center",gap:4,padding:"13px 0",height:48,boxSizing:"border-box"},t.typography.headline300,{fontWeight:n?500:400,letterSpacing:"0.13px",color:r?t.semanticColors.text.disabled:n?t.semanticColors.text.primary:t.semanticColors.text.secondary,textDecoration:"none",background:"transparent",border:0,borderBottom:n?"2px solid "+t.
776semanticColors.text.primary:"1px solid transparent",cursor:r?"not-allowed":"pointer","&:hover":{color:r?t.semanticColors.text.disabled:t.semanticColors.text.primary,borderBottomColor:r||n?void 0:t.semanticColors.border.decorativeStrong},"&:focus":{outline:"none"},"&:focus-visible":{outline:"none",borderRadius:t.radius.l,boxShadow:"inset 0 0 0 2px "+t.semanticColors.border.focus}})}),uJ=(ji.styled.button((e=>{var{theme:t,active:n,disabled:r}=e;return cJ({theme:t,active:n,disabled:r})})),ji.styled.a((e=>{var{theme:t,active:n,"aria-disabled":r}=e;return rJ({},cJ({theme:t,active:n,disabled:r}),{pointerEvents:r?"none":void 0})})),ji.styled.span((e=>{var{theme:t,active:n}=e;return rJ({display:"flex",alignItems:"center",justifyContent:"center",minWidth:18,padding:"0 4px"},t.typography.hint,{fontWeight:500,borderRadius:50,background:n?t.semanticColors.background.interactive:t.semanticColors.background.secondary,color:n?t.semanticColors.text.inverse:t.semanticColors.text.secondary})}))),dJ=e=>{var{theme:t,active:n,disabled:r}=e;return rJ({display:"flex",alignItems:"center",gap:6,padding:"9px 16px",height:40,boxSizing:"border-box"},t.typography.body,{fontWeight:n?500:400,color:r?t.semanticColors.text.disabled:n?t.semanticColors.text.link:t.semanticColors.text.secondary,textDecoration:"none",background:r?"transparent":n?t.semanticColors.background.highlight:"transparent",border:0,borderRadius:6,cursor:r?"not-allowed":"pointer","&:hover":{color:r?t.semanticColors.text.disabled:t.semanticColors.text.link,background:r?"transparent":t.semanticColors.background.field,["& "+uJ]:r?{}:{background:t.semanticColors.background.selected,color:t.colors.purples[70]}},"&:focus":{outline:"none"},"&:focus-visible":{outline:"none",boxShadow:"inset 0 0 0 2px "+t.semanticColors.border.focus},"&:active":{background:r?"transparent":t.semanticColors.background.selected}})};function pJ(){return pJ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pJ.apply(this,arguments)}ji.styled.button((e=>{var{theme:t,active:n,disabled:r}=e;return dJ({theme:t,active:n,disabled:r})})),ji.styled.a((e=>{var{theme:t,active:n,"aria-disabled":r}=e;return rJ({},dJ({theme:t,active:n,disabled:r}),{pointerEvents:r?"none":void 0})}));var fJ=ji.styled.ul({listStyle:"none",margin:0,padding:0,display:"flex",alignItems:"stretch",overflowX:"auto",whiteSpace:"nowrap",scrollbarWidth:"none",msOverflowStyle:"none","&::-webkit-scrollbar":{display:"none"}}),hJ=e=>{var{children:t,variant:n,border:r,isResponsive:o}=e;YM()(void 0!==n,"[@airwallex/tabs Tabs] `variant` is deprecated. Use PageTab or ViewTab instead."),YM()(void 0!==r,"[@airwallex/tabs Tabs] `border` is deprecated. Remove it â border styling is not applied by this component."),YM()(void 0!==o,"[@airwallex/tabs Tabs] `isResponsive` is deprecated. Remove it â overflow and scrolling are handled by the Tabs container.");var i=s.Children.toArray(t),{containerRef:a,showLeftArrow:l,showRightArrow:c,handleScroll:u,scrollLeft:d,scrollRight:p,scrollToActiveTab:f}=function(e){var t=(0,s.useRef)(null),[n,r]=(0,s.useState)(!1),[o,i]=(0,s.useState)(!1),a=(0,s.useCallback)((()=>{var e=t.current;if(e){var{scrollLeft:n,scrollWidth:o,clientWidth:a}=e;r(n>0),i(n+a<o-1)}}),[]),l=(0,s.useCallback)((()=>{a()}),[a]),c=e.length;(0,s.useEffect)((()=>(a(),window.addEventListener("resize",a),()=>window.removeEventListener("resize",a))),[a,c]);var u=(0,s.useCallback)((()=>{var e=t.current;e&&e.scrollBy({left:-200,behavior:"smooth"})}),[]),d=(0,s.useCallback)((()=>{var e=t.current;e&&e.scrollBy({left:200,behavior:"smooth"})}),[]),p=(0,s.useCallback)((e=>{var n=t.current;if(n){var r=n.children;if(!(e<0||e>=r.length)){var o=r[e],i=o.offsetLeft,a=i+o.offsetWidth,{scrollLeft:s,clientWidth:l,scrollWidth:c}=n,u=s+l-(s+l<c-1?54:0);if(i<s+(s>0?54:0)){var d=Math.max(0,i-54);n.scrollTo({left:d,behavior:"smooth"})}else a>u&&n.scrollTo({left:a-l+54,behavior:"smooth"})}}}),[]),f=(0,s.useCallback)((e=>{requestAnimationFrame((()=>{p(e)}))}),[p]);return{containerRef:t,showLeftArrow:n,showRightArrow:o,handleScroll:l,scrollLeft:u,scrollRight:d,scrollToItem:p,scrollToActiveTab:f}}(i),h=(0,s.useRef)([]),m=i.findIndex((e=>(0,s.isValidElement)(e)&&e.props.active));(0,s.useEffect)((()=>{m>=0&&f(m)}),[m,f]);var g=(0,s.useCallback)((e=>{var t=h.current[e];if(t){var n=t.querySelector("button, a");null==n||n.focus(),(e=>{var t=e.parentElement;if(t){var n=e.offsetLeft,r=n+e.offsetWidth,{scrollLeft:o,clientWidth:i,scrollWidth:a}=t,s=o+i-(o+i<a-1?54:0);if(n<o+(o>0?54:0)){var l=Math.max(0,n-54);t.scrollTo({left:l,behavior:"smooth"})}else r>s&&t.scrollTo({left:r-i+54,behavior:"smooth"})}})(t)}}),[]),v=(0,s.useCallback)((()=>i.map(((e,t)=>(0,s.isValidElement)(e)&&!e.props.disabled?t:-1)).filter((e=>-1!==e))),[i]),y=(0,s.useCallback)((e=>{for(var t=document.activeElement,n=0;n<e.length;n++){var r=h.current[e[n]];if(null==r?void 0:r.contains(t))return n}return-1}),[]),b=(0,s.useCallback)((e=>{var t=v();if(0!==t.length){var n=y(t);if(-1!==n)switch(e.key){case"ArrowRight":e.preventDefault();var r=(n+1)%t.length;g(t[r]);break;case"ArrowLeft":e.preventDefault();var o=(n-1+t.length)%t.length;g(t[o]);break;case"Home":e.preventDefault(),g(t[0]);break;case"End":e.preventDefault(),g(t[t.length-1])}}}),[v,y,g]),w=s.Children.map(t,((e,t)=>
776{if((0,s.isValidElement)(e)){var n=e.ref;return(0,s.cloneElement)(e,pJ({},e.props,{ref:nJ(n,(e=>{h.current[t]=e}))}))}return e}));return(0,fi.jsxs)(oJ,{children:[l&&(0,fi.jsx)(lJ,{position:"left",onClick:d,"aria-label":"Scroll tabs left",type:"button",children:(0,fi.jsx)(JQ,{size:16})}),(0,fi.jsx)(fJ,{ref:a,onScroll:u,role:"tablist",onKeyDown:b,children:w}),c&&(0,fi.jsx)(lJ,{position:"right",onClick:p,"aria-label":"Scroll tabs right",type:"button",children:(0,fi.jsx)(tJ,{size:16})})]})},mJ=n(69815);n(32196),n(62193);var gJ=mJ.A,vJ=hi.u,yJ=["BRAND","INTERACTIVE","INVERSE","AI"],bJ=gJ.div({transition:"opacity 250ms ease",pointerEvents:"none",fontSize:0},(e=>{var{show:t}=e;return{opacity:t?1:0}}));function wJ(){return wJ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wJ.apply(this,arguments)}var xJ=e=>{var{square:t,strokeWidth:n=5,primary:r=!1,color:o,show:i=!1}=e,a=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["square","strokeWidth","primary","color","show"]),l=Math.ceil(n/2),c=vJ(),[u]=(0,s.useState)((()=>Math.random().toString(32).substring(2,15))),d=!!o&&yJ.includes(o),p=(0,s.useMemo)((()=>r&&!o?"BRAND":d?o:void 0),[o,d,r]),f=d?null:o,h="BRAND"===p||"AI"===p,{startColor:m,stopColor:g}=(0,s.useMemo)((()=>"AI"===p?{startColor:"#D200A3",stopColor:c.colors.purples[70]}:{startColor:c.spinner.colors.start.initial,stopColor:c.spinner.colors.stop.initial}),[p,c]),v=m.replace(/#/g,"")+"_"+g.replace(/#/g,"")+"_"+u,y=(0,s.useMemo)((()=>{if(h)return"url(#"+v+")";switch(p){case"INTERACTIVE":return c.semanticColors.icon.link;case"INVERSE":return c.semanticColors.icon.inverse;default:return f||"#333"}}),[p,h,v,c,f]);return(0,fi.jsx)(bJ,wJ({show:i},a,{children:(0,fi.jsxs)("svg",{width:t,height:t,viewBox:"0 0 "+(38+2*l)+" "+(38+2*l),children:[h&&(0,fi.jsx)("defs",{children:(0,fi.jsxs)("linearGradient",{id:v,children:[(0,fi.jsx)("stop",{stopColor:m,offset:"0%"}),(0,fi.jsx)("stop",{stopColor:g,offset:"100%"})]})}),(0,fi.jsx)("g",{transform:"translate("+l+" "+l+")",fill:"none",fillRule:"evenodd",children:(0,fi.jsx)("path",{d:"M36 18c0-9.94-8.06-18-18-18",stroke:y,strokeWidth:n,strokeLinecap:"round",children:(0,fi.jsx)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.8s",repeatCount:"indefinite"})})})]})}))};xJ.displayName="Spinner";var kJ=n(70182),CJ=n.n(kJ),EJ=new WeakMap,SJ=e=>{var t=EJ.get(e);if(t)return t;var{colors:n}=e,r={background:{primary:n.white,secondary:n.grays[10],field:n.grays[5],fieldDisabled:n.grays[10],overlay:OJ(n.black,.3),inverse:n.grays[100],highlight:n.purples[10],selected:n.purples[20],interactive:n.purples[70]},text:{primary:n.grays[90],secondary:n.grays[60],placeholder:n.grays[50],disabled:n.grays[50],link:n.purples[70],error:n.reds[60],success:n.greens[60],inverse:n.white},icon:{primary:n.grays[80],secondary:n.grays[50],disabled:n.grays[30],link:n.purples[70],error:n.reds[60],success:n.greens[50],information:n.blues[50],warning:n.oranges[50],inverse:n.white},border:{decorative:n.grays[20],decorativeStrong:n.grays[40],perceivable:n.grays[50],interactive:n.purples[70],focus:n.purples[70],error:n.reds[50]}},o=CJ()({semanticColors:r},e);return EJ.set(e,o),o};function OJ(e,t){var[n,r,o]=e.match(/\w\w/g).map((e=>parseInt(e,16)));return"rgba("+n+", "+r+", "+o+", "+t+")"}function AJ(){return AJ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AJ.apply(this,arguments)}var _J=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),PJ=(e,t)=>{var n=AJ({},e);for(var[r,o]of Object.entries(t))if(void 0!==o){var i=e[r];_J(i)&&_J(o)?n[r]=PJ(i,o):n[r]=o}return n},jJ=(e,t)=>PJ(e,t),TJ=(e,t,n)=>{void 0===n&&(n=[]),Object.entries(e).forEach((e=>{var[r,o]=e;(e=>"string"==typeof e||"number"==typeof e||"boolean"==typeof e)(o)?t([...n,r]):_J(o)&&TJ(o,t,[...n,r])}))},IJ=e=>{var t,{componentTheme:n,tokenKey:r,defaults:o,variantOverride:i}=e,a=null==(t=n.layout)?void 0:t[r],s=null==i?void 0:i[r];return AJ({},o,_J(a)?a:{},_J(s)?s:{})},LJ=n(20974),NJ=n.n(LJ),RJ=e=>{var{componentTheme:t,defaultComponentTheme:n}=e,r={};return DJ(n,(e=>{var o=iN()(t,e);o!==iN()(n,e)&&NJ()(r,e,o)})),r};
776function DJ(e,t,n){void 0===n&&(n=[]),Object.entries(e).forEach((e=>{var[r,o]=e;!function(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e}(o)?DJ(o,t,[...n,r]):t([...n,r])}))}function FJ(){return FJ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FJ.apply(this,arguments)}var MJ=e=>{var{theme:t}=e,{semanticColors:n}=SJ(t),r=(e=>({default:e.radius.l,small:e.radius.l}))(t);return{primary:{background:{initial:n.background.interactive,focus:n.background.interactive,hover:t.colors.purples[60],active:t.colors.purples[50],disabled:t.colors.grays[20],focusHover:t.colors.purples[60],focusActive:t.colors.purples[50]},foreground:{initial:n.text.inverse,disabled:n.text.disabled},border:{initial:"transparent",hover:"transparent",active:"transparent",disabled:"transparent",focus:t.colors.white,focusHover:t.colors.white,focusActive:t.colors.white},borderRadius:r,focusOutline:n.border.focus},secondary:{background:{initial:n.background.primary,focus:t.colors.white,hover:t.colors.purples[10],active:t.colors.purples[30],disabled:t.colors.grays[20],focusHover:t.colors.purples[10],focusActive:t.colors.purples[30]},foreground:{initial:t.colors.purples[70],disabled:n.text.disabled},border:{initial:n.border.decorative,hover:t.colors.purples[30],active:n.border.decorative,disabled:n.border.decorative,focus:t.colors.white,focusHover:t.colors.white,focusActive:t.colors.white},borderRadius:r,focusOutline:n.border.focus},danger:{background:{initial:t.colors.reds[60],focus:t.colors.reds[60],hover:t.colors.reds[50],active:t.colors.reds[40],disabled:t.colors.grays[20],focusHover:t.colors.reds[50],focusActive:t.colors.reds[40]},foreground:{initial:n.text.inverse,disabled:n.text.disabled},border:{initial:"transparent",hover:"transparent",active:"transparent",disabled:"transparent",focus:t.colors.white,focusHover:t.colors.white,focusActive:t.colors.white},borderRadius:r,focusOutline:n.border.focus},tertiary:{background:{initial:"transparent",focus:"transparent",hover:t.colors.purples[10],active:t.colors.purples[30],disabled:t.colors.grays[20],focusHover:t.colors.purples[10],focusActive:t.colors.purples[30]},foreground:{initial:n.background.interactive,disabled:n.text.disabled},border:{initial:"transparent",hover:"transparent",active:"transparent",disabled:"transparent",focus:t.colors.white,focusHover:t.colors.white,focusActive:t.colors.white},borderRadius:r,focusOutline:n.border.focus},ai:{background:{initial:"linear-gradient("+t.colors.white+", "+t.colors.white+") padding-box, "+t.gradients.quinary+" border-box",focus:n.background.primary,hover:"linear-gradient("+t.colors.purples[10]+", "+t.colors.purples[10]+") padding-box, "+t.gradients.quinary+" border-box",active:"linear-gradient("+t.colors.purples[30]+", "+t.colors.purples[30]+") padding-box, "+t.gradients.quinary+" border-box",disabled:t.colors.grays[20],focusHover:t.colors.purples[10],focusActive:t.colors.purples[30]},foreground:{initial:t.colors.purples[70],disabled:n.text.disabled},border:{initial:"transparent",hover:"transparent",active:"transparent",disabled:"transparent",focus:t.colors.white,focusHover:t.colors.white,focusActive:t.colors.white},borderRadius:r,focusOutline:n.border.focus}}},BJ={primary:"PRIMARY",secondary:"SECONDARY",danger:"DANGER",tertiary:"TERTIARY",ai:"AI"},VJ=e=>{var{theme:t}=e;return{colors:{primary:{background:{initial:t.colors.purples[70]},foreground:{initial:t.colors.white}},secondary:{background:{initial:t.colors.white,hover:t.colors.purples[10],active:t.colors.purples[30],focus:t.colors.purples[10]},foreground:{initial:t.colors.purples[70]},boxShadow:t.colors.purples[20]},danger:{background:{initial:t.colors.reds[50]},foreground:{initial:t.colors.white}},success:{background:{initial:t.colors.blues[50]},foreground:{initial:t.colors.white}},link:{background:{active:t.colors.purples[20],hover:t.colors.purples[10]},foreground:{initial:t.colors.grays[100]}},default:{background:{initial:t.colors.white},foreground:{initial:t.colors.purples[70]}},disabled:{background:{initial:t.colors.grays[20]},foreground:{initial:t.colors.grays[40],hover:t.colors.grays[40]}}}}};function zJ(){return zJ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zJ.apply(this,arguments)}var UJ={primary:"primary",secondary:"secondary",tertiary:"default",danger:"danger",ai:"default"},HJ=e=>{var{theme:t,variant:n,themeStyle:r}=e,o=t.button,i=o[BJ[n]];return zJ({},r,{borderRadius:IJ({componentTheme:o,tokenKey:"borderRadius",defaults:r.borderRadius,variantOverride:i})})},qJ=e=>{var t,n,r,{theme:o,variant:i}=e,a=(e=>{var{theme:t,variant:n}=e,r=MJ({theme:t})[n];return(e=>{var{componentTheme:t,variantKey:n,defaults:r,finalize:o}=e,i=((e,t)=>{var n=e[t];return _J(n)?n:void 0})(t,n);if(!i||!((e,t)=>{if(!t||!_J(t))return!1;var n=!1;return TJ(t,(r=>{var o=iN()(t,r),i=iN()(e,r);void 0!==o&&o!==i&&(n=!0)})),n})(r,i))return null;var a=jJ(r,i);return o?o({merged:a,componentTheme:t,variantOverride:i}):a})({componentTheme:t.button,variantKey:BJ[n],defaults:r,finalize:e=>{var{merged:t,componentTheme:n,variantOverride:r}=e;return FJ({},t,{borderRadius:IJ({componentTheme:n,tokenKey:"borderRadius",defaults:t.borderRadius,variantOverride:r})})}})})({theme:o,variant:i});if(a)return HJ({theme:o,variant:i,themeStyle:a});var s,l=RJ({componentTheme:o.button,defaultComponentTheme:VJ({theme:o})});if(s=Object.keys(null!=(t=null==l||null==(n=l.colors)?void 0:n[UJ[i]])?t:{}).length>0?"secondary"===i?(e=>{var t,{theme:n}=e,r=MJ({theme:n}).secondary,o=n.button.colors.secondary;return{background:zJ({},r.background,{initial:o.background.initial,focus:o.background.focus,hover:o.background.hover,active:o.background.active}),foreground:zJ({},r.foreground,{initial:null==(t=o.foreground)?void 0:t.initial}),border:zJ({},r.border,{initial:o.boxShadow,hover:(0,yj.e$)(.05,o.background.hover),active:o.boxShadow,disabled:o.boxSh
776adow}),borderRadius:r.borderRadius,focusOutline:r.focusOutline}})({theme:o}):(e=>{var t,n,{theme:r,variant:o}=e,i=MJ({theme:r})[o],a=r.button.colors[UJ[o]],s=null==(t=a.background)?void 0:t.initial;return{background:zJ({},i.background,{initial:a.background.initial,focus:(0,yj.e$)(.1,s),hover:(0,yj.e$)(.05,s),active:(0,yj.e$)(.1,s)}),foreground:zJ({},i.foreground,{initial:null==(n=a.foreground)?void 0:n.initial}),border:i.border,borderRadius:i.borderRadius,focusOutline:i.focusOutline}})({theme:o,variant:i}):MJ({theme:o})[i],null==l||null==(r=l.colors)?void 0:r.disabled){var c,u,d=o.button.colors.disabled;s=zJ({},s,{background:zJ({},s.background,{disabled:null!=(c=d.background.initial)?c:s.background.disabled}),foreground:zJ({},s.foreground,{disabled:null!=(u=d.foreground.initial)?u:s.foreground.disabled})})}return HJ({theme:o,variant:i,themeStyle:s})},WJ=e=>{var{variant:t}=e,n=(0,ji.useTheme)();return qJ({theme:n,variant:t})},$J=e=>{var{id:t}=e;return(0,fi.jsx)("defs",{children:(0,fi.jsxs)("linearGradient",{id:t,x1:"0%",y1:"0%",x2:"100%",y2:"100%",gradientUnits:"userSpaceOnUse",children:[(0,fi.jsx)("stop",{offset:"0%",stopColor:"#612FFF"}),(0,fi.jsx)("stop",{offset:"100%",stopColor:"#D200A3"})]})})};function GJ(){return GJ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GJ.apply(this,arguments)}var KJ={default:{iconPadding:11,contentPadding:{vertical:8,horizontal:15},iconGap:8},small:{iconPadding:7,contentPadding:{vertical:4,horizontal:12},iconGap:6}},ZJ=e=>"ai"===e,YJ=(e,t)=>({outline:"2px solid "+e.focusOutline,border:"1px solid "+e.border.focus,background:e.background.focus,"&:hover":{background:t?e.background.focus:e.background.focusHover,border:"1px solid "+e.border.focusHover},"&:active":{background:t?e.background.focus:e.background.focusActive,border:"1px solid "+e.border.focusActive}}),XJ=e=>e.border.active===e.border.initial?{}:{border:"1px solid "+e.border.active},QJ=ji.styled.button((e=>{var{theme:t,variant:n,disabled:r,syncing:o,hover:i,active:a,iconOnly:s,responsive:l,size:c="default"}=e,u=qJ({theme:t,variant:n}),d=ZJ(n),p=KJ[c];return GJ({display:"inline-block",position:"relative",padding:s?p.iconPadding+"px":p.contentPadding.vertical+"px "+p.contentPadding.horizontal+"px",borderRadius:u.borderRadius[c],border:"1px solid "+u.border.initial,cursor:"pointer",textDecoration:"none",background:u.background.initial,color:u.foreground.initial},((e,t,n,r)=>!ZJ(t)||n&&!r?{}:{"& *":{backgroundImage:e.gradients.quinary,backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}})(t,n,!!r,!!o),{"&:hover":{background:u.background.hover,border:"1px solid "+u.border.hover}},i&&{background:u.background.hover,border:"1px solid "+u.border.hover},{"&:active":GJ({background:u.background.active},XJ(u))},a&&GJ({background:u.background.active},XJ(u)),{"&:focus-visible":YJ(u,!!o)},((e,t,n)=>{if(!n)return{};var r=e.border.disabled&&e.border.disabled!==e.border.initial?{border:"1px solid "+e.border.disabled}:{};return GJ({background:e.background.disabled,color:t?void 0:e.foreground.disabled,cursor:"not-allowed"},r,{"&:hover, &:focus-visible, &:active":GJ({background:e.background.disabled,color:t?void 0:e.foreground.disabled},r)})})(u,o,r),((e,t,n)=>t?{background:e.background.initial,color:n?void 0:e.foreground.initial,cursor:"default",opacity:.95,border:"1px solid "+e.border.initial,"&:hover, &:focus-visible, &:active":{background:e.background.initial,color:n?void 0:e.foreground.initial,border:"1px solid "+e.border.initial}}:{})(u,o,d),l&&{[t.breakpoints.breakpoint.s]:{width:"100%"}})})),JJ=ji.styled.span((e=>{var{theme:t,syncing:n=!1}=e;return GJ({},t.typography.bodyEmphasis,{opacity:n?.3:1,transition:"opacity 250ms ease",display:"flex",alignItems:"center",justifyContent:"center",fontFamily:t.fontFamily.default,whiteSpace:"nowrap"})})),e0=ji.styled.span((e=>{var{theme:t,iconPosition:n,disabled:r,size:o="default"}=e,{semanticColors:i}=SJ(t),a=KJ[o];return GJ({display:"flex",alignItems:"center",justifyContent:"center",color:r?i.text.disabled:"inherit"},"left"===n&&{paddingInlineEnd:a.iconGap},"right"===n&&{paddingInlineStart:a.iconGap})})),t0=ji.styled.div({position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}),n0=e=>{var{icon:t,position:n,disabled:r,variant:o,size:i="default"}=e,a=t||(()=>(0,fi.jsx)(fi.Fragment,{})),l=(0,s.isValidElement)(t)?t:(0,fi.jsx)(a,{size:16}),c="ai"===o&&!r;return(0,fi.jsx)(e0,{iconPosition:n,disabled:r,size:i,children:(0,s.cloneElement)(l,GJ({size:16},c&&{gradientPainter:$J}))})},r0={PRIMARY:"primary",SECONDARY:"secondary",DANGER:"danger",TERTIARY:"tertiary",AI:"ai"},o0=e=>(e=>e in r0)(e)?r0[e]:e;function i0(){return i0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i0.apply(this,arguments)}function a0(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}var s0=(0,s.forwardRef)(((e,t)=>{var{type:n="button",href:r,variant:o="tertiary",children:i,disabled:a,syncing:s,onClick:l,hover:c,active:u,className:d,responsive:p,iconBefore:f,iconAfter:h,size:m="default"}=e,g=a0(e,["type","href","variant","children","disabled","syncing","onClick","hover","active","className","responsive","iconBefore","iconAfter","size"]),v=o0(o),y=r?QJ.withComponent("a"):QJ,b=WJ({variant:v});return(0,fi.jsxs)(y,i0({ref:t,className:d,variant:v,disabled:a||s,type:r?void 0:n,onClick:l,syncing:s,hover:c,active:u,responsive:p,size:m,tabIndex:0,href:r},g,{children:[(0,fi.jsxs)(JJ,{syncing:s,children:[f?(0,fi.jsx)(n0,{icon:f,position:"left",disabled:a,variant:v,size:m}):"",i,h?(0,fi.jsx)(n0,{icon:h,position:"right",disabled:a,variant:v,size:m}):""]}
776),s&&(0,fi.jsx)(t0,{children:(0,fi.jsx)(xJ,{color:b.foreground.initial,show:!0,square:24})})]}))}));s0.displayName="Button";var l0=(0,s.forwardRef)(((e,t)=>{var{type:n="button",href:r,variant:o="tertiary",children:i,disabled:a,syncing:s,onClick:l,hover:c,active:u,className:d,icon:p,"aria-label":f,responsive:h,size:m="default"}=e,g=a0(e,["type","href","variant","children","disabled","syncing","onClick","hover","active","className","icon","aria-label","responsive","size"]),v=o0(o),y=r?QJ.withComponent("a"):QJ,b=WJ({variant:v});return(0,fi.jsxs)(y,i0({ref:t,className:d,variant:v,disabled:a||s,type:r?void 0:n,onClick:l,syncing:s,hover:c,active:u,tabIndex:0,responsive:h,size:m,iconOnly:!0,href:r,"aria-label":f},g,{children:[(0,fi.jsx)(JJ,{syncing:s,children:(0,fi.jsx)(n0,{icon:p,disabled:a,variant:v,size:m})}),s&&(0,fi.jsx)(t0,{children:(0,fi.jsx)(xJ,{color:b.foreground.initial,show:!0,square:24})})]}))}));function c0(){return c0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c0.apply(this,arguments)}l0.displayName="IconButton";var u0=XQ((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",c0({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M26.9999 14.25C27.6903 14.25 28.2499 14.8097 28.2499 15.5C28.2499 16.1904 27.6903 16.75 26.9999 16.75L8.19134 16.75L12.8583 21.084C13.3642 21.5538 13.3935 22.3447 12.9238 22.8506C12.454 23.3565 11.6631 23.3858 11.1572 22.916L4.15716 16.416C3.90247 16.1795 3.75775 15.8476 3.75775 15.5C3.75776 15.1525 3.90246 14.8205 4.15716 14.584L11.1572 8.08401C11.6631 7.61426 12.454 7.64356 12.9238 8.14944C13.3935 8.65533 13.3642 9.44629 12.8583 9.91604L8.19134 14.25L26.9999 14.25Z",fill:n})]}))}));function d0(){return d0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d0.apply(this,arguments)}var p0=e=>{var{breakpoints:t,fontFamily:n}=e,r=n.default;return d0({},e,{typography:{display100:{fontFamily:r,fontSize:36,lineHeight:"45px",fontWeight:500,[t.breakpoint.m]:{fontSize:32,lineHeight:"40px"},[t.breakpoint.s]:{fontSize:28,lineHeight:"35px"}},display200:{fontFamily:r,fontSize:28,lineHeight:"35px",fontWeight:500,[t.breakpoint.m]:{fontSize:24,lineHeight:"30px"},[t.breakpoint.s]:{fontSize:22,lineHeight:"28px"}},headline100:{fontFamily:r,fontSize:24,lineHeight:"30px",fontWeight:500,[t.breakpoint.m]:{fontSize:22,lineHeight:"27px"},[t.breakpoint.s]:{fontSize:20,lineHeight:"25px"}},headline200:{fontFamily:r,fontSize:18,lineHeight:"25px",fontWeight:500},headline300:{fontFamily:r,fontSize:16,lineHeight:"24px",fontWeight:500},headline400:{fontFamily:r,fontSize:14,lineHeight:"22px",fontWeight:500},body:{fontFamily:r,fontSize:14,lineHeight:"22px",fontWeight:"normal"},bodyBold:{fontFamily:r,fontSize:14,lineHeight:"22px",fontWeight:500},bodyEmphasis:{fontFamily:r,fontSize:14,lineHeight:"22px",fontWeight:500},link:{fontFamily:r,fontSize:14,lineHeight:"22px",fontWeight:500},linkInline:{fontFamily:r,fontSize:14,lineHeight:"22px",fontWeight:500,textDecoration:"underline"},hint:{fontFamily:r,fontSize:12,lineHeight:"18px",fontWeight:"normal"}}})};function f0(){return f0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f0.apply(this,arguments)}var h0=XQ((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",f0({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M27.75 16C27.75 9.51065 22.4893 4.25 16 4.25C9.51065 4.25 4.25 9.51065 4.25 16C4.25 22.4893 9.51065 27.75 16 27.75C22.4893 27.75 27.75 22.4893 27.75 16ZM30.25 16C30.25 23.8701 23.8701 30.25 16 30.25C8.12994 30.25 1.75 23.8701 1.75 16C1.75 8.12994 8.12994 1.75 16 1.75C23.8701 1.75 30.25 8.12994 30.25 16Z",fill:n}),(0,fi.jsx)("path",{d:"M14.75 15.25C14.75 14.5596 15.3096 14 16 14C16.6904 14 17.25 14.5596 17.25 15.25V22.75C17.25 23.4404 16.6904 24 16 24C15.3096 24 14.75 23.4404 14.75 22.75V15.25Z",fill:n}),(0,fi.jsx)("path",{d:"M14.75 10.25C14.75 9.55964 15.3096 9 16 9C16.6904 9 17.25 9.55964 17.25 10.25V10.75C17.25 11.4404 16.6904 12 16 12C15.3096 12 14.75 11.4404 14.75 10.75V10.25Z",fill:n})]}))}));function m0(){return m0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m0.apply(this,arguments)}var g0=ji.styled.div((()=>({display:"flex",alignItems:"center",justifyContent:"center"}))),v0=(0,s.forwardRef)(((e,t)=>{var n=(0,ji.useTheme)(),{semanticColors:r}=SJ(n);return(0,fi.jsx)(g0,{ref:t,children:(0,fi.jsx)(h0,{size:16,color:r.icon.secondary})})})),y0=ji.styled.div((e=>{var{theme:t}=e,{typography:n}=p0(t);return m0({marginBottom:"4px"},n.bodyEmphasis)})),b0=ji.styled.div((e=>{var{theme:t,duration:n,color:r,compact:o}=e,{semanticColors:i}=SJ(t),{typography:a}=p0(t),s="white"===r;return m0({backgroundColor:s?i.background.primary:i.text.primary,color:s?i.text.primary:i.text.inverse,borderRadius:"4px"},a.body,{padding:o?"4px 8px":"12px 16px",maxWidth:"320px",boxShadow:"0 0 16px 0 rgba(0, 0, 0, 0.08)",zIndex:t.zIndex.tooltip,textAlign:"left",wordBreak:"break-word",opacity:0,transition:"opacity "+n+"ms ease-out, transform "+n+"ms ease-out",'[data-side="top"] &':{transform:"translateY(8px)"},'[data-side="bottom"] &':{transform:"translateY(-8px)"},'[data-side="left"] &':{transform:"translateX(8px)"},'[data-side="right"] &':{transform:"translateX(-8px)"},'[data-status="open"] &':{opacity:1,transform:"translate(0, 0)"},'[data-status="close"][data-side="top"] &':{opacity:0,transform:"translateY(8px)"},'[data-status="close"][data-side="bottom"] &':{opacity:0,transform:"translateY(-8px)"},'[data-status="close"][data-side="left"] &':{opacity:0,transform:"translateX(8px)"},'[data-status="close"][data-side="right"] &':{opacity:0,transform:"translateX(-8px)"},'&[data-interactive="true"]':{pointerEvents:"auto"},'&[data-interactive="false"]':{pointerEvents:"none"}})}
776));function w0(){return w0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w0.apply(this,arguments)}var x0=e=>{var{color:t,compact:n=!0,title:r,content:o,children:i,position:a="top",distance:l=8,delay:c=0,disabled:u=!1,onOpenChange:d,isOpen:p,className:f,style:h}=e,[m,g]=(0,s.useState)(!1),v=void 0!==p?p:m,{refs:y,floatingStyles:b,context:w}=gM({open:v&&!u,onOpenChange:e=>{g(e),null==d||d(e)},placement:a,middleware:[dF(l),fF(),pF({padding:8})],whileElementsMounted:eF}),x=(0,ji.useTheme)(),k=$F(w,{enabled:!u,move:!1,delay:c,handleClose:IM()}),C=vM(w,{enabled:!u}),E=mM(w),S=PM(w,{role:"tooltip"}),{getReferenceProps:O,getFloatingProps:A}=xM([k,C,E,S]),{isMounted:_,status:P}=jM(w,{duration:200}),j=w.placement.split("-")[0],T=(0,fi.jsxs)(fi.Fragment,{children:[r&&(0,fi.jsx)(y0,{children:r}),o]}),I=i||(0,fi.jsx)(v0,{});return(0,fi.jsxs)(fi.Fragment,{children:[(0,fi.jsx)("span",w0({ref:y.setReference},O(),{style:h,className:f,children:I})),_&&(0,fi.jsx)(aM,{root:document.body,children:(0,fi.jsx)("div",w0({ref:y.setFloating,style:w0({},b,{zIndex:x.zIndex.tooltip})},A(),{"data-status":P,"data-side":j,"data-interactive":(!u).toString(),children:(0,fi.jsx)(b0,{duration:200,color:t,compact:n,children:T})}))})]})};function k0(){return k0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k0.apply(this,arguments)}var C0=ji.styled.nav({}),E0=ji.styled.div({display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-end",padding:0,margin:0,fontWeight:"bold"}),S0=ji.styled.div({display:"flex",marginLeft:0,justifyContent:"center",alignItems:"center"}),O0=ji.styled.span((e=>{var{theme:t,maxWidth:n}=e,{semanticColors:r}=SJ(t),{typography:o}=p0(t);return k0({display:"block",color:r.text.primary,maxWidth:n?"min(calc("+n+" - 16px), 35ch)":"35ch",paddingBlock:0,marginRight:16,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden","@media (max-width: 720px)":{display:"none"}},o.bodyEmphasis,{'[data-awx-copilot-open="true"] &':{maxWidth:n?"min(calc("+n+" - 16px), 35ch)":"35ch"},'[data-awx-copilot-open="false"] &':{maxWidth:n?"min(calc("+n+" - 16px - calc(var(--awx-copilot-trigger-space, 68px) - 16px)), 35ch)":"35ch"}})})),A0=ji.styled.div((e=>{var{theme:t}=e;return{borderBottom:"1px solid "+t.colors.grays[20],padding:8}})),_0=ji.styled.div((e=>{var{theme:t}=e,{typography:n}=p0(t),{semanticColors:r}=SJ(t);return k0({fontSize:14,fontWeight:500,maxWidth:"40ch",color:r.text.primary,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},n.bodyEmphasis)})),P0=ji.styled.div({textAlign:"left"}),j0=ji.styled.div((e=>{var{theme:t}=e,{typography:n}=p0(t),{semanticColors:r}=SJ(t);return k0({fontSize:14,fontWeight:400,maxWidth:"40ch",paddingBlock:0,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",color:r.text.secondary},n.body)})),T0=n(17988),I0=n.n(T0),L0={xxs:360,xs:475,s:720,m:1020,l:1200,xl:1920};function N0(){return N0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},N0.apply(this,arguments)}L0.xxs,L0.xs,L0.s,L0.m,L0.l,L0.xl;var{uw:R0}=i,D0={DESKTOP:"(min-width: "+(R0.m+1)+"px)",TABLET:"(min-width: "+(R0.s+1)+"px) and (max-width: "+R0.m+"px)",PHONE:"(max-width: "+R0.s+"px)"},F0={L:R0.l+1,M:R0.m+1,S:R0.s+1,XS:R0.xs+1,XXS:R0.xxs+1},M0={L:R0.l,M:R0.m,S:R0.s,XS:R0.xs,XXS:R0.xxs},B0=e=>{var{showAbove:t,device:n,showBelow:r,children:o}=e,i=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["showAbove","device","showBelow","children"]),a=n&&D0[n],s=t&&F0[t],l=r&&M0[r];return(0,fi.jsx)(I0(),N0({maxWidth:l,minWidth:s},i,{query:a,children:o}))};function V0(){return V0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},V0.apply(this,arguments)}var z0=XQ((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",V0({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M6.88379 21.5792C6.39564 22.0673 5.60437 22.0673 5.11621 21.5792C4.62806 21.091 4.62806 20.2998 5.11621 19.8116L14.7627 10.1651C15.4461 9.48177 16.5539 9.48176 17.2373 10.1651L26.8838 19.8116C27.3719 20.2998 27.3719 21.091 26.8838 21.5792C26.3956 22.0674 25.6044 22.0674 25.1162 21.5792L16 12.463L6.88379 21.5792Z",fill:n})]}))}));function U0(){return U0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},U0.apply(this,arguments)}var H0=XQ((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",U0({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"}
776,o,{children:[r,(0,fi.jsx)("path",{d:"M25.1162 9.81143C25.6044 9.32327 26.3957 9.32327 26.8838 9.81143C27.372 10.2996 27.372 11.0909 26.8838 11.579L17.2373 21.2255C16.5539 21.9089 15.4461 21.9089 14.7627 21.2255L5.11624 11.579C4.62808 11.0909 4.62808 10.2996 5.11624 9.81143C5.60439 9.32327 6.39566 9.32327 6.88382 9.81143L16 18.9276L25.1162 9.81143Z",fill:n})]}))})),q0=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),W0=e=>{var t={};for(var[n,r]of Object.entries(e))if(void 0!==r)if(q0(r)){var o=W0(r);Object.keys(o).length>0&&(t[n]=o)}else t[n]=r;return t},$0=e=>{var{theme:t}=e,{semanticColors:n}=SJ(t);return{menu:{background:{initial:n.background.primary},layout:{borderRadius:{default:t.radius.l}}},item:{text:{initial:n.text.primary,hover:n.text.primary,disabled:n.text.disabled},background:{hover:n.background.highlight,focus:n.background.highlight,active:n.background.highlight},layout:{borderRadius:{default:t.radius.m}}}}},G0=e=>{var{theme:t}=e;return{colors:{menuItemText:{initial:t.colors.grays[70],hover:t.colors.purples[70]}
776,menuItemBackground:{hover:t.colors.purples[10],focus:t.colors.purples[10],active:t.colors.purples[20]}}}},K0=e=>{var t,n,r,o,i,{theme:a}=e,{colors:s}=RJ({componentTheme:a.dropdown,defaultComponentTheme:G0({theme:a})});return W0({item:{text:{initial:null==s||null==(t=s.menuItemText)?void 0:t.initial,hover:null==s||null==(n=s.menuItemText)?void 0:n.hover},background:{hover:null==s||null==(r=s.menuItemBackground)?void 0:r.hover,focus:null==s||null==(o=s.menuItemBackground)?void 0:o.focus,active:null==s||null==(i=s.menuItemBackground)?void 0:i.active}}})},Z0=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Y0=(e,t)=>{if(Z0(e,"layout")||Z0(e,"borderRadius"))return IJ({componentTheme:e,tokenKey:"borderRadius",defaults:{default:t},variantOverride:Z0(e,"borderRadius")?{borderRadius:e.borderRadius}:void 0})},X0=e=>{var{theme:t}=e,n=t.dropdown,r={};return Z0(n,"menu")&&n.menu&&(r.menu=((e,t)=>{var n={};Z0(e,"background")&&(n.background=e.background);var r=Y0(e,t);return r&&(n.layout={borderRadius:r}),n})(n.menu,t.radius.l)),Z0(n,"item")&&n.item&&(r.item=((e,t)=>{var n={};Z0(e,"text")&&(n.text=e.text),Z0(e,"background")&&(n.background=e.background);var r=Y0(e,t);return r&&(n.layout={borderRadius:r}),n})(n.item,t.radius.m)),W0(r)},Q0=e=>{var{theme:t}=e;return(e=>{var{defaults:t,legacyOverlay:n,newFormatOverlay:r}=e,o=n?jJ(t,n):t;return r?jJ(o,r):o})({defaults:$0({theme:t}),legacyOverlay:K0({theme:t}),newFormatOverlay:X0({theme:t})})};function J0(){return J0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},J0.apply(this,arguments)}function e1(e,t){return t||(t=e.slice(0)),e.raw=t,e}function t1(){var e=e1(["\n white-space: nowrap;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n cursor: pointer;\n padding: 8px;\n gap: 8px;\n cursor: pointer;\n ","\n"]);return t1=function(){return e},e}function n1(){var e=e1(["\n border: none;\n background: none;\n width: 100%;\n"]);return n1=function(){return e},e}function r1(){var e=e1(["\n text-decoration: none;\n"]);return r1=function(){return e},e}var o1=ji.styled.div((e=>{var{theme:t,responsive:n}=e;return J0({display:"inline-block",position:"relative"},n&&{[t.breakpoints.breakpoint.s]:{width:"100%"}})})),i1=ji.styled.div(t1(),(e=>{var{theme:t,isFocused:n,danger:r}=e,{typography:o}=p0(t),{semanticColors:i}=SJ(t),{item:a}=Q0({theme:t}),s=i.text.error,l=t.colors.reds[5],c=e=>r?{background:l,color:s,svg:{color:s}}:{background:e,color:a.text.hover,svg:{color:i.icon.primary}},u=c(a.background.hover),d=c(a.background.focus),p=c(a.background.active),f={cursor:"not-allowed",background:"transparent",color:a.text.disabled,svg:{color:i.icon.disabled}};return J0({},o.body,n&&d,{color:r?s:a.text.initial,borderRadius:a.layout.borderRadius.default,"&:hover":u,"&:active":p,"&:focus-visible":J0({},d,{outlineStyle:"solid",outlineWidth:"2px",outlineColor:i.border.focus}),svg:{color:r?s:i.icon.primary},"&:disabled":f,"&:disabled:hover":f,"&:disabled:focus-visible":J0({outline:"none"},f),'&[aria-disabled="true"]':f,'&[aria-disabled="true"]:hover':f,'&[aria-disabled="true"]:focus-visible':J0({outline:"none"},f)})})),a1=(0,ji.styled)(i1.withComponent("button"))(n1()),s1=(0,ji.styled)(i1.withComponent("a"))(r1()),l1=(ji.styled.div((e=>{var{theme:t}=e,{semanticColors:n}=SJ(t);return{height:1,margin:0,backgroundColor:n.border.decorative}})),ji.styled.div({display:"flex",flexDirection:"column",gap:8}),ji.styled.div((e=>{var{theme:t}=e,{typography:n}=p0(t),{semanticColors:r}=SJ(t);return J0({},n.hint,{color:r.text.secondary,padding:"4px 8px"})})),ji.styled.div({position:"absolute",boxShadow:"0 4px 16px 0 rgba(0,0,0,0.16)",display:"flex",flexDirection:"column",padding:8,fontSize:14,gap:8},(e=>{var{theme:t,menuRight:n,small:r,responsive:o,position:i}=e,{menu:a}=Q0({theme:t});return J0({outline:"none",zIndex:t.zIndex.modal+1,borderRadius:a.layout.borderRadius.default,backgroundColor:a.background.initial,minWidth:r?0:240},o&&{[t.breakpoints.breakpoint.s]:{width:"100%"}},"top"===i&&{bottom:"100%"}
776,n&&{right:0})})));function c1(){return c1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c1.apply(this,arguments)}function u1(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}var d1=e=>{var{icon:t,href:n,onClick:r,linkProps:o,children:i,danger:a,disabled:l}=e,c=u1(e,["icon","href","onClick","linkProps","children","danger","disabled"]),u=function(e){void 0===e&&(e={});const{label:t}=e,{register:n,unregister:r,map:o,elementsRef:i,labelsRef:a}=s.useContext(TF),[l,c]=s.useState(null),u=s.useRef(null),d=s.useCallback((e=>{if(u.current=e,null!==l&&(i.current[l]=e,a)){var n;const r=void 0!==t;a.current[l]=r?t:null!=(n=null==e?void 0:e.textContent)?n:null}}),[l,i,a,t]);return PF((()=>{const e=u.current;if(e)return n(e),()=>{r(e)}}),[n,r]),PF((()=>{const e=u.current?o.get(u.current):null;null!=e&&c(e)}),[o]),s.useMemo((()=>({ref:d,index:null==l?-1:l})),[l,d])}({}),{ref:d}=u,p=u1(u,["ref"]),f=e=>{if(l)return e.preventDefault(),void e.stopPropagation();null==r||r(e)};return n?(0,fi.jsxs)(s1,c1({href:n,onClick:f,ref:d,danger:a,"aria-disabled":l||void 0},p,o,{children:[t,i]})):(0,fi.jsxs)(a1,c1({role:"menuitem",onClick:f,danger:a,disabled:l},c,{ref:d},p,o,{children:[t,i]}))},p1=(0,s.forwardRef)(((e,t)=>{var n,r=[e,t],[o,...i]=r,{children:a,loading:s}=o,l=u1(o,["children","loading"]),[c]=i,u="object"==typeof s?s.state:s,d="object"==typeof s&&null!=(n=s.skeletonCount)?n:3,{colors:p}=(0,ji.useTheme)();return(0,fi.jsx)(l1,c1({},l,{ref:c,children:u?Array.from({length:d}).map(((e,t)=>(0,fi.jsx)(yU,{style:{paddingInline:"8px",paddingBlock:"9px"},width:"240px",height:"38px",backgroundColor:p.grays[10],foregroundColor:p.grays[20],children:(0,fi.jsx)("rect",{x:"0",y:"0",rx:6,ry:6,width:"100%",height:"100%"})},t))):a}))})),f1={en:{"dropdown_menu.show_menu":"Open menu","dropdown_menu.close_menu":"Close menu"},"en-US":{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","dropdown_menu.close_menu":"Close menu","dropdown_menu.show_menu":"Open menu"},zh:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","dropdown_menu.close_menu":"å
³éèå","dropdown_menu.show_menu":"æå¼èå"},fr:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","dropdown_menu.close_menu":"Fermer le menu","dropdown_menu.show_menu":"Ouvrir le menu"},"es-MX":{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","dropdown_menu.close_menu":"Cerrar menú","dropdown_menu.show_menu":"Abrir menú"},de:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","dropdown_menu.close_menu":"Menü schlieÃen","dropdown_menu.show_menu":"Menü öffnen"},ja:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","dropdown_menu.close_menu":"ã¡ãã¥ã¼ãéãã","dropdown_menu.show_menu":"ã¡ãã¥ã¼ãéã"},ko:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","dropdown_menu.close_menu":"ë©ë´ ë«ê¸°","dropdown_menu.show_menu":"ë©ë´ ì´ê¸°"},"pt-BR":{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","dropdown_menu.close_menu":"Fechar menu","dropdown_menu.show_menu":"Abrir menu"},vi:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","dropdown_menu.close_menu":"Äóng menu","dropdown_menu.show_menu":"Má» menu"},tr:{"dropdown_menu.show_menu":"Menüyü aç","dropdown_menu.close_menu":"Menüyü kapat"},pl:{"dropdown_menu.show_menu":"Otwórz menu","dropdown_menu.close_menu":"Zamknij menu"}};function h1(){return h1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h1.apply(this,arguments)}function m1(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}var g1=(0,s.forwardRef)(((e,t)=>{var n=[e,t],[r,...o]=n,{children:i,hideChevron:a,icon:s,iconPosition:l,secondaryIcon:c,secondaryIconPosition:u,responsive:d=!1,menuPosition:p,onClick:f,active:h}=r,m=m1(r,["children","hideChevron","icon","iconPosition","secondaryIcon","secondaryIconPosition","responsive","menuPosition","onClick","active"]),[g]=o,v=e=>{var t;return(null!=(t=f1.en)?t:f1.en)[e]},y="left"===u&&c?c:"right"!==l&&s?s:void 0,b="right"===u&&c?c:"right"===l&&s?s:a?void 0:"top"===p&&h?z0:H0,w=e=>{e.preventDefault(),e.stopPropagation(),null==f||f(e)};return i?(0,fi.jsx)(s0,h1({ref:g,iconBefore:y,iconAfter:b,active:h},m,{onClick:w,children:i})):(0,fi.jsx)(l0,h1({ref:g,icon:y||H0,"aria-label":v(h?"dropdown_menu.close_menu":"dropdown_menu.show_menu"),active:h},m,{onClick:w}))})),v1=e=>{var t,{children:n,smallMenu:r,autoHideMenu:o,responsive:i=!1,controlledState:a,menuRight:l=!1,menuPosition:c,dropdownMenuProps:u,menuPortalElement:d,buttonText:p,menuLoading:f,renderTrigger:h}=e,m=m1(e,["children","smallMenu","autoHideMenu","responsive","controlledState","menuRight","menuPosition","dropdownMenuProps","menuPortalElement","buttonText","menuLoading","renderTrigger"]),g=(0,s.use
776State)(!1),[v,y]=a||g,b=(c||"bottom")+"-"+(l?"end":"start"),w=l?["top-end","bottom-end"]:["top-start","top-end","bottom-start","bottom-end"],{context:x,refs:k,floatingStyles:C}=gM({placement:b,open:v,onOpenChange:y,middleware:c?[dF(4)]:[dF(4),(t={allowedPlacements:w},{...nF(t),options:[t,undefined]})],whileElementsMounted:eF}),E=(0,s.useRef)([]),[S,O]=(0,s.useState)(-1),{getReferenceProps:A,getFloatingProps:_}=xM([dM(x,{enabled:!m.disabled&&!m.syncing}),mM(x),PM(x,{role:"menu"}),AM(x,{listRef:E,activeIndex:S,allowEscape:!0,focusItemOnHover:!1,focusItemOnOpen:!1,loop:!0,openOnArrowKeyDown:!0,onNavigate:e=>{if(null!==S&&null===e){var t=E.current.length-1;O(S===t?0:t)}else O(e)}})]);(0,s.useEffect)((()=>{v&&O(null)}),[v]);var P=i&&!r,j=null!=h;return(0,fi.jsxs)(o1,{responsive:P,children:[j?(()=>{if(!h)return null;var e=!!m.disabled||!!m.syncing;return h(h1({ref:k.setReference,"aria-label":m["aria-label"]},A({role:"button",tabIndex:e?-1:0,"aria-disabled":e||void 0,"aria-haspopup":"menu","aria-expanded":v,onClick:t=>{null==m.onClick||m.onClick.call(m,t),t.defaultPrevented||e&&(t.preventDefault(),t.stopPropagation())},onKeyDown:t=>{t.defaultPrevented||e||"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.currentTarget.click())}})),{isOpen:v})})():(0,fi.jsx)(g1,h1({active:v,ref:k.setReference,responsive:P},m,A({onClick:m.onClick}),{children:p})),v&&(0,fi.jsx)(aM,{root:d||document.body,children:(0,fi.jsx)(p1,h1({responsive:P,small:r,onClick:e=>{e.stopPropagation(),o&&y(!1)},position:c,ref:k.setFloating,loading:f},_(),u,{style:h1({right:"unset",bottom:"unset"},C,null==u?void 0:u.style),children:(0,fi.jsx)(IF,{elementsRef:E,children:n})}))})]})},y1=(e,t)=>{var n,r,o=(0,ji.useTheme)(),i=null!=(r=e[null!=(n=null==t?void 0:t.langKey)?n:o.langKey])?r:e.en;return{t:(e,t)=>{var n,r,o=null==i?void 0:i[e];return"string"==typeof o?null!=(r=o.replace(/{{(\w+)}}/g,((e,n)=>{var r;return""+(null!=(r=null==t?void 0:t[n])?r:n)})))?r:e:null!=(n=null==o?void 0:o.map((e=>e.replace(/{{(\w+)}}/g,((e,n)=>{var r;return""+(null!=(r=null==t?void 0:t[n])?r:n)})))))?n:[]}}},b1={en:{profile:"Profile",help:"Help",helpCenter:"https://support.airwallex.com/hc/en-us",logout:"Log out",close:"Close"},"en-US":{_comment:"This file is generated via awx-i18n-service, please do not update contents manually",close:"Close",help:"Help",helpCenter:"https://support.airwallex.com/hc/en-us",logout:"Log out",profile:"Profile"},zh:{profile:"ç¨æ·è®¾å®",help:"帮å©ä¸å¿",helpCenter:"https://support.airwallex.com/hc/zh-cn",logout:"éåºç»å½",close:"å
³é"},fr:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually",close:"Fermer",help:"Aide",helpCenter:"https://support.airwallex.com/hc/en-us",logout:"Se déconnecter",profile:"Profil"},"es-MX":{_comment:"This file is generated via awx-i18n-service, please do not update contents manually",close:"Cerrar",help:"Ayuda",helpCenter:"https://support.airwallex.com/hc/en-us",logout:"Cerrar sesión",profile:"Perfil"},de:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually",close:"SchlieÃen Sie",help:"Hilfe",helpCenter:"https://support.airwallex.com/hc/en-us",logout:"Abmelden",profile:"Profil"},ja:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually",close:"éãã",help:"ãã«ã",helpCenter:"https://support.airwallex.com/hc/en-us",logout:"ãã°ã¢ã¦ã",profile:"ãããã£ã¼ã«"},ko:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually",close:"ë«ê¸°",help:"ëìë§",helpCenter:"https://support.airwallex.com/hc/en-us",logout:"ë¡ê·¸ìì",profile:"íë¡í"},"pt-BR":{profile:"Perfil",help:"Ajuda",helpCenter:"https://support.airwallex.com/hc/en-us",logout:"Sair",close:"Fechar"},vi:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually",close:"Äóng",help:"Trợ giúp",helpCenter:"https://support.airwallex.com/hc/en-us",logout:"ÄÄng xuất",profile:"Há» sÆ¡"},tr:{profile:"Profil",help:"Yardım",helpCenter:"https://support.airwallex.com/hc/en-us",logout:"ÃıkıŠyap",close:"Kapat"},pl:{profile:"Profil",help:"Pomoc",helpCenter:"https://support.airwallex.com/hc/en-us",logout:"Wyloguj siÄ",close:"Zamknij"}},w1=n(57427);function x1(e,t){void 0===t&&(t={});var n=function(e){return e&&"j"===e[0]&&":"===e[1]?e.substr(2):e}(e);if(function(e,t){return void 0===t&&(t=!e||"{"!==e[0]&&"["!==e[0]&&'"'!==e[0]),!t}(n,t.doNotParse))try{return JSON.parse(n)}catch(e){}return e}var k1=function(){return k1=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},k1.apply(this,arguments)},C1=function(){function e(e,t){var n=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies=function(e,t){return"string"==typeof e?w1.q(e,t):"object"==typeof e&&null!==e?e:{}}(e,t),new Promise((function(){n.HAS_DOCUMENT_COOKIE="object"==typeof document&&"string"==typeof document.cookie})).catch((function(){}))}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=w1.q(document.cookie,e))},e.prototype._emitChange=function(e){for(var t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)},e.prototype.get=function(e,t,n){return void 0===t&&(t={}),this._updateBrowserValues(n),x1(this.cookies[e],t)},e.prototype.getAll=function(e,t){void 0===e&&(e={}),this._updateBrowserValues(t);var n={};for(var r in this.cookies)n[r]=x1(this.cookies[r],e);return n},e.prototype.set=function(e,t,n){var r;"object"==typeof t&&(t=JSON.stringify(t)),this.cookies=k1(k1({},this.cookies),((r={})[e]=t,r)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=w1.l(e,t,n)),this._emitChange({name:e,value:t,options:n})},e.prototype.remove=function(e,t){var n=t=k1(k1({},t),{expires:new Date(1970,1,1,0,0,1),maxAge:0}
776);this.cookies=k1({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=w1.l(e,"",n)),this._emitChange({name:e,value:void 0,options:t})},e.prototype.addChangeListener=function(e){this.changeListeners.push(e)},e.prototype.removeChangeListener=function(e){var t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1)},e}(),E1=new C1,S1=e=>window.localStorage.removeItem(e);function O1(){return O1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O1.apply(this,arguments)}var A1=XQ((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",O1({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M19.75 9C19.75 6.92893 18.0711 5.25 16 5.25C13.9289 5.25 12.25 6.92893 12.25 9C12.25 11.0711 13.9289 12.75 16 12.75C18.0711 12.75 19.75 11.0711 19.75 9ZM22.25 9C22.25 12.4518 19.4518 15.25 16 15.25C12.5482 15.25 9.75 12.4518 9.75 9C9.75 5.54822 12.5482 2.75 16 2.75C19.4518 2.75 22.25 5.54822 22.25 9Z",fill:n}),(0,fi.jsx)("path",{d:"M23.75 28V22.75C23.75 21.3693 22.6307 20.25 21.25 20.25H10.75C9.36929 20.25 8.25 21.3693 8.25 22.75V28C8.25 28.6904 7.69036 29.25 7 29.25C6.30964 29.25 5.75 28.6904 5.75 28V22.75C5.75 19.9886 7.98858 17.75 10.75 17.75H21.25C24.0114 17.75 26.25 19.9886 26.25 22.75V28C26.25 28.6904 25.6904 29.25 25 29.25C24.3096 29.25 23.75 28.6904 23.75 28Z",fill:n})]}))}));function _1(){return _1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_1.apply(this,arguments)}var P1=XQ((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",_1({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M14.749 23V22.9463C14.7491 22.256 15.3087 21.6963 15.999 21.6963C16.6892 21.6965 17.2489 22.2561 17.249 22.9463V23C17.249 23.6902 16.6892 24.2498 15.999 24.25C15.3087 24.25 14.749 23.6904 14.749 23ZM14.749 18.2764C14.749 17.7047 14.7487 17.1871 14.749 16.8125C14.7492 16.6254 14.7499 16.4739 14.75 16.3691V16.2061L14.7568 16.0781C14.8216 15.4485 15.3534 14.957 16 14.957C16.9268 14.957 17.75 14.1677 17.75 13.1035C17.7499 12.0394 16.9267 11.25 16 11.25C15.0733 11.25 14.2501 12.0394 14.25 13.1035C14.25 13.7939 13.6904 14.3535 13 14.3535C12.3096 14.3535 11.75 13.7939 11.75 13.1035C11.7501 10.7395 13.6132 8.75 16 8.75C18.3869 8.75 20.2499 10.7395 20.25 13.1035C20.25 15.0351 19.006 16.7159 17.249 17.2666C17.2488 17.5652 17.249 17.9096 17.249 18.2764C17.249 18.9666 16.6892 19.5262 15.999 19.5264C15.3087 19.5264 14.749 18.9667 14.749 18.2764Z",fill:n}),(0,fi.jsx)("path",{d:"M27.75 16C27.75 9.51065 22.4893 4.25 16 4.25C9.51065 4.25 4.25 9.51065 4.25 16C4.25 22.4893 9.51065 27.75 16 27.75C22.4893 27.75 27.75 22.4893 27.75 16ZM30.25 16C30.25 23.8701 23.8701 30.25 16 30.25C8.12994 30.25 1.75 23.8701 1.75 16C1.75 8.12994 8.12994 1.75 16 1.75C23.8701 1.75 30.25 8.12994 30.25 16Z",fill:n})]}))}));function j1(){return j1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j1.apply(this,arguments)}var T1=XQ((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",j1({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M29.3125 4.25L29.3125 27.75C29.3125 29.1307 28.1932 30.25 26.8125 30.25L15.0625 30.25C14.3721 30.25 13.8125 29.6904 13.8125 29C13.8125 28.3096 14.3721 27.75 15.0625 27.75L26.8125 27.75L26.8125 4.25L15.0625 4.25C14.3721 4.25 13.8125 3.69035 13.8125 3C13.8125 2.30964 14.3721 1.75 15.0625 1.75L26.8125 1.75C28.1932 1.75 29.3125 2.86929 29.3125 4.25Z",fill:n}),(0,fi.jsx)("path",{d:"M21.1875 14.75C21.8778 14.75 22.4375 15.3097 22.4375 16C22.4375 16.6904 21.8779 17.25 21.1875 17.25L7.25098 17.25L10.6455 20.2354C11.1638 20.6914 11.2138 21.4817 10.7578 22C10.3017 22.5178 9.51228 22.5682 8.99414 22.1123L3.11133 16.9385C2.84177 16.7012 2.6875 16.3591 2.6875 16C2.68751 15.6409 2.84176 15.2988 3.11133 15.0615L8.99414 9.8877C9.51228 9.43185 10.3017 9.48217 10.7578 10C11.2138 10.5183 11.1638 11.3086 10.6455 11.7646L7.25098 14.75L21.1875 14.75Z",fill:n})]}))})),I1=e=>{var{onProfileClick:t,onLogout:n,helpDeskUrl:r,itemAs:o}=e,{t:i}=y1(b1),a=r||i("helpCenter"),l=e=>{"profile"===e?(e=>{e?e():window.location.assign("/app1/account/profile")})(t):"logout"===e?(e=>{e?e():(E1.remove("navLinks",{path:"/"}),E1.remove("externalApp",{path:"/"}),S1("airwallex_webapp_auth_token"),S1("airwallex_webapp_auth_token_expiry_client_time"),window.sessionStorage.clear(),window.location.assign("/app1/login"))})(n):"help"===e&&document.dispatchEvent(new CustomEvent("awx:customer-support-modal:open",{detail:{helpLink:a}}))},c=(0,ji.useTheme)(),{semanticColors:u}=SJ(c),d=[{value:"profile",icon:(0,fi.jsx)(A1,{color:u.icon.secondary})},{value:"help",icon:(0,fi.jsx)(P1,{color:u.icon.secondary})},{value:"logout",icon:(0,fi.jsx)(T1,{color:u.icon.secondary})}];return(0,fi.jsx)(s.Fragment,{children:d.map((e=>{var{value:t,icon:n}=e,r={"data-test":"page_control_"+t};return(0,fi.jsx)(d1,{as:o,icon:n,linkProps:r,onClick:()=>{l(t)},children:i(t)},t)}
776))})};function L1(){return L1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L1.apply(this,arguments)}var N1=XQ((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",L1({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M27.75 16C27.75 9.51065 22.4893 4.25 16 4.25C9.51065 4.25 4.25 9.51065 4.25 16C4.25 22.4893 9.51065 27.75 16 27.75C22.4893 27.75 27.75 22.4893 27.75 16ZM30.25 16C30.25 23.8701 23.8701 30.25 16 30.25C8.12994 30.25 1.75 23.8701 1.75 16C1.75 8.12994 8.12994 1.75 16 1.75C23.8701 1.75 30.25 8.12994 30.25 16Z",fill:n}),(0,fi.jsx)("path",{d:"M19.8733 13.1534C19.8733 11.0824 18.1944 9.40344 16.1233 9.40344C14.0522 9.40344 12.3733 11.0824 12.3733 13.1534C12.3733 15.2245 14.0522 16.9034 16.1233 16.9034C18.1944 16.9034 19.8733 15.2245 19.8733 13.1534ZM22.3733 13.1534C22.3733 16.6052 19.5751 19.4034 16.1233 19.4034C12.6715 19.4034 9.87329 16.6052 9.87329 13.1534C9.87329 9.70166 12.6715 6.90344 16.1233 6.90344C19.5751 6.90344 22.3733 9.70166 22.3733 13.1534Z",fill:n}),(0,fi.jsx)("path",{d:"M21.4453 20.75C22.2211 20.75 22.9424 21.1498 23.3535 21.8076L25.5596 25.3379L23.4404 26.6621L21.3066 23.25H10.6934L8.55957 26.6621L6.44043 25.3379L8.64648 21.8076L8.72656 21.6875C9.14739 21.1013 9.82725 20.75 10.5547 20.75H21.4453Z",fill:n})]}))})),R1=(0,ji.styled)(N1)({label:"page-control-profile-icon",display:"block"}),D1=()=>(0,fi.jsx)(R1,{size:24,color:"currentColor"}),F1=(0,ji.styled)(v1)((e=>{var{theme:t}=e;return{padding:7,'& [class*="page-control-profile-icon"]':{color:t.colors.grays[70]},'&:hover [class*="page-control-profile-icon"]':{color:"inherit"}}})),M1=e=>{var t,{onLogout:n,onProfileClick:r,username:o,role:i,helpDeskUrl:a}=e,{t:s}=y1(b1);return(0,fi.jsxs)(F1,{icon:D1,menuRight:!0,smallMenu:!0,iconPosition:"left",hideChevron:!0,autoHideMenu:!0,"data-test":"page_controls","aria-label":s("profile"),children:[(o||i)&&(0,fi.jsxs)(A0,{children:[o&&(o.length>40?(0,fi.jsx)(x0,{position:"bottom",content:(0,fi.jsx)(_0,{children:o}),children:(0,fi.jsx)("span",{children:o})}):(0,fi.jsx)(_0,{children:o})),(t=i||"",t?t.length>40?(0,fi.jsx)(x0,{position:"top",content:(0,fi.jsx)(P0,{children:t}),children:(0,fi.jsx)(j0,{"data-test":"display_roles_tooltips",children:t})}):(0,fi.jsx)(j0,{"data-test":"display_roles_string",children:t}):null)]}),(0,fi.jsx)(I1,{onProfileClick:r,onLogout:n,helpDeskUrl:a})]})};function B1(){return B1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},B1.apply(this,arguments)}var V1=XQ((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",B1({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M24.1162 6.11612C24.6044 5.62796 25.3956 5.62796 25.8838 6.11612C26.3719 6.60427 26.3719 7.39554 25.8838 7.88369L17.7676 15.9999L25.8838 24.1161C26.3719 24.6043 26.3719 25.3955 25.8838 25.8837C25.3956 26.3718 24.6044 26.3718 24.1162 25.8837L16 17.7675L7.88379 25.8837C7.39563 26.3718 6.60436 26.3718 6.11621 25.8837C5.62805 25.3955 5.62805 24.6043 6.11621 24.1161L14.2324 15.9999L6.11621 7.88369C5.62805 7.39554 5.62805 6.60427 6.11621 6.11612C6.60436 5.62796 7.39563 5.62796 7.88379 6.11612L16 14.2323L24.1162 6.11612Z",fill:n})]}))})),z1=n(75392),U1=n.n(z1);function H1(){return H1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H1.apply(this,arguments)}function q1(e,t,n){return"right"!==t?e?"translate3d(0, 0, 0)":n:e?"translate3d(calc(100% - var(--front-drawer-width, 100%)), 0, calc(-4px * var(--drawer-depth, 0)))":"translate3d(calc((1 - var(--drawer-stacked-slide, 0)) * 100% + var(--drawer-stacked-slide, 0) * (100% - var(--front-drawer-width, 100%) + 32px)), 0, calc(-4px * var(--drawer-depth, 0) * var(--drawer-stacked-slide, 0)))"}ji.styled.div((e=>{var{theme:t}=e;return{background:t.colors.white,padding:t.space.s,width:"100%",height:"100%"}}));var W1=e=>"transform var(--drawer-stacked-motion-duration, "+e+") var(--drawer-stacked-motion-easing, ease), opacity var(--drawer-stacked-motion-opacity-duration, var(--drawer-stacked-motion-duration, "+e+")) var(--drawer-stacked-motion-easing, ease)",$1=ji.styled.div((e=>{var{isOpen:t,placement:n,theme:r,width:o,hasCurtain:i=!0}=e,a=(e=>{switch(e){case"small":case 480:default:return"0.3s";case"medium":case 768:return"0.4s";case"large":case 1024:return"0.5s"}})(o);return H1({position:"fixed",zIndex:r.zIndex.drawer,top:0,right:0,bottom:0,left:0,outline:0,overflowY:"auto",WebkitOverflowScrolling:"touch",transition:W1(a)},!i&&t&&{boxShadow:"-4px 0 16px rgba(0, 0, 0, 0.08)"}
776,{opacity:"calc((1 - var(--drawer-stacked-slide, 0)) + var(--drawer-stacked-slide, 0) * var(--drawer-is-open, 0) * var(--drawer-stacked-entrance, 1))",pointerEvents:"auto"},"left"===n&&{transform:q1(t,n,"translate3d(-100%, 0, 0)"),right:"auto"},"right"===n&&{transform:q1(t,n,"translate3d(100%, 0, 0)"),left:"auto"},"top"===n&&{transform:q1(t,n,"translate3d(0, -100%, 0)"),bottom:"auto"},"bottom"===n&&{transform:q1(t,n,"translate3d(0, 100%, 0)"),top:"auto"})})),G1=ji.styled.div((e=>{var{theme:t}=e;return{position:"relative",height:"100%",background:t.colors.white}})),K1=ji.styled.div((e=>{var{isOpen:t,theme:n}=e;return{position:"fixed",zIndex:n.zIndex.drawer,bottom:0,right:0,top:0,left:0,background:"rgba(0, 0, 0, 0.3)",opacity:t?1:0,transition:"visibility 0.5s ease-in-out, opacity 0.5s ease-in-out",visibility:t?"visible":"hidden",pointerEvents:"auto"}})),Z1=ji.styled.div((e=>{var{theme:t}=e,{zIndex:n}=t;return{perspectiveOrigin:"left",perspective:100,height:"100%",position:"fixed",top:0,right:0,left:0,pointerEvents:"none",zIndex:n.drawer,"[data-awx-copilot-open] &":{transition:"right var(--awx-copilot-transition-duration, 400ms) var(--awx-copilot-transition-timing-function, cubic-bezier(0.4,0,0.2,1))",willChange:"right"},'[data-awx-copilot-open="true"] &':{right:"var(--awx-copilot-panel-width, 360px)"},'[data-awx-copilot-open="false"] &':{right:0}}}));function Y1(){return Y1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Y1.apply(this,arguments)}var X1=e=>{var{isOpen:t,onClose:n,placement:r="left",hasCurtain:o=!0,closeOnOverlayClick:i=!0,children:a,rootStyle:l,overlayStyle:c,width:u,containerStyle:d}=e,{Portal:p}=U1()();((e,t)=>{var n=(0,s.useRef)(t);n.current=t;var r=(0,s.useCallback)((t=>{t.key===e&&n.current(t)}),[e]);(0,s.useEffect)((()=>(window.addEventListener("keydown",r,!1),()=>{window.removeEventListener("keydown",r,!1)})),[r])})("Escape",(()=>{n()}));var f=Y1({},null!=l?l:{},{"--drawer-is-open":t?1:0});return(0,fi.jsx)(p,{children:(0,fi.jsxs)(Z1,{style:d,children:[o&&(0,fi.jsx)(K1,{style:c,"data-testid":"drawer_overlay",isOpen:t,onClick:()=>{i&&n()},"aria-hidden":"true"}),(0,fi.jsx)($1,{"data-testid":"drawer_root",style:f,isOpen:t,placement:r,hasCurtain:o,"aria-hidden":!t,width:u,children:(0,fi.jsx)(G1,{"data-testid":"drawer_container",children:a})})]})})},Q1=(0,ji.styled)(l0)((e=>{var{theme:t}=e;return{padding:8,'& [class*="page-control-profile-icon"]':{color:t.colors.grays[70]},'&:hover [class*="page-control-profile-icon"]':{color:"inherit"}}})),J1=ji.styled.div((e=>{var{theme:t}=e;return{background:t.colors.white,borderRadius:"0 0 6px 6px"}})),e2=ji.styled.div((e=>{var{theme:t}=e;return{height:64,borderBottom:"1px solid "+t.colors.grays[30],padding:"8px 8px 8px 24px",display:"flex",alignItems:"center",">*:last-child":{marginLeft:"auto"}}})),t2=ji.styled.div({padding:"16px 24px"}),n2=ji.styled.h2((e=>{var{theme:t}=e;return{fontSize:18,fontFamily:t.fontFamily.default,fontWeight:"bold",margin:0,lineHeight:1.5}})),r2=(0,ji.styled)(j0)((e=>{var{alternate:t,bold:n,theme:r}=e;return{fontWeight:n?500:400,color:t?r.colors.grays[50]:r.colors.grays[70],lineHeight:1.8,padding:0}})),o2=ji.styled.hr((e=>{var{theme:t}=e;return{border:0,borderBottom:"1px solid "+t.colors.grays[20],borderStyle:"solid"}})),i2=ji.styled.ul({listStyle:"none",padding:0,margin:"0 -4px"});function a2(){return a2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a2.apply(this,arguments)}var s2=e=>{var{username:t,email:n,role:r,onProfileClick:o,onLogout:i,helpDeskUrl:a}=e,{t:l}=y1(b1),{isOpen:c,onClose:u,onToggle:d}=(()=>{var[e,t]=(0,s.useState)(!1),n=(0,s.useCallback)((()=>t(!1)),[]);return{isOpen:e,onOpen:(0,s.useCallback)((()=>t(!0)),[]),onClose:n,onToggle:(0,s.useCallback)((()=>t((e=>!e))),[])}})(),p=(0,s.useCallback)((()=>{u(),o&&o()}),[u,o]);return(0,fi.jsxs)("div",{children:[(0,fi.jsx)(Q1,{icon:D1,onClick:d,"aria-label":l("profile")}),(0,fi.jsx)(X1,{isOpen:c,onClose:u,placement:"top",children:(0,fi.jsxs)(J1,{children:[(0,fi.jsxs)(e2,{children:[t&&(0,fi.jsx)(n2,{children:t}),(0,fi.jsx)(l0,{icon:e=>(0,fi.jsx)(V1,a2({size:24},e)),onClick:u,"aria-label":l("close")})]}),(0,fi.jsxs)(t2,{children:[(0,fi.jsx)(r2,{bold:!0,children:n}),r&&(0,fi.jsx)(r2,{alternate:!0,children:r}),(0,fi.jsx)(o2,{}),(0,fi.jsx)(i2,{children:(0,fi.jsx)(I1,{itemAs:"li",onProfileClick:p,onLogout:i,helpDeskUrl:a})})]})]})})]})};function l2(){return l2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l2.apply(this,arguments)}var c2=e=>(0,fi.jsxs)(fi.Fragment,{children:[(0,fi.jsx)(B0,{showAbove:"S",children:(0,fi.jsx)(M1,l2({},e))}),(0,fi.jsx)(B0,{showBelow:"S",children:(0,fi.jsx)(s2,l2({},e))})]}),u2=e=>{var{email:t,onLogout:n,onProfileClick:r,loading:o,error:i,username:a,role:s,helpDeskUrl:l,emailMaxWidth:c}=e;return i||o?null:(0,fi.jsx)(C0,{children:(0,fi.jsxs)(E0,{children:[(0,fi.jsx)(S0,{"data-test":"profile_email",children:t&&t.length>40?(0,fi.jsx)(x0,{content:t,position:"bottom",distance:8,children:(0,fi.jsx)(O0,{maxWidth:c,children:t})}):(0,fi.jsx)(O0,{maxWidth:c,children:t})}),(0,fi.jsx)(S0,{children:(0,fi.jsx)(c2,{email:t,onLogout:n,onProfileClick:r,username:a,role:s,helpDeskUrl:l})})]})})};function d2(){return d2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d2.apply(this,arguments)}var p2=(0,ji.styled)("div")((e=>{var{theme:t,hideBorderOnMobile:n,showBottomBorder:r=!0}=e;return{position:"relative",margin:"0 auto 0",borderBottom:"1px solid "+(r?t.colors.grays[20]:"transparent"),display:"flex",marginBottom:r?t.space.l:0,[t.breakpoints.breakpoint.s]:d2
776({marginBottom:r?t.space.m:0},n&&{borderBottom:"none"},{zIndex:"unset"})}})),f2=(0,ji.styled)("h2")((e=>{var{theme:t}=e;return{fontSize:24,margin:"auto 0 auto "+t.space.xs+"px"}})),h2=(0,ji.styled)("div")((e=>{var{theme:t}=e;return{height:t.space.s}})),m2=(0,ji.styled)("div")((e=>{var{theme:t}=e;return{position:"absolute",left:"calc(100% - "+t.space.s+")",transform:"translateX(-100%)",top:8,display:"flex",flexDirection:"column",justifyContent:"center",zIndex:t.zIndex.header,[t.breakpoints.breakpoint.s]:{position:"fixed",left:"calc(100% - 12px)"},"[data-awx-copilot-open] &":{transition:"padding-inline-end var(--awx-copilot-transition-duration, 400ms) var(--awx-copilot-transition-timing-function, cubic-bezier(0.4,0,0.2,1))",willChange:"padding-inline-end"},'[data-awx-copilot-open="true"] &':{paddingInlineEnd:0},'[data-awx-copilot-open="false"] &':{paddingInlineEnd:"calc(var(--awx-copilot-trigger-space, 68px) - 16px)"}}})),g2=(0,ji.styled)("div")({marginLeft:-12,overflow:"auto"}),v2=(0,ji.styled)("div")((e=>{var{width:t,fluid:n,theme:r,hideOnMobile:o,mobileRightPadding:i}=e;return d2({width:"calc(100% - ("+r.space.xxl+" * 2))",paddingRight:r.space.xxl,[r.breakpoints.breakpoint.l]:{width:"calc(100% - ("+r.space.xl+" * 2))"},[r.breakpoints.breakpoint.m]:{width:"calc(100% - ("+r.space.m+" * 2))"},[r.breakpoints.breakpoint.s]:d2({width:"calc(100% - "+r.space.m+")",paddingRight:null!=i?i:r.space.xl},o&&{display:"none"}),[r.breakpoints.breakpoint.xs]:{width:"calc(100% - ("+r.space.s+" * 2))"},display:"flex",height:55,maxWidth:1112,alignItems:"center",margin:"0 auto"},t&&{maxWidth:t},n&&{maxWidth:"100%"})})),y2=()=>{var e=(0,s.useRef)(null),[t,n]=(0,s.useState)(0);return(0,s.useEffect)((()=>{var t=e.current;if(t){n(t.offsetWidth);var r=new ResizeObserver((e=>{for(var t of e)n(t.contentRect.width)}));return r.observe(t),()=>{r.disconnect()}}}),[]),{ref:e,width:Math.round(t)}};function b2(){return b2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b2.apply(this,arguments)}var w2,x2={L:"large",M:"medium",S:"small"},k2={large:40,medium:32,small:24},C2={large:14,medium:12,small:10};!function(e){e[e.CHINESE=0]="CHINESE",e[e.JAPANESE=1]="JAPANESE",e[e.KOREAN=2]="KOREAN"}(w2||(w2={}));var E2={[w2.CHINESE]:RegExp("[\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u3005\\u3007\\u3021-\\u3029\\u3038-\\u303B\\u3400-\\u4DBF\\u4E00-\\u9FFF\\uF900-\\uFA6D\\uFA70-\\uFAD9\\u{16FE2}-\\u{16FE3}\\u{16FF0}-\\u{16FF6}\\u{20000}-\\u{2A6DF}\\u{2A700}-\\u{2B81D}\\u{2B820}-\\u{2CEAD}\\u{2CEB0}-\\u{2EBE0}\\u{2EBF0}-\\u{2EE5D}\\u{2F800}-\\u{2FA1D}\\u{30000}-\\u{3134A}\\u{31350}-\\u{33479}]","u"),[w2.JAPANESE]:/[\u3040-\u309F\u30A0-\u30FF]/,[w2.KOREAN]:/[\uAC00-\uD7AF]/},S2=ji.styled.div((e=>{var{theme:t,avatarSize:n,isInteractive:r,isActive:o,isLogographicText:i}=e;return b2({display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"100px",width:k2[n],height:k2[n],boxSizing:"border-box",cursor:r?"pointer":"default",transition:"background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease",backgroundColor:o?t.semanticColors.background.selected:t.semanticColors.background.secondary,border:"1px solid "+(o?t.semanticColors.background.selected:t.semanticColors.border.decorative),fontFamily:i?'"Source Han Sans", "ææºé»ä½", sans-serif':"inherit",fontSize:i?16:C2[n],lineHeight:i?"16px":C2[n]+"px",fontWeight:500,textAlign:"center",color:o?t.semanticColors.text.link:t.semanticColors.text.primary},r&&{"&:hover":{borderColor:t.semanticColors.background.selected,color:t.semanticColors.text.link},"&:focus-visible":{outline:"2px solid "+t.semanticColors.border.focus,outlineOffset:"2px"}})})),O2=c().forwardRef(((e,t)=>{var n=[e,t],[r,...o]=n,{name:i,size:a="medium",interactive:l=!1,active:c=!1,className:u}=r,d=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(r,["name","size","interactive","active","className"]),[p]=o,{initials:f,isLogographic:h}=(0,s.useMemo)((()=>(e=>{var t,n,r,o,i=e.trim();if(!i)return{initials:"",isLogographic:!1};if(o=i,Object.values(E2).some((e=>e.test(o))))return{initials:null!=(r=[...i][0])?r:"",isLogographic:!0};
776var a=i.split(/\s+/).filter(Boolean);if(0===a.length)return{initials:"",isLogographic:!1};var s=null!=(t=a[0])?t:"";if(1===a.length)return{initials:s.substring(0,2).toUpperCase(),isLogographic:!1};var l=null!=(n=a[a.length-1])?n:"";return{initials:(""+s.charAt(0)+l.charAt(0)).toUpperCase(),isLogographic:!1}})(i)),[i]),m=(e=>{if(e in x2){var t=e;return YM()(!0,'[@airwallex/avatar Avatar] `size="'+t+'"` is deprecated. Use `size="'+x2[t]+'"` instead.'),x2[t]}return e})(a),g=l&&"large"===m,v=g&&c;return(0,fi.jsx)(S2,b2({ref:p,avatarSize:m,isInteractive:g,isActive:v,isLogographicText:h,tabIndex:g?0:void 0,"aria-label":i,className:u},d,{children:f}))}));O2.displayName="Avatar";var A2=O2;function _2(){return _2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_2.apply(this,arguments)}var P2=(0,Pi.i7)({"0%":{backgroundPosition:"100% 0%"},"67%":{backgroundPosition:"-100% 0%"},"100%":{backgroundPosition:"-100% 0%"}});function j2(){return j2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j2.apply(this,arguments)}ji.styled.span((e=>{var{lines:t}=e;return{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-word",display:"-webkit-box",WebkitLineClamp:t,WebkitBoxOrient:"vertical",whiteSpace:1===t?"nowrap":"normal"}}));var T2=(0,ji.styled)("p")((e=>{var{theme:t,variant:n,isGradientColor:r,animate:o}=e,i=n in t.typography?n:"bodyEmphasis"===n&&"bodyBold"in t.typography?"bodyBold":n;return j2({},t.typography[i],{margin:0},r&&((e,t)=>{var n=e.colors.purples[70],r="#D200A3";return _2({display:"inline",color:n,background:"linear-gradient(135deg, "+n+" 13.72%, "+r+" 100%)",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},t&&{background:"linear-gradient(90deg, "+r+" 0%, "+n+" 50%, "+r+" 100%)",backgroundSize:"200% 100%",animation:P2+" 3s linear infinite"})})(t,o))}));function I2(e){var{variant:t="body",as:n="p",color:r,children:o,style:i,animate:a}=e,s=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["variant","as","color","children","style","animate"]),{semanticColors:l,typography:c}=(0,ji.useTheme)();YM()(!(t in c)&&"bodyEmphasis"!==t,'[@airwallex/typography Text] Please upgrade the @airwallex/theme package to >=8.12.0 to support variant "'+t+'".'),YM()(!(t in c)&&"bodyEmphasis"===t,'[@airwallex/typography Text] Please upgrade the @airwallex/theme package to >=8.14.0 to support variant "'+t+'".'+("bodyBold"in c?' Falling back to "bodyBold".':""));var u="AIGradient"===r;return(0,fi.jsx)(T2,j2({as:n,variant:t,isGradientColor:u},void 0!==a&&{animate:a},{style:j2({},i,!u&&r&&{color:null==l?void 0:l.text[r]})},s,{children:o}))}function L2(){return L2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L2.apply(this,arguments)}var N2=XQ((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",L2({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("g",{clipPath:"url(#clip0_16_178)",children:(0,fi.jsx)("path",{d:"M4.25 8.25V27.5469L6.66504 24.6494C7.14002 24.0795 7.84405 23.75 8.58594 23.75H27.75V8.25H4.25ZM30.25 23.75C30.25 25.1307 29.1307 26.25 27.75 26.25H8.58594L4.84473 30.7393C3.79692 31.9966 1.75014 31.2558 1.75 29.6191V8.25C1.75 6.86929 2.86929 5.75 4.25 5.75H27.75C29.1307 5.75 30.25 6.86929 30.25 8.25V23.75Z",fill:n})}),(0,fi.jsx)("defs",{children:(0,fi.jsx)("clipPath",{id:"clip0_16_178",children:(0,fi.jsx)("rect",{width:"32",height:"32",fill:"white"})})})]}))}));function R2(){return R2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},R2.apply(this,arguments)}var D2=XQ((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",R2({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M16.1982 11.0459C16.6371 11.0459 16.9932 11.3465 16.9932 11.7168V23.7842C16.9932 24.1545 16.6371 24.4551 16.1982 24.4551H15.8008C15.3621 24.4549 15.0068 24.1544 15.0068 23.7842V11.7168C15.0068 11.3466 15.3621 11.0461 15.8008 11.0459H16.1982Z",fill:n}),(0,fi.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 2.14453C17.2444 2.14465 18.527 2.55836 19.5127 3.43457C20.5194 4.32962 21.1474 5.6476 21.1475 7.29199V8.3418C22.1565 9.23728 22.9723 10.3892 23.5156 11.709C24.2088 10.6868 24.8275 9.4843 25.1826 8.30078C25.3649 7.69409 26.0045 7.34935 26.6113 7.53125C27.2183 7.71338 27.563 8.35393 27.3809 8.96094C26.7
77677 10.9735 25.5871 12.9482 24.3984 14.335C24.3414 14.4015 24.2775 14.4587 24.21 14.5088C24.2426 14.8395 24.2617 15.1753 24.2617 15.5156V17.582H28.8516C29.4852 17.582 29.9988 18.0959 29.999 18.7295C29.999 19.3632 29.4853 19.877 28.8516 19.877H24.2617V20.1055C24.2617 21.0379 24.1347 21.938 23.9014 22.7861C24.088 22.8503 24.2607 22.9624 24.3984 23.123C25.5872 24.5099 26.777 26.4853 27.3809 28.498C27.5625 29.1048 27.2181 29.7447 26.6113 29.9268C26.0046 30.1086 25.3648 29.7639 25.1826 29.1572C24.7377 27.6741 23.88 26.1606 22.9785 25.0107C21.5118 27.5787 18.9323 29.286 16 29.2861C13.0678 29.2861 10.4874 27.5794 9.02051 25.0117C8.11942 26.1615 7.2622 27.6745 6.81738 29.1572C6.63513 29.764 5.9946 30.1088 5.3877 29.9268C4.78115 29.7446 4.43666 29.1047 4.61816 28.498C5.22195 26.4854 6.41193 24.5099 7.60059 23.123C7.73828 22.9625 7.91106 22.8493 8.09766 22.7852C7.86452 21.9373 7.7373 21.0376 7.7373 20.1055V19.877H3.14746C2.51377 19.8769 2 19.3632 2 18.7295C2.00025 18.096 2.51393 17.5821 3.14746 17.582H7.7373V15.5156C7.73731 15.175 7.75544 14.8388 7.78809 14.5078C7.72101 14.4579 7.6573 14.4011 7.60059 14.335C6.41191 12.9482 5.22202 10.9736 4.61816 8.96094C4.4361 8.35404 4.78092 7.71352 5.3877 7.53125C5.99467 7.34916 6.6352 7.69386 6.81738 8.30078C7.17236 9.48396 7.79074 10.686 8.4834 11.708C9.0269 10.3881 9.84336 9.23625 10.8525 8.34082V7.29199C10.8526 5.64747 11.4805 4.32963 12.4873 3.43457C13.4731 2.55844 14.7556 2.14451 16 2.14453ZM16 8.63086C12.7135 8.63086 10.0323 11.7151 10.0322 15.5156V20.1055C10.0322 23.9061 12.7135 26.9912 16 26.9912C19.2864 26.991 21.9668 23.9059 21.9668 20.1055V15.5156C21.9667 11.7152 19.2863 8.63103 16 8.63086ZM16 4.43945C15.2448 4.43944 14.5268 4.69272 14.0127 5.14941C13.5873 5.52755 13.252 6.0876 13.168 6.89062C14.0517 6.53144 15.0059 6.33594 16 6.33594C16.9934 6.33597 17.9468 6.53089 18.8301 6.88965C18.7459 6.08739 18.4125 5.5274 17.9873 5.14941C17.4733 4.69265 16.7552 4.43957 16 4.43945Z",fill:n})]}))}));function F2(){return F2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F2.apply(this,arguments)}var M2=XQ((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",F2({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M11.8439 26.3282V24.7491H13.7814V26.3282C13.7814 27.1304 14.4314 27.7803 15.2336 27.7803H16.7922C17.5942 27.7802 18.2443 27.1303 18.2443 26.3282V24.7491H20.1808V26.3282C20.1808 28.1998 18.6638 29.7177 16.7922 29.7178H15.2336C13.3618 29.7178 11.8439 28.2 11.8439 26.3282Z",fill:n}),(0,fi.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.0514 8.10356C20.4838 8.10356 24.0895 11.7098 24.0895 16.1426C24.0895 17.9591 23.4934 19.6769 22.3678 21.1045C22.1796 21.3431 21.978 21.5792 21.7711 21.8223C21.429 22.2242 21.1479 22.4013 20.9948 22.5254C20.9219 22.5845 20.8768 22.6312 20.8375 22.6915C20.7969 22.7538 20.7515 22.8493 20.7047 23.0167L20.7037 23.0206C20.7015 23.0342 20.6972 23.0624 20.693 23.1094C20.6845 23.2042 20.6761 23.3716 20.6793 23.6436C20.68 23.7014 20.6828 23.7607 20.6862 23.8292C20.7039 24.1875 20.7545 24.9214 20.2096 25.4942C19.8009 25.9237 19.2163 26.0967 18.5133 26.0967H13.5758C12.9103 26.0967 12.3535 25.9203 11.943 25.504C11.352 24.9046 11.3782 24.1118 11.3844 23.6758L11.3854 23.5948C11.3911 23.0461 11.3507 22.9228 11.36 22.9571C11.3111 22.778 11.2702 22.6899 11.2399 22.6417C11.215 22.6022 11.1889 22.5763 11.1344 22.5362C11.0159 22.449 10.8028 22.3284 10.5133 22.0235L10.3844 21.8809C10.1717 21.634 9.94446 21.3709 9.73303 21.1026C8.60802 19.6752 8.01233 17.9583 8.01233 16.1426C8.01237 11.7098 11.6185 8.10361 16.0514 8.10356ZM12.0045 24.9542C12.0234 24.9865 12.044 25.0184 12.066 25.0499L12.0045 24.9542C11.9856 24.9219 11.9688 24.8894 11.9528 24.8565L12.0045 24.9542ZM16.0514 10.42C12.8963 10.4201 10.3287 12.9875 10.3287 16.1426C10.3287 17.4346 10.7513 18.6525 11.5524 19.669C11.7305 19.8951 11.9258 20.1214 12.1393 20.3692C12.2963 20.5514 12.4355 20.6825 12.5641 20.7959C12.6841 20.9018 12.8291 21.0205 12.9489 21.1387C13.2253 21.4118 13.4267 21.7335 13.5944 22.3487L13.6354 22.5313C13.6751 22.7463 13.7065 23.0709 13.7008 23.6202V23.6221L13.6998 23.709C13.6995 23.7316 13.7001 23.7556 13.6998 23.7803H18.3678C18.3666 23.7443 18.3643 23.7077 18.3639 23.6709C18.3551 22.9426 18.4132 22.6103 18.4703 22.4043C18.6408 21.7888 18.8558 21.4587 19.1412 21.17C19.2675 21.0423 19.4188 20.9126 19.5504 20.792C19.6895 20.6646 19.8397 20.5184 20.0074 20.3213C20.2067 20.0871 20.3896 19.8725 20.5494 19.67L20.6949 19.4776C21.4019 18.5015 21.7729 17.3547 21.7731 16.1426C21.7731 12.9873 19.2059 10.42 16.0514 10.42Z",fill:n}),(0,fi.jsx)("path",{d:"M14.8 5.8501V3.8501C14.8 3.15974 15.3596 2.6001 16.05 2.6001C16.7403 2.6001 17.3 3.15974 17.3 3.8501V5.8501C17.3 6.54045 16.7403 7.1001 16.05 7.1001C15.3596 7.1001 14.8 6.54045 14.8 5.8501Z",fill:n}),(0,fi.jsx)("path",{d:"M22.2839 7.89824L23.6981 6.48403C24.1862 5.99587 24.9777 5.99587 25.4659 6.48403C25.954 6.97219 25.954 7.76364 25.4659 8.2518L24.0516 9.66601C23.5635 10.1542 22.772 10.1542 22.2839 9.66601C21.7957 9.17786 21.7957 8.3864 22.2839 7.89824Z",fill:n}),(0,fi.jsx)("path",{d:"M9.66583 7.89824L8.25162 6.48403C7.76347 5.99587 6.97201 5.99587 6.48385 6.48403C5.9957 6.97219 5.9957 7.76364 6.48385 8.2518L7.89807 9.66601C8.38622 10.1542 9.17768 10.1542 9.66583 9.66601C10.154 9.17786 10.154 8.3864 9.66583 7.89824Z",fill:n}),(0,fi.jsx)("path",{d:"M5.84998 15.7H3.84998C3.15962 15.7 2.59998 15.1404 2.59998 14.45C2.59998 13.7596 3.15962 13.2 3.84998 13.2H5.84998C6.54033 13.2 7.09998 13.7596 7.09998 14.45C7.09998 15.1404 6.54033 15.7 5.84998 15.7Z",fill:n}),(0,fi.jsx)("path",{d:"M28.05 15.7H26.05C25.3596 15.7 24.8 15.1404 24.8 14.45C24.8 13.7596 25.3596 13.2 26.05 13.2H28.05C28.7403 13.2 29.3 13.7596 29.3 14.45C29.3 15.1404 28.7403 15.7 28.05 15.7Z",fill:n})]}))}));function B2(){return B2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},B2.apply(this,arguments)}var V2=XQ((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",B2({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M23.75 25.749V17C23.75 16.3096 24.3096 15.75 25 15.75C25.6904 15.75 26.25 16.3096 26.25 17V25.749C26.2497 27.1276 25.1324 28.25 23.75 28.25H6.25C4.86929 28.25 3.75 27.1307 3.75 25.75V8.25C3.75 6.86929 4.86929 5.75 6.25 5.75H14C14.6904 5.75 15.25 6.30964 15.25 7C15.25 7.69036 14.6904 8.25 14 8.25H6.25V25.75H23.749L23.75 25.749Z",fill:n}),(0,fi.jsx)("path",{d:"M25.75 11V6.25H20C19.3096 6.25 18.75 5.69036 18.75 5C18.75 4.30964 19.3096 3.75 20 3.75H27C27.6904 3.75 28.25 4.30964 28.25 5V11C28.25 11.6904 27.6904 12.25 27 12.25C26.3096 12.25 25.75 11.6904 25.75 11Z",fill:n}),(0,fi.jsx)("path",{d:"M25.1162 5.11621C25.6044 4.62806 26.3956 4.62806 26.8838 5.11621C27.3719 5.60437 27.3719 6.39563 26.8838 6.88379L15.8838 17.8838C15.3956 18.3719 14.6044 18.3719 14.1162 17.8838C13.6281 17.3956 13.6281 16.6044 14.1162 16.1162L25.1162 5.11621Z",fill:n})]}))}));function z2(){return z2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},z2.apply(this,arguments)}var U2=XQ((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",z2({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M15.9999 2.41675C21.2691 2.41675 25.4328 6.78842 25.3798 12.0105C25.3653 13.4382 25.3664 14.8165 25.3954 15.9402C25.4258 17.1142 25.485 17.879 25.5517 18.1697C25.7851 19.1868 26.2071 20.5011 26.5702 21.5564C27.126 23.1723 25.9454 24.9167 24.1884 24.9167H7.81144C6.05445 24.9167 4.87386 23.1723 5.4296 21.5564C5.79275 20.5011 6.21477 19.1868 6.44816 18.1697C6.51483 17.879 6.57404 17.1142 6.60441 15.9402C6.63347 14.8165 6.63455 13.4382 6.62003 12.0105C6.567 6.78841 10.7307 2.41675 15.9999 2.41675ZM15.9999 4.91675C12.168 4.91675 9.08064 8.10653 9.12003 11.9851C9.13468 13.4252 9.1346 14.8374 9.10441 16.0046C9.07552 17.1215 9.01776 18.1493 8.88468 18.7292C8.62 19.8826 8.16164 21.3011 7.79386 22.3699C7.79191 22.3756 7.79093 22.3806 7.79093 22.3806C7.79093 22.3806 7.79061 22.3843 7.79093 22.3865C7.79174 22.3917 7.79516 22.4001 7.8007 22.408C7.80405 22.4127 7.80689 22.4155 7.80851 22.4167H24.1913C24.1929 22.4155 24.1958 22.4127 24.1991 22.408C24.2047 22.4001 24.2081 22.3917 24.2089 22.3865C24.2092 22.3843 24.2089 22.3806 24.2089 22.3806C24.2089 22.3806 24.2079 22.3756 24.206 22.3699C23.8382 21.3011 23.3798 19.8826 23.1152 18.7292C22.9821 18.1493 22.9243 17.1215 22.8954 16.0046C22.8652 14.8374 22.8652 13.4252 22.8798 11.9851C22.9192 8.10653 19.8319 4.91675 15.9999 4.91675Z",fill:n}),(0,fi.jsx)("path",{d:"M13.25 24C13.25 25.5188 14.4812 26.75 16 26.75C17.5188 26.75 18.75 25.5188 18.75 24H21.25C21.25 26.8995 18.8995 29.25 16 29.25C13.100
7765 29.25 10.75 26.8995 10.75 24H13.25Z",fill:n})]}))}));function H2(){return H2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H2.apply(this,arguments)}var q2=XQ((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",H2({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M26.1163 22.1163C26.6044 21.6282 27.3957 21.6282 27.8838 22.1163C28.372 22.6044 28.3719 23.3957 27.8838 23.8839L23.3985 28.3702C22.9263 28.8424 22.1655 28.8601 21.6719 28.4102L19.1583 26.1182C18.6481 25.6533 18.6113 24.8629 19.0762 24.3526C19.5412 23.8424 20.3316 23.8056 20.8419 24.2706L22.4737 25.7579L26.1163 22.1163Z",fill:n}),(0,fi.jsx)("path",{d:"M19.75 9C19.75 6.92893 18.0711 5.25 16 5.25C13.9289 5.25 12.25 6.92893 12.25 9C12.25 11.0711 13.9289 12.75 16 12.75C18.0711 12.75 19.75 11.0711 19.75 9ZM22.25 9C22.25 12.4518 19.4518 15.25 16 15.25C12.5482 15.25 9.75 12.4518 9.75 9C9.75 5.54822 12.5482 2.75 16 2.75C19.4518 2.75 22.25 5.54822 22.25 9Z",fill:n}),(0,fi.jsx)("path",{d:"M5.75 28V22.75C5.75 19.9886 7.98858 17.75 10.75 17.75H22C22.6904 17.75 23.25 18.3096 23.25 19C23.25 19.6904 22.6904 20.25 22 20.25H10.75C9.36929 20.25 8.25 21.3693 8.25 22.75V28C8.25 28.6904 7.69036 29.25 7 29.25C6.30964 29.25 5.75 28.6904 5.75 28Z",fill:n})]}))}));function W2(){return W2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},W2.apply(this,arguments)}var $2=XQ((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",W2({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M13.3683 6.60943C13.6787 8.57625 14.567 11.841 17.1192 14.3934C19.6717 16.9459 22.9373 17.8339 24.9042 18.1442V18.4798C22.9374 18.7901 19.6718 19.6791 17.1192 22.2318C14.567 24.7839 13.6788 28.0488 13.3683 30.0157H13.0316C12.7359 28.1433 11.9171 25.0947 9.63709 22.6045L9.28075 22.2318C6.72843 19.6796 3.46364 18.7913 1.49683 18.4809V18.1442C3.36923 17.8486 6.41866 17.0301 8.90915 14.7497L9.28075 14.3934C11.8331 11.841 12.7212 8.57632 13.0316 6.60943H13.3683Z",fill:n}),(0,fi.jsx)("path",{d:"M24.9478 1.03003C25.0957 1.96753 25.5194 3.52397 26.736 4.74055C27.9527 5.95711 29.5091 6.37982 30.4465 6.52771V6.6879C29.5092 6.83575 27.9528 7.25955 26.736 8.47614C25.519 9.69313 25.0956 11.2504 24.9478 12.1878H24.7865C24.6457 11.2954 24.2566 9.84121 23.1693 8.65376L22.9993 8.47614C21.783 7.26001 20.2274 6.83588 19.2899 6.6879V6.52662C20.1824 6.3856 21.635 5.99605 22.8217 4.90946L22.9993 4.74055C24.2159 3.52398 24.6396 1.96753 24.7876 1.03003H24.9478Z",fill:n})]}))})),G2={en:{"topNavigation.userSettings.profile":"Profile","topNavigation.userSettings.notifications":"Notifications","topNavigation.userSettings.assistants":"Assistants","topNavigation.userSettings.help":"Help","topNavigation.userSettings.helpCenter":"https://support.airwallex.com/hc/en-us","topNavigation.userSettings.logout":"Log out","topNavigation.userSettings.moreRoles":"+{{count}} more roles","topNavigation.userSettings.shareFeedback":"Share feedback","topNavigation.userSettings.reportBug":"Report a bug","topNavigation.userSettings.suggestFeature":"Suggest a feature"},"en-US":{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","topNavigation.userSettings.profile":"Profile","topNavigation.userSettings.notifications":"Notifications","topNavigation.userSettings.assistants":"Assistants","topNavigation.userSettings.help":"Help","topNavigation.userSettings.helpCenter":"https://support.airwallex.com/hc/en-us","topNavigation.userSettings.logout":"Log out","topNavigation.userSettings.moreRoles":"+{{count}} more roles","topNavigation.userSettings.shareFeedback":"Share feedback","topNavigation.userSettings.reportBug":"Report a bug","topNavigation.userSettings.suggestFeature":"Suggest a feature"},zh:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","topNavigation.userSettings.profile":"ä¸ªäººèµæ","topNavigation.userSettings.notifications":"éç¥","topNavigation.userSettings.assistants":"婿","topNavigation.userSettings.help":"帮å©","topNavigation.userSettings.helpCenter":"https://support.airwallex.com/hc/zh-cn","topNavigation.userSettings.logout":"éåºç»å½","topNavigation.userSettings.moreRoles":"+{{count}} 个è§è²","topNavigation.userSettings.shareFeedback":"å享åé¦","topNavigation.userSettings.reportBug":"æ¥åé®é¢","topNavigation.userSettings.suggestFeature":"建议æ°åè½"},fr:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","topNavigation.userSettings.profile":"Profil","to
776pNavigation.userSettings.notifications":"Notifications","topNavigation.userSettings.assistants":"Assistants","topNavigation.userSettings.help":"Aide","topNavigation.userSettings.helpCenter":"https://support.airwallex.com/hc/fr","topNavigation.userSettings.logout":"Déconnexion","topNavigation.userSettings.moreRoles":"+{{count}} rôles supplémentaires","topNavigation.userSettings.shareFeedback":"Partager vos commentaires","topNavigation.userSettings.reportBug":"Signaler un bug","topNavigation.userSettings.suggestFeature":"Suggérer une fonctionnalité"},"es-MX":{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","topNavigation.userSettings.profile":"Perfil","topNavigation.userSettings.notifications":"Notificaciones","topNavigation.userSettings.assistants":"Asistentes","topNavigation.userSettings.help":"Ayuda","topNavigation.userSettings.helpCenter":"https://support.airwallex.com/hc/es","topNavigation.userSettings.logout":"Cerrar sesión","topNavigation.userSettings.moreRoles":"+{{count}} roles más","topNavigation.userSettings.shareFeedback":"Compartir comentarios","topNavigation.userSettings.reportBug":"Reportar un error","topNavigation.userSettings.suggestFeature":"Sugerir una función"},de:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","topNavigation.userSettings.profile":"Profil","topNavigation.userSettings.notifications":"Benachrichtigungen","topNavigation.userSettings.assistants":"Assistenten","topNavigation.userSettings.help":"Hilfe","topNavigation.userSettings.helpCenter":"https://support.airwallex.com/hc/de","topNavigation.userSettings.logout":"Abmelden","topNavigation.userSettings.moreRoles":"+{{count}} weitere Rollen","topNavigation.userSettings.shareFeedback":"Feedback teilen","topNavigation.userSettings.reportBug":"Fehler melden","topNavigation.userSettings.suggestFeature":"Funktion vorschlagen"},ja:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","topNavigation.userSettings.profile":"ãããã£ã¼ã«","topNavigation.userSettings.notifications":"éç¥","topNavigation.userSettings.assistants":"ã¢ã·ã¹ã¿ã³ã","topNavigation.userSettings.help":"ãã«ã","topNavigation.userSettings.helpCenter":"https://support.airwallex.com/hc/ja","topNavigation.userSettings.logout":"ãã°ã¢ã¦ã","topNavigation.userSettings.moreRoles":"+{{count}} ä»¶ã®ãã¼ã«","topNavigation.userSettings.shareFeedback":"ãã£ã¼ãããã¯ãå
±æ","topNavigation.userSettings.reportBug":"ãã°ãå ±å","topNavigation.userSettings.suggestFeature":"æ©è½ãææ¡"},ko:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","topNavigation.userSettings.profile":"íë¡í","topNavigation.userSettings.notifications":"ì림","topNavigation.userSettings.assistants":"ì´ìì¤í´í¸","topNavigation.userSettings.help":"ëìë§","topNavigation.userSettings.helpCenter":"https://support.airwallex.com/hc/ko","topNavigation.userSettings.logout":"ë¡ê·¸ìì","topNavigation.userSettings.moreRoles":"+{{count}}ê° ìí ë 보기","topNavigation.userSettings.shareFeedback":"í¼ëë°± ê³µì ","topNavigation.userSettings.reportBug":"ë²ê·¸ ì ê³ ","topNavigation.userSettings.suggestFeature":"ê¸°ë¥ ì ì"},"pt-BR":{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","topNavigation.userSettings.profile":"Perfil","topNavigation.userSettings.notifications":"Notificações","topNavigation.userSettings.assistants":"Assistentes","topNavigation.userSettings.help":"Ajuda","topNavigation.userSettings.helpCenter":"https://support.airwallex.com/hc/pt-br","topNavigation.userSettings.logout":"Sair","topNavigation.userSettings.moreRoles":"+{{count}} funções adicionais","topNavigation.userSettings.shareFeedback":"Compartilhar feedback","topNavigation.userSettings.reportBug":"Reportar um erro","topNavigation.userSettings.suggestFeature":"Sugerir um recurso"},vi:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","topNavigation.userSettings.profile":"Há» sÆ¡","topNavigation.userSettings.notifications":"Thông báo","topNavigation.userSettings.assistants":"Trợ lý","topNavigation.userSettings.help":"Trợ giúp","topNavigation.userSettings.helpCenter":"https://support.airwallex.com/hc/vi","topNavigation.userSettings.logout":"ÄÄng xuất","topNavigation.userSettings.moreRoles":"+{{count}} vai trò khác","topNavigation.userSettings.shareFeedback":"Chia sẻ phản há»i","topNavigation.userSettings.reportBug":"Báo cáo lá»i","topNavigation.userSettings.suggestFeature":"Äá» xuất tÃnh nÄng"},tr:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","topNavigation.userSettings.profile":"Profil","to
776pNavigation.userSettings.notifications":"Bildirimler","topNavigation.userSettings.assistants":"Asistanlar","topNavigation.userSettings.help":"Yardım","topNavigation.userSettings.helpCenter":"https://support.airwallex.com/hc/tr","topNavigation.userSettings.logout":"ÃıkıŠyap","topNavigation.userSettings.moreRoles":"+{{count}} rol daha","topNavigation.userSettings.shareFeedback":"Geri bildirim paylaÅ","topNavigation.userSettings.reportBug":"Hata bildir","topNavigation.userSettings.suggestFeature":"Ãzellik öner"},pl:{"topNavigation.userSettings.profile":"Profil","topNavigation.userSettings.notifications":"Powiadomienia","topNavigation.userSettings.assistants":"Asystenci","topNavigation.userSettings.help":"Pomoc","topNavigation.userSettings.helpCenter":"https://support.airwallex.com/hc/en-us","topNavigation.userSettings.logout":"Wyloguj siÄ","topNavigation.userSettings.moreRoles":"+{{count}} wiÄcej ról","topNavigation.userSettings.shareFeedback":"Podziel siÄ opiniÄ
","topNavigation.userSettings.reportBug":"ZgÅoÅ bÅÄ
d","topNavigation.userSettings.suggestFeature":"Zaproponuj funkcjÄ"}},K2=[{type:"share_feedback",label:"topNavigation.userSettings.shareFeedback",icon:N2},{type:"report_bug",label:"topNavigation.userSettings.reportBug",icon:D2},{type:"suggest_feature",label:"topNavigation.userSettings.suggestFeature",icon:M2},{type:"get_help",label:"topNavigation.userSettings.help",icon:P1}],Z2=ji.styled.div((e=>{var{theme:t}=e,{semanticColors:n}=SJ(t);return{borderBottom:"1px solid "+n.border.decorative,display:"flex",flexDirection:"column",gap:4,paddingBottom:16,paddingTop:8,paddingLeft:8,paddingRight:8}})),Y2=(0,ji.styled)(I2)({paddingBottom:8}),X2=ji.styled.div((e=>{var{theme:t}=e,{semanticColors:n}=SJ(t);return{fontSize:14,lineHeight:"22px",color:n.text.secondary,display:"flex",gap:4}})),Q2=ji.styled.span({fontWeight:500,textDecoration:"underline",cursor:"pointer"}),J2=ji.styled.div((e=>{var{theme:t}=e,{semanticColors:n}=SJ(t);return{width:"100%",height:1,backgroundColor:n.border.decorative}})),e5=ji.styled.span({display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"}),t5=ji.styled.span({opacity:0,transition:"opacity 0.15s ease",display:"flex",alignItems:"center"}),n5=(0,ji.styled)(d1)({"&:hover:not(:disabled) .sparkle-icon":{opacity:1}}),r5=(0,ji.styled)(I2)({overflowWrap:"break-word"}),o5=(0,ji.styled)(v1)({padding:0,border:"none",background:"transparent","&:hover":{background:"transparent",border:"none"},"&:focus-visible":{outline:"none",boxShadow:"none",border:"none"}}),i5=e=>{var{roles:t,isDropdownOpen:n,moreRolesLabel:r}=e,[o,i]=(0,s.useState)(!1);if((0,s.useEffect)((()=>{n||i(!1)}),[n]),!t||0===t.length)return null;var a=t.length-2;if(a<2||o)return(0,fi.jsx)("span",{children:t.join(", ")});var l=t.slice(0,2).join(", ");return(0,fi.jsxs)(fi.Fragment,{children:[(0,fi.jsxs)("span",{children:[l,", "]}),(0,fi.jsx)(Q2,{onClick:e=>{e.stopPropagation(),i(!0)},children:r(a)})]})};function a5(){return a5=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a5.apply(this,arguments)}var s5=Object.assign((function(e){var{children:t,email:n,width:r,fluid:o,variant:i,onLogout:a,onProfileClick:s,backText:l,username:c,role:u,onBack:d,helpDeskUrl:p,mobileRightPadding:f,tabsProps:h,pageControlsWrapperProps:m,allowTabs:g=!0,userSettings:v,loading:y=!1,error:b=!1}=e,w=(0,ji.useTheme)(),x=!g||!t||Array.isArray(t)&&0===t.length,{ref:k,width:C}=y2(),{ref:E,width:S}=y2(),{ref:O,width:A}=y2(),_=(e=>{var t,n,{wrapperWidth:r=0,theme:o,tabWidth:i=0,containerWidth:a=0}=void 0===e?{}:e,s=(null!=i?i:0)+"px";return"calc("+(null!=r?r:0)+"px - "+Math.round(Math.max(0,(r-a)/2))+"px - "+s+" - 40px - "+(null!=(t=null==o||null==(n=o.space)?void 0:n.s)?t:"0px")+")"})({wrapperWidth:S,theme:w,tabWidth:C,containerWidth:A});return(0,fi.jsx)(ji.PartnerBrandingThemeMapper,{children:(0,fi.jsxs)(p2,{hideBorderOnMobile:x,showBottomBorder:g,ref:E,children:[(0,fi.jsx)(v2,{width:r,fluid:o,hideOnMobile:x&&"DETAILS"!==i,ref:O,mobileRightPadding:f,children:"DETAILS"===i?(0,fi.jsxs)(fi.Fragment,{children:[(0,fi.jsx)(s0,{onClick:d,style:{padding:0},children:(0,fi.jsx)(h2,{children:(0,fi.jsx)(u0,{color:w.colors.purples[70]})})}),(0,fi.jsx)(f2,{children:l})]}):g&&(0,fi.jsx)(g2,{ref:k,children:(0,fi.jsx)(hJ,a5({},h,{children:t}))})}),(0,fi.jsx)(m2,a5({},m,{children:null!=v?v:(0,fi.jsx)(u2,{onProfileClick:s,email:n,onLogout:a,loading:y,error:b,username:c,role:u,helpDeskUrl:p,emailMaxWidth:_})}))]})})}),{UserSettings:e=>{var{name:t,email:n,roles:r,onProfileClick:o,onNotificationsClick:i,onAssistantsClick:a,onLogoutClick:l,helpDeskUrl:c,showExtendedFeedback:u=!1,onFeedbackClick:d,isFeedbackDisabled:p=!1}=e,{t:f}=y1(G2),h=(0,ji.useTheme)(),{semanticColors:m}
776=SJ(h),[g,v]=(0,s.useState)(!1),y=c||f("topNavigation.userSettings.helpCenter");return(0,fi.jsx)(o5,{menuRight:!0,smallMenu:!0,hideChevron:!0,autoHideMenu:!0,controlledState:[g,v],"aria-label":f("topNavigation.userSettings.profile"),buttonText:(0,fi.jsx)(A2,{name:t,size:"large",interactive:!0,active:g}),dropdownMenuProps:{style:{minWidth:240,maxWidth:320}},children:(0,fi.jsxs)(s.Fragment,{children:[(t||n||r)&&(0,fi.jsxs)(Z2,{onMouseDown:e=>e.stopPropagation(),onClick:e=>e.stopPropagation(),children:[t&&(0,fi.jsx)(Y2,{variant:"headline300",children:t}),n&&(0,fi.jsx)(r5,{color:"secondary",children:n}),r&&(0,fi.jsx)(X2,{children:(0,fi.jsx)(i5,{roles:r,isDropdownOpen:g,moreRolesLabel:e=>f("topNavigation.userSettings.moreRoles",{count:e})})})]}),o&&(0,fi.jsx)(d1,{icon:(0,fi.jsx)(N1,{}),onClick:o,children:f("topNavigation.userSettings.profile")}),i&&(0,fi.jsx)(d1,{icon:(0,fi.jsx)(U2,{}),onClick:i,children:f("topNavigation.userSettings.notifications")}),a&&(0,fi.jsx)(d1,{icon:(0,fi.jsx)(q2,{}),onClick:a,children:f("topNavigation.userSettings.assistants")}),u&&(0,fi.jsxs)(fi.Fragment,{children:[(0,fi.jsx)(J2,{}),K2.map((e=>{var{type:t,label:n,icon:r}=e;return(0,fi.jsx)(n5,{icon:(0,fi.jsx)(r,{}),onClick:()=>null==d?void 0:d(t),disabled:p,children:(0,fi.jsxs)(e5,{children:[(0,fi.jsx)("span",{children:f(n)}),(0,fi.jsx)(t5,{className:"sparkle-icon",children:(0,fi.jsx)($2,{color:m.icon.secondary})})]})},t)}))]}),!u&&(0,fi.jsx)(d1,{icon:(0,fi.jsx)(P1,{}),onClick:()=>{document.dispatchEvent(new CustomEvent("awx:customer-support-modal:open",{detail:{helpLink:y}}))},children:(0,fi.jsxs)(e5,{children:[(0,fi.jsx)("span",{children:f("topNavigation.userSettings.help")}),(0,fi.jsx)(V2,{})]})}),l&&(0,fi.jsxs)(fi.Fragment,{children:[(0,fi.jsx)(J2,{}),(0,fi.jsx)(d1,{icon:(0,fi.jsx)(T1,{}),onClick:l,danger:!0,children:f("topNavigation.userSettings.logout")})]})]})})}});function l5(){return l5=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l5.apply(this,arguments)}ji.styled.ul({listStyle:"none",margin:0,padding:0,whiteSpace:"nowrap"},(e=>{var{border:t,theme:n}=e;return{borderBottom:t?"1px solid "+n.colors.grays[20]:"none"}}),(e=>{var{isResponsive:t}=e;return t&&{display:"flex",overflowX:"auto","::-webkit-scrollbar":{height:0,background:"transparent"},webkitOverflowScrolling:"touch",padding:0,"::before":{position:"absolute",background:"linear-gradient(90deg, rgba(255,255,255,0.00) 0%, rgba(255,255,255,0.24) 100%);",height:50,top:0,width:24,right:0,content:'""'}}})),ji.styled.div({position:"relative"}),ji.styled.div((e=>{var{theme:t}=e;return{width:56,height:56,position:"absolute",bottom:0,background:""+t.colors.white,padding:20,cursor:"pointer","::before":{position:"absolute"},"&:hover":{background:""+t.colors.purples[10],"& svg":{color:""+t.colors.purples[70]}},"&:focus":{border:"2px solid "+t.colors.purples[70],padding:18,"& svg":{color:""+t.colors.grays[80]}},"&:active":{background:""+t.colors.purples[30],"& svg":{color:""+t.colors.purples[70]}}}}),(e=>{var{hidden:t}=e;return{display:t?"none":"block"}}),(e=>{var{position:t,theme:n}=e;return((e,t)=>({left:"left"===t?0:"auto",right:"left"===t?"auto":0,"::before":{position:"absolute",background:"linear-gradient(to "+t+", rgba(255,255,255,0) 0%, "+e.colors.white+" 100%)",height:56,width:8,left:"left"===t?"auto":-8,right:"left"===t?-8:"auto",top:0,content:'""'}}))(n,t)||{}}));var c5=ji.styled.li({display:"inline-block",margin:0,padding:0}),u5=(e,t,n,r)=>l5({position:"relative",color:"#2A2A2A"},"panel"===r&&{fontWeight:500,color:null==n?void 0:n.colors.grays[100],"&:hover":{color:null==n?void 0:n.colors.grays[100]}},{"::before":l5({position:"absolute",background:(null==n?void 0:n.partnerLogoUrl)?n.colors.oranges[40]:"linear-gradient(90deg, "+(null==n?void 0:n.colors.reds[50])+" 0%, "+(null==n?void 0:n.colors.oranges[40])+" 100%)",height:4,top:e||t||"panel"===r?"auto":0,bottom:e||t||"panel"===r?0:"auto",left:12,right:12,content:'""'},"panel"===r&&{background:null==n?void 0:n.colors.grays[100],height:2})}),d5={"@media only screen and (max-width : 720px)":{fontSize:14,padding:16,whiteSpace:"nowrap"}},p5=ji.styled.button((e=>{var{theme:t}=e;return{color:t.colors.grays[70],cursor:"pointer",display:"flex",alignItems:"center",fontSize:20,padding:"15px 12px",fontFamily:t.fontFamily.default,fontWeight:"bold",textDecoration:"none",background:"transparent",border:0,"&:hover":{color:t.colors.grays[80]},"&:focus":{outline:"none"}}}),(e=>{var{variant:t,theme:n}=e;return"panel"===t?{fontSize:16,fontWeight:400,lineHeight:1.25,padding:"14px 12px",color:n.colors.grays[70],"&:hover":{color:n.colors.grays[100]}}:{}}),(e=>{var{isResponsive:t}=e;return t?d5:{}}),(e=>{var{active:t,secondary:n,isResponsive:r,theme:o,variant:i}=e;return t?u5(n,r,o,i):{}}),(e=>{var{disabled:t,theme:n}=e;return t?{color:n.colors.grays[40],cursor:"not-allowed","&:hover":{color:n.colors.grays[40]},"&:active":{backgroundColor:"transparent"}}:{}})),f5=ji.styled.a((e=>{var{theme:t}=e;return{color:t.colors.grays[70],cursor:"pointer",display:"flex",alignItems:"center",padding:"15px 12px",fontSize:20,fontFamily:t.fontFamily.default,fontWeight:"bold",textDecoration:"none","&:hover":{color:t.colors.grays[80]},"&:focus":{background:"rgba(0,0,0,0.06)",outline:"none"}}}),(e=>{var{variant:t,theme:n}=e;return"panel"===t?{fontSize:16,fontWeight:400,lineHeight:20,color:n.colors.grays[70],"&:hover":{color:n.colors.grays[100]}}:{}}),(e=>{var{isResponsive:t}=e;return t?d5:{}}),(e=>{var{active:t,secondary:n,isResponsive:r,theme:o,variant:i}=e;return t?u5(n,r,o,i):{}}),(e=>{var{disabled:t,theme:n}=e;return t?{color:n.colors.grays[40],cursor:"not-allowed","&:hover":{color:n.colors.grays[40]},"&:active":{backgroundColor:"transparent"}}:{}})),h5={marginLeft:10},m5={PANEL:"panel"},g5=e=>e in m5,v5=e=>{var{isResponsive:t,label:n,href:r,onClick:o,active:i,secondary:a,tagAmount:s,tagType:l,style:c,variant:u}=e;void 0!==u&&g5(u)&&YM()(!0,'[@airwallex/tabs Tab] `variant="'+u+'"` is deprecated. Use `variant="'+m5[u]+'"` instead.');var d=void 0===u?void 0:(e=>g5(e)?m5[e]:e)(u);return r?(0,fi.jsx)(c5,{children:(0,fi.jsxs)(f5,{style:c,active:i,onClick:o,href:r,secondary:a,isResponsive:t,variant:d,"data-test":FZ(n+" tab"),children:[n,null!=s&&(0,fi.jsx)(Uj,{style:h5,variant:l,children:s})]})}):(0,fi.jsx)(c5,{children:(0,fi.jsxs)(p5,{style:c,active:i,onClick:o,isResponsive:t,secondary:a,variant:d,"data-test":FZ(n+" tab"),children:[n,null!=s&&(0,fi.jsx)(Uj,{style:h5,variant:l,children:s})]})})};const y5=(0,kI.A)("div",{target:"ev1reyr4"})((e=>{let{hideNav:t}=e;return{position:"relative",width:"100%",opacity:t?"0":"100",pointerEvents:t?"none":"auto",[vj.breakpoint.s]:{position:"relative"}}
776}),""),b5=(0,kI.A)("div",{target:"ev1reyr3"})({name:"1u6pq96",styles:"position:absolute;top:0;left:0;z-index:1;display:flex;align-items:center;height:56px;padding-left:44px"}),w5=(0,kI.A)("div",{target:"ev1reyr2"})({position:"absolute",left:0,top:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",zIndex:qK.f.navigation},""),x5=(0,kI.A)("div",{target:"ev1reyr1"})({name:"12s1t0z",styles:"width:400px;pointer-events:auto"}),k5=(0,kI.A)("div",{target:"ev1reyr0"})({name:"179t5g5",styles:"position:relative;z-index:1"});function C5(){return C5=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C5.apply(this,arguments)}var E5=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",C5({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M10.1162 6.88388C9.62808 6.39573 9.62808 5.60446 10.1162 5.11631C10.6044 4.62815 11.3957 4.62815 11.8838 5.11631L21.5303 14.7628C22.2137 15.4462 22.2137 16.554 21.5303 17.2374L11.8838 26.8839C11.3957 27.372 10.6044 27.372 10.1162 26.8839C9.62808 26.3957 9.62808 25.6045 10.1162 25.1163L19.2324 16.0001L10.1162 6.88388Z",fill:n})]}))})),S5=n(19888);const O5={canGoBack:!1,canGoForward:!1},A5=e=>{const t=(0,s.useRef)(O5);return(0,S5.useSyncExternalStore)((t=>(e.addEventListener("currententrychange",t),()=>e.removeEventListener("currententrychange",t))),(()=>{const n={canGoBack:e.canGoBack,canGoForward:e.canGoForward},r=t.current;return r.canGoBack===n.canGoBack&&r.canGoForward===n.canGoForward||(t.current=n),t.current}),(()=>O5))},_5=ji.styled.div({display:"flex",alignItems:"center",gap:4}),P5=(0,ji.styled)(rL)((e=>{let{theme:t}=e;return{"&:disabled":{backgroundColor:"transparent",svg:{color:t.colors.grays[40]}}}})),j5=e=>{let{navigation:t}=e;const{t:n}=sw(),{canGoBack:r,canGoForward:o}=A5(t);return vi(_5,{children:[gi(P5,{variant:"TERTIARY",icon:vK,"aria-label":n("navigation.back"),disabled:!r,onClick:()=>{Ko("in_app_navigation_back_click"),t.back()}}),gi(P5,{variant:"TERTIARY",icon:E5,"aria-label":n("navigation.forward"),disabled:!o,onClick:()=>{Ko("in_app_navigation_forward_click"),t.forward()}})]})},T5=()=>{const e=hn(),t=null!=e&&e.pffEnableInAppNavigation?jS():null;return t?gi(j5,{navigation:t}):null},I5=Pi.i7` 777 0% { 778 transform: translateX(-100%); 779 } 780 60% { 781 transform: translateX(100%); 782 } 783 100% { 784 transform: translateX(100%); 785 } 786`,L5=ji.styled.span((e=>{let{theme:t,isPage:n=!0,height:r=100,width:o="100%"}=e;return{height:`${r}px`,width:`${o}`,borderRadius:n?(null==t?void 0:t.radius.l)??"6px":(null==t?void 0:t.radius.m)??"4px",display:"block",backgroundColor:"rgba(0, 0, 0, 0.04)",position:"relative",overflow:"hidden","&::after":{animation:`${I5} 1.6s linear 0.5s infinite`,background:"linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent)",content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0,zIndex:1,"@media (prefers-reduced-motion: reduce)":{animation:"none"}}}})),N5=()=>{const{t:e}=sw(),[t,n]=(0,s.useState)(!1);return(0,s.useEffect)((()=>{const e=setTimeout((()=>{n(!0)}),300);return()=>clearTimeout(e)}),[]),t?vi("div",{role:"status","aria-busy":"true","aria-label":e("skeleton.loadingNavigationTabs"),css:Pi.AH` 787 display: flex; 788 gap: 24px; 789 width: 100%; 790 align-items: center; 791 margin-left: 12px; 792 `,children:[gi(L5,{isPage:!1,height:10,width:"100px"}),gi(L5,{isPage:!1,height:10,width:"100px"}),gi(L5,{isPage:!1,height:10,width:"100px"})]}):null};Pi.HO` 793 @property --border-gradient-angle { 794 syntax: '<angle>'; 795 initial-value: 0deg; 796 inherits: false; 797 } 798`;var R5=(0,Pi.i7)({from:{"--border-gradient-angle":"0deg"},to:{"--border-gradient-angle":"360deg"}}),D5=String(R5);ji.styled.div((({theme:e,$animate:t,$borderRadius:n,$duration:r})=>({position:"absolute",inset:0,borderRadius:n,pointerEvents:"none",background:`conic-gradient(from var(--border-gradient-angle), ${[e.colors.oranges[40],e.colors.reds[50],e.colors.purples[50],e.colors.oranges[40]].join(", ")})`,animation:t?`${D5} ${r} ease-in-out infinite`:"none",opacity:t?1:0,transition:"opacity 0.3s ease-in-out"})));var F5="awx:finos-copilot:send-chat-input";function M5(e,t){const{isNew:n,...r}=null!=t?t:{};return{...r,input:e,...void 0!==n?{isNew:n}:{}}}function B5(e,t){"undefined"!=typeof window&&void 0!==window.document&&(window.document.dispatchEvent(new CustomEvent("awx:finos-copilot:toggle-panel",{detail:{value:!0}})),window.document.dispatchEvent(new CustomEvent(F5,{detail:M5(e,t)})))}var V5="data-awx-copilot-is-active",z5="copilot-portal",U5=()=>
798{const[e,t]=(0,s.useState)((()=>{const e=document.getElementById(z5);return"true"===(null==e?void 0:e.getAttribute(V5))}));return(0,s.useEffect)((()=>{let e=null;const n=n=>{t("true"===n.getAttribute(V5)),e=new MutationObserver((()=>{t("true"===n.getAttribute(V5))})),e.observe(n,{attributes:!0,attributeFilter:[V5]})},r=document.getElementById(z5);if(r)return n(r),()=>null==e?void 0:e.disconnect();const o=new MutationObserver((()=>{const e=document.getElementById(z5);e&&(o.disconnect(),n(e))}));return o.observe(document.documentElement,{childList:!0,subtree:!0}),()=>{o.disconnect(),null==e||e.disconnect()}}),[]),e},H5="data-awx-copilot-open",q5=()=>{const[e,t]=(0,s.useState)((()=>{var e,t;return null!=(t=null==(e=document.body)?void 0:e.hasAttribute(H5))&&t}));return(0,s.useEffect)((()=>{if(!document.body)return;const e=new MutationObserver((()=>{var e,n;t(null!=(n=null==(e=document.body)?void 0:e.hasAttribute(H5))&&n)}));return e.observe(document.body,{attributes:!0,attributeFilter:[H5]}),()=>e.disconnect()}),[]),e},W5="awx:finos-copilot:is-streaming",$5=()=>{const[e,t]=(0,s.useState)(!1);return(0,s.useEffect)((()=>{const e=e=>{var n,r;t(null!=(r=null==(n=null==e?void 0:e.detail)?void 0:n.isStreaming)&&r)};return document.addEventListener(W5,e),()=>document.removeEventListener(W5,e)}),[]),e},G5=()=>({isCopilotEligible:q5(),isCopilotActive:U5(),isCopilotStreaming:$5()});const K5={share_feedback:"topNavigation.copilotFeedback.shareFeedback",report_bug:"topNavigation.copilotFeedback.reportBug",suggest_feature:"topNavigation.copilotFeedback.suggestFeature",get_help:"topNavigation.copilotFeedback.getHelp"},Z5={share_feedback:{mode:"feedback",feedback_type:"airwallex_general"},report_bug:{mode:"feedback",feedback_type:"bug_report"},suggest_feature:{mode:"feedback",feedback_type:"feature_request"}};function Y5(){const e=function(){const{t:e}=sw(),t=tm([jr.ik.en,jr.ik.zh])(em()),{name:n,email:r,roles:o}=Qh((e=>ay(e,t))),{isCopilotActive:i,isCopilotStreaming:a,isCopilotEligible:l}=G5(),c=function(){var e;const t=(0,Yh.useHistory)(),n=(0,Yh.useLocation)(),r=Qh((e=>e.org.data)),o=Qh((e=>e.account)),{hideProfileAndHelp:i}=Qx(),a=tm([jr.ik.en,jr.ik.zh])(em()),s=(null==r?void 0:r.isBusinessAccountsEnabled)??!1,l=JG(),c=null===(e=If({account:o}))||void 0===e||null===(e=e.helpDeskUrl)||void 0===e||null===(e=e.url)||void 0===e?void 0:e[a],u=(e,n,r)=>()=>{Ko(e),s?l(n):t.push(r)},d=async()=>{Ko("top_navigation_logout",{account_id:o.accountId,account_type:o.accountType,account_hierarchy_type:o.accountHierarchyType}),zr.info("Webapp manual logout"),await Xf(),Jf(),Qf(o)};return i?{onLogoutClick:d,onProfileClick:void 0,helpDeskUrl:void 0,onNotificationsClick:void 0,onAssistantsClick:void 0}:{onLogoutClick:d,onProfileClick:u("top_navigation_profile_click","user/profile",`/app/account/profile?${new URLSearchParams({redirect:n.pathname}).toString()}`),helpDeskUrl:c,onNotificationsClick:u("top_navigation_notifications_click","user/notifications","/app/account/profile?tab=notifications"),onAssistantsClick:r?u("top_navigation_assistants_click","user/assistants","/app/account/profile?tab=assistants"):void 0}}(),u=(0,s.useCallback)((t=>function(e,t){Ko("top_navigation_copilot_feedback_click",{type:e});const n=K5[e],r=Z5[e];n&&B5(t(n),{isNew:!0,entry_context:r})}(t,e)),[e]);return{name:n,email:r,roles:o,showExtendedFeedback:l&&i,isFeedbackDisabled:a,onFeedbackClick:u,...c}}();return gi(s5.UserSettings,{...e})}const X5=e=>{let{extraContent:t,...n}=e;const r=(0,Yh.useHistory)(),o=(0,Yh.useLocation)(),i=Qh((e=>e.org.data)),a=n.hideNav??CS(),l=Xh(),c=(0,s.useCallback)((()=>{l(Fw())}),[l]);Ur("awx:update-current-user-state",c,document);const{tabs:u,fluid:d,initialized:p,sandboxBannerHeight:f,allowTabs:h}=Qx(),m=JU(),g=hn(),{pffEnableInAppNavigation:v=!1,finosEnableUniversalSearch:y=!1}=g,b=(null==i?void 0:i.isBusinessAccountsEnabled)??!1,w=(e=>{const{pathname:t,featureFlags:n,isBusinessAccountsEnabled:r=!1}=e;return[/^\/app\/spend\/accounting/,/^\/app\/spend\/connection/,/^\/app\/business-accounts/,/^\/app\/spend\/bills/,/^\/app\/billpay/,/^\/app\/spend\/vendors/,/^\/app\/vendor/,/^\/app\/spend\/purchase-orders/,/^\/app\/purchase-orders/,/^\/app\/spend\/requests/,/^\/app\/spend-requests/,/^\/app\/spend\/budgets/,/^\/app\/org-fraud/,/^\/app\/fraud/,/^\/app\/integrations\/home/,/^\/app\/billing/,/^\/app\/plan-billing/,/^\/app\/account\/statements/,/^\/app\/developer\/org/,/^\/app\/dashboard-org/,/^\/app\/dashboard-account/,/^\/app\/dashboard-intro/,...null!=n&&n.cbReportsEnableReportsWebappOrgHeader?[/^\/app\/reports/]:[],...null!=n&&n.scaleEnablePlatformConsoleWebappOrgHeader?[/^\/app\/platform-console/]:[],...null!=n&&n.scaleTaxFilingEnableOrgHeader?[/^\/app\/tax-filing/]:[],...null!=n&&n.iamEnableUamWebappOrgHeader?[/^\/app\/uam/]:[],...null!=n&&n.gtpnEnableContactsOrgHeader?[/^\/app\/contacts/]:[],...null!=n&&n.gtpnFeEnablePayoutKaleidoOrgHeader?[/^\/app\/transfers/]:[],/^\/app\/transfers\/payouts\/detail/,...null!=n&&n.gtpnFeEnableOrderCollectionOrgHeader?[/^\/app\/sales-orders/,/^\/app\/customers/]:[],...null!=n&&n.gtpnFeEnableGaOrgHeader?[/^\/app\/globalaccount/]:[],...null!=n&&n.spendCardsEnableOrgLayout?[/^\/app\/cards/]:[],...null!=n&&n.growthRewardsEnableOrgHeader?[/^\/app\/rewards/]:[],...null!=n&&n.billingEnableThemeOrgHeader?[/^\/app\/theme/]:[],...[null==n?void 0:n.paFeNewOrgPayments,r].every(Boolean)?[/^\/app\/org-acquiring(?!\/dispute)/]:[],...null!=n&&n.spendExpensesNewLayout||r?[/^\/app\/spend\/expenses/,/^\/app\/expenses/]:[],...null!=n&&n.spendOverviewNewHeader?[/^\/app\/spend\/overview/]:[],...null!=n&&n.cbWalletExperienceEnableWalletWebappOrgPageHeader?[/^\/app\/wallet/]:[]].some((e=>"string"==typeof e?e===t:e.test(t)))})({pathname:o.pathname,featureFlags:g,isBusinessAccountsEnabled:b}),x=Eb.some((e=>o.pathname.includes(e))),k=!p&&x,C=(w||p&&!h)&&v&&!m,E="staging"===bo.environment,S=p&&!w&&h&&u.length>0,O=E&&!m&&y&&!S;return vi(y5,{hideNav:a,children:[C&&gi(b5,{children:gi(T5,{})}),gi(s5,{onBack:()=>{Ko("top_navigation_back_click"),r.goBack()},backText:"",variant:"TABS",fluid:d,allowTabs:p&&!w&&h,tabsProps:{isResponsive:!0}
798,pageControlsWrapperProps:m?{style:{top:f+((0,jr.I)()?8:10)}}:void 0,userSettings:gi(Y5,{}),children:k?gi(N5,{}):u.map((e=>{var t;return gi(k5,{"data-public":!0,children:gi(v5,{secondary:!0,label:e.label,active:(null===(t=e.activeFn)||void 0===t?void 0:t.call(e,{location:o}))??o.pathname.includes(e.path),onClick:()=>{var t;Ko("top_navigation_tab_click",{path:e.path}),(t=e.path,()=>r.push(t))()}},e.path)},e.path)}))}),t,O?gi(w5,{children:gi(x5,{children:gi(ia,{fallback:null,children:gi(XU,{federationConfig:vb["universal-search-bar"],containerProps:{},loading:null})})})}):null]})};var Q5=(0,s.createContext)(void 0),J5=()=>{var e=(0,s.useContext)(Q5);if(!e)throw new Error("useDialogContext must be used within a DialogContext.Provider");return e},e4=Q5.Provider,t4=e=>{var{children:t}=e,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["children"]),{isOpen:r,onClose:o,isDismissible:i=!0,stopPropagation:a=!0,onOverlayRef:l}
798=n,[c,u]=(0,s.useState)(null),[d,p]=(0,s.useState)(null),[f,h]=(0,s.useState)(!1);return(0,s.useEffect)((()=>{l&&l(c)}),[c,l]),(0,s.useLayoutEffect)((()=>{var e=document.body.style.overflow;return r&&(document.body.style.overflow="hidden"),()=>{document.body.style.overflow=e}}),[r]),(0,fi.jsx)(e4,{value:{isOpen:r,open:r,onClose:o,isDismissible:i,stopPropagation:a,overlay:c,setOverlay:u,footerElement:d,setFooterElement:p,hasFooterContent:f,setHasFooterContent:h},children:t})},n4={xxs:"@media (max-width: 360px)",xs:"@media (max-width: 475px)",s:"@media (max-width: 720px)",m:"@media (max-width: 1020px)",l:"@media (max-width: 1200px)",xl:"@media (max-width: 1920px)"},r4=5e3,o4=e=>{var{theme:t}=e,n=Hi(t.semanticTokensV9,(()=>t.tokens)),{semanticColors:r}=$i(t);return{background:{container:n((e=>e.colors.bg.area.primary),t.colors.white),header:n((e=>e.colors.bg.area.primary),t.colors.white),body:n((e=>e.colors.bg.area.primary),t.colors.white),footer:n((e=>e.colors.bg.area.primary),t.colors.white)},overlay:{background:n((e=>e.colors.bg.area.curtain),"rgba(84, 84, 94, 0.3)")},border:{header:n((e=>"1px solid "+e.colors.border.default),t.borders.normal[100])},foreground:{content:n((e=>e.colors.fg.primary),t.colors.grays[70]),closeIcon:n((e=>e.colors.fg.tertiary),r.icon.secondary)},layout:{borderRadius:{default:n((e=>e.radii.md),"6px")}}}},i4=e=>{var{theme:t}=e;return{colors:{confirmDialogIcon:{success:t.colors.greens[70],warning:t.colors.oranges[50],critical:t.colors.reds[50]},headerText:{initial:t.colors.grays[100]},bodyText:{initial:t.colors.grays[60]},overlay:"rgba(84, 84, 94, 0.3)"}}},a4=e=>{var{theme:t}=e,{colors:n}=Yi({componentTheme:t.dialog,defaultComponentTheme:i4({theme:t})});return zi({overlay:{background:null==n?void 0:n.overlay}})};function s4(){return s4=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s4.apply(this,arguments)}var l4=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c4=e=>{var{theme:t}=e,n=t.dialog,r=l4(n,"layout")||l4(n,"borderRadius")?{layout:{borderRadius:Bi({componentTheme:n,tokenKey:"borderRadius",defaults:{default:"6px"},variantOverride:l4(n,"borderRadius")?{borderRadius:n.borderRadius}:void 0})}}:{};return zi(s4({background:l4(n,"background")?n.background:void 0,overlay:l4(n,"overlay")?n.overlay:void 0,border:l4(n,"border")?n.border:void 0,foreground:l4(n,"foreground")?n.foreground:void 0},r))},u4=e=>{var{theme:t}=e;return Ui({defaults:o4({theme:t}),legacyOverlay:a4({theme:t}),newFormatOverlay:c4({theme:t})})};function d4(){return d4=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d4.apply(this,arguments)}var{C9:p4}=a,f4=(0,Pi.AH)({[p4.s]:{width:"100%",bottom:0,top:"auto"}}),h4={small:400,medium:624,large:720},m4=(0,Pi.AH)({".ReactModal__Body--open":{overflow:"hidden"},".ReactModal__Content, .airwallex_modal--loading":{opacity:0,willChange:"transform",transform:"translate(-50%, -65%)",transition:"opacity 150ms, transform 300ms"},".ReactModal__Content--after-open, .airwallex_modal--loaded":{opacity:1,transform:"translate(-50%, -50%)"},".ReactModal__Content--before-close":{opacity:0,transform:"translate(-50%, -65%)"}}),g4=(0,Pi.AH)(m4,{[p4.s]:{".ReactModal__Content, .airwallex_modal--loading":{transform:"translate(-50%, 30%)"},".ReactModal__Content--after-open, .airwallex_modal--loaded":{transform:"translate(-50%, 0%)"},".ReactModal__Content--before-close":{transform:"translate(-50%, 30%)"}}}),v4=(0,ji.styled)(tB)((e=>{var{theme:t}=e;return{flex:"0 0 auto",backgroundColor:u4({theme:t}).background.header,display:"inline-flex",alignItems:"center",wordBreak:"break-word",minHeight:30,paddingInlineEnd:"calc(40px + "+t.space.xs+")","&:empty":{display:"none"}}})),y4=(0,ji.styled)(rL)((e=>{var{theme:t}=e,{semanticColors:n}=$i(t),r=Hi(t.semanticTokensV9,(()=>t.tokens)),{foreground:o}=u4({theme:t});return{cursor:"pointer",position:"absolute",zIndex:t.zIndex.header,right:t.space.xs,top:t.space.xs,color:o.closeIcon,"&:hover":{color:r((e=>kj({baseColor:e.colors.fg.brand,tint:{color:e.colors.fg.primary,opacity:"lowHover"}})),n.icon.link)}}}
798)),b4=ji.styled.article((e=>{var{theme:t}=e,{foreground:n}=u4({theme:t});return{position:"relative",display:"flex",flexDirection:"column",flex:"1 1 auto",gap:t.space.xs,minHeight:0,overflow:"hidden",marginBlock:t.space.l,color:n.content,fontFamily:t.fontFamily.default,[t.breakpoints.breakpoint.s]:{marginBlock:t.space.s},"& > *":{paddingInline:t.space.xl,[t.breakpoints.breakpoint.s]:{paddingInline:t.space.m}}}})),w4=ji.styled.main((e=>{var{theme:t,enableBodyPadding:n=!0}=e,{background:r}=u4({theme:t}),o=Hi(t.semanticTokensV9,(()=>t.tokens));return d4({overflow:"auto",flex:"1 1 auto",minHeight:0,gap:t.space.s,position:"relative",backgroundColor:r.body,outline:"1px solid "+r.body},!n&&{"&&":{paddingInline:0}},{"&::before":{display:"block",top:-1,position:"sticky",width:"100%",content:'""',height:t.space.s,background:o((()=>"-webkit-linear-gradient(top, "+r.body+" 0%, rgba(255,255,255,0) 100%)"),"-webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%)")},"&::after":{display:"block",bottom:-1,position:"sticky",width:"100%",content:'""',height:t.space.s,background:o((()=>"-webkit-linear-gradient(top, rgba(255,255,255,0) 0%, "+r.body+" 100%)"),"-webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%)")}})})),x4=ji.styled.footer((e=>{var{theme:t}=e;return{backgroundColor:u4({theme:t}).background.footer,width:"100%","&:empty":{display:"none"}}}));var k4=ji.styled.div((()=>({width:"100%","&:empty":{display:"none"}}))),C4=e=>{var{children:t,id:n}=e;return(0,fi.jsx)(v4,{id:n,className:"airwallex-modal-header","data-test":"airwallex-modal-header",variant:"headline200",color:"primary",as:"header",children:t})}
798,E4={en:{"dialog.close":"Close"},"en-US":{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","dialog.close":"Close"},zh:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","dialog.close":"å
³é"},fr:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","dialog.close":"Fermer"},"es-MX":{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","dialog.close":"Cerrar"},de:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","dialog.close":"SchlieÃen Sie"},ja:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","dialog.close":"éãã"},ko:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","dialog.close":"ë«ê¸°"},"pt-BR":{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","dialog.close"
798:"Fechar"},vi:{_comment:"This file is generated via awx-i18n-service, please do not update contents manually","dialog.close":"Äóng"},tr:{"dialog.close":"Kapat"},pl:{"dialog.close":"Zamknij"},th:{"dialog.close":"à¸à¸´à¸"},"zh-HK":{"dialog.close":"éé"}},S4=()=>{var{onClose:e,isDismissible:t}=J5(),{t:n}=(0,YB.B)(E4);return t?(0,fi.jsx)(y4,{icon:bK,onClick:e,"aria-label":n("dialog.close")}):null},O4=n(20312),A4=n.n(O4);function _4(){return _4=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_4.apply(this,arguments)}var P4=e=>{var t,{children:n}=e,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["children"]),{isOpen:o,onClose:i,setOverlay:a,isDismissible:s}=J5(),{width:l="medium",isResponsive:c,parentSelector:u,portalStyles:d,contentStyles:p,overlayStyles:f={},onAfterClose:h,"aria-label":m,headerId:g}=r,v=(e=>{var t=(0,ji.useTheme)(),{background:n,layout:r}=u4({theme:t});return(0,Pi.AH)({width:h4[e],display:"flex",flexDirection:"column",position:"absolute",maxHeight:"90%",background:n.container,overflow:"visible",margin:"0px auto",outline:"none",left:"50%",top:"50%",bottom:"auto",transform:"translate(-50%, -50%)",boxShadow:"0 0px 16px 0 rgba(0, 0, 0, 0.16)",borderRadius:r.borderRadius.default,[p4.s]:{borderRadius:r.borderRadius.default+" "+r.borderRadius.default+" 0 0"}})})(l),y=(t=f,d4({},function(e){var{overlay:t}=u4({theme:e});return{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:t.background,zIndex:r4}}((0,ji.useTheme)()),t)),b=c?g4:m4;return(0,fi.jsx)(Pi.Z2,{children:e=>{var{css:t}=e;return(0,fi.jsx)(A4(),{style:{overlay:y},className:t([v,p,c&&f4]),closeTimeoutMS:150,portalClassName:t(_4({},b,d)),isOpen:o,onRequestClose:i,ariaHideApp:!1,shouldCloseOnOverlayClick:s,parentSelector:u,onAfterClose:h,aria:g?{labelledby:g}:void 0,contentLabel:g?void 0:m,"data-test":"airwallex-modal",overlayRef:a,children:n})}})},j4=e=>{var{children:t}=e,{stopPropagation:n}=J5();return(0,fi.jsx)(b4,{onClick:e=>{n&&e.stopPropagation()},children:t})},T4=e=>{var{footer:t}=e,n=(0,s.useRef)(null),{setFooterElement:r,hasFooterContent:o}=J5();(0,s.useEffect)((()=>(r(n.current),()=>r(null))),[r]);var i=null!=t||o;return(0,fi.jsx)(x4,{ref:n,"data-test":"airwallex-modal-footer",style:i?void 0:{display:"none"},children:t})},I4=e=>{var t,{open:n,isOpen:r,isResponsive:o=!0,stopPropagation:i=!0,isDismissible:a=!0,onClose:l,onOpenChange:c,portalStyles:u,banner:d,header:p,footer:f,children:h,contentStyles:m={},overlayStyles:g,parentSelector:v,onAfterClose:y,width:b="medium",onOverlayRef:w,enableBodyPadding:x=!0,"aria-label":k}=e;YM()(void 0!==n,"[@airwallex/dialog Dialog] `open` is deprecated. Use `isOpen` instead."),YM()(void 0!==l,"[@airwallex/dialog Dialog] `onClose` is deprecated. Use `onOpenChange` instead.");var C=null!=(t=null!=r?r:n)&&t,[E]=(0,s.useState)((()=>"airwallex-dialog-header-"+Math.random().toString(32).substring(2,15))),S=void 0===k&&s.Children.toArray(p).length>0?E:void 0;return(0,fi.jsx)(t4,{isOpen:C,onClose:()=>{c?c(!1):l&&l()},isDismissible:a,stopPropagation:i,onOverlayRef:w,children:(0,fi.jsxs)(P4,{width:b,isResponsive:o,parentSelector:v,portalStyles:u,contentStyles:m,overlayStyles:g,onAfterClose:y,"aria-label":k,headerId:S,children:[d&&(0,fi.jsx)(k4,{style:{flex:"0 0 auto"},children:d}),(0,fi.jsxs)(j4,{children:[(0,fi.jsx)(C4,{id:S,children:p}),(0,fi.jsx)(w4,{"data-test":"airwallex-modal-body",enableBodyPadding:x,children:h}),(0,fi.jsx)(T4,{footer:f})]}),(0,fi.jsx)(S4,{})]})})};I4.Footer=e=>{var{children:t}=e,{footerElement:n,setHasFooterContent:r}=J5();return(0,s.useEffect)((()=>(r(!0),()=>r(!1))),[r]),n?(0,la.createPortal)((0,fi.jsx)(fi.Fragment,{children:t}),n):null};var L4={xxs:"@media (max-width: 360px)",xs:"@media (max-width: 475px)",s:"@media (max-width: 720px)",m:"@media (max-width: 1020px)",l:"@media (max-width: 1200px)",xl:"@media (max-width: 1920px)"};function N4(){return N4=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},N4.apply(this,arguments)}
798var R4={LEFT:"flex-start",CENTER:"center",RIGHT:"flex-end","SPACE-BETWEEN":"space-between"},D4={XXS:L4.xxs,XS:L4.xs,S:L4.s,M:L4.m,L:L4.l},F4=ji.styled.div((e=>{var{align:t,gap:n,mediaQuery:r,reverse:o}=e;return{display:"flex",flexDirection:o?"row-reverse":"row",justifyContent:R4[t],gap:n,[r]:{flexDirection:o?"column-reverse":"column",alignItems:"stretch",justifyContent:"initial"}}})),M4=e=>{var{children:t,align:n="LEFT",breakpoint:r="XS",space:o,reverse:i=!1}=e,a=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["children","align","breakpoint","space","reverse"]),s=D4[r];return(0,fi.jsx)(F4,N4({align:n,gap:null!=o?o:"8px",mediaQuery:s,reverse:i},a,{children:t}))};const B4=()=>{const e=Qh((e=>e.navigation.showVerificationModal)),t=(()=>{const e=(0,Yh.useHistory)(),t=Qh(iH),n=Xh(),{t:r}=sw(),o=()=>{n(IS.toggleVerificationModal(!1))};switch(t){case"INIT":return{header:r("verification.heading"),onClose:()=>{Ko("verification_modal_dismiss",{kyc_status:t}),o()},children:gi("p",{children:r("verification.content")}),footer:vi(M4,{align:"RIGHT",children:[gi(nL,{"data-test":"verification_modal_cancel",onClick:()=>{Ko("verification_modal_dismiss",{kyc_status:t}),o()},variant:"SECONDARY",children:r("verification.secondary")}),gi(nL,{"data-test":"verification_modal_submit",onClick:()=>{o(),e.push("/app/kyc")},variant:"PRIMARY",children:r("verification.primary")})]})};case"SUBMITTED":return{header:r("verificationSubmitted.heading"),onClose:()=>{Ko("verification_modal_dismiss",{kyc_status:t}),o()},children:gi("p",{children:r("verificationSubmitted.content")}),footer:gi(M4,{align:"RIGHT",children:gi(nL,{"data-test":"verification_submitted_modal_submit",onClick:o,variant:"PRIMARY",children:r("verificationSubmitted.primary")})})};case"FAILURE":return{header:r("verificationFailure.heading"),onClose:()=>{Ko("verification_modal_dismiss",{kyc_status:t}),o()},children:gi("p",{children:r("verificationFailure.content")}),footer:gi(M4,{align:"RIGHT",children:gi(nL,{"data-test":"verification_failure_modal_submit",onClick:o,variant:"PRIMARY",children:r("verificationFailure.primary")})})};default:return}})();return(0,s.useEffect)((()=>{e&&Ko("verification_modal_show")}),[e]),t?gi(I4,{isResponsive:!0,open:e,...t}):null},V4=Es` 799 query GetAccountForceLogoutConfig { 800 getAccountForceLogoutConfig { 801 data { 802 total 803 timeToIdle 804 promptDuration 805 maxIdleDuration 806 } 807 } 808 } 809`,z4={total:9e5,maxIdleDuration:78e4,timeToIdle:6e4,promptDuration:6e4},U4=()=>{var e;const{data:t,loading:n}=ky(V4,{skip:!bp()});return null!=t&&null!==(e=t.getAccountForceLogoutConfig)&&void 0!==e&&e.data?[{...z4,...t.getAccountForceLogoutConfig.data},!1]:[z4,n]};var H4=n(14247);function q4(){return q4=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},q4.apply(this,arguments)}var W4=e=>{var{width:t=270}=e,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["width"]);return(0,fi.jsxs)("svg",q4({xmlns:"http://www.w3.org/2000/svg",width:t,height:t/1.5,viewBox:"0 0 270 180",fill:"none"},n,{children:[(0,fi.jsxs)("g",{clipPath:"url(#hero-rocket-0)",children:[(0,fi.jsx)("path",{fill:"#A9A9AE",d:"M104.2 77l8-5.4 11.5 37.7h-7.8c-8.2 0-15.8 4.7-19.3 12.2l-4.7 10c-.6 1.4-2 2.3-3.4 2.3a2.5 2.5 0 01-2.5-2.4v-19.7a42 42 0 0118.2-34.6z"}),(0,fi.jsx)("path",{fill:"url(#hero-rocket-0)",d:"M104.2 77l8-5.4 11.5 37.7h-7.8c-8.2 0-15.8 4.7-19.3 12.2l-4.7 10c-.6 1.4-2 2.3-3.4 2.3a2.5 2.5 0 01-2.5-2.4v-19.7a42 42 0 0118.2-34.6z"}),(0,fi.jsx)("path",{fill:"#A9A9AE",d:"M166 77l-8-5.4-11.4 37.7h7.7c8.3 0 15.8 4.7 19.3 12.2l4.7 10c.6 1.4 2 2.3 3.5 2.3 1.3 0 2.4-1 2.4-2.4v-19.7A42 42 0 00166 77.1z"}),(0,fi.jsx)("path",{fill:"url(#hero-rocket-1)",d:"M166 77l-8-5.4-11.4 37.7h7.7c8.3 0 15.8 4.7 19.3 12.2l4.7 10c.6 1.4 2 2.3 3.5 2.3 1.3 0 2.4-1 2.4-2.4v-19.7A42 42 0 00166 77.1z"}),(0,fi.jsx)("path",{fill:"#F7F7F9",d:"M112.2 46c0-12 4-23.8 11.5-33.3l8.8-11.4a3.3 3.3 0 015.2 0l8.9 11.4A54.4 54.4 0 01158 46v25.5c0 7.5-.8 15-2.4 22.3l-2.3 10.2c-.6 3-3.3 5.2-6.4 5.2h-23.6c-3.1 0-5.8-2.2-6.4-5.2l-2.3-10c-1.6-7.4-2.4-14.8-2.4-22.3V46.1z"}),(0,fi.jsx)("path",{fill:"url(#hero-rocket-2)",d:"M112.2 46c0-12 4-23.8 11.5-33.3l8.8-11.4a3.3 3.3 0 015.2 0l8.9 11.4A54.4 54.4 0 01158 46v25.5c0 7.5-.8 15-2.4 22.3l-2.3 10.2c-.6 3-3.3 5.2-6.4 5.2h-23.6c-3.1 0-5.8-2.2-6.4-5.2l-2.3-10c-1.6-7.4-2.4-14.8-2.4-22.3V46.1z"}),(0,fi.jsx)("path",{fill:"#A9A9AE",d:"M137.1.7l.6.6 4.5 5.8H128l4.5-5.8a3.3 3.3 0 014.6-.6z"}),(0,fi.jsx)("path",{fill:"url(#hero-rocket-3)",d:"M137.1.7l.6.6 4.5 5.8H128l4.5-5.8a3.3 3.3 0 014.6-.6z"}),(0,fi.jsx)("path",{fill:"url(#hero-rocket-4)",d:"M135.1 160a36 36 0 009.8-24.6c0-13.5-4.4-24.5-9.8-24.5s-9.8 11-9.8 24.5A36 36 0 00135 160z"}),(0,fi.jsx)("path",{fill:"url(#hero-rocket-5)",fillRule:"evenodd",d:"M135.1 146.9c4-4.4 5.9-9.3 5.9-14.7 0-8.2-2.6-14.8-5.9-14.8-3.2 0-5.9 6.6-5.9 14.8 0 5.4 2 10.3 6 14.7z",clipRule:"evenodd"}),(0,fi.jsx)("path",{fill:"#A9A9AE",d:"M151.5 119.9c0 1.4-1.1 2.4-2.5 2.4h-27.8a2.5 2.5 0 01-2.5-2.4c0-1.6.3-3.2 1-4.7l2.3-6h26.2l2.4 6c.6 1.5.9 3 .9 4.7z"}),(0,fi.jsx)("path",{fill:"url(#hero-rocket-6)",d:"M151.5 119.9c0 1.4-1.1 2.4-2.5 2.4h-27.8a2.5 2.5 0 01-2.5-2.4c0-1.6.3-3.2 1-4.7l2.3-6h26.2l2.4 6c.6 1.5.9 3 .9 4.7z"}),(0,fi.jsx)("path",{fill:"#A9A9AE",d:"M132.7 83.9v-.2a3.3 3.3 0 014.7 0l.2.2a7.6 7.6 0 012.2 5.9l-3 42.4a1.8 1.8 0 01-3.4 0l-3-42.4c-.1-2.2.7-4.4 2.3-6z"}),(0,fi.jsx)("path",{fill:"url(#hero-rocket-7)",d:"M132.7 83.9v-.2a3.3 3.3 0 014.7 0l.2.2a7.6 7.6 0 012.2 5.9l-3 42.4a1.8 1.8 0 01-3.4 0l-3-42.4c-.1-2.2.7-4.4 2.3-6z"}),(0,fi.jsx)("path",{fill:"#54545E",d:"M141.7 27.4a6.5 6.5 0 10-13.1 0 6.5 6.5 0 0013 0z"}),(0,fi.jsx)("path",{fill:"url(#hero-rocket-8)",stroke:"#EBECF0",strokeWidth:"0.8",d:"M141.7 27.4a6.5 6.5 0 10-13.1 0 6.5 6.5 0 0013 0z"}),(0,fi.jsx)("mask",{id:"hero-rocket-a",width:"14",height:"14",x:"128",y:"20",maskUnits:"userSpaceOnUse",children:(0,fi.jsx)("path",{fill:"#fff",d:"M141.7 27.4a6.5 6.5 0 10-13.1 0 6.5 6.5 0 0013 0z"})}),(0,fi.jsx)("g",{mask:"url(#hero-rocket-a)",children:(0,fi.jsx)("path",{fill:"url(#hero-rocket-9)",fillRule:"evenodd",d:"M171.4 34.8L127.1 79l-3.5-3.4L168 31.3l3.5 3.5zm-19.1-19.1L108 59.9l-3.5-3.4 44.3-44.3 3.5 3.5zM163.6 27l-39 39-7-7 39-39 7 7z",clipRule:"evenodd"})}),(0,fi.jsx)("path",{fill:"#54545E",d:"M141.7 47a6.5 6.5 0 10-13.1 0 6.5 6.5 0 0013 0z"}),(0,fi.jsx)("path",{fill:"url(#hero-rocket-10)",stroke:"#EBECF0",strokeWidth:"0.8",d:"M141.7 47a6.5 6.5 0 10-13.1 0 6.5 6.5 0 0013 0z"}),(0,fi.jsx)("mask",{id:"hero-rocket-b",width:"14",height:"14",x:"128",y:"40",maskUnits:"userSpaceOnUse",children:(0,fi.jsx)("path",{fill:"#fff",d:"M141.7 47a6.5 6.5 0 10-13.1 0 6.5 6.5 0 0013 0z"})}),(0,fi.jsx)("g",{mask:"url(#hero-rocket-b)",children:(0,fi.jsx)("path",{fill:"url(#hero-rocket-11)",fillRule:"evenodd",d:"M171.4 34.8L127.1 79l-3.5-3.4L168 31.3l3.5 3.5zm-19.1-19.1L108 59.9l-3.5-3.4 44.3-44.3 3.5 3.5zM163.6 27l-39 39-7-7 39-39 7 7z",clipRule:"evenodd"})}),(0,fi.jsx)("path",{fill:"#54545E",d:"M141.7 66.7a6.5 6.5 0 10-13.1 0 6.5 6.5 0 0013 0z"}),(0,fi.jsx)("path",{fill:"url(#hero-rocket-12)",stroke:"#EBECF0",strokeWidth:"0.8",d:"M141.7 66.7a6.5 6.5 0 10-13.1 0 6.5 6.5 0 0013 0z"}),(0,fi.jsx)("mask",{id:"hero-rocket-c",width:"14",height:"14",x:"128",y:"60",maskUnits:"userSpaceOnUse",children:(0,fi.jsx)("path",{fill:"#fff",d:"M141.7 66.7a6.5 6.5 0 10-13.1 0 6.5 6.5 0 0013 0z"})}),(0,fi.jsx)("g",{mask:"url(#hero-rocket-c)",children:(0,fi.jsx)("path",{fill:"url(#hero-rocket-13)",fillRule:"evenodd",d:"M171.4 34.8L127.1 79l-3.5-3.4L168 31.3l3.5 3.5zm-19.1-19.1L108 59.9l-3.5-3.4 44.3-44.3 3.5 3.5zM163.6 27l-39 39-7-7 39-39 7 7z",clipRule:"evenodd"})}),(0,fi.jsx)("path",{fill:"#2A2A2A",d:"M135.1 180c13.3 0 24-1.3 24-3s-10.7-3-24-3c-13.2 0-24 1.3-24 3s10.8 3 24 3z",opacity:"0.1"})]}),(0,fi.jsxs)("defs",{children:[(0,fi.jsxs)("linearGradient",{id:"hero-rocket-0",x1:"104.8",x2:"104.8",y1:"71.6",y2:"133.8",gradientUnits:"userSpaceOnUse",children:[(0,fi.jsx)("stop",{stopColor:"#fff",stopOpacity:"0.5"}),(0,fi.jsx)("stop",{offset:"1",stopOpacity:"0.5"})]}),(0,fi.jsxs)("linearGradient",{id:"hero-rocket-1",x1:"165.4",x2:"165.4",y1:"71.6",y2:"133.8",gradientUnits:"userSpaceOnUse",children:[(0,fi.jsx)("stop",{stopColor:"#fff",stopOpacity:"0.5"}),(0,fi.jsx)("stop",{offset:"1",stopOpacity:"0.5"})]}),(0,fi.jsxs)("linearGradient",{id:"hero-rocket-2",x1:"144.5",x2:"114",y1:"74.3",y2:"74.3",gradientUnits:"userSpaceOnUse",children:[(0,fi.jsx)("stop",{stopColor:"#fff",stopOpacity:"0"}),(0,fi.jsx)("stop",{offset:"1",stopOpacity:"0.1"})]}),(0,fi.jsxs)("linearGradient",{id:"hero-rocket-3",x1:"135.1",x2:"135.1",y1:"0",y2:"12.7",gradientUnits:"userSpaceOnUse",children:[(0,fi.jsx)("stop",{stopColor:"#fff",stopOpacity:"0.5"}),(0,fi.jsx)("stop",{offset:"1",stopOpacity:"0.5"})]}),(0,fi.jsxs)("linearGradient",{id:"hero-rocket-4",x1:"136.5",x2:"136.5",y1:"120.8",y2:"157.9",gradientUnits:"userSpaceOnUse",children:[(0,fi.jsx)("stop",{stopColor:"#FF8439"}),(0,fi.jsx)("stop",{offset:"1",stopColor:"#FFC94C"})]}),(0,fi.jsxs)("linearGradient",{id:"hero-rocket-5",x1:"135.9",x2:"135.9",y1:"123.4",y2:"145.7",gradientUnits:"userSpaceOnUse",children:[(0,fi.jsx)("stop",{stopColor:"#FF8439",stopOpacity:"0"}),(0,fi.jsx)("stop",{offset:"1",stopColor:"#FFC94C"})]}),(0,fi.jsxs)("linearGradient",{id:"hero-rocket-6",x1:"135.1",x2:"135.1",y1:"109.3",y2:"122.3",gradientUnits:"userSpaceOnUse",children:[(0,fi.jsx)("stop",{stopOpacity:"0.2"}),(0,fi.jsx)("stop",{offset:"1",stopOpacity:"0"})]}),(0,fi.jsxs)("linearGradient",{id:"hero-rocket-7",x1:"135.1",x2:"135.1",y1:"82.8",y2:"133.8",gradientUnits:"userSpaceOnUse",children:[(0,fi.jsx)("stop",{stopColor:"#fff",stopOpacity:"0.5"}),(0,fi.jsx)("stop",{offset:"1",stopOpacity:"0.5"})]}),(0,fi.jsxs)("linearGradient",{id:"hero-rocket-8",x1:"141.7",x2:"128.6",y1:"34",y2:"34",gradientUnits:"userSpaceOnUse",children:[(0,fi.jsx)("stop",{stopColor:"#fff",stopOpacity:"0.2"}),(0,fi.jsx)("stop",{offset:"1",stopColor:"#fff",stopOpacity:"0"})]}),(0,fi.jsxs)("linearGradient",{id:"hero-rocket-9",x1:"162.4",x2:"139.1",y1:"20.7",y2:"40.4",gradientUnits:"userSpaceOnUse",children:[(0,fi.jsx)("stop",{stopColor:"#EEE"}),(0,fi.jsx)("stop",{offset:"1",stopColor:"#D8D8D8",stopOpacity:"0"})]}),(0,fi.jsxs)("linearGradient",{id:"hero-rocket-10",x1:"141.7",x2:"128.6",y1:"53.6",y2:"53.6",gradientUnits:"userSpaceOnUse",children:[(0,fi.jsx)("stop",{stopColor:"#fff",stopOpacity:"0.2"}),(0,fi.jsx)("stop",{offset:"1",stopColor:"#fff",stopOpacity:"0"})]}),(0,fi.jsxs)("linearGradient",{id:"hero-rocket-11",x1:"160.1",x2:"131.6",y1:"23.5",y2:"50.5",gradientUnits:"userSpaceOnUse",children:[(0,fi.jsx)("stop",{stopColor:"#EEE"}),(0,fi.jsx)("stop",{offset:"1",stopColor:"#D8D8D8",stopOpacity:"0"})]}),(0,fi.jsxs)("linearGradient",{id:"hero-rocket-12",x1:"141.7",x2:"128.6",y1:"73.2",y2:"73.2",gradientUnits:"userSpaceOnUse",children:[(0,fi.jsx)("stop",{stopColor:"#fff",stopOpacity:"0.2"}),(0,fi.jsx)("stop",{offset:"1",stopColor:"#fff",stopOpacity:"0"})]}),(0,fi.jsxs)("linearGradient",{id:"hero-rocket-13",x1:"153",x2:"121.9",y1:"29.9",y2:"63.6",gradientUnits:"userSpaceOnUse",children:[(0,fi.jsx)("stop",{stopColor:"#EEE"}),(0,fi.jsx)("stop",{offset:"1",stopColor:"#D8D8D8",stopOpacity:"0"})]}),(0,fi.jsx)("clipPath",{id:"hero-rocket-0",children:(0,fi.jsx)("path",{fill:"#fff",d:"M0 0h98.2v180H0z",transform:"translate(86)"})})]})]}))};const $4=(0,ji.styled)(I4)({width:"624px","& > div > .airwallex-modal-header > h1 ":{display:"none"},"& > div > .airwallex-modal-body":{padding:0},"& > div > .airwallex-modal-footer":{"::before":{display:"none"},paddingTop:"40px"}}),G4=()=>{const{t:e}=sw(),t=(0,Yh.useHistory)(),n=Xh(),r=Qh((e=>e.navigation.showSelectPricingPlanModal)),o=()=>{n(IS.toggleSelectPlanModal(!1))};return(0,s.useEffect)((()=>{r&&Ko("pricing_plan_modal_show")}),[r]),gi($4,{open:r,isDismissible:!0,isResponsive:!0,onClose:()=>{Ko("pricing_plan_modal_dismiss"),o()},banner:gi("div",{css:(0,$S.AH)({height:150,backgroundImage:"linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.04))",marginBottom:H4.x.xl,paddingTop:H4.x.xl},"",""),children:gi(W4,{})}),header:e("selectAPlanToGetStarted"),footer:vi(M4,{align:"RIGHT",children:[gi(nL,{variant:"SECONDARY",onClick:()=>{(0,jr.sC)()===Jh.en?window.open("https://help.airwallex.com/hc/en-gb/requests/new","_blank","noopener noreferrer"):window.open("https://help.airwallex.com/hc/zh-cn/requests/new","_blank","noopener noreferrer")},children:e("contactSupport")}),gi(nL,{variant:"PRIMARY",onClick:()=>{o(),t.push("/app/plan-billing/manage-plan")},children:e("selectAPlan")})]}),children:e("selectAPlanToGetStartedDesc")})},K4=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=!(0,jr.I)()&&dv(e)?function(e){const t=[vne,wne,Cne,xne,kne,Ene,Sne,One,_ne,Pne,jne,Tne,bne,yne];return!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?t.push({path:["/app1","/app"],exact:!1,redirect:!0,href:pv(e)?"/app/cards":"/app/expenses"}):t.push({path:["/app/*"],exact:!1,redirect:!0,href:"/app"}),t}(e,t):Rne;return(0,jr.I)()?[...Nne,...n]:n},Z4=e=>{var t;let{withRootPathFallback:n=!0}=e;const{initialized:r,account:o,user:i}=Dx(),a=(0,Yh.useHistory)(),{shouldBlockSpendRoutes:s}=eK();return c().useEffect((()=>{var e;r&&null!=o&&null!==(e=o.actionRequiredInfo)&&void 0!==e&&e.isActionRequired&&(async e=>{var t,n;let{account:r,history:o}=e;if(!Vf(r)||null==r||null===(t=r.actionRequiredInfo)||void 0===t||null===(t=t.reasons)||void 0===t||!t.includes("NOT_GRANTED_PERMISSION_TO_PLATFORM"))return;const i=null===(n=If({account:r}))||void 0===n?void 0:n.contentfulSlug;if(i)o.push(`/app/connect/${i}`);else try{const e=await(async()=>{try{return(await eh.get("/v2/user/account/invitation")).data}catch(n){var e,t;return di().isAxiosError(n)&&"ERR_ACCOUNT_VALIDATE_FAILED"===(null===(e=n.response)||void 0===e||null===(e=e.data)||void 0===e?void 0:e.code)?console.warn(`Failed verifying oauth invitation, error: ${null===(t=n.response)||void 0===t||null===(t=t.data)||void 0===t?void 0:t.message}`):console.error(`Failed fetching /v2/user/account/invitation, error: ${(0,ci.M)(n)}`),null}})(),t=null==e?void 0:e.invitationId;if(t){var a;const n=(null==e||null===(a=e.webappTheme)||void 0===a?void 0:a.contentfulSlug)||"account";return void o.push(`/app/connect/${n}?invitationId=${t}`)}if(!r.scaleConnectedPlatformInfo)throw Error("Can not find connected platform info.");o.push(`/app/connect/account?platformId=${r.scaleConnectedPlatformInfo.platformOpenId}`)}catch(e){Ko("get_scale_connect_invitation_error",{message:null==e?void 0:e.message,error:(0,ci.M)(e)}),console.error(`Error occurred when handling action required, error: ${(0,ci.M)(e)}`)}})({account:o,history:a})}),[o,r,a]),r?vi(Yh.Switch,{children:[s&&gi(Yh.Route,{path:"/app/spend",render:()=>gi(Yh.Redirect,{to:"/app"})}),K4((null===(t=i.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions)??[],n).map((e=>gi(zS,{...e},e.path[0])))]}):null};const Y4=e=>e.replace(/\/+$/,"")||"/",X4=e=>{const t=[];return new URLSearchParams(e).forEach(((e,n)=>t.push([n,e]))),t},Q4=[{legacy:"/app/payments/new",new:"/app/transfers/payouts/new"},{legacy:"/app/payments/activity/payments",new:"/app/transfers/payouts/summary"},{legacy:"/app/payments/activity/drafts",new:"/app/transfers/payouts/drafts"},{legacy:"/app/payments/activity/approvalPending",new:"/app/transfers/payouts/approvals"},{legacy:"/app/payments/activity/batch",new:"/app/transfers/payouts/summary"},{legacy:"/app/payments/batch",new:"/app/transfers/batch/new"},{legacy:"/app/dashboard/add-funds",new:"/app/add-funds"},{legacy:"/app/dashboard/receive-money",new:"/app/globalaccount/accounts/new"}],J4=[{legacy:"/app/invoices",new:"/app/billing/invoices"},{legacy:"/app/subscriptions",new:"/app/billing/subscriptions"},{legacy:"/app/billing-customers",new:"/app/billing/customers"}],e3=[{legacy:"/app/spend-overview",new:"/app/spend/overview"},{legacy:"/app/billpay",new:"/app/spend/bills"},{legacy:"/app/vendor",new:"/app/spend/vendors"},{legacy:"/app/purchase-orders",new:"/app/spend/purchase-orders"},{legacy:"/app/spend-requests",new:"/app/s
809pend/requests"},{legacy:"/app/expenses",new:"/app/spend/expenses"},{legacy:"/app/approvals",new:"/app/spend/approvals"}],t3=["/app/approvals/transfers"],n3=(e,t)=>t.map((t=>({...t,new:e}))),r3=[{legacy:"/app/account/profile",settings:"user/profile"},{legacy:"/app/account/profile?tab=notifications",settings:"user/notifications"},{legacy:"/app/account/profile?tab=assistants",settings:"user/assistants"},{legacy:"/app/account/profile?tab=security",settings:"user/password-and-authentication"},{legacy:"/app/account/profile?tab=accounts",settings:"user/profile"},{legacy:"/app/account/settings",settings:"security"},{legacy:"/app/account/statements",settings:"invoice-history"},{legacy:"/app/org/settings",settings:"org"},{legacy:"/app/integrations/home",settings:"connections"},{legacy:"/app/theme",settings:"themes"},{legacy:"/app/plan-billing",settings:"plans-and-billing"},{legacy:"/app/plan-billing/manage-plan",settings:"plans-and-billing/manage-plan"},...n3("/app/business-accounts/overview",[{legacy:"/app/transfers/payouts/settings",settings:"business-accounts/transfers"},{legacy:"/app/approvals/transfers",settings:"business-accounts/transfer-approvals/workflow"},{legacy:"/app/approvals/transfers/changelog",settings:"business-accounts/transfer-approvals/changelog"}]),...n3("/app/spend/overview/home",[{legacy:"/app/cards/card-settings",settings:"spend/cards"},{legacy:"/app/cards/settings",settings:"spend/cards"},{legacy:"/app/expenses/settings",settings:"spend/expenses"},{legacy:"/app/spend/expenses/settings",settings:"spend/expenses"},{legacy:"/app/spend/accounting/settings",settings:"spend/accounting"},{legacy:"/app/spend/bills/settings",settings:"spend/bills"},{legacy:"/app/billpay/settings",settings:"spend/bills"},{legacy:"/app/spend/vendors/settings",settings:"spend/bills"},{legacy:"/app/vendor/settings",settings:"spend/bills"},{legacy:"/app/spend/purchase-orders/settings",settings:"spend/purchase-orders"},{legacy:"/app/purchase-orders/settings",settings:"spend/purchase-orders"},{legacy:"/app/spend/requests/settings",settings:"spend/cards"},{legacy:"/app/spend/approvals/bills",settings:"spend/bills"},{legacy:"/app/approvals/bills",settings:"spend/bills"},{legacy:"/app/spend/approvals/vendors",settings:"spend/bills"},{legacy:"/app/approvals/vendors",settings:"spend/bills"},{legacy:"/app/spend/approvals/spend-requests",settings:"spend/cards"},{legacy:"/app/approvals/spend-requests",settings:"spend/cards"},{legacy:"/app/spend/approvals/purchase-requests",settings:"spend/purchase-orders"},{legacy:"/app/approvals/purchase-requests",settings:"spend/purchase-orders"},{legacy:"/app/spend/approvals/card-expenses",settings:"spend/expenses"},{legacy:"/app/approvals/card-expenses",settings:"spend/expenses"},{legacy:"/app/spend/approvals/reimbursements",settings:"spend/expenses"},{legacy:"/app/approvals/reimbursements",settings:"spend/expenses"}]),...n3("/app/org-acquiring/dashboard",[{legacy:"/app/org-acquiring/dynamic-surcharge",settings:"payments/surcharges"}]),...n3("/app/billing/dashboard",[{legacy:"/app/billing/settings",settings:"billing/general"},{legacy:"/app/billing/settings/general",settings:"billing/general"},{legacy:"/app/billing/settings/communications",settings:"billing/customer-communications"},{legacy:"/app/billing/settings/tax",settings:"billing/tax"}])],o3=["/app","/app/","/app1","/app1/"],i3=[{permission:"r:awx:core_banking.wallet.balances.*:*",path:"/app/wallet/balances",memberShip:e=>(null==e?void 0:e.length)>0},{permission:"r:awx:system.groups.*:*",path:"/app/account/group-management",memberShip:()=>!0},{permission:"r:awx:uam.users.*:*",path:"/app/uam/users",memberShip:()=>!0},{permission:"r:awx:pa.payment.*:*",path:"/app/acquiring/list",memberShip:()=>!0},{permission:"r:awx:pa.dispute.*:*",path:"/app/acquiring/dispute/list/need-response",memberShip:()=>!0}],a3="/applegacy",s3=e=>{let{initialized:t,isReinitializing:n=!1}=e;const r=Sb(),o=(0,Yh.useHistory)(),i=Qh((e=>{var t;return null===(t=e.accountGroup)||void 0===t?void 0:t.members})),a=Qh(oy),l=Qh(Jv),c=function(){const{org:e}=Dx(),[t]=function(){const[e,t,n]=Iy(yV);return[e,n,t]}(),n=function(e){var t,n,r;const o=lK(),i=(null===(t=Qh(Jv))||void 0===t?void 0:t.isBusinessAccountsEnabled)??!1;return o.length<1?null:1===o.length?(null===(a=o[0].links.find((e=>!(i&&e.id===g$))))||void 0===a?void 0:a.href)??null:"account"===e?(null===(s=o[1].links[0])||void 0===s?void 0:s.href)??null:(null===(n=o[0].links[0])||void 0===n?void 0:n.href)??(null===(r=o[1].links[0])||void 0===r?void 0:r.href)??null;var a,s}(t??"org"),r=Qh(ny),{spendBillpayDualOnboardingShowSpend:o=!1}=hn(),i=Qh((e=>{var t,n;return null===(t=e.user.data)||void 0===t||null===(t=t.roles)||void 0===t||null===(n=t.some)||void 0===n?void 0:n.call(t,(e=>e.id===xv))}));return e?!(!o&&!r)&&(n||!i&&Nf[0]):null}();(0,s.useEffect)((()=>{t&&wV()}),[t]);const u=Q4.find((e=>window.location.pathname.includes(e.legacy)));if(u)return window.location.replace(`${u.new}${window.location.search}`),null;if((()=>{const{pathname:e}=window.location;return!(e!==a3&&!e.startsWith(`${a3}/`)||(window.location.replace("/app"),0))})())return null;if(t&&!n){var d;if(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.location.replace;if((0,jr.mg)()&&["/app1/dashboard","/app/dashboard",Cb.ORG,Cb.ACCOUNT,Cb.ORG_ACCOUNT_OVERVIEW,...o3].includes(window.location.pathname)){const r=i3.f
809ind((n=>{let{permission:r,memberShip:o}=n;return Kr(t,r)&&o(e)}));return n((null==r?void 0:r.path)??"/app/uam/no-permission"),!0}return!1}(i,a,o.replace))return null;if((e=>{let{pathname:t,redirectUrl:n,landingPagePathToUse:r,dashboardUrl:o,push:i,replace:a}=e;return!(!o3.includes(t)||(n?(a(n),0):r?(i(r),0):(!1===r||i(o),0)))})({pathname:window.location.pathname,redirectUrl:null===(d=o.location.state)||void 0===d?void 0:d.redirectUrl,landingPagePathToUse:c,dashboardUrl:r,push:o.push,replace:o.replace}))return null;if((()=>{const{pathname:e,search:t}=window.location;if(e.includes("/app1"))return window.location.replace(e.replace("/app1","/app")+t),!0;const n=J4.find((t=>e.includes(t.legacy)));return!!n&&(window.location.replace(`${e.replace(n.legacy,n.new)}${t}`),!0)})())return null;if((()=>{const{pathname:e,search:t}=window.location,n=e3.find((t=>e.includes(t.legacy))),r=t3.find((t=>e.includes(t)));return!(!n||r||(window.location.replace(`${e.replace(n.legacy,n.new)}${t}`),0))})())return null;if((()=>{const{pathname:e}=window.location;return e.includes("/app/profile")?(window.location.replace("/app/account/profile"),!0):!!e.includes("/developer/apikeys")&&(window.location.replace("/app/account/apiKeys"),!0)})())return null;if((e=>{let{mappings:t,isBusinessAccountsEnabled:n,landingPage:r}=e;if(!n)return!1;const{pathname:o,search:i}=window.location,a=((e,t,n)=>{const r=Y4(e),o=new URLSearchParams(t),i=n.map((e=>{const{legacy:t}=e,[n,r=""]=t.split("?");return{mapping:e,path:Y4(n),params:X4(r)}})).filter((e=>e.path===r)).filter((e=>e.params.every((e=>{let[t,n]=e;return o.get(t)===n})))).sort(((e,t)=>t.params.length-e.params.length))[0];return(null==i?void 0:i.mapping)??null})(o,i,t);if(null===a)return!1;const s=a.new??r;if("string"!=typeof s||Nf.includes(s))return!1;const l=new URL(s,window.location.origin);return l.searchParams.set("settings",a.settings),window.location.replace(`${l.pathname}${l.search}`),!0})({mappings:r3,isBusinessAccountsEnabled:(null==l?void 0:l.isBusinessAccountsEnabled)??!1,landingPage:c}))return null}return null},{breakpoint:l3}=vj,c3=ji.styled.div` 810 display: flex; 811 flex: 1; 812 flex-direction: column; 813 // Use dvh to prevent the footer from being cut off on iOS devices 814 // fallback to 100vh on devices that don't support dvh 815 height: 100vh; 816 height: 100dvh; 817`,u3=ji.styled.div((e=>{let{theme:t}=e;return{display:"flex",flex:1,background:t.tokens.colors.bg.area.primary,height:"auto",flexDirection:"row",[l3.s]:{flexDirection:"column"},overflow:"hidden",position:"relative"}})),d3=ji.styled.div((()=>({display:"flex",flex:1,minHeight:"100vh",background:yQ.white,height:"auto",flexDirection:"row",[l3.s]:{flexDirection:"column"}}))),p3=ji.styled.div((e=>{let{showNav:t}=e;return{display:"flex",flexDirection:"column",flex:1,overflow:"auto",height:"100vh",position:"relative",[l3.s]:{marginLeft:0,marginTop:t?64:0}}})),f3=ji.styled.div((()=>({display:"flex",flexDirection:"column",flex:1,overflow:"auto",scrollbarGutter:"stable",width:"100%"}))),h3=(0,kI.A)("div",{target:"evzlxu1"})({backgroundColor:"#D0D4D9",padding:7,width:"100%",display:"flex",justifyContent:"center",alignItems:"center",position:"sticky",top:0,zIndex:qK.f.header},""),m3=(0,kI.A)(bY,{target:"evzlxu0"})({name:"1f1aa3e",styles:"color:#14171A;text-decoration:underline;&:hover{color:#14171A;text-decoration:underline;}"}),g3=e=>{let{onHeightChange:t}=e;const{setSandboxBannerHeight:n}=Qx(),r=(0,s.useRef)(null),o=(0,s.useCallback)((e=>{n(e),null==t||t(e)}),[n,t]);return(0,s.useEffect)((()=>{const e=()=>{if(r.current){const e=r.current.offsetHeight;o(e)}};e();const t=new ResizeObserver(e);return r.current&&t.observe(r.current),()=>{t.disconnect()}}),[o]),gi(h3,{ref:r,children:gi(tB,{variant:"hint",children:gi(iw,{i18nKey:"sandbox.banner.text",components:{getStartedLink:gi(m3,{href:"https://www.airwallex.com/app/login"})}})})})},v3=()=>{const e="undefined"!=typeof window&&!!window.Cypress;return("demo"===bo.environment||"preview"===bo.environment)&&!e},y3=()=>{var e;const[t,n]=(0,s.useState)(!1),r=Qh((e=>e.user)),o=Qh((e=>e.account)),i=Qh((e=>e.accountGroup)),a=Qh((e=>e.org)),l=em(),c=Qh((e=>{var t;return null===(t=e.account.kycRecord)||void 0===t?void 0:t.status})),u=hn(),d=null===(e=r.data)||void 0===e||null===(e=e.user)||void 0===e?void 0:e.id,p=(0,s.useMemo)((()=>{var e,t;const n={};return null!=o&&o.id&&(n.account_id=o.id),null!=i&&i.id&&(n.account_group_id=i.id),n.org_id=(null===(e=a.data)||void 0===e?void 0:e.id)||"",c&&(n.account_kyc_status=c),l&&(n.lang_key=l),n.cards_in_org=Ix(a.data,u.spendCardsCardsMovedToOrg)?"true":"false",n.feature_business_accounts=null!==(t=a.data)&&void 0!==t&&t.isBusinessAccountsEnabled?"true":"false",n}),[null==o?void 0:o.id,null==i?void 0:i.id,a.data,c,l,u.spendCardsCardsMovedToOrg]);return(0,s.useEffect)((()=>
817{if(d&&(()=>{const e=om();if("boolean"==typeof e.statistics)return e.statistics;const t=(0,jr.gI)();return!t||!am(t)})()){const e=((e,t)=>{var n;return!(!(e=>zo.has(e))(t)||!Oo[t]||!Vo[t]||(Co().init(Oo[t],Vo[t]),window.LOGROCKET_INITIALIZED=!0,Co().identify(e,{device_id:(0,jr.IP)(),remember_me_last_mode:(0,jr.D1)()||"",country_code:(0,jr.gI)()||"",airtracker_session_id:null==zr||null===(n=zr.commonData)||void 0===n?void 0:n.sessionId}),Co().getSessionURL((e=>{Qo({logrocket_session_url:e})})),0))})(d,bo.environment);n(e)}}),[d]),(0,s.useEffect)((()=>{t&&d&&Object.keys(p).length>0&&Co().identify(d,p)}),[t,d,p]),null};var b3=n(59007);const w3=["/app/integrations","/app/login","/app/login-auth","/app/auth","/app/request2fa","/app/post-auth","/app/oauth","/app/oauth2","/app/uam/psd2/auth","/app/login/accept-invitation","/app/invitation","/app/uam/invite-expired","/app/rfi/invitation","/app/kyc/task/ppta-authorization/authorize","/app/signup","/app/confirmation"],x3=e=>{let{children:t,isBusinessAccountsEnabled:n}=e;const{pathname:r}=(0,Yh.useLocation)(),{updateTopNav:o}=Qx(),i=Boolean((0,Yh.matchPath)(r,{path:"/app/:applicationPath"})),a=Boolean((0,Yh.matchPath)(r,{path:w3}));return i&&!a?gi(b3.J1,{updateTopNav:o,isBusinessAccountsEnabled:n,children:t}):gi(mi,{children:t})},k3=Rx((()=>{const{isEligible:e,isLoading:t}=tH(),n=v3(),[r,o]=U4(),{initialized:i,org:a,isReinitializing:s}=Dx(),l=Qh(iH),c=(0,lR.W6)(),u=xV(),d=hn(),p=Qh(Jv),f=!CS()||"/app"===window.location.pathname,h=!i||s&&!kS(window.location.pathname);if(Ur("awx:switch-context-without-reload",(async e=>{const t=e.detail.orgId,n=e.detail.accountId,r=e.detail.redirectUrl;if(!n&&!t)return;if(n===(0,jr.PU)()&&e.detail.redirectUrl)return void c.push(e.detail.redirectUrl??"/app");const o=t&&n?{parent:{id:t,type:"org"},target:{id:n,type:"account"}}:t?{target:{id:t,type:"org"}}:{target:{id:n,type:"account"}};await u(o,r)})),window.location.hash)return window.location.assign(`${window.location.pathname}${window.location.hash.replace("#","")}${window.location.search}`.replace("//","/")),null;const m=n&&!(e&&d.finosCopilotHideSandboxBanner&&!t),g=(null==p?void 0:p.isBusinessAccountsEnabled)??!1;return gi(Xx,{children:gi(WS,{children:vi(c3,{children:[m&&gi(g3,{}),vi(u3,{children:[i&&gi(y3,{}),i&&void 0===window.Cypress&&"FAILURE"!==l&&gi(hK,{applicationName:"announcement"}),!t&&gi(hK,e?{applicationName:"finos-copilot"}:{applicationName:"customer-support"}),gi(G4,{}),gi(hK,{applicationName:"pre-org-migration-review"}),i&&gi(hK,{applicationName:"analytics"}),i&&g&&gi(hK,{applicationName:"settings-container"}),gi(B4,{}),f&&gi(ia,{"data-test":"navigation_wrapper",children:gi(rZ,{})}),gi(f3,{id:"content","data-test":"content_wrapper",children:h?gi(oa,{}):vi(mi,{children:[gi(X5,{extraContent:f&&gi(DX,{})}),i&&gi(x3,{isBusinessAccountsEnabled:g,children:gi(Z4,{withRootPathFallback:!a})}),gi(s3,{initialized:i,isReinitializing:s})]})}),!o&&gi(AQ,{forceLogoutConfig:r,disableForceLogout:n})]})]})})})})),C3={belowMobileMax:"(max-width: 719px)",belowTabletMax:"(max-width: 1199px)",atLeastDocked:"(min-width: 1366px)",atLeastDisplay:"(min-width: 2420px)"},E3=(0,s.createContext)(null);function S3(e){let{children:t}=e;const n=vL("(pointer: coarse), (hover: none)"),r=vL(C3.belowMobileMax),o=vL(C3.belowTabletMax),i=vL(C3.atLeastDocked),a=vL(C3.atLeastDisplay),l=(0,s.useMemo)((()=>({breakpoint:n?r?"mobile":o?"tablet":"wideTablet":"desktop",isTouch:n,displayWidth:r?"narrow":o?"medium":"wide",isBelowMobileMax:r,isAtLeastDocked:i,isAtLeastDisplay:a})),[n,r,o,i,a]);return gi(E3.Provider,{value:l,children:t})}function O3(){const e=(0,s.useContext)(E3);if(!e)throw new Error("useAppShellViewport must be used within an AppShellViewportProvider");return e}const A3=(0,s.createContext)(null);function _3(e){let{children:t}=e;const{variant:n,dim:r,defaultDocked:o,alwaysDocked:i}=function(){const{isTouch:e,isAtLeastDocked:t,isAtLeastDisplay:n}=O3();return{variant:e?"touch":"click",dim:e&&!t,defaultDocked:!e&&t,alwaysDocked:!e&&n}}(),[a,l]=(0,s.useState)("touch"===n&&!r),c=(0,s.useCallback)((()=>{l((e=>!e))}),[]),u=(0,s.useMemo)((()=>({variant:n,dim:r,defaultDocked:o,alwaysDocked:i,open:a,setOpen:l,toggleOpen:c})),[n,r,o,i,a,c]);return gi(A3.Provider,{value:u,children:t})}function P3(){const e=(0,s.useContext)(A3);if(!e)throw new Error("useConnectedSideNavOpenState must be used within a ConnectedSideNavStateProvider");return e}const j3=e=>({isLight:!1,background:e.colors.grays[80],color:e.colors.grays[30],hoverBackgroun
817d:e.colors.grays[70],hoverText:e.colors.white,scrollbar:e.colors.grays[60],divider:e.colors.grays[60],controlIcon:e.colors.grays[40],controlIconHover:e.semanticColors.icon.inverse,focusRing:e.colors.white}),T3=e=>({isLight:!0,background:e.colors.grays[10],color:e.semanticColors.text.secondary,hoverBackground:e.colors.grays[20],hoverText:e.semanticColors.text.primary,scrollbar:e.colors.grays[20],divider:e.colors.grays[30],controlIcon:e.semanticColors.icon.secondary,controlIconHover:e.semanticColors.icon.primary,focusRing:e.semanticColors.text.primary}),I3=e=>({...T3(e),background:e.colors.purples[10],hoverBackground:e.semanticColors.background.selected,selectedText:e.semanticColors.text.link}),L3=(e,t)=>({...e,background:t.nav.background,color:t.nav.item.color,hoverBackground:t.nav.button.hover.background,hoverText:t.nav.item.hover.color,selectedText:t.nav.item.selected.color,scrollbar:t.nav.button.hover.background,controlIcon:t.nav.item.color,controlIconHover:t.nav.item.hover.color});function N3(e,t){switch(t){case"light":return T3(e);case"assistant":return I3(e);case"pba_light":return L3(T3(e),e);case"pba_dark":return L3(j3(e),e);default:return j3(e)}}function R3(e){let{children:t,themeVariant:n="dark"}=e;return gi(Pi.NP,{theme:e=>({...e,sideNav:N3(e,n)}),children:t})}const D3=ji.styled,F3=e=>({isLight:!1,background:e.colors.grays[80],color:e.colors.grays[30],hoverBackground:e.colors.grays[70],hoverText:e.colors.white,divider:e.colors.grays[60],scrollbar:e.colors.grays[60],checkColor:e.colors.white}),M3=e=>({isLight:!0,background:e.colors.grays[10],color:e.colors.grays[70],hoverBackground:e.colors.grays[20],hoverText:e.semanticColors.text.primary,divider:e.colors.grays[30],scrollbar:e.colors.grays[60],checkColor:e.semanticColors.icon.primary}),B3=(e,t)=>({...e,background:t.nav.background,color:t.nav.item.color,hoverBackground:t.nav.button.hover.background,hoverText:t.nav.item.hover.color,scrollbar:t.nav.button.hover.background,divider:t.nav.subMenuLine,checkColor:t.nav.item.selected.color||t.nav.item.hover.color});function V3(e,t){switch(t){case"dark":return F3(e);case"pba_light":return B3(M3(e),e);case"pba_dark":return B3(F3(e),e);default:return M3(e)}}function z3(e){let{children:t,themeVariant:n="dark"}=e;return gi(Pi.NP,{theme:e=>({...e,switcherPopup:V3(e,n)}),children:t})}const U3=ji.styled,H3=ji.useTheme,q3='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';function W3(e){return e?Array.from(e.querySelectorAll(q3)):[]}function $3(e,t){return null!==t&&Boolean(null==e?void 0:e.contains(t))}function G3(e){let{open:t,onClose:n,focusOnOpen:r=!1}=e;const o=(0,s.useRef)(null),i=(0,s.useRef)(null),a=(0,s.useRef)(n),l=(0,s.useRef)(t),c=(0,s.useRef)(null),u=(0,s.useRef)(!1),d=(0,s.useRef)(!1),p=(0,s.useRef)(!1),f=(0,s.useRef)(null),[h,m]=(0,s.useState)(null),g=e=>$3(o.current,e)||$3(i.current,e);(0,s.useLayoutEffect)((()=>{a.current=n,l.current=t}),[n,t]);const v=()=>{var e;null===(e=W3(o.current)[0])||void 0===e||e.focus()},y=()=>{l.current=!1,c.current="pointer",a.current()};(0,s.useLayoutEffect)((()=>{const e=()=>{const e=o.current;if(!e)return;const t=e.getBoundingClientRect();m({top:t.top,left:t.left,width:t.width,height:t.height})};if(e(),!t)return;window.addEventListener("resize",e),window.addEventListener("scroll",e,!0);const n=o.current;let r=null;return n&&"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(e),r.observe(n)),()=>{var t;window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0),null===(t=r)||void 0===t||t.disconnect()}}),[t]),(0,s.useEffect)((()=>{if(!t)return;const e=()=>{u.current=!0},n=e=>{u.current=!1,g(e.target)||y()},r=e=>{var t;if("Escape"===e.key)return e.preventDefault(),e.stopPropagation(),c.current="keyboard",a.current(),void v();if("ArrowDown"!==e.key&&"ArrowUp"!==e.key)return;if(!g(e.target))return;const n=W3(i.current);if(0===n.length)return;e.preventDefault(),e.stopPropagation();const r=n.findIndex((e=>e===document.activeElement));var o;-1!==r?null===(t=n[(r+("ArrowDown"===e.key?1:-1)+n.length)%n.length])||void 0===t||t.focus():null===(o=n["ArrowDown"===e.key?0:n.length-1])||void 0===o||o.focus()};return document.addEventListener("pointerdown",e),document.addEventListener("click",n),document.addEventListener("keydown",r),()=>{document.removeEventListener("pointerdown",e),document.removeEventListener("click",n),document.removeEventListener("keydown",r)}}),[t]),(0,s.useLayoutEffect)((()=>{t?r&&!d.current&&i.current&&((i.current.querySelector("input:not([disabled]), textarea:not([disabled])")??i.current).focus(),d.current=!0):d.current=!1}));const b=e=>{if(!l.current||u.current)return;const t=e.relatedTarget;g(t)||(t?y():(null!==f.current&&cancelAnimationFrame(f.current),f.current=requestAnimationFrame((()=>{f.current=null,!l.current||u.current||g(document.activeElement)||y()}))))};return(0,s.useLayoutEffect)((()=>
817{if(t)return void(p.current=!0);if(null!==f.current&&(cancelAnimationFrame(f.current),f.current=null),!p.current)return;p.current=!1;const e=c.current;c.current=null,"pointer"!==e&&v()}),[t]),{rootProps:{ref:o,onBlur:b},panelProps:{ref:i,onBlur:b},anchorRect:h}}const K3=ji.styled.div({position:"relative",width:"100%"}),Z3=(0,ji.styled)("div",{shouldForwardProp:e=>!["anchorTop","anchorLeft","anchorWidth","anchorHeight"].includes(e)})((e=>{let{theme:t,anchorTop:n,anchorLeft:r,anchorWidth:o,anchorHeight:i}=e;return{position:"fixed",top:n,left:r,width:o,height:i,zIndex:t.zIndex.modal+1,pointerEvents:"none","& > *":{pointerEvents:"auto"}}})),Y3=ji.styled.div({height:"100%",width:252,overflow:"hidden",display:"flex",flexDirection:"column",gap:8,padding:"8px 2px"}),X3=U3("div",{shouldForwardProp:e=>"open"!==e})((e=>{let{theme:t,open:n}=e;return{position:"absolute",top:"calc(100% + 4px)",left:0,zIndex:t.zIndex.modal+1,maxHeight:"calc(100dvh - 56px - 4px - 8px)",display:n?"flex":"none",flexDirection:"column",borderRadius:12,boxShadow:t.shadows[300],background:t.switcherPopup.background,color:t.switcherPopup.color}}));function Q3(e){let{trigger:t,open:n,panelContent:r,title:o,onClose:i,themeVariant:a="dark"}=e;const{rootProps:s,panelProps:l,anchorRect:c}=G3({open:n,onClose:i,focusOnOpen:!0}),u=function(e){switch(e){case"dark":case"pba_dark":case"pba_light":return e;default:return"light"}}(a);return gi(R3,{themeVariant:a,children:vi(K3,{...s,children:[t,c&&(0,la.createPortal)(gi(Z3,{"data-test":"org-switcher-desktop-portal-anchor",anchorTop:c.top,anchorLeft:c.left,anchorWidth:c.width,anchorHeight:c.height,children:gi(z3,{themeVariant:u,children:gi(X3,{...l,role:"dialog","aria-label":o,open:n,tabIndex:-1,children:gi(Y3,{children:r})})})}),document.body)]})})}const J3=ji.styled.div({flex:1,overflow:"hidden",display:"flex",flexDirection:"column",gap:8,padding:"0 4px 8px 4px"});function e7(e){let{trigger:t,open:n,panelContent:r,title:o,onClose:i,portalContainer:a,themeVariant:s="dark"}=e;return vi(R3,{themeVariant:s,children:[t,gi(z3,{themeVariant:"light",children:gi(I4,{isOpen:n,onOpenChange:e=>{e||i()},header:o,enableBodyPadding:!1,parentSelector:a?()=>a:void 0,children:gi(J3,{children:r})})})]})}const t7=D3.div({display:"flex",alignItems:"center",width:"100%",minWidth:0,paddingLeft:2,height:40}),n7=D3.div((e=>{let{theme:t}=e;return{width:34,height:34,borderRadius:12,flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",fontSize:16,lineHeight:"30px",color:t.sideNav.isLight?t.sideNav.color:t.colors.white,background:"transparent"}}));function r7(e){var t;let{text:n}=e;const r=(null===(t=[...n.trim()][0])||void 0===t?void 0:t.toUpperCase().charAt(0))??"";return gi(t7,{"data-test":"org-switcher-avatar",children:gi(n7,{children:r})})}const o7={variant:"click",docked:!0,open:!0,fullyExpanded:!0},i7=(0,s.createContext)(o7),a7=i7.Provider;function s7(){const e=(0,s.useContext)(i7);return(0,s.useMemo)((()=>({...e,fullyExpanded:e.fullyExpanded??e.open})),[e])}const l7=D3("button",{shouldForwardProp:e=>"active"!==e})((e=>{let{theme:t,active:n}=e;return{width:"100%",height:40,minHeight:40,maxHeight:40,display:"flex",alignItems:"center",padding:"4px 8px",border:`1px solid ${t.sideNav.hoverBackground}`,borderRadius:12,cursor:"pointer",textAlign:"start",background:n?t.sideNav.hoverBackground:"transparent",color:n?t.sideNav.selectedText??t.sideNav.hoverText:t.sideNav.color,outline:"none",overflow:"hidden",boxSizing:"border-box",flexShrink:0,":hover, :focus-visible":{background:t.sideNav.hoverBackground,color:t.sideNav.hoverText}}})),c7=D3(tB)({flex:"1 1 auto",minWidth:0,minHeight:0,color:"inherit",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:2,lineHeight:"15px",maxHeight:30,wordBreak:"break-word"}),u7=D3(xI,{shouldForwardProp:e=>"active"!==e})((e=>{let{active:t}=e;return{flexShrink:0,transform:t?"rotate(180deg)":"none",transition:"transform 150ms ease"}}));function d7(e){let{line1:t,active:n=!1,onClick:r}=e;const{t:o}=sw();return vi(l7,{type:"button","aria-label":o("accountSwitch.accountSwitcherLabel"),"aria-expanded":n,active:n,onClick:r,children:[gi(c7,{as:"span",variant:"body",children:t}),gi(u7,{active:n,size:16})]})}function p7(e){let{line1:t,active:n=!1,onClick:r}=e;const{open:o}=s7();return o?gi(d7,{line1:t,active:n,onClick:r}):gi(r7,{text:t})}function f7(){return f7=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f7.apply(this,arguments)}var h7=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",f7({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M24.873 7.54583C25.4195 6.92326 26.3667 6.86164 26.9892 7.40813C27.6118 7.95464 27.6734 8.90176 27.1269 9.52435L14.8389 23.5243C14.5527 23.8504 14.1389 24.0368 13.7051 24.0351C13.2711 24.0332 12.8587 23.8431 12.5752 23.5146L5.86424 15.7372C5.32308 15.11 5.39329 14.1632 6.02049 13.622C6.6477 13.0809 7.59455 13.1501 8.13573 13.7773L13.7207 20.2499L24.873 7.54583Z",fill:n})]}))}));const m7=U3.button` 818 appearance: none; 819 border: none; 820 padding: 0px; 821 background: none; 822 outline: none; 823 width: 100%; 824 color: inherit; 825 text-align: start; 826`,g7=U3("div",{shouldForwardProp:e=>"selected"!==e})((e=>{let{theme:t,selected:n}=e;return{minHeight:"fit-content",padding:"6px 12px",display:"flex",alignItems:"center",borderRadius:6,cursor:"pointer",color:t.switcherPopup.color,background:"transparent",":hover, :focus-within":{background:t.switcherPopup.hoverBackgroun
826d,color:t.switcherPopup.hoverText},...n&&{background:t.switcherPopup.hoverBackground,color:t.switcherPopup.hoverText}}})),v7=U3(m7)({flex:"1 1 auto",minWidth:0,width:"auto",height:"fit-content",padding:0,display:"flex",alignItems:"center",background:"transparent",cursor:"pointer",":hover":{background:"transparent"}}),y7=U3.div({flex:"1 1 auto",overflow:"hidden",minWidth:0}),b7=U3.div((e=>{let{theme:t}=e;return{color:t.switcherPopup.hoverText}})),w7=U3.div((e=>{let{theme:t}=e;return{marginTop:2,color:t.switcherPopup.color}})),x7=U3(tB)({display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,width:"100%"}),k7=U3(tB)({display:"block",overflowWrap:"break-word",wordBreak:"break-word",minWidth:0,width:"100%"}),C7=U3("mark")((e=>{let{theme:t}=e;return{color:t.switcherPopup.hoverText,backgroundColor:t.switcherPopup.hoverBackground,borderRadius:t.radius.s}})),E7=U3.div((e=>{let{theme:t}=e;return{marginLeft:8,flexShrink:0,display:"flex",alignItems:"center",color:t.switcherPopup.checkColor}}));function S7(e){const{item:t,selected:n,highlightSearchWord:r,className:o,onClick:i}=e,{heading1:a,heading2:l}=t,[c,u]=(0,s.useState)(!1),d=(0,s.useRef)(null);(0,s.useLayoutEffect)((()=>{u(function(e){const t=null==e?void 0:e.firstElementChild;return t instanceof HTMLElement&&t.scrollWidth>t.offsetWidth}(d.current))}));const p=gi(b7,{children:gi(k7,{variant:n?"bodyEmphasis":"body",children:r?gi(rB(),{searchWords:[r],autoEscape:!0,textToHighlight:a,highlightTag:C7}):a})}),f=l&&gi(w7,{ref:d,children:gi(x7,{as:"span",variant:"hint",children:l})}),h=l&&gi(KM,{content:gi(tB,{variant:"hint",children:l}),position:"right",children:f});return gi(g7,{selected:n,className:o,children:vi(v7,{type:"button",role:"option","aria-selected":n,onClick:i,children:[vi(y7,{children:[p,c?h:f]}),n&&gi(E7,{children:gi(h7,{size:16})})]})})}const O7=U3(fV)({boxSizing:"border-box",width:"100%",padding:"0 8px"});function A7(e,t){return e({"& > div":{backgroundColor:"transparent",borderColor:t.divider},"& > div:hover":{backgroundColor:"transparent"},"& > div:has(> input:focus-within)":{backgroundColor:"transparent",borderColor:t.divider,outline:"none"},"& > div svg":{color:t.color},"& > div > input":{color:t.hoverText},"& > div > input::placeholder":{color:t.color}})}const _7=(0,s.forwardRef)((function(e,t){let{value:n,onChange:r,onFocus:o,onBlur:i,onKeyDown:a}=e;const{t:s}=sw(),{switcherPopup:l}=H3(),c=s("accountSwitch.searchOrgs");return gi(Pi.Z2,{children:e=>{let{css:s}=e;return gi(O7,{ref:t,name:"search",size:"medium",autoComplete:"off",label:c,hideLabel:!0,placeholder:c,iconBefore:gi(TB,{}),value:n,onChange:r,onFocus:o,onBlur:i,onKeyDown:e=>{n&&["ArrowLeft","ArrowRight"].includes(e.key)||null==a||a(e)},borderRadius:"4px",inputWrapperClassname:A7(s,l)})}})})),P7=U3.div({flexGrow:1,minHeight:0,display:"flex",flexDirection:"column",gap:8}),j7=U3("div",{shouldForwardProp:e=>"isScrolling"!==e})((e=>{let{theme:t,isScrolling:n}=e;return{flexGrow:1,minHeight:0,padding:2,overflowY:"auto",overflowX:"hidden",overflow:"overlay",scrollbarGutter:"stable both-edges",display:"flex",flexDirection:"column",gap:8,"&::-webkit-scrollbar":{WebkitAppearance:"none"},"&::-webkit-scrollbar:vertical":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{width:4,borderRadius:4,backgroundColor:n?t.switcherPopup.scrollbar:"transparent",border:"2px solid transparent",backgroundClip:"padding-box",transition:"background-color 300ms ease"},"&::-webkit-scrollbar-track":{backgroundColor:"transparent"}}})),T7=U3.div({padding:"6px 12px",display:"flex",alignItems:"center"}),I7=U3.div({flex:"1 1 auto",minWidth:0,display:"flex",flexDirection:"column",gap:4}),L7=U3.div({padding:"24px 8px 16px",textAlign:"center"}),N7=U3(tB)((e=>{let{theme:t}=e;return{color:t.switcherPopup.hoverText}})),R7=U3(tB)((e=>{let{theme:t}=e;return{color:t.switcherPopup.color}})),D7=800;function F7(e){let{items:t,isSearchEnabled:n=!0,filterText:r,onFilterTextChange:o,onSelectItem:i,label:a}=e;const{t:l}=sw(),{isScrolling:c,onScroll:u}=function(){const[e,t]=(0,s.useState)(!1),n=(0,s.useRef)();return(0,s.useEffect)((()=>()=>clearTimeout(n.current)),[]),{isScrolling:e,onScroll:()=>{t(!0),n.current&&clearTimeout(n.current),n.current=setTimeout((()=>{t(!1)}),D7)}}}(),d=0===t.length&&r.trim().length>0;return vi(P7,{children:[n&&gi(_7,{value:r,onChange:o}),gi(j7,{role:"listbox","aria-label":a,onScroll:u,isScrolling:c,children:d?vi(L7,{children:[gi(N7,{variant:"bodyEmphasis",children:l("accountSwitch.noResultsFound")}),gi(R7,{children:l("accountSwitch.trySearchingWithDifferentKeywords")})]}):t.map((e=>gi(s.Fragment,{children:gi(S7,{item:e,selected:e.selected,highlightSearchWord:r,onClick:()=>i(e)})},e.id)))})]})}const M7=["row-1","row-2","row-3","row-4","row-5","row-6"];function B7(){const{t:e}=sw();return gi(_N,{label:e("skeleton.loadingAccountSwitcher"),children:M7.map((e=>gi(T7,{children:vi(I7,{children:[gi(CN,{width:180,height:16}),gi(CN,{width:110,height:14})]})},e)))})}function V7(e){return"org"===e.type}function z7(e){return{id:e.id,type:e.type,heading1:e.heading1,heading2:e.heading2}}const U7=6;function H7(){const{t:e}=sw(),{fullyExpanded:t}=s7(),n="mobile"===function(){const{isBelowMobileMax:e}=O3();return e?"mobile":"desktop"}(),r=tZ(),{line1:o}=JL(),{data:i,selectableItems:a,listItems:l,canOpenSwitcher:c,loading:u,refetch:d}
826=function(){const{pffAppShellSwitcherOrgsOnly:e=!1}=hn(),{data:t,loading:n,refetch:r}=MV(),o=(0,s.useMemo)((()=>e?t.filter(V7):t),[t,e]),i=(0,s.useMemo)((()=>o.map(z7)),[o]);return{data:t,selectableItems:o,listItems:i,loading:n,canOpenSwitcher:o.length>1,refetch:r}}(),p=function(e){const t=Qh((e=>{var t;return null===(t=e.org.data)||void 0===t?void 0:t.id})),n=sR({data:e});return n&&null!=e&&e.some((e=>e.id===n.id))?n.id:t??null}(i),{isOpen:f,close:h,toggle:m}=function(){const[e,t]=(0,s.useState)(!1);return{isOpen:e,close:(0,s.useCallback)((()=>{t(!1)}),[]),toggle:(0,s.useCallback)((()=>{t((e=>!e))}),[])}}(),{isSearchEnabled:g,filterText:v,onFilterTextChange:y,filteredItems:b}=function(e){let{items:t,visible:n}=e;const{filterText:r,setFilterText:o,filteredItems:i}=function(e){const[t,n]=(0,s.useState)(""),r=(0,s.useMemo)((()=>e.filter((e=>function(e,t){return e.heading1.toLowerCase().includes(t.toLowerCase())}(e,t)))),[e,t]);return{filterText:t,setFilterText:n,filteredItems:r}}(t),a=t.length>=U7,l=function(e){const t=(0,s.useRef)(e);(0,s.useEffect)((()=>{t.current=e}),[e]);const n=(0,s.useMemo)((()=>Ew()((function(){return t.current(...arguments)}),1e3)),[1e3]);return(0,s.useEffect)((function(){return()=>{n.cancel()}}),[n]),n}((e=>{Ko("account_switch_list_input",{text:e})}));return(0,s.useEffect)((function(){n||o("")}),[o,n]),{isSearchEnabled:a,filterText:r,onFilterTextChange:(0,s.useCallback)((e=>{const t=e.target.value;o(t),l(t)}),[l,o]),filteredItems:i}}({items:l,visible:f}),{closeSwitcher:w,onTriggerClick:x}=function(e){let{isMobile:t,isOpen:n,close:r,toggle:o}=e;const i=t?"mobile":"desktop",a=(0,s.useCallback)((()=>{n&&Ko("account_switcher_panel_collapse",{source:t?"mobile_drawer":"switcher_list",view_type:i}),r()}),[r,n,t,i]),l=(0,s.useCallback)(((e,t)=>{let{canOpenSwitcher:r,refetch:a}=t;e.stopPropagation(),r&&(TL(i,n),o(),a())}),[n,o,i]);return{viewType:i,closeSwitcher:a,onTriggerClick:l}}({isMobile:n,isOpen:f,close:h,toggle:m}),{onSelectItem:k}=function(e){let{selectableItems:t,selectedId:n,onClose:r}=e;const o=Xh(),i=xV(),a=Qh((e=>e.auth.switchingTarget));return{onSelectItem:(0,s.useCallback)((async e=>{const s=t.find((t=>t.id===e.id));if(!s)return;if(Ko("account_switcher_select_item",{item_id:s.id,item_type:s.type,item_heading:s.heading1}),a)return;if(s.id===n)return void r();const l={target:s};o(Tw.setSwitchingTarget(l));try{await i(l),r()}finally{o(Tw.setSwitchingTarget(null))}}),[o,r,t,n,i,a])}}({selectableItems:a,selectedId:p,onClose:w}),C=(0,s.useMemo)((()=>b.map((e=>({...e,selected:e.id===p})))),[b,p]),E=e("navigation.selectOrganisation"),S="string"==typeof o?o:"";if(!n&&!t)return gi(r7,{text:S});const O=gi(p7,{line1:S,active:f,onClick:e=>x(e,{canOpenSwitcher:c,refetch:d})}),A=u?gi(B7,{}):gi(F7,{items:C,isSearchEnabled:g,filterText:v,onFilterTextChange:y,onSelectItem:k,label:E});return n?gi(e7,{open:f,trigger:O,panelContent:A,title:E,onClose:w,portalContainer:document.body,themeVariant:r}):gi(Q3,{open:f,trigger:O,panelContent:A,title:E,onClose:w,themeVariant:r})}const q7=e=>({isLight:!1,background:e.colors.grays[100],color:e.colors.grays[30],hoverBackground:e.colors.grays[80],hoverText:e.colors.white,scrollbar:e.colors.grays[70],divider:e.colors.grays[70],controlIcon:e.colors.grays[40],controlIconHover:e.semanticColors.icon.inverse,focusRing:e.colors.white}),W7=e=>({isLight:!0,background:e.colors.grays[10],color:e.semanticColors.text.secondary,hoverBackground:e.colors.grays[20],hoverText:e.semanticColors.text.primary,scrollbar:e.colors.grays[20],divider:e.colors.grays[30],controlIcon:e.semanticColors.icon.secondary,controlIconHover:e.semanticColors.icon.primary,focusRing:e.semanticColors.text.primary}),$7=e=>({...W7(e),background:e.colors.purples[10],hoverBackground:e.semanticColors.background.selected,selectedText:e.semanticColors.text.link}),G7=(e,t)=>({...e,background:t.nav.background,color:t.nav.item.color,hoverBackground:t.nav.button.hover.background,hoverText:t.nav.item.hover.color,selectedText:t.nav.item.selected.color,scrollbar:t.nav.button.hover.background,controlIcon:t.nav.item.color,controlIconHover:t.nav.item.hover.color});function K7(e,t){switch(t){case"light":return W7(e);case"assistant":return $7(e);case"pba_light":return G7(W7(e),e);case"pba_dark":return G7(q7(e),e);default:return q7(e)}}function Z7(e){let{children:t,themeVariant:n="dark"}=e;return gi(Pi.NP,{theme:e=>({...e,sideNav:K7(e,n)}),children:t})}
826const Y7=ji.styled,X7=ji.useTheme;function Q7(){return Q7=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Q7.apply(this,arguments)}var J7=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",Q7({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M25.75 3.75C27.1307 3.75 28.25 4.86929 28.25 6.25V25.75C28.25 27.1307 27.1307 28.25 25.75 28.25H6.25C4.86929 28.25 3.75 27.1307 3.75 25.75V6.25C3.75 4.86929 4.86929 3.75 6.25 3.75H25.75ZM6.25 25.75H10.75V6.25H6.25V25.75ZM13.25 25.75H25.75V6.25H13.25V25.75ZM20 11.25C20.4142 10.6978 21.1977 10.5859 21.75 11C22.3023 11.4142 22.4142 12.1977 22 12.75L19.5625 16L22 19.25C22.4142 19.8023 22.3023 20.5858 21.75 21C21.1977 21.4142 20.4142 21.3023 20 20.75L17 16.75C16.6667 16.3056 16.6667 15.6944 17 15.25L20 11.25Z",fill:n})]}))}));function e6(){return e6=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e6.apply(this,arguments)}var t6=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",e6({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M25.75 3.75C27.1307 3.75 28.25 4.86929 28.25 6.25V25.75C28.25 27.1307 27.1307 28.25 25.75 28.25H6.25C4.86929 28.25 3.75 27.1307 3.75 25.75V6.25C3.75 4.86929 4.86929 3.75 6.25 3.75H25.75ZM6.25 25.75H25.75V6.25H6.25V25.75ZM10 8.25C10.6904 8.25 11.25 8.80964 11.25 9.5V22.5C11.25 23.1904 10.6904 23.75 10 23.75C9.30964 23.75 8.75 23.1904 8.75 22.5V9.5C8.75 8.80964 9.30964 8.25 10 8.25Z",fill:n})]}))}));function n6(){return n6=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n6.apply(this,arguments)}var r6=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",n6({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M25.75 3.75C27.1307 3.75 28.25 4.86929 28.25 6.25V25.75C28.25 27.1307 27.1307 28.25 25.75 28.25H6.25C4.86929 28.25 3.75 27.1307 3.75 25.75V6.25C3.75 4.86929 4.86929 3.75 6.25 3.75H25.75ZM13.25 25.75H25.75V6.25H13.25V25.75ZM6.25 25.75H10.75V6.25H6.25V25.75Z",fill:n})]}))}));const o6=240,i6=8,a6=24,s6=20,l6=20,c6=16,u6=2*(i6+6+6)+a6,d6=i6,p6=180,f6=`left ${p6}ms ease, top ${p6}ms ease, bottom ${p6}ms ease, width ${p6}ms ease, padding ${p6}ms ease, border-radius ${p6}ms ease, box-shadow ${p6}ms ease`,h6="opacity 150ms ease",m6=16,g6=Math.round(173*m6/24),v6=68,y6=9,b6=300,w6=Y7.button((e=>{let{theme:t}=e;return{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:34,height:34,padding:6,border:0,borderRadius:8,cursor:"pointer",backgroundColor:"transparent",color:t.sideNav.controlIcon,transition:"background-color 120ms ease, color 120ms ease",":hover":{backgroundColor:t.sideNav.hoverBackground,color:t.sideNav.controlIconHover},":focus":{outline:0},":focus-visible":{outline:`2px solid ${t.sideNav.focusRing}`,outlineOffset:-2}}}));function x6(e){let{onToggle:t}=e;const{t:n}=sw(),{variant:r,docked:o}=s7(),{Icon:i,labelKey:a,pressed:s}=function(e,t){return"touch"===e?{Icon:J7,labelKey:"navigation.closeSideNav"}:t?{Icon:t6,labelKey:"navigation.undock",pressed:!0}:{Icon:r6,labelKey:"navigation.dock",pressed:!1}}(r,o);return gi(w6,{type:"button","aria-pressed":s,"aria-label":n(a),onClick:t,children:gi(i,{size:l6})})}const k6=Y7.div({display:"flex",alignItems:"center",gap:6,flexShrink:0,width:"100%",paddingInlineEnd:6,paddingInlineStart:4,paddingTop:4,paddingBottom:4}),C6=Y7.div({display:"flex",alignItems:"center",minWidth:0,flex:"1 1 0%"}),E6=Y7.span((e=>{let{open:t}=e;return{display:"inline-flex",opacity:t?1:0,pointerEvents:t?"auto":"none",transition:h6}}));function S6(e){let{switcherSlot:t,onControl:n,canToggleDock:r=!0}=e;const{open:o}=s7();return vi(k6,{children:[gi(C6,{children:t}),r&&gi(E6,{open:o,children:gi(x6,{onToggle:n})})]})}const O6=Y7.span((e=>{let{size:t}=e;return{display:"flex",alignItems:"center",justifyContent:"center",width:t,height:t,flexShrink:0}}));function A6(e){let{icon:t,color:n,gradient:r}=e;return gi(O6,{size:a6,children:gi(t,{size:s6,color:n,gradient:r})})}const _6=Y7.span((e=>{let{theme:t}=e;return{flexShrink:0,boxSizing:"border-box",whiteSpace:"nowrap",fontFamily:t.fontFamily.default,fontSize:10,fontWeight:500,lineHeight:"16px",padding:"1px 6px",borderRadius:t.radius.l,backgroundColor:t.colors.reds[50],color:t.semanticColors.text.primary}}));function P6(e){let{children:t}=e;return gi(_6,{children:t})}function j6(e){return"string"==typeof e||"number"==typeof e?gi(P6,{children:e}):e}
826const T6={backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},I6=Y7.span({display:"flex",alignItems:"center",height:"100%",minWidth:0,flex:"1 1 0%",gap:8,paddingInlineStart:6}),L6=Y7.span({display:"flex",alignItems:"center",gap:12,minWidth:0,flex:"1 1 0%"}),N6=Y7(tB)({display:"block",minWidth:0,flex:"0 1 auto",color:"inherit"}),R6=Y7(gj,{shouldForwardProp:e=>"active"!==e&&"open"!==e})((e=>{let{theme:t,active:n,open:r}=e;const o=t.sideNav.selectedText?{color:t.sideNav.selectedText}:{background:GS.orange,...T6};return{display:"block",minWidth:0,width:"100%",opacity:r?1:0,transition:h6,...n?o:{color:"inherit"}}})),D6=Y7.span((e=>{let{open:t}=e;return{display:"inline-flex",flexShrink:0,opacity:t?1:0,transition:h6}}));function F6(e){let{icon:t,label:n,active:r=!1,tag:o}=e;const{sideNav:i}=X7(),{open:a}=s7();let s,l;return r&&(i.selectedText?s=i.selectedText:l="orange"),vi(I6,{children:[gi(A6,{icon:t,color:s,gradient:l}),vi(L6,{children:[gi(N6,{as:"span",variant:r?"bodyEmphasis":"body",children:gi(R6,{active:r,open:a,children:n})}),null!=o&&gi(D6,{open:a,children:j6(o)})]})]})}function M6(e){return e.trim().replace(/[^a-zA-Z0-9]+/g," ").trim().toLowerCase().replace(/\s+/g,"_")}const B6=Y7.div((e=>{let{theme:t}=e;return{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",height:34,width:"100%",borderRadius:8,backgroundColor:"transparent",color:t.sideNav.color}})),V6=Y7.span((e=>{let{theme:t,edgeInset:n}=e;return{position:"absolute",left:-(6+n+4),top:"50%",transform:"translateY(-50%)",width:8,height:8,borderRadius:"50%",background:t.sideNav.selectedText??GS.orange,pointerEvents:"none"}})),z6=e=>{let{theme:t}=e;return{display:"flex",alignItems:"center",height:"100%",flex:"1 1 0%",minWidth:0,margin:0,padding:0,border:0,background:"transparent",textDecoration:"none",textAlign:"left",font:"inherit",color:"inherit",cursor:"pointer",borderRadius:8,transition:"color 120ms ease","::before":{content:'""',position:"absolute",inset:0,borderRadius:8,backgroundColor:"transparent",transition:"background-color 120ms ease",pointerEvents:"none",zIndex:-1},":hover":{color:t.sideNav.hoverText},":hover::before":{backgroundColor:t.sideNav.hoverBackground},":focus":{outline:0},":focus-visible":{outline:`2px solid ${t.sideNav.focusRing}`,outlineOffset:-2}}},U6=Y7.a(z6),H6=Y7.button(z6);function q6(e){let{icon:t,title:n,href:r,target:o,active:i=!1,tag:a,indicator:s=!1,trailing:l,onClick:c,testId:u}=e;const d=Boolean(r),p=u??M6(`side nav ${n}`),f=gi(F6,{icon:t,label:n,active:i,tag:a}),{open:h,docked:m,variant:g}=s7(),v=!h;return vi(B6,{children:[s&&gi(V6,{edgeInset:"touch"===g||m?i6:0,"data-test":"side_nav_active_indicator","aria-hidden":!0}),d?gi(U6,{href:r,target:o,onClick:c,title:v?n:void 0,"aria-current":i?"page":void 0,"aria-label":v?n:void 0,"data-test":p,children:f}):gi(H6,{type:"button",onClick:c,title:v?n:void 0,"aria-label":v?n:void 0,"data-test":p,children:f}),!v&&l]})}const W6=Y7.button((e=>{let{theme:t,open:n}=e;return{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:34,height:34,padding:6,border:0,borderRadius:8,cursor:"pointer",backgroundColor:"transparent",color:t.sideNav.controlIcon,opacity:n?1:0,pointerEvents:n?"auto":"none",transition:`background-color 120ms ease, color 120ms ease, ${h6}`,":hover":{backgroundColor:t.sideNav.hoverBackground,color:t.sideNav.controlIconHover},":focus":{outline:0},":focus-visible":{outline:`2px solid ${t.sideNav.focusRing}`,outlineOffset:-2}}})),$6=Y7.span((e=>{let{expanded:t}=e;return{display:"flex",transition:"transform 180ms ease",transform:t?"rotate(180deg)":"none"}}));function G6(e){let{expanded:t,onClick:n,label:r}=e;const{open:o}=s7();return gi(W6,{type:"button",open:o,"aria-expanded":t,"aria-label":r,tabIndex:o?void 0:-1,onClick:e=>{e.stopPropagation(),e.preventDefault(),n()},children:gi($6,{expanded:t,children:gi(xI,{size:c6})})})}const K6=Y7.div((e=>{let{expanded:t}=e;return{display:"grid",gridTemplateRows:t?"1fr":"0fr",visibility:t?"visible":"hidden",transition:"grid-template-rows 180ms ease, visibility 180ms ease"}})),Z6=Y7.div({overflow:"hidden",minHeight:0});function Y6(e){let{expanded:t,children:n}=e;const{open:r}
826=s7(),o=t&&r;return gi(K6,{expanded:o,"aria-hidden":!o,children:gi(Z6,{children:n})})}const X6=6+a6+8,Q6=e=>"skeleton"===e.type||"error"===e.type?52:"action"===e.rowType?28:null!=e.subtitle?52:40,J6={backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},e9=e=>e.sideNav.selectedText?{color:e.sideNav.selectedText}:{background:GS.orange,...J6},t9=Y7.div((e=>{let{theme:t,height:n}=e;return{display:"flex",alignItems:"stretch",height:n,borderRadius:8,backgroundColor:"transparent",transition:"background-color 120ms ease",":hover":{backgroundColor:t.sideNav.hoverBackground}}})),n9=e=>{let{theme:t,"data-action":n}=e;return{display:"flex",alignItems:"center",gap:t.space.xs,flex:"1 1 0%",minWidth:0,paddingTop:n?3:6,paddingBottom:n?3:6,paddingInlineStart:X6,paddingInlineEnd:t.space.xs,margin:0,border:0,background:"transparent",textDecoration:"none",textAlign:"left",font:"inherit",color:t.sideNav.color,cursor:"pointer",borderRadius:8,":hover":{color:t.sideNav.hoverText},":focus":{outline:0},":focus-visible":{outline:`2px solid ${t.sideNav.focusRing}`,outlineOffset:-2}}},r9=Y7.a(n9),o9=Y7.button(n9),i9=Y7.span({display:"flex",flexDirection:"column",minWidth:0,flex:"1 1 0%"}),a9=Y7.span({display:"flex",alignItems:"center",gap:12,minWidth:0}),s9=Y7(tB)({display:"block",minWidth:0,flex:"0 1 auto",color:"inherit"}),l9=Y7(gj,{shouldForwardProp:e=>"active"!==e})((e=>{let{theme:t,active:n}=e;return{display:"block",minWidth:0,width:"100%",...n?e9(t):{color:"inherit"}}})),c9=Y7(tB,{shouldForwardProp:e=>"active"!==e})((e=>{let{theme:t,active:n}=e;return{display:"block",minWidth:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",...n?e9(t):{color:t.sideNav.color,opacity:.7}}})),u9=Y7.span({flexShrink:0}),d9=Y7.div((e=>{let{theme:t}=e;return{display:"flex",alignItems:"center",width:"100%",minWidth:0,paddingInlineStart:X6,paddingInlineEnd:t.space.xs,color:t.sideNav.color}})),p9=Y7(tB)({minWidth:0,color:"inherit"}),f9=Y7.span((e=>{let{theme:t}=e;return{display:"flex",flexDirection:"column",justifyContent:"center",gap:t.space.xs,width:"100%"}}));function h9(e){let{item:t}=e;const n=Q6(t);if("skeleton"===t.type)return gi(t9,{height:n,"data-test":t.testId??"side_nav_sub_skeleton",children:gi(d9,{"aria-hidden":!0,children:vi(f9,{children:[gi(CN,{width:127,height:10}),gi(CN,{width:84,height:8})]})})});if("error"===t.type)return gi(t9,{height:n,"data-test":t.testId??"side_nav_sub_error",children:gi(d9,{role:"status",children:gi(p9,{as:"span",variant:"hint",children:t.children})})});const{title:r,href:o,target:i,active:a,titleAdornment:s,subtitle:l,tag:c,rowType:u,onClick:d,testId:p}=t,f=Boolean(o),h=null!=l,m="action"===u,g=p??M6(`side nav sub ${r}`),v=vi(i9,{children:[vi(a9,{children:[m?gi(c9,{as:"span",variant:"hint",active:!1,children:r}):gi(s9,{as:"span",variant:a?"bodyEmphasis":"body",children:gi(l9,{active:!!a,children:r})}),s,null!=c&&gi(u9,{children:j6(c)})]}),h&&gi(c9,{as:"span",variant:"hint",active:!!a,children:l})]});return gi(t9,{height:n,"data-test":`${g}_row`,children:f?gi(r9,{"data-action":m?"true":void 0,href:o,target:i,onClick:d,"aria-current":a?"page":void 0,"data-test":g,children:v}):gi(o9,{"data-action":m?"true":void 0,type:"button",onClick:d,"data-test":g,children:v})})}const m9=Y7.li({listStyle:"none",margin:0,padding:6}),g9=6+a6/2,v9=Y7.div((e=>{let{theme:t}=e;return{position:"relative",paddingTop:2,"::before":{content:'""',position:"absolute",top:0,bottom:0,left:g9,width:1,backgroundColor:t.sideNav.divider,pointerEvents:"none"}}})),y9=Y7.div((e=>{let{theme:t,offset:n,height:r,visible:o}=e;return{position:"absolute",top:2,left:g9,width:1,height:r,background:t.sideNav.selectedText??GS.orange,transform:`translateY(${n}px)`,opacity:o?1:0,transition:"transform 180ms ease, height 180ms ease, opacity 180ms ease",pointerEvents:"none"}}));function b9(e){var t;let{item:n,onExpandedChange:r}=e;const{t:o}=sw(),i=((null===(t=n.children)||void 0===t?void 0:t.length)??0)>0,a=n.children??[],l=a.findIndex((e=>"skeleton"!==e.type&&"error"!==e.type&&e.active)),c=l>=0,u=a.slice(0,Math.max(l,0)).reduce(((e,t)=>e+Q6(t)),0),d=l>=0?Q6(a[l]):0,{open:p}
826=s7(),[f,h]=(0,s.useState)((()=>n.defaultExpanded??c));(0,s.useEffect)((function(){(c||n.active&&i)&&h(!0)}),[c,n.active,i]);const m=i&&p,g=f&&p,v=i&&c&&!g,y=e=>{Ko("navigation_sub_menu_"+(e?"expand":"collapse"),{folder_name:n.title}),null==r||r(n,e)};return vi(m9,{children:[gi(q6,{icon:n.icon,title:n.title,href:n.href,target:n.target,active:n.active,tag:n.tag,indicator:v,testId:n.testId,onClick:e=>{var t,r;null===(t=n.onClick)||void 0===t||t.call(n,e),i&&(f||y(!0),h(!0)),null===(r=n.closeOnClick)||void 0===r||r.call(n,{expanded:i?f:void 0})},trailing:m?gi(G6,{expanded:g,label:o("navigation.toggleSubmenu",{title:n.title}),onClick:()=>{const e=!f;h(e),y(e)}}):void 0}),m&&gi(Y6,{expanded:g,children:vi(v9,{children:[a.map((e=>gi(h9,{item:e},e.id))),gi(y9,{offset:u,height:d,visible:c,"data-test":"side_nav_active_child_line"})]})})]})}const w9=Y7.div({position:"relative",flex:"1 1 0%",minHeight:0,width:"100%"}),x9=Y7.div((e=>{let{theme:t,open:n,bleedLeft:r}=e;return{height:"100%",overflowX:"clip",overflowY:n?"auto":"hidden",WebkitOverflowScrolling:"touch",...r?{marginInlineStart:-i6,paddingInlineStart:i6}:{},...n?{scrollbarGutter:"stable"}:{},"::-webkit-scrollbar":{WebkitAppearance:"none",width:n?10:0},"::-webkit-scrollbar-thumb":{borderRadius:6,backgroundColor:t.sideNav.scrollbar,border:"3px solid transparent",backgroundClip:"padding-box"},"::-webkit-scrollbar-track":{background:"none"}}})),k9=Y7.ul({listStyle:"none",margin:0,padding:0}),C9=Y7.div((e=>{let{theme:t,edge:n,visible:r}=e;return{position:"absolute",left:0,right:0,[n]:0,height:16,pointerEvents:"none",opacity:r?1:0,transition:"opacity 120ms ease",background:"top"===n?`linear-gradient(to bottom, ${t.sideNav.background}, transparent)`:`linear-gradient(to top, ${t.sideNav.background}, transparent)`}}));function E9(e){let{items:t,onItemExpandedChange:n}=e;const{ref:r,canScrollUp:o,canScrollDown:i}=function(){const e=(0,s.useRef)(null),[t,n]=(0,s.useState)({canScrollUp:!1,canScrollDown:!1}),r=(0,s.useCallback)((()=>{const t=e.current;if(!t)return;const{scrollTop:r,scrollHeight:o,clientHeight:i}=t,a={canScrollUp:r>0,canScrollDown:r+i<o-1};n((e=>e.canScrollUp===a.canScrollUp&&e.canScrollDown===a.canScrollDown?e:a))}),[]);return(0,s.useEffect)((()=>{const t=e.current;if(!t)return;r(),t.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",r);const n="undefined"!=typeof ResizeObserver?new ResizeObserver((()=>r())):null;return n&&(n.observe(t),t.firstElementChild&&n.observe(t.firstElementChild)),()=>{t.removeEventListener("scroll",r),window.removeEventListener("resize",r),null==n||n.disconnect()}}),[r]),{ref:e,...t}}(),{open:a,docked:l,variant:c}=s7(),u="touch"===c||l;return vi(w9,{children:[gi(C9,{edge:"top",visible:a&&o}),gi(x9,{ref:r,open:a,bleedLeft:u,children:gi(k9,{children:t.map((e=>gi(b9,{item:e,onExpandedChange:n},e.id)))})}),gi(C9,{edge:"bottom",visible:a&&i})]})}const S9=Y7.div((e=>{let{customBrand:t}=e;return{display:"flex",alignItems:"flex-end",justifyContent:t?"center":"flex-start",height:t?"auto":64,minHeight:64,flexShrink:0,width:"100%",paddingBottom:12,paddingInlineStart:t?0:12}})),O9=Y7.div((e=>{let{open:t}=e;return{overflow:"hidden",height:m6,width:t?g6:25,transition:"width 180ms ease"}})),A9=Y7.div((e=>{let{visible:t}=e;return{display:"flex",flexDirection:"column",justifyContent:"flex-end",alignItems:"center",minWidth:0,width:"100%",opacity:t?1:0,visibility:t?"visible":"hidden",pointerEvents:t?"auto":"none",transition:"opacity 150ms ease, visibility 150ms ease"}})),_9=Y7.img({display:"block",width:128,maxHeight:128}),P9=Y7(tB)((e=>{let{theme:t}=e;return{padding:"12px 0",display:"flex",flexWrap:"nowrap",gap:4,alignItems:"center",color:t.sideNav.isLight?t.colors.black:t.colors.white}}));function j9(e){let{partnerLogoUrl:t,showPoweredByAirwallex:n=!0,onMouseEnter:r}=e;const{sideNav:o}=X7(),{open:i,docked:a,variant:s}=s7(),l=o.isLight?sL:aL,c=Boolean(t)&&("touch"===s?i:a);return gi(S9,{"data-test":"side_nav_brand",customBrand:c,onMouseEnter:r,children:t?vi(A9,{visible:c,"data-test":"side_nav_partner_brand",children:[gi(_9,{src:t,alt:""}),n&&gi(P9,{as:"span",variant:"hint",children:gi(iw,{i18nKey:"navigation.poweredBy",components:{logo:gi(l,{width:v6,height:y6})}})})]}):gi(O9,{open:i,children:gi(l,{width:g6,height:m6})})})}
826const T9=u6-2*d6,I9=o6-2*d6,L9=Y7.nav((e=>{let{docked:t}=e;return{position:"relative",zIndex:6,flexShrink:0,height:"100%",width:t?o6:u6,transition:"width 180ms ease"}})),N9=Y7.div((e=>{let{theme:t,docked:n,expanded:r}=e;return{position:"absolute",boxSizing:"border-box",top:n?0:d6,bottom:n?0:d6,left:n?0:d6,padding:n?i6:0,zIndex:!n&&r?5:1,display:"flex",flexDirection:"column",overflow:"hidden",background:t.sideNav.background,color:t.sideNav.color,width:n?o6:r?I9:T9,borderRadius:n?0:16,boxShadow:n?"none":r?"4px 0 16px rgba(0, 0, 0, 0.24)":"0 2px 8px rgba(0, 0, 0, 0.12)",transition:f6}})),R9=Y7.nav((e=>{let{theme:t,open:n}=e;return{display:"flex",flexDirection:"column",flexShrink:0,height:"100%",width:n?o6:0,overflow:"hidden",padding:n?i6:0,boxSizing:"border-box",background:t.sideNav.background,color:t.sideNav.color,visibility:n?"visible":"hidden",transition:"width 180ms ease, padding 180ms ease, visibility 180ms ease"}})),D9=Y7.div((e=>{let{open:t}=e;return{position:"fixed",inset:0,zIndex:40,background:"rgba(0, 0, 0, 0.4)",opacity:t?1:0,pointerEvents:t?"auto":"none",transition:"opacity 180ms ease"}})),F9=Y7.nav((e=>{let{theme:t,open:n}=e;return{position:"fixed",top:0,bottom:0,left:0,zIndex:41,display:"flex",flexDirection:"column",width:o6,padding:i6,boxSizing:"border-box",background:t.sideNav.background,color:t.sideNav.color,boxShadow:"4px 0 16px rgba(0, 0, 0, 0.24)",transform:n?"translateX(0)":"translateX(-100%)",visibility:n?"visible":"hidden",transition:"transform 180ms ease, visibility 180ms ease"}}));function M9(e){let{items:t,switcherSlot:n,partnerLogoUrl:r,showPoweredByAirwallex:o,onControl:i,canToggleDock:a,onItemExpandedChange:s,onBrandMouseEnter:l,hideBrand:c}=e;return vi(mi,{children:[gi(S6,{switcherSlot:n,onControl:i,canToggleDock:a}),gi(E9,{items:t,onItemExpandedChange:s}),!c&&gi(j9,{partnerLogoUrl:r,showPoweredByAirwallex:o,onMouseEnter:l})]})}function B9(e){let{items:t,switcherSlot:n,docked:r=!1,onToggleDock:o=()=>{},canToggleDock:i=!0,onHoverExpandedChange:a,onItemExpandedChange:l,partnerLogoUrl:c,showPoweredByAirwallex:u,hideBrand:d,className:p}=e;const[f,h]=(0,s.useState)(!1),[m,g]=(0,s.useState)(!1),v=(0,s.useRef)(),y=()=>{v.current&&window.clearTimeout(v.current)};(0,s.useEffect)((()=>y),[]),(0,s.useEffect)((()=>{r&&(y(),h(!1))}),[r]),(0,s.useEffect)((()=>{if(r)return void g(!0);if(!f)return void g(!1);const e=window.setTimeout((()=>g(!0)),p6);return()=>window.clearTimeout(e)}),[r,f]);const b=r?{}:{onMouseEnter:()=>{y(),v.current=window.setTimeout((()=>{h(!0),null==a||a(!0)}),b6)},onMouseLeave:()=>{y(),h(!1),f&&(null==a||a(!1))}},w=!r&&f,x=r||m,k=(0,s.useMemo)((()=>({variant:"click",docked:r,open:r||f,fullyExpanded:x})),[r,x,f]);return gi(a7,{value:k,children:gi(L9,{docked:r,className:p,...b,children:gi(N9,{docked:r,expanded:w,"data-test":"side_nav_island","data-expanded":w,"data-fully-expanded":String(x),children:gi(M9,{items:t,switcherSlot:n,partnerLogoUrl:c,showPoweredByAirwallex:u,onControl:o,canToggleDock:i,onItemExpandedChange:l,onBrandMouseEnter:()=>{!r&&f&&(y(),h(!1))},hideBrand:d})})})})}function V9(e){let{items:t,switcherSlot:n,open:r=!1,onClose:o=()=>{},dim:i=!1,onItemExpandedChange:a,partnerLogoUrl:l,showPoweredByAirwallex:c,hideBrand:u,className:d}=e;const p=(0,s.useMemo)((()=>({variant:"touch",docked:!1,open:r,fullyExpanded:r})),[r]),f=gi(a7,{value:p,children:gi(M9,{items:t,switcherSlot:n,partnerLogoUrl:l,showPoweredByAirwallex:c,onItemExpandedChange:a,hideBrand:u,onControl:o})});return i?vi(mi,{children:[gi(D9,{open:r,onClick:o,"data-test":"side_nav_dim","aria-hidden":!0}),gi(F9,{open:r,className:d,"aria-hidden":!r,children:f})]}):gi(R9,{open:r,className:d,"aria-hidden":!r,children:f})}function z9(e){let{variant:t="click",themeVariant:n="dark",...r}=e;return gi(Z7,{themeVariant:n,children:gi("touch"===t?V9:B9,{...r})})}function U9(){const e=tK(),[t]=Ry(),n=!!t,r=Qh((e=>{var t;return"SUSPENDED"===(null===(t=e.user.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.enrollmentStatus)}));return{links:(0,s.useMemo)((()=>r?[]:n?e.filter((e=>e.assistantMode)):e),[n,r,e]),isAssistantMode:n}}function H9(e){return"object"==typeof e&&null!==e&&!!e.active&&!!e.title}function q9(e){var t;return null===(t=e.children)||void 0===t||null===(t=t.find(H9))||void 0===t?void 0:t.t
826itle}function W9(e){let{preferChild:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(const n of e){const e=q9(n);if(t&&e)return e;if(n.active&&n.title)return n.title;if(!t&&e)return e}}function $9(e){if("onClick"in e&&"function"==typeof e.onClick)return e.onClick}function G9(e,t){return n=>{n.preventDefault(),null==e||e(n),null==t||t()}}function K9(){const e=(0,ji.useTheme)(),t=tZ(),{variant:n,dim:r,defaultDocked:o,alwaysDocked:i,open:a,setOpen:l}=P3(),{docked:c,canToggleDock:u,toggleDock:d}=function(e){let{defaultDocked:t,alwaysDocked:n=!1}=e;const[r,o]=(0,s.useState)(t);return(0,s.useEffect)((()=>{o(t)}),[t]),{docked:n||r,canToggleDock:!n,toggleDock:(0,s.useCallback)((()=>{o((e=>!e))}),[])}}({defaultDocked:o,alwaysDocked:i}),{onToggleDock:p}=function(e){let{docked:t,toggleDock:n}=e;return{onToggleDock:(0,s.useCallback)((()=>{Ko("navigation_menu_toggle_"+(t?"collapse":"expand"),{is_navigation_expand_before:t}),n()}),[t,n])}}({docked:c,toggleDock:d}),{closeDrawer:f}=function(e){let{setOpen:t}=e;return{closeDrawer:(0,s.useCallback)((()=>{t(!1)}),[t])}}({setOpen:l}),{onHoverExpandedChange:h}={onHoverExpandedChange:(0,s.useCallback)((e=>{Ko("navigation_menu_hover_"+(e?"expand":"collapse"))}),[])},{links:m,isAssistantMode:g}=U9(),v=function(e){let{links:t,isAssistantMode:n,onItemClick:r}=e;return(0,s.useMemo)((()=>function(e){let{isAssistantMode:t=!1,onItemClick:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.map((e=>function(e,t){const n=function(e,t){var n;const r=t.isAssistantMode?null===(n=e.children)||void 0===n?void 0:n.filter((e=>!lO(e)&&e.assistantMode)):e.children;return r?r.flatMap(((n,r)=>lO(n)?["skeleton"===n.type?{type:"skeleton",id:M6(`${e.id??e.title} skeleton ${r}`)}:{type:"error",id:M6(`${e.id??e.title} error ${r}`),children:n.children}]:[{id:n.id??M6(`${e.id??e.title} ${n.title}`),title:n.title,href:n.href,target:n.target,active:n.active,titleAdornment:n.titleAdornment,subtitle:n.subtitle,tag:n.tag,rowType:n.rowType,testId:n.testId,onClick:G9($9(n),t.onItemClick)}])):[]}(e,t),r=n.some((e=>"skeleton"!==e.type&&"error"!==e.type&&e.active)),o=e.id??M6(e.title),i=n.length>0;return{id:o,title:e.title,icon:e.icon??Nq,href:e.href,target:e.target,active:e.active,tag:e.tag,testId:e.testId,defaultExpanded:r,onClick:(a=e.onClick,s=e.id,e=>{e.preventDefault(),Ko("navigation_menu_item_clicked",{link_id:s}),null==a||a(e)}),closeOnClick:i?t.onItemClick&&(e=>function(e,t){!1!==e.expanded&&(null==t||t())}(e,t.onItemClick)):t.onItemClick,children:i?n:void 0};var a,s}(e,{isAssistantMode:t,onItemClick:n})))}(t,{isAssistantMode:n,onItemClick:r})),[n,t,r])}({links:m,isAssistantMode:g,onItemClick:"touch"===n?f:void 0});return function(e){let{variant:t,open:n}=e;(0,s.useEffect)((function(){if("touch"===t)return n?(Ko("navigation_menu_mobile_expand"),document.body.style.overflow="hidden",document.body.style.height="100%"):(Ko("navigation_menu_mobile_collapse"),document.body.style.overflow="unset",document.body.style.height="unset"),()=>{document.body.style.overflow="unset",document.body.style.height="unset"}}),[t,n])}({variant:n,open:a}),function(e){const[t]=(0,s.useState)((()=>document.title)),n=(0,s.useMemo)((()=>W9(e)),[e]);(0,s.useEffect)((()=>{if(n)return document.title=`${t} - ${n}`,()=>{document.title=t}}),[n,t])}(v),vi(mi,{children:[gi(hK,{applicationName:"business-accounts-tour"}),gi(z9,{items:v,variant:n,themeVariant:t,docked:c,canToggleDock:u,onToggleDock:p,onHoverExpandedChange:h,open:a,onClose:f,dim:r,partnerLogoUrl:e.nav.logoUrl,switcherSlot:gi(H7,{})})]})}var Z9=n(89158);const Y9=()=>{const e=oH();return null!=e&&e.shouldShowKai?vi(mi,{children:[gi(Z9.C,{}),gi(QU.Ct,{children:gi(hK,{applicationName:"finos-copilot"})})]}):null},X9=ji.styled.div` 827 width: var(--kai-panel-reserve-px, 0px); 828 transition: width ${QU.HX}; 829 transition-duration: 830 calc(var(--kai-panel-resizing, 0) * 0s + (1 - var(--kai-panel-resizing, 0)) * 300ms); 831`,Q9=e=>{let{maxWidthPx:t}=e;const n=oH();return null!=n&&n.shouldShowKai?vi(mi,{children:[gi(X9,{}),gi(QU.mr,{maxWidthPx:t,isFullscreen:"openAsFullscreen"===n.kaiDisplayState})]}):null};
831function J9(){const e=oH(),t=function(){const[e,t]=(0,s.useState)((()=>"undefined"!=typeof document&&document.body.classList.contains("ReactModal__Body--open")));return(0,s.useEffect)((()=>{const e=()=>t(document.body.classList.contains("ReactModal__Body--open"));e();const n=new MutationObserver(e);return n.observe(document.body,{attributes:!0,attributeFilter:["class"]}),()=>n.disconnect()}),[]),e}();return null!=e&&e.shouldShowKai&&"openAsFullscreen"!==e.kaiDisplayState?gi(QU.G6,{zIndex:t?QU.Ol:void 0}):null}const e8=(0,ji.styled)(rL)((e=>{let{theme:t}=e;return{width:40,height:40,boxSizing:"border-box",flexShrink:0,color:t.semanticColors.icon.primary,"&:hover":{backgroundColor:t.colors.grays[20]},"&:active":{backgroundColor:t.colors.grays[20]}}}));function t8(e){let{onClick:t,open:n=!1}=e;const{t:r}=sw();return gi(e8,{variant:"TERTIARY",icon:qT,"aria-label":r("navigation.openSideNav"),"aria-expanded":n,onClick:t})}function n8(){const e=P3(),{setOpen:t}=e,n=(0,s.useCallback)((()=>t(!0)),[t]);return"touch"!==e.variant?null:gi(t8,{open:e.open,onClick:n})}function r8(){return r8=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r8.apply(this,arguments)}var o8=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",r8({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M26.1163 22.1163C26.6044 21.6282 27.3957 21.6282 27.8838 22.1163C28.372 22.6044 28.3719 23.3957 27.8838 23.8839L23.3985 28.3702C22.9263 28.8424 22.1655 28.8601 21.6719 28.4102L19.1583 26.1182C18.6481 25.6533 18.6113 24.8629 19.0762 24.3526C19.5412 23.8424 20.3316 23.8056 20.8419 24.2706L22.4737 25.7579L26.1163 22.1163Z",fill:n}),(0,fi.jsx)("path",{d:"M19.75 9C19.75 6.92893 18.0711 5.25 16 5.25C13.9289 5.25 12.25 6.92893 12.25 9C12.25 11.0711 13.9289 12.75 16 12.75C18.0711 12.75 19.75 11.0711 19.75 9ZM22.25 9C22.25 12.4518 19.4518 15.25 16 15.25C12.5482 15.25 9.75 12.4518 9.75 9C9.75 5.54822 12.5482 2.75 16 2.75C19.4518 2.75 22.25 5.54822 22.25 9Z",fill:n}),(0,fi.jsx)("path",{d:"M5.75 28V22.75C5.75 19.9886 7.98858 17.75 10.75 17.75H22C22.6904 17.75 23.25 18.3096 23.25 19C23.25 19.6904 22.6904 20.25 22 20.25H10.75C9.36929 20.25 8.25 21.3693 8.25 22.75V28C8.25 28.6904 7.69036 29.25 7 29.25C6.30964 29.25 5.75 28.6904 5.75 28Z",fill:n})]}))}));const i8=(0,ji.styled)("button",{shouldForwardProp:e=>"isSelected"!==e})((e=>{let{theme:t,isSelected:n}=e;return{display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,width:"100%",paddingBlock:6,paddingInlineStart:8,paddingInlineEnd:12,border:"none",borderRadius:8,background:n?t.semanticColors.background.secondary:"transparent",cursor:"pointer",color:t.semanticColors.text.primary,textAlign:"start","&:focus":{outline:"none"},"&:hover, &:focus-visible":{background:t.semanticColors.background.secondary}}})),a8=(0,ji.styled)("span")((e=>{let{theme:t}=e;return{display:"inline-flex",flexShrink:0,color:t.semanticColors.text.primary}})),s8=(0,ji.styled)("span")({display:"flex",flexDirection:"column",flex:1,minWidth:0}),l8=(0,ji.styled)("span")((e=>{let{theme:t}=e;return{display:"inline-flex",flexShrink:0,color:t.semanticColors.text.primary}}));function c8(e){let{displayName:t,subtitle:n,isSelected:r,onClick:o}=e;return vi(i8,{type:"button",role:"menuitemradio","aria-checked":r,isSelected:r,onClick:o,children:[gi(a8,{children:gi(o8,{size:20})}),vi(s8,{children:[gi(tB,{variant:"body",as:"span",children:t}),n&&gi(tB,{variant:"hint",color:"secondary",as:"span",children:n})]}),r&&gi(l8,{children:gi(h7,{size:16})})]})}const u8=(0,ji.styled)("div")({display:"flex",flexDirection:"column",gap:2}),d8=(0,ji.styled)("div")({padding:"4px 0"}),p8=(0,ji.styled)("button")((e=>{let{theme:t}=e;return{display:"flex",width:"100%",padding:"8px",marginTop:4,marginBottom:4,border:"none",borderRadius:8,cursor:"pointer",textAlign:"start",background:t.semanticColors.background.primary,"&:hover, &:focus-visible":{background:t.semanticColors.background.secondary}}}));function f8(e){let{delegators:t,selectedDelegatorId:n,assistantModeL
831abel:r,exitAssistantModeLabel:o,onSelectDelegator:i,shouldShowLabel:a=!0}=e;return 0!==t.length||n?vi(u8,{role:"menu","aria-label":r,children:[a&&gi(d8,{role:"presentation",children:gi(tB,{variant:"hint",color:"secondary",as:"span",children:r})}),t.map((e=>gi(c8,{displayName:e.displayName,subtitle:e.subtitle,isSelected:e.id===n,onClick:()=>i(e.id)},e.id))),n&&gi(p8,{type:"button",role:"menuitem",onClick:()=>i(),children:gi(tB,{variant:"bodyEmphasis",color:"link",as:"span",children:o})})]}):null}function h8(){return h8=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h8.apply(this,arguments)}var m8=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",h8({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M29.3125 4.25L29.3125 27.75C29.3125 29.1307 28.1932 30.25 26.8125 30.25L15.0625 30.25C14.3721 30.25 13.8125 29.6904 13.8125 29C13.8125 28.3096 14.3721 27.75 15.0625 27.75L26.8125 27.75L26.8125 4.25L15.0625 4.25C14.3721 4.25 13.8125 3.69035 13.8125 3C13.8125 2.30964 14.3721 1.75 15.0625 1.75L26.8125 1.75C28.1932 1.75 29.3125 2.86929 29.3125 4.25Z",fill:n}),(0,fi.jsx)("path",{d:"M21.1875 14.75C21.8778 14.75 22.4375 15.3097 22.4375 16C22.4375 16.6904 21.8779 17.25 21.1875 17.25L7.25098 17.25L10.6455 20.2354C11.1638 20.6914 11.2138 21.4817 10.7578 22C10.3017 22.5178 9.51228 22.5682 8.99414 22.1123L3.11133 16.9385C2.84177 16.7012 2.6875 16.3591 2.6875 16C2.68751 15.6409 2.84176 15.2988 3.11133 15.0615L8.99414 9.8877C9.51228 9.43185 10.3017 9.48217 10.7578 10C11.2138 10.5183 11.1638 11.3086 10.6455 11.7646L7.25098 14.75L21.1875 14.75Z",fill:n})]}))}));function g8(){return g8=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g8.apply(this,arguments)}var v8=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",g8({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M23.75 25.749V17C23.75 16.3096 24.3096 15.75 25 15.75C25.6904 15.75 26.25 16.3096 26.25 17V25.749C26.2497 27.1276 25.1324 28.25 23.75 28.25H6.25C4.86929 28.25 3.75 27.1307 3.75 25.75V8.25C3.75 6.86929 4.86929 5.75 6.25 5.75H14C14.6904 5.75 15.25 6.30964 15.25 7C15.25 7.69036 14.6904 8.25 14 8.25H6.25V25.75H23.749L23.75 25.749Z",fill:n}),(0,fi.jsx)("path",{d:"M25.75 11V6.25H20C19.3096 6.25 18.75 5.69036 18.75 5C18.75 4.30964 19.3096 3.75 20 3.75H27C27.6904 3.75 28.25 4.30964 28.25 5V11C28.25 11.6904 27.6904 12.25 27 12.25C26.3096 12.25 25.75 11.6904 25.75 11Z",fill:n}),(0,fi.jsx)("path",{d:"M25.1162 5.11621C25.6044 4.62806 26.3956 4.62806 26.8838 5.11621C27.3719 5.60437 27.3719 6.39563 26.8838 6.88379L15.8838 17.8838C15.3956 18.3719 14.6044 18.3719 14.1162 17.8838C13.6281 17.3956 13.6281 16.6044 14.1162 16.1162L25.1162 5.11621Z",fill:n})]}))}));const y8=(0,ji.styled)("button",{shouldForwardProp:e=>"tone"!==e})((e=>{let{theme:t,tone:n}=e;return{display:"flex",alignItems:"center",gap:4,width:"100%",paddingBlock:6,paddingInlineStart:8,paddingInlineEnd:12,border:"none",borderRadius:8,background:"transparent",cursor:"pointer",color:"danger"===n?t.semanticColors.text.error:t.semanticColors.text.primary,textAlign:"start","&:focus":{outline:"none"},"&:hover, &:focus-visible":{background:t.semanticColors.background.secondary},"&:disabled":{cursor:"not-allowed",color:t.semanticColors.text.disabled}}})),b8=(0,ji.styled)("span")((e=>{let{theme:t,tone:n}=e;return{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:28,height:28,color:"danger"===n?t.semanticColors.text.error:t.semanticColors.text.primary}})),w8=(0,ji.styled)("span")({flex:1}),x8=(0,ji.styled)("span")((e=>{let{theme:t}=e;return{display:"inline-flex",color:t.semanticColors.text.primary}})),k8=(0,s.forwardRef)((function(e,t){let{icon:n,label:r,isExternal:o=!1,tone:i="default",type:a="button",...s}=e;return vi(y8,{ref:t,type:a,tone:i,role:"menuitem",...s,children:[gi(b8,{tone:i,children:gi(n,{size:20})}),gi(w8,{children:gi(tB,{variant:"body",as:"span",children:r})}),o&&gi(x8,{children:gi(v8,{size:20})})]})})),C8=(0,ji.styled)("div")({display:"flex",flexDirection:"column",gap:8}),E8=(0,ji.styled)("hr")((e=>{let{theme:t}=e;return{margin:0,border:"none",borderTop:`1px solid ${t.colors.grays[20]}`}}));function S8(e){let{actions:t,onLogoutClick:n,logoutLabel:r}=e;const o=function(e){return e.reduce(((e,t)=>{const n=t.group,r=e[e.length-1];return r&&r[0].group===n?(r.push(t),e):(e.push([t]),e)}),[])}(t);return vi(C8,{role:"menu",children:[o.map(((e,t)=>vi(s.Fragment,{children:[t>0&&gi(E8,{}),e.map((e=>{let{key:t,icon:n,label:r,onClick:o,isExternal:i,disabled:a}=e;return gi(k8,{icon:n,label:r,onClick:o,isExternal:i,disabled:a},t)}))]},e[0].key))),gi(E8,{}),gi(k8,{icon:m8,label:r,tone:"danger",onClick:n})]})}const O8=(0,ji.styled)("div")({display:"flex",flexDirection:"column",alignItems:"flex-start",ga
831p:8,padding:"4px 4px 8px 4px"}),A8=(0,ji.styled)("div")({display:"flex",alignItems:"flex-start",justifyContent:"space-between",width:"100%",gap:8}),_8=(0,ji.styled)("div")({display:"flex",flexDirection:"column",gap:2}),P8=(0,ji.styled)("div")({display:"flex",gap:4,flexWrap:"wrap"}),j8=(0,ji.styled)("button")({fontWeight:500,textDecoration:"underline",cursor:"pointer",border:"none",background:"none",padding:0,font:"inherit",color:"inherit"}),T8=2;function I8(e){let{roles:t,isPanelOpen:n,moreRolesLabel:r}=e;const[o,i]=(0,s.useState)(!1);(0,s.useEffect)((()=>{n||i(!1)}),[n]);const a=t.length-T8;if(a<2||o)return gi("span",{children:t.join(", ")});const l=t.slice(0,T8).join(", ");return vi(mi,{children:[vi("span",{children:[l,", "]}),gi(j8,{type:"button",onClick:e=>{e.stopPropagation(),i(!0)},children:r(a)})]})}function L8(e){let{name:t,email:n,roles:r,isPanelOpen:o=!0,moreRolesLabel:i=e=>`+${e} more roles`,onEditProfileClick:a,editProfileLabel:s}=e;return vi(O8,{children:[t&&gi(A8,{children:gi(tB,{variant:"headline300",as:"span",children:t})}),vi(_8,{children:[gi(tB,{variant:"hint",color:"secondary",as:"span",children:n}),r&&r.length>0&&gi(tB,{variant:"hint",color:"secondary",as:"span",children:gi(P8,{children:gi(I8,{roles:r,isPanelOpen:o,moreRolesLabel:i})})})]}),a&&s&&gi(nL,{variant:"secondary",size:"small",onClick:a,children:s})]})}var N8=e=>{var{theme:t}=e,n=Hi(t.semanticTokensV9,(()=>t.tokens));return{background:{initial:n((e=>e.colors.bg.fill.subtle),t.semanticColors.background.secondary),active:n((e=>e.colors.bg.fill.selected),t.semanticColors.background.selected)},foreground:{initial:n((e=>e.colors.fg.primary),t.semanticColors.text.primary),active:n((e=>e.colors.fg.brand),t.semanticColors.text.link)},border:{initial:n((e=>e.colors.border.default),t.semanticColors.border.decorative),active:n((e=>e.colors.bg.fill.selected),t.semanticColors.background.selected)},focus:{outline:n((e=>e.colors.border.focus),t.semanticColors.border.focus)}}},R8=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),D8=e=>{var{theme:t}=e,n=t.avatar;return n?zi({background:R8(n,"background")?n.background:void 0,foreground:R8(n,"foreground")?n.foreground:void 0,border:R8(n,"border")?n.border:void 0,focus:R8(n,"focus")?n.focus:void 0}):{}};function F8(){return F8=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F8.apply(this,arguments)}var M8,B8={L:"large",M:"medium",S:"small"},V8={large:40,medium:32,small:24},z8={large:14,medium:12,small:10};!function(e){e[e.CHINESE=0]="CHINESE",e[e.JAPANESE=1]="JAPANESE",e[e.KOREAN=2]="KOREAN"}(M8||(M8={}));var U8={[M8.CHINESE]:RegExp("[\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u3005\\u3007\\u3021-\\u3029\\u3038-\\u303B\\u3400-\\u4DBF\\u4E00-\\u9FFF\\uF900-\\uFA6D\\uFA70-\\uFAD9\\u{16FE2}-\\u{16FE3}\\u{16FF0}-\\u{16FF6}\\u{20000}-\\u{2A6DF}\\u{2A700}-\\u{2B81D}\\u{2B820}-\\u{2CEAD}\\u{2CEB0}-\\u{2EBE0}\\u{2EBF0}-\\u{2EE5D}\\u{2F800}-\\u{2FA1D}\\u{30000}-\\u{3134A}\\u{31350}-\\u{33479}]","u"),[M8.JAPANESE]:/[\u3040-\u309F\u30A0-\u30FF]/,[M8.KOREAN]:/[\uAC00-\uD7AF]/},H8=ji.styled.div((e=>{var{theme:t,avatarSize:n,isInteractive:r,isActive:o,isLogographicText:i}=e,{background:a,foreground:s,border:l,focus:c}=(e=>{var{theme:t}=e;return Ui({defaults:N8({theme:t}),newFormatOverlay:D8({theme:t})})})({theme:t}),u=Hi(t.semanticTokensV9,(()=>t.tokens)),d={hover:u((()=>kj({baseColor:a.initial,tint:{color:s.initial,opacity:"mediumHover"}})),t.semanticColors.background.secondary),pressed:u((()=>kj({baseColor:a.initial,tint:{color:s.initial,opacity:"mediumPressed"}})),t.semanticColors.background.secondary),activeHover:u((()=>kj({baseColor:a.active,tint:{color:s.active,opacity:"mediumHover"}})),t.semanticColors.background.selected),activePressed:u((()=>kj({baseColor:a.active,tint:{color:s.active,opacity:"mediumPressed"}})),t.semanticColors.background.selected)};return F8({display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"100px",width:V8[n],height:V8[n],boxSizing:"border-box",cursor:r?"pointer":"default",transition:"background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease",backgroundColor:o?a.active:a.initial,border:"1px solid "+(o?l.active:l.initial),fontFamily:i?'"Source Han Sans", "ææºé»ä½", sans-serif':"inherit",fontSize:i?16:z8[n],lineHeight:i?"16px":z8[n]+"px",fontWeight:500,textAlign:"center",color:o?s.active:s.initial},r&&{"&:hover":{backgroundColor:o?d.activeHover:d.hover,borderColor:u((()=>o?l.active:l.initial),t.semanticColors.background.selected),color:u((()=>o?s.active:s.initial),t.semanticColors.text.link)},"&:active":{backgroundColor:o?d.activePressed:d.pressed}
831,"&:focus-visible":{outline:"2px solid "+c.outline,outlineOffset:"2px"}})})),q8=c().forwardRef(((e,t)=>{var n=[e,t],[r,...o]=n,{name:i,size:a="medium",interactive:l=!1,active:c=!1,className:u}=r,d=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(r,["name","size","interactive","active","className"]),[p]=o,{initials:f,isLogographic:h}=(0,s.useMemo)((()=>(e=>{var t,n,r,o,i=e.trim();if(!i)return{initials:"",isLogographic:!1};if(o=i,Object.values(U8).some((e=>e.test(o))))return{initials:null!=(r=[...i][0])?r:"",isLogographic:!0};var a=i.split(/\s+/).filter(Boolean);if(0===a.length)return{initials:"",isLogographic:!1};var s=null!=(t=a[0])?t:"";if(1===a.length)return{initials:s.substring(0,2).toUpperCase(),isLogographic:!1};var l=null!=(n=a[a.length-1])?n:"";return{initials:(""+s.charAt(0)+l.charAt(0)).toUpperCase(),isLogographic:!1}})(i)),[i]),m=(e=>{if(e in B8){var t=e;return YM()(!0,'[@airwallex/avatar Avatar] `size="'+t+'"` is deprecated. Use `size="'+B8[t]+'"` instead.'),B8[t]}return e})(a),g=l&&"large"===m,v=g&&c;return(0,fi.jsx)(H8,F8({ref:p,avatarSize:m,isInteractive:g,isActive:v,isLogographicText:h,tabIndex:g?0:void 0,"aria-label":i,className:u},d,{children:f}))}));q8.displayName="Avatar";var W8=q8;const $8=(0,ji.styled)(W8)({flexShrink:0}),G8=(0,ji.styled)(W8)((e=>{let{theme:t}=e;return{flexShrink:0,backgroundColor:t.semanticColors.background.selected,border:`1px solid ${t.semanticColors.background.selected}`,color:t.semanticColors.text.link,cursor:"inherit"}})),K8=(0,ji.styled)("button")({display:"inline-flex",alignItems:"center",border:"none",background:"transparent",cursor:"pointer",padding:0}),Z8=(0,ji.styled)("span")((e=>{let{theme:t}=e;return{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box",width:220,height:48,padding:"0 6px",borderRadius:16,background:t.colors.purples[10]}})),Y8=(0,ji.styled)("span")({display:"flex",alignItems:"center",gap:8,flex:1,minWidth:0}),X8=(0,ji.styled)("span")({display:"flex",flexDirection:"column",alignItems:"flex-start",minWidth:0,flexGrow:1}),Q8=(0,ji.styled)("span",{shouldForwardProp:e=>"isEmphasized"!==e})((e=>{let{theme:t,isEmphasized:n}=e;return{display:"block",maxWidth:"100%",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",color:t.semanticColors.text.link,fontSize:12,lineHeight:"18px",fontWeight:n?700:400}})),J8=(0,ji.styled)("button")((e=>{let{theme:t}=e;return{display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,width:"100%",border:"none",background:t.semanticColors.background.highlight,cursor:"pointer",padding:"10px 16px",transition:"background 0.2s ease","&:hover":{background:t.semanticColors.background.selected}}})),eee=(0,ji.styled)("span")({display:"flex",alignItems:"center",gap:8,minWidth:0}),tee=(0,ji.styled)("span",{shouldForwardProp:e=>"isOpen"!==e})((e=>{let{theme:t,isOpen:n}=e;return{display:"inline-flex",flexShrink:0,color:t.semanticColors.text.link,transform:n?"rotate(180deg)":"none",transition:"transform 200ms ease"}})),nee=(0,ji.styled)(tee)({alignItems:"center",justifyContent:"center",width:34,height:34});function ree(e){let{name:t,isOpen:n,onToggleOpen:r,assistantModeLabel:o,isAssistantMode:i,activeDelegatorDisplayName:a,isMobile:s}=e;return i&&s?vi(J8,{type:"button","aria-haspopup":"dialog","aria-expanded":n,onClick:r,children:[vi(eee,{children:[gi(G8,{name:t,size:"large"}),vi(X8,{children:[gi(Q8,{children:o}),gi(Q8,{isEmphasized:!0,children:a})]})]}),gi(tee,{"data-test":"user-settings-trigger-chevron",isOpen:n,children:gi(xI,{size:16})})]}):i?gi(K8,{type:"button","aria-haspopup":"dialog","aria-expanded":n,"aria-label":t,onClick:r,children:vi(Z8,{children:[vi(Y8,{children:[gi(G8,{name:t,size:"large"}),vi(X8,{children:[gi(Q8,{children:o}),gi(Q8,{isEmphasized:!0,children:a})]})]}),gi(nee,{"data-test":"user-settings-trigger-chevron",isOpen:n,children:gi(xI,{size:16})})]})}):gi($8,{name:t,size:"large",interactive:!0,active:n,role:"button","aria-haspopup":"dialog","aria-expanded":n,onClick:r,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),r())}})}const oee="https://support.airwallex.com/hc/en-us",iee=(0,ji.styled)("div")({position:"relative",display:"inline-flex"}),aee=(0,ji.styled)("div",{shouldForwardProp:e=>!["anchorTop","anchorLeft","anchorWidth","anchorHeight"].includes(e)})((e=>{let{anchorTop:t,anchorLeft:n,anchorWidth:r,anchorHeight:o}=e;return{position:"fixed",top:t,left:n,width:r,height:o,zIndex:QU.OK+1,pointerEvents:"none","& > *":{pointerEvents:"auto"}}})),see=(0,ji.styled)("div",{shouldForwardProp:e=>"isOpen"!==e})((e=>{let{theme:t,isOpen:n}=e;return{display:n?"flex":"none",flexDirection:"column",position:"absolute",top:"calc(100% + 4px)",insetInlineEnd:0,zIndex:QU.OK+1,width:300,maxHeight:"calc(100vh - 56px - 4px - 8px)",overflowY:"auto",borderRadius:12,border:`1px solid ${t.colors.grays[20]}`,boxShadow:t.shadows.m,background:t.colors.white,padding:"8px 12px",gap:8,"&:focus":{outline:"none"}}})),lee=(0,ji.styled)("hr")((e=>{let{theme:t}=e;return{margin:0,border:"none",borderTop:`1px solid ${t.colors.grays[20]}`}}));
831function cee(e){let{isOpen:t,onToggleOpen:n,onClose:r,name:o,email:i,roles:a,onEditProfileClick:s,editProfileLabel:l,moreRolesLabel:c,assistantModeLabel:u,exitAssistantModeLabel:d,delegators:p,selectedDelegatorId:f,onSelectDelegator:h,actions:m,onLogoutClick:g,logoutLabel:v}=e;const y=p.find((e=>e.id===f)),{rootProps:b,panelProps:w,anchorRect:x}=G3({open:t,onClose:r,focusOnOpen:!0}),k=e=>()=>{null==e||e(),r()};return vi(iee,{...b,children:[gi(ree,{name:o,isOpen:t,onToggleOpen:n,assistantModeLabel:u,isAssistantMode:Boolean(f),activeDelegatorDisplayName:null==y?void 0:y.displayName,isMobile:!1}),x&&(0,la.createPortal)(gi(aee,{"data-test":"user-settings-desktop-portal-anchor",anchorTop:x.top,anchorLeft:x.left,anchorWidth:x.width,anchorHeight:x.height,children:vi(see,{...w,role:"dialog",tabIndex:-1,isOpen:t,children:[!f&&vi(mi,{children:[gi(L8,{name:o,email:i,roles:a,isPanelOpen:t,moreRolesLabel:c,onEditProfileClick:k(s),editProfileLabel:l}),gi(lee,{})]}),gi(f8,{delegators:p,selectedDelegatorId:f,assistantModeLabel:u,exitAssistantModeLabel:d,onSelectDelegator:e=>{e?h(e):h(),r()}}),!f&&vi(mi,{children:[p.length>0&&gi(lee,{}),gi(S8,{actions:m.map((e=>({...e,onClick:k(e.onClick)}))),onLogoutClick:k(g),logoutLabel:v})]})]})}),document.body)]})}const uee=(0,ji.styled)("div")({display:"flex",flexDirection:"column",padding:"0 8px"}),dee=(0,ji.styled)("div")({flex:1,overflowY:"auto",padding:"8px 0"});function pee(e){let{isOpen:t,delegators:n,selectedDelegatorId:r,assistantModeLabel:o,exitAssistantModeLabel:i,onSelectDelegator:a,onClose:s}=e;return gi(I4,{enableBodyPadding:!1,header:o,isOpen:t,onOpenChange:e=>{e||s()},"aria-label":o,children:gi(uee,{children:gi(dee,{children:gi(f8,{delegators:n,selectedDelegatorId:r,assistantModeLabel:o,exitAssistantModeLabel:i,onSelectDelegator:a,shouldShowLabel:!1})})})})}const fee=(0,ji.styled)("div")({display:"flex",flexDirection:"column",padding:"0 8px"}),hee=(0,ji.styled)("div")({flex:1,overflowY:"auto",padding:"0 4px"}),mee=(0,ji.styled)("hr")((e=>{let{theme:t}=e;return{margin:"4px 0",border:"none",borderTop:`1px solid ${t.colors.grays[20]}`}}));function gee(e){let{isOpen:t,onToggleOpen:n,onClose:r,name:o,email:i,roles:a,onEditProfileClick:s,moreRolesLabel:l,editProfileLabel:c,assistantModeLabel:u,exitAssistantModeLabel:d,delegators:p,selectedDelegatorId:f,onSelectDelegator:h,actions:m,onLogoutClick:g,logoutLabel:v}=e;const y=Boolean(f),b=p.find((e=>e.id===f)),w=e=>{e?h(e):h(),r()},x=e=>()=>{null==e||e(),r()};return vi(mi,{children:[gi(ree,{name:o,isOpen:t,onToggleOpen:n,assistantModeLabel:u,isAssistantMode:y,activeDelegatorDisplayName:null==b?void 0:b.displayName,isMobile:!0}),y?gi(pee,{isOpen:t,delegators:p,selectedDelegatorId:f,assistantModeLabel:u,exitAssistantModeLabel:d,onSelectDelegator:w,onClose:r}):gi(I4,{isOpen:t,onOpenChange:e=>{e||r()},"aria-label":o,enableBodyPadding:!1,header:o,children:vi(fee,{children:[gi(L8,{email:i,roles:a,isPanelOpen:t,moreRolesLabel:l,onEditProfileClick:x(s),editProfileLabel:c}),vi(hee,{children:[gi(mee,{}),gi(f8,{delegators:p,selectedDelegatorId:f,assistantModeLabel:u,exitAssistantModeLabel:d,onSelectDelegator:w}),p.length>0&&gi(mee,{}),gi(S8,{actions:m.map((e=>({...e,onClick:x(e.onClick)}))),onLogoutClick:x(g),logoutLabel:v})]})]})})]})}function vee(){return vee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vee.apply(this,arguments)}var yee=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",vee({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("g",{clipPath:"url(#clip0_16_178)",children:(0,fi.jsx)("path",{d:"M4.25 8.25V27.5469L6.66504 24.6494C7.14002 24.0795 7.84405 23.75 8.58594 23.75H27.75V8.25H4.25ZM30.25 23.75C30.25 25.1307 29.1307 26.25 27.75 26.25H8.58594L4.84473 30.7393C3.79692 31.9966 1.75014 31.2558 1.75 29.6191V8.25C1.75 6.86929 2.86929 5.75 4.25 5.75H27.75C29.1307 5.75 30.25 6.86929 30.25 8.25V23.75Z",fill:n})}),(0,fi.jsx)("defs",{children:(0,fi.jsx)("clipPath",{id:"clip0_16_178",children:(0,fi.jsx)("rect",{width:"32",height:"32",fill:"white"})})})]}))}));function bee(){return bee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bee.apply(this,arguments)}var wee=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",bee({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M16.1982 11.0459C16.6371 11.0459 16.9932 11.3465 16.9932 11.7168V23.7842C16.9932 24.1545 16.6371 24.4551 16.1982 24.4551H15.8008C15.3621 24.4549 15.0068 24.1544 15.0068 23.7842V11.7168C15.0068 11.3466 15.3621 11.0461 15.8008 11.0459H16.1982Z",fill:n}),(0,fi.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 2.14453C17.2444 2.14465 18.527 2.55836 19.5127 3.43457C20.5194 4.32962 21.1474 5.6476 21.1475 7.29199V8.3418C22.1565 9.23728 22.9723 10.3892 23.5156 11.709C24.2088 10.6868 24.8275 9.4843 25.1826 8.30078C25.3649 7.69409 26.0045 7.34935 26.6113 7.53125C27.2183 7.71338 27.563 8.35393 27.3809 8.96094C26.7
83177 10.9735 25.5871 12.9482 24.3984 14.335C24.3414 14.4015 24.2775 14.4587 24.21 14.5088C24.2426 14.8395 24.2617 15.1753 24.2617 15.5156V17.582H28.8516C29.4852 17.582 29.9988 18.0959 29.999 18.7295C29.999 19.3632 29.4853 19.877 28.8516 19.877H24.2617V20.1055C24.2617 21.0379 24.1347 21.938 23.9014 22.7861C24.088 22.8503 24.2607 22.9624 24.3984 23.123C25.5872 24.5099 26.777 26.4853 27.3809 28.498C27.5625 29.1048 27.2181 29.7447 26.6113 29.9268C26.0046 30.1086 25.3648 29.7639 25.1826 29.1572C24.7377 27.6741 23.88 26.1606 22.9785 25.0107C21.5118 27.5787 18.9323 29.286 16 29.2861C13.0678 29.2861 10.4874 27.5794 9.02051 25.0117C8.11942 26.1615 7.2622 27.6745 6.81738 29.1572C6.63513 29.764 5.9946 30.1088 5.3877 29.9268C4.78115 29.7446 4.43666 29.1047 4.61816 28.498C5.22195 26.4854 6.41193 24.5099 7.60059 23.123C7.73828 22.9625 7.91106 22.8493 8.09766 22.7852C7.86452 21.9373 7.7373 21.0376 7.7373 20.1055V19.877H3.14746C2.51377 19.8769 2 19.3632 2 18.7295C2.00025 18.096 2.51393 17.5821 3.14746 17.582H7.7373V15.5156C7.73731 15.175 7.75544 14.8388 7.78809 14.5078C7.72101 14.4579 7.6573 14.4011 7.60059 14.335C6.41191 12.9482 5.22202 10.9736 4.61816 8.96094C4.4361 8.35404 4.78092 7.71352 5.3877 7.53125C5.99467 7.34916 6.6352 7.69386 6.81738 8.30078C7.17236 9.48396 7.79074 10.686 8.4834 11.708C9.0269 10.3881 9.84336 9.23625 10.8525 8.34082V7.29199C10.8526 5.64747 11.4805 4.32963 12.4873 3.43457C13.4731 2.55844 14.7556 2.14451 16 2.14453ZM16 8.63086C12.7135 8.63086 10.0323 11.7151 10.0322 15.5156V20.1055C10.0322 23.9061 12.7135 26.9912 16 26.9912C19.2864 26.991 21.9668 23.9059 21.9668 20.1055V15.5156C21.9667 11.7152 19.2863 8.63103 16 8.63086ZM16 4.43945C15.2448 4.43944 14.5268 4.69272 14.0127 5.14941C13.5873 5.52755 13.252 6.0876 13.168 6.89062C14.0517 6.53144 15.0059 6.33594 16 6.33594C16.9934 6.33597 17.9468 6.53089 18.8301 6.88965C18.7459 6.08739 18.4125 5.5274 17.9873 5.14941C17.4733 4.69265 16.7552 4.43957 16 4.43945Z",fill:n})]}))}));function xee(){return xee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xee.apply(this,arguments)}var kee=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",xee({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M11.8439 26.3282V24.7491H13.7814V26.3282C13.7814 27.1304 14.4314 27.7803 15.2336 27.7803H16.7922C17.5942 27.7802 18.2443 27.1303 18.2443 26.3282V24.7491H20.1808V26.3282C20.1808 28.1998 18.6638 29.7177 16.7922 29.7178H15.2336C13.3618 29.7178 11.8439 28.2 11.8439 26.3282Z",fill:n}),(0,fi.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.0514 8.10356C20.4838 8.10356 24.0895 11.7098 24.0895 16.1426C24.0895 17.9591 23.4934 19.6769 22.3678 21.1045C22.1796 21.3431 21.978 21.5792 21.7711 21.8223C21.429 22.2242 21.1479 22.4013 20.9948 22.5254C20.9219 22.5845 20.8768 22.6312 20.8375 22.6915C20.7969 22.7538 20.7515 22.8493 20.7047 23.0167L20.7037 23.0206C20.7015 23.0342 20.6972 23.0624 20.693 23.1094C20.6845 23.2042 20.6761 23.3716 20.6793 23.6436C20.68 23.7014 20.6828 23.7607 20.6862 23.8292C20.7039 24.1875 20.7545 24.9214 20.2096 25.4942C19.8009 25.9237 19.2163 26.0967 18.5133 26.0967H13.5758C12.9103 26.0967 12.3535 25.9203 11.943 25.504C11.352 24.9046 11.3782 24.1118 11.3844 23.6758L11.3854 23.5948C11.3911 23.0461 11.3507 22.9228 11.36 22.9571C11.3111 22.778 11.2702 22.6899 11.2399 22.6417C11.215 22.6022 11.1889 22.5763 11.1344 22.5362C11.0159 22.449 10.8028 22.3284 10.5133 22.0235L10.3844 21.8809C10.1717 21.634 9.94446 21.3709 9.73303 21.1026C8.60802 19.6752 8.01233 17.9583 8.01233 16.1426C8.01237 11.7098 11.6185 8.10361 16.0514 8.10356ZM12.0045 24.9542C12.0234 24.9865 12.044 25.0184 12.066 25.0499L12.0045 24.9542C11.9856 24.9219 11.9688 24.8894 11.9528 24.8565L12.0045 24.9542ZM16.0514 10.42C12.8963 10.4201 10.3287 12.9875 10.3287 16.1426C10.3287 17.4346 10.7513 18.6525 11.5524 19.669C11.7305 19.8951 11.9258 20.1214 12.1393 20.3692C12.2963 20.5514 12.4355 20.6825 12.5641 20.7959C12.6841 20.9018 12.8291 21.0205 12.9489 21.1387C13.2253 21.4118 13.4267 21.7335 13.5944 22.3487L13.6354 22.5313C13.6751 22.7463 13.7065 23.0709 13.7008 23.6202V23.6221L13.6998 23.709C13.6995 23.7316 13.7001 23.7556 13.6998 23.7803H18.3678C18.3666 23.7443 18.3643 23.7077 18.3639 23.6709C18.3551 22.9426 18.4132 22.6103 18.4703 22.4043C18.6408 21.7888 18.8558 21.4587 19.1412 21.17C19.2675 21.0423 19.4188 20.9126 19.5504 20.792C19.6895 20.6646 19.8397 20.5184 20.0074 20.3213C20.2067 20.0871 20.3896 19.8725 20.5494 19.67L20.6949 19.4776C21.4019 18.5015 21.7729 17.3547 21.7731 16.1426C21.7731 12.9873 19.2059 10.42 16.0514 10.42Z",fill:n}),(0,fi.jsx)("path",{d:"M14.8 5.8501V3.8501C14.8 3.15974 15.3596 2.6001 16.05 2.6001C16.7403 2.6001 17.3 3.15974 17.3 3.8501V5.8501C17.3 6.54045 16.7403 7.1001 16.05 7.1001C15.3596 7.1001 14.8 6.54045 14.8 5.8501Z",fill:n}),(0,fi.jsx)("path",{d:"M22.2839 7.89824L23.6981 6.48403C24.1862 5.99587 24.9777 5.99587 25.4659 6.48403C25.954 6.97219 25.954 7.76364 25.4659 8.2518L24.0516 9.66601C23.5635 10.1542 22.772 10.1542 22.2839 9.66601C21.7957 9.17786 21.7957 8.3864 22.2839 7.89824Z",fill:n}),(0,fi.jsx)("path",{d:"M9.66583 7.89824L8.25162 6.48403C7.76347 5.99587 6.97201 5.99587 6.48385 6.48403C5.9957 6.97219 5.9957 7.76364 6.48385 8.2518L7.89807 9.66601C8.38622 10.1542 9.17768 10.1542 9.66583 9.66601C10.154 9.17786 10.154 8.3864 9.66583 7.89824Z",fill:n}),(0,fi.jsx)("path",{d:"M5.84998 15.7H3.84998C3.15962 15.7 2.59998 15.1404 2.59998 14.45C2.59998 13.7596 3.15962 13.2 3.84998 13.2H5.84998C6.54033 13.2 7.09998 13.7596 7.09998 14.45C7.09998 15.1404 6.54033 15.7 5.84998 15.7Z",fill:n}),(0,fi.jsx)("path",{d:"M28.05 15.7H26.05C25.3596 15.7 24.8 15.1404 24.8 14.45C24.8 13.7596 25.3596 13.2 26.05 13.2H28.05C28.7403 13.2 29.3 13.7596 29.3 14.45C29.3 15.1404 28.7403 15.7 28.05 15.7Z",fill:n})]}))}));function Cee(){return Cee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cee.apply(this,arguments)}var Eee=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",Cee({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M14.749 23V22.9463C14.7491 22.256 15.3087 21.6963 15.999 21.6963C16.6892 21.6965 17.2489 22.2561 17.249 22.9463V23C17.249 23.6902 16.6892 24.2498 15.999 24.25C15.3087 24.25 14.749 23.6904 14.749 23ZM14.749 18.2764C14.749 17.7047 14.7487 17.1871 14.749 16.8125C14.7492 16.6254 14.7499 16.4739 14.75 16.3691V16.2061L14.7568 16.0781C14.8216 15.4485 15.3534 14.957 16 14.957C16.9268 14.957 17.75 14.1677 17.75 13.1035C17.7499 12.0394 16.9267 11.25 16 11.25C15.0733 11.25 14.2501 12.0394 14.25 13.1035C14.25 13.7939 13.6904 14.3535 13 14.3535C12.3096 14.3535 11.75 13.7939 11.75 13.1035C11.7501 10.7395 13.6132 8.75 16 8.75C18.3869 8.75 20.2499 10.7395 20.25 13.1035C20.25 15.0351 19.006 16.7159 17.249 17.2666C17.2488 17.5652 17.249 17.9096 17.249 18.2764C17.249 18.9666 16.6892 19.5262 15.999 19.5264C15.3087 19.5264 14.749 18.9667 14.749 18.2764Z",fill:n}),(0,fi.jsx)("path",{d:"M27.75 16C27.75 9.51065 22.4893 4.25 16 4.25C9.51065 4.25 4.25 9.51065 4.25 16C4.25 22.4893 9.51065 27.75 16 27.75C22.4893 27.75 27.75 22.4893 27.75 16ZM30.25 16C30.25 23.8701 23.8701 30.25 16 30.25C8.12994 30.25 1.75 23.8701 1.75 16C1.75 8.12994 8.12994 1.75 16 1.75C23.8701 1.75 30.25 8.12994 30.25 16Z",fill:n})]}))}));function See(){return See=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},See.apply(this,arguments)}var Oee=ij((e=>{var{size:t=16,color:n="currentColor",children:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["size","color","children"]);return(0,fi.jsxs)("svg",See({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 32 32"},o,{children:[r,(0,fi.jsx)("path",{d:"M15.9999 2.41675C21.2691 2.41675 25.4328 6.78842 25.3798 12.0105C25.3653 13.4382 25.3664 14.8165 25.3954 15.9402C25.4258 17.1142 25.485 17.879 25.5517 18.1697C25.7851 19.1868 26.2071 20.5011 26.5702 21.5564C27.126 23.1723 25.9454 24.9167 24.1884 24.9167H7.81144C6.05445 24.9167 4.87386 23.1723 5.4296 21.5564C5.79275 20.5011 6.21477 19.1868 6.44816 18.1697C6.51483 17.879 6.57404 17.1142 6.60441 15.9402C6.63347 14.8165 6.63455 13.4382 6.62003 12.0105C6.567 6.78841 10.7307 2.41675 15.9999 2.41675ZM15.9999 4.91675C12.168 4.91675 9.08064 8.10653 9.12003 11.9851C9.13468 13.4252 9.1346 14.8374 9.10441 16.0046C9.07552 17.1215 9.01776 18.1493 8.88468 18.7292C8.62 19.8826 8.16164 21.3011 7.79386 22.3699C7.79191 22.3756 7.79093 22.3806 7.79093 22.3806C7.79093 22.3806 7.79061 22.3843 7.79093 22.3865C7.79174 22.3917 7.79516 22.4001 7.8007 22.408C7.80405 22.4127 7.80689 22.4155 7.80851 22.4167H24.1913C24.1929 22.4155 24.1958 22.4127 24.1991 22.408C24.2047 22.4001 24.2081 22.3917 24.2089 22.3865C24.2092 22.3843 24.2089 22.3806 24.2089 22.3806C24.2089 22.3806 24.2079 22.3756 24.206 22.3699C23.8382 21.3011 23.3798 19.8826 23.1152 18.7292C22.9821 18.1493 22.9243 17.1215 22.8954 16.0046C22.8652 14.8374 22.8652 13.4252 22.8798 11.9851C22.9192 8.10653 19.8319 4.91675 15.9999 4.91675Z",fill:n}),(0,fi.jsx)("path",{d:"M13.25 24C13.25 25.5188 14.4812 26.75 16 26.75C17.5188 26.75 18.75 25.5188 18.75 24H21.25C21.25 26.8995 18.8995 29.25 16 29.25C13.100
8315 29.25 10.75 26.8995 10.75 24H13.25Z",fill:n})]}))}));const Aee={share_feedback:"topNavigation.copilotFeedback.shareFeedback",report_bug:"topNavigation.copilotFeedback.reportBug",suggest_feature:"topNavigation.copilotFeedback.suggestFeature",get_help:"topNavigation.copilotFeedback.getHelp"},_ee={share_feedback:{mode:"feedback",feedback_type:"airwallex_general"},report_bug:{mode:"feedback",feedback_type:"bug_report"},suggest_feature:{mode:"feedback",feedback_type:"feature_request"},get_help:{mode:"feedback",feedback_type:"get_help"}};function Pee(e,t){Ko("top_navigation_copilot_feedback_click",{type:e});const n=Aee[e],r=_ee[e];n&&B5(t(n),{isNew:!0,entry_context:r})}function jee(e,t,n){Ko(t),e(n)}const Tee=[{key:"share_feedback",icon:yee,labelKey:"userSettings.shareFeedback"},{key:"report_bug",icon:wee,labelKey:"topNavigation.copilotFeedback.reportBug"},{key:"suggest_feature",icon:kee,labelKey:"topNavigation.copilotFeedback.suggestFeature"},{key:"get_help",icon:Eee,labelKey:"userSettings.help"}];function Iee(){const{t:e}=sw(),t=function(){const{isBelowMobileMax:e}=O3();return e?"mobile":"desktop"}(),n=tm([jr.ik.en,jr.ik.zh])(em()),{name:r,email:o}=Qh((e=>ay(e,n))),i=Qh((e=>e.user.data)),a=(0,s.useMemo)((()=>function(e,t){return Vv(t.map((t=>({...t,name:Bv(e,t.id)??t.name}))).filter((e=>Boolean(e.name)))).map((e=>e.name))}(n,function(e){return(null==e?void 0:e.orgRoles)??[]}(i))),[n,i]),{isOpen:l,close:c,toggle:u}=function(){const[e,t]=(0,s.useState)(!1);return{isOpen:e,close:(0,s.useCallback)((()=>{t(!1)}),[]),toggle:(0,s.useCallback)((()=>{t((e=>!e))}),[])}}(),{delegators:d,sourceDelegators:p,selectedDelegatorId:f,currentDelegator:h,setDelegator:m}=function(){const e=Qh((e=>{var t;return null===(t=e.org.data)||void 0===t?void 0:t.id})),t=Qh((e=>{var t;return null===(t=e.user.data)||void 0===t?void 0:t.user.id})),{delegators:n}=Ny(),[r,o]=Ry(),i=(0,s.useMemo)((()=>WV(n,e,t)),[e,t,n]),a=(0,s.useMemo)((()=>i.map((e=>({id:e.userId,displayName:e.display})))),[i]);return{delegators:a,sourceDelegators:i,selectedDelegatorId:null==r?void 0:r.userId,currentDelegator:r,setDelegator:o}}(),{onSelectDelegator:g}=function(e){let{sourceDelegators:t,currentDelegator:n,setDelegator:r}=e;const o=(0,Yh.useHistory)();return{onSelectDelegator:(0,s.useCallback)((e=>{const i=$V(e,null==n?void 0:n.userId,t);if("clear"===i.action)return r(void 0),void o.push("/app");"noop"!==i.action&&(r(i.delegator),o.push("/app"))}),[null==n?void 0:n.userId,o,r,t])}}({sourceDelegators:p,currentDelegator:h,setDelegator:m}),v=function(){var e;const{t}=sw(),n=Qh((e=>e.org.data)),r=Qh((e=>e.account)),{hideProfileAndHelp:o}=Qx(),{isCopilotActive:i,isCopilotStreaming:a,isCopilotEligible:l}=G5(),c=tm([jr.ik.en,jr.ik.zh])(em()),u=JG(),d=(null===(e=If({account:r}))||void 0===e||null===(e=e.helpDeskUrl)||void 0===e||null===(e=e.url)||void 0===e?void 0:e[c])||oee,p=l&&i;return(0,s.useMemo)((()=>{const e=[];if(!o){const r=(e,t)=>()=>jee(u,e,t);e.push({key:"profile",icon:pH,label:t("userSettings.profile"),group:"settings",onClick:r("top_navigation_profile_click","user/profile")},{key:"notifications",icon:Oee,label:t("userSettings.notifications"),group:"settings",onClick:r("top_navigation_notifications_click","user/notifications")}),n&&e.push({key:"assistants",icon:ZL,label:t("userSettings.assistants"),group:"settings",onClick:r("top_navigation_assistants_click","user/assistants")})}if(p)for(const{key:n,icon:r,labelKey:o}of Tee)e.push({key:n,icon:r,label:t(o),group:"feedback",disabled:a,onClick:()=>Pee(n,t)});return o||p||e.push({key:"help",icon:Eee,label:t("userSettings.help"),group:"help",onClick:()=>{Ko("top_navigation_help_click"),document.dispatchEvent(new CustomEvent("awx:customer-support-modal:open",{detail:{helpLink:d}}))},isExternal:!0}),e}),[d,o,a,u,n,p,t])}(),y=function(){const e=Qh((e=>e.account));return(0,s.useCallback)((async()=>{Ko("top_navigation_logout",{account_id:e.accountId,account_type:e.accountType,account_hierarchy_type:e.accountHierarchyType}),zr.info("Webapp manual logout"),await Xf(),Jf(),Qf(e)}),[e])}(),b=JG(),w={isOpen:l,name:r,email:o,roles:a,onEditProfileClick:()=>jee(b,"top_navigation_profile_click","user/profile"),editProfileLabel:e("userSettings.editProfile"),moreRolesLabel:t=>e("userSettings.moreRoles",{count:t}
831),assistantModeLabel:e("userSettings.assistantMode"),exitAssistantModeLabel:e("userSettings.exitAssistantMode"),delegators:d,selectedDelegatorId:f,onSelectDelegator:g,actions:v,onLogoutClick:y,logoutLabel:e("userSettings.logout")};return gi("mobile"===t?gee:cee,{...w,onToggleOpen:u,onClose:c})}const Lee=ji.styled.div({display:"flex",alignItems:"center",justifyContent:"center",width:40,height:40,flexShrink:0});function Nee(e){let{slot:t}=e;return gi(Lee,{"data-test":"ai-button-slot",children:t})}const Ree=(0,ji.styled)(rL)((e=>{let{theme:t}=e;return{color:t.semanticColors.icon.secondary,"&:hover":{backgroundColor:t.colors.grays[20]},"&:active":{color:t.semanticColors.icon.primary,backgroundColor:t.colors.grays[20]},"&:disabled":{backgroundColor:"transparent",svg:{color:t.semanticColors.icon.disabled}}}})),Dee=ji.styled.header({display:"flex",flexDirection:"column",width:"100%"}),Fee=ji.styled.div({width:"100%"}),Mee=ji.styled.div((e=>{let{theme:t}=e;return{display:"flex",alignItems:"center",width:"100%",height:64,gap:12,padding:"0 16px",color:t.semanticColors.text.primary,background:t.semanticColors.background.primary,boxSizing:"border-box"}})),Bee=ji.styled.div({display:"flex",alignItems:"center",gap:8,flex:"0 1 auto",minWidth:0}),Vee=(0,ji.styled)(tB)({minWidth:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}),zee=ji.styled.div({display:"flex",alignItems:"center",justifyContent:"center",flex:"1 1 auto",minWidth:0}),Uee=ji.styled.div({display:"flex",alignItems:"center",flexShrink:0,gap:8,marginInlineStart:"auto"}),Hee=(0,ji.styled)(Ree)({flexShrink:0}),qee=ji.styled.div((e=>{let{theme:t}=e;return{width:36,height:4,marginInline:"auto",borderRadius:2,background:t.semanticColors.border.decorative}})),Wee=ji.styled.div({overflow:"auto",padding:"0 16px 16px"});function $ee(e){let{slot:t,isOpen:n,onOpenChange:r,"aria-label":o}=e;const{t:i}=sw(),a=o??i("navigation.search");return vi(mi,{children:[gi(Hee,{type:"button",variant:"TERTIARY",icon:TB,"aria-label":a,onClick:()=>r(!0)}),gi(I4,{isOpen:n,onOpenChange:r,"aria-label":a,enableBodyPadding:!1,header:gi(qee,{"data-test":"search-bottom-sheet-handle"}),children:gi(Wee,{children:t})})]})}function Gee(){return gi(ia,{fallback:null,children:gi(XU,{federationConfig:vb["universal-search-bar"],containerProps:{},loading:null})})}function Kee(){const[e,t]=(0,s.useState)(!1);return gi($ee,{isOpen:e,onOpenChange:t,slot:gi(Gee,{})})}const Zee=ji.styled.div({display:"flex",alignItems:"center",gap:4}),Yee=(0,ji.styled)(Ree)({});function Xee(e){let{canGoBack:t,canGoForward:n,onBackClick:r,onForwardClick:o}=e;const{t:i}=sw();return vi(Zee,{children:[gi(Yee,{variant:"TERTIARY",icon:vK,"aria-label":i("navigation.back"),disabled:!t,onClick:r}),gi(Yee,{variant:"TERTIARY",icon:E5,"aria-label":i("navigation.forward"),disabled:!n,onClick:o})]})}function Qee(e){let{navigation:t}=e;const{canGoBack:n,canGoForward:r,onBackClick:o,onForwardClick:i}=function(e){const{canGoBack:t,canGoForward:n}=A5(e);return{canGoBack:t,canGoForward:n,onBackClick:(0,s.useCallback)((()=>{Ko("in_app_navigation_back_click"),e.back()}),[e]),onForwardClick:(0,s.useCallback)((()=>{Ko("in_app_navigation_forward_click"),e.forward()}),[e])}}(t);return gi(Xee,{canGoBack:n,canGoForward:r,onBackClick:o,onForwardClick:i})}function Jee(){const e=hn(),t=null!=e&&e.pffEnableInAppNavigation?jS():null;return t?gi(Qee,{navigation:t}):null}function ete(e){let{displayWidth:t,inputType:n,menuSlot:r,title:o,leadingControls:i,collapsedSearchSlot:a,globalSearchSlot:s,aiButtonSlot:l,userSettings:c,isAssistantMode:u=!1}=e;const d="mouse"===n,p="touch"===n&&"narrow"===t,f=!p,h=p&&u&&null!=c;return vi(Dee,{"data-test":"top-navigation-bar",children:[h&&gi(Fee,{"data-test":"top-navigation-assistant-settings",children:c}),vi(Mee,{children:[gi(Bee,{"data-test":"top-navigation-leading-region",children:d?i:vi(mi,{children:[r,gi(Vee,{as:"span",variant:"headline300",children:o})]})}),d&&gi(zee,{children:s}),vi(Uee,{"data-test":"top-navigation-actions-region",children:[!d&&a,f&&l,!h&&c]})]})]})}function tte(){const{displayWidth:e,inputType:t}=function(){const{displayWidth:e,isTouch:t}=O3();return{displayWidth:e,inputType:t?"touch":"mouse"}}(),n=function(){const{links:e}=U9();return(0,s.useMemo)((()=>W9(e,{preferChild:!0})),[e])}(),[r]=Ry();return gi(ete,{displayWidth:e,inputType:t,menuSlot:gi(n8,{}),title:n,leadingControls:gi(Jee,{}),collapsedSearchSlot:gi(Kee,{}),globalSearchSlot:gi(Gee,{}),aiButtonSlot:gi(Nee,{slot:gi(J9,{})}),userSettings:gi(Iee,{}),isAssistantMode:Boolean(r)})}const nte=ji.styled.div({display:"flex",flexDirection:"column",width:"100%",height:"100vh",minWidth:0,overflow:"hidden","@supports (height: 100dvh)":{height:"100dvh"}}),rte=ji.styled.div({flexShrink:0,width:"100%"}),ote=ji.styled.div({display:"flex",flex:"1 1 auto",minWidth:0,minHeight:0,overflow:"hidden"}),ite=ji.styled.div({display:"flex",flexShrink:0,height:"100%"}),ate=ji.styled.div({display:"flex",flex:"1 1 auto",flexDirection:"column",minWidth:0,height:"100%"}),ste=ji.styled.div({flexShrink:0,width:"100%"}),lte=ji.styled.div({display:"flex",flex:"1 1 auto",minWidth:0,minHeight:0,overflow:"hidden"}),cte=ji.styled.main({flex:"1 1 auto",minWidth:0,minHeight:0,overflow:"auto"}),ute=ji.styled.aside({display:"flex",flexShrink:0,minHeight:0}),dte=ji.styled.div({position:"fixed",right:H4.x.m,bottom:H4.x.m,zIndex:qK.f.header});function pte(e){let{breakpoint:t,sandboxBanner:n,topNavigation:r,sideNavigation:o,content:i,kai:a,kaiTrigger:s}=e;const l="mobile"===t;return vi(nte,{children:[gi(rte,{children:n}),vi(ote,{children:[gi(ite,{children:o}),vi(ate,{children:[gi(ste,{children:r}),vi(lte,{children:[gi(cte,{id:"content","data-test":"content_wrapper",children:i}),!l&&gi(ute,{children:a})]})]}),l&&a,l&&gi(dte,{children:s})]})]})}function fte(){var e;!function(){const e=(0,lR.W6)(),t=xV();Ur("awx:switch-context-without-reload",(async n=>{const{accountId:r,orgId:o,redirectUrl:i}=n.detail??{};(r||o)&&(r===(0,jr.PU)()&&i?e.push(i):await t(o&&r?{parent:{id:o,type:"org"},target:{id:r,type:"account"}}:o?{target:{id:o,type:"org"}}:{target:{id:r,type:"account"}},i))}))}();const{breakpoint:t}=O3(),{initialized:n,org:r,isReinitializing:o}=Dx(),{showMainPageSpinner:i}=function(){const{initialized:e,isReinitializing:t}=Dx();return{showMainPageSpinner:!e||Boolean(t&&!kS(window.location.pathname))}}(),{residentMicroApps:a}=function(){const{initialized:e}=Dx(),t=Qh(iH),n=[],r="undefined"!=typeof window&&void 0!==window.Cypress;return e&&!r&&"FAILURE"!==t&&n.push("announcement"),n.push("pre-org-migration-review"),e&&(n.push("analytics"),n.push("settings-container")),{residentMicroApps:n}}(),[s,l]=U4(),c=v3(),u=(null===(e=Qh(Jv))||void 0===e?void 0:e.isBusinessAccountsEnabled)??!1,d=i?gi(oa,{}):vi(mi,{children:[n&&gi(x3,{isBusinessAccountsEnabled:u,children:gi(Z4,{withRootPathFallback:!r})}),gi(s3,{initialized:n,isReinitializing:o})]});return gi(Xx,{children:gi(WS,{children:vi(rH,{children:[n&&gi(y3,{}),gi(Y9,{}),a.map((e=>gi(hK,{applicationName:e},e))),gi(B4,{}),gi(_3,{children:gi(pte,{breakpoint:t,sandboxBanner:c?gi(g3,{}):null,topNavigation:gi(tte,{}),sideNavigation:gi(K9,{}),content:d,kai:gi(Q9,{}),kaiTrigger:gi(J9,{})})}),!l&&gi(AQ,{forceLogoutConfig:s,disableForceLogout:c})]})})})}const hte=Rx((function(){return gi(S3,{children:gi(fte,{})})})),mte=function(){const e=eH();return gi(e?hte:k3,{})},gte=e=>{let{appName:t,loadingMode:n,children:r}=e;return(0,s.useEffect)((()=>{TC(t,n)}
831),[]),gi(mi,{children:r})},{breakpoint:vte}=vj,yte=(ji.styled.div({display:"flex",flex:1,minHeight:"100vh",background:yQ.white,height:"auto",flexDirection:"row",[vte.s]:{flexDirection:"column"}}),ji.styled.div((()=>({display:"flex",flexDirection:"column",flex:1,[vte.s]:{marginLeft:0}}))));ji.styled.div((e=>{let{theme:t}=e;return{margin:`${t.space.xxl} auto`,minWidth:"80%",[t.breakpoints.breakpoint.s]:{margin:t.space.m,width:"auto",minWidth:"auto"}}}));var bte={PAGE:"page",CARD:"card"},wte=e=>{var{theme:t}=e,n=Hi(t.semanticTokensV9,(()=>t.tokens));return{background:{imageGradient:{start:n((e=>e.colors.bg.area.primary),"transparent"),end:n((e=>e.colors.bg.area.tertiary),"rgba(0, 0, 0, 0.04)")}}}},xte=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),kte=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),Cte=e=>"string"==typeof e?e:void 0,Ete=e=>{var{theme:t}=e,n=t.pageState;if(!kte(n)||!xte(n,"background"))return{};var r=n.background;if(!kte(r))return{};var o=xte(r,"imageGradient")?r.imageGradient:void 0;return void 0===o?{}:kte(o)?zi({background:{imageGradient:{start:Cte(o.start),end:Cte(o.end)}}}):{}};function Ste(){return Ste=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ste.apply(this,arguments)}var Ote=ji.styled.div({width:"100%"}),Ate=ji.styled.div((e=>{var{theme:t,gradient:n=!1,center:r=!1}=e,{background:o}=(e=>{var{theme:t}=e;return Ui({defaults:wte({theme:t}),newFormatOverlay:Ete({theme:t})})})({theme:t});return Ste({padding:t.space.xl,paddingBottom:0,marginBottom:t.space.m},r&&{display:"flex",justifyContent:"center"},n&&{background:"linear-gradient(to bottom, "+o.imageGradient.start+" 0%, "+o.imageGradient.end+" 100%)",backgroundSize:"100% calc(100% - "+t.space.m+")",backgroundRepeat:"no-repeat"},{[t.breakpoints.breakpoint.s]:{paddingInlineStart:t.space.s,paddingInlineEnd:t.space.s,paddingTop:t.space.s,marginBottom:t.space.s}})})),_te=ji.styled.div((e=>{var{maxWidth:t}=e;return Ste({width:"100%"},t&&{maxWidth:t},{svg:{display:"block",maxWidth:"100%",height:"auto"}})})),Pte=ji.styled.div((e=>{var{theme:t,center:n=!1}=e;return Ste({padding:t.space.xl,paddingTop:0},n&&{display:"flex",justifyContent:"center"},{[t.breakpoints.breakpoint.s]:{padding:t.space.s,paddingTop:0}})})),jte=((0,ji.styled)(Pte)({textAlign:"center"}),ji.styled.div((e=>{var{maxWidth:t}=e;return Ste({width:"100%"},t&&{maxWidth:t})})));function Tte(){return Tte=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tte.apply(this,arguments)}function Ite(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}ji.styled.div({svg:{margin:"0 auto"}}),(0,ji.styled)(jz)({marginBottom:8}),ji.styled.div({marginTop:24});var Lte=e=>{var{children:t,variant:n="page"}=e,r=Ite(e,["children","variant"]);return n in bte&&YM()(!0,'[@airwallex/page-state PageState] `variant="'+n+'"` is deprecated. Remove it â variant is not used by PageState.'),(0,fi.jsx)(Ote,Tte({},r,{children:t}))},Nte=e=>{var{gradient:t=!1,center:n=!1,width:r="100%",children:o}=e,i=Ite(e,["gradient","center","width","children"]);return(0,fi.jsx)(Ate,Tte({gradient:t,center:n},i,{children:(0,fi.jsx)(_te,{maxWidth:r,children:o})}))},Rte=e=>{var{center:t=!1,children:n,width:r="100%"}=e,o=Ite(e,["center","children","width"]);return(0,fi.jsx)(Pte,Tte({center:t},o,{children:(0,fi.jsx)(jte,{maxWidth:r,children:n})}))},Dte=n(14857);function Fte(){return Fte=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fte.apply(this,arguments)}var Mte=ji.styled.p((e=>{var{theme:t,variant:n}=e;return Fte({},n&&t.typography.body[n],{margin:0,strong:{fontWeight:t.typography.body["100.Bold"].fontWeight}})}));function Bte(){return Bte=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bte.apply(this,arguments)}var Vte=(0,s.forwardRef)(((e,t)=>{var n=[e,t],[r,...o]=n,{variant:i="100"}=r,a=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(r,["variant"]),[s]=o;return(0,fi.jsx)(Mte,Bte({ref:s,variant:i},a))}));Vte.displayName="Body";const zte=ji.styled.dl({margin:0}),Ute=ji.styled.dt((e=>{let{theme:t}=e;return{color:t.semanticColors.text.secondary,fontWeight:400,margin:0,minHeight:24,lineHeight:"24px",display:"flex",alignItems:"center"}})),Hte=ji.styled.dd({margin:0,display:"flex",alignItems:"center",gap:4,minWidth:0,minHeight:24,lineHeight:"24px",wordBreak:"break-all"}),qte=ji.styled.span({display:"inline-flex",alignItems:"center","> button, > a":{width:24,height:24,minWidth:"unset",minHeight:"unset",padding:0}});function Wte(e){let{label:t,children:n}=e;return vi(zte,{children:[gi(Ute,{children:t}),gi(Hte,{children:n})]})}function $te(e){let{label:t,value:n}=e;return gi(Wte,{label:t,children:gi(tB,{variant:"link",color:"primary",as:"span",children:n})})}function Gte(e){let{label:t,value:n}=e;return vi(Wte,{label:t,children:[gi(tB,{variant:"link",color:"primary",as:"span",children:n}),gi(qte,{children:gi(rL,{icon:lH,"aria-label":`Copy ${t}`,onClick:()=>{navigator.clipboard.writeText(n).catch((()=>{}))}})})]})}$te.displayName="LabelValue.Text",Gte.displayName="LabelValue.Copyable",Wte.Text=$te,Wte.Copyable=Gte;const Kte=ji.styled.div((e=>{let{theme:t}=e;return{marginTop:t.space.m,padding:t.space.m,background:t.semanticColors.background.secondary,borderRadius:t.radius.l,textAlign:"left",width:"100%",maxWidth:480,margin:`${t.space.m} auto 0`,display:"grid",gridTemplateColumns:"auto 1fr",columnGap:t.space.l,"& dl":{display:"contents"}}}));var Zte={name:"tm4lke",styles:"svg{margin:0 auto;}"},Yte={name:"1azakc",styles:"text-align:center"},Xte={name:"5bhc30",styles:"margin-bottom:8px"},Qte={name:"yz1nei",styles:"margin-top:16px"};function Jte(){var e;const t=em(),{updateTopNav:n}=Qx(),r=(0,Yh.useRouteMatch)(),o=lo(r),i=ao(o);(0,s.useEffect)((()=>{n({tabs:[]})}),[n]);const a=(0,jr.TO)()??"EMAIL"===(0,jr.D1)()?(0,jr.cY)():(0,jr.W$)(),l=(0,jr.I)(),c=(0,jr.PU)(),u=null==zr||null===(e=zr.commonData)||void 0===e?void 0:e.sessionId,d=(new Date).toISOString(),p=`https://help.airwallex.com/hc/${"zh"===t?"zh-cn":"en-gb"}/requests/new`;return vi(Lte,{"data-public":!0,children:[gi(Nte,{center:!0,gradient:!0,children:gi("div",{css:Zte,children:gi(Dte.A,{width:270})})}),vi(Rte,{center:!0,width:"640px",css:Yte,children:[gi(jz,{as:"h2",variant:"100",css:Xte,children:"Something went wrong"}),vi(Vte,{children:["Sorry, [",i,"] encountered an issue."]}),vi(Vte,{children:[gi(bY,{href:"",onClick:e=>{e.preventDefault(),location.reload()},children:"Reload"})," ","the page to try again."]}),vi(Vte,{css:Qte,children:["If problem persists,"," ",gi(bY,{href:p,target:"_blank",rel:"noopener noreferrer",children:"contact support"})," ","with following details:"]}),vi(Kte,{children:[a&&gi(Wte,{label:"User",children:gi(tB,{variant:"link",color:"primary",as:"span",children:gi("span",{"data-private":!0,children:a})})}),l&&gi(Wte.Copyable,{label:"Org ID",value:l}),c&&gi(Wte.Copyable,{label:"Account ID",value:c}),gi(Wte.Text,{label:"Timestamp",value:d}),u&&gi(Wte.Copyable,{label:"Session ID",value:u})]})]})]})}const ene=e=>{let{isWholePage:t=!1}=e;const{t:n}
831=sw(),[r,o]=(0,s.useState)(!1);return(0,s.useEffect)((()=>{const e=setTimeout((()=>{o(!0)}),200);return()=>clearTimeout(e)}),[]),r?vi("div",{role:"status","aria-busy":"true","aria-label":n("skeleton.loadingPageContent"),css:Pi.AH` 832 display: flex; 833 flex-direction: column; 834 gap: 16px; 835 width: 100%; 836 padding: 8px 56px 0 56px; 837 ${t&&"\n height: 100vh;\n justify-content: center;\n "} 838 `,children:[gi(L5,{height:100}),gi(L5,{height:200}),gi(L5,{height:200})]}):null},tne=(e,t)=>e?gi(oa,{}):t?null:gi(ene,{}),nne=()=>{const e=(0,Yh.useRouteMatch)();ei()(`Federation MicroApp match${JSON.stringify(e)}`);const t=lo(e),n=ao(t),r=CS(),[o,i]=(0,s.useState)(!1),a=(0,s.useMemo)((()=>(e=>Object.values(vb).find((t=>t.applicationName===e&&t.module===hb)))(n)),[n]),l=aC({moduleFederationName:(null==a?void 0:a.remote)||""}),c=n===vb["dashboard-container"].applicationName&&Eb.includes(`/app/${t}`),u=n===vb.login.applicationName,d=(0,s.useMemo)((()=>a?gi(XU,{federationConfig:a,containerProps:l,loading:tne(u,c)},a.applicationName):null),[l,a,c,u]);(0,s.useEffect)((()=>{i(!1)}),[t]),Ur("awx:dashboard-container:ready",(()=>{i(!0)}),document);const p=c&&!o;return gi(ia,{fallback:gi(Jte,{}),children:vi(gte,{appName:n,loadingMode:CC.ModuleFederation,children:[p&&gi(ene,{}),gi(yte,{id:n,"data-test":n,showNav:!r,style:p?{visibility:"hidden"}:void 0,children:d})]})})},rne=nne,one=()=>gi(JS,{children:gi(mK,{sections:[{links:[]}]})}),ine=Rx((()=>{const{initialized:e}=Dx(),t=CS();return gi(WS,{children:vi(d3,{children:[!t&&gi(ia,{children:gi(one,{})}),gi(p3,{showNav:!t,children:e&&gi(rne,{})})]})})})),ane=e=>{const t=t=>gi(d3,{children:c().createElement(e,t)});return t.displayName=`withLayout(${e.displayName||e.name})`,t};function sne(e,t){return n=>function(r){const o=hn(),{initialized:i,account:a,user:l,expenseConfig:u,billsConfig:d,vendorsConfig:p,purchaseOrdersConfig:f,spendAnalyticsConfig:h,transferSettings:m,hasOwnedBudget:g}=Dx(),v=Qh((e=>e.org)),y=ek(),b=(0,Yh.useHistory)();if((0,s.useEffect)((()=>{window.performance.mark("webapp:router change")}),[]),e){var w,x;if(!i||!(null!==(w=l.data)&&void 0!==w&&w.enrollment||null!==(x=l.data)&&void 0!==x&&x.orgEnrollment))return null;if(!e({account:a,flags:o,user:l,org:v,expenseConfig:u,billsConfig:d,vendorsConfig:p,purchaseOrdersConfig:f,spendAnalyticsConfig:h,transferSettings:m,hasOwnedBudget:g,featureEnabled:y}))return b.replace(t||"/app"),null}return c().createElement(n,r)}}const lne=["AU","CA","UK","US","CN","HK","SG","MY","EU","NZ"],cne=()=>{const e=(0,s.useContext)(bi);if(null==e||!e.initialized)return null;const t=`/signup${window.location.search}`;return lne.includes(e.countryCode)?window.location.href=`/${e.countryCode.toLowerCase()}${t}`:window.location.href=t,null},une=["/account/profile","/account/add-bank-details"],dne=e=>{var t;let{account:n,user:r}=e;if(une.some((e=>window.location.pathname.includes(e))))return!0;if((0,jr.I)()&&!Kr((null===(t=r.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions)??[],"r:awx:system.accounts:*"))return!1;const o=!!(0,jr.mg)(),i=Df({account:n});return o||i},pne=e=>{var t;let{user:n}=e;const r=(null==n||null===(t=n.data)||void 0===t?void 0:t.orgRoles)||[];return 1!==r.length||r[0].id!==Tv&&r[0].id!==_v},fne=e=>{let{account:t,user:n}=e;return!(!["/uam/accounts/create","/uam/account-group/create","/uam/no-permission","/uam/entity/create"].some((e=>window.location.pathname.includes(e)))&&!(0,jr.mg)())||((0,jr.I)()?Kr((null==n||null===(r=n.data)||void 0===r||null===(r=r.orgEnrollment)||void 0===r?void 0:r.permissions)||[],"r:org:uam.users:view"):Df({account:t}));var r},hne=e=>{const t=t=>{const n=Sb();return window.location.pathname===n?c().createElement(e,t):gi(Yh.Redirect,{to:n})};return t.displayName="WithDashboardRedirect",t};function mne(){return e=>function(t){const{updateTopNav:n}=Qx();return gi(b3.wY,{updateTopNav:n,children:c().createElement(e,t)})}}const gne=e=>{let{account:t,user:n}=e;var r;return(0,jr.I)()?Kr((null==n||null===(r=n.data)||void 0===r||null===(r=r.orgEnrollment)||void 0===r?void 0:r.permissions)||[],"r:
838org:ecosystem.integrations:*"):Df({account:t})},vne={path:["/app1/cards","/app/cards"],component:sne((e=>{var t;let{account:n,user:r,featureEnabled:o,flags:i,org:a}=e;return!!Ix(null==a?void 0:a.data,i.spendCardsCardsMovedToOrg)||Df({account:n,otherPermissions:Eq((null===(t=r.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions)??[],o)})}))(nne)},yne={path:["/app1/rfi","/app/rfi"],component:nne},bne={path:["/app1/kyc/task/account-owner-activation","/app/kyc/task/account-owner-activation"],component:nne},wne={path:["/app1/card-activation","/app/card-activation"],component:sne((e=>{var t;let{account:n,user:r,featureEnabled:o,flags:i,org:a}=e;return!!Ix(null==a?void 0:a.data,i.spendCardsCardsMovedToOrg)||Df({account:n,otherPermissions:Eq((null===(t=r.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions)??[],o)})}))(nne)},xne={path:["/app1/account/profile","/app/account/profile"],component:sne(dne)(nne)},kne={path:["/app1/account/add-bank-details","/app/account/add-bank-details"],component:sne(dne)(nne)},Cne={path:["/app1/uam/accounts/create","/app/uam/accounts/create"],component:mne()(sne(fne)(nne))},Ene={path:["/app/expenses","/app/spend/expenses"],component:mne()(sne((e=>{var t,n;let{user:r,expenseConfig:o}=e;return!1!==MH({userPermissions:(0,jr.I)()?null===(t=r.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions:null===(n=r.data)||void 0===n||null===(n=n.enrollment)||void 0===n?void 0:n.permissions,expensesAvailable:!(null==o||!o.expensesAvailable),activated:!0,expensesPricingAvailable:!0})}))(nne))},Sne={path:["/app/billpay","/app/spend/bills"],component:mne()(sne((e=>{var t,n;let{user:r,billsConfig:o,account:i}=e;return gq({userPermissions:(0,jr.I)()?null===(t=r.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions:null===(n=r.data)||void 0===n||null===(n=n.enrollment)||void 0===n?void 0:n.permissions,billPayActivated:!(null==o||!o.isActivated),account:i,billPayPricingAvailable:!0})}))(nne))},One={path:["/app/vendor","/app/spend/vendors"],component:mne()(sne((e=>{var t,n;let{user:r,vendorsConfig:o,account:i}=e;return yq({userPermissions:(0,jr.I)()?null===(t=r.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions:null===(n=r.data)||void 0===n||null===(n=n.enrollment)||void 0===n?void 0:n.permissions,vendorActivated:!(null==o||!o.isActivated),account:i,vendorPricingAvailable:!(null==o||!o.isPricingAvailable)})}))(nne))},Ane={path:["/app/spend/vendor-portal"],component:mne()(sne((e=>{let{flags:t}=e;return!!t.spendVendorVendorPortalEnabled}))(nne))},_ne={path:["/app/purchase-orders","/app/spend/purchase-orders"],component:mne()(sne((e=>{var t;let{user:n,purchaseOrdersConfig:r,account:o}=e;return J$({userPermissions:null===(t=n.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions,purchaseOrdersActivated:!(null==r||!r.isActivated),account:o,purchaseOrdersPricingAvailable:!(null==r||!r.isPricingAvailable)})}))(nne))},Pne={path:["/app/spend-overview","/app/spend/overview"],component:mne()(sne((e=>{var t;let{account:n,spendAnalyticsConfig:r,user:o}=e;return(!n||!Vf(n))&&X$(r,null===(t=o.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions)}))(nne))},jne={path:["/app/spend/accounting"],component:mne()(sne((e=>{var t;let{account:n,user:r}=e;return(e=>{let{account:t,userPermissions:n}=e;const r=!(!t||!Vf(t)),o=Y$(n||[]);return!r&&o})({userPermissions:null===(t=r.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions,account:n})}))(nne))},Tne={path:["/app/spend-requests","/app/spend/requests"],component:mne()(sne((e=>{var t;let{user:n,account:r,expenseConfig:o}=e;return iG({userPermissions:null===(t=n.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions,account:r,expenseConfig:o,spendRequestsPricingAvailable:s$(o)})}))(nne))},Ine={path:["/app/spend/budgets"],component:mne()(sne((e=>{var t;let{user:n,account:r,flags:o,hasOwnedBudget:i}=e;return jG({userPermissions:null===(t=n.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions,account:r,flags:o,hasOwnedBudget:i}
838)}))(nne))},Lne={path:["/app1/developer","/app/developer"],component:sne((e=>{var t;let{user:n,account:r,flags:o}=e;return Df({account:r,otherPermissions:bH({userPermissions:null===(t=n.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions,flags:o,account:r})})}))(nne)},Nne=[{path:["/app/developer/org"],component:sne((e=>{var t;let{user:n,flags:r}=e;return wH({userPermissions:null===(t=n.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions,flags:r})}))(nne)},{path:["/app/org-acquiring"],component:sne(Ff)(nne)},{path:["/app/org-fraud"],component:sne(Ff)(nne)},{path:["/app/org-get-paid"],title:"Payment links",component:sne((e=>{var t,n;let{user:r,flags:o,org:i}=e;return!(null==o||!o.paFeNewOrgPayments)&&!(null==i||null===(t=i.data)||void 0===t||!t.isBusinessAccountsEnabled)&&Kr((null===(n=r.data)||void 0===n?void 0:n.allAccountPermissionsInOrg)??[],"r:awx:pa.payment.*:*")}))(nne)}],Rne=[vne,wne,Ene,Sne,One,Ane,_ne,Tne,Ine,Pne,jne,Lne,{path:["/app1/contacts","/app/contacts"],title:"Contacts",component:sne((e=>{var t;let{account:n,user:r,org:o}=e;return Df({account:n,org:o,otherPermissions:wW((null===(t=r.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions)??[])})}))(nne)},{path:["/app1/transfers","/app/transfers"],title:"Transfers",component:sne((e=>{let{account:t,org:n}=e;return Df({account:t,org:n})}))(nne)},{path:["/app1/batch-transfers","/app/batch-transfers"],component:sne((e=>{var t;let{user:n,account:r}=e;return Df({account:r,otherPermissions:qx((null===(t=n.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions)??[])})}))(nne)},{path:["/app1/rewards","/app/rewards"],component:sne((e=>{var t;let{account:n,org:r}=e;return!(!Lf({account:n})||((0,jr.I)()?null==r||null===(o=r.data)||void 0===o||!o.hasKycPassedEntity:"SUCCESS"!==(null===(t=n.kycRecord)||void 0===t?void 0:t.status)));var o}))(nne)},{path:["/app/business-accounts"],component:sne()(nne)},{path:["/app1/acquiring","/app/acquiring"],title:"Payments",component:sne((e=>{var t,n;let{account:r}=e;const o=(null==r||null===(t=r.clientApiSettings)||void 0===t||null===(t=t.paSetting)||void 0===t?void 0:t.paState)??"";return!!(0,jr.mg)()||!!(0,jr.I)()||!("FORBIDDEN"===o||!o)&&["SUBMITTED","SUCCESS"].includes((null===(n=r.kycRecord)||void 0===n?void 0:n.status)??"")}))(nne)},{path:["/app/org"],component:mne()(sne()(nne))},{path:["/app1/fraud","/app/fraud"],title:"Risk",component:sne(Mf)(nne)},{path:["/app1/get-paid","/app/get-paid"],title:"Payment links",component:sne(Mf)(nne)},{path:["/app1/reports","/app/reports"],component:sne((e=>{var t,n,r,o,i;let{user:a,account:s,org:l}=e;const c=(null==l||null===(t=l.data)||void 0===t?void 0:t.orgType)&&"SASE"!==(null==l||null===(n=l.data)||void 0===n?void 0:n.orgType),u=c?null===(r=a.data)||void 0===r?void 0:r.allAccountPermissionsInOrg:null===(o=a.data)||void 0===o||null===(o=o.enrollment)||void 0===o?void 0:o.permissions,d=Kr(u??[],"r:awx:core_banking.wallet.balances.*:*");return(0,jr.mg)()||c?d:d&&"SUCCESS"===(null==s||null===(i=s.kycRecord)||void 0===i?void 0:i.status)}))(nne)},{path:["/app1/uam","/app/uam"],component:mne()(sne(fne)(nne))},{path:["/app/invitation"],component:sne(fne)(nne)},{path:["/app1/account/details","/app/account/details"],component:sne((e=>{let{account:t}=e;return Df({account:t})}))(nne)},{path:["/app1/account/apiKeys","/app/account/apiKeys"],component:sne((e=>{var t;let{user:n,account:r,flags:o}=e;return Df({account:r,otherPermissions:bH({userPermissions:null===(t=n.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions,flags:o,account:r})})}))(nne)},{path:["/app1/account","/app/account"],component:sne(dne)(nne)},{path:["/app/post-auth"],component:sne((e=>{let{account:t}=e;return Df({account:t})}))(nne)},{path:["/app1/integrations","/app/integrations"],component:mne()(sne(gne)(nne))},{path:["/app/spend/connection"],component:mne()(sne(gne)(nne))},{path:["/app/saas-pricing"],component:mne()(sne()(nne))},{path:["/app/plan-billing"],component:mne()(sne()(nne))},{path:["/app/invoices"],component:sne()(nne)},{path:["/app/subscriptions"],component:sne()(nne)},{path:["/app/billing-customers"],component:sne()(nne)},{path:["/app/billing"],component:sne()(nne)},{path:["/app1/dashboard","/app/dashboard"],component:sne(pne,"/app")(hne(nne)),exact:!0},{path:[Cb.ACCOUNT,Cb.ORG,Cb.ORG_ACCOUNT_OVERVIEW,Cb.INTRO],component:mne()(sne(pne,"/app")(hne(nne)))},{path:["/app1/conversions","/app/conversions"],title:"Conversions",component:sne(zx)(nne)},{path:["/app1/globalaccount","/app/globalaccount"],title:"Global Account",component:sne((e=>{var t;let{account:n,user:r}=e;return Ux((null===(t=r.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions)??[],n)}))(nne)}
838,{path:["/app1/oauth2","/app/oauth2"],component:nne},{path:["/app1/kyc","/app/kyc"],component:nne},{path:["/app1/wallet","/app/wallet"],title:"Wallet",component:sne((e=>{let{user:t,account:n,flags:r}=e;return Hx({account:n,flags:r,user:t,isOrg:!0}).hasPermission||Hx({account:n,flags:r,user:t}).hasPermission}))(nne)},{path:["/app1/linkedaccounts","/app/linkedaccounts"],component:sne()(nne)},{path:["/app1/aggregate-funds","/app/aggregate-funds"],component:sne((e=>{var t;let{user:n}=e;return(e=>{let{userPermissions:t}=e;return!!t&&(Kr(t,"w:awx:gtpn.transfers.*:*")||Kr(t,"w:awx:gtpn.transfers_v2.*:*"))})({userPermissions:null===(t=n.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions})}))(nne)},{path:["/app1/add-funds","/app/add-funds"],component:sne((e=>{let{account:t}=e;return Df({account:t})}))(nne)},{path:["/app1/order-collection","/app/order-collection"],component:sne((e=>{let{account:t,org:n}=e;return Df({account:t,org:n})}))(nne)},{path:["/app1/sales-orders","/app/sales-orders"],component:sne((e=>{let{account:t,org:n}=e;return Df({account:t,org:n})}))(nne)},{path:["/app1/customers","/app/customers"],component:sne((e=>{let{account:t,org:n}=e;return Df({account:t,org:n})}))(nne)},{path:["/app1/growth","/app/growth"],redirect:!0,href:"/app/dashboard"},{path:["/app1/kyb","/app/kyb"],component:nne},{path:["/app1/oauth","/app/oauth"],component:sne()(nne)},{path:["/app/confirmation"],component:nne},{path:["/app1/hostedflow","/app/hostedflow"],component:nne},{path:["/app/approvals","/app/spend/approvals"],component:mne()(sne((e=>{var t,n;let{account:r,user:o,expenseConfig:i}=e;const a=null===(t=o.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions;return(e=>{let{userPermissions:t,expensesAvailable:n,account:r}=e;return(e=>{let{userPermissions:t,expensesAvailable:n,expensesPricingAvailable:r}=e;return MH({userPermissions:t,expensesAvailable:n,activated:!1,expensesPricingAvailable:r})&&FH(t)})({userPermissions:t,expensesAvailable:n})||$x(t??[],r)||!1})({userPermissions:null===(n=o.data)||void 0===n||null===(n=n.enrollment)||void 0===n?void 0:n.permissions,expensesAvailable:!(null==i||!i.expensesAvailable),account:r})||BH(s={orgPermissions:a})||VH(s)||zH(s)||UH(s)||HH(s);var s}))(nne))},{path:["/app/rfi"],component:nne},{path:["/app/platform-console"],component:sne((e=>{var t,n;let{user:r,flags:o,account:i,org:a}=e;return $W({permissions:(null===(t=r.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions)||[],account:i,orgHasPlatformAccount:!(null==a||null===(n=a.data)||void 0===n||!n.orgHasPlatformAccount)})||(e=>{let{flags:t}=e;return!!t.enableDdLimitRequest})({flags:o})}))(nne)},{path:["/app/connect"],component:sne()(nne)},{path:["/app/tax-filing"],component:sne((e=>{var t;let{user:n,flags:r}=e;return EW((null===(t=n.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions)??[],r)}))(nne)},{path:["/app/payapps"],component:sne()(nne)},{path:["/app/lending"],component:sne((e=>{var t;let{user:n}=e;const r=(null===(t=n.data)||void 0===t||null===(t=t.enrollment)||void 0===t?void 0:t.permissions)??[];return Kr(r,"r:awx:credit.loan_account.*")}))(nne)},{path:["/app/theme"],component:sne((e=>{var t;let{user:n}=e;return Kr((null===(t=n.data)||void 0===t||null===(t=t.orgEnrollment)||void 0===t?void 0:t.permissions)??[],"r:org:themes:view")}))(nne)},{path:["/app/search"],component:sne((e=>{let{flags:t}=e;return!!t.finosEnableUniversalSearch}))(nne)}],Dne=()=>{const e=hn(),t=!(null==e||!e.pffEnableInAppNavigation);return t&&(PS||(PS=new _S({history:window.history,location:window.location,storage:window.sessionStorage}))),(()=>{const e=hn();var t;e&&RS in e&&(t=!0===e[RS],Af=t?"/app/graphql-router":Of)})(),(0,s.useEffect)((()=>{!t&&jS()&&PS&&(PS.dispose(),PS=null)}),[t]),(0,s.useEffect)((()=>{window.performance.mark(jC)}),[]),gi(lh,{client:Tf,children:gi(qh,{store:NS,children:gi(qy,{children:gi(xi,{children:gi(VS,{children:vi(Yh.BrowserRouter,{children:[gi(gC,{}),gi(lm,{}),gi(Yh.Switch,{children:[{path:["/app1/login/accept-invitation","/app/login/accept-invitation"],external:!0,redirect:!0,href:"/invite/accept"},{path:["/app1/login","/app/login","/app/login-auth"],component:nne},{path:["/app/auth"],component:nne},{path:["/app1/request2fa","/app/request2fa"],component:nne},{path:["/app1/signup"],component:ane(nne)},{path:["/app1/card-activation/landing","/app/card-activation/landing"],component:nne},{path:["/app1/uam/invite-expired","/app/uam/invite-expired"],component:nne},{path:["/app/kyc/task/ppta-authorization/authorize"],component:nne},{path:["/app/rfi/invitation"],component:nne},{path:["/app/idv"],component:nne},{path:["/app1/uam/psd2/auth","/app/uam/psd2/auth"],component:mne()(ine)},{path:["/app/signup"],component:cne},{path:["/app/integrations/shopify-home"],component:mne()(nne)},{path:["/"],component:mte}].map((e=>gi(zS,{...e},e.path[0])))})]})})})})})})},{breakpoint:Fne}=vj,Mne=`\n * {\n box-sizing: border-box;\n }\n html {\n height: 100%;\n background: ${yQ.white};\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n }\n body {\n line-height: 1.5;\n margin: 0;\n padding: 0;\n background: ${yQ.white};\n font-family: ${CL.rZ};\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n font-size: 14px;\n\n > li {\n display: block;\n }\n\n ${Fne.s} {\n background: ${yQ.white};\n }\n }\n\n table {\n border-collapse: collapse;\n }\n\n input::-webkit-outer-spin-button,\n input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n input[type='number'] {\n -moz-appearance: textfield;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin-top: 0;\n margin-bottom: 0.5rem;\n }\n\n p {\n margin-top: 0;\n margin-bottom: 1rem;\n }\n\n a {\n text-decoration: none;\n }\n\n nav > div > a {\n line-height: 0;\n height: 29px;\n @media (min-width: 1347px) {\n height: 21px;\n }\n }\n`,Bne=e=>{let{disableCaptchaBadge:t}=e;return gi($S.mL,{styles:(0,$S.AH)(Mne," .grecaptcha-badge{visibility:",t?"hidden":"visible",";}","")})};let Vne=!1;const zne=e=>{const t=window.history[e];window.history[e]=function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];const i=t.apply(this,r);return window.dispatchEvent(((e,t)=>{const n=new PopStateEvent("popstate",{state:e});return n.singleSpa=!0,n.singleSpaTrigger=t,n})(window.history.state,e)),i}},Une=wo();!Vne&&"undefined"!=typeof window&&window.history&&(Vne=!0,zne("pushState"),zne("replaceState"));const Hne=()=>vi(s.Fragment,{children:[gi(Bne,{disableCaptchaBadge:!!(0,jr.c4)()}),gi(Dne,{})]});var qne;window.airTracker||Object.defineProperty(window,"airTracker",{value:zr,configurable:!1,writable:!1}),Ho(),function(){if(!Mr)return void console.warn("Clarity tracking ID is required");if("undefined"==typeof window||"undefined"==typeof document)return void console.warn("Clarity tracking can only be initialized in a browser environment");
838if(window.CLARITY_INITIALIZED)return void console.warn("Clarity tracking is already initialized");const e=om();if(!1===(null==e?void 0:e.statistics))return void console.warn("Clarity tracking is not initialized due to user preference");const t="clarity",n="script";window[t]=window[t]||function(){const e=window[t];e.q=e.q||[];for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.q.push(r)};const r=document.createElement(n);r.async=!0,r.src=`https://www.clarity.ms/tag/${Mr}`;const o=document.getElementsByTagName(n)[0];null!=o&&o.parentNode?o.parentNode.insertBefore(r,o):document.body.appendChild(r),window.CLARITY_INITIALIZED=!0}(),li(),function(){const e=document.createElement("script");e.id="awx-webapp-device-api",e.async=!0,e.dataset.tenant="Airwallex WebApp",e.setAttribute("data-project-name","webapp-container"),e.src=`${bo.appBucketPath}/webapp/fraud/device-fingerprint/webapp.js`,document.body.appendChild(e)}(),qne=Une.apiPath,eh.defaults.baseURL=qne?`${qne}`:"/api",la.render(gi((e=>{let{children:t}=e;
838const n=(0,jr.c4)(),[r,o]=(0,s.useState)(!!n);Ur("awx:login-authentication-success",(()=>{ei("info")("[webapp-container ReInitializableLDProvider] awx:login-authentication-success â switching pre-login â post-login (container) LD space"),o(!0)}));const i=t();return r&&n?gi(ia,{fallback:i,children:gi(s.Suspense,{fallback:gi(ji.ThemeProvider,{langKey:"en",children:gi(oa,{})}),children:gi(aa,{children:i})})}):r&&!n?(window.location.assign("/login"),null):gi(ia,{fallback:i,children:gi(s.Suspense,{fallback:gi(ji.ThemeProvider,{langKey:"en",children:gi(oa,{})}),children:gi(sa,{children:i})})})}),{children:()=>gi(Hne,{})}),document.getElementById("root"))},47107:(e,t,n)=>{"use strict";n.d(t,{t:()=>i});var r=n(27805),o=n(445);const i="x-risk-device-id",a=()=>{if(window.XML_HTTP_REQUEST_INTERCEPTED_BY_RISK)return;const e=XMLHttpRequest,{open:t,send:n,setRequestHeader:o}=e.prototype;e.prototype.setRequestHeader=function(e,t){this.headers||(this.headers={}),(e!==i||t&&!this.headers[e])&&(this.headers[e]=t,o.call(this,e,t))},e.prototype.open=function(e,n,r,o,i){let a="";return a="string"==typeof n?new URL(n,window.location.origin).origin:n.origin,this.sameOrigin=a===window.location.origin,t.call(this,e,n,r??!0,o,i)},e.prototype.send=function(){if(this.sameOrigin){const e=(0,r.IP)();this.setRequestHeader(i,e)}for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return n.call(this,...t)},window.XML_HTTP_REQUEST_INTERCEPTED_BY_RISK=!0};try{a()}catch(e){console.error("xmlHttpRequest interception error",(0,o.M)(e))}try{(()=>{if(window.FETCH_INTERCEPTED_BY_RISK)return;const{fetch:e}=window;window.fetch=async function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];const[a,s]=n;let l="";if(l=a instanceof URL?a.origin:"string"==typeof a?new URL(a,window.location.origin).origin:new URL(a.url).origin,l!==window.location.origin)return e(a,s);const c={...s,headers:(null==s?void 0:s.headers)||{}},u=(0,r.IP)();return c.headers[i]=u,e(a,c)},window.FETCH_INTERCEPTED_BY_RISK=!0})()}catch(e){console.error("fetch interception error",(0,o.M)(e))}},445:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});var r=n(27805);const o=e=>"object"==typeof e&&null!==e;function i(e){try{if("string"==typeof e)return JSON.stringify({message:e.slice(0,20)});if(!o(e))return JSON.stringify({message:e});const t=e,n=o(t.response)?t.response:t;return n.status||n.data?JSON.stringify({status:n.status,data:(0,r.n5)(n.data)}):JSON.stringify({message:t.message,name:t.name,code:t.code})}catch{return""}}},92151:e=>{var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=t},57427:(e,t)=>{"use strict";t.q=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var r={},o=t||{},a=e.split(";"),s=o.decode||n,l=0;l<a.length;l++){var c=a[l],u=c.indexOf("=");if(!(u<0)){var d=c.substring(0,u).trim();if(null==r[d]){var p=c.substring(u+1,c.length).trim();'"'===p[0]&&(p=p.slice(1,-1)),r[d]=i(p,s)}}}return r},t.l=function(e,t,n){var i=n||{},a=i.encode||r;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!o.test(e))throw new TypeError("argument name is invalid");var s=a(t);if(s&&!o.test(s))throw new TypeError("argument val is invalid");var l=e+"="+s;if(null!=i.maxAge){var c=i.maxAge-0;if(isNaN(c)||!isFinite(c))throw new TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(c)}if(i.domain){if(!o.test(i.domain))throw new TypeError("option domain is invalid");l+="; Domain="+i.domain}if(i.path){if(!o.test(i.path))throw new TypeError("option path is invalid");l+="; Path="+i.path}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw new TypeError("option expires is invali
838d");l+="; Expires="+i.expires.toUTCString()}if(i.httpOnly&&(l+="; HttpOnly"),i.secure&&(l+="; Secure"),i.sameSite)switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;case"none":l+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return l};var n=decodeURIComponent,r=encodeURIComponent,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function i(e,t){try{return t(e)}catch(t){return e}}},74945:function(e,t){var n="undefined"!=typeof self?self:this,r=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var n="URLSearchParams"in e,r="Symbol"in e&&"iterator"in Symbol,o="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),i="FormData"in e,a="ArrayBuffer"in e;if(a)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function c(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!=typeof e&&(e=String(e)),e}function d(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r&&(t[Symbol.iterator]=function(){return t}),t}function p(e){this.map={},e instanceof p?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function m(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:i&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&o&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=g(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?f(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(m)}),this.text=function(){var e,t,n,r=f(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,n=h(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i&&(this.formData=function(){return this.text().then(w)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(e,t){e=c(e),t=u(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},p.prototype.delete=function(e){delete this.map[c(e)]},p.prototype.get=function(e){return e=c(e),this.has(e)?this.map[e]:null},p.prototype.has=function(e){return this.map.hasOwnProperty(c(e))},p.prototype.set=function(e,t){this.map[c(e)]=u(t)},p.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},p.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),d(e)},p.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),d(e)},p.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),d(e)},r&&(p.prototype[Symbol.iterator]=p.prototype.entries);
838var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e,t){var n,r,o=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new p(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new p(t.headers)),this.method=(r=(n=t.method||this.method||"GET").toUpperCase(),y.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function w(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function x(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new p(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},v.call(b.prototype),v.call(x.prototype),x.prototype.clone=function(){return new x(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},x.error=function(){var e=new x(null,{status:0,statusText:""});return e.type="error",e};var k=[301,302,303,307,308];x.redirect=function(e,t){if(-1===k.indexOf(t))throw new RangeError("Invalid status code");return new x(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function C(e,n){return new Promise((function(r,i){var a=new b(e,n);if(a.signal&&a.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var e,t,n={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new p,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};n.url="responseURL"in s?s.responseURL:n.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;r(new x(o,n))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(new t.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o&&(s.responseType="blob"),a.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}C.polyfill=!0,e.fetch||(e.fetch=C,e.Headers=p,e.Request=b,e.Response=x),t.Headers=p,t.Request=b,t.Response=x,t.fetch=C,Object.defineProperty(t,"__esModule",{value:!0})}({})}(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=r;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t},3939:e=>{var t,n;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],r=0;r<e.length;r+=3)for(var o=e[r]<<16|e[r+1]<<8|e[r+2],i=0;i<4;i++)8*r+6*i<=8*e.length?n.push(t.charAt(o>>>6*(3-i)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,o=0;r<e.length;o=++r%4)0!=o&&n.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|t.indexOf(e.charAt(r))>>>6-2*o);return n}},e.exports=n},30454:e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),r=new RegExp("("+t+")+","gi");function o(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function i(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=o(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var o=i(n[0]);o!==n[0]&&(t[n[0]]=o)}n=r.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),s=0;s<a.length;s++){var l=a[s];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},50411:(e,t,n)=>{var r;!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&
838!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},73055:e=>{"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),i=0;i<r.length;i++){var a=r[i],s=e[a];(o?-1!==t.indexOf(a):t(a,s,e))&&(n[a]=s)}return n}},70783:e=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListBusinessAccounts"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"orgId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TreasuryManagement_BusinessAccountsSummaryInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"getOrgById"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"orgId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"businessAccountsSummary"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"totalAccounts"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"accounts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"account"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isFavourite"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"nickname"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:322}};function n(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var r=e.type;"NamedType"===r.kind&&t.add(r.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){n(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){n(e,t)})),e.definitions&&e.definitions.forEach((function(e){n(e,t)}))}t.loc.source={body:"query ListBusinessAccounts($orgId: String!, $input: TreasuryManagement_BusinessAccountsSummaryInput!) {\n getOrgById(id: $orgId) {\n id\n businessAccountsSummary(input: $input) {\n totalAccounts\n accounts {\n account {\n id\n isFavourite\n nickname\n }\n }\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var r={};function o(e,t){for(var n=0;n<e.definitions.length;n++){var r=e.definitions[n];if(r.name&&r.name.value==t)return r}}t.definitions.forEach((function(e){if(e.name){var t=new Set;n(e,t),r[e.name.value]=t}})),e.exports=t,e.exports.ListBusinessAccounts=function(e,t){var n={kind:e.kind,definitions:[o(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=r[t]||new Set,a=new Set,s=new Set;for(i.forEach((function(e){s.add(e)}));s.size>0;){var l=s;s=new Set,l.forEach((function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(t){var r=o(e,t);r&&n.definitions.push(r)})),n}(t,"ListBusinessAccounts")},48487:e=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BillsConfigQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ffSpendVendorsEnabled"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"spendPurchaseOrdersEnabled"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"billActivationStatus"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isActivated"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"vendorManagementQueries"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"ffSpendVendorsEnabled"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"vendorActivationStatus"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isActivated"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"purchaseOrderQueries"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"spendPurchaseOrdersEnabled"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"activationStatus"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isActivated"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"authContext"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"AccountAuthContext"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"account"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"billPayAvailable"},name:{kind:"Name",value:"configuration"},arguments:[{kind:"Argument",name:{kind:"Name",value:"key"},value:{kind:"StringValue",value:"spend.bill.available",block:!1}}],directives:[]}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"OrgAuthContext"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"org"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"billPayAvailable"},name:{kind:"Name",value:"configuration"},arguments:[{kind:"Argument",name:{kind:"Name",value:"key"},value:{kind:"StringValue",value:"spend.bill.available",block:!1}}],directives:[]},{kind:"Field",alias:{kind:"Name",value:"purchaseOrdersAvailable"},name:{kind:"Name",value:"configuration"},arguments:[{kind:"Argument",name:{kind:"Name",value:"key"},value:{kind:"StringValue",value:"spend.purchase_orders.available",block:!1}}],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:749}};function n(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);
838else if("VariableDefinition"===e.kind){var r=e.type;"NamedType"===r.kind&&t.add(r.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){n(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){n(e,t)})),e.definitions&&e.definitions.forEach((function(e){n(e,t)}))}t.loc.source={body:'query BillsConfigQuery($ffSpendVendorsEnabled: Boolean!, $spendPurchaseOrdersEnabled: Boolean!) {\n billActivationStatus {\n isActivated\n }\n\n vendorManagementQueries @include(if: $ffSpendVendorsEnabled) {\n vendorActivationStatus {\n isActivated\n }\n }\n\n purchaseOrderQueries @include(if: $spendPurchaseOrdersEnabled) {\n activationStatus {\n isActivated\n }\n }\n\n authContext {\n ... on AccountAuthContext {\n account {\n billPayAvailable: configuration(key: "spend.bill.available")\n }\n }\n ... on OrgAuthContext {\n org {\n billPayAvailable: configuration(key: "spend.bill.available")\n purchaseOrdersAvailable: configuration(key: "spend.purchase_orders.available")\n }\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var r={};function o(e,t){for(var n=0;n<e.definitions.length;n++){var r=e.definitions[n];if(r.name&&r.name.value==t)return r}}t.definitions.forEach((function(e){if(e.name){var t=new Set;n(e,t),r[e.name.value]=t}})),e.exports=t,e.exports.BillsConfigQuery=function(e,t){var n={kind:e.kind,definitions:[o(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=r[t]||new Set,a=new Set,s=new Set;for(i.forEach((function(e){s.add(e)}));s.size>0;){var l=s;s=new Set,l.forEach((function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(t){var r=o(e,t);r&&n.definitions.push(r)})),n}(t,"BillsConfigQuery")},6449:e=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ExpenseConfigQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"spendRequestsEnabled"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"expensesAvailable"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"expenseActivationStatus"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isActivated"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"reimbursementActivationStatus"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isActivated"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"expensesApprover"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reimbursementReportQueries"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isReportApprover"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"getSpendRequestActivationStatus"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"spendRequestsEnabled"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isActivated"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"authContext"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"AccountAuthContext"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"account"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"expensesPricingAvailable"},name:{kind:"Name",value:"configuration"},arguments:[{kind:"Argument",name:{kind:"Name",value:"key"},value:{kind:"StringValue",value:"spend.expense.available",block:!1}}],directives:[]}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"OrgAuthContext"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"org"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"expensesPricingAvailable"},name:{kind:"Name",value:"configuration"},arguments:[{kind:"Argument",name:{kind:"Name",value:"key"},value:{kind:"StringValue",value:"spend.expense.available",block:!1}}],directives:[]},{kind:"Field",alias:{kind:"Name",value:"requestsPricingAvailable"},name:{kind:"Name",value:"configuration"},arguments:[{kind:"Argument",name:{kind:"Name",value:"key"},value:{kind:"StringValue",value:"spend.requests.available",block:!1}}],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:730}};function n(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);
838else if("VariableDefinition"===e.kind){var r=e.type;"NamedType"===r.kind&&t.add(r.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){n(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){n(e,t)})),e.definitions&&e.definitions.forEach((function(e){n(e,t)}))}t.loc.source={body:'query ExpenseConfigQuery($spendRequestsEnabled: Boolean!) {\n expensesAvailable\n expenseActivationStatus {\n isActivated\n }\n reimbursementActivationStatus {\n isActivated\n }\n expensesApprover\n reimbursementReportQueries {\n isReportApprover\n }\n\n getSpendRequestActivationStatus @include(if: $spendRequestsEnabled) {\n isActivated\n }\n\n authContext {\n ... on AccountAuthContext {\n account {\n expensesPricingAvailable: configuration(key: "spend.expense.available")\n }\n }\n ... on OrgAuthContext {\n org {\n expensesPricingAvailable: configuration(key: "spend.expense.available")\n requestsPricingAvailable: configuration(key: "spend.requests.available")\n }\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var r={};function o(e,t){for(var n=0;n<e.definitions.length;n++){var r=e.definitions[n];if(r.name&&r.name.value==t)return r}}t.definitions.forEach((function(e){if(e.name){var t=new Set;n(e,t),r[e.name.value]=t}})),e.exports=t,e.exports.ExpenseConfigQuery=function(e,t){var n={kind:e.kind,definitions:[o(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=r[t]||new Set,a=new Set,s=new Set;for(i.forEach((function(e){s.add(e)}));s.size>0;){var l=s;s=new Set,l.forEach((function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(t){var r=o(e,t);r&&n.definitions.push(r)})),n}(t,"ExpenseConfigQuery")},95313:e=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ExtBillingConfigQuery"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"authContext"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"OrgAuthContext"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"org"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"extBillingEnabled"},name:{kind:"Name",value:"configuration"},arguments:[{kind:"Argument",name:{kind:"Name",value:"key"},value:{kind:"StringValue",value:"billing.ext_billing.enabled",block:!1}}],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:183}};function n(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var r=e.type;"NamedType"===r.kind&&t.add(r.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){n(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){n(e,t)})),e.definitions&&e.definitions.forEach((function(e){n(e,t)}))}t.loc.source={body:'query ExtBillingConfigQuery {\n authContext {\n ... on OrgAuthContext {\n org {\n extBillingEnabled: configuration(key: "billing.ext_billing.enabled")\n }\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var r={};function o(e,t){for(var n=0;n<e.definitions.length;n++){var r=e.definitions[n];if(r.name&&r.name.value==t)return r}}t.definitions.forEach((function(e){if(e.name){var t=new Set;n(e,t),r[e.name.value]=t}})),e.exports=t,e.exports.ExtBillingConfigQuery=function(e,t){var n={kind:e.kind,definitions:[o(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=r[t]||new Set,a=new Set,s=new Set;for(i.forEach((function(e){s.add(e)}));s.size>0;){var l=s;s=new Set,l.forEach((function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(t){var r=o(e,t);r&&n.definitions.push(r)})),n}(t,"ExtBillingConfigQuery")},98184:e=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"HasOwnedBudgets"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"spendBudgetQueries"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasOwnedBudgets"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:73}};function n(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);
838else if("VariableDefinition"===e.kind){var r=e.type;"NamedType"===r.kind&&t.add(r.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){n(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){n(e,t)})),e.definitions&&e.definitions.forEach((function(e){n(e,t)}))}t.loc.source={body:"query HasOwnedBudgets {\n spendBudgetQueries {\n hasOwnedBudgets\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var r={};function o(e,t){for(var n=0;n<e.definitions.length;n++){var r=e.definitions[n];if(r.name&&r.name.value==t)return r}}t.definitions.forEach((function(e){if(e.name){var t=new Set;n(e,t),r[e.name.value]=t}})),e.exports=t,e.exports.HasOwnedBudgets=function(e,t){var n={kind:e.kind,definitions:[o(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=r[t]||new Set,a=new Set,s=new Set;for(i.forEach((function(e){s.add(e)}));s.size>0;){var l=s;s=new Set,l.forEach((function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(t){var r=o(e,t);r&&n.definitions.push(r)})),n}(t,"HasOwnedBudgets")},17929:(e,t,n)=>{"use strict";n.d(t,{zR:()=>C,TM:()=>P,yJ:()=>m,sC:()=>T,AO:()=>h,Fu:()=>g});var r=n(58168);function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}const a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],s=e&&o(e),l=t&&o(t),c=s||l;if(e&&o(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var u=a[a.length-1];n="."===u||".."===u||""===u}else n=!1;for(var d=0,p=a.length;p>=0;p--){var f=a[p];"."===f?i(a,p):".."===f?(i(a,p),d++):d&&(i(a,p),d--)}if(!c)for(;d--;d)a.unshift("..");!c||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function s(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}const l=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=s(t),o=s(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1};var c=n(11561);function u(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function p(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function f(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function m(e,t,n,o){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),i.state=t):(void 0===(i=(0,r.A)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function g(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&l(e.state,t.state)}function v(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var y=!("undefined"==typeof window||!window.document||!window.document.createElement);function b(e,t){t(window.confirm(e))}var w="popstate",x="hashchange";function k(){try{return window.history.state||{}}catch(e){return{}}}function C(e){void 0===e&&(e={}),y||(0,c.A)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,s=a.forceRefresh,l=void 0!==s&&s,d=a.getUserConfirmation,g=void 0===d?b:d,C=a.keyLength,E=void 0===C?6:C,S=e.basename?f(u(e.basename)):"";function O(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return S&&(i=p(i,S)),m(i,r,n)}function A(){return Math.random().toString(36).substr(2,E)}var _=v();function P(e){(0,r.A)(z,e),z.length=n.length,_.notifyListeners(z.location,z.action)}function j(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||L(O(e.state))}function T(){L(O(k()))}var I=!1;function L(e){I?(I=!1,P()):_.confirmTransitionTo(e,"POP",g,(function(t){t?P({action:"POP",location:e}):function(e){var t=z.location,n=R.indexOf(t.key);-1===n&&(n=0);var r=R.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(I=!0,F(o))}(e)}))}var N=O(k()),R=[N.key];function D(e){return S+h(e)}function F(e){n.go(e)}var M=0;function B(e){1===(M+=e)&&1===e?(window.addEventListener(w,j),i&&window.addEventListener(x,T)):0===M&&(window.removeEventListener(w,j),i&&window.removeEventListener(x,T))}var V=!1,z={length:n.length,action:"POP",location:N,createHref:D,push:function(e,t){var r="PUSH",i=m(e,t,A(),z.location);_.confirmTransitionTo(i,r,g,(function(e){if(e){var t=D(i),a=i.key,s=i.state;if(o)if(n.pushState({key:a,state:s},null,t),l)window.location.href=t;else{var c=R.indexOf(z.location.key),u=R.slice(0,c+1);u.push(i.key),R=u,P({action:r,location:i})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",i=m(e,t,A(),z.location);_.confirmTransitionTo(i,r,g,(function(e){if(e){var t=D(i),a=i.key,s=i.state;if(o)if(n.replaceState({key:a,state:s},null,t),l)window.location.replace(t);else{var c=R.indexOf(z.location.key);-1!==c&&(R[c]=i.key),P({action:r,location:i})}else window.location.replace(t)}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=_.setPrompt(e);return V||(B(1),V=!0),function(){return V&&(V=!1,B(-1)),t()}},listen:function(e){var t=_.appendListener(e);return B(1),function(){B(-1),t()}}};return z}var E="hashchange",S={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+d(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:d,decodePath:u},slash:{encodePath:u,decodePath:u}};function O(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function A(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function _(e){window.location.replace(O(window.location.href)+"#"+e)}function P(e){void 0===e&&(e={}),y||(0,c.A)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,i=void 0===o?b:o,a=n.hashType,s=void 0===a?"slash":a,l=e.basename?f(u(e.basename)):"",d=S[s],g=d.encodePath,w=d.decodePath;function x(){var e=w(A());return l&&(e=p(e,l)),m(e)}var k=v();function C(e){(0,r.A)(V,e),V.length=t.length,k.notifyListeners(V.location,V.action)}var P=!1,j=null;function T(){var e,t,n=A(),r=g(n);if(n!==r)_(r);else{var o=x(),a=V.location;if(!P&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(j===h(o))return;j=null,function(e){if(P)P=!1,C();else{k.confirmTransitionTo(e,"POP",i,(function(t){t?C({action:"POP",location:e}):function(e){var t=V.location,n=R.lastIndexOf(h(t));-1===n&&(n=0);var r=R.lastIndexOf(h(e));-1===r&&(r=0);var o=n-r;o&&(P=!0,D(o))}(e)}))}}(o)}}var I=A(),L=g(I);I!==L&&_(L);var N=x(),R=[h(N)];function D(e){t.go(e)}var F=0;function M(e){1===(F+=e)&&1===e?window.addEventListener(E,T):0===F&&window.removeEventListener(E,T)}var B=!1,V={length:t.length,action:"POP",location:N,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=O(window.location.href)),n+"#"+g(l+h(e))},push:function(e,t){var n="PUSH",r=m(e,void 0,void 0,V.location);k.confirmTransitionTo(r,n,i,(function(e){if(e){var t=h(r),o=g(l+t);if(A()!==o){j=t,function(e){window.location.hash=e}(o);var i=R.lastIndexOf(h(V.location)),a=R.slice(0,i+1);a.push(t),R=a,C({action:n,location:r})}else C()}}))},replace:function(e,t){var n="REPLACE",r=m(e,void 0,void 0,V.location);k.confirmTransitionTo(r,n,i,(function(e){if(e){var t=h(r),o=g(l+t);A()!==o&&(j=t,_(o));var i=R.indexOf(h(V.location));-1!==i&&(R[i]=t),C({action:n,location:r})}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=k.setPrompt(e);return B||(M(1),B=!0),function(){return B&&(B=!1,M(-1)),t()}},listen:function(e){var t=k.appendListener(e);return M(1),function(){M(-1),t()}}};return V}function j(e,t,n){return Math.min(Math.max(e,t),n)}function T(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,s=void 0===a?0:a,l=t.keyLength,c=void 0===l?6:l,u=v();function d(e){(0,r.A)(w,e),w.length=w.entries.length,u.notifyListeners(w.location,w.action)}function p(){return Math.random().toString(36).substr(2,c)}var f=j(s,0,i.length-1),g=i.map((function(e){return m(e,void 0,"string"==typeof e?p():e.key||p())})),y=h;function b(e){var t=j(w.index+e,0,w.entries.length-1),r=w.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:g.length,action:"POP",location:g[f],index:f,entries:g,createHref:y,push:function(e,t){var r="PUSH",o=m(e,t,p(),w.location);u.confirmTransitionTo(o,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,o):n.push(o),d({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=m(e,t,p(),w.location);u.confirmTransitionTo(o,r,n,(function(e){e&&(w.entries[w.index]=o,d({action:r,location:o}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return w}},4146:(e,t,n)=>{"use strict";var r=n(73404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!(i[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=p(n,v);try{c(t,v,y)}catch(e){}}}}return t}},3072:(e,t)=>
838{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case o:return t}}}function k(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return k(e)||x(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=x},73404:(e,t,n)=>{"use strict";e.exports=n(3072)},87206:e=>{function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},32028:(e,t,n)=>{var r,o=1/0,i="[object Symbol]",a=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,s=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
8387f]/g,l="\\ud800-\\udfff",c="\\u0300-\\u036f\\ufe20-\\ufe23",u="\\u20d0-\\u20f0",d="\\u2700-\\u27bf",p="a-z\\xdf-\\xf6\\xf8-\\xff",f="A-Z\\xc0-\\xd6\\xd8-\\xde",h="\\ufe0e\\ufe0f",m="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",g="["+l+"]",v="["+m+"]",y="["+c+u+"]",b="\\d+",w="["+d+"]",x="["+p+"]",k="[^"+l+m+b+d+p+f+"]",C="\\ud83c[\\udffb-\\udfff]",E="[^"+l+"]",S="(?:\\ud83c[\\udde6-\\uddff]){2}",O="[\\ud800-\\udbff][\\udc00-\\udfff]",A="["+f+"]",_="\\u200d",P="(?:"+x+"|"+k+")",j="(?:"+A+"|"+k+")",T="(?:['â](?:d|ll|m|re|s|t|ve))?",I="(?:['â](?:D|LL|M|RE|S|T|VE))?",L="(?:"+y+"|"+C+")?",N="["+h+"]?",R=N+L+"(?:"+_+"(?:"+[E,S,O].join("|")+")"+N+L+")*",D="(?:"+[w,S,O].join("|")+")"+R,F="(?:"+[E+y+"?",y,S,O,g].join("|")+")",M=RegExp("['â]","g"),B=RegExp(y,"g"),V=RegExp(C+"(?="+C+")|"+F+R,"g"),z=RegExp([A+"?"+x+"+"+T+"(?="+[v,A,"$"].join("|")+")",j+"+"+I+"(?="+[v,A+P,"$"].join("|")+")",A+"?"+P+"+"+T,A+"+"+I,b,D].join("|"),"g"),U=RegExp("["+_+l+c+u+h+"]"),H=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,q="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,W="object"==typeof self&&self&&self.Object===Object&&self,$=q||W||Function("return this")(),G=(r={Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã
:"A",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",Ã:"C",ç:"c",Ã:"D",ð:"d",Ã:"E",Ã:"E",Ã:"E",Ã:"E",è:"e",é:"e",ê:"e",ë:"e",Ã:"I",Ã:"I",Ã:"I",Ã:"I",ì:"i",Ã:"i",î:"i",ï:"i",Ã:"N",ñ:"n",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ã:"U",Ã:"U",Ã:"U",Ã:"U",ù:"u",ú:"u",û:"u",ü:"u",Ã:"Y",ý:"y",ÿ:"y",Ã:"Ae",æ:"ae",Ã:"Th",þ:"th",Ã:"ss",Ä:"A",Ä:"A",Ä:"A",Ä:"a",Ä:"a",Ä
:"a",Ä:"C",Ä:"C",Ä:"C",Ä:"C",Ä:"c",Ä:"c",Ä:"c",Ä:"c",Ä:"D",Ä:"D",Ä:"d",Ä:"d",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"G",Ä:"G",Ä :"G",Ä¢:"G",Ä:"g",Ä:"g",Ä¡:"g",Ä£:"g",Ĥ:"H",Ħ:"H",Ä¥:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Ä®:"I",İ:"I",Ä©:"i",Ä«:"i",Ä:"i",į:"i",ı:"i",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",ĸ:"k",Ĺ:"L",Ä»:"L",Ľ:"L",Ä¿:"L",Å:"L",ĺ:"l",ļ:"l",ľ:"l",Å:"l",Å:"l",Å:"N",Å
:"N",Å:"N",Å:"N",Å:"n",Å:"n",Å:"n",Å:"n",Å:"O",Å:"O",Å:"O",Å:"o",Å:"o",Å:"o",Å:"R",Å:"R",Å:"R",Å:"r",Å:"r",Å:"r",Å:"S",Å:"S",Å:"S",Å :"S",Å:"s",Å:"s",Å:"s",Å¡:"s",Å¢:"T",Ť:"T",Ŧ:"T",Å£:"t",Å¥:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Å®:"U",Ű:"U",Ų:"U",Å©:"u",Å«:"u",Å:"u",ů:"u",ű:"u",ų:"u",Å´:"W",ŵ:"w",Ŷ:"Y",Å·:"y",Ÿ:"Y",Ź:"Z",Å»:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Å:"Oe",Å:"oe",Å:"'n",Å¿:"ss"},function(e){return null==r?void 0:r[e]});function K(e){return U.test(e)}var Z=Object.prototype.toString,Y=$.Symbol,X=Y?Y.prototype:void 0,Q=X?X.toString:void 0;function J(e){return null==e?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&Z.call(e)==i}(e))return Q?Q.call(e):"";var t=e+"";return"0"==t&&1/e==-o?"-0":t}(e)}var ee,te=(ee=function(e,t,n){return t=t.toLowerCase(),e+(n?ne(J(t).toLowerCase()):t)},function(e){return function(e,t,n){for(var r=-1,o=e?e.length:0;++r<o;)n=t(n,e[r],r,e);return n}(function(e,t){return e=J(e),void 0===t?function(e){return H.test(e)}(e)?function(e){return e.match(z)||[]}(e):function(e){return e.match(a)||[]}(e):e.match(t)||[]}(function(e){return(e=J(e))&&e.replace(s,G).replace(B,"")}(e).replace(M,"")),ee,"")}),ne=function(e){var t,n,r,o,i=K(e=J(e))?function(e){return K(e)?function(e){return e.match(V)||[]}(e):function(e){return e.split("")}(e)}(e):void 0,a=i?i[0]:e.charAt(0),s=i?(t=i,n=1,o=t.length,r=void 0===r?o:r,!n&&r>=o?t:function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}(t,n,r)).join(""):e.slice(1);return a.toUpperCase()+s};e.exports=te},20181:(e,t,n)=>{var r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=l||c||Function("return this")(),d=Object.prototype.toString,p=Math.max,f=Math.min,h=function(){return u.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=i.test(e);return n||a.test(e)?s(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,i,a,s,l,c=0,u=!1,d=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function b(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=i}function w(){var e=h();if(b(e))return x(e);s=setTimeout(w,function(e){var n=t-(e-l);return d?f(n,i-(e-c)):n}(e))}function x(e){return s=void 0,v&&r?y(e):(r=o=void 0,a)}function k(){var e=h(),n=b(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(w,t),u?y(e):a}(l);if(d)return s=setTimeout(w,t),y(l)}return void 0===s&&(s=setTimeout(w,t)),a}return t=g(t)||0,m(n)&&(u=!!n.leading,i=(d="maxWait"in n)?p(g(n.maxWait)||0,t):i,v="trailing"in n?!!n.trailing:v),k.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},k.flush=function(){return void 0===s?a:x(h())},k}}
838,16762:(e,t,n)=>{var r,o="__lodash_hash_undefined__",i=1/0,a="[object Function]",s="[object GeneratorFunction]",l="[object Symbol]",c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,d=/^\./,p=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,h=/^\[object .+?Constructor\]$/,m="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,g="object"==typeof self&&self&&self.Object===Object&&self,v=m||g||Function("return this")(),y=Array.prototype,b=Function.prototype,w=Object.prototype,x=v["__core-js_shared__"],k=(r=/[^.]+$/.exec(x&&x.keys&&x.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",C=b.toString,E=w.hasOwnProperty,S=w.toString,O=RegExp("^"+C.call(E).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),A=v.Symbol,_=y.splice,P=M(v,"Map"),j=M(Object,"create"),T=A?A.prototype:void 0,I=T?T.toString:void 0;function L(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function N(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function R(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function D(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function F(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function M(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){if(!H(e)||k&&k in e)return!1;var t=function(e){var t=H(e)?S.call(e):"";return t==a||t==s}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?O:h;return t.test(function(e){if(null!=e){try{return C.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(n)?n:void 0}L.prototype.clear=function(){this.__data__=j?j(null):{}},L.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},L.prototype.get=function(e){var t=this.__data__;if(j){var n=t[e];return n===o?void 0:n}return E.call(t,e)?t[e]:void 0},L.prototype.has=function(e){var t=this.__data__;return j?void 0!==t[e]:E.call(t,e)},L.prototype.set=function(e,t){return this.__data__[e]=j&&void 0===t?o:t,this},N.prototype.clear=function(){this.__data__=[]},N.prototype.delete=function(e){var t=this.__data__,n=D(t,e);return!(n<0||(n==t.length-1?t.pop():_.call(t,n,1),0))},N.prototype.get=function(e){var t=this.__data__,n=D(t,e);return n<0?void 0:t[n][1]},N.prototype.has=function(e){return D(this.__data__,e)>-1},N.prototype.set=function(e,t){var n=this.__data__,r=D(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},R.prototype.clear=function(){this.__data__={hash:new L,map:new(P||N),string:new L}},R.prototype.delete=function(e){return F(this,e).delete(e)},R.prototype.get=function(e){return F(this,e).get(e)},R.prototype.has=function(e){return F(this,e).has(e)},R.prototype.set=function(e,t){return F(this,e).set(e,t),this};var B=z((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(q(e))return I?I.call(e):"";var t=e+"";return"0"==t&&1/e==-i?"-0":t}(t);var n=[];return d.test(e)&&n.push(""),e.replace(p,(function(e,t,r,o){n.push(r?o.replace(f,"$1"):t||e)})),n}));function V(e){if("string"==typeof e||q(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}function z(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(z.Cache||R),n}z.Cache=R;var U=Array.isArray;function H(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function q(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&S.call(e)==l}e.exports=function(e,t,n){var r=null==e?void 0:function(e,t){var n;t=function(e,t){if(U(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!q(e))||u.test(e)||!c.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:U(n=t)?n:B(n);for(var r=0,o=t.length;null!=e&&r<o;)e=e[V(t[r++])];return r&&r==o?e:void 0}(e,t);return void 0===r?n:r}},70182:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object AsyncFunction]",s="[object Function]",l="[object GeneratorFunction]",c="[object Null]",u="[object Object]",d="[object Proxy]",p="[object Undef
838ined]",f=/^\[object .+?Constructor\]$/,h=/^(?:0|[1-9]\d*)$/,m={};m["[object Float32Array]"]=m["[object Float64Array]"]=m["[object Int8Array]"]=m["[object Int16Array]"]=m["[object Int32Array]"]=m["[object Uint8Array]"]=m["[object Uint8ClampedArray]"]=m["[object Uint16Array]"]=m["[object Uint32Array]"]=!0,m[i]=m["[object Array]"]=m["[object ArrayBuffer]"]=m["[object Boolean]"]=m["[object DataView]"]=m["[object Date]"]=m["[object Error]"]=m[s]=m["[object Map]"]=m["[object Number]"]=m[u]=m["[object RegExp]"]=m["[object Set]"]=m["[object String]"]=m["[object WeakMap]"]=!1;var g,v,y,b="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,w="object"==typeof self&&self&&self.Object===Object&&self,x=b||w||Function("return this")(),k=t&&!t.nodeType&&t,C=k&&e&&!e.nodeType&&e,E=C&&C.exports===k,S=E&&b.process,O=function(){try{return C&&C.require&&C.require("util").types||S&&S.binding&&S.binding("util")}catch(e){}}(),A=O&&O.isTypedArray,_=Array.prototype,P=Function.prototype,j=Object.prototype,T=x["__core-js_shared__"],I=P.toString,L=j.hasOwnProperty,N=(g=/[^.]+$/.exec(T&&T.keys&&T.keys.IE_PROTO||""))?"Symbol(src)_1."+g:"",R=j.toString,D=I.call(Object),F=RegExp("^"+I.call(L).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),M=E?x.Buffer:void 0,B=x.Symbol,V=x.Uint8Array,z=(M&&M.allocUnsafe,v=Object.getPrototypeOf,y=Object,function(e){return v(y(e))}),U=Object.create,H=j.propertyIsEnumerable,q=_.splice,W=B?B.toStringTag:void 0,$=function(){try{var e=pe(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),G=M?M.isBuffer:void 0,K=Math.max,Z=Date.now,Y=pe(x,"Map"),X=pe(Object,"create"),Q=function(){function e(){}return function(t){if(!Ee(t))return{};if(U)return U(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function J(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ee(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function te(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ne(e){var t=this.__data__=new ee(e);this.size=t.size}function re(e,t,n){(void 0!==n&&!ve(e[t],n)||void 0===n&&!(t in e))&&ae(e,t,n)}function oe(e,t,n){var r=e[t];L.call(e,t)&&ve(r,n)&&(void 0!==n||t in e)||ae(e,t,n)}function ie(e,t){for(var n=e.length;n--;)if(ve(e[n][0],t))return n;return-1}function ae(e,t,n){"__proto__"==t&&$?$(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}J.prototype.clear=function(){this.__data__=X?X(null):{},this.size=0},J.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},J.prototype.get=function(e){var t=this.__data__;if(X){var n=t[e];return n===r?void 0:n}return L.call(t,e)?t[e]:void 0},J.prototype.has=function(e){var t=this.__data__;return X?void 0!==t[e]:L.call(t,e)},J.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=X&&void 0===t?r:t,this},ee.prototype.clear=function(){this.__data__=[],this.size=0},ee.prototype.delete=function(e){var t=this.__data__,n=ie(t,e);return!(n<0||(n==t.length-1?t.pop():q.call(t,n,1),--this.size,0))},ee.prototype.get=function(e){var t=this.__data__,n=ie(t,e);return n<0?void 0:t[n][1]},ee.prototype.has=function(e){return ie(this.__data__,e)>-1},ee.prototype.set=function(e,t){var n=this.__data__,r=ie(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},te.prototype.clear=function(){this.size=0,this.__data__={hash:new J,map:new(Y||ee),string:new J}},te.prototype.delete=function(e){var t=de(this,e).delete(e);return this.size-=t?1:0,t},te.prototype.get=function(e){return de(this,e).get(e)},te.prototype.has=function(e){return de(this,e).has(e)},te.prototype.set=function(e,t){var n=de(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ne.prototype.clear=function(){this.__data__=new ee,this.size=0},ne.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ne.prototype.get=function(e){return this.__data__.get(e)},ne.prototype.has=function(e){return this.__data__.has(e)},ne.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ee){var r=n.__data__;if(!Y||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new te(r)}return n.set(e,t),this.size=n.size,this};function se(e){return null==e?void 0===e?p:c:W&&W in Object(e)?function(e){var t=L.call(e,W),n=e[W];try{e[W]=void 0;var r=!0}catch(e){}var o=R.call(e);return r&&(t?e[W]=n:delete e[W]),o}(e):function(e){return R.call(e)}(e)}function le(e){return Se(e)&&se(e)==i}function ce(e,t,n,r,o){e!==t&&function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var s=i[++r];if(!1===t(o[s],s,o))break}}(t,(function(i,a){if(o||(o=new ne),Ee(i))!function(e,t,n,r,o,i,a){var s=me(e,n),l=me(t,n),c=a.get(l);if(c)re(e,n,c);else{var d,p,f,h,m,g=i?i(s,l,n+"",e,t,a):void 0,v=void 0===g;if(v){var y=be(l),b=!y&&xe(l),w=!y&&!b&&Oe(l);g=l,y||b||w?be(s)?g=s:Se(m=s)&&we(m)?g=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(s):b?(v=!1,g=function(e){return e.slice()}(l)):w?(v=!1,h=new(f=(d=l).buffer).constructor(f.byteLength),new V(h).set(new V(f)),p=h,g=new d.constructor(p,d.byteOffset,d.length)):g=[]:function(e){if(!Se(e)||se(e)!=u)return!1;var t=z(e);
838if(null===t)return!0;var n=L.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&I.call(n)==D}(l)||ye(l)?(g=s,ye(s)?g=function(e){return function(e,t,n){var r=!n;n||(n={});for(var o=-1,i=t.length;++o<i;){var a=t[o],s=void 0;void 0===s&&(s=e[a]),r?ae(n,a,s):oe(n,a,s)}return n}(e,Ae(e))}(s):Ee(s)&&!ke(s)||(g=function(e){return"function"!=typeof e.constructor||he(e)?{}:Q(z(e))}(l))):v=!1}v&&(a.set(l,g),o(g,l,r,i,a),a.delete(l)),re(e,n,g)}}(e,t,a,n,ce,r,o);else{var s=r?r(me(e,a),i,a+"",e,t,o):void 0;void 0===s&&(s=i),re(e,a,s)}}),Ae)}var ue=$?function(e,t){return $(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:je;function de(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function pe(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Ee(e)||function(e){return!!N&&N in e}(e))&&(ke(e)?F:f).test(function(e){if(null!=e){try{return I.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(n)?n:void 0}function fe(e,t){var n=typeof e;return!!(t=null==t?o:t)&&("number"==n||"symbol"!=n&&h.test(e))&&e>-1&&e%1==0&&e<t}function he(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||j)}function me(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ge=function(e){var t=0,n=0;return function(){var r=Z(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ue);function ve(e,t){return e===t||e!=e&&t!=t}var ye=le(function(){return arguments}())?le:function(e){return Se(e)&&L.call(e,"callee")&&!H.call(e,"callee")},be=Array.isArray;function we(e){return null!=e&&Ce(e.length)&&!ke(e)}var xe=G||function(){return!1};function ke(e){if(!Ee(e))return!1;var t=se(e);return t==s||t==l||t==a||t==d}function Ce(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function Ee(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Se(e){return null!=e&&"object"==typeof e}var Oe=A?function(e){return function(t){return e(t)}}(A):function(e){return Se(e)&&Ce(e.length)&&!!m[se(e)]};function Ae(e){return we(e)?function(e,t){var n=be(e),r=!n&&ye(e),o=!n&&!r&&xe(e),i=!n&&!r&&!o&&Oe(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!L.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||fe(c,l))||s.push(c);return s}(e,!0):function(e){if(!Ee(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=he(e),n=[];for(var r in e)("constructor"!=r||!t&&L.call(e,r))&&n.push(r);return n}(e)}var _e,Pe=(_e=function(e,t,n){ce(e,t,n)},function(e,t){return ge(function(e,t,n){return t=K(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=K(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,je),e+"")}((function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=_e.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(e,t,n){if(!Ee(n))return!1;var r=typeof t;return!!("number"==r?we(n)&&fe(t,n.length):"string"==r&&t in n)&&ve(n[t],e)}(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var a=t[n];a&&_e(e,a,n)}return e})));function je(e){return e}e.exports=Pe},20974:(e,t,n)=>{var r,o="__lodash_hash_undefined__",i=1/0,a=9007199254740991,s="[object Function]",l="[object GeneratorFunction]",c="[object Symbol]",u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,d=/^\w*$/,p=/^\./,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h=/\\(\\)?/g,m=/^\[object .+?Constructor\]$/,g=/^(?:0|[1-9]\d*)$/,v="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,y="object"==typeof self&&self&&self.Object===Object&&self,b=v||y||Function("return this")(),w=Array.prototype,x=Function.prototype,k=Object.prototype,C=b["__core-js_shared__"],E=(r=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""))?"Symbol(sr
838c)_1."+r:"",S=x.toString,O=k.hasOwnProperty,A=k.toString,_=RegExp("^"+S.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),P=b.Symbol,j=w.splice,T=z(b,"Map"),I=z(Object,"create"),L=P?P.prototype:void 0,N=L?L.toString:void 0;function R(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function D(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function F(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function M(e,t,n){var r=e[t];O.call(e,t)&&$(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function B(e,t){for(var n=e.length;n--;)if($(e[n][0],t))return n;return-1}function V(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function z(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){if(!K(e)||E&&E in e)return!1;var t=function(e){var t=K(e)?A.call(e):"";return t==s||t==l}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?_:m;return t.test(function(e){if(null!=e){try{return S.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(n)?n:void 0}function U(e,t){return!!(t=null==t?a:t)&&("number"==typeof e||g.test(e))&&e>-1&&e%1==0&&e<t}R.prototype.clear=function(){this.__data__=I?I(null):{}},R.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},R.prototype.get=function(e){var t=this.__data__;if(I){var n=t[e];return n===o?void 0:n}return O.call(t,e)?t[e]:void 0},R.prototype.has=function(e){var t=this.__data__;return I?void 0!==t[e]:O.call(t,e)},R.prototype.set=function(e,t){return this.__data__[e]=I&&void 0===t?o:t,this},D.prototype.clear=function(){this.__data__=[]},D.prototype.delete=function(e){var t=this.__data__,n=B(t,e);return!(n<0||(n==t.length-1?t.pop():j.call(t,n,1),0))},D.prototype.get=function(e){var t=this.__data__,n=B(t,e);return n<0?void 0:t[n][1]},D.prototype.has=function(e){return B(this.__data__,e)>-1},D.prototype.set=function(e,t){var n=this.__data__,r=B(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},F.prototype.clear=function(){this.__data__={hash:new R,map:new(T||D),string:new R}},F.prototype.delete=function(e){return V(this,e).delete(e)},F.prototype.get=function(e){return V(this,e).get(e)},F.prototype.has=function(e){return V(this,e).has(e)},F.prototype.set=function(e,t){return V(this,e).set(e,t),this};var H=W((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(Z(e))return N?N.call(e):"";var t=e+"";return"0"==t&&1/e==-i?"-0":t}(t);var n=[];return p.test(e)&&n.push(""),e.replace(f,(function(e,t,r,o){n.push(r?o.replace(h,"$1"):t||e)})),n}));function q(e){if("string"==typeof e||Z(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}function W(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(W.Cache||F),n}function $(e,t){return e===t||e!=e&&t!=t}W.Cache=F;var G=Array.isArray;function K(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Z(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&A.call(e)==c}e.exports=function(e,t,n){return null==e?e:function(e,t,n,r){if(!K(e))return e;t=function(e,t){if(G(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Z(e))||d.test(e)||!u.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:function(e){return G(e)?e:H(e)}(t);for(var o=-1,i=t.length,a=i-1,s=e;null!=s&&++o<i;){var l=q(t[o]),c=n;if(o!=a){var p=s[l];void 0===(c=r?r(p,l,s):void 0)&&(c=K(p)?p:U(t[o+1])?[]:{})}M(s,l,c),s=s[l]}return e}(e,t,n)}},88258:(e,t,n)=>{var r,o=1/0,i="[object Symbol]",a=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,s=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
8387f]/g,l="\\ud800-\\udfff",c="\\u2700-\\u27bf",u="a-z\\xdf-\\xf6\\xf8-\\xff",d="A-Z\\xc0-\\xd6\\xd8-\\xde",p="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",f="["+p+"]",h="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",m="\\d+",g="["+c+"]",v="["+u+"]",y="[^"+l+p+m+c+u+d+"]",b="(?:\\ud83c[\\udde6-\\uddff]){2}",w="[\\ud800-\\udbff][\\udc00-\\udfff]",x="["+d+"]",k="(?:"+v+"|"+y+")",C="(?:"+x+"|"+y+")",E="(?:['â](?:d|ll|m|re|s|t|ve))?",S="(?:['â](?:D|LL|M|RE|S|T|VE))?",O="(?:"+h+"|\\ud83c[\\udffb-\\udfff])?",A="[\\ufe0e\\ufe0f]?",_=A+O+"(?:\\u200d(?:"+["[^"+l+"]",b,w].join("|")+")"+A+O+")*",P="(?:"+[g,b,w].join("|")+")"+_,j=RegExp("['â]","g"),T=RegExp(h,"g"),I=RegExp([x+"?"+v+"+"+E+"(?="+[f,x,"$"].join("|")+")",C+"+"+S+"(?="+[f,x+k,"$"].join("|")+")",x+"?"+k+"+"+E,x+"+"+S,m,P].join("|"),"g"),L=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,N="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,R="object"==typeof self&&self&&self.Object===Object&&self,D=N||R||Function("return this")(),F=(r={Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã
:"A",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",Ã:"C",ç:"c",Ã:"D",ð:"d",Ã:"E",Ã:"E",Ã:"E",Ã:"E",è:"e",é:"e",ê:"e",ë:"e",Ã:"I",Ã:"I",Ã:"I",Ã:"I",ì:"i",Ã:"i",î:"i",ï:"i",Ã:"N",ñ:"n",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ã:"U",Ã:"U",Ã:"U",Ã:"U",ù:"u",ú:"u",û:"u",ü:"u",Ã:"Y",ý:"y",ÿ:"y",Ã:"Ae",æ:"ae",Ã:"Th",þ:"th",Ã:"ss",Ä:"A",Ä:"A",Ä:"A",Ä:"a",Ä:"a",Ä
:"a",Ä:"C",Ä:"C",Ä:"C",Ä:"C",Ä:"c",Ä:"c",Ä:"c",Ä:"c",Ä:"D",Ä:"D",Ä:"d",Ä:"d",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"G",Ä:"G",Ä :"G",Ä¢:"G",Ä:"g",Ä:"g",Ä¡:"g",Ä£:"g",Ĥ:"H",Ħ:"H",Ä¥:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Ä®:"I",İ:"I",Ä©:"i",Ä«:"i",Ä:"i",į:"i",ı:"i",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",ĸ:"k",Ĺ:"L",Ä»:"L",Ľ:"L",Ä¿:"L",Å:"L",ĺ:"l",ļ:"l",ľ:"l",Å:"l",Å:"l",Å:"N",Å
:"N",Å:"N",Å:"N",Å:"n",Å:"n",Å:"n",Å:"n",Å:"O",Å:"O",Å:"O",Å:"o",Å:"o",Å:"o",Å:"R",Å:"R",Å:"R",Å:"r",Å:"r",Å:"r",Å:"S",Å:"S",Å:"S",Å :"S",Å:"s",Å:"s",Å:"s",Å¡:"s",Å¢:"T",Ť:"T",Ŧ:"T",Å£:"t",Å¥:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Å®:"U",Ű:"U",Ų:"U",Å©:"u",Å«:"u",Å:"u",ů:"u",ű:"u",ų:"u",Å´:"W",ŵ:"w",Ŷ:"Y",Å·:"y",Ÿ:"Y",Ź:"Z",Å»:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Å:"Oe",Å:"oe",Å:"'n",Å¿:"ss"},function(e){return null==r?void 0:r[e]}),M=Object.prototype.toString,B=D.Symbol,V=B?B.prototype:void 0,z=V?V.toString:void 0;function U(e){return null==e?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&M.call(e)==i}(e))return z?z.call(e):"";var t=e+"";return"0"==t&&1/e==-o?"-0":t}(e)}var H,q=(H=function(e,t,n){return e+(n?"_":"")+t.toLowerCase()},function(e){return function(e,t,n){for(var r=-1,o=e?e.length:0;++r<o;)n=t(n,e[r],r,e);return n}(function(e,t){return e=U(e),void 0===t?function(e){return L.test(e)}(e)?function(e){return e.match(I)||[]}(e):function(e){return e.match(a)||[]}(e):e.match(t)||[]}(function(e){return(e=U(e))&&e.replace(s,F).replace(T,"")}(e).replace(j,"")),H,"")});e.exports=q},55580:(e,t,n)=>{var r=n(56110)(n(9325),"DataView");e.exports=r},21549:(e,t,n)=>{var r=n(22032),o=n(63862),i=n(66721),a=n(12749),s=n(35749);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},80079:(e,t,n)=>{var r=n(63702),o=n(70080),i=n(24739),a=n(48655),s=n(31175);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},68223:(e,t,n)=>{var r=n(56110)(n(9325),"Map");e.exports=r},53661:(e,t,n)=>{var r=n(63040),o=n(17670),i=n(90289),a=n(4509),s=n(72949);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l}
838,32804:(e,t,n)=>{var r=n(56110)(n(9325),"Promise");e.exports=r},76545:(e,t,n)=>{var r=n(56110)(n(9325),"Set");e.exports=r},38859:(e,t,n)=>{var r=n(53661),o=n(31380),i=n(51459);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},37217:(e,t,n)=>{var r=n(80079),o=n(51420),i=n(90938),a=n(63605),s=n(29817),l=n(80945);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},51873:(e,t,n)=>{var r=n(9325).Symbol;e.exports=r},37828:(e,t,n)=>{var r=n(9325).Uint8Array;e.exports=r},28303:(e,t,n)=>{var r=n(56110)(n(9325),"WeakMap");e.exports=r},91033:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},83729:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},79770:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},70695:(e,t,n)=>{var r=n(78096),o=n(72428),i=n(56449),a=n(3656),s=n(30361),l=n(37167),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),p=!n&&!u&&!d&&l(e),f=n||u||d||p,h=f?r(e.length,String):[],m=h.length;for(var g in e)!t&&!c.call(e,g)||f&&("length"==g||d&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},34932:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},14528:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},14248:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},87805:(e,t,n)=>{var r=n(43360),o=n(75288);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},16547:(e,t,n)=>{var r=n(43360),o=n(75288),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},26025:(e,t,n)=>{var r=n(75288);e.exports=function(e,t){for(var n=e.length;n--;
838)if(r(e[n][0],t))return n;return-1}},74733:(e,t,n)=>{var r=n(21791),o=n(95950);e.exports=function(e,t){return e&&r(t,o(t),e)}},43838:(e,t,n)=>{var r=n(21791),o=n(37241);e.exports=function(e,t){return e&&r(t,o(t),e)}},43360:(e,t,n)=>{var r=n(93243);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},9999:(e,t,n)=>{var r=n(37217),o=n(83729),i=n(16547),a=n(74733),s=n(43838),l=n(93290),c=n(23007),u=n(92271),d=n(48948),p=n(50002),f=n(83349),h=n(5861),m=n(76189),g=n(77199),v=n(35529),y=n(56449),b=n(3656),w=n(87730),x=n(23805),k=n(38440),C=n(95950),E=n(37241),S="[object Arguments]",O="[object Function]",A="[object Object]",_={};_[S]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object DataView]"]=_["[object Boolean]"]=_["[object Date]"]=_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Map]"]=_["[object Number]"]=_[A]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object Symbol]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Error]"]=_[O]=_["[object WeakMap]"]=!1,e.exports=function e(t,n,P,j,T,I){var L,N=1&n,R=2&n,D=4&n;if(P&&(L=T?P(t,j,T,I):P(t)),void 0!==L)return L;if(!x(t))return t;var F=y(t);if(F){if(L=m(t),!N)return c(t,L)}else{var M=h(t),B=M==O||"[object GeneratorFunction]"==M;if(b(t))return l(t,N);if(M==A||M==S||B&&!T){if(L=R||B?{}:v(t),!N)return R?d(t,s(L,t)):u(t,a(L,t))}else{if(!_[M])return T?t:{};L=g(t,M,N)}}I||(I=new r);var V=I.get(t);if(V)return V;I.set(t,L),k(t)?t.forEach((function(r){L.add(e(r,n,P,r,t,I))})):w(t)&&t.forEach((function(r,o){L.set(o,e(r,n,P,o,t,I))}));var z=F?void 0:(D?R?f:p:R?E:C)(t);return o(z||t,(function(r,o){z&&(r=t[o=r]),i(L,o,e(r,n,P,o,t,I))})),L}},39344:(e,t,n)=>{var r=n(23805),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},83120:(e,t,n)=>{var r=n(14528),o=n(45891);e.exports=function e(t,n,i,a,s){var l=-1,c=t.length;for(i||(i=o),s||(s=[]);++l<c;){var u=t[l];n>0&&i(u)?n>1?e(u,n-1,i,a,s):r(s,u):a||(s[s.length]=u)}return s}},86649:(e,t,n)=>{var r=n(83221)();e.exports=r},30641:(e,t,n)=>{var r=n(86649),o=n(95950);e.exports=function(e,t){return e&&r(e,t,o)}},47422:(e,t,n)=>{var r=n(31769),o=n(77797);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},82199:(e,t,n)=>{var r=n(14528),o=n(56449);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},72552:(e,t,n)=>{var r=n(51873),o=n(659),i=n(59350),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},28077:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},27534:(e,t,n)=>{var r=n(72552),o=n(40346);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},60270:(e,t,n)=>{var r=n(87068),o=n(40346);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,s))}},87068:(e,t,n)=>{var r=n(37217),o=n(25911),i=n(21986),a=n(50689),s=n(5861),l=n(56449),c=n(3656),u=n(37167),d="[object Arguments]",p="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var y=l(e),b=l(t),w=y?p:s(e),x=b?p:s(t),k=(w=w==d?f:w)==f,C=(x=x==d?f:x)==f,E=w==x;if(E&&c(e)){if(!c(t))return!1;y=!0,k=!1}if(E&&!k)return v||(v=new r),y||u(e)?o(e,t,n,m,g,v):i(e,t,w,n,m,g,v);if(!(1&n)){var S=k&&h.call(e,"__wrapped__"),O=C&&h.call(t,"__wrapped__");
838if(S||O){var A=S?e.value():e,_=O?t.value():t;return v||(v=new r),g(A,_,n,m,v)}}return!!E&&(v||(v=new r),a(e,t,n,m,g,v))}},29172:(e,t,n)=>{var r=n(5861),o=n(40346);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},41799:(e,t,n)=>{var r=n(37217),o=n(60270);e.exports=function(e,t,n,i){var a=n.length,s=a,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=n[a])[0],d=e[u],p=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var f=new r;if(i)var h=i(d,p,u,e,t,f);if(!(void 0===h?o(p,d,3,i,f):h))return!1}}return!0}},45083:(e,t,n)=>{var r=n(1882),o=n(87296),i=n(23805),a=n(47473),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:s).test(a(e))}},16038:(e,t,n)=>{var r=n(5861),o=n(40346);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},4901:(e,t,n)=>{var r=n(72552),o=n(30294),i=n(40346),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},15389:(e,t,n)=>{var r=n(93663),o=n(87978),i=n(83488),a=n(56449),s=n(50583);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},88984:(e,t,n)=>{var r=n(55527),o=n(3650),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},72903:(e,t,n)=>{var r=n(23805),o=n(55527),i=n(90181),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},93663:(e,t,n)=>{var r=n(41799),o=n(10776),i=n(67197);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},87978:(e,t,n)=>{var r=n(60270),o=n(58156),i=n(80631),a=n(28586),s=n(30756),l=n(67197),c=n(77797);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},85250:(e,t,n)=>{var r=n(37217),o=n(87805),i=n(86649),a=n(42824),s=n(23805),l=n(37241),c=n(14974);e.exports=function e(t,n,u,d,p){t!==n&&i(n,(function(i,l){if(p||(p=new r),s(i))a(t,n,l,u,e,d,p);else{var f=d?d(c(t,l),i,l+"",t,n,p):void 0;void 0===f&&(f=i),o(t,l,f)}}),l)}},42824:(e,t,n)=>{var r=n(87805),o=n(93290),i=n(71961),a=n(23007),s=n(35529),l=n(72428),c=n(56449),u=n(83693),d=n(3656),p=n(1882),f=n(23805),h=n(11331),m=n(37167),g=n(14974),v=n(69884);e.exports=function(e,t,n,y,b,w,x){var k=g(e,n),C=g(t,n),E=x.get(C);if(E)r(e,n,E);else{var S=w?w(k,C,n+"",e,t,x):void 0,O=void 0===S;if(O){var A=c(C),_=!A&&d(C),P=!A&&!_&&m(C);S=C,A||_||P?c(k)?S=k:u(k)?S=a(k):_?(O=!1,S=o(C,!0)):P?(O=!1,S=i(C,!0)):S=[]:h(C)||l(C)?(S=k,l(k)?S=v(k):f(k)&&!p(k)||(S=s(C))):O=!1}O&&(x.set(C,S),b(S,C,y,w,x),x.delete(C)),r(e,n,S)}}},47237:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},17255:(e,t,n)=>{var r=n(47422);e.exports=function(e){return function(t){return r(t,e)}}},69302:(e,t,n)=>{var r=n(83488),o=n(56757),i=n(32865);e.exports=function(e,t){return i(o(e,t,r),e+"")}},19570:(e,t,n)=>{var r=n(37334),o=n(93243),i=n(83488),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},25160:e=>{e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},78096:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},77556:(e,t,n)=>{var r=n(51873),o=n(34932),i=n(56449),a=n(44394),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}
838,54128:(e,t,n)=>{var r=n(31800),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},27301:e=>{e.exports=function(e){return function(t){return e(t)}}},19931:(e,t,n)=>{var r=n(31769),o=n(68090),i=n(68969),a=n(77797);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},19219:e=>{e.exports=function(e,t){return e.has(t)}},31769:(e,t,n)=>{var r=n(56449),o=n(28586),i=n(61802),a=n(13222);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},49653:(e,t,n)=>{var r=n(37828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},93290:(e,t,n)=>{e=n.nmd(e);var r=n(9325),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},76169:(e,t,n)=>{var r=n(49653);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},73201:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},93736:(e,t,n)=>{var r=n(51873),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},71961:(e,t,n)=>{var r=n(49653);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},23007:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},21791:(e,t,n)=>{var r=n(16547),o=n(43360);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=i?i(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),a?o(n,c,u):r(n,c,u)}return n}},92271:(e,t,n)=>{var r=n(21791),o=n(4664);e.exports=function(e,t){return r(e,o(e),t)}},48948:(e,t,n)=>{var r=n(21791),o=n(86375);e.exports=function(e,t){return r(e,o(e),t)}},55481:(e,t,n)=>{var r=n(9325)["__core-js_shared__"];e.exports=r}
838,20999:(e,t,n)=>{var r=n(69302),o=n(36800);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t}))}},83221:e=>{e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}},53138:(e,t,n)=>{var r=n(11331);e.exports=function(e){return r(e)?void 0:e}},93243:(e,t,n)=>{var r=n(56110),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},25911:(e,t,n)=>{var r=n(38859),o=n(14248),i=n(19219);e.exports=function(e,t,n,a,s,l){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var p=l.get(e),f=l.get(t);if(p&&f)return p==t&&f==e;var h=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++h<u;){var v=e[h],y=t[h];if(a)var b=c?a(y,v,h,t,e,l):a(v,y,h,e,t,l);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!o(t,(function(e,t){if(!i(g,t)&&(v===e||s(v,e,n,a,l)))return g.push(t)}))){m=!1;break}}else if(v!==y&&!s(v,y,n,a,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},21986:(e,t,n)=>{var r=n(51873),o=n(37828),i=n(75288),a=n(25911),s=n(20317),l=n(84247),c=r?r.prototype:void 0,u=c?c.valueOf
838:void 0;e.exports=function(e,t,n,r,c,d,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var h=1&r;if(f||(f=l),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var g=a(f(e),f(t),r,c,d,p);return p.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},50689:(e,t,n)=>{var r=n(50002),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var d=u;d--;){var p=c[d];if(!(l?p in t:o.call(t,p)))return!1}var f=s.get(e),h=s.get(t);if(f&&h)return f==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=l;++d<u;){var v=e[p=c[d]],y=t[p];if(i)var b=l?i(y,v,p,t,e,s):i(v,y,p,e,t,s);if(!(void 0===b?v===y||a(v,y,n,i,s):b)){m=!1;break}g||(g="constructor"==p)}if(m&&!g){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(m=!1)}return s.delete(e),s.delete(t),m}},38816:(e,t,n)=>{var r=n(35970),o=n(56757),i=n(32865);e.exports=function(e){return i(o(e,void 0,r),e+"")}},34840:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},50002:(e,t,n)=>{var r=n(82199),o=n(4664),i=n(95950);e.exports=function(e){return r(e,i,o)}},83349:(e,t,n)=>{var r=n(82199),o=n(86375),i=n(37241);e.exports=function(e){return r(e,i,o)}},12651:(e,t,n)=>{var r=n(74218);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},10776:(e,t,n)=>{var r=n(30756),o=n(95950);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},56110:(e,t,n)=>{var r=n(45083),o=n(10392);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},28879:(e,t,n)=>{var r=n(74335)(Object.getPrototypeOf,Object);e.exports=r},659:(e,t,n)=>{var r=n(51873),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},4664:(e,t,n)=>{var r=n(79770),o=n(63345),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},86375:(e,t,n)=>{var r=n(14528),o=n(28879),i=n(4664),a=n(63345),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},5861:(e,t,n)=>{var r=n(55580),o=n(68223),i=n(32804),a=n(76545),s=n(28303),l=n(72552),c=n(47473),u="[object Map]",d="[object Promise]",p="[object Set]",f="[object WeakMap]",h="[object DataView]",m=c(r),g=c(o),v=c(i),y=c(a),b=c(s),w=l;(r&&w(new r(new ArrayBuffer(1)))!=h||o&&w(new o)!=u||i&&w(i.resolve())!=d||a&&w(new a)!=p||s&&w(new s)!=f)&&(w=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return h;case g:return u;case v:return d;case y:return p;case b:return f}return t}),e.exports=w},10392:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},49326:(e,t,n)=>{var r=n(31769),o=n(72428),i=n(56449),a=n(30361),s=n(30294),l=n(77797);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,d=!1;++c<u;){var p=l(t[c]);if(!(d=null!=e&&n(e,p)))break;e=e[p]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&a(p,u)&&(i(e)||o(e))}},22032:(e,t,n)=>{var r=n(81042);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},63862:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},66721:(e,t,n)=>{var r=n(81042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}}
838,12749:(e,t,n)=>{var r=n(81042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},35749:(e,t,n)=>{var r=n(81042);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},76189:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},77199:(e,t,n)=>{var r=n(49653),o=n(76169),i=n(73201),a=n(93736),s=n(71961);e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},35529:(e,t,n)=>{var r=n(39344),o=n(28879),i=n(55527);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},45891:(e,t,n)=>{var r=n(51873),o=n(72428),i=n(56449),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},30361:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},36800:(e,t,n)=>{var r=n(75288),o=n(64894),i=n(30361),a=n(23805);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},28586:(e,t,n)=>{var r=n(56449),o=n(44394),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},74218:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},87296:(e,t,n)=>{var r,o=n(55481),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},55527:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},30756:(e,t,n)=>{var r=n(23805);e.exports=function(e){return e==e&&!r(e)}},63702:e=>{e.exports=function(){this.__data__=[],this.size=0}},70080:(e,t,n)=>{var r=n(26025),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},24739:(e,t,n)=>{var r=n(26025);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},48655:(e,t,n)=>{var r=n(26025);e.exports=function(e){return r(this.__data__,e)>-1}},31175:(e,t,n)=>{var r=n(26025);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},63040:(e,t,n)=>{var r=n(21549),o=n(80079),i=n(68223);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},17670:(e,t,n)=>{var r=n(12651);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},90289:(e,t,n)=>{var r=n(12651);e.exports=function(e){return r(this,e).get(e)}},4509:(e,t,n)=>{var r=n(12651);e.exports=function(e){return r(this,e).has(e)}},72949:(e,t,n)=>{var r=n(12651);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},20317:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},67197:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},62224:(e,t,n)=>{var r=n(50104);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},81042:(e,t,n)=>{var r=n(56110)(Object,"create");e.exports=r},3650:(e,t,n)=>{var r=n(74335)(Object.keys,Object);e.exports=r},90181:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},86009:(e,t,n)=>{e=n.nmd(e);var r=n(34840),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{return i&&i.require&&i.require("util").t
838ypes||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},59350:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},74335:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},56757:(e,t,n)=>{var r=n(91033),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(l),r(e,this,c)}}},68969:(e,t,n)=>{var r=n(47422),o=n(25160);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},9325:(e,t,n)=>{var r=n(34840),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},14974:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},31380:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},51459:e=>{e.exports=function(e){return this.__data__.has(e)}},84247:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},32865:(e,t,n)=>{var r=n(19570),o=n(51811)(r);e.exports=o},51811:e=>{var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},51420:(e,t,n)=>{var r=n(80079);e.exports=function(){this.__data__=new r,this.size=0}},90938:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},63605:e=>{e.exports=function(e){return this.__data__.get(e)}},29817:e=>{e.exports=function(e){return this.__data__.has(e)}},80945:(e,t,n)=>{var r=n(80079),o=n(68223),i=n(53661);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}}
838,61802:(e,t,n)=>{var r=n(62224),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},77797:(e,t,n)=>{var r=n(44394);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},47473:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},31800:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},37334:e=>{e.exports=function(e){return function(){return e}}},38221:(e,t,n)=>{var r=n(23805),o=n(10124),i=n(99374),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,u,d,p,f,h=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=l,r=c;return l=c=void 0,h=t,d=e.apply(r,n)}function b(e){var n=e-f;return void 0===f||n>=t||n<0||g&&e-h>=u}function w(){var e=o();if(b(e))return x(e);p=setTimeout(w,function(e){var n=t-(e-f);return g?s(n,u-(e-h)):n}(e))}function x(e){return p=void 0,v&&l?y(e):(l=c=void 0,d)}function k(){var e=o(),n=b(e);if(l=arguments,c=this,f=e,n){if(void 0===p)return function(e){return h=e,p=setTimeout(w,t),m?y(e):d}(f);if(g)return clearTimeout(p),p=setTimeout(w,t),y(f)}return void 0===p&&(p=setTimeout(w,t)),d}return t=i(t)||0,r(n)&&(m=!!n.leading,u=(g="maxWait"in n)?a(i(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),k.cancel=function(){void 0!==p&&clearTimeout(p),h=0,l=f=c=p=void 0},k.flush=function(){return void 0===p?d:x(o())},k}},75288:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},35970:(e,t,n)=>{var r=n(83120);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},58156:(e,t,n)=>{var r=n(47422);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},80631:(e,t,n)=>{var r=n(28077),o=n(49326);e.exports=function(e,t){return null!=e&&o(e,t,r)}},83488:e=>{e.exports=function(e){return e}},72428:(e,t,n)=>{var r=n(27534),o=n(40346),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},56449:e=>{var t=Array.isArray;e.exports=t},64894:(e,t,n)=>{var r=n(1882),o=n(30294);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},83693:(e,t,n)=>{var r=n(64894),o=n(40346);e.exports=function(e){return o(e)&&r(e)}},3656:(e,t,n)=>{e=n.nmd(e);var r=n(9325),o=n(89935),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l}
838,62193:(e,t,n)=>{var r=n(88984),o=n(5861),i=n(72428),a=n(56449),s=n(64894),l=n(3656),c=n(55527),u=n(37167),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},2404:(e,t,n)=>{var r=n(60270);e.exports=function(e,t){return r(e,t)}},1882:(e,t,n)=>{var r=n(72552),o=n(23805);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},30294:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},87730:(e,t,n)=>{var r=n(29172),o=n(27301),i=n(86009),a=i&&i.isMap,s=a?o(a):r;e.exports=s},23805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},40346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},11331:(e,t,n)=>{var r=n(72552),o=n(28879),i=n(40346),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},38440:(e,t,n)=>{var r=n(16038),o=n(27301),i=n(86009),a=i&&i.isSet,s=a?o(a):r;e.exports=s},44394:(e,t,n)=>{var r=n(72552),o=n(40346);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},37167:(e,t,n)=>{var r=n(4901),o=n(27301),i=n(86009),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},95950:(e,t,n)=>{var r=n(70695),o=n(88984),i=n(64894);e.exports=function(e){return i(e)?r(e):o(e)}},37241:(e,t,n)=>{var r=n(70695),o=n(72903),i=n(64894);e.exports=function(e){return i(e)?r(e,!0):o(e)}},68090:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},73916:(e,t,n)=>{var r=n(43360),o=n(30641),i=n(15389);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,o,t(e,o,i))})),n}}
838,50104:(e,t,n)=>{var r=n(53661);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},55364:(e,t,n)=>{var r=n(85250),o=n(20999)((function(e,t,n){r(e,t,n)}));e.exports=o},10124:(e,t,n)=>{var r=n(9325);e.exports=function(){return r.Date.now()}},90179:(e,t,n)=>{var r=n(34932),o=n(9999),i=n(19931),a=n(31769),s=n(21791),l=n(53138),c=n(38816),u=n(83349),d=c((function(e,t){var n={};if(null==e)return n;var c=!1;t=r(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),s(e,u(e),n),c&&(n=o(n,7,l));for(var d=t.length;d--;)i(n,t[d]);return n}));e.exports=d},50583:(e,t,n)=>{var r=n(47237),o=n(17255),i=n(28586),a=n(77797);e.exports=function(e){return i(e)?r(a(e)):o(e)}},63345:e=>{e.exports=function(){return[]}},89935:e=>{e.exports=function(){return!1}},7350:(e,t,n)=>{var r=n(38221),o=n(23805);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},99374:(e,t,n)=>{var r=n(54128),o=n(23805),i=n(44394),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},69884:(e,t,n)=>{var r=n(21791),o=n(37241);e.exports=function(e){return r(e,o(e))}},13222:(e,t,n)=>{var r=n(77556);e.exports=function(e){return null==e?"":r(e)}},69752:(e,t,n)=>{var r=n(83729),o=n(39344),i=n(30641),a=n(15389),s=n(28879),l=n(56449),c=n(3656),u=n(1882),d=n(23805),p=n(37167);e.exports=function(e,t,n){var f=l(e),h=f||c(e)||p(e);if(t=a(t,4),null==n){var m=e&&e.constructor;n=h?f?new m:[]:d(e)&&u(m)?o(s(e)):{}}return(h?r:i)(e,(function(e,r,o){return t(n,e,r,o)})),n}},27290:function(e){var t;t=function(){return function(){var e={
838"./packages/@logrocket/console/src/index.ts":function(e,t,n){"use strict";var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("./packages/@logrocket/console/src/registerConsole.js"));t.default=o.default},
838"./packages/@logrocket/console/src/registerConsole.js":function(e,t,n){"use strict";var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=[];return["log","warn","info","error","debug"].forEach((n=>{t.push((0,o.default)(console,n,(function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];e.addEvent("lr.core.LogEvent",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const o=t.isEnabled;if("object"==typeof o&&!1===o[n]||!1===o)return null;if("error"===n&&t.shouldAggregateConsoleErrors)if(r&&r.length>=2&&"ERROR"===r[0]){let t="";try{t=" ".concat(r[1])}catch(e){}i.Capture.captureMessage(e,"".concat(r[0]).concat(t),r,{},!0)}else i.Capture.captureMessage(e,r[0],r,{},!0);return{logLevel:n.toUpperCase(),args:r}}))})))})),()=>{t.forEach((e=>e()))}};var o=r(n("./packages/@logrocket/utils/src/enhanceFunc.ts")),i=n("./packages/@logrocket/exceptions/src/index.ts")},
838"./packages/@logrocket/exceptions/src/Capture.js":function(e,t,n){"use strict";var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(t,"__esModule",{value:!0}),t.captureException=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"WINDOW";const s=(arguments.length>3&&void 0!==arguments[3]?arguments[3]:null)||i.default.computeStackTrace(t),l={exceptionType:r,errorType:s.name,message:s.message,browserHref:window.location?window.location.href:""};(0,o.scrubException)(l,n);const c={_stackTrace:(0,a.default)(s)};e.addEvent("lr.core.Exception",(()=>l),c)},t.captureMessage=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i={exceptionType:arguments.length>4&&void 0!==arguments[4]&&arguments[4]?"CONSOLE":"MESSAGE",message:t,messageArgs:n,browserHref:window.location?window.location.href:""};(0,o.scrubException)(i,r),e.addEvent("lr.core.Exception",(()=>i))};var o=n("./packages/@logrocket/utils/src/scrubException.ts"),i=r(n("./packages/@logrocket/utils/src/TraceKit.js")),a=r(n("./packages/@logrocket/exceptions/src/stackTraceFromError.js"))},
838"./packages/@logrocket/exceptions/src/index.ts":function(e,t,n){"use strict";var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(t,"__esModule",{value:!0}),t.Capture=void 0,Object.defineProperty(t,"registerExceptions",{enumerable:!0,get:function(){return o.default}});var o=r(n("./packages/@logrocket/exceptions/src/registerExceptions.js")),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n("./packages/@logrocket/exceptions/src/Capture.js"));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}t.Capture=i},
838"./packages/@logrocket/exceptions/src/raven/FunctionPropertyMirror.js":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n=new Set(["prototype","length","name","arguments","caller","__lr__","__lr_wrapper__","__inner__","__refreshMirroredProps__"]);t.default=class{constructor(e,t){let{hasKey:r,reservedProps:o=n,includeSymbols:i=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.source=e,this.target=t,this.hasKey=r||(()=>!1),this.reservedProps=o,this.includeSymbols=i,this.mirroredProps=Object.create(null),this.descriptorCache=Object.create(null)}isReserved(e){return null==e||(function(e){return"symbol"==typeof e}(e)?!this.includeSymbols:this.reservedProps.has(e))}remember(e){this.mirroredProps[e]=!0}forget(e){delete this.mirroredProps[e],Object.prototype.hasOwnProperty.call(this.descriptorCache,e)&&delete this.descriptorCache[e]}hasMirrored(e){return Object.prototype.hasOwnProperty.call(this.mirroredProps,e)}getDescriptor(e){if(Object.prototype.hasOwnProperty.call(this.descriptorCache,e))return this.descriptorCache[e]||void 0;let t;try{t=Object.getOwnPropertyDescriptor(this.source,e)}catch(e){t=void 0}return this.descriptorCache[e]=t||null,t}defineMirroredDescriptor(e,t){const n=!Object.prototype.hasOwnProperty.call(t,"configurable")||t.configurable,r=!Object.prototype.hasOwnProperty.call(t,"enumerable")||t.enumerable;if(t.get||t.set)return void Object.defineProperty(this.target,e,{configurable:n,enumerable:r,get:t.get?()=>t.get.call(this.source):void 0,set:t.set?e=>t.set.call(this.source,e):void 0});const o=!Object.prototype.hasOwnProperty.call(t,"writable")||t.writable;Object.defineProperty(this.target,e,{configurable:n,enumerable:r,get:()=>this.source[e],set:!1===o?void 0:t=>{this.source[e]=t}})}mirrorProperty(e){if(this.isReserved(e)||this.hasMirrored(e))return!1;if(!this.hasKey(this.source,e))return!1;const t=this.getDescriptor(e);if(!t)return!1;try{return this.defineMirroredDescriptor(e,t),this.remember(e),!0}catch(t){try{return this.target[e]=this.source[e],this.remember(e),!0}catch(e){return!1}}}mirrorProperties(e){if(!e)return;const t=Array.isArray(e)?e:[e];for(let e=0;e<t.length;e+=1)this.mirrorProperty(t[e])}syncAll(){try{this.mirrorProperties(Object.getOwnPropertyNames(this.source)),this.includeSymbols&&"function"==typeof Object.getOwnPropertySymbols&&this.mirrorProperties(Object.getOwnPropertySymbols(this.source))}catch(e){}}syncProperty(e){this.isReserved(e)||(this.forget(e),this.mirrorProperty(e))}attachManualRefreshHook(){this.isReserved("__refreshMirroredProps__")&&Object.defineProperty(this.target,"__refreshMirroredProps__",{configurable:!0,enumerable:!1,writable:!1,value:()=>(this.syncAll(),this.target)})}}},
838"./packages/@logrocket/exceptions/src/raven/raven.js":function(e,t,n){"use strict";var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("./packages/@logrocket/utils/src/TraceKit.js")),i=r(n("./packages/@logrocket/exceptions/src/raven/FunctionPropertyMirror.js")),a=Object.prototype;function s(e){return void 0===e}function l(e){return"function"==typeof e}function c(e,t){return a.hasOwnProperty.call(e,t)}function u(e,t,n,r){var o=e[t];e[t]=n(o),r&&r.push([e,t,o])}var d="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};d.document,t.default=class{constructor(e){let{captureException:t}=e;this._errorHandler=this._errorHandler.bind(this),this._ignoreOnError=0,this._wrappedBuiltIns=[],this.captureException=t,o.default.report.subscribe(this._errorHandler),this._instrumentTryCatch()}uninstall(){var e;for(o.default.report.unsubscribe(this._errorHandler);this._wrappedBuiltIns.length;){var t=(e=this._wrappedBuiltIns.shift())[0],n=e[1],r=e[2];t[n]=r}}_errorHandler(e){this._ignoreOnError||this.captureException(e)}_ignoreNextOnError(){this._ignoreOnError+=1,setTimeout((()=>{this._ignoreOnError-=1}))}context(e,t,n){return l(e)&&(n=t||[],t=e,e=void 0),this.wrap(e,t).apply(this,n)}wrap(e,t,n){var r=this;if(s(t)&&!l(e))return e;if(l(e)&&(t=e,e=void 0),!l(t))return t;try{if(t.__lr__)return t;if(t.__lr_wrapper__)return t.__lr_wrapper__;if(!Object.isExtensible(t))return t}catch(e){return t}function a(){var i=[],a=arguments.length,s=!e||e&&!1!==e.deep;for(n&&l(n)&&n.apply(this,arguments);a--;)i[a]=s?r.wrap(e,arguments[a]):arguments[a];try{return t.apply(this,i)}catch(t){throw r._ignoreNextOnError(),r.captureException(o.default.computeStackTrace(t),e),t}}var u="object"==typeof Reflect?Reflect:void 0,d=new i.default(t,a,{hasKey:c,includeSymbols:!0});d.syncAll(),d.attachManualRefreshHook(),a.prototype=t.prototype;try{"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(a,t):s(a.__proto__)||(a.__proto__=t)}catch(e){}var p=a;return"function"==typeof Proxy&&(p=new Proxy(a,{apply:(e,t,n)=>(d.syncAll(),e.apply(t,n)),construct:(e,t,n)=>(d.syncAll(),u&&u.construct?u.construct(e,t,n):new(Function.bind.apply(e,[null].concat(t||[])))),get:(e,n,r)=>"__inner__"===n?t:(d.mirrorProperty(n),u&&u.get?u.get(e,n,r):e[n]),set(e,n,r,o){if("__lr__"===n||"__lr_wrapper__"===n||"__inner__"===n)return u&&u.set?u.set(e,n,r,o):(e[n]=r,!0);var i;d.mirrorProperty(n),u&&u.set?i=u.set(e,n,r,o):(e[n]=r,i=!0);try{t[n]=r,d.syncProperty(n)}catch(e){}return i},has(e,n){if(d.mirrorProperty(n),u&&u.has){if(u.has(e,n))return!0}else if(n in e)return!0;return n in t},ownKeys:e=>(d.syncAll(),u&&u.ownKeys?u.ownKeys(e):Object.getOwnPropertyNames(e)),getOwnPropertyDescriptor:(e,t)=>(d.mirrorProperty(t),u&&u.getOwnPropertyDescriptor?u.getOwnPropertyDescriptor(e,t):Object.getOwnPropertyDescriptor(e,t)),defineProperty(e,n,r){var o;if(u&&u.defineProperty?o=u.defineProperty(e,n,r):(Object.defineProperty(e,n,r),o=!0),"__lr__"===n||"__lr_wrapper__"===n||"__inner__"===n)return o;try{Object.defineProperty(t,n,r)}catch(e){}return d.syncProperty(n),o},deleteProperty(e,n){if("__lr__"===n||"__lr_wrapper__"===n||"__inner__"===n)return u&&u.deleteProperty?u.deleteProperty(e,n):delete e[n];d.forget(n);try{delete t[n]}catch(e){}return u&&u.deleteProperty?u.deleteProperty(e,n):delete e[n]}})),t.__lr_wrapper__=p,a.__lr__=!0,a.__inner__=t,p!==a&&(p.__lr__=!0,p.__inner__=t),p}_instrumentTryCatch(){var e=this,t=e._wrappedBuiltIns;function n(t){return function(n,r){for(var o=new Array(arguments.length),i=0;i<o.length;++i)o[i]=arguments[i];var a=o[0];return l(a)&&(o[0]=e.wrap(a)),t.apply?t.apply(this,o):t(o[0],o[1])}}function r(n){var r=d[n]&&d[n].prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&(u(r,"addEventListener",(function(t){return function(n,r,o,i){try{r&&r.handleEvent&&(r.handleEvent=e.wrap(r.handleEvent))}catch(e){}return t.call(this,n,e.wrap(r,void 0,void 0),o,i)}}),t),u(r,"removeEventListener",(function(e){return function(t,n,r,o){try{const i=null==n?void 0:n.__lr_wrapper__;i&&e.call(this,t,i,r,o)}catch(e){}return e.call(this,t,n,r,o)}}),void 0))}u(d,"setTimeout",n,t),u(d,"setInterval",n,t),d.requestAnimationFrame&&u(d,"requestAnimationFrame",(function(t){return function(n){return t(e.wrap(n))}}),t);for(var o=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],i=0;i<o.length;i++)r(o[i]);var a=d.jQuery||d.$;a&&a.fn&&a.fn.ready&&u(a.fn,"ready",(function(t){return function(n){return t.call(this,e.wrap(n))}}),t)}}},
838"./packages/@logrocket/exceptions/src/registerExceptions.js":function(e,t,n){"use strict";var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=new o.default({captureException(t){i.captureException(e,null,null,t)}}),n=t=>{t.reason instanceof Error?i.captureException(e,t.reason,null,null,"UNHANDLED_REJECTION"):e.addEvent("lr.core.Exception",(()=>({exceptionType:"UNHANDLED_REJECTION",message:t.reason||"Unhandled Promise rejection"})))};return window.addEventListener("unhandledrejection",n),()=>{window.removeEventListener("unhandledrejection",n),t.uninstall()}};var o=r(n("./packages/@logrocket/exceptions/src/raven/raven.js")),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n("./packages/@logrocket/exceptions/src/Capture.js"));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}},
838"./packages/@logrocket/exceptions/src/stackTraceFromError.js":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(e){return null===e?void 0:e}return e.stack?e.stack.map((e=>({lineNumber:t(e.line),columnNumber:t(e.column),fileName:t(e.url),functionName:t(e.func)}))):void 0}},
838"./packages/@logrocket/network/src/fetchIntercept.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./packages/@logrocket/network/src/registerXHR.js");let o=[];let i=!1;t.default={register:e=>(i||(i=!0,function(e){if(!e.fetch||!e.Promise)return;const t=e.fetch.polyfill;e.fetch=(e=>{let t=0;return function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return function(e,t){const n=o.reduce(((e,t)=>[t].concat(e)),[]);for(var i=arguments.length,a=new Array(i>2?i-2:0),s=2;s<i;s++)a[s-2]=arguments[s];let l=Promise.resolve(a);return n.forEach((e=>{let{request:n,requestError:r}=e;(n||r)&&(l=l.then((e=>n(t,...e)),(e=>r(t,...e))))})),l=l.then((t=>{let n,o;(0,r.setActive)(!1);try{n=e(...t)}catch(e){o=e}if((0,r.setActive)(!0),o)throw o;return n})),n.forEach((e=>{let{response:n,responseError:r}=e;(n||r)&&(l=l.then((e=>n(t,e)),(e=>r&&r(t,e))))})),l}(e,t++,...i)}})(e.fetch),t&&(e.fetch.polyfill=t)}(window)),o.push(e),()=>{const t=o.indexOf(e);t>=0&&o.splice(t,1)}),clear(){o=[]}}},
838"./packages/@logrocket/network/src/index.js":function(e,t,n){"use strict";var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{isReactNative:!1,isDisabled:!1};if(!0===(null==t?void 0:t.isDisabled))return()=>{};const{isReactNative:n,shouldAugmentNPS:r,shouldParseXHRBlob:o}=t,u={},p=e=>{let t=e;if("object"==typeof e&&null!=e){const n=Object.getPrototypeOf(e);n!==Object.prototype&&null!==n||(t=JSON.stringify(e))}if(t&&t.length&&t.length>4096e3&&"string"==typeof t){const e=t.substring(0,1e3);return"".concat(e," ... LogRocket truncating to first 1000 characters.\n Keep data under 4MB to prevent truncation. https://docs.logrocket.com/reference/network")}return e},f=(t,n)=>{const r=n.method;e.addEvent("lr.network.RequestEvent",(function(){let{isEnabled:e=!0,requestSanitizer:o=e=>e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!e)return null;let i=null;try{i=o(d(d({},n),{},{reqId:t}))}catch(e){console.error(e)}if(i){let e=i.url;if("undefined"!=typeof document&&"function"==typeof document.createElement){const t=document.createElement("a");t.href=i.url,e=t.href}return{reqId:t,url:e,headers:(0,c.default)(i.headers,(e=>"".concat(e))),body:p(i.body),method:r,referrer:i.referrer||void 0,mode:i.mode||void 0,credentials:i.credentials||void 0,initiatorType:i.initiatorType||"UNKNOWN"}}return u[t]=!0,null}))},h=(t,n)=>{const{method:r,status:o,responseType:i}=n;e.addEvent("lr.network.ResponseEvent",(function(){let{isEnabled:e=!0,responseSanitizer:a=e=>e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!e)return null;if(u[t])return delete u[t],null;let s=null;try{s=a(d(d({},n),{},{reqId:t}))}catch(e){console.error(e)}return s?{reqId:t,responseType:i,status:s.status,headers:(0,c.default)(s.headers,(e=>"".concat(e))),body:p(s.body),method:r}:{reqId:t,responseType:i,status:o,headers:{},body:null,method:r}}))},m=t=>e.isDisabled||!0===u[t],g=(0,i.default)({addRequest:f,addResponse:h,isIgnored:m}),v=(0,l.default)({addRequest:f,addResponse:h,isIgnored:m,logger:e,shouldAugmentNPS:r,shouldParseXHRBlob:o}),y=(0,a.registerIonic)({addRequest:f,addResponse:h,isIgnored:m}),b=n?()=>{}:(0,s.default)(e);return()=>{b(),g(),v(),y()}};var o=r(n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/defineProperty.js")),i=r(n("./packages/@logrocket/network/src/registerFetch.js")),a=n("./packages/@logrocket/network/src/registerIonic.ts"),s=r(n("./packages/@logrocket/network/src/registerNetworkInformation.js")),l=r(n("./packages/@logrocket/network/src/registerXHR.js")),c=r(n("./packages/@logrocket/utils/src/mapValues.ts"));function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},
838"./packages/@logrocket/network/src/registerFetch.js":function(e,t,n){"use strict";var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{addRequest:t,addResponse:n,isIgnored:r}=e;const o="fetch-",i={},s=a.default.register({request(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];let s;if("undefined"!=typeof Request&&r[0]instanceof Request){let e;try{e=r[0].clone().text()}catch(t){e=Promise.resolve("LogRocket fetch error: ".concat(t.message))}s=e.then((e=>l(l({},u(r[0])),{},{body:e})),(e=>l(l({},u(r[0])),{},{body:"LogRocket fetch error: ".concat(e.message)})))}else s=Promise.resolve(l(l({},u(r[1])),{},{url:"".concat(r[0]),body:(r[1]||{}).body}));return s.then((n=>(i[e]=n.method,n.initiatorType="FETCH",t("".concat(o).concat(e),n),r)))},requestError:(e,t)=>Promise.reject(t),response(e,t){var a,s;let l,u;if(r("".concat(o).concat(e)))return t;if("text/event-stream"===(null===(a=t.headers)||void 0===a?void 0:a.get("content-type")))u=Promise.resolve("LogRocket skipped consuming an event-stream body.");else if("string"==typeof(p=null===(s=t.headers)||void 0===s?void 0:s.get("content-type"))&&(p.startsWith("image/")&&"image/svg+xml"!==p||p.startsWith("video/")||"application/octet-stream"===p))u=Promise.resolve("LogRocket skipped consuming a binary body.");else{try{l=t.clone()}catch(r){var d;const a={url:t.url,responseType:null===(d=t.type)||void 0===d?void 0:d.toUpperCase(),status:t.status,headers:c(t.headers),body:"LogRocket fetch error: ".concat(r.message),method:i[e]};return delete i[e],n("".concat(o).concat(e),a),t}try{if(window.TextDecoder&&l.body){const e=l.body.getReader(),t=new window.TextDecoder("utf-8");let n="";u=e.read().then((function r(o){let{done:i,value:a}=o;if(i)return n;const s=a?t.decode(a,{stream:!0}):"";return n+=s,e.read().then(r)}))}else u=l.text()}catch(e){u=Promise.resolve("LogRocket error reading body: ".concat(e.message))}}var p;return u.catch((e=>{if(!("AbortError"===e.name&&e instanceof DOMException))return"LogRocket error reading body: ".concat(e.message)})).then((r=>{var a;const s={url:t.url,responseType:null===(a=t.type)||void 0===a?void 0:a.toUpperCase(),status:t.status,headers:c(t.headers),body:r,method:i[e]};delete i[e],n("".concat(o).concat(e),s)})),t},responseError(e,t){const r={url:void 0,status:0,headers:{},body:"".concat(t)};return n("".concat(o).concat(e),r),Promise.reject(t)}});return s};var o=r(n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/defineProperty.js")),i=r(n("./packages/@logrocket/utils/src/mapValues.ts")),a=r(n("./packages/@logrocket/network/src/fetchIntercept.js"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const c=e=>(0,i.default)(function(e){if(void 0===e)return{};if(null==e||"function"!=typeof e.forEach)return e;const t={};return e.forEach(((e,n)=>{t[n]?t[n]="".concat(t[n],",").concat(e):t[n]="".concat(e)})),t}(e),(e=>"".concat(e)));function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{url:e.url,headers:c(e.headers),method:e.method&&e.method.toUpperCase(),referrer:e.referrer||void 0,mode:e.mode||void 0,credentials:e.credentials||void 0}}},
838"./packages/@logrocket/network/src/registerIonic.ts":function(e,t,n){"use strict";var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(t,"__esModule",{value:!0}),t.appendQueryParamsString=S,t.mergeHeaders=w,t.processData=O,t.registerIonic=function(e){var t,n,r;let{addRequest:o,addResponse:a,isIgnored:s}=e;const f=null===(t=window.cordova)||void 0===t||null===(n=t.plugin)||void 0===n?void 0:n.http;let h={},v=!1;if(void 0===f)return()=>{};const x=null===(r=window.ionic)||void 0===r?void 0:r.platforms;if(void 0!==x&&"function"==typeof x.some&&x.some((e=>p.has(e))))return()=>{};const k=f.sendRequest,C=(0,i.default)(((e,t,n)=>{if(!s("".concat(d).concat(n)))try{const r={url:e.url||"",status:e.status<600&&e.status>=100?e.status:0,headers:e.headers||{},body:t?e.data:e.error,method:h[n].toUpperCase()};a("".concat(d).concat(n),r)}catch(t){const r={url:e.url||"",status:e.status<600&&e.status>=100?e.status:0,headers:e.headers||{},body:"LogRocket fetch error: ".concat(t.message),method:h[n].toUpperCase()};a("".concat(d).concat(n),r)}}));return f.sendRequest=(e,t,n,r)=>{const i=++A;if(!v)try{const n=function(e,t){let n,r=(e=e||{}).data;try{n=y(c,e.serializer||t.getDataSerializer(),"serializer / data payload type")}catch(o){n=y(u,e.serializer||t.getDataSerializer(),"serializer / data payload type"),r={}}return{data:r,filePath:e.filePath,followRedirect:e.followRedirect,headers:b(e.headers||{},m,"Invalid header type, must be string"),method:y(l,e.method||l[0],"method"),name:e.name,params:b(e.params||{},g,"Invalid param, must be of type string or array"),responseType:e.responseType,serializer:n,connectTimeout:e.connectTimeout,readTimeout:e.readTimeout,timeout:e.timeout}}(t,f),r=S(e,E("",n.params,!0)),a=function(e,t,n){const r=n.getHeaders("*")||{},o=function(e,t){const{host:n}=new URL(e);return t.getHeaders(n)||null}(e,n)||{};return w(w(r,o),t)}(e,n.headers,f),s=n.method||"get";h[i]=s;const p={url:r,method:s.toUpperCase(),headers:a||{},body:O(n.data||{},n.serializer),initiatorType:"IONIC"};o("".concat(d).concat(i),p)}catch(n){const r={url:e,method:(t.method||"get").toUpperCase(),headers:{},body:"LogRocket fetch error: ".concat(n.message),initiatorType:"IONIC"};o("".concat(d).concat(i),r)}return k(e,t,(e=>{v||(C(e,!0,i),delete h[i]),n(e)}),(e=>{v||(C(e,!1,i),delete h[i]),r(e)}))},()=>{v=!0,f.sendRequest=k,h={}}},t.serializeQueryParams=function(e,t){return E("",e,t)};var o=r(n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/defineProperty.js")),i=r(n("./packages/@logrocket/utils/src/protectFunc.ts"));function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const l=new Set(["get","put","post","patch","head","delete","options","upload","download"]),c=new Set(["urlencoded","json","utf8"]),u=new Set(["raw","multipart"]),d="ionic-",p=new Set(["desktop","mobileweb","pwa"]),f=new Set(["FormData"]),h=new Set,m=new Set(["string"]),g=new Set(["string","array"]),v={utf8:m,urlencoded:new Set(["object"]),json:new Set(["array","object"]),raw:new Set(["Uint8Array","ArrayBuffer"]),default:h};function y(e,t,n){if("string"!=typeof t)throw new Error("".concat(n," must be one of: ").concat([...e].join(", ")));if(t=t.trim().toLowerCase(),!e.has(t))throw new Error("".concat(n," must be one of: ").concat([...e].join(", ")));return t}function b(e,t,n){if("object"!=typeof e)throw new Error(n);for(const r of Object.keys(e))if(!t.has(typeof e[r]))throw new Error(n);return e}function w(e,t){return s(s({},e),t)}function x(e,t){return t?encodeURIComponent(e):e}
838function k(e,t,n){return e.length?n?"".concat(encodeURIComponent(e),"[").concat(encodeURIComponent(t),"]"):"".concat(e,"[").concat(t,"]"):n?encodeURIComponent(t):t}function C(e,t,n){const r=[];for(const o of t)Array.isArray(o)?r.push(C("".concat(e,"[]"),o,n)):"object"!=typeof o?r.push("".concat(k(e,"",n),"=").concat(x(o,n))):r.push(E("".concat(e,"[]").concat(o),n,void 0));return r.join("&")}function E(e,t,n){const r=[];for(const o in t){if(!t.hasOwnProperty(o))continue;const i=e.length?"".concat(e,"[").concat(o,"]"):o;Array.isArray(t[o])?r.push(C(i,t[o],n)):"object"!=typeof t[o]||null===t[o]?r.push("".concat(k(e,o,n),"=").concat(x(t[o],n))):r.push(E(i,t[o],n))}return r.join("&")}function S(e,t){if(!e.length||!t.length)return e;const{host:n,pathname:r,search:o,hash:i,protocol:a}=new URL(e);return"".concat(a,"//").concat(n).concat(r).concat(o.length?"".concat(o,"&").concat(t):"?".concat(t)).concat(i)}function O(e,t){const r=typeof e,o=function(e){return v[e]||v.default}(t),i=function(e){return"multipart"===e?f:h}(t);if(i.size>0){let t=!1;if(i.forEach((r=>{n.g[r]&&e instanceof n.g[r]&&(t=!0)})),!t)throw new Error("INSTANCE_TYPE_MISMATCH_DATA ".concat([...i].join(", ")))}if(0===i.size&&!o.has(r))throw new Error("TYPE_MISMATCH_DATA ".concat([...o].join(", ")));return"utf8"===t?e:JSON.stringify(e,void 0,2)}let A=0},
838"./packages/@logrocket/network/src/registerNetworkInformation.js":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t;function r(){const r={online:window.navigator.onLine,effectiveType:"UNKOWN"};window.navigator.onLine?window.navigator.connection&&window.navigator.connection.effectiveType&&(r.effectiveType=n[window.navigator.connection.effectiveType]||"UNKNOWN"):r.effectiveType="NONE",t&&r.online===t.online&&r.effectiveType===t.effectiveType||(t=r,e.addEvent("lr.network.NetworkStatusEvent",(function(){let{isEnabled:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e?r:null})))}return setTimeout(r),window.navigator.connection&&"function"==typeof window.navigator.connection.addEventListener&&window.navigator.connection.addEventListener("change",r),window.addEventListener("online",r),window.addEventListener("offline",r),()=>{window.removeEventListener("offline",r),window.removeEventListener("online",r),window.navigator.connection&&"function"==typeof window.navigator.connection.removeEventListener&&window.navigator.connection.removeEventListener("change",r)}};const n={"slow-2g":"SLOW2G","2g":"TWOG","3g":"THREEG","4g":"FOURG"}},
838"./packages/@logrocket/network/src/registerXHR.js":function(e,t,n){"use strict";var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{addRequest:t,addResponse:n,isIgnored:r,logger:p,shouldAugmentNPS:f=!0,shouldParseXHRBlob:h=!1}=e;const m=XMLHttpRequest,g=new WeakMap;let v=!1;const y="xhr-";return window._lrXMLHttpRequest=XMLHttpRequest,XMLHttpRequest=function(e,b){const w=new m(e,b);if(!u)return w;g.set(w,{xhrId:++d,requestHeaders:{},sent:!1,done:!1});const x=w.open,k=w.send;f&&(w.open=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];try{const e=t[1];if(window.URL&&"function"==typeof window.URL&&0===e.search(s.WOOTRIC_RESPONSES_REGEX)){const n=new window.URL(p.recordingURL);n.searchParams.set("nps","wootric");const r=new window.URL(e),o=r.searchParams.get("response[text]"),i=o?"".concat(o,"\n\n"):"";r.searchParams.set("response[text]","".concat(i,"<").concat(n.href,"|View LogRocket session>")),t[1]=r.href}}catch(e){}return x.apply(this,t)},w.send=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];try{const e=g.get(w);if(window.URL&&"function"==typeof window.URL&&e&&e.url&&0===e.url.search(s.DELIGHTED_RESPONSES_REGEX)&&t.length&&-1!==t[0].indexOf(s.DELIGHTED_FEEDBACK_PREFIX)){const e=new window.URL(p.recordingURL);e.searchParams.set("nps","delighted");const n=encodeURIComponent(e.href),r=t[0].split("&").map((e=>{if(e.startsWith(s.DELIGHTED_FEEDBACK_PREFIX)){const t=e===s.DELIGHTED_FEEDBACK_PREFIX;return"".concat(e).concat(t?"":"\n\n","<").concat(n,"|View LogRocket session>")}return e})).join("&");t[0]=r}}catch(e){}return k.apply(this,t)});const C=()=>{var e;if(v)return;const t=g.get(w);if(!t||r("".concat(y).concat(t.xhrId)))return;if(!t.sent||!t.done)return;let o=t.status||l.XHR_CUSTOM_STATUS_CODES.error;o===l.XHR_CUSTOM_STATUS_CODES.error&&!1===(null===(e=window.navigator)||void 0===e?void 0:e.onLine)&&(o=l.XHR_CUSTOM_STATUS_CODES.offline);const i={url:t.url,status:o,headers:t.responseHeaders,body:t.responseBody,method:(t.method||"").toUpperCase()};if(h&&i.body instanceof Blob){const e=new FileReader;e.readAsText(i.body),e.onload=function(){try{i.body=JSON.parse(e.result)}catch(e){}n("".concat(y).concat(t.xhrId),i)}}else n("".concat(y).concat(t.xhrId),i)};(0,i.default)(w,"open",(0,a.default)(((e,t)=>{if(v)return;const n=g.get(w);n.method=e,n.url=t}))),(0,i.default)(w,"send",(0,a.default)((e=>{if(v)return;const n=g.get(w);if(!n)return;const r={url:n.url,method:n.method&&n.method.toUpperCase(),headers:(0,o.default)(n.requestHeaders||{},(e=>e.join(", "))),body:e,initiatorType:"XHR"};t("".concat(y).concat(n.xhrId),r),n.sent=!0,C()}))),(0,i.default)(w,"setRequestHeader",(0,a.default)(((e,t)=>{if(v)return;const n=g.get(w);n&&(n.requestHeaders=n.requestHeaders||{},n.requestHeaders[e]=n.requestHeaders[e]||[],n.requestHeaders[e].push(t))})));const E={readystatechange:(0,a.default)((()=>{if(!v&&4===w.readyState){const e=g.get(w);if(!e)return;if(r("".concat(y).concat(e.xhrId)))return;const t=w.getAllResponseHeaders()||"";let n;e.responseHeaders=(0,c.parseRawHeaders)(t);try{switch(w.responseType){case"json":n=p._shouldCloneResponse?JSON.parse(JSON.stringify(w.response)):w.response;break;case"arraybuffer":case"blob":n=h?w.response:"LogRocket skipped consuming a binary body.";break;case"document":n=w.responseXML;break;case"text":case"":n=w.responseText;break;default:n=""}}catch(e){n="LogRocket: Error accessing response."}e.responseBody=n,e.status=w.status,e.done=!0}})),abort:(0,a.default)((()=>{const e=g.get(w);e&&(e.status=l.XHR_CUSTOM_STATUS_CODES.aborted)})),timeout:(0,a.default)((()=>{const e=g.get(w);e&&(e.status=l.XHR_CUSTOM_STATUS_CODES.timeout)})),loadend:(0,a.default)((()=>{C()}))};
838return Object.keys(E).forEach((e=>{w.addEventListener(e,E[e])})),w},XMLHttpRequest.prototype=m.prototype,["UNSENT","OPENED","HEADERS_RECEIVED","LOADING","DONE"].forEach((e=>{XMLHttpRequest[e]=m[e]})),()=>{v=!0,XMLHttpRequest=m}},t.setActive=function(e){u=e};var o=r(n("./packages/@logrocket/utils/src/mapValues.ts")),i=r(n("./packages/@logrocket/utils/src/enhanceFunc.ts")),a=r(n("./packages/@logrocket/utils/src/protectFunc.ts")),s=n("./packages/@logrocket/utils/src/constants/nps.js"),l=n("./packages/@logrocket/utils/src/constants/statusCodes.ts"),c=n("./packages/@logrocket/utils/src/parseRawHeaders.ts");let u=!0,d=0},
838"./packages/@logrocket/now/src/index.ts":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n=Date.now.bind(Date),r=n();t.default="undefined"!=typeof performance&&performance.now?performance.now.bind(performance):()=>n()-r},
838"./packages/@logrocket/redux/src/createEnhancer.js":function(e,t,n){"use strict";var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{stateSanitizer:t=e=>e,actionSanitizer:n=e=>e}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r=>(o,a,c)=>{const u=r(o,a,c),d=u.dispatch,p=l++;return e.addEvent("lr.redux.InitialState",(()=>{let e;try{e=t(u.getState())}catch(e){console.error(e.toString())}return{state:e,storeId:p}})),s(s({},u),{},{dispatch:r=>{const o=(0,i.default)();let a,s;try{s=d(r)}catch(e){a=e}finally{const a=(0,i.default)()-o;e.addEvent("lr.redux.ReduxAction",(()=>{let e=null,o=null;try{e=t(u.getState()),o=n(r)}catch(e){console.error(e.toString())}return e&&o?{storeId:p,action:o,duration:a,stateDelta:e}:null}))}if(a)throw a;return s}})}};var o=r(n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/defineProperty.js")),i=r(n("./packages/@logrocket/now/src/index.ts"));function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}let l=0},
838"./packages/@logrocket/redux/src/createMiddleware.js":function(e,t,n){"use strict";var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{stateSanitizer:t=e=>e,actionSanitizer:n=e=>e}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r=>{const a=i++;return e.addEvent("lr.redux.InitialState",(()=>{let e;try{e=t(r.getState())}catch(e){console.error(e.toString())}return{state:e,storeId:a}})),i=>s=>{const l=(0,o.default)();let c,u;try{u=i(s)}catch(e){c=e}finally{const i=(0,o.default)()-l;e.addEvent("lr.redux.ReduxAction",(()=>{let e=null,o=null;try{e=t(r.getState()),o=n(s)}catch(e){console.error(e.toString())}return e&&o?{storeId:a,action:o,duration:i,stateDelta:e}:null}))}if(c)throw c;return u}}};var o=r(n("./packages/@logrocket/now/src/index.ts"));let i=0},
838"./packages/@logrocket/redux/src/index.ts":function(e,t,n){"use strict";var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createEnhancer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"createMiddleware",{enumerable:!0,get:function(){return i.default}});var o=r(n("./packages/@logrocket/redux/src/createEnhancer.js")),i=r(n("./packages/@logrocket/redux/src/createMiddleware.js"))},
838"./packages/@logrocket/utils/src/TraceKit.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={collectWindowErrors:!0,debug:!1},o="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},i=[].slice,a="?",s=/^(?:Uncaught (?:exception: )?)?((?:Eval|Internal|Range|Reference|Syntax|Type|URI)Error): ?(.*)$/;function l(){return"undefined"==typeof document||void 0===document.location?"":document.location.href}r.report=function(){var e,t,n=[],c=null,u=null,d=null;function p(e,t){var o=null;if(!t||r.collectWindowErrors){for(var a in n)if(n.hasOwnProperty(a))try{n[a].apply(null,[e].concat(i.call(arguments,2)))}catch(e){o=e}if(o)throw o}}function f(t,n,o,i,c){if(d)r.computeStackTrace.augmentStackTraceWithInitialElement(d,n,o,t),h();else if(c)p(r.computeStackTrace(c),!0);else{var u,f={url:n,line:o,column:i},m=void 0,g=t;"[object String]"==={}.toString.call(t)&&(u=t.match(s))&&(m=u[1],g=u[2]),f.func=a,p({name:m,message:g,url:l(),stack:[f]},!0)}return!!e&&e.apply(this,arguments)}function h(){var e=d,t=c;c=null,d=null,u=null,p.apply(null,[e,!1].concat(t))}function m(e,t){var n=i.call(arguments,1);if(d){if(u===e)return;h()}var o=r.computeStackTrace(e);if(d=o,u=e,c=n,setTimeout((function(){u===e&&h()}),o.incomplete?2e3:0),!1!==t)throw e}return m.subscribe=function(r){t||(e=o.onerror,o.onerror=f,t=!0),n.push(r)},m.unsubscribe=function(e){for(var t=n.length-1;t>=0;--t)n[t]===e&&n.splice(t,1)},m.uninstall=function(){t&&(o.onerror=e,t=!1,e=void 0),n=[]},m}(),r.computeStackTrace=function(){function e(e){if(void 0!==e.stack&&e.stack){for(var t,n,r=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,o=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::(\d+))?(?::(\d+))?\s*$/i,i=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,s=e.stack.split("\n"),c=[],u=(/^(.*) is undefined$/.exec(e.message),0),d=s.length;u<d;++u){if(t=r.exec(s[u])){var p=t[2]&&-1!==t[2].indexOf("native");n={url:p?null:t[2],func:t[1]||a,args:p?[t[2]]:[],line:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}else if(t=i.exec(s[u]))n={url:t[2],func:t[1]||a,args:[],line:+t[3],column:t[4]?+t[4]:null};else{if(!(t=o.exec(s[u])))continue;n={url:t[3],func:t[1]||a,args:t[2]?t[2].split(","):[],line:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}!n.func&&n.line&&(n.func=a),c.push(n)}return c.length?(c[0].column||void 0===e.columnNumber||(c[0].column=e.columnNumber+1),{name:e.name,message:e.message,url:l(),stack:c}):null}}function t(e,t,n,r){var o={url:t,line:n};if(o.url&&o.line){if(e.incomplete=!1,o.func||(o.func=a),e.stack.length>0&&e.stack[0].url===o.url){if(e.stack[0].line===o.line)return!1;if(!e.stack[0].line&&e.stack[0].func===o.func)return e.stack[0].line=o.line,!1}return e.stack.unshift(o),e.partial=!0,!0}return e.incomplete=!0,!1}function n(e,i){for(var s,c,u=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,d=[],p={},f=!1,h=n.caller;h&&!f;h=h.caller)if(h!==o&&h!==r.report){if(c={url:null,func:a,line:null,column:null},h.name?c.func=h.name:(s=u.exec(h.toString()))&&(c.func=s[1]),void 0===c.func)try{c.func=s.input.substring(0,s.input.indexOf("{"))}catch(e){}p[""+h]?f=!0:p[""+h]=!0,d.push(c)}i&&d.splice(0,i);var m={name:e.name,message:e.message,url:l(),stack:d};return t(m,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),m}function o(t,o){var i=null;o=null==o?0:+o;try{if(i=e(t))return i}catch(e){if(r.debug)throw e}try{if(i=n(t,o+1))return i}catch(e){if(r.debug)throw e}return{name:t.name,message:t.message,url:l()}}return o.augmentStackTraceWithInitialElement=t,o.computeStackTraceFromStackProp=e,o}(),t.default=r},
838"./packages/@logrocket/utils/src/constants/nps.js":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WOOTRIC_RESPONSES_REGEX=t.DELIGHTED_RESPONSES_REGEX=t.DELIGHTED_FEEDBACK_PREFIX=void 0,t.WOOTRIC_RESPONSES_REGEX=/^https:\/\/production.wootric.com\/responses/,t.DELIGHTED_RESPONSES_REGEX=/^https:\/\/web.delighted.com\/e\/[a-zA-Z-]*\/c/,t.DELIGHTED_FEEDBACK_PREFIX="comment="},
838"./packages/@logrocket/utils/src/constants/statusCodes.ts":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.XHR_CUSTOM_STATUS_CODES=t.XHR_CUSTOM_FAILURE_STATUSES=t.STATUS_CODES=void 0,t.getStatusText=function(e){return n[String(e)]};const n=t.STATUS_CODES={0:"",100:"Continue",101:"Switching Protocol",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",306:"unused",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required"},r=t.XHR_CUSTOM_STATUS_CODES={error:0,timeout:444,aborted:499,offline:1001};t.XHR_CUSTOM_FAILURE_STATUSES={[r.error]:"Error",[r.timeout]:"Timeout",[r.aborted]:"Aborted",[r.offline]:"Offline"}},
838"./packages/@logrocket/utils/src/createUnsubListener.ts":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Handler=void 0,t.createUnsubListener=function(e){return()=>{e.clear()}},t.Handler=class{constructor(e){this._value=void 0,this._value=e}get(){return this._value}clear(){this._value=void 0}}},
838"./packages/@logrocket/utils/src/enhanceFunc.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if("function"!=typeof e[t])return o;try{const i=e[t],a=new r.Handler(n);function s(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o=i.apply(this,n);return null===(e=a.get())||void 0===e||e.apply(this,n),o}return e[t]=s,()=>{a.clear(),e[t]===s&&(e[t]=i)}}catch(l){return o}};var r=n("./packages/@logrocket/utils/src/createUnsubListener.ts");const o=()=>{}},
838"./packages/@logrocket/utils/src/logError.js":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n="undefined"!=typeof console&&console.error&&console.error.bind?console.error.bind(console):()=>{};t.default=n},
838"./packages/@logrocket/utils/src/mapValues.ts":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(null==e)return{};const n={};return Object.keys(e).forEach((r=>{n[r]=t(e[r])})),n}},
838"./packages/@logrocket/utils/src/parseRawHeaders.ts":function(e,t,n){"use strict";var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(t,"__esModule",{value:!0}),t.parseRawHeaders=void 0;var o=r(n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/defineProperty.js"));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.parseRawHeaders=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.split(/[\r\n]+/).reduce(((e,n)=>{const r=n.indexOf(":"),o=n.substring(0,r),i=n.substring(r+1).trim(),s=t.lowerCaseKeys?o.toLowerCase():o;return a(a({},e),{},{[s]:"string"==typeof e[o]?"".concat(e[o],", ").concat(i):i})}),{})}},
838"./packages/@logrocket/utils/src/protectFunc.ts":function(e,t,n){"use strict";var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};return function(){let n;try{n=e(...arguments)}catch(e){if("undefined"!=typeof window&&window._lrdebug)throw e;const n=t(e);(0,i.default)("LogRocket",e),(0,o.default)(e,n)}return n}};var o=r(n("./packages/@logrocket/utils/src/sendTelemetryData.js")),i=r(n("./packages/@logrocket/utils/src/logError.js"))},
838"./packages/@logrocket/utils/src/scrubException.ts":function(e,t){"use strict";function n(e){return/boolean|number|string/.test(typeof e)}Object.defineProperty(t,"__esModule",{value:!0}),t.scrubException=function(e,t){if(t){for(const o of r){const r=t[o];n(r)&&(e[o]=r.toString())}for(const r of o){const o=t[r]||{},i={};for(const e of Object.keys(o)){const t=o[e];n(t)&&(i[e.toString()]=t.toString())}e[r]=i}}};const r=["level","logger"],o=["tags","extra"]},
838"./packages/@logrocket/utils/src/sendTelemetryData.js":function(e,t,n){"use strict";var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){try{const n=e.message;let r,o;try{r=JSON.stringify(t).slice(0,1e3)}catch(e){try{r="Could not stringify payload: ".concat(Object.prototype.toString.call(t))}catch(e){}}try{o=a.default.computeStackTrace(e).stack.map((e=>({filename:e.url,lineno:e.line,colno:e.column,function:e.func||"?"})))}catch(e){}u({message:n,extra:{stringPayload:r},exception:{values:[{type:e.type,value:n,stacktrace:{frames:o}}]}})}catch(e){(0,i.default)("Failed to send",e)}},t.sendTelemetry=function(e,t){"undefined"!=typeof window&&window._lrdebug?(0,i.default)(e):t&&t.extra&&t.extra.appID&&"function"==typeof t.extra.appID.indexOf&&0===t.extra.appID.indexOf("au2drp/")&&Math.random()>=.25||u(l({message:e},t))};var o=r(n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/defineProperty.js")),i=r(n("./packages/@logrocket/utils/src/logError.js")),a=r(n("./packages/@logrocket/utils/src/TraceKit.js"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const c="c066849fd59015a6630e292de19b0d4fd02e3485";function u(e){try{var t,n;const r=e.message,o="https://e.logrocket.com/api/3/store/?sentry_version=7&sentry_client=http%2F3.8.0&sentry_key=b64162b4187a4c5caae8a68a7e291793",a=JSON.stringify(l({message:r,logger:"javascript",platform:"javascript",request:{headers:{"User-Agent":"undefined"!=typeof navigator&&navigator.userAgent},url:"undefined"!=typeof location&&location.href},release:c,environment:"undefined"!=typeof window&&null!==(t=null===(n=window.__SDKCONFIG__)||void 0===n?void 0:n.scriptEnv)&&void 0!==t?t:"prod"},e));if("undefined"!=typeof window){const e=new(window._lrXMLHttpRequest||XMLHttpRequest);e.open("POST",o),e.send(a)}else"undefined"!=typeof fetch&&fetch(o,{method:"POST",body:a}).catch((e=>{(0,i.default)("Failed to send via fetch",e)}))}catch(e){(0,i.default)("Failed to send",e)}}},
838"./packages/logrocket/src/LogRocket.js":function(e,t,n){"use strict";var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MAX_QUEUE_SIZE=void 0;var o=r(n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/defineProperty.js")),i=r(n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/objectWithoutProperties.js")),a=r(n("./packages/@logrocket/network/src/index.js")),s=n("./packages/@logrocket/exceptions/src/index.ts"),l=r(n("./packages/@logrocket/console/src/index.ts")),c=n("./packages/@logrocket/redux/src/index.ts"),u=r(n("./packages/@logrocket/utils/src/sendTelemetryData.js"));function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const f=t.MAX_QUEUE_SIZE=1e3;t.default=class{constructor(){var e=this;this._buffer=[],["log","info","warn","error","debug"].forEach((t=>{this[t]=function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.addEvent("lr.core.LogEvent",(function(){return"error"===t&&(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).shouldAggregateConsoleErrors&&s.Capture.captureMessage(e,r[0],r,{},!0),{logLevel:t.toUpperCase(),args:r}}),{shouldCaptureStackTrace:!0})}})),this._isInitialized=!1,this._installed=[],window._lr_surl_cb=this.getSessionURL.bind(this)}addEvent(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=Date.now();this._run((o=>{o.addEvent(e,t,p(p({},n),{},{timeOverride:r}))}))}onLogger(e){for(this._logger=e;this._buffer.length>0;)this._buffer.shift()(this._logger)}_run(e){if(!this._isDisabled)if(this._logger)e(this._logger);else{if(this._buffer.length>=f)return this._isDisabled=!0,console.warn("LogRocket: script did not load. Check that you have a valid network connection."),void this.uninstall();this._buffer.push(e.bind(this))}}_initInternal(e,t){if(!this._isInitialized){var n;const{shouldAugmentNPS:r=!0,shouldParseXHRBlob:o=!1,shouldDetectExceptions:c=!0}=t;c&&this._installed.push((0,s.registerExceptions)(this)),this._installed.push((0,a.default)(this,{shouldAugmentNPS:!!r,shouldParseXHRBlob:!!o,isDisabled:!1===(null==t||null===(n=t.network)||void 0===n?void 0:n.isEnabled)})),this._installed.push((0,l.default)(this)),this._isInitialized=!0,this._run((n=>{n.init(e,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{ingestServer:t}=e,n=(0,i.default)(e,["ingestServer"]);return t?p({serverURL:"".concat(t,"/i"),statsURL:"".concat(t,"/s")},n):n}(t))}))}}init(e){var t,n,r,o,i;let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=(null===(t=window)||void 0===t||null===(n=t.Zone)||void 0===n?void 0:n.root)||(null===(r=window)||void 0===r||null===(o=r.Zone)||void 0===o||null===(i=o.current)||void 0===i?void 0:i._parent);if(s&&"function"==typeof s.run)try{return void s.run((()=>{this._initInternal(e,a)}))}catch(e){console.warn("LogRocket: init failed to escape Angular Zone",e),(0,u.default)(e)}this._initInternal(e,a)}start(){this._run((e=>{e.start()}))}uninstall(){this._installed.forEach((e=>e())),this._buffer=[],this._run((e=>{e.uninstall()}))}identify(e,t){this._run((n=>{n.identify(e,t)}))}startNewSession(){this._run((e=>{e.startNewSession()}))}track(e,t){this._run((n=>{n.track(e,t)}))}getSessionURL(e){if("function"!=typeof e)throw new Error("LogRocket: must pass callback to getSessionURL()");this._run((t=>{t.getSessionURL?t.getSessionURL(e):e(t.recordingURL)}))}trackScrollEvent(e){this._logger&&this._logger.trackScrollEvent(e)}getVersion(e){this._run((t=>{e(t.version)}))}captureMessage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};s.Capture.captureMessage(this,e,[e],t)}captureException(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};s.Capture.captureException(this,e,t)}get version(){return this._logger&&this._logger.version}get sessionURL(){return this._logger&&this._logger.recordingURL}get recordingURL(){return this._logger&&this._logger.recordingURL}get recordingID(){return this._logger&&this._logger.recordingID}get threadID(){return this._logger&&this._logger.threadID}get tabID(){return this._logger&&this._logger.tabID}reduxEnhancer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,c.createEnhancer)(this,e)}reduxMiddleware(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,c.createMiddleware)(this,e)}get isDisabled(){return!!(this._isDisabled||this._logger&&this._logger._isDisabled)}}},
838"./packages/logrocket/src/makeLogRocket.js":function(e,t,n){"use strict";var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>new o.default;if("undefined"!=typeof navigator&&"ReactNative"===navigator.product)throw new Error(i);if("undefined"!=typeof window){if(window._disableLogRocket||!window.MutationObserver||!window.WeakMap||"undefined"==typeof Symbol||"function"!=typeof HTMLScriptElement.supports)return t();window._lrMutationObserver=window.MutationObserver;const r=n();return e(r),r}return a()};var o=r(n("./packages/logrocket/src/LogRocket.js"));const i="LogRocket on React Native requires the LogRocket React Native specific SDK. See setup guide here https://docs.logrocket.com/reference/react-native.",a=()=>({init(){},uninstall(){},log(){},info(){},warn(){},error(){},debug(){},addEvent(){},identify(){},start(){},get threadID(){return null},get recordingID(){return null},get recordingURL(){return null},reduxEnhancer:()=>e=>function(){return e(...arguments)},reduxMiddleware:()=>()=>e=>t=>e(t),track(){},getSessionURL(){},getVersion(){},startNewSession(){},onLogger(){},setClock(){},captureMessage(){},captureException(){}})},
838"./packages/logrocket/src/setup.js":function(e,t,n){"use strict";var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{enterpriseServer:t,sdkVersion:n="12.1.0"}=e,r=(0,o.default)(e,["enterpriseServer","sdkVersion"]);const{scriptEnv:a,scriptOrigin:c,scriptIngest:u}=s(n),d=r.sdkServer||t,p=r.ingestServer||t||u,f=(0,i.default)((()=>{const e=document.createElement("script");p&&(l(p),window.__SDKCONFIG__.scriptEnv=a),d?e.src="".concat(d,"/logger.min.js"):window.__SDKCONFIG__&&window.__SDKCONFIG__.loggerURL?e.src=window.__SDKCONFIG__.loggerURL:window._lrAsyncScript?e.src=window._lrAsyncScript:e.src="".concat(c,"/logger-1.min.js"),e.async=!0,document.head.appendChild(e),e.onload=()=>{"function"==typeof window._LRLogger?setTimeout((()=>{f.onLogger(new window._LRLogger({sdkVersion:n}))})):(console.warn("LogRocket: script execution has been blocked by a product or service."),f.uninstall())},e.onerror=()=>{console.warn("LogRocket: script could not load. Check that you have a valid network connection."),f.uninstall()}}));return f},t.getDomainsAndEnv=s,t.setupBaseSDKCONFIG=l;var o=r(n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/objectWithoutProperties.js")),i=r(n("./packages/logrocket/src/makeLogRocket.js"));const a={"cdn.logrocket.com":"https://r.logrocket.io","cdn.logrocket.io":"https://r.logrocket.io","cdn.lr-ingest.io":"https://r.lr-ingest.io","cdn.lr-in.com":"https://r.lr-in.com","cdn.lr-in-prod.com":"https://r.lr-in-prod.com","cdn.lr-ingest.com":"https://r.lr-ingest.com","cdn.ingest-lr.com":"https://r.ingest-lr.com","cdn.lr-intake.com":"https://r.lr-intake.com","cdn.intake-lr.com":"https://r.intake-lr.com","cdn.logr-ingest.com":"https://r.logr-ingest.com","cdn.lrkt-in.com":"https://r.lrkt-in.com","cdn.lgrckt-in.com":"https://r.lgrckt-in.com","cdn.logr-in.com":"https://r.logr-in.com","cdn-staging.logrocket.io":"https://staging-i.logrocket.io","cdn-staging.lr-ingest.io":"https://staging-i.lr-ingest.io","cdn-staging.lr-in.com":"https://staging-i.lr-in.com","cdn-staging.lr-in-prod.com":"https://staging-i.lr-in-prod.com","cdn-staging.lr-ingest.com":"https://staging-i.lr-ingest.com","cdn-staging.ingest-lr.com":"https://staging-i.ingest-lr.com","cdn-staging.lr-intake.com":"https://staging-i.lr-intake.com","cdn-staging.intake-lr.com":"https://staging-i.intake-lr.com","cdn-staging.logr-ingest.com":"https://staging-i.logr-ingest.com","cdn-staging.lrkt-in.com":"https://staging-i.lrkt-in.com","cdn-staging.lgrckt-in.com":"https://staging-i.lgrckt-in.com","cdn-staging.logr-in.com":"https://staging-i.logr-in.com"};function s(e){if("script"===e||"shopify-pixel"===e){try{const e=document.currentScript.src.match(/^(https?:\/\/([^\\]+))\/.+$/),n=e&&e[2];if(n&&a[n])return{scriptEnv:(t=n,t.startsWith("cdn-staging")?"staging":t.startsWith("localhost")?"development":"prod"),scriptOrigin:e&&e[1],scriptIngest:a[n]}}catch(e){}return{scriptEnv:"prod",scriptOrigin:"https://cdn.logrocket.io"}}return{scriptEnv:void 0,scriptOrigin:"https://cdn.logr-in.com",scriptIngest:"https://r.logr-in.com"};var t}function l(e){void 0===window.__SDKCONFIG__&&(window.__SDKCONFIG__={}),window.__SDKCONFIG__.serverURL="".concat(e,"/i"),window.__SDKCONFIG__.statsURL="".concat(e,"/s")}},
vendor: 409 bytes, line 838
838"./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/defineProperty.js":function(e,t,n){var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/toPropertyKey.js");e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},
vendor: 231 bytes, line 838
838"./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js":function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},
vendor: 549 bytes, line 838
838"./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/objectWithoutProperties.js":function(e,t,n){var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js");e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},
vendor: 321 bytes, line 838
838"./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js":function(e){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},
vendor: 542 bytes, line 838
838"./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/toPrimitive.js":function(e,t,n){var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/typeof.js").default;e.exports=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},
vendor: 453 bytes, line 838
838"./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/toPropertyKey.js":function(e,t,n){var r=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/typeof.js").default,o=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/toPrimitive.js");e.exports=function(e){var t=o(e,"string");return"symbol"===r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},
vendor: 459 bytes, line 838
838"./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/typeof.js":function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}
838},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();var r={};return function(){"use strict";var e=r,t=n("./node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const o=(0,t(n("./packages/logrocket/src/setup.js")).default)();e.default=o}(),r.default}()},e.exports=t()},83503:(e,t,n)=>{var r,o,i,a,s;r=n(3939),o=n(92151).utf8,i=n(87206),a=n(92151).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):o.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=r.bytesToWords(e),l=8*e.length,c=1732584193,u=-271733879,d=-1732584194,p=271733878,f=0;f<n.length;f++)n[f]=16711935&(n[f]<<8|n[f]>>>24)|4278255360&(n[f]<<24|n[f]>>>8);n[l>>>5]|=128<<l%32,n[14+(l+64>>>9<<4)]=l;var h=s._ff,m=s._gg,g=s._hh,v=s._ii;for(f=0;f<n.length;f+=16){var y=c,b=u,w=d,x=p;c=h(c,u,d,p,n[f+0],7,-680876936),p=h(p,c,u,d,n[f+1],12,-389564586),d=h(d,p,c,u,n[f+2],17,606105819),u=h(u,d,p,c,n[f+3],22,-1044525330),c=h(c,u,d,p,n[f+4],7,-176418897),p=h(p,c,u,d,n[f+5],12,1200080426),d=h(d,p,c,u,n[f+6],17,-1473231341),u=h(u,d,p,c,n[f+7],22,-45705983),c=h(c,u,d,p,n[f+8],7,1770035416),p=h(p,c,u,d,n[f+9],12,-1958414417),d=h(d,p,c,u,n[f+10],17,-42063),u=h(u,d,p,c,n[f+11],22,-1990404162),c=h(c,u,d,p,n[f+12],7,1804603682),p=h(p,c,u,d,n[f+13],12,-40341101),d=h(d,p,c,u,n[f+14],17,-1502002290),c=m(c,u=h(u,d,p,c,n[f+15],22,1236535329),d,p,n[f+1],5,-165796510),p=m(p,c,u,d,n[f+6],9,-1069501632),d=m(d,p,c,u,n[f+11],14,643717713),u=m(u,d,p,c,n[f+0],20,-373897302),c=m(c,u,d,p,n[f+5],5,-701558691),p=m(p,c,u,d,n[f+10],9,38016083),d=m(d,p,c,u,n[f+15],14,-660478335),u=m(u,d,p,c,n[f+4],20,-405537848),c=m(c,u,d,p,n[f+9],5,568446438),p=m(p,c,u,d,n[f+14],9,-1019803690),d=m(d,p,c,u,n[f+3],14,-187363961),u=m(u,d,p,c,n[f+8],20,1163531501),c=m(c,u,d,p,n[f+13],5,-1444681467),p=m(p,c,u,d,n[f+2],9,-51403784),d=m(d,p,c,u,n[f+7],14,1735328473),c=g(c,u=m(u,d,p,c,n[f+12],20,-1926607734),d,p,n[f+5],4,-378558),p=g(p,c,u,d,n[f+8],11,-2022574463),d=g(d,p,c,u,n[f+11],16,1839030562),u=g(u,d,p,c,n[f+14],23,-35309556),c=g(c,u,d,p,n[f+1],4,-1530992060),p=g(p,c,u,d,n[f+4],11,1272893353),d=g(d,p,c,u,n[f+7],16,-155497632),u=g(u,d,p,c,n[f+10],23,-1094730640),c=g(c,u,d,p,n[f+13],4,681279174),p=g(p,c,u,d,n[f+0],11,-358537222),d=g(d,p,c,u,n[f+3],16,-722521979),u=g(u,d,p,c,n[f+6],23,76029189),c=g(c,u,d,p,n[f+9],4,-640364487),p=g(p,c,u,d,n[f+12],11,-421815835),d=g(d,p,c,u,n[f+15],16,530742520),c=v(c,u=g(u,d,p,c,n[f+2],23,-995338651),d,p,n[f+0],6,-198630844),p=v(p,c,u,d,n[f+7],10,1126891415),d=v(d,p,c,u,n[f+14],15,-1416354905),u=v(u,d,p,c,n[f+5],21,-57434055),c=v(c,u,d,p,n[f+12],6,1700485571),p=v(p,c,u,d,n[f+3],10,-1894986606),d=v(d,p,c,u,n[f+10],15,-1051523),u=v(u,d,p,c,n[f+1],21,-2054922799),c=v(c,u,d,p,n[f+8],6,1873313359),p=v(p,c,u,d,n[f+15],10,-30611744),d=v(d,p,c,u,n[f+6],15,-1560198380),u=v(u,d,p,c,n[f+13],21,1309151649),c=v(c,u,d,p,n[f+4],6,-145523070),p=v(p,c,u,d,n[f+11],10,-1120210379),d=v(d,p,c,u,n[f+2],15,718787259),u=v(u,d,p,c,n[f+9],21,-343485551),c=c+y>>>0,u=u+b>>>0,d=d+w>>>0,p=p+x>>>0}return r.endian([c,u,d,p])})._ff=function(e,t,n,r,o,i,a){var s=e+(t&n|~t&r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._gg=function(e,t,n,r,o,i,a){var s=e+(t&r|n&~r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._hh=function(e,t,n,r,o,i,a){var s=e+(t^n^r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._ii=function(e,t,n,r,o,i,a){var s=e+(n^(t|~r))+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):r.bytesToHex(n)}},45228:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;
838if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))n.call(i,c)&&(s[c]=i[c]);if(t){a=t(i);for(var u=0;u<a.length;u++)r.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s}},10196:(e,t,n)=>{"use strict";n.d(t,{e$:()=>V,bJ:()=>U,J1:()=>z,a:()=>q,jh:()=>$,No:()=>K});var r=n(58168),o=n(77387);function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}var a=n(63662);function s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(s=function(){return!!e})()}function l(e){var t="function"==typeof Map?new Map:void 0;return l=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(s())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&(0,a.A)(o,n.prototype),o}(e,arguments,i(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,a.A)(n,e)},l(e)}var c=function(e){function t(t){return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this)}return(0,o.A)(t,e),t}(l(Error));function u(e){return Math.round(255*e)}function d(e,t,n){return u(e)+","+u(t)+","+u(n)}function p(e,t,n,r){if(void 0===r&&(r=d),0===t)return r(n,n,n);var o=(e%360+360)%360/60,i=(1-Math.abs(2*n-1))*t,a=i*(1-Math.abs(o%2-1)),s=0,l=0,c=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,c=a):o>=3&&o<4?(l=a,c=i):o>=4&&o<5?(s=a,c=i):o>=5&&o<6&&(s=i,c=a);var u=n-i/2;return r(s+u,l+u,c+u)}var f={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee9
8380",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},h=/^#[a-fA-F0-9]{6}$/,m=/^#[a-fA-F0-9]{8}$/,g=/^#[a-fA-F0-9]{3}$/,v=/^#[a-fA-F0-9]{4}$/,y=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i,b=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i,w=/^hsl\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,x=/^hsla\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i;function k(e){if("string"!=typeof e)throw new c(3);var t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return f[t]?"#"+f[t]:e}(e);if(t.match(h))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(m)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alph
vendor: 1,052 bytes, line 838
838a:n}}if(t.match(g))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(v)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var o=y.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=b.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])};var a=w.exec(t);if(a){var s="rgb("+p(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",l=y.exec(s);if(!l)throw new c(4,t,s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}var u=x.exec(t.substring(0,50));if(u){var d="rgb("+p(parseInt(""+u[1],10),parseInt(""+u[2],10)/100,parseInt(""+u[3],10)/100)+")",k=y.exec(d);if(!k)throw new c(4,t,d);return{red:parseInt(""+k[1],10),green:parseInt(""+k[2],10),blue:parseInt(""+k[3],10),alph
838a:parseFloat(""+u[4])}}throw new c(5)}function C(e){return function(e){var t,n=e.red/255,r=e.green/255,o=e.blue/255,i=Math.max(n,r,o),a=Math.min(n,r,o),s=(i+a)/2;if(i===a)return void 0!==e.alpha?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var l=i-a,c=s>.5?l/(2-i-a):l/(i+a);switch(i){case n:t=(r-o)/l+(r<o?6:0);break;case r:t=(o-n)/l+2;break;default:t=(n-r)/l+4}return t*=60,void 0!==e.alpha?{hue:t,saturation:c,lightness:s,alpha:e.alpha}:{hue:t,saturation:c,lightness:s}}(k(e))}var E=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function S(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function O(e){return S(Math.round(255*e))}function A(e,t,n){return E("#"+O(e)+O(t)+O(n))}function _(e,t,n){return p(e,t,n,A)}function P(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return E("#"+S(e)+S(t)+S(n));if("object"==typeof e&&void 0===t&&void 0===n)return E("#"+S(e.red)+S(e.green)+S(e.blue));throw new c(6)}function j(e,t,n,r){if("string"==typeof e&&"number"==typeof t){var o=k(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?P(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?P(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new c(7)}var T=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&("number"!=typeof e.alpha||void 0===e.alpha)},I=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"==typeof e.alpha},L=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&("number"!=typeof e.alpha||void 0===e.alpha)},N=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"==typeof e.alpha};function R(e){if("object"!=typeof e)throw new c(8);if(I(e))return j(e);if(T(e))return P(e);if(N(e))return function(e,t,n,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?_(e,t,n):"rgba("+p(e,t,n)+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?_(e.hue,e.saturation,e.lightness):"rgba("+p(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new c(2)}(e);if(L(e))return function(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return _(e,t,n);if("object"==typeof e&&void 0===t&&void 0===n)return _(e.hue,e.saturation,e.lightness);throw new c(1)}(e);throw new c(8)}function D(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):D(e,t,r)}}function F(e){return D(e,e.length,[])}function M(e,t,n){return Math.max(e,Math.min(t,n))}function B(e,t){if("transparent"===t)return t;var n=C(t);return R((0,r.A)({},n,{lightness:M(0,1,n.lightness-parseFloat(e))}))}var V=F(B);function z(e){if("transparent"===e)return 0;var t=k(e),n=Object.keys(t).map((function(e){var n=t[e]/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)})),r=n[0],o=n[1],i=n[2];return parseFloat((.2126*r+.7152*o+.0722*i).toFixed(3))}function U(e,t){var n=z(e),r=z(t);return parseFloat((n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)).toFixed(2))}function H(e,t){if("transparent"===t)return t;var n=C(t);return R((0,r.A)({},n,{lightness:M(0,1,n.lightness+parseFloat(e))}))}var q=F(H);function W(e,t,n){if("transparent"===t)return n;if("transparent"===n)return t;if(0===e)return n;var o=k(t),i=(0,r.A)({},o,{alpha:"number"==typeof o.alpha?o.alpha:1}),a=k(n),s=(0,r.A)({},a,{alpha:"number"==typeof a.alpha?a.alpha:1}),l=i.alpha-s.alpha,c=2*parseFloat(e)-1,u=((c*l==-1?c:c+l)/(1+c*l)+1)/2,d=1-u;return j({red:Math.floor(i.red*u+s.red*d),green:Math.floor(i.green*u+s.green*d),blue:Math.floor(i.blue*u+s.blue*d),alpha:i.alpha*(parseFloat(e)/1)+s.alpha*(1-parseFloat(e)/1)})}var $=F(W);function G(e,t){if("transparent"===t)return t;var n=k(t),o="number"==typeof n.alpha?n.alpha:1;return j((0,r.A)({},n,{alpha:M(0,1,+(100*o-100*parseFloat(e)).toFixed(2)/100)}))}var K=F(G)},2694:(e,t,n)=>{"use strict";var r=n(6925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
838:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},86663:(e,t,n)=>{"use strict";const r=n(24280),o=n(30454),i=n(528),a=n(73055),s=Symbol("encodeFragmentIdentifier");function l(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function u(e,t){return t.decode?o(e):e}function d(e){return Array.isArray(e)?e.sort():"object"==typeof e?d(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function f(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function m(e,t){l((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&u(n,e).includes(e.arrayFormatSeparator);n=i?u(n,e):n;const a=o||i?n.split(e.arrayFormatSeparator).map((t=>u(t,e))):null===n?n:u(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(r[t]=n?u(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>u(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],i):r[t]=i};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;let[e,a]=i(t.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:u(a,t),n(u(e,t),a,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=h(n[e],t);else r[e]=h(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=d(n):e[t]=n,e}),Object.create(null))}t.extract=f,t.parse=m,t.stringify=(e,t)=>{if(!e)return"";l((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[",o,"]"].join("")]:[...n,[c(t,e),"[",c(o,e),"]=",c(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[]"].join("")]:[...n,[c(t,e),"[]=",c(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),":list="].join("")]:[...n,[c(t,e),":list=",c(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[c(n,e),t,c(o,e)].join("")]:[[r,c(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,c(t,e)]:[...n,[c(t,e),"=",c(r,e)].join("")]}}(t),o={};for(const t of Object.keys(e))n(t)||(o[t]=e[t]);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map((n=>{const o=e[n];return void 0===o?"":null===o?c(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?c(n,t)+"[]":o.reduce(r(n),[]).join("&"):c(n,t)+"="+c(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>
838{t=Object.assign({decode:!0},t);const[n,r]=i(e,"#");return Object.assign({url:n.split("?")[0]||"",query:m(f(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:u(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=p(e.url).split("?")[0]||"",o=t.extract(e.url),i=t.parse(o,{sort:!1}),a=Object.assign(i,e.query);let l=t.stringify(a,n);l&&(l=`?${l}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${n[s]?c(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${l}${u}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:o,query:i,fragmentIdentifier:l}=t.parseUrl(e,r);return t.stringifyUrl({url:o,query:a(i,n),fragmentIdentifier:l},r)},t.exclude=(e,n,r)=>{const o=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,o,r)}},22551:(e,t,n)=>{"use strict";var r=n(24002),o=n(45228),i=n(69982);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));var s=new Set,l={};function c(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var d=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f=Object.prototype.hasOwnProperty,h={},m={};function g(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function w(e,t,n,r){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0===o.type:!r&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!f.call(m,e)||!f.call(h,e)&&(p.test(e)?m[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
838-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,b);v[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);v[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);v[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=60103,C=60106,E=60107,S=60108,O=60114,A=60109,_=60110,P=60112,j=60113,T=60120,I=60115,L=60116,N=60121,R=60128,D=60129,F=60130,M=60131;if("function"==typeof Symbol&&Symbol.for){var B=Symbol.for;k=B("react.element"),C=B("react.portal"),E=B("react.fragment"),S=B("react.strict_mode"),O=B("react.profiler"),A=B("react.provider"),_=B("react.context"),P=B("react.forward_ref"),j=B("react.suspense"),T=B("react.suspense_list"),I=B("react.memo"),L=B("react.lazy"),N=B("react.block"),B("react.scope"),R=B("react.opaque.id"),D=B("react.debug_trace_mode"),F=B("react.offscreen"),M=B("react.legacy_hidden")}var V,z="function"==typeof Symbol&&Symbol.iterator;function U(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=z&&e[z]||e["@@iterator"])?e:null}function H(e){if(void 0===V)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);V=t&&t[1]||""}return"\n"+V+e}var q=!1;function W(e,t){if(!e||q)return"";q=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{q=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?H(e):""}function $(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return W(e.type,!1);case 11:return W(e.type.render,!1);case 22:return W(e.type._render,!1);case 1:return W(e.type,!0);default:return""}}function G(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case E:return"Fragment";case C:return"Portal";case O:return"Profiler";case S:return"StrictMode";case j:return"Suspense";case T:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case _:return(e.displayName||"Context")+".Consumer";case A:return(e._context.displayName||"Context")+".Provider";case P:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case I:return G(e.type);case N:return G(e._render);case L:t=e._payload,e=e._init;try{return G(e(t))}catch(e){}}return null}function K(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Z(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Y(e){e._valueTracker||(e._valueTracker=function(e){var t=Z(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function X(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Z(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Q(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=K(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=K(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&oe(e,t.type,K(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function oe(e,t,n){"number"===t&&Q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ie(e,t){return e=o({children:void 0},t),(t=function(e){var t="";
vendor: 4,167 bytes, line 838
838return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+K(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:K(n)}}function ce(e,t){var n=K(t.value),r=K(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ue(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var de={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function fe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var he,me,ge=(me=function(e,t){if(e.namespaceURI!==de.svg||"innerHTML"in e)e.innerHTML=t;else{for((he=he||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=he.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return me(e,t)}))}:me);function ve(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},be=["Webkit","ms","Moz","O"];function we(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}function xe(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=we(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(ye).forEach((function(e){be.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ye[t]=ye[e]}))}));var ke=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ce(e,t){if(t){if(ke[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function Ee(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Se(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.n
vendor: 3,889 bytes, line 838
838odeType?e.parentNode:e}var Oe=null,Ae=null,_e=null;function Pe(e){if(e=no(e)){if("function"!=typeof Oe)throw Error(a(280));var t=e.stateNode;t&&(t=oo(t),Oe(e.stateNode,e.type,t))}}function je(e){Ae?_e?_e.push(e):_e=[e]:Ae=e}function Te(){if(Ae){var e=Ae,t=_e;if(_e=Ae=null,Pe(e),t)for(e=0;e<t.length;e++)Pe(t[e])}}function Ie(e,t){return e(t)}function Le(e,t,n,r,o){return e(t,n,r,o)}function Ne(){}var Re=Ie,De=!1,Fe=!1;function Me(){null===Ae&&null===_e||(Ne(),Te())}function Be(e,t){var n=e.stateNode;if(null===n)return null;var r=oo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var Ve=!1;if(d)try{var ze={};Object.defineProperty(ze,"passive",{get:function(){Ve=!0}}),window.addEventListener("test",ze,ze),window.removeEventListener("test",ze,ze)}catch(me){Ve=!1}function Ue(e,t,n,r,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var He=!1,qe=null,We=!1,$e=null,Ge={onError:function(e){He=!0,qe=e}};function Ke(e,t,n,r,o,i,a,s,l){He=!1,qe=null,Ue.apply(Ge,arguments)}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ye(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Xe(e){if(Ze(e)!==e)throw Error(a(188))}function Qe(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Xe(o),e;if(i===r)return Xe(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Je(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var et,tt,nt,rt,ot=!1,it=[],at=null,st=null,lt=null,ct=new Map,ut=new Map,dt=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ft(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function ht(e,t){switch(e){case"focusin":case"focusout":at=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":lt=null;break;case"pointerover":case"pointerout":ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ut.delete(t.pointerId)}}function mt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=ft(t,n,r,o,i),null!==t&&null!==(t=no(t))&&tt(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function gt(e){var t=to(e.target);if(null!==t){var n=Ze(t);
vendor: 26,771 bytes, line 838
838if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ye(n)))return e.blockedOn=t,void rt(e.lanePriority,(function(){i.unstable_runWithPriority(e.priority,(function(){nt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function vt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=no(n))&&tt(t),e.blockedOn=n,!1;t.shift()}return!0}function yt(e,t,n){vt(e)&&n.delete(t)}function bt(){for(ot=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=no(e.blockedOn))&&et(e);break}for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&it.shift()}null!==at&&vt(at)&&(at=null),null!==st&&vt(st)&&(st=null),null!==lt&&vt(lt)&&(lt=null),ct.forEach(yt),ut.forEach(yt)}function wt(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,bt)))}function xt(e){function t(t){return wt(t,e)}if(0<it.length){wt(it[0],e);for(var n=1;n<it.length;n++){var r=it[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==at&&wt(at,e),null!==st&&wt(st,e),null!==lt&&wt(lt,e),ct.forEach(t),ut.forEach(t),n=0;n<dt.length;n++)(r=dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<dt.length&&null===(n=dt[0]).blockedOn;)gt(n),null===n.blockedOn&&dt.shift()}function kt(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ct={animationend:kt("Animation","AnimationEnd"),animationiteration:kt("Animation","AnimationIteration"),animationstart:kt("Animation","AnimationStart"),transitionend:kt("Transition","TransitionEnd")},Et={},St={};function Ot(e){if(Et[e])return Et[e];if(!Ct[e])return e;var t,n=Ct[e];for(t in n)if(n.hasOwnProperty(t)&&t in St)return Et[e]=n[t];return e}d&&(St=document.createElement("div").style,"AnimationEvent"in window||(delete Ct.animationend.animation,delete Ct.animationiteration.animation,delete Ct.animationstart.animation),"TransitionEvent"in window||delete Ct.transitionend.transition);var At=Ot("animationend"),_t=Ot("animationiteration"),Pt=Ot("animationstart"),jt=Ot("transitionend"),Tt=new Map,It=new Map,Lt=["abort","abort",At,"animationEnd",_t,"animationIteration",Pt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",jt,"transitionEnd","waiting","waiting"];function Nt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),It.set(r,t),Tt.set(r,o),c(o,[r])}}(0,i.unstable_now)();var Rt=8;function Dt(e){if(1&e)return Rt=15,1;if(2&e)return Rt=14,2;if(4&e)return Rt=13,4;var t=24&e;return 0!==t?(Rt=12,t):32&e?(Rt=11,32):0!=(t=192&e)?(Rt=10,t):256&e?(Rt=9,256):0!=(t=3584&e)?(Rt=8,t):4096&e?(Rt=7,4096):0!=(t=4186112&e)?(Rt=6,t):0!=(t=62914560&e)?(Rt=5,t):67108864&e?(Rt=4,67108864):134217728&e?(Rt=3,134217728):0!=(t=805306368&e)?(Rt=2,t):1073741824&e?(Rt=1,1073741824):(Rt=8,e)}function Ft(e,t){var n=e.pendingLanes;if(0===n)return Rt=0;var r=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(0!==i)r=i,o=Rt=15;else if(0!=(i=134217727&n)){var l=i&~a;0!==l?(r=Dt(l),o=Rt):0!=(s&=i)&&(r=Dt(s),o=Rt)}else 0!=(i=n&~a)?(r=Dt(i),o=Rt):0!==s&&(r=Dt(s),o=Rt);if(0===r)return 0;if(r=n&((0>(r=31-Ht(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&!(t&a)){if(Dt(t),o<=Rt)return t;Rt=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Ht(t)),r|=e[n],t&=~o;return r}function Mt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Bt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Vt(24&~t))?Bt(10,t):e;case 10:return 0===(e=Vt(192&~t))?Bt(8,t):e;case 8:return 0===(e=Vt(3584&~t))&&0===(e=Vt(4186112&~t))&&(e=512),e;case 2:return 0===(t=Vt(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function Vt(e){return e&-e}function zt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ut(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Ht(t)]=n}var Ht=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(qt(e)/Wt|0)|0},qt=Math.log,Wt=Math.LN2,$t=i.unstable_UserBlockingPriority,Gt=i.unstable_runWithPriority,Kt=!0;function Zt(e,t,n,r){De||Ne();var o=Xt,i=De;De=!0;try{Le(o,e,t,n,r)}finally{(De=i)||Me()}}function Yt(e,t,n,r){Gt($t,Xt.bind(null,e,t,n,r))}function Xt(e,t,n,r){var o;if(Kt)if((o=!(4&t))&&0<it.length&&-1<pt.indexOf(e))e=ft(null,e,t,n,r),it.push(e);else{var i=Qt(e,t,n,r);if(null===i)o&&ht(e,r);else{if(o){if(-1<pt.indexOf(e))return e=ft(i,e,t,n,r),void it.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return at=mt(at,e,t,n,r,o),!0;case"dragenter":return st=mt(st,e,t,n,r,o),!0;case"mouseover":return lt=mt(lt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return ct.set(i,mt(ct.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,ut.set(i,mt(ut.get(i)||null,e,t,n,r,o)),!0}return!1}(i,e,t,n,r))return;ht(e,r)}Nr(e,t,r,null,n)}}}function Qt(e,t,n,r){var o=Se(r);if(null!==(o=to(o))){var i=Ze(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=Ye(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return Nr(e,t,r,o,n),null}var Jt=null,en=null,tn=null;function nn(){if(tn)return tn;var e,t,n=en,r=n.length,o="value"in Jt?Jt.value:Jt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return tn=o.slice(e,1<t?1-t:void 0)}function rn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function on(){return!0}function an(){return!1}function sn(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?on:an,this.isPropagationStopped=an,this}return o(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=on)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=on)},persist:function(){},isPersistent:on}),t}var ln,cn,un,dn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=sn(dn),fn=o({},dn,{view:0,detail:0}),hn=sn(fn),mn=o({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:An,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(ln=e.screenX-un.screenX,cn=e.screenY-un.screenY):cn=ln=0,un=e),ln)},movementY:function(e){return"movementY"in e?e.movementY:cn}}),gn=sn(mn),vn=sn(o({},mn,{dataTransfer:0})),yn=sn(o({},fn,{relatedTarget:0})),bn=sn(o({},dn,{animationName:0,elapsedTime:0,pseudoElement:0})),wn=o({},dn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),xn=sn(wn),kn=sn(o({},dn,{data:0})),Cn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},En={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function On(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function An(){return On}var _n=o({},fn,{key:function(e){if(e.key){var t=Cn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=rn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?En[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:An,charCode:function(e){return"keypress"===e.type?rn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?rn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Pn=sn(_n),jn=sn(o({},mn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=sn(o({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:An})),In=sn(o({},dn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ln=o({},mn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Nn=sn(Ln),Rn=[9,13,27,32],Dn=d&&"CompositionEvent"in window,Fn=null;d&&"documentMode"in document&&(Fn=document.documentMode);var Mn=d&&"TextEvent"in window&&!Fn,Bn=d&&(!Dn||Fn&&8<Fn&&11>=Fn),Vn=String.fromCharCode(32),zn=!1;function Un(e,t){switch(e){case"keyup":return-1!==Rn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var qn=!1,Wn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function $n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wn[e.type]:"textarea"===t}function Gn(e,t,n,r){je(r),0<(t=Dr(t,"onChange")).length&&(n=new pn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Kn=null,Zn=null;function Yn(e){_r(e,0)}function Xn(e){if(X(ro(e)))return e}function Qn(e,t){if("change"===e)return t}var Jn=!1;if(d){var er;if(d){var tr="oninput"in document;if(!tr){var nr=document.createElement("div");nr.setAttribute("oninput","return;"),tr="function"==typeof nr.oninput}er=tr}else er=!1;Jn=er&&(!document.documentMode||9<document.documentMode)}function rr(){Kn&&(Kn.detachEvent("onpropertychange",or),Zn=Kn=null)}function or(e){if("value"===e.propertyName&&Xn(Zn)){var t=[];if(Gn(t,Zn,e,Se(e)),e=Yn,De)e(t);else{De=!0;try{Ie(e,t)}finally{De=!1,Me()}}}}function ir(e,t,n){"focusin"===e?(rr(),Zn=n,(Kn=t).attachEvent("onpropertychange",or)):"focusout"===e&&rr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xn(Zn)}function sr(e,t){if("click"===e)return Xn(t)}function lr(e,t){if("input"===e||"change"===e)return Xn(t)}var cr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},ur=Object.prototype.hasOwnProperty;function dr(e,t){if(cr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!ur.call(t,n[r])||!cr(e[n[r]],t[n[r]]))return!1;return!0}function pr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fr(e,t){var n,r=pr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=pr(r)}}function hr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function mr(){for(var e=window,t=Q();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Q((e=t.contentWindow).document)}return t}function gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var vr=d&&"documentMode"in document&&11>=document.documentMode,yr=null,br=null,wr=null,xr=!1;function kr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;xr||null==yr||yr!==Q(r)||(r="selectionStart"in(r=yr)&&gr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},wr&&dr(wr,r)||(wr=r,0<(r=Dr(br,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yr)))}Nt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Nt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Nt(Lt,2);for(var Cr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Er=0;Er<Cr.length;Er++)It.set(Cr[Er],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Sr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Or=new Set("cancel close invalid load scroll toggle".split(" ").concat(Sr));function Ar(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,s,l,c){if(Ke.apply(this,arguments),He){if(!He)throw Error(a(198));var u=qe;He=!1,qe=null,We||(We=!0,$e=u)}}(r,t,void 0,e),e.currentTarget=null}function _r(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;Ar(o,s,c),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;Ar(o,s,c),i=l}}}if(We)throw e=$e,We=!1,$e=null,e}function Pr(e,t){var n=io(t),r=e+"__bubble";n.has(r)||(Lr(t,e,2,!1),n.add(r))}var jr="_reactListening"+Math.random().toString(36).slice(2);function Tr(e){e[jr]||(e[jr]=!0,s.forEach((function(t){Or.has(t)||Ir(t,!1,e,null),Ir(t,!0,e,null)})))}function Ir(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!t&&Or.has(e)){if("scroll"!==e)return;o|=2,i=r}var a=io(i),s=e+"__"+(t?"capture":"bubble");a.has(s)||(t&&(o|=4),Lr(i,e,o,t),a.add(s))}function Lr(e,t,n,r){var o=It.get(t);switch(void 0===o?2:o){case 0:o=Zt;break;case 1:o=Yt;break;default:o=Xt}n=o.bind(null,t,n,e),o=void 0,!Ve||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Nr(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=to(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}s=s.parentNode}}r=r.return}!function(e,t,n){if(Fe)return e();Fe=!0;try{return Re(e,t,n)}finally{Fe=!1,Me()}}((function(){var r=i,o=Se(n),a=[];e:{var s=Tt.get(e);if(void 0!==s){var l=pn,c=e;switch(e){case"keypress":if(0===rn(n))break e;case"keydown":case"keyup":l=Pn;break;case"focusin":c="focus",l=yn;break;case"focusout":c="blur",l=yn;break;case"beforeblur":case"afterblur":l=yn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=gn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Tn;break;case At:case _t:case Pt:l=bn;break;case jt:l=In;break;case"scroll":l=hn;break;case"wheel":l=Nn;break;case"copy":case"cut":case"paste":l=xn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=jn}var u=!!(4&t),d=!u&&"scroll"===e,p=u?null!==s?s+"Capture":null:s;u=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&null!=(m=Be(h,p))&&u.push(Rr(h,m,f))),d)break;h=h.return}0<u.length&&(s=new l(s,c,null,n,o),a.push({event:s,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||16&t||!(c=n.relatedTarget||n.fromElement)||!to(c)&&!c[Jr])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?to(c):null)&&(c!==(d=Ze(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=gn,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=jn,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==l?s:ro(l),f=null==c?s:ro(c),(s=new u(m,h+"leave",l,n,o)).target=d,s.relatedTarget=f,m=null,to(o)===r&&((u=new u(p,h+"enter",c,n,o)).target=f,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(p=c,h=0,f=u=l;f;f=Fr(f))h++;for(f=0,m=p;m;m=Fr(m))f++;for(;0<h-f;)u=Fr(u),h--;for(;0<f-h;)p=Fr(p),f--;for(;h--;){if(u===p||null!==p&&u===p.alternate)break e;u=Fr(u),p=Fr(p)}u=null}else u=null;null!==l&&Mr(a,s,l,u,!1),null!==c&&null!==d&&Mr(a,d,c,u,!0)}if("select"===(l=(s=r?ro(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Qn;else if($n(s))if(Jn)g=lr;else{g=ar;var v=ir}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=sr);switch(g&&(g=g(e,r))?Gn(a,g,n,o):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&oe(s,"number",s.value)),v=r?ro(r):window,e){case"focusin":($n(v)||"true"===v.contentEditable)&&(yr=v,br=r,wr=null);break;case"focusout":wr=br=yr=null;break;case"mousedown":xr=!0;break;case"contextmenu":case"mouseup":case"dragend":xr=!1,kr(a,n,o);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":kr(a,n,o)}var y;if(Dn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else qn?Un(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Bn&&"ko"!==n.locale&&(qn||"onCompositionStart"!==b?"onCompositionEnd"===b&&qn&&(y=nn()):(en="value"in(Jt=o)?Jt.value:Jt.textContent,qn=!0)),0<(v=Dr(r,b)).length&&(b=new kn(b,e,null,n,o),a.push({event:b,listeners:v}),(y||null!==(y=Hn(n)))&&(b.data=y))),(y=Mn?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:(zn=!0,Vn);case"textInput":return(e=t.data)===Vn&&zn?null:e;default:return null}}(e,n):function(e,t){if(qn)return"compositionend"===e||!Dn&&Un(e,t)?(e=nn(),tn=en=Jt=null,qn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Bn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=Dr(r,"onBeforeInput")).length&&(o=new kn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y)}_r(a,t)}))}function Rr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Dr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Be(e,n))&&r.unshift(Rr(e,i,o)),null!=(i=Be(e,t))&&r.push(Rr(e,i,o))),e=e.return}return r}function Fr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Mr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=Be(n,i))&&a.unshift(Rr(n,l,s)):o||null!=(l=Be(n,i))&&a.push(Rr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function Br(){}var Vr=null,zr=null;function Ur(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Hr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var qr="function"==typeof setTimeout?setTimeout:void 0,Wr="function"==typeof clearTimeout?clearTimeout:void 0;function $r(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Gr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Kr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Zr=0,Yr=Math.random().toString(36).slice(2),Xr="__reactFiber$"+Yr,Qr="__reactProps$"+Yr,Jr="__reactContainer$"+Yr,eo="__reactEvents$"+Yr;function to(e){var t=e[Xr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Jr]||n[Xr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Kr(e);null!==e;){if(n=e[Xr])return n;e=Kr(e)}return t}n=(e=n).parentNode}return null}function no(e){return!(e=e[Xr]||e[Jr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ro(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function oo(e){return e[Qr]||null}function io(e){var t=e[eo];return void 0===t&&(t=e[eo]=new Set),t}var ao=[],so=-1;function lo(e){return{current:e}}function co(e){0>so||(e.current=ao[so],ao[so]=null,so--)}function uo(e,t){so++,ao[so]=e.current,e.current=t}var po={},fo=lo(po),ho=lo(!1),mo=po;function go(e,t){var n=e.type.contextTypes;if(!n)return po;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function vo(e){return null!=e.childContextTypes}function yo(){co(ho),co(fo)}function bo(e,t,n){if(fo.current!==po)throw Error(a(168));uo(fo,t),uo(ho,n)}function wo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,G(t)||"Unknown",i));return o({},n,r)}function xo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||po,mo=fo.current,uo(fo,e),uo(ho,ho.current),!0}function ko(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=wo(e,t,mo),r.__reactInternalMemoizedMergedChildContext=e,co(ho),co(fo),uo(fo,e)):co(ho),uo(ho,n)}var Co=null,Eo=null,So=i.unstable_runWithPriority,Oo=i.unstable_scheduleCallback,Ao=i.unstable_cancelCallback,_o=i.unstable_shouldYield,Po=i.unstable_requestPaint,jo=i.unstable_now,To=i.unstable_getCurrentPriorityLevel,Io=i.unstable_ImmediatePriority,Lo=i.unstable_UserBlockingPriority,No=i.unstable_NormalPriority,Ro=i.unstable_LowPriority,Do=i.unstable_IdlePriority,Fo={},Mo=void 0!==Po?Po:function(){},Bo=null,Vo=null,zo=!1,Uo=jo(),Ho=1e4>Uo?jo:function(){return jo()-Uo};function qo(){switch(To()){case Io:return 99;case Lo:return 98;case No:return 97;case Ro:return 96;case Do:return 95;default:throw Error(a(332))}}function Wo(e){switch(e){case 99:return Io;case 98:return Lo;case 97:return No;case 96:return Ro;case 95:return Do;default:throw Error(a(332))}}function $o(e,t){return e=Wo(e),So(e,t)}function Go(e,t,n){return e=Wo(e),Oo(e,t,n)}function Ko(){if(null!==Vo){var e=Vo;Vo=null,Ao(e)}Zo()}function Zo(){if(!zo&&null!==Bo){zo=!0;var e=0;try{var t=Bo;$o(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Bo=null}catch(t){throw null!==Bo&&(Bo=Bo.slice(e+1)),Oo(Io,Ko),t}finally{zo=!1}}}var Yo=x.ReactCurrentBatchConfig;function Xo(e,t){if(e&&e.defaultProps){for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Qo=lo(null),Jo=null,ei=null,ti=null;function ni(){ti=ei=Jo=null}function ri(e){var t=Qo.current;co(Qo),e.type._context._currentValue=t}function oi(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}
vendor: 11,144 bytes, line 838
838function ii(e,t){Jo=e,ti=ei=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(Da=!0),e.firstContext=null)}function ai(e,t){if(ti!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ti=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ei){if(null===Jo)throw Error(a(308));ei=t,Jo.dependencies={lanes:0,firstContext:t,responders:null}}else ei=ei.next=t;return e._currentValue}var si=!1;function li(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ci(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ui(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function di(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function pi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function fi(e,t,n,r){var i=e.updateQueue;si=!1;var a=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(null!==l){i.shared.pending=null;var c=l,u=c.next;c.next=null,null===s?a=u:s.next=u,s=c;var d=e.alternate;if(null!==d){var p=(d=d.updateQueue).lastBaseUpdate;p!==s&&(null===p?d.firstBaseUpdate=u:p.next=u,d.lastBaseUpdate=c)}}if(null!==a){for(p=i.baseState,s=0,d=u=c=null;;){l=a.lane;var f=a.eventTime;if((r&l)===l){null!==d&&(d=d.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,m=a;switch(l=t,f=n,m.tag){case 1:if("function"==typeof(h=m.payload)){p=h.call(f,p,l);break e}p=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null==(l="function"==typeof(h=m.payload)?h.call(f,p,l):h))break e;p=o({},p,l);break e;case 2:si=!0}}null!==a.callback&&(e.flags|=32,null===(l=i.effects)?i.effects=[a]:l.push(a))}else f={eventTime:f,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===d?(u=d=f,c=p):d=d.next=f,s|=l;if(null===(a=a.next)){if(null===(l=i.shared.pending))break;a=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}null===d&&(c=p),i.baseState=c,i.firstBaseUpdate=u,i.lastBaseUpdate=d,Bs|=s,e.lanes=s,e.memoizedState=p}}function hi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(a(191,o));o.call(r)}}}var mi=(new r.Component).refs;function gi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var vi={isMounted:function(e){return!!(e=e._reactInternals)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ul(),o=dl(e),i=ui(r,o);i.payload=t,null!=n&&(i.callback=n),di(e,i),pl(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ul(),o=dl(e),i=ui(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),di(e,i),pl(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ul(),r=dl(e),o=ui(n,r);o.tag=2,null!=t&&(o.callback=t),di(e,o),pl(e,r,n)}};function yi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&dr(n,r)&&dr(o,i))}function bi(e,t,n){var r=!1,o=po,i=t.contextType;return"object"==typeof i&&null!==i?i=ai(i):(o=vo(t)?mo:fo.current,i=(r=null!=(r=t.contextTypes))?go(e,o):po),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=vi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function wi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&vi.enqueueReplaceState(t,t.state,null)}function xi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=mi,li(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=ai(i):(i=vo(t)?mo:fo.current,o.context=go(e,i)),fi(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(gi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&vi.enqueueReplaceState(o,o.state,null),fi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var ki=Array.isArray;function Ci(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===mi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Ei(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Si(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=ql(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Kl(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Ci(e,t,n),r.return=e,r):((r=Wl(n.type,n.key,n.props,null,e.mode,r)).ref=Ci(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Zl(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=$l(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Kl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return(n=Wl(t.type,t.key,t.props,null,e.mode,n)).ref=Ci(e,null,t),n.return=e,n;case C:return(t=Zl(t,e.mode,n)).return=e,t}if(ki(t)||U(t))return(t=$l(t,e.mode,n,null)).return=e,t;Ei(e,t)}return null}function f(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===o?n.type===E?d(e,t,n.props.children,r,o):c(e,t,n,r):null;case C:return n.key===o?u(e,t,n,r):null}if(ki(n)||U(n))return null!==o?null:d(e,t,n,r,null);Ei(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return e=e.get(null===r.key?n:r.key)||null,r.type===E?d(t,e,r.props.children,o,r.key):c(t,e,r,o);case C:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(ki(r)||U(r))return d(t,e=e.get(n)||null,r,o,null);Ei(t,r)}return null}function m(o,a,s,l){for(var c=null,u=null,d=a,m=a=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=f(o,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(o,d),a=i(v,a,m),null===u?c=v:u.sibling=v,u=v,d=g}if(m===s.length)return n(o,d),c;if(null===d){for(;m<s.length;m++)null!==(d=p(o,s[m],l))&&(a=i(d,a,m),null===u?c=d:u.sibling=d,u=d);return c}for(d=r(o,d);m<s.length;m++)null!==(g=h(d,o,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),a=i(g,a,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(o,e)})),c}function g(o,s,l,c){var u=U(l);if("function"!=typeof u)throw Error(a(150));if(null==(l=u.call(l)))throw Error(a(151));for(var d=u=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=f(o,m,y.value,c);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(o,m),s=i(b,s,g),null===d?u=b:d.sibling=b,d=b,m=v}if(y.done)return n(o,m),u;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=p(o,y.value,c))&&(s=i(y,s,g),null===d?u=y:d.sibling=y,d=y);return u}for(m=r(o,m);!y.done;g++,y=l.next())null!==(y=h(m,o,g,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=i(y,s,g),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(o,e)})),u}return function(e,r,i,l){var c="object"==typeof i&&null!==i&&i.type===E&&null===i.key;c&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case k:e:{for(u=i.key,c=r;null!==c;){if(c.key===u){if(7===c.tag){if(i.type===E){n(e,c.sibling),(r=o(c,i.props.children)).return=e,e=r;break e}}else if(c.elementType===i.type){n(e,c.sibling),(r=o(c,i.props)).ref=Ci(e,c,i),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}i.type===E?((r=$l(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=Wl(i.type,i.key,i.props,null,e.mode,l)).ref=Ci(e,r,i),l.return=e,e=l)}return s(e);case C:e:{for(c=i.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Zl(i,e.mode,l)).return=e,e=r}return s(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Kl(i,e.mode,l)).return=e,e=r),s(e);if(ki(i))return m(e,r,i,l);if(U(i))return g(e,r,i,l);if(u&&Ei(e,i),void 0===i&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,G(e.type)||"Component"))}return n(e,r)}}var Oi=Si(!0),Ai=Si(!1),_i={},Pi=lo(_i),ji=lo(_i),Ti=lo(_i);function Ii(e){if(e===_i)throw Error(a(174));return e}function Li(e,t){switch(uo(Ti,t),uo(ji,e),uo(Pi,_i),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:fe(null,"");break;default:t=fe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}co(Pi),uo(Pi,t)}function Ni(){co(Pi),co(ji),co(Ti)}function Ri(e){Ii(Ti.current);var t=Ii(Pi.current),n=fe(t,e.type);t!==n&&(uo(ji,e),uo(Pi,n))}
vendor: 8,512 bytes, line 838
838function Di(e){ji.current===e&&(co(Pi),co(ji))}var Fi=lo(0);function Mi(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(64&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Bi=null,Vi=null,zi=!1;function Ui(e,t){var n=Ul(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Hi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function qi(e){if(zi){var t=Vi;if(t){var n=t;if(!Hi(e,t)){if(!(t=Gr(n.nextSibling))||!Hi(e,t))return e.flags=-1025&e.flags|2,zi=!1,void(Bi=e);Ui(Bi,n)}Bi=e,Vi=Gr(t.firstChild)}else e.flags=-1025&e.flags|2,zi=!1,Bi=e}}function Wi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Bi=e}function $i(e){if(e!==Bi)return!1;if(!zi)return Wi(e),zi=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Hr(t,e.memoizedProps))for(t=Vi;t;)Ui(e,t),t=Gr(t.nextSibling);if(Wi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Vi=Gr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Vi=null}}else Vi=Bi?Gr(e.stateNode.nextSibling):null;return!0}function Gi(){Vi=Bi=null,zi=!1}var Ki=[];function Zi(){for(var e=0;e<Ki.length;e++)Ki[e]._workInProgressVersionPrimary=null;Ki.length=0}var Yi=x.ReactCurrentDispatcher,Xi=x.ReactCurrentBatchConfig,Qi=0,Ji=null,ea=null,ta=null,na=!1,ra=!1;function oa(){throw Error(a(321))}function ia(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!cr(e[n],t[n]))return!1;return!0}function aa(e,t,n,r,o,i){if(Qi=i,Ji=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Yi.current=null===e||null===e.memoizedState?Ia:La,e=n(r,o),ra){i=0;do{if(ra=!1,!(25>i))throw Error(a(301));i+=1,ta=ea=null,t.updateQueue=null,Yi.current=Na,e=n(r,o)}while(ra)}if(Yi.current=Ta,t=null!==ea&&null!==ea.next,Qi=0,ta=ea=Ji=null,na=!1,t)throw Error(a(300));return e}function sa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ta?Ji.memoizedState=ta=e:ta=ta.next=e,ta}function la(){if(null===ea){var e=Ji.alternate;e=null!==e?e.memoizedState:null}else e=ea.next;var t=null===ta?Ji.memoizedState:ta.next;if(null!==t)ta=t,ea=e;else{if(null===e)throw Error(a(310));e={memoizedState:(ea=e).memoizedState,baseState:ea.baseState,baseQueue:ea.baseQueue,queue:ea.queue,next:null},null===ta?Ji.memoizedState=ta=e:ta=ta.next=e}return ta}function ca(e,t){return"function"==typeof t?t(e):t}function ua(e){var t=la(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=ea,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=s=i=null,c=o;do{var u=c.lane;if((Qi&u)===u)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var d={lane:u,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=d,i=r):l=l.next=d,Ji.lanes|=u,Bs|=u}c=c.next}while(null!==c&&c!==o);null===l?i=r:l.next=s,cr(r,t.memoizedState)||(Da=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function da(e){var t=la(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);cr(i,t.memoizedState)||(Da=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function pa(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(Qi&e)===e)&&(t._workInProgressVersionPrimary=r,Ki.push(t))),e)return n(t._source);throw Ki.push(t),Error(a(350))}function fa(e,t,n,r){var o=Ts;if(null===o)throw Error(a(349));var i=t._getVersion,s=i(t._source),l=Yi.current,c=l.useState((function(){return pa(o,t,n)})),u=c[1],d=c[0];c=ta;var p=e.memoizedState,f=p.refs,h=f.getSnapshot,m=p.source;p=p.subscribe;var g=Ji;return e.memoizedState={refs:f,source:t,subscribe:r},l.useEffect((function(){f.getSnapshot=n,f.setSnapshot=u;var e=i(t._source);if(!cr(s,e)){e=n(t._source),cr(d,e)||(u(e),e=dl(g),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,a=e;0<a;){var l=31-Ht(a),c=1<<l;r[l]|=e,a&=~c}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=f.getSnapshot,n=f.setSnapshot;try{n(e(t._source));var r=dl(g);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),cr(h,n)&&cr(m,t)&&cr(p,r)||((e={pending:null,dispatch:null,lastRenderedReducer:ca,lastRenderedState:d}).dispatch=u=ja.bind(null,Ji,e),c.queue=e,c.baseQueue=null,d=pa(o,t,n),c.memoizedState=c.baseState=d),d}function ha(e,t,n){return fa(la(),e,t,n)}function ma(e){var t=sa();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ca,lastRenderedState:e}).dispatch=ja.bind(null,Ji,e),[t.memoizedState,e]}function ga(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Ji.updateQueue)?(t={lastEffect:null},Ji.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function va(e){return e={current:e},sa().memoizedState=e}function ya(){return la().memoizedState}function ba(e,t,n,r){var o=sa();Ji.flags|=e,o.memoizedState=ga(1|t,n,void 0,void 0===r?null:r)}function wa(e,t,n,r){var o=la();r=void 0===r?null:r;var i=void 0;if(null!==ea){var a=ea.memoizedState;if(i=a.destroy,null!==r&&ia(r,a.deps))return void ga(t,n,i,r)}Ji.flags|=e,o.memoizedState=ga(1|t,n,i,r)}function xa(e,t){return ba(516,4,e,t)}function ka(e,t){return wa(516,4,e,t)}function Ca(e,t){return wa(4,2,e,t)}function Ea(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Sa(e,t,n){return n=null!=n?n.concat([e]):null,wa(4,2,Ea.bind(null,t,e),n)}function Oa(){}function Aa(e,t){var n=la();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ia(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function _a(e,t){var n=la();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ia(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Pa(e,t){var n=qo();$o(98>n?98:n,(function(){e(!0)})),$o(97<n?97:n,(function(){var n=Xi.transition;Xi.transition=1;try{e(!1),t()}finally{Xi.transition=n}}))}function ja(e,t,n){var r=ul(),o=dl(e),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===Ji||null!==a&&a===Ji)ra=na=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=a(s,n);if(i.eagerReducer=a,i.eagerState=l,cr(l,s))return}catch(e){}pl(e,o,r)}}var Ta={readContext:ai,useCallback:oa,useContext:oa,useEffect:oa,useImperativeHandle:oa,useLayoutEffect:oa,useMemo:oa,useReducer:oa,useRef:oa,useState:oa,useDebugValue:oa,useDeferredValue:oa,useTransition:oa,useMutableSource:oa,useOpaqueIdentifier:oa,unstable_isNewReconciler:!1},Ia={readContext:ai,useCallback:function(e,t){return sa().memoizedState=[e,void 0===t?null:t],e},useContext:ai,useEffect:xa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ba(4,2,Ea.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ba(4,2,e,t)},useMemo:function(e,t){var n=sa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=sa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ja.bind(null,Ji,e),[r.memoizedState,e]}
838,useRef:va,useState:ma,useDebugValue:Oa,useDeferredValue:function(e){var t=ma(e),n=t[0],r=t[1];return xa((function(){var t=Xi.transition;Xi.transition=1;try{r(e)}finally{Xi.transition=t}}),[e]),n},useTransition:function(){var e=ma(!1),t=e[0];return va(e=Pa.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=sa();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},fa(r,e,t,n)},useOpaqueIdentifier:function(){if(zi){var e=!1,t=function(e){return{$$typeof:R,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Zr++).toString(36))),Error(a(355))})),n=ma(t)[1];return!(2&Ji.mode)&&(Ji.flags|=516,ga(5,(function(){n("r:"+(Zr++).toString(36))}),void 0,null)),t}return ma(t="r:"+(Zr++).toString(36)),t},unstable_isNewReconciler:!1},La={readContext:ai,useCallback:Aa,useContext:ai,useEffect:ka,useImperativeHandle:Sa,useLayoutEffect:Ca,useMemo:_a,useReducer:ua,useRef:ya,useState:function(){return ua(ca)},useDebugValue:Oa,useDeferredValue:function(e){var t=ua(ca),n=t[0],r=t[1];return ka((function(){var t=Xi.transition;Xi.transition=1;try{r(e)}finally{Xi.transition=t}}),[e]),n},useTransition:function(){var e=ua(ca)[0];return[ya().current,e]},useMutableSource:ha,useOpaqueIdentifier:function(){return ua(ca)[0]},unstable_isNewReconciler:!1},Na={readContext:ai,useCallback:Aa,useContext:ai,useEffect:ka,useImperativeHandle:Sa,useLayoutEffect:Ca,useMemo:_a,useReducer:da,useRef:ya,useState:function(){return da(ca)},useDebugValue:Oa,useDeferredValue:function(e){var t=da(ca),n=t[0],r=t[1];return ka((function(){var t=Xi.transition;Xi.transition=1;try{r(e)}finally{Xi.transition=t}}),[e]),n},useTransition:function(){var e=da(ca)[0];return[ya().current,e]},useMutableSource:ha,useOpaqueIdentifier:function(){return da(ca)[0]},unstable_isNewReconciler:!1},Ra=x.ReactCurrentOwner,Da=!1;function Fa(e,t,n,r){t.child=null===e?Ai(t,null,n,r):Oi(t,e.child,n,r)}function Ma(e,t,n,r,o){n=n.render;var i=t.ref;return ii(t,o),r=aa(e,t,n,r,i,o),null===e||Da?(t.flags|=1,Fa(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,rs(e,t,o))}function Ba(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Hl(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Wl(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Va(e,t,a,r,o,i))}return a=e.child,o&i||(o=a.memoizedProps,!(n=null!==(n=n.compare)?n:dr)(o,r)||e.ref!==t.ref)?(t.flags|=1,(e=ql(a,r)).ref=t.ref,e.return=t,t.child=e):rs(e,t,i)}function Va(e,t,n,r,o,i){if(null!==e&&dr(e.memoizedProps,r)&&e.ref===t.ref){if(Da=!1,!(i&o))return t.lanes=e.lanes,rs(e,t,i);16384&e.flags&&(Da=!0)}return Ha(e,t,n,r,i)}function za(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(4&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},wl(0,e),null;t.memoizedState={baseLanes:0},wl(0,null!==i?i.baseLanes:n)}else t.memoizedState={baseLanes:0},wl(0,n);else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,wl(0,r);return Fa(e,t,o,n),t.child}function Ua(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Ha(e,t,n,r,o){var i=vo(n)?mo:fo.current;return i=go(t,i),ii(t,o),n=aa(e,t,n,r,i,o),null===e||Da?(t.flags|=1,Fa(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,rs(e,t,o))}function qa(e,t,n,r,o){if(vo(n)){var i=!0;xo(t)}else i=!1;if(ii(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),bi(t,n,r),xi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;c="object"==typeof c&&null!==c?ai(c):go(t,c=vo(n)?mo:fo.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&wi(t,a,r,c),si=!1;var p=t.memoizedState;a.state=p,fi(t,r,a,o),l=t.memoizedState,s!==r||p!==l||ho.current||si?("function"==typeof u&&(gi(t,n,u,r),l=t.memoizedState),(s=si||yi(t,n,s,r,p,l,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.
vendor: 1,030 bytes, line 838
838context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,ci(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Xo(t.type,s),a.props=c,d=t.pendingProps,p=a.context,l="object"==typeof(l=n.contextType)&&null!==l?ai(l):go(t,l=vo(n)?mo:fo.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||p!==l)&&wi(t,a,r,l),si=!1,p=t.memoizedState,a.state=p,fi(t,r,a,o);var h=t.memoizedState;s!==d||p!==h||ho.current||si?("function"==typeof f&&(gi(t,n,f,r),h=t.memoizedState),(c=si||yi(t,n,c,r,p,h,l))?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapsh
838otBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),r=!1)}return Wa(e,t,n,r,i,o)}function Wa(e,t,n,r,o,i){Ua(e,t);var a=!!(64&t.flags);if(!r&&!a)return o&&ko(t,n,!1),rs(e,t,i);r=t.stateNode,Ra.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Oi(t,e.child,null,i),t.child=Oi(t,null,s,i)):Fa(e,t,s,i),t.memoizedState=r.state,o&&ko(t,n,!0),t.child}function $a(e){var t=e.stateNode;t.pendingContext?bo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&bo(0,t.context,!1),Li(e,t.containerInfo)}var Ga,Ka,Za,Ya,Xa={dehydrated:null,retryLane:0};function Qa(e,t,n){var r,o=t.pendingProps,i=Fi.current,a=!1;return(r=!!(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&!!(2&i)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),uo(Fi,1&i),null===e?(void 0!==o.fallback&&qi(t),e=o.children,i=o.fallback,a?(e=Ja(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xa,e):"number"==typeof o.unstable_expectedLoadTime?(e=Ja(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xa,t.lanes=33554432,e):((n=Gl({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(o=function(e,t,n,r,o){var i=t.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:n};return 2&i||t.child===a?n=ql(a,s):((n=t.child).childLanes=0,n.pendingProps=s,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null),null!==e?r=ql(e,r):(r=$l(r,i,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Xa,o):(n=function(e,t,n,r){var o=e.child;return e=o.sibling,n=ql(o,{mode:"visible",children:n}),!(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}(e,t,o.children,n),t.memoizedState=null,n))}function Ja(e,t,n,r){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},2&o||null===i?i=Gl(t,o,0,null):(i.childLanes=0,i.pendingProps=t),n=$l(n,o,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function es(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),oi(e.return,t)}function ts(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.lastEffect=i)}function ns(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Fa(e,t,r.children,n),2&(r=Fi.current))r=1&r|2,t.flags|=64;else{if(null!==e&&64&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&es(e,n);else if(19===e.tag)es(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(uo(Fi,r),2&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Mi(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),ts(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Mi(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}ts(t,!0,n,null,i,t.lastEffect);break;case"together":ts(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function rs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Bs|=t.lanes,n&t.childLanes){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=ql(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;
vendor: 5,219 bytes, line 838
838)e=e.sibling,(n=n.sibling=ql(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function os(e,t){if(!zi)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function is(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return vo(t.type)&&yo(),null;case 3:return Ni(),co(ho),co(fo),Zi(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||($i(t)?t.flags|=4:r.hydrate||(t.flags|=256)),Ka(t),null;case 5:Di(t);var i=Ii(Ti.current);if(n=t.type,null!==e&&null!=t.stateNode)Za(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Ii(Pi.current),$i(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Xr]=t,r[Qr]=s,n){case"dialog":Pr("cancel",r),Pr("close",r);break;case"iframe":case"object":case"embed":Pr("load",r);break;case"video":case"audio":for(e=0;e<Sr.length;e++)Pr(Sr[e],r);break;case"source":Pr("error",r);break;case"img":case"image":case"link":Pr("error",r),Pr("load",r);break;case"details":Pr("toggle",r);break;case"input":ee(r,s),Pr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Pr("invalid",r);break;case"textarea":le(r,s),Pr("invalid",r)}for(var c in Ce(n,s),e=null,s)s.hasOwnProperty(c)&&(i=s[c],"children"===c?"string"==typeof i?r.textContent!==i&&(e=["children",i]):"number"==typeof i&&r.textContent!==""+i&&(e=["children",""+i]):l.hasOwnProperty(c)&&null!=i&&"onScroll"===c&&Pr("scroll",r));switch(n){case"input":Y(r),re(r,s,!0);break;case"textarea":Y(r),ue(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=Br)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(c=9===i.nodeType?i:i.ownerDocument,e===de.html&&(e=pe(n)),e===de.html?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[Xr]=t,e[Qr]=r,Ga(e,t,!1,!1),t.stateNode=e,c=Ee(n,r),n){case"dialog":Pr("cancel",e),Pr("close",e),i=r;break;case"iframe":case"object":case"embed":Pr("load",e),i=r;break;case"video":case"audio":for(i=0;i<Sr.length;i++)Pr(Sr[i],e);i=r;break;case"source":Pr("error",e),i=r;break;case"img":case"image":case"link":Pr("error",e),Pr("load",e),i=r;break;case"details":Pr("toggle",e),i=r;break;case"input":ee(e,r),i=J(e,r),Pr("invalid",e);break;case"option":i=ie(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=o({},r,{value:void 0}),Pr("invalid",e);break;case"textarea":le(e,r),i=se(e,r),Pr("invalid",e);break;default:i=r}Ce(n,i);var u=i;for(s in u)if(u.hasOwnProperty(s)){var d=u[s];"style"===s?xe(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&ge(e,d):"children"===s?"string"==typeof d?("textarea"!==n||""!==d)&&ve(e,d):"number"==typeof d&&ve(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(l.hasOwnProperty(s)?null!=d&&"onScroll"===s&&Pr("scroll",e):null!=d&&w(e,s,d,c))}switch(n){case"input":Y(e),re(e,r,!1);break;case"textarea":Y(e),ue(e);break;case"option":null!=r.value&&e.setAttribute("value",""+K(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?ae(e,!!r.multiple,s,!1):null!=r.defaultValue&&ae(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Br)}Ur(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Ya(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Ii(Ti.current),Ii(Pi.current),$i(t)?(r=t.stateNode,n=t.memoizedProps,r[Xr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Xr]=t,t.stateNode=r)}return null;case 13:return co(Fi),r=t.memoizedState,64&t.flags?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&$i(t):n=null!==e.memoizedState,r&&!n&&2&t.mode&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||1&Fi.current?0===Ds&&(Ds=3):(0!==Ds&&3!==Ds||(Ds=4),null===Ts||!(134217727&Bs)&&!(134217727&Vs)||gl(Ts,Ls))),(r||n)&&(t.flags|=4),null);case 4:return Ni(),Ka(t),null===e&&Tr(t.stateNode.containerInfo),null;case 10:return ri(t),null;case 19:if(co(Fi),null===(r=t.memoizedState))return null;if(s=!!(64&t.flags),null===(c=r.rendering))if(s)os(r,!1);else{if(0!==Ds||null!==e&&64&e.flags)for(e=t.child;null!==e;){if(null!==(c=Mi(e))){for(t.flags|=64,os(r,!1),null!==(s=c.updateQueue)&&(t.updateQueue=s,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(s=n).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(c=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,
vendor: 36,229 bytes, line 838
838s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return uo(Fi,1&Fi.current|2),t.child}e=e.sibling}null!==r.tail&&Ho()>qs&&(t.flags|=64,s=!0,os(r,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=Mi(c))){if(t.flags|=64,s=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),os(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate&&!zi)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ho()-r.renderingStartTime>qs&&1073741824!==n&&(t.flags|=64,s=!0,os(r,!1),t.lanes=33554432);r.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=r.last)?n.sibling=c:t.child=c,r.last=c)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ho(),n.sibling=null,t=Fi.current,uo(Fi,s?1&t|2:1&t),n):null;case 23:case 24:return xl(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function as(e){switch(e.tag){case 1:vo(e.type)&&yo();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Ni(),co(ho),co(fo),Zi(),64&(t=e.flags))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return Di(e),null;case 13:return co(Fi),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return co(Fi),null;case 4:return Ni(),null;case 10:return ri(e),null;case 23:case 24:return xl(),null;default:return null}}function ss(e,t){try{var n="",r=t;do{n+=$(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function ls(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Ga=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ka=function(){},Za=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ii(Pi.current);var a,s=null;switch(n){case"input":i=J(e,i),r=J(e,r),s=[];break;case"option":i=ie(e,i),r=ie(e,r),s=[];break;case"select":i=o({},i,{value:void 0}),r=o({},r,{value:void 0}),s=[];break;case"textarea":i=se(e,i),r=se(e,r),s=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Br)}for(d in Ce(n,r),n=null,i)if(!r.hasOwnProperty(d)&&i.hasOwnProperty(d)&&null!=i[d])if("style"===d){var c=i[d];for(a in c)c.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(l.hasOwnProperty(d)?s||(s=[]):(s=s||[]).push(d,null));for(d in r){var u=r[d];if(c=null!=i?i[d]:void 0,r.hasOwnProperty(d)&&u!==c&&(null!=u||null!=c))if("style"===d)if(c){for(a in c)!c.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&c[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(s||(s=[]),s.push(d,n)),n=u;else"dangerouslySetInnerHTML"===d?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(s=s||[]).push(d,u)):"children"===d?"string"!=typeof u&&"number"!=typeof u||(s=s||[]).push(d,""+u):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(l.hasOwnProperty(d)?(null!=u&&"onScroll"===d&&Pr("scroll",e),s||c===u||(s=[])):"object"==typeof u&&null!==u&&u.$$typeof===R?u.toString():(s=s||[]).push(d,u))}n&&(s=s||[]).push("style",n);var d=s;(t.updateQueue=d)&&(t.flags|=4)}},Ya=function(e,t,n,r){n!==r&&(t.flags|=4)};var cs="function"==typeof WeakMap?WeakMap:Map;function us(e,t,n){(n=ui(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ks||(Ks=!0,Zs=r),ls(0,t)},n}function ds(e,t,n){(n=ui(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return ls(0,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Ys?Ys=new Set([this]):Ys.add(this),ls(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var ps="function"==typeof WeakSet?WeakSet:Set;function fs(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Ml(e,t)}else t.current=null}function hs(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Xo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&$r(t.stateNode.containerInfo))}throw Error(a(163))}function ms(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(!(3&~e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,4&(o=o.tag)&&1&o&&(Rl(n,e),Nl(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Xo(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&hi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}hi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Ur(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&xt(n)))))}throw Error(a(163))}function gs(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=we("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function vs(e,t){if(Eo&&"function"==typeof Eo.onCommitFiberUnmount)try{Eo.onCommitFiberUnmount(Co,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(4&r)Rl(t,n);else{r=t;try{o()}catch(e){Ml(r,e)}}n=n.next}while(n!==e)}break;case 1:if(fs(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Ml(t,e)}break;case 5:fs(t);break;case 4:Cs(e,t)}}function ys(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function bs(e){return 5===e.tag||3===e.tag||4===e.tag}function ws(e){e:{for(var t=e.return;null!==t;){if(bs(t))break e;t=t.return}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(ve(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||bs(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?xs(e,n,t):ks(e,n,t)}function xs(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Br));else if(4!==r&&null!==(e=e.child))for(xs(e,t,n),e=e.sibling;null!==e;)xs(e,t,n),e=e.sibling}function ks(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ks(e,t,n),e=e.sibling;null!==e;)ks(e,t,n),e=e.sibling}function Cs(e,t){for(var n,r,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(a(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var s=e,l=o,c=l;;)if(vs(s,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(s=n,l=o.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(vs(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function Es(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{!(3&~r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Qr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),Ee(e,o),t=Ee(e,r),o=0;o<i.length;o+=2){var s=i[o],l=i[o+1];"style"===s?xe(n,l):"dangerouslySetInnerHTML"===s?ge(n,l):"children"===s?ve(n,l):w(n,s,l,t)}switch(e){case"input":ne(n,r);break;case"textarea":ce(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?ae(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?ae(n,!!r.multiple,r.defaultValue,!0):ae(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,xt(n.containerInfo)));case 13:return null!==t.memoizedState&&(Hs=Ho(),gs(t.child,!0)),void Ss(t);case 19:return void Ss(t);case 23:case 24:return void gs(t,null!==t.memoizedState)}throw Error(a(163))}function Ss(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ps),t.forEach((function(t){var r=Vl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Os(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(t=t.memoizedState)&&null===t.dehydrated}var As=Math.ceil,_s=x.ReactCurrentDispatcher,Ps=x.ReactCurrentOwner,js=0,Ts=null,Is=null,Ls=0,Ns=0,Rs=lo(0),Ds=0,Fs=null,Ms=0,Bs=0,Vs=0,zs=0,Us=null,Hs=0,qs=1/0;function Ws(){qs=Ho()+500}var $s,Gs=null,Ks=!1,Zs=null,Ys=null,Xs=!1,Qs=null,Js=90,el=[],tl=[],nl=null,rl=0,ol=null,il=-1,al=0,sl=0,ll=null,cl=!1;function ul(){return 48&js?Ho():-1!==il?il:il=Ho()}function dl(e){if(!(2&(e=e.mode)))return 1;if(!(4&e))return 99===qo()?1:2;if(0===al&&(al=Ms),0!==Yo.transition){0!==sl&&(sl=null!==Us?Us.pendingLanes:0),e=al;var t=4186112&~sl;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=qo(),e=Bt(4&js&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),al)}function pl(e,t,n){if(50<rl)throw rl=0,ol=null,Error(a(185));if(null===(e=fl(e,t)))return null;Ut(e,t,n),e===Ts&&(Vs|=t,4===Ds&&gl(e,Ls));var r=qo();1===t?8&js&&!(48&js)?vl(e):(hl(e,n),0===js&&(Ws(),Ko())):(!(4&js)||98!==r&&99!==r||(null===nl?nl=new Set([e]):nl.add(e)),hl(e,n)),Us=e}function fl(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function hl(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var l=31-Ht(s),c=1<<l,u=i[l];if(-1===u){if(!(c&r)||c&o){u=t,Dt(c);var d=Rt;i[l]=10<=d?u+250:6<=d?u+5e3:-1}}else u<=t&&(e.expiredLanes|=c);s&=~c}if(r=Ft(e,e===Ts?Ls:0),t=Rt,0===r)null!==n&&(n!==Fo&&Ao(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Fo&&Ao(n)}15===t?(n=vl.bind(null,e),null===Bo?(Bo=[n],Vo=Oo(Io,Zo)):Bo.push(n),n=Fo):14===t?n=Go(99,vl.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),n=Go(n,ml.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function ml(e){if(il=-1,sl=al=0,48&js)throw Error(a(327));var t=e.callbackNode;if(Ll()&&e.callbackNode!==t)return null;var n=Ft(e,e===Ts?Ls:0);if(0===n)return null;var r=n,o=js;js|=16;var i=El();for(Ts===e&&Ls===r||(Ws(),kl(e,r));;)try{Al();break}catch(t){Cl(e,t)}if(ni(),_s.current=i,js=o,null!==Is?r=0:(Ts=null,Ls=0,r=Ds),Ms&Vs)kl(e,0);else if(0!==r){if(2===r&&(js|=64,e.hydrate&&(e.hydrate=!1,$r(e.containerInfo)),0!==(n=Mt(e))&&(r=Sl(e,n))),1===r)throw t=Fs,kl(e,0),gl(e,n),hl(e,Ho()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(a(345));case 2:case 5:jl(e);break;case 3:if(gl(e,n),(62914560&n)===n&&10<(r=Hs+500-Ho())){if(0!==Ft(e,0))break;if(((o=e.suspendedLanes)&n)!==n){ul(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=qr(jl.bind(null,e),r);break}jl(e);break;case 4:if(gl(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var s=31-Ht(n);i=1<<s,(s=r[s])>o&&(o=s),n&=~i}if(n=o,10<(n=(120>(n=Ho()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*As(n/1960))-n)){e.timeoutHandle=qr(jl.bind(null,e),n);break}jl(e);break;default:throw Error(a(329))}}return hl(e,Ho()),e.callbackNode===t?ml.bind(null,e):null}function gl(e,t){for(t&=~zs,t&=~Vs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ht(t),r=1<<n;e[n]=-1,t&=~r}}function vl(e){if(48&js)throw Error(a(327));if(Ll(),e===Ts&&e.expiredLanes&Ls){var t=Ls,n=Sl(e,t);Ms&Vs&&(n=Sl(e,t=Ft(e,t)))}else n=Sl(e,t=Ft(e,0));if(0!==e.tag&&2===n&&(js|=64,e.hydrate&&(e.hydrate=!1,$r(e.containerInfo)),0!==(t=Mt(e))&&(n=Sl(e,t))),1===n)throw n=Fs,kl(e,0),gl(e,t),hl(e,Ho()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,jl(e),hl(e,Ho()),null}function yl(e,t){var n=js;js|=1;try{return e(t)}finally{0===(js=n)&&(Ws(),Ko())}}function bl(e,t){var n=js;js&=-2,js|=8;try{return e(t)}finally{0===(js=n)&&(Ws(),Ko())}}function wl(e,t){uo(Rs,Ns),Ns|=t,Ms|=t}function xl(){Ns=Rs.current,co(Rs)}function kl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Wr(n)),null!==Is)for(n=Is.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&yo();break;case 3:Ni(),co(ho),co(fo),Zi();break;case 5:Di(r);break;case 4:Ni();break;case 13:case 19:co(Fi);break;case 10:ri(r);break;case 23:case 24:xl()}n=n.return}Ts=e,Is=ql(e.current,null),Ls=Ns=Ms=t,Ds=0,Fs=null,zs=Vs=Bs=0}function Cl(e,t){for(;;){var n=Is;try{if(ni(),Yi.current=Ta,na){for(var r=Ji.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}na=!1}if(Qi=0,ta=ea=Ji=null,ra=!1,Ps.current=null,null===n||null===n.return){Ds=1,Fs=t,Is=null;break}e:{var i=e,a=n.return,s=n,l=t;if(t=Ls,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l;if(!(2&s.mode)){var u=s.alternate;u?(s.updateQueue=u.updateQueue,s.memoizedState=u.memoizedState,s.lanes=u.lanes):(s.updateQueue=null,s.memoizedState=null)}var d=!!(1&Fi.current),p=a;do{var f;if(f=13===p.tag){var h=p.memoizedState;if(null!==h)f=null!==h.dehydrated;else{var m=p.memoizedProps;f=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(f){var g=p.updateQueue;if(null===g){var v=new Set;v.add(c),p.updateQueue=v}else g.add(c);if(!(2&p.mode)){if(p.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var y=ui(-1,1);y.tag=2,di(s,y)}s.lanes|=1;break e}l=void 0,s=t;var b=i.pingCache;if(null===b?(b=i.pingCache=new cs,l=new Set,b.set(c,l)):void 0===(l=b.get(c))&&(l=new Set,b.set(c,l)),!l.has(s)){l.add(s);var w=Bl.bind(null,i,c,s);c.then(w,w)}p.flags|=4096,p.lanes=t;break e}p=p.return}while(null!==p);l=Error((G(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Ds&&(Ds=2),l=ss(l,s),p=a;do{switch(p.tag){case 3:i=l,p.flags|=4096,t&=-t,p.lanes|=t,pi(p,us(0,i,t));break e;case 1:i=l;var x=p.type,k=p.stateNode;if(!(64&p.flags||"function"!=typeof x.getDerivedStateFromError&&(null===k||"function"!=typeof k.componentDidCatch||null!==Ys&&Ys.has(k)))){p.flags|=4096,t&=-t,p.lanes|=t,pi(p,ds(p,i,t));break e}}p=p.return}while(null!==p)}Pl(n)}catch(e){t=e,Is===n&&null!==n&&(Is=n=n.return);continue}break}}function El(){var e=_s.current;return _s.current=Ta,null===e?Ta:e}function Sl(e,t){var n=js;js|=16;var r=El();for(Ts===e&&Ls===t||kl(e,t);;)try{Ol();break}catch(t){Cl(e,t)}if(ni(),js=n,_s.current=r,null!==Is)throw Error(a(261));return Ts=null,Ls=0,Ds}function Ol(){for(;null!==Is;)_l(Is)}function Al(){for(;null!==Is&&!_o();)_l(Is)}function _l(e){var t=$s(e.alternate,e,Ns);e.memoizedProps=e.pendingProps,null===t?Pl(e):Is=t,Ps.current=null}function Pl(e){var t=e;do{var n=t.alternate;if(e=t.return,2048&t.flags){if(null!==(n=as(t)))return n.flags&=2047,void(Is=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}else{if(null!==(n=is(n,t,Ns)))return void(Is=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||1073741824&Ns||!(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&!(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}if(null!==(t=t.sibling))return void(Is=t);Is=t=e}while(null!==t);0===Ds&&(Ds=5)}function jl(e){var t=qo();return $o(99,Tl.bind(null,e,t)),null}function Tl(e,t){do{Ll()}while(null!==Qs);if(48&js)throw Error(a(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var s=e.eventTimes,l=e.expirationTimes;0<i;){var c=31-Ht(i),u=1<<c;o[c]=0,s[c]=-1,l[c]=-1,i&=~u}if(null!==nl&&!(24&r)&&nl.has(e)&&nl.delete(e),e===Ts&&(Is=Ts=null,Ls=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=js,js|=32,Ps.current=null,Vr=Kt,gr(s=mr())){if("selectionStart"in s)l={start:s.selectionStart,end:s.selectionEnd};else e:if(l=(l=s.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,i=u.anchorOffset,c=u.focusNode,u=u.focusOffset;try{l.nodeType,c.nodeType}catch(e){l=null;break e}var d=0,p=-1,f=-1,h=0,m=0,g=s,v=null;t:for(;;){for(var y;g!==l||0!==i&&3!==g.nodeType||(p=d+i),g!==c||0!==u&&3!==g.nodeType||(f=d+u),3===g.nodeType&&(d+=g.nodeValue.length),null!==(y=g.firstChild);)v=g,g=y;for(;;){if(g===s)break t;if(v===l&&++h===i&&(p=d),v===c&&++m===u&&(f=d),null!==(y=g.nextSibling))break;v=(g=v).parentNode}g=y}l=-1===p||-1===f?null:{start:p,end:f}}else l=null;l=l||{start:0,end:0}}else l=null;zr={focusedElem:s,selectionRange:l},Kt=!1,ll=null,cl=!1,Gs=r;do{try{Il()}catch(e){if(null===Gs)throw Error(a(330));Ml(Gs,e),Gs=Gs.nextEffect}}while(null!==Gs);ll=null,Gs=r;do{try{for(s=e;null!==Gs;){var b=Gs.flags;if(16&b&&ve(Gs.stateNode,""),128&b){var w=Gs.alternate;if(null!==w){var x=w.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&b){case 2:ws(Gs),Gs.flags&=-3;break;case 6:ws(Gs),Gs.flags&=-3,Es(Gs.alternate,Gs);break;case 1024:Gs.flags&=-1025;break;case 1028:Gs.flags&=-1025,Es(Gs.alternate,Gs);break;case 4:Es(Gs.alternate,Gs);break;case 8:Cs(s,l=Gs);var k=l.alternate;ys(l),null!==k&&ys(k)}Gs=Gs.nextEffect}}catch(e){if(null===Gs)throw Error(a(330));Ml(Gs,e),Gs=Gs.nextEffect}}while(null!==Gs);if(x=zr,w=mr(),b=x.focusedElem,s=x.selectionRange,w!==b&&b&&b.ownerDocument&&hr(b.ownerDocument.documentElement,b)){null!==s&&gr(b)&&(w=s.start,void 0===(x=s.end)&&(x=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(x,b.value.length)):(x=(w=b.ownerDocument||document)&&w.defaultView||window).getSelection&&(x=x.getSelection(),l=b.textContent.length,k=Math.min(s.start,l),s=void 0===s.end?k:Math.min(s.end,l),!x.extend&&k>s&&(l=s,s=k,k=l),l=fr(b,k),i=fr(b,s),l&&i&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==i.node||x.focusOffset!==i.offset)&&((w=w.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),k>s?(x.addRange(w),x.extend(i.node,i.offset)):(w.setEnd(i.node,i.offset),x.addRange(w))))),w=[];for(x=b;x=x.parentNode;)1===x.nodeType&&w.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;b<w.length;b++)(x=w[b]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Kt=!!Vr,zr=Vr=null,e.current=n,Gs=r;do{try{for(b=e;null!==Gs;){var C=Gs.flags;if(36&C&&ms(b,Gs.alternate,Gs),128&C){w=void 0;var E=Gs.ref;if(null!==E){var S=Gs.stateNode;Gs.tag,w=S,"function"==typeof E?E(w):E.current=w}}Gs=Gs.nextEffect}}catch(e){if(null===Gs)throw Error(a(330));Ml(Gs,e),Gs=Gs.nextEffect}}while(null!==Gs);Gs=null,Mo(),js=o}else e.current=n;if(Xs)Xs=!1,Qs=e,Js=t;else for(Gs=r;null!==Gs;)t=Gs.nextEffect,Gs.nextEffect=null,8&Gs.flags&&((C=Gs).sibling=null,C.stateNode=null),Gs=t;if(0===(r=e.pendingLanes)&&(Ys=null),1===r?e===ol?rl++:(rl=0,ol=e):rl=0,n=n.stateNode,Eo&&"function"==typeof Eo.onCommitFiberRoot)try{Eo.onCommitFiberRoot(Co,n,void 0,!(64&~n.current.flags))}catch(e){}if(hl(e,Ho()),Ks)throw Ks=!1,e=Zs,Zs=null,e;return 8&js||Ko(),null}function Il(){for(;null!==Gs;){var e=Gs.alternate;cl||null===ll||(8&Gs.flags?Je(Gs,ll)&&(cl=!0):13===Gs.tag&&Os(e,Gs)&&Je(Gs,ll)&&(cl=!0));var t=Gs.flags;256&t&&hs(e,Gs),!(512&t)||Xs||(Xs=!0,Go(97,(function(){return Ll(),null}))),Gs=Gs.nextEffect}}function Ll(){if(90!==Js){var e=97<Js?97:Js;return Js=90,$o(e,Dl)}return!1}function Nl(e,t){el.push(t,e),Xs||(Xs=!0,Go(97,(function(){return Ll(),null})))}function Rl(e,t){tl.push(t,e),Xs||(Xs=!0,Go(97,(function(){return Ll(),null})))}function Dl(){if(null===Qs)return!1;var e=Qs;if(Qs=null,48&js)throw Error(a(331));var t=js;js|=32;var n=tl;tl=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],s=o.destroy;if(o.destroy=void 0,"function"==typeof s)try{s()}catch(e){if(null===i)throw Error(a(330));Ml(i,e)}}for(n=el,el=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===i)throw Error(a(330));Ml(i,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return js=t,Ko(),!0}function Fl(e,t,n){di(e,t=us(0,t=ss(n,t),1)),t=ul(),null!==(e=fl(e,1))&&(Ut(e,1,t),hl(e,t))}function Ml(e,t){if(3===e.tag)Fl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Fl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ys||!Ys.has(r))){var o=ds(n,e=ss(t,e),1);if(di(n,o),o=ul(),null!==(n=fl(n,1)))Ut(n,1,o),hl(n,o);else if("function"==typeof r.componentDidCatch&&(null===Ys||!Ys.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Bl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ul(),e.pingedLanes|=e.suspendedLanes&n,Ts===e&&(Ls&n)===n&&(4===Ds||3===Ds&&(62914560&Ls)===Ls&&500>Ho()-Hs?kl(e,0):zs|=n),hl(e,t)}function Vl(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(2&(t=e.mode)?4&t?(0===al&&(al=Ms),0===(t=Vt(62914560&~al))&&(t=4194304)):t=99===qo()?1:2:t=1),n=ul(),null!==(e=fl(e,t))&&(Ut(e,t,n),hl(e,n))}function zl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Ul(e,t,n,r){return new zl(e,t,n,r)}function Hl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function ql(e,t){var n=e.alternate;return null===n?((n=Ul(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Wl(e,t,n,r,o,i){var s=2;if(r=e,"function"==typeof e)Hl(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case E:return $l(n.children,o,i,t);case D:s=8,o|=16;break;case S:s=8,o|=1;break;case O:return(e=Ul(12,n,t,8|o)).elementType=O,e.type=O,e.lanes=i,e;case j:return(e=Ul(13,n,t,o)).type=j,e.elementType=j,e.lanes=i,e;case T:return(e=Ul(19,n,t,o)).elementType=T,e.lanes=i,e;case F:return Gl(n,o,i,t);case M:return(e=Ul(24,n,t,o)).elementType=M,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case A:s=10;break e;case _:s=9;break e;case P:s=11;break e;case I:s=14;break e;case L:s=16,r=null;break e;case N:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Ul(s,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function $l(e,t,n,r){return(e=Ul(7,e,r,t)).lanes=n,e}function Gl(e,t,n,r){return(e=Ul(23,e,r,t)).elementType=F,e.lanes=n,e}function Kl(e,t,n){return(e=Ul(6,e,null,t)).lanes=n,e}function Zl(e,t,n){return(t=Ul(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Yl(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=zt(0),this.expirationTimes=zt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zt(0),this.mutableSourceEagerHydrationData=null}function Xl(e,t,n,r){var o=t.current,i=ul(),s=dl(o);e:if(n){t:{if(Ze(n=n._reactInternals)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(vo(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var c=n.type;if(vo(c)){n=wo(n,c,l);break e}}n=l}else n=po;return null===t.context?t.context=n:t.pendingContext=n,(t=ui(i,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),di(o,t),pl(o,s,i),s}function Ql(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Jl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function ec(e,t){Jl(e,t),(e=e.alternate)&&Jl(e,t)}function tc(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Yl(e,t,null!=n&&!0===n.hydrate),t=Ul(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,li(t),e[Jr]=n.current,Tr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function nc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function rc(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var s=o;o=function(){var e=Ql(a);s.call(e)}}Xl(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new tc(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var l=o;o=function(){var e=Ql(a);l.call(e)}}bl((function(){Xl(t,a,e,o)}))}return Ql(a)}function oc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!nc(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:C,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}$s=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||ho.current)Da=!0;else{if(!(n&r)){switch(Da=!1,t.tag){case 3:$a(t),Gi();break;case 5:Ri(t);break;case 1:vo(t.type)&&xo(t);break;case 4:Li(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;uo(Qo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return n&t.child.childLanes?Qa(e,t,n):(uo(Fi,1&Fi.current),null!==(t=rs(e,t,n))?t.sibling:null);uo(Fi,1&Fi.current);break;case 19:if(r=!!(n&t.childLanes),64&e.flags){if(r)return ns(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),uo(Fi,Fi.current),r)break;return null;case 23:case 24:return t.lanes=0,za(e,t,n)}return rs(e,t,n)}Da=!!(16384&e.flags)}else Da=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=go(t,fo.current),ii(t,n),o=aa(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,vo(r)){var i=!0;xo(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,li(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&gi(t,r,s,e),o.updater=vi,t.stateNode=o,o._reactInternals=t,xi(t,r,e,n),t=Wa(null,t,r,!0,i,n)}else t.tag=0,Fa(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"==typeof e)return Hl(e)?1:0;if(null!=e){if((e=e.$$typeof)===P)return 11;if(e===I)return 14}return 2}(o),e=Xo(o,e),i){case 0:t=Ha(null,t,o,e,n);break e;case 1:t=qa(null,t,o,e,n);break e;case 11:t=Ma(null,t,o,e,n);break e;case 14:t=Ba(null,t,o,Xo(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ha(e,t,r,o=t.elementType===r?o:Xo(r,o),n);case 1:return r=t.type,o=t.pendingProps,qa(e,t,r,o=t.elementType===r?o:Xo(r,o),n);case 3:if($a(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ci(e,t),fi(t,r,null,n),(r=t.memoizedState.element)===o)Gi(),t=rs(e,t,n);else{if((i=(o=t.stateNode).hydrate)&&(Vi=Gr(t.stateNode.containerInfo.firstChild),Bi=t,i=zi=!0),i){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(i=e[o])._workInProgressVersionPrimary=e[o+1],Ki.push(i);for(n=Ai(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Fa(e,t,r,n),Gi();t=t.child}return t;case 5:return Ri(t),null===e&&qi(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,Hr(r,o)?s=null:null!==i&&Hr(r,i)&&(t.flags|=16),Ua(e,t),Fa(e,t,s,n),t.child;case 6:return null===e&&qi(t),null;case 13:return Qa(e,t,n);case 4:return Li(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Oi(t,null,r,n):Fa(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ma(e,t,r,o=t.elementType===r?o:Xo(r,o),n);case 7:return Fa(e,t,t.pendingProps,n),t.child;case 8:case 12:return Fa(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value;var l=t.type._context;if(uo(Qo,l._currentValue),l._currentValue=i,null!==s)if(l=s.value,0==(i=cr(l,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,i):1073741823))){if(s.children===o.children&&!ho.current){t=rs(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===r&&u.observedBits&i){1===l.tag&&((u=ui(-1,n&-n)).tag=2,di(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),oi(l.return,n),c.lanes|=n;break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Fa(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ii(t,n),r=r(o=ai(o,i.unstable_observedBits)),t.flags|=1,Fa(e,t,r,n),t.child;case 14:return i=Xo(o=t.type,t.pendingProps),Ba(e,t,o,i=Xo(o.type,i),r,n);case 15:return Va(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,vo(r)?(e=!0,xo(t)):e=!1,ii(t,n),bi(t,r,o),xi(t,r,o,n),Wa(null,t,r,!0,e,n);case 19:return ns(e,t,n);case 23:case 24:return za(e,t,n)}throw Error(a(156,t.tag))},tc.prototype.render=function(e){Xl(e,this._internalRoot,null,null)},tc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Xl(null,e,null,(function(){t[Jr]=null}))},et=function(e){13===e.tag&&(pl(e,4,ul()),ec(e,4))},tt=function(e){13===e.tag&&(pl(e,67108864,ul()),ec(e,67108864))},nt=function(e){if(13===e.tag){var t=ul(),n=dl(e);pl(e,n,t),ec(e,n)}},rt=function(e,t){return t()},Oe=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=oo(r);if(!o)throw Error(a(90));X(r),ne(r,o)}}}break;case"textarea":ce(e,n);break;case"select":null!=(t=n.value)&&ae(e,!!n.multiple,t,!1)}},Ie=yl,Le=function(e,t,n,r,o){var i=js;js|=4;try{return $o(98,e.bind(null,t,n,r,o))}finally{0===(js=i)&&(Ws(),Ko())}},Ne=function(){!(49&js)&&(function(){if(null!==nl){var e=nl;nl=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,hl(e,Ho())}))}Ko()}(),Ll())},Re=function(e,t){var n=js;js|=2;try{return e(t)}finally{0===(js=n)&&(Ws(),Ko())}};var ic={Events:[no,ro,oo,je,Te,Ll,{current:!1}]},ac={findFiberByHostInstance:to,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},sc={bundleType:ac.bundleType,version:ac.version,rendererPackageName:ac.rendererPackageName,rendererConfig:ac.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Qe(e))?null:e.stateNode},findFiberByHostInstance:ac.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var lc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lc.isDisabled&&lc.supportsFiber)try{Co=lc.inject(sc),Eo=lc}catch(me){}}
838t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ic,t.createPortal=oc,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return null===(e=Qe(t))?null:e.stateNode},t.flushSync=function(e,t){var n=js;if(48&n)return e(t);js|=1;try{if(e)return $o(99,e.bind(null,t))}finally{js=n,Ko()}},t.hydrate=function(e,t,n){if(!nc(t))throw Error(a(200));return rc(null,e,t,!0,n)},t.render=function(e,t,n){if(!nc(t))throw Error(a(200));return rc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!nc(e))throw Error(a(40));return!!e._reactRootContainer&&(bl((function(){rc(null,null,e,!1,(function(){e._reactRootContainer=null,e[Jr]=null}))})),!0)},t.unstable_batchedUpdates=yl,t.unstable_createPortal=function(e,t){return oc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!nc(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return rc(e,t,n,!1,r)},t.version="17.0.2"},40961:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(22551)},71683:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=t||"";return(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(i=t.toString().trim().replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,(function(e,t,r){return t>0&&t+e.length!==r.length&&e.search(n)>-1&&":"!==r.charAt(t-2)&&("-"!==r.charAt(t+e.length)||"-"===r.charAt(t-1))&&r.charAt(t-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)}))),o&&(i=function(e){return"string"==typeof e&&-1!==e.indexOf("@")}(e=i)?(console.warn("This arg looks like an email address, redacting."),r):e),i};var n=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i,r="REDACTED (Potential Email Address)"},2874:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GA4=void 0;var r=l(n(99507)),o=l(n(71683)),i=["eventCategory","eventAction","eventLabel","eventValue","hitType"],a=["title","location"],s=["page","hitType"];function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function d(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||h(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function v(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!==u(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===u(t)?t:String(t)}var b=function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),v(this,"reset",(function(){t.isInitialized=!1,t._testMode=!1,t._currentMeasurementId,t._hasLoadedGA=!1,t._isQueuing=!1,t._queueGtag=[]})),v(this,"_gtag",(function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];t._testMode||t._isQueuing?t._queueGtag.push(n):r.default.apply(void 0,n)})),v(this,"_loadGA",(function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"https://www.googletagmanager.com/gtag/js";if("undefined"!=typeof window&&"undefined"!=typeof document&&!t._hasLoadedGA){var o=document.createElement("script");o.async=!0,o.src="".concat(r,"?id=").concat(e),n&&o.setAttribute("nonce",n),document.body.appendChild(o),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},t._hasLoadedGA=!0}})),v(this,"_toGtagOptions",(function(e){if(e){var t={cookieUpdate:"cookie_update",cookieExpires:"cookie_expires",cookieDomain:"cookie_domain",cookieFlags:"cookie_flags",userId:"user_id",clientId:"client_id",anonymizeIp:"anonymize_ip",contentGroup1:"content_group1",contentGroup2:"content_group2",contentGroup3:"content_group3",contentGroup4:"content_group4",contentGroup5:"content_group5",allowAdFeatures:"allow_google_signals",allowAdPersonalizationSignals:"allow_ad_personalization_signals",nonInteraction:"non_interaction",page:"page_path",hitCallback:"event_callback"};return Object.entries(e).reduce((function(e,n){var r,o,i=(o=2,function(e){if(Array.isArray(e))return e}(r=n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}
vendor: 5,211 bytes, line 838
838finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(r,o)||h(r,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],s=i[1];return t[a]?e[t[a]]=s:e[a]=s,e}),{})}})),v(this,"initialize",(function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("Require GA_MEASUREMENT_ID");var r="string"==typeof e?[{trackingId:e}]:e;t._currentMeasurementId=r[0].trackingId;var o=n.gaOptions,i=n.gtagOptions,a=n.nonce,s=n.testMode,l=void 0!==s&&s,c=n.gtagUrl;if(t._testMode=l,l||t._loadGA(t._currentMeasurementId,a,c),t.isInitialized||(t._gtag("js",new Date),r.forEach((function(e){var n=f(f(f({},t._toGtagOptions(f(f({},o),e.gaOptions))),i),e.gtagOptions);Object.keys(n).length?t._gtag("config",e.trackingId,n):t._gtag("config",e.trackingId)}))),t.isInitialized=!0,!l){var u=d(t._queueGtag);for(t._queueGtag=[],t._isQueuing=!1;u.length;){var p=u.shift();t._gtag.apply(t,d(p)),"get"===p[0]&&(t._isQueuing=!0)}}})),v(this,"set",(function(e){e?"object"===u(e)?(0===Object.keys(e).length&&console.warn("empty `fieldsObject` given to .set()"),t._gaCommand("set",e)):console.warn("Expected `fieldsObject` arg to be an Object"):console.warn("`fieldsObject` is required in .set()")})),v(this,"_gaCommandSendEvent",(function(e,n,r,o,i){t._gtag("event",n,f(f({event_category:e,event_label:r,value:o},i&&{non_interaction:i.nonInteraction}),t._toGtagOptions(i)))})),v(this,"_gaCommandSendEventParameters",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if("string"==typeof n[0])t._gaCommandSendEvent.apply(t,d(n.slice(1)));else{var o=n[0],a=o.eventCategory,s=o.eventAction,l=o.eventLabel,u=o.eventValue,p=(o.hitType,c(o,i));t._gaCommandSendEvent(a,s,l,u,p)}})),v(this,"_gaCommandSendTiming",(function(e,n,r,o){t._gtag("event","timing_complete",{name:n,value:r,event_category:e,event_label:o})})),v(this,"_gaCommandSendPageview",(function(e,n){if(n&&Object.keys(n).length){var r=t._toGtagOptions(n),o=r.title,i=r.location,s=c(r,a);t._gtag("event","page_view",f(f(f(f({},e&&{page_path:e}),o&&{page_title:o}),i&&{page_location:i}),s))}else e?t._gtag("event","page_view",{page_path:e}):t._gtag("event","page_view")})),v(this,"_gaCommandSendPageviewParameters",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if("string"==typeof n[0])t._gaCommandSendPageview.apply(t,d(n.slice(1)));else{var o=n[0],i=o.page,a=(o.hitType,c(o,s));t._gaCommandSendPageview(i,a)}})),v(this,"_gaCommandSend",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o="string"==typeof n[0]?n[0]:n[0].hitType;switch(o){case"event":t._gaCommandSendEventParameters.apply(t,n);break;case"pageview":t._gaCommandSendPageviewParameters.apply(t,n);break;case"timing":t._gaCommandSendTiming.apply(t,d(n.slice(1)));break;case"screenview":case"transaction":case"item":case"social":case"exception":console.warn("Unsupported send command: ".concat(o));break;default:console.warn("Send command doesn't exist: ".concat(o))}})),v(this,"_gaCommandSet",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];"string"==typeof n[0]&&(n[0]=v({},n[0],n[1])),t._gtag("set",t._toGtagOptions(n[0]))})),v(this,"_gaCommand",(function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];switch(e){case"send":t._gaCommandSend.apply(t,r);break;case"set":t._gaCommandSet.apply(t,r);break;default:console.warn("Command doesn't exist: ".concat(e))}})),v(this,"ga",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if("string"==typeof n[0])t._gaCommand.apply(t,n);else{var o=n[0];t._gtag("get",t._currentMeasurementId,"client_id",(function(e){t._isQueuing=!1;var n=t._queueGtag;for(o({get:function(n){return"clientId"===n?e:"trackingId"===n?t._currentMeasurementId:"apiVersion"===n?"1":void 0}});n.length;){var r=n.shift();t._gtag.apply(t,d(r))}})),t._isQueuing=!0}return t.ga})),v(this,"event",(function(e,n){if("string"==typeof e)t._gtag("event",e,t._toGtagOptions(n));else{var r=e.action,i=e.category,a=e.label,s=e.value,l=e.nonInteraction,c=e.transport;if(!i||!r)return void console.warn("args.category AND args.action are required in event()");var u={hitType:"event",eventCategory:(0,o.default)(i),eventAction:(0,o.default)(r)};a&&(u.eventLabel=(0,o.default)(a)),void 0!==s&&("number"!=typeof s?console.warn("Expected `args.value` arg to be a Number."):u.eventValue=s),void 0!==l&&("boolean"!=typeof l?console.warn("`args.nonInteraction` must be a boolean."):u.nonInteraction=l),void 0!==c&&("string"!=typeof c?console.warn("`args.transport` must be a string."):(-1===["beacon","xhr","image"].indexOf(c)&&console.warn("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),u.transport=c)),t._gaCommand("send",u)}})),v(this,"send",(function(e){t._gaCommand("send",e)})),this.reset()}var t,n;return t=e,n=[{key:"gtag",value:function(){this._gtag.apply(this,arguments)}}],n&&g(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();
838t.GA4=b;var w=new b;t.default=w},99507:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;"undefined"!=typeof window&&(void 0===window.gtag&&(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)}),(r=window).gtag.apply(r,t))}},29970:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.Ay=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var l=a?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(o,s,l):o[s]=e[s]}return o.default=e,n&&n.set(e,o),o}(n(2874));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}o.GA4;var a=o.default;t.Ay=a},23257:(e,t,n)=>{e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=(r=n(2))&&r.__esModule?r:{default:r};t.default=o.default,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e){var t=e.activeClassName,n=void 0===t?"":t,o=e.activeIndex,l=void 0===o?-1:o,c=e.activeStyle,u=e.autoEscape,d=e.caseSensitive,p=void 0!==d&&d,f=e.className,h=e.findChunks,m=e.highlightClassName,g=void 0===m?"":m,v=e.highlightStyle,y=void 0===v?{}:v,b=e.highlightTag,w=void 0===b?"mark":b,x=e.sanitize,k=e.searchWords,C=e.textToHighlight,E=e.unhighlightTag,S=void 0===E?"span":E,O=e.unhighlightClassName,A=void 0===O?"":O,_=e.unhighlightStyle,P=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightTag","unhighlightClassName","unhighlightStyle"]),j=(0,i.findAll)({autoEscape:u,caseSensitive:p,findChunks:h,sanitize:x,searchWords:k,textToHighlight:C}),T=w,I=-1,L="",N=void 0,R=(0,s.default)((function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t}));return(0,a.createElement)("span",r({className:f},P,{children:j.map((function(e,t){var r=C.substr(e.start,e.end-e.start);if(e.highlight){I++;var o;o="object"==typeof g?p?g[r]:(g=R(g))[r.toLowerCase()]:g;var i=I===+l;L=o+" "+(i?n:""),N=!0===i&&null!=c?Object.assign({},y,c):y;var s={children:r,className:L,key:t,style:N};return"string"!=typeof T&&(s.highlightIndex=I),(0,a.createElement)(T,s)}return(0,a.createElement)(S,{children:r,className:A,key:t,style:_})}))}))};var o,i=n(3),a=n(4),s=(o=n(5))&&o.__esModule?o:{default:o};e.exports=t.default},function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(e,t){"use strict";
838Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,i=e.caseSensitive,a=void 0!==i&&i,s=e.findChunks,l=void 0===s?r:s,c=e.sanitize,u=e.searchWords,d=e.textToHighlight;return o({chunksToHighlight:n({chunks:l({autoEscape:t,caseSensitive:a,sanitize:c,searchWords:u,textToHighlight:d})}),totalLength:d?d.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var r=Math.max(n.end,t.end);e.push({start:n.start,end:r})}else e.push(n,t);return e}),[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,o=void 0===r?i:r,a=e.searchWords,s=e.textToHighlight;return s=o(s),a.filter((function(e){return e})).reduce((function(e,r){r=o(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var i=new RegExp(r,n?"g":"gi"),a=void 0;a=i.exec(s);){var l=a.index,c=i.lastIndex;c>l&&e.push({start:l,end:c}),a.index==i.lastIndex&&i.lastIndex++}return e}),[])};t.findChunks=r;var o=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],o=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)o(0,n,!1);else{var i=0;t.forEach((function(e){o(i,e.start,!1),o(e.start,e.end,!0),i=e.end})),o(i,n,!1)}return r};function i(e){return e}}])},function(e,t){e.exports=n(24002)},function(e,t){"use strict";var n=function(e,t){return e===t};e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=void 0,o=[],i=void 0,a=!1,s=function(e,n){return t(e,o[n])};return function(){for(var t=arguments.length,n=Array(t),l=0;l<t;l++)n[l]=arguments[l];return a&&r===this&&n.length===o.length&&n.every(s)?i:(a=!0,r=this,o=n,i=e.apply(this,n))}}}])},22799:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy");Symbol.for("react.offscreen");Symbol.for("react.module.reference"),t.isContextConsumer=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case d:case p:return e;default:switch(e=e&&e.$$typeof){case c:case l:case u:case h:case f:case s:return e;default:return t}}case r:return t}}}(e)===l}},44363:(e,t,n)=>{"use strict";e.exports=n(22799)},71345:(e,t,n)=>{"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var l=e.displayName||e.name,c="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}
vendor: 12,484 bytes, line 838
838n.r(t),n.d(t,{polyfill:()=>a}),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},1720:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(24002),a=h(i),s=h(n(18036)),l=h(n(5556)),c=h(n(29090)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(76462)),d=n(60834),p=h(d),f=n(71345);function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var g=t.portalClassName="ReactModalPortal",v=t.bodyOpenClassName="ReactModal__Body--open",y=d.canUseDOM&&void 0!==s.default.createPortal,b=function(e){return document.createElement(e)},w=function(){return y?s.default.createPortal:s.default.unstable_renderSubtreeIntoContainer};function x(e){return e()}var k=function(e){function t(){var e,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,l=Array(i),u=0;u<i;u++)l[u]=arguments[u];return n=o=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.removePortal=function(){!y&&s.default.unmountComponentAtNode(o.node);var e=x(o.props.parentSelector);e&&e.contains(o.node)?e.removeChild(o.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},o.portalRef=function(e){o.portal=e},o.renderPortal=function(e){var n=w()(o,a.default.createElement(c.default,r({defaultStyles:t.defaultStyles},e)),o.node);o.portalRef(n)},m(o,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){d.canUseDOM&&(y||(this.node=b("div")),this.node.className=this.props.portalClassName,x(this.props.parentSelector).appendChild(this.node),!y&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:x(e.parentSelector),nextParent:x(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(d.canUseDOM){var r=this.props,o=r.isOpen,i=r.portalClassName;e.portalClassName!==i&&(this.node.className=i);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||o)&&!y&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(d.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return d.canUseDOM&&y?(!this.node&&y&&(this.node=b("div")),w()(a.default.createElement(c.default,r({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){u.setElement(e)}}]),t}(i.Component);k.propTypes={isOpen:l.default.bool.isRequired,style:l.default.shape({content:l.default.object,overlay:l.default.object}),portalClassName:l.default.string,bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,className:l.default.oneOfType([l.default.string,l.default.shape({base:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),overlayClassName:l.default.oneOfType([l.default.string,l.default.shape({base:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),appElement:l.default.oneOfType([l.default.instanceOf(p.default),l.default.instanceOf(d.SafeHTMLCollection),l.default.instanceOf(d.SafeNodeList),l.default.arrayOf(l.default.instanceOf(p.default))]),onAfterOpen:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,ariaHideApp:l.default.bool,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,preventScroll:l.default.bool,parentSelector:l.default.func,aria:l.default.object,data:l.default.object,role:l.default.string,contentLabel:l.default.string,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func,id:l.default.string,overlayElement:l.default.func,contentElement:l.default.func},k.defaultProps={isOpen:!1,portalClassName:g,bodyOpenClassName:v,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return a.default.createElement("div",e,t)},contentElement:function(e,t){return a.default.createElement("div",e,t)}},k.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,f.polyfill)(k),t.default=k},29090:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(24002),s=g(n(5556)),l=m(n(27791)),c=g(n(57067)),u=m(n(76462)),d=m(n(24838)),p=n(60834),f=g(p),h=g(n(49628));function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}n(77727);var v={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},y=0,b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,o=e.htmlOpenClassName,i=e.bodyOpenClassName;i&&d.remove(document.body,i),o&&d.remove(document.getElementsByTagName("html")[0],o),r&&y>0&&0==(y-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},(function(){n.openAnimationFrame=requestAnimationFrame((function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})}))})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){9===e.keyCode&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&27===e.keyCode&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:v[e],afterOpen:v[e]+"--after-open",beforeClose:v[e]+"--before-close"},i=r.base;return n.state.afterOpen&&(i=i+" "+r.afterOpen),n.state.beforeClose&&(i=i+" "+r.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,r){return n[e+"-"+r]=t[r],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName;o&&d.add(document.body,o),r&&d.add(document.getElementsByTagName("html")[0],r),n&&(y+=1,u.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,o=e.overlayClassName,i=e.defaultStyles,a=e.children,s=n?{}:i.content,l=o?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:r({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=r({id:t,ref:this.setContentRef,style:r({},s,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,a);return this.props.overlayElement(c,d)}}]),t}(a.Component);b.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}}
838,b.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(f.default),s.default.instanceOf(p.SafeHTMLCollection),s.default.instanceOf(p.SafeNodeList),s.default.arrayOf(s.default.instanceOf(f.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=b,e.exports=t.default},76462:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){a&&(a.removeAttribute?a.removeAttribute("aria-hidden"):null!=a.length?a.forEach((function(e){return e.removeAttribute("aria-hidden")})):document.querySelectorAll(a).forEach((function(e){return e.removeAttribute("aria-hidden")}))),a=null},t.log=function(){},t.assertNodeList=s,t.setElement=function(e){var t=e;if("string"==typeof t&&i.canUseDOM){var n=document.querySelectorAll(t);s(n,t),t=n}return a=t||a},t.validateElement=l,t.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=l(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0)o.value.setAttribute("aria-hidden","true")}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=l(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0)o.value.removeAttribute("aria-hidden")}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){a=null};var r,o=(r=n(9771))&&r.__esModule?r:{default:r},i=n(60834),a=null;function s(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function l(e){var t=e||a;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,o.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},77727:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[i,a],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}i=a=null,s=[]},t.log=function(){console.log("bodyTrap ----------"),console.log(s.length);for(var e=[i,a],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var r,o=(r=n(49628))&&r.__esModule?r:{default:r},i=void 0,a=void 0,s=[];function l(){0!==s.length&&s[s.length-1].focusContent()}o.default.subscribe((function(e,t){i||a||((i=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),i.style.position="absolute",i.style.opacity="0",i.setAttribute("tabindex","0"),i.addEventListener("focus",l),(a=i.cloneNode()).addEventListener("focus",l)),(s=t).length>0?(document.body.firstChild!==i&&document.body.insertBefore(i,document.body.firstChild),document.body.lastChild!==a&&document.body.appendChild(a)):(i.parentElement&&i.parentElement.removeChild(i),a.parentElement&&a.parentElement.removeChild(a))}))},24838:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)o(e,n[t]);var i=document.body;for(var a in r)o(i,r[a]);n={},r={}},t.log=function(){};var n={},r={};function o(e,t){e.classList.remove(t)}t.add=function(e,t){return o=e.classList,i="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),o.add(e)}));var o,i},t.remove=function(e,t){return o=e.classList,i="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&o.remove(e)}));var o,i}},27791:(e,t,n)=>{"use strict";
838Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){i=[]},t.log=function(){},t.handleBlur=l,t.handleFocus=c,t.markForFocusLater=function(){i.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==i.length&&(t=i.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){i.length>0&&i.pop()},t.setupScopedFocus=function(e){a=e,window.addEventListener?(window.addEventListener("blur",l,!1),document.addEventListener("focus",c,!0)):(window.attachEvent("onBlur",l),document.attachEvent("onFocus",c))},t.teardownScopedFocus=function(){a=null,window.addEventListener?(window.removeEventListener("blur",l),document.removeEventListener("focus",c)):(window.detachEvent("onBlur",l),document.detachEvent("onFocus",c))};var r,o=(r=n(42411))&&r.__esModule?r:{default:r},i=[],a=null,s=!1;function l(){s=!0}function c(){if(s){if(s=!1,!a)return;setTimeout((function(){a.contains(document.activeElement)||((0,o.default)(a)[0]||a).focus()}),0)}}},49628:(e,t)=>
838{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(r.openInstances.length),r.openInstances.forEach((function(e){return console.log(e)})),console.log("end portalOpenInstances ----------")},t.resetState=function(){r=new n};var n=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(n){return n(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},r=new n;t.default=r},60834:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r,o=((r=n(50411))&&r.__esModule?r:{default:r}).default,i=o.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=o.canUseDOM?window.NodeList:{},t.canUseDOM=o.canUseDOM,t.default=i},57067:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e);if(n.length){var r=void 0,a=t.shiftKey,s=n[0],l=n[n.length-1],c=i();if(e===c){if(!a)return;r=l}if(l!==c||a||(r=s),s===c&&a&&(r=l),r)return t.preventDefault(),void r.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=u&&"Chrome"!=u[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var d=n.indexOf(c);if(d>-1&&(d+=a?-1:1),void 0===(r=n[d]))return t.preventDefault(),void(r=a?l:s).focus();t.preventDefault(),r.focus()}}else t.preventDefault()};var r,o=(r=n(42411))&&r.__esModule?r:{default:r};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?i(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default},42411:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){return[].slice.call(t.querySelectorAll("*"),0).reduce((function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])}),[]).filter(o)};var n=/input|select|textarea|button|object/;function r(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var n=window.getComputedStyle(e);return t?"visible"!==n.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0:"none"==n.getPropertyValue("display")}catch(e){return console.warn("Failed to inspect element style"),!1}}function o(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var o=isNaN(t);return(o||t>=0)&&function(e,t){var o=e.nodeName.toLowerCase();return(n.test(o)&&!e.disabled||"a"===o&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),r(t))return!1;t=t.parentNode}return!0}(e)}(e,!o)}e.exports=t.default},20312:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=(r=n(1720))&&r.__esModule?r:{default:r};t.default=o.default,e.exports=t.default},37229:(e,t,n)=>{"use strict";var r=n(24002),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return s((function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})}),[e,n,t]),a((function(){return c(o)&&u({inst:o}),e((function(){c(o)&&u({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},27730:(e,t,n)=>{"use strict";var r=n(24002),o=n(63878),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=o.useSyncExternalStore,s=r.useRef,l=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=s(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;d=c((function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==o&&p.hasValue){var t=p.value;if(o(t,e))return s=t}return s=e}if(t=s,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,s=n)}
838var a,s,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,o]);var f=a(e,d[0],d[1]);return l((function(){p.hasValue=!0,p.value=f}),[f]),u(f),f}},63878:(e,t,n)=>{"use strict";e.exports=n(37229)},42536:(e,t,n)=>{"use strict";e.exports=n(27730)},17988:function(e,t,n){var r;"undefined"!=typeof self&&self,e.exports=(r=n(24002),function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=7)}([function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var i=n(1),a=n.n(i),s=n(8),l=n.n(s),c=n(2),u=n(10),d=n.n(u),p=n(3),f=n(6),h=function(e){if(!e)return null;var t=Object.keys(e);return 0===t.length?null:t.reduce((function(t,n){return t[Object(c.a)(n)]=e[n],t}),{})},m=function(){var e=a.a.useRef(!1);return a.a.useEffect((function(){e.current=!0}),[]),e.current},g=function(e){var t=function(){return function(e){return e.query||Object(p.a)(e)}(e)},n=r(a.a.useState(t),2),o=n[0],i=n[1];return a.a.useEffect((function(){var e=t();o!==e&&i(e)}),[e]),o};t.a=function(e,t,n){var o=function(e){var t=a.a.useContext(f.a),n=function(){return h(e)||h(t)},o=r(a.a.useState(n),2),i=o[0],s=o[1];return a.a.useEffect((function(){var e=n();d()(i,e)||s(e)}),[e,t]),i}(t),i=g(e);if(!i)throw new Error("Invalid or missing MediaQuery!");var s=function(e,t){var n=function(){return l()(e,t||{},!!t)},o=r(a.a.useState(n),2),i=o[0],s=o[1],c=m();return a.a.useEffect((function(){return c&&s(n()),function(){i.dispose()}}),[e,t]),i}(i,o),c=function(e){var t=r(a.a.useState(e.matches),2),n=t[0],o=t[1];return a.a.useEffect((function(){var t=function(){o(e.matches)};return e.addListener(t),t(),function(){e.removeListener(t)}}),[e]),n}(s),u=m();return a.a.useEffect((function(){u&&n&&n(c)}),[c]),c}},function(e,t){e.exports=r},function(e,t,n){"use strict";function r(e){return"-"+e.toLowerCase()}var o=/[A-Z]/g,i=/^ms-/,a={};t.a=function(e){if(a.hasOwnProperty(e))return a[e];var t=e.replace(o,r);return a[e]=i.test(t)?"-"+t:t}},function(e,t,n){"use strict";var r=n(2),o=n(11);t.a=function(e){var t=[];return Object.keys(o.a.all).forEach((function(n){var o=e[n];null!=o&&t.push(function(e,t){var n=Object(r.a)(e);return"number"==typeof t&&(t="".concat(t,"px")),!0===t?n:!1===t?"not ".concat(n):"(".concat(n,": ").concat(t,")")}(n,o))})),t.join(" and ")}},function(e,t,n){"use strict";e.exports=n(13)},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(1),o=n.n(r).a.createContext();t.a=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(17),i=n(3),a=n(6);n.d(t,"default",(function(){return o.a})),n.d(t,"useMediaQuery",(function(){return r.a})),n.d(t,"toQuery",(function(){return i.a})),n.d(t,"Context",(function(){return a.a}))},function(e,t,n){"use strict";function r(e,t,n){function r(e){a.matches=e.matches,a.media=e.media}var a=this;if(i&&!n){var s=i.call(window,e);this.matches=s.matches,this.media=s.media,s.addListener(r)}else this.matches=o(e,t),this.media=e;this.addListener=function(e){s&&s.addListener(e)},this.removeListener=function(e){s&&s.removeListener(e)},this.dispose=function(){s&&s.removeListener(r)}}var o=n(9).match,i="undefined"!=typeof window?window.matchMedia:null;e.exports=function(e,t,n){return new r(e,t,n)}},function(e,t,n){"use strict";function r(e){return e.split(",").map((function(e){var t=(e=e.trim()).match(s),n=t[1],r=t[2],o=t[3]||"",i={};return i.inverse=!!n&&"not"===n.toLowerCase(),i.type=r?r.toLowerCase():"all",o=o.match(/\([^\)]+\)/g)||[],i.expressions=o.map((function(e){var t=e.match(l),n=t[1].toLowerCase().match(c);return{modifier:n[1],feature:n[2],value:t[2]}})),i}))}function o(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function i(e){var t=parseFloat(e);switch(String(e).match(d)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function a(e){var t=parseFloat(e);switch(String(e).match(u)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}t.match=function(e,t){return r(e).some((function(e){var n=e.inverse,r="all"===e.type||t.type===e.type;if(r&&n||!r&&!n)return!1;var s=e.expressions.every((function(e){var n=e.feature,r=e.modifier,s=e.value,l=t[n];if(!l)return!1;switch(n){case"orientation":case"scan":return l.toLowerCase()===s.toLowerCase();case"width":case"height":case"device-width":case"device-height":s=a(s),l=a(l);break;case"resolution":s=i(s),l=i(l);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":s=o(s),l=o(l);break;case"grid":case"color":case"color-index":case"monochrome":s=parseInt(s,10)||1,l=parseInt(l,10)||0}switch(r){case"min":return l>=s;case"max":return l<=s;default:return l===s}}));return s&&!n||!s&&n}))},t.parse=r;var s=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,l=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,c=/^(?:(min|max)-)?(.+)/,u=/(em|rem|px|cm|mm|in|pt|pc)?$/,d=/(dpi|dpcm|dppx)?$/},function(e,t,n){"use strict";e.exports=function(e,t){if(e===t)return!0;
838if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0;i<o;i++){var a=n[i];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=n(12),s=n.n(a),l=s.a.oneOfType([s.a.string,s.a.number]),c={orientation:s.a.oneOf(["portrait","landscape"]),scan:s.a.oneOf(["progressive","interlace"]),aspectRatio:s.a.string,deviceAspectRatio:s.a.string,height:l,deviceHeight:l,width:l,deviceWidth:l,color:s.a.bool,colorIndex:s.a.bool,monochrome:s.a.bool,resolution:l},u=o({minAspectRatio:s.a.string,maxAspectRatio:s.a.string,minDeviceAspectRatio:s.a.string,maxDeviceAspectRatio:s.a.string,minHeight:l,maxHeight:l,minDeviceHeight:l,maxDeviceHeight:l,minWidth:l,maxWidth:l,minDeviceWidth:l,maxDeviceWidth:l,minColor:s.a.number,maxColor:s.a.number,minColorIndex:s.a.number,maxColorIndex:s.a.number,minMonochrome:s.a.number,maxMonochrome:s.a.number,minResolution:l,maxResolution:l},c),d={all:s.a.bool,grid:s.a.bool,aural:s.a.bool,braille:s.a.bool,handheld:s.a.bool,print:s.a.bool,projection:s.a.bool,screen:s.a.bool,tty:s.a.bool,tv:s.a.bool,embossed:s.a.bool},p=o(o({},d),u);c.type=Object.keys(d),t.a={all:p,types:d,matchers:c,features:u}},function(e,t,n){var r=n(4);e.exports=n(14)(r.isElement,!0)},function(e,t,n){"use strict";!function(){function e(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:var n=e.type;switch(n){case d:case p:case a:case l:case s:case h:return n;default:var r=n&&n.$$typeof;switch(r){case u:case f:case v:case g:case c:return r;default:return t}}case i:return t}}}function n(t){return e(t)===p}var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119,k=d,C=p,E=u,S=c,O=o,A=f,_=a,P=v,j=g,T=i,I=l,L=s,N=h,R=!1;t.AsyncMode=k,t.ConcurrentMode=C,t.ContextConsumer=E,t.ContextProvider=S,t.Element=O,t.ForwardRef=A,t.Fragment=_,t.Lazy=P,t.Memo=j,t.Portal=T,t.Profiler=I,t.StrictMode=L,t.Suspense=N,t.isAsyncMode=function(t){return R||(R=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),n(t)||e(t)===d},t.isConcurrentMode=n,t.isContextConsumer=function(t){return e(t)===u},t.isContextProvider=function(t){return e(t)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(t){return e(t)===f},t.isFragment=function(t){return e(t)===a},t.isLazy=function(t){return e(t)===v},t.isMemo=function(t){return e(t)===g},t.isPortal=function(t){return e(t)===i},t.isProfiler=function(t){return e(t)===l},t.isStrictMode=function(t){return e(t)===s},t.isSuspense=function(t){return e(t)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===l||e===s||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===g||e.$$typeof===c||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===w||e.$$typeof===x||e.$$typeof===y)},t.typeOf=e}()},function(e,t,n){"use strict";function r(){return null}var o,i=n(4),a=n(15),s=n(5),l=n(16),c=Function.call.bind(Object.prototype.hasOwnProperty);o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},e.exports=function(e,t){function n(e){this.message=e,this.stack=""}function u(e){function r(r,l,c,u,d,p,f){if(u=u||y,p=p||c,f!==s){if(t){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}if("undefined"!=typeof console){var m=u+":"+c;!i[m]&&a<3&&(o("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),i[m]=!0,a++)}}return null==l[c]?r?new n(null===l[c]?"The "+d+" `"+p+"` is marked as required in `"+u+"`, but its value is `null`.":"The "+d+" `"+p+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(l,c,u,d,p)}var i={},a=0,l=r.bind(null,!1);return l.isRequired=r.bind(null,!0),l}function d(e){return u((function(t,r,o,i,a,s){var l=t[r];return f(l)!==e?new n("Invalid "+i+" `"+a+"` of type `"+h(l)+"` supplied to `"+o+"`, expected `"+e+"`."):null}))}function p(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(p);if(null===t||e(t))return!0;var n=function(e){var t=e&&(g&&e[g]||e[v]);if("function"==typeof t)return t}(t);if(!n)return!1;var r,o=n.call(t);if(n!==t.entries){for(;!(r=o.next()).done;)if(!p(r.value))return!1}else for(;!(r=o.next()).done;){var i=r.value;if(i&&!p(i[1]))return!1}return!0;default:return!1}}function f(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function h(e){if(null==e)return""+e;var t=f(e);
838if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function m(e){var t=h(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}var g="function"==typeof Symbol&&Symbol.iterator,v="@@iterator",y="<<anonymous>>",b={array:d("array"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:u(r),arrayOf:function(e){return u((function(t,r,o,i,a){if("function"!=typeof e)return new n("Property `"+a+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var l=t[r];if(!Array.isArray(l))return new n("Invalid "+i+" `"+a+"` of type `"+f(l)+"` supplied to `"+o+"`, expected an array.");for(var c=0;c<l.length;c++){var u=e(l,c,o,i,a+"["+c+"]",s);if(u instanceof Error)return u}return null}))},element:u((function(t,r,o,i,a){var s=t[r];return e(s)?null:new n("Invalid "+i+" `"+a+"` of type `"+f(s)+"` supplied to `"+o+"`, expected a single ReactElement.")})),elementType:u((function(e,t,r,o,a){var s=e[t];return i.isValidElementType(s)?null:new n("Invalid "+o+" `"+a+"` of type `"+f(s)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return u((function(t,r,o,i,a){if(!(t[r]instanceof e)){var s=e.name||y;return new n("Invalid "+i+" `"+a+"` of type `"+(((l=t[r]).constructor&&l.constructor.name?l.constructor.name:y)+"` supplied to `")+o+"`, expected instance of `"+s+"`.")}var l;return null}))},node:u((function(e,t,r,o,i){return p(e[t])?null:new n("Invalid "+o+" `"+i+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(e){return u((function(t,r,o,i,a){if("function"!=typeof e)return new n("Property `"+a+"` of component `"+o+"` has invalid PropType notation inside objectOf.");var l=t[r],u=f(l);if("object"!==u)return new n("Invalid "+i+" `"+a+"` of type `"+u+"` supplied to `"+o+"`, expected an object.");for(var d in l)if(c(l,d)){var p=e(l,d,o,i,a+"."+d,s);if(p instanceof Error)return p}return null}))},oneOf:function(e){return Array.isArray(e)?u((function(t,r,o,i,a){for(var s=t[r],l=0;l<e.length;
838l++)if(c=s,u=e[l],c===u?0!==c||1/c==1/u:c!=c&&u!=u)return null;var c,u,d=JSON.stringify(e,(function(e,t){return"symbol"===h(t)?String(t):t}));return new n("Invalid "+i+" `"+a+"` of value `"+String(s)+"` supplied to `"+o+"`, expected one of "+d+".")})):(o(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),r)},oneOfType:function(e){if(!Array.isArray(e))return o("Invalid argument supplied to oneOfType, expected an instance of array."),r;for(var t=0;t<e.length;t++){var i=e[t];if("function"!=typeof i)return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+m(i)+" at index "+t+"."),r}return u((function(t,r,o,i,a){for(var l=0;l<e.length;l++)if(null==(0,e[l])(t,r,o,i,a,s))return null;return new n("Invalid "+i+" `"+a+"` supplied to `"+o+"`.")}))},shape:function(e){return u((function(t,r,o,i,a){var l=t[r],c=f(l);if("object"!==c)return new n("Invalid "+i+" `"+a+"` of type `"+c+"` supplied to `"+o+"`, expected `object`.");for(var u in e){var d=e[u];if(d){var p=d(l,u,o,i,a+"."+u,s);if(p)return p}}return null}))},exact:function(e){return u((function(t,r,o,i,l){var c=t[r],u=f(c);if("object"!==u)return new n("Invalid "+i+" `"+l+"` of type `"+u+"` supplied to `"+o+"`, expected `object`.");var d=a({},t[r],e);for(var p in d){var h=e[p];if(!h)return new n("Invalid "+i+" `"+l+"` key `"+p+"` supplied to `"+o+"`.\nBad object: "+JSON.stringify(t[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=h(c,p,o,i,l+"."+p,s);if(m)return m}return null}))}};return n.prototype=Error.prototype,b.checkPropTypes=l,b.resetWarningCache=l.resetWarningCache,b.PropTypes=b,b}},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in n=Object(arguments[l]))o.call(n,c)&&(s[c]=n[c]);if(r){a=r(n);for(var u=0;u<a.length;u++)i.call(n,a[u])&&(s[a[u]]=n[a[u]])}}return s}},function(e,t,n){"use strict";function r(e,t,n,r,l){for(var c in e)if(s(e,c)){var u;try{if("function"!=typeof e[c]){var d=Error((r||"React class")+": "+n+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.");throw d.name="Invariant Violation",d}u=e[c](t,c,r,n,null,i)}catch(e){u=e}if(!u||u instanceof Error||o((r||"React class")+": type specification of "+n+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in a)){a[u.message]=!0;var p=l?l():"";o("Failed "+n+" type: "+u.message+(null!=p?p:""))}}}var o=function(){},i=n(5),a={},s=Function.call.bind(Object.prototype.hasOwnProperty);o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},r.resetWarningCache=function(){a={}},e.exports=r},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}
838t.a=function(e){var t=e.children,n=e.device,i=e.onChange,a=r(e,["children","device","onChange"]),s=Object(o.a)(a,n,i);return"function"==typeof t?t(s):s?t:null};var o=n(0)}]))},54625:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BrowserRouter:()=>d,HashRouter:()=>p,Link:()=>y,MemoryRouter:()=>r.fS,NavLink:()=>x,Prompt:()=>r.XG,Redirect:()=>r.rd,Route:()=>r.qh,Router:()=>r.Ix,StaticRouter:()=>r.kO,Switch:()=>r.dO,generatePath:()=>r.tW,matchPath:()=>r.B6,useHistory:()=>r.W6,useLocation:()=>r.zy,useParams:()=>r.g,useRouteMatch:()=>r.W5,withRouter:()=>r.y});var r=n(24180),o=n(77387),i=n(24002),a=n.n(i),s=n(17929),l=n(58168),c=n(98587),u=n(11561),d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,s.zR)(t.props),t}return(0,o.A)(t,e),t.prototype.render=function(){return a().createElement(r.Ix,{history:this.history,children:this.props.children})},t}(a().Component),p=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,s.TM)(t.props),t}return(0,o.A)(t,e),t.prototype.render=function(){return a().createElement(r.Ix,{history:this.history,children:this.props.children})},t}(a().Component),f=function(e,t){return"function"==typeof e?e(t):e},h=function(e,t){return"string"==typeof e?(0,s.yJ)(e,null,null,t):e},m=function(e){return e},g=a().forwardRef;void 0===g&&(g=m);var v=g((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=(0,c.A)(e,["innerRef","navigate","onClick"]),s=i.target,u=(0,l.A)({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||s&&"_self"!==s||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=m!==g&&t||n,a().createElement("a",u)})),y=g((function(e,t){var n=e.component,o=void 0===n?v:n,i=e.replace,s=e.to,d=e.innerRef,p=(0,c.A)(e,["component","replace","to","innerRef"]);return a().createElement(r.XZ.Consumer,null,(function(e){e||(0,u.A)(!1);var n=e.history,r=h(f(s,e.location),e.location),c=r?n.createHref(r):"",v=(0,l.A)({},p,{href:c,navigate:function(){var t=f(s,e.location);(i?n.replace:n.push)(t)}});return m!==g?v.ref=t||d:v.innerRef=d,a().createElement(o,v)}))})),b=function(e){return e},w=a().forwardRef;void 0===w&&(w=b);var x=w((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,s=void 0===i?"active":i,d=e.activeStyle,p=e.className,m=e.exact,g=e.isActive,v=e.location,x=e.sensitive,k=e.strict,C=e.style,E=e.to,S=e.innerRef,O=(0,c.A)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a().createElement(r.XZ.Consumer,null,(function(e){e||(0,u.A)(!1);var n=v||e.location,i=h(f(E,n),n),c=i.pathname,A=c&&c.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),_=A?(0,r.B6)(n.pathname,{path:A,exact:m,sensitive:x,strict:k}):null,P=!!(g?g(_,n):_),j=P?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(p,s):p,T=P?(0,l.A)({},C,{},d):C,I=(0,l.A)({"aria-current":P&&o||null,className:j,style:T,to:i},O);return b!==w?I.ref=t||S:I.innerRef=S,a().createElement(y,I)}))}))},24180:(e,t,n)=>{"use strict";n.d(t,{fS:()=>E,XG:()=>O,rd:()=>T,qh:()=>D,Ix:()=>C,kO:()=>U,dO:()=>H,XZ:()=>k,tW:()=>j,B6:()=>R,W6:()=>$,zy:()=>G,g:()=>K,W5:()=>Z,y:()=>q});var r=n(77387),o=n(24002),i=n.n(o),a=n(17929),s=n(5556),l=n.n(s),c=1073741823,u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};const d=i().createContext||function(e,t){var n,i,a,s="__create-react-context-"+((u[a="__global_unique_id__"]=(u[a]||0)+1)+"__"),d=function(e){function n(){var t,n,r;return(t=e.apply(this,arguments)||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.A)(n,e);var o=n.prototype;return o.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},o.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((i=r)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?n=0:(n="function"==typeof t?t(r,o):c,0!=(n|=0)&&this.emitter.set(e.value,n))}var i,a},o.render=function(){return this.props.children},n}(o.Component);d.childContextTypes=((n={})[s]=l().object.isRequired,n);var p=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){e.observedBits&n&&e.setState({value:e.getValue()})},e}(0,r.A)(n,t);var o=n.prototype;return o.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?c:t},o.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?c:e},o.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},o.getValue=function(){return this.context[s]?this.context[s].get():e},o.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(o.Component);return p.contextTypes=((i={})[s]=l().object,i),{Provider:d,Consumer:p}};var p=n(11561),f=n(58168),h=n(8505),m=n.n(h),g=(n(37564),n(98587)),v=n(4146),y=n.n(v),b=function(e){var t=d();return t.displayName=e,t},w=b("Router-History"),x=function(e){var t=d();return t.displayName=e,t},k=x("Router"),C=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}(0,r.A)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pe
838ndingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return i().createElement(k.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i().createElement(w.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i().Component),E=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,a.sC)(t.props),t}return(0,r.A)(t,e),t.prototype.render=function(){return i().createElement(C,{history:this.history,children:this.props.children})},t}(i().Component),S=function(e){function t(){return e.apply(this,arguments)||this}(0,r.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(i().Component);function O(e){var t=e.message,n=e.when,r=void 0===n||n;return i().createElement(k.Consumer,null,(function(e){if(e||(0,p.A)(!1),!r||e.staticContext)return null;var n=e.history.block;return i().createElement(S,{onMount:function(e){e.release=n(t)},onUpdate:function(e,r){r.message!==t&&(e.release(),e.release=n(t))},onUnmount:function(e){e.release()},message:t})}))}var A={},_=1e4,P=0;function j(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(A[e])return A[e];var t=m().compile(e);return P<_&&(A[e]=t,P++),t}(e)(t,{pretty:!0})}function T(e){var t=e.computedMatch,n=e.to,r=e.push,o=void 0!==r&&r;return i().createElement(k.Consumer,null,(function(e){e||(0,p.A)(!1);var r=e.history,s=e.staticContext,l=o?r.push:r.replace,c=(0,a.yJ)(t?"string"==typeof n?j(n,t.params):(0,f.A)({},n,{pathname:j(n.pathname,t.params)}):n);return s?(l(c),null):i().createElement(S,{onMount:function(){l(c)},onUpdate:function(e,t){var n=(0,a.yJ)(t.to);(0,a.Fu)(n,(0,f.A)({},c,{key:n.key}))||l(c)},to:n})}))}var I={},L=1e4,N=0;function R(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,s=void 0!==a&&a,l=n.sensitive,c=void 0!==l&&l;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=I[n]||(I[n]={});if(r[e])return r[e];var o=[],i={regexp:m()(e,o,t),keys:o};return N<L&&(r[e]=i,N++),i}(n,{end:i,strict:s,sensitive:c}),o=r.regexp,a=r.keys,l=o.exec(e);if(!l)return null;var u=l[0],d=l.slice(1),p=e===u;return i&&!p?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:p,params:a.reduce((function(e,t,n){return e[t.name]=d[n],e}),{})}}),null)}var D=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return i().createElement(k.Consumer,null,(function(t){t||(0,p.A)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?R(n.pathname,e.props):t.match,o=(0,f.A)({},t,{location:n,match:r}),a=e.props,s=a.children,l=a.component,c=a.render;return Array.isArray(s)&&0===s.length&&(s=null),i().createElement(k.Provider,{value:o},o.match?s?"function"==typeof s?s(o):s:l?i().createElement(l,o):c?c(o):null:"function"==typeof s?s(o):null)}))},t}(i().Component);function F(e){return"/"===e.charAt(0)?e:"/"+e}function M(e,t){if(!e)return t;var n=F(e);return 0!==t.pathname.indexOf(n)?t:(0,f.A)({},t,{pathname:t.pathname.substr(n.length)})}function B(e){return"string"==typeof e?e:(0,a.AO)(e)}function V(e){return function(){(0,p.A)(!1)}}function z(){}var U=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handlePush=function(e){return t.navigateTo(e,"PUSH")},t.handleReplace=function(e){return t.navigateTo(e,"REPLACE")},t.handleListen=function(){return z},t.handleBlock=function(){return z},t}(0,r.A)(t,e);var n=t.prototype;return n.navigateTo=function(e,t){var n=this.props,r=n.basename,o=void 0===r?"":r,i=n.context,s=void 0===i?{}:i;s.action=t,s.location=function(e,t){return e?(0,f.A)({},t,{pathname:F(e)+t.pathname}):t}(o,(0,a.yJ)(e)),s.url=B(s.location)},n.render=function(){var e=this.props,t=e.basename,n=void 0===t?"":t,r=e.context,o=void 0===r?{}:r,s=e.location,l=void 0===s?"/":s,c=(0,g.A)(e,["basename","context","location"]),u={createHref:function(e){return F(n+B(e))},action:"POP",location:M(n,(0,a.yJ)(l)),push:this.handlePush,replace:this.handleReplace,go:V(),goBack:V(),goForward:V(),listen:this.handleListen,block:this.handleBlock};return i().createElement(C,(0,f.A)({},c,{history:u,staticContext:o}))},t}(i().Component),H=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return i().createElement(k.Consumer,null,(function(t){t||(0,p.A)(!1);var n,r,o=e.props.location||t.location;
838return i().Children.forEach(e.props.children,(function(e){if(null==r&&i().isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?R(o.pathname,(0,f.A)({},e.props,{path:a})):t.match}})),r?i().cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i().Component);function q(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=(0,g.A)(t,["wrappedComponentRef"]);return i().createElement(k.Consumer,null,(function(t){return t||(0,p.A)(!1),i().createElement(e,(0,f.A)({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,y()(n,e)}var W=i().useContext;function $(){return W(w)}function G(){return W(k).location}function K(){var e=W(k).match;return e?e.params:{}}function Z(e){var t=G(),n=W(k).match;return e?R(t.pathname,e):n}},9375:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},8505:(e,t,n)=>{var r=n(9375);e.exports=function e(t,n,o){return r(n)||(o=n||o,n=[]),o=o||{},t instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(t,n):r(t)?function(t,n,r){for(var o=[],i=0;i<t.length;i++)o.push(e(t[i],n,r).source);return u(new RegExp("(?:"+o.join("|")+")",d(r)),n)}(t,n,o):function(e,t,n){return p(i(e,n),t,n)}(t,n,o)},e.exports.parse=i,e.exports.compile=function(e,t){return s(i(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,s="",u=t&&t.delimiter||"/";null!=(n=o.exec(e));){var d=n[0],p=n[1],f=n.index;if(s+=e.slice(a,f),a=f+d.length,p)s+=p[1];else{var h=e[a],m=n[2],g=n[3],v=n[4],y=n[5],b=n[6],w=n[7];s&&(r.push(s),s="");var x=null!=m&&null!=h&&h!==m,k="+"===b||"*"===b,C="?"===b||"*"===b,E=n[2]||u,S=v||y;r.push({name:g||i++,prefix:m||"",delimiter:E,optional:C,repeat:k,partial:x,asterisk:!!w,pattern:S?c(S):w?".*":"[^"+l(E)+"]+?"})}}return a<e.length&&(s+=e.substr(a)),s&&r.push(s),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",d(t)));return function(t,o){for(var i="",s=t||{},l=(o||{}).pretty?a:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var d,p=s[u.name];if(null==p){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(p)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var f=0;f<p.length;f++){if(d=l(p[f]),!n[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");i+=(0===f?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(p),!n[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');i+=u.prefix+d}}else i+=u}return i}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)a+=l(c);else{var p=l(c.prefix),f="(?:"+c.pattern+")";t.push(c),c.repeat&&(f+="(?:"+p+f+")*"),a+=f=c.optional?c.partial?p+"("+f+")?":"(?:"+p+"("+f+"))?":p+"("+f+")"}}var h=l(n.delimiter||"/"),m=a.slice(-h.length)===h;return o||(a=(m?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=i?"$":o&&m?"":"(?="+h+"|$)",u(new RegExp("^"+a,d(n)),t)}},14912:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for;n&&Symbol.for("react.element"),n&&Symbol.for("react.portal"),n&&Symbol.for("react.fragment"),n&&Symbol.for("react.strict_mode"),n&&Symbol.for("react.profiler"),n&&Symbol.for("react.provider"),n&&Symbol.for("react.context"),n&&Symbol.for("react.async_mode"),n&&Symbol.for("react.concurrent_mode"),n&&Symbol.for("react.forward_ref"),n&&Symbol.for("react.suspense"),n&&Symbol.for("react.suspense_list"),n&&Symbol.for("react.memo"),n&&Symbol.for("react.lazy"),n&&Symbol.for("react.block"),n&&Symbol.for("react.fundamental"),n&&Symbol.for("react.responder"),n&&Symbol.for("react.scope")}
838,37564:(e,t,n)=>{"use strict";n(14912)},75392:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(24002),s=n(18036),l=i(n(25569));t.errorMessage1="You must either add a `ref` to the element you are interacting with or pass an `event` to openPortal(e) or togglePortal(e).",t.default=function(e){void 0===e&&(e={});var n=e.closeOnOutsideClick,i=void 0===n||n,c=e.closeOnEsc,u=void 0===c||c,d=e.bindTo,p=e.isOpen,f=void 0!==p&&p,h=e.onOpen,m=e.onClose,g=e.onPortalClick,v=o(e,["closeOnOutsideClick","closeOnEsc","bindTo","isOpen","onOpen","onClose","onPortalClick"]),y=l.default(),b=y.isServer,w=y.isBrowser,x=a.useState(f),k=x[0],C=x[1],E=a.useRef(k),S=a.useCallback((function(e){E.current=e,C(e)}),[]),O=a.useRef(),A=a.useRef(w?document.createElement("div"):null);a.useEffect((function(){w&&!A.current&&(A.current=document.createElement("div"))}),[w,A]);var _=a.useMemo((function(){if(!b)return d&&s.findDOMNode(d)||document.body}),[b,d]),P=function(e){if(!e)return{portal:A,targetEl:O,event:e};var t=e||{};t.persist&&t.persist(),t.portal=A,t.targetEl=O,t.event=e;var n=e.currentTarget;return!O.current&&n&&n!==document&&(O.current=t.currentTarget),t},j=Object.entries(v).reduce((function(e,t){var n=t[0],r=t[1];return e[n]=function(e){b||r(P(e))},e}),{}),T=a.useCallback((function(e){if(!b){var n=P(e);if(null==O.current)throw setTimeout((function(){return S(!0)}),0),Error(t.errorMessage1);h&&h(n),S(!0)}}),[b,A,S,O,h]),I=a.useCallback((function(e){if(!b){var t=P(e);m&&E.current&&m(t),E.current&&S(!1)}}),[b,m,S]),L=a.useCallback((function(e){return E.current?I(e):T(e)}),[I,T]),N=a.useCallback((function(e){return"Escape"===e.key&&u?I(e):void 0}),[u,I]),R=a.useCallback((function(e){var t=function(t){return t.current.contains(e.target)};t(A)||0!==e.button||!E.current||t(O)||i&&I(e)}),[b,I,i,A]),D=a.useCallback((function(e){if(!b&&A.current instanceof HTMLElement){var t=P(e);A.current.contains(t.target)&&g&&g(t),R(e)}}),[R]),F=a.useRef({});a.useEffect((function(){if(!b&&_ instanceof HTMLElement&&A.current instanceof HTMLElement){var e={onScroll:"scroll",onWheel:"wheel"},t=A.current;return _.appendChild(A.current),Object.entries(e).forEach((function(e){var t=e[0],n=e[1];v[t]&&(F.current[t]=function(e){return v[t](P(e))},document.addEventListener(n,F.current[t]))})),document.addEventListener("keydown",N),document.addEventListener("mousedown",D),function(){Object.entries(e).forEach((function(e){var t=e[0],n=e[1];v[t]&&(document.removeEventListener(n,F.current[t]),delete F.current[t])})),document.removeEventListener("keydown",N),document.removeEventListener("mousedown",D),_.removeChild(t)}}}),[b,R,N,_,A]);var M=a.useCallback((function(e){var t=e.children;return null!=A.current?s.createPortal(t,A.current):null}),[A]);return Object.assign([T,I,E.current,M,L,O,A],r(r({isOpen:E.current,openPortal:T,ref:O,closePortal:I,togglePortal:L,Portal:M,portalRef:A},j),{bind:r({ref:O},j)}))}},21020:(e,t,n)=>{"use strict";n(45228);var r=n(24002),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:a.current}}t.jsx=c,t.jsxs=c},15287:(e,t,n)=>{"use strict";var r=n(45228),o=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,s=60110,l=60112;t.Suspense=60113;var c=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var d=Symbol.for;o=d("react.element"),i=d("react.portal"),t.Fragment=d("react.fragment"),t.StrictMode=d("react.strict_mode"),t.Profiler=d("react.profiler"),a=d("react.provider"),s=d("react.context"),l=d("react.forward_ref"),t.Suspense=
vendor: 4,364 bytes, line 838
838d("react.suspense"),c=d("react.memo"),u=d("react.lazy")}var p="function"==typeof Symbol&&Symbol.iterator;function f(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function g(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function v(){}function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(f(85));this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=g.prototype;var b=y.prototype=new v;b.constructor=y,r(b,g.prototype),b.isPureReactComponent=!0;var w={current:null},x=Object.prototype.hasOwnProperty,k={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,n){var r,i={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)x.call(t,r)&&!k.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===i[r]&&(i[r]=l[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:w.current}}function E(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var S=/\/+/g;function O(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function A(e,t,n,r,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case o:case i:l=!0}}if(l)return a=a(l=e),e=""===r?"."+O(l,0):r,Array.isArray(a)?(n="",null!=e&&(n=e.replace(S,"$&/")+"/"),A(a,t,n,"",(function(e){return e}))):null!=a&&(E(a)&&(a=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(S,"$&/")+"/")+e)),t.push(a)),1;if(l=0,r=""===r?".":r+":",Array.isArray(e))for(var c=0;c<e.length;c++){var u=r+O(s=e[c],c);l+=A(s,t,n,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=A(s=s.value,t,n,u=r+O(s,c++),a);else if("object"===s)throw t=""+e,Error(f(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function _(e,t,n){if(null==e)return e;var r=[],o=0;return A(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function P(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var j={current:null};function T(){var e=j.current;if(null===e)throw Error(f(321));return e}var I={ReactCurrentDispatcher:j,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:_,forEach:function(e,t,n){_(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return _(e,(function(){t++})),t},toArray:function(e){return _(e,(function(e){return e}))||[]},only:function(e){if(!E(e))throw Error(f(143));return e}},t.Component=g,t.PureComponent=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,t.cloneElement=function(e,t,n){if(null==e)throw Error(f(267,e));var i=r({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=w.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)x.call(t,u)&&!k.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){c=Array(u);for(var d=0;d<u;d++)c[d]=arguments[d+2];i.children=c}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:l}}
838,t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return T().useCallback(e,t)},t.useContext=function(e,t){return T().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return T().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return T().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return T().useLayoutEffect(e,t)},t.useMemo=function(e,t){return T().useMemo(e,t)},t.useReducer=function(e,t,n){return T().useReducer(e,t,n)},t.useRef=function(e){return T().useRef(e)},t.useState=function(e){return T().useState(e)},t.version="17.0.2"},96540:(e,t,n)=>{"use strict";e.exports=n(15287)},74848:(e,t,n)=>{"use strict";e.exports=n(21020)}
vendor: 4,444 bytes, line 838
838,27243:(e,t,n)=>{"use strict";e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(e.exports,n(24002))},7463:(e,t)=>{"use strict";var n,r,o,i;if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,u=null,d=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(e){throw setTimeout(d,0),e}};n=function(e){null!==c?setTimeout(n,0,e):(c=e,setTimeout(d,0))},r=function(e,t){u=setTimeout(e,t)},o=function(){clearTimeout(u)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,f=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var m=!1,g=null,v=-1,y=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):y=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,x=w.port2;w.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();b=e+y;try{g(!0,e)?x.postMessage(null):(m=!1,g=null)}catch(e){throw x.postMessage(null),e}}else m=!1},n=function(e){g=e,m||(m=!0,x.postMessage(null))},r=function(e,n){v=p((function(){e(t.unstable_now())}),n)},o=function(){f(v),v=-1}}function k(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<S(o,t)))break e;e[r]=t,e[n]=o,n=r}}function C(e){return void 0===(e=e[0])?null:e}function E(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],s=i+1,l=e[s];if(void 0!==a&&0>S(a,n))void 0!==l&&0>S(l,a)?(e[r]=l,e[s]=n,r=s):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==l&&0>S(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function S(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var O=[],A=[],_=1,P=null,j=3,T=!1,I=!1,L=!1;function N(e){for(var t=C(A);null!==t;){if(null===t.callback)E(A);else{if(!(t.startTime<=e))break;E(A),t.sortIndex=t.expirationTime,k(O,t)}t=C(A)}}function R(e){if(L=!1,N(e),!I)if(null!==C(O))I=!0,n(D);else{var t=C(A);null!==t&&r(R,t.startTime-e)}}function D(e,n){I=!1,L&&(L=!1,o()),T=!0;var i=j;try{for(N(n),P=C(O);null!==P&&(!(P.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=P.callback;if("function"==typeof a){P.callback=null,j=P.priorityLevel;var s=a(P.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?P.callback=s:P===C(O)&&E(O),N(n)}else E(O);P=C(O)}if(null!==P)var l=!0;else{var c=C(A);null!==c&&r(R,c.startTime-n),l=!1}return l}finally{P=null,j=i,T=!1}}var F=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){I||T||(I=!0,n(D))},t.unstable_getCurrentPriorityLevel=function(){return j},t.unstable_getFirstCallbackNode=function(){return C(O)},t.unstable_next=function(e){switch(j){case 1:case 2:case 3:var t=3;break;default:t=j}var n=j;j=t;try{return e()}finally{j=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=j;j=e;try{return t()}finally{j=n}},t.unstable_scheduleCallback=function(e,i,a){var s=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?s+a:s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:_++,callback:i,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>
838s?(e.sortIndex=a,k(A,e),null===C(O)&&e===C(A)&&(L?o():L=!0,r(R,a-s))):(e.sortIndex=l,k(O,e),I||T||(I=!0,n(D))),e},t.unstable_wrapCallback=function(e){var t=j;return function(){var n=j;j=t;try{return e.apply(this,arguments)}finally{j=n}}}},69982:(e,t,n)=>{"use strict";e.exports=n(7463)},528:e=>{"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},24280:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},77232:function(e,t,n){var r;!function(o,i){"use strict";var a="function",s="undefined",l="object",c="string",u="major",d="model",p="name",f="type",h="vendor",m="version",g="architecture",v="console",y="mobile",b="tablet",w="smarttv",x="wearable",k="embedded",C="Amazon",E="Apple",S="ASUS",O="BlackBerry",A="Browser",_="Chrome",P="Firefox",j="Google",T="Huawei",I="LG",L="Microsoft",N="Motorola",R="Opera",D="Samsung",F="Sharp",M="Sony",B="Xiaomi",V="Zebra",z="Facebook",U="Chromium OS",H="Mac OS",q=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},W=function(e,t){return typeof e===c&&-1!==$(t).indexOf($(e))},$=function(e){return e.toLowerCase()},G=function(e,t){if(typeof e===c)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},K=function(e,t){for(var n,r,o,s,c,u,d=0;d<t.length&&!c;){var p=t[d],f=t[d+1];for(n=r=0;n<p.length&&!c&&p[n];)if(c=p[n++].exec(e))for(o=0;o<f.length;o++)u=c[++r],typeof(s=f[o])===l&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):i:this[s[0]]=u?s[1].call(this,u,s[2]):i:4===s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):i):this[s]=u||i;d+=2}},Z=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(W(t[n][r],e))return"?"===n?i:n}else if(W(t[n],e))return"?"===n?i:n;return e},Y={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},X={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[m,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[m,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,m],[/opios[\/ ]+([\w\.]+)/i],[m,[p,R+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[m,[p,R+" GX"]],[/\bopr\/([\w\.]+)/i],[m,[p,R]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[m,[p,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[p,m],[/\bddg\/([\w\.]+)/i],[m,[p,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[m,[p,"UC"+A]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[m,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[m,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[m,[p,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[m,[p,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[m,[p,"Smart Lenovo "+A]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+A],m],[/\bfocus\/([\w\.]+)/i],[m,[p,P+" Focus"]],[/\bopt\/([\w\.]+)/i],[m,[p,R+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[m,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[m,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[m,[p,R+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[m,[p,"MIUI "+A]],[/fxios\/([-\w\.]+)/i],[m,[p,P]],[/\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 "+A]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1 "+A],m],[/samsungbrowser\/([\w\.]+)/i],[m,[p,D+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[p,/_/g," "],m],[/metasr[\/ ]?([\d\.]+)/i],[m,[p,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[p,"Sogou Mobile"],m],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[p,m],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,z],m],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[p,m],[/\bgsa\/([\w\.]+) .*safari\//i],[m,[p,"GSA"]],[/musical_ly(?:.
vendor: 5,371 bytes, line 838
838+app_?version\/|_)([\w\.]+)/i],[m,[p,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[m,[p,_+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,_+" WebView"],m],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[m,[p,"Android "+A]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,m],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[m,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[m,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[m,Z,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[p,m],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],m],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[m,[p,P+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[p,m],[/(cobalt)\/([\w\.]+)/i],[p,[m,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,$]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,"",$]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,$]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[h,D],[f,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[h,D],[f,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[h,E],[f,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[h,E],[f,b]],[/(macintosh);/i],[d,[h,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[h,F],[f,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[h,T],[f,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[h,T],[f,y]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[h,B],[f,y]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[h,B],[f,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[h,"OPPO"],[f,y]],[/\b(opd2\d{3}a?) bui/i],[d,[h,"OPPO"],[f,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[h,"Vivo"],[f,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[h,"Realme"],[f,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[h,N],[f,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[h,N],[f,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[h,I],[f,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[h,I],[f,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[h,"Lenovo"],[f,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[h,"Nokia"],[f,y]],[/(pixel c)\b/i],[d,[h,j],[f,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[h,j],[f,y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[h,M],[f,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[h,M],[f,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[h,"OnePlus"],[f,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[h,C],[f,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[h,C],[f,y]],[/(playbook);[-\w\),; ]+(rim)/i],[d,h,[f,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[h,O],[f,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[h,S],[f,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[h,S],[f,y]],[/(nexus 9)/i],[d,[h,"HTC"],[f,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[d,/_/g," "],[f,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[h,"Acer"],[f,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[h,"Meizu"],[f,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[h,"Ulefone"],[f,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asu
vendor: 7,176 bytes, line 838
838s)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,d,[f,y]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,d,[f,b]],[/(surface duo)/i],[d,[h,L],[f,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[h,"Fairphone"],[f,y]],[/(u304aa)/i],[d,[h,"AT&T"],[f,y]],[/\bsie-(\w*)/i],[d,[h,"Siemens"],[f,y]],[/\b(rct\w+) b/i],[d,[h,"RCA"],[f,b]],[/\b(venue[\d ]{2,7}) b/i],[d,[h,"Dell"],[f,b]],[/\b(q(?:mv|ta)\w+) b/i],[d,[h,"Verizon"],[f,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[h,"Barnes & Noble"],[f,b]],[/\b(tm\d{3}\w+) b/i],[d,[h,"NuVision"],[f,b]],[/\b(k88) b/i],[d,[h,"ZTE"],[f,b]],[/\b(nx\d{3}j) b/i],[d,[h,"ZTE"],[f,y]],[/\b(gen\d{3}) b.+49h/i],[d,[h,"Swiss"],[f,y]],[/\b(zur\d{3}) b/i],[d,[h,"Swiss"],[f,b]],[/\b((zeki)?tb.*\b) b/i],[d,[h,"Zeki"],[f,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],d,[f,b]],[/\b(ns-?\w{0,9}) b/i],[d,[h,"Insignia"],[f,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[h,"NextBook"],[f,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],d,[f,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],d,[f,y]],[/\b(ph-1) /i],[d,[h,"Essential"],[f,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[h,"Envizen"],[f,b]],[/\b(trio[-\w\. ]+) b/i],[d,[h,"MachSpeed"],[f,b]],[/\btu_(1491) b/i],[d,[h,"Rotor"],[f,b]],[/(shield[\w ]+) b/i],[d,[h,"Nvidia"],[f,b]],[/(sprint) (\w+)/i],[h,d,[f,y]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[h,L],[f,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[h,V],[f,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[h,V],[f,y]],[/smart-tv.+(samsung)/i],[h,[f,w]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[h,D],[f,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,I],[f,w]],[/(apple) ?tv/i],[h,[d,E+" TV"],[f,w]],[/crkey/i],[[d,_+"cast"],[h,j],[f,w]],[/droid.+aft(\w+)( bui|\))/i],[d,[h,C],[f,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[h,F],[f,w]],[/(bravia[\w ]+)( bui|\))/i],[d,[h,M],[f,w]],[/(mitv-\w{5}) bui/i],[d,[h,B],[f,w]],[/Hbbtv.*(technisat) (.*);/i],[h,d,[f,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,G],[d,G],[f,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,d,[f,v]],[/droid.+; (shield) bui/i],[d,[h,"Nvidia"],[f,v]],[/(playstation [345portablevi]+)/i],[d,[h,M],[f,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[h,L],[f,v]],[/((pebble))app/i],[h,d,[f,x]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[h,E],[f,x]],[/droid.+; (glass) \d/i],[d,[h,j],[f,x]],[/droid.+; (wt63?0{2,3})\)/i],[d,[h,V],[f,x]],[/(quest( \d| pro)?)/i],[d,[h,z],[f,x]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[f,k]],[/(aeobc)\b/i],[d,[h,C],[f,k]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[f,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[f,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,y]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[m,[p,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[m,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[p,m],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[m,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,m],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[p,[m,Z,Y]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[m,Z,Y],[p,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[m,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,H],[m,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[m,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,m],[/\(bb(10);/i],[m,[p,O]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[m,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[m,[p,P+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[m,[p,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[m,[p,"watchOS"]],[/crkey\/([\d\.]+)/i],[m,[p,_+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,U],m],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,m],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],m],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[p,m]]},Q=function(e,t){if(typeof e===l&&(t=e,e=i),!(this instanceof Q))return new Q(e,t).getResult();var n=typeof o!==s&&o.navigator?o.navigator:i,r=e||(n&&n.userAgent?n.userAgent:""),v=n&&n.userAgentData?n.userAgentData:i,w=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(X,t):X,x=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[p]=i,t[m]=i,K.call(t,r,w.browser),t[u]=typeof(e=t[m])===c?e.replace(/[^\d\.]/g,"").split(".")[0]:i,x&&n&&n.brave&&typeof n.brave.isBrave==a&&(t[p]="Brave"),t},this.getCPU=function(){var e={};return e[g]=i,K.call(e,r,w.cpu),e},this.getDevice=function(){var e={};return e[h]=i,e[d]=i,e[f]=i,K.call(e,r,w.device),x&&!e[f]&&v&&v.mobile&&(e[f]=y),x&&"Macintosh"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[f]=b),e},this.getEngine=function(){var e={};return e[p]=i,e[m]=i,K.call(e,r,w.engine),e},this.getOS=function(){var e={};return e[p]=i,e[m]=i,K.call(e,r,w.os),x&&!e[p]&&v&&v.platform&&"Unknown"!=v.platform&&(e[p]=v.platform.replace(/chrome os/i,U).replace(/macos/i,H)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===c&&e.length>500?G(e,500):e,this},this.setUA(r),this};
838Q.VERSION="1.0.38",Q.BROWSER=q([p,m,u]),Q.CPU=q([g]),Q.DEVICE=q([d,h,f,v,y,w,b,x,k]),Q.ENGINE=Q.OS=q([p,m]),typeof t!==s?(e.exports&&(t=e.exports=Q),t.UAParser=Q):n.amdO?(r=function(){return Q}.call(t,n,t,e))===i||(e.exports=r):typeof o!==s&&(o.UAParser=Q);var J=typeof o!==s&&(o.jQuery||o.Zepto);if(J&&!J.ua){var ee=new Q;J.ua=ee.getResult(),J.ua.get=function(){return ee.getUA()},J.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)J.ua[n]=t[n]}}}("object"==typeof window?window:this)},25569:function(e,t){"use strict";var n,r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Browser="browser",e.Server="server",e.Native="native"}(n=t.Device||(t.Device={}));var o=n.Browser,i=n.Server,a=n.Native,s=!("undefined"==typeof window||!window.document||!window.document.createElement),l="undefined"!=typeof navigator&&"ReactNative"==navigator.product?a:s?o:i,c={isBrowser:l===o,isServer:l===i,isNative:l===a,device:l,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:l===o&&!!window.addEventListener,canUseViewport:l===o&&!!window.screen},u=function(){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.reduce((function(e,t){return r(r({},e),t)}),{})}((e=c,Object.keys(e).map((function(t){return e[t]})),c));var e},d=u();t.weAreServer=function(){c.isServer=!0,d=u()},t.useSSR=function(){return d},t.default=t.useSSR},58493:(e,t,n)=>{"use strict";var r=n(24002),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return s((function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})}),[e,n,t]),a((function(){return c(o)&&u({inst:o}),e((function(){c(o)&&u({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},19888:(e,t,n)=>{"use strict";e.exports=n(58493)},34915:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},4909:e=>{new Set,e.exports=function(e,...t){}},9771:e=>{"use strict";e.exports=function(){}},64374:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},95289:e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},92304:(e,t,n)=>{var r=n(57167);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},82629:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},89905:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},89601:e=>{e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},49007:e=>{e.exports=function(){throw new TypeError("Invalid attempt to de
838structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},77932:(e,t,n)=>{var r=n(95289),o=n(89601),i=n(20135),a=n(49007);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},70314:(e,t,n)=>{var r=n(67995).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},57167:(e,t,n)=>{var r=n(67995).default,o=n(70314);e.exports=function(e){var t=o(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},67995:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},20135:(e,t,n)=>{var r=n(64374);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},79306:(e,t,n)=>{"use strict";var r=n(94901),o=n(16823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},73506:(e,t,n)=>{"use strict";var r=n(13925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},97080:(e,t,n)=>{"use strict";var r=n(94402).has;e.exports=function(e){return r(e),e}},6469:(e,t,n)=>{"use strict";var r=n(78227),o=n(2360),i=n(24913).f,a=r("unscopables"),s=Array.prototype;void 0===s[a]&&i(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},90679:(e,t,n)=>{"use strict";var r=n(1625),o=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw new o("Incorrect invocation")}},28551:(e,t,n)=>{"use strict";var r=n(20034),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},77811:e=>{"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},67394:(e,t,n)=>{"use strict";var r=n(44576),o=n(46706),i=n(22195),a=r.ArrayBuffer,s=r.TypeError;e.exports=a&&o(a.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==i(e))throw new s("ArrayBuffer expected");return e.byteLength}},3238:(e,t,n)=>{"use strict";var r=n(44576),o=n(77811),i=n(67394),a=r.DataView;e.exports=function(e){if(!o||0!==i(e))return!1;try{return new a(e),!1}catch(e){return!0}}},55169:(e,t,n)=>{"use strict";var r=n(3238),o=TypeError;e.exports=function(e){if(r(e))throw new o("ArrayBuffer is detached");return e}},95636:(e,t,n)=>{"use strict";var r=n(44576),o=n(79504),i=n(46706),a=n(57696),s=n(55169),l=n(67394),c=n(94483),u=n(1548),d=r.structuredClone,p=r.ArrayBuffer,f=r.DataView,h=Math.min,m=p.prototype,g=f.prototype,v=o(m.slice),y=i(m,"resizable","get"),b=i(m,"maxByteLength","get"),w=o(g.getInt8),x=o(g.setInt8);e.exports=(u||c)&&function(e,t,n){var r,o=l(e),i=void 0===t?o:a(t),m=!y||!y(e);if(s(e),u&&(e=d(e,{transfer:[e]}),o===i&&(n||m)))return e;if(o>=i&&(!n||m))r=v(e,0,i);else{var g=n&&!m&&b?{maxByteLength:b(e)}:void 0;r=new p(i,g);for(var k=new f(e),C=new f(r),E=h(i,o),S=0;S<E;S++)x(C,S,w(k,S))}return u||c(e),r}},94644:(e,t,n)=>{"use strict";var r,o,i,a=n(77811),s=n(43724),l=n(44576),c=n(94901),u=n(20034),d=n(39297),p=n(36955),f=n(16823),h=n(66699),m=n(36840),g=n(62106),v=n(1625),y=n(42787),b=n(52967),w=n(78227),x=n(33392),k=n(91181),C=k.enforce,E=k.get,S=l.Int8Array,O=S&&S.prototype,A=l.Uint8ClampedArray,_=A&&A.prototype,P=S&&y(S),j=O&&y(O),T=Object.prototype,I=l.TypeError,L=w("toStringTag"),N=x("TYPED_ARRAY_TAG"),R="TypedArrayConstructor",D=a&&!!b&&"Opera"!==p(l.opera),F=!1,M={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},B={BigInt64Array:8,BigUint64Array:8},V=function(e){var t=y(e);if(u(t)){var n=E(t);return n&&d(n,R)?n[R]:V(t)}},z=function(e){if(!u(e))return!1;var t=p(e);return d(M,t)||d(B,t)};for(r in M)(i=(o=l[r])&&o.prototype)?C(i)[R]=o:D=!1;for(r in B)(i=(o=l[r])&&o.prototype)&&(C(i)[R]=o);if((!D||!c(P)||P===Function.prototype)&&(P=function(){throw new I("Incorrect invocation")},D))for(r in M)l[r]&&b(l[r],P);if((!D||!j||j===T)&&(j=P.prototype,D))for(r in M)l[r]&&b(l[r].prototype,j);if(D&&y(_)!==j&&b(_,j),s&&!d(j,L))for(r in F=!0,g(j,L,{configurable:!0,get:function(){return u(this)?this[N]:void 0}}),M)l[r]&&h(l[r],N,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:D,TYPED_ARRAY_TAG:F&&N,aTypedArray:function(e){if(z(e))return e;throw new I("Target is not a typed array")},aTypedArrayConstructor:function(e){if(c(e)&&(!b||v(P,e)))return e;throw new I(f(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,r){if(s){if(n)for(var o in M){var i=l[o];if(i&&d(i.prototype,e))try{delete i.prototype[e]}catch(n){try{i.prototype[e]=t}catch(e){}}}
vendor: 4,858 bytes, line 838
838j[e]&&!n||m(j,e,n?t:D&&O[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(s){if(b){if(n)for(r in M)if((o=l[r])&&d(o,e))try{delete o[e]}catch(e){}if(P[e]&&!n)return;try{return m(P,e,n?t:D&&P[e]||t)}catch(e){}}for(r in M)!(o=l[r])||o[e]&&!n||m(o,e,t)}},getTypedArrayConstructor:V,isView:function(e){if(!u(e))return!1;var t=p(e);return"DataView"===t||d(M,t)||d(B,t)},isTypedArray:z,TypedArray:P,TypedArrayPrototype:j}},35370:(e,t,n)=>{"use strict";var r=n(26198);e.exports=function(e,t,n){for(var o=0,i=arguments.length>2?n:r(t),a=new e(i);i>o;)a[o]=t[o++];return a}},19617:(e,t,n)=>{"use strict";var r=n(25397),o=n(35610),i=n(26198),a=function(e){return function(t,n,a){var s=r(t),l=i(s);if(0===l)return!e&&-1;var c,u=o(a,l);if(e&&n!=n){for(;l>u;)if((c=s[u++])!=c)return!0}else for(;l>u;u++)if((e||u in s)&&s[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},43839:(e,t,n)=>{"use strict";var r=n(76080),o=n(47055),i=n(48981),a=n(26198),s=function(e){var t=1===e;return function(n,s,l){for(var c,u=i(n),d=o(u),p=a(d),f=r(s,l);p-- >0;)if(f(c=d[p],p,u))switch(e){case 0:return c;case 1:return p}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},34527:(e,t,n)=>{"use strict";var r=n(43724),o=n(34376),i=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},67680:(e,t,n)=>{"use strict";var r=n(79504);e.exports=r([].slice)},22195:(e,t,n)=>{"use strict";var r=n(79504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},36955:(e,t,n)=>{"use strict";var r=n(92140),o=n(94901),i=n(22195),a=n(78227)("toStringTag"),s=Object,l="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:l?i(t):"Object"===(r=i(t))&&o(t.callee)?"Arguments":r}},77740:(e,t,n)=>{"use strict";var r=n(39297),o=n(35031),i=n(77347),a=n(24913);e.exports=function(e,t,n){for(var s=o(t),l=a.f,c=i.f,u=0;u<s.length;u++){var d=s[u];r(e,d)||n&&r(n,d)||l(e,d,c(t,d))}}},12211:(e,t,n)=>{"use strict";var r=n(79039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},66699:(e,t,n)=>{"use strict";var r=n(43724),o=n(24913),i=n(6980);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},6980:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},97040:(e,t,n)=>{"use strict";var r=n(43724),o=n(24913),i=n(6980);e.exports=function(e,t,n){r?o.f(e,t,i(0,n)):e[t]=n}},62106:(e,t,n)=>{"use strict";var r=n(50283),o=n(24913);e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),o.f(e,t,n)}},36840:(e,t,n)=>{"use strict";var r=n(94901),o=n(24913),i=n(50283),a=n(39433);e.exports=function(e,t,n,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:t;if(r(n)&&i(n,c,s),s.global)l?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},39433:(e,t,n)=>{"use strict";var r=n(44576),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},84606:(e,t,n)=>{"use strict";var r=n(16823),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw new o("Cannot delete property "+r(t)+" of "+r(e))}},43724:(e,t,n)=>{"use strict";var r=n(79039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},94483:(e,t,n)=>{"use strict";var r,o,i,a,s=n(44576),l=n(89429),c=n(1548),u=s.structuredClone,d=s.ArrayBuffer,p=s.MessageChannel,f=!1;if(c)f=function(e){u(e,{transfer:[e]})};else if(d)try{p||(r=l("worker_threads"))&&(p=r.MessageChannel),p&&(o=new p,i=new d(2),a=function(e){o.port1.postMessage(null,[e])},2===i.byteLength&&(a(i),0===i.byteLength&&(f=a)))}catch(e){}e.exports=f},4055:(e,t,n)=>{"use strict";var r=n(44576),o=n(20034),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},96837:e=>{"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},55002:e=>{"use strict";e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1}
838,NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},88727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},89544:(e,t,n)=>{"use strict";var r=n(82839);
vendor: 3,119 bytes, line 838
838e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},38574:(e,t,n)=>{"use strict";var r=n(84215);e.exports="NODE"===r},82839:(e,t,n)=>{"use strict";var r=n(44576).navigator,o=r&&r.userAgent;e.exports=o?String(o):""},39519:(e,t,n)=>{"use strict";var r,o,i=n(44576),a=n(82839),s=i.process,l=i.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(o=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},84215:(e,t,n)=>{"use strict";var r=n(44576),o=n(82839),i=n(22195),a=function(e){return o.slice(0,e.length)===e};e.exports=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":r.Bun&&"string"==typeof Bun.version?"BUN":r.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(r.process)?"NODE":r.window&&r.document?"BROWSER":"REST"},16193:(e,t,n)=>{"use strict";var r=n(79504),o=Error,i=r("".replace),a=String(new o("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);e.exports=function(e,t){if(l&&"string"==typeof e&&!o.prepareStackTrace)for(;t--;)e=i(e,s,"");return e}},80747:(e,t,n)=>{"use strict";var r=n(66699),o=n(16193),i=n(24659),a=Error.captureStackTrace;e.exports=function(e,t,n,s){i&&(a?a(e,t):r(e,"stack",o(n,s)))}},24659:(e,t,n)=>{"use strict";var r=n(79039),o=n(6980);e.exports=!r((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},46518:(e,t,n)=>{"use strict";var r=n(44576),o=n(77347).f,i=n(66699),a=n(36840),s=n(39433),l=n(77740),c=n(92796);e.exports=function(e,t){var n,u,d,p,f,h=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[h]||s(h,{}):r[h]&&r[h].prototype)for(u in t){if(p=t[u],d=e.dontCallGetSet?(f=o(n,u))&&f.value:n[u],!c(m?u:h+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),a(n,u,p,e)}}},79039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},18745:(e,t,n)=>{"use strict";var r=n(40616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},76080:(e,t,n)=>{"use strict";var r=n(27476),o=n(79306),i=n(40616),a=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},40616:(e,t,n)=>{"use strict";var r=n(79039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},69565:(e,t,n)=>{"use strict";var r=n(40616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},10350:(e,t,n)=>{"use strict";var r=n(43724),o=n(39297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),l=s&&"something"===function(){}.name,c=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},46706:(e,t,n)=>{"use strict";var r=n(79504),o=n(79306);e.exports=function(e,t,n){try{return r(o(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},27476:(e,t,n)=>{"use strict";var r=n(22195),o=n(79504);e.exports=function(e){if("Function"===r(e))return o(e)}}
838,79504:(e,t,n)=>{"use strict";var r=n(40616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},89429:(e,t,n)=>{"use strict";var r=n(44576),o=n(38574);e.exports=function(e){if(o){try{return r.process.getBuiltinModule(e)}catch(e){}try{return Function('return require("'+e+'")')()}catch(e){}}}},44124:(e,t,n)=>{"use strict";var r=n(44576);e.exports=function(e,t){var n=r[e],o=n&&n.prototype;return o&&o[t]}},97751:(e,t,n)=>{"use strict";var r=n(44576),o=n(94901);e.exports=function(e,t){return arguments.length<2?(n=r[e],o(n)?n:void 0):r[e]&&r[e][t];var n}},1767:e=>{"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},50851:(e,t,n)=>{"use strict";var r=n(36955),o=n(55966),i=n(64117),a=n(26269),s=n(78227)("iterator");e.exports=function(e){if(!i(e))return o(e,s)||o(e,"@@iterator")||a[r(e)]}},70081:(e,t,n)=>{"use strict";var r=n(69565),o=n(79306),i=n(28551),a=n(16823),s=n(50851),l=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(o(n))return i(r(n,e));throw new l(a(e)+" is not iterable")}},55966:(e,t,n)=>{"use strict";var r=n(79306),o=n(64117);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},83789:(e,t,n)=>{"use strict";var r=n(79306),o=n(28551),i=n(69565),a=n(91291),s=n(1767),l="Invalid size",c=RangeError,u=TypeError,d=Math.max,p=function(e,t){this.set=e,this.size=d(t,0),this.has=r(e.has),this.keys=r(e.keys)};p.prototype={getIterator:function(){return s(o(i(this.keys,this.set)))},includes:function(e){return i(this.has,this.set,e)}},e.exports=function(e){o(e);var t=+e.size;if(t!=t)throw new u(l);var n=a(t);if(n<0)throw new c(l);return new p(e,n)}},44576:function(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},39297:(e,t,n)=>{"use strict";var r=n(79504),o=n(48981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},30421:e=>{"use strict";e.exports={}},20397:(e,t,n)=>{"use strict";var r=n(97751);e.exports=r("document","documentElement")},35917:(e,t,n)=>{"use strict";var r=n(43724),o=n(79039),i=n(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},47055:(e,t,n)=>{"use strict";var r=n(79504),o=n(79039),i=n(22195),a=Object,s=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?s(e,""):a(e)}:a},23167:(e,t,n)=>{"use strict";var r=n(94901),o=n(20034),i=n(52967);e.exports=function(e,t,n){var a,s;return i&&r(a=t.constructor)&&a!==n&&o(s=a.prototype)&&s!==n.prototype&&i(e,s),e}},33706:(e,t,n)=>{"use strict";var r=n(79504),o=n(94901),i=n(77629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},77584:(e,t,n)=>{"use strict";var r=n(20034),o=n(66699);e.exports=function(e,t){r(t)&&"cause"in t&&o(e,"cause",t.cause)}},91181:(e,t,n)=>{"use strict";var r,o,i,a=n(58622),s=n(44576),l=n(20034),c=n(66699),u=n(39297),d=n(77629),p=n(66119),f=n(30421),h="Object already initialized",m=s.TypeError,g=s.WeakMap;if(a||d.state){var v=d.state||(d.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,r=function(e,t){if(v.has(e))throw new m(h);return t.facade=e,v.set(e,t),t},o=function(e){return v.get(e)||{}},i=function(e){return v.has(e)}}else{var y=p("state");f[y]=!0,r=function(e,t){if(u(e,y))throw new m(h);return t.facade=e,c(e,y,t),t},o=function(e){return u(e,y)?e[y]:{}},i=function(e){return u(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n}}}},44209:(e,t,n)=>{"use strict";var r=n(78227),o=n(26269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},34376:(e,t,n)=>{"use strict";var r=n(22195);e.exports=Array.isArray||function(e){return"Array"===r(e)}},18727:(e,t,n)=>{"use strict";var r=n(36955);e.exports=function(e){var t=r(e);return"BigInt64Array"===t||"BigUint64Array"===t}},94901:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},33517:(e,t,n)=>{"use strict";var r=n(79504),o=n(79039),i=n(94901),a=n(36955),s=n(97751),l=n(33706),c=function(){},u=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=r(d.exec),f=!d.test(c),h=function(e){if(!i(e))return!1;try{return u(c,[],e),!0}catch(e){return!1}},m=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!p(d,l(e))}catch(e){return!0}};m.sham=!0,e.exports=!u||o((function(){var e;return h(h.call)||!h(Object)||!h((function(){e=!0}))||e}))?m:h},92796:(e,t,n)=>{"use strict";var r=n(79039),o=n(94901),i=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n===u||n!==c&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},64117:e=>{"use strict";e.exports=function(e){return null==e}},20034:(e,t,n)=>{"use strict";var r=n(94901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},13925:(e,t,n)=>{"use strict";var r=n(20034);e.exports=function(e){return r(e)||null===e}},96395:e=>{"use strict";e.exports=!1},10757:(e,t,n)=>{"use strict";var r=n(97751),o=n(94901),i=n(1625),a=n(7040),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,s(e))}},40507:(e,t,n)=>{"use strict";var r=n(69565);e.exports=function(e,t,n){for(var o,i,a=n?e:e.iterator,s=e.next;!(o=r(s,a)).done;)if(void 0!==(i=t(o.value)))return i}}
vendor: 4,100 bytes, line 838
838,72652:(e,t,n)=>{"use strict";var r=n(76080),o=n(69565),i=n(28551),a=n(16823),s=n(44209),l=n(26198),c=n(1625),u=n(70081),d=n(50851),p=n(9539),f=TypeError,h=function(e,t){this.stopped=e,this.result=t},m=h.prototype;e.exports=function(e,t,n){var g,v,y,b,w,x,k,C=n&&n.that,E=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_RECORD),O=!(!n||!n.IS_ITERATOR),A=!(!n||!n.INTERRUPTED),_=r(t,C),P=function(e){return g&&p(g,"normal"),new h(!0,e)},j=function(e){return E?(i(e),A?_(e[0],e[1],P):_(e[0],e[1])):A?_(e,P):_(e)};if(S)g=e.iterator;else if(O)g=e;else{if(!(v=d(e)))throw new f(a(e)+" is not iterable");if(s(v)){for(y=0,b=l(e);b>y;y++)if((w=j(e[y]))&&c(m,w))return w;return new h(!1)}g=u(e,v)}for(x=S?e.next:g.next;!(k=o(x,g)).done;){try{w=j(k.value)}catch(e){p(g,"throw",e)}if("object"==typeof w&&w&&c(m,w))return w}return new h(!1)}},9539:(e,t,n)=>{"use strict";var r=n(69565),o=n(28551),i=n(55966);e.exports=function(e,t,n){var a,s;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return o(a),n}},26269:e=>{"use strict";e.exports={}},26198:(e,t,n)=>{"use strict";var r=n(18014);e.exports=function(e){return r(e.length)}},50283:(e,t,n)=>{"use strict";var r=n(79504),o=n(79039),i=n(94901),a=n(39297),s=n(43724),l=n(10350).CONFIGURABLE,c=n(33706),u=n(91181),d=u.enforce,p=u.get,f=String,h=Object.defineProperty,m=r("".slice),g=r("".replace),v=r([].join),y=s&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=e.exports=function(e,t,n){"Symbol("===m(f(t),0,7)&&(t="["+g(f(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(s?h(e,"name",{value:t,configurable:!0}):e.name=t),y&&n&&a(n,"arity")&&e.length!==n.arity&&h(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=d(e);return a(r,"source")||(r.source=v(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return i(this)&&p(this).source||c(this)}),"toString")},72248:(e,t,n)=>{"use strict";var r=n(79504),o=Map.prototype;e.exports={Map,set:r(o.set),get:r(o.get),has:r(o.has),remove:r(o.delete),proto:o}},80741:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},36043:(e,t,n)=>{"use strict";var r=n(79306),o=TypeError,i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw new o("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},32603:(e,t,n)=>{"use strict";var r=n(655);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},2360:(e,t,n)=>{"use strict";var r,o=n(28551),i=n(96801),a=n(88727),s=n(30421),l=n(20397),c=n(4055),u=n(66119),d="prototype",p="script",f=u("IE_PROTO"),h=function(){},m=function(e){return"<"+p+">"+e+"</"+p+">"},g=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;v="undefined"!=typeof document?document.domain&&r?g(r):(t=c("iframe"),n="java"+p+":",t.style.display="none",l.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):g(r);for(var o=a.length;o--;)delete v[d][a[o]];return v()};s[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h[d]=o(e),n=new h,h[d]=null,n[f]=e):n=v(),void 0===t?n:i.f(n,t)}},96801:(e,t,n)=>{"use strict";var r=n(43724),o=n(48686),i=n(24913),a=n(28551),s=n(25397),l=n(71072);t.f=r&&!o?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),o=l(t),c=o.length,u=0;c>u;)i.f(e,n=o[u++],r[n]);return e}},24913:(e,t,n)=>{"use strict";var r=n(43724),o=n(35917),i=n(48686),a=n(28551),s=n(56969),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",f="writable";t.f=r?i?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&f in n&&!n[f]){var r=u(e,t);
vendor: 1,721 bytes, line 838
838r&&r[f]&&(e[t]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:d in n?n[d]:r[d],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(a(e),t=s(t),a(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},77347:(e,t,n)=>{"use strict";var r=n(43724),o=n(69565),i=n(48773),a=n(6980),s=n(25397),l=n(56969),c=n(39297),u=n(35917),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=l(t),u)try{return d(e,t)}catch(e){}if(c(e,t))return a(!o(i.f,e,t),e[t])}},38480:(e,t,n)=>{"use strict";var r=n(61828),o=n(88727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},33717:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},42787:(e,t,n)=>{"use strict";var r=n(39297),o=n(94901),i=n(48981),a=n(66119),s=n(12211),l=a("IE_PROTO"),c=Object,u=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=i(e);if(r(t,l))return t[l];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof c?u:null}},1625:(e,t,n)=>{"use strict";var r=n(79504);e.exports=r({}.isPrototypeOf)},61828:(e,t,n)=>{"use strict";var r=n(79504),o=n(39297),i=n(25397),a=n(19617).indexOf,s=n(30421),l=r([].push);e.exports=function(e,t){var n,r=i(e),c=0,u=[];for(n in r)!o(s,n)&&o(r,n)&&l(u,n);for(;t.length>c;)o(r,n=t[c++])&&(~a(u,n)||l(u,n));return u}},71072:(e,t,n)=>{"use strict";var r=n(61828),o=n(88727);e.exports=Object.keys||function(e){return r(e,o)}},48773:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},52967:(e,t,n)=>{"use strict";var r=n(46706),o=n(20034),i=n(67750),a=n(73506);
838e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),a(r),o(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0)},84270:(e,t,n)=>{"use strict";var r=n(69565),o=n(94901),i=n(20034),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&o(n=e.toString)&&!i(s=r(n,e)))return s;if(o(n=e.valueOf)&&!i(s=r(n,e)))return s;if("string"!==t&&o(n=e.toString)&&!i(s=r(n,e)))return s;throw new a("Can't convert object to primitive value")}},35031:(e,t,n)=>{"use strict";var r=n(97751),o=n(79504),i=n(38480),a=n(33717),s=n(28551),l=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=a.f;return n?l(t,n(e)):t}},11056:(e,t,n)=>{"use strict";var r=n(24913).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},65213:(e,t,n)=>{"use strict";var r=n(44576),o=n(79039),i=r.RegExp,a=!o((function(){var e=!0;try{i(".","d")}catch(t){e=!1}var t={},n="",r=e?"dgimsy":"gimsy",o=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var s in e&&(a.hasIndices="d"),a)o(s,a[s]);return Object.getOwnPropertyDescriptor(i.prototype,"flags").get.call(t)!==r||n!==r}));e.exports={correct:a}},67979:(e,t,n)=>{"use strict";var r=n(28551);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},61034:(e,t,n)=>{"use strict";var r=n(69565),o=n(39297),i=n(1625),a=n(65213),s=n(67979),l=RegExp.prototype;e.exports=a.correct?function(e){return e.flags}:function(e){return a.correct||!i(l,e)||o(e,"flags")?e.flags:r(s,e)}},67750:(e,t,n)=>{"use strict";var r=n(64117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},79472:(e,t,n)=>{"use strict";var r,o=n(44576),i=n(18745),a=n(94901),s=n(84215),l=n(82839),c=n(67680),u=n(22812),d=o.Function,p=/MSIE .\./.test(l)||"BUN"===s&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,t){var n=t?2:1;return p?function(r,o){var s=u(arguments.length,1)>n,l=a(r)?r:d(r),p=s?c(arguments,n):[],f=s?function(){i(l,this,p)}:l;return t?e(f,o):e(f)}:e}},89286:(e,t,n)=>{"use strict";var r=n(94402),o=n(38469),i=r.Set,a=r.add;e.exports=function(e){var t=new i;return o(e,(function(e){a(t,e)})),t}},83440:(e,t,n)=>{"use strict";var r=n(97080),o=n(94402),i=n(89286),a=n(25170),s=n(83789),l=n(38469),c=n(40507),u=o.has,d=o.remove;e.exports=function(e){var t=r(this),n=s(e),o=i(t);return a(t)<=n.size?l(t,(function(e){n.includes(e)&&d(o,e)})):c(n.getIterator(),(function(e){u(o,e)&&d(o,e)})),o}},94402:(e,t,n)=>{"use strict";var r=n(79504),o=Set.prototype;e.exports={Set,add:r(o.add),has:r(o.has),remove:r(o.delete),proto:o}},68750:(e,t,n)=>{"use strict";var r=n(97080),o=n(94402),i=n(25170),a=n(83789),s=n(38469),l=n(40507),c=o.Set,u=o.add,d=o.has;e.exports=function(e){var t=r(this),n=a(e),o=new c;return i(t)>n.size?l(n.getIterator(),(function(e){d(t,e)&&u(o,e)})):s(t,(function(e){n.includes(e)&&u(o,e)})),o}},64449:(e,t,n)=>{"use strict";var r=n(97080),o=n(94402).has,i=n(25170),a=n(83789),s=n(38469),l=n(40507),c=n(9539);e.exports=function(e){var t=r(this),n=a(e);if(i(t)<=n.size)return!1!==s(t,(function(e){if(n.includes(e))return!1}),!0);var u=n.getIterator();return!1!==l(u,(function(e){if(o(t,e))return c(u,"normal",!1)}))}},53838:(e,t,n)=>{"use strict";var r=n(97080),o=n(25170),i=n(38469),a=n(83789);e.exports=function(e){var t=r(this),n=a(e);return!(o(t)>n.size)&&!1!==i(t,(function(e){if(!n.includes(e))return!1}),!0)}},28527:(e,t,n)=>{"use strict";var r=n(97080),o=n(94402).has,i=n(25170),a=n(83789),s=n(40507),l=n(9539);e.exports=function(e){var t=r(this),n=a(e);if(i(t)<n.size)return!1;var c=n.getIterator();return!1!==s(c,(function(e){if(!o(t,e))return l(c,"normal",!1)}))}},38469:(e,t,n)=>{"use strict";var r=n(79504),o=n(40507),i=n(94402),a=i.Set,s=i.proto,l=r(s.forEach),c=r(s.keys),u=c(new a).next;e.exports=function(e,t,n){return n?o({iterator:c(e),next:u},t):l(e,t)}},84916:(e,t,n)=>{"use strict";var r=n(97751),o=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},i=function(e){return{size:e,has:function(){return!0},keys:function(){throw new Error("e")}}};e.exports=function(e,t){var n=r("Set");try{(new n)[e](o(0));try{return(new n)[e](o(-1)),!1}catch(r){if(!t)return!0;try{return(new n)[e](i(-1/0)),!1}
vendor: 4,262 bytes, line 838
838catch(r){return t(new n([1,2])[e](i(1/0)))}}}catch(e){return!1}}},39835:e=>{"use strict";e.exports=function(e){try{var t=new Set,n={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}},r=t[e](n);return 1===r.size&&4===r.values().next().value}catch(e){return!1}}},25170:(e,t,n)=>{"use strict";var r=n(46706),o=n(94402);e.exports=r(o.proto,"size","get")||function(e){return e.size}},83650:(e,t,n)=>{"use strict";var r=n(97080),o=n(94402),i=n(89286),a=n(83789),s=n(40507),l=o.add,c=o.has,u=o.remove;e.exports=function(e){var t=r(this),n=a(e).getIterator(),o=i(t);return s(n,(function(e){c(t,e)?u(o,e):l(o,e)})),o}},10687:(e,t,n)=>{"use strict";var r=n(24913).f,o=n(39297),i=n(78227)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:t})}},44204:(e,t,n)=>{"use strict";var r=n(97080),o=n(94402).add,i=n(89286),a=n(83789),s=n(40507);e.exports=function(e){var t=r(this),n=a(e).getIterator(),l=i(t);return s(n,(function(e){o(l,e)})),l}},66119:(e,t,n)=>{"use strict";var r=n(25745),o=n(33392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},77629:(e,t,n)=>{"use strict";var r=n(96395),o=n(44576),i=n(39433),a="__core-js_shared__",s=e.exports=o[a]||i(a,{});(s.versions||(s.versions=[])).push({version:"3.48.0",mode:r?"pure":"global",copyright:"© 2013â2025 Denis Pushkarev (zloirock.ru), 2025â2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE",source:"https://github.com/zloirock/core-js"})},25745:(e,t,n)=>{"use strict";var r=n(77629);e.exports=function(e,t){return r[e]||(r[e]=t||{})}},1548:(e,t,n)=>{"use strict";var r=n(44576),o=n(79039),i=n(39519),a=n(84215),s=r.structuredClone;e.exports=!!s&&!o((function(){if("DENO"===a&&i>92||"NODE"===a&&i>94||"BROWSER"===a&&i>97)return!1;var e=new ArrayBuffer(8),t=s(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength}))},4495:(e,t,n)=>{"use strict";var r=n(39519),o=n(79039),i=n(44576).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},59225:(e,t,n)=>{"use strict";var r,o,i,a,s=n(44576),l=n(18745),c=n(76080),u=n(94901),d=n(39297),p=n(79039),f=n(20397),h=n(67680),m=n(4055),g=n(22812),v=n(89544),y=n(38574),b=s.setImmediate,w=s.clearImmediate,x=s.process,k=s.Dispatch,C=s.Function,E=s.MessageChannel,S=s.String,O=0,A={},_="onreadystatechange";p((function(){r=s.location}));var P=function(e){if(d(A,e)){var t=A[e];delete A[e],t()}},j=function(e){return function(){P(e)}},T=function(e){P(e.data)},I=function(e){s.postMessage(S(e),r.protocol+"//"+r.host)};b&&w||(b=function(e){g(arguments.length,1);var t=u(e)?e:C(e),n=h(arguments,1);return A[++O]=function(){l(t,void 0,n)},o(O),O},w=function(e){delete A[e]},y?o=function(e){x.nextTick(j(e))}:k&&k.now?o=function(e){k.now(j(e))}:E&&!v?(a=(i=new E).port2,i.port1.onmessage=T,o=c(a.postMessage,a)):s.addEventListener&&u(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!p(I)?(o=I,s.addEventListener("message",T,!1)):o=_ in m("script")?function(e){f.appendChild(m("script"))[_]=function(){f.removeChild(this),P(e)}}:function(e){setTimeout(j(e),0)}),e.exports={set:b,clear:w}},35610:(e,t,n)=>{"use strict";var r=n(91291),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},75854:(e,t,n)=>{"use strict";var r=n(72777),o=TypeError;e.exports=function(e){var t=r(e,"number");if("number"==typeof t)throw new o("Can't convert number to bigint");return BigInt(t)}},57696:(e,t,n)=>{"use strict";var r=n(91291),o=n(18014),i=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw new i("Wrong length or index");return n}},25397:(e,t,n)=>{"use strict";var r=n(47055),o=n(67750);e.exports=function(e){return r(o(e))}},91291:(e,t,n)=>{"use strict";var r=n(80741);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},18014:(e,t,n)=>{"use strict";var r=n(91291),o=Math.min;e.exports=function(e){var t=r(e);return t>0?o(t,9007199254740991):0}},48981:(e,t,n)=>{"use strict";var r=n(67750),o=Object;e.exports=function(e){return o(r(e))}}
838,58229:(e,t,n)=>{"use strict";var r=n(99590),o=RangeError;e.exports=function(e,t){var n=r(e);if(n%t)throw new o("Wrong offset");return n}},99590:(e,t,n)=>{"use strict";var r=n(91291),o=RangeError;e.exports=function(e){var t=r(e);if(t<0)throw new o("The argument can't be less than 0");return t}},72777:(e,t,n)=>{"use strict";var r=n(69565),o=n(20034),i=n(10757),a=n(55966),s=n(84270),l=n(78227),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,l=a(e,u);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!o(n)||i(n))return n;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},56969:(e,t,n)=>{"use strict";var r=n(72777),o=n(10757);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},92140:(e,t,n)=>{"use strict";var r={};r[n(78227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,t,n)=>{"use strict";var r=n(36955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},16823:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},33392:(e,t,n)=>{"use strict";var r=n(79504),o=0,i=Math.random(),a=r(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},67416:(e,t,n)=>{"use strict";var r=n(79039),o=n(78227),i=n(43724),a=n(96395),s=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),n.delete("a",2),n.delete("b",void 0),a&&(!e.toJSON||!n.has("a",1)||n.has("a",2)||!n.has("a",void 0)||n.has("b"))||!t.size&&(a||!i)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://ÑеÑÑ").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==r||"x"!==new URL("https://x",void 0).host}))},7040:(e,t,n)=>{"use strict";var r=n(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},48686:(e,t,n)=>{"use strict";var r=n(43724),o=n(79039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},22812:e=>{"use strict";var t=TypeError;e.exports=function(e,n){if(e<n)throw new t("Not enough arguments");return e}},58622:(e,t,n)=>{"use strict";var r=n(44576),o=n(94901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},78227:(e,t,n)=>{"use strict";var r=n(44576),o=n(25745),i=n(39297),a=n(33392),s=n(4495),l=n(7040),c=r.Symbol,u=o("wks"),d=l?c.for||c:c&&c.withoutSetter||a;e.exports=function(e){return i(u,e)||(u[e]=s&&i(c,e)?c[e]:d("Symbol."+e)),u[e]}},14601:(e,t,n)=>{"use strict";var r=n(97751),o=n(39297),i=n(66699),a=n(1625),s=n(52967),l=n(77740),c=n(11056),u=n(23167),d=n(32603),p=n(77584),f=n(80747),h=n(43724),m=n(96395);e.exports=function(e,t,n,g){var v="stackTraceLimit",y=g?2:1,b=e.split("."),w=b[b.length-1],x=r.apply(null,b);if(x){var k=x.prototype;if(!m&&o(k,"cause")&&delete k.cause,!n)return x;var C=r("Error"),E=t((function(e,t){var n=d(g?t:e,void 0),r=g?new x(e):new x;return void 0!==n&&i(r,"message",n),f(r,E,r.stack,2),this&&a(k,this)&&u(r,this,E),arguments.length>y&&p(r,arguments[y]),r}));if(E.prototype=k,"Error"!==w?s?s(E,C):l(E,C,{name:!0}):h&&v in x&&(c(E,x,v),c(E,x,"prepareStackTrace")),l(E,x),!m)try{k.name!==w&&i(k,"name",w),k.constructor=E}catch(e){}return E}}},4294:(e,t,n)=>{"use strict";var r=n(46518),o=n(97751),i=n(18745),a=n(79039),s=n(14601),l="AggregateError",c=o(l),u=!a((function(){return 1!==c([1]).errors[0]}))&&a((function(){return 7!==c([1],l,{cause:7}).cause}));r({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:s(l,(function(e){return function(t,n){return i(e,this,arguments)}}),u,!0)})},16573:(e,t,n)=>{"use strict";var r=n(43724),o=n(62106),i=n(3238),a=ArrayBuffer.prototype;r&&!("detached"in a)&&o(a,"detached",{configurable:!0,get:function(){return i(this)}})},77936:(e,t,n)=>{"use strict";var r=n(46518),o=n(95636);o&&r({target:"ArrayBuffer",proto:!0}
838,{transferToFixedLength:function(){return o(this,arguments.length?arguments[0]:void 0,!1)}})},78100:(e,t,n)=>{"use strict";var r=n(46518),o=n(95636);o&&r({target:"ArrayBuffer",proto:!0},{transfer:function(){return o(this,arguments.length?arguments[0]:void 0,!0)}})},18107:(e,t,n)=>{"use strict";var r=n(46518),o=n(48981),i=n(26198),a=n(91291),s=n(6469);r({target:"Array",proto:!0},{at:function(e){var t=o(this),n=i(t),r=a(e),s=r>=0?r:n+r;return s<0||s>=n?void 0:t[s]}}),s("at")},13451:(e,t,n)=>{"use strict";var r=n(46518),o=n(43839).findLastIndex,i=n(6469);r({target:"Array",proto:!0},{findLastIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findLastIndex")},10838:(e,t,n)=>{"use strict";var r=n(46518),o=n(43839).findLast,i=n(6469);r({target:"Array",proto:!0},{findLast:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findLast")},74423:(e,t,n)=>{"use strict";var r=n(46518),o=n(19617).includes,i=n(79039),a=n(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},44114:(e,t,n)=>{"use strict";var r=n(46518),o=n(48981),i=n(26198),a=n(34527),s=n(96837);r({target:"Array",proto:!0,arity:1,forced:n(79039)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=o(this),n=i(t),r=arguments.length;s(n+r);for(var l=0;l<r;l++)t[n]=arguments[l],n++;return a(t,n),n}})},9678:(e,t,n)=>{"use strict";var r=n(46518),o=n(26198),i=n(25397),a=n(97040),s=n(6469),l=Array;r({target:"Array",proto:!0},{toReversed:function(){for(var e=i(this),t=o(e),n=new l(t),r=0;r<t;r++)a(n,r,e[t-r-1]);return n}}),s("toReversed")},57145:(e,t,n)=>{"use strict";var r=n(46518),o=n(79504),i=n(79306),a=n(25397),s=n(35370),l=n(44124),c=n(6469),u=Array,d=o(l("Array","sort"));r({target:"Array",proto:!0},{toSorted:function(e){void 0!==e&&i(e);var t=a(this),n=s(u,t);return d(n,e)}}),c("toSorted")},71658:(e,t,n)=>{"use strict";var r=n(46518),o=n(6469),i=n(96837),a=n(26198),s=n(35610),l=n(25397),c=n(91291),u=n(97040),d=Array,p=Math.max,f=Math.min;r({target:"Array",proto:!0},{toSpliced:function(e,t){var n,r,o,h,m=l(this),g=a(m),v=s(e,g),y=arguments.length,b=0;for(0===y?n=r=0:1===y?(n=0,r=g-v):(n=y-2,r=f(p(c(t),0),g-v)),o=i(g+n-r),h=d(o);b<v;b++)u(h,b,m[b]);for(;b<v+n;b++)u(h,b,arguments[b-v+2]);for(;b<o;b++)u(h,b,m[b+r-n]);return h}}),o("toSpliced")},13609:(e,t,n)=>{"use strict";var r=n(46518),o=n(48981),i=n(26198),a=n(34527),s=n(84606),l=n(96837);r({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}()},{unshift:function(e){var t=o(this),n=i(t),r=arguments.length;if(r){l(n+r);for(var c=n;c--;){var u=c+r;c in t?t[u]=t[c]:s(t,u)}for(var d=0;d<r;d++)t[d]=arguments[d]}return a(t,n+r)}})},11558:(e,t,n)=>{"use strict";
838var r=n(46518),o=n(26198),i=n(91291),a=n(25397),s=n(97040),l=Array,c=RangeError;r({target:"Array",proto:!0,forced:function(){try{[].with({valueOf:function(){throw 4}},null)}catch(e){return 4!==e}}()},{with:function(e,t){var n=a(this),r=o(n),u=i(e),d=u<0?r+u:u;if(d>=r||d<0)throw new c("Incorrect index");for(var p=new l(r),f=0;f<r;f++)s(p,f,f===d?t:n[f]);return p}})},16280:(e,t,n)=>{"use strict";var r=n(46518),o=n(44576),i=n(18745),a=n(14601),s="WebAssembly",l=o[s],c=7!==new Error("e",{cause:7}).cause,u=function(e,t){var n={};n[e]=a(e,t,c),r({global:!0,constructor:!0,arity:1,forced:c},n)},d=function(e,t){if(l&&l[e]){var n={};n[e]=a(s+"."+e,t,c),r({target:s,stat:!0,constructor:!0,arity:1,forced:c},n)}};u("Error",(function(e){return function(t){return i(e,this,arguments)}})),u("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),u("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),u("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),u("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),u("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),u("URIError",(function(e){return function(t){return i(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},47072:(e,t,n)=>{"use strict";var r=n(46518),o=n(79504),i=n(79306),a=n(67750),s=n(72652),l=n(72248),c=n(96395),u=n(79039),d=l.Map,p=l.has,f=l.get,h=l.set,m=o([].push),g=c||u((function(){return 1!==d.groupBy("ab",(function(e){return e})).get("a").length}));r({target:"Map",stat:!0,forced:c||g},{groupBy:function(e,t){a(e),i(t);var n=new d,r=0;return s(e,(function(e){var o=t(e,r++);p(n,o)?m(f(n,o),e):h(n,o,[e])})),n}})},77691:(e,t,n)=>{"use strict";var r=n(46518),o=n(97040),i=n(97751),a=n(79504),s=n(79306),l=n(67750),c=n(56969),u=n(72652),d=n(79039),p=Object.groupBy,f=i("Object","create"),h=a([].push);r({target:"Object",stat:!0,forced:!p||d((function(){return 1!==p("ab",(function(e){return e})).a.length}))},{groupBy:function(e,t){l(e),s(t);var n=f(null),r=0;return u(e,(function(e){var i=c(t(e,r++));i in n?h(n[i],e):o(n,i,[e])})),n}})},78347:(e,t,n)=>{"use strict";n(46518)({target:"Object",stat:!0},{hasOwn:n(39297)})},14628:(e,t,n)=>{"use strict";var r=n(46518),o=n(36043);r({target:"Promise",stat:!0},{withResolvers:function(){var e=o.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}})},15472:(e,t,n)=>{"use strict";var r=n(46518),o=n(44576),i=n(10687);r({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},69479:(e,t,n)=>{"use strict";var r=n(43724),o=n(62106),i=n(65213),a=n(67979);r&&!i.correct&&(o(RegExp.prototype,"flags",{configurable:!0,get:a}),i.correct=!0)},17642:(e,t,n)=>{"use strict";var r=n(46518),o=n(83440),i=n(79039);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("difference",(function(e){return 0===e.size}))||i((function(){var e={size:1,has:function(){return!0},keys:function(){var e=0;return{next:function(){var n=e++>1;return t.has(1)&&t.clear(),{done:n,value:2}}}}},t=new Set([1,2,3,4]);return 3!==t.difference(e).size}))},{difference:o})},58004:(e,t,n)=>{"use strict";var r=n(46518),o=n(79039),i=n(68750);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("intersection",(function(e){return 2===e.size&&e.has(1)&&e.has(2)}))||o((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:i})},33853:(e,t,n)=>{"use strict";var r=n(46518),o=n(64449);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("isDisjointFrom",(function(e){return!e}))},{isDisjointFrom:o})},45876:(e,t,n)=>{"use strict";var r=n(46518),o=n(53838);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("isSubsetOf",(function(e){return e}))},{isSubsetOf:o})},32475:(e,t,n)=>{"use strict";var r=n(46518),o=n(28527);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("isSupersetOf",(function(e){return!e}))},{isSupersetOf:o})},15024:(e,t,n)=>{"use strict";var r=n(46518),o=n(83650),i=n(39835);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("symmetricDifference")||!i("symmetricDifference")},{symmetricDifference:o})}
838,31698:(e,t,n)=>{"use strict";var r=n(46518),o=n(44204),i=n(39835);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("union")||!i("union")},{union:o})},67357:(e,t,n)=>{"use strict";var r=n(46518),o=n(79504),i=n(67750),a=n(91291),s=n(655),l=n(79039),c=o("".charAt);r({target:"String",proto:!0,forced:l((function(){return"\ud842"!=="𠮷".at(-2)}))},{at:function(e){var t=s(i(this)),n=t.length,r=a(e),o=r>=0?r:n+r;return o<0||o>=n?void 0:c(t,o)}})},42043:(e,t,n)=>{"use strict";var r=n(46518),o=n(79504),i=n(67750),a=n(655),s=o("".charCodeAt);r({target:"String",proto:!0},{isWellFormed:function(){for(var e=a(i(this)),t=e.length,n=0;n<t;n++){var r=s(e,n);if(55296==(63488&r)&&(r>=56320||++n>=t||56320!=(64512&s(e,n))))return!1}return!0}})},67438:(e,t,n)=>{"use strict";var r=n(46518),o=n(69565),i=n(79504),a=n(67750),s=n(655),l=n(79039),c=Array,u=i("".charAt),d=i("".charCodeAt),p=i([].join),f="".toWellFormed,h=f&&l((function(){return"1"!==o(f,1)}));r({target:"String",proto:!0,forced:h},{toWellFormed:function(){var e=s(a(this));if(h)return o(f,e);for(var t=e.length,n=c(t),r=0;r<t;r++){var i=d(e,r);55296!=(63488&i)?n[r]=u(e,r):i>=56320||r+1>=t||56320!=(64512&d(e,r+1))?n[r]="�":(n[r]=u(e,r),n[++r]=u(e,r))}return p(n,"")}})},48140:(e,t,n)=>{"use strict";
vendor: 11,257 bytes, line 838
838var r=n(94644),o=n(26198),i=n(91291),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("at",(function(e){var t=a(this),n=o(t),r=i(e),s=r>=0?r:n+r;return s<0||s>=n?void 0:t[s]}))},91134:(e,t,n)=>{"use strict";var r=n(94644),o=n(43839).findLastIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findLastIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},21903:(e,t,n)=>{"use strict";var r=n(94644),o=n(43839).findLast,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findLast",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},28845:(e,t,n)=>{"use strict";var r=n(44576),o=n(69565),i=n(94644),a=n(26198),s=n(58229),l=n(48981),c=n(79039),u=r.RangeError,d=r.Int8Array,p=d&&d.prototype,f=p&&p.set,h=i.aTypedArray,m=i.exportTypedArrayMethod,g=!c((function(){var e=new Uint8ClampedArray(2);return o(f,e,{length:1,0:3},1),3!==e[1]})),v=g&&i.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var e=new d(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));m("set",(function(e){h(this);var t=s(arguments.length>1?arguments[1]:void 0,1),n=l(e);if(g)return o(f,this,n,t);var r=this.length,i=a(n),c=0;if(i+t>r)throw new u("Wrong length");for(;c<i;)this[t+c]=n[c++]}),!g||v)},37467:(e,t,n)=>{"use strict";var r=n(26198),o=n(94644),i=o.aTypedArray,a=o.exportTypedArrayMethod,s=o.getTypedArrayConstructor;a("toReversed",(function(){for(var e=i(this),t=r(e),n=new(s(e))(t),o=0;o<t;o++)n[o]=e[t-o-1];return n}))},44732:(e,t,n)=>{"use strict";var r=n(94644),o=n(79504),i=n(79306),a=n(35370),s=r.aTypedArray,l=r.getTypedArrayConstructor,c=r.exportTypedArrayMethod,u=o(r.TypedArrayPrototype.sort);c("toSorted",(function(e){void 0!==e&&i(e);var t=s(this),n=a(l(t),t);return u(n,e)}))},79577:(e,t,n)=>{"use strict";var r=n(94644),o=n(18727),i=n(26198),a=n(91291),s=n(75854),l=r.aTypedArray,c=r.getTypedArrayConstructor,u=r.exportTypedArrayMethod,d=RangeError,p=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}(),f=p&&function(){try{new Int8Array(1).with(-.5,1)}catch(e){return!0}}();u("with",{with:function(e,t){var n=l(this),r=i(n),u=a(e),p=u<0?r+u:u,f=o(n)?s(t):+t;if(p>=r||p<0)throw new d("Incorrect index");for(var h=new(c(n))(r),m=0;m<r;m++)h[m]=m===p?f:n[m];return h}}.with,!p||f)},86368:(e,t,n)=>{"use strict";var r=n(46518),o=n(44576),i=n(59225).clear;r({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==i},{clearImmediate:i})},64979:(e,t,n)=>{"use strict";var r=n(46518),o=n(44576),i=n(97751),a=n(6980),s=n(24913).f,l=n(39297),c=n(90679),u=n(23167),d=n(32603),p=n(55002),f=n(16193),h=n(43724),m=n(96395),g="DOMException",v=i("Error"),y=i(g),b=function(){c(this,w);var e=arguments.length,t=d(e<1?void 0:arguments[0]),n=d(e<2?void 0:arguments[1],"Error"),r=new y(t,n),o=new v(t);return o.name=g,s(r,"stack",a(1,f(o.stack,1))),u(r,this,b),r},w=b.prototype=y.prototype,x="stack"in new v(g),k="stack"in new y(1,2),C=y&&h&&Object.getOwnPropertyDescriptor(o,g),E=!(!C||C.writable&&C.configurable),S=x&&!E&&!k;r({global:!0,constructor:!0,forced:m||S},{DOMException:S?b:y});var O=i(g),A=O.prototype;if(A.constructor!==O)for(var _ in m||s(A,"constructor",a(1,O)),p)if(l(p,_)){var P=p[_],j=P.s;l(O,j)||s(O,j,a(6,P.c))}},59848:(e,t,n)=>{"use strict";n(86368),n(29309)},13611:(e,t,n)=>{"use strict";var r=n(46518),o=n(44576),i=n(62106),a=n(43724),s=TypeError,l=Object.defineProperty,c=o.self!==o;try{if(a){var u=Object.getOwnPropertyDescriptor(o,"self");!c&&u&&u.get&&u.enumerable||i(o,"self",{get:function(){return o},set:function(e){if(this!==o)throw new s("Illegal invocation");l(o,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else r({global:!0,simple:!0,forced:c},{self:o})}catch(e){}},29309:(e,t,n)=>{"use strict";var r=n(46518),o=n(44576),i=n(59225).set,a=n(79472),s=o.setImmediate?a(i,!1):i;r({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==s},{setImmediate:s})},71678:(e,t,n)=>{"use strict";var r,o=n(96395),i=n(46518),a=n(44576),s=n(97751),l=n(79504),c=n(79039),u=n(33392),d=n(94901),p=n(33517),f=n(64117),h=n(20034),m=n(10757),g=n(72652),v=n(28551),y=n(36955),b=n(39297),w=n(97040),x=n(66699),k=n(26198),C=n(22812),E=n(61034),S=n(72248),O=n(94402),A=n(38469),_=n(94483),P=n(24659),j=n(1548),T=a.Object,I=a.Array,L=a.Date,N=a.Error,R=a.TypeError,D=a.PerformanceMark,F=s("DOMException"),M=S.Map,B=S.has,V=S.get,z=S.set,U=O.Set,H=O.add,q=O.has,W=s("Object","keys"),$=l([].push),G=l((!0).valueOf),K=l(1.1.valueOf),Z=l("".valueOf),Y=l(L.prototype.getTime),X=u("structuredClone"),Q="DataCloneError",J="Transferring",ee=function(e){return!c((function(){var t=new a.Set([7]),n=e(t),r=e(T(7));return n===t||!n.has(7)||!h(r)||7!=+r}))&&e},te=function(e,t){return!c((function(){var n=new t,r=e({a:n,b:n});return!(r&&r.a===r.b&&r.a instanceof t&&r.a.stack===n.stack)}))},ne=a.structuredClone,re=o||!te(ne,N)||!te(ne,F)||(r=ne,!!c((function(){var e=r(new a.AggregateError([1],X,{cause:3}));return"AggregateError"!==e.name||1!==e.errors[0]||e.message!==X||3!==e.cause}))),oe=!ne&&ee((function(e){return new D(X,{detail:e}).detail})),ie=ee(ne)||oe,ae=function(e){throw new F("Uncloneable type: "+e,Q)},se=function(e,t){throw new F((t||"Cloning")+" of "+e+" cannot be properly polyfilled in this engine",Q)},le=function(e,t){return ie||se(t),ie(e)},ce=function(e,t,n){if(B(t,e))return V(t,e);var r,o,i,s,l,c;if("SharedArrayBuffer"===(n||y(e)))r=ie?ie(e):e;else{var u=a.DataView;u||d(e.slice)||se("ArrayBuffer");try{if(d(e.slice)&&!e.resizable)r=e.slice(0);else{o=e.byteLength,i="maxByteLength"in e?{maxByteLength:e.maxByteLength}:void 0,r=new ArrayBuffer(o,i),s=new u(e),l=new u(r);for(c=0;c<o;c++)l.setUint8(c,s.getUint8(c))}}catch(e){throw new F("ArrayBuffer is detached",Q)}}return z(t,e,r),r},ue=function(e,t){if(m(e)&&ae("Symbol"),!h(e))return e;if(t){if(B(t,e))return V(t,e)}else t=new M;var n,r,o,i,l,c,u,p,f=y(e);switch(f){case"Array":o=I(k(e));break;case"Object":o={};break;case"Map":o=new M;break;case"Set":o=new U;break;case"RegExp":o=new RegExp(e.source,E(e));break;case"Error":switch(r=e.name){case"AggregateError":o=new(s(r))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":o=new(s(r));break;case"CompileError":case"LinkError":case"RuntimeError":o=new(s("WebAssembly",r));break;default:o=new N}break;case"DOMException":o=new F(e.message,e.name);break;case"ArrayBuffer":case"SharedArrayBuffer":o=ce(e,t,f);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":c="DataView"===f?e.byteLength:e.length,o=function(e,t,n,r,o){var i=a[t];return h(i)||se(t),new i(ce(e.buffer,o),n,r)}(e,f,e.byteOffset,c,t);break;case"DOMQuad":try{o=new DOMQuad(ue(e.p1,t),ue(e.p2,t),ue(e.p3,t),ue(e.p4,t))}catch(t){o=le(e,f)}break;case"File":if(ie)try{o=ie(e),y(o)!==f&&(o=void 0)}catch(e){}if(!o)try{o=new File([e],e.name,e)}catch(e){}o||se(f);break;case"FileList":if(i=function(){var e;try{e=new a.DataTransfer}catch(t){try{e=new a.ClipboardEvent("").clipboardData}catch(e){}}return e&&e.items&&e.files?e:null}()){for(l=0,c=k(e);l<c;l++)i.items.add(ue(e[l],t));o=i.files}else o=le(e,f);break;case"ImageData":try{o=new ImageData(ue(e.data,t),e.width,e.height,{colorSpace:e.colorSpace})}catch(t){o=le(e,f)}break;default:if(ie)o=ie(e);else switch(f){case"BigInt":o=T(e.valueOf());break;case"Boolean":o=T(G(e));break;case"Number":o=T(K(e));break;case"String":o=T(Z(e));break;case"Date":o=new L(Y(e));break;case"Blob":try{o=e.slice(0,e.size,e.type)}catch(e){se(f)}break;case"DOMPoint":case"DOMPointReadOnly":n=a[f];try{o=n.fromPoint?n.fromPoint(e):new n(e.x,e.y,e.z,e.w)}catch(e){se(f)}break;case"DOMRect":case"DOMRectReadOnly":n=a[f];try{o=n.fromRect?n.fromRect(e):new n(e.x,e.y,e.width,e.height)}catch(e){se(f)}break;case"DOMMatrix":case"DOMMatrixReadOnly":n=a[f];try{o=n.fromMatrix?n.fromMatrix(e):new n(e)}catch(e){se(f)}break;case"AudioData":case"VideoFrame":d(e.clone)||se(f);try{o=e.clone()}catch(e){ae(f)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":se(f);default:ae(f)}}switch(z(t,e,o),f){case"Array":case"Object":for(u=W(e),l=0,c=k(u);l<c;l++)p=u[l],w(o,p,ue(e[p],t));break;case"Map":e.forEach((function(e,n){z(o,ue(n,t),ue(e,t))}));break;case"Set":e.forEach((function(e){H(o,ue(e,t))}));break;case"Error":x(o,"message",ue(e.message,t)),b(e,"cause")&&x(o,"cause",ue(e.cause,t)),"AggregateError"===r?o.errors=ue(e.errors,t):"SuppressedError"===r&&(o.error=ue(e.error,t),o.suppressed=ue(e.suppressed,t));case"DOMException":P&&x(o,"stack",ue(e.stack,t))}return o};i({global:!0,enumerable:!0,sham:!j,forced:re},{structuredClone:function(e){var t,n,r=C(arguments.length,1)>1&&!f(arguments[1])?v(arguments[1]):void 0,o=r?r.transfer:void 0;void 0!==o&&(n=function(e,t){if(!h(e))throw new R("Transfer option cannot be converted to a sequence");var n=[];g(e,(function(e){$(n,v(e))}));for(var r,o,i,s,l,c=0,u=k(n),f=new U;c<u;){if(r=n[c++],"ArrayBuffer"===(o=y(r))?q(f,r):B(t,r))throw new F("Duplicate transferable",Q);if("ArrayBuffer"!==o){if(j)s=ne(r,{transfer:[r]});else switch(o){case"ImageBitmap":i=a.OffscreenCanvas,p(i)||se(o,J);try{(l=new i(r.width,r.height)).getContext("bitmaprenderer").transferFromImageBitmap(r),s=l.transferToImageBitmap()}catch(e){}break;case"AudioData":case"VideoFrame":d(r.clone)&&d(r.close)||se(o,J);try{s=r.clone(),r.close()}catch(e){}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":se(o,J)}if(void 0===s)throw new F("This object cannot be transferred: "+o,Q);z(t,r,s)}else H(f,r)}return f}(o,t=new M));var i=ue(e,t);return n&&function(e){A(e,(function(e){j?ie(e,{transfer:[e]}):d(e.transfer)?e.transfer():_?_(e):se("ArrayBuffer",J)}))}(n),i}})},14603:(e,t,n)=>{"use strict";var r=n(36840),o=n(79504),i=n(655),a=n(22812),s=URLSearchParams,l=s.prototype,c=o(l.append),u=o(l.delete),d=o(l.forEach),p=o([].push),f=new s("a=1&a=2&b=3");f.delete("a",1),f.delete("b",void 0),f+""!="a=2"&&r(l,"delete",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return u(this,e);var r=[];d(this,(function(e,t){p(r,{key:t,value:e})})),a(t,1);for(var o,s=i(e),l=i(n),f=0,h=0,m=!1,g=r.length;f<g;)o=r[f++],m||o.key===s?(m=!0,u(this,o.key)):h++;for(;h<g;)(o=r[h++]).key===s&&o.value===l||c(this,o.key,o.value)}),{enumerable:!0,unsafe:!0})},47566:(e,t,n)=>{"use strict";var r=n(36840),o=n(79504),i=n(655),a=n(22812),s=URLSearchParams,l=s.prototype,c=o(l.getAll),u=o(l.has),d=new s("a=1");!d.has("a",2)&&d.has("a",void 0)||r(l,"has",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return u(this,e);var r=c(this,e);a(t,1);for(var o=i(n),s=0;s<r.length;)if(r[s++]===o)return!0;return!1}),{enumerable:!0,unsafe:!0})},98721:(e,t,n)=>{"use strict";var r=n(43724),o=n(79504),i=n(62106),a=URLSearchParams.prototype,s=o(a.forEac
838h);r&&!("size"in a)&&i(a,"size",{get:function(){var e=0;return s(this,(function(){e++})),e},configurable:!0,enumerable:!0})},2222:(e,t,n)=>{"use strict";var r=n(46518),o=n(97751),i=n(79039),a=n(22812),s=n(655),l=n(67416),c=o("URL"),u=l&&i((function(){c.canParse()})),d=i((function(){return 1!==c.canParse.length}));r({target:"URL",stat:!0,forced:!u||d},{canParse:function(e){var t=a(arguments.length,1),n=s(e),r=t<2||void 0===arguments[1]?void 0:s(arguments[1]);try{return!!new c(n,r)}catch(e){return!1}}})},45781:(e,t,n)=>{"use strict";var r=n(46518),o=n(97751),i=n(22812),a=n(655),s=n(67416),l=o("URL");r({target:"URL",stat:!0,forced:!s},{parse:function(e){var t=i(arguments.length,1),n=a(e),r=t<2||void 0===arguments[1]?void 0:a(arguments[1]);try{return new l(n,r)}catch(e){return null}}})},58168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{A:()=>r})},77387:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(63662);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},98587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},63662:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:()=>r})},13293:(e,t,n)=>{"use strict";n.d(t,{D4:()=>g});const r="function"==typeof Buffer,o="function"==typeof TextDecoder?new TextDecoder:void 0,i=("function"==typeof TextEncoder&&new TextEncoder,Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=")),a=(e=>{let t={};return e.forEach(((e,n)=>t[e]=n)),t})(i),s=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,l=String.fromCharCode.bind(String),c="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),u=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),d=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,p=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return l(55296+(t>>>10))+l(56320+(1023&t));case 3:return l((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return l((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},f="function"==typeof atob?e=>atob(u(e)):r?e=>Buffer.from(e,"base64").toString("binary"):e=>{if(e=e.replace(/\s+/g,""),!s.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,n,r,o="";for(let i=0;i<e.length;)t=a[e.charAt(i++)]<<18|a[e.charAt(i++)]<<12|(n=a[e.charAt(i++)])<<6|(r=a[e.charAt(i++)]),o+=64===n?l(t>>16&255):64===r?l(t>>16&255,t>>8&255):l(t>>16&255,t>>8&255,255&t);return o},h=r?e=>c(Buffer.from(e,"base64")):e=>c(f(e).split("").map((e=>e.charCodeAt(0)))),m=r?e=>Buffer.from(e,"base64").toString("utf8"):o?e=>o.decode(h(e)):e=>f(e).replace(d,p),g=e=>m(u(e.replace(/[-_]/g,(e=>"-"==e?"+":"/"))))},89469:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(66984);const o=function(e,t){for(var n=e.length;n--;)if((0,r.A)(e[n][0],t))return n;return-1};var i=Array.prototype.splice;function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=function(){this.__data__=[],this.size=0},a.prototype.delete=function(e){var t=this.__data__,n=o(t,e);return!(n<0||(n==t.length-1?t.pop():i.call(t,n,1),--this.size,0))},a.prototype.get=function(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]},a.prototype.has=function(e){return o(this.__data__,e)>-1},a.prototype.set=function(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};const s=a},68335:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(28562),o=n(41917);const i=(0,r.A)(o.A,"Map")},62050:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});const r=(0,n(28562).A)(Object,"create");var o=Object.prototype.hasOwnProperty;var i=Object.prototype.hasOwnProperty;function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=function(){this.__data__=r?r(null):{},this.size=0},a.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},a.prototype.get=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0},a.prototype.has=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)},a.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this};const s=a;var l=n(89469),c=n(68335);const u=function(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map};function d(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}d.prototype.clear=function(){this.size=0,this.__data__={hash:new s,map:new(c.A||l.A),string:new s}},d.prototype.delete=function(e){var t=u(this,e).delete(e);return this.size-=t?1:0,t},d.prototype.get=function(e){return u(this,e).get(e)},d.prototype.has=function(e){return u(this,e).has(e)},d.prototype.set=function(e,t){var n=u(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};const p=d},22080:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(89469);var o=n(68335),i=n(62050);function a(e){var t=this.__data__=new r.A(e);this.size=t.size}a.prototype.clear=function(){this.__data__=new r.A,this.size=0},a.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},a.prototype.get=function(e){return this.__data__.get(e)},a.prototype.has=function(e){return this.__data__.has(e)},a.prototype.set=function(e,t){var n=this.__data__;if(n instanceof r.A){var a=n.__data__;if(!o.A||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i.A(a)}return n.set(e,t),this.size=n.size,this};const s=a},241:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(41917).A.Symbol}
838,43988:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(41917).A.Uint8Array},2505:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(25175),o=n(92049),i=n(41200),a=n(25353),s=n(54749),l=Object.prototype.hasOwnProperty;const c=function(e,t){var n=(0,o.A)(e),c=!n&&(0,r.A)(e),u=!n&&!c&&(0,i.A)(e),d=!n&&!c&&!u&&(0,s.A)(e),p=n||c||u||d,f=p?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],h=f.length;for(var m in e)!t&&!l.call(e,m)||p&&("length"==m||u&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||(0,a.A)(m,h))||f.push(m);return f}},45572:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},52851:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(52528),o=n(66984),i=Object.prototype.hasOwnProperty;const a=function(e,t,n){var a=e[t];i.call(e,t)&&(0,o.A)(a,n)&&(void 0!==n||t in e)||(0,r.A)(e,t,n)}},52528:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(84171);const o=function(e,t,n){"__proto__"==t&&r.A?(0,r.A)(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},59712:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(23149),o=Object.create;const i=function(){function e(){}return function(t){if(!(0,r.A)(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}()},97132:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var s=i[++r];if(!1===t(o[s],s,o))break}return e}},66318:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(24878),o=n(30901);const i=function(e,t){for(var n=0,i=(t=(0,r.A)(t,e)).length;null!=e&&n<i;)e=e[(0,o.A)(t[n++])];return n&&n==i?e:void 0}},2383:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(241),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r.A?r.A.toStringTag:void 0;var l=Object.prototype.toString;var c=r.A?r.A.toStringTag:void 0;const u=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":c&&c in Object(e)?function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}(e):function(e){return l.call(e)}(e)}},52789:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return function(t){return e(t)}}},24878:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(92049),o=n(86586),i=n(62050);function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(a.Cache||i.A),n}a.Cache=i.A;var s=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g;const c=(u=a((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(s,(function(e,n,r,o){t.push(r?o.replace(l,"$1"):n||e)})),t}),(function(e){return 500===d.size&&d.clear(),e})),d=u.cache,u);var u,d,p=n(3456);const f=function(e,t){return(0,r.A)(e)?e:(0,o.A)(e,t)?[e]:c((0,p.A)(e))}},90565:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(43988);const o=function(e){var t=new e.constructor(e.byteLength);return new r.A(t).set(new r.A(e)),t}},80154:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(41917),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof module&&module&&!module.nodeType&&module,a=i&&i.exports===o?r.A.Buffer:void 0,s=a?a.allocUnsafe:void 0;const l=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},1801:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(90565);const o=function(e,t){var n=t?(0,r.A)(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},39759:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},22031:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(52851),o=n(52528);const i=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=i?i(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),a?(0,o.A)(n,c,u):(0,r.A)(n,c,u)}return n}},84171:(e,t,n)=>{"use strict";n.d(t,{A:()=>
838o});var r=n(28562);const o=function(){try{var e=(0,r.A)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},72136:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="object"==typeof global&&global&&global.Object===Object&&global},28562:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(89610);const o=n(41917).A["__core-js_shared__"];var i,a=(i=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";var s=n(23149),l=n(81121),c=/^\[object .+?Constructor\]$/,u=Function.prototype,d=Object.prototype,p=u.toString,f=d.hasOwnProperty,h=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const m=function(e){return!(!(0,s.A)(e)||(t=e,a&&a in t))&&((0,r.A)(e)?h:c).test((0,l.A)(e));var t},g=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return m(n)?n:void 0}},15647:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(40367).A)(Object.getPrototypeOf,Object)},32729:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(59712),o=n(15647),i=n(97271);const a=function(e){return"function"!=typeof e.constructor||(0,i.A)(e)?{}:(0,r.A)((0,o.A)(e))}},25353:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=/^(?:0|[1-9]\d*)$/;const o=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e<t}},86586:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(92049),o=n(61882),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;const s=function(e,t){if((0,r.A)(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!(0,o.A)(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},97271:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=Object.prototype;const o=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},64841:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(72136),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof module&&module&&!module.nodeType&&module,a=i&&i.exports===o&&r.A.process;const s=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}()},40367:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t){return function(n){return e(t(n))}}},65255:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=Math.max;const o=function(e,t,n){return t=r(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=r(o.length-t,0),s=Array(a);++i<a;)s[i]=o[t+i];i=-1;for(var l=Array(t+1);++i<t;)l[i]=o[i];return l[t]=n(s),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,l)}}},41917:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(72136),o="object"==typeof self&&self&&self.Object===Object&&self;const i=r.A||o||Function("return this")()},46778:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(84171),o=n(29008);const i=r.A?function(e,t){return(0,r.A)(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:o.A;var a=Date.now;const s=(l=i,c=0,u=0,function(){var e=a(),t=16-(e-u);if(u=e,t>0){if(++c>=800)return arguments[0]}else c=0;return l.apply(void 0,arguments)});var l,c,u},30901:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(61882);const o=function(e){if("string"==typeof e||(0,r.A)(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},81121:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=Function.prototype.toString;const o=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},66984:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t){return e===t||e!=e&&t!=t}},77500:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(66318);const o=function(e,t,n){var o=null==e?void 0:(0,r.A)(e,t);return void 0===o?n:o}},29008:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return e}},25175:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(2383),o=n(53098);const i=function(e){return(0,o.A)(e)&&"[object Arguments]"==(0,r.A)(e)};var a=Object.prototype,s=a.hasOwnProperty,l=a.propertyIsEnumerable;const c=i(function(){return arguments}())?i:function(e){return(0,o.A)(e)&&s.call(e,"callee")&&!l.call(e,"callee")}}
838,92049:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=Array.isArray},38446:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(89610),o=n(5254);const i=function(e){return null!=e&&(0,o.A)(e.length)&&!(0,r.A)(e)}},41200:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(41917);var o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof module&&module&&!module.nodeType&&module,a=i&&i.exports===o?r.A.Buffer:void 0;const s=(a?a.isBuffer:void 0)||function(){return!1}},89610:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2383),o=n(23149);const i=function(e){if(!(0,o.A)(e))return!1;var t=(0,r.A)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},5254:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},23149:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},53098:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return null!=e&&"object"==typeof e}},34963:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(2383),o=n(15647),i=n(53098),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);const d=function(e){if(!(0,i.A)(e)||"[object Object]"!=(0,r.A)(e))return!1;var t=(0,o.A)(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},61882:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2383),o=n(53098);const i=function(e){return"symbol"==typeof e||(0,o.A)(e)&&"[object Symbol]"==(0,r.A)(e)}},54749:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(2383),o=n(5254),i=n(53098),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=n(52789),l=n(64841),c=l.A&&l.A.isTypedArray;const u=c?(0,s.A)(c):function(e){return(0,i.A)(e)&&(0,o.A)(e.length)&&!!a[(0,r.A)(e)]}},79999:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(2505),o=n(23149),i=n(97271);var a=Object.prototype.hasOwnProperty;const s=function(e){if(!(0,o.A)(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=(0,i.A)(e),n=[];for(var r in e)("constructor"!=r||!t&&a.call(e,r))&&n.push(r);return n};var l=n(38446);const c=function(e){return(0,l.A)(e)?(0,r.A)(e,!0):s(e)}},452:(e,t,n)=>{"use strict";n.d(t,{A:()=>j});var r=n(22080),o=n(52528),i=n(66984);const a=function(e,t,n){(void 0!==n&&!(0,i.A)(e[t],n)||void 0===n&&!(t in e))&&(0,o.A)(e,t,n)};var s=n(97132),l=n(80154),c=n(1801),u=n(39759),d=n(32729),p=n(25175),f=n(92049),h=n(38446),m=n(53098);var g=n(41200),v=n(89610),y=n(23149),b=n(34963),w=n(54749);const x=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var k=n(22031),C=n(79999);const E=function(e,t,n,r,o,i,s){var E,S=x(e,n),O=x(t,n),A=s.get(O);if(A)a(e,n,A);else{var _=i?i(S,O,n+"",e,t,s):void 0,P=void 0===_;if(P){var j=(0,f.A)(O),T=!j&&(0,g.A)(O),I=!j&&!T&&(0,w.A)(O);_=O,j||T||I?(0,f.A)(S)?_=S:(E=S,(0,m.A)(E)&&(0,h.A)(E)?_=(0,u.A)(S):T?(P=!1,_=(0,l.A)(O,!0)):I?(P=!1,_=(0,c.A)(O,!0)):_=[]):(0,b.A)(O)||(0,p.A)(O)?(_=S,(0,p.A)(S)?_=function(e){return(0,k.A)(e,(0,C.A)(e))}(S):(0,y.A)(S)&&!(0,v.A)(S)||(_=(0,d.A)(O))):P=!1}P&&(s.set(O,_),o(_,O,r,i,s),s.delete(O)),a(e,n,_)}},S=function e(t,n,o,i,l){t!==n&&(0,s.A)(n,(function(s,c){if(l||(l=new r.A),(0,y.A)(s))E(t,n,c,o,e,i,l);else{var u=i?i(x(t,c),s,c+"",t,n,l):void 0;void 0===u&&(u=s),a(t,c,u)}}),C.A)};var O=n(29008),A=n(65255),_=n(46778);var P=n(25353);const j=(T=function(e,t,n){S(e,t,n)},I=function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,a=r>2?t[2]:void 0;for(o=T.length>3&&"function"==typeof o?(r--,o):void 0,a&&function(e,t,n){if(!(0,y.A)(n))return!1;var r=typeof t;return!!("number"==r?(0,h.A)(n)&&(0,P.A)(t,n.length):"string"==r&&t in n)&&(0,i.A)(n[t],e)}(t[0],t[1],a)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var s=t[n];s&&T(e,s,n)}return e},(0,_.A)((0,A.A)(I,L,O.A),I+""));var T,I,L}
838,43538:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(52851),o=n(24878),i=n(25353),a=n(23149),s=n(30901);const l=function(e,t,n){return null==e?e:function(e,t,n,l){if(!(0,a.A)(e))return e;for(var c=-1,u=(t=(0,o.A)(t,e)).length,d=u-1,p=e;null!=p&&++c<u;){var f=(0,s.A)(t[c]),h=n;if("__proto__"===f||"constructor"===f||"prototype"===f)return e;if(c!=d){var m=p[f];void 0===(h=l?l(m,f,p):void 0)&&(h=(0,a.A)(m)?m:(0,i.A)(t[c+1])?[]:{})}(0,r.A)(p,f,h),p=p[f]}return e}(e,t,n)}},3456:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(241),o=n(45572),i=n(92049),a=n(61882),s=r.A?r.A.prototype:void 0,l=s?s.toString:void 0;const c=function e(t){if("string"==typeof t)return t;if((0,i.A)(t))return(0,o.A)(t,e)+"";if((0,a.A)(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},u=function(e){return null==e?"":c(e)}},11561:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=!0,o="Invariant failed";function i(e,t){if(!e){if(r)throw new Error(o);var n="function"==typeof t?t():t,i=n?"".concat(o,": ").concat(n):o;throw new Error(i)}}},88486:(e,t,n)=>{"use strict";n.d(t,{Mj:()=>l});var r=n(24002);n(20181);var o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function i(e,t,n,i){const a=(0,r.useRef)(t);o((()=>{a.current=t}),[t]),(0,r.useEffect)((()=>{const t=(null==n?void 0:n.current)??window;if(!t||!t.addEventListener)return;const r=e=>{a.current(e)};return t.addEventListener(e,r,i),()=>{t.removeEventListener(e,r,i)}}),[e,n,i])}function a(e){const t=(0,r.useRef)((()=>{throw new Error("Cannot call an event handler while rendering.")}));return o((()=>{t.current=e}),[e]),(0,r.useCallback)(((...e)=>{var n;return null==(n=t.current)?void 0:n.call(t,...e)}),[t])}var s="undefined"==typeof window;function l(e,t,n={}){const{initializeWithValue:o=!0}=n,l=(0,r.useCallback)((e=>n.serializer?n.serializer(e):JSON.stringify(e)),[n]),c=(0,r.useCallback)((e=>{if(n.deserializer)return n.deserializer(e);if("undefined"===e)return;const r=t instanceof Function?t():t;let o;try{o=JSON.parse(e)}catch(e){return console.error("Error parsing JSON:",e),r}return o}),[n,t]),u=(0,r.useCallback)((()=>{const n=t instanceof Function?t():t;if(s)return n;try{const t=window.localStorage.getItem(e);return t?c(t):n}catch(t){return console.warn(`Error reading localStorage key â${e}â:`,t),n}}),[t,e,c]),[d,p]=(0,r.useState)((()=>o?u():t instanceof Function?t():t)),f=a((t=>{s&&console.warn(`Tried setting localStorage key â${e}â even though environment is not a client`);try{const n=t instanceof Function?t(u()):t;window.localStorage.setItem(e,l(n)),p(n),window.dispatchEvent(new StorageEvent("local-storage",{key:e}))}catch(t){console.warn(`Error setting localStorage key â${e}â:`,t)}})),h=a((()=>{s&&console.warn(`Tried removing localStorage key â${e}â even though environment is not a client`);const n=t instanceof Function?t():t;window.localStorage.removeItem(e),p(n),window.dispatchEvent(new StorageEvent("local-storage",{key:e}))}));(0,r.useEffect)((()=>{p(u())}),[e]);const m=(0,r.useCallback)((t=>{t.key&&t.key!==e||p(u())}),[e,u]);return i("storage",m),i("local-storage",m),[d,f,h]}}},v={};function y(e){var t=v[e];if(void 0!==t)return t.exports;var n=v[e]={id:e,loaded:!1,exports:{}};return g[e].call(n.exports,n,n.exports,y),n.loaded=!0,n.exports}y.m=g,y.c=v,y.amdO={},y.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return y.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,y.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);y.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>i[e]=()=>n[e]));return i.default=()=>n,y.d(o,i),o},y.d=(e,t)=>{for(var n in t)y.o(t,n)&&!y.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},y.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),y.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),y.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),y.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
838),Object.defineProperty(e,"__esModule",{value:!0})},y.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{y.S={};var e={},t={};y.I=(n,r)=>{r||(r=[]);var o=t[n];if(o||(o=t[n]={}),!(r.indexOf(o)>=0)){if(r.push(o),e[n])return e[n];y.o(y.S,n)||(y.S[n]={});var i=y.S[n],a=(e,t,n,r)=>{var o=i[e]=i[e]||{},a=o[t];(!a||!a.loaded&&(!r!=!a.eager?r:"app">a.from))&&(o[t]={get:n,from:"app",eager:!!r})},s=[];return"default"===n&&(a("react-dom","17.0.2",(()=>()=>y(40961)),1),a("react-router-dom","5.2.0",(()=>()=>y(54625)),1),a("react","17.0.2",(()=>()=>y(96540)),1)),e[n]=s.length?Promise.all(s).then((()=>e[n]=1)):1}}})(),y.p="/app1",n=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),n=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),r=n[1]?t(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,t(n[2]))),n[3]&&(r.push([]),r.push.apply(r,t(n[3]))),r},r=(e,t)=>{e=n(e),t=n(t);for(var r=0;;){if(r>=e.length)return r<t.length&&"u"!=(typeof t[r])[0];var o=e[r],i=(typeof o)[0];if(r>=t.length)return"u"==i;var a=t[r],s=(typeof a)[0];if(i!=s)return"o"==i&&"n"==s||"s"==s||"u"==i;if("o"!=i&&"u"!=i&&o!=a)return o<a;r++}},o=e=>{var t=e[0],n="";if(1===e.length)return"*";if(t+.5){n+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var r=1,i=1;i<e.length;i++)r--,n+="u"==(typeof(s=e[i]))[0]?"-":(r>0?".":"")+(r=2,s);return n}var a=[];for(i=1;i<e.length;i++){var s=e[i];a.push(0===s?"not("+l()+")":1===s?"("+l()+" || "+l()+")":2===s?a.pop()+" "+a.pop():o(s))}return l();function l(){return a.pop().replace(/^\((.+)\)$/,"$1")}},i=(e,t)=>{if(0 in e){t=n(t);var r=e[0],o=r<0;o&&(r=-r-1);for(var a=0,s=1,l=!0;;s++,a++){var c,u,d=s<e.length?(typeof e[s])[0]:"";if(a>=t.length||"o"==(u=(typeof(c=t[a]))[0]))return!l||("u"==d?s>r&&!o:""==d!=o);if("u"==u){if(!l||"u"!=d)return!1}else if(l)if(d==u)if(s<=r){if(c!=e[s])return!1}else{if(o?c>e[s]:c<e[s])return!1;c!=e[s]&&(l=!1)}else if("s"!=d&&"n"!=d){if(o||s<=r)return!1;l=!1,s--}else{if(s<=r||u<d!=o)return!1;l=!1}else"s"!=d&&"n"!=d&&(l=!1,s--)}}var p=[],f=p.pop.bind(p);for(a=1;a<e.length;a++){var h=e[a];p.push(1==h?f()|f():2==h?f()&f():h?i(h,t):!f())}return!!f()},a=(e,t)=>e&&y.o(e,t),s=e=>(e.loaded=1,e.get()),l=e=>Object.keys(e).reduce(((t,n)=>(e[n].eager&&(t[n]=e[n]),t)),{}),c=e=>{throw new Error(e)},d=(e,t,n)=>n?n():((e,t)=>c("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),p=(u=e=>function(t,n,r,o,i){var a=y.I(t);return a&&a.then&&!r?a.then(e.bind(e,t,y.S[t],n,!1,o,i)):e(t,y.S[t],n,r,o,i)})(((e,t,n,u,p,f)=>
838{if(!a(t,n))return d(e,n,f);var h=((e,t,n,o)=>{var a=o?l(e[t]):e[t];return(t=Object.keys(a).reduce(((e,t)=>!i(n,t)||e&&!r(e,t)?e:t),0))&&a[t]})(t,n,p,u);return h?s(h):f?f():void c(((e,t,n,r,i)=>{var a=e[n];return"No satisfying version ("+o(r)+")"+(i?" for eager consumption":"")+" of shared module "+n+" found in shared scope "+t+".\nAvailable versions: "+Object.keys(a).map((e=>e+" from "+a[e].from)).join(", ")})(t,e,n,p,u))})),f=u(((e,t,n,c,u,p)=>{if(!a(t,n))return d(e,n,p);var f,h=((e,t,n)=>{var o=n?l(e[t]):e[t];return Object.keys(o).reduce(((e,t)=>!e||!o[e].loaded&&r(e,t)?t:e),0)})(t,n,c);return i(u,h)||(f=((e,t,n,r)=>"Unsatisfied version "+n+" from "+(n&&e[t][n].from)+" of shared singleton module "+t+" (required "+o(r)+")")(t,n,h,u),"undefined"!=typeof console&&console.warn&&console.warn(f)),s(t[n][h])})),h={},m={24002:()=>f("default","react",!0,[1,17,0,2],(()=>()=>y(96540))),18036:()=>f("default","react-dom",!0,[1,17,0,2],(()=>()=>y(40961))),38803:()=>p("default","react-router-dom",!0,[1,5,2,0],(()=>()=>y(54625)))},[24002,18036,38803].forEach((e=>{y.m[e]=t=>{h[e]=0,delete y.c[e];var n=m[e]();if("function"!=typeof n)throw new Error("Shared module is not available for eager consumption: "+e);t.exports=n()}})),y(47107),y(67590)})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.