PageSourceSearch

https://coinstash.com.au/_next/static/chunks/38206-c9867cb71d1d1bde.js

js coinstash.com.au collected 2026-10-02 15:01:20 UTC 44,732 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="dee9b082-1783-459a-b084-fdcd12fe2ec9",e._sentryDebugIdIdentifier="sentry-dbid-dee9b082-1783-459a-b084-fdcd12fe2ec9")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[11019,38206,50167,51288,57835,74375,78403,89461,91971],{55003:(e,a,t)=>{"use strict";t.d(a,{$:()=>m,y:()=>h});var n=t(74848),i=t(91106),l=t.n(i),r=t(64400),s=t(60134),o=t(88718),d=t(42258),u=t(2141),c=t.n(u);let m=e=>{let{children:a,colour:t="blue",size:i="large",height:r="medium",mode:s="primary",onDisabledClick:d=null,linkPath:u,text:m,builderState:h,className:v="",disabled:x=!1,useNextLink:f=!0,target:p="_self",loading:g=!1,onClick:b=null,tooltip:w,animated:N=!1,...y}=e,j=(e,a)=>{switch(a){case"secondary":switch(e){case"pink":return"text-pink border border-pink disabled:text-pink-disabled hover:text-pink";case"white":return"text-text-inverted border border-white disabled:text-text-inverted-disabled hover:text-text-inverted";case"black":return"text-text-title-primary border border-black disabled:text-text-title-accent hover:text-text-title-primary";case"blue-opaque":return"text-blue-opaque border border-blue-opaque disabled:text-blue-disabled hover:text-blue-opaqueHover";case"earn-orange":return"text-text-inverted md:text-text-title-primary border border-earn-orange md:border-black disabled:text-text-inverted-blue-disabled hover:text-earn-orangeHover md:hover:text-text-title-primary";default:return"text-blue border border-blue disabled:text-blue-disabled hover:text-blue-hover font-semibold"}case"tertiary":switch(e){case"pink":return"text-pink hover:text-pink-hover";case"white":return"text-text-inverted hover:text-text-inverted-hover";case"black":return"text-text-title-primary hover:text-text-title-primary";case"orange":return"text-earn-black-off hover:text-earn-black";case"blue-opaque":return"text-blue-opaque hover:text-blue-opaqueHover";case"earn-orange":return"text-text-inverted border border-earn-orange disabled:text-text-inverted-blue-disabled hover:text-earn-orangeHover";default:return"text-blue hover:text-blue-hover"}default:switch(e){case"pink":return"text-text-inverted bg-pink hover:bg-pink-hover";case"white":return"bg-bg-inverted hover:bg-bg-inverted-hover text-blue";case"black":return"text-text-inverted bg-black hover:bg-black-hover";case"orange":return"text-text-inverted ".concat(c().orangeGradient," bg-earn hover:bg-earn-hover");case"blue-opaque":return"text-text-inverted bg-blue-opaque hover:bg-blue-opaqueHover";case"earn-orange":return"text-text-inverted ".concat(c().orangeGradient," hover:bg-earn-orangeHover");case"earn-white":return"bg-bg-inverted hover:bg-bg-inverted-hover text-text-title-primary text-bold";default:return"text-text-inverted bg-blue hover:bg-blue-hover"}}},S=(e=>"primary"===e?"".concat(j(t,e)," disabled:opacity-50 ").concat(x?"opacity-50":""):"secondary"===e?"".concat(j(t,e)," bg-transparent disabled:opacity-50 hover:opacity-70 ").concat(x?"opacity-50":""):"tertiary"===e?"".concat(j(t,e)," bg-transparent disabled:opacity-50 ").concat(x?"opacity-50":""):void 0)(s),C=(e=>{switch(e){case"auto":return"w-auto";case"large":return"w-60";case"medium":return"w-44";case"small":return"w-36";case"x-small":return"w-28";case"xx-small":return"w-18";case"full":return"w-full";default:return e}})(i),A=(e=>{switch(e){case"auto":return"h-auto";case"large":return"h-12";case"medium":return"h-9";case"small":return"h-7";case"xx-small":return"h-5";case"default":return"h-[44px]";default:return e}})(r),M="".concat(C," ").concat(A," leading-button ").concat(S," ").concat(v," rounded-md ");return(0,n.jsx)(n.Fragment,{children:u?f?(0,n.jsx)(l(),{href:u,legacyBehavior:!0,children:(0,n.jsx)("a",{onClick:x?d:g?null:b,className:"flex-shrink-0 ".concat(M," text-center flex items-center justify-around"),children:a||m})}):(0,n.jsx)("a",{href:u,target:p,onClick:x?d:g?null:b,className:"flex-shrink-0 ".concat(M," text-center flex items-center justify-around"),children:a||m}):(0,n.jsxs)("button",{...y,className:"flex-shrink-0 relative group overflow-hidden react-tooltip ".concat(M),disabled:x&&
1!d,onClick:x?d:g?null:b,"data-tooltip-content":w,children:[N&&(0,n.jsx)("span",{className:"absolute right-0 w-8 h-32 -mt-12 transition-all duration-1000 transform translate-x-12 bg-bg-inverted opacity-10 rotate-12 group-hover:-translate-x-40 ease"}),g?(0,n.jsx)(o.a,{colour:"primary"==s?"white":"blue",className:"h-4 w-4 -ml-1 mr-3"}):null,a]})})},h=e=>{let{socialNetwork:a,action:t="login",text:i=(0,d.t)("Sign in with"),className:l="",...r}=e;return(0,n.jsxs)("button",{className:"".concat(l," hover:opacity-70 text-text-inverted border border-white bg-blue-aqua flex flex-row rounded p-1 items-center justify-left"),onClick:e=>{e.preventDefault(),window.location.href="/api/auth/oauth?scheme=".concat(a,"&action=").concat(t)},...r,children:[(0,n.jsxs)("div",{className:"w-[40px] h-[40px] bg-bg-inverted flex justify-center items-center shrink-0",children:["Google"===a?(0,n.jsx)(s._,{alt:"Google",height:"30",width:"30",src:"auth-google.png"}):null,"Facebook"===a?(0,n.jsx)(s._,{alt:"Facebook",height:"30",width:"30",src:"auth-fb.png"}):null,"Apple"===a?(0,n.jsx)(s._,{alt:"Apple",height:"20",width:"20",src:"apple-black.svg"}):null]}),(0,n.jsx)("div",{className:"ml-3 mr-2",children:(0,n.jsx)("p",{className:"font-bold text-sm",children:"".concat(i," ").concat(a)})})]})};(0,r.N)(m,{name:"Button",inputs:[{name:"colour",type:"string",enum:["blue","pink","white","blue-opaque","black","orange","earn-orange","earn-white"],defaultValue:"blue",description:"Custom Button"},{name:"Size",type:"string",enum:["large","medium","small","x-small","auto","max","full"],defaultValue:"auto",description:"Width size that follows the tailwind width component"},{name:"mode",type:"string",enum:["primary","secondary","tertiary"],defaultValue:"primary",description:"Button types according to button importance"},{name:"text",type:"string",defaultValue:"Click here",description:"Button text"},{name:"linkPath",type:"string",defaultValue:"#",description:"Relative link"}]})},84112:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});var n=t(74848),i=t(96540);function l(e){let{children:a,...t}=e,[l,r]=(0,i.useState)(!1);return((0,i.useEffect)(()=>{r(!0)},[]),l)?(0,n.jsx)(i.Fragment,{...t,children:a}):null}},62810:(e,a,t)=>{"use strict";t.d(a,{g:()=>s});var n=t(74848);t(96540);var i=t(60134),l=t(48623),r=t(66113);let s=e=>{let{size:a,className:t="",dark:s=!1,prefetch:o,layout:d="intrinsic"}=e,{href:u="/"}=e,{height:c,width:m}=(e=>"medium"===e?(r.w4,{height:"24",width:"154"}):"large"===e?(r.w4,{height:"35",width:"224.58"}):void 0)(a);return(0,n.jsx)(l.N,{href:u,className:t,children:(0,n.jsx)(i._,{height:c,width:m,src:"".concat(s?"logo.svg":"logo-white.svg"),alt:"platform logo",priority:!0})})}},44201:(e,a,t)=>{"use strict";t.d(a,{z:()=>r});var n=t(74848),i=t(34164),l=t(96540);let r=e=>{let{progress:a,className:t="",bgClass:r="bg-bg-main-secondary",progressClass:s="bg-bg-main-primary"}=e,[o,d]=(0,l.useState)(0);return(0,l.useEffect)(()=>{d(a)},[a]),(0,n.jsx)("div",{className:(0,i.A)("w-full h-1 rounded-sm overflow-hidden",r,t),children:(0,n.jsx)("div",{style:{width:"".concat(o,"%")},className:(0,i.A)("transition-[width] duration-500 rounded-full  h-full",s)})})}},79142:(e,a,t)=>{"use strict";t.d(a,{D:()=>s});var n=t(74848);t(96540);var i=t(60134),l=t(10123);let r=e=>(0,n.jsx)("svg",{width:21,height:21,fill:l.theme.colors["user-placeholder"],xmlns:"http://www.w3.org/2000/svg",...e,children:(0,n.jsx)("path",{d:"M10.5 10.5c2.9 0 5.25-2.35 5.25-5.25S13.4 0 10.5 0 5.25 2.35 5.25 5.25 7.6 10.5 10.5 10.5Zm0 2.625c-3.504 0-10.5 1.759-10.5 5.25V21h21v-2.625c0-3.491-6.996-5.25-10.5-5.25Z",fill:l.theme.colors["user-placeholder"]})}),s=e=>{let{className:a="h-21 w-21",imageSrc:t=null}=e;return(0,n.jsx)("div",{className:"flex justify-center items-center bg-pink ".concat(a," rounded-full mr-2"),children:t?(0,n.jsx)(i._,{width:"21",height:"21",alt:"user photo",src:t,server:!0}):(0,n.jsx)(r,{width:"21",height:"21",alt:"user photo"})})}},64400:(e,a,t)=>{"use strict";t.d(a,{N:()=>r});var n=t(74848),i=t(19293),l=t(80809);let r=(e,a)=>{let t={...a,noWrap:!0};i.M$.registerComponent(a=>(0,n.jsx)(l.A,{children:(0,n.jsx)("div",{...a.attributes,children:(0,n.jsx)(e,{...a}
1)})}),t)}},20781:(e,a,t)=>{"use strict";t.d(a,{D4:()=>i,HH:()=>n,JK:()=>r});let n=["Afghanistan","Albania","Algeria","American Samoa","Andorra","Angola","Anguilla","Antarctica","Antigua and Barbuda","Argentina","Armenia","Aruba","Austria","Azerbaijan","Bahamas (the)","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia (Plurinational State of)","Bonaire, Sint Eustatius and Saba","Bosnia and Herzegovina","Botswana","Bouvet Island","Brazil","British Indian Ocean Territory (the)","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cabo Verde","Cambodia","Cameroon","Canada","Cayman Islands (the)","Central African Republic (the)","Chad","Chile","China","Christmas Island","Cocos (Keeling) Islands (the)","Colombia","Comoros (the)","Congo (the Democratic Republic of the)","Congo (the)","Cook Islands (the)","Costa Rica","Croatia","Cuba","Cura\xe7ao","Cyprus","Czechia","C\xf4te d'Ivoire","Denmark","Djibouti","Dominica","Dominican Republic (the)","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Eswatini","Ethiopia","Falkland Islands (the) [Malvinas]","Faroe Islands (the)","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories (the)","Gabon","Gambia (the)","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guam","Guatemala","Guernsey","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island and McDonald Islands","Holy See (the)","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran (Islamic Republic of)","Iraq","Ireland","Isle of Man","Israel","Italy","Jamaica","Japan","Jersey","Jordan","Kazakhstan","Kenya","Kiribati","Korea (the Democratic People's Republic of)","Korea (the Republic of)","Kuwait","Kyrgyzstan","Lao People's Democratic Republic (the)","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Marshall Islands (the)","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia (Federated States of)","Moldova (the Republic of)","Monaco","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands (the)","New Caledonia","New Zealand","Nicaragua","Niger (the)","Nigeria","Niue","Norfolk Island","Northern Mariana Islands (the)","Norway","Oman","Pakistan","Palau","Palestine, State of","Panama","Papua New Guinea","Paraguay","Peru","Philippines (the)","Pitcairn","Poland","Portugal","Puerto Rico","Qatar","Republic of North Macedonia","Romania","Russian Federation (the)","Rwanda","R\xe9union","Saint Barth\xe9lemy","Saint Helena, Ascension and Tristan da Cunha","Saint Kitts and Nevis","Saint Lucia","Saint Martin (French part)","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","Samoa","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Sint Maarten (Dutch part)","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","South Sudan","Spain","Sri Lanka","Sudan (the)","Suriname","Svalbard and Jan Mayen","Sweden","Switzerland","Syrian Arab Republic","Taiwan","Tajikistan","Tanzania, United Republic of","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands (the)","Tuvalu","Uganda","Ukraine","United Arab Emirates (the)","United Kingdom of Great Britain and Northern Ireland (the)","United States Minor Outlying Islands (the)","United States of America (the)","Uruguay","Uzbekistan","Vanuatu","Venezuela (Bolivarian Republic of)","Viet Nam","Virgin Islands (British)","Virgin Islands (U.S.)","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe","\xc5land Islands"],i={ABW:{name:"Aruba"},AFG:{name:"Afghanistan"},AGO:{name:"Angola"},AIA:{name:"Anguilla"},ALA:{name:"\xc5land Islands"},ALB:{name:"Albania"},AND:{name:"Andorra"},ARE:{name:"United Arab Emirates"},ARG:{name:"Argentina"},ARM:{name:"Armenia"},ASM:{name:"American Samoa"},ATA:{name:"Antarctica"},ATF:{name:"French Southern and Antarctic Lands"},ATG:{name:"Antigua and Barbuda"},AUS:{name:"Australia"},AUT:{name:"Austria"},AZE:{name:"Azerbaijan"},BDI:{name:"Burundi"},BEL:{name:"Belgium"},BEN:{name:"Benin"},BFA:{name:"Burkina Faso"},BGD:{name:"Bangladesh"},BGR:{name:"Bulgaria"},BHR:{name:"Bahrain"},BHS:{name:"Bahamas"},BIH:{name:"Bosnia and Herzegovina"},BLM:{name:"Saint Barth\xe9lemy"},SHN:{name:"Saint Helena, Ascension and Tristan da Cunha"},BLR:{name:"Belarus"},BLZ:{name:"Belize"},BMU:{name:"Bermuda"},BOL:{name:"Bolivia"},BES:{name:"Caribbean Netherlands"},BRA:{name:"Brazil"},BRB:{name:"Barbados"},BRN:{name:"Brunei"},BTN:{name:"Bhutan"},BVT:{name:"Bouvet Island"},BWA:{name:"Botswana"},CAF:{name:"Central African Republic"},CAN:{name:"Canada"},CCK:{name:"Cocos (Keeling) Islands"},CHE:{name:"Switzerland"},CHL:{name:"Chile"},CHN:{name:"China"},CIV:{name:"Ivory Coast"},CMR:{name:"Cameroon"},COD:{name:"DR Congo"},COG:{name:"Republic of the Congo"},COK:{name:"Cook Islands"},COL:{name:"Colombia"},COM:{name:"Comoros"},CPV:{name:"Cape Verde"},CRI:{name:"Costa Rica"},CUB:{name:"Cuba"},CUW:{name:"Cura\xe7ao"},CXR:{name:"Christmas Island"},CYM:{name:"Cayman Islands"},CYP:{name:"Cyprus"},CZE:{name:"Czechia"},DEU:{name:"Germany"},DJI:{name:"Djibouti"},DMA:{name:"Dominica"},DNK:{name:"Denmark"},DOM:{name:"Dominican Republic"},DZA:{name:"Algeria"},ECU:{name:"Ecuador"},EGY:{name:"Egypt"},ERI:{name:"Eritrea"},ESH:{name:"Western Sahara"},ESP:{name:"Spain"},EST:{name:"Estonia"},ETH:{name:"Ethiopia"},FIN:{name:"Finland"},FJI:{name:"Fiji"},FLK:{name:"Falkland Islands"},FRA:{name:"France"},FRO:{name:"Faroe Islands"},FSM:{name:"Micronesia"},GAB:{name:"Gabon"},GBR:{name:"United Kingdom"},GEO:{name:"Georgia"},GGY:{name:"Guernsey"},GHA:{name:"Ghana"}
1,GIB:{name:"Gibraltar"},GIN:{name:"Guinea"},GLP:{name:"Guadeloupe"},GMB:{name:"Gambia"},GNB:{name:"Guinea-Bissau"},GNQ:{name:"Equatorial Guinea"},GRC:{name:"Greece"},GRD:{name:"Grenada"},GRL:{name:"Greenland"},GTM:{name:"Guatemala"},GUF:{name:"French Guiana"},GUM:{name:"Guam"},GUY:{name:"Guyana"},HKG:{name:"Hong Kong"},HMD:{name:"Heard Island and McDonald Islands"},HND:{name:"Honduras"},HRV:{name:"Croatia"},HTI:{name:"Haiti"},HUN:{name:"Hungary"},IDN:{name:"Indonesia"},IMN:{name:"Isle of Man"},IND:{name:"India"},IOT:{name:"British Indian Ocean Territory"},IRL:{name:"Ireland"},IRN:{name:"Iran"},IRQ:{name:"Iraq"},ISL:{name:"Iceland"},ISR:{name:"Israel"},ITA:{name:"Italy"},JAM:{name:"Jamaica"},JEY:{name:"Jersey"},JOR:{name:"Jordan"},JPN:{name:"Japan"},KAZ:{name:"Kazakhstan"},KEN:{name:"Kenya"},KGZ:{name:"Kyrgyzstan"},KHM:{name:"Cambodia"},KIR:{name:"Kiribati"},KNA:{name:"Saint Kitts and Nevis"},KOR:{name:"South Korea"},UNK:{name:"Kosovo"},KWT:{name:"Kuwait"},LAO:{name:"Laos"},LBN:{name:"Lebanon"},LBR:{name:"Liberia"},LBY:{name:"Libya"},LCA:{name:"Saint Lucia"},LIE:{name:"Liechtenstein"},LKA:{name:"Sri Lanka"},LSO:{name:"Lesotho"},LTU:{name:"Lithuania"},LUX:{name:"Luxembourg"},LVA:{name:"Latvia"},MAC:{name:"Macau"},MAF:{name:"Saint Martin"},MAR:{name:"Morocco"},MCO:{name:"Monaco"},MDA:{name:"Moldova"},MDG:{name:"Madagascar"},MDV:{name:"Maldives"},MEX:{name:"Mexico"},MHL:{name:"Marshall Islands"},MKD:{name:"North Macedonia"},MLI:{name:"Mali"},MLT:{name:"Malta"},MMR:{name:"Myanmar"},MNE:{name:"Montenegro"},MNG:{name:"Mongolia"},MNP:{name:"Northern Mariana Islands"},MOZ:{name:"Mozambique"},MRT:{name:"Mauritania"},MSR:{name:"Montserrat"},MTQ:{name:"Martinique"},MUS:{name:"Mauritius"},MWI:{name:"Malawi"},MYS:{name:"Malaysia"},MYT:{name:"Mayotte"},NAM:{name:"Namibia"},NCL:{name:"New Caledonia"},NER:{name:"Niger"},NFK:{name:"Norfolk Island"},NGA:{name:"Nigeria"},NIC:{name:"Nicaragua"},NIU:{name:"Niue"},NLD:{name:"Netherlands"},NOR:{name:"Norway"}
1,NPL:{name:"Nepal"},NRU:{name:"Nauru"},NZL:{name:"New Zealand"},OMN:{name:"Oman"},PAK:{name:"Pakistan"},PAN:{name:"Panama"},PCN:{name:"Pitcairn Islands"},PER:{name:"Peru"},PHL:{name:"Philippines"},PLW:{name:"Palau"},PNG:{name:"Papua New Guinea"},POL:{name:"Poland"},PRI:{name:"Puerto Rico"},PRK:{name:"North Korea"},PRT:{name:"Portugal"},PRY:{name:"Paraguay"},PSE:{name:"Palestine"},PYF:{name:"French Polynesia"},QAT:{name:"Qatar"},REU:{name:"R\xe9union"},ROU:{name:"Romania"},RUS:{name:"Russia"},RWA:{name:"Rwanda"},SAU:{name:"Saudi Arabia"},SDN:{name:"Sudan"},SEN:{name:"Senegal"},SGP:{name:"Singapore"},SGS:{name:"South Georgia"},SJM:{name:"Svalbard and Jan Mayen"},SLB:{name:"Solomon Islands"},SLE:{name:"Sierra Leone"},SLV:{name:"El Salvador"},SMR:{name:"San Marino"},SOM:{name:"Somalia"},SPM:{name:"Saint Pierre and Miquelon"},SRB:{name:"Serbia"},SSD:{name:"South Sudan"},STP:{name:"S\xe3o Tom\xe9 and Pr\xedncipe"},SUR:{name:"Suriname"},SVK:{name:"Slovakia"},SVN:{name:"Slovenia"},SWE:{name:"Sweden"},SWZ:{name:"Eswatini"},SXM:{name:"Sint Maarten"},SYC:{name:"Seychelles"},SYR:{name:"Syria"},TCA:{name:"Turks and Caicos Islands"},TCD:{name:"Chad"},TGO:{name:"Togo"},THA:{name:"Thailand"},TJK:{name:"Tajikistan"},TKL:{name:"Tokelau"},TKM:{name:"Turkmenistan"},TLS:{name:"Timor-Leste"},TON:{name:"Tonga"},TTO:{name:"Trinidad and Tobago"},TUN:{name:"Tunisia"},TUR:{name:"Turkey"},TUV:{name:"Tuvalu"},TWN:{name:"Taiwan"},TZA:{name:"Tanzania"},UGA:{name:"Uganda"},UKR:{name:"Ukraine"},UMI:{name:"United States Minor Outlying Islands"},URY:{name:"Uruguay"},USA:{name:"United States"},UZB:{name:"Uzbekistan"},VAT:{name:"Vatican City"},VCT:{name:"Saint Vincent and the Grenadines"},VEN:{name:"Venezuela"},VGB:{name:"British Virgin Islands"},VIR:{name:"United States Virgin Islands"},VNM:{name:"Vietnam"},VUT:{name:"Vanuatu"},WLF:{name:"Wallis and Futuna"},WSM:{name:"Samoa"},YEM:{name:"Yemen"},ZAF:{name:"South Africa"},ZMB:{name:"Zambia"},ZWE:{name:"Zimbabwe"}},l=["AUS","NZL"],r=(()=>{let e=Object.entries(i).map(e=>{let[a,{name:t}]=e;return{value:a,label:t}});return[...l.map(a=>e.find(e=>e.value===a)).filter(e=>!!e),...e.filter(e=>!l.includes(e.value)).sort((e,a)=>e.label.localeCompare(a.label))]})()},89461:(e,a,t)=>{"use strict";t.r(a),t.d(a,{Avatar:()=>s});var n=t(74848),i=t(33263),l=t.n(i),r=t(79142);let s=e=>{let{className:a="w-9 h-9",image:t}=e;return t?(0,n.jsx)("div",{className:"flex m-auto justify-center bg-accent ".concat(a," rounded-full mr-2 relative overflow-hidden"),children:(0,n.jsx)(l(),{objectFit:"cover",src:"https://cdn.coinstash.com.au/"+t,alt:"User Avatar",layout:"fill"})}):(0,n.jsx)(r.D,{imageSrc:t,className:a})}},57835:(e,a,t)=>{"use strict";t.r(a),t.d(a,{NavLink:()=>o});var n=t(74848),i=t(91106),l=t.n(i);t(96540);var r=t(91971),s=t.n(r);let o=e=>{let{active:a=!1,prefetch:t,targetBlank:i=!1}=e,r=()=>(0,n.jsx)("li",{className:"group text-text-inverted l-0 t-0 font-semibold text-sm pl-4 xl:pl-8 cursor-pointer",children:(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{children:e.text}),(0,n.jsx)("div",{className:"relative",children:(0,n.jsx)("div",{className:"".concat(s().underline," rounded-sm absolute group-hover:bg-pink ").concat(a?"bg-pink":"")})})]})});return(0,n.jsx)(n.Fragment,{children:i?(0,n.jsx)("a",{href:e.href,target:"_blank",rel:"noreferrer noopener",children:r()}):(0,n.jsx)(l(),{href:e.href,prefetch:t,legacyBehavior:!0,children:r()})})}},11019:(e,a,t)=>{"use strict";t.r(a),t.d(a,{User:()=>h});var n=t(74848),i=t(76582),l=t(96540),r=t(55048),s=t(1276),o=t(60134);let d=e=>{let{width:a=10,fill:t="#FBFCFE",height:i=5,className:l=""}=e;return(0,n.jsx)("svg",{width:a,height:i,viewBox:"0 0 10 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,n.jsx)("path",{d:"M0 0l5 5 5-5H0z",fill:t})})};var u=t(94379),c=t(89461),m=t(51288);let h=e=>{var a,t,h,v,x,f,p,g,b,w,N,y,j,S,C;let{userProfile:A,balances:M,earnBalances:k,withMenu:I=!0,tierData:B}=e,[L,T]=(0,l.useState)(!1),{data:G}=(0,u.F2n)({}),{data:R}=(0,u.mb2)({skip:!G,variables:{userId:null==G?void 0:null===(a=G.userProfile)||void 0===a?void 0:a.userId}});return(0,n.jsxs)("div",{onClick:()=>{L||T(!0)},className:"relative cursor-pointer flex justify-center",children:[(0,n.jsx)(c.Avatar,{image:A.avatarUrl}),(0,n.jsxs)("div",{className:"flex ml-2 flex-inline justify-center",children:[(0,n.jsxs)("div",{className:"flex flex-col",children:[(0,n.jsxs)("div",{className:"flex flex-inline mb-1",children:[(0,n.jsx)("p",{className:"flex text-text-inverted text-sm font-semibold",children:(null==A?void 0:null===(t=A.displayName)||void 0===t?void 0:t.length)>10?"".concat((null==A?void 0:null===(h=A.displayName)||void 0===h?void 0:h.split(" ")[0].length)>10?"".concat(null==A?void 0:null===(v=A.displayName)||void 0===v?void 0:v.split(" ")[0].slice(0,10),"..."):null==A?void 0:null===(x=A.displayName)||void 0===x?void 0:x.split(" ")[0]):null==A?void 0:A.displayName}),(null==B?void 0:null===(f=B.getMembershipTier)||void 0===f?void 0:f.membershipTier)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("img",{width:20,height:20,className:"ml-2 xl:hidden",src:"".concat(o.e,"/").concat(null==B?void 0:null===(g=B.getMembershipTier)||void 0===g?void 0:null===(p=g.membershipTier)||void 0===p?void 0:p.icon),alt:"Membership Tier"}),(0,n.jsx)("div",{className:"rounded-full text-text-inverted text-xs px-2 py-1 ml-2 leading-none h-5 hidden xl:block",style:{backgroundColor:null==B?void 0:null===(w=B.getMembershipTier)||void 0===w?void 0:null===(b=w.membershipTier)||void 0===b?void 0:b.color},children:(0,n.jsx)("span",{children:null==B?void 0:null===(y=B.getMembershipTier)||void 0===y?void 0:null===(N=y.membershipTier)||void 0===N?void 0:N.name})})]}):null]}),(0,n.jsx)("p",{className:"text-text-inverted text-xs text-c2",children:(0,n.jsx)(s.ZI,{fiatDisplay:s.f3.AUD,amount:new i.A((null==M?void 0:null===(j=M.data)||void 0===j?void 0:j.assetBalanceFiat)||0).add((null==M?void 0:null===(S=M.data)||void 0===S?void 0:S.fiatBalances.aud)||0).add((null==k?void 0:null===(C=k.data)||void 0===C?void 0:C.assetBalanceFiat)||0).toFixed()})})]}),I&&(0,n.jsx)("div",{className:"flex justify-center ml-4",children:(0,n.jsx)("span",{className:"text-text-inverted pt-4",children:(0,n.jsx)(d,{})})})]}),L&&I?(0,n.jsx)(r.A,{onClickAway:()=>{T(!1)},children:(0,n.jsx)("div",{className:"z-20",children:(0,n.jsx)(m.UserDropdown,{userProfile:A,delegations:null==R?void 0:R.getDelegations})})}):null]})}},51288:(e,a,t)=>{"use strict";t.r(a),t.d(a,{UserDropdown:()=>S});var n=t(74848),i=t(70111),l=t(72505),r=t.n(l),s=t(14953),o=t.n(s),d=t(86715),u=t(96540),c=t(15587),m=t(48623),h=t(17403),v=t(94379),x=t(81689),f=t(82108),p=t(42258),g=t(91529),b=t(91799),w=t(79797),N=t(80837),y=t(10813);let j=o()(()=>Promise.all([t.e(46191),t.e(28372)]).then(t.bind(t,5991)).then(e=>e.DelegationsModal),{loadableGenerated:{webpack:()=>[5991]},ssr:!1}),S=e=>{var a,t,l,s;let{toggleDarkMode:o,isDarkMode:S}=(0,u.useContext)(h.S),{userProfile:C}=e,A=(0,d.useRouter)(),M=(0,i.m)(),k=(0,c.n3)(),{signOutText:I}=(0,x.Yz)(),B=(0,y.wn)(),{deleteAllSessions:L}=(0,f.N)(),{data:T}=(0,v.F2n)({}),{data:G={getDelegations:e.delegations}}=(0,v.mb2)({skip:e.delegations||!(null==T?void 0:null===(a=T.userProfile)||void 0===a?void 0:a.userId),variables:{userId:null==T?void 0:null===(t=T.userProfile)||void 0===t?void 0:t.userId}}),R=async()=>
1{if((0,b.w)("authentication","logout"),B){(0,y.TJ)({closeAdviser:!0});return}try{window.Intercom("shutdown"),w.Ay.log("Shutdown intercom session.")}catch(e){w.Ay.log("Failed to shutdown intercom session.")}(0,g.sx)("logout"),(0,N.SF)(),await L(),await r().post("/api/auth/logout"),p.IG.removeItem("userId"),p.IG.removeItem("twoFactorPromptLastShownAt"),A.push("/auth/signin"),M.clearStore()};return(0,n.jsxs)("div",{className:"rounded absolute top-14 right-0 bg-bg-inverted w-60 shadow transition duration-500",children:[!B&&(0,n.jsx)(m.N,{href:"/settings",className:"font-bold font-sm text-text-title-tertiary",children:(0,n.jsx)("div",{className:"flex justify-between p-4 hover:bg-blue-light hover:rounded-sm",children:(0,p.t)("Settings")})}),(null==G?void 0:null===(l=G.getDelegations)||void 0===l?void 0:l.isSuccessful)&&(null==G?void 0:null===(s=G.getDelegations)||void 0===s?void 0:s.ownerDelegations.length)?(0,n.jsx)("div",{onClick:()=>{k.open(j)},className:"font-bold font-sm text-text-title-tertiary flex justify-between p-4 hover:bg-blue-light hover:rounded-sm",children:(0,p.t)("Switch Accounts")}):null,(0,n.jsx)("div",{className:"flex justify-between p-4 hover:bg-blue-light hover:rounded-sm",onClick:R,children:(0,n.jsx)("p",{className:"font-bold font-sm text-text-error-primary w-full",children:I})})]})}},78403:(e,a,t)=>{"use strict";t.r(a),t.d(a,{VerticalSeparator:()=>i});var n=t(74848);t(96540);let i=e=>{let{className:a="",colour:t="white",height:i="normal"}=e;return(0,n.jsx)("div",{className:"".concat(a," ").concat("grey"===t?"bg-grey-light":"bg-bg-inverted"," w-px ").concat((()=>{switch(i){case"small":return"h-5";case"normal":return"h-10";default:return i}})()," mr-4")})}},75188:(e,a,t)=>{"use strict";t.r(a),t.d(a,{Header:()=>Y,HeaderComponent:()=>W});var n=t(74848),i=t(70111),l=t(24370),r=t(72505),s=t.n(r),o=t(76582),d=t(14953),u=t.n(d),c=t(91106),m=t.n(c),h=t(86715),v=t(96540),x=t(15587),f=t(64400),p=t(55003),g=t(91290),b=t(1276),w=t(80809),N=t(90580),y=t(60134),j=t(62810),S=t(79142),C=t(66113),A=t(94379),M=t(81689),k=t(82108),I=t(26262),B=t(42258),L=t(91529),T=t(91799),G=t(95953),R=t(79797),P=t(46109),D=t(78264),E=t(86187);let F=u()(()=>Promise.all([t.e(46191),t.e(1813),t.e(3004),t.e(29605),t.e(49187),t.e(34356),t.e(50105),t.e(27)]).then(t.bind(t,11356)).then(e=>e.SignInModal),{loadableGenerated:{webpack:()=>[11356]},ssr:!1}),U=e=>{let{popupManager:a,userProfile:t=null,symbol:i,custody:l,assetType:r,type:s,attributes:o,bypass:d=!1}=e;t||d?(null==t?void 0:t.status)==="ACTIVE"?("fiat"===r&&((null==t?void 0:t.personaStatus)===P.tQ.APPROVED||(null==t?void 0:t.coreAmlStatus)===P.Uc.PASS||(null==t?void 0:t.isIdentityVerified)?"deposit"===s?a.open(e=>(0,n.jsx)(D.DepositModal,{...e,step:"DEPOSIT_METHOD"})):"withdraw"===s&&a.open(E.WithdrawModal,{step:"SELECT_AUD_ACCOUNT"}):B.oR.error((0,B.t)("Please verify your account first."))),"asset"===r&&("deposit"===s?a.open(e=>(0,n.jsx)(D.DepositModal,{...e,step:"BLOCKCHAIN",symbol:i,custody:l,displaySymbol:i})):"withdraw"===s&&a.open(E.WithdrawModal,{step:"SELECT_ASSET_ADDRESS",symbol:i,displaySymbol:i}))):B.oR.error((0,B.t)("Your account is not active. Please contact support.")):a.open(F,{})};var H=t(80837),K=t(10813),O=t(74375),V=t.n(O),_=t(57835),z=t(86947),q=t(11019),Z=t(78403);let J=u()(()=>Promise.all([t.e(46191),t.e(28372)]).then(t.bind(t,5991)).then(e=>e.DelegationsModal),{loadableGenerated:{webpack:()=>[5991]},ssr:!1}),W=e=>{var a,t,r,d,u,c,x,f,P,D,E,F,O,W,Y,Q,$;let{type:X="dash",accountData:ee=null,earnAccountData:ea=null,userProfile:et,popupManager:en,transparent:ei=!1,prefetch:el=!1,theme:er}=e,es=(0,h.useRouter)(),eo=es.pathname||"",ed=(0,K.wn)(),{data:eu}=(0,A.fyO)({}),ec=(null==eu?void 0:eu.userProfile)||et,{data:em}=(0,A.F2n)({}),{data:eh}=(0,A.mb2)({skip:!em||!(null==em?void 0:null===(a=em.userProfile)||void 0===a?void 0:a.userId),variables:{userId:null==em?void 0:null===(t=em.userProfile)||void 0===t?void 0:t.userId}}),{data:ev}=(0,A.$FO)({skip:!ee||!(null==ee?void 0:null===(r=ee.getAccountInfo)||void 0===r?void 0:r.membershipTier),variables:{tierId:null==ee?void 0:null===(d=ee.getAccountInfo)||void 0===d?void 0:d.membershipTier}}),ex=eo.split("/")[1];eo.split("/")[2];let[ef,ep]=(0,v.useState)(!1),[eg,eb]=(0,v.useState)(!1),ew=(0,i.m)(),{signOutText:eN,isAdviserClient:ey}
1=(0,M.Yz)(),{deleteAllSessions:ej}=(0,k.N)(),eS=async()=>{if((0,T.w)("authentication","logout"),ed){(0,K.TJ)({closeAdviser:!0});return}try{window.Intercom("shutdown"),R.Ay.log("Shutdown intercom session.")}catch(e){R.Ay.log("Failed to shutdown intercom session.")}(0,L.sx)("logout"),(0,H.SF)(),await ej(),await s().post("/api/auth/logout"),B.IG.removeItem("userId"),B.IG.removeItem("twoFactorPromptLastShownAt"),es.push("/auth/signin"),ew.clearStore()},eC=(0,l.A)(60),[eA,eM]=(0,I.l)(),ek=["buy","sell","swap","trade","bundles","bundle"];(0,v.useEffect)(()=>{(null==ec?void 0:ec.email)&&(0,G.fr)(ec.email)},[null==ec?void 0:ec.email]);let eI=(0,v.useMemo)(()=>!0===B.IG.getItem("boxedLayout")?"md:pr-[9%] md:pl-[9%]":"md:pl-14 md:pr-14",[]);return(0,n.jsxs)(w.A,{children:[(0,n.jsxs)("header",{className:"top-0 w-full ".concat((0,B.AE)()&&12>=(0,B.AE)()?"block":"sticky","  ").concat(ei&&0===eC&&eA>768?"bg-transparent":"earn"===er?"bg-black":"bg-background"," z-30"),children:[(0,n.jsxs)("div",{className:"p-4 md:pt-2 md:pb-2 flex items-center justify-between lg:justify-start ".concat(eI),children:[(0,n.jsxs)("div",{className:"flex flex-initial items-center space-x-1 flex-shrink-0",children:[(0,n.jsx)(j.g,{prefetch:el,href:ec?"/dash":"/",size:"medium"}),"blog"===X&&(0,n.jsx)("p",{onClick:()=>{es.push("/insights")},className:"pl-2 pt-1 text-pink font-bold text-2xl cursor-pointer hover:opacity-70",children:(0,B.t)("blog")})]}),(0,n.jsx)("div",{className:"hidden lg:flex flex-auto flex-row-reverse",children:(0,n.jsx)("nav",{children:(0,n.jsxs)("ul",{className:"flex items-center",children:[ec?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(_.NavLink,{prefetch:el,active:"dash"===ex,href:"/dash",text:"Portfolio"}),(0,n.jsx)(_.NavLink,{prefetch:el,active:"rewards"===ex,href:"/rewards/dash",text:"Earn"}),(0,n.jsx)(_.NavLink,{prefetch:el,active:ek.includes(ex),href:"/trade",text:"Buy / Sell / Swap"}),(0,n.jsx)(_.NavLink,{prefetch:el,active:"transfers"===ex,href:"/transfers/deposit",text:"Send / Receive"}),(0,n.jsx)(_.NavLink,{prefetch:el,active:"affiliate"===ex,href:"/affiliate/dash",text:"Affiliate"}),(0,n.jsx)(p.$,{className:"!pt-1 !pb-1 !pr-3 !pl-3 ml-6 mr-3 bg-[#1AF9B7] text-blue",colour:"blue-opaque",height:"small",size:"auto",onClick:()=>U({userProfile:ec,popupManager:en,assetType:"fiat",type:"deposit"}),children:(0,n.jsx)("span",{className:"font-semibold text-sm",children:(0,B.t)("Deposit AUD")})}),(0,n.jsx)("div",{className:"lg:relative",children:(0,n.jsx)(z.NotificationsDropdown,{className:"mr-4"})})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(_.NavLink,{prefetch:el,active:ek.includes(ex)&&"bundles"!==ex,href:"/trade",text:"Buy / Sell / Swap"}),(0,n.jsx)(_.NavLink,{prefetch:el,active:"bundles"===ex,href:"/bundles",text:"Bundles"}),(0,n.jsx)(_.NavLink,{prefetch:el,active:"otc"===ex,href:"/otc",text:"OTC"}),(0,n.jsx)(_.NavLink,{prefetch:el,active:"insights"===ex,href:"/insights",text:"Insights"}),(0,n.jsx)(_.NavLink,{prefetch:el,active:"affiliate"===ex,href:"/affiliate",text:"Affiliate"}),(0,n.jsx)(Z.VerticalSeparator,{className:"ml-4"}),(0,n.jsxs)("div",{className:"flex flex-row",children:[(0,n.jsx)(p.$,{className:"!pt-1 !pb-1 !pr-2.5 !pl-2.5 ml-6 mr-4",mode:"secondary",colour:"white",height:"medium",size:"w-28",useNextLink:!1,linkPath:"/auth/signin",children:(0,n.jsx)("span",{className:"font-semibold text-sm",children:(0,B.t)("Log in")})}),(0,n.jsx)(p.$,{className:"!pt-1 !pb-1 !pr-2.5 !pl-2.5 ml-4",mode:"primary",colour:"pink",height:"medium",size:"w-28",useNextLink:!1,linkPath:"/auth/signup",children:(0,n.jsx)("span",{className:"font-semibold text-sm",children:(0,B.t)("Sign up")})})]})]}),ec&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Z.VerticalSeparator,{}),(0,n.jsx)(q.User,{balances:null==ee?void 0:ee.accountBalances,earnBalances:null==ea?void 0:ea.accountBalances,userProfile:ec,tierData:ev})]})]})})}),(0,n.jsxs)("div",{className:"lg:hidden flex flex-row",children:[(0,n.jsx)("div",{className:"lg:relative",children:(0,n.jsx)(z.NotificationsDropdown,{className:"mr-4"})}),(0,n.jsx)("div",{onClick:()=>{eb(!0)},children:(0,n.jsx)(y._,{height:"24",width:"24",alt:"Menu",src:"menu.svg"})})]})]}),ed&&(0,n.jsx)("div",{className:"bg-[#FF9810] text-center",children:(0,n.jsxs)("span",{className:"text-text-inverted text-md font-semibold",children:[(0,B.t)("Current Account:")," ",null==ec?void 0:ec.email,(0,n.jsx)("a",{onClick:()=>en.open(J),className:"underline cursor-pointer ml-1",children:(0,B.t)("Switch here")})]})})]}),(0,n.jsxs)("div",{className:"lg:hidden top-0 left-0 fixed ".concat(V().drawerContainer),children:[eg?(0,n.jsx)("div",{className:V().drawerOverlay,onClick:()=>{eb(!1)}}):null,(0,n.jsxs)("div",{className:"".concat(V().drawer," relative p-4"),style:{transform:eg?"translateX(0)":"translateX(1024px)"},children:[(0,n.jsx)("div",{className:"absolute top-5 right-4",onClick:()=>{eb(!1)},children:(0,n.jsx)(g.U,{width:20,fill:"#fff"})}),(0,n.jsx)(j.g,{size:"medium"}),ec?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"mt-2 flex flex-row text-text-inverted items-center",onClick:()=>{eb(!1)},children:[ec.avatarUrl?(0,n.jsx)(y._,{className:"rounded-full",width:"50",height:"50",alt:"user photo",src:ec.avatarUrl?ec.avatarUrl:"".concat(C.w4,"/user_placeholder.svg"),server:!!ec.avatarUrl}):(0,n.jsx)(S.D,{className:"w-[50px] h-[50px]"}),(0,n.jsxs)("div",{className:"ml-2 relative",children:[(0,n.jsxs)("div",{className:"flex flex-row items-center",children:[ec.displayName,(null==ev?void 0:null===(u=ev.getMembershipTier)||void 0===u?void 0:u.membershipTier)?(0,n.jsx)("div",{className:"rounded-full text-text-inverted text-xs px-2 py-1 ml-2 leading-none h-5",style:{backgroundColor:null==ev?void 0:null===(x=ev.getMembershipTier)||void 0===x?void 0:null===(c=x.membershipTier)||void 0===c?void 0:c.color},children:(0,n.jsx)("span",{children:null==ev?void 0:null===(P=ev.getMembershipTier)||void 0===P?void 0:null===(f=P.membershipTier)||void 0===f?void 0:f.name})}):null]}),ee?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("p",{className:"text-text-inverted text-xs font-bold text-c2",children:(0,n.jsx)(b.ZI,{fiatDisplay:b.f3.AUD,amount:new o.A((null==ee?void 0:null===(E=ee.accountBalances)||void 0===E?void 0:null===(D=E.data)||void 0===D?void 0:D.fi
1atBalances.aud)||0).add((null==ee?void 0:null===(O=ee.accountBalances)||void 0===O?void 0:null===(F=O.data)||void 0===F?void 0:F.assetBalanceFiat)||0).add((null==ea?void 0:null===(Y=ea.accountBalances)||void 0===Y?void 0:null===(W=Y.data)||void 0===W?void 0:W.assetBalanceFiat)||0).toFixed()})})}):null]})]}),(0,n.jsx)(m(),{shallow:!0,href:"/dash",passHref:!0,prefetch:el,legacyBehavior:!0,children:(0,n.jsxs)("div",{className:"mt-2 pb-2 pt-2 text-text-inverted flex flex-row w-full justify-between",onClick:()=>{eb(!1)},children:[(0,B.t)("Portfolio"),(0,n.jsx)(N.cL,{width:6,height:10,opacity:"1",fill:"#fff",className:"flex items-center ml-2"})]})}),(0,n.jsx)(m(),{prefetch:el,shallow:!0,href:"/rewards/dash",legacyBehavior:!0,children:(0,n.jsxs)("div",{className:"pb-2 pt-2 text-text-inverted flex flex-row w-full justify-between",onClick:()=>{eb(!1)},children:[(0,B.t)("Rewards"),(0,n.jsx)(N.cL,{width:6,height:10,opacity:"1",fill:"#fff",className:"flex items-center ml-2"})]})}),(0,n.jsx)(m(),{shallow:!0,href:"/trade",prefetch:el,legacyBehavior:!0,children:(0,n.jsxs)("div",{className:"pb-2 pt-2 text-text-inverted flex flex-row w-full justify-between",onClick:()=>{eb(!1)},children:[(0,B.t)("Buy / Sell / Swap"),(0,n.jsx)(N.cL,{width:6,height:10,opacity:"1",fill:"#fff",className:"flex items-center ml-2"})]})}),(0,n.jsx)(m(),{shallow:!0,href:"/transfers/deposit",prefetch:el,legacyBehavior:!0,children:(0,n.jsxs)("div",{className:"pb-2 pt-2 text-text-inverted flex flex-row w-full justify-between",onClick:()=>{eb(!1)},children:[(0,B.t)("Send / Receive"),(0,n.jsx)(N.cL,{width:6,height:10,opacity:"1",fill:"#fff",className:"flex items-center ml-2"})]})}),(0,n.jsx)(m(),{shallow:!0,href:"/affiliate/dash",prefetch:el,legacyBehavior:!0,children:(0,n.jsxs)("div",{className:"pb-2 pt-2 text-text-inverted flex flex-row w-full justify-between",onClick:()=>{eb(!1)},children:[(0,B.t)("Affiliate"),(0,n.jsx)(N.cL,{width:6,height:10,opacity:"1",fill:"#fff",className:"flex items-center ml-2"})]})}),(null==eh?void 0:null===(Q=eh.getDelegations)||void 0===Q?void 0:Q.isSuccessful)&&(null==eh?void 0:null===($=eh.getDelegations)||void 0===$?void 0:$.ownerDelegations.length)?(0,n.jsxs)("div",{className:"pb-2 pt-2 text-text-inverted flex flex-row w-full justify-between",onClick:()=>{eb(!1),en.open(J)},children:[(0,B.t)("Switch Accounts"),(0,n.jsx)(N.cL,{width:6,height:10,opacity:"1",fill:"#fff",className:"flex items-center ml-2"})]}):null,ey?null:(0,n.jsx)(m(),{prefetch:el,shallow:!0,href:"/settings",legacyBehavior:!0,children:(0,n.jsxs)("div",{className:"pb-2 pt-2 text-text-inverted flex flex-row w-full justify-between",onClick:()=>{eb(!1)},children:[(0,B.t)("Settings"),(0,n.jsx)(N.cL,{width:6,height:10,opacity:"1",fill:"#fff",className:"flex items-center ml-2"})]})}),(0,n.jsx)(p.$,{className:"mt-4 bg-[#1AF9B7] text-blue",colour:"blue-opaque",height:"small",size:"full",onClick:()=>{U({userProfile:ec,popupManager:en,assetType:"fiat",type:"deposit"}),eb(!1)},children:(0,n.jsx)("span",{className:"font-semibold text-sm",children:(0,B.t)("Deposit AUD")})}),(0,n.jsx)("a",{className:"flex absolute bottom-24 left-4",style:{width:"268px"},onClick:eS,children:(0,n.jsxs)("div",{className:"pb-2 pt-2 bottom-4 left-4 text-text-inverted flex flex-row w-full justify-between",children:[eN,(0,n.jsx)(N.cL,{width:6,height:10,opacity:"1",fill:"#fff",className:"flex items-center ml-2"})]})})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"flex flex-row justify-between py-4 space-x-4",children:[(0,n.jsx)(p.$,{className:"flex-shrink",mode:"secondary",colour:"white",height:"medium",size:"full",useNextLink:!1,linkPath:"/auth/signin",children:(0,n.jsx)("span",{className:"font-semibold text-sm",children:(0,B.t)("Log in")})}),(0,n.jsx)(p.$,{className:"flex-shrink",mode:"primary",colour:"pink",height:"medium",size:"full",useNextLink:!1,linkPath:"/auth/signup",children:(0,n.jsx)("span",{className:"font-semibold text-sm",children:(0,B.t)("Sign up")})})]}),(0,n.jsx)(m(),{shallow:!0,href:"/trade",passHref:!0,prefetch:el,legacyBehavior:!0,children:(0,n.jsxs)("div",{className:"mt-2 pb-2 pt-2 text-text-inverted flex flex-row w-full justify-between",children:[(0,B.t)("Buy / Sell / Swap"),(0,n.jsx)(N.cL,{width:6,height:10,opacity:"1",fill:"#fff",className:"flex items-center ml-2"})]})}),(0,n.jsx)(m(),{shallow:!0,href:"/bundles",passHref:!0,prefetch:el,legacyBehavior:!0,children:(0,n.jsxs)("div",{className:"mt-2 pb-2 pt-2 text-text-inverted flex flex-row w-full justify-between",children:[(0,B.t)("Bundles"),(0,n.jsx)(N.cL,{width:6,height:10,opacity:"1",fill:"#fff",className:"flex items-center ml-2"})]})}),(0,n.jsx)(m(),{prefetch:el,shallow:!0,href:"/insights",passHref:!0,legacyBehavior:!0,children:(0,n.jsxs)("div",{className:"mt-2 pb-2 pt-2 text-text-inverted flex flex-row w-full justify-between",children:[(0,B.t)("Insights"),(0,n.jsx)(N.cL,{width:6,height:10,opacity:"1",fill:"#fff",className:"flex items-center ml-2"})]})}),(0,n.jsx)(m(),{prefetch:el,shallow:!0,href:"/affiliate",passHref:!0,legacyBehavior:!0,children:(0,n.jsxs)("div",{className:"mt-2 pb-2 pt-2 text-text-inverted flex flex-row w-full justify-between",children:[(0,B.t)("Affiliate"),(0,n.jsx)(N.cL,{width:6,height:10,opacity:"1",fill:"#fff",className:"flex items-center ml-2"})]})})]})]})]})]})},Y=(0,x.oY)()(W);(0,f.N)(Y,{name:"Header"})},92988:(e,a,t)=>{"use strict";t.d(a,{A:()=>r});var n=t(9885),i=t.n(n),l=t(96540);function r(e){let a=!(arguments.length>1)||void 0===arguments[1]||arguments[1],[t,n]=(0,l.useState)(0),r=(0,l.useRef)(null);return(0,l.useEffect)(()=>(r.current&&clearInterval(r.current),e&&a&&(r.current=setInterval(()=>{n(i()(e).diff(i()(),"seconds"))},100)),()=>{r.current&&clearInterval(r.current)}),[e]),{seconds:t}}},70257:(e,a,t)=>{"use strict";t.d(a,{H:()=>i});var n=t(96540);function i(e,a){let t=(0,n.useRef)(!1);(0,n.useEffect)(()=>
1{if(t.current)return e();t.current=!0},a)}},50167:(e,a,t)=>{"use strict";t.d(a,{A:()=>r});var n=t(96540),i=t(44526),l=t(33319);let r=e=>{let{symbols:a=[]}=e,{smartQuoteData:t,smartQuoteUpdated:r,symbols:s,quoteData:o,focusedSubscriptions:d}=(0,n.useContext)(l.v),u=(0,n.useRef)((0,i.A)()),c=e=>{var a,t,n;let i=null!==(n=null==s?void 0:null===(a=s.current)||void 0===a?void 0:a.get(u.current))&&void 0!==n?n:new Set;i.add(e),null==s||null===(t=s.current)||void 0===t||t.set(u.current,i)},m=e=>{var a,t,n;let i=null!==(n=null==s?void 0:null===(a=s.current)||void 0===a?void 0:a.get(u.current))&&void 0!==n?n:new Set;i.delete(e),null==s||null===(t=s.current)||void 0===t||t.set(u.current,i)};(0,n.useEffect)(()=>{var e;return null==d||null===(e=d.current)||void 0===e||e.add(u.current),()=>{var e;null==d||null===(e=d.current)||void 0===e||e.delete(u.current)}},[]),(0,n.useEffect)(()=>{for(let e of a.map(e=>null==e?void 0:e.toLowerCase()))c(e)},[a]);let h=(0,n.useCallback)(function(e){var a,n,i,l;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unsubscribe:s}=r,d=null==e?void 0:e.toLowerCase();if(s){m(d);return}return d&&c(d),{data:{getLast:(null==t?void 0:null===(n=t.current)||void 0===n?void 0:null===(a=n.smartQuoteChanged)||void 0===a?void 0:a.prices)?null==t?void 0:null===(i=t.current)||void 0===i?void 0:i.smartQuoteChanged:(null==o?void 0:null===(l=o.getLast)||void 0===l?void 0:l.prices)?null==o?void 0:o.getLast:void 0}}},[o,r]),v=(0,n.useCallback)(function(e){var a,n,i,l,r,s,d,u,h,v,x,f,p;let g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unsubscribe:b,field:w,priceSSR:N}=g,y=null==e?void 0:e.toLowerCase();if(b){m(y);return}return(c(y),w)?(null==t?void 0:null===(l=t.current)||void 0===l?void 0:null===(i=l.smartQuoteChanged)||void 0===i?void 0:null===(n=i.prices)||void 0===n?void 0:null===(a=n[y])||void 0===a?void 0:a[w])?null==t?void 0:null===(v=t.current)||void 0===v?void 0:null===(h=v.smartQuoteChanged.prices)||void 0===h?void 0:null===(u=h[y])||void 0===u?void 0:u[w]:(null==o?void 0:null===(d=o.getLast)||void 0===d?void 0:null===(s=d.prices)||void 0===s?void 0:null===(r=s[y])||void 0===r?void 0:r[w])?null==o?void 0:null===(p=o.getLast)||void 0===p?void 0:null===(f=p.prices)||void 0===f?void 0:null===(x=f[y])||void 0===x?void 0:x[w]:(null==N?void 0:N[w])?null==N?void 0:N[w]:void 0:void 0},[o,r]),x=(0,n.useMemo)(()=>{var e,a,n,i,l,r,d,c,m,h,v,x,f,p,g,b,w,N,y,j,S,C,A,M,k,I,B,L;if(!(null==t?void 0:null===(a=t.current)||void 0===a?void 0:null===(e=a.smartQuoteChanged)||void 0===e?void 0:e.prices)&&!(null==o?void 0:null===(n=o.getLast)||void 0===n?void 0:n.prices))return;let T={prices:{...null!==(g=null==o?void 0:null===(i=o.getLast)||void 0===i?void 0:i.prices)&&void 0!==g?g:{}},quoteId:null!==(w=null!==(b=null==t?void 0:null===(r=t.current)||void 0===r?void 0:null===(l=r.smartQuoteChanged)||void 0===l?void 0:l.quoteId)&&void 0!==b?b:null==o?void 0:null===(d=o.getLast)||void 0===d?void 0:d.quoteId)&&void 0!==w?w:null,targetCurrency:null!==(y=null!==(N=null==t?void 0:null===(m=t.current)||void 0===m?void 0:null===(c=m.smartQuoteChanged)||void 0===c?void 0:c.targetCurrency)&&void 0!==N?N:null==o?void 0:null===(h=o.getLast)||void 0===h?void 0:h.targetCurrency)&&void 0!==y?y:null,issuedOn:null!==(S=null!==(j=null==t?void 0:null===(x=t.current)||void 0===x?void 0:null===(v=x.smartQuoteChanged)||void 0===v?void 0:v.issuedOn)&&void 0!==j?j:null==o?void 0:null===(f=o.getLast)||void 0===f?void 0:f.issuedOn)&&void 0!==S?S:null};for(let e of Array.from(null!==(C=null==s?void 0:null===(p=s.current)||void 0===p?void 0:p.get(u.current))&&void 0!==C?C:new Set))(null==t?void 0:null===(k=t.current)||void 0===k?void 0:null===(M=k.smartQuoteChanged)||void 0===M?void 0:null===(A=M.prices)||void 0===A?void 0:A[e])&&(T.prices[e]=null==t?void 0:null===(L=t.current)||void 0===L?void 0:null===(B=L.smartQuoteChanged)||void 0===B?void 0:null===(I=B.prices)||void 0===I?void 0:I[e]);return T},[r,o]),f=!(null==t?void 0:t.current),p=!o;return{data:{getLast:x},loading:!x&&f||p,quoteLoading:p,smartQuoteLoading:f,getQuote:h,q:v}}},26262:(e,a,t)=>{"use strict";t.d(a,{l:()=>l});var n=t(96540);let i=n.useLayoutEffect;
1function l(){let[e,a]=(0,n.useState)([0,0]);return i(()=>{function e(){a([window.innerWidth,window.innerHeight])}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),e}},2141:e=>{e.exports={orangeGradient:"button_orangeGradient__639bx"}},74375:e=>{e.exports={notificationBackground:"Header_notificationBackground__mubF9",bellNumber:"Header_bellNumber__EMHoj",drawerContainer:"Header_drawerContainer__yrAJB",drawerOverlay:"Header_drawerOverlay__yEYVD",drawer:"Header_drawer__Irwta"}},91971:e=>{e.exports={underline:"NavLink_underline__qaMUr"}}}]);

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.