PageSourceSearch

https://webtrader.cmsprime.com/web/assets/js/7247.chunk.38b1209a.js

js cmsprime.com collected 2026-09-24 13:10:40 UTC 40,864 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_aqx_member_web=self.webpackChunk_aqx_member_web||[]).push([["7247"],{25932:function(e,t,n){n.d(t,{R:()=>k,Z:()=>eE});var r,o=n(74512),i=n(32735),c=n(10281),a=n(81182),l=n(96838),s=n(62715),u=n(71225),d=n(80199),p=n(38074),f=n(31378),h=n(33007);n(92222);let m=function(e){var t=e.children,n=e.dataTestId,r=e.icon,i=e.disablePadding;return(0,o.jsxs)(O,{"data-testid":n,$disablePadding:i,children:[null!=r?r:(0,o.jsx)(d.ZP,{icon:d.Ro.NO_ORDER,size:d.sk.NO_ORDER}),t]})};var O=c.ZP.div.withConfig({componentId:"sc-b49f76d8-0"})(["display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:",";"],function(e){return e.$disablePadding?"0":"52px ".concat(u.A.XL,"px")}),y=function(){var e=(0,h.VC)().theme,t=e.themeMode===f.bS.LIGHT?e.themeColors.white:e.themeColors.background.default;return(0,o.jsx)(d.ZP,{color:t,backgroundColor:e.themeColors.primary,icon:d.Ro.LOCK,size:d.sk.XL,variant:d.St.ROUND})};let x=function(e){var t=e.onClick,n=(0,a.$G)().t;return(0,o.jsxs)(m,{icon:(0,o.jsx)(y,{}),disablePadding:!0,children:[(0,o.jsx)(g,{typography:s.wZ.TEXT_M_REGULAR,children:n("Curious about more strategies?")}),(0,o.jsx)(b,{variant:l.eF.OUTLINED_THEMED,onClick:t,children:n("Express Interest")})]})};var g=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-b8ac0655-0"})(["margin-top:","px;color:",";text-align:center;"],u.A.XS,function(e){return e.theme.themeColors.text.default}),b=(0,c.ZP)(l.ZP).withConfig({componentId:"sc-b8ac0655-1"})(["margin-top:","px;width:100%;"],u.A.REGULAR),v=n(11750),C=n(25220),j=n(907),P=n(81613),E=n(83837);let T=function(){var e,t=(0,a.$G)().t,n=(0,v.s0)(),r=(0,P.n6)(),i=(0,P.jW)(),c=(null==r||null==(e=r.linkedCopiers)?void 0:e.length)===0||!r;return(0,o.jsxs)(C.Z,{icon:c?void 0:(0,o.jsx)(d.ZP,{icon:d.Ro.NO_ACCOUNT,size:d.sk.NO_ORDER}),children:[(0,o.jsxs)(w,{children:[(0,o.jsx)(_,{typography:s.wZ.TEXT_L_BOLD,children:t(c?"No copy trade data found":"Select a Copy Trade Account")}),(0,o.jsx)(S,{typography:s.wZ.TEXT_M_REGULAR,children:t(c?"Start copy trading and your data will show up here.":"Your profile statistics will show up here when you start copy trading.")})]}),c?(0,o.jsx)(l.ZP,{variant:l.eF.FILLED_THEMED,onClick:function(){i||P.Bz.setShouldShowLinkAccountToPelicanCopyTradeModal(!0),n(j.oI.COPY_TRADE)},children:t("Start copy trading now")}):(0,o.jsx)(l.ZP,{variant:l.eF.FILLED_THEMED,onClick:function(){(0,E.N)()},children:t("Select Account")})]})};var w=c.ZP.div.withConfig({componentId:"sc-ca4add54-0"})(["display:flex;flex-direction:column;gap:","px;margin-bottom:","px;text-align:center;"],u.A.XXS,u.A.M),_=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-ca4add54-1"})(["margin-top:","px;color:",";"],u.A.XS,function(e){return e.theme.themeColors.text.default}),S=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-ca4add54-2"})(["color:",";"],function(e){return e.theme.themeColors.text.placeholder});let A=function(e){var t=e.label,n=(0,a.$G)().t;return(0,o.jsx)(C.Z,{children:(0,o.jsx)(I,{typography:s.wZ.TEXT_M_REGULAR,children:t||n("You have no missed trades.")})})};var I=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-3191fc85-0"})(["margin-top:","px;color:",";"],u.A.XS,function(e){return e.theme.themeColors.text.placeholder});let R=function(){var e=(0,a.$G)().t;return(0,o.jsx)(C.Z,{children:(0,o.jsx)(Z,{typography:s.wZ.TEXT_M_REGULAR,children:e("No result found")})})};var Z=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-fec118f3-0"})(["margin-top:","px;color:",";"],u.A.XS,function(e){return e.theme.themeColors.text.placeholder});let D=function(){var e=(0,a.$G)().t,t=(0,h.VC)().theme;return(0,o.jsxs)(C.Z,{icon:(0,o.jsx)(d.ZP,{icon:d.Ro.NO_ACCOUNT,size:d.sk.NO_ORDER}),children:[(0,o.jsxs)(L,{children:[(0,o.jsx)(N,{typography:s.wZ.TEXT_L_BOLD,children:e("Select a Copy Trade Account")}),(0,o.jsx)(p.ZP,{color:t.themeColors.text.placeholder,typography:s.wZ.TEXT_M_REGULAR,children:e("Select your Copy Trade Account and start copy trading.")})]}),(0,o.jsx)(l.ZP,{variant:l.eF.FILLED_THEMED,onClick:function(){(0,E.N)()},children:e("Select Account")})]})};var L=c.ZP.div.withConfig({componentId:"sc-72cc769c-0"})(["display:flex;flex-direction:column;gap:","px;margin-bottom:","px;text-align:center;"],u.A.XXS,u.A.M),N=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-72cc769c-1"})(["margin-top:","px;color:",";"],u.A.XS,function(e){return e.theme.themeColors.text.default}),k=((r={}).NO_DATA_TO_DISPLAY="NO_DATA_TO_DISPLAY",r.OPEN_POSITION="OPEN_POSITION",r.OPEN_POSITION_DEALER="OPEN_POSITION_DEALER",r.PENDING_ORDER="PENDING_ORDER",r.ORDER_HISTORY="ORDER_HISTORY",r.ORDERS_AND_DEALS="ORDERS_AND_DEALS",r.NO_SEARCH_RESULT="NO_SEARCH_RESULT",r.NO_SEACRH_HISTORY="NO_SEACRH_HISTORY",r.
1NO_POSITIONS="NO_POSITIONS",r.NO_FAVOURITES="NO_FAVOURITES",r.NO_NOTIFICATIONS="NO_NOTIFICATIONS",r.NO_SIGNALS="NO_SIGNALS",r.NO_RESULT_FOUND="NO_RESULT_FOUND",r.NO_COPY_TRADE_FOUND="NO_COPY_TRADE_FOUND",r.NOT_TRADABLE="NOT_TRADABLE",r.LOCKED_SIGNAL="LOCKED_SIGNAL",r.LOCKED_STRATEGY="LOCKED_STRATEGY",r.MARKETS="MARKETS",r.DEFAULT="DEFAULT",r.NO_COPIED_STRATEGIES="NO_COPIED_STRATEGIES",r.NO_COPIER_ACCOUNT="NO_COPIER_ACCOUNT",r.NO_COPY_TRADE_MISSED_TRADES="NO_COPY_TRADE_MISSED_TRADES",r.NO_SELECTED_CURRENT_ACCOUNT="NO_SELECTED_CURRENT_ACCOUNT",r),M=function(){var e=(0,h.VC)().theme,t=(0,h.MD)();return(0,o.jsx)(d.ZP,{color:t,backgroundColor:e.themeColors.primary,icon:d.Ro.LOCK,size:d.sk.XL,variant:d.St.ROUND})};let G=function(e){var t=e.onClick,n=(0,a.$G)().t;return(0,o.jsxs)(m,{icon:(0,o.jsx)(M,{}),disablePadding:!0,children:[(0,o.jsx)(U,{typography:s.wZ.TEXT_M_REGULAR,children:n("Curious about additional signals?")}),(0,o.jsx)(X,{variant:l.eF.OUTLINED_THEMED,onClick:t,children:n("Express Interest")})]})};var U=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-5ff79a48-0"})(["margin-top:","px;color:",";text-align:center;"],u.A.XS,function(e){return e.theme.themeColors.text.default}),X=(0,c.ZP)(l.ZP).withConfig({componentId:"sc-5ff79a48-1"})(["margin-top:","px;width:100%;"],u.A.REGULAR);let F=function(e){var t=e.label,n=(0,a.$G)().t;return(0,o.jsx)(C.Z,{children:(0,o.jsx)($,{typography:s.wZ.TEXT_M_REGULAR,children:t||n("There are no data.")})})};var $=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-fdeea85a-0"})(["margin-top:","px;color:",";"],u.A.XS,function(e){return e.theme.themeColors.text.placeholder}),H=n(27662),Y=n(93004);let B=function(){var e=(0,a.$G)().t;return(0,o.jsxs)(C.Z,{children:[(0,o.jsxs)(K,{children:[(0,o.jsx)(z,{typography:s.wZ.TEXT_L_BOLD,children:e("No copy trade data found")}),(0,o.jsx)(V,{typography:s.wZ.TEXT_M_REGULAR,children:e("Start copy trading and your data will show up here.")})]}),(0,o.jsx)(l.ZP,{variant:l.eF.FILLED_THEMED,onClick:function(){Y.B.onStrategySectionSelected({section:H.Q$.ALL})},children:e("Start copy trading now")})]})};var K=c.ZP.div.withConfig({componentId:"sc-39bed595-0"})(["display:flex;flex-direction:column;gap:","px;margin-bottom:","px;text-align:center;"],u.A.XXS,u.A.M),z=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-39bed595-1"})(["margin-top:","px;color:",";"],u.A.XS,function(e){return e.theme.themeColors.text.default}),V=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-39bed595-2"})(["color:",";"],function(e){return e.theme.themeColors.text.placeholder}),W=n(21180);let q=function(){var e=(0,a.$G)().t;return(0,o.jsxs)(C.Z,{icon:(0,o.jsx)(d.ZP,{icon:d.Ro.NO_ACCOUNT_2,size:d.sk.NO_ORDER}),children:[(0,o.jsxs)(Q,{children:[(0,o.jsx)(J,{typography:s.wZ.TEXT_L_BOLD,children:e("Set Up Copy Trading")}),(0,o.jsx)(ee,{typography:s.wZ.TEXT_M_REGULAR,children:e("Connect your Pelican account to start copying strategies.")})]}),(0,o.jsx)(l.ZP,{variant:l.eF.FILLED_THEMED,onClick:function(){(0,W.D)()},children:e("Link Account")})]})};var Q=c.ZP.div.withConfig({componentId:"sc-2d6b2953-0"})(["display:flex;flex-direction:column;gap:","px;margin-bottom:","px;text-align:center;"],u.A.XXS,u.A.M),J=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-2d6b2953-1"})(["margin-top:","px;color:",";"],u.A.XS,function(e){return e.theme.themeColors.text.default}),ee=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-2d6b2953-2"})(["color:",";"],function(e){return e.theme.themeColors.text.placeholder}),et=n(91714);let en=function(){var e=(0,a.$G)().t,t=(0,h.VC)().theme;return(0,o.jsxs)(C.Z,{children:[(0,o.jsx)(er,{typography:s.wZ.TEXT_M_REGULAR,children:e("You haven’t favorited any symbol yet.")}),(0,o.jsx)(p.ZP,{color:t.themeColors.text.placeholder,typography:s.wZ.TEXT_M_REGULAR,children:e("Add symbols to your favorites for quick access.")})]})};var er=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-da13285b-0"})(["margin-top:","px;color:",";"],u.A.XS,function(e){return e.theme.themeColors.text.placeholder});let eo=function(){var e=(0,a.$G)().t;return(0,o.jsx)(m,{children:(0,o.jsx)(ei,{typography:s.wZ.TEXT_M_REGULAR,children:e("No new notifications.")})})};var ei=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-6bc38c04-0"})(["color:",";text-align:center;margin-top:","px;"],function(e){return e.theme.themeColors.text.placeholder},u.A.REGULAR);let ec=function(){var e=(0,a.$G)().t;return(0,o.jsx)(C.Z,{children:(0,o.jsx)(ea,{typography:s.wZ.TEXT_M_REGULAR,children:e("No positions")})})};var ea=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-75a17daa-0"})(["margin-top:","px;color:",";"],u.A.XS,function(e){return e.theme.themeColors.text.placeholder});let el=function(){var e=(0,a.$G)().t;return(0,o.jsx)(m,{children:(0,o.jsx)(es,{typography:s.wZ.TEXT_M_REGULAR,children:e("No search history")})})};var es=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-9098b99b-0"})(["color:",";text-align:center;margin-top:","px;"],function(e){return e.theme.themeColors.text.placeholder},u.A.REGULAR);let eu=function(){var e=(0,a.$G)().t;return(0,o.jsx)(m,{children:(0,o.jsx)(ed,{typography:s.wZ.TEXT_M_REGULAR,children:e("No search result")})})};var ed=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-5575b2a3-0"})(["color:",";text-align:center;margin-top:","px;"],function(e){return e.theme.themeColors.text.placeholder},u.A.REGULAR);let ep=function(){var e=(0,a.$G)().t;return(0,o.jsx)(m,{children:(0,o.jsx)(ef,{typography:s.wZ.TEXT_M_REGULAR,children:e("There are no signals.")})})};var ef=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-c027a1e4-0"})(["color:",";text-align:center;margin-top:","px;"],function(e){return e.theme.themeColors.text.placeholder},u.A.REGULAR),eh=function(){var e=(0,h.VC)().theme,t=(0,h.MD)();return(0,o.jsx)(d.ZP,{color:t,backgroundColor:e.themeColors.icon.disabled,icon:d.Ro.LOCK,size:d.sk.XL,variant:d.St.ROUND})};let em=function(){var e=(0,a.$G)().t;return(0,o.jsx)(C.Z,{icon:(0,o.jsx)(eh,{}),children:(0,o.jsx)(eO,{typography:s.wZ.TEXT_M_REGULAR,children:e("This symbol is currently restricted for trading.")})})};var eO=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-e7a757d9-0"})(["margin-top:","px;color:",";text-align:center;"],u.A.XS,function(e){return e.theme.themeColors.text.default});let ey=function(e){var t=e.forDealer,n=(0,a.$G)().t,r=(0,i.useMemo)(function(){return t?n("There are no open positions."):n("You have no open positions.")},[t,n]);return(0,o.jsx)(C.Z,{children:(0,o.jsx)(ex,{typography:s.wZ.TEXT_M_REGULAR,children:r})})};var ex=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-e2284162-0"})(["margin-top:","px;color:",";"],u.A.XS,function(e){return e.theme.themeColors.text.placeholder});let eg=function(){var e=(0,a.$G)().t;return(0,o.jsx)(C.Z,{children:(0,o.jsx)(eb,{typography:s.wZ.TEXT_M_REGULAR,children:e("You have no order histories.")})})};var eb=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-ea2afe81-0"})(["margin-top:","px;color:",";"],u.A.XS,function(e){return e.theme.themeColors.text.placeholder});let ev=function(){var e=(0,a.$G)().t;
1return(0,o.jsx)(C.Z,{children:(0,o.jsx)(eC,{typography:s.wZ.TEXT_M_REGULAR,children:e("You have no orders & deals history.")})})};var eC=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-67a6dcd5-0"})(["margin-top:","px;color:",";"],u.A.XS,function(e){return e.theme.themeColors.text.placeholder});let ej=function(){var e=(0,a.$G)().t;return(0,o.jsx)(C.Z,{children:(0,o.jsx)(eP,{typography:s.wZ.TEXT_M_REGULAR,children:e("You have no pending orders.")})})};var eP=(0,c.ZP)(p.ZP).withConfig({componentId:"sc-69b92cbd-0"})(["margin-top:","px;color:",";"],u.A.XS,function(e){return e.theme.themeColors.text.placeholder});let eE=function(e){switch(e.variant){case k.NO_DATA_TO_DISPLAY:return(0,o.jsx)(et.Z,{label:e.label});case k.OPEN_POSITION:return(0,o.jsx)(ey,{});case k.OPEN_POSITION_DEALER:return(0,o.jsx)(ey,{forDealer:!0});case k.PENDING_ORDER:return(0,o.jsx)(ej,{});case k.ORDER_HISTORY:return(0,o.jsx)(eg,{});case k.ORDERS_AND_DEALS:return(0,o.jsx)(ev,{});case k.NO_SEARCH_RESULT:return(0,o.jsx)(eu,{});case k.NO_SEACRH_HISTORY:return(0,o.jsx)(el,{});case k.NO_POSITIONS:return(0,o.jsx)(ec,{});case k.NO_FAVOURITES:return(0,o.jsx)(en,{});case k.NO_NOTIFICATIONS:return(0,o.jsx)(eo,{});case k.NO_SIGNALS:return(0,o.jsx)(ep,{});case k.NO_RESULT_FOUND:return(0,o.jsx)(R,{});case k.NO_COPY_TRADE_FOUND:return(0,o.jsx)(T,{});case k.NOT_TRADABLE:return(0,o.jsx)(em,{});case k.LOCKED_SIGNAL:return(0,o.jsx)(G,{onClick:e.onClick});case k.LOCKED_STRATEGY:return(0,o.jsx)(x,{onClick:e.onClick});case k.MARKETS:return(0,o.jsx)(F,{label:e.label});case k.NO_COPIED_STRATEGIES:return(0,o.jsx)(B,{});case k.NO_COPIER_ACCOUNT:return(0,o.jsx)(q,{});case k.NO_COPY_TRADE_MISSED_TRADES:return(0,o.jsx)(A,{});case k.NO_SELECTED_CURRENT_ACCOUNT:return(0,o.jsx)(D,{});default:return(0,o.jsx)(m,{})}}},91714:function(e,t,n){n.d(t,{Z:()=>u});var r=n(74512);n(32735);var o=n(10281),i=n(81182),c=n(25220),a=n(62715),l=n(71225),s=n(38074);let u=function(e){var t=e.label,n=(0,i.$G)().t;return(0,r.jsx)(c.Z,{children:(0,r.jsx)(d,{typography:a.wZ.TEXT_M_REGULAR,children:t||n("No data to display.")})})};var d=(0,o.ZP)(s.ZP).withConfig({componentId:"sc-5172828e-0"})(["margin-top:","px;color:",";"],l.A.XS,function(e){return e.theme.themeColors.text.placeholder})},21180:function(e,t,n){n.d(t,{D:()=>k}),n(92222);var r=n(74512),o=n(32735),i=n(78459),c=n(81182),a=n(97186),l=n(88651),s=n(99773),u=n(84823),d=n(36333),p=n(93004);function f(e,t,n,r,o,i,c){try{var a=e[i](c),l=a.value}catch(e){n(e);return}a.done?t(l):Promise.resolve(l).then(r,o)}var h=function(e){var t=e.onSuccess,n=e.onError,r=(0,c.$G)().t,i=(0,o.useMemo)(function(){return u.Ry().shape({serverCode:u.Z_().required(r("Please select a server.")),username:u.Z_().required(r("Please enter a valid account ID.")),password:u.Z_().required(r("Please enter a valid password.")).min(6,r("Password must be at least 6 characters long.")),isAcceptedDataSharing:u.O7().required(r("Please accept to continue with linking your account.")).oneOf([!0],r("Please accept to continue with linking your account."))})},[r]),a=(0,o.useMemo)(function(){return(0,s.X)(i)},[i]),l=(0,d.w)({resolver:a,mode:"all",reValidateMode:"onChange"}),h=l.handleSubmit,m=(0,o.useCallback)(function(e){return function(r){var o;return(o=function(){return function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},c=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return c.next=a(0),c.throw=a(1),c.return=a(2),"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function a(a){return function(l){var s=[a,l];if(n)throw TypeError("Generator is already executing.");for(;c&&(c=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(o){return p.B.linkAccountToPelicanCopyTrade({values:r,onSuccess:function(n){null==e||e(n),null==t||t(n)},onError:function(e){null==n||n(e)}}),[2]})},function(){var e=this,t=arguments;return new Promise(function(n,r){var i=o.apply(e,t);function c(e){f(i,n,r,c,a,"next",e)}function a(e){f(i,n,r,c,a,"throw",e)}c(void 0)})})()}},[t,n]);return{formMethods:l,submit:(0,o.useCallback)(function(e){return function(t){return h(m(e))(t)}},[h,m]),handleSubmit:h}},m=n(73407),O=n(81613),y=n(38416),x=n(56740),g=n(76898);n(21249),n(68309),n(41539),n(39714);var b=n(10281),v=n(74307),C=n(18354),j=n(71225),P=n(18909),E=n(67492),T=n(38074),w=n(2871);function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function A(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}
1)(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}let I=function(){var e,t,n,a,l,s,u,d=(0,c.$G)().t,f=(0,w.x$)();(0,o.useEffect)(function(){p.B.getServers()},[]);var h=null!=(u=(0,o.useMemo)(function(){return null==f?void 0:f.map(function(e){return{label:e.name,value:e.code}})},[f]))?u:[],m=(0,i.Gc)(),O=m.watch,y=m.register,x=m.formState,g=m.setValue,b=(e=O(["serverCode","username","password","isAcceptedDataSharing"]),function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],c=!0,a=!1;try{for(o=o.call(e);!(c=(n=o.next()).done)&&(i.push(n.value),i.length!==t);c=!0);}catch(e){a=!0,r=e}finally{try{c||null==o.return||o.return()}finally{if(a)throw r}}return i}}(e,4)||function(e,t){if(e){if("string"==typeof e)return _(e,4);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}}(e,4)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),j=b[0],I=b[1],D=b[2],L=b[3],N=x.errors,k=N.serverCode,M=N.username,G=N.password,U=N.isAcceptedDataSharing;return(0,r.jsx)(R,{children:(0,r.jsxs)(Z,{children:[(0,r.jsx)(C.ZP,{variant:C.vI.ITEM_WITH_FIELD_LABEL,label:d("Selected Server"),children:(0,r.jsx)(E.Z,A(S({},y("serverCode")),{options:h,placeholder:d("Select a server"),selectedValue:j,onSelect:function(e){g("serverCode",e,{shouldValidate:!0})},error:null==k||null==(t=k.message)?void 0:t.toString(),dropDownMaxHeight:200}))}),(0,r.jsx)(C.ZP,{variant:C.vI.ITEM_WITH_FIELD_LABEL,label:d("Account ID"),children:(0,r.jsx)(P.ZP,A(S({},y("username")),{placeholder:d("Enter your account ID"),error:null==M||null==(n=M.message)?void 0:n.toString(),value:I,variant:P.Bv.BORDERED_TEXT}))}),(0,r.jsx)(C.ZP,{variant:C.vI.ITEM_WITH_FIELD_LABEL,label:d("Password"),children:(0,r.jsx)(P.ZP,A(S({},y("password")),{placeholder:d("Min 6 characters"),error:null==G||null==(a=G.message)?void 0:a.toString(),value:D,variant:P.Bv.BORDERED_PASSWORD,autoComplete:"current-password"}))}),(0,r.jsxs)(C.ZP,{variant:C.vI.ITEM_WITH_FIELD_LABEL,children:[(0,r.jsx)(v.Z,{variant:v.Q.WITH_LABEL_DESCRIPTION,label:d("I accept that my broker 
1can share my KYC data with Pelican in accordance to regulatory obligations."),checked:L,onClick:function(){g("isAcceptedDataSharing",!L,{shouldValidate:!0})},error:!!(null==U||null==(l=U.message)?void 0:l.toString())}),(0,r.jsx)(T.ZP,{variant:T.fD.ERROR,error:null==U||null==(s=U.message)?void 0:s.toString()})]})]})})};var R=b.ZP.div.withConfig({componentId:"sc-13a4f210-0"})(["width:100%;"]),Z=b.ZP.div.withConfig({componentId:"sc-13a4f210-1"})(["display:flex;flex-direction:column;gap:","px;padding:","px ","px;padding-bottom:","px;box-sizing:border-box;width:488px;"],j.A.M,j.A.XL,j.A.L,j.A.XXS);function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function L(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var N=function(e){var t=e.onCancel,n=(0,c.$G)().t,o=(0,O.dN)(),l=h({onSuccess:function(e){null==t||t();var r=null==e?void 0:e.id;g.Z.setItem(g.V.COPY_TRADE_SELECTED_COPIER_ID_KEY,null!=r?r:""),r&&(y.bD.getCopyTradeProfile({copierId:r}),y.bD.getCopyTradeProfileImage(r)),x.Yu.showAlert({message:n("Account Linked Successfully."),description:"".concat(n("Copier ID"),": ").concat(null==e?void 0:e.id),messageType:x.KK.SUCCESS})},onError:function(e){null==t||t(),x.Yu.showAlert({message:n("Failed to Link Account."),description:(0,m.yi)(e,n("Something went wrong. Please contact customer support.")),messageType:x.KK.ERROR})}}),s=l.submit,u=l.formMethods;return(0,r.jsx)(i.RV,L(D({},u),{children:(0,r.jsx)("form",{onSubmit:s(t),children:(0,r.jsx)(a.ZP,{variant:a.KH.CONFIRMATION,modalTitle:n("Link Account to Pelican Copy Trade"),onCancel:t,cancelText:n("Cancel"),okText:n("Confirm"),okButtonProps:{htmlType:"submit",disabled:!u.formState.isValid},loading:o,children:(0,r.jsx)(I,{})})})}))},k=function(e){var t=function(t){var n;null==e||null==(n=e.onCancel)||n.call(e),t()};(0,l.ZP)(function(n){return(0,r.jsx)(o.Suspense,{children:(0,r.jsx)(N,L(D({},e),{onCancel:function(){return t(n)}}))})})}},83837:function(e,t,n){n.d(t,{N:()=>L}),n(21249),n(92222),n(26699),n(32023);var r=n(74512),o=n(32735),i=n(81182),c=n(97186),a=n(88651),l=n(907),s=n(73407),u=n(38416),d=n(93004),p=n(2871),f=n(56740),h=n(76898),m=n(10281),O=n(96838),y=n(62715),x=n(71225),g=n(80199),b=n(38074),v=n(33007),C=n(21180);n(68309);var j=n(33202);let P=function(e){var t=e.data,n=e.isSelected,o=e.onClick,c=(0,v.VC)().theme,a=(0,i.$G)().t;return(0,r.jsxs)(E,{$isSelected:n,onClick:function(){return null==o?void 0:o(t)},children:[(0,r.jsx)(j.ZP,{size:j.Dv.L,img:t.avatar}),(0,r.jsxs)(T,{children:[(0,r.jsx)(b.ZP,{typography:y.wZ.TEXT_L_MEDIUM,children:t.name}),(0,r.jsxs)(b.ZP,{typography:y.wZ.TEXT_M_REGULAR,color:c.themeColors.text.subtle,children:[a("Copier ID"),": ",t.id]})]}),n?(0,r.jsx)(g.ZP,{icon:g.Ro.CHECK,color:c.themeColors.primary,size:g.sk.M}):null]})};var E=m.ZP.div.withConfig({componentId:"sc-caf11ac7-0"})(["display:flex;flex-direction:row;align-items:center;padding:","px ","px;border:1px solid ",";border-radius:4px;cursor:pointer;&:hover{background-color:",";}"],x.A.REGULAR,x.A.L,function(e){var t=e.theme;return e.$isSelected?t.themeColors.primary:t.themeColors.border.subtle},function(e){return e.theme.themeColors.background.subtle}),T=m.ZP.div.withConfig({componentId:"sc-caf11ac7-1"})(["display:flex;flex-direction:column;justify-content:center;flex:1 1 0;min-width:0;margin-left:","px;"],x.A.REGULAR);let w=function(e){var t=e.data,n=e.selectedAccount,o=e.onSelectedAccountChange,c=e.onCancel,a=(0,i.$G)().t,l=(0,v.VC)().theme;return(0,r.jsxs)(_,{children:[(0,r.jsxs)(S,{children:[(0,r.jsx)(b.ZP,{typography:y.wZ.TEXT_M_REGULAR,children:a("No Copy Trade account selected. To start copy trading, please select a Copy Trade Account.")}),t.map(function(e){return(0,r.jsx)(P,{data:e,isSelected:(null==n?void 0:n.id)===e.id,onClick:o},e.id)})]}),(0,r.jsx)(A,{children:(0,r.jsxs)(O.ZP,{variant:O.eF.TEXT_ONLY_THEMED,onClick:function(){(0,C.D)(),null==c||c()},children:[(0,r.jsx)(g.ZP,{icon:g.Ro.PLUS,color:l.themeColors.primary,size:g.sk.M}),a("Link Copy Trade Account")]})})]})};var _=m.ZP.div.withConfig({componentId:"sc-14321a2c-0"})(["display:flex;flex-direction:column;gap:","px;padding:","px;padding-bottom:0px;width:488px;"],x.A.M,x.A.L),S=m.ZP.div.withConfig({componentId:"sc-14321a2c-1"})(["display:flex;flex-direction:column;gap:","px;max-height:520px;overflow-y:auto;"],x.A.REGULAR),A=m.ZP.div.withConfig({componentId:"sc-14321a2c-2"})(["display:flex;"]);function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function Z(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}
1)(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var D=function(e){var t,n=e.onCancel,a=(0,i.$G)().t,m=(0,p.n6)(),O=(t=(0,o.useState)(null),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],c=!0,a=!1;try{for(o=o.call(e);!(c=(n=o.next()).done)&&(i.push(n.value),i.length!==t);c=!0);}catch(e){a=!0,r=e}finally{try{c||null==o.return||o.return()}finally{if(a)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return I(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return I(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),y=O[0],x=O[1],g=(0,p.yq)(),b=(0,p.iA)(),v=(0,o.useMemo)(function(){var e;return(null!=(e=null==m?void 0:m.linkedCopiers)?e:[]).map(function(e){return Z(R({},e),{avatar:void 0})})},[null==m?void 0:m.linkedCopiers]);return(0,r.jsx)(c.ZP,{variant:c.KH.CONFIRMATION,modalTitle:a("Select Copy Trade Account"),okText:a("Confirm"),onOk:function(){y&&d.B.switchCopier({copierId:y.id,onSuccess:function(){f.Yu.showAlert({message:a("Copy Trade Account Selected."),description:"".concat(a("Copier ID"),": ").concat(y.id),messageType:f.KK.SUCCESS}),h.Z.setItem(h.V.COPY_TRADE_SELECTED_COPIER_ID_KEY,y.id),null==n||n(),window.location.pathname.includes(l.oI.COPY_TRADE)?d.B.onStrategySectionSelected({section:g}):(u.bD.getCopyTradeProfile({copierId:y.id}),u.bD.getCopyTradeProfileImage(y.id))},onError:function(e){var t;f.Yu.showAlert({message:null!=(t=(0,s.yi)(e))?t:a("Failed to Select Account."),description:a("Something went wrong. Please contact customer support."),messageType:f.KK.ERROR}),null==n||n()}})},onCancel:n,okButtonProps:{disabled:!y},loading:b,children:(0,r.jsx)(w,{data:v,selectedAccount:y,onSelectedAccountChange:x,onCancel:n})})},L=function(e){var t=function(t){var n;null==e||null==(n=e.onCancel)||n.call(e),t()};(0,a.ZP)(function(n){return(0,r.jsx)(o.Suspense,{children:(0,r.jsx)(D,Z(R({},e),{onCancel:function(){return t(n)}}))})})}},33202:function(e,t,n){n.d(t,{Zh:()=>h,Dv:()=>m,ZP:()=>g}),n(75093),n(13616),n(86305),n(42295),n(36809),n(80153),n(803),n(79150);var r,o,i=n(74512),c=n(32735),a=n(10281),l=n(31378),s=n(62715),u=n(86544),d=n(84511),p=n(80199),f=n(38074),h=((r={})[r.LIGHT=.16]="LIGHT",r[r.DEFAULT=1]="DEFAULT",r),m=((o={})[o.L=40]="L",o[o.M=32]="M",o[o.S=28]="S",o),O=(0,u.Y)(function(e){var t=e.img,n=e.text,r=e.backgroundColor,o=e.textColor,a=e.className,u=e.style,d=e.size,f=void 0===d?m.L:d,h=e.dataTestId,O=(0,l.eP)().theme,g=(0,c.useMemo)(function(){return n?n.includes(" ")?n.split(" ").slice(0,2).map(function(e){return(e[0]||"").toUpperCase()}).join(""):n[0].toUpperCase():""},[n]);return(0,i.jsx)(y,{className:a,style:u,backgroundColor:r,size:f,"data-testid":h,children:t?(0,i.jsx)("img",{src:t,alt:"avatar"}):(null==g?void 0:g.trim())?(0,i.jsx)(x,{typography:f===m.L?s.wZ.TEXT_L_BOLD:s.wZ.TEXT_M_BOLD,textColor:o,children:g}):(0,i.jsx)(p.ZP,{icon:p.Ro.PROFILE,size:p.sk.L,color:null!=o?o:O.themeColors.primary})})}),y=a.ZP.div.withConfig({componentId:"sc-b3eb9751-0"})(["width:","px;height:","px;border-radius:50%;display:flex;align-items:center;justify-content:center;background-color:",";font-size:12px;img{object-fit:cover;}"],function(e){return e.size},function(e){return e.size},function(e){var t=e.backgroundColor,n=e.theme;return null!=t?t:(0,d.m)(n.themeColors.primary,h.LIGHT)}),x=(0,a.ZP)(f.ZP).withConfig({componentId:"sc-b3eb9751-1"})(["color:",";"],function(e){var t=e.textColor,n=e.theme;return null!=t?t:n.themeColors.primary});let g=O},25220:function(e,t,n){n.d(t,{Z:()=>u});var r=n(74512);n(32735);var o=n(10281),i=n(71225),c=n(86544),a=n(80199),l=(0,c.Y)(function(e){var t=e.children,n=e.dataTestId,o=e.icon;return(0,r.jsxs)(s,{"data-testid":n,children:[null!=o?o:(0,r.jsx)(a.ZP,{icon:a.Ro.NO_ORDER,size:a.sk.NO_ORDER}),t]})}),s=o.ZP.div.withConfig({componentId:"sc-97ac7091-0"})(["display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:52px ","px;"],i.A.XL);let u=l},97186:function(e,t,n){n.d(t,{OQ:()=>Y,ZP:()=>B,KH:()=>l});var r,o,i=n(74512),c=n(32735),a=n(86544),l=((r={}).BASIC="BASIC",r.CONFIRMATION="CONFIRMATION",r.SCROLLABLE_CONTENT="SCROLLABLE_CONTENT",r),s=((o={})[o.ACTIVE=.48]="ACTIVE",o);n(68233);var u=n(10281),d=n(31378),p=n(84511),f=u.ZP.div.withConfig({componentId:"sc-15fc2f41-0"})(["position:fixed;top:0;left:0;right:0;bottom:0;z-index:",";display:flex;align-items:center;justify-content:center;background-color:",";"],function(e){return e.zIndex||"1001"},function(e){var t=e.theme;return t.themeMode===d.bS.DARK?(0,p.m)(t.themeColors.background.default,.75):(0,p.m)(t.themeColors.background.contrast,
1s.ACTIVE)}),h=u.ZP.div.withConfig({componentId:"sc-15fc2f41-1"})(["display:flex;min-width:250px;flex-direction:column;align-items:flex-start;border-radius:10px;border:1px solid ",";background:",";box-shadow:0px 12px 40px 0px rgba(23,39,51,0.16),0px 0px 32px 0px rgba(23,39,51,0.12);",""],function(e){return e.theme.themeColors.border.default},function(e){return e.theme.themeColors.background.default},function(e){var t=e.$maxWidth;return t&&"max-width: ".concat(t,";")});let m=function(e){var t=e.children,n=e.zIndex,r=e.dataTestId,o=e.className,c=e.maxWidth;return(0,i.jsx)(f,{id:"overlay-aqx-trader",children:(0,i.jsx)(h,{zIndex:n,"data-testid":r,className:o,$maxWidth:c,children:t})})};var O=n(62715),y=n(71225),x=n(38074),g=n(96838);function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function C(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}let j=function(e){var t,n,r=e.children,o=e.footer,a=e.scrollableContent,l=e.showFooterDivider,s=e.onCancel,u=e.cancelText,d=e.onOk,p=e.okButtonProps,f=e.cancelButtonProps,h=e.okText,y=e.modalTitle,j=e.cancelButtonDataTestId,I=e.okButtonDataTestId,R=e.modalTitleNode,Z=e.loading,D=e.ref,L=(t=(0,c.useState)(!1),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],c=!0,a=!1;try{for(o=o.call(e);!(c=(n=o.next()).done)&&(i.push(n.value),i.length!==t);c=!0);}catch(e){a=!0,r=e}finally{try{c||null==o.return||o.return()}finally{if(a)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return b(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),N=L[0],k=L[1],M=(0,c.useCallback)(function(){k(!0)},[]),G=(0,c.useCallback)(function(){k(!1)},[]);(0,c.useImperativeHandle)(D,function(){return{openLoading:M,closeLoading:G}},[M,G]);var U="function"==typeof(n=void 0===o?null:o)?n(s):n;return(0,i.jsxs)(m,C(v({},e),{children:[(y||R)&&(0,i.jsx)(_,{children:(0,i.jsx)(S,{children:R||(0,i.jsx)(x.ZP,{typography:O.wZ.TEXT_L_SEMIBOLD,children:y})})}),a?(0,i.jsx)(A,{children:r}):r,l&&(0,i.jsx)(P,{}),(0,i.jsx)(E,{children:null!=U?U:(0,i.jsx)(w,{children:(0,i.jsxs)(T,{children:[(s||f)&&(0,i.jsx)(g.ZP,C(v({dataTestId:j,variant:g.eF.OUTLINED_THEMED,onClick:s},f),{children:void 0===u?"Cancel":u})),(d||p)&&(0,i.jsx)(g.ZP,C(v({dataTestId:I,variant:g.eF.FILLED_THEMED,onClick:function(){d&&d({onCancel:s})},loading:Z||N},p),{children:void 0===h?"Confirm":h}))]})})})]}))};var P=u.ZP.div.withConfig({componentId:"sc-42204602-0"})(["width:100%;border-top:1px solid ",";"],function(e){return e.theme.themeColors.border.subtle}),E=u.ZP.div.withConfig({componentId:"sc-42204602-1"})(["width:100%;"]),T=u.ZP.div.withConfig({componentId:"sc-42204602-2"})(["display:flex;flex-direction:row;justify-content:flex-end;gap:","px;"],y.A.XS),w=u.ZP.div.withConfig({componentId:"sc-42204602-3"})(["padding:20px;"]),_=u.ZP.div.withConfig({componentId:"sc-42204602-4"})(["width:100%;text-align:center;border-radius:10px 10px 0px 0px;background:",";border-bottom:1px solid ",";"],function(e){return e.theme.themeColors.background.subtle},function(e){return e.theme.themeColors.border.subtle}),S=u.ZP.div.withConfig({componentId:"sc-42204602-5"})(["padding:","px;"],y.A.M),A=u.ZP.div.withConfig({componentId:"sc-42204602-6"}
1)(["height:300px;overflow-y:auto;width:100%;"]);let I=function(e){var t,n,r=e.title,o=e.titlePrefix,c=e.content,a=e.titleNote,l=e.children,s=e.maxWidth,u=void 0===s?"376px":s,d=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["title","titlePrefix","content","titleNote","children","maxWidth"]);return(0,i.jsx)(j,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},d),n=n={maxWidth:u,children:(0,i.jsxs)(R,{$maxWidth:u,children:[(0,i.jsxs)(Z,{children:[(0,i.jsxs)(D,{children:[o&&(0,i.jsx)(L,{children:o}),(0,i.jsx)(x.ZP,{typography:O.wZ.TEXT_L_MEDIUM,children:r})]}),a&&(0,i.jsx)(N,{children:(0,i.jsx)(k,{typography:O.wZ.TEXT_S_REGULAR,children:a})})]}),(0,i.jsx)(M,{children:(0,i.jsx)(G,{typography:O.wZ.TEXT_M_REGULAR,children:c})}),l]})},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))};var R=u.ZP.div.withConfig({componentId:"sc-4c18a686-0"})(["padding:","px;padding-bottom:0;max-width:",";box-sizing:border-box;"],y.A.L,function(e){var t=e.$maxWidth;return"".concat(t)}),Z=u.ZP.div.withConfig({componentId:"sc-4c18a686-1"})([""]),D=u.ZP.div.withConfig({componentId:"sc-4c18a686-2"})(["display:flex;"]),L=u.ZP.div.withConfig({componentId:"sc-4c18a686-3"})(["margin-inline-end:","px;"],y.A.XS),N=u.ZP.div.withConfig({componentId:"sc-4c18a686-4"})(["margin-top:","px;display:flex;"],y.A.XXS),k=(0,u.ZP)(x.ZP).withConfig({componentId:"sc-4c18a686-5"})(["color:",";"],function(e){return e.theme.themeColors.text.subtle}),M=u.ZP.div.withConfig({componentId:"sc-4c18a686-6"})(["display:flex;flex-direction:column;margin-top:","px;"],y.A.REGULAR),G=(0,u.ZP)(x.ZP).withConfig({componentId:"sc-4c18a686-7"})(["color:",";"],function(e){return e.theme.themeColors.text.default});let U=function(e){var t,n,r=e.children,o=e.contentHeight,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","contentHeight"]);return(0,i.jsx)(j,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},c),n=n={variant:l.CONFIRMATION,children:(0,i.jsx)(X,{$contentHeight:o,children:r})},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))};var X=u.ZP.div.withConfig({componentId:"sc-1f190f9b-0"})(["max-height:",";overflow-y:auto;width:100%;"],function(e){var t=e.$contentHeight;return null!=t?t:"300px"});function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}var $=(0,a.Y)(function(e){switch(e.variant){case l.BASIC:return(0,i.jsx)(I,F({},e));case l.CONFIRMATION:return(0,i.jsx)(j,F({},e));case l.SCROLLABLE_CONTENT:return(0,i.jsx)(U,F({},e));default:return(0,i.jsx)(m,F({},e))}});y.A.REGULAR,y.A.XS;var H=n(88651),Y=function(e){(0,H.ZP)(function(t){var n,r;return(0,i.jsx)(B,(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({variant:l.BASIC},e),r=r={onCancel:t},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}
1)(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n))})};let B=$}}]);

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.