PageSourceSearch

https://wise.com/static-assets/app/_next/static/chunks/98000-8dc280593d10c3c7.js

js wise.com collected 2026-10-01 08:29:47 UTC 107,584 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[98e3],{13721:(e,r,t)=>{t.d(r,{A:()=>J});var n,o,i,a,s,l,d,u=t(82643),A=t(94070),c="right-scroll-bar-position",f="width-before-scroll-bar";function E(e,r){return"function"==typeof e?e(r):e&&(e.current=r),e}var S="u">typeof window?A.useLayoutEffect:A.useEffect,_=new WeakMap,R=(void 0===n&&(n={}),(void 0===o&&(o=function(e){return e}),i=[],a=!1,s={read:function(){if(a)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:null},useMedium:function(e){var r=o(e,a);return i.push(r),function(){i=i.filter(function(e){return e!==r})}},assignSyncMedium:function(e){for(a=!0;i.length;){var r=i;i=[],r.forEach(e)}i={push:function(r){return e(r)},filter:function(){return i}}},assignMedium:function(e){a=!0;var r=[];if(i.length){var t=i;i=[],t.forEach(e),r=i}var n=function(){var t=r;r=[],t.forEach(e)},o=function(){return Promise.resolve().then(n)};o(),i={push:function(e){r.push(e),o()},filter:function(e){return r=r.filter(e),i}}}}).options=(0,u.Cl)({async:!0,ssr:!1},n),s),N=function(){},p=A.forwardRef(function(e,r){var t,n,o,i,a=A.useRef(null),s=A.useState({onScrollCapture:N,onWheelCapture:N,onTouchMoveCapture:N}),l=s[0],d=s[1],c=e.forwardProps,f=e.children,p=e.className,h=e.removeScrollBar,I=e.enabled,T=e.shards,L=e.sideCar,O=e.noRelative,C=e.noIsolation,v=e.inert,P=e.allowPinchZoom,m=e.as,D=e.gapMode,b=(0,u.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),g=(t=[a,r],n=function(e){return t.forEach(function(r){return E(r,e)})},(o=(0,A.useState)(function(){return{value:null,callback:n,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=n,i=o.facade,S(function(){var e=_.get(i);if(e){var r=new Set(e),n=new Set(t),o=i.current;r.forEach(function(e){n.has(e)||E(e,null)}),n.forEach(function(e){r.has(e)||E(e,o)})}_.set(i,t)},[t]),i),M=(0,u.Cl)((0,u.Cl)({},b),l);return A.createElement(A.Fragment,null,I&&A.createElement(L,{sideCar:R,removeScrollBar:h,shards:T,noRelative:O,noIsolation:C,inert:v,setCallbacks:d,allowPinchZoom:!!P,lockRef:a,gapMode:D}),c?A.cloneElement(A.Children.only(f),(0,u.Cl)((0,u.Cl)({},M),{ref:g})):A.createElement(void 0===m?"div":m,(0,u.Cl)({},M,{className:p,ref:g}),f))});p.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},p.classNames={fullWidth:f,zeroRight:c};var h=function(e){var r=e.sideCar,t=(0,u.Tt)(e,["sideCar"]);if(!r)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=r.read();if(!n)throw Error("Sidecar medium not found");return A.createElement(n,(0,u.Cl)({},t))};h.isSideCarExport=!0;var I=function(){var e=0,r=null;return{add:function(n){if(0==e&&(r=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var r=d||t.nc;return r&&e.setAttribute("nonce",r),e}())){var o,i;(o=r).styleSheet?o.styleSheet.cssText=n:o.appendChild(document.createTextNode(n)),i=r,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!r||(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},T=function(){var e=I();return function(r,t){A.useEffect(function(){return e.add(r),function(){e.remove()}},[r&&t])}},L=function(){var e=T();return function(r){return e(r.styles,r.dynamic),null}},O={left:0,top:0,right:0,gap:0},C=function(e){return parseInt(e||"",10)||0},v=function(e){var r=window.getComputedStyle(document.body),t=r["padding"===e?"paddingLeft":"marginLeft"],n=r["padding"===e?"paddingTop":"marginTop"],o=r["padding"===e?"paddingRight":"marginRight"];return[C(t),C(n),C(o)]},P=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return O;var r=v(e),t=document.documentElement.clientWidth,n=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,n-t+r[2]-r[0])}},m=L(),D="data-scroll-locked",b=function(e,r,t,n){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===t&&(t="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(n,";\n   padding-right: ").concat(s,"px ").concat(n,";\n  }\n  body[").concat(D,"] {\n    overflow: hidden ").concat(n,";\n    overscroll-behavior: contain;\n    ").concat([r&&"position: relative ".concat(n,";"),"margin"===t&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(s,"px ").concat(n,";\n    "),"padding"===t&&"padding-right: ".concat(s,"px ").concat(n,";
1")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(c," {\n    right: ").concat(s,"px ").concat(n,";\n  }\n  \n  .").concat(f," {\n    margin-right: ").concat(s,"px ").concat(n,";\n  }\n  \n  .").concat(c," .").concat(c," {\n    right: 0 ").concat(n,";\n  }\n  \n  .").concat(f," .").concat(f," {\n    margin-right: 0 ").concat(n,";\n  }\n  \n  body[").concat(D,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n  }\n")},g=function(){var e=parseInt(document.body.getAttribute(D)||"0",10);return isFinite(e)?e:0},M=function(){A.useEffect(function(){return document.body.setAttribute(D,(g()+1).toString()),function(){var e=g()-1;e<=0?document.body.removeAttribute(D):document.body.setAttribute(D,e.toString())}},[])},U=function(e){var r=e.noRelative,t=e.noImportant,n=e.gapMode,o=void 0===n?"margin":n;M();var i=A.useMemo(function(){return P(o)},[o]);return A.createElement(m,{styles:b(i,!r,o,t?"":"!important")})},G=!1;if("u">typeof window)try{var K=Object.defineProperty({},"passive",{get:function(){return G=!0,!0}});window.addEventListener("test",K,K),window.removeEventListener("test",K,K)}catch(e){G=!1}var y=!!G&&{passive:!1},w=function(e,r){if(!(e instanceof Element))return!1;var t=window.getComputedStyle(e);return"hidden"!==t[r]&&(t.overflowY!==t.overflowX||"TEXTAREA"===e.tagName||"visible"!==t[r])},B=function(e,r){var t=r.ownerDocument,n=r;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),F(e,n)){var o=x(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==t.body);return!1},F=function(e,r){return"v"===e?w(r,"overflowY"):w(r,"overflowX")},x=function(e,r){return"v"===e?[r.scrollTop,r.scrollHeight,r.clientHeight]:[r.scrollLeft,r.scrollWidth,r.clientWidth]},Z=function(e,r,t,n,o){var i,a=(i=window.getComputedStyle(r).direction,"h"===e&&"rtl"===i?-1:1),s=a*n,l=t.target,d=r.contains(l),u=!1,A=s>0,c=0,f=0;do{if(!l)break;var E=x(e,l),S=E[0],_=E[1]-E[2]-a*S;(S||_)&&F(e,l)&&(c+=_,f+=S);var R=l.parentNode;l=R&&R.nodeType===Node.DOCUMENT_FRAGMENT_NODE?R.host:R}while(!d&&l!==document.body||d&&(r.contains(l)||r===l));return A&&(o&&1>Math.abs(c)||!o&&s>c)?u=!0:!A&&(o&&1>Math.abs(f)||!o&&-s>f)&&(u=!0),u},k=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},H=function(e){return[e.deltaX,e.deltaY]},Y=function(e){return e&&"current"in e?e.current:e},j=0,V=[];let W=(l=function(e){var r=A.useRef([]),t=A.useRef([0,0]),n=A.useRef(),o=A.useState(j++)[0],i=A.useState(L)[0],a=A.useRef(e);A.useEffect(function(){a.current=e},[e]),A.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var r=(0,u.fX)([e.lockRef.current],(e.shards||[]).map(Y),!0).filter(Boolean);return r.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),r.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=A.useCallback(function(e,r){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=k(e),s=t.current,l="deltaX"in e?e.deltaX:s[0]-i[0],d="deltaY"in e?e.deltaY:s[1]-i[1],u=e.target,A=Math.abs(l)>Math.abs(d)?"h":"v";if("touches"in e&&"h"===A&&"range"===u.type)return!1;var c=window.getSelection(),f=c&&c.anchorNode;if(f&&(f===u||f.contains(u)))return!1;var E=B(A,u);if(!E)return!0;if(E?o=A:(o="v"===A?"h":"v",E=B(A,u)),!E)return!1;if(!n.current&&"changedTouches"in e&&(l||d)&&(n.current=o),!o)return!0;var S=n.current||o;return Z(S,r,e,"h"===S?l:d,!0)},[]),l=A.useCallback(function(e){if(V.length&&V[V.length-1]===i){var t="deltaY"in e?H(e):k(e),n=r.current.filter(function(r){var n;return r.name===e.type&&(r.target===e.target||e.target===r.shadowParent)&&(n=r.delta,n[0]===t[0]&&n[1]===t[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}
1if(!n){var o=(a.current.shards||[]).map(Y).filter(Boolean).filter(function(r){return r.contains(e.target)});(o.length>0?s(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=A.useCallback(function(e,t,n,o){var i={name:e,delta:t,target:n,should:o,shadowParent:function(e){for(var r=null;null!==e;)e instanceof ShadowRoot&&(r=e.host,e=e.host),e=e.parentNode;return r}(n)};r.current.push(i),setTimeout(function(){r.current=r.current.filter(function(e){return e!==i})},1)},[]),c=A.useCallback(function(e){t.current=k(e),n.current=void 0},[]),f=A.useCallback(function(r){d(r.type,H(r),r.target,s(r,e.lockRef.current))},[]),E=A.useCallback(function(r){d(r.type,k(r),r.target,s(r,e.lockRef.current))},[]);A.useEffect(function(){return V.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:E}),document.addEventListener("wheel",l,y),document.addEventListener("touchmove",l,y),document.addEventListener("touchstart",c,y),function(){V=V.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,y),document.removeEventListener("touchmove",l,y),document.removeEventListener("touchstart",c,y)}},[]);var S=e.removeScrollBar,_=e.inert;return A.createElement(A.Fragment,null,_?A.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,S?A.createElement(U,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},R.useMedium(l),h);var X=A.forwardRef(function(e,r){return A.createElement(p,(0,u.Cl)({},e,{ref:r,sideCar:W}))});X.classNames=p.classNames;let J=X},22097:(e,r,t)=>{let n;t.d(r,{n:()=>c});var o=t(94070),i=t(64763),a=t(56619),s=t(51496),l=t(89142),d="focusScope.autoFocusOnMount",u="focusScope.autoFocusOnUnmount",A={bubbles:!1,cancelable:!0},c=o.forwardRef((e,r)=>{let{loop:t=!1,trapped:n=!1,onMountAutoFocus:c,onUnmountAutoFocus:R,...N}=e,[p,h]=o.useState(null),I=(0,s.c)(c),T=(0,s.c)(R),L=o.useRef(null),O=(0,i.s)(r,h),C=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(n){let e=function(e){if(C.paused||!p)return;let r=e.target;p.contains(r)?L.current=r:S(L.current,{select:!0})},r=function(e){if(C.paused||!p)return;let r=e.relatedTarget;null!==r&&(p.contains(r)||S(L.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",r);let t=new MutationObserver(function(e){if(document.activeElement===document.body)for(let r of e)r.removedNodes.length>0&&S(p)});return p&&t.observe(p,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",r),t.disconnect()}}},[n,p,C.paused]),o.useEffect(()=>{if(p){_.add(C);let e=document.activeElement;if(!p.contains(e)){let r=new CustomEvent(d,A);p.addEventListener(d,I),p.dispatchEvent(r),r.defaultPrevented||(function(e,{select:r=!1}={}){let t=document.activeElement;for(let n of e)if(S(n,{select:r}),document.activeElement!==t)return}(f(p).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&S(p))}return()=>{p.removeEventListener(d,I),setTimeout(()=>{let r=new CustomEvent(u,A);p.addEventListener(u,T),p.dispatchEvent(r),r.defaultPrevented||S(e??document.body,{select:!0}),p.removeEventListener(u,T),_.remove(C)},0)}}},[p,I,T,C]);let v=o.useCallback(e=>{if(!t&&!n||C.paused)return;let r="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(r&&o){var i;let r,n=e.currentTarget,[a,s]=[E(r=f(i=n),i),E(r.reverse(),i)];a&&s?e.shiftKey||o!==s?e.shiftKey&&o===a&&(e.preventDefault(),t&&S(s,{select:!0})):(e.preventDefault(),t&&S(a,{select:!0})):o===n&&e.preventDefault()}},[t,n,C.paused]);return(0,l.jsx)(a.sG.div,{tabIndex:-1,...N,ref:O,onKeyDown:v})});function f(e){let r=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let r="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||r?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)r.push(t.currentNode);return r}function E(e,r){let t="function"==typeof r.checkVisibility&&r.checkVisibility({checkVisibilityCSS:!0});for(let n of e)if(!(t?!n.checkVisibility({checkVisibilityCSS:!0}):function(e,{upTo:r}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===r||e!==r);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:r})))return n}function S(e,{select:r=!1}={}){if(e&&e.focus){var t;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(t=e)instanceof HTMLInputElement&&"select"in t&&r&&e.select()}}c.displayName="FocusScope";var _=(n=[],{add(e){let r=n[0];e!==r&&r?.pause(),(n=R(n,e)).unshift(e)},remove(e){n=R(n,e),n[0]?.resume()}});function R(e,r){let t=[...e],n=t.indexOf(r);return -1!==n&&t.splice(n,1),t}},48494:(e,r,t)=>{t.d(r,{jo:()=>ei,mY:()=>ea,p:()=>E}
1);var n=t(83846),o=t(17844),i=t(93629),a=t(12694),s=t(86105),l=t(78894),d=t(27934),u=Object.defineProperty,A=function(e,r){for(var t in r)u(e,t,{get:r[t],enumerable:!0})};A({},{FALLBACK_LOCALE:function(){return c},TOP_LOCALES:function(){return f}});var c="GB",f=["AU","BE","BR","CA","CH","CN","CO","DE","ES","FR","GB","HK","HU","ID","IE","IN","IT","JP","NL","NZ","PH","PL","PT","SE","SG","TH","TR","UA","US"],E={};A(E,{DEFAULT_CONTENT_OVERRIDES:function(){return $},DEFAULT_TOGGLES:function(){return q},SUPPORTED_PAGE_LOCALES:function(){return ee},UNSUPPORTED_PAGE_LOCALES:function(){return er}});var S={};A(S,{BUSINESS_FOOTER:function(){return D},BUSINESS_RESOURCES_GROUP:function(){return h},COMMON_GROUP:function(){return v},COMPANY_AND_TEAM_GROUP:function(){return I},HELP_GROUP:function(){return T},LEGAL_GROUP:function(){return P},OVERVIEW_GROUP:function(){return _},PERSONAL_FOOTER:function(){return m},PLATFORM_FOOTER:function(){return b},PLATFORM_INDUSTRIES_GROUP:function(){return O},PLATFORM_PRODUCTS_GROUP:function(){return L},PLATFORM_RESOURCES_GROUP:function(){return C},RESOURCES_GROUP:function(){return p},WISE_BUSINESS_GROUP:function(){return N},WISE_PERSONAL_GROUP:function(){return R}});var _={id:l.AA.ids.footer.OVERVIEW_GROUP,label:l.DZ.footer.PRODUCTS,position:["footer.primary"],links:[{id:l.AA.ids.footer.OVERVIEW_PERSONAL_LINK,label:l.DZ.footer.WISE_PERSONAL,href:l.AA.hrefs.PERSONAL_ROOT,tags:["personal"]},{id:l.AA.ids.footer.OVERVIEW_BUSINESS_LINK,label:l.DZ.footer.WISE_BUSINESS,href:l.AA.hrefs.BUSINESS_ROOT,tags:["business"]},{id:l.AA.ids.footer.OVERVIEW_PLATFORM_LINK,label:l.DZ.footer.WISE_PLATFORM,href:l.AA.hrefs.PLATFORM_ROOT}]},R={id:l.AA.ids.footer.PERSONAL_GROUP,label:l.DZ.footer.WISE_PERSONAL,position:["footer.primary"],tags:["personal"],links:[{id:l.AA.ids.footer.PERSONAL_ACCOUNT_LINK,label:l.DZ.footer.WISE_ACCOUNT,href:l.AA.hrefs.PERSONAL_ACCOUNT,tags:["personal","send","bankDetail
1s"]},{id:l.AA.ids.footer.PERSONAL_SEND_MONEY_LINK,label:l.DZ.footer.INTERNATIONAL_MONEY_TRANSFER,href:l.AA.hrefs.PERSONAL_SEND_MONEY,tags:["personal","send"]},{id:l.AA.ids.footer.PERSONAL_LARGE_AMOUNTS_LINK,label:l.DZ.footer.LARGE_AMOUNT_TRANSFER,href:l.AA.hrefs.PERSONAL_LARGE_AMOUNTS,tags:["personal","send"]},{id:l.AA.ids.footer.PERSONAL_CARD_LINK,label:l.DZ.footer.INTERNATIONAL_DEBIT_CARD,href:l.AA.hrefs.PERSONAL_CARD,tags:["personal","card"]},{id:l.AA.ids.footer.PERSONAL_RECEIVE_MONEY_LINK,label:l.DZ.footer.RECEIVE_MONEY,href:l.AA.hrefs.PERSONAL_RECEIVE_MONEY,tags:["personal","bankDetails"]},{id:l.AA.ids.footer.PERSONAL_INTEREST_LINK,label:l.DZ.footer.ASSETS,href:l.AA.hrefs.PERSONAL_INTEREST,tags:["personal","assets"]}]},N={id:l.AA.ids.footer.BUSINESS_GROUP,label:l.DZ.footer.WISE_BUSINESS,position:["footer.primary"],tags:["business"],links:[{id:l.AA.ids.footer.BUSINESS_SEND_PAYMENTS_LINK,label:l.DZ.footer.SEND_PAYMENTS,href:l.AA.hrefs.BUSINESS_SEND_PAYMENTS,tags:["business","send"]},{id:l.AA.ids.footer.BUSINESS_CARD_LINK,label:l.DZ.footer.INTERNATIONAL_BUSINESS_DEBIT_CARD,href:l.AA.hrefs.BUSINESS_CARD,tags:["business","card"]},{id:l.AA.ids.footer.BUSINESS_ACCEPT_CARD_PAYMENTS_LINK,label:l.DZ.footer.ACCEPT_CARD_PAYMENTS,href:l.AA.hrefs.BUSINESS_ACCEPT_CARD_PAYMENTS,tags:["business","card"]},{id:l.AA.ids.footer.BUSINESS_RECEIVE_MONEY_LINK,label:l.DZ.footer.RECEIVE_MONEY,href:l.AA.hrefs.BUSINESS_RECEIVE_MONEY,tags:["business","bankDetail
1s"]},{id:l.AA.ids.footer.BUSINESS_INTEREST_LINK,label:l.DZ.footer.INTEREST,href:l.AA.hrefs.BUSINESS_INTEREST,tags:["business","assets"]},{id:l.AA.ids.footer.BUSINESS_MASS_PAYMENTS_LINK,label:l.DZ.footer.MASS_PAYMENTS,href:l.AA.hrefs.BUSINESS_PAYOUTS,tags:["business","send"]},{id:l.AA.ids.footer.BUSINESS_MANAGE_TEAM_FINANCES_LINK,label:l.DZ.footer.MANAGE_TEAM_FINANCES,href:l.AA.hrefs.BUSINESS_MANAGE_TEAM,tags:["business","mua"]},{id:l.AA.ids.footer.BUSINESS_CONNECT_ACCOUNTING_SOFTWARE_LINK,label:l.DZ.footer.CONNECT_ACCOUNTING_SOFTWARE,href:l.AA.hrefs.BUSINESS_ACCOUNTING_SOFTWARE,tags:["business","accounting"]},{id:l.AA.ids.footer.BUSINESS_PAY_INVOICES_LINK,label:l.DZ.footer.PAY_INVOICES,href:l.AA.hrefs.BUSINESS_INVOICES,tags:["business","send"]}]},p={id:l.AA.ids.footer.RESOURCES_GROUP,label:l.DZ.footer.RESOURCES,position:["footer.primary"],links:[{id:l.AA.ids.footer.CURRENCY_CONVERTER_LINK,label:l.DZ.footer.CURRENCY_CONVERTER,href:l.AA.hrefs.CURRENCY_CONVERTER},{id:l.AA.ids.footer.INTERNATIONAL_STOCK_TICKER_LINK,label:l.DZ.footer.INTERNATIONAL_STOCK_TICKER,href:l.AA.hrefs.STOCK},{id:l.AA.ids.footer.SWIFT_BIC_CODES_LINK,label:l.DZ.footer.SWIFT_BIC_CODES,href:l.AA.hrefs.SWIFT_CODES},{id:l.AA.ids.footer.IBAN_CODES_LINK,label:l.DZ.footer.IBAN_CODES,href:l.AA.hrefs.IBAN},{id:l.AA.ids.footer.RATE_ALERTS_LINK,label:l.DZ.footer.RATE_ALERTS,href:l.AA.hrefs.TOOLS_EXCHANGE_RATE_ALERTS},{id:l.AA.ids.footer.COMPARE_EXCHANGE_RATES_LINK,label:l.DZ.footer.COMPARE_EXCHANGE_RATES,href:l.AA.hrefs.COMPARE},{id:l.AA.ids.footer.FEATURE_AVAILABILITY_LINK,label:l.DZ.footer.FEATURE_AVAILABILITY,href:l.AA.hrefs.AVAILABILITY_CHECKER}]},h={id:l.AA.ids.footer.BUSINESS_RESOURCES_GROUP,label:l.DZ.footer.BUSINESS_RESOURCES,position:["footer.primary"],tags:["business"],links:[{id:l.AA.ids.footer.BUSINESS_VIEW_API_DOCUMENTS_LINK,label:l.DZ.footer.VIEW_API_DOCUMENTS,href:l.AA.hrefs.BUSINESS_API},{id:l.AA.ids.footer.BUSINESS_TRY_DEMO_LINK,label:l.DZ.footer.TRY_BUSINESS_DEMO,href:l.AA.hrefs.BUSINESS_DEMO},{id:l.AA.ids.footer.BUSINESS_INCORPORATE_YOUR_COMPANY_LINK,label:l.DZ.footer.INCORPORATE_YOUR_COMPANY,href:l.AA.hrefs.COMPANY_FORMATION_GB},{id:l.AA.ids.footer.INVOICE_GENERATOR_LINK,label:l.DZ.footer.INVOICE_GENERATOR,href:l.AA.hrefs.INVOICE_GENERATOR_US},{id:l.AA.ids.footer.BUSINESS_CALCULATORS_LINK,label:l.DZ.footer.BUSINESS_CALCULATORS,href:l.AA.hrefs.BUSINESS_TOOLS_GB},{id:l.AA.ids.footer.CONTACT_BUSINESS_SALES_LINK,label:l.DZ.footer.CONTACT_BUSINESS_SALES,href:l.AA.hrefs.BUSINESS_CONTACT_SALES_GB}]},I={id:l.AA.ids.footer.COMPANY_AND_TEAM_GROUP,label:l.DZ.footer.COMPANY_AND_TEAM,position:["footer.primary"],links:[{id:l.AA.ids.footer.COMPANY_AND_TEAM_LINK,label:l.DZ.footer.COMPANY_AND_TEAM,href:l.AA.hrefs.ABOUT_OUR_STORY},{id:l.AA.ids.footer.NEWS_AND_BLOG_LINK,label:l.DZ.footer.NEWS_AND_BLOG,href:l.AA.hrefs.BLOG},{id:l.AA.ids.footer.SECURITY_LINK,label:l.DZ.footer.SECURITY,href:l.AA.hrefs.SAFETY_AND_SECURITY},{id:l.AA.ids.footer.PRESS_LINK,label:l.DZ.footer.PRESS,href:l.AA.hrefs.PRESS},{id:l.AA.ids.footer.CAREERS_LINK,label:l.DZ.footer.CAREERS,href:l.AA.hrefs.JOBS},{id:l.AA.ids.footer.INVESTOR_RELATIONS_LINK,label:l.DZ.footer.INVESTOR_RELATIONS,href:l.AA.hrefs.OWNERS},{id:l.AA.ids.footer.OUR_MISSION_LINK,label:l.DZ.footer.OUR_MISSION,href:l.AA.hrefs.OUR_MISSION},{id:l.AA.ids.footer.AFFILIATES_AND_PARTNERSHIPS_LINK,label:l.DZ.footer.AFFILIATES_AND_PARTNERSHIPS,href:l.AA.hrefs.PARTNERWISE},{id:l.AA.ids.footer.REVIEWS_LINK,label:l.DZ.footer.REVIEWS,href:l.AA.hrefs.REVIEWS}]},T={id:l.AA.ids.footer.HELP_GROUP,label:l.DZ.footer.HELP,position:["footer.primary"],links:[{id:l.AA.ids.footer.HELP_CENTRE_LINK,label:l.DZ.footer.HELP_CENTRE,href:l.AA.hrefs.HELP},{id:l.AA.ids.footer.SERVICE_STATUS_LINK,label:l.DZ.footer.SERVICE_STATUS,href:l.AA.hrefs.STATUS}]},L={id:l.AA.ids.footer.PLATFORM_PRODUCTS_GROUP,label:l.DZ.footer.PLATFORM_PRODUCTS,position:["footer.primary"],links:[{id:l.AA.ids.footer.PLATFORM_SEND_LINK,label:l.DZ.footer.SEND,href:l.AA.hrefs.PLATFORM_SEND},{id:l.AA.ids.footer.PLATFORM_RECEIVE_LINK,label:l.DZ.footer.RECEIVE,href:l.AA.hrefs.PLATFORM_RECEIVE},{id:l.AA.ids.footer.PLATFORM_CARD_LINK,label:l.DZ.footer.CARD_ISSUING,href:l.AA.hrefs.PLATFORM_CARDS},{id:l.AA.ids.footer.PLATFORM_ACCOUNTS_LINK,label:l.DZ.footer.MULTI_CURRENCY_ACCOUNTS,href:l.AA.hrefs.PLATFORM_ACCOUNTS}]}
1,O={id:l.AA.ids.footer.PLATFORM_INDUSTRIES_GROUP,label:l.DZ.footer.PLATFORM_INDUSTRIES,position:["footer.primary"],links:[{id:l.AA.ids.footer.PLATFORM_BANKS_AND_FINANCIAL_INSTITUTIONS_LINK,label:l.DZ.footer.BANKS_FINANCIAL_INSTITUTIONS,href:l.AA.hrefs.PLATFORM_FINANCIAL_INSTITUTIONS},{id:l.AA.ids.footer.PLATFORM_EDUCATION_LINK,label:l.DZ.footer.EDUCATION_PLATFORMS,href:l.AA.hrefs.PLATFORM_EDUCATION},{id:l.AA.ids.footer.PLATFORM_MARKETPLACES_LINK,label:l.DZ.footer.MARKETPLACES,href:l.AA.hrefs.PLATFORM_MARKETPLACES},{id:l.AA.ids.footer.PLATFORM_SPEND_MANAGEMENT_LINK,label:l.DZ.footer.SPEND_MANAGEMENT,href:l.AA.hrefs.PLATFORM_SPEND_MANAGEMENT},{id:l.AA.ids.footer.PLATFORM_TRAVEL_LINK,label:l.DZ.footer.TRAVEL_PLATFORMS,href:l.AA.hrefs.PLATFORM_TRAVEL},{id:l.AA.ids.footer.PLATFORM_WORKFORCE_LINK,label:l.DZ.footer.WORKFORCE_PLATFORMS,href:l.AA.hrefs.PLATFORM_WORKFORCE_PLATFORMS}]},C={id:l.AA.ids.footer.PLATFORM_RESOURCES_GROUP,label:l.DZ.footer.PLATFORM_RESOURCES,position:["footer.primary"],links:[{id:l.AA.ids.footer.PLATFORM_ABOUT_LINK,label:l.DZ.footer.ABOUT_WISE_PLATFORM,href:l.AA.hrefs.PLATFORM_ROOT},{id:l.AA.ids.footer.WISE_CONNECT_LINK,label:l.DZ.footer.WISE_CONNECT,href:l.AA.hrefs.WISE_CONNECT},{id:l.AA.ids.footer.PLATFORM_EXPLORE_THE_API_LINK,label:l.DZ.footer.EXPLORE_THE_API,href:l.AA.hrefs.API_DOCS},{id:l.AA.ids.footer.PLATFORM_CONTACT_LINK,label:l.DZ.footer.CONTACT_WISE_PLATFORM,href:l.AA.hrefs.PLATFORM_CONTACT}]},v={id:l.AA.ids.footer.COMMON_GROUP,label:"",position:["footer.secondary"],links:[{id:l.AA.ids.footer.LEGAL_LINK,label:l.DZ.footer.LEGAL,href:l.AA.hrefs.TERMS_AND_CONDITIONS},{id:l.AA.ids.footer.PRIVACY_POLICY_LINK,label:l.DZ.footer.PRIVACY_POLICY,href:l.AA.hrefs.LEGAL_PRIVACY_NOTICES_GB},{id:l.AA.ids.footer.COOKIE_POLICY_LINK,label:l.DZ.footer.COOKIE_POLICY,href:l.AA.hrefs.COOKIE_POLICY},{id:l.AA.ids.footer.RESEARCH_PRIVACY_POLICY_LINK,label:l.DZ.footer.RESEARCH_PRIVACY_POLICY,href:l.AA.hrefs.RESEARCH_PRIVACY_POLICY},{id:l.AA.ids.footer.COMPLAINTS_LINK,label:l.DZ.footer.COMPLAINTS,href:l.AA.hrefs.COMPLAINTS},{id:l.AA.ids.footer.COUNTRY_SITE_MAP_LINK,label:l.DZ.footer.COUNTRY_SITE_MAP,href:l.AA.hrefs.LOCAL_SITES},{id:l.AA.ids.footer.MODERN_SLAVERY_STATEMENT_LINK,label:l.DZ.footer.MODERN_SLAVERY_STATEMENT,href:l.AA.hrefs.MODERN_SLAVERY_2025},{id:l.AA.ids.footer.ACCESSIBILITY_LINK,label:l.DZ.footer.ACCESSIBILITY,href:l.AA.hrefs.ACCESSIBILITY},{id:l.AA.ids.footer.INTELLECTUAL_PROPERTY_LINK,label:l.DZ.footer.INTELLECTUAL_PROPERTY,href:l.AA.hrefs.HELP_INTELLECTUAL_PROPERTY}]},P={id:l.AA.ids.footer.LEGAL_GROUP,label:"",position:["footer.tertiary"],links:[{id:l.AA.ids.footer.LEGAL_REGISTRATION_LINK,label:l.DZ.footer.REGISTRATION},{id:l.AA.ids.footer.LEGAL_REGULATION_LINK,label:l.DZ.footer.REGULATION},{id:l.AA.ids.footer.LEGAL_ASSETS_ENTITY_LINK,label:l.DZ.footer.ASSETS_ENTITY,tags:["personal","assets"]}]},m=[_,R,p,I,T,v,P],D=[_,N,p,h,I,T,v,P],b=[_,L,O,C,I,T,v,P],g={};A(g,{BUSINESS_SCHEMA:function(){return J},BUSINESS_SOLUTIONS_STARTUPS_LINK:function(){return w},DEFAULT_SCHEMA:function(){return X},PERSONAL_CARD_CA:function(){return K},PERSONAL_CARD_EDA:function(){return G},PERSONAL_CARD_SEND_ONLY:function(){return U},PERSONAL_CARD_US:function(){return y},PLATFORM_SCHEMA:function(){return Q},getHeaderSchema:function(){return z}});var M={id:l.AA.ids.header.PERSONAL_CARD_DEFAULT,title:l.DZ.header.CARD_PERSONAL_TITLE,subtitle:l.DZ.header.CARD_PERSONAL_SUBTITLE,link:l.DZ.header.CARD_PERSONAL_LINK,href:l.AA.hrefs.PERSONAL_ACCOUNT,media:{xs:{src:"https://wise.com/public-resources/assets/global-navigation/gn_personal_v3.jpg",alt:l.DZ.header.CARD_PERSONAL_MEDIA_ALT}}},U={id:l.AA.ids.header.PERSONAL_CARD_SEND_ONLY,title:l.DZ.header.CARD_PERSONAL_SEND_ONLY_TITLE,subtitle:l.DZ.header.CARD_PERSONAL_SEND_ONLY_SUBTITLE,link:l.DZ.header.CARD_PERSONAL_SEND_ONLY_LINK,href:l.AA.hrefs.PERSONAL_ROOT,media:{xs:{src:"https://wise.com/public-resources/assets/global-navigation/gn_personal_v3_send.jpg",alt:l.DZ.header.CARD_PERSONAL_SEND_ONLY_MEDIA_ALT}}},G=(0,i._)((0,o._)({},M),{id:l.AA.ids.header.PERSONAL_CARD_EDA,title:l.DZ.header.CARD_PERSONAL_EDA_TITLE,subtitle:l.DZ.header.CARD_PERSONAL_EDA_SUBTITLE,media:{xs:{src:"https://wise.com/public-resources/assets/global-navigation/gn_personal_eda.webp",alt:l.DZ.header.CARD_PERSONAL_EDA_MEDIA_ALT}}}),K=(0,i._)((0,o._)({},G),{id:l.AA.ids.header.PERSONAL_CARD_CA,title:l.DZ.header.CARD_PERSONAL_CA_TITLE,subtitle:l.DZ.header.CARD_PERSONAL_CA_SUBTITLE}),y=(0,i._)((0,o._)({},M),{id:l.AA.ids.header.PERSONAL_CARD_US,media:{xs:{src:"https://wise.com/public-resources/assets/global-navigation/gn_personal_v3_us.jpg",alt:l.DZ.header.CARD_PERSONAL_MEDIA_ALT}}}),w={id:l.AA.ids.header.BUSINESS_FOR_STARTUPS,label:l.DZ.header.LINK_STARTUPS,href:l.AA.hrefs.BUSINESS_SOLUTIONS_STARTUPS,tags:["business"]},B={id:l.AA.ids.header.PERSONAL_TAB,label:l.DZ.header.TAB_PERSONAL,position:["desktop.primary.start","mobile.primary.start"],card:M,href:l.AA.hrefs.PERSONAL_ACCOUNT,groups:[{id:l.AA.ids.header.PERSONAL_FEATURES_GROUP,label:l.DZ.header.GROUP_FEATURES,links:[{id:l.AA.ids.header.PERSONAL_SEND_MONEY,label:l.DZ.header.LINK_SEND_MONEY,href:l.AA.hrefs.PERSONAL_SEND_MONEY,tags:["personal","send"],icon:"Send"},{id:l.AA.ids.header.PERSONAL_SEND_LARGE_AMOUNTS,label:l.DZ.header.LINK_SEND_LARGE_AMOUNTS,href:l.AA.hrefs.PERSONAL_LARGE_AMOUNTS,tags:["personal","send"],icon:"Transfer"},{id:l.AA.ids.header.PERSONAL_RECEIVE_MONEY,label:l.DZ.header.LINK_RECEIVE_MONEY,href:l.AA.hrefs.PERSONAL_RECEIVE_MONEY,tags:["personal","bankDetail
1s"],icon:"Receive"},{id:l.AA.ids.header.PERSONAL_GET_A_DEBIT_CARD,label:l.DZ.header.LINK_GET_DEBIT_CARD,href:l.AA.hrefs.PERSONAL_CARD,tags:["personal","card"],icon:"CardWise"},{id:l.AA.ids.header.PERSONAL_EARN_RETURNS,label:l.DZ.header.LINK_EARN_RETURNS,href:l.AA.hrefs.PERSONAL_INTEREST,tags:["personal","assets"],icon:"Graph"}]},{id:l.AA.ids.header.PERSONAL_CUSTOMERS_GROUP,label:l.DZ.header.GROUP_CUSTOMERS,hidden:!0,links:[{id:l.AA.ids.header.PERSONAL_FOR_RELOCATORS,label:l.DZ.header.LINK_FOR_RELOCATORS,href:l.AA.hrefs.PERSONAL_USE_CASES_RELOCATORS},{id:l.AA.ids.header.PERSONAL_FOR_TRAVELLERS,label:l.DZ.header.LINK_FOR_TRAVELLERS,href:l.AA.hrefs.PERSONAL_USE_CASES_TRAVELLERS},{id:l.AA.ids.header.PERSONAL_FOR_FREQUENT_SENDERS,label:l.DZ.header.LINK_FOR_FREQUENT_SENDERS,href:l.AA.hrefs.PERSONAL_USE_CASES_FREQUENT_SENDERS},{id:l.AA.ids.header.PERSONAL_FOR_KIDS,label:l.DZ.header.LINK_FOR_KIDS,href:l.AA.hrefs.PERSONAL_CARD_YOUNG_EXPLORER}]},{id:l.AA.ids.header.PERSONAL_PRICING_GROUP,label:l.DZ.header.GROUP_PRICING,links:[{id:l.AA.ids.header.PERSONAL_PRICING_LINK,label:l.DZ.header.LINK_PERSONAL_PRICING,href:l.AA.hrefs.PERSONAL_PRICING}]}],tags:["personal","send"]},F={id:l.AA.ids.header.BUSINESS_TAB,label:l.DZ.header.TAB_BUSINESS,position:["desktop.primary.start","mobile.primary.start"],card:{id:l.AA.ids.header.BUSINESS_CARD,title:l.DZ.header.CARD_BUSINESS_TITLE,subtitle:l.DZ.header.CARD_BUSINESS_SUBTITLE,link:l.DZ.header.CARD_BUSINESS_LINK,href:l.AA.hrefs.BUSINESS_ROOT,media:{xs:{src:"https://wise.com/public-resources/assets/global-navigation/gn_business_v2.jpg",alt:l.DZ.header.CARD_BUSINESS_MEDIA_ALT}}},href:l.AA.hrefs.BUSINESS_ROOT,groups:[{id:l.AA.ids.header.BUSINESS_FEATURES_GROUP,label:l.DZ.header.GROUP_FEATURES,links:[{id:l.AA.ids.header.BUSINESS_SEND_MONEY,label:l.DZ.header.LINK_SEND_MONEY,href:l.AA.hrefs.BUSINESS_SEND_PAYMENTS,tags:["business","send"],icon:"Send"},{id:l.AA.ids.header.BUSINESS_RECEIVE_MONEY,label:l.DZ.header.LINK_RECEIVE_MONEY,href:l.AA.hrefs.BUSINESS_RECEIVE_MONEY,tags:["business","bankDetail
1s"],icon:"Receive"},{id:l.AA.ids.header.BUSINESS_GET_A_DEBIT_CARD,label:l.DZ.header.LINK_GET_BUSINESS_CARD,href:l.AA.hrefs.BUSINESS_CARD,tags:["business","card"],icon:"CardWise"},{id:l.AA.ids.header.BUSINESS_EARN_RETURNS,label:l.DZ.header.LINK_EARN_RETURNS,href:l.AA.hrefs.BUSINESS_INTEREST,tags:["business","assets"],icon:"Graph"},{id:l.AA.ids.header.BUSINESS_MANAGE_TEAM_FINANCES,label:l.DZ.header.LINK_MANAGE_TEAM_FINANCES,href:l.AA.hrefs.BUSINESS_MANAGE_TEAM,tags:["business","mua"],icon:"People"},{id:l.AA.ids.header.BUSINESS_CONNECT_ACCOUNTING_SOFTWARE,label:l.DZ.header.LINK_CONNECT_ACCOUNTING_SOFTWARE,href:l.AA.hrefs.BUSINESS_ACCOUNTING_SOFTWARE,tags:["business","accounting"],icon:"General"}]},{id:l.AA.ids.header.BUSINESS_SOLUTIONS_GROUP,label:l.DZ.header.GROUP_SOLUTIONS,hidden:!0,links:[{id:l.AA.ids.header.BUSINESS_FOR_FREELANCERS,label:l.DZ.header.LINK_FREELANCERS,href:l.AA.hrefs.BUSINESS_SOLUTIONS_FREELANCERS,tags:["business"]},w,{id:l.AA.ids.header.BUSINESS_FOR_SMALL_BUSINESSES,label:l.DZ.header.LINK_SMALL_BUSINESSES,href:l.AA.hrefs.BUSINESS_SOLUTIONS_SMALL_BUSINESSES,tags:["business"]}]},{id:l.AA.ids.header.BUSINESS_RESOURCES_GROUP,label:l.DZ.header.GROUP_RESOURCES,links:[{id:l.AA.ids.header.BUSINESS_EXPLORE_API_INTEGRATIONS,label:l.DZ.header.LINK_EXPLORE_API_INTEGRATIONS,href:l.AA.hrefs.BUSINESS_API,tags:["business","send"]},{id:l.AA.ids.header.BUSINESS_TRY_DEMO,label:l.DZ.header.LINK_TRY_DEMO,href:l.AA.hrefs.BUSINESS_DEMO,target:"_blank",tags:["business","send"]},{id:l.AA.ids.header.BUSINESS_CONTACT_SALES,label:l.DZ.header.LINK_CONTACT_SALES,href:l.AA.hrefs.BUSINESS_CONTACT_SALES_GB,tags:["business"]}]},{id:l.AA.ids.header.BUSINESS_PRICING_GROUP,label:l.DZ.header.GROUP_PRICING,links:[{id:l.AA.ids.header.BUSINESS_PRICING_LINK,label:l.DZ.header.LINK_BUSINESS_PRICING,href:l.AA.hrefs.BUSINESS_PRICING,tags:["business"]}]}],tags:["business"]},x={id:l.AA.ids.header.PLATFORM_TAB,label:l.DZ.header.TAB_PLATFORM,position:["desktop.primary.start","mobile.primary.start"],card:{id:l.AA.ids.header.PLATFORM_CARD,title:l.DZ.header.CARD_PLATFORM_TITLE,subtitle:l.DZ.header.CARD_PLATFORM_SUBTITLE,link:l.DZ.header.CARD_PLATFORM_LINK,href:l.AA.hrefs.PLATFORM_ROOT,media:{xs:{src:"https://wise.com/public-resources/assets/global-navigation/gn_platform_v2.jpg",alt:l.DZ.header.CARD_PLATFORM_MEDIA_ALT}}},href:l.AA.hrefs.PLATFORM_ROOT,groups:[{id:l.AA.ids.header.PLATFORM_PRODUCTS_GROUP,label:l.DZ.header.GROUP_PRODUCTS,links:[{id:l.AA.ids.header.PLATFORM_SEND,label:l.DZ.header.LINK_SEND,href:l.AA.hrefs.PLATFORM_SEND,icon:"Send"},{id:l.AA.ids.header.PLATFORM_RECEIVE,label:l.DZ.header.LINK_RECEIVE,href:l.AA.hrefs.PLATFORM_RECEIVE,icon:"Receive"},{id:l.AA.ids.header.PLATFORM_ISSUE_CARDS,label:l.DZ.header.LINK_ISSUE_CARDS,href:l.AA.hrefs.PLATFORM_CARDS,icon:"Card"},{id:l.AA.ids.header.PLATFORM_MULTI_CURRENCY_ACCOUNTS,label:l.DZ.header.LINK_MULTI_CURRENCY_ACCOUNTS,href:l.AA.hrefs.PLATFORM_ACCOUNTS,icon:"Bank"}]},{id:l.AA.ids.header.PLATFORM_INDUSTRIES_GROUP,label:l.DZ.header.GROUP_INDUSTRIES,links:[{id:l.AA.ids.header.PLATFORM_BANKS_FINANCIAL_INDUSTRIES,label:l.DZ.header.LINK_BANKS_FINANCIAL_INSTITUTIONS,href:l.AA.hrefs.PLATFORM_FINANCIAL_INSTITUTIONS},{id:l.AA.ids.header.PLATFORM_EDUCATION_PLATFORMS,label:l.DZ.header.LINK_EDUCATION_PLATFORMS,href:l.AA.hrefs.PLATFORM_EDUCATION},{id:l.AA.ids.header.PLATFORM_MARKETPLACES,label:l.DZ.header.LINK_MARKETPLACES,href:l.AA.hrefs.PLATFORM_MARKETPLACES},{id:l.AA.ids.header.PLATFORM_SPEND_MANAGEMENT,label:l.DZ.header.LINK_SPEND_MANAGEMENT,href:l.AA.hrefs.PLATFORM_SPEND_MANAGEMENT},{id:l.AA.ids.header.PLATFORM_TRAVEL_PLATFORM,label:l.DZ.header.LINK_TRAVEL_PLATFORMS,href:l.AA.hrefs.PLATFORM_TRAVEL},{id:l.AA.ids.header.PLATFORM_WORKFORCE_PLATFORMS,label:l.DZ.header.LINK_WORKFORCE_PLATFORMS,href:l.AA.hrefs.PLATFORM_WORKFORCE_PLATFORMS}]},{id:l.AA.ids.header.PLATFORM_EVENTS_GROUP,label:l.DZ.header.GROUP_EVENTS,links:[{id:l.AA.ids.header.PLATFORM_REGISTER_WISE_CONNECT,label:l.DZ.header.LINK_REGISTER_WISE_CONNECT,href:l.AA.hrefs.WISE_CONNECT,target:"_blank"}]},{id:l.AA.ids.header.PLATFORM_DEVELOPERS_GROUP,label:l.DZ.header.GROUP_DEVELOPERS,links:[{id:l.AA.ids.header.PLATFORM_EXPLORE_API,label:l.DZ.header.LINK_EXPLORE_API,href:l.AA.hrefs.API_DOCS,target:"_blank"}]}]},Z={id:l.AA.ids.header.COUNTRY_SELECTOR_BUTTON,label:"",position:["desktop.primary.end","mobile.primary.start"]},k={id:l.AA.ids.header.HELP_BUTTON,label:l.DZ.header.COMMON_HELP,href:l.AA.hrefs.HELP,target:"_blank",position:["desktop.primary.end","mobile.primary.start"],priority:"tertiary"},H={id:l.AA.ids.header.LOGIN_BUTTON,label:l.DZ.header.COMMON_LOG_IN,href:l.AA.hrefs.LOGIN,position:["desktop.primary.end","mobile.primary.start"],priority:"tertiary",tags:["loggedOut"]}
1,Y={id:l.AA.ids.header.SIGN_UP_BUTTON,label:l.DZ.header.COMMON_SIGN_UP,href:l.AA.hrefs.REGISTER,position:["desktop.primary.end","mobile.primary.end","mobile.tertiary"],priority:"primary",tags:["loggedOut"]},j={id:l.AA.ids.header.MY_ACCOUNT_BUTTON,label:l.DZ.header.COMMON_MY_ACCOUNT,href:l.AA.hrefs.HOME,position:["desktop.primary.end","mobile.primary.end","mobile.tertiary"],priority:"primary",tags:["loggedIn"]},V={id:l.AA.ids.header.GET_IN_TOUCH_BUTTON,label:l.DZ.header.COMMON_GET_IN_TOUCH,href:l.AA.hrefs.PLATFORM_CONTACT,position:["desktop.primary.end","mobile.primary.end","mobile.tertiary"],priority:"primary"},W=function(e){return[B,F,x,Z,k,H,(0,i._)((0,o._)({},Y),{href:e}),j]},X=W(l.AA.hrefs.REGISTER),J=W(l.AA.hrefs.REGISTER_BUSINESS),Q=[B,F,x,V],z=function(e){switch(e){case"BUSINESS":return J;case"PLATFORM":return Q;case"PERSONAL":return X}},$=[{countries:["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","IS","LI","NO","GF","GP","MQ","YT","RE","BL","MF"],rules:[{id:l.AA.ids.header.PERSONAL_EARN_RETURNS,props:{label:l.DZ.header.LINK_EARN_RETURNS_EEA}},{id:l.AA.ids.header.BUSINESS_EARN_RETURNS,props:{label:l.DZ.header.LINK_EARN_RETURNS_EEA}},{id:l.AA.ids.footer.COMMON_GROUP,props:{links:(0,s._)(v.links).concat([{id:l.AA.ids.footer.IMPRINT_LINK,href:l.AA.hrefs.IMPRINT,label:l.DZ.footer.IMPRINT},{id:l.AA.ids.footer.SCAMS_LINK,href:l.AA.hrefs.HELP_SCAMS,label:l.DZ.footer.SCAMS},{id:l.AA.ids.footer.LAW_ENFORCEMENT_LINK,href:l.AA.hrefs.HELP_LAW_ENFORCEMENT,label:l.DZ.footer.LAW_ENFORCEMENT}])}},{id:l.AA.ids.footer.LEGAL_LINK,props:{href:l.AA.hrefs.TERMS_AND_CONDITIONS_EEA}},{id:l.AA.ids.footer.LEGAL_REGISTRATION_LINK,props:{label:l.DZ.footer.REGISTRATION_EEA}},{id:l.AA.ids.footer.LEGAL_REGULATION_LINK,props:{label:l.DZ.footer.REGULATION_EEA}}]},{countries:["CH","JP"],rules:[{id:l.AA.ids.footer.BUSINESS_ACCEPT_CARD_PAYMENTS_LINK,props:{href:l.AA.hrefs.BUSINESS_ACCEPT_CARD_PAYMENTS.replace(":locale","gb")}}]},{countries:["RO"],rules:[{id:l.AA.ids.footer.BUSINESS_CONNECT_ACCOUNTING_SOFTWARE_LINK,props:{href:l.AA.hrefs.BUSINESS_ACCOUNTING_SOFTWARE.replace(":locale","gb")}}]},{countries:["CN","HK","ID","TH","TR","UA"],rules:[{id:l.AA.ids.footer.BUSINESS_CARD_LINK,props:{href:l.AA.hrefs.BUSINESS_CARD.replace(":locale","gb")}}]},{countries:["BE","BR","CA","CN","HK","ID","JP","NZ","PH","TH","TR","UA"],rules:[{id:l.AA.ids.footer.BUSINESS_INTEREST_LINK,props:{href:l.AA.hrefs.BUSINESS_INTEREST.replace(":locale","gb")}}]},{countries:["CO"],rules:[{id:l.AA.ids.header.PERSONAL_SEND_MONEY,props:{href:l.AA.hrefs.PERSONAL_SEND_MONEY.replace(":locale","gb")}}]},{countries:["CO"],rules:[{id:l.AA.ids.header.BUSINESS_SEND_MONEY,props:{href:l.AA.hrefs.BUSINESS_SEND_PAYMENTS.replace(":locale","gb")}}]},{countries:["CO"],rules:[{id:l.AA.ids.header.BUSINESS_RECEIVE_MONEY,props:{href:l.AA.hrefs.BUSINESS_RECEIVE_MONEY.replace(":locale","gb")}}]},{countries:["CO","ID","TR","UA"],rules:[{id:l.AA.ids.footer.BUSINESS_RECEIVE_MONEY_LINK,props:{href:l.AA.hrefs.BUSINESS_RECEIVE_MONEY.replace(":locale","gb")}}]},{countries:["AR","AT","BE","BG","CY","DK","HR","IL","JP","LU","MX","NO","PH","SE","SK","VN","ZA"],rules:[{id:l.AA.ids.footer.AFFILIATES_AND_PARTNERSHIPS_LINK,props:{href:l.AA.hrefs.PARTNERWISE.replace(":locale","gb")}}]},{countries:["AR","AT","BE","BG","CN","CY","CZ","DK","EE","IL"],rules:[{id:l.AA.ids.footer.PRESS_LINK,props:{href:l.AA.hrefs.PRESS.replace(":locale","gb")}}]},{countries:["CO","EN-US","IL"],rules:[{id:l.AA.ids.footer.PERSONAL_SEND_MONEY_LINK,props:{href:l.AA.hrefs.PERSONAL_SEND_MONEY.replace(":locale","gb")}}]},{countries:["AE","AR","AT","AU","BE","BG","BR","CA","CH","CN","CY","CZ","DK","EE","FI","GR","HK","HR","HU","IE","IN","KR","LU","MX","MY","NL","NO","NZ","PH","PL","SE","SG","SK","TH","TR","UA","US","VN","ZA"],rules:[{id:l.AA.ids.footer.REVIEWS_LINK,props:{href:l.AA.hrefs.REVIEWS.replace(":locale","gb")}}]},{countries:["AE","CN","CZ","EE","GR","HK","JP","KR","TH","TR","UA"],rules:[{id:l.AA.ids.footer.AFFILIATES_AND_PARTNERSHIPS_LINK,props:{href:l.AA.hrefs.PARTNERWISE.replace(":locale","gb")}}]},{countries:["AR","AT","BE","BG","CY","DK","HR","IL","KR","LU","MX","NO","PH","SE","SK","VN","ZA"],rules:[{id:l.AA.ids.footer.COMPANY_AND_TEAM_LINK,props:{href:l.AA.hrefs.ABOUT_OUR_STORY.replace(":locale","gb")}}]}
1,{countries:["AT","BE","CN","CY","EE","LU","PH","ZA"],rules:[{id:l.AA.ids.footer.CURRENCY_CONVERTER_LINK,props:{href:l.AA.hrefs.CURRENCY_CONVERTER.replace(":locale","gb")}}]},{countries:["AR","AT","BE","BG","CN","CY","DK","EE","IL","KR","LU","MX","PH","SK","ZA"],rules:[{id:l.AA.ids.footer.SWIFT_BIC_CODES_LINK,props:{href:l.AA.hrefs.SWIFT_CODES.replace(":locale","gb")}}]},{countries:["HR","KR","LU","MX","NO","PH","SE","SK","TH","VN","ZA"],rules:[{id:l.AA.ids.footer.PRESS_LINK,props:{href:l.AA.hrefs.PRESS.replace(":locale","gb")}}]},{countries:["CN","CY","LU"],rules:[{id:l.AA.ids.footer.NEWS_AND_BLOG_LINK,props:{href:l.AA.hrefs.BLOG.replace(":locale","gb")}}]},{countries:["BE","BR","CA","CN","HK","ID","JP","NZ","PH","TH","TR","UA"],rules:[{id:l.AA.ids.footer.BUSINESS_INTEREST_LINK,props:{href:l.AA.hrefs.BUSINESS_INTEREST.replace(":locale","gb")}}]},{countries:["CN","HK","ID","TH","TR","UA"],rules:[{id:l.AA.ids.footer.BUSINESS_CARD_LINK,props:{href:l.AA.hrefs.BUSINESS_CARD.replace(":locale","gb")}}]},{countries:["CA","CH","ID","IE"],rules:[{id:l.AA.ids.footer.BUSINESS_MASS_PAYMENTS_LINK,props:{href:l.AA.hrefs.BUSINESS_PAYOUTS.replace(":locale","gb")}}]},{countries:["AE"],rules:[{id:l.AA.ids.footer.LEGAL_REGULATION_LINK,props:{label:l.DZ.footer.REGULATION_AE}}]},{countries:["AU"],rules:[{id:l.AA.ids.footer.LEGAL_REGULATION_LINK,props:{label:l.DZ.footer.REGULATION_AU}}]},{countries:["BR"],rules:[{id:l.AA.ids.footer.HELP_GROUP,props:{links:(0,s._)(T.links).concat([{id:l.AA.ids.footer.CANAL_DE_DENUNCIAS_BR_LINK,href:l.AA.hrefs.CANAL_DE_DENUNCIAS,label:l.DZ.footer.CANAL_DE_DENUNCIAS},{id:l.AA.ids.footer.CORRESPONDENTES_CAMBIAIS_BR_LINK,href:l.AA.hrefs.CORRESPONDENTES_CAMBIAIS,label:l.DZ.footer.CORRESPONDENTES_CAMBIAIS}])}},{id:l.AA.ids.footer.COMMON_GROUP,props:{links:(0,s._)(v.links).concat([{id:l.AA.ids.footer.REGULATORY_REPORTS_LINK,href:l.AA.hrefs.ABOUT_RELATORIOS,label:l.DZ.footer.REPORTS}])}},{id:l.AA.ids.footer.LEGAL_GROUP,props:{links:[{id:l.AA.ids.footer.LEGAL_REGISTRATION_LINK,label:l.DZ.footer.REGISTRATION},{id:l.AA.ids.footer.LEGAL_REGULATION_LINK,label:l.DZ.footer.REGULATION_WISE_BR},{id:l.AA.ids.footer.SUPPORT_TEXT_BR_LINK,label:l.DZ.footer.SUPPORT_TEXT_BR},{id:l.AA.ids.footer.LEGAL_ASSETS_ENTITY_LINK,label:l.DZ.footer.ASSETS_ENTITY,tags:["personal","assets"]}]}},{id:l.AA.ids.footer.RESOURCES_GROUP,props:{links:(0,s._)(p.links).concat([{id:l.AA.ids.footer.CURRENCY_CONVERTER_BRAZIL_DOLAR_HOJE_LINK,href:l.AA.hrefs.CURRENCY_CONVERTER_DOLAR_HOJE_BR,label:l.DZ.footer.CURRENCY_CONVERTER_DOLAR_HOJE_BR}])}}]},{countries:["CA"],rules:[{id:l.AA.ids.footer.LEGAL_REGISTRATION_LINK,props:{label:l.DZ.footer.REGISTRATION_CA}},{id:l.AA.ids.footer.LEGAL_REGULATION_LINK,props:{label:l.DZ.footer.REGULATION_CA}}]},{countries:["CA","US"],rules:[{id:l.AA.ids.header.BUSINESS_SOLUTIONS_GROUP,props:{hidden:!1,links:[w]}}]},{countries:["GB"],rules:[{id:l.AA.ids.header.PERSONAL_TAB,props:{card:G}},{id:l.AA.ids.header.BUSINESS_SOLUTIONS_GROUP,props:{hidden:!1}},{id:l.AA.ids.header.PERSONAL_CUSTOMERS_GROUP,props:{hidden:!1}}]},{countries:["HK"],rules:[{id:l.AA.ids.footer.LEGAL_REGULATION_LINK,props:{label:l.DZ.footer.REGULATION_HK}}]},{countries:["IE"],rules:[{id:l.AA.ids.footer.LEGAL_REGULATION_LINK,props:{label:l.DZ.footer.REGULATION_IE}},{id:l.AA.ids.footer.LEGAL_ASSETS_ENTITY_LINK,props:{tags:[],label:l.DZ.footer.ASSETS_ENTITY_IE}}]},{countries:["IN"],rules:[{id:l.AA.ids.header.PERSONAL_GET_A_DEBIT_CARD,props:{label:l.DZ.header.LINK_GET_DEBIT_CARD_IN}},{id:l.AA.ids.footer.PERSONAL_CARD_LINK,props:{label:l.DZ.footer.GET_WISE_TRAVEL_CARD}},{id:l.AA.ids.footer.LEGAL_REGULATION_LINK,props:{label:l.DZ.footer.REGULATION_IN}}]},{countries:["JP"],rules:[{id:l.AA.ids.footer.COMPANY_AND_TEAM_GROUP,props:{links:(0,s._)(I.links).concat([{id:l.AA.ids.footer.ABOUT_CORPORATE_LINK,href:l.AA.hrefs.ABOUT_CORPORATE,label:l.DZ.footer.CORPORATE_INFORMATION},{id:l.AA.ids.footer.SANCTIONS_COMPLIANCE_LINK,href:l.AA.hrefs.SANCTIONS_COMPLIANCE_JP,label:l.DZ.footer.SANCTIONS_COMPLIANCE}])}},{id:l.AA.ids.footer.LEGAL_REGULATION_LINK,props:{label:l.DZ.footer.REGULATION_JP}}]},{countries:["MY"],rules:[{id:l.AA.ids.footer.LEGAL_REGULATION_LINK,props:{label:l.DZ.footer.REGULATION_MY}}
1]},{countries:["NZ"],rules:[{id:l.AA.ids.footer.LEGAL_REGISTRATION_LINK,props:{label:l.DZ.footer.REGISTRATION_NZ}},{id:l.AA.ids.footer.LEGAL_REGULATION_LINK,props:{label:l.DZ.footer.REGULATION_NZ}},{id:l.AA.ids.footer.RESOURCES_GROUP,props:{links:(0,s._)(p.links).concat([{id:l.AA.ids.footer.CARD_RATES_NZ_LINK,href:l.AA.hrefs.CARD_RATES_NZ,label:l.DZ.footer.CARD_RATES_NZ}])}}]},{countries:["PH"],rules:[{id:l.AA.ids.footer.LEGAL_REGULATION_LINK,props:{label:l.DZ.footer.REGULATION_PH}}]},{countries:["SG"],rules:[{id:l.AA.ids.footer.LEGAL_REGULATION_LINK,props:{label:l.DZ.footer.REGULATION_SG}}]},{countries:["US"],rules:[{id:l.AA.ids.header.PERSONAL_TAB,props:{card:y}},{id:l.AA.ids.header.PERSONAL_EARN_RETURNS,props:{label:l.DZ.header.LINK_EARN_RETURNS_US}},{id:l.AA.ids.header.BUSINESS_EARN_RETURNS,props:{label:l.DZ.header.LINK_EARN_RETURNS_US}},{id:l.AA.ids.header.BUSINESS_CONTACT_SALES,props:{href:l.AA.hrefs.BUSINESS_CONTACT_SALES_US}},{id:l.AA.ids.header.PERSONAL_GET_A_DEBIT_CARD,props:{label:l.DZ.header.LINK_GET_DEBIT_CARD_US}},{id:l.AA.ids.header.BUSINESS_GET_A_DEBIT_CARD,props:{label:l.DZ.header.LINK_GET_DEBIT_CARD_US}},{id:l.AA.ids.footer.LEGAL_REGISTRATION_LINK,props:{label:l.DZ.footer.REGISTRATION_US}},{id:l.AA.ids.footer.LEGAL_REGULATION_LINK,props:{label:l.DZ.footer.REGULATION_US}},{id:l.AA.ids.footer.CONTACT_BUSINESS_SALES_LINK,props:{href:l.AA.hrefs.BUSINESS_CONTACT_SALES_US}}]},{countries:["CN"],rules:[{id:l.AA.ids.footer.LEGAL_GROUP,props:{links:(0,s._)(P.links).concat([{id:l.AA.ids.footer.ICP_FILING_LINK,label:"沪ICP备2024053697号-1",href:l.AA.hrefs.ICP_FILING_MIIT,target:"_blank",align:"center"}])}}]}],q={personal:{assets:["AU","AT","BR","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","NO","PL","PT","RO","SG","SK","SI","ES","SE","CH","GB","US"],balance:["AD","AR","AU","AT","BH","BE","BR","BG","CA","KY","CL","CN","CO","CR","HR","CY","CZ","DK","EE","FK","FI","FR","GF","GE","DE","GI","GR","GP","GU","GG","HU","IS","IN","IE","IM","IL","IT","JP","JE","KW","LV","LI","LT","LU","MO","MY","MT","MQ","YT","MC","ME","NL","NZ","MK","NO","PE","PH","PL","PT","PR","QA","RE","RO","BL","MF","PM","SA","SG","SX","SK","SI","ZA","KR","ES","SE","CH","TW","TH","GB","US","UY"],bankDetails:["AD","AR","AU","AT","BH","BE","BR","BG","CA","KY","CL","CN","CO","CR","HR","CY","CZ","DK","EE","FK","FI","FR","GF","GE","DE","GI","GR","GP","GU","GG","HU","IS","IE","IM","IL","IT","JP","JE","KW","LV","LI","LT","LU","MO","MY","MT","MQ","YT","MC","ME","NL","NZ","MK","NO","PE","PH","PL","PT","PR","QA","RE","RO","BL","MF","PM","SA","SG","SX","SK","SI","ZA","KR","ES","SE","CH","TW","TH","GB","US","UY"],card:["AD","AU","AT","BE","BR","BG","CA","KY","HR","CY","CZ","DK","EE","FK","FI","FR","GF","DE","GI","GR","GP","GG","HU","IS","IN","IE","IM","IT","JP","JE","LV","LI","LT","LU","MY","MT","MQ","YT","MC","NL","NZ","NO","PH","PL","PT","RE","RO","BL","MF","PM","SG","SX","SK","SI","ES","SE","CH","GB","US"],send:["AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BR","IO","VG","BN","BG","BF","KH","CM","CA","CV","KY","CL","CN","CX","CC","CO","KM","CK","CR","CI","HR","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","HN","HK","HU","IS","IN","ID","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","XK","KW","KG","LA","LV","LB","LS","LR","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","MK","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","ZA","GS","KR","ES","LK","SR","SJ","SZ","SE","CH","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VA","VN","WF","EH","ZM","ZW"]},business:{assets:["AU","AT","BG","HR","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","NL","NO","PL","PT","RO","SG","SK","SI","ES","SE","CH","GB","US"],balance:["AD","AU","AT","BE","BR","BG","CA","CN","CO","HR","CZ","DK","EE","FK","FI","FR","GE","DE","GI","GR","GP","HK","HU","IS","IN","IE","IT","JP","LV","LI","LT","LU","MQ","YT","NL","NZ","NO","PH","PL","PT","PR","RE","RO","MF","PM","SG","SK","SI","ZA","KR","ES","SE","CH","TH","GB","US"],bankDetail
1s:["AD","AU","AT","BE","BR","BG","CA","CN","CO","HR","CZ","DK","EE","FK","FI","FR","GE","DE","GI","GR","GP","HK","HU","IS","IN","IE","IT","JP","LV","LI","LT","LU","MQ","YT","NL","NZ","NO","PH","PL","PT","PR","RE","RO","MF","PM","SG","SK","SI","ZA","KR","ES","SE","CH","TH","GB","US"],card:["AD","AU","AT","BE","BR","BG","CA","HR","CZ","DK","EE","FK","FI","FR","DE","GI","GR","GP","HU","IS","IE","IT","JP","LV","LI","LT","LU","MQ","YT","NL","NZ","NO","PH","PL","PT","RE","RO","MF","PM","SG","SK","SI","ES","SE","CH","GB","US"],send:["AD","AU","AT","BE","BT","BQ","BR","BG","CA","CN","CX","CC","CO","HR","CZ","DK","EE","FK","FO","FI","FR","GE","DE","GI","GR","GL","GP","HM","HK","HU","IS","ID","IE","IT","JP","KE","LV","LI","LT","LU","MQ","MU","YT","NL","NC","NZ","NF","NO","PG","PH","PL","PT","PR","RE","RO","SH","MF","PM","SM","SG","SK","SI","SB","ZA","GS","KR","ES","SJ","SE","CH","TH","TK","TO","TR","UA","GB","US"],accounting:["AD","AU","AT","BE","BT","BQ","BR","BG","CA","CN","CX","CC","CO","HR","CZ","DK","EE","FK","FO","FI","FR","GE","DE","GI","GR","GL","GP","HM","HK","HU","IS","IN","ID","IE","IT","JP","KE","LV","LI","LT","LU","MQ","MU","YT","NL","NC","NZ","NF","NO","PG","PH","PL","PT","PR","RE","RO","SH","MF","PM","SM","SG","SK","SI","SB","ZA","GS","KR","ES","SJ","SE","CH","TH","TK","TO","TR","UA","GB","US"],mua:["AD","AU","AT","BE","BT","BQ","BR","BG","CA","CN","CX","CC","CO","HR","CZ","DK","EE","FK","FO","FI","FR","GE","DE","GI","GR","GL","GP","HM","HK","HU","IS","IN","ID","IE","IT","JP","KE","LV","LI","LT","LU","MQ","MU","YT","NL","NC","NZ","NF","NO","PG","PH","PL","PT","PR","RE","RO","SH","MF","PM","SM","SG","SK","SI","SB","ZA","GS","KR","ES","SJ","SE","CH","TH","TK","TO","TR","UA","GB","US"],invoice:["AD","AU","AT","BE","BT","BQ","BR","BG","CA","CN","CX","CC","CO","HR","CZ","DK","EE","FK","FO","FI","FR","GE","DE","GI","GR","GL","GP","HM","HK","HU","IS","IN","ID","IE","IT","JP","KE","LV","LI","LT","LU","MQ","MU","YT","NL","NC","NZ","NF","NO","PG","PH","PL","PT","PR","RE","RO","SH","MF","PM","SM","SG","SK","SI","SB","ZA","GS","KR","ES","SJ","SE","CH","TH","TK","TO","TR","UA","GB","US"],cashback:["GB"],moneyManagement:["AD","AU","AT","BE","BT","BQ","BR","BG","CA","CN","CX","CC","CO","HR","CZ","DK","EE","FK","FO","FI","FR","GE","DE","GI","GR","GL","GP","HM","HK","HU","IS","IN","ID","IE","IT","JP","KE","LV","LI","LT","LU","MQ","MU","YT","NL","NC","NZ","NF","NO","PG","PH","PL","PT","PR","RE","RO","SH","MF","PM","SM","SG","SK","SI","SB","ZA","GS","KR","ES","SJ","SE","CH","TH","TK","TO","TR","UA","GB","US"],payments:["FR"]}},ee=["AD","AR","AU","AT","BE","BT","BQ","BR","BG","CA","CN","CX","CC","CO","HR","CY","CZ","DK","EE","FK","FO","FI","FR","GE","DE","GI","GR","GL","GP","HM","HK","HU","IS","IN","ID","IE","IL","IT","JP","KE","LV","LI","LT","LU","MY","MQ","MU","YT","MX","NL","NC","NZ","NF","NO","PG","PH","PL","PT","PR","RE","RO","RU","SH","MF","PM","SM","SG","SK","SI","SB","ZA","GS","KR","ES","SJ","SE","CH","TH","TK","TO","TR","UA","AE","GB","US","VN"],er=["AF","AX","AL","DZ","AS","AO","AI","AQ","AG","AM","AW","AZ","BS","BH","BD","BB","BY","BZ","BJ","BM","BO","BA","BW","IO","VG","BN","BF","BI","KH","CM","CV","KY","CF","TD","CL","KM","CG","CD","CK","CR","CI","CU","CW","DJ","DM","DO","EC","EG","SV","GQ","ER","ET","FJ","GF","PF","TF","GA","GM","GH","GD","GU","GT","GG","GN","GW","GY","HT","HN","IR","IQ","IM","JM","JE","JO","KZ","KI","KP","XK","KW","KG","LA","LB","LS","LR","LY","MO","MG","MW","MV","ML","MT","MH","MR","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NI","NE","NG","NU","MP","MK","OM","PK","PW","PS","PA","PY","PE","PN","QA","RW","BL","KN","LC","VC","WS","ST","SA","SN","RS","SC","SL","SX","SO","SS","LK","SD","SR","SZ","SY","TW","TJ","TZ","TL","TG","TT","TN","TM","TC","TV","UG","UM","VI","UY","UZ","VU","VA","VE","WF","EH","YE","ZM","ZW"];A({},{MOCK_BUSINESS_ASSETS_UNAVAILABLE:function(){return en},MOCK_PERSONAL_CARD_UNAVAILABLE:function(){return et},MOCK_PERSONAL_SEND_ONLY:function(){return eo}});var et=(0,i._)((0,o._)({},d.xf),{card:{coverage:{cardProgramDetails:[]},index:0,isAvailable:!1}}),en=(0,i._)((0,o._)({},d.Zk),{assets:{coverage:{currencies:[]},index:0,isAvailable:!1}}),eo=(0,i._)((0,o._)({},d.kb),{send:{index:0,isAvailable:!0,coverage:{sourceCurrencies:[]}}}),ei={};A(ei,{footer:function(){return S},header:function(){return g}});var ea={};A(ea,{applyRecommendedTransforms:function(){return es},constructAvailabilityResponseFromToggles:function(){return eL},processItem:function(){return eE},transformContent:function(){return eu},transformCountryAvailability:function(){return eA},transformHrefs:function(){return eS},transformLienzoSubMenuItems:function(){return eT},transformProductAvailability:function(){return eh},transformSchema:function(){return eI},transformToggles:function(){return eO},transformUserState:function(){return ev}});var es=function(e){var r=e.schema,t=e.locale,n=e.userState,o=e.personalProductAvailability,i=e.businessProductAvailability,a=e.toggles,s=e.contentOverrides,l=!!t&&"string"==typeof t&&q.personal.send.includes(t.toUpperCase());l||console.warn('[Global Navigation]: The locale "'.concat(t,'" is not supported, some transformations may not work as expected.'));var d=null==t?void 0:t.toUpperCase(),u=[];return l&&s&&u.push(eu({locale:d,contentOverrides:s})),n&&u.push(ev({userState:n})),l&&(o||i)&&u.push(eh({productAvailability:{personal:o,business:i}})),l&&a&&(!o||!i)&&u.push(eO({locale:d,toggles:{personal:o?void 0:a.personal,business:i?void 0:a.business}})),u.push(eS({locale:l?d:"GB"})),eI({schema:r,transforms:u})},el=function(e){var r=e.items,t=e.fn,n=e.args;return r.reduce(function(e,r){if((0,l.LD)(r)){var a=t(r,n);return(0,s._)(e).concat([(0,i._)((0,o._)({},a),{groups:el({items:a.groups,fn:t,args:n})})])}if((0,l.dA)(r)){var d=t(r,n);return(0,s._)(e).concat([(0,i._)((0,o._)({},d),{links:el({items:d.links,fn:t,args:n})})])}var u=t(r,n);return(0,s._)(e).concat([u])},[])},ed=function(e,r){return r.reduce(function(e,r){var t=r.id,n=r.props;return e.id===t?(0,o._)({},e,n):e},e)},eu=function(e){var r=e.locale,t=e.contentOverrides;return function(e){var n=String(r).toUpperCase();return el({items:e,fn:ed,args:t.filter(function(e){return e.countries.includes(n)}).flatMap(function(e){return e.rules})})}},eA=function(e){var r=e.countryAvailability,t=e.countries,n=e.profileType;return r.map(function(e){var r,o=e.iso2Code;return"AVAILABLE"===e.availabilityStatus.statusMap[n]?{value:o,label:(null==(r=t.find(function(e){return e.iso2Code===o}))?void 0:r.name)||o}:null}).filter(function(e){return!!e})},ec=function(e,r){return e.includes(":locale")?e.replace(RegExp(":locale","gu"),r.toLowerCase()):e},ef=function(e,r){return!f.includes(r)&&e in l.AA.BUSINESS_SUB_PAGES_FALLBACK_MAP?l.AA.BUSINESS_SUB_PAGES_FALLBACK_MAP[e]:er.includes(r)&&e in l.AA.CORE_PAGES_FALLBACK_MAP?l.AA.CORE_PAGES_FALLBACK_MAP[e]:!er.includes(r)||e in l.AA.CORE_PAGES_FALLBACK_MAP?ec(e,r):ec(e,"GB")},eE=function(e,r){var t,n=e.href,i=void 0===n?"":n;return(0,l.LD)(e)?(0,o._)({},e,i?{href:ef(i,r)}:{},e.card?{card:(0,o._)({},e.card,(null==(t=e.card)?void 0:t.href)?{href:ef(e.card.href,r)}:{})}:{}):(0,o._)({},e,i?{href:ef(i,r)}:{})},eS=function(e){var r=e.locale;return function(e){return el({items:e,fn:eE,args:r})}},e_=function(e){var r=e.id,t=e.props;return el({items:e.schema,fn:function(e,t){var n;return n=t.props,e.id===r?(0,o._)({},e,n):e},args:{id:r,props:t}})},eR=function(e){return Object.keys(d.Zk).includes(e)},eN=function(e){if(!e)return!1;var r=Object.entries(e).reduce(function(e,r){var t=(0,a._)(r,2),n=t[0];return t[1].isAvailable?(0,s._)(e).concat([n]):e},[]);return 1===r.length&&"send"===r[0]},ep=function(e,r){var t=r.productAvailability,n=r.profileType,a=r.hasAvailableProducts,s=e.tags,u=void 0===s?[]:s;if(!t)return e;if(u.length>0){var A=u.filter(l.GF),c=u.filter(eR);if(1===A.length&&A[0]===n){var f=(0,o._)({},d.y9,t);if(0===c.length&&!a||!c.map(function(e){return f[e]}).every(function(e){return e.isAvailable}))return(0,i._)((0,o._)({},e),{hidden:!0})}}return e},eh=function(e){var r=e.productAvailability;return function(e){var t=r.personal,n=r.business,o=[];return t&&o.push(function(e){return el({items:e,fn:ep,args:{productAvailability:t,profileType:"personal",hasAvailableProducts:Object.values(t).some(function(e){return e.isAvailable})}})}),n&&o.push(function(e){return el({items:e,fn:ep,args:{productAvailability:n,profileType:"business",hasAvailableProducts:Object.values(n).some(function(e){return e.isAvailable})}})}),eN(null==r?void 0:r.personal)&&o.push(function(e){return e_({id:l.AA.ids.header.PERSONAL_TAB,props:{href:l.AA.hrefs.PERSONAL_ROOT,card:U},schema:e})}),o.reduce(function(e,r){return r(e)},e)}},eI=function(e){var r=e.schema;return e.transforms.reduce(function(e,r){return r(e)},r)},eT=function(e){var r=e.links,t=e.dropdowns,n=r.map(function(e,r){var t=e.label,n=e.url;return{id:"lienzo-sub-menu-item-".concat(r),label:t,href:n,position:["desktop.secondary.start","mobile.secondary.start"]}}),o=t.map(function(e,r){var t=e.label,n=e.url,o=e.items;return{id:"lienzo-sub-menu-dropdown-".concat(r),label:t,href:n,position:["desktop.secondary.end","mobile.secondary.end"],links:o.map(function(e,t){return{id:"lienzo-sub-menu-dropdown-".concat(r,"-item-").concat(t),label:e.label,href:e.url}})}});return(0,s._)(n).concat((0,s._)(o))},eL=function(e){var r=e.locale,t=e.toggles,s=e.baseProductAvailabilityResponse;return 0===Object.keys(t).length?s:Object.entries(t).reduce(function(e,t){var s=(0,a._)(t,2),l=s[0],d=s[1];return d?(0,i._)((0,o._)({},e),(0,n._)({},l,(0,i._)((0,o._)({},e[l]),{isAvailable:d.includes(r)}))):e},s)}
1,eO=function(e){var r=e.locale,t=void 0===r?"GB":r,n=e.toggles;return function(e){var r=t.toUpperCase();if(n){var o=n.personal,i=n.business,a=eL({locale:r,toggles:null!=o?o:{},baseProductAvailabilityResponse:d.kb}),s=eL({locale:r,toggles:null!=i?i:{},baseProductAvailabilityResponse:d.y9});return eh({productAvailability:{personal:o?a:void 0,business:i?s:void 0}})(e)}return e}},eC=function(e,r){var t=e.tags,n=void 0===t?[]:t;return n.length>0&&(n.includes("loggedOut")&&"LOGGED_IN"===r||n.includes("loggedIn")&&"LOGGED_OUT"===r)?(0,i._)((0,o._)({},e),{hidden:!0}):e},ev=function(e){var r=e.userState;return function(e){return el({items:e,fn:eC,args:r})}}},56998:(e,r,t)=>{t.d(r,{UC:()=>y,ZL:()=>b,bL:()=>O,hJ:()=>M,l9:()=>v});var n=t(94070),o=t(49998),i=t(64763),a=t(36261),s=t(73228),l=t(6730),d=t(63626),u=t(22097),A=t(59012),c=t(94647),f=t(56619),E=t(86418),S=t(13721),_=t(60644),R=t(61292),N=t(89142),p="Dialog",[h,I]=(0,a.A)(p),[T,L]=h(p),O=e=>{let{__scopeDialog:r,children:t,open:o,defaultOpen:i,onOpenChange:a,modal:d=!0}=e,u=n.useRef(null),A=n.useRef(null),[c,f]=(0,l.i)({prop:o,defaultProp:i??!1,onChange:a,caller:p});return(0,N.jsx)(T,{scope:r,triggerRef:u,contentRef:A,contentId:(0,s.B)(),titleId:(0,s.B)(),descriptionId:(0,s.B)(),open:c,onOpenChange:f,onOpenToggle:n.useCallback(()=>f(e=>!e),[f]),modal:d,children:t})};O.displayName=p;var C="DialogTrigger",v=n.forwardRef((e,r)=>{let{__scopeDialog:t,...n}=e,a=L(C,t),s=(0,i.s)(r,a.triggerRef);return(0,N.jsx)(f.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":H(a.open),...n,ref:s,onClick:(0,o.mK)(e.onClick,a.onOpenToggle)})});v.displayName=C;var P="DialogPortal",[m,D]=h(P,{forceMount:void 0}),b=e=>{let{__scopeDialog:r,forceMount:t,children:o,container:i}=e,a=L(P,r);return(0,N.jsx)(m,{scope:r,forceMount:t,children:n.Children.map(o,e=>(0,N.jsx)(c.C,{present:t||a.open,children:(0,N.jsx)(A.Z,{asChild:!0,container:i,children:e})}))})};b.displayName=P;var g="DialogOverlay",M=n.forwardRef((e,r)=>{let t=D(g,e.__scopeDialog),{forceMount:n=t.forceMount,...o}=e,i=L(g,e.__scopeDialog);return i.modal?(0,N.jsx)(c.C,{present:n||i.open,children:(0,N.jsx)(G,{...o,ref:r})}):null});M.displayName=g;var U=(0,R.TL)("DialogOverlay.RemoveScroll"),G=n.forwardRef((e,r)=>{let{__scopeDialog:t,...n}=e,o=L(g,t),a=(0,d.e0)(),s=(0,i.s)(r,a);return(0,N.jsx)(S.A,{as:U,allowPinchZoom:!0,shards:[o.contentRef],children:(0,N.jsx)(f.sG.div,{"data-state":H(o.open),...n,ref:s,style:{pointerEvents:"auto",...n.style}})})}),K="DialogContent",y=n.forwardRef((e,r)=>{let t=D(K,e.__scopeDialog),{forceMount:n=t.forceMount,...o}=e,i=L(K,e.__scopeDialog);return(0,N.jsx)(c.C,{present:n||i.open,children:i.modal?(0,N.jsx)(w,{...o,ref:r}):(0,N.jsx)(B,{...o,ref:r})})});y.displayName=K;var w=n.forwardRef((e,r)=>{let t=L(K,e.__scopeDialog),a=n.useRef(null),s=(0,i.s)(r,t.contentRef,a);return n.useEffect(()=>{let e=a.current;if(e)return(0,_.Eq)(e)},[]),(0,N.jsx)(F,{...e,ref:s,trapFocus:t.open,disableOutsidePointerEvents:t.open,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),t.triggerRef.current?.focus()}),onPointerDownOutside:(0,o.mK)(e.onPointerDownOutside,e=>{let r=e.detail.originalEvent,t=0===r.button&&!0===r.ctrlKey;(2===r.button||t)&&e.preventDefault()}),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault())})}),B=n.forwardRef((e,r)=>{let t=L(K,e.__scopeDialog),o=n.useRef(!1),i=n.useRef(!1);return(0,N.jsx)(F,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{e.onCloseAutoFocus?.(r),r.defaultPrevented||(o.current||t.triggerRef.current?.focus(),r.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:r=>{e.onInteractOutside?.(r),r.defaultPrevented||(o.current=!0,"pointerdown"===r.detail.originalEvent.type&&(i.current=!0));let n=r.target;t.triggerRef.current?.contains(n)&&r.preventDefault(),"focusin"===r.detail.originalEvent.type&&i.current&&r.preventDefault()}})}),F=n.forwardRef((e,r)=>{let{__scopeDialog:t,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,s=L(K,t);return(0,E.Oh)(),(0,N.jsx)(N.Fragment,{children:(0,N.jsx)(u.n,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,N.jsx)(d.qW,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":H(s.open),...a,ref:r,deferPointerDownOutside:!0,onDismiss:()=>s.onOpenChange(!1)})})})}),x="DialogTitle";n.forwardRef((e,r)=>{let{__scopeDialog:t,...n}=e,o=L(x,t);return(0,N.jsx)(f.sG.h2,{id:o.titleId,...n,ref:r})}).displayName=x;var Z="DialogDescription";n.forwardRef((e,r)=>{let{__scopeDialog:t,...n}=e,o=L(Z,t);return(0,N.jsx)(f.sG.p,{id:o.descriptionId,...n,ref:r})}).displayName=Z;var k="DialogClose";function H(e){return e?"open":"closed"}n.forwardRef((e,r)=>{let{__scopeDialog:t,...n}=e,i=L(k,t);return(0,N.jsx)(f.sG.button,{type:"button",...n,ref:r,onClick:(0,o.mK)(e.onClick,()=>i.onOpenChange(!1))})}).displayName=k},59012:(e,r,t)=>{t.d(r,{Z:()=>l});var n=t(94070),o=t(26713),i=t(56619),a=t(48662),s=t(89142),l=n.forwardRef((e,r)=>{let{container:t,...l}=e,[d,u]=n.useState(!1);(0,a.N)(()=>u(!0),[]);let A=t||d&&globalThis?.document?.body;return A?o.createPortal((0,s.jsx)(i.sG.div,{...l,ref:r}),A):null});l.displayName="Portal"},60644:(e,r,t)=>{t.d(r,{Eq:()=>d});var n=new WeakMap,o=new WeakMap,i={},a=0,s=function(e){return e&&(e.host||s(e.parentNode))},l=function(e,r,t,l){var d=(Array.isArray(e)?e:[e]).map(function(e){if(r.contains(e))return e;var t=s(e);return t&&r.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",r,". Doing nothing"),null)}).filter(function(e){return!!e});i[t]||(i[t]=new WeakMap);var u=i[t],A=[],c=new Set,f=new Set(d),E=function(e){!e||c.has(e)||(c.add(e),E(e.parentNode))};d.forEach(E);var S=function(e){!e||f.has(e)||Array.prototype.forEach.call(e.children,function(e){if(c.has(e))S(e);else try{var r=e.getAttribute(l),i=null!==r&&"false"!==r,a=(n.get(e)||0)+1,s=(u.get(e)||0)+1;n.set(e,a),u.set(e,s),A.push(e),1===a&&i&&o.set(e,!0),1===s&&e.setAttribute(t,"true"),i||e.setAttribute(l,"true")}catch(r){console.error("aria-hidden: cannot operate on ",e,r)}})};return S(r),c.clear(),a++,function(){A.forEach(function(e){var r=n.get(e)-1,i=u.get(e)-1;n.set(e,r),u.set(e,i),r||(o.has(e)||e.removeAttribute(l),o.delete(e)),i||e.removeAttribute(t)}),--a||(n=new WeakMap,n=new WeakMap,o=new WeakMap,i={})}},d=function(e,r,t){void 0===t&&(t="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=r||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),l(n,o,t,"aria-hidden")):function(){return null}}},63626:(e,r,t)=>{t.d(r,{e0:()=>f,qW:()=>c});var n,o=t(94070),i=t(49998),a=t(56619),s=t(64763),l=t(51496),d=t(89142),u="dismissableLayer.update",A=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),c=o.forwardRef((e,r)=>{let{disableOutsidePointerEvents:t=!1,deferPointerDownOutside:c=!1,onEscapeKeyDown:f,onPointerDownOutside:R,onFocusOutside:N,onInteractOutside:p,onDismiss:h,...I}=e,T=o.useContext(A),[L,O]=o.useState(null),C=L?.ownerDocument??globalThis?.document,[,v]=o.useState({}
1),P=(0,s.s)(r,O),m=Array.from(T.layers),[D]=[...T.layersWithOutsidePointerEventsDisabled].slice(-1),b=D?m.indexOf(D):-1,g=L?m.indexOf(L):-1,M=T.layersWithOutsidePointerEventsDisabled.size>0,U=g>=b,G=o.useRef(!1),K=function(e,r){let{ownerDocument:t=globalThis?.document,deferPointerDownOutside:n=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:a,shouldHandlePointerDownOutside:s=E}=r,d=(0,l.c)(e),u=o.useRef(!1),A=o.useRef(!1),c=o.useRef(new Map),f=o.useRef(()=>{});return o.useEffect(()=>{function e(){A.current=!1,i.current=!1,c.current.clear()}function r(e){if(!A.current)return;let r=e.target;r instanceof Node&&[...a].some(e=>e.contains(r))||c.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{A.current&&f.current()},0)}function o(e){A.current&&c.current.set(e.type,!1)}let l=r=>{if(r.target&&!u.current){let o=function(){t.removeEventListener("click",f.current);let r=Array.from(c.current.values()).some(Boolean);e(),r||_("dismissableLayer.pointerDownOutside",d,a,{discrete:!0})};if(!s(r.target)){t.removeEventListener("click",f.current),e(),u.current=!1;return}let a={originalEvent:r};A.current=!0,i.current=n&&0===r.button,c.current.clear(),n&&0===r.button?(t.removeEventListener("click",f.current),f.current=o,t.addEventListener("click",f.current,{once:!0})):o()}else t.removeEventListener("click",f.current),e();u.current=!1},E=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of E)t.addEventListener(e,r,!0),t.addEventListener(e,o);let S=window.setTimeout(()=>{t.addEventListener("pointerdown",l)},0);return()=>{for(let e of(window.clearTimeout(S),t.removeEventListener("pointerdown",l),t.removeEventListener("click",f.current),E))t.removeEventListener(e,r,!0),t.removeEventListener(e,o)}},[t,d,n,i,a,s]),{onPointerDownCapture:()=>u.current=!0}}(e=>{R?.(e),p?.(e),e.defaultPrevented||h?.()},{ownerDocument:C,deferPointerDownOutside:c,isDeferredPointerDownOutsideRef:G,dismissableSurfaces:T.dismissableSurfaces,shouldHandlePointerDownOutside:o.useCallback(e=>{if(!(e instanceof Node))return!1;let r=[...T.branches].some(r=>r.contains(e));return U&&!r},[T.branches,U])}),y=function(e,r=globalThis?.document){let t=(0,l.c)(e),n=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!n.current&&_("dismissableLayer.focusOutside",t,{originalEvent:e},{discrete:!1})};return r.addEventListener("focusin",e),()=>r.removeEventListener("focusin",e)},[r,t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{if(c&&G.current)return;let r=e.target;![...T.branches].some(e=>e.contains(r))&&(N?.(e),p?.(e),e.defaultPrevented||h?.())},C),w=!!L&&g===m.length-1,B=(0,l.c)(e=>{"Escape"===e.key&&(f?.(e),!e.defaultPrevented&&h&&(e.preventDefault(),h()))});return o.useEffect(()=>{if(w)return C.addEventListener("keydown",B,{capture:!0}),()=>C.removeEventListener("keydown",B,{capture:!0})},[C,w,B]),o.useEffect(()=>{if(L)return t&&(0===T.layersWithOutsidePointerEventsDisabled.size&&(n=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),T.layersWithOutsidePointerEventsDisabled.add(L)),T.layers.add(L),S(),()=>{t&&(T.layersWithOutsidePointerEventsDisabled.delete(L),0===T.layersWithOutsidePointerEventsDisabled.size&&(C.body.style.pointerEvents=n))}},[L,C,t,T]),o.useEffect(()=>()=>{L&&(T.layers.delete(L),T.layersWithOutsidePointerEventsDisabled.delete(L),S())},[L,T]),o.useEffect(()=>{let e=()=>v({});return document.addEventListener(u,e),()=>document.removeEventListener(u,e)},[]),(0,d.jsx)(a.sG.div,{...I,ref:P,style:{pointerEvents:M?U?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.mK)(e.onFocusCapture,y.onFocusCapture),onBlurCapture:(0,i.mK)(e.onBlurCapture,y.onBlurCapture),onPointerDownCapture:(0,i.mK)(e.onPointerDownCapture,K.onPointerDownCapture)})});function f(){let e=o.useContext(A),[r,t]=o.useState(null);return o.useEffect(()=>{if(r)return e.dismissableSurfaces.add(r),()=>{e.dismissableSurfaces.delete(r)}},[r,e.dismissableSurfaces]),t}c.displayName="DismissableLayer",o.forwardRef((e,r)=>{let t=o.useContext(A),n=o.useRef(null),i=(0,s.s)(r,n);return o.useEffect(()=>{let e=n.current;if(e)return t.branches.add(e),()=>{t.branches.delete(e)}},[t.branches]),(0,d.jsx)(a.sG.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var E=()=>!0;function S(){let e=new CustomEvent(u);document.dispatchEvent(e)}function _(e,r,t,{discrete:n}){let o=t.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:t});r&&o.addEventListener(e,r,{once:!0}),n?(0,a.hO)(o,i):o.dispatchEvent(i)}},86418:(e,r,t)=>{t.d(r,{Oh:()=>a});var n=t(94070),o=0,i=null;function a(){n.useEffect(()=>{i||(i={start:s(),end:s()});let{start:e,end:r}=i;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==r&&document.body.insertAdjacentElement("beforeend",r),o++,()=>{1===o&&(i?.start.remove(),i?.end.remove(),i=null),o=Math.max(0,o-1)}},[])}function s(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
1style.position="fixed",e.style.pointerEvents="none",e}},93759:(e,r,t)=>{t.d(r,{UC:()=>eN,q7:()=>eS,N_:()=>eR,B8:()=>eE,bL:()=>ef,l9:()=>e_,LM:()=>ep});var n=t(94070),o=t(26713),i=t(36261),a=t(49998),s=t(56619),l=t(6730),d=t(64763),u=t(19728),A=t(94647),c=t(73228),f=t(34293),E=t(63626),S=t(48662),_=t(51496),R=t(89142),N=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),p=n.forwardRef((e,r)=>(0,R.jsx)(s.sG.span,{...e,ref:r,style:{...N,...e.style}}));p.displayName="VisuallyHidden";var h="NavigationMenu",[I,T,L]=(0,f.N)(h),[O,C,v]=(0,f.N)(h),[P,m]=(0,i.A)(h,[L,v]),[D,b]=P(h),[g,M]=P(h),U=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:t,value:o,onValueChange:i,defaultValue:a,delayDuration:A=200,skipDelayDuration:c=300,orientation:f="horizontal",dir:E,...S}=e,[_,N]=n.useState(null),p=(0,d.s)(r,N),I=(0,u.jH)(E),T=n.useRef(0),L=n.useRef(0),O=n.useRef(0),[C,v]=n.useState(!0),[P,m]=(0,l.i)({prop:o,onChange:e=>{let r=c>0;""!==e?(window.clearTimeout(O.current),r&&v(!1)):(window.clearTimeout(O.current),O.current=window.setTimeout(()=>v(!0),c)),i?.(e)},defaultProp:a??"",caller:h}),D=n.useCallback(()=>{window.clearTimeout(L.current),L.current=window.setTimeout(()=>m(""),150)},[m]),b=n.useCallback(e=>{window.clearTimeout(L.current),m(e)},[m]),g=n.useCallback(e=>{P===e?window.clearTimeout(L.current):T.current=window.setTimeout(()=>{window.clearTimeout(L.current),m(e)},A)},[P,m,A]);return n.useEffect(()=>()=>{window.clearTimeout(T.current),window.clearTimeout(L.current),window.clearTimeout(O.current)},[]),(0,R.jsx)(K,{scope:t,isRootMenu:!0,value:P,dir:I,orientation:f,rootNavigationMenu:_,onTriggerEnter:e=>{window.clearTimeout(T.current),C?g(e):b(e)},onTriggerLeave:()=>{window.clearTimeout(T.current),D()},onContentEnter:()=>window.clearTimeout(L.current),onContentLeave:D,onItemSelect:e=>{m(r=>r===e?"":e)},onItemDismiss:()=>m(""),children:(0,R.jsx)(s.sG.nav,{"aria-label":"Main","data-orientation":f,dir:I,...S,ref:p})})});U.displayName=h;var G="NavigationMenuSub";n.forwardRef((e,r)=>{let{__scopeNavigationMenu:t,value:n,onValueChange:o,defaultValue:i,orientation:a="horizontal",...d}=e,u=b(G,t),[A,c]=(0,l.i)({prop:n,onChange:o,defaultProp:i??"",caller:G});return(0,R.jsx)(K,{scope:t,isRootMenu:!1,value:A,dir:u.dir,orientation:a,rootNavigationMenu:u.rootNavigationMenu,onTriggerEnter:e=>c(e),onItemSelect:e=>c(e),onItemDismiss:()=>c(""),children:(0,R.jsx)(s.sG.div,{"data-orientation":a,...d,ref:r})})}).displayName=G;var K=e=>{let r,{scope:t,isRootMenu:o,rootNavigationMenu:i,dir:a,orientation:s,children:l,value:d,onItemSelect:u,onItemDismiss:A,onTriggerEnter:f,onTriggerLeave:E,onContentEnter:S,onContentLeave:N}=e,[p,h]=n.useState(null),[T,L]=n.useState(new Map),[O,C]=n.useState(null);return(0,R.jsx)(D,{scope:t,isRootMenu:o,rootNavigationMenu:i,value:d,previousValue:(r=n.useRef({value:d,previous:d}),n.useMemo(()=>(r.current.value!==d&&(r.current.previous=r.current.value,r.current.value=d),r.current.previous),[d])),baseId:(0,c.B)(),dir:a,orientation:s,viewport:p,onViewportChange:h,indicatorTrack:O,onIndicatorTrackChange:C,onTriggerEnter:(0,_.c)(f),onTriggerLeave:(0,_.c)(E),onContentEnter:(0,_.c)(S),onContentLeave:(0,_.c)(N),onItemSelect:(0,_.c)(u),onItemDismiss:(0,_.c)(A),onViewportContentChange:n.useCallback((e,r)=>{L(t=>(t.set(e,r),new Map(t)))},[]),onViewportContentRemove:n.useCallback(e=>{L(r=>r.has(e)?(r.delete(e),new Map(r)):r)},[]),children:(0,R.jsx)(I.Provider,{scope:t,children:(0,R.jsx)(g,{scope:t,items:T,children:l})})})},y="NavigationMenuList",w=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:t,...n}=e,o=b(y,t),i=(0,R.jsx)(s.sG.ul,{"data-orientation":o.orientation,...n,ref:r});return(0,R.jsx)(s.sG.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange,children:(0,R.jsx)(I.Slot,{scope:t,children:o.isRootMenu?(0,R.jsx)(en,{asChild:!0,children:i}):i})})});w.displayName=y;var B="NavigationMenuItem",[F,x]=P(B),Z=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:t,value:o,...i}=e,a=(0,c.B)(),l=n.useRef(null),d=n.useRef(null),u=n.useRef(null),A=n.useRef(()=>{}),f=n.useRef(!1),E=n.useCallback((e="start")=>{if(l.current){A.current();let r=ea(l.current);r.length&&es("start"===e?r:r.reverse())}},[]),S=n.useCallback(()=>
1{if(l.current){var e;let r=ea(l.current);r.length&&((e=r).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),A.current=()=>{e.forEach(e=>{let r=e.dataset.tabindex;e.setAttribute("tabindex",r)})})}},[]);return(0,R.jsx)(F,{scope:t,value:o||a||"LEGACY_REACT_AUTO_VALUE",triggerRef:d,contentRef:l,focusProxyRef:u,wasEscapeCloseRef:f,onEntryKeyDown:E,onFocusProxyEnter:E,onRootContentClose:S,onContentFocusOutside:S,children:(0,R.jsx)(s.sG.li,{...i,ref:r})})});Z.displayName=B;var k="NavigationMenuTrigger",H=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:t,disabled:o,...i}=e,l=b(k,e.__scopeNavigationMenu),u=x(k,e.__scopeNavigationMenu),A=n.useRef(null),c=(0,d.s)(A,u.triggerRef,r),f=eu(l.baseId,u.value),E=eA(l.baseId,u.value),S=n.useRef(!1),_=n.useRef(!1),N=u.value===l.value;return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(I.ItemSlot,{scope:t,value:u.value,children:(0,R.jsx)(ei,{asChild:!0,children:(0,R.jsx)(s.sG.button,{id:f,disabled:o,"data-disabled":o?"":void 0,"data-state":ed(N),"aria-expanded":N,"aria-controls":N?E:void 0,...i,ref:c,onPointerEnter:(0,a.mK)(e.onPointerEnter,()=>{_.current=!1,u.wasEscapeCloseRef.current=!1}),onPointerMove:(0,a.mK)(e.onPointerMove,ec(()=>{o||_.current||u.wasEscapeCloseRef.current||S.current||(l.onTriggerEnter(u.value),S.current=!0)})),onPointerLeave:(0,a.mK)(e.onPointerLeave,ec(()=>{o||(l.onTriggerLeave(),S.current=!1)})),onClick:(0,a.mK)(e.onClick,()=>{l.onItemSelect(u.value),_.current=N}),onKeyDown:(0,a.mK)(e.onKeyDown,e=>{let r={horizontal:"ArrowDown",vertical:"rtl"===l.dir?"ArrowLeft":"ArrowRight"}[l.orientation];N&&e.key===r&&(u.onEntryKeyDown(),e.preventDefault())})})})}),N&&(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(p,{"aria-hidden":!0,tabIndex:0,ref:u.focu
1sProxyRef,onFocus:e=>{let r=u.contentRef.current,t=e.relatedTarget,n=t===A.current,o=r?.contains(t);(n||!o)&&u.onFocusProxyEnter(n?"start":"end")}}),l.viewport&&(0,R.jsx)("span",{"aria-owns":E})]})]})});H.displayName=k;var Y="navigationMenu.linkSelect",j=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:t,active:n,onSelect:o,...i}=e;return(0,R.jsx)(ei,{asChild:!0,children:(0,R.jsx)(s.sG.a,{"data-active":n?"":void 0,"aria-current":n?"page":void 0,...i,ref:r,onClick:(0,a.mK)(e.onClick,e=>{let r=e.target,t=new CustomEvent(Y,{bubbles:!0,cancelable:!0});if(r.addEventListener(Y,e=>o?.(e),{once:!0}),(0,s.hO)(r,t),!t.defaultPrevented&&!e.metaKey){let e=new CustomEvent(z,{bubbles:!0,cancelable:!0});(0,s.hO)(r,e)}},{checkForDefaultPrevented:!1})})})});j.displayName="NavigationMenuLink";var V="NavigationMenuIndicator";n.forwardRef((e,r)=>{let{forceMount:t,...n}=e,i=b(V,e.__scopeNavigationMenu),a=!!i.value;return i.indicatorTrack?o.createPortal((0,R.jsx)(A.C,{present:t||a,children:(0,R.jsx)(W,{...n,ref:r})}),i.indicatorTrack):null}).displayName=V;var W=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:t,...o}=e,i=b(V,t),a=T(t),[l,d]=n.useState(null),[u,A]=n.useState(null),c="horizontal"===i.orientation,f=!!i.value;n.useEffect(()=>{let e=a(),r=e.find(e=>e.value===i.value)?.ref.current;r&&d(r)},[a,i.value]);let E=()=>{l&&A({size:c?l.offsetWidth:l.offsetHeight,offset:c?l.offsetLeft:l.offsetTop})};return el(l,E),el(i.indicatorTrack,E),u?(0,R.jsx)(s.sG.div,{"aria-hidden":!0,"data-state":f?"visible":"hidden","data-orientation":i.orientation,...o,ref:r,style:{position:"absolute",...c?{left:0,width:u.size+"px",transform:`translateX(${u.offset}px)`,"--radix-navigation-menu-indicator-translate-x":`${u.offset}px`}:{top:0,height:u.size+"px",transform:`translateY(${u.offset}px)`,"--radix-navigation-menu-indicator-translate-y":`${u.offset}px`},...o.style}}):null}),X="NavigationMenuContent",J=n.forwardRef((e,r)=>{let{forceMount:t,...n}=e,o=b(X,e.__scopeNavigationMenu),i=x(X,e.__scopeNavigationMenu),s=(0,d.s)(i.contentRef,r),l=i.value===o.value,u={value:i.value,triggerRef:i.triggerRef,focusProxyRef:i.focusProxyRef,wasEscapeCloseRef:i.wasEscapeCloseRef,onContentFocusOutside:i.onContentFocusOutside,onRootContentClose:i.onRootContentClose,...n};return o.viewport?(0,R.jsx)(Q,{forceMount:t,...u,ref:s}):(0,R.jsx)(A.C,{present:t||l,children:(0,R.jsx)($,{"data-state":ed(l),...u,ref:s,onPointerEnter:(0,a.mK)(e.onPointerEnter,o.onContentEnter),onPointerLeave:(0,a.mK)(e.onPointerLeave,ec(o.onContentLeave)),style:{pointerEvents:!l&&o.isRootMenu?"none":void 0,...u.style}})})});J.displayName=X;var Q=n.forwardRef((e,r)=>{let{onViewportContentChange:t,onViewportContentRemove:n}=b(X,e.__scopeNavigationMenu);return(0,S.N)(()=>{t(e.value,{ref:r,...e})},[e,r,t]),(0,S.N)(()=>()=>n(e.value),[e.value,n]),null}),z="navigationMenu.rootContentDismiss",$=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:t,value:o,triggerRef:i,focusProxyRef:s,wasEscapeCloseRef:l,onRootContentClose:u,onContentFocusOutside:A,...c}=e,f=b(X,t),S=n.useRef(null),_=(0,d.s)(S,r),N=eu(f.baseId,o),p=eA(f.baseId,o),h=T(t),I=n.useRef(null),{onItemDismiss:L}=f;n.useEffect(()=>{let e=S.current;if(f.isRootMenu&&e){let r=()=>{L(),u(),e.contains(document.activeElement)&&i.current?.focus()};return e.addEventListener(z,r),()=>e.removeEventListener(z,r)}},[f.isRootMenu,e.value,i,L,u]);let O=n.useMemo(()=>{let e=h().map(e=>e.value);"rtl"===f.dir&&e.reverse();let r=e.indexOf(f.value),t=e.indexOf(f.previousValue),n=o===f.value,i=t===e.indexOf(o);if(!n&&!i)return I.current;let a=(()=>{if(r!==t){if(n&&-1!==t)return r>t?"from-end":"from-start";if(i&&-1!==r)return r>t?"to-start":"to-end"}return null})();return I.current=a,a},[f.previousValue,f.value,f.dir,h,o]);return(0,R.jsx)(en,{asChild:!0,children:(0,R.jsx)(E.qW,{id:p,"aria-labelledby":N,"data-motion":O,"data-orientation":f.orientation,...c,ref:_,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(z,{bubbles:!0,cancelable:!0});S.current?.dispatchEvent(e)},onFocusOutside:(0,a.mK)(e.onFocusOutside,e=>{A();let r=e.target;f.rootNavigationMenu?.contains(r)&&e.preventDefault()}),onPointerDownOutside:(0,a.mK)(e.onPointerDownOutside,e=>{let r=e.target,t=h().some(e=>e.ref.current?.contains(r)),n=f.isRootMenu&&f.viewport?.contains(r);(t||n||!f.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,a.mK)(e.onKeyDown,e=>{let r=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!r){let r=ea(e.currentTarget),t=document.activeElement,n=r.findIndex(e=>e===t);es(e.shiftKey?r.slice(0,n).reverse():r.slice(n+1,r.length))?e.preventDefault():s.current?.focus()}}),onEscapeKeyDown:(0,a.mK)(e.onEscapeKeyDown,e=>{l.current=!0})})})}),q="NavigationMenuViewport",ee=n.forwardRef((e,r)=>{let{forceMount:t,...n}=e,o=!!b(q,e.__scopeNavigationMenu).value;return(0,R.jsx)(A.C,{present:t||o,children:(0,R.jsx)(er,{...n,ref:r})})});ee.displayName=q;var er=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:t,children:o,...i}=e,l=b(q,t),u=(0,d.s)(r,l.onViewportChange),c=M(X,e.__scopeNavigationMenu),[f,E]=n.useState(null),[S,_]=n.useState(null),N=f?f?.width+"px":void 0,p=f?f?.height+"px":void 0,h=!!l.value,I=h?l.value:l.previousValue;return el(S,()=>{S&&E({width:S.offsetWidth,height:S.offsetHeight})}),(0,R.jsx)(s.sG.div,{"data-state":ed(h),"data-orientation":l.orientation,...i,ref:u,style:{pointerEvents:!h&&l.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":N,"--radix-navigation-menu-viewport-height":p,...i.style},onPointerEnter:(0,a.mK)(e.onPointerEnter,l.onContentEnter),onPointerLeave:(0,a.mK)(e.onPointerLeave,ec(l.onContentLeave)),children:Array.from(c.items).map(([e,{ref:r,forceMount:t,...n}])=>{let o=I===e;return(0,R.jsx)(A.C,{present:t||o,children:(0,R.jsx)(et,{...n,contentRef:r,isActive:o,onActiveContentChange:_})},e)})})}),et=({contentRef:e,isActive:r,onActiveContentChange:t,...o}
1)=>{let i=n.useCallback(e=>{r&&e&&t(e)},[r,t]),a=(0,d.s)(e,i);return(0,R.jsx)($,{...o,ref:a})},en=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:t,...n}=e,o=b("FocusGroup",t);return(0,R.jsx)(O.Provider,{scope:t,children:(0,R.jsx)(O.Slot,{scope:t,children:(0,R.jsx)(s.sG.div,{dir:o.dir,...n,ref:r})})})}),eo=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],ei=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:t,...n}=e,o=C(t),i=b("FocusGroupItem",t);return(0,R.jsx)(O.ItemSlot,{scope:t,children:(0,R.jsx)(s.sG.button,{...n,ref:r,onKeyDown:(0,a.mK)(e.onKeyDown,e=>{if(["Home","End",...eo].includes(e.key)){let r=o().map(e=>e.ref.current);if(["rtl"===i.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&r.reverse(),eo.includes(e.key)){let t=r.indexOf(e.currentTarget);r=r.slice(t+1)}setTimeout(()=>es(r)),e.preventDefault()}})})})});function ea(e){let r=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let r="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||r?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)r.push(t.currentNode);return r}function es(e){let r=document.activeElement;return e.some(e=>e===r||(e.focus(),document.activeElement!==r))}function el(e,r){let t=(0,_.c)(r);(0,S.N)(()=>{let r=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(t)});return n.observe(e),()=>{window.cancelAnimationFrame(r),n.unobserve(e)}}},[e,t])}function ed(e){return e?"open":"closed"}function eu(e,r){return`${e}-trigger-${r}`}function eA(e,r){return`${e}-content-${r}`}function ec(e){return r=>"mouse"===r.pointerType?e(r):void 0}var ef=U,eE=w,eS=Z,e_=H,eR=j,eN=J,ep=ee},98074:(e,r,t)=>{t.d(r,{UC:()=>rh,q7:()=>rI,bL:()=>rN,l9:()=>rp});var n=t(94070),o=t.t(n,2),i=t(49998),a=t(64763),s=t(36261),l=t(6730),d=t(56619),u=t(34293),A=t(19728),c=t(63626),f=t(86418),E=t(22097),S=t(73228),_=t(15029),R=t(78170),N=t(89142),p=n.forwardRef((e,r)=>{let{children:t,width:n=10,height:o=5,...i}=e;return(0,N.jsx)(d.sG.svg,{...i,ref:r,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?t:(0,N.jsx)("polygon",{points:"0,0 30,0 15,10"})})});p.displayName="Arrow";var h=t(51496),I=t(48662),T="Popper",[L,O]=(0,s.A)(T),[C,v]=L(T),P=e=>{let{__scopePopper:r,children:t}=e,[o,i]=n.useState(null),[a,s]=n.useState(void 0);return(0,N.jsx)(C,{scope:r,anchor:o,onAnchorChange:i,placementState:a,setPlacementState:s,children:t})};P.displayName=T;var m="PopperAnchor",D=n.forwardRef((e,r)=>{let{__scopePopper:t,virtualRef:o,...i}=e,s=v(m,t),l=n.useRef(null),u=s.onAnchorChange,A=n.useCallback(e=>{l.current=e,e&&u(e)},[u]),c=(0,a.s)(r,A),f=n.useRef(null);n.useEffect(()=>{if(!o)return;let e=f.current;f.current=o.current,e!==f.current&&u(f.current)});let E=s.placementState&&F(s.placementState),S=E?.[0],_=E?.[1];return o?null:(0,N.jsx)(d.sG.div,{"data-radix-popper-side":S,"data-radix-popper-align":_,...i,ref:c})});D.displayName=m;var b="PopperContent",[g,M]=L(b),U=n.forwardRef((e,r)=>{let{__scopePopper:t,side:o="bottom",sideOffset:i=0,align:s="center",alignOffset:l=0,arrowPadding:u=0,avoidCollisions:A=!0,collisionBoundary:c=[],collisionPadding:f=0,sticky:E="partial",hideWhenDetached:S=!1,updatePositionStrategy:p="optimized",onPlaced:T,...L}=e,O=v(b,t),[C,P]=n.useState(null),m=(0,a.s)(r,P),[D,M]=n.useState(null),U=function(e){let[r,t]=n.useState(void 0);return(0,I.N)(()=>{if(e){t({width:e.offsetWidth,height:e.offsetHeight});let r=new ResizeObserver(r=>{let n,o;if(!Array.isArray(r)||!r.length)return;let i=r[0];if("borderBoxSize"in i){let e=i.borderBoxSize,r=Array.isArray(e)?e[0]:e;n=r.inlineSize,o=r.blockSize}else n=e.offsetWidth,o=e.offsetHeight;t({width:n,height:o})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}t(void 0)},[e]),r}(D),G=U?.width??0,K=U?.height??0,y="number"==typeof f?f:{top:0,right:0,bottom:0,left:0,...f},x=Array.isArray(c)?c:[c],Z=x.length>0,k={padding:y,boundary:x.filter(w),altBoundary:Z},{refs:H,floatingStyles:Y,placement:j,isPositioned:V,middlewareData:W}=(0,_.we)({strategy:"fixed",placement:o+("center"!==s?"-"+s:""),whileElementsMounted:(...e)=>(0,R.ll)(...e,{animationFrame:"always"===p}),elements:{reference:O.anchor},middleware:[(0,_.cY)({mainAxis:i+K,alignmentAxis:l}),A&&(0,_.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===E?(0,_.ER)():void 0,...k}),A&&(0,_.UU)({...k}),(0,_.Ej)({...k,apply:({elements:e,rects:r,availableWidth:t,availableHeight:n})=>{let{width:o,height:i}=r.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${t}px`),a.setProperty("--radix-popper-available-height",`${n}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),D&&(0,_.UE)({element:D,padding:u}),B({arrowWidth:G,arrowHeight:K}),S&&(0,_.jD)({strategy:"referenceHidden",...k,boundary:Z?k.boundary:void 0})]}),X=O.setPlacementState;(0,I.N)(()=>(X(j),()=>{X(void 0)}),[j,X]);let[J,Q]=F(j),z=(0,h.c)(T);(0,I.N)(()=>{V&&z?.()},[V,z]);let $=W.arrow?.x,q=W.arrow?.y,ee=W.arrow?.centerOffset!==0,[er,et]=n.useState();return(0,I.N)(()=>{C&&et(window.getComputedStyle(C).zIndex)},[C]),(0,N.jsx)("div",{ref:H.setFloating,"data-radix-popper-content-wrapper":"",style:{...Y,transform:V?Y.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:er,"--radix-popper-transform-origin":[W.transformOrigin?.x,W.transformOrigin?.y].join(" "),...W.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,N.jsx)(g,{scope:t,placedSide:J,placedAlign:Q,onArrowChange:M,arrowX:$,arrowY:q,shouldHideArrow:ee,children:(0,N.jsx)(d.sG.div,{"data-side":J,"data-align":Q,...L,ref:m,style:{...L.style,animation:V?void 0:"none"}})})})});U.displayName=b;var G="PopperArrow",K={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},y=n.forwardRef(function(e,r){let{__scopePopper:t,...n}=e,o=M(G,t),i=K[o.placedSide];return(0,N.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,N.jsx)(p,{...n,ref:r,style:{...n.style,display:"block"}})})});function w(e){return null!==e}y.displayName=G;var B=e=>({name:"transformOrigin",options:e,fn(r){let{placement:t,rects:n,middlewareData:o}=r,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,s=i?0:e.arrowHeight,[l,d]=F(t),u={start:"0%",center:"50%",end:"100%"}[d],A=(o.arrow?.x??0)+a/2,c=(o.arrow?.y??0)+s/2,f="",E="";return"bottom"===l?(f=i?u:`${A}px`,E=`${-s}px`):"top"===l?(f=i?u:`${A}px`,E=`${n.floating.height+s}px`):"right"===l?(f=`${-s}px`,E=i?u:`${c}px`):"left"===l&&(f=`${n.floating.width+s}px`,E=i?u:`${c}px`),{data:{x:f,y:E}}}});function F(e){let[r,t="center"]=e.split("-");return[r,t]}var x=t(59012),Z=t(94647),k=!1,H=o[" useSyncExternalStore ".trim().toString()];function Y(){return()=>{}}var j="function"==typeof H?function(){return H(Y,()=>!0,()=>!1)}:function(){let[e,r]=n.useState(k);return n.useEffect(()=>{k||(k=!0,r(!0))},[]),e},V="rovingFocusGroup.onEntryFocus",W={bubbles:!1,cancelable:!0},X="RovingFocusGroup",[J,Q,z]=(0,u.N)(X),[$,q]=(0,s.A)(X,[z]),[ee,er]=$(X),et=n.forwardRef((e,r)=>(0,N.jsx)(J.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,N.jsx)(J.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,N.jsx)(en,{...e,ref:r})})}));et.displayName=X;var en=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,orientation:o,loop:s=!1,dir:u,currentTabStopId:c,defaultCurrentTabStopId:f,onCurrentTabStopIdChange:E,onEntryFocus:S,preventScrollOnEntryFocus:_=!1,...R}=e,p=n.useRef(null),I=(0,a.s)(r,p),T=(0,A.jH)(u),[L,O]=(0,l.i)({prop:c,defaultProp:f??null,onChange:E,caller:X}),[C,v]=n.useState(!1),P=(0,h.c)(S),m=Q(t),D=n.useRef(!1),[b,g]=n.useState(0);return n.useEffect(()=>{let e=p.current;if(e)return e.addEventListener(V,P),()=>e.removeEventListener(V,P)},[P]),(0,N.jsx)(ee,{scope:t,orientation:o,dir:T,loop:s,currentTabStopId:L,onItemFocus:n.useCallback(e=>O(e),[O]),onItemShiftTab:n.useCallback(()=>v(!0),[]),onFocusableItemAdd:n.useCallback(()=>g(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>g(e=>e-1),[]),children:(0,N.jsx)(d.sG.div,{tabIndex:C||0===b?-1:0,"data-orientation":o,...R,ref:I,style:{outline:"none",...e.style},onMouseDown:(0,i.mK)(e.onMouseDown,()=>{D.current=!0}),onFocus:(0,i.mK)(e.onFocus,e=>{let r=!D.current;if(e.target===e.currentTarget&&r&&!C){let r=new CustomEvent(V,W);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){let e=m().filter(e=>e.focusable);es([e.find(e=>e.active),e.find(e=>e.id===L),...e].filter(Boolean).map(e=>e.ref.current),_)}}D.current=!1}),onBlur:(0,i.mK)(e.onBlur,()=>v(!1))})})}),eo="RovingFocusGroupItem",ei=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,focusable:o=!0,active:a=!1,tabStopId:s,children:l,...u}=e,A=(0,S.B)(),c=s||A,f=er(eo,t),E=f.currentTabStopId===c,_=Q(t),{onFocusableItemAdd:R,onFocusableItemRemove:p,currentTabStopId:h}=f,T=j();return(0,I.N)(()=>{if(T&&o)return R(),()=>p()},[T,o,R,p]),n.useEffect(()=>{if(!T&&o)return R(),()=>p()},[T,o,R,p]),(0,N.jsx)(J.ItemSlot,{scope:t,id:c,focusable:o,active:a,children:(0,N.jsx)(d.sG.span,{tabIndex:E?0:-1,"data-orientation":f.orientation,...u,ref:r,onMouseDown:(0,i.mK)(e.onMouseDown,e=>{o?f.onItemFocus(c):e.preventDefault()}),onFocus:(0,i.mK)(e.onFocus,()=>f.onItemFocus(c)),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void f.onItemShiftTab();if(e.target!==e.currentTarget)return;let r=function(e,r,t){var n;let o=(n=e.key,"rtl"!==t?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===r&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===r&&["ArrowUp","ArrowDown"].includes(o)))return ea[o]}(e,f.orientation,f.dir);if(void 0!==r){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=_().filter(e=>
1e.focusable).map(e=>e.ref.current);if("last"===r)o.reverse();else if("prev"===r||"next"===r){var t,n;"prev"===r&&o.reverse();let i=o.indexOf(e.currentTarget);o=f.loop?(t=o,n=i+1,t.map((e,r)=>t[(n+r)%t.length])):o.slice(i+1)}setTimeout(()=>es(o))}}),children:"function"==typeof l?l({isCurrentTabStop:E,hasTabStop:null!=h}):l})})});ei.displayName=eo;var ea={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function es(e,r=!1){let t=document.activeElement;for(let n of e)if(n===t||(n.focus({preventScroll:r}),document.activeElement!==t))return}var el=t(61292),ed=t(60644),eu=t(13721),eA=["Enter"," "],ec=["ArrowUp","PageDown","End"],ef=["ArrowDown","PageUp","Home",...ec],eE={ltr:[...eA,"ArrowRight"],rtl:[...eA,"ArrowLeft"]},eS={ltr:["ArrowLeft"],rtl:["ArrowRight"]},e_="Menu",[eR,eN,ep]=(0,u.N)(e_),[eh,eI]=(0,s.A)(e_,[ep,O,q]),eT=O(),eL=q(),[eO,eC]=eh(e_),[ev,eP]=eh(e_),em=e=>{let{__scopeMenu:r,open:t=!1,children:o,dir:i,onOpenChange:a,modal:s=!0}=e,l=eT(r),[d,u]=n.useState(null),c=n.useRef(!1),f=(0,h.c)(a),E=(0,A.jH)(i);return n.useEffect(()=>{let e=()=>{c.current=!0,document.addEventListener("pointerdown",r,{capture:!0,once:!0}),document.addEventListener("pointermove",r,{capture:!0,once:!0})},r=()=>c.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",r,{capture:!0}),document.removeEventListener("pointermove",r,{capture:!0})}},[]),n.useEffect(()=>{if(!t)return;let e=()=>f(!1);return window.addEventListener("blur",e),()=>window.removeEventListener("blur",e)},[t,f]),(0,N.jsx)(P,{...l,children:(0,N.jsx)(eO,{scope:r,open:t,onOpenChange:f,content:d,onContentChange:u,children:(0,N.jsx)(ev,{scope:r,onClose:n.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:c,dir:E,modal:s,children:o})})})};em.displayName=e_;var eD=n.forwardRef((e,r)=>{let{__scopeMenu:t,...n}=e,o=eT(t);return(0,N.jsx)(D,{...o,...n,ref:r})});eD.displayName="MenuAnchor";var eb="MenuPortal",[eg,eM]=eh(eb,{forceMount:void 0});var eU="MenuContent",[eG,eK]=eh(eU),ey=n.forwardRef((e,r)=>{let t=eM(eU,e.__scopeMenu),{forceMount:n=t.forceMount,...o}=e,i=eC(eU,e.__scopeMenu),a=eP(eU,e.__scopeMenu);return(0,N.jsx)(eR.Provider,{scope:e.__scopeMenu,children:(0,N.jsx)(Z.C,{present:n||i.open,children:(0,N.jsx)(eR.Slot,{scope:e.__scopeMenu,children:a.modal?(0,N.jsx)(ew,{...o,ref:r}):(0,N.jsx)(eB,{...o,ref:r})})})})}),ew=n.forwardRef((e,r)=>{let t=eC(eU,e.__scopeMenu),o=n.useRef(null),s=(0,a.s)(r,o);return n.useEffect(()=>{let e=o.current;if(e)return(0,ed.Eq)(e)},[]),(0,N.jsx)(ex,{...e,ref:s,trapFocus:t.open,disableOutsidePointerEvents:t.open,disableOutsideScroll:!0,onFocusOutside:(0,i.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>t.onOpenChange(!1)})}),eB=n.forwardRef((e,r)=>{let t=eC(eU,e.__scopeMenu);return(0,N.jsx)(ex,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>t.onOpenChange(!1)})}),eF=(0,el.TL)("MenuContent.ScrollLock"),ex=n.forwardRef((e,r)=>{let{__scopeMenu:t,loop:o=!1,trapFocus:s,onOpenAutoFocus:l,onCloseAutoFocus:d,disableOutsidePointerEvents:u,onEntryFocus:A,onEscapeKeyDown:S,onPointerDownOutside:_,onFocusOutside:R,onInteractOutside:p,onDismiss:h,disableOutsideScroll:I,...T}=e,L=eC(eU,t),O=eP(eU,t),C=eT(t),v=eL(t),P=eN(t),[m,D]=n.useState(null),b=n.useRef(null),g=(0,a.s)(r,b,L.onContentChange),M=n.useRef(0),G=n.useRef(""),K=n.useRef(0),y=n.useRef(null),w=n.useRef("right"),B=n.useRef(0),F=I?eu.A:n.Fragment;n.useEffect(()=>()=>window.clearTimeout(M.current),[]),(0,f.Oh)();let x=n.useCallback(e=>{var r,t;return w.current===y.current?.side&&(r=e,!!(t=y.current?.area)&&function(e,r){let{x:t,y:n}=e,o=!1;for(let e=0,i=r.length-1;e<r.length;i=e++){let a=r[e],s=r[i],l=a.x,d=a.y,u=s.x,A=s.y;d>n!=A>n&&t<(u-l)*(n-d)/(A-d)+l&&(o=!o)}return o}({x:r.clientX,y:r.clientY},t))},[]);return(0,N.jsx)(eG,{scope:t,searchRef:G,onItemEnter:n.useCallback(e=>{x(e)&&e.preventDefault()},[x]),onItemLeave:n.useCallback(e=>{x(e)||(b.current?.focus(),D(null))},[x]),onTriggerLeave:n.useCallback(e=>{x(e)&&e.preventDefault()},[x]),pointerGraceTimerRef:K,onPointerGraceIntentChange:n.useCallback(e=>{y.current=e},[]),children:(0,N.jsx)(F,{...I?{as:eF,allowPinchZoom:!0}:void 0,children:(0,N.jsx)(E.n,{asChild:!0,trapped:s,onMountAutoFocus:(0,i.mK)(l,e=>{e.preventDefault(),b.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:d,children:(0,N.jsx)(c.qW,{asChild:!0,disableOutsidePointerEvents:u,onEscapeKeyDown:S,onPointerDownOutside:_,onFocusOutside:R,onInteractOutside:p,onDismiss:h,children:(0,N.jsx)(et,{asChild:!0,...v,dir:O.dir,orientation:"vertical",loop:o,currentTabStopId:m,onCurrentTabStopIdChange:D,onEntryFocus:(0,i.mK)(A,e=>{O.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,N.jsx)(U,{role:"menu","aria-orientation":"vertical","data-state":rt(L.open
1),"data-radix-menu-content":"",dir:O.dir,...C,...T,ref:g,style:{outline:"none",...T.style},onKeyDown:(0,i.mK)(T.onKeyDown,e=>{let r=e.target.closest("[data-radix-menu-content]")===e.currentTarget,t=e.ctrlKey||e.altKey||e.metaKey,n=1===e.key.length;if(r){var o;let r,i,a,s,l,d;"Tab"===e.key&&e.preventDefault(),!t&&n&&(o=e.key,r=G.current+o,i=P().filter(e=>!e.disabled),a=document.activeElement,s=i.find(e=>e.ref.current===a)?.textValue,l=function(e,r,t){var n;let o=r.length>1&&Array.from(r).every(e=>e===r[0])?r[0]:r,i=t?e.indexOf(t):-1,a=(n=Math.max(i,0),e.map((r,t)=>e[(n+t)%e.length]));1===o.length&&(a=a.filter(e=>e!==t));let s=a.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return s!==t?s:void 0}(i.map(e=>e.textValue),r,s),d=i.find(e=>e.textValue===l)?.ref.current,function e(r){G.current=r,window.clearTimeout(M.current),""!==r&&(M.current=window.setTimeout(()=>e(""),1e3))}(r),d&&setTimeout(()=>d.focus()))}let i=b.current;if(e.target!==i||!ef.includes(e.key))return;e.preventDefault();let a=P().filter(e=>!e.disabled).map(e=>e.ref.current);ec.includes(e.key)&&a.reverse(),function(e){let r=document.activeElement;for(let t of e)if(t===r||(t.focus(),document.activeElement!==r))return}(a)}),onBlur:(0,i.mK)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(M.current),G.current="")}),onPointerMove:(0,i.mK)(e.onPointerMove,ri(e=>{let r=e.target,t=B.current!==e.clientX;e.currentTarget.contains(r)&&t&&(w.current=e.clientX>B.current?"right":"left",B.current=e.clientX)}))})})})})})})});ey.displayName=eU;var eZ=n.forwardRef((e,r)=>{let{__scopeMenu:t,...n}=e;return(0,N.jsx)(d.sG.div,{role:"group",...n,ref:r})});eZ.displayName="MenuGroup";var ek=n.forwardRef((e,r)=>{let{__scopeMenu:t,...n}=e;return(0,N.jsx)(d.sG.div,{...n,ref:r})});ek.displayName="MenuLabel";var eH="MenuItem",eY="menu.itemSelect",ej=n.forwardRef((e,r)=>{let{disabled:t=!1,onSelect:o,...s}=e,l=n.useRef(null),u=eP(eH,e.__scopeMenu),A=eK(eH,e.__scopeMenu),c=(0,a.s)(r,l),f=n.useRef(!1);return(0,N.jsx)(eV,{...s,ref:c,disabled:t,onClick:(0,i.mK)(e.onClick,()=>{let e=l.current;if(!t&&e){let r=new CustomEvent(eY,{bubbles:!0,cancelable:!0});e.addEventListener(eY,e=>o?.(e),{once:!0}),(0,d.hO)(e,r),r.defaultPrevented?f.current=!1:u.onClose()}}),onPointerDown:r=>{e.onPointerDown?.(r),f.current=!0},onPointerUp:(0,i.mK)(e.onPointerUp,e=>{f.current||e.currentTarget?.click()}),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{t||e.target!==e.currentTarget||(""===A.searchRef.current||" "!==e.key)&&eA.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});ej.displayName=eH;var eV=n.forwardRef((e,r)=>{let{__scopeMenu:t,disabled:o=!1,textValue:s,...l}=e,u=eK(eH,t),A=eL(t),c=n.useRef(null),f=(0,a.s)(r,c),[E,S]=n.useState(!1),[_,R]=n.useState("");return n.useEffect(()=>{let e=c.current;e&&R((e.textContent??"").trim())},[l.children]),(0,N.jsx)(eR.ItemSlot,{scope:t,disabled:o,textValue:s??_,children:(0,N.jsx)(ei,{asChild:!0,...A,focusable:!o,children:(0,N.jsx)(d.sG.div,{role:"menuitem","data-highlighted":E?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...l,ref:f,onPointerMove:(0,i.mK)(e.onPointerMove,ri(e=>{o?u.onItemLeave(e):(u.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,i.mK)(e.onPointerLeave,ri(e=>u.onItemLeave(e))),onFocus:(0,i.mK)(e.onFocus,()=>S(!0)),onBlur:(0,i.mK)(e.onBlur,()=>S(!1))})})})}),eW=n.forwardRef((e,r)=>{let{checked:t=!1,onCheckedChange:n,...o}=e;return(0,N.jsx)(e1,{scope:e.__scopeMenu,checked:t,children:(0,N.jsx)(ej,{role:"menuitemcheckbox","aria-checked":rn(t)?"mixed":t,...o,ref:r,"data-state":ro(t),onSelect:(0,i.mK)(o.onSelect,()=>n?.(!!rn(t)||!t),{checkForDefaultPrevented:!1})})})});eW.displayName="MenuCheckboxItem";var eX="MenuRadioGroup",[eJ,eQ]=eh(eX,{value:void 0,onValueChange:()=>{}}),ez=n.forwardRef((e,r)=>{let{value:t,onValueChange:n,...o}=e,i=(0,h.c)(n);return(0,N.jsx)(eJ,{scope:e.__scopeMenu,value:t,onValueChange:i,children:(0,N.jsx)(eZ,{...o,ref:r})})});ez.displayName=eX;var e$="MenuRadioItem",eq=n.forwardRef((e,r)=>{let{value:t,...n}=e,o=eQ(e$,e.__scopeMenu),a=t===o.value;return(0,N.jsx)(e1,{scope:e.__scopeMenu,checked:a,children:(0,N.jsx)(ej,{role:"menuitemradio","aria-checked":a,...n,ref:r,"data-state":ro(a),onSelect:(0,i.mK)(n.onSelect,()=>o.onValueChange?.(t),{checkForDefaultPrevented:!1})})})});eq.displayName=e$;var e0="MenuItemIndicator",[e1,e6]=eh(e0,{checked:!1}
1),e2=n.forwardRef((e,r)=>{let{__scopeMenu:t,forceMount:n,...o}=e,i=e6(e0,t);return(0,N.jsx)(Z.C,{present:n||rn(i.checked)||!0===i.checked,children:(0,N.jsx)(d.sG.span,{...o,ref:r,"data-state":ro(i.checked)})})});e2.displayName=e0;var e9=n.forwardRef((e,r)=>{let{__scopeMenu:t,...n}=e;return(0,N.jsx)(d.sG.div,{role:"separator","aria-orientation":"horizontal",...n,ref:r})});e9.displayName="MenuSeparator";var e4=n.forwardRef((e,r)=>{let{__scopeMenu:t,...n}=e,o=eT(t);return(0,N.jsx)(y,{...o,...n,ref:r})});e4.displayName="MenuArrow";var[e3,e7]=eh("MenuSub"),e8="MenuSubTrigger",e5=n.forwardRef((e,r)=>{let t=eC(e8,e.__scopeMenu),o=eP(e8,e.__scopeMenu),s=e7(e8,e.__scopeMenu),l=eK(e8,e.__scopeMenu),d=n.useRef(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:A}=l,c={__scopeMenu:e.__scopeMenu},f=n.useCallback(()=>{d.current&&window.clearTimeout(d.current),d.current=null},[]);n.useEffect(()=>f,[f]),n.useEffect(()=>{let e=u.current;return()=>{window.clearTimeout(e),A(null)}},[u,A]);let E=(0,a.s)(r,s.onTriggerChange);return(0,N.jsx)(eD,{asChild:!0,...c,children:(0,N.jsx)(eV,{id:s.triggerId,"aria-haspopup":"menu","aria-expanded":t.open,"aria-controls":t.open?s.contentId:void 0,"data-state":rt(t.open),...e,ref:E,onClick:r=>{e.onClick?.(r),e.disabled||r.defaultPrevented||(r.currentTarget.focus(),t.open||t.onOpenChange(!0))},onPointerMove:(0,i.mK)(e.onPointerMove,ri(r=>{l.onItemEnter(r),!r.defaultPrevented&&(e.disabled||t.open||d.current||(l.onPointerGraceIntentChange(null),d.current=window.setTimeout(()=>{t.onOpenChange(!0),f()},100)))})),onPointerLeave:(0,i.mK)(e.onPointerLeave,ri(e=>{f();let r=t.content?.getBoundingClientRect();if(r){let n=t.content?.dataset.side,o="right"===n,i=r[o?"left":"right"],a=r[o?"right":"left"];l.onPointerGraceIntentChange({area:[{x:e.clientX+(o?-5:5),y:e.clientY},{x:i,y:r.top},{x:a,y:r.top},{x:a,y:r.bottom},{x:i,y:r.bottom}],side:n}),window.clearTimeout(u.current),u.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(e),e.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:(0,i.mK)(e.onKeyDown,r=>{e.disabled||r.target!==r.currentTarget||(""===l.searchRef.current||" "!==r.key)&&eE[o.dir].includes(r.key)&&(t.onOpenChange(!0),t.content?.focus(),r.preventDefault())})})})});e5.displayName=e8;var re="MenuSubContent",rr=n.forwardRef((e,r)=>{let t=eM(eU,e.__scopeMenu),{forceMount:o=t.forceMount,align:s="start",...l}=e,d=eC(eU,e.__scopeMenu),u=eP(eU,e.__scopeMenu),A=e7(re,e.__scopeMenu),c=n.useRef(null),f=(0,a.s)(r,c);return(0,N.jsx)(eR.Provider,{scope:e.__scopeMenu,children:(0,N.jsx)(Z.C,{present:o||d.open,children:(0,N.jsx)(eR.Slot,{scope:e.__scopeMenu,children:(0,N.jsx)(ex,{id:A.contentId,"aria-labelledby":A.triggerId,...l,ref:f,align:s,side:"rtl"===u.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{u.isUsingKeyboardRef.current&&c.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,i.mK)(e.onFocusOutside,e=>{e.target!==A.trigger&&d.onOpenChange(!1)}),onEscapeKeyDown:(0,i.mK)(e.onEscapeKeyDown,e=>{u.onClose(),e.preventDefault()}),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{let r=e.currentTarget.contains(e.target),t=eS[u.dir].includes(e.key);r&&t&&(d.onOpenChange(!1),A.trigger?.focus(),e.preventDefault())})})})})})});function rt(e){return e?"open":"closed"}function rn(e){return"indeterminate"===e}function ro(e){return rn(e)?"indeterminate":e?"checked":"unchecked"}function ri(e){return r=>"mouse"===r.pointerType?e(r):void 0}rr.displayName=re;var ra="DropdownMenu",[rs,rl]=(0,s.A)(ra,[eI]),rd=eI(),[ru,rA]=rs(ra),rc=e=>{let{__scopeDropdownMenu:r,children:t,dir:o,open:i,defaultOpen:a,onOpenChange:s,modal:d=!0}=e,u=rd(r),A=n.useRef(null),[c,f]=(0,l.i)({prop:i,defaultProp:a??!1,onChange:s,caller:ra});return(0,N.jsx)(ru,{scope:r,triggerId:(0,S.B)(),triggerRef:A,contentId:(0,S.B)(),open:c,onOpenChange:f,onOpenToggle:n.useCallback(()=>f(e=>
1!e),[f]),modal:d,children:(0,N.jsx)(em,{...u,open:c,onOpenChange:f,dir:o,modal:d,children:t})})};rc.displayName=ra;var rf="DropdownMenuTrigger",rE=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,disabled:n=!1,...o}=e,s=rA(rf,t),l=rd(t),u=(0,a.s)(r,s.triggerRef);return(0,N.jsx)(eD,{asChild:!0,...l,children:(0,N.jsx)(d.sG.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...o,ref:u,onPointerDown:(0,i.mK)(e.onPointerDown,e=>{!n&&0===e.button&&!1===e.ctrlKey&&(s.onOpenToggle(),s.open||e.preventDefault())}),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{!n&&(["Enter"," "].includes(e.key)&&s.onOpenToggle(),"ArrowDown"===e.key&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});rE.displayName=rf;var rS="DropdownMenuContent",r_=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...o}=e,a=rA(rS,t),s=rd(t),l=n.useRef(!1);return(0,N.jsx)(ey,{id:a.contentId,"aria-labelledby":a.triggerId,...s,...o,ref:r,onCloseAutoFocus:(0,i.mK)(e.onCloseAutoFocus,e=>{l.current||a.triggerRef.current?.focus(),l.current=!1,e.preventDefault()}),onInteractOutside:(0,i.mK)(e.onInteractOutside,e=>{let r=e.detail.originalEvent,t=0===r.button&&!0===r.ctrlKey,n=2===r.button||t;(!a.modal||n)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});r_.displayName=rS,n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=rd(t);return(0,N.jsx)(eZ,{...o,...n,ref:r})}).displayName="DropdownMenuGroup",n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=rd(t);return(0,N.jsx)(ek,{...o,...n,ref:r})}).displayName="DropdownMenuLabel";var rR=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=rd(t);return(0,N.jsx)(ej,{...o,...n,ref:r})});rR.displayName="DropdownMenuItem",n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=rd(t);return(0,N.jsx)(eW,{...o,...n,ref:r})}).displayName="DropdownMenuCheckboxItem",n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=rd(t);return(0,N.jsx)(ez,{...o,...n,ref:r})}).displayName="DropdownMenuRadioGroup",n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=rd(t);return(0,N.jsx)(eq,{...o,...n,ref:r})}).displayName="DropdownMenuRadioItem",n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=rd(t);return(0,N.jsx)(e2,{...o,...n,ref:r})}).displayName="DropdownMenuItemIndicator",n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=rd(t);return(0,N.jsx)(e9,{...o,...n,ref:r})}).displayName="DropdownMenuSeparator",n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=rd(t);return(0,N.jsx)(e4,{...o,...n,ref:r})}).displayName="DropdownMenuArrow",n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=rd(t);return(0,N.jsx)(e5,{...o,...n,ref:r})}).displayName="DropdownMenuSubTrigger",n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=rd(t);return(0,N.jsx)(rr,{...o,...n,ref:r,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}).displayName="DropdownMenuSubContent";var rN=rc,rp=rE,rh=r_,rI=rR}}]);
2//# sourceMappingURL=98000-8dc280593d10c3c7.js.map

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.