diff --git a/dist/45.bundle.js b/dist/45.bundle.js index 2cca2d0..6ade81d 100644 --- a/dist/45.bundle.js +++ b/dist/45.bundle.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{"+RRU":function(e,t,a){"use strict";a.r(t),t.default={generic:{back:"뒤로 가기",skip:"건너뛰기",next:"다음",confirm:"확인",accept:"수락",allow:"허용",deny:"취소",okay:"확인",cancel:"취소",open:"이동",yes:"네",no:"아니오",actions:"더보기",enable:"활성화",disable:"비활성화",send:"보내기",receive:"받기",select:"선택",unselect:"선택 취소",edit:"수정하기",add:"추가",save:"저장",new:"신규",delete:"삭제",remove:"제거",remove_all:"모두 제거",copy:"복사",import:"불러오기",export:"내보내기",refresh:"새로 고침",manage:"설정",private_key:"프라이빗 키 | 프라이빗 키",public_key:"퍼블릭 키 | 퍼블릭 키",cards:"카드 | 카드",expired:"만료됨",keys:"키 | 키",hide:"숨기기",reveal:"나타내기",tokens:"토큰 | 토큰",networks:"네트워크 | 네트워크",blockchains:"블록체인 | 블록체인",contracts:"컨트랙트 | 컨트랙트",memo:"메모",symbol:"심볼",decimals:"소수점",chain_id:"체인 아이디",name:"이름",accounts:"계정 | 계정",search:"검색",buy:"구입",sell:"판매",contacts:"연락처",history:"히스토리",exchange:"거래소",view:"보기",redo:"재실행",promoted:"광고",addressOrAccount:"주소 또는 계정",pleaseWait:"잠시만 기다려주세요.",selectToken:"토큰을 선택해주세요.",selectBlockchain:"블록체인을 선택해주세요."},sidebar:{dashboard:"대시보드",apps:"앱",wallet:"지갑",assets:"자산",identities:"신원",locations:"주소",contacts:"연락처",history:"히스토리",networks:"네트워크",settings:"설정",lock:"지갑 잠금"},login:{registerButtonTitle:"시작하기",registerButtonSubtitle:"스캐터 설정을 시작합니다.",reset:"초기화",restore:"복구하기",support:"문의하기",passwordPlaceholder:"비밀번호 입력"},setPassword:{title:"강력한 암호를 설정하세요.",description:"강력한 암호는 8자 이상으로, 숫자 1개와 특수문자 1개를 포함합니다.",choosePass:"비밀번호 입력",confirmPass:"비밀번호 확인"},welcome:{title:"미래에 오신 것을 환영합니다.",description:"스캐터 사용을 위한 준비가 모두 끝났습니다.",button:"스캐터 시작하기"},destroy:{title:"스캐터 초기화",disclaimer:"스캐터를 초기화하기 전에, 프라이빗 키를 모두 백업하셨는지 꼭 확인하세요.",description:"스캐터 초기화 이후에는 초기화 이전의 데이터 복구가 절대로 불가능합니다. 미리 저장해둔 백업 파일에서만 데이터 복구가 가능함을 명심하세요."},dashboard:{vote:{title:"스캐터에게 투표하기",subTitle:"스캐터를 지지해주시길 부탁드립니다!",description:"스캐터는 EOS 메인넷 블록 프로듀서로 출마했습니다. 스캐터가 블록 프로듀서로서 활동할 수 있도록 투표를 부탁드립니다!",button:"지금 투표하기!",voted:"{total} 체인의 스캐터에게 투표해주셨습니다. 큰 도움에 감사드립니다!"}},apps:{explore:"익스플로러",myApps:"나의 앱",allCategories:"모든 카테고리"},app:{loginPermission:"사용 중인 계정",accountsProvided:"사용 중인 계정",requiredFields:"필수 필드",mutableFields:"변수 필드",removePermission:"권한 제거",removeIdentity:"로그인 권한은 각 애플리케이션에 스캐터 접근 권한을 주는 것을 의미합니다. 해당 애플리케이션의 로그인 권한을 제거함으로써 강제로 로그아웃 할 수 있습니다.",removeWhitelist:"화이트 리스트 기능은 트랜잭션 서명을 위한 팝업이 계속 뜨는 것을 방지합니다. 해당 화이트 리스트를 제거할까요?"},wallet:{noKeys:{title:"현재 보유하고 있는 키가 없습니다.",description:"하단의 버튼을 이용하여 키를 불러오거나, 새로이 생성하세요."},generateKey:"키 생성하기",importKey:"키 불러오기",addCreditCard:"신용카드 추가하기"},account:{totalFiatBalance:"총 평가액",actions:{unlink_account:"계정 연결 끊기",change_permissions:"권한 변경하기",proxy_vote:"대리 투표 위임하기",create_account:"계정 생성하기"}},assets:{noAccounts:"계정이 없습니다."},histories:{sent:"출금",received:"입금",networkDisabled:"네트워크 불안정",clear:{title:"저장 내역 삭제",description:"전체 저장 내역을 삭제합니다. 키나 계정이 삭제되는 것은 아닙니다."}},identities:{identities:"신원인증",id:{nameLabel:"신원인증 이름 / 사용자 이름",namePlaceholder:"온라인 신원 이름",nameError:"신원인증 이름은 비워둘 수 없으며, 띄어쓰기와 특수문자는 사용할 수 없습니다."},personal:{nameLabel:"성명",namePlaceholder:"전체 성함을 입력하세요.",emailLabel:"이메일",dobLabel:"생년월일"},location:{title:"주소",noneSelected:"선택되지 않음"},auth:{title:"인증 키",description:"해당 인증 키를 꼭 저장해두세요. 특정 애플리케이션 사용에 따른 접근 권한을 얻기 위해서는 해당 인증 키가 꼭 필요합니다.",changeButton:"변경 / 확인"},removing:{title:"신원인증 제거",description:"{identity} 해당 신원인증을 제거할까요?"}},locations:{locations:"주소",nameLabel:"주소명",namePlaceholder:"집, 사무실, 기타",countryLabel:"국가",countryItemNone:"없음",addressLabel:"주소",cityLabel:"도시",stateLabel:"주",phoneLabel:"전화번호"},networks:{connectionError:"연결 실패!"},settings:{menu:{general:"일반",tokens:"토큰",explorers:"익스플로러",backup:"백업",firewall:"방화벽",password:"비밀번호",destroy:"초기화"},base:{basics:"기본 설정",secure:"보안 설정"},general:{version:"버전",language:"언어",simpleMode:"심플 모드",simpleModeDescription:"심플 모드는 일반 사용자에게 적합합니다. 현재 사용 중이신 어드밴스 모드는 전문적인 사용자 또는 개발자에게 적합합니다.",notifications:"화이트 리스트 알림",notificationsDescription:"해당 알림은 화이트 리스트가 적용된 트랜잭션에 자동으로 서명할 때에 특정한 오퍼레이팅 시스템에서 작동합니다.",ports:"포트 열기",portsDescription:"해당 포트는 로컬 머신의 포트로써 로컬 애플리케이션이 스캐터에 접근하여 사용할 수 있습니다.",noPorts:"열려있는 포트가 없습니다!",dataPath:"데이터 파일 저장 공간",dataPathDescription:"스캐터가 해당 저장 공간에 데이터를 암호화하여 저장합니다.",devConsole:"개발자 콘솔",devConsoleDescription:"가끔씩 스캐터에서 오류가 나면 이곳을 확인해주세요.",devConsoleButton:"콘솔 열기"},backup:{title:"백업 설정",description:"현재 스캐터에서 사용 중인 모든 키, 권한, 설정 내역을 저장하여 백업합니다.",autobackup:"자동 백업 저장 공간 설정",create:"백업 파일 생성하기",currentFolder:"현재 백업 저장 공간",created:"백업 파일 생성!"},destroy:{title:"스캐터 초기화",description:"스캐터를 초기화하면 현재 컴퓨터에 저장된 모든 신원인증, 키, 설정을 삭제합니다. 실제 블록체인에 기록되어 있는 블록체인 계정을 삭제하는 것은 아닙니다.",important:"스캐터를 초기화하기 전에, 백업 파일을 생성해두었는지 꼭 확인하십시오!",button:"스캐터 초기화"},firewall:{ridl:{title:"탈중앙화 방화벽",description:"RIDL Defender는 스캐터가 출시한 탈중앙화 방화벽 시스템입니다. 이 시스템은 위험한 웹사이트, 애플리케이션, 계정으로부터 사용자를 보호합니다."},blocker:{title:"컨트랙트 액션 제한",description:"외부 애플리케이션으로부터 해당 액션을 허용하지 않습니다.",blacklisted:"블랙리스트 액션"}},password:{title:"비밀번호 변경",description:"비밀번호를 주기적으로 변경하는 것을 권장합니다. 여러 곳에서 동일한 비밀번호를 사용하는 것은 해킹의 위험성을 높입니다.",button:"비밀번호 변경하기",changed:"비밀번호가 변경되었습니다!",pin:{title:"PIN 변경하기",description:"PIN을 활성화하면, PIN이 보조 비밀번호 역할을 합니다. 화이트 리스트에 등록되지 않은 트랜잭션에 서명할 때마다 PIN 입력이 필요합니다. 비밀번호와 동일하게 PIN을 설정하지 마십시오.",disabled:"PIN 비활성화",changed:"PIN 변경 완료!",pinForAllTitle:"외부 애플리케이션을 사용할 때에 PIN을 활용하세요.",pinForAllDescription:"PIN을 활성화하면, 외부 애플리케이션을 사용할 때 뜨는 모든 팝업에 PIN을 입력해야 합니다. 그외에 스캐터 앱에서의 송금 및 거래에도 PIN 입력이 필요합니다."}},tokens:{switch:{add:"토큰 추가",whitelist:"토큰",blacklist:"필터링",settings:"설정"},whitelistButton:"화이트 리스트 토큰",blacklistButton:"블랙리스트 토큰",hidePrimaryBalance:"주요 자산 숨김",hidePrimaryBalanceDescription:"퀵 액션 바에서 자산을 보이지 않도록 합니다.",filterSmallBalances:"소규모 보유 잔고 숨기기",filterSmallBalancesDescription:"자산 규모가 작은 토큰을 숨기려면 이곳에서 설정하세요.",noTokens:"토큰 없음"}},receive:{receiver:"입금받을 계정",sendTo:"자산을 이 계정으로 입금합니다.",forEosio:"몇몇 거래소에서 주소 태그, 메모 등의 부수적인 내용을 입력하라고 요구할 것입니다. 이 계정은 EOSIO 상의 실제 계정이기 때문에, 해당 부분에 어떠한 내용을 입력해도 상관없습니다."},exchange:{fromAndToken:"계정과 토큰",priceNotAvailable:"가격 사용 불가",loadingPairs:"거래쌍 로딩 중",noPairs:"거래쌍 사용 불가",loadingRate:"비율 로딩 중",errorTitle:"거래소 오류",errorDescription:"거래소 API에 연결할 수 없습니다."},transfer:{sender:"출금할 계정",receiver:"입금받을 계정",amountTitle:"자산 및 세부 사항",priceNotAvailable:"가격 사용 불가",memo:"메모 (선택 입력)",loadingBalances:"아직 자산 내역 로딩 중입니다."},editNetwork:{systemToken:"시스템 토큰",memorableName:"기억할 수 있는 이름으로 입력하세요.",host:"Host",protocol:"Protocol",port:"Port",chainIdTooltip:"Fetch Chain ID",update:"세부 사항 업데이트",systemTokenTitle:"네트워크 시스템 토큰",systemTokenDescription:"몇몇 네트워크는 디폴트 시스템 토큰 대신에 커스텀 토큰을 사용합니다. (ETH, EOS, TRX 등)"},keysAndAccountsList:{actions:{editName:"이름 수정",copyPublicKey:"퍼블릭 키 복사",refreshAccounts:"계정 새로 고침",convertBlockchain:"블록체인 변경",removeKey:"키 제거",linkAccount:"계정 연동"},noAccounts:{title:"해당 키에 연결된 계정이 없습니다.",requiresPayment:"{blockchain} 블록체인에서 계정을 생성하려면 소정의 비용이 필요합니다.",checkEnabled:"네트워크에 {blockchain} 블록체인이 활성화되어 있는지를 확인하십시오.",createAccountButton:"지금 신규 생성하기!"},linkedAccounts:"연결된 계정",changeKeypairNameTitle:"키쌍 이름 변경하기",changeKeypairNameDescription:"키쌍 이름은 오로지 사용자가 관리 측면에서 사용하는 기능입니다. 블록체인이나 계정의 키쌍에 영향을 미치지 않습니다."},panels:{keypair:{selectHardware:"하드웨어 지갑 선택",availableHardwareChains:"사용 가능한 블록체인",hardwareIndex:"키/계정 색인",importTextKeyTitle:"프라이빗 키 불러오기",importTextKeyDescription:"프라이빗 키 자체가 디바이스에 저장되지 않습니다. 스캐터는 트랜잭션에 서명할 때에만 이를 사용하며, 사용자를 제외한 아무 누구도 접근할 수 없습니다. 프라이빗 키를 저장하기에 스캐터도 안전한 공간이지만, 오프라인 상태인 공간에도 백업 파일을 저장해둘 것을 권장합니다.",validTextKeyWarn:"유효한 키를 입력하면, 자동으로 불러오기가 실행됩니다.",scanQR:"QR 코드 스캔하기"}},popins:{fullscreen:{addCustomNetwork:"커스텀 네트워크 추가",addNewContact:"신규 연락처 추가",changeIdentityKey:"신원 인증 키",generateRandomKey:"임의의 키 생성",saveIdentityKey:"신규 신원인증 키 저장",checkHardwareTitle:"하드웨어 체크",checkHardwareDescription:"하드웨어 디바이스에서 확인 창을 보실 수 있습니다.",confirmPassword:"비밀번호 확인",securityCode:"보안 코드 입력",changePermissions:{title:"계정 키 변경",disclaimer:"주의하십시오!",disclaimerDescription:"해당 계정의 사용 권한을 가지고 있는 키를 변경하는 작업입니다. 키 변경이 어떤 결과를 초래할 것인지 완벽히 이해한 경우에만 진행하십시오.",owner:"오너 키 / 마스터 키",active:"액티브 키 / 데일리 키",dontChange:"현재 상태로 두기"},createAccount:{title:"게정 생성",exchangeDescription:"계정 생성 비용을 거래소 또는 다른 계정에서 전송하여 지불할 수 있습니다.",cardDescription:"해당 옵션은 현재 사용이 불가능합니다.",startTyping:"사용하고 싶은 계정 이름을 입력하여 생성 가능 여부를 확인하세요.",includeMemo:"송금 시에 해당 메모를 꼭 입력하세요. 그렇지 않으면 자산을 찾을 수 없게 됩니다.",clickAfter:"전송 완료 후에 클릭하세요.",lookingTitle:"계정 검색 중",lookingDescription:"스캐터가 30분간 계정 생성 내역을 확인합니다. 계정 생성이 완료되면 자동으로 스캐터에 해당 계정이 추가됩니다.",exchangeErrorTitle:"거래소 계정 생성 오류",exchangeErrorDescription:"거래소에서 송금 후, 30분이 지났습니다. 해당 계정이 아직 만들어진 것 같지 않습니다. 거래소에서 이체 내역을 확인해보세요.",accountFoundTitle:"계정 검색 완료!",accountFoundDescription:"스캐터가 거래소를 이용하여 생성한 계정을 찾았습니다. 이제 지갑에서 해당 계정을 확인하실 수 있습니다.",nameTooShort:"계정 이름은 12글자여야만 합니다.",nameFormatting:"계정 이름은 영문 소문자만 가능합니다.",checkingName:"계정 이름을 사용할 수 있을지 확인하고 있습니다...",nameTaken:"이 계정 이름은 누군가 사용 중입니다."},moderateCpu:{available:"사용 가능한 {token}",reclaiming:"회수 중인 {token}",stake:"스테이킹",unstake:"언스테이킹"},moderateRam:{type:"종류",bytesError:"15 bytes 이상이어야 합니다."},exportKey:{title:"프라이빗 키 내보내기",disclaimer:"프라이빗 키를 항상 안전하게 보관하세요!",description:"항상 프라이빗 키를 내보내기 하여 백업을 저장해두세요. 프라이빗 키를 분실한 경우에는 절대로 자산을 되찾을 수 없습니다.",keyTitle:"키",keyDescription:"해당 프라이빗 키를 텍스트로 내보내기",qrTitle:"종이 지갑",qrDescription:"해당 프라이빗 키를 암호화된 QR 코드로 내보내기",privateKeyAsText:"텍스트 프라이빗 키",privateKeyAsQR:"QR 코드 종이 지갑",savedImage:"이미지가 저장되었습니다!"},generateKey:{title:"키쌍 생성하기"},importBackup:{title:"백업 파일로 복구하기",description:"백업 파일을 불러와서 스캐터를 복구할 수 있습니다. 백업 파일 사용을 위해서는 비밀번호 입력이 필요합니다.",buttonTitle:"백업 파일 선택하기",buttonDescription:"백업 파일은 .json 또는 .txt 로 저장되어 있습니다.",errorParsing:"해당 백업 파일을 불러오는 도중에 오류가 발생했습니다.",errorDecrypting:"해당 백업 파일을 복호화하는 도중에 오류가 발생했습니다.",errorReading:"해당 백업 파일을 불러올 수 없습니다."},importKeypair:{title:"키쌍 불러오기",text:"텍스트",hardware:"하드웨어",qrCode:"QR 코드",invalidPrivateKey:"유효하지 않은 프라이빗 키"},removeKeypair:{title:"키 제거하기",permanent:"이 작업은 되돌릴 수 없습니다.",removesAll:"키를 제거하면 해당 키와 연결된 모든 계정과 권한도 함께 제거됩니다. 한번 키를 제거한 이후에는 다시 생성할 수 없습니다."},unlinkAccount:{title:"계정 연결 끊기",description:"계정 연결을 끊으면 해당 계정이 사용 중인 모든 애플리케이션에서 권한을 제거합니다.",disclaimer:"계정 연결을 끊더라도 블록체인에서 해당 계정이 삭제되는 것은 아닙니다. 계정과 스캐터와의 연결을 끊는 것입니다."}},overlay:{exchanging:"거래 중",transferring:"전송 중",confirmPin:"PIN 입력",selectAccount:"계정 선택",selectBlockchain:"블록체인 선택",selectDisplayToken:"표시할 토큰 선택",selectFiatCurrency:"표시할 통화 선택",selectBlockchainToken:"블록체인 토큰 선택",selectPublicKey:"퍼블릭 키 선택",selectRecipient:"수취인 선택",selectToken:"토큰 선택",allBlockchains:"모든 블록체인",selectTokenAndAccount:"토큰과 계정 선택",transactionSuccess:"트랜잭션 성공!",viewTransactionOn:"링크를 클릭하여 {explorer}에서 확인하세요.",enableSimpleMode:{},enterPin:{},linkAccount:{title:"EOSIO 계정 연결",description:"이 작업으로 연결할 수 없거나 활성화된 히스토리 플러그인이 없는 계정에 연결할 수 있습니다.",selectNetwork:"네트워크 선택",button:"연결",noNetworksAvailable:"연결 가능한 EOSIO 네트워크가 없습니다!"}}},popouts:{popoutApp:{noImage:"이미지 없음",reputation:{unknown:"알려지지 않은 평판임",trusty:"믿을 수 있음",scam:"사기로 알려져 있음"}},requiredFields:{title:"신원인증 필드 입력 필요",personalInformation:"개인 정보:"},login:{suffix:"해당 내용을 확인합니다.:",dangerousPermission:"오너 권한으로 서명합니다. 주의가 필요합니다.",allAccountsFor:"모든 계정은:",allAccountsDescription:"{app}이 특정한 네트워크의 모든 계정의 확인 권한을 요청합니다. 이는 앞으로 해당 애플리케이션이 확인 권한을 요청한 네트워크에 연결된 모든 계정에 트랜잭션 서명을 요청할 수 있다는 뜻입니다.",noInfoNeededTitle:"해당 애플리케이션은 어떠한 개인 정보나 계정 정보를 요구하지 않습니다.",noInfoNeededDescription:"해당 애플리케이션이 요구하는 정보는 오직 사용자 이름과 같은 신원인증 정보입니다.",noAccountsTitle:"해당 네트워크에 계정이 없습니다.",noAccountsDescription:"애플리케이션을 사용하려면 계정 생성이 필요합니다.",personalInformation:"개인 정보:",requestingPersonalInformation:"{app}이 개인 정보를 요청합니다. 해당 애플리케이션은 요청한 정보만 확인할 수 있으며, 스캐터 신원인증에 작성해둔 정보는 확인할 수 없습니다."},getPublicKey:{suffix:"퍼블리 키 요청 중",select:"키 선택",generate:"신규 키 생성"},linkApp:{suffix:"재연결 중",description:"애플리케이션의 이름을 반드시 확인하십시오. 해당 애플리케이션이 실제 사용하려는 애플리케이션이 맞는지 재확인 하십시오. 만약 다르다면, 해킹을 시도하는 악성 앱일 가능성이 있습니다."},transferRequest:{suffix:"전송 요청 중",selectAccount:"계정 선택"},updateIdentity:{suffix:"요구 중",changeName:"신원인증 이름 변경",addKycProofs:"KYC 증명 추가"},signature:{moreAccounts:"계정 더 보기",keysInvolved:"관련 키",accountsInvolved:"관련 계정",previouslyWhitelisted:"화이트 리스트에 등록했던 액션입니다.",hiddenAction:"숨겨진 액션이 있습니다.",dangerous:"서명 하려는 하나 이상의 액션에 주의가 필요합니다!",dangerousAction:"해당 액션에 주의가 필요합니다!",dangerousTooltip:"해당 액션에 주의가 필요합니다. 이 액션으로 말미암아 키가 변경된다거나 해당 계정의 사용 권한이 다른 사람에게 넘어갈 수 있습니다. 키를 다시 한번 확인하십시오!",whitelistThis:"이 트랜잭션을 화이트 리스트에 등록할 수 있습니다. 화이트 리스트에 등록하면, 해당 트랜잭션이 자동으로 수락됩니다.",whitelistExplainer:"화이트 리스트를 변경하지 않고도 체크박스를 선택하여 변경할 수 있습니다.",actionsTotal:"총 {x}개의 액션"}},errors:{badPassword:"잘못된 비밀번호입니다.",passwordConfirmation:"입력한 비밀번호와 일치하지 않습니다.",keypairExists:"해당 키쌍 또는 퍼블릭 키가 이미 저장되어 있습니다.",transferError:"토큰 전송 중에 오류가 발생하였습니다.",badQrDecryption:"QR 코드 복호화 중에 오류가 발생하였습니다. 해당 QR 코드에 입력하였던 비밀번호가 맞는지 다시 한번 확인해주십시오."}}},"+auW":function(e,t,a){var n=a("Wq3F");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,a("SZ7m").default)("af729698",n,!0,{})},"14NY":function(e,t,a){var n=a("idEn");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,a("SZ7m").default)("6ba29438",n,!0,{})},"4iyD":function(e,t,a){"use strict";var n=a("IM4h");a.n(n).a},"5Not":function(e,t,a){"use strict";a.r(t),t.default={generic:{back:"Назад",skip:"Пропустить",next:"Далее",confirm:"Подтвердить",accept:"Принять",allow:"Разрешить",deny:"Запретить",okay:"Okay",cancel:"Cancel",open:"Открыть",yes:"Да",no:"Нет",actions:"Действия",enable:"Включить",disable:"Выключить",send:"Отправить",receive:"Принять",select:"Выбрать",unselect:"Отменить выбор",edit:"Править",add:"Добавить",save:"Сохранить",new:"Новый",delete:"Удалить",remove:"Исключить",remove_all:"Исключить Все",copy:"Копия",import:"Импорт",export:"Экспорт",refresh:"Обновить",manage:"Управлять",private_key:"Личный ключ | Личные ключи",public_key:"Публичный ключ | Публичные ключи",cards:"Карта | Карты",expired:"Просрочен",keys:"Ключ | Ключи",hide:"Спрятать",reveal:"Раскрыть",tokens:"Токен | Токены",networks:"Сеть | Сети",blockchains:"Блокчейн | Блокчейны",contracts:"Контракт | Контракты",memo:"Примечание",symbol:"Символ",decimals:"Десятичные",chain_id:"Chain ID",name:"Имя",accounts:"Аккаунт | Аккаунты",search:"Поиск",buy:"Купить",sell:"Продать",contacts:"Контакты",history:"История",exchange:"Обменять",view:"Смотреть",redo:"Повторить",promoted:"Повышен",addressOrAccount:"Адрес или аккаунт",pleaseWait:"Ждите...",selectToken:"Выберите токен",selectBlockchain:"Выберите блокчейн"},sidebar:{dashboard:"Панель",apps:"Приложения",wallet:"Кошелек",assets:"Активы",identities:"Личности",locations:"Расположения",contacts:"Контакты",history:"История",networks:"Сети",settings:"Настройки",lock:"Закрыть кошелек"},login:{registerButtonTitle:"Начнем",registerButtonSubtitle:"Давайте настроим Scatter",reset:"Сбросить",restore:"Восстановить",support:"Поддержка",passwordPlaceholder:"Введите пароль"},setPassword:{title:"Установить надежный пароль",description:"Надежные пароли должны содержать не менее 8 символов и включать как минимум один номер и один специальный символ.",choosePass:"Выберите пароль",confirmPass:"Подтвердите пароль"},welcome:{title:"Добро пожаловать в будущее",description:"Ваш Scatter настроен и готов к использованию.",button:"Начните использовать Scatter"},destroy:{title:"Уничтожить скаттер",disclaimer:"Перед этим убедитесь, что у вас есть резервные копии всех ваших личных ключей.",description:"Уничтожение Scatter необратимо, и вы не сможете восстановить данные без резервных копий."},dashboard:{vote:{title:"Голосуйте за Scatter",subTitle:"Покажите нам немного любви!",description:"Мы запустили EOS Mainnet Block Producer, за который вы теперь можете голосовать. Помогите нам занять позицию блок продюсера, проголосовав за нас.",button:"Голосуйте сейчас!",voted:"Проголосовали за Scatter на {total} chains. Спасибо за вашу помощь!"}},apps:{explore:"Исследовать",myApps:"Мои приложения",allCategories:"Все категории"},app:{loginPermission:"Права доступа",accountsProvided:"Предоставленные аккунты ",requiredFields:"Обязательные поля",mutableFields:"Изменяемые поля",removePermission:"Удалить разрешение",removeIdentity:"Разрешения на вход в систему позволяют приложениям взаимодействовать с вашим Scatter. Вы можете принудительно выйти из приложения, удалив это разрешение.",removeWhitelist:"Белые списки действий позволяют избежать постоянно всплывающих окон для подписания транзакций. Вы хотите удалить этот белый список?"},wallet:{noKeys:{title:"У вас нет ключей",description:"Нажмите одну из кнопок ниже, чтобы импортировать ключ, который у вас уже есть, или сгенерировать новый."},generateKey:"Создать ключ",importKey:"Импортировать ключ",addCreditCard:"Добавить кредитную карту"},account:{totalFiatBalance:"Итого фиат баланс",actions:{unlink_account:"Отвязать аккаунт",change_permissions:"Изменить разрешения",proxy_vote:"Прокси голование",create_account:"Создать аккаунт"}},assets:{noAccounts:"Нет аккаунтов"},histories:{sent:"Послано",received:"Получено",networkDisabled:"Сеть отключена",clear:{title:"Очистка истории",description:"Вы собираетесь стереть всю свою локальную историю. Это не удалит ключи или аккаунты."}},identities:{identities:"Личности",id:{nameLabel:"Имя личности / Пользователь",namePlaceholder:"Ваше присутствие в Интернете",nameError:"Имя личности не может быть пустым, содержать пробелы или специальные символы."},personal:{nameLabel:"Полное имя",namePlaceholder:"Введите свое полное имя",emailLabel:"Email",dobLabel:"Дата рождения"},location:{title:"Расположение",noneSelected:"Не выбрано"},auth:{title:"Ключ аутентификации",description:"Убедитесь, что вы сохранили копию этого ключа аутентификации, он понадобится вам для восстановления доступа к определенным приложениям, которым он требуется.",changeButton:"Изменить / Смотреть"},removing:{title:"Удаление личности",description:"Вы уверены, что хотите удалить {identity}"}},locations:{locations:"Расположения",nameLabel:"Имя расположения",namePlaceholder:"Дом, Офис, пр.",countryLabel:"Страна",countryItemNone:"Не выбрано",addressLabel:"Адрес",cityLabel:"Город",stateLabel:"Штат (регион)",phoneLabel:"Номер телефона"},networks:{connectionError:"Ошибка соединения!"},settings:{menu:{general:"Основные",tokens:"Токены",explorers:"Исследователи",backup:"Резервные копии",firewall:"Межсетевой экран",password:"Пароль",destroy:"Уничтожить"},base:{basics:"Основные",secure:"Настройки безопасности"},general:{version:"Версия",language:"Язык",simpleMode:"Простой режим",simpleModeDescription:"Простой режим предназначен для обычных пользователей, в то время как расширенный режим (тот, который вы используете в данный момент) предназначен для очень технических пользователей и разработчиков.",notifications:"Белый список уведомлений",notificationsDescription:"Эти уведомления появляются в определенных операционных системах, когда вы автоматически подписываете транзакции из белого списка.",ports:"Открытые порты",portsDescription:"Это порты, открытые на вашем локальном компьютере, которые другие локальные приложения могут использовать для связи со Scatter.",noPorts:"Нет открытых портов!",dataPath:"Расположение файла данных",dataPathDescription:"Каталог на вашем компьютере, в котором Scatter сохраняет свои зашифрованные данные.",devConsole:"Консоль разработчика",devConsoleDescription:"Иногда вам может понадобиться проверить, выдаёт ли Scatter какие-либо ошибки.",devConsoleButton:"Открыть консоль"},backup:{title:"Настроить резервирование",description:"Резервные копии позволяют сохранить состояние всего Scatter, включая все ключи, разрешения и настройки.",autobackup:"Выберите место для автоматического резервного копирования",create:"Создать резервную копию",currentFolder:"Текущая папка резервного копирования",created:"Резервная копия создана!"},destroy:{title:"Уничтожить Scatter",description:"Уничтожение вашего Scatter приведет к удалению всех ваших данных, включая ваши идентификационные данные и ключевые пары, с вашего локального компьютера. Он не удалит ваши учетные записи блокчейна из фактического блокчейна.",important:"УБЕДИТЕСЬ, ЧТО У ВАС ЕСТЬ РЕЗЕРВНАЯ КОПИЯ, ПРЕЖДЕ ЧЕМ ДЕЛАТЬ ЭТО!",button:"Уничтожить Scatter"},firewall:{ridl:{title:"Децентрализованный межсетевой экран",description:"RIDL Defender - это патентованная децентрализованная система межсетевого экрана Scatter. Он помогает защитить вас от вредоносных веб-сайтов, приложений и учетных записей."},blocker:{title:"Органичения действий контракта",description:"Эти действия не будут разрешены из внешних приложений.",blacklisted:"Действия в черном списке"}},password:{title:"Поменяйте ваш пароль",description:"Смена пароля периодически очень полезна. Мы часто используем одни и те же пароли в разных местах, что увеличивает вероятность их обнаружения.",button:"Изменить пароль",changed:"Пароль изменен!",pin:{title:"Изменить ваш PIN",description:"Если этот код включен, ваш PIN-код является дополнительным паролем, который требуется каждый раз, когда вы выполняете действие, которое не занесено в белый список. Не делайте его таким же, как ваш пароль.",disabled:"PIN отключен",changed:"PIN изменен!",pinForAllTitle:"Используйте PIN-код для взаимодействия с внешними приложениями.",pinForAllDescription:"Если вы включите это, вам также потребуется вводить PIN-код для каждого всплывающего окна, создаваемого внешним приложением. В противном случае ваш PIN-код потребуется только для внутренних действий Scatter, таких как отправка и обмен."}},tokens:{switch:{add:"Добавить токен",whitelist:"Токены",blacklist:"Отфильтровано",settings:"Настройки"},whitelistButton:"Белый список токенов",blacklistButton:"Черный список токенов",hidePrimaryBalance:"Скрыть основной баланс",hidePrimaryBalanceDescription:"Позволяет скрыть баланс в панели быстрых действий.",filterSmallBalances:"Не показывать малые балансы",filterSmallBalancesDescription:"Если вы хотите всегда фильтровать токены с небольшими балансами, вы можете установить эту натройку.",noTokens:"Нет токенов"}},receive:{receiver:"Аккаунт для получения",sendTo:"Отправить средства на",forEosio:"Некоторые биржи попросят вас указать addressTag, memo или другую форму второго поля ввода. Вы можете ввести все что угодно в это поле, так как это настоящий аккаунт EOSIO."},exchange:{fromAndToken:"От & Токен",priceNotAvailable:"Price not available",loadingPairs:"Загрузка пар",noPairs:"Нет доступных пар",loadingRate:"Загрузка цен",errorTitle:"Ошибка обмена",errorDescription:"Не удается подключиться к API обмена."},transfer:{sender:"Отправка из",receiver:"Отправка в",amountTitle:"Сумма & Детали",priceNotAvailable:"Цена не доступна",memo:"Памятка (необязательно)",loadingBalances:"Ваши балансы еще не загружены."},editNetwork:{systemToken:"Системный токен",memorableName:"Добавьте запоминающееся имя",host:"Хост",protocol:"Протокол",port:"Порт",chainIdTooltip:"Получить Chain ID",update:"Обновить данные",systemTokenTitle:"Сетевой системный токен",systemTokenDescription:"В некоторых сетях вместо системного токена по умолчанию используется собственный системный токен (например, ETH, EOS или TRX)."},keysAndAccountsList:{actions:{editName:"Редактировать имя",copyPublicKey:"Копировать публичный ключ",refreshAccounts:"Обновить аккаунты",convertBlockchain:"Конвертировать блокчейн",removeKey:"Удалить ключ",linkAccount:"Связать аккаунт"},noAccounts:{title:"У вас нет аккаунтов, связанных с этим ключом.",requiresPayment:"{blockchain} блокчейн требует, чтобы вы заплатили небольшую плату за создание учетных записей.",checkEnabled:"Убедитесь, что у вас есть сеть для включенния блокчейна {blockchain}.",createAccountButton:"Создайте его сейчас!"},linkedAccounts:"Связанный аккаунты",changeKeypairNameTitle:"Изменить имя пары ключей",changeKeypairNameDescription:"Название пары ключей необходимо только для организационных целей. Это не влияет на блокчейн или сам ключ."},panels:{keypair:{selectHardware:"Выберите аппаратный кошелек",availableHardwareChains:"Доступные блокчейны",hardwareIndex:"Индекс ключа/адреса",importTextKeyTitle:"Импортировать свой приватный ключ",importTextKeyDescription:"Ваш закрытый ключ никогда не покидает ваше устройство. Мы используем его только для подписания транзакций, и никто, кроме вас, не будет иметь к нему доступа. Пожалуйста, помните, что, хотя Scatter - это хорошее место для хранения вашего ключа, у вас всегда должна быть его резервная копия где-то в автономном режиме.",validTextKeyWarn:"Как только вы введете действительный ключ, он автоматически импортирует его.",scanQR:"Сканировать QR-код"}},popins:{fullscreen:{addCustomNetwork:"Добавить пользовательскую сеть",addNewContact:"Добавить новый контакт",changeIdentityKey:"Идентификационный ключ",generateRandomKey:"Создать случайный ключ",saveIdentityKey:"Сохранить новый ключ идентификации",checkHardwareTitle:"Проверить оборудование",checkHardwareDescription:"Вы должны увидеть подтверждение на вашем аппаратном устройстве.",confirmPassword:"Подтвердите пароль",securityCode:"Введите код безопасности",changePermissions:{title:"Изменение ключей аккаунта",disclaimer:"Это может быть опасно!",disclaimerDescription:"Вы собираетесь изменить ключи, управляющие этим аккаунтом. Убедитесь, что вы знаете, что делаете.",owner:"Owner / Мастер ключ",active:"Active / Daily key",dontChange:"Оставить как есть"},createAccount:{title:"Создать аккаунт",exchangeDescription:"Вы можете отправить средства с биржи или другого кошелька для создания аккаунта.",cardDescription:"Эта опция в настоящее время отключена.",startTyping:"Начните вводить имя, чтобы увидеть, доступно ли оно.",includeMemo:"Убедитесь, что вы ввели поле memo при отправке, иначе ваши средства будут потеряны!",clickAfter:"Нажмите после перевода",lookingTitle:"Ищем аккаунт",lookingDescription:"Scatter будет постоянно искать созданный аккаунт в течение следующих 30 минут. Как только он будет найден, он будет автоматически добавлен в ваш Scatter.",exchangeErrorTitle:"Ошибка создания аккунта",exchangeErrorDescription:"30 минут прошло с тех пор, как вы отправили деньги со своей биржи. Похоже, аккаунт еще не создан. Вам следует проверить статус транзакции на бирже.",accountFoundTitle:"Аккаунт найден!",accountFoundDescription:"Скаттер обнаружил аккаунт, который вы создали, используя биржу. Теперь вы можете увидеть его в своем кошельке.",nameTooShort:"Имя аккаунта должно быть длиной 12 символов.",nameFormatting:"Имя аккаунта должно состоять только из строчных букв.",checkingName:"Проверка доступности имени...",nameTaken:"Это имя уже занято"},moderateCpu:{available:"Доступно {token}",reclaiming:"Reclaiming {token}",stake:"Stake",unstake:"Unstake"},moderateRam:{type:"Тип",bytesError:"Количество байт должно быть больше 15"},exportKey:{title:"Экспорт приватного ключа",disclaimer:"Храните ваши приватные ключи в безопасности!",description:"Всегда экспортируйте свои закрытые ключи и убедитесь, что у вас есть их резервная копия. Вы не сможете восстановить свои токены, если потеряете их.",keyTitle:"Ключ",keyDescription:"Экспортируйте этот закрытый ключ как текст",qrTitle:"Бумажный кошелек",qrDescription:"Экспортируйте этот закрытый ключ как зашифрованный QR-код",privateKeyAsText:"Приватный ключ как текст",privateKeyAsQR:"QR-код бумажного кошелька",savedImage:"Изображение сохранено!"},generateKey:{title:"Создать пару ключей"},importBackup:{title:"Восстановить из резервной копии",description:"Если у вас есть резервная копия для Scatter, вы можете импортировать ее здесь, загрузив в Scatter. Вам все еще понадобится пароль, чтобы разблокировать его.",buttonTitle:"Выберите файл резервной копии",buttonDescription:"Они заканчиваются на .json или .txt",errorParsing:"При открытии этой резервной копии произошла ошибка",errorDecrypting:"При расшифровке этой резервной копии произошла ошибка",errorReading:"Этот файл резервной копии не может быть прочитан"},importKeypair:{title:"Импортировать пару ключей",text:"Текстовый",hardware:"Аппаратный",qrCode:"QR-код",invalidPrivateKey:"Неверный приватный ключ"},removeKeypair:{title:"Удаление ключа",permanent:"Это действие постоянно",removesAll:"Удаление ключей также удаляет все связанные с ним учетные записи и соответствующие разрешения. После того, как вы удалите ключ, он не может быть восстановлен."},unlinkAccount:{title:"Отвязать аккаунт",description:"Удаление связанной учетной записи также удаляет все ее разрешения для приложений.",disclaimer:"Это НЕ удалит аккаунт из блокчейна, только из Scatter."}},overlay:{exchanging:"Обмен",transferring:"Отправка",confirmPin:"Подтвердить PIN",selectAccount:"Выбрать аккаунт",selectBlockchain:"Выбрать блокчейн",selectDisplayToken:"Выбрать токен для показа",selectFiatCurrency:"Выбрать фиатную валюту",selectBlockchainToken:"Выбрать токен блокчейна",selectPublicKey:"Выбрать публичный ключ",selectRecipient:"Выберать получателя",selectToken:"Выбрать токен",allBlockchains:"Все блокчейны",selectTokenAndAccount:"Выбрать токен и аккаунт",transactionSuccess:"Транзакция успешна!",viewTransactionOn:"Нажмите на ссылку ниже, чтобы посмотреть на {explorer}",enableSimpleMode:{},enterPin:{},linkAccount:{title:"Связать EOSIO аккаунт",description:"Позволяет связывать учетные записи в сетях, к которым вы либо не можете подключиться, либо к которым не подключены подключаемые модули истории.",selectNetwork:"Выберите сеть",button:"Связать",noNetworksAvailable:"Нет доступных EOSIO сетей!"}}},popouts:{popoutApp:{noImage:"Нет изображения",reputation:{unknown:"Неизвестная репутация",trusty:"Достоверно",scam:"Известная афера"}},requiredFields:{title:"Обязательные поля идентификации",personalInformation:"Личные данные:"},login:{suffix:"увидим:",dangerousPermission:"Вы входите в систему с правами owner. Это опасно.",allAccountsFor:"Все аккаунты для:",allAccountsDescription:"{app} запрашивает просмотр каждоого аккаунта для указанной сети. Это означает, что он сможет запрашивать подписи транзакций для любого аккаунта, который вы связали с любой из запрошенных сетей.",noInfoNeededTitle:"Это приложение не запрашивает какую-либо личную информацию или аккаунт.",noInfoNeededDescription:"Единственная информация, которую получит это приложение, - это базовая идентификационная информация, такая как ваше имя пользователя.",noAccountsTitle:"У вас нет аккаунтов в этой сети",noAccountsDescription:"Вам необходимо создать аккаунт, прежде чем вы сможете использовать приложения.",personalInformation:"Личные данные:",requestingPersonalInformation:"{app} запрашивает личную информацию. Он(а/о) сможет видеть только то, что запрашивается, и ничего другого, что вы, возможно, не заполнили в своей личности Scatter."},getPublicKey:{suffix:"хочет, чтобы вы предоставили публичный ключ",select:"Выберите ключ",generate:"Создайте новый ключ"},linkApp:{suffix:"восстанавливает связь",description:"Убедитесь, что имя приложения - это приложение, с которым вы сейчас взаимодействуете. Если это не так, это может быть опасное приложение, пытающееся действовать как другое."},transferRequest:{suffix:"запрашивает перевод",selectAccount:"Выберите аккаунт"},updateIdentity:{suffix:"хочет",changeName:"Измените свое имя",addKycProofs:"Добавить доказательства KYC"},signature:{moreAccounts:"больше аккаунтов",keysInvolved:"Ключи участвуют",accountsInvolved:"Аккаунты участвуют",previouslyWhitelisted:"Это действие было ранее занесено в белый список",hiddenAction:"Действие скрыто",dangerous:"Одно или несколько действий, которые вы собираетесь подписать, опасны!",dangerousAction:"Это действие опасно!",dangerousTooltip:"Это действие опасно. Принятие его изменит ваши ключи и, возможно, передаст вашу учетную запись кому-то еще. Убедитесь, что ключи верны.",whitelistThis:"Вы можете внести это в белый список, чтобы вам не приходилось повторно принимать эту транзакцию.",whitelistExplainer:"Флажки, которые отмечены, могут изменять свои значения, не нарушая белый список.",actionsTotal:"{x} действий всего"}},errors:{badPassword:"Неверный пароль",passwordConfirmation:"Подтверждение пароля не совпадает с паролем",keypairExists:"Пара ключей с таким именем или публичным ключом уже существует",transferError:"Произошла ошибка при попытке отправить токены",badQrDecryption:"Произошла ошибка при расшифровке этого QR-кода. Вы уверены, что пароль для этого QR-кода правильный?"}}},"8+QQ":function(e,t,a){var n=a("jU6B");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,a("SZ7m").default)("0e227e66",n,!0,{})},BI9a:function(e,t,a){(e.exports=a("JPst")(!1)).push([e.i,"",""])},FuTf:function(e,t,a){(e.exports=a("JPst")(!1)).push([e.i,".line[data-v-7c4b4aec]{width:100%;height:1px;background:rgba(0,0,0,0.1);margin-top:30px}.port[data-v-7c4b4aec]{display:flex;font-weight:bold}.port[data-v-7c4b4aec]:not(:last-child){margin-bottom:5px}.port .ssl[data-v-7c4b4aec]{font-size:9px;padding:2px 6px;background:#0799ff;color:#fff;border-radius:4px;display:flex;align-items:center;justify-content:center;margin-left:10px}\n",""])},IEea:function(e,t,a){"use strict";var n=a("bxHY");a.n(n).a},IM4h:function(e,t,a){var n=a("MxNQ");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,a("SZ7m").default)("cb969114",n,!0,{})},JtMT:function(e,t,a){"use strict";a.r(t);var n=a("L2JU"),i=a("qjwK"),s=a("Gbp+"),o=a("IfgB"),r=a("gbBq"),c=a("q+A3"),l=a("K4Y4"),d={data:()=>({dataPath:null}),computed:{...Object(n.d)(["scatter","ports"]),...Object(n.c)(["version","networks","language"]),showNotifications(){return this.scatter.settings.showNotifications},locales:()=>[{locale:"en",name:"English"},{locale:"zh",name:"Mandarin (普通話)"},{locale:"es",name:"Spanish (Español)"},{locale:"ko",name:"Korean (한국어)"},{locale:"ru",name:"Russian (русский)"}]},async mounted(){this.dataPath=await l.a.appPath()},methods:{async enableSimpleMode(){o.a.push(s.a.enableSimpleMode(async e=>{e&&(await window.wallet.storage.setSimpleMode(!0),await window.wallet.lock(),window.wallet.utility.reload(null,!0))}))},openFilePathLink(){this.openInBrowser(this.dataPath,!0)},openConsole(){window.wallet.utility.openTools(window.wallet.windowId)},async toggleNotifications(){const e=this.scatter.clone();e.settings.showNotifications=!e.settings.showNotifications,this[i.SET_SCATTER](e)},selectLanguage(e){const t=a("ST/w")(`./${e}`).default;this.$i18n.setLocaleMessage(e,t),this.$i18n.locale=e,window.wallet.storage.setLanguage(e)},...Object(n.b)([i.SET_SCATTER,c.p])}},u=(a("euUh"),a("KHd+")),p=Object(u.a)(d,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("section",{staticClass:"action-box top-pad"},[a("label",[e._v(e._s(e.$t("settings.general.version")))]),e._v(" "),a("b",[e._v("Scatter Desktop v"+e._s(e.version))])]),e._v(" "),a("section",{staticClass:"action-box top-pad"},[a("label",[e._v(e._s(e.$t("settings.general.language")))]),e._v(" "),a("Select",{attrs:{bordered:"1",options:e.locales,selected:e.locales.find((function(t){return t.locale===e.$i18n.locale})),parser:function(e){return e.name}},on:{selected:function(t){return e.selectLanguage(t.locale)}}})],1),e._v(" "),a("section",{staticClass:"action-box top-pad"},[a("label",[e._v(e._s(e.$t("settings.general.notifications")))]),e._v(" "),a("p",[e._v(e._s(e.$t("settings.general.notificationsDescription")))]),e._v(" "),a("Switcher",{attrs:{state:e.showNotifications},nativeOn:{click:function(t){return e.toggleNotifications(t)}}})],1),e._v(" "),a("section",{staticClass:"action-box top-pad"},[a("label",[e._v(e._s(e.$t("settings.general.ports")))]),e._v(" "),a("p",[e._v(e._s(e.$t("settings.general.portsDescription")))]),e._v(" "),a("br"),e._v(" "),e.ports&&Object.keys(e.ports).length?a("section",e._l(e.ports,(function(t,n){return a("section",{staticClass:"port"},[e._v("\n "+e._s(n)+"\n "),t?a("figure",{staticClass:"ssl"},[e._v("SSL")]):e._e()])})),0):a("section",[e._v(e._s(e.$t("settings.general.noPorts")))])]),e._v(" "),e.dataPath?a("section",{staticClass:"action-box top-pad"},[a("label",[e._v(e._s(e.$t("settings.general.dataPath")))]),e._v(" "),a("p",[e._v(e._s(e.$t("settings.general.dataPathDescription")))]),e._v(" "),a("br"),e._v(" "),a("br"),e._v(" "),a("Input",{staticStyle:{"margin-bottom":"0"},attrs:{"dynamic-button":"icon-folder-open-empty",disabled:"1",text:e.dataPath},on:{dynamic:e.openFilePathLink}})],1):e._e(),e._v(" "),a("section",{staticClass:"action-box top-pad"},[a("label",[e._v(e._s(e.$t("settings.general.devConsole")))]),e._v(" "),a("p",[e._v(e._s(e.$t("settings.general.devConsoleDescription")))]),e._v(" "),a("Button",{attrs:{text:e.$t("settings.general.devConsoleButton")},nativeOn:{click:function(t){return e.openConsole(t)}}})],1)])}),[],!1,null,"7c4b4aec",null).exports,m=a("IMve"),b=a.n(m),v=a("F+MN"),g=a("RNqi"),h=a("GwxU"),k=a.n(h),f=a("ONSl"),y=a.n(f),T=a("AZxv");const _={ADD_TOKEN:"addToken",WHITELIST:"whitelist",BLACKLIST:"blacklist",SETTINGS:"settings"};let w;var S={components:{TokenSymbol:T.a,SearchBar:g.a},data:()=>({state:_.WHITELIST,STATES:_,blockchain:null,blockchains:v.BlockchainsArray,newToken:k.a.placeholder(),addingToken:!1,searchTerms:"",balanceFilters:{}}),mounted(){this.newToken.blockchain=v.Blockchains.EOSIO,this.newToken.chainId=b.a.plugin(v.Blockchains.EOSIO).getEndorsedNetwork().chainId,this.balanceFilters=this.scatter.settings.balanceFilters},computed:{...Object(n.d)(["scatter"]),...Object(n.c)(["tokens","networks","blacklistTokens","displayToken","displayCurrency","hideMainBalance"]),visibleTokens(){return this.state===_.BLACKLIST?this.blacklistTokens:this.tokens},contractPlaceholder(){return b.a.plugin(this.newToken.blockchain).contractPlaceholder()},terms(){return this.searchTerms.trim().toLowerCase()},filteredNetworks(){return this.networks.filter(e=>e.blockchain===this.newToken.blockchain)}},methods:{filterTokensByTerms(e){return e.filter(e=>e.symbol.toLowerCase().indexOf(this.terms)>-1||e.name.toLowerCase().indexOf(this.terms)>-1||e.blockchain.toLowerCase().indexOf(this.terms)>-1||this.blockchainName(e.blockchain).toLowerCase().indexOf(this.terms)>-1)},defaultDecimals(e){const t=b.a.plugin(e).defaultDecimals();let a="0.";for(let e=0;e{const e=this.scatter.clone();e.settings.balanceFilters=this.balanceFilters,this[i.SET_SCATTER](e)},500)}}},x=(a("YHlr"),Object(u.a)(S,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("section",{staticClass:"panel-switch"},[a("figure",{staticClass:"button",class:{active:e.state===e.STATES.ADD_TOKEN},on:{click:function(t){e.state=e.STATES.ADD_TOKEN}}},[e._v(e._s(e.$t("settings.tokens.switch.add")))]),e._v(" "),a("figure",{staticClass:"button",class:{active:e.state===e.STATES.WHITELIST},on:{click:function(t){e.state=e.STATES.WHITELIST}}},[e._v(e._s(e.$t("settings.tokens.switch.whitelist")))]),e._v(" "),a("figure",{staticClass:"button",class:{active:e.state===e.STATES.BLACKLIST},on:{click:function(t){e.state=e.STATES.BLACKLIST}}},[e._v(e._s(e.$t("settings.tokens.switch.blacklist")))]),e._v(" "),a("figure",{staticClass:"button",class:{active:e.state===e.STATES.SETTINGS},on:{click:function(t){e.state=e.STATES.SETTINGS}}},[e._v(e._s(e.$t("settings.tokens.switch.settings")))])]),e._v(" "),a("section",{staticClass:"scroller"},[e.state===e.STATES.ADD_TOKEN?a("section",[a("section",{staticClass:"split-inputs"},[a("section",{staticStyle:{flex:"1"}},[a("label",[e._v(e._s(e.$tc("generic.blockchains",1)))]),e._v(" "),a("Select",{attrs:{bordered:"1",selected:{value:e.newToken.blockchain},options:e.blockchains,parser:function(t){return e.blockchainName(t.value)}},on:{selected:function(t){return e.newToken.blockchain=t.value}}})],1),e._v(" "),a("section",{staticStyle:{flex:"1"}},[a("label",[e._v(e._s(e.$tc("generic.networks",1)))]),e._v(" "),a("Select",{attrs:{bordered:"1",selected:e.filteredNetworks.find((function(t){return t.chainId===e.newToken.chainId})),options:e.filteredNetworks,parser:function(e){return e.name}},on:{selected:function(t){return e.newToken.chainId=t.chainId}}})],1)]),e._v(" "),a("br"),e._v(" "),a("section",{staticClass:"split-inputs"},[a("section",{staticStyle:{flex:"1","margin-bottom":"0"}},[a("Input",{staticStyle:{"margin-bottom":"4px"},attrs:{label:e.$t("generic.name"),text:e.newToken.name},on:{changed:function(t){return e.newToken.name=t}}})],1),e._v(" "),a("Input",{staticStyle:{flex:"1","margin-bottom":"4px"},attrs:{placeholder:e.contractPlaceholder,label:e.$tc("generic.contracts",1),text:e.newToken.contract},on:{changed:function(t){return e.newToken.contract=t}}})],1),e._v(" "),a("br"),e._v(" "),a("section",{staticClass:"split-inputs"},[a("Input",{attrs:{placeholder:"XXX",label:e.$t("generic.symbol"),text:e.newToken.symbol},on:{changed:function(t){return e.newToken.symbol=t}}}),e._v(" "),a("Input",{attrs:{placeholder:"4",type:"number",label:e.$t("generic.decimals"),text:e.newToken.decimals},on:{changed:function(t){return e.newToken.decimals=t}}})],1),e._v(" "),a("section",{staticClass:"split-inputs"},[a("Button",{staticStyle:{"max-width":"100%"},attrs:{text:e.$t("settings.tokens.whitelistButton")},nativeOn:{click:function(t){return e.addToken(!1)}}}),e._v(" "),a("Button",{staticStyle:{"max-width":"100%"},attrs:{red:"1",text:e.$t("settings.tokens.blacklistButton")},nativeOn:{click:function(t){return e.addToken(!0)}}})],1)]):e._e(),e._v(" "),e.state===e.STATES.SETTINGS?a("section",[a("section",{staticClass:"action-box top-pad"},[a("label",[e._v(e._s(e.$t("settings.tokens.hidePrimaryBalance")))]),e._v(" "),a("p",[e._v(e._s(e.$t("settings.tokens.hidePrimaryBalanceDescription")))]),e._v(" "),a("br"),e._v(" "),a("br"),e._v(" "),a("Switcher",{attrs:{state:e.hideMainBalance},nativeOn:{click:function(t){return e.toggleHiddenBalance(t)}}})],1),e._v(" "),a("section",{staticClass:"action-box top-pad"},[a("label",[e._v(e._s(e.$t("settings.tokens.filterSmallBalances")))]),e._v(" "),a("p",[e._v(e._s(e.$t("settings.tokens.filterSmallBalancesDescription")))]),e._v(" "),a("br"),e._v(" "),a("br"),e._v(" "),e._l(e.blockchains,(function(t){return a("Input",{key:t.value,attrs:{placeholder:e.defaultDecimals(t.value),label:e.blockchainName(t.value),text:e.balanceFilters[t.value],type:"number"},on:{changed:function(a){return e.balanceFilters[t.value]=a}}})}))],2)]):e._e(),e._v(" "),e.state===e.STATES.WHITELIST||e.state===e.STATES.BLACKLIST?a("section",[e.visibleTokens.length?a("section",{staticClass:"tokens"},e._l(e.visibleTokens,(function(t){return a("section",{staticClass:"badge-item hoverable"},[a("TokenSymbol",{attrs:{token:t}}),e._v(" "),a("section",{staticClass:"details"},[a("figure",{staticClass:"title"},[t.amount?a("span",[e._v(e._s(e.formatNumber(t.amount,!0)))]):e._e(),e._v(" "+e._s(t.symbol))]),e._v(" "),a("figure",{staticClass:"row long"},[a("figure",{staticClass:"secondary"},[e._v(e._s(t.network().name)+" ("+e._s(e.blockchainName(t.blockchain))+")")]),e._v(" "),a("figure",{staticClass:"primary"},[e._v(e._s(t.contract))])])]),e._v(" "),a("section",{staticClass:"actions"},[a("Button",{attrs:{text:e.$t("generic.remove")},nativeOn:{click:function(a){return e.removeToken(t)}}})],1)],1)})),0):a("section",{staticClass:"no-tokens"},[e._v("\n "+e._s(e.$t("settings.tokens.noTokens"))+"\n ")])]):e._e()])])}),[],!1,null,"50ccb9cb",null).exports),E=a("9s7N"),C=a.n(E),A={data:()=>({blockchains:v.Blockchains,blockchainsArray:v.BlockchainsArray,availableExplorers:[]}),computed:{...Object(n.d)(["scatter"]),...Object(n.c)(["explorers"]),defaultExplorers(){const e=b.a.defaultExplorers();return Object.keys(e).reduce((t,a)=>(t[a]=[e[a]],t),{})}},mounted(){this.setExplorers()},methods:{async setExplorers(){this.availableExplorers=await C.a.getExplorers()},changedExplorer(e,t){const a=this.scatter.clone();a.settings.explorers[e]=t,this[i.SET_SCATTER](a)},blockchainName:e=>Object(v.blockchainName)(e),...Object(n.b)([i.SET_SCATTER])}},P=(a("4iyD"),Object(u.a)(A,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[e.explorers?a("section",{staticClass:"action-box top-pad"},e._l(e.blockchainsArray,(function(t){return a("section",[a("label",[e._v(e._s(e.blockchainName(t.value)))]),e._v(" "),a("Select",{attrs:{bordered:"1",options:e.availableExplorers.hasOwnProperty(t.value)?e.availableExplorers[t.value]:e.defaultExplorers[t.value],selected:e.explorers[t.value],parser:function(e){return e.name}},on:{selected:function(a){return e.changedExplorer(t.value,a)}}})],1)})),0):e._e()])}),[],!1,null,"ccd2138e",null).exports),I=a("MIPw"),N={data:()=>({strategies:r.BACKUP_STRATEGIES}),computed:{...Object(n.d)(["scatter"]),...Object(n.c)(["autoBackup"])},mounted(){I.a.setBackupStrategy(r.BACKUP_STRATEGIES.AUTOMATIC)},methods:{openFilePathLink(){this.openInBrowser(this.scatter.settings.backupLocation,!0)},async setBackupLocation(){await I.a.setBackupLocation()},async createBackup(){await I.a.createBackup()&&o.a.push(s.a.snackbar(this.$t("settings.backup.created")))},...Object(n.b)([i.SET_SCATTER])}},O=(a("toTd"),Object(u.a)(N,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("section",{staticClass:"action-box top-pad"},[a("label",[e._v(e._s(e.$t("settings.backup.title")))]),e._v(" "),a("p",[e._v(e._s(e.$t("settings.backup.description")))]),e._v(" "),a("br"),e._v(" "),a("section",{staticClass:"split-inputs"},[a("Button",{staticStyle:{flex:"1"},attrs:{text:e.$t("settings.backup.autobackup")},nativeOn:{click:function(t){return e.setBackupLocation()}}}),e._v(" "),a("Button",{staticStyle:{flex:"0.6"},attrs:{text:e.$t("settings.backup.create")},nativeOn:{click:function(t){return e.createBackup(t)}}})],1)]),e._v(" "),a("section",{staticClass:"action-box top-pad"},[a("label",[e._v(e._s(e.$t("settings.backup.currentFolder")))]),e._v(" "),a("Input",{staticStyle:{"margin-bottom":"0"},attrs:{"dynamic-button":"icon-folder-open-empty",disabled:"1",text:e.scatter.settings.backupLocation},on:{dynamic:e.openFilePathLink}})],1)])}),[],!1,null,"6295bb4a",null).exports),D={data:()=>({}),computed:{...Object(n.d)(["scatter"]),...Object(n.c)(["networks"])},methods:{destroy(){o.a.push(s.a.destroyScatter())}}},B=(a("IEea"),Object(u.a)(D,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("section",{staticClass:"action-box top-pad"},[a("label",[e._v(e._s(e.$t("settings.destroy.title")))]),e._v(" "),a("p",[e._v(e._s(e.$t("settings.destroy.description")))]),e._v(" "),a("br"),a("br"),e._v(" "),a("section",{staticClass:"disclaimer red",staticStyle:{"margin-bottom":"0"}},[a("b",[e._v(e._s(e.$t("settings.destroy.important")))])]),e._v(" "),a("br"),e._v(" "),a("br"),e._v(" "),a("Button",{attrs:{text:e.$t("settings.destroy.button"),red:"true"},nativeOn:{click:function(t){return e.destroy(t)}}})],1)])}),[],!1,null,"7977ca48",null).exports),L=a("0rDn"),R=a.n(L);let q;var K={props:["mnemonic"],data:()=>({password:"",confirmPassword:"",pin:""}),computed:{...Object(n.d)(["scatter"])},mounted(){this.pin=this.scatter.pin?this.scatter.pin:""},methods:{async changePassword(){const e=R.a.hasError(this.password);return e?o.a.push(s.a.snackbar(e)):this.password!==this.confirmPassword?o.a.push(s.a.snackbar(this.$t("errors.passwordConfirmation"))):(await window.wallet.changePassword(this.password),this.password="",this.confirmPassword="",this[i.LOAD_HISTORY](),void o.a.push(s.a.snackbar(this.$t("settings.password.changed"))))},async changePin(){clearTimeout(q),q=setTimeout(async()=>{await R.a.setPIN(this.pin,!1),o.a.push(s.a.snackbar(this.$t("settings.password.pin.changed"),"check"))},500)},togglePinForAll(){const e=this.scatter.clone();e.pinForAll=!e.pinForAll,this[i.SET_SCATTER](e)},...Object(n.b)([i.SET_SCATTER,i.LOAD_HISTORY])},watch:{pin(e,t){t&&this.changePin()}}},F=(a("a75T"),Object(u.a)(K,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("section",{staticClass:"action-box top-pad"},[a("label",[e._v(e._s(e.$t("settings.password.title")))]),e._v(" "),a("p",[e._v(e._s(e.$t("settings.password.description")))]),e._v(" "),a("br"),a("br"),e._v(" "),a("Input",{attrs:{label:e.$t("setPassword.choosePass"),type:"password",text:e.password},on:{changed:function(t){return e.password=t}}}),e._v(" "),a("Input",{attrs:{label:e.$t("setPassword.confirmPass"),type:"password",text:e.confirmPassword},on:{changed:function(t){return e.confirmPassword=t}}}),e._v(" "),a("Button",{attrs:{red:"true",text:e.$t("settings.password.button")},nativeOn:{click:function(t){return e.changePassword(t)}}})],1),e._v(" "),a("section",{staticClass:"action-box"},[a("label",[e._v(e._s(e.$t("settings.password.pin.title")))]),e._v(" "),a("p",[e._v(e._s(e.$t("settings.password.pin.description")))]),e._v(" "),a("br"),a("br"),e._v(" "),a("Input",{staticStyle:{"margin-bottom":"0"},attrs:{big:"1",placeholder:e.$t("settings.password.pin.disabled"),type:"password",text:e.pin,"dynamic-button":e.pin.length?"icon-cancel":""},on:{dynamic:function(t){e.pin=""},changed:function(t){return e.pin=t}}}),e._v(" "),a("section",[a("br"),e._v(" "),a("br"),e._v(" "),a("section",{staticClass:"split-inputs"},[a("Switcher",{attrs:{state:e.scatter.pinForAll},nativeOn:{click:function(t){return e.togglePinForAll(t)}}}),e._v(" "),a("section",{staticClass:"details"},[a("figure",{staticClass:"title"},[e._v(e._s(e.$t("settings.password.pin.pinForAllTitle")))]),e._v(" "),a("p",[e._v(e._s(e.$t("settings.password.pin.pinForAllDescription")))])])],1)])],1)])}),[],!1,null,"b0ebf3c0",null).exports),$={data:()=>({newContract:"",newAction:"",blockchains:v.BlockchainsArray.map(e=>e.value),blockchain:v.Blockchains.EOSIO}),computed:{...Object(n.d)(["scatter"]),...Object(n.c)(["blacklistActions"])},methods:{toggleFirewall(){const e=this.scatter.clone();e.settings.firewall=!e.settings.firewall,this[i.SET_SCATTER](e)},addBlacklistedAction(){const e=this.scatter.clone();e.settings.blacklistAction(this.blockchain,this.newContract,this.newAction),this[i.SET_SCATTER](e)},removeBlacklist(e,t){const[a,n]=e.split("::"),s=this.scatter.clone();s.settings.removeBlacklistedAction(a,n,t),this[i.SET_SCATTER](s)},...Object(n.b)([i.SET_SCATTER])}},j=(a("TEQ+"),{components:{SettingsGeneral:p,SettingsTokens:x,SettingsExplorer:P,SettingsBackup:O,SettingsDestroy:B,SettingsPassword:F,SettingsFirewall:Object(u.a)($,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("section",{staticClass:"action-box top-pad"},[a("label",[e._v(e._s(e.$t("settings.firewall.ridl.title")))]),e._v(" "),a("p",[e._v(e._s(e.$t("settings.firewall.ridl.description")))]),e._v(" "),a("Switcher",{attrs:{state:e.scatter.settings.firewall},nativeOn:{click:function(t){return e.toggleFirewall(t)}}})],1),e._v(" "),a("section",{staticClass:"action-box top-pad"},[a("label",[e._v(e._s(e.$t("settings.firewall.blocker.title")))]),e._v(" "),a("p",[e._v(e._s(e.$t("settings.firewall.blocker.description")))]),e._v(" "),a("br"),e._v(" "),a("br"),e._v(" "),a("label",[e._v("Add a new restricted action")]),e._v(" "),a("section",{staticClass:"split-inputs"},[a("Select",{attrs:{"start-left":"1",bordered:"1",options:e.blockchains,parser:function(t){return e.blockchainName(t)},selected:e.blockchain},on:{selected:function(t){return e.blockchain=t}}}),e._v(" "),a("Input",{attrs:{placeholder:"Contract",text:e.newContract},on:{changed:function(t){return e.newContract=t.trim().toLowerCase()}}}),e._v(" "),a("Input",{attrs:{placeholder:"Action",text:e.newAction},on:{changed:function(t){return e.newAction=t.trim().toLowerCase()}}})],1),e._v(" "),a("br"),e._v(" "),a("Button",{attrs:{blue:"1",text:"Add Restriction"},nativeOn:{click:function(t){return e.addBlacklistedAction(t)}}}),e._v(" "),a("br"),e._v(" "),a("br"),e._v(" "),a("hr"),e._v(" "),a("label",[e._v(e._s(e.$t("settings.firewall.blocker.blacklisted")))]),e._v(" "),a("br"),e._v(" "),a("section",{staticClass:"blacklisted-actions"},e._l(e.blacklistActions,(function(t,n){return a("section",{staticClass:"blacklist"},[a("figure",{staticClass:"blockchain"},[e._v(e._s(e.blockchainName(n.split("::")[0])))]),e._v(" "),a("figure",{staticClass:"contract"},[e._v(e._s(n.split("::")[1]))]),e._v(" "),a("figure",{staticClass:"actions"},e._l(t,(function(t){return a("figure",{staticClass:"action"},[a("figure",{staticClass:"action-name"},[e._v(e._s(t))]),e._v(" "),a("Button",{staticClass:"remove",attrs:{text:e.$t("generic.remove"),small:"1"},nativeOn:{click:function(a){return e.removeBlacklist(n,t)}}})],1)})),0)])})),0)],1)])}),[],!1,null,"0d4b0b56",null).exports},data:()=>({settingsOptions:r.SETTINGS_OPTIONS,selectedOption:r.SETTINGS_OPTIONS.GENERAL,unlocked:!1,mnemonic:null}),computed:{...Object(n.d)(["scatter"]),...Object(n.c)(["version"]),generalItems:()=>[r.SETTINGS_OPTIONS.GENERAL,r.SETTINGS_OPTIONS.TOKENS,r.SETTINGS_OPTIONS.EXPLORER,r.SETTINGS_OPTIONS.BACKUP],lockedItems:()=>[r.SETTINGS_OPTIONS.PASSWORD,r.SETTINGS_OPTIONS.FIREWALL,r.SETTINGS_OPTIONS.DESTROY]},mounted(){},methods:{selectOption(e){if(e&&e.locked&&!this.unlocked)return this.unlock(e);this.selectedOption=e},unlock(e){o.a.push(s.a.verifyPassword(t=>{t&&(this.mnemonic=t,this.unlocked=!0,this.selectOption(e))}))},translate(e){return this.$t("settings.menu."+e.name.toLowerCase())}}}),M=(a("O0Vi"),Object(u.a)(j,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("section",{staticClass:"blockchain-list-container"},[e.isMobile&&e.selectedOption?e._e():a("section",{staticClass:"blockchains",class:{"full-width":e.isMobile}},[a("section",{staticClass:"head"},[e._v("\n "+e._s(e.$t("settings.base.basics"))+"\n ")]),e._v(" "),a("section",{staticClass:"scroller dynamic"},[a("section",{staticClass:"blockchain-list"},e._l(e.generalItems,(function(t){return a("section",{staticClass:"badge-item hoverable",class:{active:e.selectedOption&&e.selectedOption.name===t.name},on:{click:function(a){return e.selectOption(t)}}},[a("section",{staticClass:"details"},[a("figure",{staticClass:"title"},[e._v(e._s(e.translate(t)))])]),e._v(" "),a("i",{staticClass:"fal fa-chevron-right"})])})),0)]),e._v(" "),a("section",{staticClass:"head"},[a("i",{staticClass:"danger icon-lock",class:{unlocked:e.unlocked}}),e._v("\n "+e._s(e.$t("settings.base.secure"))+"\n ")]),e._v(" "),a("section",{staticClass:"scroller dynamic"},[a("section",{staticClass:"blockchain-list"},e._l(e.lockedItems,(function(t){return a("section",{staticClass:"badge-item hoverable",class:{active:e.selectedOption&&e.selectedOption.name===t.name},on:{click:function(a){return e.selectOption(t)}}},[a("section",{staticClass:"details"},[a("figure",{staticClass:"title"},[e._v(e._s(e.translate(t)))])]),e._v(" "),a("i",{staticClass:"fal fa-chevron-right"})])})),0)])]),e._v(" "),!e.isMobile||e.selectedOption?a("section",{staticClass:"list-container"},[a("section",{staticClass:"head"},[e.isMobile?a("figure",{staticClass:"back-button",on:{click:function(t){return e.selectOption(null)}}},[a("i",{staticClass:"fal fa-arrow-left"})]):e._e(),e._v("\n "+e._s(e.translate(e.selectedOption))+"\n ")]),e._v(" "),a("section",{staticClass:"scroller"},[e.selectedOption.name===e.settingsOptions.GENERAL.name?a("SettingsGeneral"):e._e(),e._v(" "),e.selectedOption.name===e.settingsOptions.TOKENS.name?a("SettingsTokens"):e._e(),e._v(" "),e.selectedOption.name===e.settingsOptions.EXPLORER.name?a("SettingsExplorer"):e._e(),e._v(" "),e.selectedOption.name===e.settingsOptions.PASSWORD.name?a("SettingsPassword"):e._e(),e._v(" "),e.selectedOption.name===e.settingsOptions.BACKUP.name?a("SettingsBackup"):e._e(),e._v(" "),e.selectedOption.name===e.settingsOptions.DESTROY.name?a("SettingsDestroy"):e._e(),e._v(" "),e.selectedOption.name===e.settingsOptions.FIREWALL.name?a("SettingsFirewall"):e._e()],1)]):e._e()])])}),[],!1,null,"dc6ca730",null));t.default=M.exports},MxNQ:function(e,t,a){(e.exports=a("JPst")(!1)).push([e.i,".action-box>section[data-v-ccd2138e]:not(:first-child){margin-top:20px}\n",""])},O0Vi:function(e,t,a){"use strict";var n=a("8+QQ");a.n(n).a},"ST/w":function(e,t,a){var n={"./":"DolT","./en":"PQ0E","./en.js":"PQ0E","./es":"jmG+","./es.js":"jmG+","./index":"DolT","./index.js":"DolT","./ko":"+RRU","./ko.js":"+RRU","./ru":"5Not","./ru.js":"5Not","./zh":"cUFd","./zh.js":"cUFd"};function i(e){var t=s(e);return a(t)}function s(e){if(!a.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=s,e.exports=i,i.id="ST/w"},"TEQ+":function(e,t,a){"use strict";var n=a("dMwk");a.n(n).a},Wq3F:function(e,t,a){(e.exports=a("JPst")(!1)).push([e.i,"",""])},YHM3:function(e,t,a){(e.exports=a("JPst")(!1)).push([e.i,".split-inputs .input[data-v-0d4b0b56]{margin-bottom:0}@media (max-width: 600px){.split-inputs .input[data-v-0d4b0b56]{margin-bottom:10px}}.blacklisted-actions[data-v-0d4b0b56]{display:flex;flex-direction:column}.blacklisted-actions .blacklist[data-v-0d4b0b56]{padding:10px;border:1px solid #0799ff;border-radius:4px;margin-bottom:10px}.blacklisted-actions .blacklist .blockchain[data-v-0d4b0b56]{font-size:10px;padding:4px 8px;margin-right:10px;background:#0799ff;color:#fff;display:inline-block}.blacklisted-actions .blacklist .contract[data-v-0d4b0b56]{padding-right:20px;display:inline-block;font-size:12px;font-weight:bold}.blacklisted-actions .blacklist .actions[data-v-0d4b0b56]{margin-top:20px;display:flex;flex-direction:column}.blacklisted-actions .blacklist .actions .action[data-v-0d4b0b56]{display:flex;justify-content:space-between;align-items:center;padding:10px;border:1px solid #dfe0e1;border-radius:4px;width:100%;margin-bottom:5px}.blacklisted-actions .blacklist .actions .action[data-v-0d4b0b56]:last-child{margin-bottom:0}.blacklisted-actions .blacklist .actions .action .remove[data-v-0d4b0b56]{margin-left:20px}\n",""])},YHlr:function(e,t,a){"use strict";var n=a("14NY");a.n(n).a},a75T:function(e,t,a){"use strict";var n=a("ykfa");a.n(n).a},bs6C:function(e,t,a){var n=a("FuTf");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,a("SZ7m").default)("3153c494",n,!0,{})},bxHY:function(e,t,a){var n=a("BI9a");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,a("SZ7m").default)("978f5ed6",n,!0,{})},dMwk:function(e,t,a){var n=a("YHM3");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,a("SZ7m").default)("c16f5a00",n,!0,{})},euUh:function(e,t,a){"use strict";var n=a("bs6C");a.n(n).a},idEn:function(e,t,a){(e.exports=a("JPst")(!1)).push([e.i,".scroller[data-v-50ccb9cb]{padding:0;margin:0;height:calc(100vh - 230px);padding-right:10px;overflow-y:auto}.no-tokens[data-v-50ccb9cb]{padding:40px;display:flex;justify-content:center;align-items:center;font-size:36px;color:#f3f6f7;font-weight:bold}.badge-item[data-v-50ccb9cb]{align-items:center}.badge-item .token-symbol[data-v-50ccb9cb]{margin-right:10px}.fiat-currencies .items[data-v-50ccb9cb]{display:flex;flex-direction:row}.search[data-v-50ccb9cb]{margin-left:-30px}\n",""])},jU6B:function(e,t,a){(e.exports=a("JPst")(!1)).push([e.i,".blockchain-list-container .blockchains[data-v-dc6ca730]{height:calc(100vh - 70px);overflow-y:auto}.head .danger[data-v-dc6ca730]{background:#ff0707;color:#fff;font-size:10px;border-radius:4px;padding:3px 3px;margin-right:10px;overflow:hidden}.head .danger.unlocked[data-v-dc6ca730]{animation:popLock-data-v-dc6ca730 0.6s normal forwards ease;animation-delay:0.1s}@keyframes popLock-data-v-dc6ca730{0%{transform:scale(1)}20%{transform:scale(0.8)}60%{opacity:1;transform:scale(2)}80%{transform:scale(0.5);opacity:0;margin-left:0}100%{margin-left:-30px;opacity:0}}.list-container[data-v-dc6ca730]{height:100%}.list-container .scroller[data-v-dc6ca730]{padding:20px;height:calc(100vh - 140px);overflow-y:auto}\n",""])},"jmG+":function(e,t,a){"use strict";a.r(t),t.default={generic:{back:"Atrás",skip:"Omitir",next:"Próxima",confirm:"Confirmar",accept:"Aceptar",allow:"Permitir",deny:"Negar",okay:"Bueno",cancel:"Cancelar",open:"Abierto",yes:"Sí",no:"No",actions:"Comportamiento",enable:"Habilitar",disable:"Inhabilitar",send:"Enviar",receive:"Recibir",select:"Seleccionar",unselect:"Deseleccionar",edit:"Editar",add:"Añadir",save:"Salvar",new:"Nuevo",delete:"Eliminar",remove:"Retirar",remove_all:"Eliminar todo",copy:"Copiar",import:"Importar",export:"Exportar",refresh:"Refrescar",manage:"Gestionar",private_key:"Llave privada | Llaves privadas",public_key:"Llave pública | Llaves públicas",cards:"Tarjeta | Tarjetas",expired:"Muerto",keys:"Llave | Llaves",hide:"Esconder",reveal:"Revelar",tokens:"Ficha | Fichas",networks:"Red | Redes",blockchains:"Blockchain | Blockchains",contracts:"Contrato | Contratos",memo:"Memorándum",symbol:"Símbolo",decimals:"Decimales",chain_id:"ID de cadena",name:"Nombre",accounts:"Cuenta | Cuentas",search:"Buscar",buy:"Comprar",sell:"Vender",contacts:"Contactos",history:"Historia",exchange:"Intercambiar",view:"Ver",redo:"Rehacer",promoted:"Promovido",addressOrAccount:"Dirección o cuenta",pleaseWait:"Por favor espera",selectToken:"Selecciona un token",selectBlockchain:"Seleccione una blockchain"},sidebar:{dashboard:"Tablero",apps:"Aplicaciones",wallet:"Billetera",assets:"Bienes",identities:"Identidades",locations:"Localizaciones",contacts:"Contactos",history:"Historia",networks:"Redes",settings:"Configuraciones",lock:"Bloquear billetera"},login:{registerButtonTitle:"Empezar",registerButtonSubtitle:"Vamos a configurarlo con Scatter",reset:"Reiniciar",restore:"Restaurar",support:"Apoyo",passwordPlaceholder:"Ingresa tu contraseña"},setPassword:{title:"Establecer una contraseña segura",description:"Las contraseñas seguras tienen al menos 8 caracteres e incluyen al menos un número y un carácter especial.",choosePass:"Elije una contraseña",confirmPass:"Confirmar la contraseña"},welcome:{title:"Bienvenido al futuro",description:"Su Scatter está configurado y listo para usar.",button:"Comience a usar Scatter"},destroy:{title:"Destruye Scatter",disclaimer:"Antes de hacer esto, asegúrese de tener una copia de seguridad de todas sus claves privadas.",description:"Destruir su Scatter es irreversible, y no podrá restaurar ningún dato sin copias de seguridad."},dashboard:{vote:{title:"Vote por la dispersión",subTitle:"¡Muéstranos un poco de amor!",description:"Hemos lanzado un productor de bloques EOS Mainnet que ahora puede votar. Ayúdenos a alcanzar una posición de producción votando por nosotros.",button:"¡Vota ahora!",voted:"Votado por Scatter en {total} cadenas. ¡Gracias por tu ayuda!"}},apps:{explore:"Explorar",myApps:"Mis aplicaciones",allCategories:"Todas las categorias"},app:{loginPermission:"Cuentas proporcionadas",accountsProvided:"Cuentas proporcionadas",requiredFields:"Campos requeridos",mutableFields:"Campos mutables",removePermission:"Eliminar permiso",removeIdentity:"Los permisos de inicio de sesión son los que permiten que las aplicaciones interactúen con su Scatter. Puede forzar el cierre de sesión de una aplicación eliminando este permiso.",removeWhitelist:"Las listas blancas de acción lo hacen para que no tenga que seguir aceptando ventanas emergentes para firmar transacciones. ¿Desea eliminar esta lista blanca?"},wallet:{noKeys:{title:"No tienes llaves",description:"Haga clic en uno de los botones a continuación para importar una clave que ya tiene, o generar una nueva."},generateKey:"Generar clave",importKey:"Importar clave",addCreditCard:"Agregar tarjeta de crédito"},account:{totalFiatBalance:"Saldo total de Fiat",actions:{unlink_account:"Desvincular cuenta",change_permissions:"Cambiar permisos",proxy_vote:"Voto Proxy",create_account:"Crear una cuenta"}},assets:{noAccounts:"Sin cuentas"},histories:{sent:"Expedido",received:"Recibido",networkDisabled:"Red deshabilitada",clear:{title:"Borrar historial",description:"Estás a punto de borrar toda tu historia local. Esto no borrará claves o cuentas."}},identities:{identities:"Identidades",id:{nameLabel:"Nombre de identidad / Nombre de usuario",namePlaceholder:"Su presencia en línea",nameError:"El nombre del nombre de identidad no puede estar vacío, tener espacios o caracteres especiales."},personal:{nameLabel:"Nombre completo",namePlaceholder:"Ingrese su nombre completo",emailLabel:"Email",dobLabel:"Fecha de nacimiento"},location:{title:"Ubicación",noneSelected:"Ninguna seleccionada"},auth:{title:"Clave de autenticación",description:"Asegúrese de guardar una copia de esta clave de autenticación, la necesitará para recuperar el acceso a ciertas aplicaciones que lo requieren.",changeButton:"Cambio / Ver"},removing:{title:"Eliminar identidad",description:"¿Está seguro de que desea eliminar {identity}"}},locations:{locations:"Localizaciones",nameLabel:"Nombre del lugar",namePlaceholder:"Hogar, oficina, etc.",countryLabel:"País",countryItemNone:"Ninguno",addressLabel:"Dirección",cityLabel:"Ciudad",stateLabel:"Estado",phoneLabel:"Número de teléfono"},networks:{connectionError:"¡Error de conexión!"},settings:{menu:{general:"General",tokens:"Fichas",explorers:"Exploradores",backup:"Copias de seguridad",firewall:"Cortafuegos",password:"Contraseña",destroy:"Reiniciar"},base:{basics:"Lo esencial",secure:"Configuraciones seguras"},general:{version:"Versión",language:"Idioma",simpleMode:"Modo simple",simpleModeDescription:"El modo simple está dirigido a usuarios cotidianos, mientras que el modo avanzado (en el que estás actualmente) está dirigido a usuarios muy técnicos y desarrolladores.",notifications:"Notificaciones de la lista blanca",notificationsDescription:"Estas notificaciones aparecen en ciertos sistemas operativos cuando firma automáticamente las transacciones en la lista blanca.",ports:"Puertos abiertos",portsDescription:"Estos son los puertos abiertos en su máquina local que otras aplicaciones locales pueden usar para contactar a Scatter.",noPorts:"¡No hay puertos abiertos!",dataPath:"Ubicación del archivo de datos",dataPathDescription:"La ubicación en su computadora en la que Scatter guarda sus datos cifrados.",devConsole:"Consola de desarrollador",devConsoleDescription:"A veces es posible que necesite ver si Scatter está arrojando algún error.",devConsoleButton:"Consola abierta"},backup:{title:"Configurar copias de seguridad",description:"Las copias de seguridad le permiten guardar el estado de su Scatter completo, incluidas todas las claves, permisos y configuraciones.",autobackup:"Seleccionar ubicación de copia de seguridad automática",create:"Crear copia de seguridad",currentFolder:"Carpeta de respaldo actual",created:"Copia de seguridad creada!"},destroy:{title:"Destruye Scatter",description:"La destrucción de su Scatter eliminará todos sus datos, incluidas sus identidades y configuraciones de Keypair de su máquina local. No eliminará sus cuentas de blockchain de la cadena de bloques real.",important:"¡ASEGÚRESE DE TENER UN RESPALDO ANTES DE HACER ESTO!",button:"Destruye Scatter"},firewall:{ridl:{title:"Cortafuegos descentralizado",description:"RIDL Defender es el sistema de firewall descentralizado patentado de Scatter. Ayuda a protegerlo de sitios web, aplicaciones y cuentas maliciosas."},blocker:{title:"Restricción de acciones del contrato",description:"Estas acciones no serán permitidas desde aplicaciones externas.",blacklisted:"Acciones en la lista negra"}},password:{title:"Cambia tu contraseña",description:"Cambiar su contraseña periódicamente es muy saludable. A menudo usamos las mismas contraseñas en varios lugares, lo que lleva a una mayor posibilidad de que sean descubiertas.",button:"Cambia la contraseña",changed:"¡Contraseña cambiada!",pin:{title:"Cambia tu PIN",description:"Si está habilitado, su PIN es una contraseña secundaria que se requiere cada vez que realiza una acción no incluida en la lista blanca. No haga esto igual que su contraseña.",disabled:"PIN deshabilitado",changed:"PIN cambiado!",pinForAllTitle:"Use PIN para interacciones de aplicaciones externas.",pinForAllDescription:"Si habilita esto, también deberá ingresar su PIN para cada ventana emergente que haga una aplicación externa. De lo contrario, solo se requerirá su PIN para acciones internas de dispersión como transferencia e intercambio."}},tokens:{switch:{add:"Agregar ficha",whitelist:"Fichas",blacklist:"Filtrado",settings:"Configuraciones"},whitelistButton:"De lista blanca",blacklistButton:"De lista negra",hidePrimaryBalance:"Ocultar saldo primario",hidePrimaryBalanceDescription:"Le permite ocultar su saldo en la barra de acciones rápidas.",filterSmallBalances:"Filtrar saldos pequeños",filterSmallBalancesDescription:"Si desea filtrar siempre los fichas con pequeños saldos, puede establecer un modificador aquí.",noTokens:"Sin fichas"}},receive:{receiver:"Cuenta receptora",sendTo:"Enviar fondos a",forEosio:"Algunos intercambios le pedirán una etiqueta de dirección, memo o alguna otra forma de entrada secundaria. Puede ingresar cualquier cosa en ese campo ya que esta es una cuenta real de EOSIO."},exchange:{fromAndToken:"Desde y ficha",priceNotAvailable:"Precio no disponible",loadingPairs:"Cargando pares",noPairs:"No hay pares disponibles",loadingRate:"Tasa de carga",errorTitle:"Error de intercambio",errorDescription:"No se puede conectar a la API de Exchange."},transfer:{sender:"Enviando desde",receiver:"Enviando a",amountTitle:"Cantidad y detalles",priceNotAvailable:"Precio no disponible",memo:"Memo (opcional)",loadingBalances:"Sus saldos aún no han terminado de cargarse."},editNetwork:{systemToken:"Ficha del sistema",memorableName:"Agrega un nombre memorable",host:"Anfitrión",protocol:"Protocolo",port:"Puerto",chainIdTooltip:"Obtener ID de cadena",update:"Detalles de actualización",systemTokenTitle:"Ficha de sistema de red",systemTokenDescription:"Algunas redes usan un token de sistema personalizado en lugar del token de sistema predeterminado (como ETH, EOS o TRX)."},keysAndAccountsList:{actions:{editName:"Editar nombre",copyPublicKey:"Copiar clave pública",refreshAccounts:"Actualizar cuentas",convertBlockchain:"Convertir Blockchain",removeKey:"Eliminar clave",linkAccount:"Cuenta de enlace"},noAccounts:{title:"No tiene ninguna cuenta vinculada a esta clave.",requiresPayment:"{blockchain} blockchains requieren que pagues una pequeña tarifa para crear cuentas.",checkEnabled:"Asegúrese de tener una red para {blockchain} blockchain habilitada.",createAccountButton:"¡Crear una ahora!"},linkedAccounts:"Cuentas vinculadas",changeKeypairNameTitle:"Cambiar nombre de par de claves",changeKeypairNameDescription:"El nombre de un par de claves es solo para fines organizativos. No tiene ningún efecto en la cadena de bloques o la clave en sí."},panels:{keypair:{selectHardware:"Seleccione una billetera de hardware",availableHardwareChains:"Blockchains disponibles",hardwareIndex:"Índice de clave / dirección",importTextKeyTitle:"Importa tu clave privada",importTextKeyDescription:"Su clave privada nunca abandona su dispositivo. Solo usamos esto para firmar transacciones y nadie tendrá acceso a él excepto usted. Recuerde que aunque Scatter es un buen lugar para guardar su clave, siempre debe tener una copia de seguridad en algún lugar fuera de línea.",validTextKeyWarn:"Una vez que ingrese una clave válida, la importará automáticamente.",scanQR:"Escanea un código QR"}},popins:{fullscreen:{addCustomNetwork:"Agregar red personalizada",addNewContact:"Añadir nuevo contacto",changeIdentityKey:"Clave de autenticación de identidad",generateRandomKey:"Generar clave aleatoria",saveIdentityKey:"Guardar nueva clave de identidad",checkHardwareTitle:"Comprobar hardware",checkHardwareDescription:"Debería ver una confirmación en su dispositivo de hardware.",confirmPassword:"Confirmar contraseña",securityCode:"Ingrese el código de seguridad",changePermissions:{title:"Cambio de claves de cuenta",disclaimer:"¡Esto puede ser peligroso!",disclaimerDescription:"Está a punto de cambiar las claves que controlan esta cuenta. Asegúrate de saber lo que estás haciendo.",owner:"Propietario / clave maestra",active:"Clave activa / diaria",dontChange:"Dejar como está"},createAccount:{title:"Crear una cuenta",exchangeDescription:"Puede enviar fondos desde un intercambio u otra billetera para crear su cuenta.",cardDescription:"Esta opción está actualmente deshabilitada.",startTyping:"Comience a escribir un nombre para ver si está disponible.",includeMemo:"¡Asegúrese de incluir este memo cuando lo envíe o se perderán sus fondos!",clickAfter:"Haga clic después de la transferencia.",lookingTitle:"Buscando cuenta",lookingDescription:"Scatter buscará continuamente la cuenta que se creará durante los próximos 30 minutos. Una vez que se encuentre, se agregará automáticamente a su Scatter.",exchangeErrorTitle:"Error de creación de cuenta de Exchange.",exchangeErrorDescription:"Han pasado 30 minutos desde que enviaste dinero de tu intercambio. Parece que todavía no se ha creado una cuenta. Debe verificar el estado de la transacción en el intercambio.",accountFoundTitle:"Cuenta encontrada!",accountFoundDescription:"Scatter encontró la cuenta que creó usando un intercambio. Ahora puedes verlo en tu billetera.",nameTooShort:"El nombre de la cuenta debe tener 12 caracteres.",nameFormatting:"El nombre de la cuenta debe ser solo letras minúsculas.",checkingName:"Comprobando si el nombre está disponible...",nameTaken:"Este nombre ya ha sido tomado"},moderateCpu:{available:"Disponible {token}",reclaiming:"Reclamando {token}",stake:"Estaca",unstake:"Unstake"},moderateRam:{type:"Tipo",bytesError:"Los bytes deben ser mayores de 15"},exportKey:{title:"Exportando Clave Privada",disclaimer:"¡Mantenga sus claves privadas seguras!",description:"Exporte siempre sus claves privadas y asegúrese de tener una copia de seguridad de ellas. No podrás recuperar tus tokens si los pierdes.",keyTitle:"Clave",keyDescription:"Exportar esta clave privada como texto",qrTitle:"Billetera de papel",qrDescription:"Exporte esta clave privada como un código QR cifrado",privateKeyAsText:"Clave privada como texto",privateKeyAsQR:"Cartera de papel con código QR",savedImage:"Imagen guardada!"},generateKey:{title:"Generar par de claves"},importBackup:{title:"Restaurar desde copia de seguridad",description:"Si tiene una copia de seguridad para su Scatter, puede importarla aquí cargándola en Scatter. Aún necesitará la contraseña para desbloquearla.",buttonTitle:"Seleccione un archivo de respaldo",buttonDescription:"Estos terminarán con .json o .txt",errorParsing:"Se produjo un error al analizar esta copia de seguridad.",errorDecrypting:"Se produjo un error al descifrar esta copia de seguridad",errorReading:"Este archivo de copia de seguridad no se pudo leer"},importKeypair:{title:"Importar par de claves",text:"Texto",hardware:"Hardware",qrCode:"Código QR",invalidPrivateKey:"Clave privada inválida"},removeKeypair:{title:"Removiendo Llave",permanent:"Esta acción es permanente",removesAll:"La eliminación de claves también elimina todas sus cuentas vinculadas y sus respectivos permisos. Una vez que elimina una clave, no se puede regenerar."},unlinkAccount:{title:"Desvincular cuenta",description:"Al eliminar una cuenta vinculada, también se eliminan todos los permisos de sus aplicaciones.",disclaimer:"Esto NO eliminará la cuenta de blockchain, solo Scatter."}},overlay:{exchanging:"Intercambiando",transferring:"Transferencia",confirmPin:"Confirmar PIN",selectAccount:"Seleccionar cuenta",selectBlockchain:"Seleccionar Blockchain",selectDisplayToken:"Seleccione Mostrar ficha",selectFiatCurrency:"Seleccione una moneda fiduciaria",selectBlockchainToken:"Seleccione un ficha blockchain",selectPublicKey:"Seleccionar clave pública",selectRecipient:"Seleccionar destinatario",selectToken:"Seleccionar ficha",allBlockchains:"Todas las Blockchains",selectTokenAndAccount:"Seleccionar ficha y cuenta",transactionSuccess:"Transacción exitosa!",viewTransactionOn:"Haga clic en el enlace a continuación para ver en {explorer}",enableSimpleMode:{},enterPin:{},linkAccount:{title:"Vincular cuenta EOSIO",description:"Esto le permite vincular cuentas en redes a las que no puede acceder o no tiene complementos de historial habilitados.",selectNetwork:"Selecciona una red",button:"Enlazar",noNetworksAvailable:"¡No hay redes EOSIO disponibles!"}}},popouts:{popoutApp:{noImage:"Sin imágen",reputation:{unknown:"Reputación desconocida",trusty:"Digno de confianza",scam:"Estafa conocida"}},requiredFields:{title:"Campos de identidad requeridos",personalInformation:"Informacion personal:"},login:{suffix:"veremos:",dangerousPermission:"Estás iniciando sesión con tu permiso de propietario. Esto es peligroso.",allAccountsFor:"Todas las cuentas para:",allAccountsDescription:"{app} solicita ver todas las cuentas de una red específica. Esto significa que podrá solicitar firmas de transacciones para cualquier cuenta que haya vinculado a cualquiera de las redes solicitadas.",noInfoNeededTitle:"Esta aplicación no solicita ninguna información personal o cuentas.",noInfoNeededDescription:"La única información que recibirá esta aplicación es información básica de identidad, como su nombre de usuario.",noAccountsTitle:"No tienes cuentas para esta red",noAccountsDescription:"Debe crear una cuenta antes de poder usar aplicaciones.",personalInformation:"Informacion personal:",requestingPersonalInformation:"{app} está solicitando información personal. Solo podrá ver lo que se solicita y nada más que haya completado en su identidad de Scatter."},getPublicKey:{suffix:"quiere que proporciones una clave pública",select:"Selecciona una llave",generate:"Generar una nueva clave"},linkApp:{suffix:"está volviendo a vincular",description:"Asegúrese de que el nombre de la aplicación es una aplicación con la que está interactuando en este momento. Si no es así, podría ser una aplicación peligrosa tratando de actuar como una diferente."},transferRequest:{suffix:"está solicitando una transferencia",selectAccount:"Seleccionar cuenta"},updateIdentity:{suffix:"quiere",changeName:"Cambia tu nombre de identidad",addKycProofs:"Añadir pruebas KYC"},signature:{moreAccounts:"mas cuentas",keysInvolved:"Claves involucradas",accountsInvolved:"Cuentas involucradas",previouslyWhitelisted:"Esta acción se incluyó previamente en la lista blanca",hiddenAction:"La acción está oculta",dangerous:"¡Una o más de las acciones que está a punto de firmar es peligrosa!",dangerousAction:"¡Esta acción es peligrosa!",dangerousTooltip:"Esta acción es peligrosa. Aceptarlo cambiará sus claves y posiblemente le dará su cuenta a otra persona. Verifique que las claves sean correctas.",whitelistThis:"Puede incluir esto en la lista blanca para no tener que volver a aceptar esta transacción.",whitelistExplainer:"Las casillas de verificación que están marcadas pueden cambiar sus valores sin romper la lista blanca.",actionsTotal:"{x} acciones en total"}},errors:{badPassword:"Contraseña incorrecta",passwordConfirmation:"La confirmación de contraseña no coincide con la contraseña",keypairExists:"Ya existe un par de claves con ese nombre o clave pública",transferError:"Se produjo un error al intentar transferir fichas",badQrDecryption:"Se produjo un error al descifrar este QR. ¿Estás seguro de que la contraseña de este código QR es correcta?"}}},toTd:function(e,t,a){"use strict";var n=a("+auW");a.n(n).a},vXjn:function(e,t,a){(e.exports=a("JPst")(!1)).push([e.i,"",""])},ykfa:function(e,t,a){var n=a("vXjn");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,a("SZ7m").default)("60188d86",n,!0,{})}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{"/WVu":function(t,e,i){(t.exports=i("JPst")(!1)).push([t.i,".app-login[data-v-4557679a]{display:flex;justify-content:center;align-items:center;border:1px solid #dadada;border-top:0;height:calc(100vh - 40px)}.app-login .app-details[data-v-4557679a]{margin-top:-60px}.app-login .requirements[data-v-4557679a]{min-width:400px;text-align:left;max-width:80%;margin:10px auto}.app-login .requirements .authorities .select[data-v-4557679a]{margin-top:-7px}.app-login .requirements .dangerous-authority[data-v-4557679a]{background:#ff0707;border:1px solid #cb0606;color:#fff;font-size:10px;margin-bottom:10px;margin-top:-7px;padding:10px;border-radius:4px}.app-login .requirements .boxes[data-v-4557679a]{width:100%}.app-login .requirements .boxes .box[data-v-4557679a]{width:100%}.app-login .requirements .requirement[data-v-4557679a]{padding:10px 0;display:flex;align-items:center;position:relative}.app-login .requirements .requirement label[data-v-4557679a]{font-size:10px;padding-top:2px}.app-login .requirements .requirement .icon[data-v-4557679a]{padding-right:5px;align-self:flex-start;color:#7a7a7a;margin-left:-8px}.app-login .requirements .requirement .icon.bubble[data-v-4557679a]{padding:3px 2px;border-radius:50%;background:#0799ff;border:1px solid #0778dd;color:#fff;font-size:9px;cursor:pointer}.app-login .requirements .requirement .icon.bubble:hover ~ .bubble-explainer[data-v-4557679a]{display:block}.app-login .requirements .requirement .bubble-explainer[data-v-4557679a]{position:absolute;right:-10px;bottom:calc(100% - 10px);width:380px;font-size:10px;background:#fff;color:#333;box-shadow:0 2px 4px rgba(7,155,232,0.23),0 8px 24px rgba(7,155,232,0.23);padding:20px;border-radius:4px;display:none;z-index:999999}.app-login .requirements .requirement .text[data-v-4557679a]{flex:1;font-size:10px}.app-login .requirements .requirement.all-accounts[data-v-4557679a]{margin-top:10px;padding-top:20px;border-top:1px solid #dfe0e1}.app-login .requirements .requirement.all-accounts .icon[data-v-4557679a]:first-child{color:#0799ff}.app-login .requirements .requirement.all-accounts .network-accounts-list[data-v-4557679a]{max-height:100px;overflow-y:auto}.app-login .requirements .requirement.all-accounts .network-accounts[data-v-4557679a]{font-size:10px;font-weight:bold;display:inline-block;margin-right:5px}.app-login .requirements .requirement.all-accounts .network-accounts .name[data-v-4557679a]{color:#0799ff;text-decoration:underline}.app-login .requirements .requirement.personal[data-v-4557679a]{margin-top:10px;padding-top:20px;border-top:1px solid #dfe0e1}.app-login .requirements .requirement.no-accounts[data-v-4557679a]{text-align:center;width:350px;display:flex;justify-content:center;align-items:center;flex-direction:column;border:1px solid #0799ff;border-radius:4px;margin:20px auto 10px;padding:20px}.app-login .requirements .requirement.no-accounts .network-name[data-v-4557679a]{font-size:14px;font-weight:bold;margin-bottom:5px}.app-login .actions[data-v-4557679a]{margin-top:30px;position:absolute;bottom:30px;right:30px;left:30px;display:flex;justify-content:space-between}\n",""])},IeaP:function(t,e,i){"use strict";var n=i("L2JU"),a={components:{Scatter:i("wg2a").a},props:["app","suffix"],computed:{...Object(n.d)(["appReputation"]),...Object(n.c)(["ridlEnabled"]),unknownReputation(){return void 0===this.appReputation},trusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)>0},untrusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)<0}}},s=(i("tL4a"),i("KHd+")),o=Object(s.a)(a,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{staticClass:"app-details"},[t.untrusted?i("figure",{staticClass:"logo scam"},[i("i",{staticClass:"icon-attention"})]):i("figure",{staticClass:"logo",class:{border:"Scatter"!==t.app.applink&&!t.app.img}},["Scatter"===t.app.applink?i("Scatter"):t.app.img?i("img",{attrs:{src:t.app.img}}):i("span",[t._v(t._s(t.$t("popouts.popoutApp.noImage")))])],1),t._v(" "),t.ridlEnabled&&"Scatter"!==t.app.applink?i("section",[!1===t.appReputation?i("figure",{staticClass:"reputation"},[i("i",{staticClass:"icon-spin4 animate-spin"}),t._v(" loading reputation")]):i("section",[t.unknownReputation?i("figure",{staticClass:"reputation"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.unknown")))]):t._e(),t._v(" "),t.trusted?i("figure",{staticClass:"reputation trusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.trusty")))]):t._e(),t._v(" "),t.untrusted?i("figure",{staticClass:"reputation untrusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.scam")))]):t._e()])]):t._e(),t._v(" "),i("figure",{staticClass:"name"},[i("b",[t._v(t._s(t.app.name))]),t._v(" "),t.suffix?i("span",[t._v(t._s(t.suffix))]):t._e()])])}),[],!1,null,"3c121449",null);e.a=o.exports},J8XJ:function(t,e,i){var n=i("y5zb");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,i("SZ7m").default)("1a4d8aa0",n,!0,{})},L6xj:function(t,e,i){var n=i("p7K2");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,i("SZ7m").default)("c9a2862e",n,!0,{})},Wcjy:function(t,e,i){var n=i("/WVu");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,i("SZ7m").default)("3ee17790",n,!0,{})},h0p9:function(t,e,i){"use strict";var n=i("Wcjy");i.n(n).a},leBm:function(t,e,i){"use strict";i.r(e);var n=i("L2JU"),a=i("EY8S"),s=i("78si"),o=i.n(s),r=i("psvp"),l=i("IfgB"),c=i("Gbp+"),p=(i("F+MN"),i("+nw1")),u=i("IeaP");i("8olR");var d={props:["popup","expanded"],components:{PopOutApp:u.a,RequiredFields:r.a},data:()=>({account:null,selectedAccounts:[],searchTerms:"",selectedLocation:null,selectedIdentity:null,showingAll:!1,loginAll:!1,reputation:null}),created(){this.loginAll=this.popup.data.type===p.LOGIN_ALL,this.validAccounts.length&&(this.account=this.validAccounts[0]),this.selectIdentity(this.identities.sort((t,e)=>e.id===this.scatter.keychain.lastUsedIdentity?1:t.id===this.scatter.keychain.lastUsedIdentity?-1:0)[0])},computed:{...Object(n.d)(["scatter","balances"]),...Object(n.c)(["identity","identities","accounts","networks","locations"]),appData(){return this.popup.data.props.appData},validAccounts(){if(!this.accountRequirements.length)return[];return this.accountRequirements.map(t=>o.a.fromJson(t))[0].accounts().sort((t,e)=>"active"===e.authority?1:0).sort((t,e)=>e.logins-t.logins)},requestedNetworks(){return this.accountRequirements.map(t=>{const e=o.a.fromJson(t);return this.networks.find(t=>t.unique()===e.unique())})},network(){return o.a.fromJson(this.accountRequirements[0]||{})},savedNetwork(){return this.networks.find(t=>t.unique()===this.network.unique())},payload(){return this.popup.payload()},isValidIdentity(){return this.selectedIdentity.hasRequiredFields(this.fields,this.selectedLocation)},fields(){return a.IdentityRequiredFields.fromJson(this.payload.fields)},personalFields(){return this.fields.personal},locationFields(){return this.fields.location},missingFields(){return!(!this.personalFields.length&&!this.locationFields.length)&&!this.identity.hasRequiredFields(this.fields)},identityRequirements(){return this.fields.personal.concat(this.fields.location).join(", ")},accountRequirements(){return this.fields.accounts||[]},allRequirementsMet(){return!this.accountRequirements.length||!!this.validAccounts.length},onlyIdentityLogin(){return!this.fields.personal.length&&!this.fields.location.length&&!this.fields.accounts.length}},methods:{returnResult(t){this.$emit("returned",t)},selectTokenAndAccount(){l.a.push(c.a.selectAccount(t=>{t&&(this.account=t)},this.validAccounts))},login(){this.returnResult({identity:this.selectedIdentity,location:this.selectedLocation,accounts:this.account?[this.account]:[],missingFields:this.missingFields})},selectIdentity(t){this.selectedIdentity=t.clone(),t.getLocation()?this.selectedLocation=t.getLocation().clone():this.locations.length&&(this.selectedLocation=this.locations[0].clone())}}},g=(i("h0p9"),i("KHd+")),f=Object(g.a)(d,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",[i("PopOutHead",{attrs:{"id-selector":"1",identity:t.selectedIdentity},on:{closed:t.returnResult,identity:t.selectIdentity}}),t._v(" "),i("section",{staticClass:"app-login"},[i("section",[i("PopOutApp",{attrs:{app:t.appData,suffix:t.account?t.$t("popouts.login.suffix"):""}}),t._v(" "),i("section",{staticClass:"requirements"},[!t.loginAll&&t.validAccounts.length?i("section",{staticClass:"requirement account"},[i("section",{staticClass:"boxes"},[i("section",{staticClass:"box account-selector",on:{click:t.selectTokenAndAccount}},[i("section",[i("figure",{staticClass:"name"},[t._v(t._s(t.account.sendable()))]),t._v(" "),i("figure",{staticClass:"network"},[t._v(t._s(t.account.network().name))])]),t._v(" "),i("figure",{staticClass:"chevron fas fa-caret-square-down"})])])]):t._e(),t._v(" "),!t.loginAll&&t.account&&"owner"===t.account.authority?i("section",{staticClass:"dangerous-authority"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("popouts.login.dangerousPermission"))+"\n\t\t\t\t")]):t._e(),t._v(" "),!t.loginAll&&t.account&&t.account.authorities(!1).length>1?i("section",{staticClass:"authorities"},[i("Select",{attrs:{bordered:"1",options:t.account.authorities(!1),parser:function(t){return t.authority},iconparser:function(t){return"owner"===t.authority?{class:"icon-attention red"}:""},selected:t.account},on:{selected:function(e){return t.account=e}}})],1):t.loginAll&&t.validAccounts.length?i("section",{staticClass:"requirement all-accounts"},[i("figure",{staticClass:"icon icon-network"}),t._v(" "),i("section",{staticClass:"text"},[i("label",[t._v(t._s(t.$t("popouts.login.allAccountsFor")))]),t._v(" "),i("section",{staticClass:"network-accounts-list"},t._l(t.requestedNetworks,(function(e,n){return i("section",{staticClass:"network-accounts"},[i("span",{staticClass:"name"},[t._v(t._s(e.name)+" ("+t._s(e.accounts(!0).length)+" "+t._s(t.$tc("generic.accounts",e.accounts(!0).length))+")")]),t._v(" "),n+1({}),computed:{identityRequirements(){return this.personalFields.concat(this.locationFields).join(", ")},personalFields(){return this.fields.personal},locationFields(){return this.fields.location}},methods:{fieldValueFor(t,e=!1){return e?this.identity.getPropertyValueByName(t,this.selectedLocation):this.selectedIdentity.getPropertyValueByName(t,this.clonedLocation)}}},a=(i("pNnu"),i("KHd+")),s=Object(a.a)(n,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{staticClass:"required-fields"},[i("section",{staticClass:"fields-title"},[t._v("\n\t\t"+t._s(t.$t("popouts.requiredFields.title"))+"\n\t")]),t._v(" "),i("section",[i("label",[t._v(t._s(t.$t("popouts.requiredFields.personalInformation")))]),t._v(" "),i("figure",{staticClass:"text"},[t._v("\n\t\t\t"+t._s(t.identityRequirements)+"\n\t\t")])])])}),[],!1,null,"586a6aca",null);e.a=s.exports},tL4a:function(t,e,i){"use strict";var n=i("J8XJ");i.n(n).a},y5zb:function(t,e,i){(t.exports=i("JPst")(!1)).push([t.i,".reputation[data-v-3c121449]{padding:5px 12px;font-size:10px;margin-bottom:10px;margin-top:-5px;font-weight:bold;background:#f3f6f7;color:#c8c8c8}.reputation.trusted[data-v-3c121449]{background:#159F00;color:#fff}.reputation.untrusted[data-v-3c121449]{background:#ff0707;color:#fff}.app-details[data-v-3c121449]{text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center}.app-details .logo[data-v-3c121449]{display:flex;align-items:center;justify-content:center;height:100px;width:100px;border-radius:4px;padding:5px;margin-bottom:20px}.app-details .logo.border[data-v-3c121449]{background:#f3f6f7;border:1px solid #dfe0e1}.app-details .logo img[data-v-3c121449]{height:100%;width:100%}.app-details .logo span[data-v-3c121449]{font-size:10px;font-weight:bold;color:#7a7a7a}.app-details .logo.scam[data-v-3c121449]{font-size:48px;border-radius:50%;color:#ff0707;background:#f3f6f7;border:1px solid #dfe0e1;animation:pulsate 0.5s ease infinite}.app-details .name[data-v-3c121449]{font-size:14px}\n",""])}}]); \ No newline at end of file diff --git a/dist/46.bundle.js b/dist/46.bundle.js index 0c05dad..600e0c2 100644 --- a/dist/46.bundle.js +++ b/dist/46.bundle.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{"3lbk":function(t,a,e){"use strict";var s={props:["tabs","state"]},n=(e("dVin"),e("KHd+")),i=Object(n.a)(s,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("section",{staticClass:"panel-tabs"},t._l(t.tabs,(function(a){return e("figure",{staticClass:"tab-name",class:{active:a.state===t.state},on:{click:function(e){return t.$emit("selected",a.state)}}},[t._v(t._s(a.name))])})),0)}),[],!1,null,"f9b84e78",null);a.a=i.exports},"4HXs":function(t,a,e){(t.exports=e("JPst")(!1)).push([t.i,".panel-tabs[data-v-f9b84e78]{display:flex;flex-direction:row;align-items:center;justify-content:center;padding:0 0 20px;margin:0 20px;border-bottom:1px solid #dfe0e1}.panel-tabs .tab-name[data-v-f9b84e78]{cursor:pointer;font-size:16px;font-weight:bold;font-family:'Poppins', sans-serif;line-height:68px;color:#0799ff;transition:all 0.1s ease;width:100%;text-align:center;border-bottom:1px solid tranparent;margin-bottom:-21px}.panel-tabs .tab-name[data-v-f9b84e78]:hover,.panel-tabs .tab-name.active[data-v-f9b84e78]{color:black;border-bottom:1px solid #0799ff}\n",""])},"6gQG":function(t,a,e){"use strict";var s=e("T27a");e.n(s).a},JnGr:function(t,a,e){(t.exports=e("JPst")(!1)).push([t.i,".card[data-v-3202b564]{position:relative;cursor:pointer;width:calc(50% - 10px);box-shadow:0 1px 3px rgba(7,155,232,0.23);border:1px solid rgba(0,0,0,0.05);padding:15px;margin-bottom:20px;height:200px;background:#fff;transition:all 0.2s ease;transition-property:box-shadow;display:flex;flex-direction:column;justify-content:space-between}@media (min-width: 1200px){.card[data-v-3202b564]{width:calc(25% - 10px)}}.card .head[data-v-3202b564]{flex:1}.card .head .symbol[data-v-3202b564]{margin-top:-5px;height:30px}.card .info[data-v-3202b564]{display:flex;flex-direction:column;justify-content:center}.card .info .card-name[data-v-3202b564]{margin-top:5px;font-size:18px;font-weight:bold}.card .info .card-name.small[data-v-3202b564]{font-size:12px}.card .info .card-number[data-v-3202b564]{margin-top:2px;font-weight:bold;font-size:12px}.card .info .card-number span[data-v-3202b564]{padding:0 5px}.card .info .card-number span[data-v-3202b564]:first-child{padding-left:0}.card .info .card-number span[data-v-3202b564]:not(:last-child){color:#c8c8c8}.card .info .expiration[data-v-3202b564]{display:flex;margin-top:10px}.card .info .expiration .valid-until[data-v-3202b564]{font-size:9px;font-weight:bold}.card .info .expiration .date[data-v-3202b564]{font-weight:bold;font-size:14px;padding-left:10px}.card .info .identity[data-v-3202b564]{margin-top:25px}.card .info .identity .id-name[data-v-3202b564]{font-size:9px;font-weight:bold}.card .info .identity .full-name[data-v-3202b564]{margin-top:3px;font-size:10px;font-weight:bold}.card .delete[data-v-3202b564]{position:absolute;top:10px;right:10px;text-align:right}.card[data-v-3202b564]:hover{box-shadow:0 8px 18px rgba(7,155,232,0.23)}\n",""])},Mazg:function(t,a,e){"use strict";var s=e("bspf");e.n(s).a},NNn7:function(t,a,e){var s=e("tXwG");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,e("SZ7m").default)("5aa11f3f",s,!0,{})},QIy7:function(t,a,e){var s=e("4HXs");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,e("SZ7m").default)("bbbacdd6",s,!0,{})},R3kX:function(t,a,e){(t.exports=e("JPst")(!1)).push([t.i,".cards-list[data-v-0d453a09]{padding:40px 40px 20px 40px;display:flex;flex-wrap:wrap;justify-content:space-between;align-content:flex-start}\n",""])},T27a:function(t,a,e){var s=e("JnGr");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,e("SZ7m").default)("ec379d46",s,!0,{})},Tdf5:function(t,a,e){"use strict";e.r(a);var s=e("L2JU"),n=(e("qjwK"),e("3lbk")),i=(e("F+MN"),e("IfgB")),c=e("Gbp+"),o=e("EfjO"),l=(e("O1cq"),e("zc85")),r=e.n(l),d=e("HluJ"),p={props:["card","asSelector"],components:{CreditCardIcon:d.a},computed:{...Object(s.c)([])},methods:{}},f=(e("6gQG"),e("KHd+")),u={components:{Card:Object(f.a)(p,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("section",{staticClass:"card",on:{click:function(a){return t.$emit("clicked",t.card)}}},[e("section",{staticClass:"head"},[e("CreditCardIcon",{staticClass:"symbol"})],1),t._v(" "),t.asSelector?t._e():e("Button",{staticClass:"delete",attrs:{icon:"icon-trash"}}),t._v(" "),t.asSelector?e("Button",{staticClass:"delete",attrs:{icon:"fas fa-caret-square-down"}}):t._e(),t._v(" "),e("section",{staticClass:"info"},[e("figure",{staticClass:"card-name"},[t._v(t._s(t.card.name))]),t._v(" "),e("figure",{staticClass:"card-number"},[t._l([1,1,1],(function(a){return e("span",[t._v("XXXX")])})),t._v(" "),e("span",[t._v(t._s(t.card.lastFour))])],2),t._v(" "),e("section",{staticClass:"expiration"},[t._m(0),t._v(" "),e("figure",{staticClass:"date"},[t._v(t._s(t.card.expiration))])]),t._v(" "),e("section",{staticClass:"identity"},[e("figure",{staticClass:"full-name"},[t._v(t._s(t.card.identity().fullname()))])])])],1)}),[function(){var t=this.$createElement,a=this._self._c||t;return a("figure",{staticClass:"valid-until"},[this._v("VALID"),a("br"),this._v("UNTIL")])}],!1,null,"3202b564",null).exports,CreditCardIcon:d.a},computed:{...Object(s.c)(["identities"]),filteredCards(){return[r.a.fromJson({identityId:this.identities[0].id,name:"Test Card",lastFour:"1234",expiration:"04/20",cardHash:"asdljkfasjklhdfhaskljdfhjksalhfdjlhasljfhlhaksdflkj",secure:{number:"1234123412341234",cvx:"1234",authTokens:{}}})]}},methods:{}},x=(e("Mazg"),Object(f.a)(u,(function(){var t=this.$createElement,a=this._self._c||t;return a("section",{staticClass:"cards-list"},this._l(this.filteredCards,(function(t){return a("Card",{key:t.id,attrs:{card:t}})})),1)}),[],!1,null,"0d453a09",null).exports);const h={KEYS:"keys",CARDS:"cards"};var v={components:{CreditCardsList:x,KeysAndAccountList:o.a,PanelTabs:n.a},data:()=>({state:h.KEYS,STATES:h,tab:null,blockchainFilter:null,keypairFilter:null,terms:"",clonedKeypairs:[],refreshingAccounts:null}),computed:{...Object(s.d)(["scatter"]),...Object(s.c)(["keypairs","networks","cards","accounts"]),tabs:()=>[{name:"Blockchain Accounts",state:h.KEYS},{name:"Credit Cards",state:h.CARDS}],accounts(){return this.networks.map(t=>t.accounts(!0)).reduce((t,a)=>t=t.concat(a),[])}},mounted(){},methods:{generateKeypair(){i.a.push(c.a.generateKeypair({},t=>{t&&i.a.push(c.a.exportPrivateKey(t))}))},importKeypair(){i.a.push(c.a.importKeypair({},t=>{}))},goToAccount(t){this.$router.push({name:this.RouteNames.ACCOUNT,params:{unique:t.unique()}})}}},g=(e("l+Hn"),Object(f.a)(v,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("section",[e("section",{staticClass:"wallet no-panels",class:{"no-accounts":!t.accounts.length}},[e("section",{staticClass:"scroller"},[t.state===t.STATES.KEYS&&t.keypairs.length?e("KeysAndAccountList",{on:{account:t.goToAccount}}):t._e(),t._v(" "),t.state!==t.STATES.KEYS||t.keypairs.length?t._e():e("section",{staticClass:"keys-and-accounts-list"},[e("section",{staticClass:"no-keypairs"},[e("section",{staticClass:"container"},[e("figure",{staticClass:"title"},[t._v(t._s(t.$t("wallet.noKeys.title")))]),t._v(" "),e("figure",{staticClass:"description"},[t._v(t._s(t.$t("wallet.noKeys.description")))])])])])],1),t._v(" "),t.state===t.STATES.KEYS?e("section",{staticClass:"wallet-actions"},[e("section",{staticClass:"left"},[e("section",{staticClass:"info"},[e("figure",{staticClass:"keys"},[t._v(t._s(t.keypairs.length)+" "+t._s(t.$tc("generic.keys",t.keypairs.length)))]),t._v(" "),e("figure",{staticClass:"accounts"},[t._v(t._s(t.accounts.length)+" "+t._s(t.$tc("generic.accounts",t.accounts.length)))])])]),t._v(" "),e("section",{staticClass:"right"},[e("Button",{attrs:{text:t.$t("wallet.generateKey")},nativeOn:{click:function(a){return t.generateKeypair(a)}}}),t._v(" "),e("Button",{attrs:{blue:"1",text:t.$t("wallet.importKey")},nativeOn:{click:function(a){return t.importKeypair(a)}}})],1)]):t._e(),t._v(" "),t.state===t.STATES.CARDS?e("section",{staticClass:"wallet-actions"},[e("section",{staticClass:"left"},[e("section",{staticClass:"info"},[e("figure",{staticClass:"keys"},[t._v(t._s(t.cards.length)+" "+t._s(t.$tc("generic.cards",t.cards.length)))]),t._v(" "),e("figure",{staticClass:"accounts"},[t._v("0 "+t._s(t.$t("generic.expired")))])])]),t._v(" "),e("section",{staticClass:"right"},[e("Button",{attrs:{blue:"1",text:t.$t("wallet.addCreditCard")},nativeOn:{click:function(a){return t.importKeypair(a)}}})],1)]):t._e()])])}),[],!1,null,"555edc8a",null));a.default=g.exports},bspf:function(t,a,e){var s=e("R3kX");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,e("SZ7m").default)("1a2bdff1",s,!0,{})},dVin:function(t,a,e){"use strict";var s=e("QIy7");e.n(s).a},"l+Hn":function(t,a,e){"use strict";var s=e("NNn7");e.n(s).a},tXwG:function(t,a,e){(t.exports=e("JPst")(!1)).push([t.i,".wallet[data-v-555edc8a]{position:relative;height:calc(100vh - 220px);padding-bottom:50px}.wallet .scroller .keys-and-accounts-list[data-v-555edc8a]{height:calc(100vh - 200px);overflow:hidden}.wallet.no-panels[data-v-555edc8a]{height:calc(100vh - 140px)}.wallet.no-panels .scroller .keys-and-accounts-list[data-v-555edc8a]{height:calc(100vh - 180px)}.wallet.no-accounts[data-v-555edc8a]{height:calc(100vh - 70px)}.wallet.no-accounts .scroller .keys-and-accounts-list[data-v-555edc8a]{height:calc(100vh - 120px)}.wallet .no-keypairs[data-v-555edc8a]{height:100%;overflow-y:auto;padding:30px;background:#f7fafb;padding-bottom:60px;display:flex;justify-content:center;align-items:center;flex-direction:column}.wallet .no-keypairs .container[data-v-555edc8a]{max-width:400px;margin:0 auto;text-align:center}.wallet .no-keypairs .title[data-v-555edc8a]{font-size:24px}.wallet .no-keypairs .description[data-v-555edc8a]{margin-top:10px;font-size:12px}.wallet .no-keypairs .ctas[data-v-555edc8a]{margin-top:20px}.wallet .wallet-actions[data-v-555edc8a]{position:absolute;bottom:0;left:0;right:0;border-top:1px solid #dfe0e1;background:white;display:flex;align-items:center;padding:10px 20px}@media (max-width: 600px){.wallet .wallet-actions[data-v-555edc8a]{flex-direction:column;height:auto;padding:10px}}.wallet .wallet-actions .left[data-v-555edc8a]{flex:1}@media (max-width: 600px){.wallet .wallet-actions .left[data-v-555edc8a]{width:100%;text-align:left}}.wallet .wallet-actions .right[data-v-555edc8a]{display:flex;flex-direction:row;text-align:right;justify-content:end}.wallet .wallet-actions .right button+button[data-v-555edc8a]{margin-left:6px}@media (max-width: 600px){.wallet .wallet-actions .right[data-v-555edc8a]{width:100%;margin-top:10px}.wallet .wallet-actions .right button[data-v-555edc8a]{width:50%}}.wallet .wallet-actions .info .keys[data-v-555edc8a]{font-size:16px;font-family:'Poppins', sans-serif;font-weight:bold}.wallet .wallet-actions .info .accounts[data-v-555edc8a]{font-size:13px}\n",""])}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{"2qTD":function(t,e,a){"use strict";a.r(e);var i=a("L2JU"),s=a("RNqi"),n=(a("EY8S"),a("78si"),a("psvp")),p=a("O1cq"),o=a.n(p),r=a("Hxfq"),c=a.n(r),u=a("SDtL"),l=a.n(u),d=a("IeaP"),f=a("IfgB"),g=a("Gbp+"),m={props:["popup","expanded"],components:{PopOutApp:d.a,RequiredFields:n.a,SearchBar:s.a},data:()=>({searchTerms:""}),created(){},computed:{...Object(i.d)(["scatter"]),...Object(i.c)(["identities","accounts","networks","keypairs"]),payload(){return this.popup.payload()},blockchain(){return this.payload.blockchain}},methods:{returnResult(t){this.$emit("returned",t)},selectKeypair(){f.a.push(g.a.selectKeypair(t=>{t&&this.returnResult({keypair:t,isNew:!1})},[this.blockchain]))},async generateNewKey(){this.setWorkingScreen(!0),setTimeout(async()=>{const t=c.a.placeholder();t.name=`${this.popup.origin()}-${l.a.text(4)}`,await o.a.generateKeyPair(t),await o.a.makePublicKeys(t),t.blockchains=[this.blockchain],this.returnResult({keypair:t,isNew:!0})},50)}}},v=(a("Omtz"),a("KHd+")),x=Object(v.a)(m,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"popout-window"},[a("PopOutApp",{attrs:{app:t.popup.data.props.appData,suffix:t.$t("popouts.getPublicKey.suffix")}}),t._v(" "),a("section",{staticClass:"get-public-key"},[a("Button",{attrs:{blue:"1",big:"1",text:t.$t("popouts.getPublicKey.select")},nativeOn:{click:function(e){return t.selectKeypair(e)}}}),t._v(" "),t._m(0),t._v(" "),a("Button",{attrs:{blue:"1",big:"1",text:t.$t("popouts.getPublicKey.generate")},nativeOn:{click:function(e){return t.generateNewKey(e)}}})],1)],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("figure",{staticClass:"or"},[e("figure",{staticClass:"text"},[this._v("or")])])}],!1,null,"4acfa303",null);e.default=x.exports},GMqv:function(t,e,a){var i=a("muCR");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("6e151c91",i,!0,{})},IeaP:function(t,e,a){"use strict";var i=a("L2JU"),s={components:{Scatter:a("wg2a").a},props:["app","suffix"],computed:{...Object(i.d)(["appReputation"]),...Object(i.c)(["ridlEnabled"]),unknownReputation(){return void 0===this.appReputation},trusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)>0},untrusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)<0}}},n=(a("tL4a"),a("KHd+")),p=Object(n.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"app-details"},[t.untrusted?a("figure",{staticClass:"logo scam"},[a("i",{staticClass:"icon-attention"})]):a("figure",{staticClass:"logo",class:{border:"Scatter"!==t.app.applink&&!t.app.img}},["Scatter"===t.app.applink?a("Scatter"):t.app.img?a("img",{attrs:{src:t.app.img}}):a("span",[t._v(t._s(t.$t("popouts.popoutApp.noImage")))])],1),t._v(" "),t.ridlEnabled&&"Scatter"!==t.app.applink?a("section",[!1===t.appReputation?a("figure",{staticClass:"reputation"},[a("i",{staticClass:"icon-spin4 animate-spin"}),t._v(" loading reputation")]):a("section",[t.unknownReputation?a("figure",{staticClass:"reputation"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.unknown")))]):t._e(),t._v(" "),t.trusted?a("figure",{staticClass:"reputation trusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.trusty")))]):t._e(),t._v(" "),t.untrusted?a("figure",{staticClass:"reputation untrusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.scam")))]):t._e()])]):t._e(),t._v(" "),a("figure",{staticClass:"name"},[a("b",[t._v(t._s(t.app.name))]),t._v(" "),t.suffix?a("span",[t._v(t._s(t.suffix))]):t._e()])])}),[],!1,null,"3c121449",null);e.a=p.exports},J8XJ:function(t,e,a){var i=a("y5zb");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("1a4d8aa0",i,!0,{})},L6xj:function(t,e,a){var i=a("p7K2");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("c9a2862e",i,!0,{})},Omtz:function(t,e,a){"use strict";var i=a("GMqv");a.n(i).a},muCR:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".app-details[data-v-4acfa303]{padding:50px 50px 20px 50px}.get-public-key[data-v-4acfa303]{text-align:center;padding:50px}\n",""])},p7K2:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".fields-title[data-v-586a6aca]{margin:-20px -30px 0;padding:20px 30px;background:linear-gradient(180deg, #007fd7 0%, #0799ff 100%);color:#fff;font-size:18px;margin-bottom:20px}.required-fields[data-v-586a6aca]{padding:20px 0 0}\n",""])},pNnu:function(t,e,a){"use strict";var i=a("L6xj");a.n(i).a},psvp:function(t,e,a){"use strict";a("L2JU");var i={props:["fields","identity","selectedIdentity","selectedLocation","clonedLocation"],data:()=>({}),computed:{identityRequirements(){return this.personalFields.concat(this.locationFields).join(", ")},personalFields(){return this.fields.personal},locationFields(){return this.fields.location}},methods:{fieldValueFor(t,e=!1){return e?this.identity.getPropertyValueByName(t,this.selectedLocation):this.selectedIdentity.getPropertyValueByName(t,this.clonedLocation)}}},s=(a("pNnu"),a("KHd+")),n=Object(s.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"required-fields"},[a("section",{staticClass:"fields-title"},[t._v("\n\t\t"+t._s(t.$t("popouts.requiredFields.title"))+"\n\t")]),t._v(" "),a("section",[a("label",[t._v(t._s(t.$t("popouts.requiredFields.personalInformation")))]),t._v(" "),a("figure",{staticClass:"text"},[t._v("\n\t\t\t"+t._s(t.identityRequirements)+"\n\t\t")])])])}),[],!1,null,"586a6aca",null);e.a=n.exports},tL4a:function(t,e,a){"use strict";var i=a("J8XJ");a.n(i).a},y5zb:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".reputation[data-v-3c121449]{padding:5px 12px;font-size:10px;margin-bottom:10px;margin-top:-5px;font-weight:bold;background:#f3f6f7;color:#c8c8c8}.reputation.trusted[data-v-3c121449]{background:#159F00;color:#fff}.reputation.untrusted[data-v-3c121449]{background:#ff0707;color:#fff}.app-details[data-v-3c121449]{text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center}.app-details .logo[data-v-3c121449]{display:flex;align-items:center;justify-content:center;height:100px;width:100px;border-radius:4px;padding:5px;margin-bottom:20px}.app-details .logo.border[data-v-3c121449]{background:#f3f6f7;border:1px solid #dfe0e1}.app-details .logo img[data-v-3c121449]{height:100%;width:100%}.app-details .logo span[data-v-3c121449]{font-size:10px;font-weight:bold;color:#7a7a7a}.app-details .logo.scam[data-v-3c121449]{font-size:48px;border-radius:50%;color:#ff0707;background:#f3f6f7;border:1px solid #dfe0e1;animation:pulsate 0.5s ease infinite}.app-details .name[data-v-3c121449]{font-size:14px}\n",""])}}]); \ No newline at end of file diff --git a/dist/47.bundle.js b/dist/47.bundle.js index 7bd00ba..e0a6082 100644 --- a/dist/47.bundle.js +++ b/dist/47.bundle.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{"/WVu":function(t,e,i){(t.exports=i("JPst")(!1)).push([t.i,".app-login[data-v-4557679a]{display:flex;justify-content:center;align-items:center;border:1px solid #dadada;border-top:0;height:calc(100vh - 40px)}.app-login .app-details[data-v-4557679a]{margin-top:-60px}.app-login .requirements[data-v-4557679a]{min-width:400px;text-align:left;max-width:80%;margin:10px auto}.app-login .requirements .authorities .select[data-v-4557679a]{margin-top:-7px}.app-login .requirements .dangerous-authority[data-v-4557679a]{background:#ff0707;border:1px solid #cb0606;color:#fff;font-size:10px;margin-bottom:10px;margin-top:-7px;padding:10px;border-radius:4px}.app-login .requirements .boxes[data-v-4557679a]{width:100%}.app-login .requirements .boxes .box[data-v-4557679a]{width:100%}.app-login .requirements .requirement[data-v-4557679a]{padding:10px 0;display:flex;align-items:center;position:relative}.app-login .requirements .requirement label[data-v-4557679a]{font-size:10px;padding-top:2px}.app-login .requirements .requirement .icon[data-v-4557679a]{padding-right:5px;align-self:flex-start;color:#7a7a7a;margin-left:-8px}.app-login .requirements .requirement .icon.bubble[data-v-4557679a]{padding:3px 2px;border-radius:50%;background:#0799ff;border:1px solid #0778dd;color:#fff;font-size:9px;cursor:pointer}.app-login .requirements .requirement .icon.bubble:hover ~ .bubble-explainer[data-v-4557679a]{display:block}.app-login .requirements .requirement .bubble-explainer[data-v-4557679a]{position:absolute;right:-10px;bottom:calc(100% - 10px);width:380px;font-size:10px;background:#fff;color:#333;box-shadow:0 2px 4px rgba(7,155,232,0.23),0 8px 24px rgba(7,155,232,0.23);padding:20px;border-radius:4px;display:none;z-index:999999}.app-login .requirements .requirement .text[data-v-4557679a]{flex:1;font-size:10px}.app-login .requirements .requirement.all-accounts[data-v-4557679a]{margin-top:10px;padding-top:20px;border-top:1px solid #dfe0e1}.app-login .requirements .requirement.all-accounts .icon[data-v-4557679a]:first-child{color:#0799ff}.app-login .requirements .requirement.all-accounts .network-accounts-list[data-v-4557679a]{max-height:100px;overflow-y:auto}.app-login .requirements .requirement.all-accounts .network-accounts[data-v-4557679a]{font-size:10px;font-weight:bold;display:inline-block;margin-right:5px}.app-login .requirements .requirement.all-accounts .network-accounts .name[data-v-4557679a]{color:#0799ff;text-decoration:underline}.app-login .requirements .requirement.personal[data-v-4557679a]{margin-top:10px;padding-top:20px;border-top:1px solid #dfe0e1}.app-login .requirements .requirement.no-accounts[data-v-4557679a]{text-align:center;width:350px;display:flex;justify-content:center;align-items:center;flex-direction:column;border:1px solid #0799ff;border-radius:4px;margin:20px auto 10px;padding:20px}.app-login .requirements .requirement.no-accounts .network-name[data-v-4557679a]{font-size:14px;font-weight:bold;margin-bottom:5px}.app-login .actions[data-v-4557679a]{margin-top:30px;position:absolute;bottom:30px;right:30px;left:30px;display:flex;justify-content:space-between}\n",""])},IeaP:function(t,e,i){"use strict";var n=i("L2JU"),a={components:{Scatter:i("wg2a").a},props:["app","suffix"],computed:{...Object(n.d)(["appReputation"]),...Object(n.c)(["ridlEnabled"]),unknownReputation(){return void 0===this.appReputation},trusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)>0},untrusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)<0}}},s=(i("tL4a"),i("KHd+")),o=Object(s.a)(a,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{staticClass:"app-details"},[t.untrusted?i("figure",{staticClass:"logo scam"},[i("i",{staticClass:"icon-attention"})]):i("figure",{staticClass:"logo",class:{border:"Scatter"!==t.app.applink&&!t.app.img}},["Scatter"===t.app.applink?i("Scatter"):t.app.img?i("img",{attrs:{src:t.app.img}}):i("span",[t._v(t._s(t.$t("popouts.popoutApp.noImage")))])],1),t._v(" "),t.ridlEnabled&&"Scatter"!==t.app.applink?i("section",[!1===t.appReputation?i("figure",{staticClass:"reputation"},[i("i",{staticClass:"icon-spin4 animate-spin"}),t._v(" loading reputation")]):i("section",[t.unknownReputation?i("figure",{staticClass:"reputation"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.unknown")))]):t._e(),t._v(" "),t.trusted?i("figure",{staticClass:"reputation trusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.trusty")))]):t._e(),t._v(" "),t.untrusted?i("figure",{staticClass:"reputation untrusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.scam")))]):t._e()])]):t._e(),t._v(" "),i("figure",{staticClass:"name"},[i("b",[t._v(t._s(t.app.name))]),t._v(" "),t.suffix?i("span",[t._v(t._s(t.suffix))]):t._e()])])}),[],!1,null,"3c121449",null);e.a=o.exports},J8XJ:function(t,e,i){var n=i("y5zb");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,i("SZ7m").default)("1a4d8aa0",n,!0,{})},L6xj:function(t,e,i){var n=i("p7K2");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,i("SZ7m").default)("c9a2862e",n,!0,{})},Wcjy:function(t,e,i){var n=i("/WVu");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,i("SZ7m").default)("3ee17790",n,!0,{})},h0p9:function(t,e,i){"use strict";var n=i("Wcjy");i.n(n).a},leBm:function(t,e,i){"use strict";i.r(e);var n=i("L2JU"),a=i("EY8S"),s=i("78si"),o=i.n(s),r=i("psvp"),l=i("IfgB"),c=i("Gbp+"),p=(i("F+MN"),i("+nw1")),u=i("IeaP");i("8olR");var d={props:["popup","expanded"],components:{PopOutApp:u.a,RequiredFields:r.a},data:()=>({account:null,selectedAccounts:[],searchTerms:"",selectedLocation:null,selectedIdentity:null,showingAll:!1,loginAll:!1,reputation:null}),created(){this.loginAll=this.popup.data.type===p.LOGIN_ALL,this.validAccounts.length&&(this.account=this.validAccounts[0]),this.selectIdentity(this.identities.sort((t,e)=>e.id===this.scatter.keychain.lastUsedIdentity?1:t.id===this.scatter.keychain.lastUsedIdentity?-1:0)[0])},computed:{...Object(n.d)(["scatter","balances"]),...Object(n.c)(["identity","identities","accounts","networks","locations"]),appData(){return this.popup.data.props.appData},validAccounts(){if(!this.accountRequirements.length)return[];return this.accountRequirements.map(t=>o.a.fromJson(t))[0].accounts().sort((t,e)=>"active"===e.authority?1:0).sort((t,e)=>e.logins-t.logins)},requestedNetworks(){return this.accountRequirements.map(t=>{const e=o.a.fromJson(t);return this.networks.find(t=>t.unique()===e.unique())})},network(){return o.a.fromJson(this.accountRequirements[0]||{})},savedNetwork(){return this.networks.find(t=>t.unique()===this.network.unique())},payload(){return this.popup.payload()},isValidIdentity(){return this.selectedIdentity.hasRequiredFields(this.fields,this.selectedLocation)},fields(){return a.IdentityRequiredFields.fromJson(this.payload.fields)},personalFields(){return this.fields.personal},locationFields(){return this.fields.location},missingFields(){return!(!this.personalFields.length&&!this.locationFields.length)&&!this.identity.hasRequiredFields(this.fields)},identityRequirements(){return this.fields.personal.concat(this.fields.location).join(", ")},accountRequirements(){return this.fields.accounts||[]},allRequirementsMet(){return!this.accountRequirements.length||!!this.validAccounts.length},onlyIdentityLogin(){return!this.fields.personal.length&&!this.fields.location.length&&!this.fields.accounts.length}},methods:{returnResult(t){this.$emit("returned",t)},selectTokenAndAccount(){l.a.push(c.a.selectAccount(t=>{t&&(this.account=t)},this.validAccounts))},login(){this.returnResult({identity:this.selectedIdentity,location:this.selectedLocation,accounts:this.account?[this.account]:[],missingFields:this.missingFields})},selectIdentity(t){this.selectedIdentity=t.clone(),t.getLocation()?this.selectedLocation=t.getLocation().clone():this.locations.length&&(this.selectedLocation=this.locations[0].clone())}}},g=(i("h0p9"),i("KHd+")),f=Object(g.a)(d,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",[i("PopOutHead",{attrs:{"id-selector":"1",identity:t.selectedIdentity},on:{closed:t.returnResult,identity:t.selectIdentity}}),t._v(" "),i("section",{staticClass:"app-login"},[i("section",[i("PopOutApp",{attrs:{app:t.appData,suffix:t.account?t.$t("popouts.login.suffix"):""}}),t._v(" "),i("section",{staticClass:"requirements"},[!t.loginAll&&t.validAccounts.length?i("section",{staticClass:"requirement account"},[i("section",{staticClass:"boxes"},[i("section",{staticClass:"box account-selector",on:{click:t.selectTokenAndAccount}},[i("section",[i("figure",{staticClass:"name"},[t._v(t._s(t.account.sendable()))]),t._v(" "),i("figure",{staticClass:"network"},[t._v(t._s(t.account.network().name))])]),t._v(" "),i("figure",{staticClass:"chevron fas fa-caret-square-down"})])])]):t._e(),t._v(" "),!t.loginAll&&t.account&&"owner"===t.account.authority?i("section",{staticClass:"dangerous-authority"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("popouts.login.dangerousPermission"))+"\n\t\t\t\t")]):t._e(),t._v(" "),!t.loginAll&&t.account&&t.account.authorities(!1).length>1?i("section",{staticClass:"authorities"},[i("Select",{attrs:{bordered:"1",options:t.account.authorities(!1),parser:function(t){return t.authority},iconparser:function(t){return"owner"===t.authority?{class:"icon-attention red"}:""},selected:t.account},on:{selected:function(e){return t.account=e}}})],1):t.loginAll&&t.validAccounts.length?i("section",{staticClass:"requirement all-accounts"},[i("figure",{staticClass:"icon icon-network"}),t._v(" "),i("section",{staticClass:"text"},[i("label",[t._v(t._s(t.$t("popouts.login.allAccountsFor")))]),t._v(" "),i("section",{staticClass:"network-accounts-list"},t._l(t.requestedNetworks,(function(e,n){return i("section",{staticClass:"network-accounts"},[i("span",{staticClass:"name"},[t._v(t._s(e.name)+" ("+t._s(e.accounts(!0).length)+" "+t._s(t.$tc("generic.accounts",e.accounts(!0).length))+")")]),t._v(" "),n+1({}),computed:{identityRequirements(){return this.personalFields.concat(this.locationFields).join(", ")},personalFields(){return this.fields.personal},locationFields(){return this.fields.location}},methods:{fieldValueFor(t,e=!1){return e?this.identity.getPropertyValueByName(t,this.selectedLocation):this.selectedIdentity.getPropertyValueByName(t,this.clonedLocation)}}},a=(i("pNnu"),i("KHd+")),s=Object(a.a)(n,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{staticClass:"required-fields"},[i("section",{staticClass:"fields-title"},[t._v("\n\t\t"+t._s(t.$t("popouts.requiredFields.title"))+"\n\t")]),t._v(" "),i("section",[i("label",[t._v(t._s(t.$t("popouts.requiredFields.personalInformation")))]),t._v(" "),i("figure",{staticClass:"text"},[t._v("\n\t\t\t"+t._s(t.identityRequirements)+"\n\t\t")])])])}),[],!1,null,"586a6aca",null);e.a=s.exports},tL4a:function(t,e,i){"use strict";var n=i("J8XJ");i.n(n).a},wg2a:function(t,e,i){"use strict";var n=i("KHd+"),a=Object(n.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:"88px",height:"88px",viewBox:"0 0 88 88",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e("g",{attrs:{id:"welcome_scatter",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"}},[e("g",{attrs:{id:"Group",stroke:"#00A8FF"}},[e("g",{attrs:{id:"Icon"}},[e("circle",{attrs:{id:"Base",cx:"44",cy:"44",r:"43.7079646"}})]),this._v(" "),e("path",{attrs:{d:"M40.8188559,71.5932203 C39.3040178,71.5932203 38.0455559,71.423153 37.0434322,71.0830131 C36.0413085,70.7428732 35.2489436,70.3616877 34.6663136,69.9394451 C34.0836835,69.5172025 33.6758486,69.1125594 33.4427966,68.7255037 C33.2097446,68.338448 33.0932203,68.0862791 33.0932203,67.9689895 C33.0932203,67.5467469 33.1864397,67.0951887 33.3728814,66.6143013 C33.559323,66.1334139 33.7923715,65.68772 34.0720339,65.2772064 C34.3516963,64.8666928 34.6546594,64.5206936 34.9809322,64.2391985 C35.307205,63.9577035 35.5985157,63.816958 35.8548729,63.816958 C36.1811457,63.816958 36.4491515,64.0280762 36.6588983,64.4503188 L37.0084746,64.8021858 C37.1949162,64.9898492 37.4570958,65.1833742 37.7950212,65.3827665 C38.1329466,65.5821588 38.5524339,65.763955 39.0534958,65.9281605 C39.5545576,66.0923659 40.1430051,66.1744674 40.8188559,66.1744674 C42.2870836,66.1744674 43.4872835,65.7229092 44.4194915,64.8197792 C45.3516996,63.9166492 45.8177966,62.6909911 45.8177966,61.1427683 C45.8177966,60.0637039 45.5672695,59.1019435 45.0662076,58.2574583 C44.5651458,57.4129731 43.9067837,56.6271445 43.0911017,55.8999489 C42.2754197,55.1727533 41.3432256,54.4631618 40.2944915,53.7711531 C39.2457575,53.0791444 38.1737343,52.3578241 37.0783898,51.6071706 C35.9830454,50.8565171 34.9110222,50.0472309 33.8622881,49.1792878 C32.8135541,48.3113447 31.88136,47.314398 31.065678,46.1884177 C30.2499959,45.0624374 29.5916339,43.7898643 29.090572,42.37066 C28.5895102,40.9514557 28.3389831,39.3270189 28.3389831,37.497301 C28.3389831,35.9256202 28.6069888,34.3422342 29.1430085,32.7470955 C29.6790281,31.1519568 30.4189571,29.6330792 31.3628178,28.190417 C32.3066784,26.7477547 33.4194851,25.3989445 34.7012712,24.1439456 C35.9830573,22.8889468 37.3696959,21.7981698 38.8612288,20.8715818 C40.3527617,19.9449939 41.9083605,19.2178092 43.528072,18.690006 C45.1477835,18.1622028 46.7732969,17.8983051 48.404661,17.8983051 C49.8029731,17.8983051 51.0614351,18.121152 52.1800847,18.5668525 C53.2987344,19.012553 54.2425809,19.640043 55.0116525,20.4493414 C55.7807242,21.2586397 56.3749979,22.2321288 56.7944915,23.3698381 C57.2139851,24.5075473 57.4237288,25.7801205 57.4237288,27.1875958 C57.4237288,28.5246974 57.1906803,29.8383213 56.7245763,31.128507 C56.2584722,32.4186927 55.6408937,33.6384864 54.871822,34.7879246 C54.1027504,35.9373627 53.2346447,36.9988178 52.2674788,37.9723216 C51.300313,38.9458253 50.3098568,39.7902979 49.2960805,40.5057645 C48.2823043,41.2212311 47.2976743,41.7783484 46.342161,42.1771331 C45.3866478,42.5759178 44.5476731,42.7753071 43.8252119,42.7753071 C43.1959714,42.7753071 42.6308288,42.6286973 42.1297669,42.3354733 C41.6287051,42.0422492 41.2092178,41.6786569 40.8712924,41.2446853 C40.533367,40.8107138 40.2711874,40.3532912 40.0847458,39.8724038 C39.8983042,39.3915164 39.8050847,38.9634157 39.8050847,38.5880889 C39.8050847,38.283136 39.8458682,38.0837466 39.9274364,37.9899149 C40.0090046,37.8960832 40.1255289,37.8550325 40.2770127,37.8667614 C40.4284965,37.8784904 40.6207615,37.9136768 40.8538136,37.9723216 C41.0868656,38.0309664 41.3548714,38.0602883 41.657839,38.0602883 C42.6366574,38.0602883 43.720333,37.7201536 44.9088983,37.0398738 C46.0974636,36.3595941 47.2160965,35.491664 48.2648305,34.4360575 C49.3135646,33.380451 50.1933227,32.2193013 50.9041314,30.9525735 C51.61494,29.6858457 51.970339,28.4543232 51.970339,27.2579692 C51.970339,26.0381573 51.6732021,25.0763969 51.0789195,24.3726592 C50.4846369,23.6689216 49.476702,23.317058 48.0550847,23.317058 C47.1694871,23.317058 46.208162,23.4871254 45.1710805,23.8272653 C44.1339991,24.1674051 43.0911069,24.6424209 42.0423729,25.2523269 C40.9936388,25.8622329 39.9798778,26.6011463 39.0010593,27.4690895 C38.0222409,28.3370326 37.1599614,29.2929286 36.4141949,30.3368061 C35.6684285,31.3806836 35.0683285,32.506647 34.6138771,33.71473 C34.1594257,34.922813 33.9322034,36.1836574 33.9322034,37.497301 C33.9322034,38.8813184 34.1827305,40.1187053 34.6837924,41.2094986 C35.1848542,42.300292 35.8490425,43.2913744 36.6763771,44.1827754 C37.5037118,45.0741764 38.441732,45.8951914 39.4904661,46.6458449 C40.5392002,47.3964984 41.6112233,48.1412763 42.7065678,48.8802008 C43.8019123,49.6191254 44.8739354,50.3814964 45.9226695,51.1673368 C46.9714035,51.9531772 47.9094238,52.8211073 48.7367585,53.7711531 C49.5640931,54.721199 50.2282814,55.7767896 50.7293432,56.9379568 C51.230405,58.0991239 51.4809322,59.430341 51.4809322,60.931648 C51.4809322,62.3860392 51.2071002,63.7641715 50.659428,65.0660861 C50.1117557,66.3680008 49.3601743,67.4998286 48.404661,68.4616034 C47.4491478,69.4233782 46.3188625,70.1857492 45.0137712,70.7487394 C43.7086799,71.3117295 42.3103888,71.5932203 40.8188559,71.5932203 Z",id:"Scatter"}})])])])}),[],!1,null,null,null);e.a=a.exports},y5zb:function(t,e,i){(t.exports=i("JPst")(!1)).push([t.i,".reputation[data-v-3c121449]{padding:5px 12px;font-size:10px;margin-bottom:10px;margin-top:-5px;font-weight:bold;background:#f3f6f7;color:#c8c8c8}.reputation.trusted[data-v-3c121449]{background:#159F00;color:#fff}.reputation.untrusted[data-v-3c121449]{background:#ff0707;color:#fff}.app-details[data-v-3c121449]{text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center}.app-details .logo[data-v-3c121449]{display:flex;align-items:center;justify-content:center;height:100px;width:100px;border-radius:4px;padding:5px;margin-bottom:20px}.app-details .logo.border[data-v-3c121449]{background:#f3f6f7;border:1px solid #dfe0e1}.app-details .logo img[data-v-3c121449]{height:100%;width:100%}.app-details .logo span[data-v-3c121449]{font-size:10px;font-weight:bold;color:#7a7a7a}.app-details .logo.scam[data-v-3c121449]{font-size:48px;border-radius:50%;color:#ff0707;background:#f3f6f7;border:1px solid #dfe0e1;animation:pulsate 0.5s ease infinite}.app-details .name[data-v-3c121449]{font-size:14px}\n",""])}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{"82eg":function(t,e,i){"use strict";i.r(e);var s=i("L2JU"),a=i("qjwK"),n=i("T/cf"),o=i("RNqi"),r=i("6IJF"),p=i.n(r),l=i("zugy"),c=i.n(l),d=i("bUKF"),u=i.n(d),g=(i("IfgB"),i("Gbp+"),i("eOAV")),h=i.n(g),f=i("F+MN"),v=i("EY8S"),m=i("psvp"),x=i("O1cq"),b=i.n(x),_=i("bcyO"),y=i("IeaP");const w={HUMAN:"human",JSON:"json",RICARDIAN:"ricardian"};var C={props:["popup","expanded","pinning"],components:{PopOutApp:y.a,ReputationScore:n.a,RequiredFields:m.a,SearchBar:o.a},data:()=>({Blockchains:f.Blockchains,whitelisted:!1,whitelists:[],actionList:[],viewType:w.HUMAN,VIEW_TYPES:w,selectedIdentity:null,selectedLocation:null,clonedLocation:null,hideCloseButton:!1,reputation:null,showingRidlWarning:!1,participantsAsSelector:!1,loadingReputation:!1}),created(){this.selectedIdentity=this.identity.clone(),this.selectedLocation=this.selectedIdentity.getLocation()||this.locations[0],this.clonedLocation=this.selectedLocation.clone(),setTimeout(async()=>{this.loadingReputation=!0,this.reputation=await _.b.checkContracts(this.payload.network,this.messages),this.reputation&&this.reputation.decimal<0&&(this.showingRidlWarning=!0),this.loadingReputation=!1},50)},computed:{...Object(s.d)(["scatter"]),...Object(s.c)(["identity","identities","accounts","networks","locations"]),appData(){return this.popup.data.props.appData},viewTypesArray(){const t=!this.isArbitrarySignature&&!!this.payload.participants.find(t=>u.a.fromJson(t).blockchain()===f.Blockchains.EOSIO),e=[w.HUMAN,w.JSON];return t&&e.push(w.RICARDIAN),e},payload(){return this.popup.payload()},participantAccounts(){return this.payload.hasOwnProperty("participants")?this.payload.participants.map(t=>u.a.fromJson(t)):null},messages(){return this.payload.messages},limitedMessages(){return{actions:this.messages.slice(0,3).map(t=>t.type).join(", "),total:this.messages.length}},isArbitrarySignature(){return!this.payload.hasOwnProperty("participants")},fields(){return v.IdentityRequiredFields.fromJson(this.payload.requiredFields||{})},personalFields(){return this.fields.personal},locationFields(){return this.fields.location},missingFields(){return!(!this.personalFields.length&&!this.locationFields.length)&&!this.identity.hasRequiredFields(this.fields)},isValidIdentity(){return this.selectedIdentity.hasRequiredFields(this.fields,this.clonedLocation)},arbitraryKeypair(){return b.a.getKeyPairFromPublicKey(this.payload.publicKey)},cannotSignArbitrary(){return!!this.isArbitrarySignature&&this.payload.messages[0].data.signing.split(" ").some(t=>t.length>12)},isDangerous(){return!!this.messages.find(t=>"eosio"===t.code&&"updateauth"===t.type)&&this.$t("popouts.signature.dangerousTooltip")}},methods:{returnResult(t){this.$emit("returned",t)},reputable(t){if(this.reputation)return this.reputation.reputables.find(e=>e.code===`${t.code}${t.type}`)},ridlLink:t=>`${_.a}/reputable?id=${t.id}`,formatViewType(t){switch(t){case w.HUMAN:return"Human Readable";case w.JSON:return"JSON Format";case w.RICARDIAN:return"Ricardian Contracts"}},collapse(t){this.toggleAction(t,"collapsed")},isCollapsed(t){return this.actionList.find(e=>e===this.getMessageUnique(t,"collapsed"))},async accepted(){this.returnResult({whitelists:this.whitelists,identity:this.selectedIdentity,location:this.clonedLocation,missingFields:this.missingFields,accepted:!0,needResources:!1})},hash:t=>c.a.unsaltedQuickHash(JSON.stringify(t)),formatJson(t,e=null){this.$nextTick(()=>{const i=(e||"")+this.hash(t),s=new p.a(t,99999,{hoverPreviewEnabled:!0,hoverPreviewArrayCount:10,hoverPreviewFieldCount:5,useToJSON:!0}),a=this.$refs[i][0];if(a.children.length>=1)return!1;a.appendChild(s.render())})},whitelist(){this.whitelisted=!this.whitelisted,this.messages.map(t=>{this.isPreviouslyWhitelisted(t)||this.addWhitelist(t)})},getMessageUnique:(t,e)=>`${t.code}:${t.type}:${e}`,getWhitelist(t){const e=this.getMessageUnique(t,"whitelist");return this.whitelists.find(t=>t.unique===e)},toggleAction(t,e){const i=this.getMessageUnique(t,e);this.actionList.includes(i)?this.actionList=this.actionList.filter(t=>t!==i):this.actionList.push(i)},getAction(t,e){return this.actionList.find(i=>i===this.getMessageUnique(t,e))},addWhitelist(t){if(this.isPreviouslyWhitelisted(t))return!1;this.toggleAction(t,"whitelist");const e=this.getMessageUnique(t,"whitelist"),i={unique:e,props:[],code:t.code,type:t.type,fields:t.data};this.whitelists.find(t=>t.unique===i.unique)?this.whitelists=this.whitelists.filter(t=>t.unique!==e):this.whitelists.push(i),0===this.whitelists.length&&(this.whitelisted=!1)},toggleWhitelistProp(t,e){t.props.includes(e)?t.props=t.props.filter(t=>t!==e):t.props.push(e)},isPreviouslyWhitelisted(t){return!this.isArbitrarySignature&&h.a.hasActionPermission(this.payload.origin,this.identity,this.participantAccounts,t)},hasRicardianContract:t=>t.hasOwnProperty("ricardian")&&t.ricardian.length,...Object(s.b)([a.ADD_RESOURCES])}},k=(i("YDm8"),i("KHd+")),A=Object(k.a)(C,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",[i("section",{staticClass:"multi-pane popout-window"},[i("section",{staticClass:"main-panel"},[i("PopOutApp",{attrs:{app:t.appData}}),t._v(" "),t.limitedMessages.total>1?i("figure",{staticClass:"has-more"},[t._v(t._s(t.$t("popouts.signature.actionsTotal",{x:t.limitedMessages.total})))]):t._e(),t._v(" "),t.participantAccounts?i("section",{staticClass:"participants"},[i("label",[t._v(t._s(t.$t("popouts.signature.accountsInvolved")))]),t._v(" "),t.participantsAsSelector?i("Select",{attrs:{bordered:"1",options:t.participantAccounts,parser:function(t){return t.network().name+" - "+t.sendable()}}}):i("section",[t._l(t.participantAccounts.slice(0,2),(function(e){return i("section",{staticClass:"participant"},[t._v("\n "+t._s(e.network().name)+" - "),i("b",[t._v(t._s(e.sendable()))])])})),t._v(" "),t.participantAccounts.length>2?i("figure",{staticClass:"more-participants",on:{click:function(e){t.participantsAsSelector=!0}}},[t._v("\n +"+t._s(t.participantAccounts.length)+" "+t._s(t.$t("popouts.signature.moreAccounts"))+"\n ")]):t._e()],2)],1):t._e(),t._v(" "),t.isArbitrarySignature?i("section",{staticClass:"participants"},[i("label",[t._v(t._s(t.$t("popouts.signature.keysInvolved")))]),t._v(" "),i("section",{staticClass:"participant"},[t._v(t._s(t.arbitraryKeypair.name))])]):t._e(),t._v(" "),i("section",{staticClass:"fixed-actions"},[t.isDangerous?i("section",{staticClass:"disclaimer less-pad red centered",staticStyle:{"margin-bottom":"10px"}},[t._v("\n "+t._s(t.$t("popouts.signature.dangerous"))+"\n ")]):t._e(),t._v(" "),i("section",{staticClass:"accept-deny"},[t.pinning?t._e():i("Button",{attrs:{text:t.$t("generic.deny"),big:"1"},nativeOn:{click:function(e){return t.returnResult(!1)}}}),t._v(" "),t.pinning?t._e():i("Button",{attrs:{red:t.isDangerous||t.reputation&&t.reputation.decimal<0,big:"1",blue:"1",disabled:t.cannotSignArbitrary,text:t.$t("generic.allow")},nativeOn:{click:function(e){return t.accepted(e)}}})],1)])],1),t._v(" "),t.expanded?t._e():i("section",{staticClass:"side-panel"},[i("section",{staticClass:"messages-scroller"},[t.isArbitrarySignature||!t.personalFields.length&&!t.locationFields.length?t._e():i("RequiredFields",{attrs:{identity:t.identity,fields:t.fields,"selected-identity":t.selectedIdentity,"cloned-location":t.clonedLocation,"selected-location":t.selectedLocation,"split-panels":"1"},on:{selectLocation:function(e){t.selectedLocation=e,t.clonedLocation=e.clone()},locationField:function(e,i){return t.clonedLocation[e]=i},personalField:function(e,i){return t.selectedIdentity.personal[e]=i}}}),t._v(" "),t._l(t.messages,(function(e,s){return i("section",{ref:"message_"+s,refInFor:!0,staticClass:"messages",class:{dangerous:t.isDangerous||t.reputable(e)&&t.reputable(e).decimal<0}},[t.isPreviouslyWhitelisted(e)?i("section",{staticClass:"whitelist-overlay"},[i("section",{staticClass:"box"},[i("figure",{staticClass:"info"},[t._v(t._s(t.$t("popouts.signature.previouslyWhitelisted")))])])]):t._e(),t._v(" "),i("section",{class:{"previous-whitelist":t.isPreviouslyWhitelisted(e)}},[i("section",{staticClass:"details contract-action"},[t.isDangerous?i("section",{directives:[{name:"tooltip",rawName:"v-tooltip.right",value:{content:t.isDangerous,classes:["dangertip"]},expression:"{content:isDangerous, classes:['dangertip']}",modifiers:{right:!0}}],staticClass:"danger wiggle"},[i("i",{staticClass:"icon-help"})]):t._e(),t._v(" "),i("figure",{staticClass:"title"},[t.whitelisted&&!t.isPreviouslyWhitelisted(e)?i("input",{attrs:{type:"checkbox"},domProps:{checked:!!t.getWhitelist(e)},on:{change:function(i){return t.addWhitelist(e)}}}):t._e(),t._v(" "),i("ReputationScore",{staticClass:"score",attrs:{reputable:t.reputable(e),small:"1"}}),t._v(" "),i("span",{on:{click:function(i){return t.collapse(e)}}},[t._v(t._s(e.code)+" "),i("i",{staticClass:"contract-split icon-right-open-big"}),t._v(" "+t._s(e.type))])],1),t._v(" "),t.isDangerous?i("span",{staticClass:"danger-title"},[t._v(t._s(t.$t("popouts.signature.dangerousAction")))]):t._e()]),t._v(" "),t.isCollapsed(e)?i("section",{staticClass:"collapsed"},[t._v("\n "+t._s(t.$t("popouts.signature.hiddenAction"))+"\n ")]):i("section",[i("br"),t._v(" "),t._l(e.data,(function(s,a){return t.viewType===t.VIEW_TYPES.HUMAN?i("section",{staticClass:"properties"},[i("label",[t._v(t._s(a))]),t._v(" "),i("section",{staticClass:"split-inputs"},[t.whitelisted&&!t.isPreviouslyWhitelisted(e)?i("input",{attrs:{type:"checkbox"},on:{change:function(i){t.toggleWhitelistProp(t.getWhitelist(e),a)}}}):t._e(),t._v(" "),"object"==typeof s?i("figure",{staticClass:"value object"},[i("div",{ref:t.hash(JSON.stringify(e))+a+t.hash(s),refInFor:!0,attrs:{"v-html":t.formatJson(s,t.hash(JSON.stringify(e))+a)}})]):i("figure",{staticClass:"value"},[t._v(t._s(s))])])]):t._e()})),t._v(" "),t.viewType===t.VIEW_TYPES.JSON?i("section",{staticClass:"properties"},[i("div",{ref:t.hash(e.data),refInFor:!0,staticClass:"value object",attrs:{"v-html":t.formatJson(e.data)}})]):t._e(),t._v(" "),t.viewType===t.VIEW_TYPES.RICARDIAN?i("section",{staticClass:"properties"},[t.hasRicardianContract(e)?i("figure",{staticClass:"ricardian"},[t._v(t._s(e.ricardian))]):i("figure",{staticClass:"collapsed"},[t._v("No Ricardian Contract")])]):t._e()],2)])])}))],2),t._v(" "),t.isArbitrarySignature||t.isDangerous?t._e():i("section",{staticClass:"whitelist-bar"},[t.whitelisted?t._e():i("figure",{staticClass:"text"},[t._v(t._s(t.$t("popouts.signature.whitelistThis")))]),t._v(" "),t.whitelisted?i("figure",{staticClass:"text blue"},[t._v(t._s(t.$t("popouts.signature.whitelistExplainer")))]):t._e(),t._v(" "),i("Switcher",{attrs:{state:t.whitelisted},nativeOn:{click:function(e){return t.whitelist(e)}}})],1)])])])}),[],!1,null,"d753f700",null);e.default=A.exports},IeaP:function(t,e,i){"use strict";var s=i("L2JU"),a={components:{Scatter:i("wg2a").a},props:["app","suffix"],computed:{...Object(s.d)(["appReputation"]),...Object(s.c)(["ridlEnabled"]),unknownReputation(){return void 0===this.appReputation},trusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)>0},untrusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)<0}}},n=(i("tL4a"),i("KHd+")),o=Object(n.a)(a,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{staticClass:"app-details"},[t.untrusted?i("figure",{staticClass:"logo scam"},[i("i",{staticClass:"icon-attention"})]):i("figure",{staticClass:"logo",class:{border:"Scatter"!==t.app.applink&&!t.app.img}},["Scatter"===t.app.applink?i("Scatter"):t.app.img?i("img",{attrs:{src:t.app.img}}):i("span",[t._v(t._s(t.$t("popouts.popoutApp.noImage")))])],1),t._v(" "),t.ridlEnabled&&"Scatter"!==t.app.applink?i("section",[!1===t.appReputation?i("figure",{staticClass:"reputation"},[i("i",{staticClass:"icon-spin4 animate-spin"}),t._v(" loading reputation")]):i("section",[t.unknownReputation?i("figure",{staticClass:"reputation"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.unknown")))]):t._e(),t._v(" "),t.trusted?i("figure",{staticClass:"reputation trusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.trusty")))]):t._e(),t._v(" "),t.untrusted?i("figure",{staticClass:"reputation untrusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.scam")))]):t._e()])]):t._e(),t._v(" "),i("figure",{staticClass:"name"},[i("b",[t._v(t._s(t.app.name))]),t._v(" "),t.suffix?i("span",[t._v(t._s(t.suffix))]):t._e()])])}),[],!1,null,"3c121449",null);e.a=o.exports},J8XJ:function(t,e,i){var s=i("y5zb");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i("SZ7m").default)("1a4d8aa0",s,!0,{})},L6xj:function(t,e,i){var s=i("p7K2");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i("SZ7m").default)("c9a2862e",s,!0,{})},YDm8:function(t,e,i){"use strict";var s=i("p77h");i.n(s).a},o7X5:function(t,e,i){(t.exports=i("JPst")(!1)).push([t.i,".app-details[data-v-d753f700]{padding:60px 60px 30px}.ridl-popup[data-v-d753f700]{position:fixed;top:79px;left:0;right:0;bottom:0;z-index:9999;display:flex;justify-content:center;align-items:center}.ridl-popup .bg[data-v-d753f700]{position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(255,0,0,0.8);z-index:-1}.ridl-popup .box[data-v-d753f700]{background:#fff;padding:30px;text-align:center;min-width:250px;max-width:450px;width:100%;box-shadow:0 0 0 3px red, 0 0 0 6px white}.ridl-popup .box .link[data-v-d753f700]{cursor:pointer;display:block;text-decoration:underline}.view-types[data-v-d753f700]{position:relative;margin-top:-10px;margin-left:-30px;margin-right:-30px;background:#fff;padding:10px;box-shadow:0 1px 3px rgba(0,0,0,0.05),0 10px 20px rgba(0,0,0,0.02)}input[type=checkbox][data-v-d753f700]{flex:0 0 auto;align-self:flex-start;margin-right:10px;width:20px;height:20px;cursor:pointer}.has-more[data-v-d753f700]{text-align:center;font-size:10px;font-weight:bold;color:#7a7a7a;border:1px solid #c8c8c8;display:table;padding:5px 8px;margin:-25px auto 0}.messages[data-v-d753f700]{padding:20px 0 20px;position:relative}.messages[data-v-d753f700]:not(:first-child){margin-top:60px}.messages .previous-whitelist[data-v-d753f700]{opacity:0.4;cursor:not-allowed}.messages .collapsed[data-v-d753f700]{padding-top:10px;font-size:11px}.messages .whitelist-overlay[data-v-d753f700]{position:absolute;top:50px;right:0;z-index:2;display:flex;justify-content:center;align-items:center}.messages .whitelist-overlay .box[data-v-d753f700]{width:150px;padding:20px;background:#fff;text-align:center;box-shadow:0 2px 4px rgba(0,0,0,0.1),0 10px 20px rgba(0,0,0,0.03);font-size:13px;font-weight:bold}.messages .details .title[data-v-d753f700]{align-items:center;display:flex;font-size:14px;cursor:pointer}.messages .details .title[data-v-d753f700]:hover{text-decoration:underline}.messages .details .contract-split[data-v-d753f700]{padding:0 5px;font-size:13px;display:inline-block;animation:bounce-data-v-d753f700 0.7s infinite}@keyframes bounce-data-v-d753f700{0%,100%{transform:translateX(-2px)}50%{transform:translateX(2px)}}.messages .properties .ricardian[data-v-d753f700]{background:rgba(0,0,0,0.05);border:1px solid rgba(0,0,0,0.15);padding:10px}.messages .properties label[data-v-d753f700]{margin-bottom:5px}.messages .properties .value[data-v-d753f700]{overflow-x:auto;min-height:16px;font-size:16px;font-weight:bold}.messages .properties .value.object[data-v-d753f700]{font-size:13px;font-weight:500}.messages .properties:not(:last-child) .value[data-v-d753f700]{margin-bottom:20px}.messages.dangerous .danger[data-v-d753f700]{cursor:pointer;float:left;padding:6px 5px 5px;background:rgba(0,0,0,0.1);box-shadow:inset 0 5px 10px rgba(0,0,0,0.1);text-shadow:0 2px 0 rgba(0,0,0,0.1);margin-top:7px;margin-right:10px}.messages.dangerous .details.contract-action[data-v-d753f700]{background:red;background:linear-gradient(-180deg, #ff0707 -20%, #e23b3b 100%);border-bottom:1px solid darkred;color:#fff}.messages.dangerous .danger-title[data-v-d753f700]{font-size:11px;width:100%}.json-formatter-dark.json-formatter-row[data-v-d753f700]{padding:0}.contract-action[data-v-d753f700]{margin:-20px -30px 0;border-top:1px solid rgba(0,0,0,0.04);padding:20px 30px;background:linear-gradient(180deg, #007fd7 0%, #0799ff 100%);color:#fff}.contract-action .title span[data-v-d753f700]{font-size:18px}\n",""])},p77h:function(t,e,i){var s=i("o7X5");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i("SZ7m").default)("795c799a",s,!0,{})},p7K2:function(t,e,i){(t.exports=i("JPst")(!1)).push([t.i,".fields-title[data-v-586a6aca]{margin:-20px -30px 0;padding:20px 30px;background:linear-gradient(180deg, #007fd7 0%, #0799ff 100%);color:#fff;font-size:18px;margin-bottom:20px}.required-fields[data-v-586a6aca]{padding:20px 0 0}\n",""])},pNnu:function(t,e,i){"use strict";var s=i("L6xj");i.n(s).a},psvp:function(t,e,i){"use strict";i("L2JU");var s={props:["fields","identity","selectedIdentity","selectedLocation","clonedLocation"],data:()=>({}),computed:{identityRequirements(){return this.personalFields.concat(this.locationFields).join(", ")},personalFields(){return this.fields.personal},locationFields(){return this.fields.location}},methods:{fieldValueFor(t,e=!1){return e?this.identity.getPropertyValueByName(t,this.selectedLocation):this.selectedIdentity.getPropertyValueByName(t,this.clonedLocation)}}},a=(i("pNnu"),i("KHd+")),n=Object(a.a)(s,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{staticClass:"required-fields"},[i("section",{staticClass:"fields-title"},[t._v("\n\t\t"+t._s(t.$t("popouts.requiredFields.title"))+"\n\t")]),t._v(" "),i("section",[i("label",[t._v(t._s(t.$t("popouts.requiredFields.personalInformation")))]),t._v(" "),i("figure",{staticClass:"text"},[t._v("\n\t\t\t"+t._s(t.identityRequirements)+"\n\t\t")])])])}),[],!1,null,"586a6aca",null);e.a=n.exports},tL4a:function(t,e,i){"use strict";var s=i("J8XJ");i.n(s).a},y5zb:function(t,e,i){(t.exports=i("JPst")(!1)).push([t.i,".reputation[data-v-3c121449]{padding:5px 12px;font-size:10px;margin-bottom:10px;margin-top:-5px;font-weight:bold;background:#f3f6f7;color:#c8c8c8}.reputation.trusted[data-v-3c121449]{background:#159F00;color:#fff}.reputation.untrusted[data-v-3c121449]{background:#ff0707;color:#fff}.app-details[data-v-3c121449]{text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center}.app-details .logo[data-v-3c121449]{display:flex;align-items:center;justify-content:center;height:100px;width:100px;border-radius:4px;padding:5px;margin-bottom:20px}.app-details .logo.border[data-v-3c121449]{background:#f3f6f7;border:1px solid #dfe0e1}.app-details .logo img[data-v-3c121449]{height:100%;width:100%}.app-details .logo span[data-v-3c121449]{font-size:10px;font-weight:bold;color:#7a7a7a}.app-details .logo.scam[data-v-3c121449]{font-size:48px;border-radius:50%;color:#ff0707;background:#f3f6f7;border:1px solid #dfe0e1;animation:pulsate 0.5s ease infinite}.app-details .name[data-v-3c121449]{font-size:14px}\n",""])}}]); \ No newline at end of file diff --git a/dist/48.bundle.js b/dist/48.bundle.js index 37517d4..813da35 100644 --- a/dist/48.bundle.js +++ b/dist/48.bundle.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[48],{"2qTD":function(t,e,a){"use strict";a.r(e);var i=a("L2JU"),s=a("RNqi"),n=(a("EY8S"),a("78si"),a("psvp")),o=a("O1cq"),p=a.n(o),r=a("Hxfq"),c=a.n(r),l=a("SDtL"),u=a.n(l),d=a("IeaP"),f=a("IfgB"),C=a("Gbp+"),g={props:["popup","expanded"],components:{PopOutApp:d.a,RequiredFields:n.a,SearchBar:s.a},data:()=>({searchTerms:""}),created(){},computed:{...Object(i.d)(["scatter"]),...Object(i.c)(["identities","accounts","networks","keypairs"]),payload(){return this.popup.payload()},blockchain(){return this.payload.blockchain}},methods:{returnResult(t){this.$emit("returned",t)},selectKeypair(){f.a.push(C.a.selectKeypair(t=>{t&&this.returnResult({keypair:t,isNew:!1})},[this.blockchain]))},async generateNewKey(){this.setWorkingScreen(!0),setTimeout(async()=>{const t=c.a.placeholder();t.name=`${this.popup.origin()}-${u.a.text(4)}`,await p.a.generateKeyPair(t),await p.a.makePublicKeys(t),t.blockchains=[this.blockchain],this.returnResult({keypair:t,isNew:!0})},50)}}},x=(a("Omtz"),a("KHd+")),v=Object(x.a)(g,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"popout-window"},[a("PopOutApp",{attrs:{app:t.popup.data.props.appData,suffix:t.$t("popouts.getPublicKey.suffix")}}),t._v(" "),a("section",{staticClass:"get-public-key"},[a("Button",{attrs:{blue:"1",big:"1",text:t.$t("popouts.getPublicKey.select")},nativeOn:{click:function(e){return t.selectKeypair(e)}}}),t._v(" "),t._m(0),t._v(" "),a("Button",{attrs:{blue:"1",big:"1",text:t.$t("popouts.getPublicKey.generate")},nativeOn:{click:function(e){return t.generateNewKey(e)}}})],1)],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("figure",{staticClass:"or"},[e("figure",{staticClass:"text"},[this._v("or")])])}],!1,null,"4acfa303",null);e.default=v.exports},GMqv:function(t,e,a){var i=a("muCR");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("6e151c91",i,!0,{})},IeaP:function(t,e,a){"use strict";var i=a("L2JU"),s={components:{Scatter:a("wg2a").a},props:["app","suffix"],computed:{...Object(i.d)(["appReputation"]),...Object(i.c)(["ridlEnabled"]),unknownReputation(){return void 0===this.appReputation},trusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)>0},untrusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)<0}}},n=(a("tL4a"),a("KHd+")),o=Object(n.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"app-details"},[t.untrusted?a("figure",{staticClass:"logo scam"},[a("i",{staticClass:"icon-attention"})]):a("figure",{staticClass:"logo",class:{border:"Scatter"!==t.app.applink&&!t.app.img}},["Scatter"===t.app.applink?a("Scatter"):t.app.img?a("img",{attrs:{src:t.app.img}}):a("span",[t._v(t._s(t.$t("popouts.popoutApp.noImage")))])],1),t._v(" "),t.ridlEnabled&&"Scatter"!==t.app.applink?a("section",[!1===t.appReputation?a("figure",{staticClass:"reputation"},[a("i",{staticClass:"icon-spin4 animate-spin"}),t._v(" loading reputation")]):a("section",[t.unknownReputation?a("figure",{staticClass:"reputation"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.unknown")))]):t._e(),t._v(" "),t.trusted?a("figure",{staticClass:"reputation trusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.trusty")))]):t._e(),t._v(" "),t.untrusted?a("figure",{staticClass:"reputation untrusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.scam")))]):t._e()])]):t._e(),t._v(" "),a("figure",{staticClass:"name"},[a("b",[t._v(t._s(t.app.name))]),t._v(" "),t.suffix?a("span",[t._v(t._s(t.suffix))]):t._e()])])}),[],!1,null,"3c121449",null);e.a=o.exports},J8XJ:function(t,e,a){var i=a("y5zb");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("1a4d8aa0",i,!0,{})},L6xj:function(t,e,a){var i=a("p7K2");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("c9a2862e",i,!0,{})},Omtz:function(t,e,a){"use strict";var i=a("GMqv");a.n(i).a},muCR:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".app-details[data-v-4acfa303]{padding:50px 50px 20px 50px}.get-public-key[data-v-4acfa303]{text-align:center;padding:50px}\n",""])},p7K2:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".fields-title[data-v-586a6aca]{margin:-20px -30px 0;padding:20px 30px;background:linear-gradient(180deg, #007fd7 0%, #0799ff 100%);color:#fff;font-size:18px;margin-bottom:20px}.required-fields[data-v-586a6aca]{padding:20px 0 0}\n",""])},pNnu:function(t,e,a){"use strict";var i=a("L6xj");a.n(i).a},psvp:function(t,e,a){"use strict";a("L2JU");var i={props:["fields","identity","selectedIdentity","selectedLocation","clonedLocation"],data:()=>({}),computed:{identityRequirements(){return this.personalFields.concat(this.locationFields).join(", ")},personalFields(){return this.fields.personal},locationFields(){return this.fields.location}},methods:{fieldValueFor(t,e=!1){return e?this.identity.getPropertyValueByName(t,this.selectedLocation):this.selectedIdentity.getPropertyValueByName(t,this.clonedLocation)}}},s=(a("pNnu"),a("KHd+")),n=Object(s.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"required-fields"},[a("section",{staticClass:"fields-title"},[t._v("\n\t\t"+t._s(t.$t("popouts.requiredFields.title"))+"\n\t")]),t._v(" "),a("section",[a("label",[t._v(t._s(t.$t("popouts.requiredFields.personalInformation")))]),t._v(" "),a("figure",{staticClass:"text"},[t._v("\n\t\t\t"+t._s(t.identityRequirements)+"\n\t\t")])])])}),[],!1,null,"586a6aca",null);e.a=n.exports},tL4a:function(t,e,a){"use strict";var i=a("J8XJ");a.n(i).a},wg2a:function(t,e,a){"use strict";var i=a("KHd+"),s=Object(i.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:"88px",height:"88px",viewBox:"0 0 88 88",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e("g",{attrs:{id:"welcome_scatter",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"}},[e("g",{attrs:{id:"Group",stroke:"#00A8FF"}},[e("g",{attrs:{id:"Icon"}},[e("circle",{attrs:{id:"Base",cx:"44",cy:"44",r:"43.7079646"}})]),this._v(" "),e("path",{attrs:{d:"M40.8188559,71.5932203 C39.3040178,71.5932203 38.0455559,71.423153 37.0434322,71.0830131 C36.0413085,70.7428732 35.2489436,70.3616877 34.6663136,69.9394451 C34.0836835,69.5172025 33.6758486,69.1125594 33.4427966,68.7255037 C33.2097446,68.338448 33.0932203,68.0862791 33.0932203,67.9689895 C33.0932203,67.5467469 33.1864397,67.0951887 33.3728814,66.6143013 C33.559323,66.1334139 33.7923715,65.68772 34.0720339,65.2772064 C34.3516963,64.8666928 34.6546594,64.5206936 34.9809322,64.2391985 C35.307205,63.9577035 35.5985157,63.816958 35.8548729,63.816958 C36.1811457,63.816958 36.4491515,64.0280762 36.6588983,64.4503188 L37.0084746,64.8021858 C37.1949162,64.9898492 37.4570958,65.1833742 37.7950212,65.3827665 C38.1329466,65.5821588 38.5524339,65.763955 39.0534958,65.9281605 C39.5545576,66.0923659 40.1430051,66.1744674 40.8188559,66.1744674 C42.2870836,66.1744674 43.4872835,65.7229092 44.4194915,64.8197792 C45.3516996,63.9166492 45.8177966,62.6909911 45.8177966,61.1427683 C45.8177966,60.0637039 45.5672695,59.1019435 45.0662076,58.2574583 C44.5651458,57.4129731 43.9067837,56.6271445 43.0911017,55.8999489 C42.2754197,55.1727533 41.3432256,54.4631618 40.2944915,53.7711531 C39.2457575,53.0791444 38.1737343,52.3578241 37.0783898,51.6071706 C35.9830454,50.8565171 34.9110222,50.0472309 33.8622881,49.1792878 C32.8135541,48.3113447 31.88136,47.314398 31.065678,46.1884177 C30.2499959,45.0624374 29.5916339,43.7898643 29.090572,42.37066 C28.5895102,40.9514557 28.3389831,39.3270189 28.3389831,37.497301 C28.3389831,35.9256202 28.6069888,34.3422342 29.1430085,32.7470955 C29.6790281,31.1519568 30.4189571,29.6330792 31.3628178,28.190417 C32.3066784,26.7477547 33.4194851,25.3989445 34.7012712,24.1439456 C35.9830573,22.8889468 37.3696959,21.7981698 38.8612288,20.8715818 C40.3527617,19.9449939 41.9083605,19.2178092 43.528072,18.690006 C45.1477835,18.1622028 46.7732969,17.8983051 48.404661,17.8983051 C49.8029731,17.8983051 51.0614351,18.121152 52.1800847,18.5668525 C53.2987344,19.012553 54.2425809,19.640043 55.0116525,20.4493414 C55.7807242,21.2586397 56.3749979,22.2321288 56.7944915,23.3698381 C57.2139851,24.5075473 57.4237288,25.7801205 57.4237288,27.1875958 C57.4237288,28.5246974 57.1906803,29.8383213 56.7245763,31.128507 C56.2584722,32.4186927 55.6408937,33.6384864 54.871822,34.7879246 C54.1027504,35.9373627 53.2346447,36.9988178 52.2674788,37.9723216 C51.300313,38.9458253 50.3098568,39.7902979 49.2960805,40.5057645 C48.2823043,41.2212311 47.2976743,41.7783484 46.342161,42.1771331 C45.3866478,42.5759178 44.5476731,42.7753071 43.8252119,42.7753071 C43.1959714,42.7753071 42.6308288,42.6286973 42.1297669,42.3354733 C41.6287051,42.0422492 41.2092178,41.6786569 40.8712924,41.2446853 C40.533367,40.8107138 40.2711874,40.3532912 40.0847458,39.8724038 C39.8983042,39.3915164 39.8050847,38.9634157 39.8050847,38.5880889 C39.8050847,38.283136 39.8458682,38.0837466 39.9274364,37.9899149 C40.0090046,37.8960832 40.1255289,37.8550325 40.2770127,37.8667614 C40.4284965,37.8784904 40.6207615,37.9136768 40.8538136,37.9723216 C41.0868656,38.0309664 41.3548714,38.0602883 41.657839,38.0602883 C42.6366574,38.0602883 43.720333,37.7201536 44.9088983,37.0398738 C46.0974636,36.3595941 47.2160965,35.491664 48.2648305,34.4360575 C49.3135646,33.380451 50.1933227,32.2193013 50.9041314,30.9525735 C51.61494,29.6858457 51.970339,28.4543232 51.970339,27.2579692 C51.970339,26.0381573 51.6732021,25.0763969 51.0789195,24.3726592 C50.4846369,23.6689216 49.476702,23.317058 48.0550847,23.317058 C47.1694871,23.317058 46.208162,23.4871254 45.1710805,23.8272653 C44.1339991,24.1674051 43.0911069,24.6424209 42.0423729,25.2523269 C40.9936388,25.8622329 39.9798778,26.6011463 39.0010593,27.4690895 C38.0222409,28.3370326 37.1599614,29.2929286 36.4141949,30.3368061 C35.6684285,31.3806836 35.0683285,32.506647 34.6138771,33.71473 C34.1594257,34.922813 33.9322034,36.1836574 33.9322034,37.497301 C33.9322034,38.8813184 34.1827305,40.1187053 34.6837924,41.2094986 C35.1848542,42.300292 35.8490425,43.2913744 36.6763771,44.1827754 C37.5037118,45.0741764 38.441732,45.8951914 39.4904661,46.6458449 C40.5392002,47.3964984 41.6112233,48.1412763 42.7065678,48.8802008 C43.8019123,49.6191254 44.8739354,50.3814964 45.9226695,51.1673368 C46.9714035,51.9531772 47.9094238,52.8211073 48.7367585,53.7711531 C49.5640931,54.721199 50.2282814,55.7767896 50.7293432,56.9379568 C51.230405,58.0991239 51.4809322,59.430341 51.4809322,60.931648 C51.4809322,62.3860392 51.2071002,63.7641715 50.659428,65.0660861 C50.1117557,66.3680008 49.3601743,67.4998286 48.404661,68.4616034 C47.4491478,69.4233782 46.3188625,70.1857492 45.0137712,70.7487394 C43.7086799,71.3117295 42.3103888,71.5932203 40.8188559,71.5932203 Z",id:"Scatter"}})])])])}),[],!1,null,null,null);e.a=s.exports},y5zb:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".reputation[data-v-3c121449]{padding:5px 12px;font-size:10px;margin-bottom:10px;margin-top:-5px;font-weight:bold;background:#f3f6f7;color:#c8c8c8}.reputation.trusted[data-v-3c121449]{background:#159F00;color:#fff}.reputation.untrusted[data-v-3c121449]{background:#ff0707;color:#fff}.app-details[data-v-3c121449]{text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center}.app-details .logo[data-v-3c121449]{display:flex;align-items:center;justify-content:center;height:100px;width:100px;border-radius:4px;padding:5px;margin-bottom:20px}.app-details .logo.border[data-v-3c121449]{background:#f3f6f7;border:1px solid #dfe0e1}.app-details .logo img[data-v-3c121449]{height:100%;width:100%}.app-details .logo span[data-v-3c121449]{font-size:10px;font-weight:bold;color:#7a7a7a}.app-details .logo.scam[data-v-3c121449]{font-size:48px;border-radius:50%;color:#ff0707;background:#f3f6f7;border:1px solid #dfe0e1;animation:pulsate 0.5s ease infinite}.app-details .name[data-v-3c121449]{font-size:14px}\n",""])}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[48],{"5Pnu":function(t,e,a){"use strict";a.r(e);var s=a("L2JU"),n=a("IeaP"),i=(a("EY8S"),a("78si")),o=a.n(i),r=a("psvp"),c=(a("O1cq"),a("Hxfq"),a("SDtL"),a("GwxU")),p=a.n(c),u=a("F+MN"),l=a("ONSl"),d=a.n(l),f=a("IfgB"),m=a("Gbp+"),h={props:["popup","expanded","pinning"],components:{RequiredFields:r.a,PopOutApp:n.a},data:()=>({searchTerms:"",account:null,customAmount:0,inputError:!1}),created(){this.customAmount=parseFloat(0).toFixed(this.decimals)},computed:{...Object(s.d)(["scatter"]),...Object(s.c)(["identity","identities","accounts","networks","keypairs"]),payload(){return this.popup.payload()},network(){return this.networks.find(t=>t.unique()===o.a.fromJson(this.payload.network).unique())},blockchain(){return this.network.blockchain},to(){return this.payload.to},amount(){return parseFloat(this.payload.amount).toFixed(this.decimals)},options(){return this.payload.options||{}},memo(){return this.payload.memo},decimals(){return this.options.decimals||4},token(){return p.a.fromJson({contract:this.payload.contract,blockchain:this.blockchain,symbol:this.payload.symbol,decimals:this.options.decimals||PluginRepository.plugin(this.blockchain).defaultDecimals(),name:this.payload.symbol})},validAccounts(){return this.accounts.filter(t=>[this.network.unique()].includes(t.networkUnique)).filter(t=>[this.network.blockchain].includes(t.blockchain().toLowerCase())).filter(t=>JSON.stringify(t).toLowerCase().indexOf(this.searchTerms.toLowerCase())>-1).reduce((t,e)=>(t.find(t=>e.network().unique()===t.network().unique()&&e.sendable()===t.sendable())||t.push(e),t),[])},selectedAccounts(){return[this.account].map(t=>this.formatAccount(t,!1))},currentAmount(){return this.amount>0?this.amount:this.customAmount}},methods:{returnResult(t){if(!t)return this.$emit("returned",null);let e=this.currentAmount;e=this.blockchain===u.Blockchains.EOSIO?parseFloat(e).toFixed(this.decimals):d.a.formatAmount(e,this.token),this.$emit("returned",{account:this.account,amount:e})},selectTokenAndAccount(){f.a.push(m.a.selectAccount(t=>{t&&(this.account=t)},this.validAccounts))},selectAccount(t){if(this.inputError=!1,t&&this.currentAmount<=0)return this.inputError=!0;this.account=t},formatAccount(t,e=!0){return{title:t.sendable(),description:"",actions:[{name:e?this.$t("generic.select"):this.$t("generic.unselect"),handler:()=>this.selectAccount(e?t:null),blue:e,red:!e,small:1}]}}},watch:{customAmount(){this.inputError=!1}}},v=(a("BWzg"),a("KHd+")),b=Object(v.a)(h,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"popout-window transfer"},[a("PopOutApp",{attrs:{app:t.popup.data.props.appData,suffix:t.$t("popouts.transferRequest.suffix")}}),t._v(" "),t.account?a("section",{staticClass:"padded"},[a("br"),t._v(" "),a("br"),t._v(" "),a("section",{staticClass:"transfer-details"},[t.amount>0?a("div",[t._v(t._s(parseFloat(t.amount).toFixed(t.decimals))+" "+t._s(t.token.symbol))]):a("div",[t._v(t._s(t.customAmount)+" "+t._s(t.token.symbol))]),t._v(" "),a("span",{class:{small:t.to.length>12}},[t._v(t._s(t.to))])]),t._v(" "),t.memo&&t.memo.length?a("section",{staticClass:"memo"},[a("section",{staticClass:"info-line"},[a("span",[t._v(t._s(t.$t("generic.memo")))])]),t._v(" "),a("span",[t._v(t._s(t.memo))])]):t._e(),t._v(" "),a("section",{staticClass:"info-line"},[a("span",[t._v(t._s(t.$t("transfer.sender")))])]),t._v(" "),a("section",{staticClass:"boxes"},[a("section",{staticClass:"box nested account-selector",on:{click:t.selectTokenAndAccount}},[a("section",[a("figure",{staticClass:"name"},[t._v(t._s(t.account.sendable()))]),t._v(" "),a("figure",{staticClass:"network"},[t._v(t._s(t.network.name))])]),t._v(" "),a("figure",{staticClass:"chevron fas fa-caret-square-down"})])]),t._v(" "),t.pinning?t._e():a("section",{staticClass:"fixed-actions"},[a("Button",{attrs:{blue:"1",text:t.$t("generic.confirm")},nativeOn:{click:function(e){return t.returnResult(!0)}}}),t._v(" "),a("Button",{attrs:{text:t.$t("generic.deny")},nativeOn:{click:function(e){return t.returnResult(null)}}})],1)]):a("section",[a("section",{staticClass:"padded"},[a("Input",{attrs:{disabled:t.amount>0,red:t.inputError,big:"1",centered:"1",text:t.amount>0?t.amount:t.customAmount,placeholder:parseFloat(1).toFixed(t.decimals)},on:{changed:function(e){return t.customAmount=e}}}),t._v(" "),a("section",{staticClass:"boxes"},[a("section",{staticClass:"box nested account-selector",on:{click:t.selectTokenAndAccount}},[a("section",[a("figure",{staticClass:"name"},[t._v(t._s(t.$t("popouts.transferRequest.selectAccount")))]),t._v(" "),a("figure",{staticClass:"network"},[t._v(t._s(t.network.name))])]),t._v(" "),a("figure",{staticClass:"chevron fas fa-caret-square-down"})])])],1)])],1)}),[],!1,null,"792be500",null);e.default=b.exports},BWzg:function(t,e,a){"use strict";var s=a("cluC");a.n(s).a},IeaP:function(t,e,a){"use strict";var s=a("L2JU"),n={components:{Scatter:a("wg2a").a},props:["app","suffix"],computed:{...Object(s.d)(["appReputation"]),...Object(s.c)(["ridlEnabled"]),unknownReputation(){return void 0===this.appReputation},trusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)>0},untrusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)<0}}},i=(a("tL4a"),a("KHd+")),o=Object(i.a)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"app-details"},[t.untrusted?a("figure",{staticClass:"logo scam"},[a("i",{staticClass:"icon-attention"})]):a("figure",{staticClass:"logo",class:{border:"Scatter"!==t.app.applink&&!t.app.img}},["Scatter"===t.app.applink?a("Scatter"):t.app.img?a("img",{attrs:{src:t.app.img}}):a("span",[t._v(t._s(t.$t("popouts.popoutApp.noImage")))])],1),t._v(" "),t.ridlEnabled&&"Scatter"!==t.app.applink?a("section",[!1===t.appReputation?a("figure",{staticClass:"reputation"},[a("i",{staticClass:"icon-spin4 animate-spin"}),t._v(" loading reputation")]):a("section",[t.unknownReputation?a("figure",{staticClass:"reputation"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.unknown")))]):t._e(),t._v(" "),t.trusted?a("figure",{staticClass:"reputation trusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.trusty")))]):t._e(),t._v(" "),t.untrusted?a("figure",{staticClass:"reputation untrusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.scam")))]):t._e()])]):t._e(),t._v(" "),a("figure",{staticClass:"name"},[a("b",[t._v(t._s(t.app.name))]),t._v(" "),t.suffix?a("span",[t._v(t._s(t.suffix))]):t._e()])])}),[],!1,null,"3c121449",null);e.a=o.exports},J8XJ:function(t,e,a){var s=a("y5zb");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,a("SZ7m").default)("1a4d8aa0",s,!0,{})},L6xj:function(t,e,a){var s=a("p7K2");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,a("SZ7m").default)("c9a2862e",s,!0,{})},cluC:function(t,e,a){var s=a("xCFK");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,a("SZ7m").default)("7b9a59b2",s,!0,{})},p7K2:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".fields-title[data-v-586a6aca]{margin:-20px -30px 0;padding:20px 30px;background:linear-gradient(180deg, #007fd7 0%, #0799ff 100%);color:#fff;font-size:18px;margin-bottom:20px}.required-fields[data-v-586a6aca]{padding:20px 0 0}\n",""])},pNnu:function(t,e,a){"use strict";var s=a("L6xj");a.n(s).a},psvp:function(t,e,a){"use strict";a("L2JU");var s={props:["fields","identity","selectedIdentity","selectedLocation","clonedLocation"],data:()=>({}),computed:{identityRequirements(){return this.personalFields.concat(this.locationFields).join(", ")},personalFields(){return this.fields.personal},locationFields(){return this.fields.location}},methods:{fieldValueFor(t,e=!1){return e?this.identity.getPropertyValueByName(t,this.selectedLocation):this.selectedIdentity.getPropertyValueByName(t,this.clonedLocation)}}},n=(a("pNnu"),a("KHd+")),i=Object(n.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"required-fields"},[a("section",{staticClass:"fields-title"},[t._v("\n\t\t"+t._s(t.$t("popouts.requiredFields.title"))+"\n\t")]),t._v(" "),a("section",[a("label",[t._v(t._s(t.$t("popouts.requiredFields.personalInformation")))]),t._v(" "),a("figure",{staticClass:"text"},[t._v("\n\t\t\t"+t._s(t.identityRequirements)+"\n\t\t")])])])}),[],!1,null,"586a6aca",null);e.a=i.exports},tL4a:function(t,e,a){"use strict";var s=a("J8XJ");a.n(s).a},xCFK:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".app-details[data-v-792be500]{padding:50px 50px 20px 50px}.boxes[data-v-792be500]{width:100%}.boxes .box[data-v-792be500]{width:100%}.memo[data-v-792be500]{text-align:center}.memo>span[data-v-792be500]{font-size:13px;color:#0799ff;font-weight:bold}.padded[data-v-792be500]{padding:0 30px}.transfer-details[data-v-792be500]{text-align:center}.transfer-details span[data-v-792be500]{display:block;font-size:22px}.transfer-details div[data-v-792be500]{font-size:36px}.transfer-details .blue[data-v-792be500]{color:#0799ff}.transfer-details .small[data-v-792be500]{font-size:13px}.transfer-details .bold[data-v-792be500]{font-weight:800}.popout-list[data-v-792be500]{padding-top:0}.popout-list.done[data-v-792be500]{opacity:0.3}.popout-list.done[data-v-792be500]:hover{opacity:1}.popout-list .search-bar[data-v-792be500]{margin-left:-30px}\n",""])},y5zb:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".reputation[data-v-3c121449]{padding:5px 12px;font-size:10px;margin-bottom:10px;margin-top:-5px;font-weight:bold;background:#f3f6f7;color:#c8c8c8}.reputation.trusted[data-v-3c121449]{background:#159F00;color:#fff}.reputation.untrusted[data-v-3c121449]{background:#ff0707;color:#fff}.app-details[data-v-3c121449]{text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center}.app-details .logo[data-v-3c121449]{display:flex;align-items:center;justify-content:center;height:100px;width:100px;border-radius:4px;padding:5px;margin-bottom:20px}.app-details .logo.border[data-v-3c121449]{background:#f3f6f7;border:1px solid #dfe0e1}.app-details .logo img[data-v-3c121449]{height:100%;width:100%}.app-details .logo span[data-v-3c121449]{font-size:10px;font-weight:bold;color:#7a7a7a}.app-details .logo.scam[data-v-3c121449]{font-size:48px;border-radius:50%;color:#ff0707;background:#f3f6f7;border:1px solid #dfe0e1;animation:pulsate 0.5s ease infinite}.app-details .name[data-v-3c121449]{font-size:14px}\n",""])}}]); \ No newline at end of file diff --git a/dist/49.bundle.js b/dist/49.bundle.js index 26520fa..dc329f2 100644 --- a/dist/49.bundle.js +++ b/dist/49.bundle.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[49],{"82eg":function(t,e,i){"use strict";i.r(e);var s=i("L2JU"),a=i("qjwK"),n=i("T/cf"),o=i("RNqi"),r=i("6IJF"),l=i.n(r),p=i("zugy"),c=i.n(p),d=i("bUKF"),u=i.n(d),g=(i("IfgB"),i("Gbp+"),i("eOAV")),h=i.n(g),f=i("F+MN"),v=i("EY8S"),x=i("psvp"),m=i("O1cq"),b=i.n(m),C=i("bcyO"),_=i("IeaP");const y={HUMAN:"human",JSON:"json",RICARDIAN:"ricardian"};var w={props:["popup","expanded","pinning"],components:{PopOutApp:_.a,ReputationScore:n.a,RequiredFields:x.a,SearchBar:o.a},data:()=>({Blockchains:f.Blockchains,whitelisted:!1,whitelists:[],actionList:[],viewType:y.HUMAN,VIEW_TYPES:y,selectedIdentity:null,selectedLocation:null,clonedLocation:null,hideCloseButton:!1,reputation:null,showingRidlWarning:!1,participantsAsSelector:!1,loadingReputation:!1}),created(){this.selectedIdentity=this.identity.clone(),this.selectedLocation=this.selectedIdentity.getLocation()||this.locations[0],this.clonedLocation=this.selectedLocation.clone(),setTimeout(async()=>{this.loadingReputation=!0,this.reputation=await C.b.checkContracts(this.payload.network,this.messages),this.reputation&&this.reputation.decimal<0&&(this.showingRidlWarning=!0),this.loadingReputation=!1},50)},computed:{...Object(s.d)(["scatter"]),...Object(s.c)(["identity","identities","accounts","networks","locations"]),appData(){return this.popup.data.props.appData},viewTypesArray(){const t=!this.isArbitrarySignature&&!!this.payload.participants.find(t=>u.a.fromJson(t).blockchain()===f.Blockchains.EOSIO),e=[y.HUMAN,y.JSON];return t&&e.push(y.RICARDIAN),e},payload(){return this.popup.payload()},participantAccounts(){return this.payload.hasOwnProperty("participants")?this.payload.participants.map(t=>u.a.fromJson(t)):null},messages(){return this.payload.messages},limitedMessages(){return{actions:this.messages.slice(0,3).map(t=>t.type).join(", "),total:this.messages.length}},isArbitrarySignature(){return!this.payload.hasOwnProperty("participants")},fields(){return v.IdentityRequiredFields.fromJson(this.payload.requiredFields||{})},personalFields(){return this.fields.personal},locationFields(){return this.fields.location},missingFields(){return!(!this.personalFields.length&&!this.locationFields.length)&&!this.identity.hasRequiredFields(this.fields)},isValidIdentity(){return this.selectedIdentity.hasRequiredFields(this.fields,this.clonedLocation)},arbitraryKeypair(){return b.a.getKeyPairFromPublicKey(this.payload.publicKey)},cannotSignArbitrary(){return!!this.isArbitrarySignature&&this.payload.messages[0].data.signing.split(" ").some(t=>t.length>12)},isDangerous(){return!!this.messages.find(t=>"eosio"===t.code&&"updateauth"===t.type)&&this.$t("popouts.signature.dangerousTooltip")}},methods:{returnResult(t){this.$emit("returned",t)},reputable(t){if(this.reputation)return this.reputation.reputables.find(e=>e.code===`${t.code}${t.type}`)},ridlLink:t=>`${C.a}/reputable?id=${t.id}`,formatViewType(t){switch(t){case y.HUMAN:return"Human Readable";case y.JSON:return"JSON Format";case y.RICARDIAN:return"Ricardian Contracts"}},collapse(t){this.toggleAction(t,"collapsed")},isCollapsed(t){return this.actionList.find(e=>e===this.getMessageUnique(t,"collapsed"))},async accepted(){this.returnResult({whitelists:this.whitelists,identity:this.selectedIdentity,location:this.clonedLocation,missingFields:this.missingFields,accepted:!0,needResources:!1})},hash:t=>c.a.unsaltedQuickHash(JSON.stringify(t)),formatJson(t,e=null){this.$nextTick(()=>{const i=(e||"")+this.hash(t),s=new l.a(t,99999,{hoverPreviewEnabled:!0,hoverPreviewArrayCount:10,hoverPreviewFieldCount:5,useToJSON:!0}),a=this.$refs[i][0];if(a.children.length>=1)return!1;a.appendChild(s.render())})},whitelist(){this.whitelisted=!this.whitelisted,this.messages.map(t=>{this.isPreviouslyWhitelisted(t)||this.addWhitelist(t)})},getMessageUnique:(t,e)=>`${t.code}:${t.type}:${e}`,getWhitelist(t){const e=this.getMessageUnique(t,"whitelist");return this.whitelists.find(t=>t.unique===e)},toggleAction(t,e){const i=this.getMessageUnique(t,e);this.actionList.includes(i)?this.actionList=this.actionList.filter(t=>t!==i):this.actionList.push(i)},getAction(t,e){return this.actionList.find(i=>i===this.getMessageUnique(t,e))},addWhitelist(t){if(this.isPreviouslyWhitelisted(t))return!1;this.toggleAction(t,"whitelist");const e=this.getMessageUnique(t,"whitelist"),i={unique:e,props:[],code:t.code,type:t.type,fields:t.data};this.whitelists.find(t=>t.unique===i.unique)?this.whitelists=this.whitelists.filter(t=>t.unique!==e):this.whitelists.push(i),0===this.whitelists.length&&(this.whitelisted=!1)},toggleWhitelistProp(t,e){t.props.includes(e)?t.props=t.props.filter(t=>t!==e):t.props.push(e)},isPreviouslyWhitelisted(t){return!this.isArbitrarySignature&&h.a.hasActionPermission(this.payload.origin,this.identity,this.participantAccounts,t)},hasRicardianContract:t=>t.hasOwnProperty("ricardian")&&t.ricardian.length,...Object(s.b)([a.ADD_RESOURCES])}},k=(i("YDm8"),i("KHd+")),A=Object(k.a)(w,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",[i("section",{staticClass:"multi-pane popout-window"},[i("section",{staticClass:"main-panel"},[i("PopOutApp",{attrs:{app:t.appData}}),t._v(" "),t.limitedMessages.total>1?i("figure",{staticClass:"has-more"},[t._v(t._s(t.$t("popouts.signature.actionsTotal",{x:t.limitedMessages.total})))]):t._e(),t._v(" "),t.participantAccounts?i("section",{staticClass:"participants"},[i("label",[t._v(t._s(t.$t("popouts.signature.accountsInvolved")))]),t._v(" "),t.participantsAsSelector?i("Select",{attrs:{bordered:"1",options:t.participantAccounts,parser:function(t){return t.network().name+" - "+t.sendable()}}}):i("section",[t._l(t.participantAccounts.slice(0,2),(function(e){return i("section",{staticClass:"participant"},[t._v("\n "+t._s(e.network().name)+" - "),i("b",[t._v(t._s(e.sendable()))])])})),t._v(" "),t.participantAccounts.length>2?i("figure",{staticClass:"more-participants",on:{click:function(e){t.participantsAsSelector=!0}}},[t._v("\n +"+t._s(t.participantAccounts.length)+" "+t._s(t.$t("popouts.signature.moreAccounts"))+"\n ")]):t._e()],2)],1):t._e(),t._v(" "),t.isArbitrarySignature?i("section",{staticClass:"participants"},[i("label",[t._v(t._s(t.$t("popouts.signature.keysInvolved")))]),t._v(" "),i("section",{staticClass:"participant"},[t._v(t._s(t.arbitraryKeypair.name))])]):t._e(),t._v(" "),i("section",{staticClass:"fixed-actions"},[t.isDangerous?i("section",{staticClass:"disclaimer less-pad red centered",staticStyle:{"margin-bottom":"10px"}},[t._v("\n "+t._s(t.$t("popouts.signature.dangerous"))+"\n ")]):t._e(),t._v(" "),i("section",{staticClass:"accept-deny"},[t.pinning?t._e():i("Button",{attrs:{text:t.$t("generic.deny"),big:"1"},nativeOn:{click:function(e){return t.returnResult(!1)}}}),t._v(" "),t.pinning?t._e():i("Button",{attrs:{red:t.isDangerous||t.reputation&&t.reputation.decimal<0,big:"1",blue:"1",disabled:t.cannotSignArbitrary,text:t.$t("generic.allow")},nativeOn:{click:function(e){return t.accepted(e)}}})],1)])],1),t._v(" "),t.expanded?t._e():i("section",{staticClass:"side-panel"},[i("section",{staticClass:"messages-scroller"},[t.isArbitrarySignature||!t.personalFields.length&&!t.locationFields.length?t._e():i("RequiredFields",{attrs:{identity:t.identity,fields:t.fields,"selected-identity":t.selectedIdentity,"cloned-location":t.clonedLocation,"selected-location":t.selectedLocation,"split-panels":"1"},on:{selectLocation:function(e){t.selectedLocation=e,t.clonedLocation=e.clone()},locationField:function(e,i){return t.clonedLocation[e]=i},personalField:function(e,i){return t.selectedIdentity.personal[e]=i}}}),t._v(" "),t._l(t.messages,(function(e,s){return i("section",{ref:"message_"+s,refInFor:!0,staticClass:"messages",class:{dangerous:t.isDangerous||t.reputable(e)&&t.reputable(e).decimal<0}},[t.isPreviouslyWhitelisted(e)?i("section",{staticClass:"whitelist-overlay"},[i("section",{staticClass:"box"},[i("figure",{staticClass:"info"},[t._v(t._s(t.$t("popouts.signature.previouslyWhitelisted")))])])]):t._e(),t._v(" "),i("section",{class:{"previous-whitelist":t.isPreviouslyWhitelisted(e)}},[i("section",{staticClass:"details contract-action"},[t.isDangerous?i("section",{directives:[{name:"tooltip",rawName:"v-tooltip.right",value:{content:t.isDangerous,classes:["dangertip"]},expression:"{content:isDangerous, classes:['dangertip']}",modifiers:{right:!0}}],staticClass:"danger wiggle"},[i("i",{staticClass:"icon-help"})]):t._e(),t._v(" "),i("figure",{staticClass:"title"},[t.whitelisted&&!t.isPreviouslyWhitelisted(e)?i("input",{attrs:{type:"checkbox"},domProps:{checked:!!t.getWhitelist(e)},on:{change:function(i){return t.addWhitelist(e)}}}):t._e(),t._v(" "),i("ReputationScore",{staticClass:"score",attrs:{reputable:t.reputable(e),small:"1"}}),t._v(" "),i("span",{on:{click:function(i){return t.collapse(e)}}},[t._v(t._s(e.code)+" "),i("i",{staticClass:"contract-split icon-right-open-big"}),t._v(" "+t._s(e.type))])],1),t._v(" "),t.isDangerous?i("span",{staticClass:"danger-title"},[t._v(t._s(t.$t("popouts.signature.dangerousAction")))]):t._e()]),t._v(" "),t.isCollapsed(e)?i("section",{staticClass:"collapsed"},[t._v("\n "+t._s(t.$t("popouts.signature.hiddenAction"))+"\n ")]):i("section",[i("br"),t._v(" "),t._l(e.data,(function(s,a){return t.viewType===t.VIEW_TYPES.HUMAN?i("section",{staticClass:"properties"},[i("label",[t._v(t._s(a))]),t._v(" "),i("section",{staticClass:"split-inputs"},[t.whitelisted&&!t.isPreviouslyWhitelisted(e)?i("input",{attrs:{type:"checkbox"},on:{change:function(i){t.toggleWhitelistProp(t.getWhitelist(e),a)}}}):t._e(),t._v(" "),"object"==typeof s?i("figure",{staticClass:"value object"},[i("div",{ref:t.hash(JSON.stringify(e))+a+t.hash(s),refInFor:!0,attrs:{"v-html":t.formatJson(s,t.hash(JSON.stringify(e))+a)}})]):i("figure",{staticClass:"value"},[t._v(t._s(s))])])]):t._e()})),t._v(" "),t.viewType===t.VIEW_TYPES.JSON?i("section",{staticClass:"properties"},[i("div",{ref:t.hash(e.data),refInFor:!0,staticClass:"value object",attrs:{"v-html":t.formatJson(e.data)}})]):t._e(),t._v(" "),t.viewType===t.VIEW_TYPES.RICARDIAN?i("section",{staticClass:"properties"},[t.hasRicardianContract(e)?i("figure",{staticClass:"ricardian"},[t._v(t._s(e.ricardian))]):i("figure",{staticClass:"collapsed"},[t._v("No Ricardian Contract")])]):t._e()],2)])])}))],2),t._v(" "),t.isArbitrarySignature||t.isDangerous?t._e():i("section",{staticClass:"whitelist-bar"},[t.whitelisted?t._e():i("figure",{staticClass:"text"},[t._v(t._s(t.$t("popouts.signature.whitelistThis")))]),t._v(" "),t.whitelisted?i("figure",{staticClass:"text blue"},[t._v(t._s(t.$t("popouts.signature.whitelistExplainer")))]):t._e(),t._v(" "),i("Switcher",{attrs:{state:t.whitelisted},nativeOn:{click:function(e){return t.whitelist(e)}}})],1)])])])}),[],!1,null,"d753f700",null);e.default=A.exports},IeaP:function(t,e,i){"use strict";var s=i("L2JU"),a={components:{Scatter:i("wg2a").a},props:["app","suffix"],computed:{...Object(s.d)(["appReputation"]),...Object(s.c)(["ridlEnabled"]),unknownReputation(){return void 0===this.appReputation},trusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)>0},untrusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)<0}}},n=(i("tL4a"),i("KHd+")),o=Object(n.a)(a,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{staticClass:"app-details"},[t.untrusted?i("figure",{staticClass:"logo scam"},[i("i",{staticClass:"icon-attention"})]):i("figure",{staticClass:"logo",class:{border:"Scatter"!==t.app.applink&&!t.app.img}},["Scatter"===t.app.applink?i("Scatter"):t.app.img?i("img",{attrs:{src:t.app.img}}):i("span",[t._v(t._s(t.$t("popouts.popoutApp.noImage")))])],1),t._v(" "),t.ridlEnabled&&"Scatter"!==t.app.applink?i("section",[!1===t.appReputation?i("figure",{staticClass:"reputation"},[i("i",{staticClass:"icon-spin4 animate-spin"}),t._v(" loading reputation")]):i("section",[t.unknownReputation?i("figure",{staticClass:"reputation"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.unknown")))]):t._e(),t._v(" "),t.trusted?i("figure",{staticClass:"reputation trusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.trusty")))]):t._e(),t._v(" "),t.untrusted?i("figure",{staticClass:"reputation untrusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.scam")))]):t._e()])]):t._e(),t._v(" "),i("figure",{staticClass:"name"},[i("b",[t._v(t._s(t.app.name))]),t._v(" "),t.suffix?i("span",[t._v(t._s(t.suffix))]):t._e()])])}),[],!1,null,"3c121449",null);e.a=o.exports},J8XJ:function(t,e,i){var s=i("y5zb");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i("SZ7m").default)("1a4d8aa0",s,!0,{})},L6xj:function(t,e,i){var s=i("p7K2");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i("SZ7m").default)("c9a2862e",s,!0,{})},YDm8:function(t,e,i){"use strict";var s=i("p77h");i.n(s).a},o7X5:function(t,e,i){(t.exports=i("JPst")(!1)).push([t.i,".app-details[data-v-d753f700]{padding:60px 60px 30px}.ridl-popup[data-v-d753f700]{position:fixed;top:79px;left:0;right:0;bottom:0;z-index:9999;display:flex;justify-content:center;align-items:center}.ridl-popup .bg[data-v-d753f700]{position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(255,0,0,0.8);z-index:-1}.ridl-popup .box[data-v-d753f700]{background:#fff;padding:30px;text-align:center;min-width:250px;max-width:450px;width:100%;box-shadow:0 0 0 3px red, 0 0 0 6px white}.ridl-popup .box .link[data-v-d753f700]{cursor:pointer;display:block;text-decoration:underline}.view-types[data-v-d753f700]{position:relative;margin-top:-10px;margin-left:-30px;margin-right:-30px;background:#fff;padding:10px;box-shadow:0 1px 3px rgba(0,0,0,0.05),0 10px 20px rgba(0,0,0,0.02)}input[type=checkbox][data-v-d753f700]{flex:0 0 auto;align-self:flex-start;margin-right:10px;width:20px;height:20px;cursor:pointer}.has-more[data-v-d753f700]{text-align:center;font-size:10px;font-weight:bold;color:#7a7a7a;border:1px solid #c8c8c8;display:table;padding:5px 8px;margin:-25px auto 0}.messages[data-v-d753f700]{padding:20px 0 20px;position:relative}.messages[data-v-d753f700]:not(:first-child){margin-top:60px}.messages .previous-whitelist[data-v-d753f700]{opacity:0.4;cursor:not-allowed}.messages .collapsed[data-v-d753f700]{padding-top:10px;font-size:11px}.messages .whitelist-overlay[data-v-d753f700]{position:absolute;top:50px;right:0;z-index:2;display:flex;justify-content:center;align-items:center}.messages .whitelist-overlay .box[data-v-d753f700]{width:150px;padding:20px;background:#fff;text-align:center;box-shadow:0 2px 4px rgba(0,0,0,0.1),0 10px 20px rgba(0,0,0,0.03);font-size:13px;font-weight:bold}.messages .details .title[data-v-d753f700]{align-items:center;display:flex;font-size:14px;cursor:pointer}.messages .details .title[data-v-d753f700]:hover{text-decoration:underline}.messages .details .contract-split[data-v-d753f700]{padding:0 5px;font-size:13px;display:inline-block;animation:bounce-data-v-d753f700 0.7s infinite}@keyframes bounce-data-v-d753f700{0%,100%{transform:translateX(-2px)}50%{transform:translateX(2px)}}.messages .properties .ricardian[data-v-d753f700]{background:rgba(0,0,0,0.05);border:1px solid rgba(0,0,0,0.15);padding:10px}.messages .properties label[data-v-d753f700]{margin-bottom:5px}.messages .properties .value[data-v-d753f700]{overflow-x:auto;min-height:16px;font-size:16px;font-weight:bold}.messages .properties .value.object[data-v-d753f700]{font-size:13px;font-weight:500}.messages .properties:not(:last-child) .value[data-v-d753f700]{margin-bottom:20px}.messages.dangerous .danger[data-v-d753f700]{cursor:pointer;float:left;padding:6px 5px 5px;background:rgba(0,0,0,0.1);box-shadow:inset 0 5px 10px rgba(0,0,0,0.1);text-shadow:0 2px 0 rgba(0,0,0,0.1);margin-top:7px;margin-right:10px}.messages.dangerous .details.contract-action[data-v-d753f700]{background:red;background:linear-gradient(-180deg, #ff0707 -20%, #e23b3b 100%);border-bottom:1px solid darkred;color:#fff}.messages.dangerous .danger-title[data-v-d753f700]{font-size:11px;width:100%}.json-formatter-dark.json-formatter-row[data-v-d753f700]{padding:0}.contract-action[data-v-d753f700]{margin:-20px -30px 0;border-top:1px solid rgba(0,0,0,0.04);padding:20px 30px;background:linear-gradient(180deg, #007fd7 0%, #0799ff 100%);color:#fff}.contract-action .title span[data-v-d753f700]{font-size:18px}\n",""])},p77h:function(t,e,i){var s=i("o7X5");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i("SZ7m").default)("795c799a",s,!0,{})},p7K2:function(t,e,i){(t.exports=i("JPst")(!1)).push([t.i,".fields-title[data-v-586a6aca]{margin:-20px -30px 0;padding:20px 30px;background:linear-gradient(180deg, #007fd7 0%, #0799ff 100%);color:#fff;font-size:18px;margin-bottom:20px}.required-fields[data-v-586a6aca]{padding:20px 0 0}\n",""])},pNnu:function(t,e,i){"use strict";var s=i("L6xj");i.n(s).a},psvp:function(t,e,i){"use strict";i("L2JU");var s={props:["fields","identity","selectedIdentity","selectedLocation","clonedLocation"],data:()=>({}),computed:{identityRequirements(){return this.personalFields.concat(this.locationFields).join(", ")},personalFields(){return this.fields.personal},locationFields(){return this.fields.location}},methods:{fieldValueFor(t,e=!1){return e?this.identity.getPropertyValueByName(t,this.selectedLocation):this.selectedIdentity.getPropertyValueByName(t,this.clonedLocation)}}},a=(i("pNnu"),i("KHd+")),n=Object(a.a)(s,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{staticClass:"required-fields"},[i("section",{staticClass:"fields-title"},[t._v("\n\t\t"+t._s(t.$t("popouts.requiredFields.title"))+"\n\t")]),t._v(" "),i("section",[i("label",[t._v(t._s(t.$t("popouts.requiredFields.personalInformation")))]),t._v(" "),i("figure",{staticClass:"text"},[t._v("\n\t\t\t"+t._s(t.identityRequirements)+"\n\t\t")])])])}),[],!1,null,"586a6aca",null);e.a=n.exports},tL4a:function(t,e,i){"use strict";var s=i("J8XJ");i.n(s).a},wg2a:function(t,e,i){"use strict";var s=i("KHd+"),a=Object(s.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:"88px",height:"88px",viewBox:"0 0 88 88",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e("g",{attrs:{id:"welcome_scatter",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"}},[e("g",{attrs:{id:"Group",stroke:"#00A8FF"}},[e("g",{attrs:{id:"Icon"}},[e("circle",{attrs:{id:"Base",cx:"44",cy:"44",r:"43.7079646"}})]),this._v(" "),e("path",{attrs:{d:"M40.8188559,71.5932203 C39.3040178,71.5932203 38.0455559,71.423153 37.0434322,71.0830131 C36.0413085,70.7428732 35.2489436,70.3616877 34.6663136,69.9394451 C34.0836835,69.5172025 33.6758486,69.1125594 33.4427966,68.7255037 C33.2097446,68.338448 33.0932203,68.0862791 33.0932203,67.9689895 C33.0932203,67.5467469 33.1864397,67.0951887 33.3728814,66.6143013 C33.559323,66.1334139 33.7923715,65.68772 34.0720339,65.2772064 C34.3516963,64.8666928 34.6546594,64.5206936 34.9809322,64.2391985 C35.307205,63.9577035 35.5985157,63.816958 35.8548729,63.816958 C36.1811457,63.816958 36.4491515,64.0280762 36.6588983,64.4503188 L37.0084746,64.8021858 C37.1949162,64.9898492 37.4570958,65.1833742 37.7950212,65.3827665 C38.1329466,65.5821588 38.5524339,65.763955 39.0534958,65.9281605 C39.5545576,66.0923659 40.1430051,66.1744674 40.8188559,66.1744674 C42.2870836,66.1744674 43.4872835,65.7229092 44.4194915,64.8197792 C45.3516996,63.9166492 45.8177966,62.6909911 45.8177966,61.1427683 C45.8177966,60.0637039 45.5672695,59.1019435 45.0662076,58.2574583 C44.5651458,57.4129731 43.9067837,56.6271445 43.0911017,55.8999489 C42.2754197,55.1727533 41.3432256,54.4631618 40.2944915,53.7711531 C39.2457575,53.0791444 38.1737343,52.3578241 37.0783898,51.6071706 C35.9830454,50.8565171 34.9110222,50.0472309 33.8622881,49.1792878 C32.8135541,48.3113447 31.88136,47.314398 31.065678,46.1884177 C30.2499959,45.0624374 29.5916339,43.7898643 29.090572,42.37066 C28.5895102,40.9514557 28.3389831,39.3270189 28.3389831,37.497301 C28.3389831,35.9256202 28.6069888,34.3422342 29.1430085,32.7470955 C29.6790281,31.1519568 30.4189571,29.6330792 31.3628178,28.190417 C32.3066784,26.7477547 33.4194851,25.3989445 34.7012712,24.1439456 C35.9830573,22.8889468 37.3696959,21.7981698 38.8612288,20.8715818 C40.3527617,19.9449939 41.9083605,19.2178092 43.528072,18.690006 C45.1477835,18.1622028 46.7732969,17.8983051 48.404661,17.8983051 C49.8029731,17.8983051 51.0614351,18.121152 52.1800847,18.5668525 C53.2987344,19.012553 54.2425809,19.640043 55.0116525,20.4493414 C55.7807242,21.2586397 56.3749979,22.2321288 56.7944915,23.3698381 C57.2139851,24.5075473 57.4237288,25.7801205 57.4237288,27.1875958 C57.4237288,28.5246974 57.1906803,29.8383213 56.7245763,31.128507 C56.2584722,32.4186927 55.6408937,33.6384864 54.871822,34.7879246 C54.1027504,35.9373627 53.2346447,36.9988178 52.2674788,37.9723216 C51.300313,38.9458253 50.3098568,39.7902979 49.2960805,40.5057645 C48.2823043,41.2212311 47.2976743,41.7783484 46.342161,42.1771331 C45.3866478,42.5759178 44.5476731,42.7753071 43.8252119,42.7753071 C43.1959714,42.7753071 42.6308288,42.6286973 42.1297669,42.3354733 C41.6287051,42.0422492 41.2092178,41.6786569 40.8712924,41.2446853 C40.533367,40.8107138 40.2711874,40.3532912 40.0847458,39.8724038 C39.8983042,39.3915164 39.8050847,38.9634157 39.8050847,38.5880889 C39.8050847,38.283136 39.8458682,38.0837466 39.9274364,37.9899149 C40.0090046,37.8960832 40.1255289,37.8550325 40.2770127,37.8667614 C40.4284965,37.8784904 40.6207615,37.9136768 40.8538136,37.9723216 C41.0868656,38.0309664 41.3548714,38.0602883 41.657839,38.0602883 C42.6366574,38.0602883 43.720333,37.7201536 44.9088983,37.0398738 C46.0974636,36.3595941 47.2160965,35.491664 48.2648305,34.4360575 C49.3135646,33.380451 50.1933227,32.2193013 50.9041314,30.9525735 C51.61494,29.6858457 51.970339,28.4543232 51.970339,27.2579692 C51.970339,26.0381573 51.6732021,25.0763969 51.0789195,24.3726592 C50.4846369,23.6689216 49.476702,23.317058 48.0550847,23.317058 C47.1694871,23.317058 46.208162,23.4871254 45.1710805,23.8272653 C44.1339991,24.1674051 43.0911069,24.6424209 42.0423729,25.2523269 C40.9936388,25.8622329 39.9798778,26.6011463 39.0010593,27.4690895 C38.0222409,28.3370326 37.1599614,29.2929286 36.4141949,30.3368061 C35.6684285,31.3806836 35.0683285,32.506647 34.6138771,33.71473 C34.1594257,34.922813 33.9322034,36.1836574 33.9322034,37.497301 C33.9322034,38.8813184 34.1827305,40.1187053 34.6837924,41.2094986 C35.1848542,42.300292 35.8490425,43.2913744 36.6763771,44.1827754 C37.5037118,45.0741764 38.441732,45.8951914 39.4904661,46.6458449 C40.5392002,47.3964984 41.6112233,48.1412763 42.7065678,48.8802008 C43.8019123,49.6191254 44.8739354,50.3814964 45.9226695,51.1673368 C46.9714035,51.9531772 47.9094238,52.8211073 48.7367585,53.7711531 C49.5640931,54.721199 50.2282814,55.7767896 50.7293432,56.9379568 C51.230405,58.0991239 51.4809322,59.430341 51.4809322,60.931648 C51.4809322,62.3860392 51.2071002,63.7641715 50.659428,65.0660861 C50.1117557,66.3680008 49.3601743,67.4998286 48.404661,68.4616034 C47.4491478,69.4233782 46.3188625,70.1857492 45.0137712,70.7487394 C43.7086799,71.3117295 42.3103888,71.5932203 40.8188559,71.5932203 Z",id:"Scatter"}})])])])}),[],!1,null,null,null);e.a=a.exports},y5zb:function(t,e,i){(t.exports=i("JPst")(!1)).push([t.i,".reputation[data-v-3c121449]{padding:5px 12px;font-size:10px;margin-bottom:10px;margin-top:-5px;font-weight:bold;background:#f3f6f7;color:#c8c8c8}.reputation.trusted[data-v-3c121449]{background:#159F00;color:#fff}.reputation.untrusted[data-v-3c121449]{background:#ff0707;color:#fff}.app-details[data-v-3c121449]{text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center}.app-details .logo[data-v-3c121449]{display:flex;align-items:center;justify-content:center;height:100px;width:100px;border-radius:4px;padding:5px;margin-bottom:20px}.app-details .logo.border[data-v-3c121449]{background:#f3f6f7;border:1px solid #dfe0e1}.app-details .logo img[data-v-3c121449]{height:100%;width:100%}.app-details .logo span[data-v-3c121449]{font-size:10px;font-weight:bold;color:#7a7a7a}.app-details .logo.scam[data-v-3c121449]{font-size:48px;border-radius:50%;color:#ff0707;background:#f3f6f7;border:1px solid #dfe0e1;animation:pulsate 0.5s ease infinite}.app-details .name[data-v-3c121449]{font-size:14px}\n",""])}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[49],{C6GT:function(t,e,a){"use strict";a.r(e);var i=a("L2JU"),s=a("IeaP"),n=a("RNqi"),p=(a("EY8S"),a("78si"),{props:["popup"],components:{RequiredFields:a("psvp").a,PopOutApp:s.a,SearchBar:n.a},data:()=>({}),created(){},computed:{...Object(i.d)(["scatter","balances"]),...Object(i.c)(["identity","identities","accounts","networks"]),payload(){return this.popup.payload()},kycBlock(){if(!this.payload.kyc)return[];let t=0;return this.payload.kyc.split("::")[1].split("").reduce((e,a,i)=>(i>1&&i%24==0&&t++,e.hasOwnProperty(t)||(e[t]=""),e[t]+=a,e),[])}},methods:{returnResult(t){this.$emit("returned",t)}}}),o=(a("xqx+"),a("KHd+")),r=Object(o.a)(p,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"popout-window"},[a("PopOutApp",{attrs:{app:t.popup.data.props.appData,suffix:t.$t("popouts.updateIdentity.suffix")}}),t._v(" "),a("section",{staticClass:"update-identity"},[t.payload.name?a("section",[a("label",[t._v(t._s(t.$t("popouts.updateIdentity.changeName")))]),t._v(" "),a("figure",{staticClass:"value"},[t._v(t._s(t.payload.name))])]):t._e(),t._v(" "),t.payload.kyc?a("section",[a("br"),t._v(" "),a("br"),t._v(" "),a("label",[t._v(t._s(t.$t("popouts.updateIdentity.addKycProofs")))]),t._v(" "),a("figure",{staticClass:"value"},[t._v(t._s(t.payload.kyc.split("::")[0]))]),t._v(" "),t._l(t.kycBlock,(function(e){return a("figure",{staticClass:"value",staticStyle:{"font-size":"9px","line-height":"6px"}},[t._v(t._s(e))])}))],2):t._e(),t._v(" "),a("section",{staticClass:"fixed-actions"},[a("Button",{attrs:{text:t.$t("generic.deny"),big:"1"},nativeOn:{click:function(e){return t.returnResult(null)}}}),t._v(" "),a("Button",{attrs:{text:t.$t("generic.allow"),blue:"1",big:"1"},nativeOn:{click:function(e){return t.returnResult(!0)}}})],1)])],1)}),[],!1,null,"3852b0eb",null);e.default=r.exports},IeaP:function(t,e,a){"use strict";var i=a("L2JU"),s={components:{Scatter:a("wg2a").a},props:["app","suffix"],computed:{...Object(i.d)(["appReputation"]),...Object(i.c)(["ridlEnabled"]),unknownReputation(){return void 0===this.appReputation},trusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)>0},untrusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)<0}}},n=(a("tL4a"),a("KHd+")),p=Object(n.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"app-details"},[t.untrusted?a("figure",{staticClass:"logo scam"},[a("i",{staticClass:"icon-attention"})]):a("figure",{staticClass:"logo",class:{border:"Scatter"!==t.app.applink&&!t.app.img}},["Scatter"===t.app.applink?a("Scatter"):t.app.img?a("img",{attrs:{src:t.app.img}}):a("span",[t._v(t._s(t.$t("popouts.popoutApp.noImage")))])],1),t._v(" "),t.ridlEnabled&&"Scatter"!==t.app.applink?a("section",[!1===t.appReputation?a("figure",{staticClass:"reputation"},[a("i",{staticClass:"icon-spin4 animate-spin"}),t._v(" loading reputation")]):a("section",[t.unknownReputation?a("figure",{staticClass:"reputation"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.unknown")))]):t._e(),t._v(" "),t.trusted?a("figure",{staticClass:"reputation trusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.trusty")))]):t._e(),t._v(" "),t.untrusted?a("figure",{staticClass:"reputation untrusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.scam")))]):t._e()])]):t._e(),t._v(" "),a("figure",{staticClass:"name"},[a("b",[t._v(t._s(t.app.name))]),t._v(" "),t.suffix?a("span",[t._v(t._s(t.suffix))]):t._e()])])}),[],!1,null,"3c121449",null);e.a=p.exports},J8XJ:function(t,e,a){var i=a("y5zb");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("1a4d8aa0",i,!0,{})},L6xj:function(t,e,a){var i=a("p7K2");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("c9a2862e",i,!0,{})},fDuv:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".app-details[data-v-3852b0eb]{padding:50px 50px 20px 50px}.update-identity[data-v-3852b0eb]{text-align:center;padding:50px}.update-identity label[data-v-3852b0eb]{display:block;font-size:10px}.update-identity .value[data-v-3852b0eb]{font-size:12px;font-weight:bold}.fixed-actions[data-v-3852b0eb]{justify-content:space-between;display:flex}\n",""])},p7K2:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".fields-title[data-v-586a6aca]{margin:-20px -30px 0;padding:20px 30px;background:linear-gradient(180deg, #007fd7 0%, #0799ff 100%);color:#fff;font-size:18px;margin-bottom:20px}.required-fields[data-v-586a6aca]{padding:20px 0 0}\n",""])},pIF5:function(t,e,a){var i=a("fDuv");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("ff18b0ce",i,!0,{})},pNnu:function(t,e,a){"use strict";var i=a("L6xj");a.n(i).a},psvp:function(t,e,a){"use strict";a("L2JU");var i={props:["fields","identity","selectedIdentity","selectedLocation","clonedLocation"],data:()=>({}),computed:{identityRequirements(){return this.personalFields.concat(this.locationFields).join(", ")},personalFields(){return this.fields.personal},locationFields(){return this.fields.location}},methods:{fieldValueFor(t,e=!1){return e?this.identity.getPropertyValueByName(t,this.selectedLocation):this.selectedIdentity.getPropertyValueByName(t,this.clonedLocation)}}},s=(a("pNnu"),a("KHd+")),n=Object(s.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"required-fields"},[a("section",{staticClass:"fields-title"},[t._v("\n\t\t"+t._s(t.$t("popouts.requiredFields.title"))+"\n\t")]),t._v(" "),a("section",[a("label",[t._v(t._s(t.$t("popouts.requiredFields.personalInformation")))]),t._v(" "),a("figure",{staticClass:"text"},[t._v("\n\t\t\t"+t._s(t.identityRequirements)+"\n\t\t")])])])}),[],!1,null,"586a6aca",null);e.a=n.exports},tL4a:function(t,e,a){"use strict";var i=a("J8XJ");a.n(i).a},"xqx+":function(t,e,a){"use strict";var i=a("pIF5");a.n(i).a},y5zb:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".reputation[data-v-3c121449]{padding:5px 12px;font-size:10px;margin-bottom:10px;margin-top:-5px;font-weight:bold;background:#f3f6f7;color:#c8c8c8}.reputation.trusted[data-v-3c121449]{background:#159F00;color:#fff}.reputation.untrusted[data-v-3c121449]{background:#ff0707;color:#fff}.app-details[data-v-3c121449]{text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center}.app-details .logo[data-v-3c121449]{display:flex;align-items:center;justify-content:center;height:100px;width:100px;border-radius:4px;padding:5px;margin-bottom:20px}.app-details .logo.border[data-v-3c121449]{background:#f3f6f7;border:1px solid #dfe0e1}.app-details .logo img[data-v-3c121449]{height:100%;width:100%}.app-details .logo span[data-v-3c121449]{font-size:10px;font-weight:bold;color:#7a7a7a}.app-details .logo.scam[data-v-3c121449]{font-size:48px;border-radius:50%;color:#ff0707;background:#f3f6f7;border:1px solid #dfe0e1;animation:pulsate 0.5s ease infinite}.app-details .name[data-v-3c121449]{font-size:14px}\n",""])}}]); \ No newline at end of file diff --git a/dist/50.bundle.js b/dist/50.bundle.js index a073844..6287a8f 100644 --- a/dist/50.bundle.js +++ b/dist/50.bundle.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{"5Pnu":function(t,e,a){"use strict";a.r(e);var s=a("L2JU"),n=a("IeaP"),i=(a("EY8S"),a("78si")),o=a.n(i),r=a("psvp"),c=(a("O1cq"),a("Hxfq"),a("SDtL"),a("GwxU")),l=a.n(c),p=a("F+MN"),u=a("ONSl"),d=a.n(u),f=a("IfgB"),m=a("Gbp+"),h={props:["popup","expanded","pinning"],components:{RequiredFields:r.a,PopOutApp:n.a},data:()=>({searchTerms:"",account:null,customAmount:0,inputError:!1}),created(){this.customAmount=parseFloat(0).toFixed(this.decimals)},computed:{...Object(s.d)(["scatter"]),...Object(s.c)(["identity","identities","accounts","networks","keypairs"]),payload(){return this.popup.payload()},network(){return this.networks.find(t=>t.unique()===o.a.fromJson(this.payload.network).unique())},blockchain(){return this.network.blockchain},to(){return this.payload.to},amount(){return parseFloat(this.payload.amount).toFixed(this.decimals)},options(){return this.payload.options||{}},memo(){return this.payload.memo},decimals(){return this.options.decimals||4},token(){return l.a.fromJson({contract:this.payload.contract,blockchain:this.blockchain,symbol:this.payload.symbol,decimals:this.options.decimals||PluginRepository.plugin(this.blockchain).defaultDecimals(),name:this.payload.symbol})},validAccounts(){return this.accounts.filter(t=>[this.network.unique()].includes(t.networkUnique)).filter(t=>[this.network.blockchain].includes(t.blockchain().toLowerCase())).filter(t=>JSON.stringify(t).toLowerCase().indexOf(this.searchTerms.toLowerCase())>-1).reduce((t,e)=>(t.find(t=>e.network().unique()===t.network().unique()&&e.sendable()===t.sendable())||t.push(e),t),[])},selectedAccounts(){return[this.account].map(t=>this.formatAccount(t,!1))},currentAmount(){return this.amount>0?this.amount:this.customAmount}},methods:{returnResult(t){if(!t)return this.$emit("returned",null);let e=this.currentAmount;e=this.blockchain===p.Blockchains.EOSIO?parseFloat(e).toFixed(this.decimals):d.a.formatAmount(e,this.token),this.$emit("returned",{account:this.account,amount:e})},selectTokenAndAccount(){f.a.push(m.a.selectAccount(t=>{t&&(this.account=t)},this.validAccounts))},selectAccount(t){if(this.inputError=!1,t&&this.currentAmount<=0)return this.inputError=!0;this.account=t},formatAccount(t,e=!0){return{title:t.sendable(),description:"",actions:[{name:e?this.$t("generic.select"):this.$t("generic.unselect"),handler:()=>this.selectAccount(e?t:null),blue:e,red:!e,small:1}]}}},watch:{customAmount(){this.inputError=!1}}},C=(a("BWzg"),a("KHd+")),v=Object(C.a)(h,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"popout-window transfer"},[a("PopOutApp",{attrs:{app:t.popup.data.props.appData,suffix:t.$t("popouts.transferRequest.suffix")}}),t._v(" "),t.account?a("section",{staticClass:"padded"},[a("br"),t._v(" "),a("br"),t._v(" "),a("section",{staticClass:"transfer-details"},[t.amount>0?a("div",[t._v(t._s(parseFloat(t.amount).toFixed(t.decimals))+" "+t._s(t.token.symbol))]):a("div",[t._v(t._s(t.customAmount)+" "+t._s(t.token.symbol))]),t._v(" "),a("span",{class:{small:t.to.length>12}},[t._v(t._s(t.to))])]),t._v(" "),t.memo&&t.memo.length?a("section",{staticClass:"memo"},[a("section",{staticClass:"info-line"},[a("span",[t._v(t._s(t.$t("generic.memo")))])]),t._v(" "),a("span",[t._v(t._s(t.memo))])]):t._e(),t._v(" "),a("section",{staticClass:"info-line"},[a("span",[t._v(t._s(t.$t("transfer.sender")))])]),t._v(" "),a("section",{staticClass:"boxes"},[a("section",{staticClass:"box nested account-selector",on:{click:t.selectTokenAndAccount}},[a("section",[a("figure",{staticClass:"name"},[t._v(t._s(t.account.sendable()))]),t._v(" "),a("figure",{staticClass:"network"},[t._v(t._s(t.network.name))])]),t._v(" "),a("figure",{staticClass:"chevron fas fa-caret-square-down"})])]),t._v(" "),t.pinning?t._e():a("section",{staticClass:"fixed-actions"},[a("Button",{attrs:{blue:"1",text:t.$t("generic.confirm")},nativeOn:{click:function(e){return t.returnResult(!0)}}}),t._v(" "),a("Button",{attrs:{text:t.$t("generic.deny")},nativeOn:{click:function(e){return t.returnResult(null)}}})],1)]):a("section",[a("section",{staticClass:"padded"},[a("Input",{attrs:{disabled:t.amount>0,red:t.inputError,big:"1",centered:"1",text:t.amount>0?t.amount:t.customAmount,placeholder:parseFloat(1).toFixed(t.decimals)},on:{changed:function(e){return t.customAmount=e}}}),t._v(" "),a("section",{staticClass:"boxes"},[a("section",{staticClass:"box nested account-selector",on:{click:t.selectTokenAndAccount}},[a("section",[a("figure",{staticClass:"name"},[t._v(t._s(t.$t("popouts.transferRequest.selectAccount")))]),t._v(" "),a("figure",{staticClass:"network"},[t._v(t._s(t.network.name))])]),t._v(" "),a("figure",{staticClass:"chevron fas fa-caret-square-down"})])])],1)])],1)}),[],!1,null,"792be500",null);e.default=v.exports},BWzg:function(t,e,a){"use strict";var s=a("cluC");a.n(s).a},IeaP:function(t,e,a){"use strict";var s=a("L2JU"),n={components:{Scatter:a("wg2a").a},props:["app","suffix"],computed:{...Object(s.d)(["appReputation"]),...Object(s.c)(["ridlEnabled"]),unknownReputation(){return void 0===this.appReputation},trusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)>0},untrusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)<0}}},i=(a("tL4a"),a("KHd+")),o=Object(i.a)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"app-details"},[t.untrusted?a("figure",{staticClass:"logo scam"},[a("i",{staticClass:"icon-attention"})]):a("figure",{staticClass:"logo",class:{border:"Scatter"!==t.app.applink&&!t.app.img}},["Scatter"===t.app.applink?a("Scatter"):t.app.img?a("img",{attrs:{src:t.app.img}}):a("span",[t._v(t._s(t.$t("popouts.popoutApp.noImage")))])],1),t._v(" "),t.ridlEnabled&&"Scatter"!==t.app.applink?a("section",[!1===t.appReputation?a("figure",{staticClass:"reputation"},[a("i",{staticClass:"icon-spin4 animate-spin"}),t._v(" loading reputation")]):a("section",[t.unknownReputation?a("figure",{staticClass:"reputation"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.unknown")))]):t._e(),t._v(" "),t.trusted?a("figure",{staticClass:"reputation trusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.trusty")))]):t._e(),t._v(" "),t.untrusted?a("figure",{staticClass:"reputation untrusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.scam")))]):t._e()])]):t._e(),t._v(" "),a("figure",{staticClass:"name"},[a("b",[t._v(t._s(t.app.name))]),t._v(" "),t.suffix?a("span",[t._v(t._s(t.suffix))]):t._e()])])}),[],!1,null,"3c121449",null);e.a=o.exports},J8XJ:function(t,e,a){var s=a("y5zb");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,a("SZ7m").default)("1a4d8aa0",s,!0,{})},L6xj:function(t,e,a){var s=a("p7K2");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,a("SZ7m").default)("c9a2862e",s,!0,{})},cluC:function(t,e,a){var s=a("xCFK");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,a("SZ7m").default)("7b9a59b2",s,!0,{})},p7K2:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".fields-title[data-v-586a6aca]{margin:-20px -30px 0;padding:20px 30px;background:linear-gradient(180deg, #007fd7 0%, #0799ff 100%);color:#fff;font-size:18px;margin-bottom:20px}.required-fields[data-v-586a6aca]{padding:20px 0 0}\n",""])},pNnu:function(t,e,a){"use strict";var s=a("L6xj");a.n(s).a},psvp:function(t,e,a){"use strict";a("L2JU");var s={props:["fields","identity","selectedIdentity","selectedLocation","clonedLocation"],data:()=>({}),computed:{identityRequirements(){return this.personalFields.concat(this.locationFields).join(", ")},personalFields(){return this.fields.personal},locationFields(){return this.fields.location}},methods:{fieldValueFor(t,e=!1){return e?this.identity.getPropertyValueByName(t,this.selectedLocation):this.selectedIdentity.getPropertyValueByName(t,this.clonedLocation)}}},n=(a("pNnu"),a("KHd+")),i=Object(n.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"required-fields"},[a("section",{staticClass:"fields-title"},[t._v("\n\t\t"+t._s(t.$t("popouts.requiredFields.title"))+"\n\t")]),t._v(" "),a("section",[a("label",[t._v(t._s(t.$t("popouts.requiredFields.personalInformation")))]),t._v(" "),a("figure",{staticClass:"text"},[t._v("\n\t\t\t"+t._s(t.identityRequirements)+"\n\t\t")])])])}),[],!1,null,"586a6aca",null);e.a=i.exports},tL4a:function(t,e,a){"use strict";var s=a("J8XJ");a.n(s).a},wg2a:function(t,e,a){"use strict";var s=a("KHd+"),n=Object(s.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:"88px",height:"88px",viewBox:"0 0 88 88",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e("g",{attrs:{id:"welcome_scatter",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"}},[e("g",{attrs:{id:"Group",stroke:"#00A8FF"}},[e("g",{attrs:{id:"Icon"}},[e("circle",{attrs:{id:"Base",cx:"44",cy:"44",r:"43.7079646"}})]),this._v(" "),e("path",{attrs:{d:"M40.8188559,71.5932203 C39.3040178,71.5932203 38.0455559,71.423153 37.0434322,71.0830131 C36.0413085,70.7428732 35.2489436,70.3616877 34.6663136,69.9394451 C34.0836835,69.5172025 33.6758486,69.1125594 33.4427966,68.7255037 C33.2097446,68.338448 33.0932203,68.0862791 33.0932203,67.9689895 C33.0932203,67.5467469 33.1864397,67.0951887 33.3728814,66.6143013 C33.559323,66.1334139 33.7923715,65.68772 34.0720339,65.2772064 C34.3516963,64.8666928 34.6546594,64.5206936 34.9809322,64.2391985 C35.307205,63.9577035 35.5985157,63.816958 35.8548729,63.816958 C36.1811457,63.816958 36.4491515,64.0280762 36.6588983,64.4503188 L37.0084746,64.8021858 C37.1949162,64.9898492 37.4570958,65.1833742 37.7950212,65.3827665 C38.1329466,65.5821588 38.5524339,65.763955 39.0534958,65.9281605 C39.5545576,66.0923659 40.1430051,66.1744674 40.8188559,66.1744674 C42.2870836,66.1744674 43.4872835,65.7229092 44.4194915,64.8197792 C45.3516996,63.9166492 45.8177966,62.6909911 45.8177966,61.1427683 C45.8177966,60.0637039 45.5672695,59.1019435 45.0662076,58.2574583 C44.5651458,57.4129731 43.9067837,56.6271445 43.0911017,55.8999489 C42.2754197,55.1727533 41.3432256,54.4631618 40.2944915,53.7711531 C39.2457575,53.0791444 38.1737343,52.3578241 37.0783898,51.6071706 C35.9830454,50.8565171 34.9110222,50.0472309 33.8622881,49.1792878 C32.8135541,48.3113447 31.88136,47.314398 31.065678,46.1884177 C30.2499959,45.0624374 29.5916339,43.7898643 29.090572,42.37066 C28.5895102,40.9514557 28.3389831,39.3270189 28.3389831,37.497301 C28.3389831,35.9256202 28.6069888,34.3422342 29.1430085,32.7470955 C29.6790281,31.1519568 30.4189571,29.6330792 31.3628178,28.190417 C32.3066784,26.7477547 33.4194851,25.3989445 34.7012712,24.1439456 C35.9830573,22.8889468 37.3696959,21.7981698 38.8612288,20.8715818 C40.3527617,19.9449939 41.9083605,19.2178092 43.528072,18.690006 C45.1477835,18.1622028 46.7732969,17.8983051 48.404661,17.8983051 C49.8029731,17.8983051 51.0614351,18.121152 52.1800847,18.5668525 C53.2987344,19.012553 54.2425809,19.640043 55.0116525,20.4493414 C55.7807242,21.2586397 56.3749979,22.2321288 56.7944915,23.3698381 C57.2139851,24.5075473 57.4237288,25.7801205 57.4237288,27.1875958 C57.4237288,28.5246974 57.1906803,29.8383213 56.7245763,31.128507 C56.2584722,32.4186927 55.6408937,33.6384864 54.871822,34.7879246 C54.1027504,35.9373627 53.2346447,36.9988178 52.2674788,37.9723216 C51.300313,38.9458253 50.3098568,39.7902979 49.2960805,40.5057645 C48.2823043,41.2212311 47.2976743,41.7783484 46.342161,42.1771331 C45.3866478,42.5759178 44.5476731,42.7753071 43.8252119,42.7753071 C43.1959714,42.7753071 42.6308288,42.6286973 42.1297669,42.3354733 C41.6287051,42.0422492 41.2092178,41.6786569 40.8712924,41.2446853 C40.533367,40.8107138 40.2711874,40.3532912 40.0847458,39.8724038 C39.8983042,39.3915164 39.8050847,38.9634157 39.8050847,38.5880889 C39.8050847,38.283136 39.8458682,38.0837466 39.9274364,37.9899149 C40.0090046,37.8960832 40.1255289,37.8550325 40.2770127,37.8667614 C40.4284965,37.8784904 40.6207615,37.9136768 40.8538136,37.9723216 C41.0868656,38.0309664 41.3548714,38.0602883 41.657839,38.0602883 C42.6366574,38.0602883 43.720333,37.7201536 44.9088983,37.0398738 C46.0974636,36.3595941 47.2160965,35.491664 48.2648305,34.4360575 C49.3135646,33.380451 50.1933227,32.2193013 50.9041314,30.9525735 C51.61494,29.6858457 51.970339,28.4543232 51.970339,27.2579692 C51.970339,26.0381573 51.6732021,25.0763969 51.0789195,24.3726592 C50.4846369,23.6689216 49.476702,23.317058 48.0550847,23.317058 C47.1694871,23.317058 46.208162,23.4871254 45.1710805,23.8272653 C44.1339991,24.1674051 43.0911069,24.6424209 42.0423729,25.2523269 C40.9936388,25.8622329 39.9798778,26.6011463 39.0010593,27.4690895 C38.0222409,28.3370326 37.1599614,29.2929286 36.4141949,30.3368061 C35.6684285,31.3806836 35.0683285,32.506647 34.6138771,33.71473 C34.1594257,34.922813 33.9322034,36.1836574 33.9322034,37.497301 C33.9322034,38.8813184 34.1827305,40.1187053 34.6837924,41.2094986 C35.1848542,42.300292 35.8490425,43.2913744 36.6763771,44.1827754 C37.5037118,45.0741764 38.441732,45.8951914 39.4904661,46.6458449 C40.5392002,47.3964984 41.6112233,48.1412763 42.7065678,48.8802008 C43.8019123,49.6191254 44.8739354,50.3814964 45.9226695,51.1673368 C46.9714035,51.9531772 47.9094238,52.8211073 48.7367585,53.7711531 C49.5640931,54.721199 50.2282814,55.7767896 50.7293432,56.9379568 C51.230405,58.0991239 51.4809322,59.430341 51.4809322,60.931648 C51.4809322,62.3860392 51.2071002,63.7641715 50.659428,65.0660861 C50.1117557,66.3680008 49.3601743,67.4998286 48.404661,68.4616034 C47.4491478,69.4233782 46.3188625,70.1857492 45.0137712,70.7487394 C43.7086799,71.3117295 42.3103888,71.5932203 40.8188559,71.5932203 Z",id:"Scatter"}})])])])}),[],!1,null,null,null);e.a=n.exports},xCFK:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".app-details[data-v-792be500]{padding:50px 50px 20px 50px}.boxes[data-v-792be500]{width:100%}.boxes .box[data-v-792be500]{width:100%}.memo[data-v-792be500]{text-align:center}.memo>span[data-v-792be500]{font-size:13px;color:#0799ff;font-weight:bold}.padded[data-v-792be500]{padding:0 30px}.transfer-details[data-v-792be500]{text-align:center}.transfer-details span[data-v-792be500]{display:block;font-size:22px}.transfer-details div[data-v-792be500]{font-size:36px}.transfer-details .blue[data-v-792be500]{color:#0799ff}.transfer-details .small[data-v-792be500]{font-size:13px}.transfer-details .bold[data-v-792be500]{font-weight:800}.popout-list[data-v-792be500]{padding-top:0}.popout-list.done[data-v-792be500]{opacity:0.3}.popout-list.done[data-v-792be500]:hover{opacity:1}.popout-list .search-bar[data-v-792be500]{margin-left:-30px}\n",""])},y5zb:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".reputation[data-v-3c121449]{padding:5px 12px;font-size:10px;margin-bottom:10px;margin-top:-5px;font-weight:bold;background:#f3f6f7;color:#c8c8c8}.reputation.trusted[data-v-3c121449]{background:#159F00;color:#fff}.reputation.untrusted[data-v-3c121449]{background:#ff0707;color:#fff}.app-details[data-v-3c121449]{text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center}.app-details .logo[data-v-3c121449]{display:flex;align-items:center;justify-content:center;height:100px;width:100px;border-radius:4px;padding:5px;margin-bottom:20px}.app-details .logo.border[data-v-3c121449]{background:#f3f6f7;border:1px solid #dfe0e1}.app-details .logo img[data-v-3c121449]{height:100%;width:100%}.app-details .logo span[data-v-3c121449]{font-size:10px;font-weight:bold;color:#7a7a7a}.app-details .logo.scam[data-v-3c121449]{font-size:48px;border-radius:50%;color:#ff0707;background:#f3f6f7;border:1px solid #dfe0e1;animation:pulsate 0.5s ease infinite}.app-details .name[data-v-3c121449]{font-size:14px}\n",""])}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{HqHB:function(t,a,e){(t.exports=e("JPst")(!1)).push([t.i,".app-details[data-v-db39205e]{padding:50px}.main-panel[data-v-db39205e]{text-align:center}.fixed-actions .actions[data-v-db39205e]{display:flex;justify-content:space-between}\n",""])},IeaP:function(t,a,e){"use strict";var p=e("L2JU"),n={components:{Scatter:e("wg2a").a},props:["app","suffix"],computed:{...Object(p.d)(["appReputation"]),...Object(p.c)(["ridlEnabled"]),unknownReputation(){return void 0===this.appReputation},trusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)>0},untrusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)<0}}},i=(e("tL4a"),e("KHd+")),s=Object(i.a)(n,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("section",{staticClass:"app-details"},[t.untrusted?e("figure",{staticClass:"logo scam"},[e("i",{staticClass:"icon-attention"})]):e("figure",{staticClass:"logo",class:{border:"Scatter"!==t.app.applink&&!t.app.img}},["Scatter"===t.app.applink?e("Scatter"):t.app.img?e("img",{attrs:{src:t.app.img}}):e("span",[t._v(t._s(t.$t("popouts.popoutApp.noImage")))])],1),t._v(" "),t.ridlEnabled&&"Scatter"!==t.app.applink?e("section",[!1===t.appReputation?e("figure",{staticClass:"reputation"},[e("i",{staticClass:"icon-spin4 animate-spin"}),t._v(" loading reputation")]):e("section",[t.unknownReputation?e("figure",{staticClass:"reputation"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.unknown")))]):t._e(),t._v(" "),t.trusted?e("figure",{staticClass:"reputation trusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.trusty")))]):t._e(),t._v(" "),t.untrusted?e("figure",{staticClass:"reputation untrusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.scam")))]):t._e()])]):t._e(),t._v(" "),e("figure",{staticClass:"name"},[e("b",[t._v(t._s(t.app.name))]),t._v(" "),t.suffix?e("span",[t._v(t._s(t.suffix))]):t._e()])])}),[],!1,null,"3c121449",null);a.a=s.exports},J8XJ:function(t,a,e){var p=e("y5zb");"string"==typeof p&&(p=[[t.i,p,""]]),p.locals&&(t.exports=p.locals);(0,e("SZ7m").default)("1a4d8aa0",p,!0,{})},"M/P+":function(t,a,e){"use strict";e.r(a);var p=e("L2JU"),n=(e("qjwK"),e("zAsq")),i=e.n(n),s={components:{PopOutApp:e("IeaP").a},data:()=>({}),computed:{...Object(p.d)(["state"]),...Object(p.c)(["identities","accounts"]),payload(){return this.popup.payload()},app(){return i.a.fromJson(this.payload)}},mounted(){},methods:{returnResult(t){this.$emit("returned",t)}},props:["popup"]},o=(e("oVmc"),e("KHd+")),r=Object(o.a)(s,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("section",{staticClass:"popout-window"},[e("PopOutApp",{attrs:{app:t.popup.data.props.appData,suffix:t.$t("popouts.linkApp.suffix")}}),t._v(" "),e("section",{staticClass:"fixed-actions"},[t._v("\n "+t._s(t.$t("popouts.linkApp.description"))+"\n "),e("br"),t._v(" "),e("br"),t._v(" "),e("section",{staticClass:"actions"},[e("Button",{attrs:{text:t.$t("generic.deny"),big:"1"},nativeOn:{click:function(a){return t.returnResult(!1)}}}),t._v(" "),e("Button",{attrs:{blue:"1",big:"1",text:t.$t("generic.allow")},nativeOn:{click:function(a){return t.returnResult(!0)}}})],1)])],1)}),[],!1,null,"db39205e",null);a.default=r.exports},oVmc:function(t,a,e){"use strict";var p=e("wu70");e.n(p).a},tL4a:function(t,a,e){"use strict";var p=e("J8XJ");e.n(p).a},wu70:function(t,a,e){var p=e("HqHB");"string"==typeof p&&(p=[[t.i,p,""]]),p.locals&&(t.exports=p.locals);(0,e("SZ7m").default)("f0225470",p,!0,{})},y5zb:function(t,a,e){(t.exports=e("JPst")(!1)).push([t.i,".reputation[data-v-3c121449]{padding:5px 12px;font-size:10px;margin-bottom:10px;margin-top:-5px;font-weight:bold;background:#f3f6f7;color:#c8c8c8}.reputation.trusted[data-v-3c121449]{background:#159F00;color:#fff}.reputation.untrusted[data-v-3c121449]{background:#ff0707;color:#fff}.app-details[data-v-3c121449]{text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center}.app-details .logo[data-v-3c121449]{display:flex;align-items:center;justify-content:center;height:100px;width:100px;border-radius:4px;padding:5px;margin-bottom:20px}.app-details .logo.border[data-v-3c121449]{background:#f3f6f7;border:1px solid #dfe0e1}.app-details .logo img[data-v-3c121449]{height:100%;width:100%}.app-details .logo span[data-v-3c121449]{font-size:10px;font-weight:bold;color:#7a7a7a}.app-details .logo.scam[data-v-3c121449]{font-size:48px;border-radius:50%;color:#ff0707;background:#f3f6f7;border:1px solid #dfe0e1;animation:pulsate 0.5s ease infinite}.app-details .name[data-v-3c121449]{font-size:14px}\n",""])}}]); \ No newline at end of file diff --git a/dist/51.bundle.js b/dist/51.bundle.js deleted file mode 100644 index 6477b4c..0000000 --- a/dist/51.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[51],{C6GT:function(t,e,a){"use strict";a.r(e);var i=a("L2JU"),s=a("IeaP"),n=a("RNqi"),o=(a("EY8S"),a("78si"),{props:["popup"],components:{RequiredFields:a("psvp").a,PopOutApp:s.a,SearchBar:n.a},data:()=>({}),created(){},computed:{...Object(i.d)(["scatter","balances"]),...Object(i.c)(["identity","identities","accounts","networks"]),payload(){return this.popup.payload()},kycBlock(){if(!this.payload.kyc)return[];let t=0;return this.payload.kyc.split("::")[1].split("").reduce((e,a,i)=>(i>1&&i%24==0&&t++,e.hasOwnProperty(t)||(e[t]=""),e[t]+=a,e),[])}},methods:{returnResult(t){this.$emit("returned",t)}}}),p=(a("xqx+"),a("KHd+")),r=Object(p.a)(o,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"popout-window"},[a("PopOutApp",{attrs:{app:t.popup.data.props.appData,suffix:t.$t("popouts.updateIdentity.suffix")}}),t._v(" "),a("section",{staticClass:"update-identity"},[t.payload.name?a("section",[a("label",[t._v(t._s(t.$t("popouts.updateIdentity.changeName")))]),t._v(" "),a("figure",{staticClass:"value"},[t._v(t._s(t.payload.name))])]):t._e(),t._v(" "),t.payload.kyc?a("section",[a("br"),t._v(" "),a("br"),t._v(" "),a("label",[t._v(t._s(t.$t("popouts.updateIdentity.addKycProofs")))]),t._v(" "),a("figure",{staticClass:"value"},[t._v(t._s(t.payload.kyc.split("::")[0]))]),t._v(" "),t._l(t.kycBlock,(function(e){return a("figure",{staticClass:"value",staticStyle:{"font-size":"9px","line-height":"6px"}},[t._v(t._s(e))])}))],2):t._e(),t._v(" "),a("section",{staticClass:"fixed-actions"},[a("Button",{attrs:{text:t.$t("generic.deny"),big:"1"},nativeOn:{click:function(e){return t.returnResult(null)}}}),t._v(" "),a("Button",{attrs:{text:t.$t("generic.allow"),blue:"1",big:"1"},nativeOn:{click:function(e){return t.returnResult(!0)}}})],1)])],1)}),[],!1,null,"3852b0eb",null);e.default=r.exports},IeaP:function(t,e,a){"use strict";var i=a("L2JU"),s={components:{Scatter:a("wg2a").a},props:["app","suffix"],computed:{...Object(i.d)(["appReputation"]),...Object(i.c)(["ridlEnabled"]),unknownReputation(){return void 0===this.appReputation},trusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)>0},untrusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)<0}}},n=(a("tL4a"),a("KHd+")),o=Object(n.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"app-details"},[t.untrusted?a("figure",{staticClass:"logo scam"},[a("i",{staticClass:"icon-attention"})]):a("figure",{staticClass:"logo",class:{border:"Scatter"!==t.app.applink&&!t.app.img}},["Scatter"===t.app.applink?a("Scatter"):t.app.img?a("img",{attrs:{src:t.app.img}}):a("span",[t._v(t._s(t.$t("popouts.popoutApp.noImage")))])],1),t._v(" "),t.ridlEnabled&&"Scatter"!==t.app.applink?a("section",[!1===t.appReputation?a("figure",{staticClass:"reputation"},[a("i",{staticClass:"icon-spin4 animate-spin"}),t._v(" loading reputation")]):a("section",[t.unknownReputation?a("figure",{staticClass:"reputation"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.unknown")))]):t._e(),t._v(" "),t.trusted?a("figure",{staticClass:"reputation trusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.trusty")))]):t._e(),t._v(" "),t.untrusted?a("figure",{staticClass:"reputation untrusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.scam")))]):t._e()])]):t._e(),t._v(" "),a("figure",{staticClass:"name"},[a("b",[t._v(t._s(t.app.name))]),t._v(" "),t.suffix?a("span",[t._v(t._s(t.suffix))]):t._e()])])}),[],!1,null,"3c121449",null);e.a=o.exports},J8XJ:function(t,e,a){var i=a("y5zb");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("1a4d8aa0",i,!0,{})},L6xj:function(t,e,a){var i=a("p7K2");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("c9a2862e",i,!0,{})},fDuv:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".app-details[data-v-3852b0eb]{padding:50px 50px 20px 50px}.update-identity[data-v-3852b0eb]{text-align:center;padding:50px}.update-identity label[data-v-3852b0eb]{display:block;font-size:10px}.update-identity .value[data-v-3852b0eb]{font-size:12px;font-weight:bold}.fixed-actions[data-v-3852b0eb]{justify-content:space-between;display:flex}\n",""])},p7K2:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".fields-title[data-v-586a6aca]{margin:-20px -30px 0;padding:20px 30px;background:linear-gradient(180deg, #007fd7 0%, #0799ff 100%);color:#fff;font-size:18px;margin-bottom:20px}.required-fields[data-v-586a6aca]{padding:20px 0 0}\n",""])},pIF5:function(t,e,a){var i=a("fDuv");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("ff18b0ce",i,!0,{})},pNnu:function(t,e,a){"use strict";var i=a("L6xj");a.n(i).a},psvp:function(t,e,a){"use strict";a("L2JU");var i={props:["fields","identity","selectedIdentity","selectedLocation","clonedLocation"],data:()=>({}),computed:{identityRequirements(){return this.personalFields.concat(this.locationFields).join(", ")},personalFields(){return this.fields.personal},locationFields(){return this.fields.location}},methods:{fieldValueFor(t,e=!1){return e?this.identity.getPropertyValueByName(t,this.selectedLocation):this.selectedIdentity.getPropertyValueByName(t,this.clonedLocation)}}},s=(a("pNnu"),a("KHd+")),n=Object(s.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"required-fields"},[a("section",{staticClass:"fields-title"},[t._v("\n\t\t"+t._s(t.$t("popouts.requiredFields.title"))+"\n\t")]),t._v(" "),a("section",[a("label",[t._v(t._s(t.$t("popouts.requiredFields.personalInformation")))]),t._v(" "),a("figure",{staticClass:"text"},[t._v("\n\t\t\t"+t._s(t.identityRequirements)+"\n\t\t")])])])}),[],!1,null,"586a6aca",null);e.a=n.exports},tL4a:function(t,e,a){"use strict";var i=a("J8XJ");a.n(i).a},wg2a:function(t,e,a){"use strict";var i=a("KHd+"),s=Object(i.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:"88px",height:"88px",viewBox:"0 0 88 88",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e("g",{attrs:{id:"welcome_scatter",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"}},[e("g",{attrs:{id:"Group",stroke:"#00A8FF"}},[e("g",{attrs:{id:"Icon"}},[e("circle",{attrs:{id:"Base",cx:"44",cy:"44",r:"43.7079646"}})]),this._v(" "),e("path",{attrs:{d:"M40.8188559,71.5932203 C39.3040178,71.5932203 38.0455559,71.423153 37.0434322,71.0830131 C36.0413085,70.7428732 35.2489436,70.3616877 34.6663136,69.9394451 C34.0836835,69.5172025 33.6758486,69.1125594 33.4427966,68.7255037 C33.2097446,68.338448 33.0932203,68.0862791 33.0932203,67.9689895 C33.0932203,67.5467469 33.1864397,67.0951887 33.3728814,66.6143013 C33.559323,66.1334139 33.7923715,65.68772 34.0720339,65.2772064 C34.3516963,64.8666928 34.6546594,64.5206936 34.9809322,64.2391985 C35.307205,63.9577035 35.5985157,63.816958 35.8548729,63.816958 C36.1811457,63.816958 36.4491515,64.0280762 36.6588983,64.4503188 L37.0084746,64.8021858 C37.1949162,64.9898492 37.4570958,65.1833742 37.7950212,65.3827665 C38.1329466,65.5821588 38.5524339,65.763955 39.0534958,65.9281605 C39.5545576,66.0923659 40.1430051,66.1744674 40.8188559,66.1744674 C42.2870836,66.1744674 43.4872835,65.7229092 44.4194915,64.8197792 C45.3516996,63.9166492 45.8177966,62.6909911 45.8177966,61.1427683 C45.8177966,60.0637039 45.5672695,59.1019435 45.0662076,58.2574583 C44.5651458,57.4129731 43.9067837,56.6271445 43.0911017,55.8999489 C42.2754197,55.1727533 41.3432256,54.4631618 40.2944915,53.7711531 C39.2457575,53.0791444 38.1737343,52.3578241 37.0783898,51.6071706 C35.9830454,50.8565171 34.9110222,50.0472309 33.8622881,49.1792878 C32.8135541,48.3113447 31.88136,47.314398 31.065678,46.1884177 C30.2499959,45.0624374 29.5916339,43.7898643 29.090572,42.37066 C28.5895102,40.9514557 28.3389831,39.3270189 28.3389831,37.497301 C28.3389831,35.9256202 28.6069888,34.3422342 29.1430085,32.7470955 C29.6790281,31.1519568 30.4189571,29.6330792 31.3628178,28.190417 C32.3066784,26.7477547 33.4194851,25.3989445 34.7012712,24.1439456 C35.9830573,22.8889468 37.3696959,21.7981698 38.8612288,20.8715818 C40.3527617,19.9449939 41.9083605,19.2178092 43.528072,18.690006 C45.1477835,18.1622028 46.7732969,17.8983051 48.404661,17.8983051 C49.8029731,17.8983051 51.0614351,18.121152 52.1800847,18.5668525 C53.2987344,19.012553 54.2425809,19.640043 55.0116525,20.4493414 C55.7807242,21.2586397 56.3749979,22.2321288 56.7944915,23.3698381 C57.2139851,24.5075473 57.4237288,25.7801205 57.4237288,27.1875958 C57.4237288,28.5246974 57.1906803,29.8383213 56.7245763,31.128507 C56.2584722,32.4186927 55.6408937,33.6384864 54.871822,34.7879246 C54.1027504,35.9373627 53.2346447,36.9988178 52.2674788,37.9723216 C51.300313,38.9458253 50.3098568,39.7902979 49.2960805,40.5057645 C48.2823043,41.2212311 47.2976743,41.7783484 46.342161,42.1771331 C45.3866478,42.5759178 44.5476731,42.7753071 43.8252119,42.7753071 C43.1959714,42.7753071 42.6308288,42.6286973 42.1297669,42.3354733 C41.6287051,42.0422492 41.2092178,41.6786569 40.8712924,41.2446853 C40.533367,40.8107138 40.2711874,40.3532912 40.0847458,39.8724038 C39.8983042,39.3915164 39.8050847,38.9634157 39.8050847,38.5880889 C39.8050847,38.283136 39.8458682,38.0837466 39.9274364,37.9899149 C40.0090046,37.8960832 40.1255289,37.8550325 40.2770127,37.8667614 C40.4284965,37.8784904 40.6207615,37.9136768 40.8538136,37.9723216 C41.0868656,38.0309664 41.3548714,38.0602883 41.657839,38.0602883 C42.6366574,38.0602883 43.720333,37.7201536 44.9088983,37.0398738 C46.0974636,36.3595941 47.2160965,35.491664 48.2648305,34.4360575 C49.3135646,33.380451 50.1933227,32.2193013 50.9041314,30.9525735 C51.61494,29.6858457 51.970339,28.4543232 51.970339,27.2579692 C51.970339,26.0381573 51.6732021,25.0763969 51.0789195,24.3726592 C50.4846369,23.6689216 49.476702,23.317058 48.0550847,23.317058 C47.1694871,23.317058 46.208162,23.4871254 45.1710805,23.8272653 C44.1339991,24.1674051 43.0911069,24.6424209 42.0423729,25.2523269 C40.9936388,25.8622329 39.9798778,26.6011463 39.0010593,27.4690895 C38.0222409,28.3370326 37.1599614,29.2929286 36.4141949,30.3368061 C35.6684285,31.3806836 35.0683285,32.506647 34.6138771,33.71473 C34.1594257,34.922813 33.9322034,36.1836574 33.9322034,37.497301 C33.9322034,38.8813184 34.1827305,40.1187053 34.6837924,41.2094986 C35.1848542,42.300292 35.8490425,43.2913744 36.6763771,44.1827754 C37.5037118,45.0741764 38.441732,45.8951914 39.4904661,46.6458449 C40.5392002,47.3964984 41.6112233,48.1412763 42.7065678,48.8802008 C43.8019123,49.6191254 44.8739354,50.3814964 45.9226695,51.1673368 C46.9714035,51.9531772 47.9094238,52.8211073 48.7367585,53.7711531 C49.5640931,54.721199 50.2282814,55.7767896 50.7293432,56.9379568 C51.230405,58.0991239 51.4809322,59.430341 51.4809322,60.931648 C51.4809322,62.3860392 51.2071002,63.7641715 50.659428,65.0660861 C50.1117557,66.3680008 49.3601743,67.4998286 48.404661,68.4616034 C47.4491478,69.4233782 46.3188625,70.1857492 45.0137712,70.7487394 C43.7086799,71.3117295 42.3103888,71.5932203 40.8188559,71.5932203 Z",id:"Scatter"}})])])])}),[],!1,null,null,null);e.a=s.exports},"xqx+":function(t,e,a){"use strict";var i=a("pIF5");a.n(i).a},y5zb:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".reputation[data-v-3c121449]{padding:5px 12px;font-size:10px;margin-bottom:10px;margin-top:-5px;font-weight:bold;background:#f3f6f7;color:#c8c8c8}.reputation.trusted[data-v-3c121449]{background:#159F00;color:#fff}.reputation.untrusted[data-v-3c121449]{background:#ff0707;color:#fff}.app-details[data-v-3c121449]{text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center}.app-details .logo[data-v-3c121449]{display:flex;align-items:center;justify-content:center;height:100px;width:100px;border-radius:4px;padding:5px;margin-bottom:20px}.app-details .logo.border[data-v-3c121449]{background:#f3f6f7;border:1px solid #dfe0e1}.app-details .logo img[data-v-3c121449]{height:100%;width:100%}.app-details .logo span[data-v-3c121449]{font-size:10px;font-weight:bold;color:#7a7a7a}.app-details .logo.scam[data-v-3c121449]{font-size:48px;border-radius:50%;color:#ff0707;background:#f3f6f7;border:1px solid #dfe0e1;animation:pulsate 0.5s ease infinite}.app-details .name[data-v-3c121449]{font-size:14px}\n",""])}}]); \ No newline at end of file diff --git a/dist/52.bundle.js b/dist/52.bundle.js deleted file mode 100644 index becdd55..0000000 --- a/dist/52.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[52],{"3lbk":function(t,e,i){"use strict";var s={props:["tabs","state"]},a=(i("dVin"),i("KHd+")),n=Object(a.a)(s,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{staticClass:"panel-tabs"},t._l(t.tabs,(function(e){return i("figure",{staticClass:"tab-name",class:{active:e.state===t.state},on:{click:function(i){return t.$emit("selected",e.state)}}},[t._v(t._s(e.name))])})),0)}),[],!1,null,"f9b84e78",null);e.a=n.exports},"4HXs":function(t,e,i){(t.exports=i("JPst")(!1)).push([t.i,".panel-tabs[data-v-f9b84e78]{display:flex;flex-direction:row;align-items:center;justify-content:center;padding:0 0 20px;margin:0 20px;border-bottom:1px solid #dfe0e1}.panel-tabs .tab-name[data-v-f9b84e78]{cursor:pointer;font-size:16px;font-weight:bold;font-family:'Poppins', sans-serif;line-height:68px;color:#0799ff;transition:all 0.1s ease;width:100%;text-align:center;border-bottom:1px solid tranparent;margin-bottom:-21px}.panel-tabs .tab-name[data-v-f9b84e78]:hover,.panel-tabs .tab-name.active[data-v-f9b84e78]{color:black;border-bottom:1px solid #0799ff}\n",""])},"8YTa":function(t,e,i){"use strict";var s=i("L2JU");let a;var n={props:["slides","noInfo"],data:()=>({left:0,slideWidth:0}),mounted(){this.$nextTick(()=>{this.setInterval(),this.calcBaseWidth(),window.addEventListener("resize",this.calcBaseWidth)})},destroyed(){clearInterval(a),window.removeEventListener("resize",this.calcBaseWidth)},computed:{...Object(s.d)(["sidebarLocked"]),maxLeft(){return-(this.slides.length-1)*this.slideWidth},slideIndex(){return Math.abs(this.left)/this.slideWidth}},methods:{calcBaseWidth(){this.$nextTick(()=>{this.$refs.base&&(this.slideWidth=this.$refs.base.clientWidth,this.left=0)})},slide(t){t>0?this.left+=this.slideWidth:this.left-=this.slideWidth,this.left0&&(this.left=this.maxLeft),this.setInterval()},setInterval(){clearInterval(a),a=setInterval(()=>{this.slide(-1)},1e4)},goToApp(t){this.$router.push({name:this.RouteNames.APP,params:{applink:t.applink}})}},watch:{window(){this.calcBaseWidth()},sidebarLocked(){setTimeout(()=>{this.calcBaseWidth()},200)}}},o=(i("VG6g"),i("KHd+")),r=Object(o.a)(n,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{ref:"base",staticClass:"carousel"},[t.slides.length>1?i("section",{staticClass:"go-right icon-right-open-big",on:{click:function(e){return t.slide(-1)}}}):t._e(),t._v(" "),t.slides.length>1?i("section",{staticClass:"go-left icon-left-open-big",on:{click:function(e){return t.slide(1)}}}):t._e(),t._v(" "),t.slides.length?i("section",{staticClass:"slider-container"},[i("section",{staticClass:"slider",style:{left:t.left+"px"}},t._l(t.slides,(function(e,s){return i("section",{staticClass:"slide",style:{left:s*t.slideWidth+"px",width:t.slideWidth+"px"}},[i("section",{staticClass:"image-container",class:{"full-height":t.noInfo}},[i("figure",{staticClass:"bg",style:"background-image:url("+e.img+");"}),t._v(" "),i("figure",{staticClass:"image",style:"background-image:url("+e.img+");"})]),t._v(" "),t.noInfo?t._e():i("section",{staticClass:"info"},[i("section",[i("figure",{staticClass:"name"},[t._v(t._s(e.name))]),t._v(" "),i("figure",{staticClass:"description"},[t._v(t._s(e.description))])]),t._v(" "),i("section",[i("Button",{attrs:{text:"View App",blue:1},nativeOn:{click:function(i){return t.goToApp(e)}}})],1)])])})),0)]):i("section",{staticClass:"slider-container"},[i("section",{staticClass:"slider dummy"},[i("section",{staticClass:"slide",style:{left:0,width:t.slideWidth+"px"}},[t._m(0),t._v(" "),i("section",{staticClass:"info"},[t._m(1),t._v(" "),i("section",[i("Button",{attrs:{blue:1}})],1)])])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"image-container"},[e("figure",{staticClass:"bg"}),this._v(" "),e("figure",{staticClass:"image"},[e("i",{staticClass:"icon-spin4 animate-spin"})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("section",[e("figure",{staticClass:"name animated-gradient"}),this._v(" "),e("figure",{staticClass:"description animated-gradient"})])}],!1,null,"4398fff8",null);e.a=r.exports},Gmfg:function(t,e,i){(t.exports=i("JPst")(!1)).push([t.i,".carousel[data-v-4398fff8]{position:relative;height:300px;width:100%;margin:0 auto;margin-top:1px;max-width:900px}@media (max-width: 920px){.carousel[data-v-4398fff8]{height:440px}}.carousel .go-right[data-v-4398fff8],.carousel .go-left[data-v-4398fff8]{cursor:pointer;position:absolute;color:white;font-size:20px;background:rgba(255,255,255,0.12);width:44px;height:44px;line-height:44px;text-align:center;z-index:3;transition:all 0.12s ease-in-out}.carousel .go-right[data-v-4398fff8]:hover,.carousel .go-left[data-v-4398fff8]:hover{width:40px;background:#fff;color:#0799ff}.carousel .go-left[data-v-4398fff8]{left:0px;top:60%;margin-top:-54px;border-top-right-radius:3px;border-bottom-right-radius:3px}.carousel .go-right[data-v-4398fff8]{right:0px;top:60%;margin-top:-54px;border-top-left-radius:3px;border-bottom-left-radius:3px}.carousel .slider-container[data-v-4398fff8]{position:relative;overflow:hidden;height:300px;width:100%;border-radius:20px}@media (max-width: 920px){.carousel .slider-container[data-v-4398fff8]{height:440px}}.carousel .slider[data-v-4398fff8]{position:absolute;top:0;bottom:0;left:0;right:0;transition:all 0.6s ease;transition-property:left}.carousel .slider .slide[data-v-4398fff8]{position:absolute;top:0;height:100%}.carousel .slider .slide .image-container[data-v-4398fff8]{position:absolute;top:0;bottom:80px;left:0;right:0;z-index:1;overflow:hidden;background:#333}.carousel .slider .slide .image-container.full-height[data-v-4398fff8]{bottom:0}.carousel .slider .slide .image-container .bg[data-v-4398fff8]{position:absolute;top:-900px;bottom:-900px;left:-900px;right:-900px;background-size:200px;background-position:center;z-index:1;transform:rotateZ(20deg) scale(1.2);opacity:0.1;transition:1s transform ease}.carousel .slider .slide .image-container .image[data-v-4398fff8]{position:absolute;top:0;bottom:0;left:0;right:0;background-size:contain;background-position:center;background-repeat:no-repeat;margin:20px;z-index:1;transition:1s transform ease}.carousel .slider .slide .image-container.full .bg[data-v-4398fff8]{display:none}.carousel .slider .slide .image-container.full .image[data-v-4398fff8]{margin:0;background-size:cover}.carousel .slider .slide .info[data-v-4398fff8]{position:absolute;bottom:0;left:0;right:0;display:flex;padding:20px;z-index:2;flex-direction:row;justify-content:space-between;align-content:center;border-radius:0;background-color:#0799ff;height:80px}@media (max-width: 920px){.carousel .slider .slide .info[data-v-4398fff8]{height:140px;flex-direction:column}}.carousel .slider .slide .info .name[data-v-4398fff8]{font-size:16px;font-family:'Poppins', sans-serif;font-weight:bold;color:white;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.carousel .slider .slide .info .description[data-v-4398fff8]{font-size:12px;font-weight:bold;color:white;opacity:0.6;font-size:12px;margin-bottom:10px}.carousel .slider:hover .slide .image-container .bg[data-v-4398fff8]{transition:8s transform ease;transform:rotateZ(50deg) scale(0.5)}.carousel .slider.dummy .slide .image-container[data-v-4398fff8]{background-color:#f3f6f7}.carousel .slider.dummy .slide .image-container .image[data-v-4398fff8]{display:flex;justify-content:center;align-items:center;font-size:48px;color:#dfe0e1}.carousel .slider.dummy .slide .info .name[data-v-4398fff8]{padding:5px 50px;margin-bottom:2px}.carousel .slider.dummy .slide .info .description[data-v-4398fff8]{padding:10px 150px}\n",""])},"L/Cn":function(t,e,i){"use strict";var s=i("gk0x");i.n(s).a},QIy7:function(t,e,i){var s=i("4HXs");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i("SZ7m").default)("bbbacdd6",s,!0,{})},TkVi:function(t,e,i){(t.exports=i("JPst")(!1)).push([t.i,".app .scroller[data-v-37f189f2]{position:relative;height:calc(100vh - 220px);overflow-y:auto}.app .scroller .padder[data-v-37f189f2]{padding:20px}.app .scroller .info[data-v-37f189f2]{margin-top:20px}.app .scroller .info .actions[data-v-37f189f2]{display:flex;justify-content:space-between}.app .scroller .info .category[data-v-37f189f2]{margin:20px 0 10px 0;font-size:10px;color:#7a7a7a}.app .scroller .info p[data-v-37f189f2]{font-size:12px}.permissions[data-v-37f189f2]{display:flex}.permissions .perms-list[data-v-37f189f2]{flex:0 0 auto;width:260px;padding:20px;border-right:1px solid #dfe0e1}.permissions .selected-permission[data-v-37f189f2]{flex:1;padding:30px}\n",""])},VG6g:function(t,e,i){"use strict";var s=i("eSad");i.n(s).a},dVin:function(t,e,i){"use strict";var s=i("QIy7");i.n(s).a},eSad:function(t,e,i){var s=i("Gmfg");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i("SZ7m").default)("2bf51abc",s,!0,{})},gk0x:function(t,e,i){var s=i("TkVi");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i("SZ7m").default)("1e13d63f",s,!0,{})},kYyy:function(t,e,i){"use strict";i.r(e);var s=i("L2JU"),a=(i("qjwK"),i("3lbk")),n=(i("UYLU"),i("x0xh")),o=i.n(n),r=i("8YTa"),l=i("eOAV"),c=i.n(l),d={components:{Carousel:r.a,PanelTabs:a.a},data:()=>({state:null,selected:null}),computed:{...Object(s.d)(["scatter","dappLogos","dappData"]),...Object(s.c)(["permissions"]),applink(){return this.$route.params.applink},tabs(){return[{name:this.getAppData(this.applink).name,state:this.applink},this.perms.length?{name:"Permissions",state:"permissions"}:null].filter(t=>!!t)},perms(){return this.permissions.filter(t=>t.origin===this.applink)},identityPermission(){return this.perms.find(t=>t.isIdentity)},contractPermissions(){return this.perms.filter(t=>t.isContractAction)},identityRequirementPermissions(){return this.perms.filter(t=>t.isIdentityRequirements)},isIdentity(){return this.selected.isIdentity},isAction(){return this.selected.isContractAction},permissionsList(){return(this.identityPermission?[this.identityPermission]:[]).concat(this.contractPermissions).map(t=>({id:t?t.id:null,title:this.permissionTitle(t),description:this.permissionDescription(t),icon:this.permissionIcon(t)}))}},mounted(){this.state=this.applink,this.selected=this.identityPermission},methods:{getAppData:o.a.getAppData,tabSelected(t){this.state=t},selectPermission(t){this.selected=this.permissions.find(e=>e.id===t.id)},permissionTitle(t){if(t)return t.isIdentity?this.$t("app.loginPermission"):`${t.action}`},permissionDescription(t){if(t)return t.isContractAction?t.contract:""},permissionIcon(t){if(t)return t.isIdentity?"icon-user":"icon-flow-tree"},async removeSelected(){return 1===this.perms.length?this.removeAll():(await c.a.removePermission(this.selected),this.perms.length?void(this.selected=this.perms[0]):this.$router.back())},async removeAll(){await c.a.removeAllPermissionsFor(this.applink),this.$router.back()}}},p=(i("L/Cn"),i("KHd+")),f=Object(p.a)(d,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{staticClass:"app"},[i("PanelTabs",{attrs:{tabs:t.tabs,state:t.state},on:{selected:t.tabSelected}}),t._v(" "),t.state===t.applink?i("section",{staticClass:"scroller"},[i("section",{staticClass:"padder"},[t.getAppData(t.applink).hasOwnProperty("img")?i("section",{staticClass:"featured"},[i("Carousel",{attrs:{"no-info":!0,slides:[t.getAppData(t.applink)]}})],1):t._e(),t._v(" "),i("section",{staticClass:"info"},[i("section",{staticClass:"actions"},[t.canOpenApp(t.applink)?i("section",[i("Button",{attrs:{text:t.$t("generic.open"),blue:!0},nativeOn:{click:function(e){return t.openApp(t.applink)}}})],1):t._e(),t._v(" "),t.permissionsList.length?i("section",[i("Button",{attrs:{text:t.$t("generic.remove")},nativeOn:{click:function(e){return t.removeAll(e)}}})],1):t._e()]),t._v(" "),t.getAppData(t.applink).type?i("section",[i("figure",{staticClass:"category"},[t._v(t._s(t.getAppData(t.applink).type))]),t._v(" "),i("p",[t._v(t._s(t.getAppData(t.applink).description))])]):t._e()])])]):t._e(),t._v(" "),"permissions"===t.state?i("section",{staticClass:"permissions scroller"},[i("section",{staticClass:"perms-list"},t._l(t.permissionsList,(function(e){return i("section",{staticClass:"badge-item hoverable",class:{active:t.selected.id===e.id},on:{click:function(i){return t.selectPermission(e)}}},[i("section",{staticClass:"details"},[i("figure",{staticClass:"title"},[t._v(t._s(e.title))]),t._v(" "),i("figure",{staticClass:"row",staticStyle:{"margin-top":"0"}},[i("figure",{staticClass:"secondary"},[t._v(t._s(e.description))])])])])})),0),t._v(" "),i("section",{staticClass:"selected-permission"},[t.isIdentity&&t.selected.accounts.length?i("section",{staticClass:"key-val"},[i("figure",[t._v(t._s(t.$t("app.accountsProvided")))]),t._v(" "),i("figure",[t._v(t._s(t.selected.getAccounts().map((function(t){return t.formatted()})).join(", ")))]),t._v(" "),i("br"),t._v(" "),i("figure",[t._v(t._s(t.selected.asIdentityRequirements().personal.concat(t.selected.asIdentityRequirements().location).join(", ")))])]):t._e(),t._v(" "),t.selected.isIdentityRequirements?i("section",{staticClass:"key-val"},[i("figure",[t._v(t._s(t.$t("app.requiredFields")))]),t._v(" "),i("figure",[t._v(t._s(t.selected.identityRequirements.join(", ")))])]):t._e(),t._v(" "),t.isAction?i("section",{staticClass:"key-val"},[i("figure",[t._v(t._s(t.$t("app.mutableFields")))]),t._v(" "),i("figure",[t._v(t._s(t.selected.mutableActionFields.join(", ")))])]):t._e(),t._v(" "),i("br"),t._v(" "),i("br"),t._v(" "),i("section",{staticClass:"action-box"},[i("section",{staticClass:"key-val"},[i("figure",[t._v(t._s(t.$t("app.removePermission")))]),t._v(" "),t.isIdentity?i("p",[t._v(t._s(t.$t("app.removeIdentity")))]):t._e(),t._v(" "),t.isAction?i("p",[t._v(t._s(t.$t("app.removeWhitelist")))]):t._e(),t._v(" "),i("br"),t._v(" "),i("Button",{attrs:{text:t.$t("generic.remove"),red:"1"},nativeOn:{click:function(e){return t.removeSelected(e)}}})],1)])])]):t._e()],1)}),[],!1,null,"37f189f2",null);e.default=f.exports}}]); \ No newline at end of file diff --git a/dist/53.bundle.js b/dist/53.bundle.js deleted file mode 100644 index b7e1dac..0000000 --- a/dist/53.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[53],{"3lbk":function(t,e,a){"use strict";var s={props:["tabs","state"]},i=(a("dVin"),a("KHd+")),r=Object(i.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"panel-tabs"},t._l(t.tabs,(function(e){return a("figure",{staticClass:"tab-name",class:{active:e.state===t.state},on:{click:function(a){return t.$emit("selected",e.state)}}},[t._v(t._s(e.name))])})),0)}),[],!1,null,"f9b84e78",null);e.a=r.exports},"4HXs":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".panel-tabs[data-v-f9b84e78]{display:flex;flex-direction:row;align-items:center;justify-content:center;padding:0 0 20px;margin:0 20px;border-bottom:1px solid #dfe0e1}.panel-tabs .tab-name[data-v-f9b84e78]{cursor:pointer;font-size:16px;font-weight:bold;font-family:'Poppins', sans-serif;line-height:68px;color:#0799ff;transition:all 0.1s ease;width:100%;text-align:center;border-bottom:1px solid tranparent;margin-bottom:-21px}.panel-tabs .tab-name[data-v-f9b84e78]:hover,.panel-tabs .tab-name.active[data-v-f9b84e78]{color:black;border-bottom:1px solid #0799ff}\n",""])},"4ILN":function(t,e,a){"use strict";a.r(e);var s=a("L2JU"),i=(a("qjwK"),a("3lbk")),r=(a("UYLU"),a("x0xh")),o=a.n(r),p=a("8YTa"),n=a("eOAV"),l=a.n(n),c=(a("HLB/"),a("q+A3"));const d={EXPLORE:"explore",MINE:"mine"};var f={components:{Carousel:p.a,PanelTabs:i.a},data:()=>({state:d.EXPLORE,STATES:d,selectedCategory:null,terms:"",exploreTerms:"",typeFilter:null}),computed:{...Object(s.d)(["scatter","dappLogos","dappData","featuredApps"]),...Object(s.c)(["permissions","apps","accounts"]),tabs(){let t=[{name:this.$t("apps.explore"),state:d.EXPLORE}];return this.selectedCategory&&t.splice(1,0,{name:this.selectedCategory,state:this.selectedCategory}),this.permissions.filter(t=>t.isIdentity).length&&t.push({name:this.$t("apps.myApps"),state:d.MINE}),t},categories(){return o.a.appsByCategory(this.selectedCategory)},filteredApps(){return o.a.appsByTerm(this.exploreTerms)},filters(){return[{selected:this.typeFilter,options:[null].concat(o.a.categories(this.selectedCategory)),parser:t=>null===t?this.$t("apps.allCategories"):t,onSelect:t=>this.typeFilter=t}]},linkedApps(){return o.a.linkedApps(this.terms,this.typeFilter)}},mounted(){this.init()},methods:{async init(){if(this.featuredApps&&this.featuredApps.length||this[c.k](await o.a.getFeaturedApps()),!this.accounts.length)return this.$router.push({name:this.RouteNames.WALLET});this.$route.query.hasOwnProperty("state")&&(this.state=this.$route.query.state,this.state!==d.MINE||this.linkedApps.length||(this.state=d.EXPLORE)),this.$route.query.hasOwnProperty("category")&&(this.selectedCategory=this.$route.query.category)},goToApp(t){this.$router.push({name:this.RouteNames.APP,params:{applink:t.applink}})},getAppData:o.a.getAppData,setState(t){t!==this.selectedCategory&&(this.$router.push({query:{state:t}}),this.state=t,this.selectedCategory=null,this.scrollToTop())},selectCategory(t){this.$router.push({query:{category:t.type}}),this.selectedCategory=t.type,this.scrollToTop()},scrollToTop(){this.$nextTick(()=>{this.$refs.scroller&&(this.$refs.scroller.scrollTop=0)})},async removeApp(t){await l.a.removeAllPermissionsFor(t.applink),this.permissions.filter(t=>t.isIdentity).length||(this.state=d.EXPLORE)},...Object(s.b)([c.k])},created(){}},g=(a("PGoP"),a("KHd+")),u=Object(g.a)(f,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"apps"},[a("PanelTabs",{attrs:{tabs:t.tabs,state:this.selectedCategory?this.selectedCategory:t.state},on:{selected:t.setState}}),t._v(" "),t.state===t.STATES.EXPLORE?a("section",{staticClass:"search-icon",class:{visible:t.exploreTerms.length}},[a("i",{staticClass:"icon-search"}),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.exploreTerms,expression:"exploreTerms"}],domProps:{value:t.exploreTerms},on:{input:function(e){e.target.composing||(t.exploreTerms=e.target.value)}}})]):t._e(),t._v(" "),t.state===t.STATES.EXPLORE?a("section",{ref:"scroller",staticClass:"scroller"},[a("section",{staticClass:"padder"},[t.exploreTerms.length||t.selectedCategory||!t.featuredApps.length?t._e():a("section",{staticClass:"featured"},t._l(t.featuredApps,(function(e){return a("section",{staticClass:"featured-app",on:{click:function(a){return t.openInBrowser(e.url)}}},[a("img",{staticClass:"featured-background",attrs:{src:e.img}}),t._v(" "),a("figure",{staticClass:"tag"},[t._v(t._s(t.$t("generic.promoted")))])])})),0),t._v(" "),t.categories.length?a("section",[t.exploreTerms.length?a("section",{staticClass:"categories"},[a("section",{staticClass:"category singular"},[a("section",{staticClass:"info"},[a("figure",{staticClass:"name"},[t._v(t._s(t.terms))])]),t._v(" "),a("section",{staticClass:"apps"},t._l(t.filteredApps,(function(e){return a("router-link",{key:e.applink,staticClass:"app",attrs:{to:{name:t.RouteNames.APP,params:{applink:e.applink}}}},[a("figure",{staticClass:"image",class:{"no-image":!t.getAppData(e.applink).hasOwnProperty("img")}},[t.getAppData(e.applink).hasOwnProperty("img")?a("img",{attrs:{src:t.getAppData(e.applink).img}}):t._e()]),t._v(" "),a("figure",{staticClass:"name"},[t._v(t._s(e.name))])])})),1)])]):t._e(),t._v(" "),t.exploreTerms.length?t._e():a("section",{staticClass:"categories"},t._l(t.categories,(function(e){return t.selectedCategory&&t.selectedCategory!==e.type?t._e():a("section",{staticClass:"category",class:{singular:t.selectedCategory}},[t.selectedCategory?t._e():a("section",{staticClass:"info"},[a("figure",{staticClass:"name"},[t._v(t._s(e.type))]),t._v(" "),e.apps.length>4?a("figure",{staticClass:"view-all",on:{click:function(a){return t.selectCategory(e)}}},[t._v("View all "+t._s(e.apps.length)+" apps "),a("i",{staticClass:"icon-right-open-big"})]):t._e()]),t._v(" "),a("section",{staticClass:"apps"},t._l(t.selectedCategory?e.apps:e.apps.slice(0,10),(function(e){return a("router-link",{key:e.applink,staticClass:"app",attrs:{to:{name:t.RouteNames.APP,params:{applink:e.applink}}}},[a("figure",{staticClass:"image",class:{"no-image":!t.getAppData(e.applink).hasOwnProperty("img")}},[t.getAppData(e.applink).hasOwnProperty("img")?a("img",{attrs:{src:t.getAppData(e.applink).img}}):t._e()]),t._v(" "),a("figure",{staticClass:"name"},[t._v(t._s(e.name))])])})),1)])})),0)]):a("section",[a("section",{staticClass:"categories"},[a("section",{staticClass:"category"},[a("section",{staticClass:"apps"},t._l(new Array(5).keys(),(function(e){return a("figure",{staticClass:"app"},[a("figure",{staticClass:"image no-image animated-gradient"}),t._v(" "),a("figure",{staticClass:"name"})])})),0)])])])])]):t._e(),t._v(" "),t.state===t.STATES.MINE?a("section",[a("SearchAndFilter",{attrs:{filters:t.filters},on:{terms:function(e){return t.terms=e}}}),t._v(" "),a("section",{staticClass:"scroller with-search"},[a("section",{staticClass:"linked-apps"},t._l(t.linkedApps,(function(e){return a("section",{staticClass:"app"},[a("figure",{staticClass:"image",on:{click:function(a){return t.goToApp(e)}}},[t.getAppData(e.applink).hasOwnProperty("img")?a("img",{attrs:{src:t.getAppData(e.applink).img}}):a("figure",{staticClass:"dummy-image"})]),t._v(" "),a("section",{staticClass:"info",on:{click:function(a){return t.goToApp(e)}}},[a("figure",{staticClass:"name"},[t._v(t._s(e.name))]),t._v(" "),a("figure",{staticClass:"category"},[t._v(t._s(e.type))])]),t._v(" "),a("section",{staticClass:"actions"},[a("Button",{attrs:{text:t.$t("generic.remove")},nativeOn:{click:function(a){return t.removeApp(e)}}}),t._v(" "),a("Button",{attrs:{text:t.$t("generic.manage")},nativeOn:{click:function(a){return t.goToApp(e)}}}),t._v(" "),t.canOpenApp(e.applink)?a("Button",{attrs:{text:t.$t("generic.open"),blue:"1"},nativeOn:{click:function(a){return t.openApp(e.applink)}}}):t._e()],1)])})),0)])],1):t._e()],1)}),[],!1,null,"5fdc7066",null);e.default=u.exports},"8YTa":function(t,e,a){"use strict";var s=a("L2JU");let i;var r={props:["slides","noInfo"],data:()=>({left:0,slideWidth:0}),mounted(){this.$nextTick(()=>{this.setInterval(),this.calcBaseWidth(),window.addEventListener("resize",this.calcBaseWidth)})},destroyed(){clearInterval(i),window.removeEventListener("resize",this.calcBaseWidth)},computed:{...Object(s.d)(["sidebarLocked"]),maxLeft(){return-(this.slides.length-1)*this.slideWidth},slideIndex(){return Math.abs(this.left)/this.slideWidth}},methods:{calcBaseWidth(){this.$nextTick(()=>{this.$refs.base&&(this.slideWidth=this.$refs.base.clientWidth,this.left=0)})},slide(t){t>0?this.left+=this.slideWidth:this.left-=this.slideWidth,this.left0&&(this.left=this.maxLeft),this.setInterval()},setInterval(){clearInterval(i),i=setInterval(()=>{this.slide(-1)},1e4)},goToApp(t){this.$router.push({name:this.RouteNames.APP,params:{applink:t.applink}})}},watch:{window(){this.calcBaseWidth()},sidebarLocked(){setTimeout(()=>{this.calcBaseWidth()},200)}}},o=(a("VG6g"),a("KHd+")),p=Object(o.a)(r,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{ref:"base",staticClass:"carousel"},[t.slides.length>1?a("section",{staticClass:"go-right icon-right-open-big",on:{click:function(e){return t.slide(-1)}}}):t._e(),t._v(" "),t.slides.length>1?a("section",{staticClass:"go-left icon-left-open-big",on:{click:function(e){return t.slide(1)}}}):t._e(),t._v(" "),t.slides.length?a("section",{staticClass:"slider-container"},[a("section",{staticClass:"slider",style:{left:t.left+"px"}},t._l(t.slides,(function(e,s){return a("section",{staticClass:"slide",style:{left:s*t.slideWidth+"px",width:t.slideWidth+"px"}},[a("section",{staticClass:"image-container",class:{"full-height":t.noInfo}},[a("figure",{staticClass:"bg",style:"background-image:url("+e.img+");"}),t._v(" "),a("figure",{staticClass:"image",style:"background-image:url("+e.img+");"})]),t._v(" "),t.noInfo?t._e():a("section",{staticClass:"info"},[a("section",[a("figure",{staticClass:"name"},[t._v(t._s(e.name))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(e.description))])]),t._v(" "),a("section",[a("Button",{attrs:{text:"View App",blue:1},nativeOn:{click:function(a){return t.goToApp(e)}}})],1)])])})),0)]):a("section",{staticClass:"slider-container"},[a("section",{staticClass:"slider dummy"},[a("section",{staticClass:"slide",style:{left:0,width:t.slideWidth+"px"}},[t._m(0),t._v(" "),a("section",{staticClass:"info"},[t._m(1),t._v(" "),a("section",[a("Button",{attrs:{blue:1}})],1)])])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"image-container"},[e("figure",{staticClass:"bg"}),this._v(" "),e("figure",{staticClass:"image"},[e("i",{staticClass:"icon-spin4 animate-spin"})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("section",[e("figure",{staticClass:"name animated-gradient"}),this._v(" "),e("figure",{staticClass:"description animated-gradient"})])}],!1,null,"4398fff8",null);e.a=p.exports},Gmfg:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".carousel[data-v-4398fff8]{position:relative;height:300px;width:100%;margin:0 auto;margin-top:1px;max-width:900px}@media (max-width: 920px){.carousel[data-v-4398fff8]{height:440px}}.carousel .go-right[data-v-4398fff8],.carousel .go-left[data-v-4398fff8]{cursor:pointer;position:absolute;color:white;font-size:20px;background:rgba(255,255,255,0.12);width:44px;height:44px;line-height:44px;text-align:center;z-index:3;transition:all 0.12s ease-in-out}.carousel .go-right[data-v-4398fff8]:hover,.carousel .go-left[data-v-4398fff8]:hover{width:40px;background:#fff;color:#0799ff}.carousel .go-left[data-v-4398fff8]{left:0px;top:60%;margin-top:-54px;border-top-right-radius:3px;border-bottom-right-radius:3px}.carousel .go-right[data-v-4398fff8]{right:0px;top:60%;margin-top:-54px;border-top-left-radius:3px;border-bottom-left-radius:3px}.carousel .slider-container[data-v-4398fff8]{position:relative;overflow:hidden;height:300px;width:100%;border-radius:20px}@media (max-width: 920px){.carousel .slider-container[data-v-4398fff8]{height:440px}}.carousel .slider[data-v-4398fff8]{position:absolute;top:0;bottom:0;left:0;right:0;transition:all 0.6s ease;transition-property:left}.carousel .slider .slide[data-v-4398fff8]{position:absolute;top:0;height:100%}.carousel .slider .slide .image-container[data-v-4398fff8]{position:absolute;top:0;bottom:80px;left:0;right:0;z-index:1;overflow:hidden;background:#333}.carousel .slider .slide .image-container.full-height[data-v-4398fff8]{bottom:0}.carousel .slider .slide .image-container .bg[data-v-4398fff8]{position:absolute;top:-900px;bottom:-900px;left:-900px;right:-900px;background-size:200px;background-position:center;z-index:1;transform:rotateZ(20deg) scale(1.2);opacity:0.1;transition:1s transform ease}.carousel .slider .slide .image-container .image[data-v-4398fff8]{position:absolute;top:0;bottom:0;left:0;right:0;background-size:contain;background-position:center;background-repeat:no-repeat;margin:20px;z-index:1;transition:1s transform ease}.carousel .slider .slide .image-container.full .bg[data-v-4398fff8]{display:none}.carousel .slider .slide .image-container.full .image[data-v-4398fff8]{margin:0;background-size:cover}.carousel .slider .slide .info[data-v-4398fff8]{position:absolute;bottom:0;left:0;right:0;display:flex;padding:20px;z-index:2;flex-direction:row;justify-content:space-between;align-content:center;border-radius:0;background-color:#0799ff;height:80px}@media (max-width: 920px){.carousel .slider .slide .info[data-v-4398fff8]{height:140px;flex-direction:column}}.carousel .slider .slide .info .name[data-v-4398fff8]{font-size:16px;font-family:'Poppins', sans-serif;font-weight:bold;color:white;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.carousel .slider .slide .info .description[data-v-4398fff8]{font-size:12px;font-weight:bold;color:white;opacity:0.6;font-size:12px;margin-bottom:10px}.carousel .slider:hover .slide .image-container .bg[data-v-4398fff8]{transition:8s transform ease;transform:rotateZ(50deg) scale(0.5)}.carousel .slider.dummy .slide .image-container[data-v-4398fff8]{background-color:#f3f6f7}.carousel .slider.dummy .slide .image-container .image[data-v-4398fff8]{display:flex;justify-content:center;align-items:center;font-size:48px;color:#dfe0e1}.carousel .slider.dummy .slide .info .name[data-v-4398fff8]{padding:5px 50px;margin-bottom:2px}.carousel .slider.dummy .slide .info .description[data-v-4398fff8]{padding:10px 150px}\n",""])},PGoP:function(t,e,a){"use strict";var s=a("cJ8I");a.n(s).a},QIy7:function(t,e,a){var s=a("4HXs");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,a("SZ7m").default)("bbbacdd6",s,!0,{})},VG6g:function(t,e,a){"use strict";var s=a("eSad");a.n(s).a},cJ8I:function(t,e,a){var s=a("v1DO");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,a("SZ7m").default)("63324d30",s,!0,{})},dVin:function(t,e,a){"use strict";var s=a("QIy7");a.n(s).a},eSad:function(t,e,a){var s=a("Gmfg");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,a("SZ7m").default)("2bf51abc",s,!0,{})},v1DO:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".apps[data-v-5fdc7066]{position:relative;height:100%}.apps .search-icon[data-v-5fdc7066]{margin:20px 20px 0;color:#0799ff;font-size:22px;cursor:pointer;border-radius:4px;position:relative}.apps .search-icon .icon-search[data-v-5fdc7066]{right:10px;top:16px;position:absolute}.apps .search-icon input[data-v-5fdc7066]{font-size:14px;width:100%;-webkit-appearance:none;transition:opacity 0.5s ease}.apps .search-icon:hover input[data-v-5fdc7066],.apps .search-icon.visible input[data-v-5fdc7066],.apps .search-icon:active input[data-v-5fdc7066],.apps .search-icon:focus input[data-v-5fdc7066]{border-color:#0799ff}.apps .scroller[data-v-5fdc7066]{position:relative;height:calc(100vh - 288px);margin-top:10px;overflow-x:hidden;overflow-y:auto}.apps .scroller.with-search[data-v-5fdc7066]{height:calc(100vh - 290px)}.apps .scroller .padder[data-v-5fdc7066]{padding:20px;position:relative;z-index:2}.apps .scroller .featured[data-v-5fdc7066]{overflow:visible;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.apps .scroller .featured .featured-app[data-v-5fdc7066]{overflow:hidden;border-radius:4px 0 4px 4px;width:calc(33.3333% - 10px);padding-bottom:15%;position:relative;margin-bottom:20px;cursor:pointer}@media (max-width: 920px){.apps .scroller .featured .featured-app[data-v-5fdc7066]{width:calc(50% - 10px);padding-bottom:25%}}@media (max-width: 600px){.apps .scroller .featured .featured-app[data-v-5fdc7066]{width:100%;padding-bottom:50%}}.apps .scroller .featured .featured-app img[data-v-5fdc7066]{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.apps .scroller .featured .featured-app .tag[data-v-5fdc7066]{position:absolute;top:0;right:0;background:white;padding:4px;font-size:9px;text-transform:uppercase;font-weight:bold;color:#333}.apps .scroller .categories[data-v-5fdc7066]{margin-top:40px}@media (max-width: 600px){.apps .scroller .categories[data-v-5fdc7066]{margin-top:20px}}.apps .scroller .categories .category[data-v-5fdc7066]{margin:0 -20px 40px;padding:40px}@media (max-width: 600px){.apps .scroller .categories .category[data-v-5fdc7066]{margin:0 -20px 20px;padding:20px}}.apps .scroller .categories .category[data-v-5fdc7066]:nth-child(even){background:#f3f6f7}.apps .scroller .categories .category .info[data-v-5fdc7066]{display:flex;justify-content:space-between;font-size:12px;font-weight:bold;margin-bottom:15px}.apps .scroller .categories .category .info .name[data-v-5fdc7066]{font-size:16px;font-family:'Poppins', sans-serif;font-weight:bold}.apps .scroller .categories .category .info .view-all[data-v-5fdc7066]{color:#0799ff;cursor:pointer}.apps .scroller .categories .category .apps[data-v-5fdc7066]{white-space:nowrap;overflow-y:auto;padding-bottom:20px}.apps .scroller .categories .category .apps[data-v-5fdc7066]:after{content:\"\";flex:auto}.apps .scroller .categories .category .apps .app[data-v-5fdc7066]{display:inline-block;width:calc(20% - 10px);max-width:100px}@media (max-width: 920px){.apps .scroller .categories .category .apps .app[data-v-5fdc7066]{width:calc(50% - 5px);max-width:80px}}.apps .scroller .categories .category .apps .app .image[data-v-5fdc7066]{border-radius:4px;overflow:hidden;position:relative}.apps .scroller .categories .category .apps .app .image[data-v-5fdc7066]:after{content:\"\";display:block;padding-bottom:100%}.apps .scroller .categories .category .apps .app .image img[data-v-5fdc7066]{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.apps .scroller .categories .category .apps .app .name[data-v-5fdc7066]{margin-top:10px;text-align:center;font-size:10px;font-weight:bold}.apps .scroller .categories .category:not(.singular) .apps .app[data-v-5fdc7066]{margin-right:20px}@media (max-width: 920px){.apps .scroller .categories .category:not(.singular) .apps .app[data-v-5fdc7066]{margin-right:10px}}.apps .scroller .categories .category:not(.singular) .apps .app[data-v-5fdc7066]:last-child{margin-right:0}.apps .scroller .categories .category.singular .apps[data-v-5fdc7066]{white-space:normal;display:flex;flex-wrap:wrap;justify-content:space-between}.apps .scroller .categories .category.singular .apps .app[data-v-5fdc7066]{margin-bottom:50px}.apps .scroller .categories .category.singular .apps .app[data-v-5fdc7066]:last-child{margin-left:20px}.apps .scroller .linked-apps[data-v-5fdc7066]{padding:40px}@media (max-width: 600px){.apps .scroller .linked-apps[data-v-5fdc7066]{padding:20px}}.apps .scroller .linked-apps .app[data-v-5fdc7066]{display:flex;align-items:center;margin-bottom:20px}@media (max-width: 600px){.apps .scroller .linked-apps .app[data-v-5fdc7066]{padding:20px;flex-direction:column}}.apps .scroller .linked-apps .app .image[data-v-5fdc7066]{flex:0 0 auto;height:90px;width:90px;border-radius:4px;overflow:hidden;cursor:pointer}.apps .scroller .linked-apps .app .image.no-image[data-v-5fdc7066]{background:rgba(0,0,0,0.02)}.apps .scroller .linked-apps .app .image img[data-v-5fdc7066],.apps .scroller .linked-apps .app .image .dummy-image[data-v-5fdc7066]{height:90px;width:90px}.apps .scroller .linked-apps .app .image .dummy-image[data-v-5fdc7066]{background:#f3f6f7}.apps .scroller .linked-apps .app .info[data-v-5fdc7066]{flex:1;padding:0 20px;cursor:pointer;font-size:13px;font-family:'Poppins', sans-serif}.apps .scroller .linked-apps .app .info .name[data-v-5fdc7066]{font-size:12px;font-weight:bold;color:black;font-size:13px}.apps .scroller .linked-apps .app .info .category[data-v-5fdc7066]{font-size:12px;opacity:0.6;color:black}.apps .scroller .linked-apps .app .actions[data-v-5fdc7066]{flex:0 0 auto}@media (max-width: 600px){.apps .scroller .linked-apps .app .actions[data-v-5fdc7066]{margin:10px -10px 0 0}}.apps .scroller .linked-apps .app .actions button+button[data-v-5fdc7066]{margin-left:10px}\n",""])}}]); \ No newline at end of file diff --git a/dist/54.bundle.js b/dist/54.bundle.js deleted file mode 100644 index 1344b5e..0000000 --- a/dist/54.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[54],{"+2UL":function(t,e,s){"use strict";var a=s("LoHC");s.n(a).a},"9TWB":function(t,e,s){"use strict";var a=s("Dwlt");s.n(a).a},Dwlt:function(t,e,s){var a=s("b2Rl");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s("SZ7m").default)("11c59d51",a,!0,{})},Eiaj:function(t,e,s){var a=s("H4hv");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s("SZ7m").default)("28287bda",a,!0,{})},H4hv:function(t,e,s){(t.exports=s("JPst")(!1)).push([t.i,".login[data-v-7050f1f8]{display:flex;justify-content:center;align-items:center;height:calc(100vh - 0px);position:relative}.login .login-bg[data-v-7050f1f8]{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden;display:flex;align-items:center;justify-content:center;animation:fadein 0.5s ease forwards}.login .login-bg img[data-v-7050f1f8]{display:block;width:1920px;height:100%}.login .meteors[data-v-7050f1f8]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;justify-content:center;align-items:center;overflow:hidden}.login .meteors .rotator[data-v-7050f1f8]{position:absolute;top:0;bottom:0;left:0;right:0;transform:rotateZ(145deg)}.login .entry[data-v-7050f1f8]{display:flex;flex-direction:column;justify-content:center;align-items:center;height:calc(100vh - 0px);width:100%;position:relative;z-index:1;overflow:hidden;opacity:1;transition:all 0.5s ease;transition-property:opacity;transition-delay:0.5s}.login .entry .head[data-v-7050f1f8]{display:flex;align-items:flex-end;flex:1}.login .entry .head .details[data-v-7050f1f8]{text-align:center}.login .entry .head .details .logo[data-v-7050f1f8]{font-size:82px;line-height:82px;font-family:'Grand Hotel', sans-serif;text-shadow:0 0 90px rgba(255,255,255,0.6),0 1px 2px rgba(0,0,0,0.2),0 3px 7px rgba(0,0,0,0.2);color:#fff;transform:translateY(-1000px);animation:inFromTop 0.8s ease forwards;animation-delay:0.4s}.login .entry .head .details .version[data-v-7050f1f8]{font-size:11px;font-weight:bold;color:#fff;text-transform:uppercase;margin-top:4px;letter-spacing:20px;margin-right:-20px;opacity:0.9;text-shadow:0 0 2px #333;transform:translateY(-1000px);animation:inFromTop 0.5s ease forwards;animation-delay:0.2s}.login .entry .body[data-v-7050f1f8]{padding:50px 0;opacity:0;animation:fadein 0.5s ease forwards;animation-delay:0.2s}.login .entry .tail[data-v-7050f1f8]{display:flex;align-items:flex-start;flex:1;animation:inFromBottom 0.6s ease forwards;animation-delay:0.6s;transform:translateY(1000px)}.login .entry.success[data-v-7050f1f8]{opacity:0}.login .entry .terms[data-v-7050f1f8]{max-width:500px;margin:0 auto;font-size:10px}.login .entry .terms u[data-v-7050f1f8]{color:#fff;text-decoration:underline}.login .entry .actions[data-v-7050f1f8]{margin:0 auto;display:flex;justify-content:space-between}.login .entry .actions .action[data-v-7050f1f8]{cursor:pointer;padding:0 40px;text-align:center;transition:all 0.1s ease;transition-property:transform}.login .entry .actions .action svg[data-v-7050f1f8]{fill:#fff;stroke:#fff}.login .entry .actions .action .text[data-v-7050f1f8]{font-size:12px;font-weight:bold;color:#fff}.login .entry .actions .action[data-v-7050f1f8]:hover{transform:scale(1.1);background:rgba(0,0,0,0.08)}.login .welcome-password[data-v-7050f1f8]{max-width:450px;width:calc(100% - 40px);margin:0 20px}.onboard[data-v-7050f1f8]{width:100%;height:calc(100vh - 0px)}.onboard .panel[data-v-7050f1f8]{display:flex;flex-direction:column;justify-content:center;height:calc(100vh - 40px - 250px)}\n",""])},LoHC:function(t,e,s){var a=s("WgM2");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s("SZ7m").default)("2ff5d538",a,!0,{})},WgM2:function(t,e,s){(t.exports=s("JPst")(!1)).push([t.i,".progress-bubbles[data-v-47e790ea]{width:100%;padding:60px 0;position:relative;display:flex;align-items:center;flex-direction:column}.progress-bubbles[data-v-47e790ea]:before{content:'';display:block;width:100%;background:#dfe0e1;height:1px;position:relative;z-index:0}.progress-bubbles .bubbles[data-v-47e790ea]{display:flex;margin-top:-8px;position:relative}.progress-bubbles .bubbles .bubble[data-v-47e790ea]{width:16px;height:16px;border-radius:50%;margin:0 10px;border:1px solid #dfe0e1;background:#fff;transition:all 0.2s ease;transition-property:border, background}.progress-bubbles .bubbles .bubble.active[data-v-47e790ea]{background:#0799ff;border:1px solid #0799ff;animation:popBubble-data-v-47e790ea 0.2s ease-out}.progress-bubbles .bubbles .bubble[data-v-47e790ea]:first-child{margin-left:0}.progress-bubbles .bubbles .bubble[data-v-47e790ea]:last-child{margin-right:0}@keyframes popBubble-data-v-47e790ea{0%{transform:scale(1)}10%{transform:scale(1.5)}100%{transform:scale(1)}}.progress-bubbles .bubbles .grower[data-v-47e790ea]{height:16px;line-height:15px;background:#0799ff;border:1px solid #0799ff;position:absolute;z-index:1;transition:all 0.2s ease-out;transition-property:width, background, border;text-align:center;color:#fff;font-size:13px}.progress-bubbles .bubbles.done .bubble[data-v-47e790ea]{background:#1CCA02;border:1px solid #1CCA02}.progress-bubbles .bubbles.done .grower[data-v-47e790ea]{background:#1CCA02;border:1px solid #1CCA02}\n",""])},b2Rl:function(t,e,s){(t.exports=s("JPst")(!1)).push([t.i,".password-strength[data-v-a2f9220c]{width:100%;height:14px;line-height:14px;margin-top:-4px;overflow:hidden;background:#ffffff;position:relative;border:1px solid rgba(0,0,0,0.1);padding:4px}.password-strength .bar[data-v-a2f9220c]{background:#0799ff;height:4px;transition:all 0.5s ease;transition-property:width, background}.password-strength .bar.red[data-v-a2f9220c]{background:#ff0707}.password-strength .bar.green[data-v-a2f9220c]{background:#1CCA02}\n",""])},jOga:function(t,e,s){"use strict";var a=s("Eiaj");s.n(a).a},pVsz:function(t,e,s){"use strict";s.r(e);var a=s("L2JU"),r=s("qjwK"),o=s("mj45"),i={props:["total","index"]},n=(s("+2UL"),s("KHd+")),l=Object(n.a)(i,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("section",{staticClass:"progress-bubbles"},[s("section",{staticClass:"bubbles",class:{done:t.index===t.total}},[t._l(Array(parseInt(t.total)).keys(),(function(e){return s("figure",{staticClass:"bubble",class:{active:e({password:"",confirmation:""}),computed:{passwordStrength(){const t=(t,e,s)=>(se&&(s=e),s);let e=0;return this.password.length>=8&&(e+=t(0,4,this.password.length-7)),u.a.uppercaseCount(this.password)>=2&&(e+=t(0,4,u.a.uppercaseCount(this.password)-1)),u.a.lowercaseCount(this.password)>=2&&(e+=t(0,4,u.a.lowercaseCount(this.password)-1)),u.a.specialCharCount(this.password)>=2&&(e+=t(0,4,u.a.specialCharCount(this.password)-1)),e/8/2*100}},methods:{async checkPassword(){const t=u.a.hasError(this.password);return t?b.a.push(C.a.snackbar(t)):this.password!==this.confirmation?b.a.push(C.a.snackbar(this.$t("errors.passwordConfirmation"))):(await new Promise(t=>setTimeout(()=>t(!0),1e3)),this.setWorkingScreen(!0),await this[g.a](this.password),this.setWorkingScreen(!1),void this.$emit("next"))},...Object(a.b)([g.a])}},v=(s("9TWB"),Object(n.a)(w,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("section",{staticClass:"center-panel"},[s("Lock"),t._v(" "),s("br"),t._v(" "),s("br"),t._v(" "),s("h2",[t._v(t._s(t.$t("setPassword.title")))]),t._v(" "),s("p",[t._v(t._s(t.$t("setPassword.description")))]),t._v(" "),s("br"),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"center",attrs:{type:"password",placeholder:t.$t("setPassword.choosePass")},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}}),t._v(" "),s("section",{staticClass:"password-strength"},[s("figure",{staticClass:"bar",class:{red:t.passwordStrength<50,green:t.passwordStrength<100&&t.passwordStrength>=50},style:{width:t.passwordStrength+"%"}})]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.confirmation,expression:"confirmation"}],staticClass:"center",attrs:{type:"password",placeholder:t.$t("setPassword.confirmPass")},domProps:{value:t.confirmation},on:{input:function(e){e.target.composing||(t.confirmation=e.target.value)}}}),t._v(" "),s("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.back"),click:function(){return t.$emit("back")}}],"buttons-right":[{text:t.$t("generic.next"),blue:!0,click:t.checkPassword}]}})],1)}),[],!1,null,"a2f9220c",null).exports),m=s("HLB/"),x={components:{ScatterOutline:s("wg2a").a},computed:{...Object(a.d)(["scatter"])},methods:{async go(){const t=this.scatter.clone();t.onboarded=!0,await this[r.SET_SCATTER](t),this.$router.push({name:m.a.HOME})},...Object(a.b)([r.SET_SCATTER])}},_=Object(n.a)(x,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("section",{staticClass:"center-panel"},[s("ScatterOutline"),t._v(" "),s("br"),t._v(" "),s("br"),t._v(" "),s("h2",[t._v(t._s(t.$t("welcome.title")))]),t._v(" "),s("p",[t._v(t._s(t.$t("welcome.description")))]),t._v(" "),s("br"),t._v(" "),s("Button",{attrs:{big:"1",blue:"1",text:t.$t("welcome.button")},nativeOn:{click:function(e){return t.go(e)}}})],1)}),[],!1,null,null,null).exports,y=Object(n.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:"44px",height:"44px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e("g",{attrs:{id:"reset",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[e("g",{attrs:{id:"Group",transform:"translate(5.000000, 3.000000)",stroke:"#fff"}},[e("circle",{attrs:{fill:"#FFFFFF",id:"Oval",cx:"7",cy:"8",r:"1.5"}}),this._v(" "),e("circle",{attrs:{fill:"#FFFFFF",id:"Oval-Copy-2",cx:"16",cy:"8",r:"1.5"}}),this._v(" "),e("g",{attrs:{id:"iconfinder_20_1490199"}},[e("path",{attrs:{d:"M20.9585751,7.47332794 C20.7349456,5.57724745 19.9031833,3.92358821 18.4366419,2.58137944 C16.1849069,0.520798822 13.4577725,-0.242032523 10.3770146,0.0656739855 C6.70904241,0.431879831 4.0235459,2.14965434 2.63564838,5.39730349 C1.65969734,7.68088358 1.67688045,9.9270241 3.61508585,11.8619481 C4.53201664,12.7773926 5.69000907,13.3241508 6.9284384,13.7561567 C7.12467454,13.8245307 7.34407052,14.080477 7.37669353,14.2756308 C7.57815931,15.4814659 8.5812547,16.1064728 9.84657933,15.7870196 C10.0301149,15.7405009 10.266445,15.7178032 10.429311,15.7868324 C11.0775377,16.0614985 11.7026046,16.0819031 12.3451037,15.7826205 C12.46165,15.7283331 12.6269565,15.7199092 12.7570003,15.7460701 C14.3209127,16.0614985 15.1581537,15.5027596 15.3548879,13.974991 C15.7249474,13.8581795 16.1113931,13.7458608 16.4904675,13.6150563 C19.6257632,12.5300106 21.289238,10.2798921 20.9585751,7.47332794 Z",id:"Shape","stroke-linecap":"round","stroke-linejoin":"round"}}),this._v(" "),e("path",{attrs:{d:"M4.3367309,19.9345679 C3.6791514,19.6710249 3.12726505,19.6503425 2.45257046,19.9608649 C1.22899217,20.5234718 0.344112355,20.1986265 0.0723728808,19.2275851 C-0.190358655,18.2882836 0.250730061,17.7600518 1.58450547,17.4908369 C1.45839433,17.2934661 1.33738769,17.1197569 1.23289561,16.9373966 C0.873478866,16.3099924 0.987279155,15.6849372 1.52775546,15.2807425 C2.04060741,14.8975166 2.92248458,14.8932197 3.37738547,15.3509251 C3.66924267,15.6452339 3.93978109,16.0224441 4.04547423,16.4060137 C4.20281289,16.9772718 4.53040158,17.2439086 5.09670064,17.4301074 C7.06943914,18.0786523 18.2018097,21.9767968 19.4479078,22.3915906 C19.6007425,22.4422939 19.8283431,22.3302882 20.0067003,22.2601055 C20.3859345,22.1106308 20.7417481,21.8912026 21.132092,21.7865302 C22.0244184,21.5473936 22.7006744,21.9223695 22.930617,22.7272641 C23.1666851,23.5551901 22.7988609,24.1149325 21.8500247,24.365814 C21.7272165,24.3984704 21.6005048,24.4177205 21.4416048,24.4498613 C21.5611101,24.6351435 21.6749705,24.7952745 21.7722562,24.9645722 C22.1707073,25.6580913 22.030784,26.291683 21.3911604,26.7142111 C20.7248732,27.1548436 19.9649034,27.0849474 19.4436441,26.5114549 C19.2769972,26.3284071 19.0866295,26.1139061 19.0427908,25.8895508 C18.8737418,25.0275933 18.2170631,24.7657691 17.45319,24.517122 C15.672861,23.9384733 5.3116901,20.3249552 4.3367309,19.9345679 Z",id:"Path","stroke-linecap":"round","stroke-linejoin":"round"}}),this._v(" "),e("path",{attrs:{d:"M1.60169135,24.4905621 C0.328249367,24.2171072 -0.0965314926,23.7969077 0.0178441311,22.9758521 C0.162539802,21.936781 1.15739759,21.3581504 2.22430301,21.9390262 C3.23116874,22.487145 4.0326987,22.2942298 4.95160627,21.9183588 C5.70780626,21.6094986 16.0583499,18.0065718 18.0903935,17.2963949 C18.5103111,17.1498807 18.744526,16.9449334 18.8828574,16.505736 C19.1086667,15.7915293 19.4466902,15.092924 20.3899139,15.0103694 C20.9686966,14.9596507 21.5639902,15.0845764 21.7630218,15.6174393 C21.916123,16.0272763 21.7864372,16.5437319 21.7360039,17.0083174 C21.7206938,17.1528167 21.5534832,17.2820026 21.4466126,17.4314529 C22.8350306,17.8804371 23.1931674,18.3496282 22.9100802,19.2900828 C22.705645,19.9685388 22.1947072,20.2975483 21.4529167,20.2267379 C21.4018229,20.2217869 21.3415431,20.2261622 21.3013165,20.2016376 C19.692853,19.2229568 6.95753256,24.0815887 5.01284676,24.7347717 C4.53282938,24.8956784 4.25754737,25.1325767 4.09724138,25.6090215 C3.87269291,26.277921 3.51905909,26.9894795 2.6830063,26.9998996 C2.21349587,27.0058868 1.58367944,26.7434277 1.3135008,26.3962263 C1.0766442,26.091396 1.20963213,25.4981427 1.24355456,25.0367235 C1.25586269,24.8662604 1.4521925,24.7084625 1.60169135,24.4905621 Z",id:"Path-Copy","stroke-linecap":"round","stroke-linejoin":"round"}}),this._v(" "),e("path",{attrs:{d:"M11.5,15 L11.5,13",id:"Path-2"}}),this._v(" "),e("path",{attrs:{d:"M9.5,15 L9.5,13",id:"Path-2-Copy-2"}}),this._v(" "),e("path",{attrs:{d:"M13.5,15 L13.5,13",id:"Path-2-Copy"}})])])])])}),[],!1,null,null,null).exports,k=Object(n.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:"44px",height:"44px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e("g",{attrs:{id:"restore",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[e("g",{attrs:{id:"Group-9",transform:"translate(1.000000, 4.000000)",stroke:"#fff"}},[e("polygon",{attrs:{fill:"#fff",id:"Path-4","stroke-linecap":"round","stroke-linejoin":"round",transform:"translate(4.905132, 11.108477) rotate(-45.000000) translate(-4.905132, -11.108477) ",points:"2 14.0136083 7.81026336 14.0136083 2 8.20334494"}}),this._v(" "),e("circle",{attrs:{fill:"#fff",id:"Oval",cx:"17",cy:"12",r:"1.5"}}),this._v(" "),e("path",{attrs:{d:"M9.2896073,21.1954643 C11.3749485,22.9458633 14.0643708,24 17,24 L17,24 C23.627417,24 29,18.627417 29,12 C29,5.372583 23.627417,0 17,0 C10.372583,0 5,5.372583 5,12",id:"Path","stroke-linecap":"round","stroke-linejoin":"round"}})])])])}),[],!1,null,null,null).exports,S=Object(n.a)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("svg",{attrs:{width:"44px",height:"44px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[s("g",{attrs:{id:"support",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"}},[s("g",{attrs:{id:"Group-11",transform:"translate(4.000000, 4.000000)",stroke:"#fff"}},[s("circle",{attrs:{id:"Oval",cx:"12",cy:"12",r:"12"}}),t._v(" "),s("circle",{attrs:{id:"Oval-Copy",cx:"12",cy:"12",r:"5"}}),t._v(" "),s("g",{attrs:{id:"Group-8",opacity:"0.5"}},[s("path",{attrs:{d:"M10,7 L10,0",id:"Path-12"}}),t._v(" "),s("path",{attrs:{d:"M14,7 L14,0",id:"Path-12-Copy"}}),t._v(" "),s("path",{attrs:{d:"M10,24 L10,17",id:"Path-12-Copy-3"}}),t._v(" "),s("path",{attrs:{d:"M14,24 L14,17",id:"Path-12-Copy-2"}}),t._v(" "),s("path",{attrs:{d:"M20.5,13.5 L20.5,6.5",id:"Path-12",transform:"translate(20.500000, 10.000000) rotate(90.000000) translate(-20.500000, -10.000000) "}}),t._v(" "),s("path",{attrs:{d:"M20.5,17.5 L20.5,10.5",id:"Path-12-Copy",transform:"translate(20.500000, 14.000000) rotate(90.000000) translate(-20.500000, -14.000000) "}}),t._v(" "),s("path",{attrs:{d:"M3.5,13.5 L3.5,6.5",id:"Path-12-Copy-3",transform:"translate(3.500000, 10.000000) rotate(90.000000) translate(-3.500000, -10.000000) "}}),t._v(" "),s("path",{attrs:{d:"M3.5,17.5 L3.5,10.5",id:"Path-12-Copy-2",transform:"translate(3.500000, 14.000000) rotate(90.000000) translate(-3.500000, -14.000000) "}})])])])])}),[],!1,null,null,null).exports,E=(s("MIPw"),s("sDjF"));const O={NEW_OR_LOGIN:"newOrLogin",CREATE_NEW:"createNew",IMPORT_KEYS:"importKeys",IMPORT_BACKUP:"importBackup"};var P={components:{Welcome:_,ActionBar:c.a,ProgressBubbles:l,LoginButton:p.a,SetPassword:v,Terms:d.a,Reset:y,Restore:k,Support:S,QrcodeStream:o.QrcodeStream},data:()=>({state:O.NEW_OR_LOGIN,STATES:O,step:1,password:"",opening:!1,isNewScatter:!0,focusing:!0}),async created(){this.isNewScatter=!await window.wallet.exists()},computed:{...Object(a.d)(["scatter"]),steps(){switch(this.state){case O.CREATE_NEW:return 3;case O.IMPORT_KEYS:return 4;case O.IMPORT_BACKUP:return 3}},lockedTimeLeft(){return(this.lockedOutTime-this.now)/1e3}},methods:{stepBack(){1!==this.step?this.step--:this.state=O.NEW_OR_LOGIN},stepForward(){this.step++},goToSupport(){this.openInBrowser("https://support.get-scatter.com/")},importBackup(){b.a.push(C.a.importFullBackup({},t=>{}))},importKeypair(){this.stepForward(),b.a.push(C.a.importKeypair({forSignup:!0},t=>{this.stepForward()}))},async unlock(){if(this.opening)return;this.opening=!0,await(async()=>{let t;try{t=await window.wallet.biometrics.available()}catch(t){return!0}if(t&&t.toString().indexOf("error")>-1)return this.opening=!1,b.a.push(C.a.snackbar(JSON.parse(t).error));{b.a.push(C.a.snackbar(`Scan your ${t}`));const e=await window.wallet.biometrics.authorize();return e&&"object"==typeof e&&e.hasOwnProperty("error")?(this.opening=!1,b.a.push(C.a.snackbar(e.error)),!1):!0===e||(this.opening=!1,b.a.push(C.a.snackbar("Biometric error!")),!1)}})()&&(await window.wallet.unlock(this.password)?(await this[r.LOAD_SCATTER](),this.$router.push({name:m.a.HOME}),E.a.init()):(this.focusing=!1,this.$nextTick(()=>{this.focusing=!0,this.$forceUpdate()}),b.a.push(C.a.snackbar(this.$t("errors.badPassword")))),this.opening=!1)},destroy(){b.a.push(C.a.destroyScatter())},...Object(a.b)([g.u,r.LOAD_SCATTER,r.SET_SCATTER])}},T=(s("jOga"),Object(n.a)(P,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("section",{staticClass:"login"},[t.state===t.STATES.NEW_OR_LOGIN?s("section",{staticClass:"entry"},[t._m(0),t._v(" "),t._m(1),t._v(" "),s("section",{staticClass:"body"},[t.isNewScatter?s("section",[s("LoginButton",{attrs:{primary:"1",title:t.$t("login.registerButtonTitle"),description:t.$t("login.registerButtonSubtitle")},nativeOn:{click:function(e){t.state=t.STATES.CREATE_NEW}}})],1):t._e(),t._v(" "),t.isNewScatter?t._e():s("section",[s("Input",{staticClass:"welcome-password",attrs:{focus:t.focusing,big:"1","for-login":"1",placeholder:t.$t("login.passwordPlaceholder"),type:"password",disabled:t.opening,"loader-on-dynamic":t.opening,text:t.password,"dynamic-button":"icon-right-open-big","hide-dynamic-button":!t.password.length},on:{enter:t.unlock,dynamic:t.unlock,changed:function(e){return t.password=e}}})],1)]),t._v(" "),s("section",{staticClass:"tail"},[s("section",{staticClass:"actions"},[t.isNewScatter?t._e():s("section",{staticClass:"action",on:{click:t.destroy}},[s("Reset",{staticClass:"logo"}),t._v(" "),s("figure",{staticClass:"text"},[t._v(t._s(t.$t("login.reset")))])],1),t._v(" "),t.isNewScatter?s("section",{staticClass:"action",on:{click:t.importBackup}},[s("Restore",{staticClass:"logo"}),t._v(" "),s("figure",{staticClass:"text"},[t._v(t._s(t.$t("login.restore")))])],1):t._e(),t._v(" "),s("section",{staticClass:"action",on:{click:t.goToSupport}},[s("Support",{staticClass:"logo"}),t._v(" "),s("figure",{staticClass:"text"},[t._v(t._s(t.$t("login.support")))])],1)])])]):t._e(),t._v(" "),t.state===t.STATES.CREATE_NEW?s("section",{staticClass:"onboard"},[s("ProgressBubbles",{attrs:{total:t.steps,index:t.step}}),t._v(" "),s("section",{staticClass:"panel"},[1===t.step?s("Terms",{on:{back:t.stepBack,next:t.stepForward}}):t._e(),t._v(" "),2===t.step?s("SetPassword",{on:{back:t.stepBack,next:t.stepForward}}):t._e(),t._v(" "),3===t.step?s("Welcome"):t._e()],1)],1):t._e(),t._v(" "),t.state===t.STATES.IMPORT_KEYS?s("section",{staticClass:"onboard"},[s("ProgressBubbles",{attrs:{total:t.steps,index:t.step}}),t._v(" "),s("section",{staticClass:"panel"},[1===t.step?s("Terms",{on:{back:t.stepBack,next:t.stepForward}}):t._e(),t._v(" "),2===t.step?s("SetPassword",{on:{back:t.stepBack,next:t.importKeypair}}):t._e(),t._v(" "),4===t.step?s("Welcome"):t._e()],1)],1):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("figure",{staticClass:"login-bg"},[e("img",{attrs:{src:"static/assets/login_bg.jpg"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"head"},[e("section",{staticClass:"details"},[e("figure",{staticClass:"logo scatter-logologo"}),this._v(" "),e("figure",{staticClass:"version"},[this._v("nebula")])])])}],!1,null,"7050f1f8",null));e.default=T.exports},wg2a:function(t,e,s){"use strict";var a=s("KHd+"),r=Object(a.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:"88px",height:"88px",viewBox:"0 0 88 88",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e("g",{attrs:{id:"welcome_scatter",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"}},[e("g",{attrs:{id:"Group",stroke:"#00A8FF"}},[e("g",{attrs:{id:"Icon"}},[e("circle",{attrs:{id:"Base",cx:"44",cy:"44",r:"43.7079646"}})]),this._v(" "),e("path",{attrs:{d:"M40.8188559,71.5932203 C39.3040178,71.5932203 38.0455559,71.423153 37.0434322,71.0830131 C36.0413085,70.7428732 35.2489436,70.3616877 34.6663136,69.9394451 C34.0836835,69.5172025 33.6758486,69.1125594 33.4427966,68.7255037 C33.2097446,68.338448 33.0932203,68.0862791 33.0932203,67.9689895 C33.0932203,67.5467469 33.1864397,67.0951887 33.3728814,66.6143013 C33.559323,66.1334139 33.7923715,65.68772 34.0720339,65.2772064 C34.3516963,64.8666928 34.6546594,64.5206936 34.9809322,64.2391985 C35.307205,63.9577035 35.5985157,63.816958 35.8548729,63.816958 C36.1811457,63.816958 36.4491515,64.0280762 36.6588983,64.4503188 L37.0084746,64.8021858 C37.1949162,64.9898492 37.4570958,65.1833742 37.7950212,65.3827665 C38.1329466,65.5821588 38.5524339,65.763955 39.0534958,65.9281605 C39.5545576,66.0923659 40.1430051,66.1744674 40.8188559,66.1744674 C42.2870836,66.1744674 43.4872835,65.7229092 44.4194915,64.8197792 C45.3516996,63.9166492 45.8177966,62.6909911 45.8177966,61.1427683 C45.8177966,60.0637039 45.5672695,59.1019435 45.0662076,58.2574583 C44.5651458,57.4129731 43.9067837,56.6271445 43.0911017,55.8999489 C42.2754197,55.1727533 41.3432256,54.4631618 40.2944915,53.7711531 C39.2457575,53.0791444 38.1737343,52.3578241 37.0783898,51.6071706 C35.9830454,50.8565171 34.9110222,50.0472309 33.8622881,49.1792878 C32.8135541,48.3113447 31.88136,47.314398 31.065678,46.1884177 C30.2499959,45.0624374 29.5916339,43.7898643 29.090572,42.37066 C28.5895102,40.9514557 28.3389831,39.3270189 28.3389831,37.497301 C28.3389831,35.9256202 28.6069888,34.3422342 29.1430085,32.7470955 C29.6790281,31.1519568 30.4189571,29.6330792 31.3628178,28.190417 C32.3066784,26.7477547 33.4194851,25.3989445 34.7012712,24.1439456 C35.9830573,22.8889468 37.3696959,21.7981698 38.8612288,20.8715818 C40.3527617,19.9449939 41.9083605,19.2178092 43.528072,18.690006 C45.1477835,18.1622028 46.7732969,17.8983051 48.404661,17.8983051 C49.8029731,17.8983051 51.0614351,18.121152 52.1800847,18.5668525 C53.2987344,19.012553 54.2425809,19.640043 55.0116525,20.4493414 C55.7807242,21.2586397 56.3749979,22.2321288 56.7944915,23.3698381 C57.2139851,24.5075473 57.4237288,25.7801205 57.4237288,27.1875958 C57.4237288,28.5246974 57.1906803,29.8383213 56.7245763,31.128507 C56.2584722,32.4186927 55.6408937,33.6384864 54.871822,34.7879246 C54.1027504,35.9373627 53.2346447,36.9988178 52.2674788,37.9723216 C51.300313,38.9458253 50.3098568,39.7902979 49.2960805,40.5057645 C48.2823043,41.2212311 47.2976743,41.7783484 46.342161,42.1771331 C45.3866478,42.5759178 44.5476731,42.7753071 43.8252119,42.7753071 C43.1959714,42.7753071 42.6308288,42.6286973 42.1297669,42.3354733 C41.6287051,42.0422492 41.2092178,41.6786569 40.8712924,41.2446853 C40.533367,40.8107138 40.2711874,40.3532912 40.0847458,39.8724038 C39.8983042,39.3915164 39.8050847,38.9634157 39.8050847,38.5880889 C39.8050847,38.283136 39.8458682,38.0837466 39.9274364,37.9899149 C40.0090046,37.8960832 40.1255289,37.8550325 40.2770127,37.8667614 C40.4284965,37.8784904 40.6207615,37.9136768 40.8538136,37.9723216 C41.0868656,38.0309664 41.3548714,38.0602883 41.657839,38.0602883 C42.6366574,38.0602883 43.720333,37.7201536 44.9088983,37.0398738 C46.0974636,36.3595941 47.2160965,35.491664 48.2648305,34.4360575 C49.3135646,33.380451 50.1933227,32.2193013 50.9041314,30.9525735 C51.61494,29.6858457 51.970339,28.4543232 51.970339,27.2579692 C51.970339,26.0381573 51.6732021,25.0763969 51.0789195,24.3726592 C50.4846369,23.6689216 49.476702,23.317058 48.0550847,23.317058 C47.1694871,23.317058 46.208162,23.4871254 45.1710805,23.8272653 C44.1339991,24.1674051 43.0911069,24.6424209 42.0423729,25.2523269 C40.9936388,25.8622329 39.9798778,26.6011463 39.0010593,27.4690895 C38.0222409,28.3370326 37.1599614,29.2929286 36.4141949,30.3368061 C35.6684285,31.3806836 35.0683285,32.506647 34.6138771,33.71473 C34.1594257,34.922813 33.9322034,36.1836574 33.9322034,37.497301 C33.9322034,38.8813184 34.1827305,40.1187053 34.6837924,41.2094986 C35.1848542,42.300292 35.8490425,43.2913744 36.6763771,44.1827754 C37.5037118,45.0741764 38.441732,45.8951914 39.4904661,46.6458449 C40.5392002,47.3964984 41.6112233,48.1412763 42.7065678,48.8802008 C43.8019123,49.6191254 44.8739354,50.3814964 45.9226695,51.1673368 C46.9714035,51.9531772 47.9094238,52.8211073 48.7367585,53.7711531 C49.5640931,54.721199 50.2282814,55.7767896 50.7293432,56.9379568 C51.230405,58.0991239 51.4809322,59.430341 51.4809322,60.931648 C51.4809322,62.3860392 51.2071002,63.7641715 50.659428,65.0660861 C50.1117557,66.3680008 49.3601743,67.4998286 48.404661,68.4616034 C47.4491478,69.4233782 46.3188625,70.1857492 45.0137712,70.7487394 C43.7086799,71.3117295 42.3103888,71.5932203 40.8188559,71.5932203 Z",id:"Scatter"}})])])])}),[],!1,null,null,null);e.a=r.exports}}]); \ No newline at end of file diff --git a/dist/55.bundle.js b/dist/55.bundle.js deleted file mode 100644 index 91ea7b3..0000000 --- a/dist/55.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[55],{HqHB:function(t,a,e){(t.exports=e("JPst")(!1)).push([t.i,".app-details[data-v-db39205e]{padding:50px}.main-panel[data-v-db39205e]{text-align:center}.fixed-actions .actions[data-v-db39205e]{display:flex;justify-content:space-between}\n",""])},IeaP:function(t,a,e){"use strict";var n=e("L2JU"),i={components:{Scatter:e("wg2a").a},props:["app","suffix"],computed:{...Object(n.d)(["appReputation"]),...Object(n.c)(["ridlEnabled"]),unknownReputation(){return void 0===this.appReputation},trusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)>0},untrusted(){return this.appReputation&&parseFloat(this.appReputation.decimal)<0}}},s=(e("tL4a"),e("KHd+")),p=Object(s.a)(i,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("section",{staticClass:"app-details"},[t.untrusted?e("figure",{staticClass:"logo scam"},[e("i",{staticClass:"icon-attention"})]):e("figure",{staticClass:"logo",class:{border:"Scatter"!==t.app.applink&&!t.app.img}},["Scatter"===t.app.applink?e("Scatter"):t.app.img?e("img",{attrs:{src:t.app.img}}):e("span",[t._v(t._s(t.$t("popouts.popoutApp.noImage")))])],1),t._v(" "),t.ridlEnabled&&"Scatter"!==t.app.applink?e("section",[!1===t.appReputation?e("figure",{staticClass:"reputation"},[e("i",{staticClass:"icon-spin4 animate-spin"}),t._v(" loading reputation")]):e("section",[t.unknownReputation?e("figure",{staticClass:"reputation"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.unknown")))]):t._e(),t._v(" "),t.trusted?e("figure",{staticClass:"reputation trusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.trusty")))]):t._e(),t._v(" "),t.untrusted?e("figure",{staticClass:"reputation untrusted"},[t._v(t._s(t.$t("popouts.popoutApp.reputation.scam")))]):t._e()])]):t._e(),t._v(" "),e("figure",{staticClass:"name"},[e("b",[t._v(t._s(t.app.name))]),t._v(" "),t.suffix?e("span",[t._v(t._s(t.suffix))]):t._e()])])}),[],!1,null,"3c121449",null);a.a=p.exports},J8XJ:function(t,a,e){var n=e("y5zb");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,e("SZ7m").default)("1a4d8aa0",n,!0,{})},"M/P+":function(t,a,e){"use strict";e.r(a);var n=e("L2JU"),i=(e("qjwK"),e("zAsq")),s=e.n(i),p={components:{PopOutApp:e("IeaP").a},data:()=>({}),computed:{...Object(n.d)(["state"]),...Object(n.c)(["identities","accounts"]),payload(){return this.popup.payload()},app(){return s.a.fromJson(this.payload)}},mounted(){},methods:{returnResult(t){this.$emit("returned",t)}},props:["popup"]},o=(e("oVmc"),e("KHd+")),r=Object(o.a)(p,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("section",{staticClass:"popout-window"},[e("PopOutApp",{attrs:{app:t.popup.data.props.appData,suffix:t.$t("popouts.linkApp.suffix")}}),t._v(" "),e("section",{staticClass:"fixed-actions"},[t._v("\n "+t._s(t.$t("popouts.linkApp.description"))+"\n "),e("br"),t._v(" "),e("br"),t._v(" "),e("section",{staticClass:"actions"},[e("Button",{attrs:{text:t.$t("generic.deny"),big:"1"},nativeOn:{click:function(a){return t.returnResult(!1)}}}),t._v(" "),e("Button",{attrs:{blue:"1",big:"1",text:t.$t("generic.allow")},nativeOn:{click:function(a){return t.returnResult(!0)}}})],1)])],1)}),[],!1,null,"db39205e",null);a.default=r.exports},oVmc:function(t,a,e){"use strict";var n=e("wu70");e.n(n).a},tL4a:function(t,a,e){"use strict";var n=e("J8XJ");e.n(n).a},wg2a:function(t,a,e){"use strict";var n=e("KHd+"),i=Object(n.a)({},(function(){var t=this.$createElement,a=this._self._c||t;return a("svg",{attrs:{width:"88px",height:"88px",viewBox:"0 0 88 88",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[a("g",{attrs:{id:"welcome_scatter",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"}},[a("g",{attrs:{id:"Group",stroke:"#00A8FF"}},[a("g",{attrs:{id:"Icon"}},[a("circle",{attrs:{id:"Base",cx:"44",cy:"44",r:"43.7079646"}})]),this._v(" "),a("path",{attrs:{d:"M40.8188559,71.5932203 C39.3040178,71.5932203 38.0455559,71.423153 37.0434322,71.0830131 C36.0413085,70.7428732 35.2489436,70.3616877 34.6663136,69.9394451 C34.0836835,69.5172025 33.6758486,69.1125594 33.4427966,68.7255037 C33.2097446,68.338448 33.0932203,68.0862791 33.0932203,67.9689895 C33.0932203,67.5467469 33.1864397,67.0951887 33.3728814,66.6143013 C33.559323,66.1334139 33.7923715,65.68772 34.0720339,65.2772064 C34.3516963,64.8666928 34.6546594,64.5206936 34.9809322,64.2391985 C35.307205,63.9577035 35.5985157,63.816958 35.8548729,63.816958 C36.1811457,63.816958 36.4491515,64.0280762 36.6588983,64.4503188 L37.0084746,64.8021858 C37.1949162,64.9898492 37.4570958,65.1833742 37.7950212,65.3827665 C38.1329466,65.5821588 38.5524339,65.763955 39.0534958,65.9281605 C39.5545576,66.0923659 40.1430051,66.1744674 40.8188559,66.1744674 C42.2870836,66.1744674 43.4872835,65.7229092 44.4194915,64.8197792 C45.3516996,63.9166492 45.8177966,62.6909911 45.8177966,61.1427683 C45.8177966,60.0637039 45.5672695,59.1019435 45.0662076,58.2574583 C44.5651458,57.4129731 43.9067837,56.6271445 43.0911017,55.8999489 C42.2754197,55.1727533 41.3432256,54.4631618 40.2944915,53.7711531 C39.2457575,53.0791444 38.1737343,52.3578241 37.0783898,51.6071706 C35.9830454,50.8565171 34.9110222,50.0472309 33.8622881,49.1792878 C32.8135541,48.3113447 31.88136,47.314398 31.065678,46.1884177 C30.2499959,45.0624374 29.5916339,43.7898643 29.090572,42.37066 C28.5895102,40.9514557 28.3389831,39.3270189 28.3389831,37.497301 C28.3389831,35.9256202 28.6069888,34.3422342 29.1430085,32.7470955 C29.6790281,31.1519568 30.4189571,29.6330792 31.3628178,28.190417 C32.3066784,26.7477547 33.4194851,25.3989445 34.7012712,24.1439456 C35.9830573,22.8889468 37.3696959,21.7981698 38.8612288,20.8715818 C40.3527617,19.9449939 41.9083605,19.2178092 43.528072,18.690006 C45.1477835,18.1622028 46.7732969,17.8983051 48.404661,17.8983051 C49.8029731,17.8983051 51.0614351,18.121152 52.1800847,18.5668525 C53.2987344,19.012553 54.2425809,19.640043 55.0116525,20.4493414 C55.7807242,21.2586397 56.3749979,22.2321288 56.7944915,23.3698381 C57.2139851,24.5075473 57.4237288,25.7801205 57.4237288,27.1875958 C57.4237288,28.5246974 57.1906803,29.8383213 56.7245763,31.128507 C56.2584722,32.4186927 55.6408937,33.6384864 54.871822,34.7879246 C54.1027504,35.9373627 53.2346447,36.9988178 52.2674788,37.9723216 C51.300313,38.9458253 50.3098568,39.7902979 49.2960805,40.5057645 C48.2823043,41.2212311 47.2976743,41.7783484 46.342161,42.1771331 C45.3866478,42.5759178 44.5476731,42.7753071 43.8252119,42.7753071 C43.1959714,42.7753071 42.6308288,42.6286973 42.1297669,42.3354733 C41.6287051,42.0422492 41.2092178,41.6786569 40.8712924,41.2446853 C40.533367,40.8107138 40.2711874,40.3532912 40.0847458,39.8724038 C39.8983042,39.3915164 39.8050847,38.9634157 39.8050847,38.5880889 C39.8050847,38.283136 39.8458682,38.0837466 39.9274364,37.9899149 C40.0090046,37.8960832 40.1255289,37.8550325 40.2770127,37.8667614 C40.4284965,37.8784904 40.6207615,37.9136768 40.8538136,37.9723216 C41.0868656,38.0309664 41.3548714,38.0602883 41.657839,38.0602883 C42.6366574,38.0602883 43.720333,37.7201536 44.9088983,37.0398738 C46.0974636,36.3595941 47.2160965,35.491664 48.2648305,34.4360575 C49.3135646,33.380451 50.1933227,32.2193013 50.9041314,30.9525735 C51.61494,29.6858457 51.970339,28.4543232 51.970339,27.2579692 C51.970339,26.0381573 51.6732021,25.0763969 51.0789195,24.3726592 C50.4846369,23.6689216 49.476702,23.317058 48.0550847,23.317058 C47.1694871,23.317058 46.208162,23.4871254 45.1710805,23.8272653 C44.1339991,24.1674051 43.0911069,24.6424209 42.0423729,25.2523269 C40.9936388,25.8622329 39.9798778,26.6011463 39.0010593,27.4690895 C38.0222409,28.3370326 37.1599614,29.2929286 36.4141949,30.3368061 C35.6684285,31.3806836 35.0683285,32.506647 34.6138771,33.71473 C34.1594257,34.922813 33.9322034,36.1836574 33.9322034,37.497301 C33.9322034,38.8813184 34.1827305,40.1187053 34.6837924,41.2094986 C35.1848542,42.300292 35.8490425,43.2913744 36.6763771,44.1827754 C37.5037118,45.0741764 38.441732,45.8951914 39.4904661,46.6458449 C40.5392002,47.3964984 41.6112233,48.1412763 42.7065678,48.8802008 C43.8019123,49.6191254 44.8739354,50.3814964 45.9226695,51.1673368 C46.9714035,51.9531772 47.9094238,52.8211073 48.7367585,53.7711531 C49.5640931,54.721199 50.2282814,55.7767896 50.7293432,56.9379568 C51.230405,58.0991239 51.4809322,59.430341 51.4809322,60.931648 C51.4809322,62.3860392 51.2071002,63.7641715 50.659428,65.0660861 C50.1117557,66.3680008 49.3601743,67.4998286 48.404661,68.4616034 C47.4491478,69.4233782 46.3188625,70.1857492 45.0137712,70.7487394 C43.7086799,71.3117295 42.3103888,71.5932203 40.8188559,71.5932203 Z",id:"Scatter"}})])])])}),[],!1,null,null,null);a.a=i.exports},wu70:function(t,a,e){var n=e("HqHB");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,e("SZ7m").default)("f0225470",n,!0,{})},y5zb:function(t,a,e){(t.exports=e("JPst")(!1)).push([t.i,".reputation[data-v-3c121449]{padding:5px 12px;font-size:10px;margin-bottom:10px;margin-top:-5px;font-weight:bold;background:#f3f6f7;color:#c8c8c8}.reputation.trusted[data-v-3c121449]{background:#159F00;color:#fff}.reputation.untrusted[data-v-3c121449]{background:#ff0707;color:#fff}.app-details[data-v-3c121449]{text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center}.app-details .logo[data-v-3c121449]{display:flex;align-items:center;justify-content:center;height:100px;width:100px;border-radius:4px;padding:5px;margin-bottom:20px}.app-details .logo.border[data-v-3c121449]{background:#f3f6f7;border:1px solid #dfe0e1}.app-details .logo img[data-v-3c121449]{height:100%;width:100%}.app-details .logo span[data-v-3c121449]{font-size:10px;font-weight:bold;color:#7a7a7a}.app-details .logo.scam[data-v-3c121449]{font-size:48px;border-radius:50%;color:#ff0707;background:#f3f6f7;border:1px solid #dfe0e1;animation:pulsate 0.5s ease infinite}.app-details .name[data-v-3c121449]{font-size:14px}\n",""])}}]); \ No newline at end of file diff --git a/dist/56.bundle.js b/dist/56.bundle.js deleted file mode 100644 index 6e624a6..0000000 --- a/dist/56.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[56],{"3lbk":function(a,t,e){"use strict";var n={props:["tabs","state"]},c=(e("dVin"),e("KHd+")),s=Object(c.a)(n,(function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("section",{staticClass:"panel-tabs"},a._l(a.tabs,(function(t){return e("figure",{staticClass:"tab-name",class:{active:t.state===a.state},on:{click:function(e){return a.$emit("selected",t.state)}}},[a._v(a._s(t.name))])})),0)}),[],!1,null,"f9b84e78",null);t.a=s.exports},"4HXs":function(a,t,e){(a.exports=e("JPst")(!1)).push([a.i,".panel-tabs[data-v-f9b84e78]{display:flex;flex-direction:row;align-items:center;justify-content:center;padding:0 0 20px;margin:0 20px;border-bottom:1px solid #dfe0e1}.panel-tabs .tab-name[data-v-f9b84e78]{cursor:pointer;font-size:16px;font-weight:bold;font-family:'Poppins', sans-serif;line-height:68px;color:#0799ff;transition:all 0.1s ease;width:100%;text-align:center;border-bottom:1px solid tranparent;margin-bottom:-21px}.panel-tabs .tab-name[data-v-f9b84e78]:hover,.panel-tabs .tab-name.active[data-v-f9b84e78]{color:black;border-bottom:1px solid #0799ff}\n",""])},Azzw:function(a,t,e){(a.exports=e("JPst")(!1)).push([a.i,".account[data-v-273925aa]{height:calc(100vh - 60px - 80px);display:flex;flex-direction:column;overflow-y:auto}.account .manage[data-v-273925aa]{padding:0;height:calc(calc(100vh - 0px - 80px));position:relative;border-radius:20px;margin:20px;margin-top:0;background:#0799ff}@media (max-width: 600px){.account .manage[data-v-273925aa]{border-radius:20px 20px 0 0;margin:0 0 20px}}.account .manage .account-actions[data-v-273925aa]{width:44px;height:44px;background:rgba(255,255,255,0.12);display:block;position:absolute;top:20px;right:20px;cursor:pointer;padding-right:0}.account .manage .account-actions .button[data-v-273925aa]{width:44px;height:44px;color:white;line-height:44px;text-align:center}.account .manage .account-actions .action-menu[data-v-273925aa]{color:#333}.account .manage .wrapper .details[data-v-273925aa]{padding:20px 0;display:flex;align-items:center;justify-content:center;flex-direction:column}.account .manage .wrapper .details .blockchain[data-v-273925aa]{font-size:80px;color:white}.account .manage .wrapper .details .name[data-v-273925aa]{font-size:24px;font-family:'Poppins', sans-serif;font-weight:bold;text-align:center;max-width:80%;color:white}.account .manage .wrapper .details .network[data-v-273925aa]{font-size:13px;margin-top:5px;color:white}.account .manage .wrapper .details .permissions[data-v-273925aa]{display:flex;margin-top:15px}.account .manage .wrapper .details .permissions .permission[data-v-273925aa]{cursor:pointer;padding:6px 12px;background:black;color:#fff;font-size:12px;font-weight:bold}.account .manage .wrapper .details .permissions .permission.red[data-v-273925aa]{background:#ff0707}.account .manage .flex-wrapper[data-v-273925aa]{display:flex;flex-direction:row}.account .manage .flex-wrapper .resources[data-v-273925aa]{padding:0 20px 40px 20px;display:flex;justify-content:center;width:100%}@media (max-width: 600px){.account .manage .flex-wrapper .resources[data-v-273925aa]{flex-direction:column}}.account .manage .flex-wrapper .resources .loading[data-v-273925aa]{font-size:36px;color:white;display:flex;align-items:center;justify-content:center;width:100%}.account .manage .flex-wrapper .resources .resource[data-v-273925aa]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px}@media (max-width: 600px){.account .manage .flex-wrapper .resources .resource[data-v-273925aa]{flex-direction:row;flex-grow:1;align-items:center;justify-content:space-evenly;padding:10px 0}}.account .manage .flex-wrapper .resources .resource i[data-v-273925aa]{display:flex;justify-content:center;align-items:center;width:44px;height:44px;color:#0799ff;font-size:22px;background:white;border-radius:50%}@media (max-width: 600px){.account .manage .flex-wrapper .resources .resource i[data-v-273925aa]{width:28px;height:28px;font-size:18px}}.account .manage .flex-wrapper .resources .resource i.red[data-v-273925aa]{color:#ff0707;border-color:#ff0707;font-size:20px;margin-top:-2px}@media (max-width: 600px){.account .manage .flex-wrapper .resources .resource i.red[data-v-273925aa]{font-size:16px;margin-top:-4px}}.account .manage .flex-wrapper .resources .resource .type[data-v-273925aa]{margin-bottom:10px;color:white;font-size:18px;font-family:'Poppins', sans-serif;font-weight:bold}@media (max-width: 600px){.account .manage .flex-wrapper .resources .resource .type[data-v-273925aa]{margin:0;font-size:13px}}.account .manage .flex-wrapper .resources .resource .percentage[data-v-273925aa]{font-size:13px;margin-top:10px;font-family:'Poppins', sans-serif;font-weight:bold;color:white}@media (max-width: 600px){.account .manage .flex-wrapper .resources .resource .percentage[data-v-273925aa]{margin:0}}.account .manage .flex-wrapper .resources .resource .action[data-v-273925aa]{margin-top:10px;color:#0799ff}@media (max-width: 600px){.account .manage .flex-wrapper .resources .resource .action[data-v-273925aa]{margin:0}}.account .manage .flex-wrapper .actions[data-v-273925aa]{padding:30px;height:calc(calc(100vh - 0px - 80px) - 360px);overflow-y:auto;width:100%}.account .manage .flex-wrapper .actions .action[data-v-273925aa]{display:flex;margin-bottom:10px;align-items:center}.account .manage .flex-wrapper .actions .action .icon[data-v-273925aa]{height:35px;width:35px;border-radius:50%;background:#0799ff;color:#fff;display:flex;justify-content:center;align-items:center}.account .manage .flex-wrapper .actions .action .icon.red[data-v-273925aa]{background:#ff0707}.account .manage .flex-wrapper .actions .action .name[data-v-273925aa]{padding:0 10px;flex:1;font-size:10px;font-weight:bold}.account .manage .flex-wrapper .actions .action button[data-v-273925aa]{min-width:80px}.account .assets[data-v-273925aa]{flex:1;position:relative}.account .assets .fiat-title[data-v-273925aa]{position:absolute;left:20px;top:0;z-index:1}.account .assets .token-list .tokens[data-v-273925aa]{height:auto}\n",""])},Kg66:function(a,t,e){"use strict";var n=e("rQWM");e.n(n).a},QIy7:function(a,t,e){var n=e("4HXs");"string"==typeof n&&(n=[[a.i,n,""]]),n.locals&&(a.exports=n.locals);(0,e("SZ7m").default)("bbbacdd6",n,!0,{})},d759:function(a,t,e){"use strict";e.r(t);var n=e("L2JU"),c=e("qjwK"),s=e("3lbk"),o=e("diYo"),i=e.n(o),r=e("KLk5"),u=e.n(r),l=e("TmN8"),p=e.n(l),d=e("IMve"),f=e.n(d),m=e("rt1w"),x=e("5t91"),h=e("IfgB"),g=e("Gbp+"),w={components:{TokenList:x.a,TokenGraph:m.a,PanelTabs:s.a},data:()=>({filteredBalances:null,actionsMenu:!1}),computed:{...Object(n.d)(["resources","balances"]),...Object(n.c)(["accounts","displayCurrency"]),tabs(){return[{name:this.account.sendable(),state:this.account.sendable()}]},account(){return this.accounts.find(a=>a.unique()===this.$route.params.unique)},usesResources(){return i.a.usesResources(this.account)},accountResources(){const a=this.resources[this.account.identifiable()];return a||null},accountActions(){const a=f.a.plugin(this.account.blockchain());return a.hasAccountActions()?a.accountActions(this.account):null}},mounted(){window.addEventListener("click",this.handleClick),setTimeout(()=>{i.a.cacheResourceFor(this.account),u.a.loadBalancesFor(this.account)},250)},destroyed(){window.removeEventListener("click",this.handleClick)},methods:{handleClick(a){const t=a.path.map(a=>a.className);!this.actionsMenu||t.includes("action-menu")||t.includes("button fas fa-caret-square-down")||(this.actionsMenu=null)},fiatSymbol:p.a.fiatSymbol,async moderateResource(a){new Promise(async t=>{const{name:e}=a,n=a=>t(a);["CPU","NET"].includes(e)&&h.a.push(g.a.eosModerateCpuNet(this.account,n)),"RAM"===e&&h.a.push(g.a.eosModerateRam(this.account,n)),"Refund"===e&&f.a.plugin(this.account.blockchain()).refund(this.account).then(a=>n(a)).catch(a=>{console.error(a),n(null)})}).then(async a=>{a&&(h.a.push(g.a.transactionSuccess(this.account.blockchain(),a)),this[c.ADD_RESOURCES]({acc:this.account.identifiable(),res:await i.a.getResourcesFor(this.account)}),await u.a.loadBalancesFor(this.account))})},copyAuthKey(a){this.copyText(a.publicKey)},actionText(a){return this.$t("account.actions."+a.type)},actionIcon(a){switch(a.type){case"unlink_account":return"icon-trash";case"change_permissions":return"icon-key";case"proxy_vote":return"icon-heart-1";case"create_account":return"icon-user-add"}},async commitAction(a){const t=f.a.plugin(this.account.blockchain());switch(a.type){case"unlink_account":return h.a.push(g.a.unlinkAccount(this.account,a=>{a&&this.$router.back()}));case"change_permissions":return h.a.push(g.a.verifyPassword(a=>{if(!a)return!1;h.a.push(g.a.eosChangePermissions(this.account,async a=>{await t.changePermissions(this.account,a)}))}));case"proxy_vote":return h.a.push(g.a.eosProxyVotes(this.account,()=>{}));case"create_account":return h.a.push(g.a.eosCreateAccount(this.account,()=>{}));default:return""}},...Object(n.b)([c.ADD_RESOURCES])}},b=(e("Kg66"),e("KHd+")),v=Object(b.a)(w,(function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("section",[a.account?e("section",{staticClass:"account"},[e("section",{staticClass:"manage"},[e("div",{staticClass:"wrapper"},[e("section",{staticClass:"details"},[e("figure",{staticClass:"blockchain",class:"token-"+a.account.blockchain()+"-"+a.account.blockchain()}),a._v(" "),e("figure",{staticClass:"name selectable"},[a._v(a._s(a.account.sendable()))]),a._v(" "),e("figure",{staticClass:"network"},[a._v(a._s(a.account.network().name))]),a._v(" "),e("figure",{staticClass:"permissions"},a._l(a.account.authorities(),(function(t){return e("figure",{staticClass:"permission",class:{red:"owner"===t.authority},on:{click:function(e){return a.copyAuthKey(t)}}},[a._v("\n "+a._s(t.authority)+"\n ")])})),0)]),a._v(" "),e("figure",{staticClass:"actions account-actions"},[e("figure",{staticClass:"button fas fa-caret-square-down",on:{click:function(t){a.actionsMenu=!a.actionsMenu}}}),a._v(" "),e("section",{staticClass:"action-menu",class:{hidden:!a.actionsMenu}},a._l(a.accountActions,(function(t){return e("section",{key:t.id,staticClass:"item",on:{click:function(e){return a.commitAction(t)}}},[e("i",{class:a.actionIcon(t)}),a._v("\n "+a._s(a.actionText(t))+"\n ")])})),0)])]),a._v(" "),e("div",{staticClass:"flex-wrapper"},[a.usesResources?e("section",{staticClass:"resources"},[a.accountResources?a._e():e("section",{staticClass:"loading"},[e("figure",{staticClass:"spinner icon-spin4 animate-spin"})]),a._v(" "),a._l(a.accountResources,(function(t){return e("section",{staticClass:"resource"},[e("figure",{staticClass:"type"},[a._v(a._s(t.name))]),a._v(" "),e("i",{class:{"fad fa-check":t.percentage<=50,"fas fa-exclamation-triangle red":t.percentage>50}}),a._v(" "),e("figure",{staticClass:"percentage"},[a._v(a._s(t.text?t.text:parseFloat(t.percentage).toFixed(2)+"%"))]),a._v(" "),e("figure",{staticClass:"action"},[e("Button",{attrs:{white:"1",disabled:!t.actionable,text:a.$t("generic.manage")},nativeOn:{click:function(e){return a.moderateResource(t)}}})],1)])}))],2):a._e()])]),a._v(" "),e("section",{staticClass:"assets"},[e("section",{staticClass:"fiat-title"},[e("h5",[a._v(a._s(a.$t("account.totalFiatBalance")))]),a._v(" "),e("h3",[a._v(a._s(a.fiatSymbol(a.displayCurrency))+a._s(a.formatNumber(a.account.totalFiatBalance(),!0)))])]),a._v(" "),e("TokenGraph",{attrs:{balances:a.filteredBalances||a.account.tokens()}}),a._v(" "),e("TokenList",{attrs:{balances:a.account.tokens()},on:{balances:function(t){return a.filteredBalances=t}}})],1)]):a._e()])}),[],!1,null,"273925aa",null);t.default=v.exports},dVin:function(a,t,e){"use strict";var n=e("QIy7");e.n(n).a},rQWM:function(a,t,e){var n=e("Azzw");"string"==typeof n&&(n=[[a.i,n,""]]),n.locals&&(a.exports=n.locals);(0,e("SZ7m").default)("58d3c7c5",n,!0,{})}}]); \ No newline at end of file diff --git a/dist/57.bundle.js b/dist/57.bundle.js deleted file mode 100644 index 8dd78e4..0000000 --- a/dist/57.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[57],{"0X4a":function(t,e,p){var i=p("9YZ2");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,p("SZ7m").default)("732114ca",i,!0,{})},"9YZ2":function(t,e,p){(t.exports=p("JPst")(!1)).push([t.i,".popout{position:relative;display:flex;flex-direction:column;overflow:hidden;height:calc(100vh - 40px)}.popout.login{height:100vh}.popout .popout-window{border:1px solid #dadada;border-top:0;height:calc(100vh - 40px)}.popout>section{display:flex;flex-direction:column;flex:1}.popout .multi-pane{display:flex;flex-direction:row;flex:1;height:calc(100vh - 90px)}.popout .multi-pane .main-panel{position:relative;display:flex;flex-direction:column;flex:1;width:calc(100% - 320px);border-right:1px solid #dfe0e1}.popout .multi-pane .side-panel{width:calc(100% - 420px);display:flex;flex-direction:column;overflow:auto;flex:0 0 auto;background:#f7fafb;position:relative;height:calc(100vh - 41px)}.popout .multi-pane .side-panel .messages-scroller{height:calc(100vh - 91px);overflow-y:scroll;padding:0 30px 80px}.popout .multi-pane .side-panel .whitelist-bar{position:absolute;bottom:0;left:0;right:0;height:50px;z-index:2;background:#fff;border-top:1px solid #dfe0e1;display:flex;justify-content:space-between;align-items:center;padding:10px 10px 10px 20px}.popout .multi-pane .side-panel .whitelist-bar .text{font-size:10px;font-weight:bold;padding-right:50px}.popout .multi-pane .side-panel .whitelist-bar .text.blue{color:#0799ff}.popout .multi-pane .side-panel .whitelist-bar .switch{flex:0 0 auto}.popout .multi-pane .side-bar{cursor:pointer;height:calc(100vh - 70px);width:20px;background:#0799ff;border-left:1px solid #0799ff;display:flex;justify-content:center;align-items:center;color:#fff;font-size:11px;padding-right:3px}.popout .participants{padding:0 30px;text-align:center;margin-top:30px}.popout .participants .more-participants{font-size:10px;margin-top:5px;text-decoration:underline;cursor:pointer}.popout .participants label{display:block;color:#0799ff}.popout .participants .participant{font-size:12px;border:1px solid #dfe0e1;background:#f3f6f7;display:inline-block;padding:6px 10px}.popout .participants .participant:not(:first-child){margin-top:3px}.popout .info-line{padding:0 30px;margin:25px 0 10px;text-align:center;position:relative;height:24px}.popout .info-line span{display:inline-block;padding:0 20px;height:24px;line-height:24px;background:#fafafa;font-size:16px;position:relative;z-index:1}.popout .info-line:after{content:'';display:block;height:1px;position:absolute;left:30px;right:30px;top:12px;background:rgba(0,0,0,0.1);z-index:0}.popout .fixed-actions{position:absolute;bottom:0;left:0;right:0;padding:30px}.popout .fixed-actions .accept-deny{display:flex;justify-content:space-between}\n",""])},AvAb:function(t,e,p){"use strict";p.r(e);p("0X4a");var i=p("cCRt"),o=p("L2JU"),n=p("qjwK"),a=p("+nw1"),s=p("Gbp+"),l=p("q+A3"),u=p("48Ae"),r=p("Mb++"),d=p.n(r),c={data:()=>({apiActions:a,pinning:!1,isExtension:!1,isNativeMobile:!1}),components:{PopOutHead:i.a,GetPublicKey:()=>p.e(48).then(p.bind(null,"2qTD")),TransferRequest:()=>p.e(50).then(p.bind(null,"5Pnu")),AppLogin:()=>p.e(47).then(p.bind(null,"leBm")),Signature:()=>Promise.all([p.e(0),p.e(13),p.e(26),p.e(22),p.e(1),p.e(35),p.e(28),p.e(7),p.e(19),p.e(16),p.e(9),p.e(39),p.e(15),p.e(37),p.e(20),p.e(14),p.e(6),p.e(11),p.e(21),p.e(8),p.e(33),p.e(5),p.e(4),p.e(42),p.e(30),p.e(36),p.e(18),p.e(10),p.e(27),p.e(41),p.e(17),p.e(25),p.e(40),p.e(3),p.e(31),p.e(23),p.e(24),p.e(29),p.e(43),p.e(12),p.e(34),p.e(2),p.e(38),p.e(32),p.e(49)]).then(p.bind(null,"82eg")),LinkApp:()=>p.e(55).then(p.bind(null,"M/P+")),UpdateIdentity:()=>p.e(51).then(p.bind(null,"C6GT"))},async created(){if(this.isExtension=this.$route.query.extension,this.isNativeMobile=!!window.PopOutWebView,this.isExtension||this.isNativeMobile){const{popout:t,scatter:e}=this.isExtension?await window.wallet.utility.getPopOut(this.$route.query.extension):JSON.parse(await window.PopOutWebView.getPopOut());this[l.q](t),this[n.HOLD_SCATTER](d.a.fromJson(e)),window.onbeforeunload=()=>{this.returnResult()}}setTimeout(()=>{this.setup()},200)},computed:{...Object(o.d)(["scatter","popOut"]),popup(){return this.popOut?s.a.fromJson(this.popOut):null},appData(){return this.popOut?this.popOut.data.props.appData:null},payload(){return this.popOut?this.popOut.data.props.payload:null},popupType(){return this.popOut?this.popOut.data.type:null}},methods:{async returnResult(t=null){const e={original:this.popOut,result:t};this.isNativeMobile?await window.PopOutWebView.popoutResponse(JSON.stringify(e)):await window.wallet.utility.popoutResponse(e),this.isExtension&&window.close(),this.isNativeMobile?window.PopOutWebView.close():window.wallet.utility.closeWindow(window.wallet.windowId)},async checkAppReputation(){},async setup(){if(!this.popOut)return;if(!this.scatter){let t=await window.wallet.storage.getWalletData();t||this.returnResult(null),t=d.a.fromJson(t),this[n.HOLD_SCATTER](t)}this.checkAppReputation();const t=[a.SIGN_ARBITRARY,a.SIGN,a.TRANSFER];setTimeout(async()=>{this.scatter.pinForAll&&t.includes(this.popup.data.type)&&(this.pinning=!0,await u.a.verifyPIN()||this.returnResult(null),this.pinning=!1)})},...Object(o.b)([n.HOLD_SCATTER,l.j,l.q])},watch:{popOut(){this.setup()}}},f=(p("HXU4"),p("KHd+")),h=Object(f.a)(c,(function(){var t=this,e=t.$createElement,p=t._self._c||e;return p("section",[t.scatter&&t.popOut?p("section",[t.popupType!==t.apiActions.LOGIN&&t.popupType!==t.apiActions.LOGIN_ALL?p("PopOutHead",{on:{closed:t.returnResult}}):t._e(),t._v(" "),p("section",{staticClass:"popout",class:{login:t.popupType===t.apiActions.LOGIN||t.popupType===t.apiActions.LOGIN_ALL}},[t.popupType===t.apiActions.LOGIN||t.popupType===t.apiActions.LOGIN_ALL?p("AppLogin",{attrs:{popup:t.popup},on:{returned:t.returnResult}}):t._e(),t._v(" "),t.popupType===t.apiActions.SIGN||t.popupType===t.apiActions.SIGN_ARBITRARY?p("Signature",{attrs:{popup:t.popup,pinning:t.pinning},on:{returned:t.returnResult}}):t._e(),t._v(" "),t.popupType===t.apiActions.GET_PUBLIC_KEY?p("GetPublicKey",{attrs:{popup:t.popup},on:{returned:t.returnResult}}):t._e(),t._v(" "),t.popupType===t.apiActions.TRANSFER?p("TransferRequest",{attrs:{popup:t.popup,pinning:t.pinning},on:{returned:t.returnResult}}):t._e(),t._v(" "),t.popupType===t.apiActions.UPDATE_IDENTITY?p("UpdateIdentity",{attrs:{popup:t.popup},on:{returned:t.returnResult}}):t._e(),t._v(" "),"linkApp"===t.popupType?p("LinkApp",{attrs:{popup:t.popup},on:{returned:t.returnResult}}):t._e()],1)],1):t._e(),t._v(" "),p("section",{staticClass:"dummy-bg",class:{hide:t.popOut}},[p("figure",[t._v("Scatter")])])])}),[],!1,null,"2d43f3c5",null);e.default=h.exports},DSpH:function(t,e,p){(t.exports=p("JPst")(!1)).push([t.i,".dummy-bg figure[data-v-2d43f3c5]{position:fixed;top:0;left:0;right:0;z-index:-2;height:40px;width:100%;display:flex;align-items:center;padding:0 0 0 10px;border:1px solid #0778dd;border-bottom:0;background:#0799ff;font-family:'Grand Hotel', sans-serif;font-size:24px;color:#fff}.dummy-bg figure.hide[data-v-2d43f3c5]{display:none}\n",""])},HXU4:function(t,e,p){"use strict";var i=p("f1Pl");p.n(i).a},f1Pl:function(t,e,p){var i=p("DSpH");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,p("SZ7m").default)("40ac68d7",i,!0,{})}}]); \ No newline at end of file diff --git a/dist/58.bundle.js b/dist/58.bundle.js deleted file mode 100644 index da7dc34..0000000 --- a/dist/58.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[58],{"0/nc":function(t,s,e){(t.exports=e("JPst")(!1)).push([t.i,".assets[data-v-ee110340]{height:calc(100vh - 139px)}\n",""])},TWCW:function(t,s,e){"use strict";e.r(s);var n={components:{Assets:e("+/Gu").a}},c=(e("dCyb"),e("KHd+")),a=Object(c.a)(n,(function(){var t=this.$createElement,s=this._self._c||t;return s("section",[s("Assets")],1)}),[],!1,null,"ee110340",null);s.default=a.exports},"XHb+":function(t,s,e){var n=e("0/nc");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,e("SZ7m").default)("c550e916",n,!0,{})},dCyb:function(t,s,e){"use strict";var n=e("XHb+");e.n(n).a}}]); \ No newline at end of file diff --git a/dist/59.bundle.js b/dist/59.bundle.js deleted file mode 100644 index 5470173..0000000 --- a/dist/59.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[59],{"/D5S":function(t,n,o){(t.exports=o("JPst")(!1)).push([t.i,"",""])},"9oR7":function(t,n,o){var s=o("/D5S");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,o("SZ7m").default)("d62f1b10",s,!0,{})},b95J:function(t,n,o){"use strict";var s=o("9oR7");o.n(s).a},yTwl:function(t,n,o){"use strict";o.r(n);var s={components:{Contacts:o("95O8").a}},e=(o("b95J"),o("KHd+")),c=Object(e.a)(s,(function(){var t=this.$createElement;return(this._self._c||t)("Contacts")}),[],!1,null,"32dd77f8",null);n.default=c.exports}}]); \ No newline at end of file diff --git a/dist/60.bundle.js b/dist/60.bundle.js deleted file mode 100644 index b5bb788..0000000 --- a/dist/60.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[60],{"4clf":function(t,e,a){"use strict";var o=a("ewlj");a.n(o).a},TDsy:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".dashboard[data-v-7e9b38f8]{height:calc(100vh - 140px);padding:10px 20px 20px;display:flex;flex-direction:row}@media (max-width: 920px){.dashboard[data-v-7e9b38f8]{flex-direction:column;padding:0;border-radius:0;overflow-y:scroll}}.dashboard.full-mobile[data-v-7e9b38f8]{overflow-y:hidden;padding:0}#asset-updates[data-v-7e9b38f8]{flex:1;display:flex}@media (max-width: 920px){#asset-updates[data-v-7e9b38f8]{width:100%;display:block}}#asset-updates .attraction[data-v-7e9b38f8]{height:100%;text-align:center;position:relative;z-index:0;width:100%}@media (max-width: 920px){#asset-updates .attraction[data-v-7e9b38f8]{height:auto;border:0;margin-bottom:30px}#asset-updates .attraction.full-mobile[data-v-7e9b38f8]{height:100%;margin:0}}#asset-updates .attraction .promoted-pill[data-v-7e9b38f8]{position:absolute;right:20px;top:20px;padding:8px 16px 7px;background:rgba(0,0,0,0.34);color:white;border-radius:20px;font-size:12px;display:inline-block;margin:0 auto;text-transform:uppercase;z-index:1}#asset-updates .attraction .premium-attraction[data-v-7e9b38f8]{height:65%;background-color:#0799ff;background-image:linear-gradient(211deg, #0280CE 12%, #0799FF 46%, #066AA7 100%);position:relative;overflow:hidden;border-radius:20px}@media (max-width: 920px){#asset-updates .attraction .premium-attraction[data-v-7e9b38f8]{border-radius:0;min-height:400px}}#asset-updates .attraction .premium-attraction.no-tokens[data-v-7e9b38f8]{height:100%}#asset-updates .attraction .premium-attraction .promo[data-v-7e9b38f8]{width:100%;height:100%;object-fit:cover;position:absolute;top:0;bottom:0;left:0;right:0}#asset-updates .attraction .premium-attraction .promo video[data-v-7e9b38f8]{width:100%}#asset-updates .attraction .premium-attraction .logo[data-v-7e9b38f8]{width:120px;border-radius:4px;position:absolute;top:30px;left:30px;z-index:2;object-fit:cover}#asset-updates .attraction .premium-attraction .description[data-v-7e9b38f8]{display:block;padding:30px;position:absolute;bottom:0;left:0;right:0;text-align:left}#asset-updates .attraction .premium-attraction .description[data-v-7e9b38f8]:before{content:'';display:block;position:absolute;z-index:0;bottom:-calc(200% - 200px);left:0;right:0;background:rgba(0,0,0,0.9);height:200%;transform:skewY(10deg)}#asset-updates .attraction .premium-attraction .description button[data-v-7e9b38f8]{max-height:42px;place-self:start;margin-top:10px}#asset-updates .attraction .premium-attraction .description div.premium-content[data-v-7e9b38f8]{margin-right:20px;display:flex;flex-direction:column;text-align:left;justify-content:end;align-content:center;align-self:end;position:relative}#asset-updates .attraction .premium-attraction .description div.premium-content .premium-name[data-v-7e9b38f8]{font-size:24px;font-family:'Poppins', sans-serif;font-weight:bold;color:white;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:8px}@media (max-width: 920px){#asset-updates .attraction .premium-attraction .description div.premium-content .premium-name[data-v-7e9b38f8]{font-size:20px}}#asset-updates .attraction .premium-attraction .description div.premium-content .premium-description[data-v-7e9b38f8]{color:white;opacity:0.9;font-size:13px;line-height:1.1rem;margin-bottom:10px;max-width:400px}@media (max-width: 1120px){#asset-updates .attraction .premium-attraction .description div.premium-content .premium-description[data-v-7e9b38f8]{font-size:12px;line-height:1rem}}#asset-updates .attraction.full-mobile .premium-attraction[data-v-7e9b38f8]{border-radius:0}#asset-updates .suggested-exchanges[data-v-7e9b38f8]{display:flex;flex-direction:column;height:35%;padding:20px 30px;background:#f3f6f7;border-radius:0 0 20px 20px;z-index:1;position:relative}@media (max-width: 920px){#asset-updates .suggested-exchanges[data-v-7e9b38f8]{border-radius:0;height:auto}}#asset-updates .suggested-exchanges .token-logo[data-v-7e9b38f8]{color:#0799ff;font-size:34px}@media (max-width: 600px){#asset-updates .suggested-exchanges .token-logo[data-v-7e9b38f8]{font-size:44px;margin-bottom:10px}}#asset-updates .suggested-exchanges .cta[data-v-7e9b38f8]{justify-self:end}#asset-updates .suggested-exchanges .cta button[data-v-7e9b38f8]{width:120px}#asset-updates .suggested-exchanges .explainer[data-v-7e9b38f8]{display:flex;flex-direction:column;padding:0 20px;flex:1;text-align:left}@media (max-width: 600px){#asset-updates .suggested-exchanges .explainer[data-v-7e9b38f8]{padding:0}}#asset-updates .suggested-exchanges .explainer .title[data-v-7e9b38f8]{font-size:13px;font-family:'Poppins', sans-serif;font-weight:bold;color:black;line-height:18px;margin-bottom:4px}#asset-updates .suggested-exchanges .explainer .suggested-action[data-v-7e9b38f8]{color:black;opacity:1;font-size:12px;margin-bottom:10px}#asset-updates .suggested-exchanges .exchange-panel[data-v-7e9b38f8]{display:flex;flex-direction:row;height:50%;align-items:center;flex:1}@media (max-width: 600px){#asset-updates .suggested-exchanges .exchange-panel[data-v-7e9b38f8]{flex-direction:column;align-items:flex-start;height:auto;padding:20px 0}}.focus-boxes[data-v-7e9b38f8]{display:grid;grid-template-rows:100%;width:40%}@media (max-width: 920px){.focus-boxes[data-v-7e9b38f8]{width:100%;height:400px;display:block;flex-direction:column}}.focus-boxes #proxy[data-v-7e9b38f8]{text-align:center;background:white;border:1px solid #dfe0e1;border-radius:20px;margin:0 10px 0 20px;position:relative;transition:border 0.12s ease-in-out;display:flex;flex-direction:column;justify-content:center;background-size:100%;background-position:center center;background-repeat:no-repeat;overflow:hidden;padding:10px}.focus-boxes #proxy .earn-rewards[data-v-7e9b38f8]{padding:8px 26px 7px;background:black;color:white;border-radius:20px;font-size:12px;display:inline-block;margin:0 auto;text-transform:uppercase}@media (max-width: 920px){.focus-boxes #proxy[data-v-7e9b38f8]{border-radius:20px;border:0 !important;margin:0 0 70px 0;padding:40px 40px 80px;display:block;height:400px}.focus-boxes #proxy[data-v-7e9b38f8]:hover{border:0}}.focus-boxes #proxy h3[data-v-7e9b38f8]{color:black;font-size:20px;line-height:24px;display:block;background-image:linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 100%);padding:10px 12px 5px;margin:0;text-shadow:0 0 10px white, 0 0 20px white}@media (min-width: 920px){.focus-boxes #proxy h3[data-v-7e9b38f8]{font-size:20px}}.focus-boxes #proxy h5[data-v-7e9b38f8]{color:#7a7a7a;display:block;background:white;padding:4px 10px 20px;font-size:13px;font-weight:normal}.focus-boxes #proxy img[data-v-7e9b38f8]{width:60%;margin:20px auto;height:60%}.focus-boxes #proxy[data-v-7e9b38f8]:hover{border:1px solid #0799ff}@media (max-width: 600px){.focus-boxes #proxy[data-v-7e9b38f8]:hover{border:0}}.focus-boxes #proxy button[data-v-7e9b38f8]{margin:0 60px 20px}\n",""])},cndU:function(t,e,a){"use strict";a.r(e);var o=a("L2JU"),i=a("IfgB"),s=a("Gbp+"),n=a("IMve"),r=a.n(n),d=a("F+MN"),p=a("X1bV");var c={data:()=>({proxying:!1,votableChains:["aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906","4667b205c6838ef70ff7988f6e8257e8be0e1284a2f59699054a018f743b1d11"]}),computed:{...Object(o.d)(["scatter"]),...Object(o.c)(["keypairs","accounts","networks","totalBalances"]),tokens(){},votableChains:()=>[],votableNetworks(){return this.votableChains.map(t=>this.scatter.settings.networks.find(e=>e.blockchain===d.Blockchains.EOSIO&&e.chainId===t)).filter(t=>!!t)},canVote(){return!!this.votableNetworks.length}},mounted(){},methods:{change:p.a.change,exchange(t){const e=t.accounts().filter(e=>(t=>t?t.amount:0)(e.balanceFor(t))>0).sort((e,a)=>{return(t=>t?t.amount:0)(a.balanceFor(t))-(t=>t?t.amount:0)(e.balanceFor(t))});if(!e.length)return;const a=e[0];a&&this.$router.push({name:this.RouteNames.EXCHANGE,query:{account:a.identifiable(),token:t.uniqueWithChain()}})},async voteForScatter(){if(this.proxying)return;this.proxying=!0;const t=()=>{this.proxying=!1},e=r.a.plugin(d.Blockchains.EOSIO);if(!e)return t();let a=[];for(let o=0;ot.systemBalance()>=5);if(n.length){const o=e.getSignableEosjs(n,()=>{t()}),r=n.map(t=>({account:"eosio",name:"voteproducer",authorization:[{actor:t.sendable(),permission:t.authority}],data:{voter:t.name,proxy:"scatterproxy",producers:[]}}));await o.transact({actions:r},{blocksBehind:3,expireSeconds:30}).then(t=>(a.push(t),!0)).catch(t=>(i.a.push(s.a.snackbar(t)),null))}a.length&&i.a.push(s.a.snackbar(this.$t("dashboard.vote.voted",{total:a.length}))),t()}}},created(){}},l=(a("4clf"),a("KHd+")),u=Object(l.a)(c,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"dashboard",class:{"full-mobile":!t.tokens&&!t.canVote}},[a("section",{attrs:{id:"asset-updates"}},[a("section",{staticClass:"attraction",class:{"full-mobile":!t.tokens&&!t.canVote}},[a("div",{staticClass:"promoted-pill"},[t._v(t._s(t.$t("generic.promoted")))]),t._v(" "),a("section",{staticClass:"premium-attraction",class:{"no-tokens":!t.tokens}},[a("img",{staticClass:"logo",attrs:{src:"https://cryptolegends.io/assets/use-images/logo_crypto.png"}}),t._v(" "),a("img",{staticClass:"promo",attrs:{src:"https://cryptolegends.io/assets/use-images/bg_special.png"}}),t._v(" "),a("video",{staticClass:"promo",attrs:{"data-v-1b6b9b64":"","data-v-3b6b0f2a":"",loop:"loop",muted:"muted",autoplay:"autoplay"},domProps:{muted:!0}},[a("source",{attrs:{"data-v-1b6b9b64":"","data-v-3b6b0f2a":"",src:"https://cryptolegends.io/assets/video/crypto-03.mp4",type:"video/mp4"}})]),t._v(" "),a("div",{staticClass:"description"},[t._m(0),t._v(" "),a("Button",{attrs:{blue:"1",text:"Open Crypto Legends"},nativeOn:{click:function(e){return t.openInBrowser("https://cryptolegends.io/home?ref=scatterrefer")}}})],1)])])]),t._v(" "),t.canVote?a("section",{staticClass:"focus-boxes"},[a("a",{ref:"https://get-scatter.com/vote",staticStyle:{"background-image":"url(static/assets/voting.png)"},attrs:{id:"proxy",target:"_blank"}},[a("span",{staticClass:"earn-rewards"},[t._v(t._s(t.$t("dashboard.vote.title")))]),t._v(" "),a("h3",[t._v(t._s(t.$t("dashboard.vote.subTitle")))]),t._v(" "),a("h5",[t._v(t._s(t.$t("dashboard.vote.description")))]),t._v(" "),a("Button",{attrs:{text:t.$t("dashboard.vote.button"),loading:t.proxying},nativeOn:{click:function(e){return t.voteForScatter(e)}}})],1)]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"premium-content"},[e("span",{staticClass:"premium-name"},[this._v("Crypto Legends")]),this._v(" "),e("span",{staticClass:"premium-description"},[this._v("\n Get ready for the battle of your lifetime."),e("br"),this._v("\n Win with strategy by changing your decks according to your opponent and fight to become globally adorned a Crypto Legend.\n ")])])}],!1,null,"7e9b38f8",null);e.default=u.exports},ewlj:function(t,e,a){var o=a("TDsy");"string"==typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);(0,a("SZ7m").default)("ccd46c5a",o,!0,{})}}]); \ No newline at end of file diff --git a/dist/61.bundle.js b/dist/61.bundle.js deleted file mode 100644 index d517cca..0000000 --- a/dist/61.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[61],{"5jfV":function(t,e,s){"use strict";var i=s("Vbfb");s.n(i).a},LHAq:function(t,e,s){"use strict";s.r(e);var i=s("L2JU"),a=s("IfgB"),n=s("Gbp+"),o=s("KLk5"),c=s.n(o),r=s("TmN8"),l=s.n(r),u=s("GwxU"),h=s.n(u),d=s("l31u"),p=s.n(d),m=s("ONSl"),g=s.n(m),k=s("qjwK"),f=s("M1Dr"),v=s.n(f),_=s("GGPC"),b=s.n(_),C=s("AZxv");s("8olR");var w={components:{TokenSymbol:C.a},data:()=>({account:null,recipient:null,memo:"",token:null,toSend:null,fiat:0,sending:!1,rawPairs:[],pairs:[],pair:null,rate:null,loadingPairs:!1,loadingRate:!1}),computed:{...Object(i.d)(["history"]),...Object(i.c)(["accounts","displayCurrency"]),sendableTokens(){return this.account.tokens().filter(t=>!t.unusable).sort((t,e)=>h.a.sorter(t,e))},canExchange(){return!!this.rate&&!!this.pair&&!this.sending&&this.recipient&&this.toSend.amount>0&&(null===this.rate.min||this.rate.min<=this.estimatedAmount)&&(null===this.rate.max||this.rate.max>=this.estimatedAmount)},estimatedAmount(){return this.rate&&this.pair?parseFloat(this.rate.rate*this.toSend.amount).toFixed(this.pair.decimals):0},rawPair(){if(this.pair)return this.rawPairs.find(t=>t.token.id===this.pair.id)}},mounted(){const t=this.$route.query.history?this.history.find(t=>t.id===this.$route.query.history):null;if(t)setTimeout(async()=>{if(this.account=t.from,this.recipient=t.to,this.setToken(t.fromToken),await this.getPairs(),this.rawPairs.length){const e=this.rawPairs.find(e=>e.token.uniqueWithChain()===t.toToken.uniqueWithChain());e&&this.setPair(e.token)}});else{if(this.$route.query.account&&(this.account=this.accounts.find(t=>t.identifiable()===this.$route.query.account),this.$route.query.token)){const t=this.account.tokens().find(t=>t.uniqueWithChain()===this.$route.query.token);return this.setToken(t),void(this.recipient=this.account.sendable())}this.account||(this.account=this.accounts.filter(t=>t.tokens().length).sort((t,e)=>e.totalFiatBalance()-t.totalFiatBalance())[0]),this.recipient=this.account.sendable(),this.setToken(this.sendableTokens[0])}},methods:{selectTokenAndAccount(){a.a.push(n.a.selectTokenAndAccount(t=>{if(!t)return;const{token:e,account:s}=t;this.account=s,this.setToken(e),this.recipient=this.account.sendable()}))},selectRecipient(){a.a.push(n.a.selectRecipient(this.account?this.account.blockchain():null,t=>{t&&(this.recipient=t)}))},selectToken(){this.pairs.length&&a.a.push(n.a.selectToken(this.pairs,t=>{t&&this.setPair(t.clone())}))},setToken(t){l.a.setPrices(),this.token=this.account.tokens().find(e=>e.uniqueWithChain()===t.uniqueWithChain()).clone(),this.toSend=this.token.clone(),this.toSend.amount=0,this.fiat=0,this.rate=null,this.pair=null},changedFiat(){this.toSend.amount=parseFloat(this.fiat/this.toSend.fiatPrice(!1)).toFixed(this.toSend.decimals)},changedAmount(){this.fiat=this.toSend.amount&&""!==this.toSend.amount?this.toSend.fiatBalance(!1):null},cantConnect(){a.a.push(n.a.prompt(this.$t("exchange.errorTitle"),this.$t("exchange.errorDescription"))),this.$router.push({name:this.RouteNames.HOME})},setPair(t){this.pair=t,this.getRate()},async getPairs(){this.pair=null,this.pairs={},this.loadingPairs=!0;let t=await p.a.pairs(this.token),{base:e,stable:s,eth:i,eos:a,trx:n}=t;if(this.rawPairs=Object.keys(t).reduce((e,s)=>e=e.concat(t[s]),[]),t){let t=[],o=[];e&&(o=o.concat(e.map(t=>t.token))),s&&(o=o.concat(s.map(t=>t.token))),o.length&&t.push({tokens:o});const c=[i,a,n].filter(t=>!!t).reduce((t,e)=>(e.map(e=>t.push(e.token)),t),[]);c.length&&t.push({tokens:c}),this.pairs=t}else this.cantConnect();return this.rawPairs.length||(this.rate=null),1===this.rawPairs.length&&this.setPair(this.rawPairs[0].token),this.loadingPairs=!1,!0},async getRate(){this.loadingRate=!0,this.rate=null,this.rate=await p.a.rate(this.token,this.rawPair.symbol,this.rawPair.service),this.loadingRate=!1},async exchange(){if(!this.canExchange)return;const t=()=>{this.sending=!1,this.setWorkingScreen(!1)};this.sending=!0,this.setWorkingScreen(!0);const e={account:this.account.sendable()},s={account:this.recipient},i=this.toSend.amount,o=await p.a.order(this.rawPair.service,this.token,this.pair.symbol,i,e,s);if(!o)return this.cantConnect(),t();if("string"==typeof o)return a.a.push(n.a.snackbar(o)),t();this.token.symbol,this.pair.symbol;p.a.accepted(o.id);const r=await v.a[this.account.blockchain()]({account:this.account,recipient:o.account,amount:i,memo:o.memo,token:this.token,promptForSignature:!1,bypassHistory:!0}).catch(t=>(console.error("Exchange error: ",t),!1));if(r)if("object"==typeof r&&r.hasOwnProperty("error"))a.a.push(n.a.snackbar(r.error));else{a.a.push(n.a.transactionSuccess(this.token.blockchain,v.a.getTransferId(r,this.token.blockchain))),g.a.hasToken(this.rawPair.token)||this.rawPair.token.contract&&this.rawPair.token.contract.length&&await g.a.addToken(this.rawPair.token,!1,!1);const t=new b.a(this.account,this.recipient,this.toSend,this.pair,o,v.a.getTransferId(r,this.token.blockchain));this[k.DELTA_HISTORY](t),setTimeout(()=>{p.a.watch(t),c.a.loadBalancesFor(this.account)},1e3)}t()},...Object(i.b)([k.DELTA_HISTORY])},watch:{"token.symbol"(){this.getPairs()}}},y=(s("5jfV"),s("KHd+")),x=Object(y.a)(w,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("section",[t.account&&t.token&&t.toSend?s("section",{staticClass:"exchange"},[s("section",{staticClass:"scroller"},[s("section",{staticClass:"greyback"},[s("section",{staticClass:"limit-width"},[s("section",{staticClass:"boxes"},[s("section",{staticClass:"box-container"},[s("label",[t._v(t._s(t.$t("exchange.fromAndToken")))]),t._v(" "),s("section",{staticClass:"box nested account-selector flex",on:{click:t.selectTokenAndAccount}},[s("section",{staticClass:"symbol"},[s("TokenSymbol",{attrs:{token:t.token}})],1),t._v(" "),s("section",[s("figure",{staticClass:"name"},[t._v(t._s(t.account.sendable()))]),t._v(" "),s("figure",{staticClass:"network"},[t._v(t._s(t.account.network().name))]),t._v(" "),s("figure",{staticClass:"token"},[t._v(t._s(t.token.amount)+" "+t._s(t.token.symbol))]),t._v(" "),s("figure",{staticClass:"price"},[t._v(t._s(t.token.fiatPrice()))])]),t._v(" "),s("figure",{staticClass:"chevron fas fa-caret-square-down"})])]),t._v(" "),s("section",{staticClass:"box-container"},[s("label",[t._v("Receiver")]),t._v(" "),s("section",{staticClass:"box nested"},[s("section",{staticClass:"padded recipient-selector",on:{click:t.selectRecipient}},[s("figure",{staticClass:"name"},[t._v(t._s(t.$t("generic.contacts")))]),t._v(" "),s("figure",{staticClass:"chevron fas fa-caret-square-down"})]),t._v(" "),s("figure",{staticClass:"line"}),t._v(" "),s("section",{staticClass:"input-container"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.recipient,expression:"recipient"}],staticClass:"input",attrs:{placeholder:t.$t("generic.addressOrAccount")},domProps:{value:t.recipient},on:{input:function(e){e.target.composing||(t.recipient=e.target.value)}}})])])])])])]),t._v(" "),s("section",{staticClass:"whiteback"},[s("section",{staticClass:"limit-width"},[s("section",{staticClass:"boxes",staticStyle:{margin:"0"}},[s("section",{staticClass:"box",class:{"not-allowed":!t.rate}},[s("section",{staticClass:"input-container"},[s("figure",{staticClass:"label"},[t._v(t._s(t.token.truncatedSymbol()))]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.toSend.amount,expression:"toSend.amount"}],staticClass:"input",attrs:{disabled:!t.rate,placeholder:"0.00"},domProps:{value:t.toSend.amount},on:{input:[function(e){e.target.composing||t.$set(t.toSend,"amount",e.target.value)},t.changedAmount]}}),t._v(" "),s("section",{staticClass:"amount-helpers"},[s("Button",{attrs:{small:"1",text:"50%"},nativeOn:{click:function(e){return t.toSend.amount=t.token.amount/2,void t.changedAmount()}}}),t._v(" "),s("Button",{attrs:{small:"1",text:"100%"},nativeOn:{click:function(e){return t.toSend.amount=t.token.amount,void t.changedAmount()}}})],1)]),t._v(" "),s("figure",{staticClass:"line"}),t._v(" "),s("section",{staticClass:"input-container"},[s("figure",{staticClass:"label"},[t._v(t._s(t.displayCurrency))]),t._v(" "),t.toSend.fiatPrice()?s("input",{directives:[{name:"model",rawName:"v-model",value:t.fiat,expression:"fiat"}],staticClass:"input",attrs:{disabled:!t.rate,placeholder:"0.00"},domProps:{value:t.fiat},on:{input:[function(e){e.target.composing||(t.fiat=e.target.value)},t.changedFiat]}}):s("figure",{staticClass:"input not-available"},[t._v(t._s(t.$t("exchange.priceNotAvailable")))])])]),t._v(" "),t.loadingPairs?s("section",{staticClass:"box account-selector"},[t._m(0),t._v(" "),s("section",[s("figure",{staticClass:"name"},[t._v(t._s(t.$t("exchange.loadingPairs")))]),t._v(" "),s("figure",{staticClass:"network"},[t._v(t._s(t.$t("generic.pleaseWait")))])])]):t._e(),t._v(" "),t.loadingPairs?t._e():s("section",{staticClass:"box account-selector",on:{click:t.selectToken}},[t.pair?t.loadingRate?s("section",{staticClass:"symbol"},[s("i",{staticClass:"icon-spin4 animate-spin"})]):s("section",{staticClass:"symbol"},[s("TokenSymbol",{attrs:{token:t.pair}})],1):s("section",{staticClass:"symbol icon-attention-circled"}),t._v(" "),t.pair?t._e():s("section",[t.pairs.length?s("figure",{staticClass:"name"},[t._v(t._s(t.$t("generic.selectToken")))]):s("figure",{staticClass:"name"},[t._v(t._s(t.$t("exchange.noPairs")))])]),t._v(" "),t.pair?s("section",[t.loadingRate?t._e():s("figure",{staticClass:"name value"},[t._v(t._s(t.estimatedAmount))]),t._v(" "),t.loadingRate?s("figure",{staticClass:"name"},[t._v(t._s(t.$t("exchange.loadingRate")))]):t._e(),t._v(" "),t.pair?s("figure",{staticClass:"network"},[t._v(t._s(t.pair.symbol))]):t._e()]):t._e(),t._v(" "),t.pairs.length?s("figure",{staticClass:"chevron fas fa-caret-square-down"}):t._e()])])])])]),t._v(" "),s("section",{staticClass:"tail"},[s("Button",{attrs:{disabled:!t.canExchange,big:"1",text:"Exchange",blue:"1"},nativeOn:{click:function(e){return t.exchange(e)}}})],1)]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"symbol"},[e("i",{staticClass:"icon-spin4 animate-spin"})])}],!1,null,"1473bdcc",null);e.default=x.exports},Vbfb:function(t,e,s){var i=s("XTGD");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,s("SZ7m").default)("6d268752",i,!0,{})},XTGD:function(t,e,s){(t.exports=s("JPst")(!1)).push([t.i,"",""])}}]); \ No newline at end of file diff --git a/dist/62.bundle.js b/dist/62.bundle.js deleted file mode 100644 index 3d94570..0000000 --- a/dist/62.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[62],{"/SjY":function(t,e,s){"use strict";s.r(e);var i=s("L2JU"),n=s("B0RS"),a=s("q4Ju"),o=s("KHd+"),r=Object(o.a)({},(function(){var t=this.$createElement;return(this._self._c||t)("img",{attrs:{src:"static/assets/icon_send.png"}})}),[],!1,null,null,null).exports,c=s("EnWD"),l=s("qjwK"),u=s("l31u"),f=s.n(u),d=s("IfgB"),p=s("Gbp+"),m={components:{TokenSymbol:s("AZxv").a,SearchAndFilter:n.a,Exchange:a.a,Transfer:r},data:()=>({networkFilter:null,typeFilter:null,terms:"",loadingStatus:!1}),mounted(){this.history.map(t=>{const e="action"===t.type?t.account:t.from;this.keypairs.find(t=>t.unique()===e.keypairUnique)||this[l.DELTA_HISTORY](t)})},computed:{...Object(i.d)(["history"]),...Object(i.c)(["accounts","explorers","keypairs"]),filteredTokenHistories(){return this.history.filter(t=>[c.HISTORY_TYPES.Transfer,c.HISTORY_TYPES.Exchange].includes(t.type)).map(t=>{const e=t.type===c.HISTORY_TYPES.Transfer?t.token:t.fromToken,s=t.type===c.HISTORY_TYPES.Transfer?null:t.toToken,i=t.type===c.HISTORY_TYPES.Transfer?t.amount:t.fromToken.amount,n=t.type===c.HISTORY_TYPES.Transfer?null:t.orderDetails.expected;return{id:t.id,type:t.type,from:t.from,to:t.to,token:e,memo:t.memo,amount:i,toAmount:n,timestamp:t.timestamp,txid:t.txid,toToken:s,order:t.orderDetails,status:t.status}}).filter(t=>!this.networkFilter||t.from.network().unique()===this.networkFilter.unique()).filter(t=>!this.terms.length||(()=>t.from.sendable().toLowerCase().indexOf(this.terms)>-1||t.to.toLowerCase().indexOf(this.terms)>-1||t.token.symbol.toLowerCase().indexOf(this.terms)>-1||t.memo&&t.memo.toLowerCase().indexOf(this.terms)>-1)())},filteredActionHistories(){return this.history.filter(t=>[c.HISTORY_TYPES.Action].includes(t.type)).map(t=>{const e=t.clone();return e.account=this.accounts.find(e=>e.unique()===t.account),e.account?(e.token=e.account.network().systemToken().clone(),e):null}).filter(t=>t).filter(t=>!this.networkFilter||t.account.network().unique()===this.networkFilter.unique()).filter(t=>!this.terms.length||(()=>t.account.sendable().toLowerCase().indexOf(this.terms)>-1||t.action.toLowerCase().indexOf(this.terms)>-1)())},allHistories(){return this.filteredTokenHistories.concat(this.filteredActionHistories).filter(t=>!this.typeFilter||t.type===this.typeFilter).sort((t,e)=>e.timestamp-t.timestamp)}},methods:{decimalsOrDefault:t=>t.decimals?t.decimals:PluginRepository.plugin(t.blockchain).defaultDecimals(),async refreshStatus(t){this.loadingStatus=!0;const e=this.history.find(e=>e.id===t);if(!e)return this.loadingStatus=!1;const s=await f.a.orderStatus(e.orderDetails.id);e.status!==s&&(e.status=s,await this[l.UPDATE_HISTORY](e)),this.loadingStatus=!1},clearHistory(){d.a.push(p.a.prompt(this.$t("histories.clear.title"),this.$t("histories.clear.description"),t=>{t&&(this[l.DELTA_HISTORY](null),this.$router.push({name:this.RouteNames.HOME}))},!0))},view(t){const e=this.explorers[t.token.blockchain].parsed();this.openInBrowser(e.transaction(t.txid))},redo(t){t.type===c.HISTORY_TYPES.Exchange?this.$router.push({name:this.RouteNames.EXCHANGE,query:{history:t.id}}):this.$router.push({name:this.RouteNames.TRANSFER,query:{history:t.id}})},...Object(i.b)([l.DELTA_HISTORY,l.UPDATE_HISTORY])}},h=(s("Vdev"),Object(o.a)(m,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("section",{staticClass:"histories"},[s("SearchAndFilter",{on:{terms:function(e){return t.terms=e}}}),t._v(" "),s("section",{staticClass:"events"},t._l(t.allHistories,(function(e){return s("section",["transfer"===e.type||"exchange"===e.type?s("section",{staticClass:"event"},[s("TokenSymbol",{staticClass:"icon",attrs:{token:"transfer"===e.type?e.token:e.toToken}}),t._v(" "),s("section",{staticClass:"details"},["transfer"===e.type?s("figure",{staticClass:"title"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("histories.sent"))+" "+t._s(t.formatNumber(parseFloat(e.amount).toFixed(t.decimalsOrDefault(e.token)),!0))+" "+t._s(e.token.symbol)+"\n\t\t\t\t\t")]):t._e(),t._v(" "),"exchange"===e.type?s("figure",{staticClass:"title"},[s("figure",{staticClass:"exchange-from"},[t._v("Exchanged "+t._s(t.formatNumber(parseFloat(e.amount).toFixed(t.decimalsOrDefault(e.token)),!0))+" "+t._s(e.token.symbol))]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("histories.received"))+" "+t._s(t.formatNumber(parseFloat(e.toAmount).toFixed(t.decimalsOrDefault(e.toToken)),!0))+" "+t._s(e.toToken.symbol)+"\n\t\t\t\t\t")]):t._e(),t._v(" "),s("section",{staticClass:"row"},["exchange"===e.type?s("figure",{staticClass:"status",on:{click:function(s){return t.refreshStatus(e.id)}}},[t.loadingStatus?s("i",{staticClass:"icon-arrows-ccw animate-spin"}):s("span",[s("i",{staticClass:"icon-check"}),t._v(" "+t._s(e.status))])]):t._e(),t._v(" "),s("figure",{staticClass:"date"},[t._v(t._s(new Date(e.timestamp).toLocaleString()))])]),t._v(" "),e.memo&&e.memo.length?s("section",{staticClass:"row"},[s("figure",{staticClass:"memo"},[t._v(t._s(e.memo))])]):t._e()]),t._v(" "),s("section",{staticClass:"participants"},[s("section",{staticClass:"accounts"},[s("figure",{staticClass:"account blue"},[t._v(t._s(e.from.sendable()))]),t._v(" "),e.from.sendable()!==e.to?s("figure",{staticClass:"account"},[t._v(t._s(e.to))]):t._e()]),t._v(" "),e.from.network()?s("figure",{staticClass:"network"},[t._v(t._s(e.from.network().name))]):s("figure",{staticClass:"network"},[t._v(t._s(t.$t("histories.networkDisabled"))+" ("+t._s(e.from.networkUnique)+")")])]),t._v(" "),s("section",{staticClass:"actions"},[s("Button",{attrs:{text:t.$t("generic.view")},nativeOn:{click:function(s){return t.view(e)}}}),t._v(" "),s("Button",{attrs:{text:t.$t("generic.redo"),blue:"1"},nativeOn:{click:function(s){return t.redo(e)}}})],1)],1):t._e(),t._v(" "),"action"===e.type?s("section",{staticClass:"event"},[s("section",{staticClass:"details"},[s("figure",{staticClass:"title"},[t._v(t._s(e.action))]),t._v(" "),s("section",{staticClass:"row"},[s("figure",{staticClass:"date"},[t._v(t._s(new Date(e.timestamp).toLocaleString()))])])]),t._v(" "),s("section",{staticClass:"participants"},[s("section",{staticClass:"accounts"},[s("figure",{staticClass:"account blue"},[t._v(t._s(e.account.sendable()))])]),t._v(" "),s("figure",{staticClass:"network"},[t._v(t._s(e.account.network().name))])]),t._v(" "),s("section",{staticClass:"actions"},[s("Button",{attrs:{text:t.$t("generic.view")},nativeOn:{click:function(s){return t.view(e)}}})],1)]):t._e()])})),0),t._v(" "),s("section",{staticClass:"tail"},[s("Button",{attrs:{text:"Clear History",blue:"1"},nativeOn:{click:function(e){return t.clearHistory(e)}}})],1)],1)}),[],!1,null,"f0893e48",null));e.default=h.exports},"3A+9":function(t,e,s){var i=s("eyw/");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,s("SZ7m").default)("5f7dbead",i,!0,{})},Vdev:function(t,e,s){"use strict";var i=s("3A+9");s.n(i).a},"eyw/":function(t,e,s){(t.exports=s("JPst")(!1)).push([t.i,".histories[data-v-f0893e48]{height:calc(100vh - 0px);display:flex;flex-direction:column}.histories .tail[data-v-f0893e48]{flex:0 0 auto;display:flex;align-items:center;padding:0 20px;height:70px;border-top:1px solid #dfe0e1;justify-content:flex-end}.histories .events[data-v-f0893e48]{overflow-y:scroll;padding:10px 40px;flex:1}.histories .events .event[data-v-f0893e48]{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe0e1;padding:20px 0}.histories .events .event .icon[data-v-f0893e48]{flex:0 0 auto;margin-right:20px}.histories .events .event .details[data-v-f0893e48]{flex:1;padding-right:20px}.histories .events .event .details .title[data-v-f0893e48]{font-size:12px;font-weight:bold}.histories .events .event .details .exchange-from[data-v-f0893e48]{font-size:10px;color:#7a7a7a}.histories .events .event .details .row[data-v-f0893e48]{margin-top:3px;font-size:10px;display:flex}.histories .events .event .details .row .status[data-v-f0893e48]{margin-right:12px}.histories .events .event .details .row .memo[data-v-f0893e48]{margin-top:10px;font-size:9px;padding:5px;border:1px solid #dfe0e1;border-radius:4px}.histories .events .event .participants[data-v-f0893e48]{flex:1;font-size:10px}.histories .events .event .participants .account[data-v-f0893e48]{font-weight:bold}.histories .events .event .participants .account.blue[data-v-f0893e48]{color:#0799ff}.histories .events .event .participants .network[data-v-f0893e48]{font-size:9px;color:#7a7a7a;margin-top:10px}.histories .events .event .actions[data-v-f0893e48]{padding-left:20px;display:flex;justify-content:flex-end}.histories .events .event .actions button[data-v-f0893e48]{margin-right:10px}\n",""])}}]); \ No newline at end of file diff --git a/dist/63.bundle.js b/dist/63.bundle.js deleted file mode 100644 index cf5dcc0..0000000 --- a/dist/63.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[63],{"DB/g":function(t,i,e){var a=e("G8qj");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,e("SZ7m").default)("780d7aba",a,!0,{})},G8qj:function(t,i,e){(t.exports=e("JPst")(!1)).push([t.i,".identity[data-v-5de5a8c1]{padding:0;height:calc(100vh - 140px)}.identity .id-card[data-v-5de5a8c1]{padding:30px;position:relative;overflow:hidden}@media (max-width: 920px){.identity .id-card[data-v-5de5a8c1]{padding:20px}}@media (max-width: 600px){.identity .id-card[data-v-5de5a8c1]{padding:0px}}.identity .id-card .bg[data-v-5de5a8c1]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:0}.identity .id-card .bg img[data-v-5de5a8c1]{width:100%;height:150%}.identity .id-card .card[data-v-5de5a8c1]{position:relative;z-index:1;background:#fff;width:100%;border-radius:20px;box-shadow:0 2px 10px rgba(0,0,0,0.2),0 2px 5px rgba(0,0,0,0.2);overflow:hidden;max-width:600px;margin:0 auto;display:flex}@media (max-width: 920px){.identity .id-card .card[data-v-5de5a8c1]{border-radius:4px}}@media (max-width: 600px){.identity .id-card .card[data-v-5de5a8c1]{border-radius:0px;box-shadow:0;border-bottom:1px solid #dfe0e1;flex-direction:column}}.identity .id-card .card .avatar[data-v-5de5a8c1]{flex:0.4;border-right:1px solid #dfe0e1;padding:30px;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative}.identity .id-card .card .avatar .image[data-v-5de5a8c1]{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden;display:block;z-index:-1;background-size:cover;background-position:center}.identity .id-card .card .avatar .image[data-v-5de5a8c1]:after{content:'';display:block;position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,0);transition:background 0.3s ease}.identity .id-card .card .avatar .upload[data-v-5de5a8c1]{color:#fff;display:flex;align-items:center;justify-content:center}.identity .id-card .card .avatar .upload .icon[data-v-5de5a8c1]{margin:10px 5px;position:relative;z-index:1;cursor:pointer;width:45px;height:45px;line-height:45px;border-radius:50%;background:#0799ff;color:#fff;font-size:24px;text-align:center;opacity:1;transition:opacity 0.2s ease}.identity .id-card .card .avatar.has-image .upload .icon[data-v-5de5a8c1]{opacity:0}.identity .id-card .card .avatar.has-image:hover .image[data-v-5de5a8c1]:after{background:rgba(0,0,0,0.6)}.identity .id-card .card .avatar.has-image:hover .upload .icon[data-v-5de5a8c1]{opacity:1}.identity .id-card .card .personal[data-v-5de5a8c1]{flex:1;padding:30px;position:relative;overflow:hidden}.identity .id-card .card .personal .bg[data-v-5de5a8c1]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:0}.identity .id-card .card .personal .bg img[data-v-5de5a8c1]{width:100%;height:100%}.identity .id-card .card .personal .inputs label[data-v-5de5a8c1]{margin:0 !important;color:#333 !important}.identity .id-details[data-v-5de5a8c1]{padding:30px}@media (max-width: 920px){.identity .id-details[data-v-5de5a8c1]{padding:20px}}.identity .id-details .ridl-actions[data-v-5de5a8c1]{display:flex;justify-content:space-between;align-items:center}.identity .id-details .ridl-actions .icon[data-v-5de5a8c1]{width:24px;height:24px;font-size:14px;border-radius:50%;border:1px solid #0799ff;color:#0799ff;margin-right:10px;display:flex;justify-content:center;align-items:center}.identity .id-details .ridl-actions .icon.red[data-v-5de5a8c1]{background:#ff0707;color:#fff;border:0}.identity .id-details .ridl-actions .text[data-v-5de5a8c1]{font-size:12px;font-weight:bold;flex:1;padding-right:20px}.identity .id-details .ridl-actions .text p[data-v-5de5a8c1]{margin:0;color:#7a7a7a}\n",""])},e5Fj:function(t,i,e){"use strict";var a=e("DB/g");e.n(a).a},lkON:function(t,i,e){"use strict";e.r(i);var a=e("L2JU"),n=e("qjwK"),s=e("SDtL"),d=e.n(s),l=e("EY8S"),r=e.n(l),c=e("IfgB"),o=e("Gbp+"),h=e("bcyO");let y;var u={data:()=>({identity:null,fullname:"",availableIdentity:!1,loadingRidlData:!1}),computed:{...Object(a.d)(["scatter"]),...Object(a.c)(["identities","locations","avatars","accounts"]),labelStyles:()=>({style:"color:#444; margin-bottom:0;"}),isValidName(){return this.identity&&r.a.nameIsValid(this.identity.name)},nameExists(){return this.identities.find(t=>t.id!==this.identity.id&&t.name.toLowerCase()===this.identity.name.toLowerCase())},nameError(){return this.isValidName?!!this.nameExists&&"This name exists.":"This name is invalid."},selectedLocation(){return this.locations.find(t=>t.id===this.identity.location)},avatar(){if(this.identity)return this.avatars[this.identity.id]},ridlAccount(){return this.accounts.find(t=>t.networkUnique===h.b.networkUnique())},identityIsAvailable(){return!this.availableIdentity},identityNotAvailable(){return this.availableIdentity&&this.availableIdentity.key!==this.identity.publicKey},identityIsClaimable(){return!!this.availableIdentity&&(this.availableIdentity.key===this.identity.publicKey&&"ridlridlridl"===this.availableIdentity.account)},identityIsUsable(){return this.availableIdentity&&this.ridlAccount&&this.availableIdentity.key===this.identity.publicKey&&this.availableIdentity.account===this.ridlAccount.name},identityIsOnWrongAccount(){return this.availableIdentity&&this.ridlAccount&&this.availableIdentity.key===this.identity.publicKey&&this.availableIdentity.account!==this.ridlAccount.name},identityIsOnWrongKey(){return this.availableIdentity&&this.ridlAccount&&this.availableIdentity.key!==this.identity.publicKey&&this.availableIdentity.account===this.ridlAccount.name},isUsingIdentity(){return!!this.availableIdentity&&this.availableIdentity.id===this.identity.ridl}},mounted(){this.selectIdentity(this.identities[0])},methods:{selectIdentity(t){this.identity=t?t.clone():null,this.fullname=[this.identity.personal.firstname,this.identity.personal.lastname].filter(t=>t&&t.length).join(" ")},addIdentity(){const t=this.scatter.clone(),i=r.a.placeholder();i.name=`ID-${d.a.text(4)}`,t.keychain.updateOrPushIdentity(i),this[n.SET_SCATTER](t),this.selectIdentity(i)},removeIdentity(){c.a.push(o.a.prompt(this.$t("identities.removing.title"),this.$t("identities.removing.description",this.identity.name),t=>{if(!t)return;const i=this.identity.clone();this.identity=this.identities.filter(t=>t.id!==i.id)[0];const e=this.scatter.clone();e.keychain.removeIdentity(i),this[n.SET_SCATTER](e)},!0))},async removeAvatar(){const t=this.scatter.clone();delete t.keychain.avatars[this.identity.id],this[n.SET_SCATTER](t)},async uploadAvatar(){let t=await window.wallet.storage.getFileLocation(["jpg","png","jpeg"]);if(!t||!t.length)return;let i=(t=t[0]).split(".");i=i[i.length-1];const e=await window.wallet.storage.openFile(t,{encoding:"base64"});if(!e)return c.a.push(o.a.snackbar("Error converting image file."));const a=document.createElement("canvas"),s=a.getContext("2d"),d=new Image;d.onload=t=>{const e=()=>{const t=Math.min(350/d.width,350/d.height);return{width:Math.round(d.width*t),height:Math.round(d.height*t)}};a.height=e().height,a.width=e().width,s.drawImage(d,0,0,d.width,d.height,0,0,e().width,e().height);const l=new Image;l.src=a.toDataURL(`image/${i}`);const r=this.scatter.clone();r.keychain.avatars[this.identity.id]=l.src,this[n.SET_SCATTER](r)},d.src=`data:image/${i};base64, ${e}`},changeSecurityKey(){c.a.push(o.a.verifyPassword(t=>{t&&c.a.push(o.a.changeIdentityKey(this.identity,t=>{t&&(this.selectIdentity(this.identities.find(t=>t.id===this.identity.id)),this.identity.ridl=-1)}))}))},async updateRidlKey(){this.loadingRidlData||(this.loadingRidlData=!0,await h.b.changeKey(this.identity.name,this.identity.publicKey)?setTimeout(async()=>{this.availableIdentity=await h.b.identityNameIsAvailable(this.identity.name),this.useRidlIdentity(!0),this.loadingRidlData=!1},1e3):this.loadingRidlData=!1)},async updateRidlAccount(){if(this.loadingRidlData)return;this.loadingRidlData=!0;await h.b.changeAccount(this.identity.name,this.ridlAccount.name);this.loadingRidlData=!1},async registerForRIDL(){if(this.loadingRidlData)return;const t=this.identity.name,i=await h.b.identityNameIsAvailable(t);let e;if(!(e=await h.b.getAccount())&&!(e=await h.b.createAccount()))return console.error("Could not create account.");if(this.loadingRidlData=!0,i){const t=await h.b.claim(this.identity.name,this.identity.publicKey).catch(()=>null);if(this.loadingRidlData=!1,!t)return c.a.push(o.a.snackbar("Could not claim identity."));this.identity.ridl=this.availableIdentity.id}else{const i=await h.b.identify(t,this.identity.publicKey).catch(()=>null);if(this.loadingRidlData=!1,!i)return c.a.push(o.a.snackbar("Could not identify identity."));this.identity.ridl=i.id,this.availableIdentity=i}},async useRidlIdentity(t=!1){!t&&this.loadingRidlData||(this.identity.ridl=this.availableIdentity.id)},async stopUsingRidlIdentity(){this.identity.ridl=-1},save(){if(!this.identity)return;const t=this.identities.find(t=>t.id===this.identity.id);if(t&&JSON.stringify(t)===JSON.stringify(this.identity))return;if(!this.isValidName)return;if(this.nameExists)return;const i=this.scatter.clone();i.keychain.updateOrPushIdentity(this.identity),this[n.SET_SCATTER](i)},...Object(a.b)([n.SET_SCATTER])},watch:{fullname(){if(!this.fullname.trim().length)return this.identity.personal.firstname="",this.identity.personal.lastname="",!1;const t=this.fullname.trim().split(" ");this.identity.personal.firstname=t.slice(0,t.length>1?t.length-1:1).join(" ").trim(),this.identity.personal.lastname=t.length>1?t[t.length-1].trim():""},identity:{handler(){clearTimeout(y),y=setTimeout(()=>{this.save()},500)},deep:!0},async"identity.name"(){this.availableIdentity=null,this.isValidName&&(this.loadingRidlData=!0,this.availableIdentity=await h.b.identityNameIsAvailable(this.identity.name),this.loadingRidlData=!1)}}},p=(e("e5Fj"),e("KHd+")),g=Object(p.a)(u,(function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("section",[t.identity?e("section",{staticClass:"blockchain-list-container"},[t.isMobile&&t.identity?t._e():e("section",{staticClass:"blockchains",class:{"full-width":t.isMobile}},[e("section",{staticClass:"head with-button"},[e("figure",[t._v(t._s(t.$t("identities.identities")))]),t._v(" "),e("Button",{attrs:{text:t.$t("generic.add")},nativeOn:{click:function(i){return t.addIdentity(i)}}})],1),t._v(" "),e("section",{staticClass:"scroller"},[e("section",{staticClass:"blockchain-list"},t._l(t.identities,(function(i){return e("section",{staticClass:"badge-item hoverable",class:{active:t.identity.id===i.id},on:{click:function(e){return t.selectIdentity(i)}}},[e("figure",{staticClass:"badge iconed small icon-user"}),t._v(" "),e("section",{staticClass:"details"},[e("figure",{staticClass:"title"},[t._v(t._s(i.name))])])])})),0)])]),t._v(" "),t.identity?e("section",{staticClass:"list-container"},[e("section",{staticClass:"head with-button"},[e("figure",[t.isMobile?e("figure",{staticClass:"back-button",on:{click:function(i){return t.selectIdentity(null)}}},[e("i",{staticClass:"fal fa-arrow-left"})]):t._e()]),t._v(" "),t.identities.length>1?e("Button",{attrs:{text:t.$t("generic.remove")},nativeOn:{click:function(i){return t.removeIdentity(i)}}}):t._e()],1),t._v(" "),e("section",{staticClass:"scroller identity"},[e("section",{staticClass:"id-card"},[t._m(0),t._v(" "),e("section",{staticClass:"card"},[e("section",{staticClass:"avatar",class:{"has-image":t.scatter.keychain.avatars[t.identity.id]}},[t.avatar?e("figure",{staticClass:"image",style:"background-image:url('"+t.avatar+"')"}):e("img",{attrs:{src:"static/assets/id_card_avatar.png"}}),t._v(" "),e("figure",{staticClass:"upload"},[t.scatter.keychain.avatars[t.identity.id]?e("figure",{directives:[{name:"tooltip",rawName:"v-tooltip",value:"Remove",expression:"'Remove'"}],staticClass:"icon icon-cancel",on:{click:t.removeAvatar}}):t._e(),t._v(" "),e("figure",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.scatter.keychain.avatars[t.identity.id]?"Change":"Add an Image",expression:"scatter.keychain.avatars[identity.id] ? 'Change' : 'Add an Image'"}],staticClass:"icon icon-plus",on:{click:t.uploadAvatar}})])]),t._v(" "),e("section",{staticClass:"personal"},[t._m(1),t._v(" "),e("section",{staticClass:"inputs"},[e("Input",{attrs:{"label-styles":t.labelStyles,label:t.$t("identities.personal.nameLabel"),placeholder:t.$t("identities.personal.namePlaceholder"),text:t.fullname},on:{changed:function(i){return t.fullname=i}}}),t._v(" "),e("Input",{staticStyle:{flex:"1"},attrs:{"label-styles":t.labelStyles,small:"1",label:t.$t("identities.personal.emailLabel"),placeholder:"support@get-scatter.com",text:t.identity.personal.email},on:{changed:function(i){return t.identity.personal.email=i}}}),t._v(" "),e("Input",{staticStyle:{flex:"0.4","margin-top":"15px"},attrs:{"label-styles":t.labelStyles,small:"1",label:t.$t("identities.personal.dobLabel"),type:"date",placeholder:"MM/DD/YYYY",text:t.identity.personal.birthdate},on:{changed:function(i){return t.identity.personal.birthdate=i}}})],1)])])]),t._v(" "),e("section",{staticClass:"id-details limit-800"},[e("figure",{staticClass:"section-title"},[t._v(t._s(t.$t("identities.id.nameLabel")))]),t._v(" "),e("Input",{attrs:{error:t.nameError,big:"1",placeholder:t.$t("identities.id.namePlaceholder"),text:t.identity.name},on:{changed:function(i){return t.identity.name=i}}}),t._v(" "),e("br"),t._v(" "),e("br"),t._v(" "),e("figure",{staticClass:"section-title"},[t._v(t._s(t.$t("identities.location.title")))]),t._v(" "),e("Select",{attrs:{bordered:"1",options:[null].concat(t.locations),parser:function(i){return i?i.name:t.$t("identities.location.noneSelected")},selected:t.selectedLocation},on:{selected:function(i){return t.identity.location=i?i.id:null}}}),t._v(" "),e("br"),t._v(" "),e("br"),t._v(" "),e("br"),t._v(" "),e("br"),t._v(" "),e("figure",{staticClass:"section-title"},[t._v(t._s(t.$t("identities.auth.title")))]),t._v(" "),e("p",[t._v(t._s(t.$t("identities.auth.description")))]),t._v(" "),e("section",{staticClass:"split-inputs"},[e("section",{staticStyle:{flex:"1"}},[e("Input",{staticStyle:{margin:"0"},attrs:{text:t.identity.publicKey,disabled:"1",copy:"1"}})],1),t._v(" "),e("section",[e("Button",{attrs:{text:t.$t("identities.auth.changeButton")},nativeOn:{click:function(i){return t.changeSecurityKey(i)}}})],1)]),t._v(" "),e("br"),t._v(" "),e("br"),t._v(" "),e("br"),t._v(" "),e("br")],1)])]):t._e()]):t._e()])}),[function(){var t=this.$createElement,i=this._self._c||t;return i("figure",{staticClass:"bg"},[i("img",{attrs:{src:"static/assets/login_bg.jpg"}})])},function(){var t=this.$createElement,i=this._self._c||t;return i("figure",{staticClass:"bg"},[i("img",{attrs:{src:"static/assets/id_card_bg.png"}})])}],!1,null,"5de5a8c1",null);i.default=g.exports}}]); \ No newline at end of file diff --git a/dist/64.bundle.js b/dist/64.bundle.js deleted file mode 100644 index b5bae1f..0000000 --- a/dist/64.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[64],{cHZP:function(e,a,n){var o=n("o3fu");"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);(0,n("SZ7m").default)("59361e52",o,!0,{})},fe4H:function(e,a,n){"use strict";n.r(a);var o=n("L2JU"),c=n("qjwK"),t=n("EY8S"),i=[{name:"United States",code:"US"},{name:"Canada",code:"CA"},{name:"United Kingdom",code:"GB"},{name:"Australia",code:"AU"},{name:"Germany",code:"DE"},{name:"France",code:"FR"},{name:"Afghanistan",code:"AF"},{name:"Åland Islands",code:"AX"},{name:"Albania",code:"AL"},{name:"Algeria",code:"DZ"},{name:"American Samoa",code:"AS"},{name:"AndorrA",code:"AD"},{name:"Angola",code:"AO"},{name:"Anguilla",code:"AI"},{name:"Antarctica",code:"AQ"},{name:"Antigua and Barbuda",code:"AG"},{name:"Argentina",code:"AR"},{name:"Armenia",code:"AM"},{name:"Aruba",code:"AW"},{name:"Austria",code:"AT"},{name:"Azerbaijan",code:"AZ"},{name:"Bahamas",code:"BS"},{name:"Bahrain",code:"BH"},{name:"Bangladesh",code:"BD"},{name:"Barbados",code:"BB"},{name:"Belarus",code:"BY"},{name:"Belgium",code:"BE"},{name:"Belize",code:"BZ"},{name:"Benin",code:"BJ"},{name:"Bermuda",code:"BM"},{name:"Bhutan",code:"BT"},{name:"Bolivia",code:"BO"},{name:"Bosnia and Herzegovina",code:"BA"},{name:"Botswana",code:"BW"},{name:"Bouvet Island",code:"BV"},{name:"Brazil",code:"BR"},{name:"British Indian Ocean Territory",code:"IO"},{name:"Brunei Darussalam",code:"BN"},{name:"Bulgaria",code:"BG"},{name:"Burkina Faso",code:"BF"},{name:"Burundi",code:"BI"},{name:"Cambodia",code:"KH"},{name:"Cameroon",code:"CM"},{name:"Cape Verde",code:"CV"},{name:"Cayman Islands",code:"KY"},{name:"Central African Republic",code:"CF"},{name:"Chad",code:"TD"},{name:"Chile",code:"CL"},{name:"China",code:"CN"},{name:"Christmas Island",code:"CX"},{name:"Cocos (Keeling) Islands",code:"CC"},{name:"Colombia",code:"CO"},{name:"Comoros",code:"KM"},{name:"Congo",code:"CG"},{name:"Congo, The Democratic Republic of the",code:"CD"},{name:"Cook Islands",code:"CK"},{name:"Costa Rica",code:"CR"},{name:"Cote D'Ivoire",code:"CI"},{name:"Croatia",code:"HR"},{name:"Cuba",code:"CU"},{name:"Cyprus",code:"CY"},{name:"Czech Republic",code:"CZ"},{name:"Denmark",code:"DK"},{name:"Djibouti",code:"DJ"},{name:"Dominica",code:"DM"},{name:"Dominican Republic",code:"DO"},{name:"Ecuador",code:"EC"},{name:"Egypt",code:"EG"},{name:"El Salvador",code:"SV"},{name:"Equatorial Guinea",code:"GQ"},{name:"Eritrea",code:"ER"},{name:"Estonia",code:"EE"},{name:"Ethiopia",code:"ET"},{name:"Falkland Islands (Malvinas)",code:"FK"},{name:"Faroe Islands",code:"FO"},{name:"Fiji",code:"FJ"},{name:"Finland",code:"FI"},{name:"French Guiana",code:"GF"},{name:"French Polynesia",code:"PF"},{name:"French Southern Territories",code:"TF"},{name:"Gabon",code:"GA"},{name:"Gambia",code:"GM"},{name:"Georgia",code:"GE"},{name:"Ghana",code:"GH"},{name:"Gibraltar",code:"GI"},{name:"Greece",code:"GR"},{name:"Greenland",code:"GL"},{name:"Grenada",code:"GD"},{name:"Guadeloupe",code:"GP"},{name:"Guam",code:"GU"},{name:"Guatemala",code:"GT"},{name:"Guernsey",code:"GG"},{name:"Guinea",code:"GN"},{name:"Guinea-Bissau",code:"GW"},{name:"Guyana",code:"GY"},{name:"Haiti",code:"HT"},{name:"Heard Island and Mcdonald Islands",code:"HM"},{name:"Holy See (Vatican City State)",code:"VA"},{name:"Honduras",code:"HN"},{name:"Hong Kong",code:"HK"},{name:"Hungary",code:"HU"},{name:"Iceland",code:"IS"},{name:"India",code:"IN"},{name:"Indonesia",code:"ID"},{name:"Iran, Islamic Republic Of",code:"IR"},{name:"Iraq",code:"IQ"},{name:"Ireland",code:"IE"},{name:"Isle of Man",code:"IM"},{name:"Israel",code:"IL"},{name:"Italy",code:"IT"},{name:"Jamaica",code:"JM"},{name:"Japan",code:"JP"},{name:"Jersey",code:"JE"},{name:"Jordan",code:"JO"},{name:"Kazakhstan",code:"KZ"},{name:"Kenya",code:"KE"},{name:"Kiribati",code:"KI"},{name:"Korea, Democratic People'S Republic of",code:"KP"},{name:"Korea, Republic of",code:"KR"},{name:"Kuwait",code:"KW"},{name:"Kyrgyzstan",code:"KG"},{name:"Lao People'S Democratic Republic",code:"LA"},{name:"Latvia",code:"LV"},{name:"Lebanon",code:"LB"},{name:"Lesotho",code:"LS"},{name:"Liberia",code:"LR"},{name:"Libyan Arab Jamahiriya",code:"LY"},{name:"Liechtenstein",code:"LI"},{name:"Lithuania",code:"LT"},{name:"Luxembourg",code:"LU"},{name:"Macao",code:"MO"},{name:"Macedonia, The Former Yugoslav Republic of",code:"MK"},{name:"Madagascar",code:"MG"},{name:"Malawi",code:"MW"},{name:"Malaysia",code:"MY"},{name:"Maldives",code:"MV"},{name:"Mali",code:"ML"},{name:"Malta",code:"MT"},{name:"Marshall Islands",code:"MH"},{name:"Martinique",code:"MQ"},{name:"Mauritania",code:"MR"},{name:"Mauritius",code:"MU"},{name:"Mayotte",code:"YT"},{name:"Mexico",code:"MX"},{name:"Micronesia, Federated States of",code:"FM"},{name:"Moldova, Republic of",code:"MD"},{name:"Monaco",code:"MC"},{name:"Mongolia",code:"MN"},{name:"Montenegro",code:"ME"},{name:"Montserrat",code:"MS"},{name:"Morocco",code:"MA"},{name:"Mozambique",code:"MZ"},{name:"Myanmar",code:"MM"},{name:"Namibia",code:"NA"},{name:"Nauru",code:"NR"},{name:"Nepal",code:"NP"},{name:"Netherlands",code:"NL"},{name:"Netherlands Antilles",code:"AN"},{name:"New Caledonia",code:"NC"},{name:"New Zealand",code:"NZ"},{name:"Nicaragua",code:"NI"},{name:"Niger",code:"NE"},{name:"Nigeria",code:"NG"},{name:"Niue",code:"NU"},{name:"Norfolk Island",code:"NF"},{name:"Northern Mariana Islands",code:"MP"},{name:"Norway",code:"NO"},{name:"Oman",code:"OM"},{name:"Pakistan",code:"PK"},{name:"Palau",code:"PW"},{name:"Palestinian Territory, Occupied",code:"PS"},{name:"Panama",code:"PA"},{name:"Papua New Guinea",code:"PG"},{name:"Paraguay",code:"PY"},{name:"Peru",code:"PE"},{name:"Philippines",code:"PH"},{name:"Pitcairn",code:"PN"},{name:"Poland",code:"PL"},{name:"Portugal",code:"PT"},{name:"Puerto Rico",code:"PR"},{name:"Qatar",code:"QA"},{name:"Reunion",code:"RE"},{name:"Romania",code:"RO"},{name:"Russian Federation",code:"RU"},{name:"RWANDA",code:"RW"},{name:"Saint Helena",code:"SH"},{name:"Saint Kitts and Nevis",code:"KN"},{name:"Saint Lucia",code:"LC"},{name:"Saint Pierre and Miquelon",code:"PM"},{name:"Saint Vincent and the Grenadines",code:"VC"},{name:"Samoa",code:"WS"},{name:"San Marino",code:"SM"},{name:"Sao Tome and Principe",code:"ST"},{name:"Saudi Arabia",code:"SA"},{name:"Senegal",code:"SN"},{name:"Serbia",code:"RS"},{name:"Seychelles",code:"SC"},{name:"Sierra Leone",code:"SL"},{name:"Singapore",code:"SG"},{name:"Slovakia",code:"SK"},{name:"Slovenia",code:"SI"},{name:"Solomon Islands",code:"SB"},{name:"Somalia",code:"SO"},{name:"South Africa",code:"ZA"},{name:"South Georgia and the South Sandwich Islands",code:"GS"},{name:"Spain",code:"ES"},{name:"Sri Lanka",code:"LK"},{name:"Sudan",code:"SD"},{name:"Suriname",code:"SR"},{name:"Svalbard and Jan Mayen",code:"SJ"},{name:"Swaziland",code:"SZ"},{name:"Sweden",code:"SE"},{name:"Switzerland",code:"CH"},{name:"Syrian Arab Republic",code:"SY"},{name:"Taiwan, Province of China",code:"TW"},{name:"Tajikistan",code:"TJ"},{name:"Tanzania, United Republic of",code:"TZ"},{name:"Thailand",code:"TH"},{name:"Timor-Leste",code:"TL"},{name:"Togo",code:"TG"},{name:"Tokelau",code:"TK"},{name:"Tonga",code:"TO"},{name:"Trinidad and Tobago",code:"TT"},{name:"Tunisia",code:"TN"},{name:"Turkey",code:"TR"},{name:"Turkmenistan",code:"TM"},{name:"Turks and Caicos Islands",code:"TC"},{name:"Tuvalu",code:"TV"},{name:"Uganda",code:"UG"},{name:"Ukraine",code:"UA"},{name:"United Arab Emirates",code:"AE"},{name:"United States Minor Outlying Islands",code:"UM"},{name:"Uruguay",code:"UY"},{name:"Uzbekistan",code:"UZ"},{name:"Vanuatu",code:"VU"},{name:"Venezuela",code:"VE"},{name:"Viet Nam",code:"VN"},{name:"Virgin Islands, British",code:"VG"},{name:"Virgin Islands, U.S.",code:"VI"},{name:"Wallis and Futuna",code:"WF"},{name:"Western Sahara",code:"EH"},{name:"Yemen",code:"YE"},{name:"Zambia",code:"ZM"},{name:"Zimbabwe",code:"ZW"}];let d;var m={data:()=>({location:null,countries:i}),computed:{...Object(o.d)(["scatter"]),...Object(o.c)(["locations"]),isValidName(){if(this.location)return this.location.name.length},nameExists(){if(this.location)return this.locations.find(e=>e.id!==this.location.id&&e.name.toLowerCase()===this.location.name.toLowerCase())}},mounted(){this.locations.length?this.selectLocation(this.locations[0]):this.addLocation()},methods:{selectLocation(e){this.location=e?e.clone():null},addLocation(){const e=this.scatter.clone(),a=t.LocationInformation.placeholder();a.name=`New Location - ${(new Date).toLocaleString()}`,e.keychain.updateOrPushLocation(a),this[c.SET_SCATTER](e),this.location=a.clone()},removeLocation(){if(!this.location)return;const e=this.location.clone();this.selectLocation(this.locations.find(a=>a.id!==e.id));const a=this.scatter.clone();a.keychain.removeLocation(e),this[c.SET_SCATTER](a)},save(){if(!this.location)return;const e=this.locations.find(e=>e.id===this.location.id);if(e&&JSON.stringify(e)===JSON.stringify(this.location))return;if(!this.isValidName)return;if(this.nameExists)return;const a=this.scatter.clone();a.keychain.updateOrPushLocation(this.location),this[c.SET_SCATTER](a)},...Object(o.b)([c.SET_SCATTER])},watch:{location:{handler(){clearTimeout(d),d=setTimeout(()=>{this.save()},500)},deep:!0}}},s=(n("zSdM"),n("KHd+")),l=Object(s.a)(m,(function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("section",[n("section",{staticClass:"blockchain-list-container"},[e.isMobile&&e.location?e._e():n("section",{staticClass:"blockchains",class:{"full-width":e.isMobile}},[n("section",{staticClass:"head with-button"},[n("figure",[e._v(e._s(e.$t("locations.locations")))]),e._v(" "),n("Button",{attrs:{text:e.$t("generic.add")},nativeOn:{click:function(a){return e.addLocation(a)}}})],1),e._v(" "),n("section",{staticClass:"scroller"},[n("section",{staticClass:"blockchain-list"},e._l(e.locations,(function(a){return n("section",{staticClass:"badge-item hoverable",class:{active:e.location&&e.location.id===a.id},on:{click:function(n){return e.selectLocation(a)}}},[n("figure",{staticClass:"badge iconed small icon-globe"}),e._v(" "),n("section",{staticClass:"details"},[n("figure",{staticClass:"title"},[e._v(e._s(a.name))])])])})),0)])]),e._v(" "),e.location?n("section",{staticClass:"list-container"},[n("section",{staticClass:"head with-button"},[n("figure",[e.isMobile?n("figure",{staticClass:"back-button",on:{click:function(a){return e.selectLocation(null)}}},[n("i",{staticClass:"fal fa-arrow-left"})]):e._e()]),e._v(" "),e.location&&e.locations.length>1?n("Button",{attrs:{text:e.$t("generic.remove")},nativeOn:{click:function(a){return e.removeLocation(a)}}}):e._e()],1),e._v(" "),e.location?n("section",{staticClass:"scroller location"},[n("section",{staticClass:"limit-800"},[n("figure",{staticClass:"section-title"},[e._v(e._s(e.$t("locations.nameLabel")))]),e._v(" "),n("Input",{attrs:{big:"1",placeholder:e.$t("locations.namePlaceholder"),text:e.location.name},on:{changed:function(a){return e.location.name=a}}}),e._v(" "),n("br"),e._v(" "),n("br"),e._v(" "),n("figure",{staticClass:"section-title"},[e._v(e._s(e.$t("locations.countryLabel")))]),e._v(" "),n("Select",{staticStyle:{flex:"3"},attrs:{bordered:"1",label:e.$t("locations.countryLabel"),selected:e.location.country,options:[null].concat(e.countries),parser:function(a){return a?a.name:e.$t("locations.countryItemNone")}},on:{selected:function(a){return e.location.country=a}}}),e._v(" "),n("br"),e._v(" "),n("br"),e._v(" "),n("br"),e._v(" "),n("figure",{staticClass:"section-title"},[e._v(e._s(e.$t("locations.addressLabel")))]),e._v(" "),n("Input",{attrs:{text:e.location.address},on:{changed:function(a){return e.location.address=a}}}),e._v(" "),n("section",{staticClass:"split-inputs"},[n("Input",{attrs:{label:e.$t("locations.cityLabel"),text:e.location.city},on:{changed:function(a){return e.location.city=a}}}),e._v(" "),n("Input",{attrs:{label:e.$t("locations.stateLabel"),text:e.location.state},on:{changed:function(a){return e.location.state=a}}})],1),e._v(" "),n("Input",{attrs:{label:e.$t("locations.phoneLabel"),placeholder:"5555555555",text:e.location.phone},on:{changed:function(a){return e.location.phone=a}}})],1)]):e._e()]):e._e()])])}),[],!1,null,"21ac8b26",null);a.default=l.exports},o3fu:function(e,a,n){(e.exports=n("JPst")(!1)).push([e.i,".location[data-v-21ac8b26]{padding:30px}@media (max-width: 920px){.location[data-v-21ac8b26]{padding:20px}}\n",""])},zSdM:function(e,a,n){"use strict";var o=n("cHZP");n.n(o).a}}]); \ No newline at end of file diff --git a/dist/65.bundle.js b/dist/65.bundle.js deleted file mode 100644 index 0760d02..0000000 --- a/dist/65.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[65],{"+38j":function(e,t,s){(e.exports=s("JPst")(!1)).push([e.i,"",""])},fpPZ:function(e,t,s){"use strict";var n=s("iBna");s.n(n).a},iBna:function(e,t,s){var n=s("+38j");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,s("SZ7m").default)("d179451c",n,!0,{})},rU3z:function(e,t,s){"use strict";s.r(t);var n=s("L2JU"),i=s("F+MN"),a=s("MPB0"),c=s("78si"),o=s.n(c),l=s("IMve"),r=s.n(l),u=s("B9Ha"),d=s.n(u),h=s("8s8y"),k=s("5lq1"),w=s.n(k),f=s("IfgB"),p=s("Gbp+"),g={components:{EditNetwork:h.a},data:()=>({expandedUnique:null,expanded:null,knownNetworks:[],test:!1,blockchains:i.BlockchainsArray.map(e=>e.value),selectedBlockchain:null,unreachable:{}}),computed:{...Object(n.c)(["networks","accounts"]),visibleNetworks(){return this.networksFor(this.selectedBlockchain).sort((e,t)=>{const s=r.a.plugin(this.selectedBlockchain).getEndorsedNetwork(),n=s.unique()===t.unique()?1:s.unique()===e.unique()?-1:0;let i=e.namet.name?1:0;return n||i})}},created(){this.init()},methods:{async init(){this.isMobile||(this.selectedBlockchain=this.blockchains[0]),this.setWorkingScreen(!0),this.knownNetworks=await Promise.race([new Promise(e=>setTimeout(()=>e([]),2e3)),Object(a.GET)("networks?flat=true").then(e=>e.map(e=>o.a.fromJson(e))).catch(()=>[])]),this.setWorkingScreen(!1),this.networks.map(async e=>{await this.checkReachable(e)})},cantReach(e){return this.unreachable[e.unique()]},isCustom(e){return!this.networksFor(e.blockchain,!1).find(t=>t.unique()===e.unique())},selectBlockchain(e){this.selectedBlockchain=e,this.expanded=null},isEnabled(e){return!!this.networks.find(t=>t.unique()===e.unique())},async toggleNetwork(e){this.setWorkingScreen(!0),this.isEnabled(e)?await d.a.removeNetwork(e):(await d.a.addNetwork(e),await w.a.importAllAccountsForNetwork(e)),this.setWorkingScreen(!1)},toggleExpansion(e){if(this.expanded&&this.expanded.unique()===e.unique())return this.expandedUnique=null,this.expanded=null;this.expandedUnique=e.unique(),this.expanded=e.clone()},networkJson(e){const t=e.clone();return delete t.id,delete t.createdAt,t.fromOrigin||delete t.fromOrigin,t.token?(delete t.token.id,delete t.token.amount,delete t.token.unusable,delete t.token.fromOrigin,delete t.token.createdAt):delete t.token,t},networksFor(e,t=!0){const s=(()=>{const t=r.a.plugin(e).getEndorsedNetwork();return this.networks.find(e=>e.unique()===t.unique())?[]:[t]})(),n=t?this.networks.filter(t=>t.blockchain===e):[],i=this.knownNetworks.filter(t=>t.blockchain===e);return s.concat(n).concat(i).reduce((e,t)=>(e.find(e=>e.unique()===t.unique())||e.push(t),e),[])},async saveNetwork(){await d.a.updateNetwork(this.expanded),this.expanded=null,this.expandedUnique=null},addCustomNetwork(){f.a.push(p.a.addCustomNetwork(this.selectedBlockchain,async e=>{e&&this.checkReachable(e)}))},async checkReachable(e){await r.a.plugin(e.blockchain).checkNetwork(e)||(this.unreachable[e.unique()]=!0,this.$forceUpdate())}}},b=(s("fpPZ"),s("KHd+")),_=Object(b.a)(g,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("section",{staticClass:"blockchain-list-container"},[e.isMobile&&e.selectedBlockchain?e._e():s("section",{staticClass:"blockchains",class:{"full-width":e.isMobile}},[s("section",{staticClass:"head"},[e._v("\n\t\t\t"+e._s(e.$t("generic.selectBlockchain"))+"\n\t\t")]),e._v(" "),s("section",{staticClass:"scroller"},[s("section",{staticClass:"blockchain-list"},e._l(e.blockchains,(function(t){return s("section",{staticClass:"badge-item hoverable",class:{active:e.selectedBlockchain===t},on:{click:function(s){return e.selectBlockchain(t)}}},[s("figure",{staticClass:"badge iconed",class:"token-"+t+"-"+t}),e._v(" "),s("section",{staticClass:"details"},[s("figure",{staticClass:"title"},[e._v(e._s(e.blockchainName(t)))]),e._v(" "),s("figure",{staticClass:"row"},[s("figure",{staticClass:"secondary"},[e._v(e._s(e.networksFor(t).length)+" "+e._s(e.$tc("generic.networks",e.networksFor(t).length)))])])]),e._v(" "),s("i",{staticClass:"fal fa-chevron-right"})])})),0)])]),e._v(" "),!e.isMobile||e.selectedBlockchain?s("section",{staticClass:"list-container"},[s("section",{staticClass:"head"},[e.isMobile?s("figure",{staticClass:"back-button",on:{click:function(t){return e.selectBlockchain(null)}}},[s("i",{staticClass:"fal fa-arrow-left"})]):e._e(),e._v("\n\t\t\t"+e._s(e.$tc("generic.networks",2))+"\n\t\t")]),e._v(" "),s("section",{staticClass:"scroller with-tail"},[s("section",{staticClass:"item-list"},e._l(e.visibleNetworks,(function(t){return s("section",{staticClass:"item"},[s("section",{staticClass:"basics",class:{open:e.expanded&&e.expanded.unique()===t.unique()}},[s("figure",{staticClass:"chevron",on:{click:function(s){return e.toggleExpansion(t)}}},[s("i",{staticClass:"fas fa-caret-circle-up"})]),e._v(" "),s("section",{staticClass:"details",on:{click:function(s){return e.toggleExpansion(t)}}},[s("figure",{staticClass:"name"},[e._v(e._s(t.name))]),e._v(" "),s("figure",{staticClass:"text"},[e._v(e._s(t.host))]),e._v(" "),e.cantReach(t)?s("figure",{staticClass:"connection-error"},[s("i",{staticClass:"icon-attention"}),e._v(" "+e._s(e.$t("networks.connectionError"))+"\n\t\t\t\t\t\t\t")]):e._e()]),e._v(" "),s("section",{staticClass:"actions"},[s("figure",{staticClass:"system-token"},[e._v(e._s(t.systemToken().symbol))]),e._v(" "),e.isCustom(t)?e._e():s("Switcher",{staticClass:"switch",attrs:{state:e.isEnabled(t)},on:{switched:function(s){return e.toggleNetwork(t)}}}),e._v(" "),e.isCustom(t)?s("Button",{attrs:{blue:"1",text:e.$t("generic.remove")},nativeOn:{click:function(s){return e.toggleNetwork(t)}}}):e._e()],1)]),e._v(" "),e.expandedUnique===t.unique()?s("section",{staticClass:"expanded"},[e.isEnabled(t)?s("EditNetwork",{attrs:{original:e.expanded},on:{updated:function(t){return e.expanded=t},save:e.saveNetwork}}):s("pre",[e._v(e._s(e.networkJson(t)))])],1):e._e()])})),0)]),e._v(" "),s("section",{staticClass:"tail"},[s("Button",{attrs:{text:"Add custom network",blue:"1"},nativeOn:{click:function(t){return e.addCustomNetwork(t)}}})],1)]):e._e()])}),[],!1,null,"7fbd8541",null);t.default=_.exports}}]); \ No newline at end of file diff --git a/dist/66.bundle.js b/dist/66.bundle.js deleted file mode 100644 index 3e9cbac..0000000 --- a/dist/66.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[66],{3466:function(t,c,s){(t.exports=s("JPst")(!1)).push([t.i,"",""])},"4ZpK":function(t,c,s){"use strict";s.r(c);var e=s("L2JU"),a=s("IfgB"),n=s("Gbp+"),o=s("sZoq"),i=s.n(o),l=s("F+MN");s("8olR");var u={data:()=>({account:null,qr:null,Blockchains:l.Blockchains}),computed:{...Object(e.c)(["accounts"])},mounted(){this.$route.query.account&&this.selectedAccount(this.accounts.find(t=>t.identifiable()===this.$route.query.account)),this.account||this.selectedAccount(this.accounts.sort((t,c)=>c.totalFiatBalance()-t.totalFiatBalance())[0])},methods:{selectAccount(){a.a.push(n.a.selectAccount(t=>{t&&this.selectedAccount(t)}))},async selectedAccount(t){this.account=t;const c={account:t.sendable(),blockchain:t.network().blockchain,chainId:t.network().chainId};this.qr=await i.a.createUnEncryptedQR(c)},copy(){this.copyText(this.account.sendable())}}},r=(s("oAjA"),s("KHd+")),d=Object(r.a)(u,(function(){var t=this,c=t.$createElement,s=t._self._c||c;return s("section",{staticClass:"receive"},[s("section",{staticClass:"scroller"},[t.account?s("section",{staticClass:"greyback"},[s("section",{staticClass:"limit-width"},[s("label",[t._v(t._s(t.$t("receive.receiver")))]),t._v(" "),s("section",{staticClass:"boxes"},[s("section",{staticClass:"box account-selector",on:{click:t.selectAccount}},[s("section",[s("figure",{staticClass:"name"},[t._v(t._s(t.account.sendable()))]),t._v(" "),s("figure",{staticClass:"network"},[t._v(t._s(t.account.network().name))])]),t._v(" "),s("figure",{staticClass:"chevron fas fa-caret-square-down"})])])])]):t._e(),t._v(" "),t.account?s("section",{staticClass:"whiteback"},[s("section",{staticClass:"limit-width"},[s("section",{staticClass:"boxes"},[t.qr?s("section",{staticClass:"box nested auto-width"},[s("img",{attrs:{src:t.qr}})]):t._e(),t._v(" "),s("section",{staticClass:"box nested data-box"},[s("section",[s("label",[t._v(t._s(t.$t("receive.sendTo")))]),t._v(" "),s("figure",{staticClass:"receiver"},[t._v(t._s(t.account.sendable()))])]),t._v(" "),s("section",[t.account.blockchain()===t.Blockchains.EOSIO?s("figure",{staticClass:"small-info"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.$t("receive.forEosio"))+"\n\t\t\t\t\t\t\t")]):t._e(),t._v(" "),s("Button",{attrs:{blue:"1",text:t.$t("generic.copy")},nativeOn:{click:function(c){return t.copy(c)}}})],1)])])])]):t._e()])])}),[],!1,null,"03be49ea",null);c.default=d.exports},Dqqd:function(t,c,s){var e=s("3466");"string"==typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);(0,s("SZ7m").default)("1a13e509",e,!0,{})},oAjA:function(t,c,s){"use strict";var e=s("Dqqd");s.n(e).a}}]); \ No newline at end of file diff --git a/dist/67.bundle.js b/dist/67.bundle.js deleted file mode 100644 index a99daa3..0000000 --- a/dist/67.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[67],{Ccgo:function(t,e,n){var s=n("kx/y");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,n("SZ7m").default)("4b691e43",s,!0,{})},aaq0:function(t,e,n){"use strict";n.r(e);var s=n("L2JU"),i=n("IfgB"),a=n("Gbp+"),o=n("GwxU"),c=n.n(o),r=n("KLk5"),l=n.n(r),u=n("M1Dr"),h=n.n(u),d=n("TmN8"),m=n.n(d),p=n("48Ae"),f=n("AZxv");n("8olR");var v={components:{TokenSymbol:f.a},data:()=>({account:null,token:null,recipient:null,memo:"",toSend:null,fiat:0,sending:!1}),computed:{...Object(s.d)(["history"]),...Object(s.c)(["accounts","displayCurrency","contacts"]),sendableTokens(){return this.account.tokens().filter(t=>!t.unusable).sort((t,e)=>c.a.sorter(t,e))},canSend(){return!this.sending&&this.recipient&&this.recipient.length&&this.toSend&&this.toSend.amount>0}},mounted(){this.init()},methods:{init(){const t=this.$route.query.history?this.history.find(t=>t.id===this.$route.query.history):null,e=this.$route.query.account?(()=>{const t=this.accounts.find(t=>t.identifiable()===this.$route.query.account);return t?{account:t,token:this.$route.query.token?t.tokens().find(t=>t.uniqueWithChain()===this.$route.query.token):null}:null})():null,n=this.$route.query.recipient;if(t)this.account=t.from,this.recipient=t.to,this.memo=t.memo,this.token=this.account.tokens().find(e=>e.uniqueWithChain()===t.token.uniqueWithChain()),this.toSend=t.token.clone(),this.toSend.amount=t.amount,this.changedAmount();else if(e)this.account=e.account,e.token?this.setToken(e.token):this.setToken(this.sendableTokens[0]);else if(n){const t=this.contacts.find(t=>t.id===n);this.recipient=t.recipient,this.account=this.accounts.filter(e=>!t.blockchain||e.blockchain()===t.blockchain).filter(t=>t.tokens().length).sort((t,e)=>e.totalFiatBalance()-t.totalFiatBalance())[0],this.setToken(this.sendableTokens[0])}else this.account=this.accounts.filter(t=>t.tokens().length).sort((t,e)=>e.totalFiatBalance()-t.totalFiatBalance())[0],this.setToken(this.sendableTokens[0]);this.account&&this.token&&this.toSend||setTimeout(()=>{this.init()},1e3)},selectTokenAndAccount(){i.a.push(a.a.selectTokenAndAccount(t=>{if(!t)return;const{token:e,account:n}=t;this.account=n,this.setToken(e)}))},selectRecipient(){i.a.push(a.a.selectRecipient(this.account?this.account.blockchain():null,t=>{t&&(this.recipient=t)}))},setToken(t){t&&(m.a.setPrices(),this.token=(()=>{const e=this.account.tokens().find(e=>e.uniqueWithChain()===t.uniqueWithChain());if(e)return e.clone();const n=t.clone();return n.amount=0,n})(),this.toSend=this.token.clone(),this.toSend.amount=0,this.fiat=0)},changedFiat(){this.toSend.amount=parseFloat(this.fiat/this.toSend.fiatPrice(!1)).toFixed(this.toSend.decimals)},changedAmount(){this.fiat=this.toSend.amount&&""!==this.toSend.amount?this.toSend.fiatBalance(!1):null},async send(){const t=()=>this.sending=!1;if(!this.canSend)return;if(this.sending=!0,!await p.a.verifyPIN())return t();this.setWorkingScreen(!0);const e=this.account.blockchain(),n=await h.a[e]({account:this.account,recipient:this.recipient,amount:this.toSend.amount,memo:this.memo,token:this.token,promptForSignature:!1}).catch(t=>(console.error("Transfer error",t),!1));t(),this.setWorkingScreen(!1),n&&(n.hasOwnProperty("error")?i.a.push(a.a.snackbar(n.error,"attention-circled")):n?(i.a.push(a.a.transactionSuccess(e,h.a.getTransferId(n,e))),setTimeout(()=>{l.a.loadBalancesFor(this.account)},500)):i.a.push(a.a.snackbar(this.$t("errors.transferError"),"attention-circled")))}}},k=(n("xEJ3"),n("KHd+")),g=Object(k.a)(v,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"transfer"},[t.account&&t.token&&t.toSend?n("section",{staticClass:"scroller"},[n("section",{staticClass:"greyback"},[n("section",{staticClass:"limit-width"},[n("section",{staticClass:"boxes"},[n("section",{staticClass:"box-container"},[n("label",[t._v(t._s(t.$t("transfer.sender")))]),t._v(" "),n("section",{staticClass:"box nested account-selector flex",on:{click:t.selectTokenAndAccount}},[n("section",{staticClass:"symbol"},[n("TokenSymbol",{attrs:{token:t.token}})],1),t._v(" "),n("section",[n("figure",{staticClass:"name"},[t._v(t._s(t.account.sendable()))]),t._v(" "),n("figure",{staticClass:"network"},[t._v(t._s(t.account.network().name))]),t._v(" "),n("figure",{staticClass:"token"},[t._v(t._s(t.token.amount)+" "+t._s(t.token.symbol))]),t._v(" "),n("figure",{staticClass:"price"},[t._v(t._s(t.token.fiatPrice()||"--"))])]),t._v(" "),n("figure",{staticClass:"chevron fas fa-caret-square-down"})])]),t._v(" "),n("section",{staticClass:"box-container"},[n("label",[t._v(t._s(t.$t("transfer.receiver")))]),t._v(" "),n("section",{staticClass:"box nested"},[n("section",{staticClass:"padded recipient-selector",on:{click:t.selectRecipient}},[n("figure",{staticClass:"name"},[t._v(t._s(t.$t("generic.contacts")))]),t._v(" "),n("figure",{staticClass:"chevron fas fa-caret-square-down"})]),t._v(" "),n("figure",{staticClass:"line"}),t._v(" "),n("section",{staticClass:"input-container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.recipient,expression:"recipient"}],staticClass:"input",attrs:{placeholder:t.$t("generic.addressOrAccount")},domProps:{value:t.recipient},on:{input:function(e){e.target.composing||(t.recipient=e.target.value)}}})])])])])])]),t._v(" "),n("section",{staticClass:"whiteback"},[n("section",{staticClass:"limit-width"},[n("label",[t._v(t._s(t.$t("transfer.amountTitle")))]),t._v(" "),n("section",{staticClass:"boxes"},[n("section",{staticClass:"box"},[n("section",{staticClass:"input-container"},[n("figure",{staticClass:"label"},[t._v(t._s(t.token.truncatedSymbol()))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.toSend.amount,expression:"toSend.amount"}],staticClass:"input",attrs:{placeholder:"0.00"},domProps:{value:t.toSend.amount},on:{input:[function(e){e.target.composing||t.$set(t.toSend,"amount",e.target.value)},t.changedAmount]}}),t._v(" "),n("section",{staticClass:"amount-helpers"},[n("Button",{attrs:{small:"1",text:"50%"},nativeOn:{click:function(e){return t.toSend.amount=t.token.amount/2,void t.changedAmount()}}}),t._v(" "),n("Button",{attrs:{small:"1",text:"100%"},nativeOn:{click:function(e){return t.toSend.amount=t.token.amount,void t.changedAmount()}}})],1)]),t._v(" "),n("figure",{staticClass:"line"}),t._v(" "),n("section",{staticClass:"input-container"},[n("figure",{staticClass:"label"},[t._v(t._s(t.displayCurrency))]),t._v(" "),t.toSend.fiatPrice()?n("input",{directives:[{name:"model",rawName:"v-model",value:t.fiat,expression:"fiat"}],staticClass:"input",attrs:{placeholder:"0.00"},domProps:{value:t.fiat},on:{input:[function(e){e.target.composing||(t.fiat=e.target.value)},t.changedFiat]}}):n("figure",{staticClass:"input not-available"},[t._v(t._s(t.$t("transfer.priceNotAvailable")))])])]),t._v(" "),n("section",{staticClass:"box"},[n("section",{staticClass:"input-container"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.memo,expression:"memo"}],staticClass:"input",attrs:{placeholder:t.$t("transfer.memo")},domProps:{value:t.memo},on:{input:function(e){e.target.composing||(t.memo=e.target.value)}}})])])])])])]):n("section",{staticClass:"scroller loading-tokens"},[n("section",[n("h1",[t._v(t._s(t.$t("generic.pleaseWait")))]),t._v(" "),n("p",[t._v(t._s(t.$t("transfer.loadingBalances")))])])]),t._v(" "),n("section",{staticClass:"tail"},[n("Button",{attrs:{disabled:!t.canSend,big:"1",text:t.$t("generic.send"),blue:"1"},nativeOn:{click:function(e){return t.send(e)}}})],1)])}),[],!1,null,"51dad514",null);e.default=g.exports},"kx/y":function(t,e,n){(t.exports=n("JPst")(!1)).push([t.i,".loading-tokens[data-v-51dad514]{display:flex;justify-content:center;align-items:center;text-align:center}\n",""])},xEJ3:function(t,e,n){"use strict";var s=n("Ccgo");n.n(s).a}}]); \ No newline at end of file diff --git a/dist/main.bundle.js b/dist/main.bundle.js index d6f10be..b574dfd 100644 --- a/dist/main.bundle.js +++ b/dist/main.bundle.js @@ -1 +1 @@ -!function(t){function e(e){for(var i,o,r=e[0],c=e[1],l=e[2],d=0,u=[];d({filteredBalances:[],selectedToken:null,terms:""}),computed:{...Object(i.d)(["balances"]),...Object(i.c)(["totalBalances","balanceFilters","displayCurrency"]),allBalances(){return Object.keys(this.totalBalances.totals).map(t=>this.totalBalances.totals[t]).filter(t=>!this.hideUnusable||!t.unusable).filter(t=>!this.balanceFilters.hasOwnProperty(t.blockchain)||this.balanceFilters[t.blockchain]&&parseFloat(this.balanceFilters[t.blockchain])!this.terms.length||t.sendable().toLowerCase().indexOf(this.terms)>-1).sort((t,e)=>{return(e.balanceFor(this.selectedToken)?e.balanceFor(this.selectedToken).amount:0)-(t.balanceFor(this.selectedToken)?t.balanceFor(this.selectedToken).amount:0)})},needsAccountSearchBar(){return this.selectedToken&&this.selectedToken.accounts().length>=5}},mounted(){},methods:{selectToken(t){this.selectedToken=this.selectedToken&&this.selectedToken.uniqueWithChain()===t.uniqueWithChain()?null:t},sendToken(t,e){this.$router.push({name:this.RouteNames.TRANSFER,query:{account:e.identifiable(),token:t.uniqueWithChain()}})}},watch:{filteredBalances(){1===this.filteredBalances.length&&(this.selectedToken=this.filteredBalances[0])}}},r=(a("dC3/"),a("KHd+")),c=Object(r.a)(o,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"assets"},[a("TokenList",{attrs:{hoverable:"1",balances:t.allBalances,selected:t.selectedToken},on:{balances:function(e){return t.filteredBalances=e},token:t.selectToken}}),t._v(" "),a("section",{staticClass:"graph-and-accounts",class:{open:t.selectedToken}},[a("section",{staticClass:"graph-and-accounts-header"},[t.selectedToken?a("span",{staticClass:"graph-and-accounts-content"},[a("span",{staticClass:"graph-and-accounts-name"},[t._v(t._s(t.selectedToken.name))]),t._v(" "),a("span",{staticClass:"graph-and-accounts-balance"},[t._v(t._s(t.selectedToken.amount))])]):t._e(),t._v(" "),a("i",{staticClass:"fal fa-times graph-and-accounts-close",on:{click:function(e){return t.selectToken(t.selectedToken)}}})]),t._v(" "),a("TokenGraph",{attrs:{balances:t.selectedToken?[t.selectedToken]:t.filteredBalances.length?t.filteredBalances:t.allBalances}}),t._v(" "),t.needsAccountSearchBar?a("SearchAndFilter",{attrs:{"full-search":"1"},on:{terms:function(e){return t.terms=e}}}):t._e(),t._v(" "),t.selectedToken?a("section",{staticClass:"accounts",class:{"with-search":t.needsAccountSearchBar}},t._l(t.filteredAccounts,(function(e){return a("section",{staticClass:"account"},[a("figure",{staticClass:"name"},[t._v(t._s(e.sendable()))]),t._v(" "),a("figure",{staticClass:"network"},[t._v(t._s(e.network().name))]),t._v(" "),a("section",{staticClass:"details"},[e.balanceFor(t.selectedToken)?a("section",[a("figure",{staticClass:"balance"},[t._v(t._s(t.formatNumber(e.balanceFor(t.selectedToken).amount,!0))+" "+t._s(t.selectedToken.symbol))]),t._v(" "),a("figure",{staticClass:"fiat"},[t._v(t._s(t.fiatSymbol(t.displayCurrency))+t._s(t.formatNumber(e.balanceFor(t.selectedToken).fiatBalance(),!0)))])]):a("section",[a("figure",{staticClass:"balance"},[t._v(t._s(t.formatNumber(parseFloat(0).toFixed(t.selectedToken.decimals),!0))+" "+t._s(t.selectedToken.symbol))]),t._v(" "),a("figure",{staticClass:"fiat"},[t._v("0.0000 "+t._s(t.displayCurrency))])]),t._v(" "),t.asSelector||t.selectedToken.unusable?t._e():a("section",{staticClass:"actions"},[a("Button",{attrs:{text:t.$t("generic.send"),big:"1"},nativeOn:{click:function(a){return t.sendToken(t.selectedToken,e)}}})],1),t._v(" "),t.asSelector?a("section",{staticClass:"actions"},[a("Button",{attrs:{text:t.$t("generic.select"),big:"1"},nativeOn:{click:function(a){return t.$emit("selected",{token:t.selectedToken,account:e})}}})],1):t._e()])])})),0):a("section",{staticClass:"no-accounts"},[t.selectedToken?t._e():a("span",[t._v(t._s(t.$t("generic.selectToken")))]),t._v(" "),t.selectedToken?a("span",[t._v(t._s(t.$t("assets.noAccounts")))]):t._e()])],1)],1)}),[],!1,null,"4a983508",null);e.a=c.exports},"+R3x":function(t,e,a){"use strict";var i={props:["buttonsLeft","buttonsRight"]},n=(a("2gTu"),a("KHd+")),s=Object(n.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"action-bar"},[a("section",{staticClass:"left"},t._l(t.buttonsLeft,(function(e,i){return a("Button",t._b({key:i},"Button",e,!1))})),1),t._v(" "),a("section",{staticClass:"right"},t._l(t.buttonsRight,(function(e,i){return a("Button",t._b({key:i},"Button",e,!1))})),1)])}),[],!1,null,"2359c8c5",null);e.a=s.exports},"+c7U":function(t,e,a){var i=a("X6Qg");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("9878e114",i,!0,{})},"+eKM":function(t,e,a){"use strict";var i=a("AgIm");a.n(i).a},"+mh6":function(t,e,a){"use strict";var i=a("FNEE");a.n(i).a},"//Uz":function(t,e,a){"use strict";var i=a("VHqd");a.n(i).a},"/2Y3":function(t,e,a){"use strict";var i=a("8o7C");a.n(i).a},"/Xn/":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".select[data-v-e06cf00c]{position:relative;z-index:10;width:100%;display:inline-block}@media (max-width: 600px){.select[data-v-e06cf00c]{margin-bottom:10px}}.select input[data-v-e06cf00c]{position:absolute;top:-100px;width:0;height:0;opacity:0}.select .subtitle[data-v-e06cf00c]{font-size:10px;line-height:10px;margin:0;padding:0;color:#7a7a7a}.select .selected[data-v-e06cf00c]{cursor:pointer;height:24px;width:100%;line-height:24px;padding:0 10px;z-index:1;background:#fff;opacity:1;padding-right:30px;display:inline-block;position:relative;transition:all 0.2s ease;transition-property:opacity}.select .selected .text[data-v-e06cf00c]{color:#333;font-size:12px;font-weight:bold;display:inline-block}.select .selected.truncate[data-v-e06cf00c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.select .selected.truncate .text[data-v-e06cf00c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.select .selected .chevron[data-v-e06cf00c]{display:flex;align-items:center;position:absolute;right:0;top:0;bottom:0;color:#0799ff;font-size:14px;transition:transform 0.2s ease}.select.disabled[data-v-e06cf00c]{opacity:0.3;cursor:not-allowed}.select.disabled .selected[data-v-e06cf00c]{cursor:not-allowed}.select .options[data-v-e06cf00c]{position:absolute;top:25px;width:100%;max-height:150px;min-height:25px;background:#fff;min-width:200px;right:0;z-index:2;overflow:hidden;border:1px solid #dfe0e1;box-shadow:0 0 1px rgba(0,0,0,0);opacity:0;visibility:hidden;text-align:left;transition:all 0.1s ease;transition-property:opacity, visibility, box-shadow}.select .options.start-left[data-v-e06cf00c]{left:0}.select .options .option[data-v-e06cf00c]{cursor:pointer;padding:8px 12px;color:#7a7a7a;font-size:12px;font-weight:bold;position:relative}.select .options .option .item-icon[data-v-e06cf00c]{position:absolute;right:10px;top:0;bottom:0;display:flex;align-items:center}.select .options .option .item-icon.red[data-v-e06cf00c]{color:#ff0707}.select .options .option.hovered[data-v-e06cf00c]{background:rgba(0,0,0,0.02);color:#333}.select.open[data-v-e06cf00c]{z-index:11}.select.open .options[data-v-e06cf00c]{overflow-y:auto;box-shadow:0 0 20px rgba(7,155,232,0.23);opacity:1;visibility:visible}.select.open .selected[data-v-e06cf00c]{opacity:0.5}.select.open .selected .chevron[data-v-e06cf00c]{transform:rotateZ(180deg) translateY(-1px)}.select.open .selected.bordered .chevron[data-v-e06cf00c]{transform:rotateZ(180deg) translateY(0)}.select.bordered[data-v-e06cf00c]{border:1px solid #dfe0e1;padding:6px 0;display:flex;justify-content:center}.select.bordered .selected .chevron[data-v-e06cf00c]{top:2px;right:10px}.select.bordered .options[data-v-e06cf00c]{top:38px}\n",""])},"/Zmv":function(t,e,a){var i=a("/Xn/");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("277763e1",i,!0,{})},"/eBL":function(t,e,a){"use strict";var i=a("pxeo");a.n(i).a},"/t0x":function(t,e,a){"use strict";var i=a("4ct5");a.n(i).a},0:function(t,e){},"0kYc":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".working-screen{background:rgba(255,255,255,0.93);position:fixed;top:0;left:0;right:0;bottom:0;z-index:10001;display:flex;justify-content:center;align-items:center;text-align:center}.working-screen .spinner{font-size:36px;color:#0799ff}.router-view{flex:1}.app-content{height:calc(100vh - 0px);width:100%;display:flex;background:#fff;margin-top:0}.view-base{min-height:100vh;position:relative;display:flex;flex-direction:column;flex:1}.view-pane{flex:1;position:relative;overflow:hidden;display:flex;flex-direction:column}.view-pane.borders{border-bottom:1px solid rgba(0,0,0,0.08);border-right:1px solid rgba(0,0,0,0.08)}\n",""])},"0tEj":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".search-bar[data-v-1e679ba6]{height:60px;position:relative;transition:all 0.4s ease;transition-property:height}.search-bar .icon[data-v-1e679ba6]{position:absolute;top:0;bottom:0;left:30px;line-height:60px;color:rgba(0,0,0,0.25);font-size:18px;transition:all 0.4s ease;transition-property:line-height, font-size}.search-bar input[data-v-1e679ba6]{outline:0;border:0;height:60px;width:100%;background:transparent;padding:0 30px 0 60px;font-size:14px;cursor:text;transition:all 0.4s ease;transition-property:height, font-size, padding}.search-bar input[data-v-1e679ba6]::-webkit-input-placeholder{font-size:14px;color:rgba(0,0,0,0.25)}.search-bar input[data-v-1e679ba6]::-moz-placeholder{font-size:14px;color:rgba(0,0,0,0.25)}.search-bar input[data-v-1e679ba6]:-ms-input-placeholder{font-size:14px;color:rgba(0,0,0,0.25)}.search-bar input[data-v-1e679ba6]:-moz-placeholder{font-size:14px;color:rgba(0,0,0,0.25)}.search-bar.short[data-v-1e679ba6]{height:40px}.search-bar.short input[data-v-1e679ba6]{height:40px;padding-left:50px}.search-bar.short input[data-v-1e679ba6]::-webkit-input-placeholder{font-size:13px}.search-bar.short input[data-v-1e679ba6]::-moz-placeholder{font-size:13px}.search-bar.short input[data-v-1e679ba6]:-ms-input-placeholder{font-size:13px}.search-bar.short input[data-v-1e679ba6]:-moz-placeholder{font-size:13px}.search-bar.short .icon[data-v-1e679ba6]{line-height:40px;font-size:13px}.search-bar.tokens[data-v-1e679ba6]{height:40px;margin-top:0;margin-left:-30px}.search-bar.tokens input[data-v-1e679ba6]{height:40px;padding-left:50px;color:#fff}.search-bar.tokens input[data-v-1e679ba6]::-webkit-input-placeholder{color:#fff;font-size:13px}.search-bar.tokens input[data-v-1e679ba6]::-moz-placeholder{color:#fff;font-size:13px}.search-bar.tokens input[data-v-1e679ba6]:-ms-input-placeholder{color:#fff;font-size:13px}.search-bar.tokens input[data-v-1e679ba6]:-moz-placeholder{color:#fff;font-size:13px}.search-bar.tokens .icon[data-v-1e679ba6]{color:#fff;line-height:40px;font-size:13px}\n",""])},1:function(t,e){},"1JzU":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".select-from-list[data-v-421c4a44]{min-width:400px;max-width:600px;height:500px}.select-from-list .list[data-v-421c4a44]{background:#f3f6f7;height:calc(500px - 40px - 70px);overflow-y:auto;padding:20px}.select-from-list .list .item[data-v-421c4a44]{background:#fff;border:1px solid #dfe0e1;padding:10px;margin-bottom:10px;border-radius:4px;cursor:pointer}.select-from-list .list .item .title[data-v-421c4a44]{font-size:14px;font-weight:bold}.select-from-list .list .item .description[data-v-421c4a44]{margin-top:10px;font-size:10px}.select-from-list .list .item[data-v-421c4a44]:hover{border:1px solid #0799ff}.select-from-list .list .item:hover .title[data-v-421c4a44]{color:#0799ff}\n",""])},"1Mi/":function(t,e,a){var i=a("S/Do");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("28501e75",i,!0,{})},"1ZKd":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".back-bar[data-v-06081eca]{background:linear-gradient(180deg, #007fd7 0%, #0799ff 100%);height:180px;padding:40px}.back-bar .arrow[data-v-06081eca]{font-size:48px;color:#fff}\n",""])},"1ZvQ":function(t,e,a){"use strict";var i=a("h0jW");a.n(i).a},2:function(t,e){},"21TS":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".snackbar-holder[data-v-7e1d5bc4]{position:fixed;bottom:0;right:0;left:0;text-align:center;z-index:21001;pointer-events:none;margin:20px}.snackbar-holder.has-snackbar[data-v-7e1d5bc4]{padding-bottom:40px}.fullscreen[data-v-7e1d5bc4]{background:#fff;height:calc(100vh - 20px);width:100%;position:fixed;top:0;bottom:0;left:0;right:0;display:flex;justify-content:center;align-items:center}.pop-in-over[data-v-7e1d5bc4]{-webkit-app-region:no-drag;position:absolute;top:10px;bottom:10px;left:10px;right:10px;max-width:800px;margin:0 auto;display:flex;justify-content:center;align-items:center}.fader[data-v-7e1d5bc4]{display:flex;justify-content:center;align-items:center;position:fixed;top:0;bottom:0;left:0;right:0;opacity:0;visibility:hidden;z-index:10001}.fader.show[data-v-7e1d5bc4]{opacity:1;visibility:visible}.fader .bg[data-v-7e1d5bc4]{position:fixed;top:0;bottom:0;left:0;right:0;background:rgba(3,25,49,0.71);z-index:-1;cursor:pointer}\n",""])},"2UZj":function(t,e,a){"use strict";a.r(e),a.d(e,"getFileLocation",(function(){return i})),a.d(e,"getFolderLocation",(function(){return n})),a.d(e,"saveFile",(function(){return s}));let i=(...t)=>window.wallet.storage.getFileLocation(...t),n=(...t)=>window.wallet.storage.getFolderLocation(...t),s=(...t)=>window.wallet.storage.saveFile(...t)},"2gTu":function(t,e,a){"use strict";var i=a("Fixf");a.n(i).a},3:function(t,e){},"353D":function(t,e,a){var i=a("0tEj");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("99266f84",i,!0,{})},"3CN7":function(t,e,a){"use strict";a.d(e,"a",(function(){return l}));var i=a("qjwK"),n=a("IMve"),s=a.n(n),o=(a("F+MN"),a("pk5N")),r=a.n(o);let c=!1;class l{static async addProxy(t,e){const a=r.a.get().state.scatter.clone();return a.recurring.proxies=a.recurring.proxies.filter(e=>e.account!==t.identifiable()),a.recurring.proxies.push({account:t.identifiable(),proxy:e,timestamp:+new Date}),r.a.get().dispatch(i.SET_SCATTER,a)}static async removeProxies(t){const e=r.a.get().state.scatter.clone(),a=t.map(t=>t.identifiable());return e.recurring.proxies=e.recurring.proxies.filter(t=>!a.includes(t.account)),r.a.get().dispatch(i.SET_SCATTER,e)}static async touchProxies(t){const e=r.a.get().state.scatter.clone(),a=t.map(t=>t.identifiable());return e.recurring.proxies.filter(t=>a.includes(t.account)).map(t=>t.timestamp=+new Date),r.a.get().dispatch(i.SET_SCATTER,e)}static async checkProxies(){if(c)return;c=!0;const t=r.a.get().state.scatter.clone();if(!t.hasOwnProperty("recurring"))return;const e=r.a.get().state.scatter.keychain.accounts,a=e.map(t=>t.identifiable()),i=t.recurring.proxies.filter(t=>!a.includes(t.account));i.length&&await this.removeProxies(i);const n=+new Date,o=t.recurring.proxies.filter(t=>n>t.timestamp+6048e5);if(!o)return!0;const l=await Promise.all(o.map(async t=>{const a=e.find(e=>e.identifiable()===t.account);return s.a.plugin(a.blockchain()).proxyVote(a,t.proxy).then(t=>({res:t,account:a}))})),p=l.filter(t=>!t.res),d=l.filter(t=>t.res);return p.length&&await this.removeProxies(p.map(t=>t.account)),d.length&&await this.touchProxies(d.map(t=>t.account)),!0}}},"3FFn":function(t,e,a){"use strict";var i=a("A2NC");a.n(i).a},"3FGZ":function(t,e,a){"use strict";var i=a("ZXx6");a.n(i).a},"3MdU":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".panel-container[data-v-2230af07]{overflow:auto;height:calc(100vh - 240px)}.auto-vote[data-v-2230af07]{max-width:600px;margin:0 auto;display:flex}.auto-vote .details[data-v-2230af07]{padding-left:20px}.list[data-v-2230af07]{max-width:700px;margin:0 auto;width:100%;text-align:left}\n",""])},"3c97":function(t,e,a){var i=a("1JzU");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("e2763c6c",i,!0,{})},"3ylq":function(t,e,a){var i=a("axlY");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("e7f7dfc2",i,!0,{})},4:function(t,e){},"48Ae":function(t,e,a){"use strict";a.d(e,"a",(function(){return r}));var i=a("pk5N"),n=a.n(i),s=a("IfgB"),o=a("Gbp+");class r{static async verifyPIN(){return!n.a.get().state.scatter.pin||!n.a.get().state.scatter.pin.length||new Promise(t=>{s.a.push(o.a.enterPIN(e=>{t(e)}))})}}},"4AMT":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".pop-over[data-v-3152171b]{max-width:900px;width:100%;margin:0 auto;overflow:hidden}.assets[data-v-3152171b]{height:calc(100vh - 180px)}\n",""])},"4ct5":function(t,e,a){var i=a("yETr");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("5d528c02",i,!0,{})},"4eXn":function(t,e,a){"use strict";var i=a("peeo");a.n(i).a},"4zkp":function(t,e,a){"use strict";a.d(e,"a",(function(){return i}));class i{static async openTools(){return window.wallet.utility.openTools()}static async close(){return window.wallet.utility.closeWindow()}static async flashWindow(){return window.wallet.utility.flashWindow()}static async openPopOut(t){return window.wallet.utility.openPopOut(t)}}},"5Bwr":function(t,e,a){var i=a("MGze");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("595d38b2",i,!0,{})},"5PPc":function(t,e,a){var i=a("OXMO");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("699a9796",i,!0,{})},"5t91":function(t,e,a){"use strict";var i=a("L2JU"),n=a("B0RS"),s=a("GwxU"),o=a.n(s),r=a("zugy"),c=a.n(r),l=a("AZxv"),p=a("X1bV"),d={components:{TokenSymbol:l.a,SearchAndFilter:n.a},props:["balances","hoverable","selected","noSearch","blue"],data:()=>({terms:""}),computed:{...Object(i.d)([]),...Object(i.c)(["balanceFilters","displayCurrency"]),sortedBalances(){return this.balances.filter(t=>!this.terms.length||("-"===this.terms?this.change(t)&&!this.change(t).plus&&t.fiatBalance(!1):"+"===this.terms?this.change(t)&&this.change(t).plus&&t.fiatBalance(!1):this.terms.indexOf("::")>-1?`${t.contract.toLowerCase()}::${t.symbol.toLowerCase()}`===this.terms:isNaN(this.terms)?t.symbol.toLowerCase().indexOf(this.terms)>-1||t.contract.toLowerCase().indexOf(this.terms)>-1:t.amount>=parseFloat(this.terms))).sort((t,e)=>"+"===this.terms||"-"===this.terms?this.change(e,!0)-this.change(t,!0):o.a.sorter(t,e))}},methods:{change:p.a.change,colorHex:t=>t?"#"+c.a.unsaltedQuickHash(t.unique()).slice(0,6):null,selectToken(t){this.hoverable&&this.$emit("token",t)}},watch:{terms(){this.$emit("balances",this.sortedBalances)}}},u=(a("//Uz"),a("KHd+")),h=Object(u.a)(d,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"token-list",class:{blue:t.blue}},[a("SearchAndFilter",{attrs:{"full-search":"1"},on:{terms:function(e){return t.terms=e}}}),t._v(" "),a("section",{ref:"tokens",staticClass:"tokens"},t._l(t.sortedBalances,(function(e){return a("section",{staticClass:"single-asset",class:{hoverable:t.hoverable,active:t.selected&&t.selected.uniqueWithChain()===e.uniqueWithChain()},attrs:{id:e.uniqueWithChain()},on:{click:function(a){return t.selectToken(e)}}},[a("section",{staticClass:"asset-movement"},[!e.unusable&&t.change(e).perc?a("section",{staticClass:"token-change"},[e.unusable?t._e():a("figure",{staticClass:"change-value",class:{red:!t.change(e).plus}},[t._v(t._s(t.change(e).perc))])]):t._e(),t._v(" "),e.unusable?a("section",{staticClass:"staked"},[a("figure",{staticClass:"locked icon-lock"},[t._v(t._s(e.unusable))])]):t._e()]),t._v(" "),a("section",{staticClass:"asset-details"},[a("section",{staticClass:"column token-icon"},[a("TokenSymbol",{attrs:{token:e}})],1),t._v(" "),a("section",{staticClass:"column token-value"},[a("figure",{staticClass:"title"},[t._v(t._s(e.symbol))]),t._v(" "),e.fiatPrice()&&parseFloat(e.fiatPrice())?a("figure",{staticClass:"secondary"},[t._v(t._s(t.fiatSymbol(t.displayCurrency))+t._s(t.formatNumber(e.fiatPrice(),!0)))]):t._e()]),t._v(" "),e.amount?a("section",{staticClass:"column token-conversion"},[a("figure",{staticClass:"value"},[t._v(t._s(t.formatNumber(e.amount,!0)))]),t._v(" "),e.fiatBalance()&&parseFloat(e.fiatBalance())?a("figure",{staticClass:"fiat"},[t._v(t._s(t.fiatSymbol(t.displayCurrency))+t._s(t.formatNumber(e.fiatBalance(!1),!0))+" ")]):t._e()]):t._e()])])})),0)],1)}),[],!1,null,"f40b99d8",null);e.a=h.exports},"5v53":function(t,e,a){"use strict";var i=a("zU6g");a.n(i).a},"5vwW":function(t,e,a){"use strict";var i=a("D0lD");a.n(i).a},"5wC5":function(t,e,a){var i=a("Ea+s");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("6b36f500",i,!0,{})},"5xqE":function(t,e,a){"use strict";var i=a("R6/L");a.n(i).a},"6S0W":function(t,e,a){var i=a("H7TC");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("3f87a83e",i,!0,{})},"7DPg":function(t,e,a){"use strict";var i=a("1Mi/");a.n(i).a},"7W4K":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".pop-in-head[data-v-17a04b22]{display:flex;width:100%;height:70px;justify-content:space-between;align-items:center;padding:20px;background:#f3f6f7}.pop-in-head .popin-title[data-v-17a04b22]{font-size:13px;font-family:'Poppins', sans-serif;font-weight:bold;color:black}.pop-in-head .popin-close[data-v-17a04b22]{padding:10px;cursor:pointer;color:#0799ff;font-size:24px;border-radius:4px}\n",""])},"7dXh":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".bottom-actions[data-v-6c22c66b]{height:70px;background:#333;background:linear-gradient(180deg, #464646 0%, #333 100%);color:#fff;z-index:99;flex:0 0 auto}.bottom-actions.sidebarLocked[data-v-6c22c66b]{left:240px}.bottom-actions .flex-wrapper[data-v-6c22c66b]{display:flex;height:70px;flex-direction:row;align-items:center;justify-content:center}.bottom-actions .flex-wrapper .action[data-v-6c22c66b]{width:120px;display:block;text-transform:uppercase;font-weight:bold;font-size:12px;text-align:center;cursor:pointer}@media (max-width: 600px){.bottom-actions .flex-wrapper .action[data-v-6c22c66b]{width:33.33333%}}.bottom-actions .flex-wrapper .action i[data-v-6c22c66b]{transition:transform 0.2s ease;transform:translateY(0px);width:44px;font-size:20px;margin:-2px auto 8px;display:block}.bottom-actions .flex-wrapper .action[data-v-6c22c66b]:hover{color:#fff}\n",""])},"7oO4":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".select-recipient{display:flex;flex-direction:column;width:100%}.select-recipient .head .panel-switch{margin-bottom:0}.select-recipient .body{height:calc(100vh - 60px - 70px);overflow-y:hidden}.select-recipient .body .blockchain-list-container .blockchains .scroller{max-height:calc(100vh - 240px)}.select-recipient .keys-and-accounts-list{height:calc(100vh - 120px);overflow-y:auto;padding-top:20px}.mobile .select-recipient .keys-and-accounts-list{height:calc(100vh - 80px)}\n",""])},"8CsC":function(t,e,a){var i=a("Sm0L");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("03933b6a",i,!0,{})},"8gNK":function(t,e,a){"use strict";var i=a("tDqv");a.n(i).a},"8hoh":function(t,e,a){"use strict";var i=a("5PPc");a.n(i).a},"8o7C":function(t,e,a){var i=a("9pTj");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("6984f7cb",i,!0,{})},"8olR":function(t,e,a){var i=a("cn8Z");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("0a528d56",i,!0,{})},"8s8y":function(t,e,a){"use strict";var i=a("L2JU"),n=a("GwxU"),s=a.n(n),o=a("IMve"),r=a.n(o),c=a("78si"),l=a.n(c);const p={NETWORK:"network",TOKEN:"token"};var d={props:["original","brandNew"],data:()=>({state:p.NETWORK,STATES:p,network:null}),mounted(){this.network=this.original?this.original.clone():l.a.placeholder()},computed:{...Object(i.c)(["networks"]),isNew(){return!!this.network&&(!!this.brandNew||!this.networks.find(t=>t.id===this.network.id))},contractPlaceholder(){if(this.network.token&&this.network.token.blockchain)return r.a.plugin(this.network.token.blockchain).contractPlaceholder()},canEditOrShowToken(){return this.isNew||this.network.token}},methods:{async fetchChainId(){this.network.chainId=await r.a.plugin(this.network.blockchain).getChainId(this.network)},useCustomToken(){if(this.network.token)return this.network.token=null;const t=s.a.placeholder();t.blockchain=this.network.blockchain,this.network.token=t}},watch:{network(){this.$emit("updated",this.network)}}},u=(a("V7nQ"),a("KHd+")),h=Object(u.a)(d,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[t.network?a("section",{staticClass:"edit-network"},[t.canEditOrShowToken?a("section",{staticClass:"panel-switch"},[a("figure",{staticClass:"button",class:{active:t.state===t.STATES.NETWORK},on:{click:function(e){t.state=t.STATES.NETWORK}}},[t._v("\n\t\t\t\t"+t._s(t.$t("generic.networks",1))+"\n\t\t\t")]),t._v(" "),a("figure",{staticClass:"button",class:{active:t.state===t.STATES.TOKEN},on:{click:function(e){t.state=t.STATES.TOKEN}}},[t._v("\n\t\t\t\t"+t._s(t.$t("editNetwork.systemToken"))+"\n\t\t\t")])]):t._e(),t._v(" "),t.canEditOrShowToken?t._e():a("figure",{staticStyle:{height:"20px"}}),t._v(" "),t.state===t.STATES.NETWORK?a("section",[t.isNew?a("Input",{attrs:{label:t.$t("generic.name"),placeholder:t.$t("editNetwork.memorableName"),text:t.network.name},on:{changed:function(e){return t.network.name=e}}}):t._e(),t._v(" "),a("section",{staticClass:"split-inputs"},[a("Input",{staticStyle:{flex:"2","margin-bottom":"0"},attrs:{label:t.$t("editNetwork.host"),placeholder:"127.0.0.1",text:t.network.host},on:{changed:function(e){return t.network.host=e}}}),t._v(" "),a("section",{staticStyle:{flex:"1"}},[a("label",[t._v(t._s(t.$t("editNetwork.protocol")))]),t._v(" "),a("Select",{staticStyle:{flex:"1","margin-top":"12px"},attrs:{bordered:"1",selected:t.network.protocol,options:["http","https"]},on:{selected:function(e){return t.network.protocol=e}}})],1),t._v(" "),a("Input",{staticStyle:{flex:"1","margin-bottom":"0"},attrs:{label:t.$t("editNetwork.port"),placeholder:"443",type:"number",text:t.network.port>0?t.network.port:""},on:{changed:function(e){return t.network.port=e}}})],1),t._v(" "),a("br"),t._v(" "),a("Input",{attrs:{label:t.$t("generic.chain_id"),disabled:!t.isNew,placeholder:"x...",text:t.network.chainId,"dynamic-button":t.isNew?"icon-globe-1":null,"dynamic-tooltip":t.$t("editNetwork.chainIdTooltip"),copy:!t.isNew},on:{dynamic:t.fetchChainId,changed:function(e){return t.network.chainId=e}}}),t._v(" "),t.brandNew?t._e():a("section",{staticStyle:{"text-align":"right"}},[a("Button",{attrs:{text:t.$t("editNetwork.update"),blue:"1"},nativeOn:{click:function(e){return t.$emit("save")}}})],1)],1):t._e(),t._v(" "),t.state===t.STATES.TOKEN?a("section",[t.network&&(t.isNew||t.network.token)?a("section",{staticStyle:{"margin-top":"10px","text-align":"left"}},[t.isNew?a("section",{staticClass:"custom-token-info"},[a("section",{staticStyle:{"padding-right":"50px"}},[a("label",[t._v(t._s(t.$t("editNetwork.systemTokenTitle")))]),t._v(" "),a("p",[t._v(t._s(t.$t("editNetwork.systemTokenDescription")))])]),t._v(" "),a("Switcher",{staticStyle:{flex:"0 0 auto"},attrs:{state:t.network.token},on:{switched:t.useCustomToken}})],1):t._e(),t._v(" "),t.canEditOrShowToken?a("section",[t.network.token?a("section",{staticClass:"split-inputs"},[a("Input",{staticStyle:{flex:"1","margin-bottom":"0"},attrs:{placeholder:t.contractPlaceholder,text:t.network.token.contract,disabled:!t.isNew,label:t.$tc("generic.contracts",1)},on:{changed:function(e){return t.network.token.contract=e}}}),t._v(" "),a("Input",{staticStyle:{flex:"0.5","margin-bottom":"0"},attrs:{placeholder:"XXX",label:t.$t("generic.symbol"),text:t.network.token.symbol,disabled:!t.isNew},on:{changed:function(e){return t.network.token.symbol=e}}}),t._v(" "),a("Input",{staticStyle:{flex:"0.5","margin-bottom":"0"},attrs:{placeholder:"4",type:"number",label:t.$t("generic.decimals"),disabled:!t.isNew,text:t.network.token.decimals},on:{changed:function(e){return t.network.token.decimals=e}}})],1):t._e()]):t._e()]):t._e()]):t._e()]):t._e()])}),[],!1,null,"2624d6fb",null);e.a=h.exports},"91NJ":function(t,e,a){var i=a("Mqgg");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("630fb42c",i,!0,{})},"956s":function(t,e,a){var i=a("hJRE");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("65713b07",i,!0,{})},"95O8":function(t,e,a){"use strict";var i=a("L2JU"),n=a("F+MN"),s=a("8s8y"),o=a("IfgB"),r=a("Gbp+"),c=a("B0RS"),l=a("I2xi"),p=a.n(l),d={components:{EditContact:a("zsXv").a,SearchAndFilter:c.a,EditNetwork:s.a},props:["asSelector"],data:()=>({terms:"",expandedUnique:null,expanded:null,knownNetworks:[],test:!1,blockchains:n.BlockchainsArray.map(t=>t.value),selectedBlockchain:null,unreachable:{}}),computed:{...Object(i.c)(["networks","accounts","contacts"]),visibleContacts(){return this.contactsFor(this.selectedBlockchain).filter(t=>!this.terms.length||(t.name.toLowerCase().indexOf(this.terms)>-1||t.recipient.toLowerCase().indexOf(this.terms)>-1))}},created(){this.isMobile||(this.selectedBlockchain=this.blockchains[0])},methods:{async removeContact(t){await p.a.remove(t)},sendContact(t){this.$router.push({name:this.RouteNames.TRANSFER,query:{recipient:t.id}})},blockchainIcon:t=>n.BlockchainsArray.map(t=>t.value).includes(t)?`token-${t}-${t}`:"icon-network",isCustom(t){return!this.contactsFor(t.blockchain).find(e=>e.unique()===t.unique())},selectBlockchain(t){this.selectedBlockchain=t,this.expanded=null,this.terms=""},toggleExpansion(t){if(this.expanded&&this.expanded.unique()===t.unique())return this.expandedUnique=null,this.expanded=null;this.expandedUnique=t.unique(),this.expanded=t.clone()},contactsFor(t){return this.contacts.filter(e=>e.blockchain===t)},async saveContact(){await p.a.addOrUpdate(this.expanded)&&(this.expanded=null,this.expandedUnique=null)},addNewContact(){o.a.push(r.a.addNewContact(this.selectedBlockchain,async t=>{}))}}},u=(a("c2MZ"),a("KHd+")),h=Object(u.a)(d,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"blockchain-list-container"},[t.isMobile&&t.selectedBlockchain?t._e():a("section",{staticClass:"blockchains",class:{"full-width":t.isMobile}},[a("section",{staticClass:"head"},[t._v("\n\t\t\t"+t._s(t.$t("generic.selectBlockchain"))+"\n\t\t")]),t._v(" "),a("section",{staticClass:"scroller"},[a("section",{staticClass:"blockchain-list"},t._l(t.blockchains,(function(e){return a("section",{staticClass:"badge-item hoverable",class:{active:t.selectedBlockchain===e},on:{click:function(a){return t.selectBlockchain(e)}}},[a("figure",{staticClass:"badge iconed",class:t.blockchainIcon(e)}),t._v(" "),a("section",{staticClass:"details"},[a("figure",{staticClass:"title"},[t._v(t._s(t.blockchainName(e)))]),t._v(" "),a("figure",{staticClass:"row"},[a("figure",{staticClass:"secondary"},[t._v(t._s(t.contactsFor(e).length)+" "+t._s(t.$tc("generic.contacts",t.contactsFor(e).length)))])])]),t._v(" "),a("i",{staticClass:"fal fa-chevron-right"})])})),0)])]),t._v(" "),!t.isMobile||t.selectedBlockchain?a("section",{staticClass:"list-container"},[a("section",{staticClass:"head"},[t.isMobile?a("figure",{staticClass:"back-button",on:{click:function(e){return t.selectBlockchain(null)}}},[a("i",{staticClass:"fal fa-arrow-left"})]):t._e(),t._v("\n\t\t\t"+t._s(t.blockchainName(t.selectedBlockchain))+" "+t._s(t.$tc("generic.contacts",2))+"\n\t\t")]),t._v(" "),a("SearchAndFilter",{key:t.selectedBlockchain,attrs:{"full-search":"1"},on:{terms:function(e){return t.terms=e}}}),t._v(" "),a("section",{staticClass:"scroller with-tail with-search"},[a("section",{staticClass:"item-list"},t._l(t.visibleContacts,(function(e){return a("section",{staticClass:"item",on:{click:function(a){t.asSelector&&t.$emit("recipient",e.recipient)}}},[a("section",{staticClass:"basics",class:{open:t.expanded&&t.expanded.unique()===e.unique()}},[t.asSelector?t._e():a("figure",{staticClass:"chevron",on:{click:function(a){t.asSelector||t.toggleExpansion(e)}}},[a("i",{staticClass:"icon-right-open-big"})]),t._v(" "),a("section",{staticClass:"details",on:{click:function(a){t.asSelector||t.toggleExpansion(e)}}},[a("figure",{staticClass:"name"},[t._v(t._s(e.name))]),t._v(" "),a("figure",{staticClass:"text"},[t._v(t._s(e.recipient))])]),t._v(" "),t.asSelector?t._e():a("section",{staticClass:"actions"},[a("Button",{attrs:{text:t.$t("generic.remove")},nativeOn:{click:function(a){return t.removeContact(e)}}}),t._v(" "),a("Button",{attrs:{text:t.$t("generic.send"),blue:"1"},nativeOn:{click:function(a){return t.sendContact(e)}}})],1),t._v(" "),t.asSelector?a("section",{staticClass:"actions"},[a("Button",{attrs:{text:t.$t("generic.select"),blue:"1"}})],1):t._e()]),t._v(" "),t.expandedUnique===e.unique()?a("section",{staticClass:"expanded"},[a("EditContact",{attrs:{original:t.expanded},on:{updated:function(e){return t.expanded=e},save:t.saveContact}})],1):t._e()])})),0)]),t._v(" "),a("section",{staticClass:"tail"},[a("Button",{attrs:{text:t.$t("generic.add"),blue:"1"},nativeOn:{click:function(e){return t.addNewContact(e)}}})],1)],1):t._e()])}),[],!1,null,"281fcfea",null);e.a=h.exports},"966X":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".pop-over[data-v-a7f7d0dc]{min-width:0;max-width:380px}.mobile .pop-over[data-v-a7f7d0dc]{max-width:none}.success[data-v-a7f7d0dc]{display:flex;justify-content:center;align-items:center;text-align:center;padding:30px}.success .info[data-v-a7f7d0dc]{font-size:10px;color:#7a7a7a;margin-bottom:5px}.success .link[data-v-a7f7d0dc]{font-size:9px}\n",""])},"9Pt/":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".processes[data-v-25a6ed1a]{width:160px;position:fixed;bottom:5px;right:5px;z-index:99999999;display:flex;flex-direction:column}.processes .process[data-v-25a6ed1a]{background:#fff;padding:10px;border:1px solid #0799ff;margin-top:2px;position:relative}.processes .process .kill[data-v-25a6ed1a]{cursor:pointer;position:absolute;top:-6px;right:-3px;width:15px;height:15px;border-radius:50%;background:#ff0707;color:#fff;font-size:11px;display:flex;justify-content:center;align-items:center}.processes .process .title[data-v-25a6ed1a]{font-size:11px;margin-bottom:5px;color:#0799ff;font-weight:bold}.processes .process .sub-title[data-v-25a6ed1a]{font-size:9px;width:100%;margin-top:5px;padding:5px 0;border-top:1px solid rgba(0,0,0,0.2)}.processes .process .percentage-bar[data-v-25a6ed1a]{margin:0}@media (min-width: 1280px){.processes[data-v-25a6ed1a]{width:260px}.processes .process[data-v-25a6ed1a]{padding:20px}.processes .process .title[data-v-25a6ed1a]{font-size:16px;margin-bottom:8px}.processes .process .sub-title[data-v-25a6ed1a]{font-size:13px;margin-top:8px;padding:8px 0}}\n",""])},"9pTj":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".display-token[data-v-7fa05eb2]{padding:40px;min-width:500px}.display-token .button-list button[data-v-7fa05eb2]{margin-right:5px}.display-token .button-list button[data-v-7fa05eb2]:last-child{margin-right:0}\n",""])},A23T:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".search-and-filter[data-v-1bc83710]{display:flex;align-items:center;width:calc(100% - 40px);margin:20px}@media (max-width: 600px){.search-and-filter[data-v-1bc83710]{flex-direction:column;margin:20px;width:calc(100% - 40px)}}.search-and-filter .search-bar[data-v-1bc83710]{flex:1}@media (max-width: 600px){.search-and-filter .search-bar[data-v-1bc83710]{width:100%}}.search-and-filter .search-bar input[data-v-1bc83710]{height:36px;text-align:center;font-size:13px;box-shadow:none;outline:0;-webkit-appearance:none}.search-and-filter.blue .search-bar input[data-v-1bc83710]{border-color:#67CBFF;color:white;opacity:.49}.search-and-filter.blue .search-bar input[data-v-1bc83710]::-webkit-input-placeholder{color:white}.search-and-filter.blue .search-barinput[data-v-1bc83710]:hover,.search-and-filter.blue .search-barinput[data-v-1bc83710]:focus{border-color:white;opacity:1}.search-and-filter .filters[data-v-1bc83710]{flex:1;text-align:right;display:flex;justify-content:flex-end}@media (max-width: 600px){.search-and-filter .filters[data-v-1bc83710]{justify-content:space-between;text-align:left;width:100%;padding:6px 0}}.search-and-filter .filters .filter[data-v-1bc83710]{flex:1;max-width:150px;margin-left:20px}@media (max-width: 600px){.search-and-filter .filters .filter[data-v-1bc83710]{max-width:initial;margin:0}}.search-and-filter.full[data-v-1bc83710]{width:calc(100% - 40px)}@media (max-width: 600px){.search-and-filter.full[data-v-1bc83710]{width:calc(100vw - 40px)}}.search-and-filter.full .search-bar[data-v-1bc83710]{margin:0}\n",""])},A2NC:function(t,e,a){var i=a("dBmO");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("30a18465",i,!0,{})},AW8H:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".scroller[data-v-6fd33fd3]{max-height:300px;overflow-y:scroll;border-radius:4px;border:1px solid #dfe0e1;padding:20px;margin-left:-150px;margin-right:-150px;text-align:left}\n",""])},AZxv:function(t,e,a){"use strict";var i=a("zugy"),n=a.n(i),s=a("L2JU"),o={props:["token"],computed:{tokenLogo(){if(this.tokenMetas)return this.tokenMetas[this.token.uniqueWithChain()]},colorHex(){return this.token?!this.token.symbolClass()&&this.tokenLogo?null:"#"+n.a.unsaltedQuickHash(this.token.unique()).slice(0,6):null},...Object(s.d)(["tokenMetas"])},methods:{}},r=(a("+eKM"),a("KHd+")),c=Object(r.a)(o,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("figure",{staticClass:"token-symbol",style:{"background-color":t.colorHex,color:t.colorHex?"white":"inherit"}},[t.token.symbolClass()?a("figure",{staticClass:"symbol-holder as-class",class:t.token.symbolClass()}):t.tokenLogo?a("img",{staticClass:"symbol-holder as-image",attrs:{src:t.tokenLogo}}):a("figure",{staticClass:"symbol-holder as-text"},[t._v(t._s(t.token.symbol[0]))])])}),[],!1,null,"bec13200",null);e.a=c.exports},AgIm:function(t,e,a){var i=a("XZEJ");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("34a80ffe",i,!0,{})},B0RS:function(t,e,a){"use strict";var i={props:["filters","fullSearch","blue"],data:()=>({terms:""}),computed:{},watch:{terms(){this.$emit("terms",this.terms.trim().toLowerCase())}}},n=(a("rRTS"),a("KHd+")),s=Object(n.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"search-and-filter",class:{full:t.fullSearch,blue:t.blue}},[a("figure",{staticClass:"search-bar"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.terms,expression:"terms"}],attrs:{placeholder:t.$t("generic.search")},domProps:{value:t.terms},on:{input:function(e){e.target.composing||(t.terms=e.target.value)}}})]),t._v(" "),t.fullSearch?t._e():a("section",{staticClass:"filters"},t._l(t.filters,(function(e,i){return a("Select",t._b({key:JSON.stringify(e.selected)+i,staticClass:"filter",attrs:{truncate:"1"},on:{selected:function(t){return e.onSelect(t)}}},"Select",e,!1))})),1)])}),[],!1,null,"1bc83710",null);e.a=s.exports},B6RA:function(t,e,a){"use strict";var i=a("oCYn"),n=a("L2JU"),s=a("qjwK"),o=a("q+A3");const r={[o.x]:(t,e)=>t.tokenMetas=e,[o.k]:(t,e)=>t.featuredApps=e,[o.n]:(t,e)=>t.isMobile=e,[o.o]:(t,e)=>t.isMobileDevice=e,[o.q]:(t,e)=>t.popOut=e,[o.r]:(t,e)=>t.ports=e,[o.v]:(t,e)=>t.sidebarLocked=e,[o.j]:(t,e)=>t.appReputation=e,[o.i]:(t,{app:e,rep:a})=>i.a.set(t.actionReputations,e,a),[s.SET_PRICE_DATA]:(t,e)=>t.priceData=e,[o.b]:(t,e)=>t.hideBackButton=e,[o.y]:(t,e)=>t.workingScreen=e,[o.t]:(t,e)=>t.searchTerms=e,[s.SET_SCATTER]:(t,e)=>t.scatter=e,[o.e]:(t,e)=>t.popups.push(e),[o.f]:(t,e)=>t.popups=t.popups.filter(t=>t.id!==e.id),[o.w]:(t,e)=>t.tokens=e,[s.SET_PRICES]:(t,e)=>t.prices=e,[s.SET_DAPP_LOGO]:(t,{origin:e,logo:a})=>i.a.set(t.dappLogos,e,a),[s.SET_DAPP_DATA]:(t,e)=>t.dappData=e,[o.g]:(t,e)=>t.processes=t.processes.filter(t=>t.id!==e.id),[o.s]:(t,e)=>{const a=t.processes.find(t=>t.id===e.id);if(!a)return t.processes.push(e);a.progress=e.progress},[s.SET_RESOURCES]:(t,e)=>t.resources=e,[s.ADD_RESOURCES]:(t,e)=>i.a.set(t.resources,e.acc,e.res),[s.SET_BALANCES]:(t,e)=>i.a.set(t.balances,e.account,e.balances),[o.l]:(t,e)=>t.balances=e,[s.REMOVE_BALANCES]:(t,e)=>e.map(e=>i.a.delete(t.balances,e)),[o.m]:(t,e)=>i.a.set(t.hardware,e.name,e.transport),[o.h]:(t,e)=>i.a.delete(t.hardware,e),[o.d]:(t,e)=>t.newKey=e,[o.p]:(t,e)=>i.a.set(t.language,"json",e),[s.LOAD_HISTORY]:(t,e)=>t.history=e,[s.DELTA_HISTORY]:(t,e)=>{null===e?t.history=[]:t.history.find(t=>t.id===e.id)?t.history=t.history.filter(t=>t.id!==e.id):t.history.unshift(e)}};var c=a("OFHw"),l=a("MIPw"),p=a("Mb++"),d=a.n(p),u=(a("48Ae"),a("sDjF")),h=a("ssXz"),f=a.n(h),b=a("GGPC"),m=a.n(b),g=a("wy8C"),y=a.n(g),x=a("EnWD");const v="popout"===location.hash.replace("#/","").split("?")[0]||!!window.PopOutWebView;let k=!1;const w={[o.x]:({commit:t},e)=>t(o.x,e),[o.k]:({commit:t},e)=>t(o.k,e),[o.q]:({commit:t},e)=>t(o.q,e),[o.r]:({commit:t},e)=>t(o.r,e),[o.v]:({commit:t},e)=>t(o.v,e),[o.j]:({commit:t},e)=>t(o.j,e),[o.i]:({commit:t},e)=>t(o.i,e),[o.b]:({commit:t},e)=>t(o.b,e),[o.s]:({commit:t},e)=>t(o.s,e),[o.g]:({commit:t},e)=>t(o.g,e),[o.y]:({commit:t},e)=>t(o.y,e),[o.t]:({commit:t},e)=>t(o.t,e),[s.SET_PRICE_DATA]:({commit:t},e)=>t(s.SET_PRICE_DATA,e),[s.ADD_RESOURCES]:({commit:t},e)=>t(s.ADD_RESOURCES,e),[s.SET_RESOURCES]:({commit:t},e)=>t(s.SET_RESOURCES,e),[s.SET_DAPP_DATA]:({commit:t},e)=>t(s.SET_DAPP_DATA,e),[s.SET_DAPP_LOGO]:({commit:t},e)=>t(s.SET_DAPP_LOGO,e),[s.HOLD_SCATTER]:({commit:t},e)=>t(s.SET_SCATTER,e),[o.n]:({commit:t},e)=>t(o.n,e),[o.o]:({commit:t},e)=>t(o.o,e),[o.u]:({commit:t},e)=>{},[s.LOAD_SCATTER]:async({commit:t,state:e,dispatch:i},n=!1)=>{let o=await c.a.getScatter();return o?(o=d.a.fromJson(o),v||k||(k=!0,await a("+Dqx").default(o,a("OBek")),o.keychain.accounts.map(t=>{o.keychain.keypairs.find(e=>e.unique()===t.keypairUnique)&&o.settings.networks.find(e=>e.unique()===t.networkUnique)||o.keychain.removeAccount(t)}),o.meta.regenerateVersion()),t(s.SET_SCATTER,o)):null},[o.a]:({state:t,commit:e,dispatch:a},i)=>new Promise(async(t,e)=>{const n=await d.a.create();n.meta.acceptedTerms=!0,n.onboarded=!0,await window.wallet.unlock(i,!0),a(s.SET_SCATTER,n).then(async e=>{await l.a.setDefaultBackupLocation(),u.a.init(),t()})}),[s.SET_SCATTER]:async({commit:t,state:e},a)=>v?e.scatter:new Promise(async e=>{let i=await c.a.setScatter(a);if(!i)return e(!1);l.a.createAutoBackup(),i=d.a.fromJson(i),t(s.SET_SCATTER,i),e(i)}),[o.e]:({commit:t},e)=>t(o.e,e),[o.f]:({commit:t},e)=>t(o.f,e),[o.m]:({commit:t},e)=>t(o.m,e),[o.h]:({commit:t},e)=>t(o.h,e),[o.w]:({commit:t},e)=>t(o.w,e),[s.SET_BALANCES]:({commit:t},e)=>t(s.SET_BALANCES,e),[o.l]:({commit:t},e)=>t(o.l,e),[s.REMOVE_BALANCES]:({commit:t},e)=>t(s.REMOVE_BALANCES,e),[s.SET_PRICES]:({commit:t},e)=>t(s.SET_PRICES,e),[o.d]:({commit:t},e)=>t(o.d,e),[o.p]:({commit:t},e)=>(t(o.p,e),c.a.setTranslation(e)),[o.c]:async({commit:t})=>t(o.p,await c.a.getTranslation()),[s.LOAD_HISTORY]:async({commit:t})=>{let e=await c.a.getHistory();e&&(e=(e=e.filter(t=>t.txid&&t.txid.length)).map(t=>t.type===x.HISTORY_TYPES.Transfer?f.a.fromJson(t):t.type===x.HISTORY_TYPES.Exchange?m.a.fromJson(t):t.type===x.HISTORY_TYPES.Action?y.a.fromJson(t):null).filter(t=>t),t(s.LOAD_HISTORY,e))},[s.UPDATE_HISTORY]:async({dispatch:t},e)=>{await c.a.updateHistory(e),t(s.LOAD_HISTORY)},[s.DELTA_HISTORY]:async({dispatch:t},e)=>{await c.a.deltaHistory(e),t(s.LOAD_HISTORY)}};var _=a("Gbp+"),C=a("IMve"),T=a.n(C),S=(a("MG8j"),a("KLk5")),E=a.n(S);a.d(e,"a",(function(){return O})),i.a.use(n.a);const A={unlocked:t=>null!==t.scatter&&"string"!=typeof t.scatter&&"function"==typeof t.scatter.isEncrypted&&!t.scatter.isEncrypted(),contacts:t=>t.scatter.contacts||[],identity:t=>t.scatter.keychain.identities[0],identities:t=>t.scatter.keychain.identities||[],avatars:t=>t.scatter.keychain.avatars||{},locations:t=>t.scatter.keychain.locations||[],keypairs:t=>t.scatter.keychain.keypairs||[],cards:t=>t.scatter.keychain.cards||[],accounts:t=>t.scatter.keychain.accounts||[],permissions:t=>t.scatter.keychain.permissions||[],apps:t=>t.scatter.keychain.apps||[],hideMainBalance:t=>t.scatter.settings.hideMainBalance,ridlEnabled:t=>t.scatter.settings.firewall,version:t=>t.scatter.meta.version,networks:t=>t.scatter.settings.networks||[],autoBackup:t=>t.scatter.settings.autoBackup||null,backupLocation:t=>t.scatter.settings.backupLocation||null,explorers:t=>t.scatter.settings.explorers||T.a.defaultExplorers(),blacklistActions:t=>t.scatter.settings.blacklistActions,blacklistTokens:t=>t.scatter.settings.blacklistTokens,balanceFilters:t=>t.scatter.settings.balanceFilters,displayCurrency:t=>t.scatter.settings.displayCurrency,displayToken:t=>t.scatter.settings.displayToken,tokens:t=>t.scatter.settings.tokens,popIns:t=>t.popups.filter(t=>t.displayType===_.c.POP_IN)||[],nextPopIn:t=>t.popups.filter(t=>t.displayType===_.c.POP_IN)[0]||null,snackbars:t=>t.popups.filter(t=>t.displayType===_.c.SNACKBAR)||[],totalBalances:(t,e)=>E.a.totalBalances(!0)},O=new n.a.Store({state:{ports:null,dappLogos:{},dappData:{},featuredApps:[],tokenMetas:{},workingScreen:null,processes:[],resources:{},hideBackButton:!1,searchTerms:"",mnemonic:"",scatter:null,popups:[],hardware:{},balances:{},prices:{},newKey:!1,history:[],language:{},priceData:{},appReputation:!1,actionReputations:{},sidebarLocked:!1,popOut:null,isMobile:!1,isMobileDevice:!1},getters:A,mutations:r,actions:w})},BF8t:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".test[data-v-22eeb023]{background:linear-gradient(-180deg, #2c2f3f -10%, #4f5469 120%)}\n",""])},"BI/6":function(t,e,a){"use strict";var i=a("353D");a.n(i).a},BWwa:function(t,e,a){var i=a("gcxV");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("1ebc7895",i,!0,{})},CcTw:function(t,e,a){var i=a("21TS");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("aa8e375c",i,!0,{})},D0lD:function(t,e,a){var i=a("lAtx");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("dcca13ec",i,!0,{})},DolT:function(t,e,a){"use strict";a.r(e);var i=a("PQ0E"),n=a("cUFd");e.default={en:i.default,zh:n.default}},E1Hf:function(t,e,a){var i=a("upnx");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("f5515e6c",i,!0,{})},E9Fc:function(t,e,a){var i=a("bUQ9");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("3323987e",i,!0,{})},EAbP:function(t,e,a){"use strict";var i=a("kAjX");a.n(i).a},EIo5:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".quick-actions[data-v-4fa3c406]{background:white;padding:0 20px;display:flex;align-items:center;text-align:center;justify-content:center;color:#333;height:70px;min-height:70px;width:auto;z-index:99;transition:all 0.12s ease-in-out}@media (max-width: 600px){.quick-actions[data-v-4fa3c406]{padding:0 15px}}.quick-actions.sidebarLocked[data-v-4fa3c406]{left:240px}.quick-actions .left[data-v-4fa3c406]{opacity:1;transition:all 0.22s ease-in-out}.quick-actions .left svg[data-v-4fa3c406]{margin-top:2px;height:44px}.quick-actions .left.quickBack[data-v-4fa3c406]{width:44px;height:44px;opacity:1;color:#0799ff}.quick-actions .right[data-v-4fa3c406]{display:flex;justify-content:flex-end;flex:1;width:80%;font-size:18px;align-items:center}.quick-actions .right i[data-v-4fa3c406]{margin-left:10px}.quick-actions .quick-back[data-v-4fa3c406]{font-size:24px;width:44px;height:44px;line-height:44px;text-align:center;display:block;cursor:pointer}.quick-actions .quick-back i[data-v-4fa3c406]:before{padding:0;margin:6px 0 0 0}.quick-actions .fiat[data-v-4fa3c406]{display:flex;align-items:center}.quick-actions .fiat .balance[data-v-4fa3c406]{font-size:24px;font-family:'Poppins', sans-serif;font-weight:bold;color:black}.quick-actions .fiat .refresh[data-v-4fa3c406]{cursor:pointer;font-size:22px;margin-left:10px}.quick-actions .balances[data-v-4fa3c406]{cursor:pointer}.quick-actions .token[data-v-4fa3c406]{display:flex;align-items:center;margin-top:2px}.quick-actions .token .balance[data-v-4fa3c406]{font-size:10px;font-weight:bold}.quick-actions .token .symbol[data-v-4fa3c406]{cursor:pointer;font-size:18px;margin-left:-3px}.quick-actions .action[data-v-4fa3c406]{height:55px;display:flex;flex-direction:column;justify-content:center;padding:0 20px;font-size:12px;font-weight:bold;text-align:center;cursor:pointer;margin-top:-7px;color:rgba(255,255,255,0.8)}.quick-actions .action img[data-v-4fa3c406]{transition:transform 0.2s ease;transform:translateY(0px);width:44px;margin:0 auto 4px}.quick-actions .action[data-v-4fa3c406]:hover{color:#fff}.quick-actions .action[data-v-4fa3c406]:last-child{border-left:1px solid rgba(255,255,255,0.12);padding-left:30px;margin-left:10px;padding-right:0}\n",""])},EUMI:function(t,e,a){"use strict";var i=a("3c97");a.n(i).a},"Ea+s":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".panel-container[data-v-f78bbdd0]{overflow:auto;height:calc(100vh - 240px)}.resource-moderator .input[data-v-f78bbdd0]{margin-bottom:0}\n",""])},EfjO:function(t,e,a){"use strict";var i=a("L2JU"),n=a("IMve"),s=a.n(n),o=a("B0RS"),r=a("F+MN"),c=a("IfgB"),l=a("Gbp+"),p=a("5lq1"),d=a.n(p),u=a("O1cq"),h=a.n(u),f=a("KLk5"),b=a.n(f),m={components:{SearchAndFilter:o.a},props:["asSelector","accounts","keypairsOnly","noBalances","startingChain"],data:()=>({blockchainFilter:null,terms:"",actionsMenu:null,refreshingAccounts:null,holdingCtrl:!1,Blockchains:r.Blockchains}),computed:{...Object(i.c)(["keypairs","displayCurrency","networks"]),blockchains(){return this.accounts?this.accounts.reduce((t,e)=>(t.includes(e.blockchain)||t.push(e.blockchain),t),[]):r.BlockchainsArray.map(t=>t.value)},filters(){return this.blockchains.length<=1?[]:[{selected:this.blockchainFilter,options:[null].concat(r.BlockchainsArray.map(t=>t.value)),parser:t=>null===t?this.$t("popins.overlay.allBlockchains"):Object(r.blockchainName)(t),onSelect:t=>this.blockchainFilter=t}]},filteredKeypairs(){return(()=>{if(!this.accounts)return this.keypairs;const t=this.accounts.map(t=>t.unique());return this.keypairs.filter(e=>e.accounts(!0).find(e=>t.includes(e.unique())))})().filter(t=>!this.blockchainFilter||t.enabledKey().blockchain===this.blockchainFilter).filter(t=>t.accounts().find(t=>t.sendable().toLowerCase().indexOf(this.terms)>-1)||t.enabledKey().key.toLowerCase().indexOf(this.terms)>-1).filter(t=>!this.asSelector||!!t.accounts().length).sort((t,e)=>e.accounts().length-t.accounts().length)}},mounted(){this.startingChain&&(this.blockchainFilter=this.startingChain),window.addEventListener("click",this.handleClick),window.addEventListener("keydown",this.handleKeyDown),window.addEventListener("keyup",this.handleKeyUp)},destroyed(){window.removeEventListener("click",this.handleClick),window.removeEventListener("keydown",this.handleKeyDown),window.removeEventListener("keyup",this.handleKeyUp)},methods:{handleClick(t){const e=t.path.map(t=>t.className);!this.actionsMenu||e.includes("action-menu")||e.includes("action fas fa-caret-square-down")||(this.actionsMenu=null)},handleKeyDown(t){17===t.which&&(this.holdingCtrl=!0)},handleKeyUp(t){17===t.which&&setTimeout(()=>{this.holdingCtrl=!1},5e3)},canCreateAccounts:t=>s.a.plugin(t.enabledKey().blockchain).accountsAreImported(),linkAccount(t){c.a.push(l.a.eosLinkAccount(t))},createEosAccount(t){c.a.push(l.a.eosCreateAccount(t,t=>{}))},filteredAccounts(t){return t.accounts(!0).filter(t=>!this.accounts||this.accounts.find(e=>e.identifiable()===t.identifiable())).filter(t=>t.sendable().indexOf(this.terms)>-1).sort((t,e)=>e.totalFiatBalance()-t.totalFiatBalance())},isNew:t=>t.createdAt&&t.createdAt>+new Date-3e4,setActionsMenu(t){setTimeout(()=>{this.actionsMenu=this.actionsMenu===t.id?null:t.id},20)},copyPublicKey(t){this.actionsMenu=null,this.copyText(t.enabledKey().key)},removeKeypair(t){this.actionsMenu=null,c.a.push(l.a.removeKeypair(t,t=>{}))},convertKeypair(t){const e=this.networks.reduce((t,e)=>(t.includes(e.blockchain)||t.push(e.blockchain),t),[]).filter(e=>e!==t.enabledKey().blockchain);c.a.push(l.a.selectBlockchain(async e=>{if(!e)return;const a=h.a.convertKey(t,e);await h.a.saveKeyPair(a);const i=await d.a.importAllAccounts(a,!1,[e]);for(let t=0;t{if(!e||!e.trim().length)return;const a=t.clone();if(a.name=e.trim(),this.keypairs.find(e=>e.id!==t.id&&e.name.toLowerCase()===a.name.toLowerCase()))return c.a.push(l.a.snackbar(this.$t("errors.keypairExists")));h.a.updateKeyPair(a),this.actionsMenu=null},!0,{placeholder:"Enter a name"}))},async refreshAccountsFor(t){this.refreshingAccounts||(this.actionsMenu=null,this.refreshingAccounts=t.unique(),await d.a.importAllAccounts(t,!1,t.blockchains),this.refreshingAccounts=!1)},exportPrivateKey(t){c.a.push(l.a.verifyPassword(e=>{e&&c.a.push(l.a.exportPrivateKey(t.clone()))}))}}},g=(a("3FFn"),a("KHd+")),y=Object(g.a)(m,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"keys-and-accounts-list"},[a("SearchAndFilter",{attrs:{filters:t.filters,"full-search":!t.filters.length},on:{terms:function(e){return t.terms=e}}}),t._v(" "),t.keypairs.length?a("section",{staticClass:"keys-list"},t._l(t.filteredKeypairs,(function(e){return a("section",{staticClass:"keypair",class:{new:t.isNew(e),selectable:t.keypairsOnly},on:{click:function(a){return t.$emit("keypair",e)}}},[a("section",{staticClass:"keypair-info"},[t.refreshingAccounts!==e.unique()?a("figure",{staticClass:"blockchain",class:"token-"+e.enabledKey().blockchain+"-"+e.enabledKey().blockchain}):t._e(),t._v(" "),t.refreshingAccounts===e.unique()?a("figure",{staticClass:"blockchain"},[a("i",{staticClass:"icon-spin4 animate-spin"})]):t._e(),t._v(" "),a("section",{staticClass:"info"},[a("figure",{staticClass:"name"},[t._v(t._s(e.name))]),t._v(" "),a("figure",{staticClass:"key selectable"},[t._v(t._s(e.enabledKey().key))]),t._v(" "),e.external?a("figure",{staticClass:"key"},[a("b",[t._v(t._s(e.external.type))])]):t._e()]),t._v(" "),t.asSelector?t._e():a("section",{staticClass:"actions"},[e.external?t._e():a("figure",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.$t("generic.export"),expression:"$t('generic.export')"}],staticClass:"action icon-key",on:{click:function(a){return t.exportPrivateKey(e)}}}),t._v(" "),e.external?a("figure",{staticClass:"action hardware icon-microchip"}):t._e(),t._v(" "),a("figure",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.$t("generic.actions"),expression:"$t('generic.actions')"}],staticClass:"action fas fa-caret-square-down",on:{click:function(a){return t.setActionsMenu(e)}}}),t._v(" "),a("section",{staticClass:"action-menu",class:{hidden:t.actionsMenu!==e.id}},[a("figure",{staticClass:"item",on:{click:function(a){return t.editKeypairName(e)}}},[a("i",{staticClass:"icon-pencil"}),t._v(" "+t._s(t.$t("keysAndAccountsList.actions.editName"))+"\n\t\t\t\t\t\t")]),t._v(" "),a("figure",{staticClass:"item",on:{click:function(a){return t.copyPublicKey(e)}}},[a("i",{staticClass:"icon-docs"}),t._v(" "+t._s(t.$t("keysAndAccountsList.actions.copyPublicKey"))+"\n\t\t\t\t\t\t")]),t._v(" "),a("figure",{staticClass:"item",class:{disabled:t.refreshingAccounts},on:{click:function(a){return t.refreshAccountsFor(e)}}},[a("i",{staticClass:"icon-arrows-ccw"}),t._v(" "+t._s(t.$t("keysAndAccountsList.actions.refreshAccounts"))+"\n\t\t\t\t\t\t")]),t._v(" "),e.external?t._e():a("figure",{staticClass:"item",on:{click:function(a){return t.convertKeypair(e)}}},[a("i",{staticClass:"icon-flow-tree"}),t._v(" "+t._s(t.$t("keysAndAccountsList.actions.convertBlockchain"))+"\n\t\t\t\t\t\t")]),t._v(" "),a("figure",{staticClass:"item",on:{click:function(a){return t.removeKeypair(e)}}},[a("i",{staticClass:"icon-trash"}),t._v(" "+t._s(t.$t("keysAndAccountsList.actions.removeKey"))+"\n\t\t\t\t\t\t")]),t._v(" "),t.holdingCtrl&&e.enabledKey().blockchain===t.Blockchains.EOSIO?a("figure",{staticClass:"item",on:{click:function(a){return t.linkAccount(e)}}},[a("i",{staticClass:"icon-user"}),t._v(" "+t._s(t.$t("keysAndAccountsList.actions.linkAccount"))+"\n\t\t\t\t\t\t")]):t._e()])])]),t._v(" "),t.keypairsOnly?t._e():a("section",[t.filteredAccounts(e).length?a("section",[a("figure",{staticClass:"accounts-label"},[t._v(t._s(t.$t("keysAndAccountsList.linkedAccounts")))]),t._v(" "),a("section",{staticClass:"accounts-list"},t._l(t.filteredAccounts(e),(function(e){return a("section",{staticClass:"account",on:{click:function(a){return t.$emit("account",e)}}},[a("section",{staticClass:"details"},[a("figure",{staticClass:"name"},[t._v(t._s(e.sendable()))]),t._v(" "),a("figure",{staticClass:"network"},[t._v(t._s(e.network().name))])]),t._v(" "),!t.noBalances&&e.tokens().length?a("section",{staticClass:"tokens"},[a("figure",{staticClass:"balance"},[t._v(t._s(e.totalFiatBalance())+" "+t._s(t.displayCurrency))]),t._v(" "),a("figure",{staticClass:"quantity"},[t._v(t._s(e.tokens().length)+" "+t._s(t.$tc("generic.tokens",e.tokens().length)))])]):t._e(),t._v(" "),t.asSelector?t._e():a("section",{staticClass:"actions"},[a("figure",{staticClass:"chevron icon-right-open-big"})])])})),0)]):a("section",{staticClass:"no-accounts"},[a("section",[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("keysAndAccountsList.noAccounts.title"))+"\n\t\t\t\t\t\t"),t.canCreateAccounts(e)?a("p",[t._v(t._s(t.$t("keysAndAccountsList.noAccounts.requiresPayment",{blockchain:t.blockchainName(e.enabledKey().blockchain)})))]):a("p",[t._v(t._s(t.$t("keysAndAccountsList.noAccounts.checkEnabled",{blockchain:t.blockchainName(e.enabledKey().blockchain)})))])]),t._v(" "),t.canCreateAccounts(e)?a("Button",{attrs:{text:t.$t("keysAndAccountsList.noAccounts.createAccountButton")},nativeOn:{click:function(a){return t.createEosAccount(e)}}}):t._e()],1)])])})),0):t._e()],1)}),[],!1,null,"8a32210c",null);e.a=y.exports},ExEW:function(t,e,a){var i=a("G7F7");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("37d35501",i,!0,{})},"F/n4":function(t,e,a){"use strict";var i=a("r/Ez");a.n(i).a},FNEE:function(t,e,a){var i=a("XMON");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("37cbda58",i,!0,{})},FNgu:function(t,e,a){"use strict";var i=a("nsxS");a.n(i).a},Fixf:function(t,e,a){var i=a("QKkz");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("614a345a",i,!0,{})},FnTk:function(t,e,a){"use strict";var i=a("iaKN");a.n(i).a},FxcG:function(t,e,a){var i=a("aqMg");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("470431ca",i,!0,{})},G7F7:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".assets[data-v-4a983508]{display:flex;flex-direction:column;height:100%;overflow-y:scroll}@media (max-width: 600px){.assets[data-v-4a983508]{border:0;border-radius:0}}.assets .token-list[data-v-4a983508]{display:flex;flex-direction:column;width:100%}.assets .token-list .tokens[data-v-4a983508]{height:calc(100vh - 220px);overflow-y:auto}.assets .graph-and-accounts[data-v-4a983508]{display:flex;flex-direction:column;background:white;right:-100%;width:50vw;top:0;position:fixed;bottom:0;height:initial;z-index:102;opacity:0;transition:box-shadow 0.3s ease, right .44s ease-in-out, opacity .12 ease;box-shadow:none}@media (max-width: 920px){.assets .graph-and-accounts[data-v-4a983508]{width:calc(100vw)}}.assets .graph-and-accounts.open[data-v-4a983508]{right:0;box-shadow:10px 0 30px rgba(0,0,0,0.15),2px 0 10px rgba(7,155,232,0.23);opacity:1}.assets .graph-and-accounts .graph-and-accounts-header[data-v-4a983508]{display:flex;width:100%;height:120px;justify-content:space-between;align-items:center;padding:20px;background:#f3f6f7}@media (max-width: 600px){.assets .graph-and-accounts .graph-and-accounts-header[data-v-4a983508]{width:100vw}}.assets .graph-and-accounts .graph-and-accounts-header .graph-and-accounts-content[data-v-4a983508]{display:flex;flex-direction:column}.assets .graph-and-accounts .graph-and-accounts-header .graph-and-accounts-content .graph-and-accounts-name[data-v-4a983508]{font-size:24px;font-family:'Poppins', sans-serif;font-weight:bold;color:black}.assets .graph-and-accounts .graph-and-accounts-header .graph-and-accounts-content .graph-and-accounts-balance[data-v-4a983508]{font-size:13px;font-family:'Poppins', sans-serif;font-weight:bold;color:black}.assets .graph-and-accounts .graph-and-accounts-header .graph-and-accounts-close[data-v-4a983508]{padding:10px;cursor:pointer;color:#0799ff;font-size:24px;border-radius:4px}.assets .graph-and-accounts .no-accounts[data-v-4a983508]{height:calc(100% - 180px);display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:bold;color:rgba(255,255,255,0.24)}.assets .graph-and-accounts .accounts[data-v-4a983508]{padding:20px;overflow:auto;height:calc(100% - 180px);border-top:1px solid #dfe0e1}.assets .graph-and-accounts .accounts.with-search[data-v-4a983508]{height:calc(100% - 180px - 70px)}.assets .graph-and-accounts .accounts .account[data-v-4a983508]{display:flex;flex-direction:column;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid #dfe0e1}.assets .graph-and-accounts .accounts .account[data-v-4a983508]:last-child{border:0}.assets .graph-and-accounts .accounts .account .name[data-v-4a983508]{font-size:16px;font-family:'Poppins', sans-serif;font-weight:bold}.assets .graph-and-accounts .accounts .account .network[data-v-4a983508]{font-size:12px;font-family:'Poppins', sans-serif;color:rgba(0,0,0,0.6);margin-bottom:6px}.assets .graph-and-accounts .accounts .account .details[data-v-4a983508]{display:flex;width:100%;justify-content:space-between;align-items:flex-end;margin-top:5px}.assets .graph-and-accounts .accounts .account .details .balance[data-v-4a983508]{font-size:12px;font-weight:bold;margin-bottom:2px}.assets .graph-and-accounts .accounts .account .details .fiat[data-v-4a983508]{font-size:12px}.assets .graph-and-accounts .accounts .account .actions[data-v-4a983508]{flex:0 0 auto;padding-left:20px}\n",""])},"Gbp+":function(t,e,a){"use strict";a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return c})),a.d(e,"d",(function(){return l})),a.d(e,"e",(function(){return p})),a.d(e,"b",(function(){return d}));var i=a("SDtL"),n=a.n(i),s=a("+nw1"),o=a("F+MN");a("z/LQ");const r={POP_IN:"popin",POP_OUT:"popout",POP_SIDE:"popside",SNACKBAR:"snackbar"};class c{constructor(t=r.POP_IN,e=new d,a=!1){this.id=n.a.numeric(24),this.displayType=t,this.data=e,this.internal=a}static fromJson(t){return Object.assign(new c,t)}dimensions(){switch(this.data.type){case s.LOGIN:case s.LOGIN_ALL:case s.GET_PUBLIC_KEY:case s.TRANSFER:return{width:600,height:600};case s.UPDATE_IDENTITY:return{width:420,height:600};case s.SIGN:return{width:920,height:600};case"linkApp":return{width:420,height:500};default:return{width:800,height:600}}}appData(){return this.data.props.appData}payload(){return this.data.props.payload}origin(){const t=this.appData();return t?t.name:this.data.props.plugin}static popout(t,e,a=!1){return new c(r.POP_OUT,new d(t.type,t,e),a)}static prompt(t,e,a,i=!1,n=!1){let s={title:t,description:e,acceptDeny:i,inputField:n};return new c(r.POP_IN,new d(l.PROMPT,s,a))}static selectFromList(t,e,a){return new c(r.POP_IN,new d(l.SELECT_FROM_LIST,{title:t,list:e},a))}static transactionSuccess(t,e,a){return new c(r.POP_IN,new d(l.TX_SUCCESS,{blockchain:t,tx:e},a))}static snackbar(t,e,a=3e3){return new c(r.SNACKBAR,new d("",{message:t,icon:e,timeout:a}))}static enterPIN(t){return new c(r.POP_IN,new d(l.ENTER_PIN,{},t))}static removeApp(t,e){return new c(r.POP_IN,new d(l.REMOVE_APP,{origin:t},e))}static updateAvailable(t,e){return new c(r.POP_IN,new d(l.UPDATE_AVAILABLE,{update:t},e))}static showTerms(t){return new c(r.POP_IN,new d(l.SHOW_TERMS,{},t))}static enterSecurityCode(t,e){return new c(r.POP_IN,new d(l.SECURITY_CODE,{subtitle:t},e))}static verifyPassword(t,e=!1){return new c(r.POP_IN,new d(l.VERIFY_PASSWORD,{returnOnly:e},t))}static changeIdentityKey(t,e){return new c(r.POP_IN,new d(l.CHANGE_IDENTITY_KEY,{identity:t},e))}static eosChangePermissions(t,e){return new c(r.POP_IN,new d(l.EOS_CHANGE_PERMISSIONS,{account:t},e))}static eosProxyVotes(t,e){return new c(r.POP_IN,new d(l.EOS_PROXY_VOTES,{account:t},e))}static eosModerateRam(t,e){return new c(r.POP_IN,new d(l.EOS_MODERATE_RAM,{account:t},e))}static eosModerateCpuNet(t,e){return new c(r.POP_IN,new d(l.EOS_MODERATE_CPU_NET,{account:t},e))}static eosCreateAccount(t,e){return new c(r.POP_IN,new d(l.EOS_CREATE_ACCOUNT,{account:t},e))}static eosLinkAccount(t,e){return new c(r.POP_IN,new d(l.EOS_LINK_ACCOUNT,{keypair:t},e))}static addCustomNetwork(t,e){return new c(r.POP_IN,new d(l.ADD_CUSTOM_NETWORK,{blockchain:t},e))}static addNewContact(t,e){return new c(r.POP_IN,new d(l.ADD_NEW_CONTACT,{blockchain:t},e))}static unlinkAccount(t,e){return new c(r.POP_IN,new d(l.UNLINK_ACCOUNT,{account:t},e))}static unlinkBlockchain(t,e,a){return new c(r.POP_IN,new d(l.UNLINK_BLOCKCHAIN,{keypair:t,blockchain:e},a))}static removeKeypair(t,e){return new c(r.POP_IN,new d(l.REMOVE_KEYPAIR,{keypair:t},e))}static removeLocation(t,e,a){return new c(r.POP_IN,new d(l.REMOVE_LOCATION,{identity:t,location:e},a))}static destroyScatter(t){return new c(r.POP_IN,new d(l.DESTROY_SCATTER,{},t))}static importFullBackup(t,e){return new c(r.POP_IN,new d(l.IMPORT_FULL_BACKUP,{options:t},e))}static importKeypair(t,e){return new c(r.POP_IN,new d(l.IMPORT_KEYPAIR,{options:t},e))}static generateKeypair(t,e){return new c(r.POP_IN,new d(l.GENERATE_KEYPAIR,{options:t},e))}static checkHardwareWalletScreen(){return window.wallet.utility.pushNotification("Check Hardware","Please check your hardware screen."),new c(r.POP_IN,new d(l.CHECK_HARDWARE,{},()=>{}))}static selectTokenAndAccount(t){return new c(r.POP_IN,new d(l.SELECT_TOKEN_AND_ACCOUNT,{},t))}static selectAccount(t,e=null){return new c(r.POP_IN,new d(l.SELECT_ACCOUNT,{validAccounts:e},t))}static selectKeypair(t,e=o.BlockchainsArray.map(t=>t.value)){return new c(r.POP_IN,new d(l.SELECT_KEYPAIR,{blockchains:e},t))}static selectRecipient(t=null,e){return new c(r.POP_IN,new d(l.SELECT_RECIPIENT,{blockchain:t},e))}static selectToken(t,e){return new c(r.POP_IN,new d(l.SELECT_TOKEN,{tokens:t},e))}static selectBlockchain(t,e=o.BlockchainsArray.map(t=>t.value)){return new c(r.POP_IN,new d(l.SELECT_BLOCKCHAIN,{blockchains:e},t))}static confirmExchange(t,e,a,i,n){return new c(r.POP_IN,new d(l.CONFIRM_EXCHANGE,{accounts:t,symbols:e,order:a,pair:i},n))}static confirmTransfer(t,e,a,i,n){return new c(r.POP_IN,new d(l.CONFIRM_TRANSFER,{from:t,to:e,token:a,memo:i},n))}static exportPrivateKey(t,e){return new c(r.POP_IN,new d(l.EXPORT_PRIVATE_KEY,{keypair:t.clone()},e))}static setDisplayToken(t=(()=>{})){return new c(r.POP_IN,new d(l.DISPLAY_TOKEN,{},t))}static moonpayCode(t=(()=>{})){return new c(r.POP_IN,new d(l.MOONPAY_CODE,{},t))}static enableSimpleMode(t=(()=>{})){return new c(r.POP_IN,new d(l.ENABLE_SIMPLE_MODE,{},t))}}const l={PROMPT:"prompt",SELECT_FROM_LIST:"select_from_list",ENTER_PIN:"enterPIN",REMOVE_APP:"removeApp",UPDATE_AVAILABLE:"updateAvailable",TX_SUCCESS:"txSuccess",SELECT_TOKEN_AND_ACCOUNT:"selectTokenAndAccount",SELECT_ACCOUNT:"selectAccount",SELECT_KEYPAIR:"selectKeypair",SELECT_RECIPIENT:"selectRecipient",SELECT_TOKEN:"selectToken",SELECT_BLOCKCHAIN:"selectBlockchain",EOS_LINK_ACCOUNT:"eosLinkAccount",DISPLAY_TOKEN:"displayToken",MOONPAY_CODE:"moonpayCode",ENABLE_SIMPLE_MODE:"enableSimpleMode",SHOW_TERMS:"showTerms",SECURITY_CODE:"securityCode",CHANGE_IDENTITY_KEY:"changeIdentityKey",VERIFY_PASSWORD:"verifyPassword",EOS_CHANGE_PERMISSIONS:"eosChangePermissions",EOS_PROXY_VOTES:"eosProxyVotes",EOS_MODERATE_RAM:"eosModerateRam",EOS_MODERATE_CPU_NET:"eosModerateCpuNet",EOS_CREATE_ACCOUNT:"eosCreateAccount",ADD_CUSTOM_NETWORK:"addCustomNetwork",ADD_NEW_CONTACT:"addNewContact",UNLINK_ACCOUNT:"unlinkAccount",UNLINK_BLOCKCHAIN:"unlinkBlockchain",REMOVE_KEYPAIR:"removeKeypair",MNEMONIC:"mnemonic",REMOVE_LOCATION:"removeLocation",DESTROY_SCATTER:"destroyScatter",CHECK_HARDWARE:"checkHardware",CONFIRM_EXCHANGE:"confirmExchange",CONFIRM_TRANSFER:"confirmTransfer",EXPORT_PRIVATE_KEY:"exportPrivateKey",GENERATE_KEYPAIR:"generateKeypair",IMPORT_KEYPAIR:"importKeypair",IMPORT_FULL_BACKUP:"importFullBackup"},p=t=>![l.PROMPT,l.SELECT_FROM_LIST,l.ENTER_PIN,l.REMOVE_APP,l.UPDATE_AVAILABLE,l.TX_SUCCESS,l.SELECT_TOKEN_AND_ACCOUNT,l.SELECT_ACCOUNT,l.SELECT_KEYPAIR,l.SELECT_RECIPIENT,l.SELECT_TOKEN,l.SELECT_BLOCKCHAIN,l.CONFIRM_TRANSFER,l.CONFIRM_EXCHANGE,l.EOS_LINK_ACCOUNT,l.DISPLAY_TOKEN,l.ENABLE_SIMPLE_MODE].includes(t.data.type);class d{constructor(t,e,a=(()=>{})){this.type=t,this.props=e,this.callback=a}}},Gfyt:function(t,e,a){"use strict";var i=a("Vl93");a.n(i).a},Gx2v:function(t,e,a){var i=a("iT9p");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("65925b66",i,!0,{})},GxcK:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".actions button[data-v-281fcfea]{margin-left:5px}\n",""])},H7TC:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".pop-over[data-v-5bf2c9f8]{padding:30px}b.blue[data-v-5bf2c9f8]{color:#0799ff}.description[data-v-5bf2c9f8]{font-size:13px}.description.link[data-v-5bf2c9f8]{text-decoration:underline;color:#0799ff;cursor:pointer}.description.link[data-v-5bf2c9f8]:hover{color:#0799ff}.markdown[data-v-5bf2c9f8]{max-height:200px;overflow:auto;padding:20px;border:1px solid rgba(0,0,0,0.1)}.markdown h1[data-v-5bf2c9f8]{font-size:24px}\n",""])},"HLB/":function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return o}));const i={POP_OUT:"popout",LOGIN:"login",APPS:"apps",HOME:"home",WALLET:"wallet",NETWORKS:"networks",ASSETS:"assets",TRANSFER:"transfer",RECEIVE:"receive",EXCHANGE:"exchange",CONTACTS:"contacts",IDENTITIES:"identities",LOCATIONS:"locations",HISTORIES:"histories",SETTINGS:"settings",APP:"app",ACCOUNT:"account"},n={[i.LOGIN]:()=>Promise.all([a.e(0),a.e(13),a.e(26),a.e(22),a.e(1),a.e(35),a.e(28),a.e(7),a.e(19),a.e(16),a.e(9),a.e(39),a.e(15),a.e(37),a.e(20),a.e(14),a.e(6),a.e(11),a.e(21),a.e(8),a.e(33),a.e(5),a.e(4),a.e(42),a.e(30),a.e(36),a.e(18),a.e(10),a.e(27),a.e(41),a.e(17),a.e(25),a.e(40),a.e(3),a.e(31),a.e(23),a.e(24),a.e(29),a.e(43),a.e(12),a.e(34),a.e(2),a.e(38),a.e(32),a.e(54)]).then(a.bind(null,"pVsz")),[i.APPS]:()=>a.e(53).then(a.bind(null,"4ILN")),[i.HOME]:()=>a.e(60).then(a.bind(null,"cndU")),[i.WALLET]:()=>a.e(46).then(a.bind(null,"Tdf5")),[i.NETWORKS]:()=>a.e(65).then(a.bind(null,"rU3z")),[i.ASSETS]:()=>a.e(58).then(a.bind(null,"TWCW")),[i.TRANSFER]:()=>a.e(67).then(a.bind(null,"aaq0")),[i.RECEIVE]:()=>a.e(66).then(a.bind(null,"4ZpK")),[i.EXCHANGE]:()=>a.e(61).then(a.bind(null,"LHAq")),[i.CONTACTS]:()=>a.e(59).then(a.bind(null,"yTwl")),[i.IDENTITIES]:()=>a.e(63).then(a.bind(null,"lkON")),[i.LOCATIONS]:()=>a.e(64).then(a.bind(null,"fe4H")),[i.HISTORIES]:()=>a.e(62).then(a.bind(null,"/SjY")),[i.SETTINGS]:()=>Promise.all([a.e(0),a.e(13),a.e(26),a.e(22),a.e(1),a.e(35),a.e(28),a.e(7),a.e(19),a.e(16),a.e(9),a.e(39),a.e(15),a.e(37),a.e(20),a.e(14),a.e(6),a.e(11),a.e(21),a.e(8),a.e(33),a.e(5),a.e(4),a.e(42),a.e(30),a.e(36),a.e(18),a.e(10),a.e(27),a.e(41),a.e(17),a.e(25),a.e(40),a.e(3),a.e(31),a.e(23),a.e(24),a.e(29),a.e(43),a.e(12),a.e(34),a.e(2),a.e(38),a.e(32),a.e(45)]).then(a.bind(null,"JtMT")),[i.APP]:()=>a.e(52).then(a.bind(null,"kYyy")),[i.ACCOUNT]:()=>a.e(56).then(a.bind(null,"d759")),[i.POP_OUT]:()=>a.e(57).then(a.bind(null,"AvAb"))},s={[i.HOME]:"/",[i.APP]:"/app/:applink",[i.ACCOUNT]:"/account/:unique"};class o{static builder(){const t=Object.keys(i).map(t=>i[t]);let e={};return t.map(t=>{e[t]={path:s.hasOwnProperty(t)?s[t]:`/${t}`,name:t,component:n[t]}}),e}static routes(){return Object.keys(o.builder()).map(t=>o.builder()[t])}static isRestricted(t){return![i.LOGIN].includes(t)}}},HW6o:function(t,e,a){var i=a("GxcK");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("2cda3454",i,!0,{})},HluJ:function(t,e,a){"use strict";var i=a("KHd+"),n=Object(i.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticStyle:{"shape-rendering":"geometricPrecision","text-rendering":"geometricPrecision","image-rendering":"optimizeQuality"},attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xml:space":"preserve",version:"1.1",viewBox:"0 0 800 800",x:"0px",y:"0px","fill-rule":"evenodd","clip-rule":"evenodd"}},[e("g",[e("path",{staticClass:"fil0",attrs:{d:"M96.07 180.97l654.52 0c35.02,0 63.71,28.68 63.71,63.71l0 357.31c0,35.03 -28.69,63.71 -63.71,63.71l-654.52 0c-35.02,0 -63.71,-28.68 -63.71,-63.71l0 -357.31c0,-35.03 28.69,-63.71 63.71,-63.71zm316.26 415.19c-16.73,0 -16.73,-25.44 0,-25.44l67.57 0c16.72,0 16.72,25.44 0,25.44l-67.57 0zm-282.17 0c-16.73,0 -16.73,-25.44 0,-25.44l233.15 0c16.73,0 16.73,25.44 0,25.44l-233.15 0zm478.22 -157.11c9.61,0 18.33,3.79 24.76,9.96 6.43,-6.17 15.15,-9.96 24.76,-9.96 19.75,0 35.77,16.01 35.77,35.77 0,19.75 -16.02,35.76 -35.77,35.76 -9.61,0 -18.33,-3.79 -24.76,-9.95 -6.43,6.16 -15.15,9.95 -24.76,9.95 -19.76,0 -35.77,-16.01 -35.77,-35.76 0,-19.76 16.01,-35.77 35.77,-35.77zm-542.1 -156.49l714.1 0 0 -37.88c0,-16.4 -13.39,-29.79 -29.79,-29.79l-654.52 0c-16.4,0 -29.79,13.39 -29.79,29.79l0 37.88zm714.1 67.82l-714.1 0 0 251.61c0,16.4 13.39,29.79 29.79,29.79l654.52 0c16.4,0 29.79,-13.39 29.79,-29.79l0 -251.61z"}})])])}),[],!1,null,null,null);e.a=n.exports},INbi:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"",""])},IfgB:function(t,e,a){"use strict";a.d(e,"a",(function(){return l}));var i=a("q+A3"),n=a("Gbp+"),s=a("Srzz"),o=a("pk5N"),r=a.n(o),c=a("4zkp");class l{static remove(t){r.a.get().dispatch(i.f,t)}static push(t){return s.RUNNING_TESTS&&s.SHOW_POPUPS_AS_CONSOLE?console.log(t):!r.a.get().state.popups.find(e=>JSON.stringify(e.data)===JSON.stringify(t.data))&&(t.displayType===n.c.POP_OUT?this.openPopOut(t):(r.a.get().dispatch(i.e,t),void(t.displayType===n.c.SNACKBAR&&setTimeout(()=>r.a.get().dispatch(i.f,t),t.data.props.timeout))))}static openPopOut(t){return c.a.openPopOut(t)}}},J6uO:function(t,e,a){"use strict";var i=a("/Zmv");a.n(i).a},Jv5P:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".disclaimer[data-v-fed8cede]{margin-top:20px !important;margin-bottom:30px !important}.authorities[data-v-fed8cede]{margin-top:10px;max-width:500px;min-width:500px;display:flex;justify-content:space-between}.authorities .authority[data-v-fed8cede]{flex:1;margin:0 5px 20px;display:inline-block}.authorities .authority label[data-v-fed8cede]{display:block;margin-bottom:5px;font-size:12px;font-weight:bold;color:#7a7a7a}\n",""])},K4Y4:function(t,e,a){"use strict";a.d(e,"a",(function(){return s}));var i=a("IfgB"),n=a("Gbp+");class s{static async appPath(){return window.wallet.storage.getDefaultPath()}static async openLink(t,e=!1){return window.wallet.utility.openLink(t,e)}static async copy(t){return i.a.push(n.a.snackbar("Copied Text")),window.wallet.utility.copy(t)}}},K92k:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".switch[data-v-686d2e8e]{width:calc(28px * 1.8);height:28px;border:1px solid rgba(0,0,0,0.1);border-radius:50px;padding:2px;cursor:pointer;opacity:1;transition:all 0.3s ease;transition-property:opacity;background:#0799ff}.switch.disabled[data-v-686d2e8e]{opacity:0.2;cursor:not-allowed}.switch .dot[data-v-686d2e8e]{width:calc(28px - 6px);height:calc(28px - 6px);margin-left:calc(28px - 7px);border-radius:50%;background:#fff;transition:all 0.3s ease;transition-property:margin-left, background}.switch.off[data-v-686d2e8e]{background:rgba(0,0,0,0.03)}.switch.off .dot[data-v-686d2e8e]{margin-left:1px;background:#dfe0e1}\n",""])},"Kor+":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".enable-simple-mode .transfer[data-v-ab6612ac]{height:auto}.enable-simple-mode .container[data-v-ab6612ac]{padding:20px}.enable-simple-mode .container .info[data-v-ab6612ac]{margin-bottom:30px;font-size:13px}.enable-simple-mode .boxes[data-v-ab6612ac]{margin-bottom:20px}.enable-simple-mode .actions[data-v-ab6612ac]{padding:10px;display:flex;justify-content:flex-end;width:100%}.enable-simple-mode .actions button[data-v-ab6612ac]{margin-left:10px}\n",""])},MGze:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".test[data-v-587f4680]{background:linear-gradient(-180deg, #2c2f3f -10%, #4f5469 120%)}\n",""])},MH1I:function(t,e,a){"use strict";var i=a("okcj");a.n(i).a},MIPw:function(t,e,a){"use strict";a.d(e,"a",(function(){return p}));var i=a("qjwK"),n=a("gbBq"),s=a("OFHw"),o=a("pk5N"),r=a.n(o),c=a("2UZj");const l=async t=>{const e=await s.a.getScatter(),a=new Date,i=a.getUTCMonth(),n=a.getUTCFullYear(),o=await window.wallet.getSalt(),c=JSON.stringify(e)+"|SLT|"+o,l=`scatter__${r.a.get().state.scatter.hash.substr(0,4)}-${r.a.get().state.scatter.hash.slice(-4)}__${r.a.get().state.scatter.meta.version}__${i}-${n}.json`;return s.a.saveFile(t,l,c)};class p{static async setBackupStrategy(t){const e=r.a.get().state.scatter.clone();return e.settings.autoBackup=t,r.a.get().dispatch(i.SET_SCATTER,e)}static async createBackup(){const t=await c.getFolderLocation();return!!t&&await l(t[0])}static async setBackupLocation(t=null){if(t||(t=await(async()=>{const t=await c.getFolderLocation();return t?t[0]:null})()),!t)return!1;const e=r.a.get().state.scatter.clone();return e.settings.backupLocation=t,r.a.get().dispatch(i.SET_SCATTER,e)}static async setDefaultBackupLocation(){const t=`${await s.a.getDefaultPath()}/scatter_backups`;return await window.wallet.storage.mkdir(t),this.setBackupLocation(t)}static async createAutoBackup(){if(!r.a.get().state.scatter||!r.a.get().state.scatter.settings)return;const t=r.a.get().state.scatter.settings.autoBackup;if(!t||!t.length||t===n.BACKUP_STRATEGIES.MANUAL)return;const e=r.a.get().state.scatter.settings.backupLocation;return!(!e||!e.length)&&await l(e)}}},Mqgg:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".blockchain-list-container{display:flex;height:100%;border-top:1px solid #dfe0e1}.blockchain-list-container .head{flex:1;display:flex;align-items:center;padding:0 20px;font-size:13px;color:black;font-family:'Poppins', sans-serif;font-weight:bold;height:70px;background-color:#f3f6f7}.blockchain-list-container .head.with-button{display:flex;justify-content:space-between}.blockchain-list-container .tail{flex:1;display:flex;align-items:center;padding:0 20px;height:70px;border-top:1px solid #dfe0e1;justify-content:flex-end}.blockchain-list-container .scroller{flex:1;overflow:auto;height:calc(100vh - 40px - 70px - 30px)}.blockchain-list-container .scroller.dynamic{height:auto}.blockchain-list-container .scroller.with-tail{height:calc(100vh - 210px);padding:20px}.blockchain-list-container .scroller.with-tail.with-search{height:calc(100vh - 305px)}.blockchain-list-container .blockchains{flex:0 0 auto;width:280px;border-right:1px solid #dfe0e1}.blockchain-list-container .blockchains.full-width{width:100%;flex:1}.blockchain-list-container .blockchains .head:not(:first-child){border-top:1px solid #dfe0e1}.blockchain-list-container .list-container{flex:1;margin-bottom:40px}.blockchain-list-container .list-container .back-button{font-size:24px;color:#0799ff;cursor:pointer;margin-right:10px}.blockchain-list-container .list-container .search-and-filter{padding:10px}.blockchain-list-container .list-container .item-list .item{margin-bottom:40px;display:flex;flex-direction:column}.blockchain-list-container .list-container .item-list .item .expanded pre{font-size:12px;white-space:pre-wrap;padding:20px;background:#f3f6f7;color:#333;border-radius:4px}.blockchain-list-container .list-container .item-list .item .basics{display:flex;width:100%;align-items:center}.blockchain-list-container .list-container .item-list .item .basics .chevron{padding:0 20px 0 0;color:#0799ff;cursor:pointer}.blockchain-list-container .list-container .item-list .item .basics .chevron i{display:block;transition:all 0.2s ease;transition-property:transform;font-size:18px}.blockchain-list-container .list-container .item-list .item .basics.open .chevron i{transform:rotateZ(180deg)}.blockchain-list-container .list-container .item-list .item .basics .details{flex:1;cursor:pointer}.blockchain-list-container .list-container .item-list .item .basics .details .name{font-size:12px;font-weight:bold}.blockchain-list-container .list-container .item-list .item .basics .details .text{font-size:10px;margin-top:3px;color:#c8c8c8}.blockchain-list-container .list-container .item-list .item .basics .details .connection-error{background:#ff0707;color:#fff;padding:4px 5px;border-radius:4px;display:inline-block;font-size:10px;font-weight:bold;margin-top:8px}.blockchain-list-container .list-container .item-list .item .basics .actions{display:flex;align-items:center}.blockchain-list-container .list-container .item-list .item .basics .actions .system-token{font-size:10px;font-weight:bold;padding:3px 10px;background:#dfe0e1;margin-right:10px}\n",""])},N9uu:function(t,e,a){var i=a("sAA5");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("30f437b1",i,!0,{})},OBek:function(t,e,a){"use strict";a.r(e);var i=a("IMve"),n=a.n(i),s=a("F+MN");a("lkGv");const o=async t=>(await Promise.all(t.settings.networks.map(async t=>(t.blockchain===s.Blockchains.ETH&&"ethereum.com"===t.host&&(t=n.a.plugin(s.Blockchains.ETH).getEndorsedNetwork()),t))),t.settings.networks.find(t=>t.blockchain===s.Blockchains.TRX)||t.settings.networks.push(n.a.plugin(s.Blockchains.TRX).getEndorsedNetwork()),!0),r=async t=>(t.settings.networks=t.settings.networks.filter(t=>t.blockchain!==s.Blockchains.TRX),t.settings.networks.push(n.a.plugin(s.Blockchains.TRX).getEndorsedNetwork()),!0);var c=a("DgqZ"),l=a.n(c),p=a("O1cq"),d=a.n(p);const u=async t=>(t.settings.explorers=n.a.defaultExplorers(),s.BlockchainsArray.map(({value:e})=>{t.settings.explorers[e]=l.a.fromRaw(t.settings.explorers[e].raw)}),t.settings.displayToken=null,t.keychain.keypairs.filter(t=>t.external).map(e=>{t.keychain.removeKeyPair(e)}),!0),h=async t=>(t.settings.networks.map(t=>{if("ethereum.com"===t.host){const e=n.a.plugin(s.Blockchains.ETH).getEndorsedNetwork();t.host=e.host,t.protocol=e.protocol,t.port=e.port,t.name=e.name}}),t.settings.displayCurrency="USD",t.settings.displayToken=null,t.settings.languageJson=null,!0);var f=a("SDtL"),b=a.n(f);const m=async t=>{t.keychain.identities.map(t=>{t.hasOwnProperty("id")||(t.id=b.a.text(24))});return t.keychain.permissions.map(e=>{if(e.identity.length){n.a.plugin(s.Blockchains.EOSIO).validPublicKey(e.identity)&&(e.identity=(e=>t.keychain.identities.find(t=>t.publicKey===e))(e.identity).id)}}),!0};var g=a("EY8S");const y=async t=>{const e=t.keychain.keypairs.map(t=>t.clone());t.keychain.keypairs=[],t.settings.language="english",await Promise.all(e.map(async e=>{delete e.keyHash,await d.a.addPublicKey(e,s.Blockchains.BTC,!0);let a=!0;return e.blockchains.map(i=>{const n=t.keychain.accounts.filter(t=>t.keypairUnique===e.unique()&&t.blockchain()===i);if(n.length){const o=e.clone();a||(o.id=b.a.text(24),n.map(t=>t.keypairUnique=o.id),o.name=`${Object(s.blockchainName)(i)} copy of ${o.name}`),o.blockchains=[i],t.keychain.keypairs.push(o)}a=!1}),!0})),t.keychain.identities.map(e=>{const a=e.locations.length?e.locations[0]:g.LocationInformation.fromJson({name:`Location for ${e.name}`});t.keychain.locations.push(a),e.location=a.id,delete e.locations});const a=n.a.plugin(s.Blockchains.BTC).getEndorsedNetwork();return t.settings.networks.find(t=>t.unique()===a.unique())||t.settings.networks.push(a),t.settings.explorers[s.Blockchains.BTC]=l.a.fromRaw(n.a.plugin(s.Blockchains.BTC).defaultExplorer()),!0};a.d(e,"m9_2_0",(function(){return o})),a.d(e,"m9_5_0",(function(){return r})),a.d(e,"m10_0_0",(function(){return u})),a.d(e,"m10_1_0",(function(){return h})),a.d(e,"m10_2_0",(function(){return m})),a.d(e,"m11_0_0",(function(){return y}))},OFHw:function(t,e,a){"use strict";a.d(e,"a",(function(){return i}));class i{constructor(){}static async getDefaultPath(){return window.wallet.storage.getDefaultPath()}static async saveFile(...t){return window.wallet.storage.saveFile(...t)}static async setScatter(t){return window.wallet.storage.setWalletData(t)}static async getScatter(){return window.wallet.storage.getWalletData()}static async removeScatter(){return window.wallet.storage.clearWalletData()}static async cacheABI(t,e,a){return window.wallet.storage.cacheABI(t,e,a)}static async getCachedABI(t,e){return window.wallet.storage.getCachedABI(t,e)}static async getSalt(){return window.wallet.getSalt()}static async setSalt(t){return window.wallet.setSalt(t)}static async getTranslation(){return window.wallet.storage.getTranslation()}static async setTranslation(t){return window.wallet.storage.setTranslation(t)}static async getHistory(){return window.wallet.storage.getHistory()}static async updateHistory(t){return window.wallet.storage.updateHistory(t)}static async deltaHistory(t){return window.wallet.storage.deltaHistory(t)}static async swapHistory(t){return window.wallet.storage.swapHistory(t)}}},OXMO:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".edit-contact[data-v-0a9766d9]{padding:0 20px 20px;border-radius:4px;margin-top:20px;width:100%;max-width:500px;min-width:400px}.edit-contact .select[data-v-0a9766d9]{text-align:left}.edit-contact .custom-token-info[data-v-0a9766d9]{display:flex;flex-direction:row;align-items:center;margin-bottom:20px}\n",""])},P2W9:function(t,e,a){var i=a("VklT");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("12e3763e",i,!0,{})},PGGC:function(t,e,a){var i=a("j2Vk");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("1e6c9eaa",i,!0,{})},PQ0E:function(t,e,a){"use strict";a.r(e),e.default={generic:{back:"Back",skip:"Skip",next:"Next",confirm:"Confirm",accept:"Accept",allow:"Allow",deny:"Deny",okay:"Okay",cancel:"Cancel",open:"Open",yes:"Yes",no:"No",actions:"Actions",enable:"Enable",disable:"Disable",send:"Send",receive:"Receive",select:"Select",unselect:"Unselect",edit:"Edit",add:"Add",save:"Save",new:"New",delete:"Delete",remove:"Remove",remove_all:"Remove All",copy:"Copy",import:"Import",export:"Export",refresh:"Refresh",manage:"Manage",private_key:"Private Key | Private Keys",public_key:"Public Key | Public Keys",cards:"Card | Cards",expired:"Expired",keys:"Key | Keys",hide:"Hide",reveal:"Reveal",tokens:"Token | Tokens",networks:"Network | Networks",blockchains:"Blockchain | Blockchains",contracts:"Contract | Contracts",memo:"Memo",symbol:"Symbol",decimals:"Decimals",chain_id:"Chain ID",name:"Name",accounts:"Account | Accounts",search:"Search",buy:"Buy",sell:"Sell",contacts:"Contacts",history:"History",exchange:"Exchange",view:"View",redo:"Redo",promoted:"Promoted",addressOrAccount:"Address or account",pleaseWait:"Please wait",selectToken:"Select a token",selectBlockchain:"Select a Blockchain"},sidebar:{dashboard:"Dashboard",apps:"Apps",wallet:"Wallet",assets:"Assets",identities:"Identities",locations:"Locations",contacts:"Contacts",history:"History",networks:"Networks",settings:"Settings",lock:"Lock Wallet"},login:{registerButtonTitle:"Get Started",registerButtonSubtitle:"Let's get you set up with Scatter",reset:"Reset",restore:"Restore",support:"Support",passwordPlaceholder:"Enter your password"},setPassword:{title:"Set a strong password",description:"Strong passwords have at least 8 characters and include at least one number and one special character.",choosePass:"Choose a password",confirmPass:"Confirm your password"},welcome:{title:"Welcome to the future",description:"Your Scatter is set up and ready to use.",button:"Start using Scatter"},destroy:{title:"Destroy Scatter",disclaimer:"Before doing this, make sure you have all of your Private Keys backed up.",description:"Destroying your Scatter is irreversible, and you will not be able to restore any data without backups."},dashboard:{vote:{title:"Vote for Scatter",subTitle:"Show us some love!",description:"We've launched an EOS Mainnet Block Producer which you can now vote for. Help us get into a producing position by voting for us.",button:"Vote Now!",voted:"Voted for Scatter on {total} chains. Thanks for your help!"}},apps:{explore:"Explore",myApps:"My Apps",allCategories:"All Categories"},app:{loginPermission:"Accounts Provided",accountsProvided:"Accounts provided",requiredFields:"Required Fields",mutableFields:"Mutable Fields",removePermission:"Remove permission",removeIdentity:"Login permissions are what allow applications to interact with your Scatter. You can force a log-out from an application by removing this permission.",removeWhitelist:"Action whitelists make it so you don't have to keep accepting popups to sign transactions. Do you want to remove this whitelist?"},wallet:{noKeys:{title:"You don't have any Keys",description:"Click one of the buttons below to import a key you already have, or generate a brand new one."},generateKey:"Generate Key",importKey:"Import Key",addCreditCard:"Add Credit Card"},account:{totalFiatBalance:"Total Fiat Balance",actions:{unlink_account:"Unlink Account",change_permissions:"Change Permissions",proxy_vote:"Proxy Vote",create_account:"Create Account"}},assets:{noAccounts:"No Accounts"},histories:{sent:"Sent",received:"Received",networkDisabled:"Network disabled",clear:{title:"Clearing history",description:"You are about to erase your entire local history. This will not erase keys or accounts."}},identities:{identities:"Identities",id:{nameLabel:"Identity Name / Username",namePlaceholder:"Your online presence",nameError:"The Identity Name name can not be empty, have any spaces in it, or special characters."},personal:{nameLabel:"Full Name",namePlaceholder:"Enter your full name",emailLabel:"Email",dobLabel:"Date of birth"},location:{title:"Location",noneSelected:"None selected"},auth:{title:"Authentication Key",description:"Make sure you save a copy of this authentication key, you will need it to regain access to certain applications that require it.",changeButton:"Change / View"},removing:{title:"Removing Identity",description:"Are you sure you want to remove {identity}"}},locations:{locations:"Locations",nameLabel:"Location Name",namePlaceholder:"Home, Office, etc",countryLabel:"Country",countryItemNone:"None",addressLabel:"Address",cityLabel:"City",stateLabel:"State",phoneLabel:"Phone number"},networks:{connectionError:"Connection error!"},settings:{menu:{general:"General",tokens:"Tokens",explorers:"Explorers",backup:"Backups",firewall:"Firewall",password:"Password",destroy:"Reset"},base:{basics:"Basics",secure:"Secure Settings"},general:{version:"Version",language:"Language",simpleMode:"Simple Mode",simpleModeDescription:"Simple Mode is aimed at everyday users, while Advanced Mode (the one you are currently on) is aimed at very technical users, and developers.",notifications:"Whitelist Notifications",notificationsDescription:"These notifications appear on certain operating systems when you auto-sign whitelisted transactions.",ports:"Open Ports",portsDescription:"These are the ports open on your local machine that other local applications can use to contact Scatter.",noPorts:"There are no open ports!",dataPath:"Data File Location",dataPathDescription:"The location on your computer that Scatter saves its encrypted data to.",devConsole:"Developer Console",devConsoleDescription:"Sometimes you might need to see if Scatter is throwing any errors.",devConsoleButton:"Open Console"},backup:{title:"Configure Backups",description:"Backups allow you to save the state of your entire Scatter including all keys, permissions and settings.",autobackup:"Select auto-backup location",create:"Create backup",currentFolder:"Current backup folder",created:"Backup Created!"},destroy:{title:"Destroy Scatter",description:"Destroying your Scatter will remove all your data including your identities and Keypair configurations from your local machine. It will not delete your blockchain accounts from the actual blockchain.",important:"MAKE SURE YOU HAVE A BACKUP BEFORE YOU DO THIS!",button:"Destroy Scatter"},firewall:{ridl:{title:"Decentralized Firewall",description:"RIDL Defender is Scatter's proprietary decentralized firewall system. It helps protect you from malicious websites, applications, and accounts."},blocker:{title:"Restriction Contract Actions",description:"These actions will not be allowed from external applications.",blacklisted:"Blacklisted actions"}},password:{title:"Change your Password",description:"Changing your password periodically is very healthy. We often use the same passwords in multiple places, which leads to a larger possibility for them to be discovered.",button:"Change Password",changed:"Password Changed!",pin:{title:"Change your PIN",description:"If enabled, your PIN is a secondary password which is required each time you do a non-whitelisted action. Do not make this the same as your password.",disabled:"PIN Disabled",changed:"PIN Changed!",pinForAllTitle:"Use PIN for external application interactions.",pinForAllDescription:"If you enable this you will also need to enter your PIN for every popup that an external app makes. Otherwise, your PIN will only be required for internal Scatter actions like transfer and exchange."}},tokens:{switch:{add:"Add Token",whitelist:"Tokens",blacklist:"Filtered Out",settings:"Settings"},whitelistButton:"Whitelist Token",blacklistButton:"Blacklist Token",hidePrimaryBalance:"Hide primary balance",hidePrimaryBalanceDescription:"Allows you to hide your balance in the quick-actions bar.",filterSmallBalances:"Filter Small Balances",filterSmallBalancesDescription:"If you want to always filter out tokens with small balances you can set a modifier here.",noTokens:"No tokens"}},receive:{receiver:"Receiving Account",sendTo:"Send funds to",forEosio:"Some exchanges will ask you for an addressTag, memo, or some other form of secondary input. You can enter anything in that field since this is a real EOSIO account."},exchange:{fromAndToken:"From & Token",priceNotAvailable:"Price not available",loadingPairs:"Loading pairs",noPairs:"No pairs available",loadingRate:"Loading rate",errorTitle:"Exchange Error",errorDescription:"Can't connect to the Exchange API."},transfer:{sender:"Sending from",receiver:"Sending to",amountTitle:"Amount & Details",priceNotAvailable:"Price not available",memo:"Memo (optional)",loadingBalances:"Your balances aren't finished loading yet."},editNetwork:{systemToken:"System Token",memorableName:"Add a memorable name",host:"Host",protocol:"Protocol",port:"Port",chainIdTooltip:"Fetch Chain ID",update:"Update details",systemTokenTitle:"Network System Token",systemTokenDescription:"Some networks use a custom system token instead of the default system token (like ETH, EOS, or TRX)."},keysAndAccountsList:{actions:{editName:"Edit Name",copyPublicKey:"Copy Public Key",refreshAccounts:"Refresh Accounts",convertBlockchain:"Convert Blockchain",removeKey:"Remove Key",linkAccount:"Link Account"},noAccounts:{title:"You don't have any accounts linked to this key.",requiresPayment:"{blockchain} blockchains require that you pay a small fee to create accounts.",checkEnabled:"Make sure that you have a network for the {blockchain} blockchain enabled.",createAccountButton:"Create one now!"},linkedAccounts:"Linked Accounts",changeKeypairNameTitle:"Change Keypair Name",changeKeypairNameDescription:"A keypair's name is only for organizational purposes. It has no effect on the blockchain or the key itself."},panels:{keypair:{selectHardware:"Select a hardware wallet",availableHardwareChains:"Available Blockchains",hardwareIndex:"Key/Address Index",importTextKeyTitle:"Import your Private Key",importTextKeyDescription:"Your private key never leaves your device. We only use this to sign transactions and nobody will have access to it but you. Please remember that though Scatter is a good place to keep your key, you should always have a backup of it somewhere offline.",validTextKeyWarn:"Once you input a valid key, it will automatically import it.",scanQR:"Scan a QR code"}},popins:{fullscreen:{addCustomNetwork:"Add Custom Network",addNewContact:"Add New Contact",changeIdentityKey:"Identity Authentication Key",generateRandomKey:"Generate random key",saveIdentityKey:"Save new Identity key",checkHardwareTitle:"Check Hardware",checkHardwareDescription:"You should see a confirmation on your hardware device.",confirmPassword:"Confirm Password",securityCode:"Enter Security Code",changePermissions:{title:"Changing Account Keys",disclaimer:"This can be dangerous!",disclaimerDescription:"You are about to change the keys that control this account. Make sure you know what you are doing.",owner:"Owner / Master key",active:"Active / Daily key",dontChange:"Leave as is"},createAccount:{title:"Create Account",exchangeDescription:"You can send funds from an exchange or another wallet to create your account.",cardDescription:"This option is currently disabled.",startTyping:"Start typing in a name to see if it is available.",includeMemo:"Make sure you include this memo when you send it or your funds will be lost!",clickAfter:"Click after transfer",lookingTitle:"Looking for account",lookingDescription:"Scatter will continuously look for the account being created for the next 30 minutes. Once it is found it will automatically be added to your Scatter.",exchangeErrorTitle:"Exchange account creation error.",exchangeErrorDescription:"30 minutes have passed since you sent money from your exchange. It looks like an account still hasn't been created. You should check the status of the transaction in the exchange.",accountFoundTitle:"Account found!",accountFoundDescription:"Scatter found the account you created using an exchange. You can now see it in your wallet.",nameTooShort:"Account name must be 12 characters long.",nameFormatting:"Account name must be lowercase letters only.",checkingName:"Checking if name is available...",nameTaken:"This name is already taken"},moderateCpu:{available:"Available {token}",reclaiming:"Reclaiming {token}",stake:"Stake",unstake:"Unstake"},moderateRam:{type:"Type",bytesError:"Bytes must be over 15"},exportKey:{title:"Exporting Private Key",disclaimer:"Keep your private keys safe!",description:"Always export your private keys and make sure you have a backup of them. You will not be able to recover your tokens if you lose it.",keyTitle:"Key",keyDescription:"Export this Private Key as text",qrTitle:"Paper Wallet",qrDescription:"Export this Private Key as an encrypted QR code",privateKeyAsText:"Private Key as Text",privateKeyAsQR:"QR Code Paper Wallet",savedImage:"Saved Image!"},generateKey:{title:"Generate Keypair"},importBackup:{title:"Restore from backup",description:"If you have a backup for your Scatter you can import it here by loading it into Scatter. You will still need the password to unlock it.",buttonTitle:"Select a backup file",buttonDescription:"These will end with .json or .txt",errorParsing:"There was an error parsing this backup",errorDecrypting:"There was an error decrypting this backup",errorReading:"This backup file could not be read"},importKeypair:{title:"Import Keypair",text:"Text",hardware:"Hardware",qrCode:"QR Code",invalidPrivateKey:"Invalid private key"},removeKeypair:{title:"Removing Key",permanent:"This action is permanent",removesAll:"Removing keys also removes all of its linked accounts and their respective permissions. Once you remove a key it can not be regenerated."},unlinkAccount:{title:"Unlinking Account",description:"Removing a linked account also removes all of its application permissions.",disclaimer:"This will NOT remove the account from the blockchain, only Scatter."}},overlay:{exchanging:"Exchanging",transferring:"Transferring",confirmPin:"Confirm PIN",selectAccount:"Select Account",selectBlockchain:"Select Blockchain",selectDisplayToken:"Select Display Token",selectFiatCurrency:"Select a fiat currency",selectBlockchainToken:"Select a blockchain token",selectPublicKey:"Select Public Key",selectRecipient:"Select Recipient",selectToken:"Select Token",allBlockchains:"All Blockchains",selectTokenAndAccount:"Select Token and Account",transactionSuccess:"Transaction Success!",viewTransactionOn:"Click link below to view on {explorer}",enableSimpleMode:{},enterPin:{},linkAccount:{title:"Link EOSIO Account",description:"This allows you to link accounts on networks that you either can't reach or don't have history plugins enabled.",selectNetwork:"Select a Network",button:"Link",noNetworksAvailable:"No EOSIO networks available!"}}},popouts:{popoutApp:{noImage:"No Image",reputation:{unknown:"Unknown Reputation",trusty:"Trustworthy",scam:"Known Scam"}},requiredFields:{title:"Required Identity Fields",personalInformation:"Personal information:"},login:{suffix:"will see:",dangerousPermission:"You are signing in with your Owner permission. This is dangerous.",allAccountsFor:"All accounts for:",allAccountsDescription:"{app} is requesting to view every account for a specified network. This means that it will be able to request transaction signatures for any account that you have linked to any of the requested networks.",noInfoNeededTitle:"This application isn't requesting any personal information or accounts.",noInfoNeededDescription:"The only information this application will receive is basic Identity information like your username.",noAccountsTitle:"You don't have accounts for this network",noAccountsDescription:"You need to create an account before being able to use apps.",personalInformation:"Personal information:",requestingPersonalInformation:"{app} is requesting personal information. It will only be able to see what is being requested, and nothing else you may have filled out in your Scatter identity."},getPublicKey:{suffix:"wants you to provide a public key",select:"Select a key",generate:"Generate a new key"},linkApp:{suffix:"is relinking",description:"Make sure the application name is an application you are interacting with right now. If it isn't it could be a dangerous application trying to act like a different one."},transferRequest:{suffix:"is requesting a transfer",selectAccount:"Select Account"},updateIdentity:{suffix:"wants to",changeName:"Change your identity name",addKycProofs:"Add KYC proofs"},signature:{moreAccounts:"more accounts",keysInvolved:"Keys involved",accountsInvolved:"Accounts involved",previouslyWhitelisted:"This action was previously whitelisted",hiddenAction:"Action is hidden",dangerous:"One or more of the actions you are about to sign is dangerous!",dangerousAction:"This action is dangerous!",dangerousTooltip:"This action is dangerous. Accepting it will change your keys and possibly give your account to someone else. Check to make sure the keys are correct.",whitelistThis:"You can whitelist this so that you don't have to keep re-accepting this transaction.",whitelistExplainer:"Checkboxes that are checked can have their values changed without breaking the whitelist.",actionsTotal:"{x} actions in total"}},errors:{badPassword:"Bad Password",passwordConfirmation:"Password confirmation does not match password",keypairExists:"A keypair with that name or public key already exists",transferError:"An error occurred while trying to transfer tokens",badQrDecryption:"There was an error decrypting this QR. Are you sure the password for this QR code is correct?"}}},PThV:function(t,e,a){var i=a("PgxD");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("334c13b4",i,!0,{})},PgxD:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".confirm{margin:0 auto;display:flex;flex-direction:column;background:transparent}.confirm .details{flex:1;padding:45px 120px;display:flex;flex-direction:column;align-items:center;background:linear-gradient(180deg, #007fd7 0%, #0799ff 100%);text-align:center;color:#fff}.confirm .details .icon{margin-bottom:30px}.confirm .details label{display:inline-block;color:#fff}.confirm .details .amount{margin-top:-5px;font-size:24px;font-weight:bold}.confirm .details .amounts{display:flex;justify-content:space-between;align-items:center}.confirm .details .amounts .amount{font-size:18px}.confirm .details .accounts{display:flex;justify-content:space-between;align-items:center;margin-top:30px}.confirm .details .accounts .account{min-width:180px;padding:10px 25px;background:#39b4ff;font-size:12px;font-weight:bold;box-shadow:0 1px 2px rgba(0,0,0,0.1)}.confirm .details .accounts .arrow{font-size:24px;padding:0 10px;color:#5fc6ff}.confirm .details .memo{margin-top:30px;font-size:10px}.confirm .details .memo b{display:block;font-weight:bold;font-size:9px}.confirm .details .memo span{display:block;margin-top:5px}.confirm .tail{justify-content:space-between;display:flex;align-items:center;border-top:1px solid #dfe0e1;padding:10px 10px;text-align:center;background:#fff}\n",""])},QKkz:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".action-bar[data-v-2359c8c5]{position:fixed;bottom:0;left:0;right:0;z-index:2;height:70px;border:1px solid #dfe0e1;background:#fff;display:flex;align-items:center;padding:0 20px}.action-bar .left[data-v-2359c8c5]{flex:1;text-align:left}.action-bar .right[data-v-2359c8c5]{flex:1;text-align:right}.action-bar .right button[data-v-2359c8c5]:not(:first-child){margin-left:5px}\n",""])},"R6/L":function(t,e,a){var i=a("3MdU");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("4d88d278",i,!0,{})},"REL+":function(t,e,a){var i=a("AW8H");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("a6e0f1a8",i,!0,{})},RNqi:function(t,e,a){"use strict";var i={data:()=>({terms:""}),watch:{terms(){this.$emit("terms",this.terms.toLowerCase().trim())}},props:["placeholder","short","tokens"]},n=(a("BI/6"),a("KHd+")),s=Object(n.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"search-bar",class:{short:t.short,tokens:t.tokens}},[a("figure",{staticClass:"icon icon-search"}),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.terms,expression:"terms"}],attrs:{placeholder:t.placeholder},domProps:{value:t.terms},on:{input:function(e){e.target.composing||(t.terms=e.target.value)}}})])}),[],!1,null,"1e679ba6",null);e.a=s.exports},"S/Do":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".select-blockchain[data-v-42c3714c]{padding:40px;text-align:center}\n",""])},S1M4:function(t,e,a){var i=a("tQXa");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("627d6228",i,!0,{})},Sm0L:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"",""])},"T/cf":function(t,e,a){"use strict";var i={props:["reputable","small"]},n=(a("sKqk"),a("KHd+")),s=Object(n.a)(i,(function(){var t=this.$createElement,e=this._self._c||t;return this.reputable?e("section",[e("section",{staticClass:"reputation",class:{red:this.reputable.decimal<0,small:this.small}},[e("b",[this._v(this._s(this.reputable.decimal))])])]):this._e()}),[],!1,null,"013c230b",null);e.a=s.exports},T11S:function(t,e,a){"use strict";var i=a("etLc");a.n(i).a},TK0L:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"input[data-v-b7311f50]{-webkit-appearance:none}.input[data-v-b7311f50]{text-align:left;position:relative;width:100%;margin-bottom:20px;-webkit-appearance:none}@media (max-width: 600px){.input[data-v-b7311f50]{margin-bottom:10px}}.input .copy[data-v-b7311f50],.input .dynamic-button[data-v-b7311f50]{cursor:pointer;position:absolute;right:10px;bottom:0;top:0;display:flex;justify-content:center;align-items:center;font-size:20px;z-index:2;color:#0799ff;opacity:1;transition:all 0.2s ease;transition-property:color, opacity, right}.input .copy.labeled[data-v-b7311f50],.input .dynamic-button.labeled[data-v-b7311f50]{bottom:-20px}.input .copy[data-v-b7311f50]:hover,.input .dynamic-button[data-v-b7311f50]:hover{color:#0799ff}.input .dynamic-button+.copy[data-v-b7311f50]{right:30px}.input .dynamic-button.hide[data-v-b7311f50]{opacity:0;right:0;pointer-events:none}.input input[data-v-b7311f50],.input textarea[data-v-b7311f50]{outline:0;width:100%;border:1px solid #dfe0e1;padding:10px 14px;cursor:text;resize:none;font-size:14px;background:#fff;transition:all 0.15s ease;transition-property:line-height, height, padding, border, background}.input input[data-v-b7311f50]::-webkit-input-placeholder,.input textarea[data-v-b7311f50]::-webkit-input-placeholder{font-size:14px;color:rgba(0,0,0,0.25)}.input input[data-v-b7311f50]::-moz-placeholder,.input textarea[data-v-b7311f50]::-moz-placeholder{font-size:14px;color:rgba(0,0,0,0.25)}.input input[data-v-b7311f50]:-ms-input-placeholder,.input textarea[data-v-b7311f50]:-ms-input-placeholder{font-size:14px;color:rgba(0,0,0,0.25)}.input input[data-v-b7311f50]:-moz-placeholder,.input textarea[data-v-b7311f50]:-moz-placeholder{font-size:14px;color:rgba(0,0,0,0.25)}.input input.pad-right[data-v-b7311f50],.input textarea.pad-right[data-v-b7311f50]{padding-right:40px}.input input[data-v-b7311f50]:disabled,.input textarea[data-v-b7311f50]:disabled{cursor:not-allowed;opacity:0.75}.input input[data-v-b7311f50]:focus,.input textarea[data-v-b7311f50]:focus{border:1px solid rgba(0,0,0,0.22);background:#fff}.input textarea[data-v-b7311f50]{padding:15px;height:80px}.input.big input[data-v-b7311f50],.input.big textarea[data-v-b7311f50]{line-height:68px;height:68px;padding:0 20px;font-size:20px}.input.big input[data-v-b7311f50]::-webkit-input-placeholder,.input.big textarea[data-v-b7311f50]::-webkit-input-placeholder{font-size:20px;color:rgba(0,0,0,0.25)}.input.big input[data-v-b7311f50]::-moz-placeholder,.input.big textarea[data-v-b7311f50]::-moz-placeholder{font-size:20px;color:rgba(0,0,0,0.25)}.input.big input[data-v-b7311f50]:-ms-input-placeholder,.input.big textarea[data-v-b7311f50]:-ms-input-placeholder{font-size:20px;color:rgba(0,0,0,0.25)}.input.big input[data-v-b7311f50]:-moz-placeholder,.input.big textarea[data-v-b7311f50]:-moz-placeholder{font-size:20px;color:rgba(0,0,0,0.25)}.input.big input.pad-right[data-v-b7311f50],.input.big textarea.pad-right[data-v-b7311f50]{padding-right:50px}.input.big .dynamic-button[data-v-b7311f50]{font-size:26px;bottom:0}.input.big .dynamic-button.labeled[data-v-b7311f50]{bottom:-15px}.input.medium input[data-v-b7311f50],.input.medium textarea[data-v-b7311f50]{line-height:48px;height:48px;padding:0 20px;font-size:20px}.input.medium input[data-v-b7311f50]::-webkit-input-placeholder,.input.medium textarea[data-v-b7311f50]::-webkit-input-placeholder{font-size:20px;color:rgba(0,0,0,0.25)}.input.medium input[data-v-b7311f50]::-moz-placeholder,.input.medium textarea[data-v-b7311f50]::-moz-placeholder{font-size:20px;color:rgba(0,0,0,0.25)}.input.medium input[data-v-b7311f50]:-ms-input-placeholder,.input.medium textarea[data-v-b7311f50]:-ms-input-placeholder{font-size:20px;color:rgba(0,0,0,0.25)}.input.medium input[data-v-b7311f50]:-moz-placeholder,.input.medium textarea[data-v-b7311f50]:-moz-placeholder{font-size:20px;color:rgba(0,0,0,0.25)}.input.medium input.pad-right[data-v-b7311f50],.input.medium textarea.pad-right[data-v-b7311f50]{padding-right:50px}.input.medium .dynamic-button[data-v-b7311f50]{font-size:26px;bottom:0}.input.medium .dynamic-button.labeled[data-v-b7311f50]{bottom:-15px}.input.small[data-v-b7311f50]{margin-bottom:5px}.input.small input[data-v-b7311f50],.input.small textarea[data-v-b7311f50]{height:30px;padding:0 10px;font-size:13px;display:inline-block}.input.small input[data-v-b7311f50]::-webkit-input-placeholder,.input.small textarea[data-v-b7311f50]::-webkit-input-placeholder{font-size:13px;color:rgba(0,0,0,0.25)}.input.small input[data-v-b7311f50]::-moz-placeholder,.input.small textarea[data-v-b7311f50]::-moz-placeholder{font-size:13px;color:rgba(0,0,0,0.25)}.input.small input[data-v-b7311f50]:-ms-input-placeholder,.input.small textarea[data-v-b7311f50]:-ms-input-placeholder{font-size:13px;color:rgba(0,0,0,0.25)}.input.small input[data-v-b7311f50]:-moz-placeholder,.input.small textarea[data-v-b7311f50]:-moz-placeholder{font-size:13px;color:rgba(0,0,0,0.25)}.input.small input.pad-right[data-v-b7311f50],.input.small textarea.pad-right[data-v-b7311f50]{padding-right:50px}.input.white input[data-v-b7311f50],.input.white textarea[data-v-b7311f50]{color:#fff;border:1px solid rgba(255,255,255,0.9)}.input.white input[data-v-b7311f50]::-webkit-input-placeholder,.input.white textarea[data-v-b7311f50]::-webkit-input-placeholder{color:#fff}.input.white input[data-v-b7311f50]::-moz-placeholder,.input.white textarea[data-v-b7311f50]::-moz-placeholder{color:#fff}.input.white input[data-v-b7311f50]:-ms-input-placeholder,.input.white textarea[data-v-b7311f50]:-ms-input-placeholder{color:#fff}.input.white input[data-v-b7311f50]:-moz-placeholder,.input.white textarea[data-v-b7311f50]:-moz-placeholder{color:#fff}.input.white input[data-v-b7311f50]:focus,.input.white textarea[data-v-b7311f50]:focus{background:rgba(0,0,0,0.04)}.input.white .dynamic-button[data-v-b7311f50]{color:#fff}.input.important input[data-v-b7311f50]{border:1px solid #ff0707}.input.centered[data-v-b7311f50]{text-align:center}.input.centered input[data-v-b7311f50]{text-align:center}.input.for-login input[data-v-b7311f50]{background:rgba(0,0,0,0.12);border:1px solid rgba(255,255,255,0.32)}.input.for-login input[data-v-b7311f50]:focus,.input.for-login input[data-v-b7311f50]:active,.input.for-login input[data-v-b7311f50]:hover{background:rgba(0,0,0,0.22);border:1px solid #fff}\n",""])},TgQI:function(t,e,a){"use strict";var i=a("vztf");a.n(i).a},UVSg:function(t,e,a){var i=a("A23T");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("6756ba91",i,!0,{})},UwEJ:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"",""])},V7nQ:function(t,e,a){"use strict";var i=a("P2W9");a.n(i).a},VHqd:function(t,e,a){var i=a("wrrB");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("730e9a15",i,!0,{})},VklT:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".edit-network[data-v-2624d6fb]{padding:0 20px 20px;border-radius:4px;margin-top:20px;width:100%;max-width:500px}.edit-network .select[data-v-2624d6fb]{text-align:left}.edit-network .custom-token-info[data-v-2624d6fb]{display:flex;flex-direction:row;align-items:center;margin-bottom:20px}\n",""])},Vl93:function(t,e,a){var i=a("dy8B");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("22087396",i,!0,{})},Vtdi:function(t,e,a){"use strict";a.r(e);a("PGGC"),a("f+SA"),a("E1Hf"),a("PThV"),a("91NJ");var i=a("Gbp+"),n=a("4zkp"),s=a("x628"),o=a.n(s),r=a("B6RA"),c=a("+Ze5"),l=a.n(c);class p{static async initialize(){return window.wallet.sockets.initialize()}static async close(){return window.wallet.sockets.close()}static async sendEvent(t,e,a){return window.wallet.sockets.sendEvent(t,e,a)}static async broadcastEvent(t,e){return window.wallet.sockets.broadcastEvent(t,e)}static async emit(t,e,a,i){return window.wallet.sockets.emit(t,e,a,i)}static async getNewKey(t,e){return window.wallet.sockets.getNewKey(t,e)}}var d=a("w88H"),u=a("x0xh"),h=a.n(u),f=a("O1cq"),b=a.n(f),m=a("IfgB");let g;class y{static getWalletType(){return g}static async init(t){if(!t){const t=await window.wallet.getVersion(),[e,a]=t.split("_");g=e}return o.a.initialize({blockchains:{EOSIO:"eos",ETH:"eth",TRX:"trx",BTC:"btc"},plugins:[a("1lSK").default,a("dI+u").default,a("tz1k").default,a("c925").default]},r.a,{getSalt:window.wallet.getSalt,get:()=>!0,set:t=>!0,clear:()=>!0},{getVersion:()=>a("kiQV").version,pushNotification:window.wallet.utility.pushNotification},async(t,e)=>{if("popout"===t){const t=new i.a(i.c.POP_OUT,new i.b(e.type,e));return h.a.appIsInLocalData(t.data.props.payload.origin)||await h.a.getApps([t.data.props.payload.origin]),t.data.props.appData=h.a.getAppData(t.data.props.payload.origin),await n.a.openPopOut(t)}"firewalled"===t&&m.a.push(i.a.prompt("Whoa nelly!",`An application tried to push a blacklisted action to your Scatter [ ${e.actions.join(",")} ]. Check your Firewall settings if this is a mistake.`))},{socketService:p,signer:async(t,e,a,n=!1,s=!1)=>{let o,r=b.a.getKeyPairFromPublicKey(e);if(!r)return;r.external&&(o=i.a.checkHardwareWalletScreen(),m.a.push(o));const c=await window.wallet.sign(t,e,a,n,s);return o&&m.a.remove(o),c&&"object"==typeof c&&c.hasOwnProperty("error")&&m.a.push(i.a.snackbar(c.error)),c}}),l.a.loadWallets([{type:"LEDGER",name:"Ledger",wallet:()=>{}}]),!0}}var x=a("oCYn"),v=a("L2JU"),k=a("433b"),w=a("qSUR"),_=a("jE9Z"),C=a("HLB/"),T=a("F+MN"),S=a("pk5N"),E=a.n(S),A=(a("upjY"),a("TmN8")),O=a.n(A),P=a("q+A3"),N=a("K4Y4");let I;x.a.config.productionTip=!1;class R{constructor(t,e,a=(()=>{}),i=(()=>{})){return this.setupVuePlugins(),this.registerComponents(e),I=this.setupRouting(t,a),x.a.mixin({data:()=>({RouteNames:C.a}),computed:{...Object(v.d)(["isMobile"])},methods:{blockchainName:T.blockchainName,canOpenApp:t=>h.a.getAppData(t).url.length,fiatSymbol:O.a.fiatSymbol,openApp(t){const e=h.a.getAppData(t);e.url.length&&this.openInBrowser(e.url)},openInBrowser(t,e=!1){N.a.openLink(t,e)},setWorkingScreen(t){E.a.get().dispatch(P.y,t)},copyText(t){N.a.copy(t)},formatNumber(t,e=!1){if(!t)return 0;t=parseFloat(t.toString());const a=t=>{const[e,a]=t.toString().split(".");return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")+(a?`.${a}`:"").toString()};return e?a(t):t>999999999?a((t/1e9).toFixed(1))+" B":t>999999?a((t/1e6).toFixed(1))+" M":t>999?a((t/1e3).toFixed(1))+" K":t},...Object(v.b)([])}}),this.setupVue(I),i(I),I}setupVuePlugins(){x.a.use(_.a),x.a.use(w.a),x.a.use(k.a,{defaultOffset:5})}registerComponents(t){t.map(t=>{x.a.component(t.tag,t.vue)})}setupRouting(t,e){const a=new _.a({routes:t});return a.beforeEach((t,a,i)=>(E.a.get()&&E.a.get().dispatch(P.t,""),e(t,i))),a}async setupLocalization(){const t=a("DolT").default;let e=await(async()=>{const t=(()=>Array.isArray(navigator.languages)?navigator.languages[0]:navigator.language)();if(window.wallet){const t=await window.wallet.storage.getLanguage();if(t)return t}return t})();return!t[e]&&t[e.split("-")[0]]&&(e=e.split("-")[0]),t[e]||(e="en"),new w.a({locale:e,messages:{[e]:t[e]}})}async setupVue(t){new x.a({router:t,store:r.a,i18n:await this.setupLocalization()}).$mount("#scatter"),document.getElementById("base_loader").remove(),document.getElementById("scatter")&&document.getElementById("scatter").removeAttribute("id")}}a("mj45");var L={data:()=>({}),computed:{...Object(v.d)(["processes"])},methods:{...Object(v.b)([])}},K=(a("/eBL"),a("KHd+")),B=Object(K.a)(L,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"processes"},[a("transition-group",{attrs:{name:"slide-right",mode:"out-in"}},t._l(t.processes.filter((function(t){return t.display})),(function(e){return a("section",{key:e.id,staticClass:"process"},[a("figure",{staticClass:"kill icon-cancel",on:{click:function(t){return e.kill()}}}),t._v(" "),a("figure",{staticClass:"title"},[a("span",{key:"title"},[t._v(t._s(e.title))]),t._v(" "),100===e.progress?a("b",{key:"done"},[t._v("Done!")]):t._e()]),t._v(" "),a("transition",{attrs:{name:"delayed-fade",mode:"out-in"}},[e.subTitle&&e.progress<100?a("figure",{staticClass:"sub-title"},[t._v(t._s(e.subTitle))]):t._e()]),t._v(" "),a("figure",{staticClass:"percentage-bar"},[a("figure",{staticClass:"bar",style:{width:e.progress+"%"}})])],1)})),0)],1)}),[],!1,null,"25a6ed1a",null).exports,D={computed:{item(){return this.popup.data.props}},methods:{close(){this[P.f](this.popup)},...Object(v.b)([P.f])},props:["popup"]},j=(a("viIO"),Object(K.a)(D,(function(){var t=this.$createElement,e=this._self._c||t;return e("section",[e("section",{staticClass:"snackbar",on:{click:this.close}},[e("figure",{staticClass:"message no-icon"},[this._v(this._s(this.item.message))])])])}),[],!1,null,"5470ced6",null).exports),$={props:["popin"],data:()=>({}),mounted(){},computed:{...Object(v.c)(["explorers"]),tx(){return this.popin.data.props.tx},blockchain(){return this.popin.data.props.blockchain},explorer(){return this.explorers[this.blockchain].parsed()}},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},open(){this.openInBrowser(this.explorer.transaction(this.tx))},...Object(v.b)([P.f])}},F=(a("XBwi"),Object(K.a)($,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-over"},[a("PopInHead",{attrs:{title:t.$t("popins.overlay.transactionSuccess")},on:{close:t.returnResult}}),t._v(" "),a("section",{staticClass:"success"},[a("section",[a("img",{attrs:{src:"static/assets/piggy_bank.png"}}),t._v(" "),a("figure",{staticClass:"info"},[t._v(t._s(t.$t("popins.overlay.viewTransactionOn",{explorer:t.explorer.name})))]),t._v(" "),a("figure",{staticClass:"link",staticStyle:{cursor:"pointer"},on:{click:t.open}},[a("u",[t._v(t._s(t.tx))])]),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("Button",{attrs:{text:t.$t("generic.okay"),blue:"1"},nativeOn:{click:function(e){return t.returnResult(!0)}}})],1)])],1)}),[],!1,null,"a7f7d0dc",null).exports),z=a("IMve"),M=a.n(z),q=a("UYLU"),U=a.n(q),Y=a("3CN7"),H=a("MPB0");a("8olR");var W={props:["popin"],data:()=>({proxies:{},selectedProxy:null,autoVote:!0,proxy:""}),mounted(){this.isHardware&&(this.autoVote=!1),setTimeout(async()=>{M.a.plugin(T.Blockchains.EOSIO).isEndorsedNetwork(this.account.network())&&(this.proxies=await Promise.race([new Promise(t=>setTimeout(()=>t([]),3e3)),Object(H.GET)("proxies").catch(()=>[])]))})},computed:{...Object(v.d)(["scatter"]),...Object(v.c)(["keypairs","accounts"]),account(){return this.accounts.find(t=>t.unique()===this.popin.data.props.account.unique())},proxyList(){return this.proxies.hasOwnProperty(this.blockchainName(T.Blockchains.EOSIO))?U.a.shuffle(this.proxies[this.blockchainName(T.Blockchains.EOSIO)].map(t=>({id:t.account,title:t.name,description:t.description}))):[]},isHardware(){return!!this.account.keypair().external},hasRecurring(){if(this.scatter.recurring)return this.scatter.recurring.proxies.find(t=>t.account===this.account.identifiable())}},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},unrevote(){Y.a.removeProxies([this.account])},async setProxy(){const t=M.a.plugin(T.Blockchains.EOSIO),e=this.selectedProxy?this.selectedProxy:"",a=await t.proxyVote(this.account,e,!0);a&&(m.a.push(i.a.transactionSuccess(T.Blockchains.EOSIO,a)),this.selectedProxy&&this.selectedProxy.length&&this.autoVote&&this.selectedProxy?await Y.a.addProxy(this.account,this.selectedProxy):await Y.a.removeProxies([this.account])),this.returnResult(!0)},selectProxy(){m.a.push(i.a.selectFromList("Select Proxy",this.proxyList,t=>{t&&(this.selectedProxy=t.id)}))},...Object(v.b)([P.f])}},G=(a("3FGZ"),Object(K.a)(W,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-flow-tree",staticStyle:{"padding-top":"7px"}}),t._v(" "),a("figure",{staticClass:"subtitle"},[t._v(t._s(t.account.sendable()))]),t._v(" "),a("figure",{staticClass:"title"},[t._v("Proxy Votes")])]),t._v(" "),t.isHardware?t._e():a("section",{staticClass:"revoter"},[a("section",{staticClass:"split-inputs"},[t.hasRecurring?a("section",{staticClass:"currently-voted"},[t._v("\n\t\t\t\t\tYou are proxied to "),a("span",{staticClass:"voting-for"},[t._v(t._s(t.hasRecurring.proxy))]),t._v(" "),a("br"),t._v(" "),a("Button",{attrs:{small:"1",text:"Remove Auto-Proxy"},nativeOn:{click:function(e){return t.unrevote(e)}}})],1):t._e(),t._v(" "),a("section",{staticClass:"auto-vote split-inputs"},[a("Switcher",{attrs:{state:t.autoVote},nativeOn:{click:function(e){t.autoVote=!t.autoVote}}}),t._v(" "),t._m(0)],1)])]),t._v(" "),a("section",{staticClass:"transfer"},[a("section",{staticClass:"boxes"},[a("section",{staticClass:"box nested account-selector",on:{click:t.selectProxy}},[t._m(1),t._v(" "),a("figure",{staticClass:"chevron fas fa-caret-square-down"})])])]),t._v(" "),t._m(2),t._v(" "),a("Input",{attrs:{placeholder:"Enter the account name of a proxy",text:t.selectedProxy},on:{changed:function(e){return t.selectedProxy=e}}})],1),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:"Cancel",click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:"Set Proxy",blue:!0,click:function(){return t.setProxy()}}]}})],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"details"},[e("figure",{staticClass:"title"},[this._v("Do you want to automatically re-proxy every 7 days?")]),this._v(" "),e("p",[this._v("If you enable this, accepting the initial transaction also accepts all future transactions too.")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("section",[e("figure",{staticClass:"name"},[this._v("Select a known proxy")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("figure",{staticClass:"or"},[e("figure",{staticClass:"text"},[this._v("or")])])}],!1,null,"9795b678",null).exports),V=a("X1bV"),Z={props:["popin"],data:()=>({ownerKey:null,activeKey:null}),computed:{...Object(v.d)([]),...Object(v.c)(["keypairs","accounts"]),account(){return this.accounts.find(t=>t.unique()===this.popin.data.props.account.unique())},otherKeys(){return[{name:this.$t("popins.fullscreen.changePermissions.dontChange")}].concat(this.keypairs.filter(t=>t.publicKeys.some(t=>t.blockchain===T.Blockchains.EOSIO)))}},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},changePermissions(){this.returnResult({owner:this.publicKeyForKeypair(this.ownerKey),active:this.publicKeyForKeypair(this.activeKey)})},publicKeyForKeypair:V.a.publicKeyForKeypair,hasPermission(t){return!!this.account.authorities().find(e=>e.authority===t||"owner"===e.authority)},...Object(v.b)([P.f])}},J=(a("xg20"),Object(K.a)(Z,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[a("section",[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-flow-tree"}),t._v(" "),a("figure",{staticClass:"subtitle"},[t._v(t._s(t.account.sendable()))]),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.changePermissions.title")))]),t._v(" "),a("section",{staticClass:"disclaimer"},[a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.changePermissions.disclaimer")))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(t.$t("popins.fullscreen.changePermissions.disclaimerDescription")))])]),t._v(" "),a("section",{staticClass:"authorities"},[t.hasPermission("owner")?a("section",{staticClass:"authority"},[a("label",[t._v(t._s(t.$t("popins.fullscreen.changePermissions.owner")))]),t._v(" "),t.otherKeys.length?a("Select",{attrs:{bordered:"1",options:t.otherKeys,selected:t.ownerKey?t.ownerKey.name:"",parser:function(t){return t.name},truncate:"1",subparser:function(e){return t.publicKeyForKeypair(e)}},on:{selected:function(e){return t.ownerKey=e}}}):t._e()],1):t._e(),t._v(" "),t.hasPermission("active")?a("section",{staticClass:"authority"},[a("label",[t._v(t._s(t.$t("popins.fullscreen.changePermissions.active")))]),t._v(" "),t.otherKeys.length?a("Select",{attrs:{bordered:"1",options:t.otherKeys,selected:t.activeKey?t.activeKey.name:"",parser:function(t){return t.name},truncate:"1",subparser:function(e){return t.publicKeyForKeypair(e)}},on:{selected:function(e){return t.activeKey=e}}}):t._e()],1):t._e()])])]),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("generic.confirm"),red:!0,click:function(){return t.changePermissions()}}]}})],1)])}),[],!1,null,"fed8cede",null).exports),X=a("wy8C"),Q=a.n(X),tt=a("qjwK");const et={BUY:"buy",SELL:"sell"},at={BYTES:"Bytes",KB:"Kilo-Bytes",MB:"Mega-Bytes"};var it={props:["popin"],data:()=>({state:et.BUY,STATES:et,pricePerByte:0,balance:0,denom:at,ram:{denom:at.BYTES,quantity:0}}),created(){this.init()},computed:{...Object(v.d)([]),...Object(v.c)(["keypairs","accounts"]),account(){return this.accounts.find(t=>t.unique()===this.popin.data.props.account.unique())},systemToken(){return this.account.network().systemToken()},pricePerKB(){return(1024*this.pricePerByte).toFixed(this.systemToken.decimals)},pricePerMB(){return(1024*this.pricePerKB).toFixed(this.systemToken.decimals)},price(){switch(this.ram.denom){case at.BYTES:return this.pricePerByte;case at.KB:return this.pricePerKB;case at.MB:return this.pricePerMB}},availableRam(){const t=this.accountData.ram_quota-this.accountData.ram_usage;switch(this.ram.denom){case at.BYTES:return t;case at.KB:return t/1024;case at.MB:return t/1024/1024}},quantityLabel(){switch(this.state){case et.BUY:return this.$t("generic.buy");case et.SELL:return this.$t("generic.sell")}}},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},buyOrSell(){let t=0;switch(this.ram.denom){case at.BYTES:t=this.ram.quantity;break;case at.KB:t=1024*this.ram.quantity;break;case at.MB:t=1024*this.ram.quantity*1024}if((t=parseFloat(t))<=15)return m.a.push(i.a.snackbar(this.$t("popins.fullscreen.moderateRam.bytesError"),"attention"));this.setWorkingScreen(!0);const e=this.state===et.BUY;M.a.plugin(T.Blockchains.EOSIO).buyOrSellRAM(this.account,t,e).then(t=>{if(this.setWorkingScreen(!1),!t||!t.hasOwnProperty("transaction_id"))return!1;m.a.push(i.a.transactionSuccess(T.Blockchains.EOSIO,t.transaction_id));const a=new Q.a(this.account,e?"buyram":"sellram",t.transaction_id);this[tt.DELTA_HISTORY](a),this.returnResult(t)}).catch(t=>{this.setWorkingScreen(!1)})},async init(){this.setWorkingScreen(!1);const t=M.a.plugin(T.Blockchains.EOSIO),e=this.account.network(),a=this.systemToken;this.balance=await t.balanceFor(this.account,a),this.pricePerByte=await t.getRamPrice(e),t.accountData(this.account).then(t=>{this.accountData=t})},switchState(t){this.state=t,this.ram.denom=at.BYTES,this.ram.quantity=0},changeRamDenom(t){this.ram.denom=t,this.ram.quantity=0},...Object(v.b)([P.f,tt.DELTA_HISTORY])},watch:{"ram.quantity"(){this.ram.quantity.toString().length||(this.ram.quantity=0)}}},nt=(a("q2ph"),Object(K.a)(it,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-microchip",staticStyle:{"padding-top":"7px"}}),t._v(" "),a("figure",{staticClass:"subtitle"},[t._v(t._s(t.account.sendable()))]),t._v(" "),a("figure",{staticClass:"title"},[t._v("RAM")])]),t._v(" "),a("section",{staticClass:"panel-switch"},[a("figure",{staticClass:"button",class:{active:t.state===t.STATES.BUY},on:{click:function(e){return t.switchState(t.STATES.BUY)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("generic.buy"))+"\n\t\t\t")]),t._v(" "),a("figure",{staticClass:"button",class:{active:t.state===t.STATES.SELL},on:{click:function(e){return t.switchState(t.STATES.SELL)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("generic.sell"))+"\n\t\t\t")])]),t._v(" "),a("section",{staticClass:"resource-moderator"},[a("section",{staticClass:"split-inputs"},[a("Input",{staticStyle:{width:"120px"},attrs:{label:t.quantityLabel,type:"number",text:t.ram.quantity},on:{changed:function(e){return t.ram.quantity=e}}}),t._v(" "),a("section",[a("label",[t._v(t._s(t.$t("popins.fullscreen.moderateRam.type")))]),t._v(" "),a("Select",{staticStyle:{width:"200px","margin-top":"5px","text-align":"left"},attrs:{bordered:"1",selected:t.ram.denom,options:Object.keys(t.denom).map((function(e){return t.denom[e]}))},on:{selected:t.changeRamDenom}})],1),t._v(" "),a("section",{staticStyle:{flex:"1"}}),t._v(" "),a("section",{staticStyle:{width:"200px","align-self":"flex-end"}},[t.state===t.STATES.BUY?a("Input",{attrs:{label:t.$t("popins.fullscreen.moderateCpu.available",{token:t.systemToken.symbol}),text:parseFloat(t.balance-t.ram.quantity*t.price).toFixed(t.systemToken.decimals)},on:{changed:function(t){}}}):t._e(),t._v(" "),t.state===t.STATES.SELL?a("Input",{attrs:{label:t.$t("popins.fullscreen.moderateCpu.reclaiming",{token:t.systemToken.symbol}),text:parseFloat(t.ram.quantity*t.price).toFixed(t.systemToken.decimals)},on:{changed:function(t){}}}):t._e()],1)],1),t._v(" "),t.state===t.STATES.BUY?a("Slider",{attrs:{min:0,max:t.balance/t.price,step:"1",value:t.ram.quantity},on:{changed:function(e){return t.ram.quantity=e}}}):t._e(),t._v(" "),t.state===t.STATES.SELL&&t.accountData?a("Slider",{attrs:{min:0,max:t.availableRam,step:"1",value:t.ram.quantity},on:{changed:function(e){return t.ram.quantity=e}}}):t._e()],1)]),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("generic.confirm"),red:!0,click:function(){return t.buyOrSell()}}]}})],1)}),[],!1,null,"f78bbdd0",null).exports);const st={STAKE:"stake",UNSTAKE:"unstake"};var ot={props:["popin"],data:()=>({state:st.STAKE,STATES:st,balance:0,cpu:0,net:0}),created(){this.init()},computed:{...Object(v.d)([]),...Object(v.c)(["keypairs","accounts"]),account(){return this.accounts.find(t=>t.unique()===this.popin.data.props.account.unique())},systemToken(){return this.account.network().systemToken()},availableCPU(){return this.accountData&&this.accountData.self_delegated_bandwidth?this.accountData.self_delegated_bandwidth.cpu_weight.split(" ")[0]:0},availableNET(){return this.accountData&&this.accountData.self_delegated_bandwidth?this.accountData.self_delegated_bandwidth.net_weight.split(" ")[0]:0}},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},stakeOrUnstake(){if(this.cpu<0||this.net<0)return null;if(this.cpu<=0&&this.net<=0)return null;this.setWorkingScreen(!0);const t=`${parseFloat(this.cpu).toFixed(this.systemToken.decimals)} ${this.systemToken.symbol}`,e=`${parseFloat(this.net).toFixed(this.systemToken.decimals)} ${this.systemToken.symbol}`,a=this.state===st.STAKE;M.a.plugin(T.Blockchains.EOSIO).stakeOrUnstake(this.account,t,e,a).then(t=>{if(this.setWorkingScreen(!1),!t||!t.hasOwnProperty("transaction_id"))return!1;m.a.push(i.a.transactionSuccess(T.Blockchains.EOSIO,t.transaction_id));const e=new Q.a(this.account,a?"delegatebw":"undelegatebw",t.transaction_id);this[tt.DELTA_HISTORY](e),this.returnResult(t)}).catch(t=>{this.setWorkingScreen(!1)})},async init(){this.setWorkingScreen(!1);const t=M.a.plugin(T.Blockchains.EOSIO),e=(this.account.network(),this.systemToken);this.balance=await t.balanceFor(this.account,e),t.accountData(this.account).then(t=>{this.accountData=t})},switchState(t){this.state=t,this.cpu=0,this.net=0},...Object(v.b)([P.f,tt.DELTA_HISTORY])},watch:{"ram.quantity"(){this.ram.quantity.toString().length||(this.ram.quantity=0)}}},rt=(a("+mh6"),Object(K.a)(ot,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-network"}),t._v(" "),a("figure",{staticClass:"subtitle"},[t._v(t._s(t.account.sendable()))]),t._v(" "),a("figure",{staticClass:"title"},[t._v("CPU & NET")])]),t._v(" "),a("section",{staticClass:"panel-switch"},[a("figure",{staticClass:"button",class:{active:t.state===t.STATES.STAKE},on:{click:function(e){return t.switchState(t.STATES.STAKE)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("popins.fullscreen.moderateCpu.stake"))+"\n\t\t\t")]),t._v(" "),a("figure",{staticClass:"button",class:{active:t.state===t.STATES.UNSTAKE},on:{click:function(e){return t.switchState(t.STATES.UNSTAKE)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("popins.fullscreen.moderateCpu.unstake"))+"\n\t\t\t")])]),t._v(" "),a("section",{staticClass:"resource-moderator"},[a("section",{staticClass:"split-inputs"},[a("section",{staticClass:"split-inputs",staticStyle:{width:"300px"}},[a("Input",{attrs:{label:"CPU",type:"number",text:t.cpu},on:{changed:function(e){return t.cpu=e}}}),t._v(" "),a("Input",{attrs:{label:"NET",type:"number",text:t.net},on:{changed:function(e){return t.net=e}}})],1),t._v(" "),a("section",{staticStyle:{flex:"1"}}),t._v(" "),a("section",{staticClass:"available-input"},[t.state===t.STATES.STAKE?a("Input",{attrs:{label:t.$t("popins.fullscreen.moderateCpu.available",{token:t.systemToken.symbol}),disabled:!0,text:parseFloat(t.balance-t.cpu-t.net).toFixed(t.systemToken.decimals)},on:{changed:function(t){}}}):t._e(),t._v(" "),t.state===t.STATES.UNSTAKE?a("Input",{attrs:{label:t.$t("popins.fullscreen.moderateCpu.reclaiming",{token:t.systemToken.symbol}),disabled:!0,text:parseFloat(t.cpu+t.net).toFixed(t.systemToken.decimals)},on:{changed:function(t){}}}):t._e()],1)]),t._v(" "),t.state===t.STATES.STAKE?a("section",[a("section",{staticClass:"split-inputs"},[a("figure",{staticClass:"resource"},[t._v("CPU")]),t._v(" "),a("Slider",{attrs:{min:0,max:t.balance-this.net,step:"0.0001",value:t.cpu},on:{changed:function(e){return t.cpu=e}}})],1),t._v(" "),a("section",{staticClass:"split-inputs"},[a("figure",{staticClass:"resource"},[t._v("NET")]),t._v(" "),a("Slider",{attrs:{min:0,max:t.balance-this.cpu,step:"0.0001",value:t.net},on:{changed:function(e){return t.net=e}}})],1)]):t._e(),t._v(" "),t.state===t.STATES.UNSTAKE?a("section",[a("section",{staticClass:"split-inputs"},[a("figure",{staticClass:"resource"},[t._v("CPU")]),t._v(" "),a("Slider",{attrs:{min:-t.availableCPU,max:0,step:"0.0001",value:-t.cpu},on:{changed:function(e){return t.cpu=Math.abs(e)}}}),t._v(" "),a("figure",{staticClass:"resource"},[t._v(t._s(parseFloat(t.availableCPU-t.cpu).toFixed(this.account.network().systemToken().decimals)))])],1),t._v(" "),a("section",{staticClass:"split-inputs"},[a("figure",{staticClass:"resource"},[t._v("NET")]),t._v(" "),a("Slider",{attrs:{min:-t.availableNET,max:0,step:"0.0001",value:-t.net},on:{changed:function(e){return t.net=Math.abs(e)}}}),t._v(" "),a("figure",{staticClass:"resource"},[t._v(t._s(parseFloat(t.availableNET-t.net).toFixed(this.account.network().systemToken().decimals)))])],1)]):t._e()])]),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("generic.confirm"),red:!0,click:function(){return t.stakeOrUnstake()}}]}})],1)}),[],!1,null,"4f9b36dc",null).exports),ct=a("ijtA"),lt=(a("48Ae"),{components:{Lock:ct.a},props:["popin"],data:()=>({password:""}),computed:{...Object(v.d)([]),...Object(v.c)([]),returnOnly(){return this.popin.data.props.returnOnly}},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},async verify(){if(!this.password.length)return;if(this.returnOnly)return this.returnResult(this.password);const t=await window.wallet.verifyPassword(this.password);t||m.a.push(i.a.snackbar(this.$t("errors.badPassword"))),this.returnResult(t)},...Object(v.b)([P.f])}}),pt=(a("mNQy"),Object(K.a)(lt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[a("section",{staticClass:"head"},[a("Lock"),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.confirmPassword")))]),t._v(" "),a("br"),t._v(" "),a("Input",{staticStyle:{width:"350px"},attrs:{big:"1",text:t.password,centered:"1",type:"password"},on:{enter:t.verify,changed:function(e){return t.password=e}}})],1),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("generic.confirm"),red:!0,click:function(){return t.verify()}}]}})],1)])}),[],!1,null,"587f4680",null).exports),dt=a("5lq1"),ut=a.n(dt),ht={props:["popin"],data:()=>({}),mounted(){},computed:{...Object(v.d)([]),...Object(v.c)(["keypairs","accounts","history"]),account(){return this.accounts.find(t=>t.unique()===this.popin.data.props.account.unique())}},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},async unlinkAccount(){await ut.a.removeAccounts(this.account.authorities()),this.returnResult(!0)},...Object(v.b)([P.f,tt.DELTA_HISTORY])}},ft=(a("kp35"),Object(K.a)(ht,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[t.account?a("section",[a("section",[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-trash"}),t._v(" "),a("figure",{staticClass:"subtitle"},[t._v(t._s(t.account.sendable()))]),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.unlinkAccount.title")))]),t._v(" "),a("section",{staticClass:"disclaimer",staticStyle:{"margin-top":"20px"}},[a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.unlinkAccount.description")))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(t.$t("popins.fullscreen.unlinkAccount.disclaimer")))])])])]),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("generic.confirm"),red:!0,click:function(){return t.unlinkAccount()}}]}})],1):t._e()])}),[],!1,null,"7a95109a",null).exports),bt=a("bUKF"),mt=a.n(bt),gt=a("Hxfq"),yt=a.n(gt),xt=a("q4Ju"),vt=a("HluJ");const kt={SELECT_TYPE:"selectType",ACCOUNT:"account",EXCHANGE:"exchange",CREDIT_CARD:"creditCard"};let wt;var _t={props:["popin"],components:{Exchange:xt.a,CreditCard:vt.a},data:()=>({accountName:"",accountNameError:"",eosToUse:"1.0000",resourceError:null,ramPrice:null,transactionId:"",keys:{owner:"",active:""},state:kt.SELECT_TYPE,STATES:kt}),mounted(){this.account&&(this.keys.owner=this.keys.active=this.account.publicKey),this.getRamPrice()},computed:{...Object(v.d)(["balances"]),...Object(v.c)(["keypairs","accounts","networks"]),validKeypairs(){return this.keypairs.filter(t=>t.blockchains.includes(T.Blockchains.EOSIO))},canUseExchange(){return 12===this.accountName.length&&!this.accountNameError},noAccountButtonsLeft(){return this.state===kt.SELECT_TYPE?[{text:this.$t("generic.cancel"),click:()=>this.returnResult(!1)}]:[{text:this.$t("generic.back"),click:()=>this.state=kt.SELECT_TYPE}]},noAccountButtonsRight(){return this.state===kt.EXCHANGE&&this.canUseExchange?[{text:this.$t("popins.fullscreen.createAccount.clickAfter"),blue:!0,click:()=>this.findExchangeAccount()}]:[]},changeableKeys(){return[{label:this.$t("popins.fullscreen.changePermissions.owner"),ref:"owner"},{label:this.$t("popins.fullscreen.changePermissions.active"),ref:"active"}]},account(){return this.popin.data.props.account instanceof mt.a?this.popin.data.props.account:null},keypair(){return this.popin.data.props.account instanceof yt.a?this.popin.data.props.account:null},availableAccounts(){return this.accounts.filter(t=>t.network().chainId===this.network.chainId)},network(){const t=M.a.plugin(T.Blockchains.EOSIO).getEndorsedNetwork();return this.account?this.account.network():this.networks.find(e=>e.chainId===t.chainId)||t},decimals(){return this.network.systemToken().decimals},minimumPrice(){return(parseFloat(this.ramPrice?this.ramPrice:"1.0000")+.5).toFixed(this.decimals)},totalPrice(){return(parseFloat(this.ramPrice?this.ramPrice:0)+parseFloat(this.eosToUse?this.eosToUse:0)).toFixed(this.decimals)},systemSymbol(){return this.network.systemToken().symbol},exchangeMemo(){return`${this.keypair.enabledKey().key},${this.accountName}`}},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},selectKey(t,e){this.keys[e.ref]=this.publicKeyForKeypair(t)},publicKeyForKeypair:V.a.publicKeyForKeypair,keypairFor(t){return this.keypairs.find(e=>e.publicKeys.find(e=>e.key===t))},copyExchangeMemo(){this.copyText(this.exchangeMemo)},findExchangeAccount(){const t=this.accountName,e=this.network.clone();this.keypair;let a=0;m.a.push(i.a.prompt(this.$t("popins.fullscreen.createAccount.lookingTitle"),this.$t("popins.fullscreen.createAccount.lookingDescription")));const n=async()=>{++a>=60&&m.a.push(i.a.prompt(this.$t("popins.fullscreen.createAccount.exchangeErrorTitle"),this.$t("popins.fullscreen.createAccount.exchangeErrorDescription")));const s=M.a.plugin(T.Blockchains.EOSIO),o=await s.accountData(null,e,t);if(o&&o.hasOwnProperty("account_name")&&o.account_name===t)return await ut.a.importAllAccounts(this.keypair),m.a.push(i.a.prompt(this.$t("popins.fullscreen.createAccount.accountFoundTitle"),this.$t("popins.fullscreen.createAccount.accountFoundDescription"))),!0;setTimeout(()=>{n()},3e4)};n(),this.returnResult(!0)},async getRamPrice(){const t=M.a.plugin(T.Blockchains.EOSIO),e=await t.getRamPrice(this.network);this.ramPrice=(4096*e).toFixed(this.decimals)},finishedAccountCreation(t){setTimeout(async()=>{m.a.push(i.a.transactionSuccess(T.Blockchains.EOSIO,t));const e=this.keypairs.find(t=>t.publicKeys.find(t=>t.key===this.keys.owner)),a=this.keypairs.find(t=>t.publicKeys.find(t=>t.key===this.keys.active));!e||a&&a.id===e.id||await ut.a.importAllAccounts(e,!1,[T.Blockchains.EOSIO],[this.account.network()]),a&&await ut.a.importAllAccounts(a,!1,[T.Blockchains.EOSIO],[this.account.network()]),setTimeout(()=>{if(e||a){const t=this.accounts.find(t=>t.sendable()===this.accountName);t&&this.$router.push({name:this.RouteNames.ACCOUNT,params:{unique:t.unique()}})}this.returnResult(!0),this.setWorkingScreen(!1)},500)},500)},async createAccount(){if(this.resourceError=null,this.accountNameError)return;if(this.resourceError)return;const t=M.a.plugin(T.Blockchains.EOSIO);this.eosToUse=parseFloat(this.eosToUse).toFixed(this.decimals),this.setWorkingScreen(!0),t.createAccount(this.account,this.accountName,this.keys.owner,this.keys.active,this.eosToUse).then(t=>this.finishedAccountCreation(t)).catch(t=>{this.setWorkingScreen(!1),console.error("error",t)})},async checkAccountName(){clearTimeout(wt),wt=setTimeout(async()=>{if(this.accountName=this.accountName.trim().toLowerCase(),!this.accountName.length)return this.accountNameError="";if(12!==this.accountName.length)return this.accountNameError=this.$t("popins.fullscreen.createAccount.nameTooShort")+` - ${this.accountName.length}/12`;if(this.accountName.split("").filter(t=>isNaN(t)).find(t=>t.toUpperCase()===t))return this.accountNameError=this.$t("popins.fullscreen.createAccount.nameFormatting");if(!M.a.plugin(T.Blockchains.EOSIO).isValidRecipient(this.accountName))return this.accountNameError="only a-z, 1-5";this.accountNameError=this.$t("popins.fullscreen.createAccount.checkingName");const t=M.a.plugin(T.Blockchains.EOSIO),e=await t.accountData(null,this.network,this.accountName);e.hasOwnProperty("code")&&500===e.code?this.accountNameError=null:this.accountNameError=this.$t("popins.fullscreen.createAccount.nameTaken")},10)},...Object(v.b)([P.f])},watch:{accountName(){this.checkAccountName()}}},Ct=(a("ztmc"),Object(K.a)(_t,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[t.account||t.state===t.STATES.SELECT_TYPE?a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-user-add"}),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.createAccount.title")))])]):t._e(),t._v(" "),t.account?a("section",[a("section",[a("Input",{attrs:{big:"1",error:t.accountNameError,placeholder:t.$t("generic.name"),text:t.accountName},on:{changed:function(e){return t.accountName=e}}}),t._v(" "),t._l(t.changeableKeys,(function(e){return a("section",{staticClass:"key-entry"},[a("label",[t._v(t._s(e.label))]),t._v(" "),a("section",{staticClass:"split-inputs"},[t.validKeypairs.length?a("Select",{staticStyle:{flex:"0.5","max-width":"180px"},attrs:{truncate:"1",bordered:"1",options:t.validKeypairs,selected:t.keys[e.ref]&&t.keypairFor(t.keys[e.ref])?t.keypairFor(t.keys[e.ref]).name:"",parser:function(t){return t.name}},on:{selected:function(a){return t.selectKey(a,e)}}}):t._e(),t._v(" "),a("Input",{staticStyle:{"margin-bottom":"0",flex:"1"},attrs:{placeholder:"EOS...",text:t.keys[e.ref]},on:{changed:function(a){return t.keys[e.ref]=a}}})],1)])}))],2),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("popins.fullscreen.createAccount.title"),blue:!0,click:function(){return t.createAccount()}}]}})],1):a("section",[t.state===t.STATES.SELECT_TYPE?a("section",{staticClass:"type-selector"},[a("br"),t._v(" "),a("br"),t._v(" "),a("section",{staticClass:"types"},[a("section",{staticClass:"type",on:{click:function(e){t.state=t.STATES.EXCHANGE}}},[a("figure",{staticClass:"type-icon icon-globe"}),t._v(" "),a("figure",{staticClass:"type-text"},[t._v(t._s(t.$t("generic.exchange")))]),t._v(" "),a("figure",{staticClass:"type-desc"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("popins.fullscreen.createAccount.exchangeDescription"))+"\n\t\t\t\t\t\t")])]),t._v(" "),a("section",{staticClass:"type disabled"},[a("figure",{staticClass:"type-icon"},[a("CreditCard")],1),t._v(" "),a("figure",{staticClass:"type-text"},[t._v(t._s(t.$tc("generic.cards",1)))]),t._v(" "),a("figure",{staticClass:"type-desc"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("popins.fullscreen.createAccount.cardDescription",1))+"\n\t\t\t\t\t\t")])])])]):t._e(),t._v(" "),t.state!==t.STATES.SELECT_TYPE?a("section",{staticClass:"type-selected"},[t.accountName.trim().length||t.accountNameError?t._e():a("i",{staticStyle:{"margin-bottom":"11px",display:"block"}},[t._v(t._s(t.$t("popins.fullscreen.createAccount.startTyping")))]),t._v(" "),a("Input",{attrs:{big:"1",centered:"1",error:t.accountNameError,placeholder:t.$t("generic.name"),text:t.accountName},on:{changed:function(e){return t.accountName=e}}}),t._v(" "),t.state===t.STATES.EXCHANGE?a("section",[t.canUseExchange?a("section",{staticClass:"send-memo"},[a("u",[t._v("send")]),t._v(" "),a("b",{staticClass:"large"},[t._v(t._s(t.minimumPrice)+" "+t._s(t.systemSymbol))]),t._v(" "),a("u",[t._v("to")]),t._v(" "),a("b",{staticClass:"large"},[t._v("makeaccounts")]),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("b",{staticClass:"red"},[t._v(t._s(t.$t("popins.fullscreen.createAccount.includeMemo")))]),t._v(" "),a("figure",{staticClass:"memo"},[a("b",[t._v(t._s(t.exchangeMemo))]),t._v(" "),a("b",{staticClass:"copy icon-docs",on:{click:t.copyExchangeMemo}},[t._v(t._s(t.$t("generic.copy")))])])]):t._e()]):t._e()],1):t._e(),t._v(" "),a("ActionBar",{attrs:{"buttons-left":t.noAccountButtonsLeft,"buttons-right":t.noAccountButtonsRight}})],1)])])}),[],!1,null,"e0dd19e2",null).exports),Tt=a("8s8y"),St=a("78si"),Et=a.n(St),At=a("B9Ha"),Ot=a.n(At),Pt={components:{EditNetwork:Tt.a},props:["popin"],data:()=>({network:Et.a.placeholder()}),computed:{...Object(v.d)([]),...Object(v.c)([])},methods:{returnResult(){this.popin.data.callback(this.network),this[P.f](this.popin)},async saveNetwork(){this.network.blockchain=this.popin.data.props.blockchain,await Ot.a.addNetwork(this.network)&&this.returnResult()},...Object(v.b)([P.f])}},Nt=(a("YMYm"),Object(K.a)(Pt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-globe-1"}),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.addCustomNetwork")))])]),t._v(" "),a("EditNetwork",{attrs:{original:t.network,"brand-new":"1"},on:{updated:function(e){return t.network=e}}}),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("generic.add"),blue:!0,click:function(){return t.saveNetwork()}}]}})],1)])}),[],!1,null,"4f5ed5b0",null).exports),It=a("zsXv"),Rt=a("hS4g"),Lt=a.n(Rt),Kt=a("I2xi"),Bt=a.n(Kt),Dt={components:{EditContact:It.a},props:["popin"],data:()=>({contact:null}),computed:{...Object(v.d)([]),...Object(v.c)([]),blockchain(){return this.popin.data.props.blockchain}},mounted(){const t=Lt.a.placeholder();t.blockchain=this.blockchain,this.contact=t},methods:{returnResult(){this.popin.data.callback(this.contact),this[P.f](this.popin)},async saveContact(){await Bt.a.addOrUpdate(this.contact)&&this.returnResult()},...Object(v.b)([P.f])}},jt=(a("XZBh"),Object(K.a)(Dt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[t.contact?a("section",[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-user-add"}),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.addNewContact")))])]),t._v(" "),a("EditContact",{attrs:{original:t.contact,"brand-new":"1"},on:{updated:function(e){return t.contact=e}}}),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("generic.add"),blue:!0,click:function(){return t.saveContact()}}]}})],1):t._e()])}),[],!1,null,"22eeb023",null).exports),Ft=Object(K.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:"88px",height:"88px",viewBox:"0 0 88 88",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e("g",{attrs:{id:"welcome_key",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[e("path",{attrs:{d:"M45.9352042,37.8600393 L45.8255657,38.2097594 L45.4590631,38.2104648 L6.83879534,38.284796 C3.90051673,38.2891556 1.50533693,40.6709085 1.50001581,43.5913203 C1.49292858,46.5091785 3.87420715,48.8771081 6.80386532,48.8601241 L9.61490534,48.8674525 L9.61387566,49.3671783 L9.59403399,58.9966075 C9.59000492,60.3667697 10.6887509,61.4593563 12.0707976,61.4562839 L26.5036182,61.4251866 C27.8857492,61.4234389 28.9923547,60.3230368 28.9952518,58.9498754 L29.0170751,48.8244844 L45.5559461,48.7784119 L45.6532412,49.1541546 C47.9756558,58.1230577 56.1026838,64.5 65.5,64.5 C76.8218374,64.5 86,55.3218374 86,44 C86,32.6781626 76.8218374,23.5 65.5,23.5 C56.4766731,23.5 48.592932,29.3825331 45.9352042,37.8600393 Z M65.5,54 C59.9771525,54 55.5,49.5228475 55.5,44 C55.5,38.4771525 59.9771525,34 65.5,34 C71.0228475,34 75.5,38.4771525 75.5,44 C75.5,49.5228475 71.0228475,54 65.5,54 Z",id:"Combined-Shape",stroke:"#00A8FF",fill:"#FFFFFF"}}),this._v(" "),e("g",{attrs:{id:"iconfinder_Rounded-27_2024648",fill:"#FFFFFF",stroke:"#00A8FF"}},[e("path",{attrs:{d:"M0.5,44 C0.5,68.0243866 19.9756134,87.5 44,87.5 C68.0243866,87.5 87.5,68.0243866 87.5,44 C87.5,19.9756134 68.0243866,0.5 44,0.5 C19.9756134,0.5 0.5,19.9756134 0.5,44 Z",id:"Path"}})]),this._v(" "),e("g",{attrs:{id:"iconfinder_key_216267",transform:"translate(13.000000, 13.000000)",fill:"#FFFFFF",stroke:"#00A8FF"}},[e("path",{attrs:{d:"M26.5625,33.2353026 L28.2724189,36.606098 L25.8194357,40.2520261 L28.2367054,43.8390695 L25.7547491,47.5045349 L28.1700318,49.8939315 L25.8062736,53.419797 L30.212976,59.243045 L35.8333333,53.6829245 L35.8333333,29.5096722 L36.1681982,29.3925014 C41.7305137,27.4462209 45.5,22.1923607 45.5,16.3445944 C45.5,8.70852126 39.2242172,2.5 31.5,2.5 C23.7757828,2.5 17.5,8.70852126 17.5,16.3445944 C17.5,21.9977447 20.9660831,27.0643357 26.247879,29.1728812 L26.5625,29.298481 L26.5625,33.2353026 Z M31.8535534,21.2972042 C28.8149087,21.2972042 26.3535534,18.8358229 26.3535534,15.7972042 C26.3535534,12.7585855 28.8149087,10.2972042 31.8535534,10.2972042 C34.8838147,10.2972042 37.3535534,12.7627066 37.3535534,15.7972042 C37.3535534,18.8317018 34.8838147,21.2972042 31.8535534,21.2972042 Z",id:"Shape",transform:"translate(31.500000, 31.000000) rotate(-45.000000) translate(-31.500000, -31.000000) "}})])])])}),[],!1,null,null,null).exports,zt={components:{Key:Ft},props:["returnOnly"],data:()=>({privateKey:"",importing:!1,error:""}),computed:{...Object(v.c)(["keypairs"])},methods:{},watch:{privateKey(){this.$emit("key",this.privateKey.trim().replace(/\W/g,"").replace("0x",""))}}},Mt=Object(K.a)(zt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"center-panel"},[a("Key"),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("h2",[t._v(t._s(t.$t("panels.keypair.importTextKeyTitle")))]),t._v(" "),a("p",[t._v(t._s(t.$t("panels.keypair.importTextKeyDescription")))]),t._v(" "),a("br"),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.privateKey,expression:"privateKey"}],staticClass:"center",attrs:{type:"password",placeholder:"input your private key"},domProps:{value:t.privateKey},on:{input:function(e){e.target.composing||(t.privateKey=e.target.value)}}}),t._v(" "),t.error?a("p",[t._v(t._s(t.error))]):a("p",[a("u",[t._v(t._s(t.$t("panels.keypair.validTextKeyWarn")))])]),t._v(" "),t.returnOnly?a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.back"),click:function(){return t.$emit("back")}}],"buttons-right":[{text:t.$t("generic.skip"),click:function(){return t.$emit("next")}}]}}):t._e()],1)}),[],!1,null,"f89dd82e",null).exports;a("hfoK");let qt;var Ut={data:()=>({hardwareType:null,EXT_WALLET_TYPES:c.EXT_WALLET_TYPES,blockchain:T.Blockchains.EOSIO,external:null,gettingAvailableKeys:!1,availableKeys:[],availableWallets:[]}),async mounted(){await window.wallet.hardwareTypes().then(t=>this.availableWallets=t),this.changeHardwareType(this.availableWallets[0].name)},computed:{...Object(v.c)(["keypairs"]),availableBlockchains(){const t=this.availableWallets.find(t=>t.name===this.hardwareType);return t?t.blockchains:[]},externalWallets(){return this.availableWallets.map(t=>t.name)}},methods:{selectBlockchain(t){this.blockchain=t},changeHardwareType(t){this.hardwareType=t,this.blockchain=this.availableBlockchains[0],this.external=new l.a(this.hardwareType,this.blockchain)},async getKeys(){this.gettingAvailableKeys=!0,this.availableKeys=[];const t=await window.wallet.hardwareKey(this.external.blockchain,parseInt(this.external.addressIndex));"object"==typeof t&&!Array.isArray(t)&&t.hasOwnProperty("error")?m.a.push(i.a.snackbar(t.error)):this.availableKeys=[{index:this.external.addressIndex,key:t}],this.gettingAvailableKeys=!1},async importKey(t){this.setWorkingScreen(!0);const{index:e,key:a}=t,n=yt.a.placeholder();if(n.external=this.external,n.blockchains=[this.external.blockchain],n.external.addressIndex=e,n.external.publicKey=a,n.publicKeys.push({blockchain:n.external.blockchain,key:a}),!n.isUnique())return this.setWorkingScreen(!1),m.a.push(i.a.snackbar(this.$t("errors.keypairExists")));setTimeout(()=>{this.$emit("key",n)},1)}},watch:{"external.addressIndex"(){clearTimeout(qt),qt=setTimeout(()=>{this.getKeys()},800)}}},Yt=(a("uP9j"),Object(K.a)(Ut,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"import-hardware"},[a("section",{staticClass:"split-inputs"},[a("section",{staticStyle:{flex:"1"}},[a("label",[t._v(t._s(t.$t("panels.keypair.selectHardware")))]),t._v(" "),a("Select",{staticStyle:{flex:"1"},attrs:{selected:t.hardwareType,bordered:"1",options:t.externalWallets},on:{selected:t.changeHardwareType}})],1),t._v(" "),t.availableBlockchains.length>1?a("section",{staticStyle:{flex:"1"}},[a("label",[t._v(t._s(t.$t("panels.keypair.availableHardwareChains")))]),t._v(" "),a("Select",{attrs:{selected:t.blockchain,bordered:"1",parser:function(e){return t.blockchainName(e)},options:t.availableBlockchains},on:{selected:t.selectBlockchain}})],1):t._e()]),t._v(" "),a("br"),t._v(" "),t.external?a("Input",{attrs:{disabled:t.gettingAvailableKeys,text:t.external.addressIndex,type:"number",label:t.$t("panels.keypair.hardwareIndex")},on:{changed:function(e){return t.external.addressIndex=e}}}):t._e(),t._v(" "),a("section",{staticClass:"key-list"},t._l(t.availableKeys,(function(e){return a("section",{staticClass:"key-row",on:{click:function(a){return t.importKey(e)}}},[a("figure",{staticClass:"index"},[t._v(t._s(e.index))]),t._v(" "),a("figure",{staticClass:"key"},[t._v(t._s(e.key))])])})),0),t._v(" "),t.gettingAvailableKeys?a("figure",{staticClass:"loading-keys"},[a("i",{staticClass:"icon-spin4 animate-spin"})]):t._e()],1)}),[],!1,null,"15bdc122",null).exports),Ht=a("KLk5"),Wt=a.n(Ht),Gt=a("sZoq"),Vt=a.n(Gt),Zt={props:["returnOnly"],data:()=>({refresh:!1}),computed:{...Object(v.c)(["keypairs"])},methods:{qrScanned(t){const{data:e,salt:a}=JSON.parse(t);m.a.push(i.a.verifyPassword(async t=>{if(!t)return;this.setWorkingScreen(!0);const n=await Vt.a.decryptQR(e,a,t).catch(()=>null);if(!n)return this.refresh=!0,this.$nextTick(()=>this.refresh=!1),this.setWorkingScreen(!1),m.a.push(i.a.snackbar(this.$t("errors.badQrDecryption")));const s=yt.a.placeholder();if(s.privateKey=n,await b.a.makePublicKeys(s),this.setWorkingScreen(!1),!s.isUnique())return this.setWorkingScreen(!1),m.a.push(i.a.snackbar(this.$t("errors.keypairExists")));this.$emit("key",s)},!0))}},watch:{privateKey(){this.$emit("key",this.privateKey.trim().replace(/\W/g,"").replace("0x",""))}}},Jt=Object(K.a)(Zt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"center-panel"},[a("h2",[t._v(t._s(t.$t("panels.keypair.scanQR")))]),t._v(" "),a("p"),t._v(" "),a("br"),t._v(" "),t.refresh?t._e():a("qrcode-stream",{on:{decode:t.qrScanned}}),t._v(" "),t.returnOnly?a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.back"),click:function(){return t.$emit("back")}}],"buttons-right":[{text:t.$t("generic.skip"),click:function(){return t.$emit("next")}}]}}):t._e()],1)}),[],!1,null,"0f7867cb",null).exports;const Xt={SELECT_TYPE:"selectType",IMPORT_KEY:"importKey",SELECT_BLOCKCHAIN:"selectBlockchain"},Qt={TEXT:"text",HARDWARE:"hardware",QR:"qr"};var te={props:["popin"],components:{ImportQRKey:Jt,ImportPrivateKey:Mt,ImportHardwareKey:Yt,Key:Ft},data:()=>({STATES:Xt,state:Xt.SELECT_TYPE,IMPORT_TYPES:Qt,importType:null,privateKey:"",blockchains:[],keypair:null}),computed:{...Object(v.c)(["keypairs"]),options(){return this.popin.data.props.options},buttonsLeft(){return this.options.forSignup?this.state===Xt.SELECT_TYPE?[]:[{text:this.$t("generic.back"),click:()=>this.state=Xt.SELECT_TYPE}]:this.state===Xt.SELECT_TYPE?[{text:this.$t("generic.cancel"),click:()=>this.returnResult(null)}]:[{text:this.$t("generic.back"),click:()=>this.state=Xt.SELECT_TYPE}]},buttonsRight(){return this.options.forSignup?[{text:this.$t("generic.skip"),click:()=>this.returnResult(!1)}]:[]},importTypes(){return[{icon:"icon-pencil",text:this.$t("popins.fullscreen.importKeypair.text"),onClick:()=>{this.selectImportType(Qt.TEXT)}},{icon:"icon-microchip",text:this.$t("popins.fullscreen.importKeypair.hardware"),onClick:()=>{this.selectImportType(Qt.HARDWARE)}},{icon:"icon-qrcode",text:this.$t("popins.fullscreen.importKeypair.qrCode"),onClick:()=>{this.selectImportType(Qt.QR)}}]}},methods:{saveKeypair(){},returnResult(){this.popin.data.callback(this.keypair),this[P.f](this.popin)},selectImportType(t){this.state=Xt.IMPORT_KEY,this.importType=t},async testKey(){const t=()=>this.setWorkingScreen(!1);if(this.keypair=null,this.setWorkingScreen(!0),this.error=null,!this.privateKey||!this.privateKey.trim().length)return t();const e=this.privateKey.trim().replace(/\W/g,"").replace("0x",""),a=yt.a.placeholder();if(a.privateKey=e,!b.a.isValidPrivateKey(a))return this.error=this.$t("popins.fullscreen.importKeypair.invalidPrivateKey"),t();await b.a.convertHexPrivateToBuffer(a),this.keypair=a;const i=b.a.getImportedKeyBlockchains(e);1===i.length?this.selectBlockchain(i[0]):(this.blockchains=i,this.state=Xt.SELECT_BLOCKCHAIN,this.setWorkingScreen(!1))},async selectBlockchain(t){if(this.keypair.blockchains=[t],await b.a.makePublicKeys(this.keypair),!this.keypair.publicKeys.find(e=>e.blockchain===t))return this.error=this.$t("popins.fullscreen.importKeypair.invalidPrivateKey"),void this.setWorkingScreen(!1);this.keypair.setName(),this.finishImporting(this.keypair)},async finishImporting(t){await b.a.saveKeyPair(t),await ut.a.importAllAccounts(t,!1,t.blockchains),Wt.a.loadAllBalances(!0),this.setWorkingScreen(!1),this.returnResult(t)},...Object(v.b)([P.f])},watch:{privateKey(){this.testKey()}}},ee=(a("vxug"),Object(K.a)(te,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in import-key"},[a("section",[t.state===t.STATES.SELECT_TYPE?a("section",{staticClass:"select-type"},[a("section",{staticClass:"head"},[a("Key"),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.importKeypair.title")))])],1),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("section",{staticClass:"type-selector"},[a("section",{staticClass:"types"},t._l(t.importTypes,(function(e){return a("section",{staticClass:"type",on:{click:function(t){return e.onClick()}}},[a("figure",{staticClass:"type-icon",class:e.icon}),t._v(" "),a("figure",{staticClass:"type-text"},[t._v(t._s(e.text))])])})),0)])]):t._e(),t._v(" "),t.state===t.STATES.IMPORT_KEY?a("section",[t.importType===t.IMPORT_TYPES.TEXT?a("ImportPrivateKey",{attrs:{"return-only":"1"},on:{key:function(e){return t.privateKey=e}}}):t._e(),t._v(" "),t.importType===t.IMPORT_TYPES.HARDWARE?a("ImportHardwareKey",{on:{key:t.finishImporting}}):t._e(),t._v(" "),t.importType===t.IMPORT_TYPES.QR?a("ImportQRKey",{on:{key:t.finishImporting}}):t._e()],1):t._e(),t._v(" "),t.state===t.STATES.SELECT_BLOCKCHAIN?a("section",{staticClass:"select-type type-selector"},[a("section",{staticClass:"types"},t._l(t.blockchains,(function(e){return a("section",{staticClass:"type",on:{click:function(a){return t.selectBlockchain(e)}}},[a("figure",{staticClass:"type-icon",class:"token-"+e+"-"+e}),t._v(" "),a("figure",{staticClass:"type-text"},[t._v(t._s(t.blockchainName(e)))])])})),0)]):t._e(),t._v(" "),t.buttonsLeft.length||t.buttonsRight.length?a("ActionBar",{attrs:{"buttons-left":t.buttonsLeft,"buttons-right":t.buttonsRight}}):t._e()],1)])}),[],!1,null,"5e35fb3e",null).exports),ae={components:{Key:Ft},props:["popin"],data:()=>({Blockchains:T.BlockchainsArray.map(t=>t.value)}),computed:{...Object(v.c)(["keypairs"]),options(){return this.popin.data.props.options}},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},async generate(t){this.setWorkingScreen(!0);const e=yt.a.placeholder();e.blockchains=[t],await b.a.generateKeyPair(e),await b.a.makePublicKeys(e),e.setName(),await b.a.saveKeyPair(e),await ut.a.importAllAccounts(e,!0,[t]),this.returnResult(e),this.setWorkingScreen(!1)},...Object(v.b)([P.f])}},ie=(a("F/n4"),Object(K.a)(ae,(function(){var t=this,e=this,a=e.$createElement,i=e._self._c||a;return i("section",{staticClass:"pop-in generate-key"},[i("section",{staticClass:"select-type"},[i("section",{staticClass:"head"},[i("Key"),e._v(" "),i("br"),e._v(" "),i("br"),e._v(" "),i("figure",{staticClass:"title"},[e._v(e._s(e.$t("popins.fullscreen.generateKey.title")))])],1),e._v(" "),i("br"),e._v(" "),i("br"),e._v(" "),i("section",{staticClass:"type-selector"},[i("section",{staticClass:"types"},e._l(e.Blockchains,(function(t){return i("section",{staticClass:"type",on:{click:function(a){return e.generate(t)}}},[i("figure",{staticClass:"type-icon",class:"token-"+t+"-"+t}),e._v(" "),i("figure",{staticClass:"type-text"},[e._v(e._s(e.blockchainName(t)))])])})),0)])]),e._v(" "),i("ActionBar",{attrs:{"buttons-left":[{text:e.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}]}})],1)}),[],!1,null,"13308243",null).exports),ne={props:["popin"],computed:{...Object(v.c)(["history"]),keypair(){return this.popin.data.props.keypair}},methods:{async returnResult(t){t&&(await b.a.removeKeyPair(this.keypair),await Wt.a.removeStaleBalances()),this.popin.data.callback(t),this[P.f](this.popin)},...Object(v.b)([P.f,tt.DELTA_HISTORY])}},se=(a("FnTk"),Object(K.a)(ne,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",{staticClass:"container"},[a("figure",{staticClass:"icon"},[a("svg",{attrs:{viewBox:"0 0 88 88",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[a("g",{attrs:{id:"confirm_delete",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"}},[a("circle",{attrs:{id:"Base",stroke:"#FF0707",cx:"43.7079646",cy:"43.7079646",r:"43.7079646"}}),t._v(" "),a("path",{attrs:{d:"M53.92,67 L35.08,67 C33.042,67 31.33,65.468 31.104,63.442 L27.5,31 L61.5,31 L57.896,63.442 C57.67,65.468 55.958,67 53.92,67 Z M38.5,23 C38.5,21.896 39.396,21 40.5,21 L48.5,21 C49.604,21 50.5,21.896 50.5,23 L62.5,23 C63.604,23 64.5,23.896 64.5,25 C64.5,26.104 63.604,27 62.5,27 L26.5,27 C25.396,27 24.5,26.104 24.5,25 C24.5,23.896 25.396,23 26.5,23 L38.5,23 Z",id:"Combined-Shape",stroke:"#FF0707"}})])])]),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.removeKeypair.title")))]),t._v(" "),a("figure",{staticClass:"subtitle"},[t._v(t._s(t.keypair.name)+" ("+t._s(t.keypair.accounts().length)+" "+t._s(t.$tc("generic.accounts",t.keypair.accounts().length))+")")]),t._v(" "),a("section",{staticClass:"disclaimer"},[a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.removeKeypair.permanent")))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(t.$t("popins.fullscreen.removeKeypair.removesAll")))])])]),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("generic.remove"),red:!0,click:function(){return t.returnResult(!0)}}]}})],1)}),[],!1,null,"06081eca",null).exports),oe=a("EfjO"),re={components:{KeysAndAccountList:oe.a},props:["popin"],data:()=>({terms:"",blockchainFilter:null}),computed:{...Object(v.c)(["accounts"]),validAccounts(){return this.popin.data.props.validAccounts}},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},...Object(v.b)([P.f])}},ce=(a("5vwW"),Object(K.a)(re,(function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"select-account pop-over"},[e("PopInHead",{attrs:{title:this.$t("popins.overlay.selectAccount")},on:{close:this.returnResult}}),this._v(" "),e("KeysAndAccountList",{attrs:{accounts:this.validAccounts,"as-selector":"1","no-balances":"1"},on:{account:this.returnResult}})],1)}),[],!1,null,"7b839707",null).exports),le={components:{KeysAndAccountList:oe.a},props:["popin"],data:()=>({}),computed:{...Object(v.c)(["accounts"]),blockchains(){return this.popin.data.props.blockchains}},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},...Object(v.b)([P.f])}},pe=(a("/t0x"),Object(K.a)(le,(function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"select-keypair pop-over"},[e("PopInHead",{attrs:{title:this.$t("popins.overlay.selectPublicKey")},on:{close:this.returnResult}}),this._v(" "),e("KeysAndAccountList",{attrs:{"keypairs-only":!0,blockchains:this.blockchains,"as-selector":"1"},on:{keypair:this.returnResult}})],1)}),[],!1,null,"26081a1c",null).exports),de={props:["popin"],data:()=>({text:""}),computed:{title(){return this.popin.data.props.title},description(){return this.popin.data.props.description},acceptDeny(){return this.popin.data.props.acceptDeny},inputField(){return this.popin.data.props.inputField}},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},...Object(v.b)([P.f])}},ue=(a("XJoY"),Object(K.a)(de,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"prompt pop-over"},[a("figure",{staticClass:"title"},[t._v(t._s(t.title))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(t.description))]),t._v(" "),t.inputField?a("Input",t._b({attrs:{centered:"1",text:t.text},on:{changed:function(e){return t.text=e}}},"Input",t.inputField,!1)):t._e(),t._v(" "),a("section",{staticClass:"actions",class:{between:t.acceptDeny}},[t.acceptDeny?a("Button",{attrs:{red:"1",text:t.$t("generic.deny")},nativeOn:{click:function(e){return t.returnResult(!1)}}}):t._e(),t._v(" "),a("Button",{attrs:{blue:"1",text:t.$t("generic.okay")},nativeOn:{click:function(e){return t.returnResult(!t.inputField||t.text)}}})],1)],1)}),[],!1,null,"12c82a4c",null).exports),he={components:{TokenList:a("5t91").a},props:["popin"],data:()=>({terms:"",blockchainFilter:null}),computed:{...Object(v.c)([]),tokens(){return this.popin.data.props.tokens},categories(){return this.tokens[0].hasOwnProperty("tokens")?this.tokens:[{tokens:this.tokens}]},filters(){return[{selected:this.blockchainFilter,options:[null].concat(T.BlockchainsArray.map(t=>t.value)),parser:t=>null===t?this.$t("popins.overlay.allBlockchains"):Object(T.blockchainName)(t),onSelect:t=>this.blockchainFilter=t}]}},created(){},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},...Object(v.b)([P.f])}},fe=(a("g+0E"),Object(K.a)(he,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-over"},[a("PopInHead",{attrs:{title:t.$t("popins.overlay.selectToken")},on:{close:t.returnResult}}),t._v(" "),a("section",{staticClass:"select-token"},[a("section",{staticClass:"scroller"},t._l(t.categories,(function(e){return a("section",{staticClass:"scroller-category"},[a("TokenList",{key:e.title,attrs:{balances:e.tokens,hoverable:"1"},on:{token:t.returnResult}})],1)})),0)])],1)}),[],!1,null,null,null).exports),be={components:{Assets:a("+/Gu").a},props:["popin"],data:()=>({}),computed:{...Object(v.c)(["accounts"])},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},...Object(v.b)([P.f])}},me=(a("MH1I"),Object(K.a)(be,(function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"pop-over"},[e("PopInHead",{attrs:{title:this.$t("popins.overlay.selectTokenAndAccount")},on:{close:this.returnResult}}),this._v(" "),e("Assets",{attrs:{"as-selector":"1","hide-unusable":"1"},on:{selected:this.returnResult}})],1)}),[],!1,null,"3152171b",null).exports),ge={props:["popin"],data:()=>({canCancel:!1,hadWorkingScreen:!1}),computed:{...Object(v.d)(["workingScreen"]),...Object(v.c)([])},mounted(){setTimeout(()=>{this.canCancel=!0},1500),this.workingScreen&&(this.hadWorkingScreen=!0,this.setWorkingScreen(!1))},methods:{returnResult(t){this.hadWorkingScreen&&this.setWorkingScreen(!0),setTimeout(()=>{this.popin.data.callback(t),this[P.f](this.popin)},10)},...Object(v.b)([P.f])}},ye=(a("8gNK"),Object(K.a)(ge,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[a("section",{staticClass:"head"},[t._m(0),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.checkHardwareTitle")))]),t._v(" "),a("p",[t._v(t._s(t.$t("popins.fullscreen.checkHardwareDescription")))])])]),t._v(" "),t.canCancel?a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}]}}):t._e()],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("figure",{staticClass:"icon font"},[e("i",{staticClass:"icon-spin4 animate-spin"})])}],!1,null,"199cfd63",null).exports),xe=a("btL5"),ve=a.n(xe),ke=a("OFHw"),we={props:["popin"],data:()=>({}),created(){},computed:{...Object(v.d)([]),...Object(v.c)(["keypairs","accounts"])},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},async destroy(){await ve.a.close(),setTimeout(async()=>{await ke.a.removeScatter(),await window.wallet.lock(),window.wallet.utility.reload()},500)},...Object(v.b)([P.f])}},_e=(a("Z6Rw"),Object(K.a)(we,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-attention"}),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("destroy.title")))]),t._v(" "),a("section",{staticClass:"disclaimer"},[a("figure",{staticClass:"title"},[t._v(t._s(t.$t("destroy.disclaimer")))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(t.$t("destroy.description")))])])]),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("destroy.confirm"),blue:!0,click:function(){return t.destroy()}}]}})],1)}),[],!1,null,"4311b5d8",null).exports),Ce=(a("w+eT"),a("Mb++")),Te=a.n(Ce),Se=a("olCv"),Ee=(a("5lvq"),a("lkGv")),Ae=a.n(Ee);a("9pT+");const{getFileLocation:Oe}=a("2UZj");var Pe={components:{LoginButton:Se.a},props:["popin"],data:()=>({}),methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},async importBackup(){const t=()=>{this.setWorkingScreen(!1),this.restoringBackup=!1,window.wallet.lock()};if(this.restoringBackup)return;this.restoringBackup=!0;const e=await Oe(["json","txt"]);if(!e)return t();const a=e[0];if(!a)return t();const n=async(e,a)=>{const[n,s]=e.split("|SLT|");if(!n||!s)return t(),m.a.push(i.a.snackbar(this.$t("popins.fullscreen.importBackup.errorParsing")));await window.wallet.lock(),await window.wallet.unlock(a,!0,s);const o=await window.wallet.decrypt(n);if("object"!=typeof o||!o.hasOwnProperty("keychain"))return t(),m.a.push(i.a.snackbar(this.$t("popins.fullscreen.importBackup.errorDecrypting")));o.keychain=await window.wallet.decrypt(o.keychain),o.settings.backupLocation="",this.setWorkingScreen(!1),m.a.push(i.a.showTerms(async t=>{if(!t)return window.wallet.lock(),this.returnResult(!1);o.onboarded=!0,await this[tt.SET_SCATTER](Te.a.fromJson(o)),await window.wallet.lock(),window.wallet.utility.reload()}))},s=async(e,a)=>{const[n,s]=e.split("|SSLT|");if(!n||!s)return t(),m.a.push(i.a.snackbar(this.$t("popins.fullscreen.importBackup.errorParsing")));await window.wallet.lock(),await window.wallet.unlock(a,!0,s);const o=await window.wallet.decrypt(n);if("object"!=typeof o||!o.hasOwnProperty("keychain"))return t(),m.a.push(i.a.snackbar(this.$t("popins.fullscreen.importBackup.errorDecrypting")));{const t=await Promise.all(o.keychain.keypairs.map(async t=>(t.privateKey=await window.wallet.decrypt(t.privateKey),t)).map(async t=>{const e=yt.a.fromJson({name:t.name,blockchains:[t.blockchain],privateKey:Ae.a.privateKeyToBuffer(t.privateKey,t.blockchain)});return await b.a.makePublicKeys(e),e})),e=await Te.a.create();e.keychain.keypairs=t,this.setWorkingScreen(!1),m.a.push(i.a.showTerms(async a=>{if(!a)return window.wallet.lock(),this.returnResult(!1);e.onboarded=!0,await this[tt.SET_SCATTER](e),await Promise.all(t.map(t=>ut.a.importAllAccounts(t))),await window.wallet.lock(),window.wallet.utility.reload()}))}};window.wallet.storage.openFile(a).then(e=>{if(!e)return t(),m.a.push(i.a.snackbar(this.$t("popins.fullscreen.importBackup.errorReading")));const o=a.split(".")[a.split(".").length-1];m.a.push(i.a.verifyPassword(async a=>{if(!a||!a.length)return t();this.setWorkingScreen(!0);try{switch(o){case"json":return await n(e,a);case"txt":return await s(e,a)}}catch(e){return console.error("e",e),t(),m.a.push(i.a.snackbar(this.$t("popins.fullscreen.importBackup.errorDecrypting")))}},!0))})},...Object(v.b)([P.u,tt.SET_SCATTER,P.f])}},Ne=(a("lUoz"),Object(K.a)(Pe,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in import-backup"},[a("section",[a("h2",[t._v(t._s(t.$t("popins.fullscreen.importBackup.title")))]),t._v(" "),a("p",[t._v(t._s(t.$t("popins.fullscreen.importBackup.description")))]),t._v(" "),a("br"),t._v(" "),a("section",{staticStyle:{display:"flex","justify-content":"center"}},[a("LoginButton",{attrs:{"on-white":"1",primary:"1",title:t.$t("popins.fullscreen.importBackup.buttonTitle"),description:t.$t("popins.fullscreen.importBackup.buttonDescription")},nativeOn:{click:function(e){return t.importBackup(e)}}})],1),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}]}})],1)])}),[],!1,null,"8f47c49e",null).exports),Ie={components:{TokenSymbol:a("AZxv").a},props:["popin"],data:()=>({accounts:{},keys:{}}),computed:{...Object(v.d)(["scatter"]),pair(){return this.popin.data.props.pair}},mounted(){this.prepareData()},methods:{async prepareData(){await Promise.all(T.BlockchainsArray.map(async({value:t})=>{const e=this.scatter.settings.networks.filter(e=>e.blockchain===t);let a=this.scatter.keychain.keypairs.find(e=>e.blockchains[0]===t);if(!a){const e=yt.a.placeholder();e.blockchains=[t],await b.a.generateKeyPair(e),await b.a.makePublicKeys(e),e.setName(),a=e}this.keys[t]=a.clone(),e.map(t=>{const e=this.defaultKeyAccounts(a,t);e.length&&(this.accounts[t.unique()]=e[0].clone())})})),this.$forceUpdate()},defaultKeyAccounts(t,e){return this.keypairExists(t.id)?t.accounts(!0).filter(t=>t.networkUnique===e.unique()).sort((t,e)=>e.logins-t.logins):M.a.plugin(t.blockchains[0]).accountsAreImported()?[mt.a.fromJson({keypairUnique:t.unique(),networkUnique:e.unique(),publicKey:t.enabledKey().key})]:null},accountNetwork(t){return this.scatter.settings.networks.find(e=>e.unique()===t)},accountExists(t){return!!this.scatter.keychain.accounts.find(e=>e.id===t)},keypairExists(t){return!!this.scatter.keychain.keypairs.find(e=>e.id===t)},sendable:t=>t.name.length?t.name:t.publicKey,replaceAccount(t){const e=(()=>{if(!this.accountExists(t.id))return[t];return this.scatter.settings.networks.find(e=>e.unique()===t.networkUnique).accounts(!0).sort((t,e)=>e.logins-t.logins)})();m.a.push(i.a.selectAccount(e=>{if(e){const a=this.scatter.settings.networks.find(e=>e.unique()===t.networkUnique).blockchain;e.keypairUnique!==this.keys[a].unique()&&(this.keys[a]=this.scatter.keychain.keypairs.find(t=>t.unique()===e.keypairUnique).clone()),this.accounts[t.networkUnique]=e.clone(),this.$forceUpdate()}},e))},async enableAndSave(){const t=this.scatter.clone();Object.keys(this.keys).map(e=>{const a=this.keys[e];this.keypairExists(a.id)||t.keychain.keypairs.unshift(a)}),await this[tt.SET_SCATTER](t),t.settings.networks.map(t=>{const e=this.accounts[t.unique()];e&&window.localStorage.setItem(`acc_${t.unique()}`,e.unique())}),this.returnResult(!0)},returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},...Object(v.b)([P.f,tt.SET_SCATTER])}},Re=(a("1ZvQ"),Object(K.a)(Ie,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-over enable-simple-mode"},[a("PopInHead",{attrs:{title:"Select your accounts"},on:{close:t.returnResult}}),t._v(" "),a("section",{staticClass:"scroller container"},[t._m(0),t._v(" "),a("section",{staticClass:"transfer"},t._l(t.accounts,(function(e,i){return a("section",{staticClass:"boxes"},[a("section",{staticClass:"box-container",staticStyle:{width:"100%"}},[a("label",[t._v(t._s(t.accountNetwork(i).name))]),t._v(" "),a("section",{staticClass:"box nested account-selector flex",on:{click:function(a){return t.replaceAccount(e)}}},[a("section",{staticClass:"symbol"},[a("TokenSymbol",{attrs:{token:t.accountNetwork(i).systemToken()}})],1),t._v(" "),a("section",[a("figure",{staticClass:"name"},[t._v(t._s(t.sendable(e)))])]),t._v(" "),a("figure",{staticClass:"chevron fas fa-caret-square-down"})])])])})),0)]),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("section",{staticClass:"actions"},[a("Button",{attrs:{text:"Cancel"},nativeOn:{click:function(e){return t.returnResult(!1)}}}),t._v(" "),a("Button",{attrs:{blue:"1",text:"Enable Simple Mode"},nativeOn:{click:function(e){return t.enableAndSave(e)}}})],1)],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"info"},[this._v("\n\t\t\tIn "),e("b",[this._v("Simple Mode")]),this._v(" you only use a single account at once for each network. This helps make the overall experience better by reducing the amount of screens you need to go through to do internal actions and use external applications.\n\t\t\tPlease select an account for each network you have enabled.\n\t\t")])}],!1,null,"ab6612ac",null).exports),Le={props:["popin"],data:()=>({}),created(){},computed:{symbols(){return this.popin.data.props.symbols},accounts(){return this.popin.data.props.accounts},order(){return this.popin.data.props.order},pair(){return this.popin.data.props.pair}},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},...Object(v.b)([P.f])}},Ke=Object(K.a)(Le,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-over confirm"},[a("section",{staticClass:"details"},[a("img",{staticClass:"icon",attrs:{src:"static/assets/icon_exchange_big.png"}}),t._v(" "),a("label",[t._v(t._s(t.$t("popins.overlay.exchanging")))]),t._v(" "),a("section",{staticClass:"amounts"},[a("figure",{staticClass:"amount"},[t._v(t._s(t.order.deposit)+" "+t._s(t.symbols.from))]),t._v(" "),a("figure",{staticClass:"arrow bounce-right icon-right-small"}),t._v(" "),a("figure",{staticClass:"amount"},[t._v(t._s(parseFloat(t.order.expected).toFixed(t.pair.decimals))+" "+t._s(t.symbols.to))])]),t._v(" "),t.accounts.from!==t.accounts.to?a("section",{staticClass:"accounts"},[a("figure",{staticClass:"account"},[t._v(t._s(t.accounts.from))]),t._v(" "),a("figure",{staticClass:"arrow bounce-right icon-right-small"}),t._v(" "),a("figure",{staticClass:"account"},[t._v(t._s(t.accounts.to))])]):a("section",{staticClass:"accounts"},[a("figure",{staticClass:"account"},[t._v(t._s(t.accounts.from))])])]),t._v(" "),a("section",{staticClass:"tail"},[a("Button",{attrs:{text:t.$t("generic.cancel")},nativeOn:{click:function(e){return t.returnResult(!1)}}}),t._v(" "),a("Button",{attrs:{text:t.$t("generic.confirm"),blue:"1"},nativeOn:{click:function(e){return t.returnResult(!0)}}})],1)])}),[],!1,null,"d9bc7968",null).exports,Be={props:["popin"],data:()=>({}),created(){},computed:{from(){return this.popin.data.props.from},to(){return this.popin.data.props.to},token(){return this.popin.data.props.token},memo(){return this.popin.data.props.memo}},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},...Object(v.b)([P.f])}},De=Object(K.a)(Be,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-over confirm"},[a("section",{staticClass:"details"},[a("img",{staticClass:"icon",attrs:{src:"static/assets/icon_send_big.png"}}),t._v(" "),a("label",[t._v(t._s(t.$t("popins.overlay.transferring")))]),t._v(" "),a("figure",{staticClass:"amount"},[t._v(t._s(t.token.amount)+" "+t._s(t.token.symbol))]),t._v(" "),a("section",{staticClass:"accounts"},[a("figure",{staticClass:"account"},[t._v(t._s(t.from))]),t._v(" "),a("figure",{staticClass:"arrow bounce-right icon-right-small"}),t._v(" "),a("figure",{staticClass:"account"},[t._v(t._s(t.to))])]),t._v(" "),t.memo?a("figure",{staticClass:"memo"},[a("b",[t._v(t._s(t.$t("generic.memo")))]),t._v(" "),a("span",[t._v(t._s(t.memo))])]):t._e()]),t._v(" "),a("section",{staticClass:"tail"},[a("Button",{attrs:{text:t.$t("generic.cancel")},nativeOn:{click:function(e){return t.returnResult(!1)}}}),t._v(" "),a("Button",{attrs:{text:t.$t("generic.confirm"),blue:"1"},nativeOn:{click:function(e){return t.returnResult(!0)}}})],1)])}),[],!1,null,"56990f7c",null).exports,je=a("nOak"),$e={components:{VueMarkdown:a.n(je).a},props:["popin"],data:()=>({}),mounted(){},computed:{...Object(v.c)(["explorers"]),update(){return this.popin.data.props.update}},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},open(){this.openInBrowser(this.update.url),this.returnResult(!0)},...Object(v.b)([P.f])}},Fe=(a("ydfQ"),Object(K.a)($e,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-over"},[a("section",{staticClass:"panel centered"},[a("h1",[t._v("Update Available!")]),t._v(" "),a("figure",{staticClass:"description"},[a("b",[t._v("Scatter Desktop")]),t._v(" - "),a("b",{staticClass:"blue"},[t._v(t._s(t.update.name))]),t._v(" (v"+t._s(t.update.version)+")")]),t._v(" "),a("br"),t._v(" "),a("section",{staticClass:"markdown"},[a("VueMarkdown",[t._v(t._s(t.update.body))])],1),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("Button",{attrs:{text:"Get Update",big:"1",blue:"1"},nativeOn:{click:function(e){return t.open(e)}}})],1)])}),[],!1,null,"5bf2c9f8",null).exports),ze=a("95O8");const Me={CONTACTS:"contacts",ACCOUNTS:"accounts"};var qe={components:{Contacts:ze.a,KeysAndAccountList:oe.a},props:["popin"],data:()=>({state:Me.CONTACTS,STATES:Me}),computed:{...Object(v.c)(["accounts"]),blockchain(){return this.popin.data.props.blockchain}},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},switchState(t){this.state=t},accountSelected(t){t||this.returnResult(null),this.returnResult(t.sendable())},...Object(v.b)([P.f])}},Ue=(a("EAbP"),Object(K.a)(qe,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-over"},[a("PopInHead",{attrs:{title:t.$t("popins.overlay.selectRecipient")},on:{close:t.returnResult}}),t._v(" "),a("section",{staticClass:"select-recipient"},[a("section",{staticClass:"head"},[a("section",{staticClass:"panel-switch"},[a("figure",{staticClass:"button",class:{active:t.state===t.STATES.CONTACTS},on:{click:function(e){return t.switchState(t.STATES.CONTACTS)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$tc("generic.contacts",2))+"\n\t\t\t\t")]),t._v(" "),a("figure",{staticClass:"button",class:{active:t.state===t.STATES.ACCOUNTS},on:{click:function(e){return t.switchState(t.STATES.ACCOUNTS)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$tc("generic.accounts",2))+"\n\t\t\t\t")])])]),t._v(" "),a("section",{staticClass:"body"},[t.state===t.STATES.ACCOUNTS?a("KeysAndAccountList",{attrs:{"as-selector":"1","starting-chain":t.blockchain},on:{account:t.accountSelected}}):t._e(),t._v(" "),t.state===t.STATES.CONTACTS?a("Contacts",{attrs:{"as-selector":"1"},on:{recipient:t.returnResult}}):t._e()],1)])],1)}),[],!1,null,null,null).exports),Ye={props:["popin"],data:()=>({}),computed:{...Object(v.c)([]),blockchains(){return this.popin.data.props.blockchains}},created(){},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},...Object(v.b)([P.f])}},He=(a("7DPg"),Object(K.a)(Ye,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-over"},[a("PopInHead",{attrs:{title:t.$t("popins.overlay.selectBlockchain")},on:{close:t.returnResult}}),t._v(" "),a("section",{staticClass:"select-blockchain type-selector"},[a("section",{staticClass:"types"},t._l(t.blockchains,(function(e){return a("section",{staticClass:"type",on:{click:function(a){return t.returnResult(e)}}},[a("figure",{staticClass:"type-icon",class:"token-"+e+"-"+e}),t._v(" "),a("figure",{staticClass:"type-text"},[t._v(t._s(t.blockchainName(e)))])])})),0)])],1)}),[],!1,null,"42c3714c",null).exports),We={props:["popin"],data:()=>({code:""}),computed:{subtitle(){return this.popin.data.props.subtitle}},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},...Object(v.b)([P.f])}},Ge=(a("5xqE"),Object(K.a)(We,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-lock"}),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.securityCode")))]),t._v(" "),a("figure",{staticClass:"subtitle"},[t._v(t._s(t.subtitle))]),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("Input",{attrs:{placeholder:"Security Code",type:"password",centered:"1",big:"1",text:t.code},on:{changed:function(e){return t.code=e}}})],1)]),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("generic.confirm"),red:!0,click:function(){return t.returnResult(t.code)}}]}})],1)}),[],!1,null,"2230af07",null).exports),Ve=a("B0RS"),Ze={components:{SearchAndFilter:Ve.a},props:["popin"],data:()=>({terms:""}),computed:{title(){return this.popin.data.props.title},filteredList(){return this.popin.data.props.list.filter(t=>t.title.toLowerCase().trim().indexOf(this.terms)>-1)}},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},...Object(v.b)([P.f])}},Je=(a("EUMI"),Object(K.a)(Ze,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"select-from-list pop-over"},[a("PopInHead",{attrs:{title:t.title},on:{close:t.returnResult}}),t._v(" "),a("SearchAndFilter",{attrs:{"full-search":"1"},on:{terms:function(e){return t.terms=e}}}),t._v(" "),a("section",{staticClass:"list"},t._l(t.filteredList,(function(e){return a("figure",{staticClass:"item",on:{click:function(a){return t.returnResult(e)}}},[a("figure",{staticClass:"title"},[t._v(t._s(e.title))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(e.description))])])})),0)],1)}),[],!1,null,"421c4a44",null).exports);const Xe={SELECT:"select",KEY:"key",QR:"qr"};var Qe={props:["popin"],data:()=>({state:Xe.SELECT,STATES:Xe,screenshotting:!1,privateKey:!1}),computed:{...Object(v.d)([]),...Object(v.c)(["keypairs"]),buttonsLeft(){return this.state===Xe.SELECT?[{text:this.$t("generic.back"),click:()=>this.returnResult(null)}]:[{text:this.$t("generic.back"),click:()=>this.state=Xe.SELECT}]},publicKeyItems(){return this.keypair.publicKeys.map(t=>this.keypair.blockchains.includes(t.blockchain)?{title:t.key,description:this.blockchainName(t.blockchain),actions:[]}:null).filter(t=>!!t)},keypair(){return this.popin.data.props.keypair}},mounted(){this.init()},methods:{returnResult(){this.popin.data.callback(this.network),this[P.f](this.popin)},async init(){this.privateKey=await this.getPrivateKey()},getPublicKey(){return this.keypair.enabledKey().key},async getPrivateKey(){return window.wallet.getPrivateKey(this.keypair.id,this.keypair.enabledKey().blockchain)},async copyPrivateKey(){const t=await this.getPrivateKey(),e=this.getPublicKey(),a=`${this.blockchainName(this.keypair.enabledKey().blockchain)} - ${this.keypair.name}\r\nPublic: ${e}\r\nPrivate: ${t}`;this.copyText(a)},async createQR(){this.qr=await Vt.a.createQR(this.keypair.privateKey),this.state=Xe.QR},async screenshot(){this.screenshotting=!0,setTimeout(async()=>{let t=await window.wallet.storage.getFolderLocation({properties:["openDirectory"]});if(!t)return this.screenshotting=!1;t=t[0];const e=`${this.keypair.name}.jpg`;window.wallet.utility.screenshot(window.wallet.windowId).then(a=>{window.wallet.storage.saveFile(t,e,a).then(e=>{m.a.push(i.a.snackbar($t("popins.fullscreen.exportKey.savedImage"),"check")),this.openInBrowser(t),setTimeout(()=>{this.screenshotting=!1},500)})})},500)},...Object(v.b)([P.f])}},ta=(a("Gfyt"),Object(K.a)(Qe,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[t.state===t.STATES.SELECT?a("section",{staticClass:"export-your-key"},[a("h1",[t._v(t._s(t.$t("popins.fullscreen.exportKey.title")))]),t._v(" "),a("section",{staticClass:"disclaimer"},[a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.exportKey.disclaimer")))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(t.$t("popins.fullscreen.exportKey.description")))])]),t._v(" "),a("section",{staticClass:"types"},[a("section",{staticClass:"type",on:{click:function(e){t.state=t.STATES.KEY}}},[a("figure",{staticClass:"badge icon-key"}),t._v(" "),a("figure",{staticClass:"name"},[t._v(t._s(t.$t("popins.fullscreen.exportKey.keyTitle")))]),t._v(" "),a("p",[t._v(t._s(t.$t("popins.fullscreen.exportKey.keyDescription")))])]),t._v(" "),a("section",{staticClass:"type",on:{click:t.createQR}},[a("figure",{staticClass:"badge icon-qrcode"}),t._v(" "),a("figure",{staticClass:"name"},[t._v(t._s(t.$t("popins.fullscreen.exportKey.qrTitle")))]),t._v(" "),a("p",[t._v(t._s(t.$t("popins.fullscreen.exportKey.qrDescription")))])])])]):t._e(),t._v(" "),t.state===t.STATES.KEY?a("section",{staticClass:"export-text"},[a("h1",[t._v(t._s(t.$t("popins.fullscreen.exportKey.privateKeyAsText")))]),t._v(" "),a("section",{staticClass:"split-inputs"},[a("Input",{staticStyle:{flex:"1"},attrs:{text:t.privateKey}}),t._v(" "),a("Button",{attrs:{text:t.$t("generic.copy")},nativeOn:{click:function(e){return t.copyPrivateKey(e)}}})],1)]):t._e(),t._v(" "),t.state===t.STATES.QR?a("section",[t.screenshotting?a("section",[a("h1",[t._v(t._s(t.keypair.name))]),t._v(" "),a("section",{staticClass:"keys"},t._l(t.publicKeyItems,(function(e){return a("figure",{staticClass:"key"},[t._v("\n\t\t\t\t\t\t"+t._s(e.description)+" - "),a("b",[t._v(t._s(e.title))])])})),0)]):a("section",[a("h1",[t._v(t._s(t.$t("popins.fullscreen.exportKey.privateKeyAsQR")))]),t._v(" "),t._m(0),t._v(" "),a("section",{staticClass:"split-inputs"},[a("Button",{staticStyle:{flex:"1"},attrs:{text:t.$t("generic.save")},nativeOn:{click:function(e){return t.screenshot(e)}}})],1)]),t._v(" "),a("br"),t._v(" "),a("section",{staticClass:"qr"},[a("img",{attrs:{src:t.qr}})])]):t._e(),t._v(" "),t.screenshotting?t._e():a("ActionBar",{attrs:{"buttons-left":t.buttonsLeft}})],1)])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"disclaimer",staticStyle:{margin:"0 auto 10px","max-width":"500px"}},[e("figure",{staticClass:"description"},[this._v("This QR code is encrypted with your password.")])])}],!1,null,"77b132cd",null).exports),ea=a("diYo"),aa=a.n(ea),ia={props:["popin"],data:()=>({nameauth:"",network:null}),computed:{...Object(v.c)(["networks"]),keypair(){return this.popin.data.props.keypair},validNetworks(){const t=M.a.plugin(T.Blockchains.EOSIO).getEndorsedNetwork();return this.networks.filter(t=>t.blockchain===T.Blockchains.EOSIO).sort((e,a)=>a.chainId===t.chainId?1:e.chainId===t.chainId?-1:0)}},mounted(){if(!this.validNetworks.length)return m.a.push(i.a.snackbar(this.$t("popins.overlay.linkAccount.noNetworksAvailable"))),this.returnResult(!1);this.network=this.validNetworks[0]},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},async addAccount(){const[t,e]=this.nameauth.trim().toLowerCase().split("@");if(!t.length)return;const a=mt.a.fromJson({keypairUnique:this.keypair.id,networkUnique:this.network.unique(),publicKey:this.keypair.enabledKey().key,name:t,authority:e||"active"});await ut.a.addAccount(a),Wt.a.loadBalancesFor(a),aa.a.getResourcesFor(a).then(t=>{this[tt.ADD_RESOURCES]({acc:a.identifiable(),res:t})}),this.returnResult(!0)},...Object(v.b)([P.f,tt.ADD_RESOURCES])}},na=(a("5v53"),Object(K.a)(ia,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"prompt pop-over"},[a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.overlay.linkAccount.title")))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(t.$t("popins.overlay.linkAccount.description")))]),t._v(" "),a("Input",{attrs:{placeholder:"name@authority",centered:"1",text:t.nameauth},on:{changed:function(e){return t.nameauth=e}}}),t._v(" "),a("br"),t._v(" "),a("label",[t._v(t._s(t.$t("popins.overlay.linkAccount.selectNetwork")))]),t._v(" "),a("Select",{attrs:{options:t.validNetworks,parser:function(t){return t.name},bordered:"1",selected:t.network},on:{selected:function(e){return t.network=e}}}),t._v(" "),a("section",{staticClass:"actions"},[a("Button",{attrs:{text:t.$t("generic.cancel")},nativeOn:{click:function(e){return t.returnResult(!1)}}}),t._v(" "),a("Button",{attrs:{blue:"1",text:t.$t("popins.overlay.linkAccount.button")},nativeOn:{click:function(e){return t.addAccount(e)}}})],1)],1)}),[],!1,null,"0f72e0d5",null).exports),sa=a("ONSl"),oa=a.n(sa),ra={props:["popin"],data:()=>({currencies:{}}),mounted(){O.a.getCurrencyPrices().then(t=>this.currencies=t)},computed:{...Object(v.d)(["scatter","prices"]),...Object(v.c)(["displayToken","displayCurrency"]),networkTokensList(){return this.scatter.networkTokens().filter(t=>this.prices.hasOwnProperty(t.uniqueWithChain())).reduce((t,e)=>(t.find(t=>t.unique()===e.unique())||t.push(e),t),[])}},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},setCurrency:oa.a.setDisplayCurrency,setToken:oa.a.setDisplayToken,...Object(v.b)([P.f])}},ca=(a("/2Y3"),Object(K.a)(ra,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-over"},[a("PopInHead",{attrs:{title:t.$t("popins.overlay.selectDisplayToken")},on:{close:t.returnResult}}),t._v(" "),a("section",{staticClass:"display-token"},[a("label",[t._v(t._s(t.$t("popins.overlay.selectFiatCurrency")))]),t._v(" "),a("section",{staticClass:"button-list"},t._l(t.currencies,(function(e,i){return a("Button",{key:i,attrs:{text:i,blue:i===t.displayCurrency},nativeOn:{click:function(e){return t.setCurrency(i)}}})})),1)]),t._v(" "),a("section",{staticClass:"display-token"},[a("label",[t._v(t._s(t.$t("popins.overlay.selectBlockchainToken")))]),t._v(" "),a("section",{staticClass:"button-list"},t._l(t.networkTokensList,(function(e){return a("Button",{key:e.uniqueWithChain(),attrs:{text:e.symbol,blue:e.uniqueWithChain()===t.displayToken},nativeOn:{click:function(a){return t.setToken(e)}}})})),1)])],1)}),[],!1,null,"7fa05eb2",null).exports),la={components:{Terms:a("ZrbQ").a},props:["popin"],methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},...Object(v.b)([P.f])}},pa=Object(K.a)(la,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("Terms",{on:{next:function(e){return t.returnResult(!0)},back:function(e){return t.returnResult(!1)}}})],1)}),[],!1,null,"41538e60",null).exports,da=a("bcyO"),ua={props:["popin"],data:()=>({privateKey:"",originalPrivateKey:"",identity:null}),computed:{...Object(v.d)(["scatter"]),...Object(v.c)([]),buttonsRight(){return[{text:this.$t("popins.fullscreen.generateRandomKey"),click:()=>this.randomKey()},{text:this.$t("popins.fullscreen.saveIdentityKey"),blue:!0,click:()=>this.saveIdentityPrivateKey()}]}},mounted(){this.identity=this.popin.data.props.identity.clone(),b.a.publicToPrivate(this.identity.publicKey).then(t=>{this.privateKey=t,this.originalPrivateKey=t})},methods:{returnResult(){this.popin.data.callback(!0),this[P.f](this.popin)},async randomKey(){const t=yt.a.placeholder();await b.a.generateKeyPair(t),this.privateKey=await M.a.plugin(T.Blockchains.EOSIO).bufferToHexPrivate(t.privateKey)},async saveIdentityPrivateKey(){if(this.privateKey===this.originalPrivateKey)return this.returnResult(!1);const t=M.a.plugin(T.Blockchains.EOSIO).privateToPublic(this.privateKey);if(this.identity.id===this.identity.ridl){if(!await da.b.changeKey(this.identity.name,t))return}else this.identity.ridl=-1;this.identity.privateKey=this.privateKey,this.identity.publicKey=t;const e=this.scatter.clone();e.keychain.updateOrPushIdentity(this.identity),await this[tt.SET_SCATTER](e),this.returnResult(!0)},...Object(v.b)([P.f,tt.SET_SCATTER])}},ha=(a("Vv/L"),Object(K.a)(ua,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[t.identity?a("section",[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-key"}),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.changeIdentityKey")))])]),t._v(" "),a("section",{staticClass:"key-details"},[a("label",[t._v("Private Key")]),t._v(" "),a("Input",{attrs:{text:t.privateKey}})],1),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":t.buttonsRight}})],1):t._e()])}),[],!1,null,"e4534040",null).exports),fa=a("zugy"),ba=a.n(fa),ma={props:["popin"],data:()=>({text:"",error:!1}),computed:{...Object(v.d)(["scatter"])},methods:{returnResult(t){this.popin.data.callback(t),this[P.f](this.popin)},validatePIN(){if(this.text.length){if(this.scatter.pin===ba.a.unsaltedQuickHash(this.text))return this.returnResult(!0);this.error=!0,setTimeout(()=>{this.error=!1},700)}},...Object(v.b)([P.f])}},ga=(a("kPM7"),{components:{EnterPIN:Object(K.a)(ma,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"prompt pop-over"},[a("PopInHead",{attrs:{title:t.$t("popins.overlay.confirmPin")},on:{close:t.returnResult}}),t._v(" "),a("section",{staticClass:"panel",staticStyle:{padding:"20px"}},[a("section",{staticClass:"split-inputs"},[a("Input",{staticStyle:{"margin-bottom":"0",flex:"3"},attrs:{placeholder:"****",text:t.text,type:"password"},on:{changed:function(e){return t.text=e}}}),t._v(" "),a("Button",{class:{wiggle:t.error},staticStyle:{"margin-bottom":"0",flex:"1.5"},attrs:{red:t.error,text:t.$t("generic.confirm")},nativeOn:{click:function(e){return t.validatePIN(e)}}})],1)])],1)}),[],!1,null,"0311351a",null).exports,ChangeIdentityKey:ha,Terms:pa,SelectDisplayToken:ca,EosLinkAccount:na,ExportPrivateKey:ta,SelectFromList:Je,EnterSecurityCode:Ge,SelectRecipient:Ue,SelectBlockchain:He,SelectTokenAndAccount:me,SelectAccount:ce,SelectKeypair:pe,SelectToken:fe,UpdateAvailable:Fe,Snackbar:j,TransactionSuccess:F,Prompt:ue,ImportBackup:Ne,DestroyScatter:_e,AddCustomNetwork:Nt,AddNewContact:jt,ConfirmPassword:pt,EosChangePermissions:J,EosProxyVotes:G,EosModerateRam:nt,EosModerateCpuNet:rt,EosCreateAccount:Ct,UnlinkAccount:ft,RemoveKeypair:se,ImportKeypair:ee,GenerateKeypair:ie,CheckHardware:ye,ConfirmExchange:Ke,ConfirmTransfer:De,EnableSimpleMode:Re},data:()=>({popupTypes:i.d,popupDisplayTypes:i.c}),computed:{...Object(v.d)(["popups"]),...Object(v.c)(["popIns","nextPopIn","snackbars"]),showFader(){return this.nextPopIn&&this.nextPopIn.displayType===i.c.POP_IN}},methods:{isFullscreen:i.e,clickedFader(){this.nextPopIn&&(this.nextPopIn.hasOwnProperty("data")&&"function"==typeof this.nextPopIn.data.callback&&this.nextPopIn.data.callback(null),this[P.f](this.popIns[this.popIns.length-1]))},isWide:t=>[i.d.SELECTOR,i.d.UPDATE_AVAILABLE].includes(t.data.type),...Object(v.b)([P.f])}}),ya=(a("qjCw"),Object(K.a)(ga,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[a("section",{staticClass:"fader",class:{show:t.showFader}},t._l(t.popIns,(function(e){return a("section",{staticClass:"pop-ins"},[t.isFullscreen(e)?a("section",{staticClass:"fullscreen"},[e.data.type===t.popupTypes.SECURITY_CODE?a("EnterSecurityCode",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.VERIFY_PASSWORD?a("ConfirmPassword",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.EOS_PROXY_VOTES?a("EosProxyVotes",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.EOS_CHANGE_PERMISSIONS?a("EosChangePermissions",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.EOS_MODERATE_RAM?a("EosModerateRam",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.EOS_MODERATE_CPU_NET?a("EosModerateCpuNet",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.EOS_CREATE_ACCOUNT?a("EosCreateAccount",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.ADD_CUSTOM_NETWORK?a("AddCustomNetwork",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.ADD_NEW_CONTACT?a("AddNewContact",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.UNLINK_ACCOUNT?a("UnlinkAccount",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.REMOVE_KEYPAIR?a("RemoveKeypair",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.IMPORT_KEYPAIR?a("ImportKeypair",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.GENERATE_KEYPAIR?a("GenerateKeypair",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.CHECK_HARDWARE?a("CheckHardware",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.DESTROY_SCATTER?a("DestroyScatter",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.IMPORT_FULL_BACKUP?a("ImportBackup",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.EXPORT_PRIVATE_KEY?a("ExportPrivateKey",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.SHOW_TERMS?a("Terms",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.CHANGE_IDENTITY_KEY?a("ChangeIdentityKey",{attrs:{popin:e}}):t._e()],1):a("section",{staticClass:"overlay",class:{wide:t.isWide(e)}},[a("figure",{staticClass:"bg-holder"},[a("section",{staticClass:"pop-in-over"},[a("figure",{staticClass:"bg",on:{click:t.clickedFader}}),t._v(" "),e.data.type===t.popupTypes.ENTER_PIN?a("EnterPIN",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.PROMPT?a("Prompt",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.SELECT_FROM_LIST?a("SelectFromList",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.TX_SUCCESS?a("TransactionSuccess",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.UPDATE_AVAILABLE?a("UpdateAvailable",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.SELECT_ACCOUNT?a("SelectAccount",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.SELECT_KEYPAIR?a("SelectKeypair",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.SELECT_RECIPIENT?a("SelectRecipient",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.SELECT_BLOCKCHAIN?a("SelectBlockchain",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.SELECT_TOKEN?a("SelectToken",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.SELECT_TOKEN_AND_ACCOUNT?a("SelectTokenAndAccount",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.CONFIRM_TRANSFER?a("ConfirmTransfer",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.CONFIRM_EXCHANGE?a("ConfirmExchange",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.EOS_LINK_ACCOUNT?a("EosLinkAccount",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.DISPLAY_TOKEN?a("SelectDisplayToken",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.ENABLE_SIMPLE_MODE?a("EnableSimpleMode",{attrs:{popin:e}}):t._e()],1)])])])})),0),t._v(" "),a("section",{staticClass:"snackbar-holder",class:{"has-snackbar":t.snackbars.length}},[a("transition-group",{attrs:{name:"snackbar-transition"}},t._l(t.snackbars,(function(t){return a("Snackbar",{key:t.id,attrs:{popup:t}})})),1)],1)])}),[],!1,null,"7e1d5bc4",null).exports),xa={data:()=>({}),computed:{...Object(v.d)(["history","sidebarLocked"]),...Object(v.c)(["accounts"]),items(){return[{name:this.$t("sidebar.dashboard"),route:C.a.HOME},this.accounts.length?{name:this.$t("sidebar.apps"),route:C.a.APPS}:null,{name:this.$t("sidebar.wallet"),route:C.a.WALLET},this.accounts.length?{name:this.$t("sidebar.assets"),route:C.a.ASSETS}:null,{name:this.$t("sidebar.identities"),route:C.a.IDENTITIES},{name:this.$t("sidebar.locations"),route:C.a.LOCATIONS},{name:this.$t("sidebar.contacts"),route:C.a.CONTACTS},this.history.length?{name:this.$t("sidebar.history"),route:C.a.HISTORIES}:null,{name:this.$t("sidebar.networks"),route:C.a.NETWORKS},{name:this.$t("sidebar.settings"),route:C.a.SETTINGS},"extension"===y.getWalletType()?{name:this.$t("sidebar.lock"),click:this.lockWallet}:null].filter(t=>!!t)}},mounted(){this[P.v]("true"===window.localStorage.getItem("sidebar"))},methods:{itemIcon(t){switch(t.name){case this.$t("sidebar.dashboard"):return"fal fa-rocket";case this.$t("sidebar.apps"):return"fal fa-star";case this.$t("sidebar.wallet"):return"fal fa-wallet";case this.$t("sidebar.assets"):return"fal fa-coins";case this.$t("sidebar.identities"):return"fal fa-passport";case this.$t("sidebar.locations"):return"fal fa-map-marker-alt";case this.$t("sidebar.contacts"):return"fal fa-address-book";case this.$t("sidebar.history"):return"fal fa-history";case this.$t("sidebar.networks"):return"fal fa-server";case this.$t("sidebar.settings"):return"fal fa-cog";case this.$t("sidebar.lock"):return"fal fa-lock-alt";default:return"fal fa-star"}},async lockWallet(){await window.wallet.lock(),location.reload()},toggleSidebar(){this[P.v](!this.sidebarLocked),window.localStorage.setItem("sidebar",this.sidebarLocked)},checkMobileClick(){this.isMobile&&!this.sidebarLocked&&this.toggleSidebar()},...Object(v.b)([P.v])}},va=(a("XP/4"),Object(K.a)(xa,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"sidebar-container",class:{locked:!t.sidebarLocked}},[a("section",{staticClass:"placeholder"}),t._v(" "),a("section",{staticClass:"sidebar"},[a("figure",{staticClass:"bar-bg"}),t._v(" "),t._l(t.items,(function(e){return a("figure",[e.hasOwnProperty("route")?a("router-link",{key:e.name,staticClass:"item",class:{active:t.$route.name===e.route},attrs:{to:{name:e.route}},nativeOn:{click:function(e){return t.checkMobileClick(e)}}},[a("i",{class:t.itemIcon(e)}),t._v(" "),a("span",[t._v(t._s(e.name))])]):a("figure",{key:e.name,staticClass:"item",on:{click:e.click}},[a("i",{class:t.itemIcon(e)}),t._v(" "),a("span",[t._v(t._s(e.name))])])],1)})),t._v(" "),a("figure",{staticClass:"lock-sidebar",on:{click:t.toggleSidebar}},[a("span",{staticClass:"nav"})])],2)])}),[],!1,null,"58da2a59",null).exports),ka={components:{},data:()=>({}),computed:{...Object(v.d)(["scatter","sidebarLocked"]),...Object(v.c)(["accounts"])},mounted(){},methods:{quickAction(t){if(this.onAccount)return this.$router.push({name:t,query:{account:this.onAccount.identifiable()}});this.$router.push({name:t})},selectDisplays(){m.a.push(i.a.setDisplayToken(t=>{}))}}},wa=(a("TgQI"),Object(K.a)(ka,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"bottom-actions",class:{sidebarLocked:!t.sidebarLocked}},[a("section",{staticClass:"flex-wrapper"},[a("section",{staticClass:"action",on:{click:function(e){return t.quickAction(t.RouteNames.TRANSFER)}}},[a("i",{staticClass:"fal fa-sign-out"}),t._v(" "),a("span",[t._v(t._s(t.$t("generic.send")))])]),t._v(" "),a("section",{staticClass:"action",on:{click:function(e){return t.quickAction(t.RouteNames.RECEIVE)}}},[a("i",{staticClass:"fal fa-sign-in"}),t._v(" "),a("span",[t._v(t._s(t.$t("generic.receive")))])]),t._v(" "),a("section",{staticClass:"action",on:{click:function(e){return t.quickAction(t.RouteNames.EXCHANGE)}}},[a("i",{staticClass:"fal fa-retweet"}),t._v(" "),a("span",[t._v(t._s(t.$t("generic.exchange")))])])])])}),[],!1,null,"6c22c66b",null).exports),_a={props:{number:{default:0},decimals:{default:2}},data:()=>({displayNumber:0,interval:!1}),mounted:function(){this.displayNumber=this.number?this.number:0},watch:{number(){clearInterval(this.interval),this.number!==this.displayNumber&&(this.interval=setInterval(()=>{if(this.displayNumber!==this.number){let t=(parseFloat(this.number)-parseFloat(this.displayNumber))/10;this.displayNumber=parseFloat(parseFloat(this.displayNumber)+t).toFixed(this.decimals)}},10))}}},Ca=Object(K.a)(_a,(function(){var t=this.$createElement;return(this._self._c||t)("span",[this._v(this._s(this.formatNumber(this.displayNumber,!0)))])}),[],!1,null,"b497e218",null).exports,Ta={components:{AnimatedNumber:Ca},data:()=>({loadingBalances:!1}),computed:{...Object(v.d)(["scatter","balances","prices","history","sidebarLocked"]),...Object(v.c)(["keypairs","accounts","totalBalances","displayToken","displayCurrency","hideMainBalance"]),totalBalance:()=>O.a.getTotal(Wt.a.totalBalances(!0).totals),totalTokenBalance(){return O.a.getTotal(Wt.a.totalBalances(!0).totals,null,!1,this.displayToken)},quickBack(){return[C.a.ACCOUNT,C.a.APP].filter(t=>!!t).includes(this.$route.name)},onAccount(){if(this.$route.name===C.a.ACCOUNT)return this.accounts.find(t=>t.unique()===this.$route.params.unique)}},mounted(){this.refreshTokens()},methods:{async refreshTokens(t=!1){!t&&Object.keys(this.balances).length||this.loadingBalances||(this.loadingBalances=!0,await O.a.setPrices(),await Wt.a.loadAllBalances(!0),this.loadingBalances=!1)},quickAction(t){if(this.onAccount)return this.$router.push({name:t,query:{account:this.onAccount.identifiable()}});this.$router.push({name:t})},selectDisplays(){m.a.push(i.a.setDisplayToken(t=>{}))},displayTokenClass(){return this.scatter.networkTokens().find(t=>t.uniqueWithChain()===this.displayToken).symbolClass()}}},Sa=(a("T11S"),Object(K.a)(Ta,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"quick-actions",class:{sidebarLocked:!t.sidebarLocked}},[a("section",{staticClass:"left",class:{quickBack:t.quickBack}},[t.quickBack?a("section",{staticClass:"quick-back",on:{click:function(e){return t.$router.back()}}},[a("i",{staticClass:"fal fa-arrow-left"})]):a("svg",{attrs:{width:"44px",height:"44px",viewBox:"0 0 44 44",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[a("g",{attrs:{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[a("path",{attrs:{d:"M22,0 C34.1502645,0 44,9.8497355 44,22 C44,34.1502645 34.1502645,44 22,44 C9.8497355,44 0,34.1502645 0,22 C0,9.8497355 9.8497355,0 22,0 Z M24.1351973,8.87608069 C23.3172851,8.87608069 22.5023063,9.00882172 21.6902364,9.27430777 C20.8781664,9.53979382 20.0982405,9.90556911 19.350435,10.3716446 C18.6026296,10.8377201 17.9074147,11.3863831 17.2647695,12.0176499 C16.6221242,12.6489167 16.0641996,13.3273709 15.590979,14.0530327 C15.1177584,14.7786946 14.7467824,15.542693 14.4780398,16.3450508 C14.2092972,17.1474087 14.074928,17.9438548 14.074928,18.7344133 C14.074928,19.6547649 14.200534,20.4718597 14.4517499,21.1857222 C14.7029658,21.8995847 15.0330468,22.5396915 15.4420029,23.1060617 C15.850959,23.6724319 16.3183303,24.1738981 16.844131,24.6104751 C17.3699317,25.0470522 17.9074088,25.4541247 18.4565784,25.8317048 C19.005748,26.209285 19.543225,26.5721105 20.0690257,26.9201922 C20.5948264,27.2682739 21.0621978,27.6251998 21.4711538,27.9909805 C21.8801099,28.3567613 22.210191,28.7520346 22.4614068,29.1768123 C22.7126227,29.60159 22.8382288,30.0853573 22.8382288,30.6281288 C22.8382288,31.4068878 22.6045431,32.0233962 22.1371647,32.4776723 C21.6697863,32.9319484 21.0680457,33.1590831 20.3319247,33.1590831 C19.9930754,33.1590831 19.6980472,33.1177859 19.4468314,33.0351902 C19.1956155,32.9525946 18.9852984,32.8611507 18.8158737,32.760856 C18.646449,32.6605613 18.5150008,32.5632179 18.4215252,32.4688228 L18.4215252,32.4688228 L18.2462591,32.291833 C18.141099,32.0794442 18.0067297,31.9732513 17.8431473,31.9732513 C17.7146183,31.9732513 17.5685647,32.0440466 17.4049823,32.1856391 C17.2413998,32.3272317 17.0895041,32.5012699 16.9492906,32.7077591 C16.8090771,32.9142482 16.6922343,33.1384331 16.5987586,33.3803204 C16.5052829,33.6222077 16.4585458,33.8493423 16.4585458,34.0617311 C16.4585458,34.120728 16.5169672,34.2475695 16.6338118,34.4422592 C16.7506564,34.636949 16.9551314,34.8404853 17.2472429,35.0528741 C17.5393543,35.2652629 17.93662,35.457 18.4390518,35.628091 C18.9414835,35.799182 19.5724349,35.8847262 20.3319247,35.8847262 C21.0797301,35.8847262 21.7807872,35.7431358 22.4351169,35.4599507 C23.0894467,35.1767656 23.6561345,34.7932915 24.1351973,34.3095169 C24.6142601,33.8257423 24.9910783,33.2564308 25.2656631,32.6015652 C25.5402479,31.9466996 25.6775382,31.2534964 25.6775382,30.5219349 C25.6775382,29.7667746 25.5519322,29.0971698 25.3007163,28.5131005 C25.0495004,27.9290312 24.7164983,27.3980671 24.3017,26.9201922 C23.8869017,26.4423173 23.4166093,26.0057468 22.8908086,25.6104676 C22.3650079,25.2151883 21.8275308,24.8317142 21.2783612,24.4600338 C20.7291916,24.0883533 20.1917146,23.7137286 19.6659139,23.3361485 C19.1401132,22.9585683 18.6698208,22.5455962 18.2550224,22.0972198 C17.8402241,21.6488433 17.507222,21.150327 17.2560062,20.6016558 C17.0047903,20.0529847 16.8791842,19.4305767 16.8791842,18.7344133 C16.8791842,18.073648 16.993106,17.4394409 17.2209529,16.8317728 C17.4487999,16.2241047 17.7496702,15.657743 18.1235729,15.1326706 C18.4974756,14.6075982 18.9297942,14.1267807 19.4205415,13.6902036 C19.9112888,13.2536266 20.4195551,12.8819517 20.9453558,12.5751678 C21.4711565,12.2683839 21.9940282,12.0294501 22.5139866,11.858359 C23.0339451,11.687268 23.5159218,11.6017238 23.9599313,11.6017238 C24.6726833,11.6017238 25.1780286,11.7787119 25.4759823,12.1326933 C25.773936,12.4866747 25.9229107,12.970442 25.9229107,13.5840097 C25.9229107,14.1857781 25.7447253,14.8052363 25.3883493,15.4424028 C25.0319733,16.0795693 24.5908916,16.6636298 24.0650909,17.1946019 C23.5392902,17.725574 22.9784446,18.1621445 22.3825371,18.5043265 C21.7866297,18.8465086 21.2433105,19.017597 20.7525632,19.017597 C20.6006652,19.017597 20.4662959,19.002848 20.3494513,18.9733495 C20.2326067,18.9438511 20.1362114,18.9261523 20.0602624,18.9202526 C19.9843134,18.9143529 19.925892,18.9350015 19.8849964,18.982199 C19.8441008,19.0293966 19.8236533,19.1296898 19.8236533,19.2830817 C19.8236533,19.4718718 19.8703904,19.6872073 19.9638661,19.9290945 C20.0573418,20.1709818 20.18879,20.4010663 20.3582146,20.6193548 C20.5276393,20.8376433 20.7379564,21.020531 20.9891723,21.1680232 C21.2403882,21.3155155 21.5237321,21.3892605 21.8392125,21.3892605 C22.2014307,21.3892605 22.622065,21.2889673 23.1011278,21.0883778 C23.5801906,20.8877884 24.0738516,20.6075573 24.5821256,20.2476762 C25.0903996,19.8877951 25.5869817,19.4630238 26.0718868,18.9733495 C26.5567918,18.4836753 26.9920314,17.9497614 27.3776186,17.3715917 C27.7632058,16.7934221 28.0728393,16.1798636 28.3065285,15.5308977 C28.5402177,14.8819318 28.6570605,14.2211764 28.6570605,13.5486118 C28.6570605,12.840649 28.551902,12.2005422 28.3415817,11.6282723 C28.1312614,11.0560024 27.8333122,10.5663354 27.447725,10.1592568 C27.0621378,9.75217823 26.5889243,9.43654956 26.0280703,9.21236134 C25.4672162,8.98817312 24.8362649,8.87608069 24.1351973,8.87608069 Z",id:"Combined-Shape-Copy-21",fill:"#00A8FF"}})])])]),t._v(" "),a("section",{staticClass:"right"},[t.accounts.length?a("section",[a("section",{staticClass:"balances"},[a("section",{staticClass:"fiat"},[a("span",{staticClass:"balance",on:{click:t.selectDisplays}},[t._v(t._s(t.totalBalance.symbol)),a("AnimatedNumber",{attrs:{number:t.totalBalance.amount}})],1)]),t._v(" "),t.displayToken?a("section",{staticClass:"token",on:{click:t.selectDisplays}},[a("i",{staticClass:"symbol",class:t.displayTokenClass()}),t._v(" "),a("span",{staticClass:"balance"},[t._v(t._s(t.formatNumber(t.totalTokenBalance.amount,!0))+" "+t._s(t.totalTokenBalance.symbol))])]):t._e()])]):t._e(),t._v(" "),t.accounts.length?a("i",{staticClass:"fal fa-sync",class:{spin:t.loadingBalances},staticStyle:{cursor:"pointer"},on:{click:t.refreshTokens}}):t._e()])])}),[],!1,null,"4fa3c406",null).exports),Ea=a("sDjF"),Aa={components:{Popups:ya,Processes:B,Sidebar:va,QuickActions:Sa,BottomActions:wa},data:()=>({routeNames:C.a}),computed:{...Object(v.d)(["scatter","workingScreen","processes","isMobileDevice"]),...Object(v.c)(["unlocked","accounts"]),onboarded(){return this.unlocked&&this.scatter.onboarded&&this.route!==C.a.LOGIN},isPopout(){return"popout"===this.$route.name},route(){return this.$route.name},showQuickActions(){return!!this.onboarded&&![].includes(this.$route.name)},showBottomActions(){return!!this.unlocked&&(!!this.onboarded&&(this.accounts.length?![C.a.IDENTITIES,C.a.LOCATIONS,C.a.NETWORKS,C.a.CONTACTS,C.a.HISTORIES].includes(this.$route.name):void 0))}},mounted(){this.checkDevice(),this.checkMobileSize(),window.addEventListener("resize",this.checkMobileSize)},methods:{checkMobileSize(){this.isMobileDevice||this[P.n](window.innerWidth<800)},checkDevice(){let t=!1;var e;e=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0),t&&(this[P.o](!0),this[P.n](!0))},...Object(v.b)([P.n,P.o])}},Oa=(a("eS/V"),Object(K.a)(Aa,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[t.route?a("section",{staticClass:"view-base",class:{mobile:t.isMobile}},[a("Popups"),t._v(" "),t.isPopout?a("router-view"):a("section",[a("section",{staticClass:"app-content"},[t.unlocked&&t.onboarded?a("Sidebar"):t._e(),t._v(" "),a("section",{staticClass:"view-pane",class:{borders:t.unlocked&&t.onboarded}},[t.showQuickActions?a("QuickActions"):t._e(),t._v(" "),a("router-view",{staticClass:"router-view"}),t._v(" "),t.showBottomActions?a("BottomActions"):t._e()],1),t._v(" "),a("Processes")],1)]),t._v(" "),t.workingScreen?a("section",{staticClass:"working-screen"},[a("figure",{staticClass:"spinner icon-spin4 animate-spin"})]):t._e()],1):t._e()])}),[],!1,null,null,null).exports),Pa={props:["white","text","click","blue","red","disabled","big","icon","small","loading"]},Na=(a("FNgu"),Object(K.a)(Pa,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("button",{class:{blue:t.blue,white:t.white,red:t.red,big:t.big,small:t.small,icon:t.icon&&!t.text},attrs:{disabled:t.disabled||t.loading},on:{click:function(e){t.click&&!t.loading&&t.click()}}},[t.icon?a("span",{staticClass:"icon",class:t.icon}):t._e(),t._v(" "),t.loading?a("span",{staticClass:"loading icon-spin4 animate-spin"}):t._e(),t._v(" "),t.text?a("span",[t._v(t._s(t.text))]):t._e()])}),[],!1,null,"29c1ada2",null).exports),Ia={data(){return{input:this.text}},methods:{enter(){this.$emit("enter")},emit(){this.$emit("changed",this.input)},blur(){this.$emit("blur")},emitDynamicButton(){this.$emit("dynamic")}},created(){this.focus&&this.$nextTick(()=>{this.$refs.focuser.focus()})},props:["forLogin","placeholder","label","labelStyles","error","type","maxlength","text","disabled","copy","hideDynamicButton","dynamicButton","dynamicTooltip","big","medium","focus","loaderOnDynamic","red","centered","textarea","rightText","small","white"],watch:{input:function(){this.emit()},text:function(){this.input=this.text},focus:function(){this.focus&&this.$refs.focuser.focus()}}},Ra=(a("4eXn"),Object(K.a)(Ia,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"input",class:{"for-login white":t.forLogin,big:t.big,medium:t.medium,small:t.small,important:t.red,centered:t.centered,white:t.white}},[t.error||t.label?a("label",t._b({class:{error:t.error}},"label",t.labelStyles,!1),[a("span",[t._v(t._s(t.error?t.error:t.label))]),t._v(" "),t.rightText?a("span",{on:{click:function(e){return t.$emit("right")}}},[t._v(t._s(t.rightText))]):t._e()]):t._e(),t._v(" "),"checkbox"!==(t.type||"text")||t.textarea?"radio"!==(t.type||"text")||t.textarea?t.textarea?t._e():a("input",{directives:[{name:"model",rawName:"v-model",value:t.input,expression:"input"}],ref:"focuser",class:{"pad-right":t.dynamicButton||t.copy},attrs:{placeholder:t.placeholder,maxlength:t.maxlength||-1,disabled:t.disabled||!1,type:t.type||"text"},domProps:{value:t.input},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.enter(e)},blur:t.blur,input:function(e){e.target.composing||(t.input=e.target.value)}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:t.input,expression:"input"}],ref:"focuser",class:{"pad-right":t.dynamicButton||t.copy},attrs:{placeholder:t.placeholder,maxlength:t.maxlength||-1,disabled:t.disabled||!1,type:"radio"},domProps:{checked:t._q(t.input,null)},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.enter(e)},blur:t.blur,change:function(e){t.input=null}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:t.input,expression:"input"}],ref:"focuser",class:{"pad-right":t.dynamicButton||t.copy},attrs:{placeholder:t.placeholder,maxlength:t.maxlength||-1,disabled:t.disabled||!1,type:"checkbox"},domProps:{checked:Array.isArray(t.input)?t._i(t.input,null)>-1:t.input},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.enter(e)},blur:t.blur,change:function(e){var a=t.input,i=e.target,n=!!i.checked;if(Array.isArray(a)){var s=t._i(a,null);i.checked?s<0&&(t.input=a.concat([null])):s>-1&&(t.input=a.slice(0,s).concat(a.slice(s+1)))}else t.input=n}}}),t._v(" "),t.textarea?a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.input,expression:"input"}],ref:"focuser",class:{"pad-right":t.dynamicButton||t.copy},attrs:{placeholder:t.placeholder,maxlength:t.maxlength||-1,disabled:t.disabled||!1,type:t.type||"text"},domProps:{value:t.input},on:{blur:t.blur,input:function(e){e.target.composing||(t.input=e.target.value)}}}):t._e(),t._v(" "),t.dynamicButton?a("figure",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.dynamicTooltip,expression:"dynamicTooltip"}],staticClass:"dynamic-button",class:{labeled:t.label,hide:t.hideDynamicButton},on:{click:t.emitDynamicButton}},[t.loaderOnDynamic?t._e():a("i",{class:""+t.dynamicButton}),t._v(" "),t.loaderOnDynamic?a("i",{staticClass:"icon-spin4 animate-spin"}):t._e()]):t._e(),t._v(" "),t.copy?a("figure",{staticClass:"copy",class:{labeled:t.label}},[a("i",{staticClass:"icon-docs",on:{click:t.copyText}})]):t._e()])}),[],!1,null,"b7311f50",null).exports),La={props:["selected","placeholder","disabled","options","parser","subparser","iconparser","bordered","noClick","truncate","startLeft"],data:()=>({open:!1,optionsTerms:"",hovered:0}),mounted(){document.addEventListener("click",this.handleDocumentClick),document.addEventListener("keyup",this.handleKeyPress)},destroyed(){document.removeEventListener("click",this.handleDocumentClick),document.removeEventListener("keyup",this.handleKeyPress)},computed:{filteredOptions(){return this.options.filter(t=>{const e=this.parse(t);return!e||e.toLowerCase().indexOf(this.optionsTerms.toLowerCase())>-1})},selectedOption(){return this.selected||this.placeholder||this.options[0]}},methods:{handleDocumentClick(t){this.open&&(this.open=!1)},handleKeyPress(t){if(this.open)switch(t.which){case 40:this.hovered++;break;case 38:this.hovered--;break;case 13:return this.select(this.filteredOptions[this.hovered])}this.hovered<0&&(this.hovered=this.filteredOptions.length-1),this.hovered>this.filteredOptions.length-1&&(this.hovered=0)},toggle(){this.open||setTimeout(()=>{if(this.disabled)return!1;this.open=!this.open,this.open&&(this.optionsTerms="",setTimeout(()=>{this.$refs.terms.focus()},50))},1)},parse(t){return"string"!=typeof t||this.parser&&this.parser(t)?"function"!=typeof this.parser?t:this.parser(t):t},select(t){this.open=!1,this.$emit("selected",t)}}},Ka=(a("J6uO"),Object(K.a)(La,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"select",class:{bordered:t.bordered,open:t.open,disabled:t.disabled}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.optionsTerms,expression:"optionsTerms"}],ref:"terms",attrs:{placeholder:"Search..."},domProps:{value:t.optionsTerms},on:{input:function(e){e.target.composing||(t.optionsTerms=e.target.value)}}}),t._v(" "),a("section",{staticClass:"selected",class:{bordered:t.bordered,truncate:t.truncate},on:{click:t.toggle}},[a("figure",{staticClass:"text"},[t._v("\n\t\t\t"+t._s(t.parse(t.selectedOption))+"\n\t\t\t"),t.subparser?a("div",{staticClass:"subtitle"},[t._v(t._s(t.subparser(t.selectedOption)))]):t._e()]),t._v(" "),a("figure",{staticClass:"chevron icon-down-open-big"})]),t._v(" "),t.noClick?t._e():a("section",{staticClass:"options",class:{"start-left":t.startLeft}},[t._l(t.filteredOptions,(function(e,i){return a("figure",{staticClass:"option",class:{hovered:t.hovered===i},on:{click:function(a){return t.select(e)},mouseover:function(e){t.hovered=i}}},[t._v("\n\t\t\t"+t._s(t.parse(e))+"\n\t\t\t"),t.subparser?a("div",{staticClass:"subtitle"},[t._v(t._s(t.subparser(e)))]):t._e(),t._v(" "),t.iconparser?a("i",t._b({staticClass:"item-icon"},"i",t.iconparser(e),!1)):t._e()])})),t._v(" "),t.filteredOptions.length?t._e():a("figure",{staticClass:"option"},[t._v("\n\t\t\tNo results\n\t\t")])],2)])}),[],!1,null,"e06cf00c",null).exports),Ba=a("RNqi"),Da={props:["min","max","value","step","red"],data:()=>({val:0}),mounted(){this.val=this.value},computed:{percentage(){return this.min===this.max?100:this.val<0?Math.abs(this.val)/Math.abs(this.min)*100:this.val/this.max*100},isRed(){return this.min===this.max||(this.val<0?Math.abs(this.val)>Math.abs(this.min)-Math.abs(this.min)/6:this.val>this.max-this.max/6)}},watch:{val(){this.$emit("changed",this.val)},value(){this.val=this.value}}},ja=(a("vSR9"),Object(K.a)(Da,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"percentage-bar"},[a("figure",{staticClass:"bar instant",class:{red:t.isRed},style:{width:t.percentage+"%"}}),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.val,expression:"val"}],class:{red:t.isRed},attrs:{type:"range",step:t.step?t.step:1,min:t.min,max:t.max},domProps:{value:t.val},on:{__r:function(e){t.val=e.target.value}}})])}),[],!1,null,"10792ff6",null).exports),$a={props:["title"],computed:{...Object(v.c)([])},methods:{returnResult(t){this.nextPopIn.data.callback(t),this[P.f](this.nextPopIn)},...Object(v.b)([P.f])}},Fa=(a("eqYS"),Object(K.a)($a,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in-head"},[a("figure",{staticClass:"popin-title"},[t._v(t._s(t.title))]),t._v(" "),a("figure",{staticClass:"popin-close",on:{click:function(e){return t.$emit("close")}}},[a("i",{staticClass:"fal fa-times"})])])}),[],!1,null,"17a04b22",null).exports),za={props:["state","disabled"],methods:{toggle(){this.disabled||this.$emit("switched",!this.state)}}},Ma=(a("jw/E"),Object(K.a)(za,(function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"switch",class:{disabled:this.disabled,off:!this.state},on:{click:this.toggle}},[e("figure",{staticClass:"dot"})])}),[],!1,null,"686d2e8e",null).exports),qa=a("+R3x"),Ua=a("cCRt");a("pqID"),a("SDtL");document.addEventListener("keydown",t=>{123===t.which&&window.wallet.utility.openTools(window.wallet.windowId)}),document.onmousedown=t=>{2===t.which&&t.preventDefault()};let Ya=!1;window.loadStyles=async t=>{if(Ya)return;Ya=!0;const e=document.getElementsByTagName("head")[0],a=t=>{const a=document.createElement("style");a.setAttribute("type","text/css"),a.innerHTML=t,e.appendChild(a)},i=await Promise.race([fetch(t+"static/fonts/fontawesome.css").then(t=>t.text()).catch(()=>null),new Promise(t=>setTimeout(()=>t(null),2e3))]);i||console.log("There was an error setting up fontawesome."),a(i.replace(/INSERT_HOST/g,t+"static/fonts"));["static/fonts/scatter-icons","static/fonts/token-icons","static/fonts/scatter-logo","static/fonts/sidebar-icons","static/fonts/google-fonts"].map(async e=>{const i=t+e;let n=await Promise.race([fetch(i+"/style.css").then(t=>t.text()).catch(()=>null),new Promise(t=>setTimeout(()=>t(null),2e3))]);if(!n)return console.log("There was a problem fetching the CSS for '"+e+"'.");n=n.replace(/fonts\//g,i+"/fonts/"),a(n)})};new class{constructor(){const t="popout"===location.hash.replace("#/","").split("?")[0]||!!window.PopOutWebView,e=()=>{const e=[{tag:"Button",vue:Na},{tag:"Input",vue:Ra},{tag:"Select",vue:Ka},{tag:"Slider",vue:ja},{tag:"Switcher",vue:Ma},{tag:"SearchBar",vue:Ba.a},{tag:"SearchAndFilter",vue:Ve.a},{tag:"ActionBar",vue:qa.a},{tag:"view-base",vue:Oa},{tag:"PopInHead",vue:Fa},{tag:"AnimatedNumber",vue:Ca}];let a;a=t?[{tag:"PopOutHead",vue:Ua.a}]:[];const i=e.concat(a);let n=null;return new R(C.b.routes(),i,async(e,a)=>{if(t)return e.name!==C.a.POP_OUT?a({name:C.a.POP_OUT}):a();C.b.isRestricted(e.name)?await(async()=>(n||(n=await window.wallet.unlocked()),n))()?a():a({name:C.a.LOGIN}):a()},async t=>{}),!0};{let a,i=!1;const n=()=>{if(window.wallet||window.ReactNativeWebView||window.PopOutWebView){if(i)return;i=!0,clearInterval(a),(async()=>(await d.a.setup(),await y.init(t),"extension"===y.getWalletType()&&await window.wallet.unlocked()&&(await r.a.dispatch(tt.LOAD_SCATTER),Ea.a.init()),e()))()}};n(),a=setInterval(()=>n(),100)}}}},"Vv/L":function(t,e,a){"use strict";var i=a("yVyQ");a.n(i).a},X1bV:function(t,e,a){"use strict";a.d(e,"a",(function(){return o}));var i=a("pk5N"),n=a.n(i),s=a("upjY");class o{static change(t,e=!1){const a=n.a.get().state.priceData,i={plus:!1,perc:"0%"};if(!a||!a.hasOwnProperty("today"))return i;if(t.unusable)return i;a.today.latest;const s=o.getTokensTotaled(),r=s[s.length-1]?s[s.length-1].data:null,c=s[0]?s[0].data:null;if(!(r&&c&&r[t.uniqueWithChain()]&&c[t.uniqueWithChain()]))return"--";const l=(c[t.uniqueWithChain()]-r[t.uniqueWithChain()])/c[t.uniqueWithChain()]*100;return e?Math.abs(parseFloat(l).toFixed(2)):{plus:l<=0,perc:`${l>0?"-":"+"}${Math.abs(parseFloat(l).toFixed(2))}%`}}static getTokensTotaled(){const t=n.a.get().state.priceData;if(!t||!t.hasOwnProperty("yesterday"))return[];let e=[];return Object.keys(t.yesterday).filter(t=>"latest"!==t).sort((t,e)=>t-e).map(a=>e.push({hour:a,data:t.yesterday[a],date:Object(s.dateId)(1)})),Object.keys(t.today).filter(t=>"latest"!==t).sort((t,e)=>t-e).map(a=>e.push({hour:a,data:t.today[a],date:Object(s.dateId)()})),e=e.slice(e.length-(e.length>24?24:e.length),e.length)}static publicKeyForKeypair(t){return t&&t.hasOwnProperty("publicKeys")?t.enabledKey().key:null}}},X6Qg:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"",""])},X8Dr:function(t,e,a){var i=a("XNg9");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("2f943d8a",i,!0,{})},XBwi:function(t,e,a){"use strict";var i=a("bm/A");a.n(i).a},XJoY:function(t,e,a){"use strict";var i=a("E9Fc");a.n(i).a},XMON:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".panel-container[data-v-4f9b36dc]{overflow:auto;height:calc(100vh - 240px)}.resource-moderator .available-input[data-v-4f9b36dc]{width:200px;align-self:flex-end}@media (max-width: 600px){.resource-moderator .available-input[data-v-4f9b36dc]{width:100%}}@media (max-width: 600px){.resource-moderator[data-v-4f9b36dc]{flex-direction:column}}.resource[data-v-4f9b36dc]{font-size:11px;font-weight:bold;color:#9b9b9b;flex:0 0 auto;margin:20px 10px 0;max-width:150px}.resource[data-v-4f9b36dc]:first-child{margin-left:0}.resource[data-v-4f9b36dc]:last-child{margin-right:0;min-width:50px;text-align:right}@media (max-width: 600px){.resource[data-v-4f9b36dc]{margin:0 0 10px !important}}\n",""])},XNg9:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".pop-out-head{-webkit-app-region:drag;position:relative;z-index:2;flex:0 0 auto;height:40px;width:100%;display:flex;justify-content:space-between;align-items:center;padding:0 0 0 10px;border:1px solid #0778dd;border-bottom:0;background:#0799ff}.pop-out-head .details{-webkit-app-region:drag;flex:2}.pop-out-head .details .logo{font-family:'Grand Hotel', sans-serif;font-size:24px;color:#fff}.pop-out-head .actions{-webkit-app-region:no-drag;display:flex;flex-direction:row;justify-content:center;align-items:center}.pop-out-head .actions .id-selector{position:relative}.pop-out-head .actions .id-selector>i{color:rgba(255,255,255,0.5);font-size:12px;position:absolute;left:4px;top:6px;z-index:9999999}.pop-out-head .actions .id-selector .select{width:200px;height:24px;padding:0}.pop-out-head .actions .id-selector .select .selected{background:#0888f2;border:1px solid #0778dd;line-height:21px;padding-left:22px}.pop-out-head .actions .id-selector .select .selected .text{color:#fff}.pop-out-head .actions .id-selector .select .selected .chevron{color:#fff;right:5px}.pop-out-head .actions .close{cursor:pointer;text-align:right;padding:0 10px;font-size:18px;color:rgba(255,255,255,0.4);line-height:90px;height:90px}.pop-out-head .actions .close:hover{color:#fff}\n",""])},"XP/4":function(t,e,a){"use strict";var i=a("3ylq");a.n(i).a},XZBh:function(t,e,a){"use strict";var i=a("x24n");a.n(i).a},XZEJ:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".token-symbol[data-v-bec13200]{font-size:16px;width:44px;height:44px;margin:0 auto;position:relative;display:flex;align-items:center;justify-content:center}@media (max-width: 600px){.token-symbol[data-v-bec13200]{width:24px;height:24px;text-align:center;font-size:18px}}.token-symbol .symbol-holder[data-v-bec13200]{width:44px;height:44px;text-align:center;font-size:32px;display:flex;align-items:center;justify-content:center;color:white}@media (max-width: 600px){.token-symbol .symbol-holder[data-v-bec13200]{width:24px;height:24px;text-align:center;font-size:18px;line-height:24px}}\n",""])},Y026:function(t,e,a){var i=a("sgi4");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("1c06722d",i,!0,{})},YMYm:function(t,e,a){"use strict";var i=a("vqpY");a.n(i).a},Z145:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".test[data-v-4f5ed5b0]{background:linear-gradient(-180deg, #2c2f3f -10%, #4f5469 120%)}\n",""])},Z6Rw:function(t,e,a){"use strict";var i=a("956s");a.n(i).a},ZEQH:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".reputation[data-v-013c230b]{width:40px;height:40px;font-size:11px;border-radius:50%;border-bottom-right-radius:4px;border:3px solid linear-gradient(-180deg, #61667d -20%, #50556c 100%);display:flex;flex-direction:column;justify-content:center;align-items:center}.reputation b[data-v-013c230b]{font-weight:800}.reputation span[data-v-013c230b]{font-size:11px;margin-top:-5px}.reputation.red[data-v-013c230b]{color:red;border:3px solid red}.reputation.small[data-v-013c230b]{width:30px;height:30px;margin-right:15px;font-size:11px;background:#fff;border:0}\n",""])},ZXx6:function(t,e,a){var i=a("zmmT");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("098da94a",i,!0,{})},ZrbQ:function(t,e,a){"use strict";var i=a("L2JU"),n=a("KHd+"),s={components:{Terms:Object(n.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("svg",{attrs:{width:"88px",height:"88px",viewBox:"0 0 88 88",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[a("g",{attrs:{id:"welcome_terms",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[a("g",{attrs:{id:"Group",transform:"translate(18.000000, 13.000000)",fill:"#00A8FF","fill-rule":"nonzero"}},[a("path",{attrs:{d:"M52.5,0 L19.5,0 C14.807864,0.00551044137 11.0055104,3.80786402 11,8.5 L11,46 L8.5,46 C3.80557963,46 0,49.8055796 0,54.5 C0,59.1944204 3.80557963,63 8.5,63 L44.5,63 C49.192136,62.9944896 52.9944896,59.192136 53,54.5 L53,0.5 C53,0.223857625 52.7761424,0 52.5,0 Z M12,8.5 C12,4.35786438 15.3578644,1 19.5,1 L52,1 L52,46 L12,46 L12,8.5 Z M8.5,62 C4.35786438,62 1,58.6421356 1,54.5 C1,50.3578644 4.35786438,47 8.5,47 L40.5,47 C37.7242023,48.4725443 35.9887058,51.357797 35.9887058,54.5 C35.9887058,57.642203 37.7242023,60.5274557 40.5,62 L8.5,62 Z M52,54.5 C52,58.6421356 48.6421356,62 44.5,62 C40.3578644,62 37,58.6421356 37,54.5 C37,50.3578644 40.3578644,47 44.5,47 L52,47 L52,54.5 Z",id:"Shape"}}),t._v(" "),a("path",{attrs:{d:"M40,16 C39.9973972,15.7666827 39.8367844,15.5648871 39.61,15.51 L32.11,13.75 C32.0380361,13.7299578 31.9619639,13.7299578 31.89,13.75 L24.39,15.51 C24.1632156,15.5648871 24.0026028,15.7666827 24,16 L24,24 C23.9977805,27.3771522 25.822646,30.4912833 28.77,32.14 L31.77,34.03 C31.9272214,34.1232171 32.1227786,34.1232171 32.28,34.03 L35.63,32.21 L35.63,32.21 C38.3451,30.5193422 39.9968556,27.5484499 40,24.35 L40,16 Z M39,24.35 C38.9889187,27.1983948 37.5162579,29.8416322 35.1,31.35 L32,33.07 L29.26,31.32 C26.6145498,29.8361966 24.9832494,27.033117 25,24 L25,16.4 L32,14.75 L39,16.4 L39,24.35 Z",id:"Shape"}}),t._v(" "),a("path",{attrs:{d:"M18.5,9 L45.5,9 C45.7761424,9 46,8.77614237 46,8.5 C46,8.22385763 45.7761424,8 45.5,8 L18.5,8 C18.2238576,8 18,8.22385763 18,8.5 C18,8.77614237 18.2238576,9 18.5,9 Z",id:"Path"}}),t._v(" "),a("path",{attrs:{d:"M46,38.5 C46,38.2238576 45.7761424,38 45.5,38 L18.5,38 C18.2238576,38 18,38.2238576 18,38.5 C18,38.7761424 18.2238576,39 18.5,39 L45.5,39 C45.7761424,39 46,38.7761424 46,38.5 Z",id:"Path"}}),t._v(" "),a("path",{attrs:{d:"M45.5,14 L41.5,14 C41.2238576,14 41,14.2238576 41,14.5 C41,14.7761424 41.2238576,15 41.5,15 L45.5,15 C45.7761424,15 46,14.7761424 46,14.5 C46,14.2238576 45.7761424,14 45.5,14 Z",id:"Path"}}),t._v(" "),a("path",{attrs:{d:"M45.5,20 L42.5,20 C42.2238576,20 42,20.2238576 42,20.5 C42,20.7761424 42.2238576,21 42.5,21 L45.5,21 C45.7761424,21 46,20.7761424 46,20.5 C46,20.2238576 45.7761424,20 45.5,20 Z",id:"Path"}}),t._v(" "),a("path",{attrs:{d:"M45.5,26 L42.5,26 C42.2238576,26 42,26.2238576 42,26.5 C42,26.7761424 42.2238576,27 42.5,27 L45.5,27 C45.7761424,27 46,26.7761424 46,26.5 C46,26.2238576 45.7761424,26 45.5,26 Z",id:"Path"}}),t._v(" "),a("path",{attrs:{d:"M38.5,33 L45.5,33 C45.7761424,33 46,32.7761424 46,32.5 C46,32.2238576 45.7761424,32 45.5,32 L38.5,32 C38.2238576,32 38,32.2238576 38,32.5 C38,32.7761424 38.2238576,33 38.5,33 Z",id:"Path"}}),t._v(" "),a("path",{attrs:{d:"M18.5,15 L22.5,15 C22.7761424,15 23,14.7761424 23,14.5 C23,14.2238576 22.7761424,14 22.5,14 L18.5,14 C18.2238576,14 18,14.2238576 18,14.5 C18,14.7761424 18.2238576,15 18.5,15 Z",id:"Path"}}),t._v(" "),a("path",{attrs:{d:"M18.5,21 L21.5,21 C21.7761424,21 22,20.7761424 22,20.5 C22,20.2238576 21.7761424,20 21.5,20 L18.5,20 C18.2238576,20 18,20.2238576 18,20.5 C18,20.7761424 18.2238576,21 18.5,21 Z",id:"Path"}}),t._v(" "),a("path",{attrs:{d:"M18.5,27 L21.5,27 C21.7761424,27 22,26.7761424 22,26.5 C22,26.2238576 21.7761424,26 21.5,26 L18.5,26 C18.2238576,26 18,26.2238576 18,26.5 C18,26.7761424 18.2238576,27 18.5,27 Z",id:"Path"}}),t._v(" "),a("path",{attrs:{d:"M18.5,33 L25.5,33 C25.7761424,33 26,32.7761424 26,32.5 C26,32.2238576 25.7761424,32 25.5,32 L18.5,32 C18.2238576,32 18,32.2238576 18,32.5 C18,32.7761424 18.2238576,33 18.5,33 Z",id:"Path"}}),t._v(" "),a("path",{attrs:{d:"M28.4,22.29 C28.2313988,22.0740653 27.9223188,22.029911 27.7,22.19 C27.5939134,22.2695649 27.5237789,22.3880139 27.5050253,22.5192893 C27.4862716,22.6505648 27.5204351,22.7839134 27.6,22.89 L30,26.07 L30,26.07 C30,26.07 30,26.07 30,26.07 L30.1,26.15 C30.1,26.15 30.1,26.15 30.16,26.15 C30.2274007,26.1864195 30.303479,26.20371 30.38,26.2 C30.4772511,26.1992961 30.5717768,26.1677875 30.65,26.11 L30.7,26.11 L36.27,21.34 C36.4798682,21.1605075 36.5044925,20.8448682 36.325,20.635 C36.1455075,20.4251318 35.8298682,20.4005075 35.62,20.58 L30.46,25.01 L28.4,22.29 Z",id:"Path"}})])])])}),[],!1,null,null,null).exports},data:()=>({}),computed:{...Object(i.d)(["scatter"])}},o=(a("ufBS"),Object(n.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"center-panel terms"},[a("Terms"),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("h2",[t._v("Before we get started")]),t._v(" "),a("p",[t._v("Please read through our Terms of Use.")]),t._v(" "),a("br"),t._v(" "),t._m(0),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.deny"),click:function(){return t.$emit("back")}}],"buttons-right":[{text:t.$t("generic.accept"),blue:!0,click:function(){return t.$emit("next")}}]}})],1)}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"scroller"},[a("figure",{staticClass:"terms"},[a("h1",[t._v("1. Acceptance of Terms")]),t._v('\n\n Scatter Desktop (the "Service") provides single application for managing multiple blockchain accounts, identities, and reputations; allowing other applications to\n interact with Scatter to provide Identity authentication and reputation as well as digital signatures for use on various blockchains or other proofs. Any accompanying materials\n such as tutorials, code, written documentation and other content issued by Scatter (the "Content") also falls under this agreement.\n '),a("br"),a("br"),t._v("\n Users are always in control of their own digital assets (keypairs and tokens as an example) through popups which allow users to Accept or Deny transactions, information\n requests, and addition requests.\n "),a("br"),a("br"),t._v('\n By using Scatter you are accepting the Terms (the "Terms" or "Terms of Use"), please read them thoroughly before using the Service.\n '),a("b",[t._v("\n By using or otherwise accessing the Service; you (1)\n accept and agree to these Terms (2) and consent to the collection, use, disclosure and other handling of information as described in our Privacy Policy and (3) any additional terms,\n rules and conditions of participation issued by Scatter from time to time. If you do not agree to the Terms, then you may not access or use the Content or Services.\n ")]),t._v(" "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("2. Modification of Terms of Use")]),t._v('\n\n Scatter reserves the right, at its sole discretion, to modify or replace the Terms of Use at any time.\n The most current version of these Terms will be posted on https://get-scatter.com (the "Site"). You shall be responsible for\n reviewing and becoming familiar with any such modifications. Use of the Services by you after any modification to the Terms constitutes your acceptance\n of the Terms of Use as modified.\n\n\n\n\n '),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("3. Eligibility")]),t._v("\n\n You hereby represent and warrant that you are fully able and competent to enter into the terms, conditions, obligations, affirmations, representations and warranties set forth in these\n Terms and to abide by and comply with these Terms.\n "),a("br"),a("br"),t._v("\n Scatter is a global platform and by accessing the Site or Services, you are representing and warranting that, you are of the legal age of majority in your jurisdiction as is required\n to access such Services and enter into arrangements as provided by the Service. You further represent that you are otherwise legally permitted to use the service in your\n jurisdiction including owning cryptographic tokens of value, and interacting with the Service in any way. You further represent you are responsible for ensuring compliance\n with the laws of your jurisdiction and acknowledge that Scatter is not liable for your compliance with such laws.\n\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("4. Account Password and Security")]),t._v("\n\n When setting up Scatter, you will be responsible for keeping your own account secrets, which may be a twelve-word seed phrase, a backup file, passwords, keypairs, or\n other locally stored secret information. Scatter encrypts this information locally with a strong seed derived from the password you provide, that we never send to our servers.\n You agree to (a) never use the same password for Scatter that you have ever used outside of this service; (b) keep your secret information and password confidential and do not share them with anyone else.\n Scatter cannot and will not be liable for any loss or damage arising from your failure to comply with this section.\n By using Scatter you recognize yourself as the sole legal owner of your own secrets, keys, passwords, seed phrases, and other private data.\n\n\n\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("5. REPRESENTATIONS, WARRANTIES AND RISKS")]),t._v(" "),a("h2",[t._v("5.1. Warranty disclaimer")]),t._v('\n\n You expressly understand and agree that your use of the Service is at your sole risk. The Service (including the Service and the Site) are provided on an "AS IS"\n and "as available" basis, without warranties of any kind, either express or implied, including, without limitation, implied warranties of merchantability, fitness for a\n particular purpose or non-infringement. You acknowledge that Scatter has no control over, and no duty to take any action regarding: which users gain access to or use the\n Service; what effects the Content may have on you; how you may interpret or use the Content; or what actions you may take as a result of having been exposed to the Content.\n You release Scatter from all liability for you having acquired or not acquired Content through the Service. Scatter makes no representations concerning any Content contained\n in or accessed through the Service, and Scatter will not be responsible or liable for the accuracy, copyright compliance, legality or decency of material contained in or accessed\n through the Service.\n '),a("br"),a("br"),t._v(" "),a("h2",[t._v("5.2 Sophistication and Risk of Cryptographic Systems")]),t._v("\n\n By utilizing the Service or interacting with the Content or platform in any way, you represent that you understand the inherent risks associated with cryptographic systems;\n and warrant that you have an understanding of the usage and intricacies of native cryptographic tokens, smart contract based tokens that\n follow various Tokens standards, and blockchain-based software systems.\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("5.3 Risk of Regulatory Actions in One or More Jurisdictions")]),t._v("\n\n Scatter and the supported blockchains and tokens could be impacted by one or more regulatory inquiries or regulatory action, which could impede or limit the ability of Scatter to continue to develop,\n or which could impede or limit your ability to access or use the Service or supported blockchains and their networks.\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("5.4 Risk of Weaknesses or Exploits in the Field of Cryptography")]),t._v("\n\n You acknowledge and understand that Cryptography is a progressing field. Advances in code cracking or technical advances such as the development of quantum computers\n may present risks to cryptocurrencies and the Service, which could result in the theft or loss of your digital assets such as your keypairs, cryptographic tokens or property.\n To the extent possible, Scatter intends to update the protocols underlying the Service to account for any advances in cryptography and to incorporate additional security measures, but does not guarantee or\n otherwise represent full security of the system. By using the Service, you acknowledge these inherent risks.\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("5.5 Volatility of Crypto Currencies")]),t._v("\n\n You understand that blockchain technologies and associated currencies or tokens are highly volatile due to many factors including but not limited to adoption,\n speculation, technology and security risks. You also acknowledge that the cost of transacting on such technologies is variable and may increase at any time causing impact to any\n activities taking place on the supported blockchains. You acknowledge these risks and represent that Scatter cannot be held liable for such fluctuations in both time and costs.\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("5.6 Application Security")]),t._v("\n\n You acknowledge that blockchain applications are code subject to flaws and acknowledge that you are solely responsible for evaluating any code provided by the Service\n and the trustworthiness of any third-party websites, products, smart-contracts, or Content you access or use through the Service. You further expressly acknowledge\n and represent that blockchain applications can be written maliciously or negligently, that Scatter cannot be held liable for your interaction with such applications and that\n such applications may cause the loss of property or even identity. This warning and others later provided by Scatter in no way evidence or represent an on-going duty to alert\n you to all of the potential risks of utilizing the Service or Content.\n\n\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("6. Indemnity")]),t._v("\n\n You agree to release and to indemnify, defend and hold harmless Scatter and its parents, subsidiaries, affiliates and agencies, as well as the officers, directors, employees,\n shareholders and representatives of any of the foregoing entities, from and against any and all losses, liabilities, expenses, damages, costs (including attorneys' fees and court costs)\n claims or actions of any kind whatsoever arising or resulting from your use of the Service, your violation of these Terms of Use, and any of your acts or omissions that implicate publicity rights,\n defamation or invasion of privacy. Scatter reserves the right, at its own expense, to assume exclusive defense and control of any matter otherwise subject to indemnification by you and, in such case,\n you agree to cooperate with Scatter in the defense of such matter.\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("7. Limitation on liability")]),t._v("\n\n YOU ACKNOWLEDGE AND AGREE THAT YOU ASSUME FULL RESPONSIBILITY FOR YOUR USE OF THE SITE AND SERVICE. YOU ACKNOWLEDGE AND AGREE THAT ANY INFORMATION YOU SEND OR RECEIVE\n DURING YOUR USE OF THE SITE AND SERVICE MAY NOT BE SECURE AND MAY BE INTERCEPTED OR LATER ACQUIRED BY UNAUTHORIZED PARTIES. YOU ACKNOWLEDGE AND AGREE THAT YOUR USE OF THE\n SITE AND SERVICE IS AT YOUR OWN RISK. RECOGNIZING SUCH, YOU UNDERSTAND AND AGREE THAT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, NEITHER SCATTER NOR ITS SUPPLIERS OR\n LICENSORS WILL BE LIABLE TO YOU FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY OR OTHER DAMAGES OF ANY KIND, INCLUDING WITHOUT LIMITATION\n DAMAGES FOR LOSS OF PROFITS, GOODWILL, USE, DATA OR OTHER TANGIBLE OR INTANGIBLE LOSSES OR ANY OTHER DAMAGES BASED ON CONTRACT, TORT, STRICT LIABILITY OR ANY OTHER THEORY\n (EVEN IF SCATTER HAD BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES), RESULTING FROM THE SITE OR SERVICE; THE USE OR THE INABILITY TO USE THE SITE OR SERVICE; UNAUTHORIZED\n ACCESS TO OR ALTERATION OF YOUR TRANSMISSIONS OR DATA; STATEMENTS OR CONDUCT OF ANY THIRD PARTY ON THE SITE OR SERVICE; ANY ACTIONS WE TAKE OR FAIL TO TAKE AS A RESULT OF\n COMMUNICATIONS YOU SEND TO US; HUMAN ERRORS; TECHNICAL MALFUNCTIONS; FAILURES, INCLUDING PUBLIC UTILITY OR TELEPHONE OUTAGES; OMISSIONS, INTERRUPTIONS, LATENCY, DELETIONS OR\n DEFECTS OF ANY DEVICE OR NETWORK, PROVIDERS, OR SOFTWARE (INCLUDING, BUT NOT LIMITED TO, THOSE THAT DO NOT PERMIT PARTICIPATION IN THE SERVICE); ANY INJURY OR DAMAGE TO COMPUTER\n EQUIPMENT; INABILITY TO FULLY ACCESS THE SITE OR SERVICE OR ANY OTHER WEBSITE; THEFT, TAMPERING, DESTRUCTION, OR UNAUTHORIZED ACCESS TO, IMAGES OR OTHER CONTENT OF ANY KIND;\n DATA THAT IS PROCESSED LATE OR INCORRECTLY OR IS INCOMPLETE OR LOST; TYPOGRAPHICAL, PRINTING OR OTHER ERRORS, OR ANY COMBINATION THEREOF; OR ANY OTHER MATTER RELATING TO THE\n SITE OR SERVICE.\n "),a("br"),a("br"),t._v("\n SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF CERTAIN WARRANTIES OR THE LIMITATION OR EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES. ACCORDINGLY,\n SOME OF THE ABOVE LIMITATIONS MAY NOT APPLY TO YOU.\n\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("8. Our proprietary rights")]),t._v("\n\n All title, ownership and intellectual property rights in and to the Service are owned by Scatter or its licensors. You acknowledge and agree that the Service contains\n proprietary and confidential information that is protected by applicable intellectual property and other laws. Except as expressly authorized by Scatter, you agree not to copy,\n modify, rent, lease, loan, sell, distribute, perform, display or create derivative works based on the Service, in whole or in part. Scatter issues licenses for Scatter's various code-bases,\n which can be found on their individual repositories. Each code-base might have a different license. You can find all official repositories at https://github.com/GetScatter.\n\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("9. Links")]),t._v("\n\n The Service provides, or third parties may provide, links to other accessible internet websites, applications or resources. Because Scatter might have no control over such sites,\n applications and resources, you acknowledge and agree that Scatter is not responsible for the availability of such external sites, applications or resources, and does not endorse and is not\n responsible or liable for any content, advertising, products or other materials on or available from such sites or resources. You further acknowledge and agree that Scatter shall not be responsible\n or liable, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods or services available on or through\n any such site or resource.\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("10. Termination and suspension")]),t._v("\n\n Scatter may terminate or suspend all or part of the Service and your Scatter access immediately, without prior notice or liability, if you breach any of the terms or conditions of the Terms.\n Upon termination of your access, your right to use the Service will immediately cease.\n "),a("br"),a("br"),t._v("\n The following provisions of the Terms survive any termination of these Terms: INDEMNITY; WARRANTY DISCLAIMERS; LIMITATION ON LIABILITY; OUR PROPRIETARY RIGHTS; LINKS; TERMINATION; NO THIRD PARTY\n BENEFICIARIES; BINDING ARBITRATION AND CLASS ACTION WAIVER; GENERAL INFORMATION.\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("11. No third party beneficiaries")]),t._v("\n\n You agree that, except as otherwise expressly provided in these Terms, there shall be no third party beneficiaries to the Terms.\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("12. Notice and procedure for making claims of copyright infringement")]),t._v("\n\n If you believe that your copyright or the copyright of a person on whose behalf you are authorized to act has been infringed, please provide Scatter's Copyright Agent a\n written Notice containing the following information:\n "),a("br"),a("br"),t._v("\n · an electronic or physical signature of the person authorized to act on behalf of the owner of the copyright or other intellectual property interest;\n\n · a description of the copyrighted work or other intellectual property that you claim has been infringed;\n\n · a description of where the material that you claim is infringing is located on the Service;\n\n · your address, telephone number, and email address;\n\n · a statement by you that you have a good faith belief that the disputed use is not authorized by the copyright owner, its agent, or the law;\n\n · a statement by you, made under penalty of perjury, that the above information in your Notice is accurate and that you are the copyright or intellectual property owner or\n authorized to act on the copyright or intellectual property owner’s behalf.\n "),a("br"),a("br"),t._v("\n Scatter’s Copyright Agent can be reached at:"),a("br"),t._v("\n Email: copyright [at] get-scatter [dot] com\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("13. Binding arbitration and class action waiver")]),t._v("\n\n PLEASE READ THIS SECTION CAREFULLY – IT MAY SIGNIFICANTLY AFFECT YOUR LEGAL RIGHTS, INCLUDING YOUR RIGHT TO FILE A LAWSUIT IN COURT\n\n "),a("h2",[t._v("13.1 Initial Dispute Resolution")]),t._v("\n\n The parties shall use their best efforts to engage directly to settle any dispute, claim, question, or disagreement and engage in good faith negotiations which shall be a\n condition to either party initiating a lawsuit or arbitration.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("13.2 Binding Arbitration")]),t._v("\n\n If the parties do not reach an agreed upon solution within a period of 30 days from the time informal dispute resolution under the Initial Dispute Resolution provision begins,\n then either party may initiate binding arbitration as the sole means to resolve claims, subject to the terms set forth below. Specifically, all claims arising out of or relating\n to these Terms (including their formation, performance and breach), the parties’ relationship with each other and/or your use of the Service shall be finally settled by binding\n arbitration administered by the American Arbitration Association in accordance with the provisions of its Commercial Arbitration Rules and the supplementary procedures for consumer\n related disputes of the American Arbitration Association (the “AAA”), excluding any rules or procedures governing or permitting class actions.\n "),a("br"),a("br"),t._v("\n The arbitrator, and not any federal, state or local court or agency, shall have exclusive authority to resolve all disputes arising out of or relating to the interpretation,\n applicability, enforceability or formation of these Terms, including, but not limited to any claim that all or any part of these Terms are void or voidable, or whether a claim\n is subject to arbitration. The arbitrator shall be empowered to grant whatever relief would be available in a court under law or in equity. The arbitrator’s award shall be written,\n and binding on the parties and may be entered as a judgment in any court of competent jurisdiction.\n "),a("br"),a("br"),t._v("\n The parties understand that, absent this mandatory provision, they would have the right to sue in court and have a jury trial. They further understand that,\n in some instances, the costs of arbitration could exceed the costs of litigation and the right to discovery may be more limited in arbitration than in court.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("13.3 Location")]),t._v("\n\n Binding arbitration shall take place in New York. You agree to submit to the personal jurisdiction of any federal or state court in New York County, New York,\n in order to compel arbitration, to stay proceedings pending arbitration, or to confirm, modify, vacate or enter judgment on the award entered by the arbitrator.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("13.4 Class Action Waiver")]),t._v("\n\n The parties further agree that any arbitration shall be conducted in their individual capacities only and not as a class action or other representative action,\n and the parties expressly waive their right to file a class action or seek relief on a class basis. YOU AND SCATTER AGREE THAT EACH MAY BRING CLAIMS AGAINST THE OTHER\n ONLY IN YOUR OR ITS INDIVIDUAL CAPACITY, AND NOT AS A PLAINTIFF OR CLASS MEMBER IN ANY PURPORTED CLASS OR REPRESENTATIVE PROCEEDING. If any court or arbitrator determines\n that the class action waiver set forth in this paragraph is void or unenforceable for any reason or that an arbitration can proceed on a class basis, then the arbitration\n provision set forth above shall be deemed null and void in its entirety and the parties shall be deemed to have not agreed to arbitrate disputes.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("13.5 Exception - Litigation of Intellectual Property and Small Claims Court Claims")]),t._v("\n\n Notwithstanding the parties’ decision to resolve all disputes through arbitration, either party may bring an action in state or federal court to protect its intellectual\n property rights (“intellectual property rights” means patents, copyrights, moral rights, trademarks, and trade secrets, but not privacy or publicity rights). Either party may\n also seek relief in a small claims court for disputes or claims within the scope of that court’s jurisdiction.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("13.6 30-Day Right to Opt Out")]),t._v("\n\n You have the right to opt-out and not be bound by the arbitration and class action waiver provisions set forth above by sending written notice of your decision to opt-out\n to the following email address: legal-opt [at] get-scatter [dot] com. The notice must be sent within 30 days of\n your first use of the Service, otherwise you shall be bound to arbitrate disputes in accordance with the terms of those paragraphs.\n If you opt-out of these arbitration provisions, Scatter also will not be bound by them.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("13.7 Changes to this Section")]),t._v("\n\n Scatter will provide 60-days’ notice of any changes to this section. Changes will become effective on the 60th day, and will apply prospectively only to any claims\n arising after the 60th day.\n "),a("br"),a("br"),t._v("\n For any dispute not subject to arbitration you and Scatter agree to submit to the personal and exclusive jurisdiction of and venue in the federal and state courts located\n in New York, New York. You further agree to accept service of process by mail, and hereby waive any and all jurisdictional and venue defenses otherwise available.\n "),a("br"),a("br"),t._v("\n The Terms and the relationship between you and Scatter shall be governed by the laws of the State of New York without regard to conflict of law provisions.\n\n\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("14. GENERAL INFORMATION")]),t._v(" "),a("h2"),t._v("\n\n These Terms (and any additional terms, rules and conditions of participation that Scatter may post on the Service) constitute the entire agreement between you and\n Scatter with respect to the Service and supersedes any prior agreements, oral or written, between you and Scatter. In the event of a conflict between these Terms and\n the additional terms, rules and conditions of participation, the latter will prevail over the Terms to the extent of the conflict.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("14.2 Waiver and Severability of Terms")]),t._v("\n\n The failure of Scatter to exercise or enforce any right or provision of the Terms shall not constitute a waiver of such right or provision. If any provision of the Terms\n is found by an arbitrator or court of competent jurisdiction to be invalid, the parties nevertheless agree that the arbitrator or court should endeavor to give effect to the\n parties’ intentions as reflected in the provision, and the other provisions of the Terms remain in full force and effect.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("14.3 Statute of Limitations")]),t._v("\n\n You agree that regardless of any statute or law to the contrary, any claim or cause of action arising out of or related to the use of the Service or the Terms must be\n filed within one (1) year after such claim or cause of action arose or be forever barred.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("14.4 Section Titles")]),t._v("\n\n The section titles in the Terms are for convenience only and have no legal or contractual effect.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("14.5 Communications")]),t._v("\n\n Users with questions, complaints or claims with respect to the Service may contact us using the relevant contact information set forth above.\n\n ")])])}],!1,null,"6fd33fd3",null));e.a=o.exports},aqMg:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,'.ct-label{fill:rgba(0,0,0,0.4);color:rgba(0,0,0,0.4);font-size:.75rem;line-height:1}.ct-chart-line .ct-label,.ct-chart-bar .ct-label{display:block;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.ct-chart-pie .ct-label,.ct-chart-donut .ct-label{dominant-baseline:central}.ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-vertical.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-label.ct-vertical.ct-end{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-start{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-end{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:end}.ct-grid{stroke:rgba(0,0,0,0.2);stroke-width:1px;stroke-dasharray:2px}.ct-grid-background{fill:none}.ct-point{stroke-width:10px;stroke-linecap:round}.ct-line{fill:none;stroke-width:4px}.ct-area{stroke:none;fill-opacity:.1}.ct-bar{fill:none;stroke-width:10px}.ct-slice-donut{fill:none;stroke-width:60px}.ct-series-a .ct-point,.ct-series-a .ct-line,.ct-series-a .ct-bar,.ct-series-a .ct-slice-donut{stroke:#d70206}.ct-series-a .ct-slice-pie,.ct-series-a .ct-slice-donut-solid,.ct-series-a .ct-area{fill:#d70206}.ct-series-b .ct-point,.ct-series-b .ct-line,.ct-series-b .ct-bar,.ct-series-b .ct-slice-donut{stroke:#f05b4f}.ct-series-b .ct-slice-pie,.ct-series-b .ct-slice-donut-solid,.ct-series-b .ct-area{fill:#f05b4f}.ct-series-c .ct-point,.ct-series-c .ct-line,.ct-series-c .ct-bar,.ct-series-c .ct-slice-donut{stroke:#f4c63d}.ct-series-c .ct-slice-pie,.ct-series-c .ct-slice-donut-solid,.ct-series-c .ct-area{fill:#f4c63d}.ct-series-d .ct-point,.ct-series-d .ct-line,.ct-series-d .ct-bar,.ct-series-d .ct-slice-donut{stroke:#d17905}.ct-series-d .ct-slice-pie,.ct-series-d .ct-slice-donut-solid,.ct-series-d .ct-area{fill:#d17905}.ct-series-e .ct-point,.ct-series-e .ct-line,.ct-series-e .ct-bar,.ct-series-e .ct-slice-donut{stroke:#453d3f}.ct-series-e .ct-slice-pie,.ct-series-e .ct-slice-donut-solid,.ct-series-e .ct-area{fill:#453d3f}.ct-series-f .ct-point,.ct-series-f .ct-line,.ct-series-f .ct-bar,.ct-series-f .ct-slice-donut{stroke:#59922b}.ct-series-f .ct-slice-pie,.ct-series-f .ct-slice-donut-solid,.ct-series-f .ct-area{fill:#59922b}.ct-series-g .ct-point,.ct-series-g .ct-line,.ct-series-g .ct-bar,.ct-series-g .ct-slice-donut{stroke:#0544d3}.ct-series-g .ct-slice-pie,.ct-series-g .ct-slice-donut-solid,.ct-series-g .ct-area{fill:#0544d3}.ct-series-h .ct-point,.ct-series-h .ct-line,.ct-series-h .ct-bar,.ct-series-h .ct-slice-donut{stroke:#6b0392}.ct-series-h .ct-slice-pie,.ct-series-h .ct-slice-donut-solid,.ct-series-h .ct-area{fill:#6b0392}.ct-series-i .ct-point,.ct-series-i .ct-line,.ct-series-i .ct-bar,.ct-series-i .ct-slice-donut{stroke:#f05b4f}.ct-series-i .ct-slice-pie,.ct-series-i .ct-slice-donut-solid,.ct-series-i .ct-area{fill:#f05b4f}.ct-series-j .ct-point,.ct-series-j .ct-line,.ct-series-j .ct-bar,.ct-series-j .ct-slice-donut{stroke:#dda458}.ct-series-j .ct-slice-pie,.ct-series-j .ct-slice-donut-solid,.ct-series-j .ct-area{fill:#dda458}.ct-series-k .ct-point,.ct-series-k .ct-line,.ct-series-k .ct-bar,.ct-series-k .ct-slice-donut{stroke:#eacf7d}.ct-series-k .ct-slice-pie,.ct-series-k .ct-slice-donut-solid,.ct-series-k .ct-area{fill:#eacf7d}.ct-series-l .ct-point,.ct-series-l .ct-line,.ct-series-l .ct-bar,.ct-series-l .ct-slice-donut{stroke:#86797d}.ct-series-l .ct-slice-pie,.ct-series-l .ct-slice-donut-solid,.ct-series-l .ct-area{fill:#86797d}.ct-series-m .ct-point,.ct-series-m .ct-line,.ct-series-m .ct-bar,.ct-series-m .ct-slice-donut{stroke:#b2c326}.ct-series-m .ct-slice-pie,.ct-series-m .ct-slice-donut-solid,.ct-series-m .ct-area{fill:#b2c326}.ct-series-n .ct-point,.ct-series-n .ct-line,.ct-series-n .ct-bar,.ct-series-n .ct-slice-donut{stroke:#6188e2}.ct-series-n .ct-slice-pie,.ct-series-n .ct-slice-donut-solid,.ct-series-n .ct-area{fill:#6188e2}.ct-series-o .ct-point,.ct-series-o .ct-line,.ct-series-o .ct-bar,.ct-series-o .ct-slice-donut{stroke:#a748ca}.ct-series-o .ct-slice-pie,.ct-series-o .ct-slice-donut-solid,.ct-series-o .ct-area{fill:#a748ca}.ct-square{display:block;position:relative;width:100%}.ct-square:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:100%}.ct-square:after{content:"";display:table;clear:both}.ct-square>svg{display:block;position:absolute;top:0;left:0}.ct-minor-second{display:block;position:relative;width:100%}.ct-minor-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:93.75%}.ct-minor-second:after{content:"";display:table;clear:both}.ct-minor-second>svg{display:block;position:absolute;top:0;left:0}.ct-major-second{display:block;position:relative;width:100%}.ct-major-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:88.88889%}.ct-major-second:after{content:"";display:table;clear:both}.ct-major-second>svg{display:block;position:absolute;top:0;left:0}.ct-minor-third{display:block;position:relative;width:100%}.ct-minor-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:83.33333%}.ct-minor-third:after{content:"";display:table;clear:both}.ct-minor-third>svg{display:block;position:absolute;top:0;left:0}.ct-major-third{display:block;position:relative;width:100%}.ct-major-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:80%}.ct-major-third:after{content:"";display:table;clear:both}.ct-major-third>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fourth{display:block;position:relative;width:100%}.ct-perfect-fourth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:75%}.ct-perfect-fourth:after{content:"";display:table;clear:both}.ct-perfect-fourth>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fifth{display:block;position:relative;width:100%}.ct-perfect-fifth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:66.66667%}.ct-perfect-fifth:after{content:"";display:table;clear:both}.ct-perfect-fifth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-sixth{display:block;position:relative;width:100%}.ct-minor-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:62.5%}.ct-minor-sixth:after{content:"";display:table;clear:both}.ct-minor-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-golden-section{display:block;position:relative;width:100%}.ct-golden-section:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:61.8047%}.ct-golden-section:after{content:"";display:table;clear:both}.ct-golden-section>svg{display:block;position:absolute;top:0;left:0}.ct-major-sixth{display:block;position:relative;width:100%}.ct-major-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:60%}.ct-major-sixth:after{content:"";display:table;clear:both}.ct-major-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-seventh{display:block;position:relative;width:100%}.ct-minor-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:56.25%}.ct-minor-seventh:after{content:"";display:table;clear:both}.ct-minor-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-seventh{display:block;position:relative;width:100%}.ct-major-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:53.33333%}.ct-major-seventh:after{content:"";display:table;clear:both}.ct-major-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-octave{display:block;position:relative;width:100%}.ct-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:50%}.ct-octave:after{content:"";display:table;clear:both}.ct-octave>svg{display:block;position:absolute;top:0;left:0}.ct-major-tenth{display:block;position:relative;width:100%}.ct-major-tenth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:40%}.ct-major-tenth:after{content:"";display:table;clear:both}.ct-major-tenth>svg{display:block;position:absolute;top:0;left:0}.ct-major-eleventh{display:block;position:relative;width:100%}.ct-major-eleventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:37.5%}.ct-major-eleventh:after{content:"";display:table;clear:both}.ct-major-eleventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-twelfth{display:block;position:relative;width:100%}.ct-major-twelfth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:33.33333%}.ct-major-twelfth:after{content:"";display:table;clear:both}.ct-major-twelfth>svg{display:block;position:absolute;top:0;left:0}.ct-double-octave{display:block;position:relative;width:100%}.ct-double-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:25%}.ct-double-octave:after{content:"";display:table;clear:both}.ct-double-octave>svg{display:block;position:absolute;top:0;left:0}.ct-chart-line{height:180px}.ct-label{color:#ffffff;font-weight:bold}.ct-label.ct-vertical.ct-start{text-align:left;justify-content:flex-start}.ct-label.ct-horizontal{font-size:9px;margin-top:5px}.ct-grid.ct-vertical{stroke:transparent;stroke-dasharray:0}.ct-grid.ct-horizontal{display:none}.ct-series-a .ct-line{stroke:rgba(255,255,255,0.9);stroke-width:3.5px;stroke-linecap:round}.ct-series-a .ct-area{fill:url(#gradient) !important}.ct-series-a .ct-point{cursor:pointer;stroke:#dfe0e1;stroke-opacity:0;stroke-width:30px;position:relative}.ct-series-a .ct-point:hover{stroke:#0799ff;stroke-opacity:0.6}\n',""])},axlY:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".sidebar-container[data-v-58da2a59]{-webkit-user-select:none !important;width:64px;transition:width .2s ease}.sidebar-container .placeholder[data-v-58da2a59]{width:64px;height:calc(100vh - 0px)}.sidebar-container .sidebar[data-v-58da2a59]{flex:0 0 auto;width:64px;overflow-x:hidden;white-space:nowrap;position:fixed;bottom:0;top:0;left:0;padding:20px 0;padding-top:69px;background-color:white;box-shadow:0 0 0 transparent, 0 0 0 transparent;transition:width .2s ease,box-shadow 1.1s ease;z-index:100;border-right:1px solid #dfe0e1;border-left:1px solid rgba(0,0,0,0.08);border-bottom:1px solid rgba(0,0,0,0.08)}.sidebar-container .sidebar .bar-bg[data-v-58da2a59]{width:64px;position:absolute;left:0;top:0;bottom:0;z-index:-1}.sidebar-container .sidebar .lock-sidebar[data-v-58da2a59]{position:absolute;top:13px;left:22px;right:20px;height:44px;cursor:pointer;display:flex;flex-direction:row;justify-content:space-between;align-items:center;transition:all 0.2s ease;transition-property:background, color}.sidebar-container .sidebar .lock-sidebar span[data-v-58da2a59]{display:block;height:2px;width:18px;background:black;position:relative}.sidebar-container .sidebar .lock-sidebar span[data-v-58da2a59]:before{width:18px;height:2px;display:block;background:black;position:absolute;top:-6px;content:''}.sidebar-container .sidebar .lock-sidebar span[data-v-58da2a59]:after{width:18px;height:2px;display:block;background:black;position:absolute;bottom:-6px;content:''}.sidebar-container .sidebar .lock-sidebar svg[data-v-58da2a59]{opacity:1}.sidebar-container .sidebar .item[data-v-58da2a59]{cursor:pointer;padding:10px;margin:4px;display:flex;align-items:center;color:black;transition:all .2s ease;transition-property:background, padding;font-size:12px;text-transform:uppercase}.sidebar-container .sidebar .item i[data-v-58da2a59]{padding-right:18px;margin-left:4px;font-size:24px;transition:all .2s ease;transition-property:color, margin;color:black}.sidebar-container .sidebar .item span[data-v-58da2a59]{margin-left:5px;opacity:0;transition:all .2s ease;transition-property:margin-left, opacity, color;color:black}.sidebar-container .sidebar .item[data-v-58da2a59]:hover{background:rgba(0,0,0,0.02)}.sidebar-container .sidebar .item[data-v-58da2a59]:hover,.sidebar-container .sidebar .item.active[data-v-58da2a59]{background-color:rgba(7,153,255,0.04)}.sidebar-container .sidebar .item:hover i[data-v-58da2a59],.sidebar-container .sidebar .item.active i[data-v-58da2a59]{color:#0799ff}.sidebar-container .sidebar .item:hover span[data-v-58da2a59],.sidebar-container .sidebar .item.active span[data-v-58da2a59]{color:#0799ff}.sidebar-container:not(.locked) .sidebar .item i[data-v-58da2a59]{margin-left:4px}.sidebar-container:not(.locked) .sidebar svg[data-v-58da2a59]{opacity:0}.sidebar-container:not(.locked) .sidebar[data-v-58da2a59]:hover{transition:box-shadow 0.3s ease;box-shadow:10px 0 30px rgba(0,0,0,0.15),2px 0 10px rgba(7,155,232,0.23)}.sidebar-container.locked[data-v-58da2a59]{width:240px}.sidebar-container.locked .sidebar[data-v-58da2a59]{width:240px;transition:width .2s ease,box-shadow 0.3s ease}.sidebar-container.locked .sidebar .item[data-v-58da2a59]{color:#7a7a7a}.sidebar-container.locked .sidebar .item span[data-v-58da2a59]{margin-left:0;opacity:1}.mobile .sidebar-container[data-v-58da2a59]{width:64px}.mobile .sidebar-container:not(.locked) .sidebar[data-v-58da2a59]{box-shadow:0 0 0 transparent, 0 0 0 transparent}.mobile .sidebar-container:not(.locked) .sidebar[data-v-58da2a59]:hover{width:64px}.mobile .sidebar-container:not(.locked) .sidebar .item span[data-v-58da2a59]{opacity:0}.mobile .sidebar-container.locked .sidebar[data-v-58da2a59]{width:100%}\n",""])},bUQ9:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".prompt[data-v-12c82a4c]{max-width:600px;padding:30px;display:flex;flex-direction:column;justify-content:center;align-items:center}.prompt .title[data-v-12c82a4c]{font-size:14px;font-weight:bold}.prompt .description[data-v-12c82a4c]{margin-top:4px;font-size:10px}.prompt .input[data-v-12c82a4c]{margin:30px 0 0 0}.prompt .actions[data-v-12c82a4c]{margin-top:20px;display:flex;justify-content:flex-end;width:100%}.prompt .actions.between[data-v-12c82a4c]{justify-content:space-between}\n",""])},bcyO:function(t,e,a){"use strict";a.d(e,"a",(function(){return N})),a.d(e,"b",(function(){return F}));var i=a("VLdL"),n=a.n(i),s=a("78si"),o=a.n(s),r=a("ohnt"),c=a.n(r),l=a("IMve"),p=a.n(l),d=a("F+MN"),u=a("qjwK"),h=a("B9Ha"),f=a.n(h),b=a("Hxfq"),m=a.n(b),g=a("O1cq"),y=a.n(g),x=a("SDtL"),v=a.n(x),k=a("5lq1"),w=a.n(k),_=a("IfgB"),C=a("Gbp+"),T=a("bUKF"),S=a.n(T),E=a("Giuh"),A=a.n(E),O=a("pk5N"),P=a.n(O);const N="https://api.ridl.network/v1",I="RIDL Network";let R;const L=t=>c.a.v2(t),K=[L("scam"),L("dangerous"),L("privacy")];const B=async t=>{const e=t.reputation.fragments.filter(t=>K.includes(t.fingerprint)),a=await n.a.reputation.getFragmentsFor(t);return e.map(t=>{const e=a.find(e=>e.fingerprint===t.fingerprint);t.upTag=e?e.upTag:"good",t.downTag=e?e.downTag:"bad"}),e},D=t=>fetch(`${t.fullhost()}/v1/chain/get_info`).then(t=>t.json()).then(t=>t.chain_id).catch(()=>null);let j=!1,$=!1;class F{static async init(){if(j)return;const t=await fetch(`${N}/network`).then(t=>t.json()).then(t=>o.a.fromJson(t)).catch(()=>null);return t?(t.name=I,t.chainId=await D(t),R=t,await F.addNetwork(),await n.a.init(R),j=!0,!0):console.error("Could not fetch RIDL Network")}static networkUnique(){if(R)return R.unique()}static async hasNetwork(){return R||await this.init(),!!P.a.get().state.scatter.settings.networks.find(t=>t.chainId===R.chainId)}static async addNetwork(){return!!await this.hasNetwork()||f.a.addNetwork(R,!1)}static async checkAccounts(){if($)return;$=!0;const t=P.a.get().state.scatter.settings.networks.find(t=>t.chainId===R.chainId);if(!t)return console.error("No RIDL network found!");const e=p.a.plugin(d.Blockchains.EOSIO),a=P.a.get().state.scatter.keychain.accounts.filter(e=>e.networkUnique===t.unique()).reduce((t,e)=>t.find(t=>t.name===e.name)?t:(t.push(e),t),[]);await Promise.all(a.map(async t=>{return await e.accountData(t,R)||await w.a.removeAccounts([t]),!0}));const i=P.a.get().state.scatter.keychain.identities[0];if(-1!==i.ridl){const t=await F.identityNameIsAvailable(i.name);if(!t||t.id!==i.ridl){const t=P.a.get().state.scatter.clone();t.keychain.identities[0].ridl=-1,await P.a.get().dispatch(u.SET_SCATTER,t)}}return!0}static getAccount(){const t=P.a.get().state.scatter.settings.networks.find(t=>t.chainId===R.chainId);return t?P.a.get().state.scatter.keychain.accounts.find(e=>e.networkUnique===t.unique()):console.error("No RIDL network found!")}static async checkApp(t){if(!P.a.get().state.scatter.settings.firewall)return;await this.init();const e=await n.a.reputation.searchByFingerprint(i.FRAG_TYPES.APPLICATION,t.trim());if(!e)return;const a=await B(e);return{decimal:e.decimalReputation(!0,K),fragments:a,reputable:e}}static async checkContracts(t,e){if(!P.a.get().state.scatter.settings.firewall)return;await this.init();const a=`${t.blockchain}::${t.chainId}`;const s=await Promise.all(e.map(({code:t,type:e})=>n.a.reputation.searchByFingerprint(i.FRAG_TYPES.BLOCKCHAIN_ADDR,t.toLowerCase(),a).then(async a=>(a.code=t,a.decimal=a.decimalReputation(!0,K),a.children=(await this.getChildren(a)).filter(t=>t.entity.toLowerCase()===e.toLowerCase()),a.children.map(a=>{a.code=t+e,a.decimal=a.decimalReputation(!0,K)}),await B(a),a))));let o=0,r=[];return s.map(t=>{t.children.length?t.children.map(t=>{o+=parseFloat(t.decimal),r.push(t)}):(o+=parseFloat(t.decimal),r.push(t))}),{decimal:parseFloat(o).toFixed(1),reputables:r}}static async getChildren(t){return await n.a.canConnect(),n.a.reputation.searchByParent(t.id)}static isValidName(t){return n.a.identity.validName(t)}static async identityNameIsAvailable(t){return n.a.identity.get(t)}static async setSignatureProvider(t){const e=this.getAccount(),a=p.a.plugin(d.Blockchains.EOSIO);return await n.a.init(R,e,(()=>i=>a.signerWithPopup(i,e,t))()),!0}static async identify(t,e){return new Promise(async(a,i)=>{await this.setSignatureProvider(i);await n.a.identity.payAndIdentify(t,e).then(()=>!0).catch(()=>!1);setTimeout(async()=>{const e=await n.a.identity.get(t);if(!e)return a(!1);a(e)},1e3)})}static async changeAccount(t,e){return new Promise(async(a,i)=>{await this.setSignatureProvider(i);await n.a.identity.changeacc(t,e).then(()=>!0).catch(()=>!1);setTimeout(async()=>{const e=await n.a.identity.get(t);if(!e)return a(!1);a(e)},1e3)})}static async claim(t,e){return new Promise(async(a,i)=>{await this.setSignatureProvider(i);const s=p.a.plugin(d.Blockchains.EOSIO),o=await s.signer({data:A.a.sha256("ridl")},e,!0,!0);a(await n.a.identity.claim(t,e,o).then(()=>!0).catch(()=>!1))})}static async changeKey(t,e){return new Promise(async(a,i)=>{await this.setSignatureProvider(i),a(await n.a.identity.changekey(t,e).then(()=>!0).catch(()=>!1))})}static async createAccount(){await this.addNetwork();const t=P.a.get().state.scatter.settings.networks.find(t=>t.chainId===R.chainId);let e=P.a.get().state.scatter.keychain.keypairs.find(t=>t.name.indexOf("RIDL Key")>-1);e||((e=m.a.placeholder()).blockchains=[d.Blockchains.EOSIO],await y.a.generateKeyPair(e),await y.a.makePublicKeys(e),e.name=`RIDL Key-${v.a.text(5)}`,await y.a.saveKeyPair(e));const a=e.publicKeys.find(t=>t.blockchain===d.Blockchains.EOSIO).key,i=await fetch(`${N}/create/${a}`).then(t=>t.json());if(!i)return _.a.push(C.a.snackbar("Could not create account on the RIDL network. Please try again soon.")),!1;const n=S.a.fromJson(i);return n.networkUnique=t.unique(),n.keypairUnique=e.unique(),await w.a.addAccount(n),n}static getRidlCycle(){return Math.floor((+new Date/1e3-1531720800)/3600/12)}static async getRidlContributions(){const t=p.a.plugin(d.Blockchains.EOSIO),e=P.a.get().state.scatter.settings.networks.find(e=>e.chainId===t.getEndorsedNetwork().chainId),a=P.a.get().state.scatter.keychain.accounts.filter(t=>t.networkUnique===e.unique()).reduce((t,e)=>t.find(t=>t.name===e.name)?t:(t.push(e),t),[]);return(await Promise.all(a.map(t=>fetch(`${e.fullhost()}/v1/chain/get_table_rows`,{method:"POST",body:JSON.stringify({json:!0,code:"scatterfunds",scope:t.name,table:"claimables"})}).then(t=>t.json()).then(e=>({account:t.name,rows:e.rows})).catch(e=>({account:t.name,rows:[]}))))).filter(t=>t.rows.length)}static async getCycleData(){const t=p.a.plugin(d.Blockchains.EOSIO),e=P.a.get().state.scatter.settings.networks.find(e=>e.chainId===t.getEndorsedNetwork().chainId),a=this.getRidlCycle();return fetch(`${e.fullhost()}/v1/chain/get_table_rows`,{method:"POST",body:JSON.stringify({json:!0,code:"scatterfunds",scope:a,table:"cycles"})}).then(t=>t.json()).then(t=>t.rows.length?t.rows[0]:{cycle:a,tokens:"0.0000 EOS"}).catch(t=>({cycle:a,tokens:"0.0000 EOS"}))}static async donateToScatter(t,e){return e=parseFloat(e.split(" ")[0]).toFixed(4)+" EOS",new Promise(async(a,i)=>{const n=p.a.plugin(d.Blockchains.EOSIO).getSignableEosjs(t,i);await n.transact({actions:[{account:"eosio.token",name:"transfer",authorization:[{actor:t.sendable(),permission:t.authority}],data:{from:t.name,to:"scatterfunds",quantity:e,memo:"Donated to Scatter"}}]},{blocksBehind:3,expireSeconds:30}).then(t=>{_.a.push(C.a.transactionSuccess(d.Blockchains.EOSIO,t.transaction_id)),a(t)}).catch(t=>{console.error(error),i(null)})})}static async claimRidlTokens(t){return new Promise(async(e,a)=>{const i=p.a.plugin(d.Blockchains.EOSIO).getSignableEosjs(t,a),n=t.map(t=>({account:"scatterfunds",name:"claim",authorization:[{actor:t.sendable(),permission:t.authority}],data:{owner:t.name}}));await i.transact({actions:n},{blocksBehind:3,expireSeconds:30}).then(t=>{_.a.push(C.a.transactionSuccess(d.Blockchains.EOSIO,t.transaction_id)),e(t)}).catch(t=>a(t))})}}},"bm/A":function(t,e,a){var i=a("966X");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("2b41c530",i,!0,{})},c2MZ:function(t,e,a){"use strict";var i=a("HW6o");a.n(i).a},cCRt:function(t,e,a){"use strict";var i=a("L2JU"),n={props:["hideClose","idSelector","identity"],components:{ReputationScore:a("T/cf").a},computed:{...Object(i.c)(["identities"])}},s=(a("yW6B"),a("KHd+")),o=Object(s.a)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-out-head"},[t._m(0),t._v(" "),a("section",{staticClass:"actions"},[t.idSelector&&t.identities.length>1?a("section",{staticClass:"id-selector"},[a("i",{staticClass:"icon-user"}),t._v(" "),a("Select",{attrs:{options:t.identities,parser:function(t){return t.name},selected:t.identity},on:{selected:function(e){return t.$emit("identity",e)}}})],1):t._e(),t._v(" "),t.hideClose?t._e():a("figure",{staticClass:"close icon-cancel",on:{click:function(e){return t.$emit("closed")}}})])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"details"},[e("figure",{staticClass:"logo"},[this._v("Scatter")])])}],!1,null,null,null);e.a=o.exports},cUFd:function(t,e,a){"use strict";a.r(e),e.default={generic:{back:"返回",skip:"跳过",next:"下一步",confirm:"确认",accept:"接受",allow:"允许",deny:"拒绝",okay:"我知道了",cancel:"取消",open:"打开",yes:"是",no:"不是",actions:"操作",enable:"启用",disable:"禁用",send:"转账",receive:"收款",select:"选择",unselect:"取消选择",edit:"编辑",add:"添加",save:"保持",new:"新加",delete:"删除",remove:"清除",remove_all:"全部清除",copy:"复制",import:"导入",export:"导出",refresh:"刷新",manage:"管理",private_key:"私钥",public_key:"公钥",cards:"银行卡",expired:"已过期",keys:"密钥",hide:"隐藏",reveal:"展示",tokens:"代币",networks:"网络",blockchains:"区块链",contracts:"合约",memo:"Memo",symbol:"符号",decimals:"小数",chain_id:"Chain ID",name:"名字",accounts:"账号",search:"搜索",buy:"购买",sell:"出售",contacts:"联络人",history:"历史",exchange:"交易所",view:"查看",redo:"重做",promoted:"晋升",addressOrAccount:"地址或账号",pleaseWait:"请稍等",selectToken:"选择一种代币",selectBlockchain:"选择区块链"},sidebar:{dashboard:"仪表板",apps:"程序",wallet:"钱包",assets:"资产",identities:"身份",locations:"位置",contacts:"联络人",history:"历史",networks:"网络",settings:"设置",lock:"锁上钱包"},login:{registerButtonTitle:"开始使用",registerButtonSubtitle:"设置您的Scatter",reset:"重设",restore:"恢复",support:"支持",passwordPlaceholder:"输入您的密码"},setPassword:{title:"设置复杂的密码",description:"复杂的密码至少包含8个字符,并且至少包含一个数字和一个特殊字符。",choosePass:"选择一个密码",confirmPass:"确认您的密码"},welcome:{title:"欢迎来到未来",description:"您的Scatter已设置好并可被使用。",button:"开始使用Scatter"},destroy:{title:"销毁Scatter",disclaimer:"在执行此操作之前,请确保已备份所有私钥。",description:"销毁Scatter此操作是不可逆的,如无事先备份,您将无法还原任何数据。"},dashboard:{vote:{title:"投票给Scatter",subTitle:"向我们展示您对我们的爱戴!",description:"您可投票给我们在EOS主网上的区块生产候选者。通过投票帮助我们入围成为区块生产者.",button:"立即投票!",voted:"在{total}链条上投票给Scatter。谢谢您的帮助!"}},apps:{explore:"探索",myApps:"我的应用程序",allCategories:"所有类别"},app:{loginPermission:"已提供账户",accountsProvided:"已提供账户",requiredFields:"必填事项",mutableFields:"可变事项",removePermission:"删除权限",removeIdentity:"登录权限是允许应用程序与您的Scatter进行交互的权限。您可以通过删除此权限来强制登出某个应用程。",removeWhitelist:"白名单使您无需接受弹出窗口来签署交易。您确定要删除此白名单吗?"},wallet:{noKeys:{title:"您没有任何密钥",description:"单击下面的按钮之一,以导入您现有的私钥,或生成一个全新的私钥。"},generateKey:"生成密钥",importKey:"导入密钥",addCreditCard:"添加信用卡"},account:{totalFiatBalance:"法币总余额",actions:{unlink_account:"取消帐户关联",change_permissions:"变更权限",proxy_vote:"代理投票",create_account:"创建帐号"}},assets:{noAccounts:"没有帐号"},histories:{sent:"转账",received:"收款",networkDisabled:"网路已停用",clear:{title:"清除历史记录",description:"您将删除所有本地历史记录。此操作不会删除密钥或帐户。"}},identities:{identities:"身份",id:{nameLabel:"身份名称/用户名称",namePlaceholder:"您在线的称呼",nameError:"必须有身份名称,名称不能含有空格或特殊字符"},personal:{nameLabel:"全名",namePlaceholder:"输入您的全名",emailLabel:"电子邮件",dobLabel:"生日日期"},location:{title:"位置",noneSelected:"未选择"},auth:{title:"认证密钥",description:"确保您已备份并安全储存此认证密钥,您将需要此认证密钥来重新访问某些应用程序。",changeButton:"变更 / 查看"},removing:{title:"删除身份",description:"您确定您要删除 {identity}吗?"}},locations:{locations:"位置",nameLabel:"位置名称",namePlaceholder:"住家, 办公室, 或其他",countryLabel:"国家",countryItemNone:"没有",addressLabel:"地址",cityLabel:"城市",stateLabel:"州属",phoneLabel:"电话号码"},networks:{connectionError:"连接错误!"},settings:{menu:{general:"一般事项",tokens:"代币",explorers:"浏览器",backup:"备份文件",firewall:"防火墙",password:"密码",destroy:"重设"},base:{basics:"基本",secure:"安全设定"},general:{version:"版本",language:"語言",simpleMode:"简单模式",simpleModeDescription:"“简单模式”适合一般用户,而“高级模式”(您当前使用的模式)则适合有技术经验的用户或开发人员。",notifications:"白名单通知",notificationsDescription:"当您对白名单交易进行自动签名时,这些通知会显示在某些操作系统上。",ports:"开放端口",portsDescription:"这些是您本地计算机上开放的端口,其他本地应用程序可以使用这些端口联系Scatter。",noPorts:"暂无开放的端口!",dataPath:"数据文件位置",dataPathDescription:"Scatter将加密数据保存到您计算机上的位置。",devConsole:"开发者控制台",devConsoleDescription:"有时您可能需要查看Scatter是否有任何错误。",devConsoleButton:"打开控制台"},backup:{title:"配置备份",description:"通过备份,您可以保存您Scatter的状态,包括所有键,权限和设置。",autobackup:"选择自动备份位置",create:"创建备份",currentFolder:"当前备份文件夹",created:"已创建备份!"},destroy:{title:"销毁Scatter",description:"销毁Scatter会从您本地计算机上删除所有保存的数据,包括身份和密钥对配置。此操作不会在区块链上删除您的区块链账户。",important:"在执行此操作之前,请确保您已进行了备份!",button:"销毁Scatter"},firewall:{ridl:{title:"分散式防火墙",description:"RIDL防守者是Scatter的专有分散式防火墙系统。它有助于保护您免受恶意网站,应用程序和帐户的侵害。"},blocker:{title:"限制合同操作",description:"外部应用程序将不允许这些操作",blacklisted:"列入黑名单的操作"}},password:{title:"更改您的密码",description:"我们鼓励您定期更改您密码。用户往往会在在多个地方使用相同的登入密码,从而使得该密码被发现的可能性变大。",button:"更改密码",changed:"密码已更改!",pin:{title:"更改您的PIN码",description:"若启用,PIN码则是您在执行非白名单操作时需要输入的密码。请勿将此PIN码设置为您的密码。",disabled:"已停用PIN码",changed:"已更改PIN码!",pinForAllTitle:"使用PIN码进行外部应用程序交互。",pinForAllDescription:"如果启用此功能,则还需要为外部应用程序产生的每个弹出窗口输入PIN码。否则,只有Scatter内部散操作(例如转账或代币兑换)才需要输入您的PIN码。"}},tokens:{switch:{add:"添加代币",whitelist:"代币",blacklist:"过滤",settings:"设置"},whitelistButton:"白名单代币",blacklistButton:"黑名单代币",hidePrimaryBalance:"隐藏余额",hidePrimaryBalanceDescription:"使您可以在快速操作栏中隐藏余额。",filterSmallBalances:"过滤小余额",filterSmallBalancesDescription:"如果您想过滤掉小余额的代币,可以在此处设置。",noTokens:"无代币"}},receive:{receiver:"收款账号",sendTo:"汇款至",forEosio:"一些交易所会要求您提供addressTag,memo或其他形式的辅助输入。您可以在该字段中输入任何内容,因为这是真实的EOSIO帐户。"},exchange:{fromAndToken:"从 & 代币",priceNotAvailable:"无法显示价格",loadingPairs:"加载配对中",noPairs:"没有可用的配对",loadingRate:"加载汇率中",errorTitle:"兑换错误",errorDescription:"无法连接到交易所的API."},transfer:{sender:"发送自",receiver:"发送至",amountTitle:"金额和明细",priceNotAvailable:"暂无价格",memo:"Memo (可选)",loadingBalances:"您的余额尚未加载完毕"},editNetwork:{systemToken:"系统代币",memorableName:"添加一个易记名字",host:"Host",protocol:"协议",port:"端口",chainIdTooltip:"获取链ID",update:"更新详细信息",systemTokenTitle:"网络系统代币",systemTokenDescription:"某些网络使用自定义系统代币而不是默认系统代币(例如ETH,EOS或TRX)。"},keysAndAccountsList:{actions:{editName:"编辑名称",copyPublicKey:"复制公钥",refreshAccounts:"刷新账户",convertBlockchain:"更换区块链",removeKey:"删除密钥",linkAccount:"连接帐户"},noAccounts:{title:"您没有任何与此密钥连接的帐户",requiresPayment:"{blockchain} 区块链要求您支付小额费用才能创建帐户。",checkEnabled:"确保您已经为{blockchain}区块链启用了网络。",createAccountButton:"立即创建!"},linkedAccounts:"连接账户",changeKeypairNameTitle:"更改密钥配对名称",changeKeypairNameDescription:"密钥配对的名称仅用于组织目的。它对区块链或密钥本身没有影响。"},panels:{keypair:{selectHardware:"选择一个硬件钱包",availableHardwareChains:"可选区块链",hardwareIndex:"密钥/地址指标",importTextKeyTitle:"导入您的私钥",importTextKeyDescription:"您的私钥永远不会离开您的设备。我们仅使用它来签署交易,除了您之外,没有人可以访问它。请记住,尽管Scatter是保留密钥的好地方,但您始终应该在离线状态下对其进行备份。",validTextKeyWarn:"输入有效密钥后,它将自动导入。",scanQR:"扫描二维码"}},popins:{fullscreen:{addCustomNetwork:"添加自定义网络",addNewContact:"添加新联系人",changeIdentityKey:"身份验证密钥",generateRandomKey:"生成随机密钥",saveIdentityKey:"保存新的身份密钥",checkHardwareTitle:"检查硬件",checkHardwareDescription:"您应该在硬件设备上看到确认信息",confirmPassword:"确认密码",securityCode:"输入安全码",changePermissions:{title:"更改帐户密钥",disclaimer:"此操作可能危险",disclaimerDescription:"您将要更改控制此帐户的密钥。确保您知道自己在做什么",owner:"所有者/主密钥",active:"活动/每日密钥",dontChange:"保持原样"},createAccount:{title:"创建帐号",exchangeDescription:"您可以从交易所或其他钱包汇款以创建您的帐户。",cardDescription:"该选项当前被禁用。",startTyping:"输入名称以查看是否可用。",includeMemo:"请确保在汇款时填写此memo,否则您的资金将会丢失!",clickAfter:"汇款后点击此处",lookingTitle:"寻找帐户",lookingDescription:"所创建的帐户会在30分钟内自动添加到您的Scatter中。",exchangeErrorTitle:"帐户创建错误",exchangeErrorDescription:"从您汇出汇款至今已过了30分钟。您的账号似乎尚未创建。请查看您交易所转出交易的状态。",accountFoundTitle:"找到帐号!",accountFoundDescription:"Scatter已找到了您使用交易所创建的帐户。您现在可以在钱包中看到它。",nameTooShort:"帐户名称必须为12个字符长。",nameFormatting:"帐户名只能是小写字母。",checkingName:"正在检查该名称是否可用..",nameTaken:"此名称已经被使用了"},moderateCpu:{available:"可用 {token}",reclaiming:"赎回中 {token}",stake:"质押",unstake:"解除质押"},moderateRam:{type:"类型",bytesError:"必须超过15字节数"},exportKey:{title:"导出私钥",disclaimer:"请妥善保管您的私钥!",description:"请记得导出您的私钥,并备份。若丢失了,您将无法恢复此账号。",keyTitle:"密钥",keyDescription:"将此私钥导出为文本",qrTitle:"钱包",qrDescription:"将此私钥导出为加密的QR码",privateKeyAsText:"私钥作为文本",privateKeyAsQR:"QR码纸钱包",savedImage:"已保存图像!"},generateKey:{title:"生成密钥对"},importBackup:{title:"从备份还原",description:"如果您有Scatter的备份档案,则可以通过将其加载到Scatter中将其导入此处。您仍然需要密码才能解锁。",buttonTitle:"选择备份文件",buttonDescription:"该文档的名字将以.json或.txt结尾",errorParsing:"解析此备份时出错",errorDecrypting:"解密此备份时出错",errorReading:"无法读取备份文件"},importKeypair:{title:"导入密钥对",text:"文本",hardware:"硬件",qrCode:"二维码",invalidPrivateKey:"私钥无效"},removeKeypair:{title:"删除密钥",permanent:"此操作是永久性的",removesAll:"删除密钥还会删除其所有链接帐户及其各自的权限。删除密钥后,将无法重新生成它。"},unlinkAccount:{title:"取消帐户连接",description:"取消链接的帐户也会删除其所有应用程序权限。",disclaimer:"此操作不会从区块链中删除该帐户,而只会从Scatter删除该帐户。"}},overlay:{exchanging:"兑换中",transferring:"转移中",confirmPin:"确认PIN码",selectAccount:"选择帐户",selectBlockchain:"选择区块链",selectDisplayToken:"选择显示代币",selectFiatCurrency:"选择法定货币",selectBlockchainToken:"选择区块链代币",selectPublicKey:"选择公钥",selectRecipient:"选择收款人",selectToken:"选择代币",allBlockchains:"所有区块链",selectTokenAndAccount:"选择代币和账号",transactionSuccess:"交易成功!",viewTransactionOn:"点击下面的链接以查看 {explorer}",enableSimpleMode:{},enterPin:{},linkAccount:{title:"链接EOSIO帐户",description:"这使您可以在无法访问或未启用历史记录插件的网络上链接帐户",selectNetwork:"选择网络",button:"链接",noNetworksAvailable:"无可用的EOSIO网络!"}}},popouts:{popoutApp:{noImage:"没有图像",reputation:{unknown:"未知声誉",trusty:"值得信赖",scam:"已知骗局"}},requiredFields:{title:"必填身份字段",personalInformation:"个人信息:"},login:{suffix:"will see:",dangerousPermission:"您正在使用所有者权限登录。这很危险。",allAccountsFor:"所有帐户:",allAccountsDescription:"{app}要求查看指定网络的每个帐户。这意味着它将能够为您已链接到任何请求的网络的任何帐户请求交易签名。",noInfoNeededTitle:"此应用程序不要求任何个人信息或帐户。",noInfoNeededDescription:"该应用程序将收到的唯一信息是基本的身份信息,例如您的用户名。",noAccountsTitle:"您没有此网络的帐户",noAccountsDescription:"您需要先创建一个帐户,然后才能使用应用程序。",personalInformation:"个人信息:",requestingPersonalInformation:"{app}正在请求个人信息。它只能看到请求的内容,非您在Scatter身份中没有填写的其他内容。"},getPublicKey:{suffix:"需要您提供一个公共密钥",select:"选择一个密钥",generate:"生成新密钥"},linkApp:{suffix:"正在重新链接",description:"确保应用程序名称是您当前正在与之交互的应用程序。"},transferRequest:{suffix:"正在请求转账",selectAccount:"选择帐号"},updateIdentity:{suffix:"要",changeName:"更改您的身份名称",addKycProofs:"添加KYC证明"},signature:{moreAccounts:"更多帐户",keysInvolved:"涉及的密钥",accountsInvolved:"涉及的帐户",previouslyWhitelisted:"此操作先前已列入白名单",hiddenAction:"操作已隐藏",dangerous:"您将要签署的单个或多个操作有危险!",dangerousAction:"此操作有危险!",dangerousTooltip:"此操作有危险。接受它会更改您的密钥,并可能将您的帐户转让给其他人。检查以确保密钥正确。",whitelistThis:"您可以将其列入白名单。",whitelistExplainer:"选中的复选框可以更改其值,而不影响白名单。",actionsTotal:"一共有{x} 项操作"}},errors:{badPassword:"密码错误",passwordConfirmation:"密码确认与密码不符",keypairExists:"具有该名称或公钥的密钥对已存在",transferError:"尝试转移代币时发生错误",badQrDecryption:"解密此二维码时出错。您确定此二维码的密码正确吗?"}}},cn8Z:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".transfer,.receive,.exchange,.purchase,.app-login{height:calc(100vh - 60px - 80px);display:flex;flex-direction:column;overflow-y:auto}.transfer .min-max,.receive .min-max,.exchange .min-max,.purchase .min-max,.app-login .min-max{display:flex}.transfer .min-max div,.receive .min-max div,.exchange .min-max div,.purchase .min-max div,.app-login .min-max div{font-size:10px;margin-left:30px}.transfer .min-max div span,.receive .min-max div span,.exchange .min-max div span,.purchase .min-max div span,.app-login .min-max div span{margin-left:8px;font-weight:bold;text-decoration:underline;cursor:pointer}.transfer .scroller,.receive .scroller,.exchange .scroller,.purchase .scroller,.app-login .scroller{overflow-y:auto;height:100%}.transfer .tail,.receive .tail,.exchange .tail,.purchase .tail,.app-login .tail{justify-content:center;display:flex;align-items:center;height:70px;border-top:1px solid #dfe0e1;text-align:center}.transfer .tail button,.receive .tail button,.exchange .tail button,.purchase .tail button,.app-login .tail button{display:inline-block;padding:0 60px;margin:0}.transfer .boxes,.receive .boxes,.exchange .boxes,.purchase .boxes,.app-login .boxes{display:flex;justify-content:space-between}.transfer .boxes .box,.receive .boxes .box,.exchange .boxes .box,.purchase .boxes .box,.app-login .boxes .box{border:1px solid #dfe0e1;border-radius:4px;background:#fff}.transfer .boxes .box.not-allowed,.receive .boxes .box.not-allowed,.exchange .boxes .box.not-allowed,.purchase .boxes .box.not-allowed,.app-login .boxes .box.not-allowed{opacity:0.4;cursor:not-allowed;background:rgba(0,0,0,0.03)}.transfer .boxes .box:not(.nested),.receive .boxes .box:not(.nested),.exchange .boxes .box:not(.nested),.purchase .boxes .box:not(.nested),.app-login .boxes .box:not(.nested){width:calc(50% - 10px)}.transfer .boxes .box:not(.nested):hover,.receive .boxes .box:not(.nested):hover,.exchange .boxes .box:not(.nested):hover,.purchase .boxes .box:not(.nested):hover,.app-login .boxes .box:not(.nested):hover{border:1px solid #0799ff}.transfer .boxes .box .symbol,.receive .boxes .box .symbol,.exchange .boxes .box .symbol,.purchase .boxes .box .symbol,.app-login .boxes .box .symbol{font-size:48px;flex:0 0 auto;padding-right:20px}.transfer .boxes .box .symbol .small,.receive .boxes .box .symbol .small,.exchange .boxes .box .symbol .small,.purchase .boxes .box .symbol .small,.app-login .boxes .box .symbol .small{font-size:28px}.transfer .boxes .box .symbol i,.receive .boxes .box .symbol i,.exchange .boxes .box .symbol i,.purchase .boxes .box .symbol i,.app-login .boxes .box .symbol i{display:block}.transfer .boxes .box .symbol .token-symbol,.receive .boxes .box .symbol .token-symbol,.exchange .boxes .box .symbol .token-symbol,.purchase .boxes .box .symbol .token-symbol,.app-login .boxes .box .symbol .token-symbol{width:64px;height:64px}.transfer .boxes .box .symbol .token-symbol .symbol-holder,.receive .boxes .box .symbol .token-symbol .symbol-holder,.exchange .boxes .box .symbol .token-symbol .symbol-holder,.purchase .boxes .box .symbol .token-symbol .symbol-holder,.app-login .boxes .box .symbol .token-symbol .symbol-holder{width:64px;height:64px}.transfer .boxes .box .symbol .token-symbol .symbol-holder.as-class,.receive .boxes .box .symbol .token-symbol .symbol-holder.as-class,.exchange .boxes .box .symbol .token-symbol .symbol-holder.as-class,.purchase .boxes .box .symbol .token-symbol .symbol-holder.as-class,.app-login .boxes .box .symbol .token-symbol .symbol-holder.as-class{font-size:50px}.transfer .boxes .box .line,.receive .boxes .box .line,.exchange .boxes .box .line,.purchase .boxes .box .line,.app-login .boxes .box .line{width:calc(100%);height:2px;background:#0799ff}.transfer .boxes .box.account-selector,.receive .boxes .box.account-selector,.exchange .boxes .box.account-selector,.purchase .boxes .box.account-selector,.app-login .boxes .box.account-selector{padding:20px;display:flex;align-items:center;position:relative;cursor:pointer}.transfer .boxes .box.account-selector.flex,.receive .boxes .box.account-selector.flex,.exchange .boxes .box.account-selector.flex,.purchase .boxes .box.account-selector.flex,.app-login .boxes .box.account-selector.flex{flex:1}.transfer .boxes .box .recipient-selector,.receive .boxes .box .recipient-selector,.exchange .boxes .box .recipient-selector,.purchase .boxes .box .recipient-selector,.app-login .boxes .box .recipient-selector{display:flex;align-items:center;height:54px;padding:0 20px;position:relative;cursor:pointer}.transfer .boxes .box .name,.receive .boxes .box .name,.exchange .boxes .box .name,.purchase .boxes .box .name,.app-login .boxes .box .name{font-size:12px;font-weight:bold;color:#0799ff;margin-bottom:2px}.transfer .boxes .box .name.value,.receive .boxes .box .name.value,.exchange .boxes .box .name.value,.purchase .boxes .box .name.value,.app-login .boxes .box .name.value{font-size:16px}.transfer .boxes .box .network,.receive .boxes .box .network,.exchange .boxes .box .network,.purchase .boxes .box .network,.app-login .boxes .box .network{font-size:10px}.transfer .boxes .box .token,.receive .boxes .box .token,.exchange .boxes .box .token,.purchase .boxes .box .token,.app-login .boxes .box .token{margin-top:10px;font-size:12px;font-weight:bold}.transfer .boxes .box .price,.receive .boxes .box .price,.exchange .boxes .box .price,.purchase .boxes .box .price,.app-login .boxes .box .price{font-size:9px;font-weight:bold;color:#7a7a7a}.transfer .boxes .box .chevron,.receive .boxes .box .chevron,.exchange .boxes .box .chevron,.purchase .boxes .box .chevron,.app-login .boxes .box .chevron{position:absolute;top:0;bottom:0;right:20px;display:flex;align-items:center;font-size:24px;color:#0799ff}.transfer .boxes .box .input-container,.receive .boxes .box .input-container,.exchange .boxes .box .input-container,.purchase .boxes .box .input-container,.app-login .boxes .box .input-container{display:flex;align-items:center;padding:10px 20px;position:relative}.transfer .boxes .box .input-container .amount-helpers,.receive .boxes .box .input-container .amount-helpers,.exchange .boxes .box .input-container .amount-helpers,.purchase .boxes .box .input-container .amount-helpers,.app-login .boxes .box .input-container .amount-helpers{position:absolute;right:10px;top:10px}.transfer .boxes .box .input-container .label,.receive .boxes .box .input-container .label,.exchange .boxes .box .input-container .label,.purchase .boxes .box .input-container .label,.app-login .boxes .box .input-container .label{flex:0 0 auto;width:50px;font-size:12px;font-weight:bold}.transfer .boxes .box .input-container .input,.receive .boxes .box .input-container .input,.exchange .boxes .box .input-container .input,.purchase .boxes .box .input-container .input,.app-login .boxes .box .input-container .input{flex:1;font-size:12px;color:#0799ff;font-weight:bold;text-align:left}.transfer .boxes .box .input-container .input.not-available,.receive .boxes .box .input-container .input.not-available,.exchange .boxes .box .input-container .input.not-available,.purchase .boxes .box .input-container .input.not-available,.app-login .boxes .box .input-container .input.not-available{color:#c8c8c8}.transfer .boxes .box .input-container input,.transfer .boxes .box .input-container textarea,.receive .boxes .box .input-container input,.receive .boxes .box .input-container textarea,.exchange .boxes .box .input-container input,.exchange .boxes .box .input-container textarea,.purchase .boxes .box .input-container input,.purchase .boxes .box .input-container textarea,.app-login .boxes .box .input-container input,.app-login .boxes .box .input-container textarea{height:36px;border:0;font-size:12px;text-align:left;padding:0;margin:0;outline:0}.transfer .boxes .box .input-container textarea,.receive .boxes .box .input-container textarea,.exchange .boxes .box .input-container textarea,.purchase .boxes .box .input-container textarea,.app-login .boxes .box .input-container textarea{height:80px;padding:10px 0;align-self:flex-start;resize:none}.transfer .boxes .box.data-box,.receive .boxes .box.data-box,.exchange .boxes .box.data-box,.purchase .boxes .box.data-box,.app-login .boxes .box.data-box{padding:30px;display:flex;flex-direction:column;flex:1;margin-left:20px;justify-content:space-between}.transfer .boxes .box.data-box label,.receive .boxes .box.data-box label,.exchange .boxes .box.data-box label,.purchase .boxes .box.data-box label,.app-login .boxes .box.data-box label{margin-bottom:3px;font-size:10px}.transfer .boxes .box.data-box .receiver,.receive .boxes .box.data-box .receiver,.exchange .boxes .box.data-box .receiver,.purchase .boxes .box.data-box .receiver,.app-login .boxes .box.data-box .receiver{font-size:14px;font-weight:bold}.transfer .boxes .box.data-box .small-info,.receive .boxes .box.data-box .small-info,.exchange .boxes .box.data-box .small-info,.purchase .boxes .box.data-box .small-info,.app-login .boxes .box.data-box .small-info{font-size:10px;color:#7a7a7a;margin-bottom:10px}.transfer .boxes .box-container,.receive .boxes .box-container,.exchange .boxes .box-container,.purchase .boxes .box-container,.app-login .boxes .box-container{width:calc(50% - 10px);display:flex;flex-direction:column}.transfer .boxes .box.auto-width,.transfer .boxes .box-container.auto-width,.receive .boxes .box.auto-width,.receive .boxes .box-container.auto-width,.exchange .boxes .box.auto-width,.exchange .boxes .box-container.auto-width,.purchase .boxes .box.auto-width,.purchase .boxes .box-container.auto-width,.app-login .boxes .box.auto-width,.app-login .boxes .box-container.auto-width{width:auto}.mobile .transfer .boxes,.mobile .receive .boxes,.mobile .exchange .boxes,.mobile .purchase .boxes,.mobile .app-login .boxes{flex-direction:column}.mobile .transfer .boxes .box,.mobile .receive .boxes .box,.mobile .exchange .boxes .box,.mobile .purchase .boxes .box,.mobile .app-login .boxes .box{margin-bottom:20px}.mobile .transfer .boxes .box:not(.nested),.mobile .receive .boxes .box:not(.nested),.mobile .exchange .boxes .box:not(.nested),.mobile .purchase .boxes .box:not(.nested),.mobile .app-login .boxes .box:not(.nested){width:100%}.mobile .transfer .boxes .box-container,.mobile .receive .boxes .box-container,.mobile .exchange .boxes .box-container,.mobile .purchase .boxes .box-container,.mobile .app-login .boxes .box-container{width:100%}.mobile .transfer .boxes .data-box,.mobile .receive .boxes .data-box,.mobile .exchange .boxes .data-box,.mobile .purchase .boxes .data-box,.mobile .app-login .boxes .data-box{margin-left:0}\n",""])},dBmO:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".keys-list[data-v-8a32210c]{height:calc(100% - 95px);overflow-y:auto;padding:0 20px;background:white;padding-bottom:60px}@media (max-width: 400px){.keys-list[data-v-8a32210c]{padding:0}}.keys-list .keypair[data-v-8a32210c]{background-color:#f3f6f7;margin-bottom:20px;border:1px solid #dfe0e1;padding:10px 10px 0;border-radius:4px}@media (max-width: 400px){.keys-list .keypair[data-v-8a32210c]{border-radius:0;border:0}}.keys-list .keypair.new[data-v-8a32210c]{border:1px solid #5fc6ff;position:relative}.keys-list .keypair.new[data-v-8a32210c]:after{content:'NEW';background:#0799ff;font-size:10px;font-weight:bold;right:-1px;top:-1px;padding:4px 6px 4px;color:white;position:absolute}.keys-list .keypair .keypair-info[data-v-8a32210c]{display:flex;align-items:center;margin-bottom:10px}@media (max-width: 600px){.keys-list .keypair .keypair-info[data-v-8a32210c]{flex-direction:column;margin-bottom:-10px}}.keys-list .keypair .keypair-info .blockchain[data-v-8a32210c]{font-size:36px;background:#0799ff;border:1px solid #0888f2;color:#fff;border-radius:50%;height:50px;width:50px;display:flex;justify-content:center;align-items:center;margin-right:10px;position:relative}@media (max-width: 600px){.keys-list .keypair .keypair-info .blockchain[data-v-8a32210c]{margin:0}}.keys-list .keypair .keypair-info .blockchain .icon-spin4[data-v-8a32210c]{font-size:28px;padding-top:2px;transform-origin:center}.keys-list .keypair .keypair-info .info[data-v-8a32210c]{flex:1}@media (max-width: 600px){.keys-list .keypair .keypair-info .info[data-v-8a32210c]{margin-top:10px;text-align:center}}.keys-list .keypair .keypair-info .info .name[data-v-8a32210c]{font-size:14px;font-weight:bold}.keys-list .keypair .keypair-info .info .key[data-v-8a32210c]{margin-top:3px;font-size:10px;font-weight:bold;color:#7a7a7a}.keys-list .keypair .keypair-info .info .key b[data-v-8a32210c]{color:#0799ff}.keys-list .keypair.selectable[data-v-8a32210c]{cursor:pointer}.keys-list .keypair.selectable:hover .keypair-info .info .name[data-v-8a32210c]{color:#0799ff}.keys-list .keypair .accounts-label[data-v-8a32210c]{margin:20px -10px -10px;padding:10px 15px;font-size:9px;background-color:#d3edff;text-transform:uppercase;color:#0799ff;font-weight:bold}.keys-list .keypair .no-accounts[data-v-8a32210c]{margin-top:5px;font-size:14px;display:flex;justify-content:space-between;align-items:center;padding:10px 10px 10px 20px;background:#0799ff;color:#fff;margin-bottom:10px;border-radius:4px;border:1px solid #0888f2}.keys-list .keypair .no-accounts p[data-v-8a32210c]{margin:0}.keys-list .keypair .accounts-list[data-v-8a32210c]{margin-top:10px}.keys-list .keypair .accounts-list .account[data-v-8a32210c]{display:flex;align-items:center;padding:15px;background:white;cursor:pointer;margin-left:-10px;margin-right:-10px}.keys-list .keypair .accounts-list .account[data-v-8a32210c]:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.keys-list .keypair .accounts-list .account .details[data-v-8a32210c]{flex:1}.keys-list .keypair .accounts-list .account .details .name[data-v-8a32210c]{font-size:13px;font-weight:bold}@media (max-width: 600px){.keys-list .keypair .accounts-list .account .details .name[data-v-8a32210c]{font-size:12px}}.keys-list .keypair .accounts-list .account .details .network[data-v-8a32210c]{font-size:13px;color:#7a7a7a}@media (max-width: 600px){.keys-list .keypair .accounts-list .account .details .network[data-v-8a32210c]{font-size:12px}}.keys-list .keypair .accounts-list .account .tokens[data-v-8a32210c]{text-align:right}.keys-list .keypair .accounts-list .account .tokens .balance[data-v-8a32210c]{font-size:12px;font-weight:bold}.keys-list .keypair .accounts-list .account .tokens .quantity[data-v-8a32210c]{font-size:10px}.keys-list .keypair .accounts-list .account .actions[data-v-8a32210c]{padding-left:10px;color:#0799ff}.keys-list .keypair .accounts-list .account[data-v-8a32210c]:hover{background-color:#edf7ff}.keys-list .keypair .accounts-list .account:hover .details .name[data-v-8a32210c]{color:#0799ff}.mobile .keys-list[data-v-8a32210c]{height:calc(100% - 170px)}\n",""])},"dC3/":function(t,e,a){"use strict";var i=a("ExEW");a.n(i).a},dk5y:function(t,e,a){var i=a("n8wf");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("21ba91d4",i,!0,{})},dy8B:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".export-your-key[data-v-77b132cd]{height:100%}.split-inputs input[data-v-77b132cd]{padding:inherit !important}.split-inputs .input[data-v-77b132cd]{margin:0}.export-text[data-v-77b132cd]{width:500px}@media (max-width: 920px){.export-text[data-v-77b132cd]{width:100%;margin:0 20px}}.keys[data-v-77b132cd]{margin:0 auto;max-width:500px;text-align:center}.keys .key[data-v-77b132cd]{font-size:11px}.keys .public[data-v-77b132cd]{font-size:11px}.types[data-v-77b132cd]{margin-top:100px;display:flex;flex-direction:row;justify-content:center;margin-bottom:70px}@media (max-width: 920px){.types[data-v-77b132cd]{flex-direction:column;margin-top:20px;max-width:300px}}.types .type[data-v-77b132cd]{width:calc(50% - 10px);max-width:400px;background:#fff;border:1px solid #e8e8e8;padding:36px;position:relative;padding-top:65px;text-align:center;cursor:pointer;transition:all 0.15s ease;transition-property:background}@media (max-width: 920px){.types .type[data-v-77b132cd]{width:100%;padding-top:70px}}.types .type[data-v-77b132cd]:last-child{margin-left:20px}@media (max-width: 920px){.types .type[data-v-77b132cd]:last-child{margin:20px 0 0 0}}.types .type .badge[data-v-77b132cd]{width:100px;height:100px;border-radius:50%;background:#fff;border:1px solid #e8e8e8;color:#525252;font-size:36px;display:flex;justify-content:center;align-items:center;position:absolute;top:-50px;left:0;right:0;margin:0 auto;transition:all 0.15s ease;transition-property:background, color, border}@media (max-width: 920px){.types .type .badge[data-v-77b132cd]{width:60px;height:60px;top:-10px}}.types .type .name[data-v-77b132cd]{font-size:24px;color:#0799ff;margin-bottom:5px}.types .type p[data-v-77b132cd]{font-size:11px}.types .type[data-v-77b132cd]:hover{background:rgba(0,0,0,0.02)}.types .type:hover .badge[data-v-77b132cd]{background:#0799ff;border:1px solid #0799ff;color:#fff}\n",""])},"eS/V":function(t,e,a){"use strict";var i=a("x+ty");a.n(i).a},eqYS:function(t,e,a){"use strict";var i=a("sVZK");a.n(i).a},etLc:function(t,e,a){var i=a("EIo5");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("0592a60e",i,!0,{})},"f+SA":function(t,e,a){var i=a("kh1F");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("9ce5bdec",i,!0,{})},"g+0E":function(t,e,a){"use strict";var i=a("Y026");a.n(i).a},g9N2:function(t,e,a){var i=a("INbi");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("552b5773",i,!0,{})},gcxV:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".split-inputs[data-v-e0dd19e2]{text-align:left}.key-entry[data-v-e0dd19e2]{min-width:500px}.key-entry[data-v-e0dd19e2]:not(:last-child){margin-bottom:20px}.type-selected[data-v-e0dd19e2]{min-width:500px}.send-memo[data-v-e0dd19e2]{font-size:14px;max-width:500px;margin:0 auto;text-align:center}.send-memo u[data-v-e0dd19e2]{padding:0 5px}.send-memo b.large[data-v-e0dd19e2]{font-size:20px}.send-memo b.red[data-v-e0dd19e2]{color:#ff0707;font-size:12px;text-decoration:underline}.send-memo i[data-v-e0dd19e2]{display:block;margin-top:30px;font-size:10px;font-weight:800}.send-memo .memo[data-v-e0dd19e2]{border-radius:4px;background:#ff0707;border:1px solid #d30606;color:#fff;padding:5px 5px 5px 10px;margin-top:3px;font-size:10px;display:flex;justify-content:space-between;align-items:center}.send-memo .memo .copy[data-v-e0dd19e2]{background:#fff;color:#333;padding:5px 10px;border-radius:4px;cursor:pointer;border:1px solid #d30606}\n",""])},h0jW:function(t,e,a){var i=a("Kor+");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("8375fabc",i,!0,{})},hJRE:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".panel-container[data-v-4311b5d8]{overflow:auto;height:calc(100vh - 240px)}.auto-vote[data-v-4311b5d8]{max-width:600px;margin:0 auto;display:flex}.auto-vote .details[data-v-4311b5d8]{padding-left:20px}.list[data-v-4311b5d8]{max-width:700px;width:100%;text-align:left}\n",""])},iT9p:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".import-hardware[data-v-15bdc122]{min-width:500px;max-width:600px}.import-hardware .loading-keys[data-v-15bdc122]{padding:5px 10px 10px}.import-hardware .key-list[data-v-15bdc122]{display:flex;flex-direction:column;max-height:170px;overflow-y:auto;padding:0 10px 0 0}.import-hardware .key-list .key-row[data-v-15bdc122]{display:flex;text-align:right;font-size:10px;align-items:center;margin-bottom:5px;cursor:pointer;padding:5px;border-radius:4px}.import-hardware .key-list .key-row .index[data-v-15bdc122]{padding:5px 10px;background:#0799ff;color:#fff;border-radius:4px;margin-right:10px}.import-hardware .key-list .key-row .key[data-v-15bdc122]{flex:1}.import-hardware .key-list .key-row[data-v-15bdc122]:hover{background:#f3f6f7}\n",""])},iaKN:function(t,e,a){var i=a("1ZKd");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("f84c0aec",i,!0,{})},ijtA:function(t,e,a){"use strict";var i=a("KHd+"),n=Object(i.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:"88px",height:"88px",viewBox:"0 0 88 88",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e("g",{attrs:{id:"welcome_lock",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[e("path",{attrs:{d:"M38.9,64.9121497 C37.3980472,63.7848507 36.5,62.0907867 36.5,60.2555556 C36.5,56.931666 39.4193932,54.2555556 43,54.2555556 C46.5806068,54.2555556 49.5,56.931666 49.5,60.2555556 C49.5,62.0907867 48.6019528,63.7848507 47.1,64.9121497 L47.1,69.0518692 C47.1,71.1643284 45.2561221,72.8555556 43,72.8555556 C40.7354226,72.8555556 38.9,71.1667137 38.9,69.0518692 L38.9,64.9121497 Z M21.5,34.7 L24.0384615,34.7 L24.0384615,22.9119373 C24.0384615,11.913714 32.9698002,3.02 44,3.02 C55.0096495,3.02 63.9615385,11.9329553 63.9615385,22.9119373 L63.9615385,34.7 L66.5,34.7 L66.5,22.8568627 C66.5,10.5191615 56.4102691,0.5 44,0.5 C31.5740891,0.5 21.5,10.5124226 21.5,22.8568627 L21.5,34.7 Z M17.938413,39.6111111 C14.3824177,39.6111111 11.5,42.5200235 11.5,46.115697 L11.5,80.9954141 C11.5,84.593046 14.376155,87.5 17.938413,87.5 L70.0615871,87.5 C73.6175824,87.5 76.5,84.5910876 76.5,80.9954141 L76.5,46.115697 C76.5,42.5180651 73.6238449,39.6111111 70.0615871,39.6111111 L17.938413,39.6111111 Z",id:"lock",stroke:"#00A8FF",fill:"#FFFFFF"}})])])}),[],!1,null,null,null);e.a=n.exports},ioPV:function(t,e,a){"use strict";var i=a("rLhf");a.n(i).a},j2Vk:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"body{will-change:transform}.mobile *{transition:none !important}#loader-bg{position:fixed;top:0;bottom:0;left:0;right:0;background:red}::-webkit-scrollbar{width:12px}::-webkit-scrollbar:horizontal{height:8px}::-webkit-scrollbar-track{background:rgba(0,0,0,0.06);padding:2px}::-webkit-scrollbar-thumb{background:rgba(0,0,0,0.24)}div,figure,section,nav,article,input,textarea{padding:0;margin:0;box-sizing:border-box;font-family:'Helvetica','Segoe UI','Roboto', sans-serif}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}html,body{height:100%;background:#fff;overflow:hidden}hr{border:0;width:100%;background:#dfe0e1;height:1px}*{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,*::after,*::before{user-select:none}.selectable{user-select:text}body{padding:0;margin:0;word-break:break-word;font-family:'Helvetica','Segoe UI','Roboto', sans-serif;background:transparent;color:#393d3f;animation:FadeIn 0.6s forwards}a{display:inherit;text-decoration:inherit;color:inherit}h1,h2,h3,h4,h5{margin:0;font-family:'Poppins', sans-serif}h1{font-size:24px;margin-bottom:20px}h2{font-size:20px;margin-bottom:20px}h3{font-size:18px;margin-bottom:20px}p{font-size:10px}input{background:transparent;border:1px solid #dfe0e1;height:44px;width:100%;outline:0;border-radius:4px;padding:0 15px}input:not(:first-child){margin-top:5px}input.center{text-align:center}input:disabled{cursor:not-allowed}input:hover,input:focus{border:1px solid #0799ff}.or{position:relative;margin:20px 0}.or .text{font-size:12px;font-weight:bold;padding:0 20px;background:#fff;display:inline-block;color:#c8c8c8}.or:before{content:'';display:block;background:#dfe0e1;height:1px;position:absolute;top:8px;left:0;right:0;z-index:-1}.tooltip{z-index:10000;padding:5px 10px;background:#0799ff;color:#fff}.tooltip .left-start{margin-right:10px}.section-title{color:#c8c8c8;margin-bottom:20px;font-size:14px;font-weight:bold;color:#141616}.split-inputs{display:flex;align-items:center}@media (max-width: 600px){.split-inputs{flex-direction:column}}.split-inputs>section:not(:first-child),.split-inputs>button:not(:first-child){margin-left:10px}@media (max-width: 600px){.split-inputs>section:not(:first-child),.split-inputs>button:not(:first-child){margin-left:0}}.split-flex{display:flex;justify-content:space-between}.panel-switch{height:60px;width:100%;position:relative;display:flex;justify-content:center;align-items:center;transition:all 0.08s ease;transition-property:height;margin-bottom:20px}.panel-switch .button{height:38px;line-height:38px;font-weight:bold;color:#0799ff;font-size:16px;position:relative;cursor:pointer;transition:all 0.08s ease;transition-property:color, height, line-height;width:100%;text-align:center}.panel-switch .button:after{content:'';display:block;position:absolute;bottom:-11px;left:0;right:0;background:#0799ff;height:1px;z-index:2;opacity:0;transition:all 0.08s ease;transition-property:opacity}.panel-switch .button:hover{color:#7a7a7a}.panel-switch .button.active{color:black}.panel-switch .button.active:after{opacity:1}.panel-switch:after{content:'';display:block;position:absolute;left:0;right:0;bottom:0;border-bottom:2px solid rgba(0,0,0,0.08)}label{font-size:14px;color:#7899a6;font-weight:bold;margin-bottom:8px;display:flex}label span{flex:2}label span:nth-child(2){flex:1;cursor:pointer;text-align:right;text-decoration:underline}label span:nth-child(2):hover{color:#0799ff}label.error{color:#ff0707;animation:blink 1s ease infinite}.limit-width{max-width:1280px;margin:0 auto}.limit-800{max-width:800px;margin:0 auto}.center-panel{max-width:400px;margin:0 auto;text-align:center}.badge-item{display:flex;margin-bottom:10px;padding-bottom:10px}.badge-item .badge{background:#fff;width:60px;height:60px;border-radius:50%;box-shadow:0 1px 2px rgba(7,155,232,0.23),0 4px 6px rgba(7,155,232,0.23);display:flex;justify-content:center;align-items:center;font-size:16px;position:relative;color:#7a7a7a;border:0 solid transparent;margin-right:20px;transition:all 0.2s ease;transition-property:background, color, box-shadow, border}.badge-item .badge.small{font-size:13px}.badge-item .badge.iconed{font-size:36px}.badge-item .badge.iconed.small{width:40px;height:40px;font-size:24px}.badge-item .badge.unusable{background:#0799ff;color:#fff;border:3px solid #fff}.badge-item .badge .locked{position:absolute;font-size:18px;bottom:-8px;text-shadow:0 1px 2px rgba(0,0,0,0.2),0 1px 16px rgba(0,0,0,0.3),0 1px 2px rgba(7,155,232,0.23),0 3px 16px rgba(7,155,232,0.23)}.badge-item .details{flex:1;display:flex;flex-direction:column;justify-content:center}.badge-item .details .title{font-size:12px;font-weight:bold}.badge-item .details .row{display:flex;justify-content:space-between;margin-top:8px}.badge-item .details .row.long{flex-direction:column}.badge-item .details .row .primary{font-size:10px;font-weight:bold;margin-right:10px}.badge-item .details .row .secondary{font-size:10px;color:#7a7a7a;margin-right:10px}.badge-item .details .row .red{color:#ff0707;font-weight:bold;font-size:10px}.badge-item.hoverable{cursor:pointer;padding:10px 20px;margin-bottom:2px;display:flex;flex-direction:row;align-content:center;justify-content:center;align-items:center}.badge-item.hoverable:hover,.badge-item.hoverable.active{color:#0799ff}.badge-item.hoverable:hover .badge,.badge-item.hoverable.active .badge{background:#0799ff;color:#fff;border:0 solid transparent;box-shadow:inset 0 3px 2px rgba(0,0,0,0.1),0 0 0 transparent}.action-box{border:1px solid #dfe0e1;border-radius:4px;padding:20px}.action-box:not(:last-child){margin-bottom:20px}.action-box:last-child{margin-bottom:40px}.action-box p{font-size:10px}.greyback{padding:20px;background:#f3f6f7}.whiteback{flex:1;padding:20px}.type-selector .types{display:flex}.type-selector .types .type{width:160px;border-radius:4px;display:flex;flex-direction:column;justify-content:center;margin:0 20px;cursor:pointer;border:1px solid #dfe0e1;padding:30px 0}.type-selector .types .type .type-icon{font-size:64px;display:flex;align-items:center;justify-content:center}.type-selector .types .type .type-icon svg{width:64px}.type-selector .types .type .type-icon img{width:64px}.type-selector .types .type .type-text{margin-top:20px;font-size:14px;font-weight:bold;padding:0 20px}.type-selector .types .type .type-desc{margin-top:10px;font-size:9px;font-weight:bold;padding:0 20px}.type-selector .types .type:hover{background:#0799ff;color:#fff}.type-selector .types .type.disabled{background:#f7fafb;color:#dfe0e1;cursor:not-allowed}.type-selector .types .type.disabled .type-icon{color:#7a7a7a}.type-selector .types .type.disabled .type-icon svg{fill:#dfe0e1}.mobile .type-selector .types{flex-direction:column}.mobile .type-selector .types .type{width:100%;margin:0 0 20px 0;flex-direction:row;align-items:center;text-align:left;padding:10px 0}.mobile .type-selector .types .type .type-icon{font-size:22px;width:40px}.mobile .type-selector .types .type .type-text{margin:0;flex:1}.key-val figure:first-child{font-size:11px;color:#7899a6;font-weight:bold;margin-bottom:8px;display:block}.key-val figure.clickable{cursor:pointer;font-size:13px;color:#0799ff;padding:8px 12px;border:1px solid #0799ff;margin-top:4px;margin-bottom:2px;display:table}.key-val figure.clickable:hover{background:#0799ff;color:#fff}.actions{display:flex;padding-right:10px;position:relative}.actions .action-menu{position:absolute;z-index:2;top:40px;right:10px;border-radius:4px;min-width:150px;background:#fff;border:1px solid #dfe0e1;box-shadow:0 1px 2px rgba(7,155,232,0.23),0 4px 12px rgba(7,155,232,0.23);padding:5px 0}.actions .action-menu.hidden{display:none}.actions .action-menu .item{cursor:pointer;font-size:10px;padding:8px 15px}.actions .action-menu .item:hover{background:rgba(0,0,0,0.02)}.actions .action-menu .item.disabled{opacity:0.2}.actions .action{padding:10px;border-radius:4px;cursor:pointer}.actions .action:hover{background:#f3f6f7}.actions .action.hardware{cursor:not-allowed}\n",""])},"jw/E":function(t,e,a){"use strict";var i=a("zDUF");a.n(i).a},kAjX:function(t,e,a){var i=a("7oO4");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("8f6cf804",i,!0,{})},kPM7:function(t,e,a){"use strict";var i=a("g9N2");a.n(i).a},kh1F:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"@keyframes slowbounce{0%,100%{transform:translateY(0px)}50%{transform:translateY(-4px)}}@keyframes pulsate{0%,100%{transform:scale(1)}50%{transform:scale(1.2)}}@keyframes zoom{0%{transform:scale(1)}100%{transform:scale(1.1)}}.spin,.animate-spin{animation:spin 0.65s linear infinite}@keyframes spin{0%{transform:rotateZ(0deg)}100%{transform:rotateZ(360deg)}}.bounce-right{animation:bounce-right 1s ease infinite}@keyframes bounce-right{0%,100%{transform:translateX(-2px)}50%{transform:translateX(2px)}}@keyframes fadein{0%{opacity:0}100%{opacity:1}}@keyframes inFromTop{0%{transform:translateY(-1000px)}70%{transform:translateY(10px)}100%{transform:translateY(0)}}@keyframes inFromBottom{0%{transform:translateY(1000px)}70%{transform:translateY(-10px)}100%{transform:translateY(0)}}.fade-enter,.fade-leave-to{opacity:0}.animated-gradient{background:repeating-linear-gradient(to right, #f3f6f7 0%, #f8fbfc 50%, #f3f6f7 100%);width:100%;background-size:200% auto;background-position:0 100%;animation:gradient 2s infinite;animation-fill-mode:forwards;animation-timing-function:linear}.animated-gradient.blue{background:repeating-linear-gradient(to right, #0799ff 0%, #39b4ff 50%, #0799ff 100%)}@keyframes gradient{0%{background-position:0 0}100%{background-position:-200% 0}}.meteors .shooting_star{position:absolute;left:50%;top:50%;height:4px;background:linear-gradient(-45deg, #fff, rgba(0,0,255,0));border-radius:999px;filter:drop-shadow(0 0 6px #fff)}.meteors .shooting_star::before,.meteors .shooting_star::after{content:'';position:absolute;top:calc(50% - 1px);right:0;height:2px;background:linear-gradient(-45deg, rgba(0,0,255,0), #fff, rgba(0,0,255,0));transform:translateX(50%) rotateZ(45deg);box-shadow:0 0 10px #fff;border-radius:100%;animation:shining 25s ease-in-out infinite}.meteors .shooting_star::after{transform:translateX(50%) rotateZ(-45deg)}.meteors .shooting_star:nth-child(1){top:calc(20% - -114px);left:calc(1px);animation-delay:3743ms;opacity:.49;animation:tail 50s ease-in-out infinite,shooting 50s ease-in-out infinite}.meteors .shooting_star:nth-child(1)::before,.meteors .shooting_star:nth-child(1)::after,.meteors .shooting_star:nth-child(1)::after{animation-delay:3743ms}.meteors .shooting_star:nth-child(2){top:calc(20% - 963px);left:calc(1px);animation-delay:5779ms;opacity:.37;animation:tail 95s ease-in-out infinite,shooting 95s ease-in-out infinite}.meteors .shooting_star:nth-child(2)::before,.meteors .shooting_star:nth-child(2)::after,.meteors .shooting_star:nth-child(2)::after{animation-delay:5779ms}.meteors .shooting_star:nth-child(3){top:calc(20% - -47px);left:calc(1px);animation-delay:6672ms;opacity:.41;animation:tail 61s ease-in-out infinite,shooting 61s ease-in-out infinite}.meteors .shooting_star:nth-child(3)::before,.meteors .shooting_star:nth-child(3)::after,.meteors .shooting_star:nth-child(3)::after{animation-delay:6672ms}.meteors .shooting_star:nth-child(4){top:calc(20% - 1089px);left:calc(1px);animation-delay:809ms;opacity:.29;animation:tail 77s ease-in-out infinite,shooting 77s ease-in-out infinite}.meteors .shooting_star:nth-child(4)::before,.meteors .shooting_star:nth-child(4)::after,.meteors .shooting_star:nth-child(4)::after{animation-delay:809ms}.meteors .shooting_star:nth-child(5){top:calc(20% - -647px);left:calc(1px);animation-delay:7771ms;opacity:.31;animation:tail 57s ease-in-out infinite,shooting 57s ease-in-out infinite}.meteors .shooting_star:nth-child(5)::before,.meteors .shooting_star:nth-child(5)::after,.meteors .shooting_star:nth-child(5)::after{animation-delay:7771ms}.meteors .shooting_star:nth-child(6){top:calc(20% - -426px);left:calc(1px);animation-delay:1057ms;opacity:.18;animation:tail 97s ease-in-out infinite,shooting 97s ease-in-out infinite}.meteors .shooting_star:nth-child(6)::before,.meteors .shooting_star:nth-child(6)::after,.meteors .shooting_star:nth-child(6)::after{animation-delay:1057ms}.meteors .shooting_star:nth-child(7){top:calc(20% - -178px);left:calc(1px);animation-delay:8833ms;opacity:.44;animation:tail 74s ease-in-out infinite,shooting 74s ease-in-out infinite}.meteors .shooting_star:nth-child(7)::before,.meteors .shooting_star:nth-child(7)::after,.meteors .shooting_star:nth-child(7)::after{animation-delay:8833ms}.meteors .shooting_star:nth-child(8){top:calc(20% - -420px);left:calc(1px);animation-delay:4115ms;opacity:.24;animation:tail 46s ease-in-out infinite,shooting 46s ease-in-out infinite}.meteors .shooting_star:nth-child(8)::before,.meteors .shooting_star:nth-child(8)::after,.meteors .shooting_star:nth-child(8)::after{animation-delay:4115ms}.meteors .shooting_star:nth-child(9){top:calc(20% - 658px);left:calc(1px);animation-delay:3582ms;opacity:.39;animation:tail 46s ease-in-out infinite,shooting 46s ease-in-out infinite}.meteors .shooting_star:nth-child(9)::before,.meteors .shooting_star:nth-child(9)::after,.meteors .shooting_star:nth-child(9)::after{animation-delay:3582ms}.meteors .shooting_star:nth-child(10){top:calc(20% - -230px);left:calc(1px);animation-delay:510ms;opacity:.6;animation:tail 102s ease-in-out infinite,shooting 102s ease-in-out infinite}.meteors .shooting_star:nth-child(10)::before,.meteors .shooting_star:nth-child(10)::after,.meteors .shooting_star:nth-child(10)::after{animation-delay:510ms}.meteors .shooting_star:nth-child(11){top:calc(20% - -215px);left:calc(1px);animation-delay:8665ms;opacity:.21;animation:tail 53s ease-in-out infinite,shooting 53s ease-in-out infinite}.meteors .shooting_star:nth-child(11)::before,.meteors .shooting_star:nth-child(11)::after,.meteors .shooting_star:nth-child(11)::after{animation-delay:8665ms}.meteors .shooting_star:nth-child(12){top:calc(20% - 1047px);left:calc(1px);animation-delay:5498ms;opacity:.38;animation:tail 82s ease-in-out infinite,shooting 82s ease-in-out infinite}.meteors .shooting_star:nth-child(12)::before,.meteors .shooting_star:nth-child(12)::after,.meteors .shooting_star:nth-child(12)::after{animation-delay:5498ms}.meteors .shooting_star:nth-child(13){top:calc(20% - 257px);left:calc(1px);animation-delay:6806ms;opacity:.21;animation:tail 45s ease-in-out infinite,shooting 45s ease-in-out infinite}.meteors .shooting_star:nth-child(13)::before,.meteors .shooting_star:nth-child(13)::after,.meteors .shooting_star:nth-child(13)::after{animation-delay:6806ms}.meteors .shooting_star:nth-child(14){top:calc(20% - -298px);left:calc(1px);animation-delay:7283ms;opacity:.5;animation:tail 47s ease-in-out infinite,shooting 47s ease-in-out infinite}.meteors .shooting_star:nth-child(14)::before,.meteors .shooting_star:nth-child(14)::after,.meteors .shooting_star:nth-child(14)::after{animation-delay:7283ms}.meteors .shooting_star:nth-child(15){top:calc(20% - -478px);left:calc(1px);animation-delay:9688ms;opacity:.55;animation:tail 95s ease-in-out infinite,shooting 95s ease-in-out infinite}.meteors .shooting_star:nth-child(15)::before,.meteors .shooting_star:nth-child(15)::after,.meteors .shooting_star:nth-child(15)::after{animation-delay:9688ms}.meteors .shooting_star:nth-child(16){top:calc(20% - -354px);left:calc(1px);animation-delay:9785ms;opacity:.4;animation:tail 36s ease-in-out infinite,shooting 36s ease-in-out infinite}.meteors .shooting_star:nth-child(16)::before,.meteors .shooting_star:nth-child(16)::after,.meteors .shooting_star:nth-child(16)::after{animation-delay:9785ms}.meteors .shooting_star:nth-child(17){top:calc(20% - 481px);left:calc(1px);animation-delay:6048ms;opacity:.51;animation:tail 73s ease-in-out infinite,shooting 73s ease-in-out infinite}.meteors .shooting_star:nth-child(17)::before,.meteors .shooting_star:nth-child(17)::after,.meteors .shooting_star:nth-child(17)::after{animation-delay:6048ms}.meteors .shooting_star:nth-child(18){top:calc(20% - 484px);left:calc(1px);animation-delay:5818ms;opacity:.56;animation:tail 61s ease-in-out infinite,shooting 61s ease-in-out infinite}.meteors .shooting_star:nth-child(18)::before,.meteors .shooting_star:nth-child(18)::after,.meteors .shooting_star:nth-child(18)::after{animation-delay:5818ms}.meteors .shooting_star:nth-child(19){top:calc(20% - 1118px);left:calc(1px);animation-delay:9688ms;opacity:.53;animation:tail 51s ease-in-out infinite,shooting 51s ease-in-out infinite}.meteors .shooting_star:nth-child(19)::before,.meteors .shooting_star:nth-child(19)::after,.meteors .shooting_star:nth-child(19)::after{animation-delay:9688ms}.meteors .shooting_star:nth-child(20){top:calc(20% - 577px);left:calc(1px);animation-delay:9222ms;opacity:.47;animation:tail 79s ease-in-out infinite,shooting 79s ease-in-out infinite}.meteors .shooting_star:nth-child(20)::before,.meteors .shooting_star:nth-child(20)::after,.meteors .shooting_star:nth-child(20)::after{animation-delay:9222ms}@keyframes tail{0%{width:0}30%{width:200px}70%{width:500px}100%{width:0}}@keyframes shining{0%{width:0}50%{width:5px}100%{width:0}}@keyframes shooting{0%{transform:translateX(-200px)}100%{transform:translateX(8000px)}}\n",""])},kiQV:function(t){t.exports=JSON.parse('{"name":"scatter-embed","version":"12.0.0","private":true,"buttonText":"Scatter Desktop Embed","author":{"name":"GetScatter","email":"support@get-scatter.com","url":"https://get-scatter.com/"},"scripts":{"build":"webpack -p --mode=production --progress --config build/webpack.config.prod.js","watch":"webpack -p --mode=production --progress --config build/webpack.config.dev.js --watch","server":"http-server ./dist -p 8081 -d -i -g -P --cors=\'*\' -c-1","prod":"concurrently \\"npm run watch\\" \\"npm run server\\"","dev":"webpack-dev-server --port 8081 --inline --progress --mode=development --config build/webpack.config.dev.js","start":"npm run dev","testfile":"mocha --require test/babel --exit --timeout 1000000","test":"npm run testfile \\"test/**/*.spec.js\\" --timeout 1000000","walletpack":"yarn add @walletpack/core @walletpack/eosio @walletpack/bitcoin @walletpack/tron @walletpack/ethereum","langs":"node src/localization/check.js"},"dependencies":{"@babel/runtime":"^7.5.4","@walletpack/bitcoin":"^1.0.35","@walletpack/core":"^1.0.32","@walletpack/eosio":"^0.0.41","@walletpack/ethereum":"^0.0.38","@walletpack/tron":"^0.0.41","aes-oop":"^1.0.4","babel-polyfill":"^6.26.0","chartist":"^0.11.0","json-formatter-js":"^2.2.1","murmurhash":"^0.0.2","ridl":"^2.0.47","vconsole":"^3.3.4","vue-i18n":"^8.15.0","vue-markdown":"^2.2.4"},"devDependencies":{"@babel/core":"^7.5.4","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-runtime":"^7.5.0","@babel/preset-env":"^7.5.4","@fortawesome/fontawesome-pro":"^5.11.2","autoprefixer":"^9.5.1","babel-loader":"^8.0.6","brotli-webpack-plugin":"^1.1.0","chai":"^4.2.0","chalk":"^2.0.1","child_process":"^1.0.2","compression-webpack-plugin":"^1.1.12","concurrently":"^5.0.0","copy-webpack-plugin":"^4.0.1","copyfiles":"^2.1.0","cross-env":"^5.2.0","cross-spawn":"^5.0.1","css-loader":"^3.0.0","dotenv-webpack":"^1.7.0","eosjs-ecc":"^4.0.4","extract-text-webpack-plugin":"^3.0.0","file-loader":"^1.1.4","friendly-errors-webpack-plugin":"^1.6.1","html-webpack-plugin":"^3.2.0","inject-loader":"^3.0.0","jsdom":"^13.0.0","jsdom-global":"^3.0.2","mini-css-extract-plugin":"^0.8.0","mocha":"^6.1.4","mocha-jsdom":"^2.0.0","node-sass":"^4.12.0","ora":"^1.2.0","postcss-import":"^11.0.0","postcss-loader":"^2.1.6","postcss-url":"^7.2.1","rimraf":"^2.6.0","sass-loader":"^7.1.0","secp256k1":"^3.6.2","semver":"^5.5.1","sha3":"^2.0.2","shelljs":"^0.7.6","sinon":"^4.0.0","sinon-chai":"^2.8.0","spectron":"^5.0.0","terser-webpack-plugin":"^2.1.2","typeface-grand-hotel":"0.0.54","typeface-roboto":"0.0.54","uglifyjs-webpack-plugin":"^1.3.0","url-loader":"^1.1.2","v-tooltip":"^2.0.0-rc.33","vue":"^2.6.10","vue-loader":"^15.7.0","vue-qrcode-reader":"^2.1.1","vue-router":"^3.0.1","vue-style-loader":"^4.1.2","vue-template-compiler":"^2.6.10","vue-tour":"^1.0.1","vuex":"^3.0.1","web3":"^1.0.0-beta.55","webpack":"^4.35.3","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.5","webpack-dev-server":"^3.7.2","webpack-merge":"^4.1.4","webpack-node-externals":"^1.7.2","webpack-shell-plugin":"^0.5.0"},"resolutions":{"**/lodash":"^4.13.1","**/mixin-deep":"^2.0.1","**/set-value":"^3.0.1"},"browserslist":["> 1%","last 2 versions","not ie <= 8"],"bugs":{"url":"https://github.com/GetScatter/ScatterDesktop/issues"},"homepage":"https://get-scatter.com","keywords":["scatter","blockchain","signatures","eos","ethereum"],"license":"MIT","main":"electron.js","repository":{"type":"git","url":"git+https://github.com/GetScatter/ScatterDesktop.git"}}')},kp35:function(t,e,a){"use strict";var i=a("S1M4");a.n(i).a},lAtx:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".keys-and-accounts-list[data-v-7b839707]{overflow-y:auto;height:calc(100vh - 160px)}.mobile .keys-and-accounts-list[data-v-7b839707]{height:100vh}\n",""])},lUoz:function(t,e,a){"use strict";var i=a("+c7U");a.n(i).a},mNQy:function(t,e,a){"use strict";var i=a("5Bwr");a.n(i).a},n8wf:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".button[data-v-1cde2c0f]{height:80px;width:320px;display:flex;flex-direction:column;padding:0 20px;align-items:center;justify-content:center;border-radius:4px;cursor:pointer}.button .title[data-v-1cde2c0f]{font-size:12px;font-weight:bold}.button .description[data-v-1cde2c0f]{font-size:10px}.button.primary[data-v-1cde2c0f]{color:#0799ff;background:#fff}.button[data-v-1cde2c0f]:not(.primary){color:#fff;background:transparent;border:1px solid #dfe0e1}.button[data-v-1cde2c0f]:not(:first-child){margin-top:10px}.button.on-white.primary[data-v-1cde2c0f]{color:#fff;background:#0799ff}.button.on-white[data-v-1cde2c0f]:not(.primary){color:#0799ff;background:transparent;border:1px solid #dfe0e1}\n",""])},nRmO:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".snackbar[data-v-5470ced6]{cursor:pointer;pointer-events:auto;display:inline-block;margin-top:10px;color:white;padding:10px 0;border-radius:4px;text-align:left;background:#0799ff;border:1px solid #0888f2}.snackbar .message[data-v-5470ced6]{vertical-align:middle;display:inline-block;color:white;font-size:13px;font-weight:bold;padding:0 20px}\n",""])},nhfG:function(t,e,a){var i=a("ZEQH");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("29efd71a",i,!0,{})},nsxS:function(t,e,a){var i=a("qGh/");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("ed79c656",i,!0,{})},okcj:function(t,e,a){var i=a("4AMT");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("52fc8867",i,!0,{})},olCv:function(t,e,a){"use strict";var i={props:["primary","title","description","onWhite"]},n=(a("qOW6"),a("KHd+")),s=Object(n.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"button",class:{primary:t.primary,"on-white":t.onWhite}},[a("figure",{staticClass:"title"},[t._v(t._s(t.title))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(t.description))])])}),[],!1,null,"1cde2c0f",null);e.a=s.exports},"p+uB":function(t,e,a){var i=a("Jv5P");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("75eb0d25",i,!0,{})},peeo:function(t,e,a){var i=a("TK0L");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("50ca7186",i,!0,{})},pxeo:function(t,e,a){var i=a("9Pt/");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("3b89b324",i,!0,{})},"q+A3":function(t,e,a){"use strict";a.d(e,"q",(function(){return i})),a.d(e,"e",(function(){return n})),a.d(e,"f",(function(){return s})),a.d(e,"y",(function(){return o})),a.d(e,"k",(function(){return r})),a.d(e,"x",(function(){return c})),a.d(e,"a",(function(){return l})),a.d(e,"c",(function(){return p})),a.d(e,"p",(function(){return d})),a.d(e,"j",(function(){return u})),a.d(e,"v",(function(){return h})),a.d(e,"r",(function(){return f})),a.d(e,"i",(function(){return b})),a.d(e,"b",(function(){return m})),a.d(e,"s",(function(){return g})),a.d(e,"g",(function(){return y})),a.d(e,"t",(function(){return x})),a.d(e,"m",(function(){return v})),a.d(e,"h",(function(){return k})),a.d(e,"w",(function(){return w})),a.d(e,"l",(function(){return _})),a.d(e,"d",(function(){return C})),a.d(e,"u",(function(){return T})),a.d(e,"n",(function(){return S})),a.d(e,"o",(function(){return E}));const i="setPopout",n="pushPopup",s="releasePopup",o="setWorkingScreen",r="setFeaturedApps",c="setTokenMetas",l="createScatter",p="loadLanguage",d="setLanguage",u="setAppRep",h="setSidebar",f="setPorts",b="SET_ACTION_REP",m="HIDE_BACK_BTN",g="SET_PROCESS",y="RELEASE_PROCESS",x="SET_SEARCH_TERMS",v="SET_HARDWARE",k="REMOVE_HARDWARE",w="SET_TOKENS",_="SET_FULL_BALANCES",C="NEW_KEY",T="SET_SEED",S="setIsMobile",E="setIsMobileDevice"},q2ph:function(t,e,a){"use strict";var i=a("5wC5");a.n(i).a},q4Ju:function(t,e,a){"use strict";var i=a("KHd+"),n=Object(i.a)({},(function(){var t=this.$createElement;return(this._self._c||t)("img",{attrs:{src:"static/assets/icon_exchange.png"}})}),[],!1,null,null,null);e.a=n.exports},qBPt:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".pop-over[data-v-0f72e0d5]{overflow:visible}.prompt[data-v-0f72e0d5]{max-width:600px;padding:30px;display:flex;flex-direction:column;justify-content:center;align-items:center}.prompt .title[data-v-0f72e0d5]{font-size:14px;font-weight:bold}.prompt .description[data-v-0f72e0d5]{margin-top:4px;font-size:10px}.prompt .input[data-v-0f72e0d5]{margin:30px 0 0 0}.prompt .actions[data-v-0f72e0d5]{margin-top:20px;display:flex;justify-content:space-between;width:100%}\n",""])},"qGh/":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"button[data-v-29c1ada2]{display:inline-block;padding:10px 14px;background-color:#d3edff;border:1px solid #d3edff;border-radius:4px;text-transform:uppercase;color:#0799ff;text-decoration:none;position:relative;overflow:hidden;font-family:'Poppins', sans-serif;font-weight:bold;font-size:13px;transition:background-color 0.12s ease-in-out;cursor:pointer;outline:0}@media (max-width: 600px){button[data-v-29c1ada2]{padding:8px 10px;font-size:12px}}button.button-text[data-v-29c1ada2]{background:transparent !important;box-shadow:none !important;padding-right:1rem;position:relative}button.button-small[data-v-29c1ada2]{padding:.34rem .6rem !important;font-size:1rem}button.white[data-v-29c1ada2]{color:#0799ff;background-color:#f2f2f2;border-color:#fff;box-shadow:none}button.white[data-v-29c1ada2]:hover{color:#008bed;border-color:#ebebeb;background-color:#ebebeb}button[data-v-29c1ada2]:hover{color:white;background-color:#008bed}button.blue[data-v-29c1ada2]{background:#0799ff;color:#fff;border:1px solid #0888f2}button.red[data-v-29c1ada2]{background:#ff0707;color:#fff;border:0}button.big[data-v-29c1ada2]{padding:6px 18px;font-size:14px}button.small[data-v-29c1ada2]{padding:4px 6px;font-size:10px}button.icon[data-v-29c1ada2]{padding:0 8px}button .loading[data-v-29c1ada2]{margin-right:10px;display:inline-block}button[data-v-29c1ada2]:disabled{opacity:0.6;cursor:not-allowed}\n",""])},qOW6:function(t,e,a){"use strict";var i=a("dk5y");a.n(i).a},qjCw:function(t,e,a){"use strict";var i=a("CcTw");a.n(i).a},"r/Ez":function(t,e,a){var i=a("r9d7");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("4b5a30e2",i,!0,{})},r9d7:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"",""])},rHTK:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".key-details[data-v-e4534040]{width:500px;margin-top:40px}\n",""])},rLhf:function(t,e,a){var i=a("ra9/");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("6c46bb1c",i,!0,{})},rRTS:function(t,e,a){"use strict";var i=a("UVSg");a.n(i).a},"ra9/":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".no-graph[data-v-034f2156]{width:100%;height:180px;background:white;color:rgba(0,0,0,0.32);display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:bold}.token-graph[data-v-034f2156]{height:180px;width:100%;position:relative;background:white}.token-graph .tip[data-v-034f2156]{position:absolute;top:5px;right:5px;display:flex;justify-content:center;align-items:center}.token-graph .tip div[data-v-034f2156]{font-size:13px;font-family:'Poppins', sans-serif;font-weight:bold;margin:10px 20px}.token-graph .chart[data-v-034f2156]{height:180px;width:100%}\n",""])},rt1w:function(t,e,a){"use strict";var i=a("L2JU"),n=a("uki+"),s=a.n(n),o=a("TmN8"),r=a.n(o),c=a("upjY"),l=a("X1bV");a("FxcG");var p={props:["balances"],data:()=>({chart:null,graphValue:null,hasValues:!1,loading:!1}),computed:{...Object(i.d)(["prices","priceData"]),...Object(i.c)(["displayCurrency"])},mounted(){this.init()},methods:{async init(){this.priceData&&this.priceData.hasOwnProperty("prices")?await this.setupGraph():this.loading=!0,await r.a.loadPriceTimelineData(),this.loading=!1,this.setupGraph()},async setupGraph(){this.hasValues=!0;try{const t=[];let e=l.a.getTokensTotaled();const a=(()=>{if(2!==this.balances.length)return!1;const t=this.balances[0].uniqueWithChain();return this.balances.every(e=>e.uniqueWithChain(!1)===t)})();e.map(({hour:e,data:i,date:n},s)=>{let o;if([n,e]=Object(c.utcToLocal)(n,e),1===this.balances.length||a){let t=this.balances[0].uniqueWithChain(!1);if(!this.prices[t])return;o=i[t]/this.prices[t].USD*this.prices[t][this.displayCurrency]}else o=this.balances.reduce((t,e)=>{const a=i[e.uniqueWithChain()];if(!a)return t;const n=parseFloat(e.fiatBalance(!1,a*this.priceData.prices[this.displayCurrency]));return isNaN(n)?t:t+=n},0);t.push({value:o,meta:`${n} ${`${e}:00`}`})});const i={showArea:!0,showPoint:!0,lineSmooth:!0,chartPadding:{top:50,right:-20,bottom:-20,left:0},fullWidth:!0,axisX:{showGrid:!0,showLabel:!0},axisY:{showGrid:!0,scaleMinSpace:0,showLabel:!1,offset:0,position:"start",labelInterpolationFnc:t=>this.formatNumber(t,t<1e5)}};this.$nextTick(()=>{this.chart?this.chart.update({series:[t]}):(this.chart=new s.a.Line(".chart",{series:[t]},i),this.chart.on("draw",t=>{const e=(e=!0)=>{let a=parseFloat(t.value.y);1!==this.balances.length&&(a=a.toFixed(2)),this.graphValue=e?`${t.meta} -- ${this.formatNumber(a,!0)}`:null};"point"===t.type&&(t.element._node.addEventListener("mouseenter",t=>e()),t.element._node.addEventListener("mouseleave",t=>e(!1)))}),this.chart.on("created",t=>{t.svg.elem("defs").elem("linearGradient",{id:"gradient",x1:0,y1:1,x2:0,y2:0}).elem("stop",{offset:0,"stop-color":"rgba(7,153,255, 0)"}).parent().elem("stop",{offset:.5,"stop-color":"rgba(7,153,255, 1)"})})),this.hasValues=!!t.length})}catch(t){console.error("err",t)}}},watch:{balances(){this.setupGraph()}}},d=(a("ioPV"),a("KHd+")),u=Object(d.a)(p,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"token-graph"},[t.graphValue?a("section",{staticClass:"tip"},[a("div",[t._v(t._s(t.graphValue))])]):t._e(),t._v(" "),a("section",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}],staticClass:"no-graph"},[a("i",{staticClass:"icon-spin4 animate-spin"})]),t._v(" "),a("section",{directives:[{name:"show",rawName:"v-show",value:!t.loading,expression:"!loading"}]},[a("section",{directives:[{name:"show",rawName:"v-show",value:t.hasValues,expression:"hasValues"}],staticClass:"chart"}),t._v(" "),t.hasValues?t._e():a("section",{staticClass:"no-graph"},[t._v("No Price Data")])])])}),[],!1,null,"034f2156",null);e.a=u.exports},sAA5:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".percentage-bar[data-v-10792ff6]{width:100%;margin:20px 0 0;position:relative}.percentage-bar input[data-v-10792ff6]{-webkit-appearance:none;appearance:none;cursor:pointer;width:100%;background:transparent;height:14px;outline:none;border-radius:50px;position:absolute;top:0;bottom:0;left:0;right:0}.percentage-bar input[data-v-10792ff6]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:24px;height:24px;background:#0799ff;cursor:pointer;margin-top:-2px;border:3px solid #fff;box-shadow:0 2px 10px rgba(0,0,0,0.2),0 1px 4px rgba(0,0,0,0.2);border-radius:50px;padding:3px;transition:all 0.2s ease;transition-property:background}.percentage-bar input[data-v-10792ff6]::-moz-range-thumb{-webkit-appearance:none;appearance:none;width:24px;height:24px;background:#0799ff;cursor:pointer;margin-top:-2px;border:3px solid #fff;box-shadow:0 2px 10px rgba(0,0,0,0.2),0 1px 4px rgba(0,0,0,0.2);border-radius:50px;padding:3px;transition:all 0.2s ease;transition-property:background}.percentage-bar input.red[data-v-10792ff6]::-webkit-slider-thumb{background:#ff0707}.percentage-bar input.red[data-v-10792ff6]::-moz-range-thumb{background:#ff0707}\n",""])},sDjF:function(t,e,a){"use strict";a.d(e,"a",(function(){return w}));var i=a("qjwK"),n=a("5lq1"),s=a.n(n),o=a("TmN8"),r=a.n(o),c=a("eOAV"),l=a.n(c),p=a("btL5"),d=a.n(p),u=a("x0xh"),h=a.n(u),f=a("IMve"),b=a.n(f),m=a("F+MN"),g=a("3CN7"),y=a("B6RA"),x=a("q+A3"),v=a("MPB0");let k=!1;class w{static async init(){return!!k||(k=!0,setTimeout(async()=>{d.a.initialize(),b.a.plugin(m.Blockchains.TRX).init(),y.a.dispatch(i.LOAD_HISTORY),y.a.dispatch(x.x,await Object(v.GET)("tokenmeta")),h.a.getApps(),r.a.watchPrices(),r.a.loadPriceTimelineData(),l.a.removeDanglingPermissions(),s.a.fixOrphanedAccounts(),g.a.checkProxies()}),!0)}}},sKqk:function(t,e,a){"use strict";var i=a("nhfG");a.n(i).a},sVZK:function(t,e,a){var i=a("7W4K");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("7987b438",i,!0,{})},sgi4:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".select-token{width:100%}@media (max-width: 920px){.select-token{width:100%}}.select-token .scroller{width:100%;height:calc(100vh - 40px - 100px);overflow-y:hidden;display:flex;flex-direction:row}@media (max-width: 920px){.select-token .scroller{min-width:100%;flex-direction:column;overflow-y:scroll}}.select-token .scroller .scroller-category{width:50%}@media (max-width: 920px){.select-token .scroller .scroller-category{width:100%}}.select-token .scroller .token-list{height:100%;width:100%;padding:0rem;border-radius:0;border-right:1px solid #dfe0e1;background:white}.select-token .scroller .token-list .tokens{max-height:calc(100vh - 220px);overflow:auto}\n",""])},tDqv:function(t,e,a){var i=a("UwEJ");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("2cd519f0",i,!0,{})},tQXa:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".panel-container[data-v-7a95109a]{overflow:auto;height:calc(100vh - 240px)}.auto-vote[data-v-7a95109a]{max-width:600px;margin:0 auto;display:flex}.auto-vote .details[data-v-7a95109a]{padding-left:20px}.list[data-v-7a95109a]{max-width:700px;margin:0 auto;width:100%;text-align:left}\n",""])},uP9j:function(t,e,a){"use strict";var i=a("Gx2v");a.n(i).a},ufBS:function(t,e,a){"use strict";var i=a("REL+");a.n(i).a},upnx:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".pop-over{background:#fff;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,0.2),0 8px 25px rgba(0,0,0,0.2);position:relative;overflow:hidden;width:100%;max-height:calc(100vh - 40px)}@media (max-width: 600px){.pop-over{position:absolute;top:0;left:0;right:0;bottom:0;border-radius:0;max-height:none}}.pop-over .scroller{height:calc(100vh - 40px - 100px - 70px);overflow-y:scroll}.total-height{height:100%}.pop-ins{position:absolute;top:0;bottom:0;left:0;right:0}.pop-ins .pop-in{display:flex;justify-content:center;align-items:center;height:calc(100vh - 0px);text-align:center;width:100%;border-left:1px solid #dfe0e1;border-right:1px solid #dfe0e1}@media (max-width: 600px){.pop-ins .pop-in{overflow-y:auto;overflow-x:hidden;height:calc(100vh - 70px);position:fixed;top:0;left:0;right:0;bottom:70px;padding:40px 20px}}.pop-ins .pop-in .icon{width:120px;height:120px;margin:0 auto;margin-bottom:30px;margin-top:-50px}@media (max-width: 600px){.pop-ins .pop-in .icon{margin-top:0px}}.pop-ins .pop-in .icon.font{width:90px;height:90px;font-size:48px;box-shadow:0 1px 2px rgba(7,155,232,0.23),0 8px 20px rgba(7,155,232,0.23);border-radius:50%;display:flex;justify-content:center;align-items:center;color:#0799ff;margin-bottom:20px}.pop-ins .pop-in .title{font-size:24px;font-weight:bold;margin-bottom:10px}.pop-ins .pop-in .subtitle{font-size:10px;color:#7a7a7a}.pop-ins .pop-in .disclaimer{border:1px solid #ffbaba;background-color:#ffeded;padding:20px;border-radius:4px;max-width:300px;margin:0 auto;margin-top:40px}.pop-ins .pop-in .disclaimer .title{font-size:16px;color:#ff0707}.pop-ins .pop-in .disclaimer .description{font-size:13px}\n",""])},vSR9:function(t,e,a){"use strict";var i=a("N9uu");a.n(i).a},viIO:function(t,e,a){"use strict";var i=a("w4xh");a.n(i).a},vqpY:function(t,e,a){var i=a("Z145");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("7d68037c",i,!0,{})},vxug:function(t,e,a){"use strict";var i=a("8CsC");a.n(i).a},vztf:function(t,e,a){var i=a("7dXh");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("9f0a2610",i,!0,{})},w4xh:function(t,e,a){var i=a("nRmO");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("611ede0a",i,!0,{})},w88H:function(t,e,a){"use strict";(function(t){a.d(e,"a",(function(){return d}));var i=a("SDtL"),n=a.n(i),s=a("btL5"),o=a("Z4q2"),r=a.n(o),c=a("q+A3"),l=a("B6RA"),p=a("5lvq");class d{static setup(){d.checkMobileWallet(),window.wallet.socketResponse=t=>{switch("string"==typeof t&&(t=JSON.parse(t)),t.type){case"ext_api":return r.a.handler(t.request);case"api":return s.handleApiResponse(t.request,t.id);case"pair":return s.handlePairedResponse(t.request,t.id);case"ports":return l.a.dispatch(c.r,t.ports);default:return}},window.wallet.popout=t=>{l.a.dispatch(c.q,t)}}static checkMobileWallet(){if(void 0!==window.ReactNativeWebView||void 0!==window.PopOutWebView){const e=t=>{t&&"string"==typeof t&&t.indexOf("{")>-1&&(t=JSON.parse(t))};void 0===window.ReactNativeWebView&&(window.ReactNativeWebView={postMessage:()=>{}});let i={};window.ReactNativeWebView.response=({id:t,result:a})=>{e(a),i[t](a),delete i[t]};const s=(t,e,a)=>"then"===a?(t?e[t]:e).then.bind(e):"socketResponse"===a?(t?e[t]:e)[a]:(...e)=>new Promise(async s=>{const o=n.a.text(24);i[o]=s,window.ReactNativeWebView.postMessage(JSON.stringify({id:o,prop:t,key:a,params:e}))}),o=t=>new Proxy({},{get:(e,a)=>s(t,e,a)});window.wallet=new Proxy({storage:o("storage"),utility:o("utility"),sockets:o("sockets"),biometrics:o("biometrics")},{get:(t,e)=>["storage","utility","sockets","biometrics"].includes(e)?t[e]:s(null,t,e)}),window.ReactNativeWebView.mobileEncrypt=({id:t,data:a,key:i})=>(e(a),window.ReactNativeWebView.postMessage(JSON.stringify({type:"mobile_response",id:t,result:p.AES.encrypt(a,i)})),!0),window.ReactNativeWebView.mobileDecrypt=({id:t,data:a,key:i})=>(e(a),window.ReactNativeWebView.postMessage(JSON.stringify({type:"mobile_response",id:t,result:p.AES.decrypt(a,i)})),!0);const r=a("w+eT").default;window.ReactNativeWebView.seedPassword=async({id:t,password:e,salt:a})=>{const[i,n]=await r.generateMnemonic(e,a);return window.ReactNativeWebView.postMessage(JSON.stringify({type:"mobile_response",id:t,result:n})),!0};const c=a("Giuh");window.ReactNativeWebView.sha256=({id:a,data:i})=>(e(i),window.ReactNativeWebView.postMessage(JSON.stringify({type:"mobile_response",id:a,result:c.sha256(t.from(i))})),!0);const l=console.log,d=console.error;console.log=(...t)=>(window.ReactNativeWebView.postMessage(JSON.stringify({type:"console",params:t})),l(...t)),console.error=(...t)=>(window.ReactNativeWebView.postMessage(JSON.stringify({type:"console",params:t})),d(...t))}}static setFakeWallet(){return new Promise(t=>{a("z/LQ").default.init({getVersion:()=>"1.0.0"}),a("Mb++").default.create().then(e=>{e.onboarded=!0;const i=a("78si").default.fromJson({blockchain:"eos",name:"EOS Mainnet",host:"nodes.get-scatter.com",port:443,protocol:"https",chainId:"aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906"}),n=a("78si").default.fromJson({blockchain:"eos",name:"Telos Mainnet",host:"api.eos.miami",port:443,protocol:"https",chainId:"4667b205c6838ef70ff7988f6e8257e8be0e1284a2f59699054a018f743b1d11",token:{blockchain:"eos",symbol:"TLOS",contract:"eosio.token",decimals:4}}),s=a("Hxfq").default.fromJson({name:"testkey",privateKey:'{test:"key"}',publicKeys:[{key:"EOS7w5aJCv5B7y3a6f4WCwPSvs6TpCAoRGnGpiLMsSWbmxaZdKigd",blockchain:"eos"}],blockchains:["eos"]}),o=a("bUKF").default.fromJson({name:"ramdeathtest",authority:"active",publicKey:s.publicKeys[0].key,keypairUnique:s.unique(),networkUnique:i.unique()}),r=a("bUKF").default.fromJson({name:"ramijames123",authority:"active",publicKey:s.publicKeys[0].key,keypairUnique:s.unique(),networkUnique:i.unique()}),c=a("bUKF").default.fromJson({name:"b1",authority:"active",publicKey:s.publicKeys[0].key,keypairUnique:s.unique(),networkUnique:n.unique()});e.settings.networks.push(i),e.settings.networks.push(n),e.keychain.keypairs.push(s),e.keychain.accounts.push(o),e.keychain.accounts.push(r),e.keychain.accounts.push(c),window.wallet={getVersion:()=>"testing_0.0.0",availableBlockchains:()=>({EOSIO:"eos",ETH:"eth",TRX:"trx",BTC:"btc"}),exists:()=>!0,unlocked:()=>!0,unlock:()=>e,lock:()=>!0,verifyPassword:()=>!0,changePassword:()=>!0,hardwareTypes:async()=>[],hardwareKeys:()=>[],getPrivateKey:()=>null,sign:()=>"tester",encrypt:()=>null,decrypt:()=>null,getSalt:()=>null,setSalt:()=>null,storage:{getLanguage:()=>"en-US",setLanguage:()=>!0,setWalletData:()=>e,getWalletData:()=>e,clearWalletData:()=>!0,getDefaultPath:()=>"nopath",saveFile:()=>!0,openFile:()=>!0,getFileLocation:()=>!0,getFolderLocation:()=>!0,mkdir:()=>!0,cacheABI:()=>!0,getCachedABI:()=>!0,getTranslation:()=>!0,setTranslation:()=>!0,getHistory:()=>[],updateHistory:()=>!0,deltaHistory:()=>!0,swapHistory:()=>!0},utility:{openTools:()=>!0,closeWindow:()=>!0,flashWindow:()=>!0,openLink:()=>!0,reload:()=>window.reload(),copy:()=>!0,screenshot:()=>!0,openPopOut:()=>!0,popoutResponse:()=>!0,socketResponse:()=>{},pushNotification:()=>!0},sockets:{initialize:()=>!0}},t(!0)})})}}}).call(this,a("HDXh").Buffer)},wrrB:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".token-list[data-v-f40b99d8]{width:100%;padding:0 0 90px;background:white}@media (max-width: 600px){.token-list[data-v-f40b99d8]{height:calc(100vh - 70px)}}.token-list .tokens[data-v-f40b99d8]{overflow-y:auto;background:white;width:100%}@media (max-width: 600px){.token-list .tokens[data-v-f40b99d8]{width:100vw}}.token-list .tokens .single-asset[data-v-f40b99d8]{cursor:pointer;background:transparent;height:60px;margin:0 20px;transition:all 0.12s ease-in-out;grid-template-columns:120px auto;display:grid;width:calc(100% - 40px)}.token-list .tokens .single-asset[data-v-f40b99d8]:nth-child(even){background-color:#f7fafb}@media (max-width: 600px){.token-list .tokens .single-asset[data-v-f40b99d8]{grid-template-columns:80px auto;margin:0;width:100%}}.token-list .tokens .single-asset[data-v-f40b99d8]:hover,.token-list .tokens .single-asset.active[data-v-f40b99d8]{background-color:#e7f5ff}.token-list .tokens .single-asset .asset-movement[data-v-f40b99d8]{border-right:1px solid rgba(0,0,0,0.06);height:60px;text-align:center;display:flex;justify-content:center;align-items:center}.token-list .tokens .single-asset .asset-movement .staked[data-v-f40b99d8]{font-size:14px;color:#c8c8c8}.token-list .tokens .single-asset .asset-movement .token-change[data-v-f40b99d8]{text-align:center;align-self:center;display:inline-block}.token-list .tokens .single-asset .asset-movement .token-change .change-value[data-v-f40b99d8]{font-size:14px;display:block;color:#1CCA02;font-family:'Poppins', sans-serif}.token-list .tokens .single-asset .asset-movement .token-change .change-value.red[data-v-f40b99d8]{color:#ff0707}.token-list .tokens .single-asset .asset-details[data-v-f40b99d8]{display:grid;grid-template-columns:72px auto auto}@media (max-width: 600px){.token-list .tokens .single-asset .asset-details[data-v-f40b99d8]{grid-template-columns:44px auto auto}}.token-list .tokens .single-asset .asset-details .token-icon[data-v-f40b99d8]{width:72px;text-align:center;align-self:center}@media (max-width: 600px){.token-list .tokens .single-asset .asset-details .token-icon[data-v-f40b99d8]{width:44px}}.token-list .tokens .single-asset .asset-details .token-symbol .icon-lock[data-v-f40b99d8]{float:left;color:#ff0707}.token-list .tokens .single-asset .asset-details .token-value[data-v-f40b99d8]{align-self:center;text-align:left;font-size:10px}.token-list .tokens .single-asset .asset-details .token-value .title[data-v-f40b99d8]{margin-bottom:4px;font-size:18px;font-family:'Poppins', sans-serif;font-weight:bold}@media (max-width: 600px){.token-list .tokens .single-asset .asset-details .token-value .title[data-v-f40b99d8]{font-size:13px}}.token-list .tokens .single-asset .asset-details .token-conversion[data-v-f40b99d8]{align-self:center;text-align:right;padding-right:20px;font-size:13px;font-family:'Poppins', sans-serif}.token-list .tokens .single-asset .asset-details .token-conversion .value[data-v-f40b99d8]{margin-bottom:4px;font-weight:bold;font-size:13px;color:black}.token-list .tokens .single-asset .asset-details[data-v-f40b99d8]:hover,.token-list .tokens .single-asset .asset-details[data-v-f40b99d8]:active,.token-list .tokens .single-asset .asset-details.active[data-v-f40b99d8]{border-color:#0799ff}\n",""])},"x+ty":function(t,e,a){var i=a("0kYc");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("2786da80",i,!0,{})},x24n:function(t,e,a){var i=a("BF8t");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("70b7dfea",i,!0,{})},xg20:function(t,e,a){"use strict";var i=a("p+uB");a.n(i).a},yETr:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".keys-and-accounts-list[data-v-26081a1c]{overflow-y:auto;height:calc(100vh - 160px)}\n",""])},yVyQ:function(t,e,a){var i=a("rHTK");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("42342300",i,!0,{})},yW6B:function(t,e,a){"use strict";var i=a("X8Dr");a.n(i).a},ydfQ:function(t,e,a){"use strict";var i=a("6S0W");a.n(i).a},zDUF:function(t,e,a){var i=a("K92k");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("7e97bd3c",i,!0,{})},zU6g:function(t,e,a){var i=a("qBPt");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("22f5185a",i,!0,{})},zmmT:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".transfer[data-v-9795b678]{height:auto;text-align:left}.transfer .box[data-v-9795b678],.transfer .boxes[data-v-9795b678]{width:100%}.revoter[data-v-9795b678]{max-width:600px;margin-bottom:40px}.revoter .currently-voted[data-v-9795b678]{max-width:300px;text-align:left;padding-right:20px;font-size:12px}.revoter .currently-voted .voting-for[data-v-9795b678]{font-weight:bold;color:#0799ff}.revoter .currently-voted button[data-v-9795b678]{margin-top:10px}.revoter .auto-vote[data-v-9795b678]{margin:0 auto;display:flex;justify-content:center;border:1px solid #0799ff;border-radius:4px;padding:20px}.revoter .auto-vote .details[data-v-9795b678]{padding-left:20px;text-align:left}.revoter .auto-vote .details .title[data-v-9795b678]{font-size:10px;margin-bottom:5px}.revoter .auto-vote .details p[data-v-9795b678]{margin:0;font-size:9px}\n",""])},zsXv:function(t,e,a){"use strict";var i=a("L2JU"),n=a("hS4g"),s=a.n(n),o=a("I2xi"),r=a.n(o),c={props:["original","brandNew"],data:()=>({contact:null}),mounted(){this.contact=this.original?this.original.clone():s.a.placeholder()},computed:{...Object(i.c)(["contacts"]),isNew(){return!!this.contact&&(!!this.brandNew||!this.contacts.find(t=>t.id===this.contact.id))},recipientError(){return 0===this.contact.recipient.trim().length?null:r.a.validate(this.contact.blockchain,this.contact.recipient)?null:"Are you sure this is correct?"}},watch:{contact(){this.$emit("updated",this.contact)}}},l=(a("8hoh"),a("KHd+")),p=Object(l.a)(c,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[t.contact?a("section",{staticClass:"edit-contact"},[a("section",[a("Input",{attrs:{label:t.$t("generic.name"),placeholder:t.$t("editNetwork.memorableName"),text:t.contact.name},on:{changed:function(e){return t.contact.name=e}}}),t._v(" "),a("Input",{attrs:{error:t.recipientError,label:t.$t("generic.addressOrAccount"),placeholder:"...",text:t.contact.recipient},on:{changed:function(e){return t.contact.recipient=e}}}),t._v(" "),a("br"),t._v(" "),t.brandNew?t._e():a("section",{staticStyle:{"text-align":"right"}},[a("Button",{attrs:{text:t.$t("editNetwork.update"),blue:"1"},nativeOn:{click:function(e){return t.$emit("save")}}})],1)],1)]):t._e()])}),[],!1,null,"0a9766d9",null);e.a=p.exports},ztmc:function(t,e,a){"use strict";var i=a("BWwa");a.n(i).a}}); \ No newline at end of file +!function(t){function e(e){for(var i,o,r=e[0],c=e[1],l=e[2],p=0,u=[];pwindow.wallet.storage.getFileLocation(...t),n=(...t)=>window.wallet.storage.getFolderLocation(...t),s=(...t)=>window.wallet.storage.saveFile(...t)},"2gTu":function(t,e,a){"use strict";var i=a("Fixf");a.n(i).a},3:function(t,e){},3466:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"",""])},"353D":function(t,e,a){var i=a("0tEj");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("99266f84",i,!0,{})},"3A+9":function(t,e,a){var i=a("eyw/");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("5f7dbead",i,!0,{})},"3CN7":function(t,e,a){"use strict";a.d(e,"a",(function(){return l}));var i=a("qjwK"),n=a("IMve"),s=a.n(n),o=(a("F+MN"),a("pk5N")),r=a.n(o);let c=!1;class l{static async addProxy(t,e){const a=r.a.get().state.scatter.clone();return a.recurring.proxies=a.recurring.proxies.filter(e=>e.account!==t.identifiable()),a.recurring.proxies.push({account:t.identifiable(),proxy:e,timestamp:+new Date}),r.a.get().dispatch(i.SET_SCATTER,a)}static async removeProxies(t){const e=r.a.get().state.scatter.clone(),a=t.map(t=>t.identifiable());return e.recurring.proxies=e.recurring.proxies.filter(t=>!a.includes(t.account)),r.a.get().dispatch(i.SET_SCATTER,e)}static async touchProxies(t){const e=r.a.get().state.scatter.clone(),a=t.map(t=>t.identifiable());return e.recurring.proxies.filter(t=>a.includes(t.account)).map(t=>t.timestamp=+new Date),r.a.get().dispatch(i.SET_SCATTER,e)}static async checkProxies(){if(c)return;c=!0;const t=r.a.get().state.scatter.clone();if(!t.hasOwnProperty("recurring"))return;const e=r.a.get().state.scatter.keychain.accounts,a=e.map(t=>t.identifiable()),i=t.recurring.proxies.filter(t=>!a.includes(t.account));i.length&&await this.removeProxies(i);const n=+new Date,o=t.recurring.proxies.filter(t=>n>t.timestamp+6048e5);if(!o)return!0;const l=await Promise.all(o.map(async t=>{const a=e.find(e=>e.identifiable()===t.account);return s.a.plugin(a.blockchain()).proxyVote(a,t.proxy).then(t=>({res:t,account:a}))})),d=l.filter(t=>!t.res),p=l.filter(t=>t.res);return d.length&&await this.removeProxies(d.map(t=>t.account)),p.length&&await this.touchProxies(p.map(t=>t.account)),!0}}},"3FFn":function(t,e,a){"use strict";var i=a("A2NC");a.n(i).a},"3FGZ":function(t,e,a){"use strict";var i=a("ZXx6");a.n(i).a},"3MdU":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".panel-container[data-v-2230af07]{overflow:auto;height:calc(100vh - 240px)}.auto-vote[data-v-2230af07]{max-width:600px;margin:0 auto;display:flex}.auto-vote .details[data-v-2230af07]{padding-left:20px}.list[data-v-2230af07]{max-width:700px;margin:0 auto;width:100%;text-align:left}\n",""])},"3c97":function(t,e,a){var i=a("1JzU");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("e2763c6c",i,!0,{})},"3ylq":function(t,e,a){var i=a("axlY");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("e7f7dfc2",i,!0,{})},4:function(t,e){},"48Ae":function(t,e,a){"use strict";a.d(e,"a",(function(){return r}));var i=a("pk5N"),n=a.n(i),s=a("IfgB"),o=a("Gbp+");class r{static async verifyPIN(){return!n.a.get().state.scatter.pin||!n.a.get().state.scatter.pin.length||new Promise(t=>{s.a.push(o.a.enterPIN(e=>{t(e)}))})}}},"4AMT":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".pop-over[data-v-3152171b]{max-width:900px;width:100%;margin:0 auto;overflow:hidden}.assets[data-v-3152171b]{height:calc(100vh - 180px)}\n",""])},"4HXs":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".panel-tabs[data-v-f9b84e78]{display:flex;flex-direction:row;align-items:center;justify-content:center;padding:0 0 20px;margin:0 20px;border-bottom:1px solid #dfe0e1}.panel-tabs .tab-name[data-v-f9b84e78]{cursor:pointer;font-size:16px;font-weight:bold;font-family:'Poppins', sans-serif;line-height:68px;color:#0799ff;transition:all 0.1s ease;width:100%;text-align:center;border-bottom:1px solid tranparent;margin-bottom:-21px}.panel-tabs .tab-name[data-v-f9b84e78]:hover,.panel-tabs .tab-name.active[data-v-f9b84e78]{color:black;border-bottom:1px solid #0799ff}\n",""])},"4clf":function(t,e,a){"use strict";var i=a("ewlj");a.n(i).a},"4ct5":function(t,e,a){var i=a("yETr");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("5d528c02",i,!0,{})},"4eXn":function(t,e,a){"use strict";var i=a("peeo");a.n(i).a},"4ieZ":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".panel-container[data-v-a8f0ae96]{overflow:auto;height:calc(100vh - 240px)}.auto-vote[data-v-a8f0ae96]{max-width:600px;margin:0 auto;display:flex}.auto-vote .details[data-v-a8f0ae96]{padding-left:20px}.list[data-v-a8f0ae96]{max-width:700px;width:100%;text-align:left}\n",""])},"4iyD":function(t,e,a){"use strict";var i=a("IM4h");a.n(i).a},"4sCk":function(t,e,a){var i=a("MEyB");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("2a9cce94",i,!0,{})},"4zkp":function(t,e,a){"use strict";a.d(e,"a",(function(){return i}));class i{static async openTools(){return window.wallet.utility.openTools()}static async close(){return window.wallet.utility.closeWindow()}static async flashWindow(){return window.wallet.utility.flashWindow()}static async openPopOut(t){return window.wallet.utility.openPopOut(t)}}},"5Bwr":function(t,e,a){var i=a("MGze");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("595d38b2",i,!0,{})},"5Not":function(t,e,a){"use strict";a.r(e),e.default={generic:{back:"Назад",skip:"Пропустить",next:"Далее",confirm:"Подтвердить",accept:"Принять",allow:"Разрешить",deny:"Запретить",okay:"Okay",cancel:"Cancel",open:"Открыть",yes:"Да",no:"Нет",actions:"Действия",enable:"Включить",disable:"Выключить",send:"Отправить",receive:"Принять",select:"Выбрать",unselect:"Отменить выбор",edit:"Править",add:"Добавить",save:"Сохранить",new:"Новый",delete:"Удалить",remove:"Исключить",remove_all:"Исключить Все",copy:"Копия",import:"Импорт",export:"Экспорт",refresh:"Обновить",manage:"Управлять",private_key:"Личный ключ | Личные ключи",public_key:"Публичный ключ | Публичные ключи",cards:"Карта | Карты",expired:"Просрочен",keys:"Ключ | Ключи",hide:"Спрятать",reveal:"Раскрыть",tokens:"Токен | Токены",networks:"Сеть | Сети",blockchains:"Блокчейн | Блокчейны",contracts:"Контракт | Контракты",memo:"Примечание",symbol:"Символ",decimals:"Десятичные",chain_id:"Chain ID",name:"Имя",accounts:"Аккаунт | Аккаунты",search:"Поиск",buy:"Купить",sell:"Продать",contacts:"Контакты",history:"История",exchange:"Обменять",view:"Смотреть",redo:"Повторить",promoted:"Повышен",addressOrAccount:"Адрес или аккаунт",pleaseWait:"Ждите...",selectToken:"Выберите токен",selectBlockchain:"Выберите блокчейн"},sidebar:{dashboard:"Панель",apps:"Приложения",wallet:"Кошелек",assets:"Активы",identities:"Личности",locations:"Расположения",contacts:"Контакты",history:"История",networks:"Сети",settings:"Настройки",lock:"Закрыть кошелек"},login:{registerButtonTitle:"Начнем",registerButtonSubtitle:"Давайте настроим Scatter",reset:"Сбросить",restore:"Восстановить",support:"Поддержка",passwordPlaceholder:"Введите пароль"},setPassword:{title:"Установить надежный пароль",description:"Надежные пароли должны содержать не менее 8 символов и включать как минимум один номер и один специальный символ.",choosePass:"Выберите пароль",confirmPass:"Подтвердите пароль"},welcome:{title:"Добро пожаловать в будущее",description:"Ваш Scatter настроен и готов к использованию.",button:"Начните использовать Scatter"},destroy:{title:"Уничтожить скаттер",disclaimer:"Перед этим убедитесь, что у вас есть резервные копии всех ваших личных ключей.",description:"Уничтожение Scatter необратимо, и вы не сможете восстановить данные без резервных копий."},dashboard:{vote:{title:"Голосуйте за Scatter",subTitle:"Покажите нам немного любви!",description:"Мы запустили EOS Mainnet Block Producer, за который вы теперь можете голосовать. Помогите нам занять позицию блок продюсера, проголосовав за нас.",button:"Голосуйте сейчас!",voted:"Проголосовали за Scatter на {total} chains. Спасибо за вашу помощь!"}},apps:{explore:"Исследовать",myApps:"Мои приложения",allCategories:"Все категории"},app:{loginPermission:"Права доступа",accountsProvided:"Предоставленные аккунты ",requiredFields:"Обязательные поля",mutableFields:"Изменяемые поля",removePermission:"Удалить разрешение",removeIdentity:"Разрешения на вход в систему позволяют приложениям взаимодействовать с вашим Scatter. Вы можете принудительно выйти из приложения, удалив это разрешение.",removeWhitelist:"Белые списки действий позволяют избежать постоянно всплывающих окон для подписания транзакций. Вы хотите удалить этот белый список?"},wallet:{noKeys:{title:"У вас нет ключей",description:"Нажмите одну из кнопок ниже, чтобы импортировать ключ, который у вас уже есть, или сгенерировать новый."},generateKey:"Создать ключ",importKey:"Импортировать ключ",addCreditCard:"Добавить кредитную карту"},account:{totalFiatBalance:"Итого фиат баланс",actions:{unlink_account:"Отвязать аккаунт",change_permissions:"Изменить разрешения",proxy_vote:"Прокси голование",create_account:"Создать аккаунт"}},assets:{noAccounts:"Нет аккаунтов"},histories:{sent:"Послано",received:"Получено",networkDisabled:"Сеть отключена",clear:{title:"Очистка истории",description:"Вы собираетесь стереть всю свою локальную историю. Это не удалит ключи или аккаунты."}},identities:{identities:"Личности",id:{nameLabel:"Имя личности / Пользователь",namePlaceholder:"Ваше присутствие в Интернете",nameError:"Имя личности не может быть пустым, содержать пробелы или специальные символы."},personal:{nameLabel:"Полное имя",namePlaceholder:"Введите свое полное имя",emailLabel:"Email",dobLabel:"Дата рождения"},location:{title:"Расположение",noneSelected:"Не выбрано"},auth:{title:"Ключ аутентификации",description:"Убедитесь, что вы сохранили копию этого ключа аутентификации, он понадобится вам для восстановления доступа к определенным приложениям, которым он требуется.",changeButton:"Изменить / Смотреть"},removing:{title:"Удаление личности",description:"Вы уверены, что хотите удалить {identity}"}},locations:{locations:"Расположения",nameLabel:"Имя расположения",namePlaceholder:"Дом, Офис, пр.",countryLabel:"Страна",countryItemNone:"Не выбрано",addressLabel:"Адрес",cityLabel:"Город",stateLabel:"Штат (регион)",phoneLabel:"Номер телефона"},networks:{connectionError:"Ошибка соединения!"},settings:{menu:{general:"Основные",tokens:"Токены",explorers:"Исследователи",backup:"Резервные копии",firewall:"Межсетевой экран",password:"Пароль",destroy:"Уничтожить"},base:{basics:"Основные",secure:"Настройки безопасности"},general:{version:"Версия",language:"Язык",simpleMode:"Простой режим",simpleModeDescription:"Простой режим предназначен для обычных пользователей, в то время как расширенный режим (тот, который вы используете в данный момент) предназначен для очень технических пользователей и разработчиков.",notifications:"Белый список уведомлений",notificationsDescription:"Эти уведомления появляются в определенных операционных системах, когда вы автоматически подписываете транзакции из белого списка.",ports:"Открытые порты",portsDescription:"Это порты, открытые на вашем локальном компьютере, которые другие локальные приложения могут использовать для связи со Scatter.",noPorts:"Нет открытых портов!",dataPath:"Расположение файла данных",dataPathDescription:"Каталог на вашем компьютере, в котором Scatter сохраняет свои зашифрованные данные.",devConsole:"Консоль разработчика",devConsoleDescription:"Иногда вам может понадобиться проверить, выдаёт ли Scatter какие-либо ошибки.",devConsoleButton:"Открыть консоль"},backup:{title:"Настроить резервирование",description:"Резервные копии позволяют сохранить состояние всего Scatter, включая все ключи, разрешения и настройки.",autobackup:"Выберите место для автоматического резервного копирования",create:"Создать резервную копию",currentFolder:"Текущая папка резервного копирования",created:"Резервная копия создана!"},destroy:{title:"Уничтожить Scatter",description:"Уничтожение вашего Scatter приведет к удалению всех ваших данных, включая ваши идентификационные данные и ключевые пары, с вашего локального компьютера. Он не удалит ваши учетные записи блокчейна из фактического блокчейна.",important:"УБЕДИТЕСЬ, ЧТО У ВАС ЕСТЬ РЕЗЕРВНАЯ КОПИЯ, ПРЕЖДЕ ЧЕМ ДЕЛАТЬ ЭТО!",button:"Уничтожить Scatter"},firewall:{ridl:{title:"Децентрализованный межсетевой экран",description:"RIDL Defender - это патентованная децентрализованная система межсетевого экрана Scatter. Он помогает защитить вас от вредоносных веб-сайтов, приложений и учетных записей."},blocker:{title:"Органичения действий контракта",description:"Эти действия не будут разрешены из внешних приложений.",blacklisted:"Действия в черном списке"}},password:{title:"Поменяйте ваш пароль",description:"Смена пароля периодически очень полезна. Мы часто используем одни и те же пароли в разных местах, что увеличивает вероятность их обнаружения.",button:"Изменить пароль",changed:"Пароль изменен!",pin:{title:"Изменить ваш PIN",description:"Если этот код включен, ваш PIN-код является дополнительным паролем, который требуется каждый раз, когда вы выполняете действие, которое не занесено в белый список. Не делайте его таким же, как ваш пароль.",disabled:"PIN отключен",changed:"PIN изменен!",pinForAllTitle:"Используйте PIN-код для взаимодействия с внешними приложениями.",pinForAllDescription:"Если вы включите это, вам также потребуется вводить PIN-код для каждого всплывающего окна, создаваемого внешним приложением. В противном случае ваш PIN-код потребуется только для внутренних действий Scatter, таких как отправка и обмен."}},tokens:{switch:{add:"Добавить токен",whitelist:"Токены",blacklist:"Отфильтровано",settings:"Настройки"},whitelistButton:"Белый список токенов",blacklistButton:"Черный список токенов",hidePrimaryBalance:"Скрыть основной баланс",hidePrimaryBalanceDescription:"Позволяет скрыть баланс в панели быстрых действий.",filterSmallBalances:"Не показывать малые балансы",filterSmallBalancesDescription:"Если вы хотите всегда фильтровать токены с небольшими балансами, вы можете установить эту натройку.",noTokens:"Нет токенов"}},receive:{receiver:"Аккаунт для получения",sendTo:"Отправить средства на",forEosio:"Некоторые биржи попросят вас указать addressTag, memo или другую форму второго поля ввода. Вы можете ввести все что угодно в это поле, так как это настоящий аккаунт EOSIO."},exchange:{fromAndToken:"От & Токен",priceNotAvailable:"Price not available",loadingPairs:"Загрузка пар",noPairs:"Нет доступных пар",loadingRate:"Загрузка цен",errorTitle:"Ошибка обмена",errorDescription:"Не удается подключиться к API обмена."},transfer:{sender:"Отправка из",receiver:"Отправка в",amountTitle:"Сумма & Детали",priceNotAvailable:"Цена не доступна",memo:"Памятка (необязательно)",loadingBalances:"Ваши балансы еще не загружены."},editNetwork:{systemToken:"Системный токен",memorableName:"Добавьте запоминающееся имя",host:"Хост",protocol:"Протокол",port:"Порт",chainIdTooltip:"Получить Chain ID",update:"Обновить данные",systemTokenTitle:"Сетевой системный токен",systemTokenDescription:"В некоторых сетях вместо системного токена по умолчанию используется собственный системный токен (например, ETH, EOS или TRX)."},keysAndAccountsList:{actions:{editName:"Редактировать имя",copyPublicKey:"Копировать публичный ключ",refreshAccounts:"Обновить аккаунты",convertBlockchain:"Конвертировать блокчейн",removeKey:"Удалить ключ",linkAccount:"Связать аккаунт"},noAccounts:{title:"У вас нет аккаунтов, связанных с этим ключом.",requiresPayment:"{blockchain} блокчейн требует, чтобы вы заплатили небольшую плату за создание учетных записей.",checkEnabled:"Убедитесь, что у вас есть сеть для включенния блокчейна {blockchain}.",createAccountButton:"Создайте его сейчас!"},linkedAccounts:"Связанный аккаунты",changeKeypairNameTitle:"Изменить имя пары ключей",changeKeypairNameDescription:"Название пары ключей необходимо только для организационных целей. Это не влияет на блокчейн или сам ключ."},panels:{keypair:{selectHardware:"Выберите аппаратный кошелек",availableHardwareChains:"Доступные блокчейны",hardwareIndex:"Индекс ключа/адреса",importTextKeyTitle:"Импортировать свой приватный ключ",importTextKeyDescription:"Ваш закрытый ключ никогда не покидает ваше устройство. Мы используем его только для подписания транзакций, и никто, кроме вас, не будет иметь к нему доступа. Пожалуйста, помните, что, хотя Scatter - это хорошее место для хранения вашего ключа, у вас всегда должна быть его резервная копия где-то в автономном режиме.",validTextKeyWarn:"Как только вы введете действительный ключ, он автоматически импортирует его.",scanQR:"Сканировать QR-код"}},popins:{fullscreen:{addCustomNetwork:"Добавить пользовательскую сеть",addNewContact:"Добавить новый контакт",changeIdentityKey:"Идентификационный ключ",generateRandomKey:"Создать случайный ключ",saveIdentityKey:"Сохранить новый ключ идентификации",checkHardwareTitle:"Проверить оборудование",checkHardwareDescription:"Вы должны увидеть подтверждение на вашем аппаратном устройстве.",confirmPassword:"Подтвердите пароль",securityCode:"Введите код безопасности",changePermissions:{title:"Изменение ключей аккаунта",disclaimer:"Это может быть опасно!",disclaimerDescription:"Вы собираетесь изменить ключи, управляющие этим аккаунтом. Убедитесь, что вы знаете, что делаете.",owner:"Owner / Мастер ключ",active:"Active / Daily key",dontChange:"Оставить как есть"},createAccount:{title:"Создать аккаунт",exchangeDescription:"Вы можете отправить средства с биржи или другого кошелька для создания аккаунта.",cardDescription:"Эта опция в настоящее время отключена.",startTyping:"Начните вводить имя, чтобы увидеть, доступно ли оно.",includeMemo:"Убедитесь, что вы ввели поле memo при отправке, иначе ваши средства будут потеряны!",clickAfter:"Нажмите после перевода",lookingTitle:"Ищем аккаунт",lookingDescription:"Scatter будет постоянно искать созданный аккаунт в течение следующих 30 минут. Как только он будет найден, он будет автоматически добавлен в ваш Scatter.",exchangeErrorTitle:"Ошибка создания аккунта",exchangeErrorDescription:"30 минут прошло с тех пор, как вы отправили деньги со своей биржи. Похоже, аккаунт еще не создан. Вам следует проверить статус транзакции на бирже.",accountFoundTitle:"Аккаунт найден!",accountFoundDescription:"Скаттер обнаружил аккаунт, который вы создали, используя биржу. Теперь вы можете увидеть его в своем кошельке.",nameTooShort:"Имя аккаунта должно быть длиной 12 символов.",nameFormatting:"Имя аккаунта должно состоять только из строчных букв.",checkingName:"Проверка доступности имени...",nameTaken:"Это имя уже занято"},moderateCpu:{available:"Доступно {token}",reclaiming:"Reclaiming {token}",stake:"Stake",unstake:"Unstake"},moderateRam:{type:"Тип",bytesError:"Количество байт должно быть больше 15"},exportKey:{title:"Экспорт приватного ключа",disclaimer:"Храните ваши приватные ключи в безопасности!",description:"Всегда экспортируйте свои закрытые ключи и убедитесь, что у вас есть их резервная копия. Вы не сможете восстановить свои токены, если потеряете их.",keyTitle:"Ключ",keyDescription:"Экспортируйте этот закрытый ключ как текст",qrTitle:"Бумажный кошелек",qrDescription:"Экспортируйте этот закрытый ключ как зашифрованный QR-код",privateKeyAsText:"Приватный ключ как текст",privateKeyAsQR:"QR-код бумажного кошелька",savedImage:"Изображение сохранено!"},generateKey:{title:"Создать пару ключей"},importBackup:{title:"Восстановить из резервной копии",description:"Если у вас есть резервная копия для Scatter, вы можете импортировать ее здесь, загрузив в Scatter. Вам все еще понадобится пароль, чтобы разблокировать его.",buttonTitle:"Выберите файл резервной копии",buttonDescription:"Они заканчиваются на .json или .txt",errorParsing:"При открытии этой резервной копии произошла ошибка",errorDecrypting:"При расшифровке этой резервной копии произошла ошибка",errorReading:"Этот файл резервной копии не может быть прочитан"},importKeypair:{title:"Импортировать пару ключей",text:"Текстовый",hardware:"Аппаратный",qrCode:"QR-код",invalidPrivateKey:"Неверный приватный ключ"},removeKeypair:{title:"Удаление ключа",permanent:"Это действие постоянно",removesAll:"Удаление ключей также удаляет все связанные с ним учетные записи и соответствующие разрешения. После того, как вы удалите ключ, он не может быть восстановлен."},unlinkAccount:{title:"Отвязать аккаунт",description:"Удаление связанной учетной записи также удаляет все ее разрешения для приложений.",disclaimer:"Это НЕ удалит аккаунт из блокчейна, только из Scatter."}},overlay:{exchanging:"Обмен",transferring:"Отправка",confirmPin:"Подтвердить PIN",selectAccount:"Выбрать аккаунт",selectBlockchain:"Выбрать блокчейн",selectDisplayToken:"Выбрать токен для показа",selectFiatCurrency:"Выбрать фиатную валюту",selectBlockchainToken:"Выбрать токен блокчейна",selectPublicKey:"Выбрать публичный ключ",selectRecipient:"Выберать получателя",selectToken:"Выбрать токен",allBlockchains:"Все блокчейны",selectTokenAndAccount:"Выбрать токен и аккаунт",transactionSuccess:"Транзакция успешна!",viewTransactionOn:"Нажмите на ссылку ниже, чтобы посмотреть на {explorer}",enableSimpleMode:{},enterPin:{},linkAccount:{title:"Связать EOSIO аккаунт",description:"Позволяет связывать учетные записи в сетях, к которым вы либо не можете подключиться, либо к которым не подключены подключаемые модули истории.",selectNetwork:"Выберите сеть",button:"Связать",noNetworksAvailable:"Нет доступных EOSIO сетей!"}}},popouts:{popoutApp:{noImage:"Нет изображения",reputation:{unknown:"Неизвестная репутация",trusty:"Достоверно",scam:"Известная афера"}},requiredFields:{title:"Обязательные поля идентификации",personalInformation:"Личные данные:"},login:{suffix:"увидим:",dangerousPermission:"Вы входите в систему с правами owner. Это опасно.",allAccountsFor:"Все аккаунты для:",allAccountsDescription:"{app} запрашивает просмотр каждоого аккаунта для указанной сети. Это означает, что он сможет запрашивать подписи транзакций для любого аккаунта, который вы связали с любой из запрошенных сетей.",noInfoNeededTitle:"Это приложение не запрашивает какую-либо личную информацию или аккаунт.",noInfoNeededDescription:"Единственная информация, которую получит это приложение, - это базовая идентификационная информация, такая как ваше имя пользователя.",noAccountsTitle:"У вас нет аккаунтов в этой сети",noAccountsDescription:"Вам необходимо создать аккаунт, прежде чем вы сможете использовать приложения.",personalInformation:"Личные данные:",requestingPersonalInformation:"{app} запрашивает личную информацию. Он(а/о) сможет видеть только то, что запрашивается, и ничего другого, что вы, возможно, не заполнили в своей личности Scatter."},getPublicKey:{suffix:"хочет, чтобы вы предоставили публичный ключ",select:"Выберите ключ",generate:"Создайте новый ключ"},linkApp:{suffix:"восстанавливает связь",description:"Убедитесь, что имя приложения - это приложение, с которым вы сейчас взаимодействуете. Если это не так, это может быть опасное приложение, пытающееся действовать как другое."},transferRequest:{suffix:"запрашивает перевод",selectAccount:"Выберите аккаунт"},updateIdentity:{suffix:"хочет",changeName:"Измените свое имя",addKycProofs:"Добавить доказательства KYC"},signature:{moreAccounts:"больше аккаунтов",keysInvolved:"Ключи участвуют",accountsInvolved:"Аккаунты участвуют",previouslyWhitelisted:"Это действие было ранее занесено в белый список",hiddenAction:"Действие скрыто",dangerous:"Одно или несколько действий, которые вы собираетесь подписать, опасны!",dangerousAction:"Это действие опасно!",dangerousTooltip:"Это действие опасно. Принятие его изменит ваши ключи и, возможно, передаст вашу учетную запись кому-то еще. Убедитесь, что ключи верны.",whitelistThis:"Вы можете внести это в белый список, чтобы вам не приходилось повторно принимать эту транзакцию.",whitelistExplainer:"Флажки, которые отмечены, могут изменять свои значения, не нарушая белый список.",actionsTotal:"{x} действий всего"}},errors:{badPassword:"Неверный пароль",passwordConfirmation:"Подтверждение пароля не совпадает с паролем",keypairExists:"Пара ключей с таким именем или публичным ключом уже существует",transferError:"Произошла ошибка при попытке отправить токены",badQrDecryption:"Произошла ошибка при расшифровке этого QR-кода. Вы уверены, что пароль для этого QR-кода правильный?"}}},"5PPc":function(t,e,a){var i=a("OXMO");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("699a9796",i,!0,{})},"5jfV":function(t,e,a){"use strict";var i=a("Vbfb");a.n(i).a},"5v1a":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".token-list[data-v-efcbba00]{width:100%;padding:0 0 90px;background:white}@media (max-width: 600px){.token-list[data-v-efcbba00]{height:calc(100vh - 70px)}}.token-list .tokens[data-v-efcbba00]{overflow-y:auto;background:white;width:100%}@media (max-width: 600px){.token-list .tokens[data-v-efcbba00]{width:100vw}}.token-list .tokens .single-asset[data-v-efcbba00]{cursor:pointer;background:transparent;height:60px;margin:0 20px;transition:all 0.12s ease-in-out;grid-template-columns:120px auto;display:grid;width:calc(100% - 40px)}.token-list .tokens .single-asset[data-v-efcbba00]:nth-child(even){background-color:#f7fafb}@media (max-width: 600px){.token-list .tokens .single-asset[data-v-efcbba00]{grid-template-columns:80px auto;margin:0;width:100%}}.token-list .tokens .single-asset[data-v-efcbba00]:hover,.token-list .tokens .single-asset.active[data-v-efcbba00]{background-color:#e7f5ff}.token-list .tokens .single-asset .asset-movement[data-v-efcbba00]{border-right:1px solid rgba(0,0,0,0.06);height:60px;text-align:center;display:flex;justify-content:center;align-items:center}.token-list .tokens .single-asset .asset-movement .staked[data-v-efcbba00]{font-size:14px;color:#c8c8c8}.token-list .tokens .single-asset .asset-movement .token-change[data-v-efcbba00]{text-align:center;align-self:center;display:inline-block}.token-list .tokens .single-asset .asset-movement .token-change .change-value[data-v-efcbba00]{font-size:14px;display:block;color:#1CCA02;font-family:'Poppins', sans-serif}.token-list .tokens .single-asset .asset-movement .token-change .change-value.red[data-v-efcbba00]{color:#ff0707}.token-list .tokens .single-asset .asset-details[data-v-efcbba00]{display:grid;grid-template-columns:72px auto auto}@media (max-width: 600px){.token-list .tokens .single-asset .asset-details[data-v-efcbba00]{grid-template-columns:44px auto auto}}.token-list .tokens .single-asset .asset-details .token-icon[data-v-efcbba00]{width:72px;text-align:center;align-self:center}@media (max-width: 600px){.token-list .tokens .single-asset .asset-details .token-icon[data-v-efcbba00]{width:44px}}.token-list .tokens .single-asset .asset-details .token-symbol .icon-lock[data-v-efcbba00]{float:left;color:#ff0707}.token-list .tokens .single-asset .asset-details .token-value[data-v-efcbba00]{align-self:center;text-align:left;font-size:10px}.token-list .tokens .single-asset .asset-details .token-value .title[data-v-efcbba00]{margin-bottom:4px;font-size:18px;font-family:'Poppins', sans-serif;font-weight:bold}@media (max-width: 600px){.token-list .tokens .single-asset .asset-details .token-value .title[data-v-efcbba00]{font-size:13px}}.token-list .tokens .single-asset .asset-details .token-conversion[data-v-efcbba00]{align-self:center;text-align:right;padding-right:20px;font-size:13px;font-family:'Poppins', sans-serif}.token-list .tokens .single-asset .asset-details .token-conversion .value[data-v-efcbba00]{margin-bottom:4px;font-weight:bold;font-size:13px;color:black}.token-list .tokens .single-asset .asset-details[data-v-efcbba00]:hover,.token-list .tokens .single-asset .asset-details[data-v-efcbba00]:active,.token-list .tokens .single-asset .asset-details.active[data-v-efcbba00]{border-color:#0799ff}\n",""])},"5v53":function(t,e,a){"use strict";var i=a("zU6g");a.n(i).a},"5vwW":function(t,e,a){"use strict";var i=a("D0lD");a.n(i).a},"5wC5":function(t,e,a){var i=a("Ea+s");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("6b36f500",i,!0,{})},"5xqE":function(t,e,a){"use strict";var i=a("R6/L");a.n(i).a},"6S0W":function(t,e,a){var i=a("H7TC");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("3f87a83e",i,!0,{})},"6gQG":function(t,e,a){"use strict";var i=a("T27a");a.n(i).a},"7DPg":function(t,e,a){"use strict";var i=a("1Mi/");a.n(i).a},"7W4K":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".pop-in-head[data-v-17a04b22]{display:flex;width:100%;height:70px;justify-content:space-between;align-items:center;padding:20px;background:#f3f6f7}.pop-in-head .popin-title[data-v-17a04b22]{font-size:13px;font-family:'Poppins', sans-serif;font-weight:bold;color:black}.pop-in-head .popin-close[data-v-17a04b22]{padding:10px;cursor:pointer;color:#0799ff;font-size:24px;border-radius:4px}\n",""])},"7dXh":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".bottom-actions[data-v-6c22c66b]{height:70px;background:#333;background:linear-gradient(180deg, #464646 0%, #333 100%);color:#fff;z-index:99;flex:0 0 auto}.bottom-actions.sidebarLocked[data-v-6c22c66b]{left:240px}.bottom-actions .flex-wrapper[data-v-6c22c66b]{display:flex;height:70px;flex-direction:row;align-items:center;justify-content:center}.bottom-actions .flex-wrapper .action[data-v-6c22c66b]{width:120px;display:block;text-transform:uppercase;font-weight:bold;font-size:12px;text-align:center;cursor:pointer}@media (max-width: 600px){.bottom-actions .flex-wrapper .action[data-v-6c22c66b]{width:33.33333%}}.bottom-actions .flex-wrapper .action i[data-v-6c22c66b]{transition:transform 0.2s ease;transform:translateY(0px);width:44px;font-size:20px;margin:-2px auto 8px;display:block}.bottom-actions .flex-wrapper .action[data-v-6c22c66b]:hover{color:#fff}\n",""])},"7oO4":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".select-recipient{display:flex;flex-direction:column;width:100%}.select-recipient .head .panel-switch{margin-bottom:0}.select-recipient .body{height:calc(100vh - 60px - 70px);overflow-y:hidden}.select-recipient .body .blockchain-list-container .blockchains .scroller{max-height:calc(100vh - 240px)}.select-recipient .keys-and-accounts-list{height:calc(100vh - 120px);overflow-y:auto;padding-top:20px}.mobile .select-recipient .keys-and-accounts-list{height:calc(100vh - 80px)}\n",""])},"8+QQ":function(t,e,a){var i=a("jU6B");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("0e227e66",i,!0,{})},"8gNK":function(t,e,a){"use strict";var i=a("tDqv");a.n(i).a},"8hoh":function(t,e,a){"use strict";var i=a("5PPc");a.n(i).a},"8o7C":function(t,e,a){var i=a("9pTj");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("6984f7cb",i,!0,{})},"8olR":function(t,e,a){var i=a("cn8Z");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("0a528d56",i,!0,{})},"91NJ":function(t,e,a){var i=a("Mqgg");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("630fb42c",i,!0,{})},"966X":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".pop-over[data-v-a7f7d0dc]{min-width:0;max-width:380px}.mobile .pop-over[data-v-a7f7d0dc]{max-width:none}.success[data-v-a7f7d0dc]{display:flex;justify-content:center;align-items:center;text-align:center;padding:30px}.success .info[data-v-a7f7d0dc]{font-size:10px;color:#7a7a7a;margin-bottom:5px}.success .link[data-v-a7f7d0dc]{font-size:9px}\n",""])},"9Pt/":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".processes[data-v-25a6ed1a]{width:160px;position:fixed;bottom:5px;right:5px;z-index:99999999;display:flex;flex-direction:column}.processes .process[data-v-25a6ed1a]{background:#fff;padding:10px;border:1px solid #0799ff;margin-top:2px;position:relative}.processes .process .kill[data-v-25a6ed1a]{cursor:pointer;position:absolute;top:-6px;right:-3px;width:15px;height:15px;border-radius:50%;background:#ff0707;color:#fff;font-size:11px;display:flex;justify-content:center;align-items:center}.processes .process .title[data-v-25a6ed1a]{font-size:11px;margin-bottom:5px;color:#0799ff;font-weight:bold}.processes .process .sub-title[data-v-25a6ed1a]{font-size:9px;width:100%;margin-top:5px;padding:5px 0;border-top:1px solid rgba(0,0,0,0.2)}.processes .process .percentage-bar[data-v-25a6ed1a]{margin:0}@media (min-width: 1280px){.processes[data-v-25a6ed1a]{width:260px}.processes .process[data-v-25a6ed1a]{padding:20px}.processes .process .title[data-v-25a6ed1a]{font-size:16px;margin-bottom:8px}.processes .process .sub-title[data-v-25a6ed1a]{font-size:13px;margin-top:8px;padding:8px 0}}\n",""])},"9TWB":function(t,e,a){"use strict";var i=a("Dwlt");a.n(i).a},"9YZ2":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".popout{position:relative;display:flex;flex-direction:column;overflow:hidden;height:calc(100vh - 40px)}.popout.login{height:100vh}.popout .popout-window{border:1px solid #dadada;border-top:0;height:calc(100vh - 40px)}.popout>section{display:flex;flex-direction:column;flex:1}.popout .multi-pane{display:flex;flex-direction:row;flex:1;height:calc(100vh - 90px)}.popout .multi-pane .main-panel{position:relative;display:flex;flex-direction:column;flex:1;width:calc(100% - 320px);border-right:1px solid #dfe0e1}.popout .multi-pane .side-panel{width:calc(100% - 420px);display:flex;flex-direction:column;overflow:auto;flex:0 0 auto;background:#f7fafb;position:relative;height:calc(100vh - 41px)}.popout .multi-pane .side-panel .messages-scroller{height:calc(100vh - 91px);overflow-y:scroll;padding:0 30px 80px}.popout .multi-pane .side-panel .whitelist-bar{position:absolute;bottom:0;left:0;right:0;height:50px;z-index:2;background:#fff;border-top:1px solid #dfe0e1;display:flex;justify-content:space-between;align-items:center;padding:10px 10px 10px 20px}.popout .multi-pane .side-panel .whitelist-bar .text{font-size:10px;font-weight:bold;padding-right:50px}.popout .multi-pane .side-panel .whitelist-bar .text.blue{color:#0799ff}.popout .multi-pane .side-panel .whitelist-bar .switch{flex:0 0 auto}.popout .multi-pane .side-bar{cursor:pointer;height:calc(100vh - 70px);width:20px;background:#0799ff;border-left:1px solid #0799ff;display:flex;justify-content:center;align-items:center;color:#fff;font-size:11px;padding-right:3px}.popout .participants{padding:0 30px;text-align:center;margin-top:30px}.popout .participants .more-participants{font-size:10px;margin-top:5px;text-decoration:underline;cursor:pointer}.popout .participants label{display:block;color:#0799ff}.popout .participants .participant{font-size:12px;border:1px solid #dfe0e1;background:#f3f6f7;display:inline-block;padding:6px 10px}.popout .participants .participant:not(:first-child){margin-top:3px}.popout .info-line{padding:0 30px;margin:25px 0 10px;text-align:center;position:relative;height:24px}.popout .info-line span{display:inline-block;padding:0 20px;height:24px;line-height:24px;background:#fafafa;font-size:16px;position:relative;z-index:1}.popout .info-line:after{content:'';display:block;height:1px;position:absolute;left:30px;right:30px;top:12px;background:rgba(0,0,0,0.1);z-index:0}.popout .fixed-actions{position:absolute;bottom:0;left:0;right:0;padding:30px}.popout .fixed-actions .accept-deny{display:flex;justify-content:space-between}\n",""])},"9oR7":function(t,e,a){var i=a("/D5S");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("d62f1b10",i,!0,{})},"9pTj":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".display-token[data-v-7fa05eb2]{padding:40px;min-width:500px}.display-token .button-list button[data-v-7fa05eb2]{margin-right:5px}.display-token .button-list button[data-v-7fa05eb2]:last-child{margin-right:0}\n",""])},A23T:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".search-and-filter[data-v-1bc83710]{display:flex;align-items:center;width:calc(100% - 40px);margin:20px}@media (max-width: 600px){.search-and-filter[data-v-1bc83710]{flex-direction:column;margin:20px;width:calc(100% - 40px)}}.search-and-filter .search-bar[data-v-1bc83710]{flex:1}@media (max-width: 600px){.search-and-filter .search-bar[data-v-1bc83710]{width:100%}}.search-and-filter .search-bar input[data-v-1bc83710]{height:36px;text-align:center;font-size:13px;box-shadow:none;outline:0;-webkit-appearance:none}.search-and-filter.blue .search-bar input[data-v-1bc83710]{border-color:#67CBFF;color:white;opacity:.49}.search-and-filter.blue .search-bar input[data-v-1bc83710]::-webkit-input-placeholder{color:white}.search-and-filter.blue .search-barinput[data-v-1bc83710]:hover,.search-and-filter.blue .search-barinput[data-v-1bc83710]:focus{border-color:white;opacity:1}.search-and-filter .filters[data-v-1bc83710]{flex:1;text-align:right;display:flex;justify-content:flex-end}@media (max-width: 600px){.search-and-filter .filters[data-v-1bc83710]{justify-content:space-between;text-align:left;width:100%;padding:6px 0}}.search-and-filter .filters .filter[data-v-1bc83710]{flex:1;max-width:150px;margin-left:20px}@media (max-width: 600px){.search-and-filter .filters .filter[data-v-1bc83710]{max-width:initial;margin:0}}.search-and-filter.full[data-v-1bc83710]{width:calc(100% - 40px)}@media (max-width: 600px){.search-and-filter.full[data-v-1bc83710]{width:calc(100vw - 40px)}}.search-and-filter.full .search-bar[data-v-1bc83710]{margin:0}\n",""])},A2NC:function(t,e,a){var i=a("dBmO");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("30a18465",i,!0,{})},AW8H:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".scroller[data-v-6fd33fd3]{max-height:300px;overflow-y:scroll;border-radius:4px;border:1px solid #dfe0e1;padding:20px;margin-left:-150px;margin-right:-150px;text-align:left}\n",""])},AgIm:function(t,e,a){var i=a("XZEJ");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("34a80ffe",i,!0,{})},Azzw:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".account[data-v-273925aa]{height:calc(100vh - 60px - 80px);display:flex;flex-direction:column;overflow-y:auto}.account .manage[data-v-273925aa]{padding:0;height:calc(calc(100vh - 0px - 80px));position:relative;border-radius:20px;margin:20px;margin-top:0;background:#0799ff}@media (max-width: 600px){.account .manage[data-v-273925aa]{border-radius:20px 20px 0 0;margin:0 0 20px}}.account .manage .account-actions[data-v-273925aa]{width:44px;height:44px;background:rgba(255,255,255,0.12);display:block;position:absolute;top:20px;right:20px;cursor:pointer;padding-right:0}.account .manage .account-actions .button[data-v-273925aa]{width:44px;height:44px;color:white;line-height:44px;text-align:center}.account .manage .account-actions .action-menu[data-v-273925aa]{color:#333}.account .manage .wrapper .details[data-v-273925aa]{padding:20px 0;display:flex;align-items:center;justify-content:center;flex-direction:column}.account .manage .wrapper .details .blockchain[data-v-273925aa]{font-size:80px;color:white}.account .manage .wrapper .details .name[data-v-273925aa]{font-size:24px;font-family:'Poppins', sans-serif;font-weight:bold;text-align:center;max-width:80%;color:white}.account .manage .wrapper .details .network[data-v-273925aa]{font-size:13px;margin-top:5px;color:white}.account .manage .wrapper .details .permissions[data-v-273925aa]{display:flex;margin-top:15px}.account .manage .wrapper .details .permissions .permission[data-v-273925aa]{cursor:pointer;padding:6px 12px;background:black;color:#fff;font-size:12px;font-weight:bold}.account .manage .wrapper .details .permissions .permission.red[data-v-273925aa]{background:#ff0707}.account .manage .flex-wrapper[data-v-273925aa]{display:flex;flex-direction:row}.account .manage .flex-wrapper .resources[data-v-273925aa]{padding:0 20px 40px 20px;display:flex;justify-content:center;width:100%}@media (max-width: 600px){.account .manage .flex-wrapper .resources[data-v-273925aa]{flex-direction:column}}.account .manage .flex-wrapper .resources .loading[data-v-273925aa]{font-size:36px;color:white;display:flex;align-items:center;justify-content:center;width:100%}.account .manage .flex-wrapper .resources .resource[data-v-273925aa]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px}@media (max-width: 600px){.account .manage .flex-wrapper .resources .resource[data-v-273925aa]{flex-direction:row;flex-grow:1;align-items:center;justify-content:space-evenly;padding:10px 0}}.account .manage .flex-wrapper .resources .resource i[data-v-273925aa]{display:flex;justify-content:center;align-items:center;width:44px;height:44px;color:#0799ff;font-size:22px;background:white;border-radius:50%}@media (max-width: 600px){.account .manage .flex-wrapper .resources .resource i[data-v-273925aa]{width:28px;height:28px;font-size:18px}}.account .manage .flex-wrapper .resources .resource i.red[data-v-273925aa]{color:#ff0707;border-color:#ff0707;font-size:20px;margin-top:-2px}@media (max-width: 600px){.account .manage .flex-wrapper .resources .resource i.red[data-v-273925aa]{font-size:16px;margin-top:-4px}}.account .manage .flex-wrapper .resources .resource .type[data-v-273925aa]{margin-bottom:10px;color:white;font-size:18px;font-family:'Poppins', sans-serif;font-weight:bold}@media (max-width: 600px){.account .manage .flex-wrapper .resources .resource .type[data-v-273925aa]{margin:0;font-size:13px}}.account .manage .flex-wrapper .resources .resource .percentage[data-v-273925aa]{font-size:13px;margin-top:10px;font-family:'Poppins', sans-serif;font-weight:bold;color:white}@media (max-width: 600px){.account .manage .flex-wrapper .resources .resource .percentage[data-v-273925aa]{margin:0}}.account .manage .flex-wrapper .resources .resource .action[data-v-273925aa]{margin-top:10px;color:#0799ff}@media (max-width: 600px){.account .manage .flex-wrapper .resources .resource .action[data-v-273925aa]{margin:0}}.account .manage .flex-wrapper .actions[data-v-273925aa]{padding:30px;height:calc(calc(100vh - 0px - 80px) - 360px);overflow-y:auto;width:100%}.account .manage .flex-wrapper .actions .action[data-v-273925aa]{display:flex;margin-bottom:10px;align-items:center}.account .manage .flex-wrapper .actions .action .icon[data-v-273925aa]{height:35px;width:35px;border-radius:50%;background:#0799ff;color:#fff;display:flex;justify-content:center;align-items:center}.account .manage .flex-wrapper .actions .action .icon.red[data-v-273925aa]{background:#ff0707}.account .manage .flex-wrapper .actions .action .name[data-v-273925aa]{padding:0 10px;flex:1;font-size:10px;font-weight:bold}.account .manage .flex-wrapper .actions .action button[data-v-273925aa]{min-width:80px}.account .assets[data-v-273925aa]{flex:1;position:relative}.account .assets .fiat-title[data-v-273925aa]{position:absolute;left:20px;top:0;z-index:1}.account .assets .token-list .tokens[data-v-273925aa]{height:auto}\n",""])},B6RA:function(t,e,a){"use strict";var i=a("oCYn"),n=a("L2JU"),s=a("qjwK"),o=a("q+A3");const r={[o.w]:(t,e)=>t.testingMode=e,[o.y]:(t,e)=>t.tokenMetas=e,[o.k]:(t,e)=>t.featuredApps=e,[o.n]:(t,e)=>t.isMobile=e,[o.o]:(t,e)=>t.isMobileDevice=e,[o.q]:(t,e)=>t.popOut=e,[o.r]:(t,e)=>t.ports=e,[o.v]:(t,e)=>t.sidebarLocked=e,[o.j]:(t,e)=>t.appReputation=e,[o.i]:(t,{app:e,rep:a})=>i.a.set(t.actionReputations,e,a),[s.SET_PRICE_DATA]:(t,e)=>t.priceData=e,[o.b]:(t,e)=>t.hideBackButton=e,[o.z]:(t,e)=>t.workingScreen=e,[o.t]:(t,e)=>t.searchTerms=e,[s.SET_SCATTER]:(t,e)=>t.scatter=e,[o.e]:(t,e)=>t.popups.push(e),[o.f]:(t,e)=>t.popups=t.popups.filter(t=>t.id!==e.id),[o.x]:(t,e)=>t.tokens=e,[s.SET_PRICES]:(t,e)=>t.prices=e,[s.SET_DAPP_LOGO]:(t,{origin:e,logo:a})=>i.a.set(t.dappLogos,e,a),[s.SET_DAPP_DATA]:(t,e)=>t.dappData=e,[o.g]:(t,e)=>t.processes=t.processes.filter(t=>t.id!==e.id),[o.s]:(t,e)=>{const a=t.processes.find(t=>t.id===e.id);if(!a)return t.processes.push(e);a.progress=e.progress},[s.SET_RESOURCES]:(t,e)=>t.resources=e,[s.ADD_RESOURCES]:(t,e)=>i.a.set(t.resources,e.acc,e.res),[s.SET_BALANCES]:(t,e)=>i.a.set(t.balances,e.account,e.balances),[o.l]:(t,e)=>t.balances=e,[s.REMOVE_BALANCES]:(t,e)=>e.map(e=>i.a.delete(t.balances,e)),[o.m]:(t,e)=>i.a.set(t.hardware,e.name,e.transport),[o.h]:(t,e)=>i.a.delete(t.hardware,e),[o.d]:(t,e)=>t.newKey=e,[o.p]:(t,e)=>i.a.set(t.language,"json",e),[s.LOAD_HISTORY]:(t,e)=>t.history=e,[s.DELTA_HISTORY]:(t,e)=>{null===e?t.history=[]:t.history.find(t=>t.id===e.id)?t.history=t.history.filter(t=>t.id!==e.id):t.history.unshift(e)}};var c=a("OFHw"),l=a("MIPw"),d=a("Mb++"),p=a.n(d),u=(a("48Ae"),a("sDjF")),h=a("ssXz"),f=a.n(h),m=a("GGPC"),b=a.n(m),g=a("wy8C"),v=a.n(g),x=a("EnWD");const y="popout"===location.hash.replace("#/","").split("?")[0]||!!window.PopOutWebView;let k=!1;const w={[o.y]:({commit:t},e)=>t(o.y,e),[o.k]:({commit:t},e)=>t(o.k,e),[o.q]:({commit:t},e)=>t(o.q,e),[o.r]:({commit:t},e)=>t(o.r,e),[o.v]:({commit:t},e)=>t(o.v,e),[o.j]:({commit:t},e)=>t(o.j,e),[o.i]:({commit:t},e)=>t(o.i,e),[o.b]:({commit:t},e)=>t(o.b,e),[o.s]:({commit:t},e)=>t(o.s,e),[o.g]:({commit:t},e)=>t(o.g,e),[o.z]:({commit:t},e)=>t(o.z,e),[o.t]:({commit:t},e)=>t(o.t,e),[s.SET_PRICE_DATA]:({commit:t},e)=>t(s.SET_PRICE_DATA,e),[s.ADD_RESOURCES]:({commit:t},e)=>t(s.ADD_RESOURCES,e),[s.SET_RESOURCES]:({commit:t},e)=>t(s.SET_RESOURCES,e),[s.SET_DAPP_DATA]:({commit:t},e)=>t(s.SET_DAPP_DATA,e),[s.SET_DAPP_LOGO]:({commit:t},e)=>t(s.SET_DAPP_LOGO,e),[s.HOLD_SCATTER]:({commit:t},e)=>t(s.SET_SCATTER,e),[o.w]:({commit:t},e)=>{window.wallet.storage.setGeneralSetting("testingMode",e),t(o.w,e)},[o.n]:({commit:t},e)=>t(o.n,e),[o.o]:({commit:t},e)=>t(o.o,e),[o.u]:({commit:t},e)=>{},[s.LOAD_SCATTER]:async({commit:t,state:e,dispatch:i},n=!1)=>{let o=await c.a.getScatter();return o?(o=p.a.fromJson(o),y||k||(k=!0,await a("+Dqx").default(o,a("OBek")),o.keychain.accounts.map(t=>{o.keychain.keypairs.find(e=>e.unique()===t.keypairUnique)&&o.settings.networks.find(e=>e.unique()===t.networkUnique)||o.keychain.removeAccount(t)}),o.meta.regenerateVersion()),t(s.SET_SCATTER,o)):null},[o.a]:({state:t,commit:e,dispatch:a},i)=>new Promise(async(t,e)=>{const n=await p.a.create();n.meta.acceptedTerms=!0,n.onboarded=!0,await window.wallet.unlock(i,!0),a(s.SET_SCATTER,n).then(async e=>{await l.a.setDefaultBackupLocation(),u.a.init(),t()})}),[s.SET_SCATTER]:async({commit:t,state:e},a)=>y?e.scatter:new Promise(async e=>{let i=await c.a.setScatter(a);if(!i)return e(!1);l.a.createAutoBackup(),i=p.a.fromJson(i),t(s.SET_SCATTER,i),e(i)}),[o.e]:({commit:t},e)=>t(o.e,e),[o.f]:({commit:t},e)=>t(o.f,e),[o.m]:({commit:t},e)=>t(o.m,e),[o.h]:({commit:t},e)=>t(o.h,e),[o.x]:({commit:t},e)=>t(o.x,e),[s.SET_BALANCES]:({commit:t},e)=>t(s.SET_BALANCES,e),[o.l]:({commit:t},e)=>t(o.l,e),[s.REMOVE_BALANCES]:({commit:t},e)=>t(s.REMOVE_BALANCES,e),[s.SET_PRICES]:({commit:t},e)=>t(s.SET_PRICES,e),[o.d]:({commit:t},e)=>t(o.d,e),[o.p]:({commit:t},e)=>(t(o.p,e),c.a.setTranslation(e)),[o.c]:async({commit:t})=>t(o.p,await c.a.getTranslation()),[s.LOAD_HISTORY]:async({commit:t})=>{let e=await c.a.getHistory();e&&(e=(e=e.filter(t=>t.txid&&t.txid.length)).map(t=>t.type===x.HISTORY_TYPES.Transfer?f.a.fromJson(t):t.type===x.HISTORY_TYPES.Exchange?b.a.fromJson(t):t.type===x.HISTORY_TYPES.Action?v.a.fromJson(t):null).filter(t=>t),t(s.LOAD_HISTORY,e))},[s.UPDATE_HISTORY]:async({dispatch:t},e)=>{await c.a.updateHistory(e),t(s.LOAD_HISTORY)},[s.DELTA_HISTORY]:async({dispatch:t},e)=>{await c.a.deltaHistory(e),t(s.LOAD_HISTORY)}};var _=a("Gbp+"),C=a("IMve"),T=a.n(C),S=(a("MG8j"),a("KLk5")),E=a.n(S);a.d(e,"a",(function(){return O})),i.a.use(n.a);const A={unlocked:t=>null!==t.scatter&&"string"!=typeof t.scatter&&"function"==typeof t.scatter.isEncrypted&&!t.scatter.isEncrypted(),contacts:t=>t.scatter.contacts||[],identity:t=>t.scatter.keychain.identities[0],identities:t=>t.scatter.keychain.identities||[],avatars:t=>t.scatter.keychain.avatars||{},locations:t=>t.scatter.keychain.locations||[],keypairs:t=>t.scatter.keychain.keypairs||[],cards:t=>t.scatter.keychain.cards||[],accounts:t=>t.scatter.keychain.accounts||[],permissions:t=>t.scatter.keychain.permissions||[],apps:t=>t.scatter.keychain.apps||[],hideMainBalance:t=>t.scatter.settings.hideMainBalance,ridlEnabled:t=>t.scatter.settings.firewall,version:t=>t.scatter.meta.version,networks:t=>t.scatter.settings.networks||[],autoBackup:t=>t.scatter.settings.autoBackup||null,backupLocation:t=>t.scatter.settings.backupLocation||null,explorers:t=>t.scatter.settings.explorers||T.a.defaultExplorers(),blacklistActions:t=>t.scatter.settings.blacklistActions,blacklistTokens:t=>t.scatter.settings.blacklistTokens,balanceFilters:t=>t.scatter.settings.balanceFilters,displayCurrency:t=>t.scatter.settings.displayCurrency,displayToken:t=>t.scatter.settings.displayToken,tokens:t=>t.scatter.settings.tokens,popIns:t=>t.popups.filter(t=>t.displayType===_.c.POP_IN)||[],nextPopIn:t=>t.popups.filter(t=>t.displayType===_.c.POP_IN)[0]||null,snackbars:t=>t.popups.filter(t=>t.displayType===_.c.SNACKBAR)||[],totalBalances:(t,e)=>E.a.totalBalances(!0)},O=new n.a.Store({state:{ports:null,dappLogos:{},dappData:{},featuredApps:[],tokenMetas:{},workingScreen:null,processes:[],resources:{},hideBackButton:!1,searchTerms:"",mnemonic:"",scatter:null,popups:[],hardware:{},balances:{},prices:{},newKey:!1,history:[],language:{},priceData:{},appReputation:!1,actionReputations:{},sidebarLocked:!1,popOut:null,isMobile:!1,isMobileDevice:!1,testingMode:!1},getters:A,mutations:r,actions:w})},BF8t:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".test[data-v-22eeb023]{background:linear-gradient(-180deg, #2c2f3f -10%, #4f5469 120%)}\n",""])},"BI/6":function(t,e,a){"use strict";var i=a("353D");a.n(i).a},BI9a:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"",""])},BWwa:function(t,e,a){var i=a("gcxV");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("1ebc7895",i,!0,{})},CcTw:function(t,e,a){var i=a("21TS");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("aa8e375c",i,!0,{})},Ccgo:function(t,e,a){var i=a("kx/y");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("4b691e43",i,!0,{})},D0lD:function(t,e,a){var i=a("lAtx");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("dcca13ec",i,!0,{})},DSpH:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".dummy-bg figure[data-v-2d43f3c5]{position:fixed;top:0;left:0;right:0;z-index:-2;height:40px;width:100%;display:flex;align-items:center;padding:0 0 0 10px;border:1px solid #0778dd;border-bottom:0;background:#0799ff;font-family:'Grand Hotel', sans-serif;font-size:24px;color:#fff}.dummy-bg figure.hide[data-v-2d43f3c5]{display:none}\n",""])},DmdJ:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".line[data-v-2ddb9446]{width:100%;height:1px;background:rgba(0,0,0,0.1);margin-top:30px}.port[data-v-2ddb9446]{display:flex;font-weight:bold}.port[data-v-2ddb9446]:not(:last-child){margin-bottom:5px}.port .ssl[data-v-2ddb9446]{font-size:9px;padding:2px 6px;background:#0799ff;color:#fff;border-radius:4px;display:flex;align-items:center;justify-content:center;margin-left:10px}\n",""])},DolT:function(t,e,a){"use strict";a.r(e);var i=a("PQ0E"),n=a("cUFd");e.default={en:i.default,zh:n.default}},Dqqd:function(t,e,a){var i=a("3466");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("1a13e509",i,!0,{})},Dwlt:function(t,e,a){var i=a("b2Rl");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("11c59d51",i,!0,{})},E1Hf:function(t,e,a){var i=a("upnx");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("f5515e6c",i,!0,{})},E9Fc:function(t,e,a){var i=a("bUQ9");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("3323987e",i,!0,{})},EAbP:function(t,e,a){"use strict";var i=a("kAjX");a.n(i).a},EIo5:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".quick-actions[data-v-4fa3c406]{background:white;padding:0 20px;display:flex;align-items:center;text-align:center;justify-content:center;color:#333;height:70px;min-height:70px;width:auto;z-index:99;transition:all 0.12s ease-in-out}@media (max-width: 600px){.quick-actions[data-v-4fa3c406]{padding:0 15px}}.quick-actions.sidebarLocked[data-v-4fa3c406]{left:240px}.quick-actions .left[data-v-4fa3c406]{opacity:1;transition:all 0.22s ease-in-out}.quick-actions .left svg[data-v-4fa3c406]{margin-top:2px;height:44px}.quick-actions .left.quickBack[data-v-4fa3c406]{width:44px;height:44px;opacity:1;color:#0799ff}.quick-actions .right[data-v-4fa3c406]{display:flex;justify-content:flex-end;flex:1;width:80%;font-size:18px;align-items:center}.quick-actions .right i[data-v-4fa3c406]{margin-left:10px}.quick-actions .quick-back[data-v-4fa3c406]{font-size:24px;width:44px;height:44px;line-height:44px;text-align:center;display:block;cursor:pointer}.quick-actions .quick-back i[data-v-4fa3c406]:before{padding:0;margin:6px 0 0 0}.quick-actions .fiat[data-v-4fa3c406]{display:flex;align-items:center}.quick-actions .fiat .balance[data-v-4fa3c406]{font-size:24px;font-family:'Poppins', sans-serif;font-weight:bold;color:black}.quick-actions .fiat .refresh[data-v-4fa3c406]{cursor:pointer;font-size:22px;margin-left:10px}.quick-actions .balances[data-v-4fa3c406]{cursor:pointer}.quick-actions .token[data-v-4fa3c406]{display:flex;align-items:center;margin-top:2px}.quick-actions .token .balance[data-v-4fa3c406]{font-size:10px;font-weight:bold}.quick-actions .token .symbol[data-v-4fa3c406]{cursor:pointer;font-size:18px;margin-left:-3px}.quick-actions .action[data-v-4fa3c406]{height:55px;display:flex;flex-direction:column;justify-content:center;padding:0 20px;font-size:12px;font-weight:bold;text-align:center;cursor:pointer;margin-top:-7px;color:rgba(255,255,255,0.8)}.quick-actions .action img[data-v-4fa3c406]{transition:transform 0.2s ease;transform:translateY(0px);width:44px;margin:0 auto 4px}.quick-actions .action[data-v-4fa3c406]:hover{color:#fff}.quick-actions .action[data-v-4fa3c406]:last-child{border-left:1px solid rgba(255,255,255,0.12);padding-left:30px;margin-left:10px;padding-right:0}\n",""])},EUMI:function(t,e,a){"use strict";var i=a("3c97");a.n(i).a},"Ea+s":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".panel-container[data-v-f78bbdd0]{overflow:auto;height:calc(100vh - 240px)}.resource-moderator .input[data-v-f78bbdd0]{margin-bottom:0}\n",""])},Eiaj:function(t,e,a){var i=a("H4hv");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("28287bda",i,!0,{})},"F/n4":function(t,e,a){"use strict";var i=a("r/Ez");a.n(i).a},FNEE:function(t,e,a){var i=a("XMON");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("37cbda58",i,!0,{})},FNgu:function(t,e,a){"use strict";var i=a("nsxS");a.n(i).a},Fixf:function(t,e,a){var i=a("QKkz");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("614a345a",i,!0,{})},FnTk:function(t,e,a){"use strict";var i=a("iaKN");a.n(i).a},FxcG:function(t,e,a){var i=a("aqMg");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("470431ca",i,!0,{})},"Gbp+":function(t,e,a){"use strict";a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return c})),a.d(e,"d",(function(){return l})),a.d(e,"e",(function(){return d})),a.d(e,"b",(function(){return p}));var i=a("SDtL"),n=a.n(i),s=a("+nw1"),o=a("F+MN");a("z/LQ");const r={POP_IN:"popin",POP_OUT:"popout",POP_SIDE:"popside",SNACKBAR:"snackbar"};class c{constructor(t=r.POP_IN,e=new p,a=!1){this.id=n.a.numeric(24),this.displayType=t,this.data=e,this.internal=a}static fromJson(t){return Object.assign(new c,t)}dimensions(){switch(this.data.type){case s.LOGIN:case s.LOGIN_ALL:case s.GET_PUBLIC_KEY:case s.TRANSFER:return{width:600,height:600};case s.UPDATE_IDENTITY:return{width:420,height:600};case s.SIGN:return{width:920,height:600};case"linkApp":return{width:420,height:500};default:return{width:800,height:600}}}appData(){return this.data.props.appData}payload(){return this.data.props.payload}origin(){const t=this.appData();return t?t.name:this.data.props.plugin}static popout(t,e,a=!1){return new c(r.POP_OUT,new p(t.type,t,e),a)}static prompt(t,e,a,i=!1,n=!1){let s={title:t,description:e,acceptDeny:i,inputField:n};return new c(r.POP_IN,new p(l.PROMPT,s,a))}static selectFromList(t,e,a){return new c(r.POP_IN,new p(l.SELECT_FROM_LIST,{title:t,list:e},a))}static transactionSuccess(t,e,a){return new c(r.POP_IN,new p(l.TX_SUCCESS,{blockchain:t,tx:e},a))}static snackbar(t,e,a=3e3){return new c(r.SNACKBAR,new p("",{message:t,icon:e,timeout:a}))}static enterPIN(t){return new c(r.POP_IN,new p(l.ENTER_PIN,{},t))}static removeApp(t,e){return new c(r.POP_IN,new p(l.REMOVE_APP,{origin:t},e))}static updateAvailable(t,e){return new c(r.POP_IN,new p(l.UPDATE_AVAILABLE,{update:t},e))}static showTerms(t){return new c(r.POP_IN,new p(l.SHOW_TERMS,{},t))}static enterSecurityCode(t,e){return new c(r.POP_IN,new p(l.SECURITY_CODE,{subtitle:t},e))}static verifyPassword(t,e=!1){return new c(r.POP_IN,new p(l.VERIFY_PASSWORD,{returnOnly:e},t))}static changeIdentityKey(t,e){return new c(r.POP_IN,new p(l.CHANGE_IDENTITY_KEY,{identity:t},e))}static eosChangePermissions(t,e){return new c(r.POP_IN,new p(l.EOS_CHANGE_PERMISSIONS,{account:t},e))}static eosProxyVotes(t,e){return new c(r.POP_IN,new p(l.EOS_PROXY_VOTES,{account:t},e))}static eosModerateRam(t,e){return new c(r.POP_IN,new p(l.EOS_MODERATE_RAM,{account:t},e))}static eosModerateCpuNet(t,e){return new c(r.POP_IN,new p(l.EOS_MODERATE_CPU_NET,{account:t},e))}static eosCreateAccount(t,e){return new c(r.POP_IN,new p(l.EOS_CREATE_ACCOUNT,{account:t},e))}static eosLinkAccount(t,e){return new c(r.POP_IN,new p(l.EOS_LINK_ACCOUNT,{keypair:t},e))}static addCustomNetwork(t,e){return new c(r.POP_IN,new p(l.ADD_CUSTOM_NETWORK,{blockchain:t},e))}static addNewContact(t,e){return new c(r.POP_IN,new p(l.ADD_NEW_CONTACT,{blockchain:t},e))}static unlinkAccount(t,e){return new c(r.POP_IN,new p(l.UNLINK_ACCOUNT,{account:t},e))}static unlinkBlockchain(t,e,a){return new c(r.POP_IN,new p(l.UNLINK_BLOCKCHAIN,{keypair:t,blockchain:e},a))}static removeKeypair(t,e){return new c(r.POP_IN,new p(l.REMOVE_KEYPAIR,{keypair:t},e))}static removeLocation(t,e,a){return new c(r.POP_IN,new p(l.REMOVE_LOCATION,{identity:t,location:e},a))}static destroyScatter(t){return new c(r.POP_IN,new p(l.DESTROY_SCATTER,{},t))}static importFullBackup(t,e){return new c(r.POP_IN,new p(l.IMPORT_FULL_BACKUP,{options:t},e))}static importKeypair(t,e){return new c(r.POP_IN,new p(l.IMPORT_KEYPAIR,{options:t},e))}static generateKeypair(t,e){return new c(r.POP_IN,new p(l.GENERATE_KEYPAIR,{options:t},e))}static checkHardwareWalletScreen(){return window.wallet.utility.pushNotification("Check Hardware","Please check your hardware screen."),new c(r.POP_IN,new p(l.CHECK_HARDWARE,{},()=>{}))}static selectTokenAndAccount(t){return new c(r.POP_IN,new p(l.SELECT_TOKEN_AND_ACCOUNT,{},t))}static selectAccount(t,e=null){return new c(r.POP_IN,new p(l.SELECT_ACCOUNT,{validAccounts:e},t))}static selectKeypair(t,e=o.BlockchainsArray.map(t=>t.value)){return new c(r.POP_IN,new p(l.SELECT_KEYPAIR,{blockchains:e},t))}static selectRecipient(t=null,e){return new c(r.POP_IN,new p(l.SELECT_RECIPIENT,{blockchain:t},e))}static selectToken(t,e){return new c(r.POP_IN,new p(l.SELECT_TOKEN,{tokens:t},e))}static selectBlockchain(t,e=o.BlockchainsArray.map(t=>t.value)){return new c(r.POP_IN,new p(l.SELECT_BLOCKCHAIN,{blockchains:e},t))}static confirmExchange(t,e,a,i,n){return new c(r.POP_IN,new p(l.CONFIRM_EXCHANGE,{accounts:t,symbols:e,order:a,pair:i},n))}static confirmTransfer(t,e,a,i,n){return new c(r.POP_IN,new p(l.CONFIRM_TRANSFER,{from:t,to:e,token:a,memo:i},n))}static exportPrivateKey(t,e){return new c(r.POP_IN,new p(l.EXPORT_PRIVATE_KEY,{keypair:t.clone()},e))}static setDisplayToken(t=(()=>{})){return new c(r.POP_IN,new p(l.DISPLAY_TOKEN,{},t))}static moonpayCode(t=(()=>{})){return new c(r.POP_IN,new p(l.MOONPAY_CODE,{},t))}static enableSimpleMode(t=(()=>{})){return new c(r.POP_IN,new p(l.ENABLE_SIMPLE_MODE,{},t))}}const l={PROMPT:"prompt",SELECT_FROM_LIST:"select_from_list",ENTER_PIN:"enterPIN",REMOVE_APP:"removeApp",UPDATE_AVAILABLE:"updateAvailable",TX_SUCCESS:"txSuccess",SELECT_TOKEN_AND_ACCOUNT:"selectTokenAndAccount",SELECT_ACCOUNT:"selectAccount",SELECT_KEYPAIR:"selectKeypair",SELECT_RECIPIENT:"selectRecipient",SELECT_TOKEN:"selectToken",SELECT_BLOCKCHAIN:"selectBlockchain",EOS_LINK_ACCOUNT:"eosLinkAccount",DISPLAY_TOKEN:"displayToken",MOONPAY_CODE:"moonpayCode",ENABLE_SIMPLE_MODE:"enableSimpleMode",SHOW_TERMS:"showTerms",SECURITY_CODE:"securityCode",CHANGE_IDENTITY_KEY:"changeIdentityKey",VERIFY_PASSWORD:"verifyPassword",EOS_CHANGE_PERMISSIONS:"eosChangePermissions",EOS_PROXY_VOTES:"eosProxyVotes",EOS_MODERATE_RAM:"eosModerateRam",EOS_MODERATE_CPU_NET:"eosModerateCpuNet",EOS_CREATE_ACCOUNT:"eosCreateAccount",ADD_CUSTOM_NETWORK:"addCustomNetwork",ADD_NEW_CONTACT:"addNewContact",UNLINK_ACCOUNT:"unlinkAccount",UNLINK_BLOCKCHAIN:"unlinkBlockchain",REMOVE_KEYPAIR:"removeKeypair",MNEMONIC:"mnemonic",REMOVE_LOCATION:"removeLocation",DESTROY_SCATTER:"destroyScatter",CHECK_HARDWARE:"checkHardware",CONFIRM_EXCHANGE:"confirmExchange",CONFIRM_TRANSFER:"confirmTransfer",EXPORT_PRIVATE_KEY:"exportPrivateKey",GENERATE_KEYPAIR:"generateKeypair",IMPORT_KEYPAIR:"importKeypair",IMPORT_FULL_BACKUP:"importFullBackup"},d=t=>![l.PROMPT,l.SELECT_FROM_LIST,l.ENTER_PIN,l.REMOVE_APP,l.UPDATE_AVAILABLE,l.TX_SUCCESS,l.SELECT_TOKEN_AND_ACCOUNT,l.SELECT_ACCOUNT,l.SELECT_KEYPAIR,l.SELECT_RECIPIENT,l.SELECT_TOKEN,l.SELECT_BLOCKCHAIN,l.CONFIRM_TRANSFER,l.CONFIRM_EXCHANGE,l.EOS_LINK_ACCOUNT,l.DISPLAY_TOKEN,l.ENABLE_SIMPLE_MODE].includes(t.data.type);class p{constructor(t,e,a=(()=>{})){this.type=t,this.props=e,this.callback=a}}},Gfyt:function(t,e,a){"use strict";var i=a("Vl93");a.n(i).a},Gmfg:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".carousel[data-v-4398fff8]{position:relative;height:300px;width:100%;margin:0 auto;margin-top:1px;max-width:900px}@media (max-width: 920px){.carousel[data-v-4398fff8]{height:440px}}.carousel .go-right[data-v-4398fff8],.carousel .go-left[data-v-4398fff8]{cursor:pointer;position:absolute;color:white;font-size:20px;background:rgba(255,255,255,0.12);width:44px;height:44px;line-height:44px;text-align:center;z-index:3;transition:all 0.12s ease-in-out}.carousel .go-right[data-v-4398fff8]:hover,.carousel .go-left[data-v-4398fff8]:hover{width:40px;background:#fff;color:#0799ff}.carousel .go-left[data-v-4398fff8]{left:0px;top:60%;margin-top:-54px;border-top-right-radius:3px;border-bottom-right-radius:3px}.carousel .go-right[data-v-4398fff8]{right:0px;top:60%;margin-top:-54px;border-top-left-radius:3px;border-bottom-left-radius:3px}.carousel .slider-container[data-v-4398fff8]{position:relative;overflow:hidden;height:300px;width:100%;border-radius:20px}@media (max-width: 920px){.carousel .slider-container[data-v-4398fff8]{height:440px}}.carousel .slider[data-v-4398fff8]{position:absolute;top:0;bottom:0;left:0;right:0;transition:all 0.6s ease;transition-property:left}.carousel .slider .slide[data-v-4398fff8]{position:absolute;top:0;height:100%}.carousel .slider .slide .image-container[data-v-4398fff8]{position:absolute;top:0;bottom:80px;left:0;right:0;z-index:1;overflow:hidden;background:#333}.carousel .slider .slide .image-container.full-height[data-v-4398fff8]{bottom:0}.carousel .slider .slide .image-container .bg[data-v-4398fff8]{position:absolute;top:-900px;bottom:-900px;left:-900px;right:-900px;background-size:200px;background-position:center;z-index:1;transform:rotateZ(20deg) scale(1.2);opacity:0.1;transition:1s transform ease}.carousel .slider .slide .image-container .image[data-v-4398fff8]{position:absolute;top:0;bottom:0;left:0;right:0;background-size:contain;background-position:center;background-repeat:no-repeat;margin:20px;z-index:1;transition:1s transform ease}.carousel .slider .slide .image-container.full .bg[data-v-4398fff8]{display:none}.carousel .slider .slide .image-container.full .image[data-v-4398fff8]{margin:0;background-size:cover}.carousel .slider .slide .info[data-v-4398fff8]{position:absolute;bottom:0;left:0;right:0;display:flex;padding:20px;z-index:2;flex-direction:row;justify-content:space-between;align-content:center;border-radius:0;background-color:#0799ff;height:80px}@media (max-width: 920px){.carousel .slider .slide .info[data-v-4398fff8]{height:140px;flex-direction:column}}.carousel .slider .slide .info .name[data-v-4398fff8]{font-size:16px;font-family:'Poppins', sans-serif;font-weight:bold;color:white;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.carousel .slider .slide .info .description[data-v-4398fff8]{font-size:12px;font-weight:bold;color:white;opacity:0.6;font-size:12px;margin-bottom:10px}.carousel .slider:hover .slide .image-container .bg[data-v-4398fff8]{transition:8s transform ease;transform:rotateZ(50deg) scale(0.5)}.carousel .slider.dummy .slide .image-container[data-v-4398fff8]{background-color:#f3f6f7}.carousel .slider.dummy .slide .image-container .image[data-v-4398fff8]{display:flex;justify-content:center;align-items:center;font-size:48px;color:#dfe0e1}.carousel .slider.dummy .slide .info .name[data-v-4398fff8]{padding:5px 50px;margin-bottom:2px}.carousel .slider.dummy .slide .info .description[data-v-4398fff8]{padding:10px 150px}\n",""])},Gx2v:function(t,e,a){var i=a("iT9p");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("65925b66",i,!0,{})},GxcK:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".actions button[data-v-281fcfea]{margin-left:5px}\n",""])},H4hv:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".login[data-v-7050f1f8]{display:flex;justify-content:center;align-items:center;height:calc(100vh - 0px);position:relative}.login .login-bg[data-v-7050f1f8]{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden;display:flex;align-items:center;justify-content:center;animation:fadein 0.5s ease forwards}.login .login-bg img[data-v-7050f1f8]{display:block;width:1920px;height:100%}.login .meteors[data-v-7050f1f8]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;justify-content:center;align-items:center;overflow:hidden}.login .meteors .rotator[data-v-7050f1f8]{position:absolute;top:0;bottom:0;left:0;right:0;transform:rotateZ(145deg)}.login .entry[data-v-7050f1f8]{display:flex;flex-direction:column;justify-content:center;align-items:center;height:calc(100vh - 0px);width:100%;position:relative;z-index:1;overflow:hidden;opacity:1;transition:all 0.5s ease;transition-property:opacity;transition-delay:0.5s}.login .entry .head[data-v-7050f1f8]{display:flex;align-items:flex-end;flex:1}.login .entry .head .details[data-v-7050f1f8]{text-align:center}.login .entry .head .details .logo[data-v-7050f1f8]{font-size:82px;line-height:82px;font-family:'Grand Hotel', sans-serif;text-shadow:0 0 90px rgba(255,255,255,0.6),0 1px 2px rgba(0,0,0,0.2),0 3px 7px rgba(0,0,0,0.2);color:#fff;transform:translateY(-1000px);animation:inFromTop 0.8s ease forwards;animation-delay:0.4s}.login .entry .head .details .version[data-v-7050f1f8]{font-size:11px;font-weight:bold;color:#fff;text-transform:uppercase;margin-top:4px;letter-spacing:20px;margin-right:-20px;opacity:0.9;text-shadow:0 0 2px #333;transform:translateY(-1000px);animation:inFromTop 0.5s ease forwards;animation-delay:0.2s}.login .entry .body[data-v-7050f1f8]{padding:50px 0;opacity:0;animation:fadein 0.5s ease forwards;animation-delay:0.2s}.login .entry .tail[data-v-7050f1f8]{display:flex;align-items:flex-start;flex:1;animation:inFromBottom 0.6s ease forwards;animation-delay:0.6s;transform:translateY(1000px)}.login .entry.success[data-v-7050f1f8]{opacity:0}.login .entry .terms[data-v-7050f1f8]{max-width:500px;margin:0 auto;font-size:10px}.login .entry .terms u[data-v-7050f1f8]{color:#fff;text-decoration:underline}.login .entry .actions[data-v-7050f1f8]{margin:0 auto;display:flex;justify-content:space-between}.login .entry .actions .action[data-v-7050f1f8]{cursor:pointer;padding:0 40px;text-align:center;transition:all 0.1s ease;transition-property:transform}.login .entry .actions .action svg[data-v-7050f1f8]{fill:#fff;stroke:#fff}.login .entry .actions .action .text[data-v-7050f1f8]{font-size:12px;font-weight:bold;color:#fff}.login .entry .actions .action[data-v-7050f1f8]:hover{transform:scale(1.1);background:rgba(0,0,0,0.08)}.login .welcome-password[data-v-7050f1f8]{max-width:450px;width:calc(100% - 40px);margin:0 20px}.onboard[data-v-7050f1f8]{width:100%;height:calc(100vh - 0px)}.onboard .panel[data-v-7050f1f8]{display:flex;flex-direction:column;justify-content:center;height:calc(100vh - 40px - 250px)}\n",""])},H7TC:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".pop-over[data-v-5bf2c9f8]{padding:30px}b.blue[data-v-5bf2c9f8]{color:#0799ff}.description[data-v-5bf2c9f8]{font-size:13px}.description.link[data-v-5bf2c9f8]{text-decoration:underline;color:#0799ff;cursor:pointer}.description.link[data-v-5bf2c9f8]:hover{color:#0799ff}.markdown[data-v-5bf2c9f8]{max-height:200px;overflow:auto;padding:20px;border:1px solid rgba(0,0,0,0.1)}.markdown h1[data-v-5bf2c9f8]{font-size:24px}\n",""])},HW6o:function(t,e,a){var i=a("GxcK");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("2cda3454",i,!0,{})},HXU4:function(t,e,a){"use strict";var i=a("f1Pl");a.n(i).a},IEea:function(t,e,a){"use strict";var i=a("bxHY");a.n(i).a},IM4h:function(t,e,a){var i=a("MxNQ");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("cb969114",i,!0,{})},INbi:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"",""])},IWvo:function(t,e,a){"use strict";var i=a("zWy3");a.n(i).a},IfgB:function(t,e,a){"use strict";a.d(e,"a",(function(){return l}));var i=a("q+A3"),n=a("Gbp+"),s=a("Srzz"),o=a("pk5N"),r=a.n(o),c=a("4zkp");class l{static remove(t){r.a.get().dispatch(i.f,t)}static push(t){return s.RUNNING_TESTS&&s.SHOW_POPUPS_AS_CONSOLE?console.log(t):!r.a.get().state.popups.find(e=>JSON.stringify(e.data)===JSON.stringify(t.data))&&(t.displayType===n.c.POP_OUT?this.openPopOut(t):(r.a.get().dispatch(i.e,t),void(t.displayType===n.c.SNACKBAR&&setTimeout(()=>r.a.get().dispatch(i.f,t),t.data.props.timeout))))}static openPopOut(t){return c.a.openPopOut(t)}}},J6uO:function(t,e,a){"use strict";var i=a("/Zmv");a.n(i).a},JnGr:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".card[data-v-3202b564]{position:relative;cursor:pointer;width:calc(50% - 10px);box-shadow:0 1px 3px rgba(7,155,232,0.23);border:1px solid rgba(0,0,0,0.05);padding:15px;margin-bottom:20px;height:200px;background:#fff;transition:all 0.2s ease;transition-property:box-shadow;display:flex;flex-direction:column;justify-content:space-between}@media (min-width: 1200px){.card[data-v-3202b564]{width:calc(25% - 10px)}}.card .head[data-v-3202b564]{flex:1}.card .head .symbol[data-v-3202b564]{margin-top:-5px;height:30px}.card .info[data-v-3202b564]{display:flex;flex-direction:column;justify-content:center}.card .info .card-name[data-v-3202b564]{margin-top:5px;font-size:18px;font-weight:bold}.card .info .card-name.small[data-v-3202b564]{font-size:12px}.card .info .card-number[data-v-3202b564]{margin-top:2px;font-weight:bold;font-size:12px}.card .info .card-number span[data-v-3202b564]{padding:0 5px}.card .info .card-number span[data-v-3202b564]:first-child{padding-left:0}.card .info .card-number span[data-v-3202b564]:not(:last-child){color:#c8c8c8}.card .info .expiration[data-v-3202b564]{display:flex;margin-top:10px}.card .info .expiration .valid-until[data-v-3202b564]{font-size:9px;font-weight:bold}.card .info .expiration .date[data-v-3202b564]{font-weight:bold;font-size:14px;padding-left:10px}.card .info .identity[data-v-3202b564]{margin-top:25px}.card .info .identity .id-name[data-v-3202b564]{font-size:9px;font-weight:bold}.card .info .identity .full-name[data-v-3202b564]{margin-top:3px;font-size:10px;font-weight:bold}.card .delete[data-v-3202b564]{position:absolute;top:10px;right:10px;text-align:right}.card[data-v-3202b564]:hover{box-shadow:0 8px 18px rgba(7,155,232,0.23)}\n",""])},Jv5P:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".disclaimer[data-v-fed8cede]{margin-top:20px !important;margin-bottom:30px !important}.authorities[data-v-fed8cede]{margin-top:10px;max-width:500px;min-width:500px;display:flex;justify-content:space-between}.authorities .authority[data-v-fed8cede]{flex:1;margin:0 5px 20px;display:inline-block}.authorities .authority label[data-v-fed8cede]{display:block;margin-bottom:5px;font-size:12px;font-weight:bold;color:#7a7a7a}\n",""])},K92k:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".switch[data-v-686d2e8e]{width:calc(28px * 1.8);height:28px;border:1px solid rgba(0,0,0,0.1);border-radius:50px;padding:2px;cursor:pointer;opacity:1;transition:all 0.3s ease;transition-property:opacity;background:#0799ff}.switch.disabled[data-v-686d2e8e]{opacity:0.2;cursor:not-allowed}.switch .dot[data-v-686d2e8e]{width:calc(28px - 6px);height:calc(28px - 6px);margin-left:calc(28px - 7px);border-radius:50%;background:#fff;transition:all 0.3s ease;transition-property:margin-left, background}.switch.off[data-v-686d2e8e]{background:rgba(0,0,0,0.03)}.switch.off .dot[data-v-686d2e8e]{margin-left:1px;background:#dfe0e1}\n",""])},Kg66:function(t,e,a){"use strict";var i=a("rQWM");a.n(i).a},KhYu:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"",""])},"L/Cn":function(t,e,a){"use strict";var i=a("gk0x");a.n(i).a},LoHC:function(t,e,a){var i=a("WgM2");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("2ff5d538",i,!0,{})},MEyB:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".identity[data-v-dc642456]{padding:0;height:calc(100vh - 140px)}.identity .id-card[data-v-dc642456]{padding:30px;position:relative;overflow:hidden}@media (max-width: 920px){.identity .id-card[data-v-dc642456]{padding:20px}}@media (max-width: 600px){.identity .id-card[data-v-dc642456]{padding:0px}}.identity .id-card .bg[data-v-dc642456]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:0}.identity .id-card .bg img[data-v-dc642456]{width:100%;height:150%}.identity .id-card .card[data-v-dc642456]{position:relative;z-index:1;background:#fff;width:100%;border-radius:20px;box-shadow:0 2px 10px rgba(0,0,0,0.2),0 2px 5px rgba(0,0,0,0.2);overflow:hidden;max-width:600px;margin:0 auto;display:flex}@media (max-width: 920px){.identity .id-card .card[data-v-dc642456]{border-radius:4px}}@media (max-width: 600px){.identity .id-card .card[data-v-dc642456]{border-radius:0px;box-shadow:0;border-bottom:1px solid #dfe0e1;flex-direction:column}}.identity .id-card .card .avatar[data-v-dc642456]{flex:0.4;border-right:1px solid #dfe0e1;padding:30px;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative}.identity .id-card .card .avatar .image[data-v-dc642456]{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden;display:block;z-index:-1;background-size:cover;background-position:center}.identity .id-card .card .avatar .image[data-v-dc642456]:after{content:'';display:block;position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,0);transition:background 0.3s ease}.identity .id-card .card .avatar .upload[data-v-dc642456]{color:#fff;display:flex;align-items:center;justify-content:center}.identity .id-card .card .avatar .upload .icon[data-v-dc642456]{margin:10px 5px;position:relative;z-index:1;cursor:pointer;width:45px;height:45px;line-height:45px;border-radius:50%;background:#0799ff;color:#fff;font-size:24px;text-align:center;opacity:1;transition:opacity 0.2s ease}.identity .id-card .card .avatar.has-image .upload .icon[data-v-dc642456]{opacity:0}.identity .id-card .card .avatar.has-image:hover .image[data-v-dc642456]:after{background:rgba(0,0,0,0.6)}.identity .id-card .card .avatar.has-image:hover .upload .icon[data-v-dc642456]{opacity:1}.identity .id-card .card .personal[data-v-dc642456]{flex:1;padding:30px;position:relative;overflow:hidden}.identity .id-card .card .personal .bg[data-v-dc642456]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:0}.identity .id-card .card .personal .bg img[data-v-dc642456]{width:100%;height:100%}.identity .id-card .card .personal .inputs label[data-v-dc642456]{margin:0 !important;color:#333 !important}.identity .id-details[data-v-dc642456]{padding:30px}@media (max-width: 920px){.identity .id-details[data-v-dc642456]{padding:20px}}.identity .id-details .ridl-actions[data-v-dc642456]{display:flex;justify-content:space-between;align-items:center}.identity .id-details .ridl-actions .icon[data-v-dc642456]{width:24px;height:24px;font-size:14px;border-radius:50%;border:1px solid #0799ff;color:#0799ff;margin-right:10px;display:flex;justify-content:center;align-items:center}.identity .id-details .ridl-actions .icon.red[data-v-dc642456]{background:#ff0707;color:#fff;border:0}.identity .id-details .ridl-actions .text[data-v-dc642456]{font-size:12px;font-weight:bold;flex:1;padding-right:20px}.identity .id-details .ridl-actions .text p[data-v-dc642456]{margin:0;color:#7a7a7a}\n",""])},MGze:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".test[data-v-587f4680]{background:linear-gradient(-180deg, #2c2f3f -10%, #4f5469 120%)}\n",""])},MH1I:function(t,e,a){"use strict";var i=a("okcj");a.n(i).a},MIPw:function(t,e,a){"use strict";a.d(e,"a",(function(){return d}));var i=a("qjwK"),n=a("gbBq"),s=a("OFHw"),o=a("pk5N"),r=a.n(o),c=a("2UZj");const l=async t=>{const e=await s.a.getScatter(),a=new Date,i=a.getUTCMonth(),n=a.getUTCFullYear(),o=await window.wallet.getSalt(),c=JSON.stringify(e)+"|SLT|"+o,l=`scatter__${r.a.get().state.scatter.hash.substr(0,4)}-${r.a.get().state.scatter.hash.slice(-4)}__${r.a.get().state.scatter.meta.version}__${i}-${n}.json`;return s.a.saveFile(t,l,c)};class d{static async setBackupStrategy(t){const e=r.a.get().state.scatter.clone();return e.settings.autoBackup=t,r.a.get().dispatch(i.SET_SCATTER,e)}static async createBackup(){const t=await c.getFolderLocation();return!!t&&await l(t[0])}static async setBackupLocation(t=null){if(t||(t=await(async()=>{const t=await c.getFolderLocation();return t?t[0]:null})()),!t)return!1;const e=r.a.get().state.scatter.clone();return e.settings.backupLocation=t,r.a.get().dispatch(i.SET_SCATTER,e)}static async setDefaultBackupLocation(){const t=`${await s.a.getDefaultPath()}/scatter_backups`;return await window.wallet.storage.mkdir(t),this.setBackupLocation(t)}static async createAutoBackup(){if(!r.a.get().state.scatter||!r.a.get().state.scatter.settings)return;const t=r.a.get().state.scatter.settings.autoBackup;if(!t||!t.length||t===n.BACKUP_STRATEGIES.MANUAL)return;const e=r.a.get().state.scatter.settings.backupLocation;return!(!e||!e.length)&&await l(e)}}},Mazg:function(t,e,a){"use strict";var i=a("bspf");a.n(i).a},Mqgg:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".blockchain-list-container{display:flex;height:100%;border-top:1px solid #dfe0e1}.blockchain-list-container .head{flex:1;display:flex;align-items:center;padding:0 20px;font-size:13px;color:black;font-family:'Poppins', sans-serif;font-weight:bold;height:70px;background-color:#f3f6f7}.blockchain-list-container .head.with-button{display:flex;justify-content:space-between}.blockchain-list-container .tail{flex:1;display:flex;align-items:center;padding:0 20px;height:70px;border-top:1px solid #dfe0e1;justify-content:flex-end}.blockchain-list-container .scroller{flex:1;overflow:auto;height:calc(100vh - 40px - 70px - 30px)}.blockchain-list-container .scroller.dynamic{height:auto}.blockchain-list-container .scroller.with-tail{height:calc(100vh - 210px);padding:20px}.blockchain-list-container .scroller.with-tail.with-search{height:calc(100vh - 305px)}.blockchain-list-container .blockchains{flex:0 0 auto;width:280px;border-right:1px solid #dfe0e1}.blockchain-list-container .blockchains.full-width{width:100%;flex:1}.blockchain-list-container .blockchains .head:not(:first-child){border-top:1px solid #dfe0e1}.blockchain-list-container .list-container{flex:1;margin-bottom:40px}.blockchain-list-container .list-container .back-button{font-size:24px;color:#0799ff;cursor:pointer;margin-right:10px}.blockchain-list-container .list-container .search-and-filter{padding:10px}.blockchain-list-container .list-container .item-list .item{margin-bottom:40px;display:flex;flex-direction:column}.blockchain-list-container .list-container .item-list .item .expanded pre{font-size:12px;white-space:pre-wrap;padding:20px;background:#f3f6f7;color:#333;border-radius:4px}.blockchain-list-container .list-container .item-list .item .basics{display:flex;width:100%;align-items:center}.blockchain-list-container .list-container .item-list .item .basics .chevron{padding:0 20px 0 0;color:#0799ff;cursor:pointer}.blockchain-list-container .list-container .item-list .item .basics .chevron i{display:block;transition:all 0.2s ease;transition-property:transform;font-size:18px}.blockchain-list-container .list-container .item-list .item .basics.open .chevron i{transform:rotateZ(180deg)}.blockchain-list-container .list-container .item-list .item .basics .details{flex:1;cursor:pointer}.blockchain-list-container .list-container .item-list .item .basics .details .name{font-size:12px;font-weight:bold}.blockchain-list-container .list-container .item-list .item .basics .details .text{font-size:10px;margin-top:3px;color:#c8c8c8}.blockchain-list-container .list-container .item-list .item .basics .details .connection-error{background:#ff0707;color:#fff;padding:4px 5px;border-radius:4px;display:inline-block;font-size:10px;font-weight:bold;margin-top:8px}.blockchain-list-container .list-container .item-list .item .basics .actions{display:flex;align-items:center}.blockchain-list-container .list-container .item-list .item .basics .actions .system-token{font-size:10px;font-weight:bold;padding:3px 10px;background:#dfe0e1;margin-right:10px}\n",""])},MxNQ:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".action-box>section[data-v-ccd2138e]:not(:first-child){margin-top:20px}\n",""])},N9uu:function(t,e,a){var i=a("sAA5");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("30f437b1",i,!0,{})},NNn7:function(t,e,a){var i=a("tXwG");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("5aa11f3f",i,!0,{})},O0Vi:function(t,e,a){"use strict";var i=a("8+QQ");a.n(i).a},OBek:function(t,e,a){"use strict";a.r(e);var i=a("IMve"),n=a.n(i),s=a("F+MN");a("lkGv");const o=async t=>(await Promise.all(t.settings.networks.map(async t=>(t.blockchain===s.Blockchains.ETH&&"ethereum.com"===t.host&&(t=n.a.plugin(s.Blockchains.ETH).getEndorsedNetwork()),t))),t.settings.networks.find(t=>t.blockchain===s.Blockchains.TRX)||t.settings.networks.push(n.a.plugin(s.Blockchains.TRX).getEndorsedNetwork()),!0),r=async t=>(t.settings.networks=t.settings.networks.filter(t=>t.blockchain!==s.Blockchains.TRX),t.settings.networks.push(n.a.plugin(s.Blockchains.TRX).getEndorsedNetwork()),!0);var c=a("DgqZ"),l=a.n(c),d=a("O1cq"),p=a.n(d);const u=async t=>(t.settings.explorers=n.a.defaultExplorers(),s.BlockchainsArray.map(({value:e})=>{t.settings.explorers[e]=l.a.fromRaw(t.settings.explorers[e].raw)}),t.settings.displayToken=null,t.keychain.keypairs.filter(t=>t.external).map(e=>{t.keychain.removeKeyPair(e)}),!0),h=async t=>(t.settings.networks.map(t=>{if("ethereum.com"===t.host){const e=n.a.plugin(s.Blockchains.ETH).getEndorsedNetwork();t.host=e.host,t.protocol=e.protocol,t.port=e.port,t.name=e.name}}),t.settings.displayCurrency="USD",t.settings.displayToken=null,t.settings.languageJson=null,!0);var f=a("SDtL"),m=a.n(f);const b=async t=>{t.keychain.identities.map(t=>{t.hasOwnProperty("id")||(t.id=m.a.text(24))});return t.keychain.permissions.map(e=>{if(e.identity.length){n.a.plugin(s.Blockchains.EOSIO).validPublicKey(e.identity)&&(e.identity=(e=>t.keychain.identities.find(t=>t.publicKey===e))(e.identity).id)}}),!0};var g=a("EY8S");const v=async t=>{const e=t.keychain.keypairs.map(t=>t.clone());t.keychain.keypairs=[],t.settings.language="english",await Promise.all(e.map(async e=>{delete e.keyHash,await p.a.addPublicKey(e,s.Blockchains.BTC,!0);let a=!0;return e.blockchains.map(i=>{const n=t.keychain.accounts.filter(t=>t.keypairUnique===e.unique()&&t.blockchain()===i);if(n.length){const o=e.clone();a||(o.id=m.a.text(24),n.map(t=>t.keypairUnique=o.id),o.name=`${Object(s.blockchainName)(i)} copy of ${o.name}`),o.blockchains=[i],t.keychain.keypairs.push(o)}a=!1}),!0})),t.keychain.identities.map(e=>{const a=e.locations.length?e.locations[0]:g.LocationInformation.fromJson({name:`Location for ${e.name}`});t.keychain.locations.push(a),e.location=a.id,delete e.locations});const a=n.a.plugin(s.Blockchains.BTC).getEndorsedNetwork();return t.settings.networks.find(t=>t.unique()===a.unique())||t.settings.networks.push(a),t.settings.explorers[s.Blockchains.BTC]=l.a.fromRaw(n.a.plugin(s.Blockchains.BTC).defaultExplorer()),!0};a.d(e,"m9_2_0",(function(){return o})),a.d(e,"m9_5_0",(function(){return r})),a.d(e,"m10_0_0",(function(){return u})),a.d(e,"m10_1_0",(function(){return h})),a.d(e,"m10_2_0",(function(){return b})),a.d(e,"m11_0_0",(function(){return v}))},OFHw:function(t,e,a){"use strict";a.d(e,"a",(function(){return i}));class i{constructor(){}static async getDefaultPath(){return window.wallet.storage.getDefaultPath()}static async saveFile(...t){return window.wallet.storage.saveFile(...t)}static async setScatter(t){return window.wallet.storage.setWalletData(t)}static async getScatter(){return window.wallet.storage.getWalletData()}static async removeScatter(){return window.wallet.storage.clearWalletData()}static async cacheABI(t,e,a){return window.wallet.storage.cacheABI(t,e,a)}static async getCachedABI(t,e){return window.wallet.storage.getCachedABI(t,e)}static async getSalt(){return window.wallet.getSalt()}static async setSalt(t){return window.wallet.setSalt(t)}static async getTranslation(){return window.wallet.storage.getTranslation()}static async setTranslation(t){return window.wallet.storage.setTranslation(t)}static async getHistory(){return window.wallet.storage.getHistory()}static async updateHistory(t){return window.wallet.storage.updateHistory(t)}static async deltaHistory(t){return window.wallet.storage.deltaHistory(t)}static async swapHistory(t){return window.wallet.storage.swapHistory(t)}}},OXMO:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".edit-contact[data-v-0a9766d9]{padding:0 20px 20px;border-radius:4px;margin-top:20px;width:100%;max-width:500px;min-width:400px}.edit-contact .select[data-v-0a9766d9]{text-align:left}.edit-contact .custom-token-info[data-v-0a9766d9]{display:flex;flex-direction:row;align-items:center;margin-bottom:20px}\n",""])},P2W9:function(t,e,a){var i=a("VklT");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("12e3763e",i,!0,{})},PGGC:function(t,e,a){var i=a("j2Vk");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("1e6c9eaa",i,!0,{})},PGoP:function(t,e,a){"use strict";var i=a("cJ8I");a.n(i).a},PQ0E:function(t,e,a){"use strict";a.r(e),e.default={generic:{back:"Back",skip:"Skip",next:"Next",confirm:"Confirm",accept:"Accept",allow:"Allow",deny:"Deny",okay:"Okay",cancel:"Cancel",open:"Open",yes:"Yes",no:"No",actions:"Actions",enable:"Enable",disable:"Disable",send:"Send",receive:"Receive",select:"Select",unselect:"Unselect",edit:"Edit",add:"Add",save:"Save",new:"New",delete:"Delete",remove:"Remove",remove_all:"Remove All",copy:"Copy",import:"Import",export:"Export",refresh:"Refresh",manage:"Manage",private_key:"Private Key | Private Keys",public_key:"Public Key | Public Keys",cards:"Card | Cards",expired:"Expired",keys:"Key | Keys",hide:"Hide",reveal:"Reveal",tokens:"Token | Tokens",networks:"Network | Networks",blockchains:"Blockchain | Blockchains",contracts:"Contract | Contracts",memo:"Memo",symbol:"Symbol",decimals:"Decimals",chain_id:"Chain ID",name:"Name",accounts:"Account | Accounts",search:"Search",buy:"Buy",sell:"Sell",contacts:"Contacts",history:"History",exchange:"Exchange",view:"View",redo:"Redo",promoted:"Promoted",addressOrAccount:"Address or account",pleaseWait:"Please wait",selectToken:"Select a token",selectBlockchain:"Select a Blockchain"},sidebar:{dashboard:"Dashboard",apps:"Apps",wallet:"Wallet",assets:"Assets",identities:"Identities",locations:"Locations",contacts:"Contacts",history:"History",networks:"Networks",settings:"Settings",lock:"Lock Wallet"},login:{registerButtonTitle:"Get Started",registerButtonSubtitle:"Let's get you set up with Scatter",reset:"Reset",restore:"Restore",support:"Support",passwordPlaceholder:"Enter your password"},setPassword:{title:"Set a strong password",description:"Strong passwords have at least 8 characters and include at least one number and one special character.",choosePass:"Choose a password",confirmPass:"Confirm your password"},welcome:{title:"Welcome to the future",description:"Your Scatter is set up and ready to use.",button:"Start using Scatter"},destroy:{title:"Destroy Scatter",disclaimer:"Before doing this, make sure you have all of your Private Keys backed up.",description:"Destroying your Scatter is irreversible, and you will not be able to restore any data without backups."},dashboard:{vote:{title:"Vote for Scatter",subTitle:"Show us some love!",description:"We've launched an EOS Mainnet Block Producer which you can now vote for. Help us get into a producing position by voting for us.",button:"Vote Now!",voted:"Voted for Scatter on {total} chains. Thanks for your help!"}},apps:{explore:"Explore",myApps:"My Apps",allCategories:"All Categories"},app:{loginPermission:"Accounts Provided",accountsProvided:"Accounts provided",requiredFields:"Required Fields",mutableFields:"Mutable Fields",removePermission:"Remove permission",removeIdentity:"Login permissions are what allow applications to interact with your Scatter. You can force a log-out from an application by removing this permission.",removeWhitelist:"Action whitelists make it so you don't have to keep accepting popups to sign transactions. Do you want to remove this whitelist?"},wallet:{noKeys:{title:"You don't have any Keys",description:"Click one of the buttons below to import a key you already have, or generate a brand new one."},generateKey:"Generate Key",importKey:"Import Key",addCreditCard:"Add Credit Card"},account:{totalFiatBalance:"Total Fiat Balance",actions:{unlink_account:"Unlink Account",change_permissions:"Change Permissions",proxy_vote:"Proxy Vote",create_account:"Create Account"}},assets:{noAccounts:"No Accounts"},histories:{sent:"Sent",received:"Received",networkDisabled:"Network disabled",clear:{title:"Clearing history",description:"You are about to erase your entire local history. This will not erase keys or accounts."}},identities:{identities:"Identities",id:{nameLabel:"Identity Name / Username",namePlaceholder:"Your online presence",nameError:"The Identity Name name can not be empty, have any spaces in it, or special characters."},personal:{nameLabel:"Full Name",namePlaceholder:"Enter your full name",emailLabel:"Email",dobLabel:"Date of birth"},location:{title:"Location",noneSelected:"None selected"},auth:{title:"Authentication Key",description:"Make sure you save a copy of this authentication key, you will need it to regain access to certain applications that require it.",changeButton:"Change / View"},removing:{title:"Removing Identity",description:"Are you sure you want to remove {identity}"}},locations:{locations:"Locations",nameLabel:"Location Name",namePlaceholder:"Home, Office, etc",countryLabel:"Country",countryItemNone:"None",addressLabel:"Address",cityLabel:"City",stateLabel:"State",phoneLabel:"Phone number"},networks:{connectionError:"Connection error!"},settings:{menu:{general:"General",tokens:"Tokens",explorers:"Explorers",backup:"Backups",firewall:"Firewall",password:"Password",destroy:"Reset"},base:{basics:"Basics",secure:"Secure Settings"},general:{version:"Version",language:"Language",simpleMode:"Simple Mode",simpleModeDescription:"Simple Mode is aimed at everyday users, while Advanced Mode (the one you are currently on) is aimed at very technical users, and developers.",testingMode:"Testing Mode",testingModeDescription:"Testing mode opens up test features which are currently in public testing. You should not enable this without joining the telegram group below.",testingModeButton:"Join Testers Group",notifications:"Whitelist Notifications",notificationsDescription:"These notifications appear on certain operating systems when you auto-sign whitelisted transactions.",ports:"Open Ports",portsDescription:"These are the ports open on your local machine that other local applications can use to contact Scatter.",noPorts:"There are no open ports!",dataPath:"Data File Location",dataPathDescription:"The location on your computer that Scatter saves its encrypted data to.",devConsole:"Developer Console",devConsoleDescription:"Sometimes you might need to see if Scatter is throwing any errors.",devConsoleButton:"Open Console"},backup:{title:"Configure Backups",description:"Backups allow you to save the state of your entire Scatter including all keys, permissions and settings.",autobackup:"Select auto-backup location",create:"Create backup",currentFolder:"Current backup folder",created:"Backup Created!"},destroy:{title:"Destroy Scatter",description:"Destroying your Scatter will remove all your data including your identities and Keypair configurations from your local machine. It will not delete your blockchain accounts from the actual blockchain.",important:"MAKE SURE YOU HAVE A BACKUP BEFORE YOU DO THIS!",button:"Destroy Scatter"},firewall:{ridl:{title:"Decentralized Firewall",description:"RIDL Defender is Scatter's proprietary decentralized firewall system. It helps protect you from malicious websites, applications, and accounts."},blocker:{title:"Restriction Contract Actions",description:"These actions will not be allowed from external applications.",blacklisted:"Blacklisted actions"}},password:{title:"Change your Password",description:"Changing your password periodically is very healthy. We often use the same passwords in multiple places, which leads to a larger possibility for them to be discovered.",button:"Change Password",changed:"Password Changed!",pin:{title:"Change your PIN",description:"If enabled, your PIN is a secondary password which is required each time you do a non-whitelisted action. Do not make this the same as your password.",disabled:"PIN Disabled",changed:"PIN Changed!",pinForAllTitle:"Use PIN for external application interactions.",pinForAllDescription:"If you enable this you will also need to enter your PIN for every popup that an external app makes. Otherwise, your PIN will only be required for internal Scatter actions like transfer and exchange."}},tokens:{switch:{add:"Add Token",whitelist:"Tokens",blacklist:"Filtered Out",settings:"Settings"},whitelistButton:"Whitelist Token",blacklistButton:"Blacklist Token",hidePrimaryBalance:"Hide primary balance",hidePrimaryBalanceDescription:"Allows you to hide your balance in the quick-actions bar.",filterSmallBalances:"Filter Small Balances",filterSmallBalancesDescription:"If you want to always filter out tokens with small balances you can set a modifier here.",noTokens:"No tokens"}},receive:{receiver:"Receiving Account",sendTo:"Send funds to",forEosio:"Some exchanges will ask you for an addressTag, memo, or some other form of secondary input. You can enter anything in that field since this is a real EOSIO account."},exchange:{fromAndToken:"From & Token",priceNotAvailable:"Price not available",loadingPairs:"Loading pairs",noPairs:"No pairs available",loadingRate:"Loading rate",errorTitle:"Exchange Error",errorDescription:"Can't connect to the Exchange API."},transfer:{sender:"Sending from",receiver:"Sending to",amountTitle:"Amount & Details",priceNotAvailable:"Price not available",memo:"Memo (optional)",loadingBalances:"Your balances aren't finished loading yet."},editNetwork:{systemToken:"System Token",memorableName:"Add a memorable name",host:"Host",protocol:"Protocol",port:"Port",chainIdTooltip:"Fetch Chain ID",update:"Update details",systemTokenTitle:"Network System Token",systemTokenDescription:"Some networks use a custom system token instead of the default system token (like ETH, EOS, or TRX)."},keysAndAccountsList:{actions:{editName:"Edit Name",copyPublicKey:"Copy Public Key",refreshAccounts:"Refresh Accounts",convertBlockchain:"Convert Blockchain",removeKey:"Remove Key",linkAccount:"Link Account"},noAccounts:{title:"You don't have any accounts linked to this key.",requiresPayment:"{blockchain} blockchains require that you pay a small fee to create accounts.",checkEnabled:"Make sure that you have a network for the {blockchain} blockchain enabled.",createAccountButton:"Create one now!"},linkedAccounts:"Linked Accounts",changeKeypairNameTitle:"Change Keypair Name",changeKeypairNameDescription:"A keypair's name is only for organizational purposes. It has no effect on the blockchain or the key itself."},panels:{keypair:{selectHardware:"Select a hardware wallet",availableHardwareChains:"Available Blockchains",hardwareIndex:"Key/Address Index",importTextKeyTitle:"Import your Private Key",importTextKeyDescription:"Your private key never leaves your device. We only use this to sign transactions and nobody will have access to it but you. Please remember that though Scatter is a good place to keep your key, you should always have a backup of it somewhere offline.",validTextKeyWarn:"Once you input a valid key, it will automatically import it.",scanQR:"Scan a QR code"}},popins:{fullscreen:{addCustomNetwork:"Add Custom Network",addNewContact:"Add New Contact",changeIdentityKey:"Identity Authentication Key",generateRandomKey:"Generate random key",saveIdentityKey:"Save new Identity key",checkHardwareTitle:"Check Hardware",checkHardwareDescription:"You should see a confirmation on your hardware device.",confirmPassword:"Confirm Password",securityCode:"Enter Security Code",changePermissions:{title:"Changing Account Keys",disclaimer:"This can be dangerous!",disclaimerDescription:"You are about to change the keys that control this account. Make sure you know what you are doing.",owner:"Owner / Master key",active:"Active / Daily key",dontChange:"Leave as is"},createAccount:{title:"Create Account",exchangeDescription:"You can send funds from an exchange or another wallet to create your account.",cardDescription:"This option is currently disabled.",startTyping:"Start typing in a name to see if it is available.",includeMemo:"Make sure you include this memo when you send it or your funds will be lost!",clickAfter:"Click after transfer",lookingTitle:"Looking for account",lookingDescription:"Scatter will continuously look for the account being created for the next 30 minutes. Once it is found it will automatically be added to your Scatter.",exchangeErrorTitle:"Exchange account creation error.",exchangeErrorDescription:"30 minutes have passed since you sent money from your exchange. It looks like an account still hasn't been created. You should check the status of the transaction in the exchange.",accountFoundTitle:"Account found!",accountFoundDescription:"Scatter found the account you created using an exchange. You can now see it in your wallet.",nameTooShort:"Account name must be 12 characters long.",nameFormatting:"Account name must be lowercase letters only.",checkingName:"Checking if name is available...",nameTaken:"This name is already taken"},moderateCpu:{available:"Available {token}",reclaiming:"Reclaiming {token}",stake:"Stake",unstake:"Unstake"},moderateRam:{type:"Type",bytesError:"Bytes must be over 15"},exportKey:{title:"Exporting Private Key",disclaimer:"Keep your private keys safe!",description:"Always export your private keys and make sure you have a backup of them. You will not be able to recover your tokens if you lose it.",keyTitle:"Key",keyDescription:"Export this Private Key as text",qrTitle:"Paper Wallet",qrDescription:"Export this Private Key as an encrypted QR code",privateKeyAsText:"Private Key as Text",privateKeyAsQR:"QR Code Paper Wallet",savedImage:"Saved Image!"},generateKey:{title:"Generate Keypair"},importBackup:{title:"Restore from backup",description:"If you have a backup for your Scatter you can import it here by loading it into Scatter. You will still need the password to unlock it.",buttonTitle:"Select a backup file",buttonDescription:"These will end with .json or .txt",errorParsing:"There was an error parsing this backup",errorDecrypting:"There was an error decrypting this backup",errorReading:"This backup file could not be read"},importKeypair:{title:"Import Keypair",text:"Text",hardware:"Hardware",qrCode:"QR Code",invalidPrivateKey:"Invalid private key"},removeKeypair:{title:"Removing Key",permanent:"This action is permanent",removesAll:"Removing keys also removes all of its linked accounts and their respective permissions. Once you remove a key it can not be regenerated."},unlinkAccount:{title:"Unlinking Account",description:"Removing a linked account also removes all of its application permissions.",disclaimer:"This will NOT remove the account from the blockchain, only Scatter."}},overlay:{exchanging:"Exchanging",transferring:"Transferring",confirmPin:"Confirm PIN",selectAccount:"Select Account",selectBlockchain:"Select Blockchain",selectDisplayToken:"Select Display Token",selectFiatCurrency:"Select a fiat currency",selectBlockchainToken:"Select a blockchain token",selectPublicKey:"Select Public Key",selectRecipient:"Select Recipient",selectToken:"Select Token",allBlockchains:"All Blockchains",selectTokenAndAccount:"Select Token and Account",transactionSuccess:"Transaction Success!",viewTransactionOn:"Click link below to view on {explorer}",enableSimpleMode:{},enterPin:{},linkAccount:{title:"Link EOSIO Account",description:"This allows you to link accounts on networks that you either can't reach or don't have history plugins enabled.",selectNetwork:"Select a Network",button:"Link",noNetworksAvailable:"No EOSIO networks available!"}}},popouts:{popoutApp:{noImage:"No Image",reputation:{unknown:"Unknown Reputation",trusty:"Trustworthy",scam:"Known Scam"}},requiredFields:{title:"Required Identity Fields",personalInformation:"Personal information:"},login:{suffix:"will see:",dangerousPermission:"You are signing in with your Owner permission. This is dangerous.",allAccountsFor:"All accounts for:",allAccountsDescription:"{app} is requesting to view every account for a specified network. This means that it will be able to request transaction signatures for any account that you have linked to any of the requested networks.",noInfoNeededTitle:"This application isn't requesting any personal information or accounts.",noInfoNeededDescription:"The only information this application will receive is basic Identity information like your username.",noAccountsTitle:"You don't have accounts for this network",noAccountsDescription:"You need to create an account before being able to use apps.",personalInformation:"Personal information:",requestingPersonalInformation:"{app} is requesting personal information. It will only be able to see what is being requested, and nothing else you may have filled out in your Scatter identity."},getPublicKey:{suffix:"wants you to provide a public key",select:"Select a key",generate:"Generate a new key"},linkApp:{suffix:"is relinking",description:"Make sure the application name is an application you are interacting with right now. If it isn't it could be a dangerous application trying to act like a different one."},transferRequest:{suffix:"is requesting a transfer",selectAccount:"Select Account"},updateIdentity:{suffix:"wants to",changeName:"Change your identity name",addKycProofs:"Add KYC proofs"},signature:{moreAccounts:"more accounts",keysInvolved:"Keys involved",accountsInvolved:"Accounts involved",previouslyWhitelisted:"This action was previously whitelisted",hiddenAction:"Action is hidden",dangerous:"One or more of the actions you are about to sign is dangerous!",dangerousAction:"This action is dangerous!",dangerousTooltip:"This action is dangerous. Accepting it will change your keys and possibly give your account to someone else. Check to make sure the keys are correct.",whitelistThis:"You can whitelist this so that you don't have to keep re-accepting this transaction.",whitelistExplainer:"Checkboxes that are checked can have their values changed without breaking the whitelist.",actionsTotal:"{x} actions in total"}},errors:{badPassword:"Bad Password",passwordConfirmation:"Password confirmation does not match password",keypairExists:"A keypair with that name or public key already exists",transferError:"An error occurred while trying to transfer tokens",badQrDecryption:"There was an error decrypting this QR. Are you sure the password for this QR code is correct?"}}},PThV:function(t,e,a){var i=a("PgxD");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("334c13b4",i,!0,{})},PgxD:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".confirm{margin:0 auto;display:flex;flex-direction:column;background:transparent}.confirm .details{flex:1;padding:45px 120px;display:flex;flex-direction:column;align-items:center;background:linear-gradient(180deg, #007fd7 0%, #0799ff 100%);text-align:center;color:#fff}.confirm .details .icon{margin-bottom:30px}.confirm .details label{display:inline-block;color:#fff}.confirm .details .amount{margin-top:-5px;font-size:24px;font-weight:bold}.confirm .details .amounts{display:flex;justify-content:space-between;align-items:center}.confirm .details .amounts .amount{font-size:18px}.confirm .details .accounts{display:flex;justify-content:space-between;align-items:center;margin-top:30px}.confirm .details .accounts .account{min-width:180px;padding:10px 25px;background:#39b4ff;font-size:12px;font-weight:bold;box-shadow:0 1px 2px rgba(0,0,0,0.1)}.confirm .details .accounts .arrow{font-size:24px;padding:0 10px;color:#5fc6ff}.confirm .details .memo{margin-top:30px;font-size:10px}.confirm .details .memo b{display:block;font-weight:bold;font-size:9px}.confirm .details .memo span{display:block;margin-top:5px}.confirm .tail{justify-content:space-between;display:flex;align-items:center;border-top:1px solid #dfe0e1;padding:10px 10px;text-align:center;background:#fff}\n",""])},QIy7:function(t,e,a){var i=a("4HXs");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("bbbacdd6",i,!0,{})},QKkz:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".action-bar[data-v-2359c8c5]{position:fixed;bottom:0;left:0;right:0;z-index:2;height:70px;border:1px solid #dfe0e1;background:#fff;display:flex;align-items:center;padding:0 20px}.action-bar .left[data-v-2359c8c5]{flex:1;text-align:left}.action-bar .right[data-v-2359c8c5]{flex:1;text-align:right}.action-bar .right button[data-v-2359c8c5]:not(:first-child){margin-left:5px}\n",""])},R3kX:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".cards-list[data-v-0d453a09]{padding:40px 40px 20px 40px;display:flex;flex-wrap:wrap;justify-content:space-between;align-content:flex-start}\n",""])},"R6/L":function(t,e,a){var i=a("3MdU");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("4d88d278",i,!0,{})},"REL+":function(t,e,a){var i=a("AW8H");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("a6e0f1a8",i,!0,{})},RNqi:function(t,e,a){"use strict";var i={data:()=>({terms:""}),watch:{terms(){this.$emit("terms",this.terms.toLowerCase().trim())}},props:["placeholder","short","tokens"]},n=(a("BI/6"),a("KHd+")),s=Object(n.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"search-bar",class:{short:t.short,tokens:t.tokens}},[a("figure",{staticClass:"icon icon-search"}),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.terms,expression:"terms"}],attrs:{placeholder:t.placeholder},domProps:{value:t.terms},on:{input:function(e){e.target.composing||(t.terms=e.target.value)}}})])}),[],!1,null,"1e679ba6",null);e.a=s.exports},"S/Do":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".select-blockchain[data-v-42c3714c]{padding:40px;text-align:center}\n",""])},S1M4:function(t,e,a){var i=a("tQXa");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("627d6228",i,!0,{})},"ST/w":function(t,e,a){var i={"./":"DolT","./en":"PQ0E","./en.js":"PQ0E","./es":"jmG+","./es.js":"jmG+","./index":"DolT","./index.js":"DolT","./ko":"+RRU","./ko.js":"+RRU","./ru":"5Not","./ru.js":"5Not","./zh":"cUFd","./zh.js":"cUFd"};function n(t){var e=s(t);return a(e)}function s(t){if(!a.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}n.keys=function(){return Object.keys(i)},n.resolve=s,t.exports=n,n.id="ST/w"},"T/cf":function(t,e,a){"use strict";var i={props:["reputable","small"]},n=(a("sKqk"),a("KHd+")),s=Object(n.a)(i,(function(){var t=this.$createElement,e=this._self._c||t;return this.reputable?e("section",[e("section",{staticClass:"reputation",class:{red:this.reputable.decimal<0,small:this.small}},[e("b",[this._v(this._s(this.reputable.decimal))])])]):this._e()}),[],!1,null,"013c230b",null);e.a=s.exports},T11S:function(t,e,a){"use strict";var i=a("etLc");a.n(i).a},T27a:function(t,e,a){var i=a("JnGr");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("ec379d46",i,!0,{})},TDsy:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".dashboard[data-v-7e9b38f8]{height:calc(100vh - 140px);padding:10px 20px 20px;display:flex;flex-direction:row}@media (max-width: 920px){.dashboard[data-v-7e9b38f8]{flex-direction:column;padding:0;border-radius:0;overflow-y:scroll}}.dashboard.full-mobile[data-v-7e9b38f8]{overflow-y:hidden;padding:0}#asset-updates[data-v-7e9b38f8]{flex:1;display:flex}@media (max-width: 920px){#asset-updates[data-v-7e9b38f8]{width:100%;display:block}}#asset-updates .attraction[data-v-7e9b38f8]{height:100%;text-align:center;position:relative;z-index:0;width:100%}@media (max-width: 920px){#asset-updates .attraction[data-v-7e9b38f8]{height:auto;border:0;margin-bottom:30px}#asset-updates .attraction.full-mobile[data-v-7e9b38f8]{height:100%;margin:0}}#asset-updates .attraction .promoted-pill[data-v-7e9b38f8]{position:absolute;right:20px;top:20px;padding:8px 16px 7px;background:rgba(0,0,0,0.34);color:white;border-radius:20px;font-size:12px;display:inline-block;margin:0 auto;text-transform:uppercase;z-index:1}#asset-updates .attraction .premium-attraction[data-v-7e9b38f8]{height:65%;background-color:#0799ff;background-image:linear-gradient(211deg, #0280CE 12%, #0799FF 46%, #066AA7 100%);position:relative;overflow:hidden;border-radius:20px}@media (max-width: 920px){#asset-updates .attraction .premium-attraction[data-v-7e9b38f8]{border-radius:0;min-height:400px}}#asset-updates .attraction .premium-attraction.no-tokens[data-v-7e9b38f8]{height:100%}#asset-updates .attraction .premium-attraction .promo[data-v-7e9b38f8]{width:100%;height:100%;object-fit:cover;position:absolute;top:0;bottom:0;left:0;right:0}#asset-updates .attraction .premium-attraction .promo video[data-v-7e9b38f8]{width:100%}#asset-updates .attraction .premium-attraction .logo[data-v-7e9b38f8]{width:120px;border-radius:4px;position:absolute;top:30px;left:30px;z-index:2;object-fit:cover}#asset-updates .attraction .premium-attraction .description[data-v-7e9b38f8]{display:block;padding:30px;position:absolute;bottom:0;left:0;right:0;text-align:left}#asset-updates .attraction .premium-attraction .description[data-v-7e9b38f8]:before{content:'';display:block;position:absolute;z-index:0;bottom:-calc(200% - 200px);left:0;right:0;background:rgba(0,0,0,0.9);height:200%;transform:skewY(10deg)}#asset-updates .attraction .premium-attraction .description button[data-v-7e9b38f8]{max-height:42px;place-self:start;margin-top:10px}#asset-updates .attraction .premium-attraction .description div.premium-content[data-v-7e9b38f8]{margin-right:20px;display:flex;flex-direction:column;text-align:left;justify-content:end;align-content:center;align-self:end;position:relative}#asset-updates .attraction .premium-attraction .description div.premium-content .premium-name[data-v-7e9b38f8]{font-size:24px;font-family:'Poppins', sans-serif;font-weight:bold;color:white;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:8px}@media (max-width: 920px){#asset-updates .attraction .premium-attraction .description div.premium-content .premium-name[data-v-7e9b38f8]{font-size:20px}}#asset-updates .attraction .premium-attraction .description div.premium-content .premium-description[data-v-7e9b38f8]{color:white;opacity:0.9;font-size:13px;line-height:1.1rem;margin-bottom:10px;max-width:400px}@media (max-width: 1120px){#asset-updates .attraction .premium-attraction .description div.premium-content .premium-description[data-v-7e9b38f8]{font-size:12px;line-height:1rem}}#asset-updates .attraction.full-mobile .premium-attraction[data-v-7e9b38f8]{border-radius:0}#asset-updates .suggested-exchanges[data-v-7e9b38f8]{display:flex;flex-direction:column;height:35%;padding:20px 30px;background:#f3f6f7;border-radius:0 0 20px 20px;z-index:1;position:relative}@media (max-width: 920px){#asset-updates .suggested-exchanges[data-v-7e9b38f8]{border-radius:0;height:auto}}#asset-updates .suggested-exchanges .token-logo[data-v-7e9b38f8]{color:#0799ff;font-size:34px}@media (max-width: 600px){#asset-updates .suggested-exchanges .token-logo[data-v-7e9b38f8]{font-size:44px;margin-bottom:10px}}#asset-updates .suggested-exchanges .cta[data-v-7e9b38f8]{justify-self:end}#asset-updates .suggested-exchanges .cta button[data-v-7e9b38f8]{width:120px}#asset-updates .suggested-exchanges .explainer[data-v-7e9b38f8]{display:flex;flex-direction:column;padding:0 20px;flex:1;text-align:left}@media (max-width: 600px){#asset-updates .suggested-exchanges .explainer[data-v-7e9b38f8]{padding:0}}#asset-updates .suggested-exchanges .explainer .title[data-v-7e9b38f8]{font-size:13px;font-family:'Poppins', sans-serif;font-weight:bold;color:black;line-height:18px;margin-bottom:4px}#asset-updates .suggested-exchanges .explainer .suggested-action[data-v-7e9b38f8]{color:black;opacity:1;font-size:12px;margin-bottom:10px}#asset-updates .suggested-exchanges .exchange-panel[data-v-7e9b38f8]{display:flex;flex-direction:row;height:50%;align-items:center;flex:1}@media (max-width: 600px){#asset-updates .suggested-exchanges .exchange-panel[data-v-7e9b38f8]{flex-direction:column;align-items:flex-start;height:auto;padding:20px 0}}.focus-boxes[data-v-7e9b38f8]{display:grid;grid-template-rows:100%;width:40%}@media (max-width: 920px){.focus-boxes[data-v-7e9b38f8]{width:100%;height:400px;display:block;flex-direction:column}}.focus-boxes #proxy[data-v-7e9b38f8]{text-align:center;background:white;border:1px solid #dfe0e1;border-radius:20px;margin:0 10px 0 20px;position:relative;transition:border 0.12s ease-in-out;display:flex;flex-direction:column;justify-content:center;background-size:100%;background-position:center center;background-repeat:no-repeat;overflow:hidden;padding:10px}.focus-boxes #proxy .earn-rewards[data-v-7e9b38f8]{padding:8px 26px 7px;background:black;color:white;border-radius:20px;font-size:12px;display:inline-block;margin:0 auto;text-transform:uppercase}@media (max-width: 920px){.focus-boxes #proxy[data-v-7e9b38f8]{border-radius:20px;border:0 !important;margin:0 0 70px 0;padding:40px 40px 80px;display:block;height:400px}.focus-boxes #proxy[data-v-7e9b38f8]:hover{border:0}}.focus-boxes #proxy h3[data-v-7e9b38f8]{color:black;font-size:20px;line-height:24px;display:block;background-image:linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 100%);padding:10px 12px 5px;margin:0;text-shadow:0 0 10px white, 0 0 20px white}@media (min-width: 920px){.focus-boxes #proxy h3[data-v-7e9b38f8]{font-size:20px}}.focus-boxes #proxy h5[data-v-7e9b38f8]{color:#7a7a7a;display:block;background:white;padding:4px 10px 20px;font-size:13px;font-weight:normal}.focus-boxes #proxy img[data-v-7e9b38f8]{width:60%;margin:20px auto;height:60%}.focus-boxes #proxy[data-v-7e9b38f8]:hover{border:1px solid #0799ff}@media (max-width: 600px){.focus-boxes #proxy[data-v-7e9b38f8]:hover{border:0}}.focus-boxes #proxy button[data-v-7e9b38f8]{margin:0 60px 20px}\n",""])},"TEQ+":function(t,e,a){"use strict";var i=a("dMwk");a.n(i).a},TK0L:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"input[data-v-b7311f50]{-webkit-appearance:none}.input[data-v-b7311f50]{text-align:left;position:relative;width:100%;margin-bottom:20px;-webkit-appearance:none}@media (max-width: 600px){.input[data-v-b7311f50]{margin-bottom:10px}}.input .copy[data-v-b7311f50],.input .dynamic-button[data-v-b7311f50]{cursor:pointer;position:absolute;right:10px;bottom:0;top:0;display:flex;justify-content:center;align-items:center;font-size:20px;z-index:2;color:#0799ff;opacity:1;transition:all 0.2s ease;transition-property:color, opacity, right}.input .copy.labeled[data-v-b7311f50],.input .dynamic-button.labeled[data-v-b7311f50]{bottom:-20px}.input .copy[data-v-b7311f50]:hover,.input .dynamic-button[data-v-b7311f50]:hover{color:#0799ff}.input .dynamic-button+.copy[data-v-b7311f50]{right:30px}.input .dynamic-button.hide[data-v-b7311f50]{opacity:0;right:0;pointer-events:none}.input input[data-v-b7311f50],.input textarea[data-v-b7311f50]{outline:0;width:100%;border:1px solid #dfe0e1;padding:10px 14px;cursor:text;resize:none;font-size:14px;background:#fff;transition:all 0.15s ease;transition-property:line-height, height, padding, border, background}.input input[data-v-b7311f50]::-webkit-input-placeholder,.input textarea[data-v-b7311f50]::-webkit-input-placeholder{font-size:14px;color:rgba(0,0,0,0.25)}.input input[data-v-b7311f50]::-moz-placeholder,.input textarea[data-v-b7311f50]::-moz-placeholder{font-size:14px;color:rgba(0,0,0,0.25)}.input input[data-v-b7311f50]:-ms-input-placeholder,.input textarea[data-v-b7311f50]:-ms-input-placeholder{font-size:14px;color:rgba(0,0,0,0.25)}.input input[data-v-b7311f50]:-moz-placeholder,.input textarea[data-v-b7311f50]:-moz-placeholder{font-size:14px;color:rgba(0,0,0,0.25)}.input input.pad-right[data-v-b7311f50],.input textarea.pad-right[data-v-b7311f50]{padding-right:40px}.input input[data-v-b7311f50]:disabled,.input textarea[data-v-b7311f50]:disabled{cursor:not-allowed;opacity:0.75}.input input[data-v-b7311f50]:focus,.input textarea[data-v-b7311f50]:focus{border:1px solid rgba(0,0,0,0.22);background:#fff}.input textarea[data-v-b7311f50]{padding:15px;height:80px}.input.big input[data-v-b7311f50],.input.big textarea[data-v-b7311f50]{line-height:68px;height:68px;padding:0 20px;font-size:20px}.input.big input[data-v-b7311f50]::-webkit-input-placeholder,.input.big textarea[data-v-b7311f50]::-webkit-input-placeholder{font-size:20px;color:rgba(0,0,0,0.25)}.input.big input[data-v-b7311f50]::-moz-placeholder,.input.big textarea[data-v-b7311f50]::-moz-placeholder{font-size:20px;color:rgba(0,0,0,0.25)}.input.big input[data-v-b7311f50]:-ms-input-placeholder,.input.big textarea[data-v-b7311f50]:-ms-input-placeholder{font-size:20px;color:rgba(0,0,0,0.25)}.input.big input[data-v-b7311f50]:-moz-placeholder,.input.big textarea[data-v-b7311f50]:-moz-placeholder{font-size:20px;color:rgba(0,0,0,0.25)}.input.big input.pad-right[data-v-b7311f50],.input.big textarea.pad-right[data-v-b7311f50]{padding-right:50px}.input.big .dynamic-button[data-v-b7311f50]{font-size:26px;bottom:0}.input.big .dynamic-button.labeled[data-v-b7311f50]{bottom:-15px}.input.medium input[data-v-b7311f50],.input.medium textarea[data-v-b7311f50]{line-height:48px;height:48px;padding:0 20px;font-size:20px}.input.medium input[data-v-b7311f50]::-webkit-input-placeholder,.input.medium textarea[data-v-b7311f50]::-webkit-input-placeholder{font-size:20px;color:rgba(0,0,0,0.25)}.input.medium input[data-v-b7311f50]::-moz-placeholder,.input.medium textarea[data-v-b7311f50]::-moz-placeholder{font-size:20px;color:rgba(0,0,0,0.25)}.input.medium input[data-v-b7311f50]:-ms-input-placeholder,.input.medium textarea[data-v-b7311f50]:-ms-input-placeholder{font-size:20px;color:rgba(0,0,0,0.25)}.input.medium input[data-v-b7311f50]:-moz-placeholder,.input.medium textarea[data-v-b7311f50]:-moz-placeholder{font-size:20px;color:rgba(0,0,0,0.25)}.input.medium input.pad-right[data-v-b7311f50],.input.medium textarea.pad-right[data-v-b7311f50]{padding-right:50px}.input.medium .dynamic-button[data-v-b7311f50]{font-size:26px;bottom:0}.input.medium .dynamic-button.labeled[data-v-b7311f50]{bottom:-15px}.input.small[data-v-b7311f50]{margin-bottom:5px}.input.small input[data-v-b7311f50],.input.small textarea[data-v-b7311f50]{height:30px;padding:0 10px;font-size:13px;display:inline-block}.input.small input[data-v-b7311f50]::-webkit-input-placeholder,.input.small textarea[data-v-b7311f50]::-webkit-input-placeholder{font-size:13px;color:rgba(0,0,0,0.25)}.input.small input[data-v-b7311f50]::-moz-placeholder,.input.small textarea[data-v-b7311f50]::-moz-placeholder{font-size:13px;color:rgba(0,0,0,0.25)}.input.small input[data-v-b7311f50]:-ms-input-placeholder,.input.small textarea[data-v-b7311f50]:-ms-input-placeholder{font-size:13px;color:rgba(0,0,0,0.25)}.input.small input[data-v-b7311f50]:-moz-placeholder,.input.small textarea[data-v-b7311f50]:-moz-placeholder{font-size:13px;color:rgba(0,0,0,0.25)}.input.small input.pad-right[data-v-b7311f50],.input.small textarea.pad-right[data-v-b7311f50]{padding-right:50px}.input.white input[data-v-b7311f50],.input.white textarea[data-v-b7311f50]{color:#fff;border:1px solid rgba(255,255,255,0.9)}.input.white input[data-v-b7311f50]::-webkit-input-placeholder,.input.white textarea[data-v-b7311f50]::-webkit-input-placeholder{color:#fff}.input.white input[data-v-b7311f50]::-moz-placeholder,.input.white textarea[data-v-b7311f50]::-moz-placeholder{color:#fff}.input.white input[data-v-b7311f50]:-ms-input-placeholder,.input.white textarea[data-v-b7311f50]:-ms-input-placeholder{color:#fff}.input.white input[data-v-b7311f50]:-moz-placeholder,.input.white textarea[data-v-b7311f50]:-moz-placeholder{color:#fff}.input.white input[data-v-b7311f50]:focus,.input.white textarea[data-v-b7311f50]:focus{background:rgba(0,0,0,0.04)}.input.white .dynamic-button[data-v-b7311f50]{color:#fff}.input.important input[data-v-b7311f50]{border:1px solid #ff0707}.input.centered[data-v-b7311f50]{text-align:center}.input.centered input[data-v-b7311f50]{text-align:center}.input.for-login input[data-v-b7311f50]{background:rgba(0,0,0,0.12);border:1px solid rgba(255,255,255,0.32)}.input.for-login input[data-v-b7311f50]:focus,.input.for-login input[data-v-b7311f50]:active,.input.for-login input[data-v-b7311f50]:hover{background:rgba(0,0,0,0.22);border:1px solid #fff}\n",""])},TgQI:function(t,e,a){"use strict";var i=a("vztf");a.n(i).a},TkVi:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".app .scroller[data-v-37f189f2]{position:relative;height:calc(100vh - 220px);overflow-y:auto}.app .scroller .padder[data-v-37f189f2]{padding:20px}.app .scroller .info[data-v-37f189f2]{margin-top:20px}.app .scroller .info .actions[data-v-37f189f2]{display:flex;justify-content:space-between}.app .scroller .info .category[data-v-37f189f2]{margin:20px 0 10px 0;font-size:10px;color:#7a7a7a}.app .scroller .info p[data-v-37f189f2]{font-size:12px}.permissions[data-v-37f189f2]{display:flex}.permissions .perms-list[data-v-37f189f2]{flex:0 0 auto;width:260px;padding:20px;border-right:1px solid #dfe0e1}.permissions .selected-permission[data-v-37f189f2]{flex:1;padding:30px}\n",""])},UVSg:function(t,e,a){var i=a("A23T");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("6756ba91",i,!0,{})},UwEJ:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"",""])},V2ue:function(t,e,a){"use strict";var i=a("weDG");a.n(i).a},V7nQ:function(t,e,a){"use strict";var i=a("P2W9");a.n(i).a},VG6g:function(t,e,a){"use strict";var i=a("eSad");a.n(i).a},Vbfb:function(t,e,a){var i=a("XTGD");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("6d268752",i,!0,{})},Vdev:function(t,e,a){"use strict";var i=a("3A+9");a.n(i).a},VklT:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".edit-network[data-v-2624d6fb]{padding:0 20px 20px;border-radius:4px;margin-top:20px;width:100%;max-width:500px}.edit-network .select[data-v-2624d6fb]{text-align:left}.edit-network .custom-token-info[data-v-2624d6fb]{display:flex;flex-direction:row;align-items:center;margin-bottom:20px}\n",""])},Vl93:function(t,e,a){var i=a("dy8B");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("22087396",i,!0,{})},Vtdi:function(t,e,a){"use strict";a.r(e);a("PGGC"),a("f+SA"),a("E1Hf"),a("PThV"),a("91NJ");var i=a("Gbp+"),n=a("4zkp"),s=a("x628"),o=a.n(s),r=a("B6RA"),c=a("+Ze5"),l=a.n(c);class d{static async initialize(){return window.wallet.sockets.initialize()}static async close(){return window.wallet.sockets.close()}static async sendEvent(t,e,a){return window.wallet.sockets.sendEvent(t,e,a)}static async broadcastEvent(t,e){return window.wallet.sockets.broadcastEvent(t,e)}static async emit(t,e,a,i){return window.wallet.sockets.emit(t,e,a,i)}static async getNewKey(t,e){return window.wallet.sockets.getNewKey(t,e)}}var p=a("w88H"),u=a("x0xh"),h=a.n(u),f=a("O1cq"),m=a.n(f),b=a("IfgB");let g;class v{static getWalletType(){return g}static async init(t){if(!t){const t=await window.wallet.getVersion(),[e,a]=t.split("_");g=e}return o.a.initialize({blockchains:{EOSIO:"eos",ETH:"eth",TRX:"trx",BTC:"btc"},plugins:[a("1lSK").default,a("dI+u").default,a("tz1k").default,a("c925").default]},r.a,{getSalt:window.wallet.getSalt,get:()=>!0,set:t=>!0,clear:()=>!0},{getVersion:()=>a("kiQV").version,pushNotification:window.wallet.utility.pushNotification},async(t,e)=>{if("popout"===t){const t=new i.a(i.c.POP_OUT,new i.b(e.type,e));return h.a.appIsInLocalData(t.data.props.payload.origin)||await h.a.getApps([t.data.props.payload.origin]),t.data.props.appData=h.a.getAppData(t.data.props.payload.origin),await n.a.openPopOut(t)}"firewalled"===t&&b.a.push(i.a.prompt("Whoa nelly!",`An application tried to push a blacklisted action to your Scatter [ ${e.actions.join(",")} ]. Check your Firewall settings if this is a mistake.`))},{socketService:d,signer:async(t,e,a,n=!1,s=!1)=>{let o,r=m.a.getKeyPairFromPublicKey(e);if(!r)return;r.external&&(o=i.a.checkHardwareWalletScreen(),b.a.push(o));const c=await window.wallet.sign(t,e,a,n,s);return o&&b.a.remove(o),c&&"object"==typeof c&&c.hasOwnProperty("error")&&b.a.push(i.a.snackbar(c.error)),c}}),l.a.loadWallets([{type:"LEDGER",name:"Ledger",wallet:()=>{}}]),!0}}var x=a("oCYn"),y=a("L2JU"),k=a("433b"),w=a("qSUR"),_=a("jE9Z"),C=(a("0X4a"),{props:["hideClose","idSelector","identity"],components:{ReputationScore:a("T/cf").a},computed:{...Object(y.c)(["identities"])}}),T=(a("yW6B"),a("KHd+")),S=Object(T.a)(C,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-out-head"},[t._m(0),t._v(" "),a("section",{staticClass:"actions"},[t.idSelector&&t.identities.length>1?a("section",{staticClass:"id-selector"},[a("i",{staticClass:"icon-user"}),t._v(" "),a("Select",{attrs:{options:t.identities,parser:function(t){return t.name},selected:t.identity},on:{selected:function(e){return t.$emit("identity",e)}}})],1):t._e(),t._v(" "),t.hideClose?t._e():a("figure",{staticClass:"close icon-cancel",on:{click:function(e){return t.$emit("closed")}}})])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"details"},[e("figure",{staticClass:"logo"},[this._v("Scatter")])])}],!1,null,null,null).exports,E=a("qjwK"),A=a("+nw1"),O=a("q+A3"),P=a("48Ae"),I=a("Mb++"),N=a.n(I),R={data:()=>({apiActions:A,pinning:!1,isExtension:!1,isNativeMobile:!1}),components:{PopOutHead:S,GetPublicKey:()=>a.e(46).then(a.bind(null,"2qTD")),TransferRequest:()=>a.e(48).then(a.bind(null,"5Pnu")),AppLogin:()=>a.e(45).then(a.bind(null,"leBm")),Signature:()=>Promise.all([a.e(0),a.e(13),a.e(26),a.e(22),a.e(1),a.e(35),a.e(28),a.e(7),a.e(19),a.e(16),a.e(9),a.e(39),a.e(15),a.e(37),a.e(20),a.e(14),a.e(6),a.e(11),a.e(21),a.e(8),a.e(33),a.e(5),a.e(4),a.e(42),a.e(30),a.e(36),a.e(18),a.e(10),a.e(27),a.e(41),a.e(17),a.e(25),a.e(40),a.e(3),a.e(31),a.e(23),a.e(24),a.e(29),a.e(43),a.e(12),a.e(34),a.e(2),a.e(38),a.e(32),a.e(47)]).then(a.bind(null,"82eg")),LinkApp:()=>a.e(50).then(a.bind(null,"M/P+")),UpdateIdentity:()=>a.e(49).then(a.bind(null,"C6GT"))},async created(){if(this.isExtension=this.$route.query.extension,this.isNativeMobile=!!window.PopOutWebView,this.isExtension||this.isNativeMobile){const{popout:t,scatter:e}=this.isExtension?await window.wallet.utility.getPopOut(this.$route.query.extension):JSON.parse(await window.PopOutWebView.getPopOut());this[O.q](t),this[E.HOLD_SCATTER](N.a.fromJson(e)),window.onbeforeunload=()=>{this.returnResult()}}setTimeout(()=>{this.setup()},200)},computed:{...Object(y.d)(["scatter","popOut"]),popup(){return this.popOut?i.a.fromJson(this.popOut):null},appData(){return this.popOut?this.popOut.data.props.appData:null},payload(){return this.popOut?this.popOut.data.props.payload:null},popupType(){return this.popOut?this.popOut.data.type:null}},methods:{async returnResult(t=null){const e={original:this.popOut,result:t};this.isNativeMobile?await window.PopOutWebView.popoutResponse(JSON.stringify(e)):await window.wallet.utility.popoutResponse(e),this.isExtension&&window.close(),this.isNativeMobile?window.PopOutWebView.close():window.wallet.utility.closeWindow(window.wallet.windowId)},async checkAppReputation(){},async setup(){if(!this.popOut)return;if(!this.scatter){let t=await window.wallet.storage.getWalletData();t||this.returnResult(null),t=N.a.fromJson(t),this[E.HOLD_SCATTER](t)}this.checkAppReputation();const t=[A.SIGN_ARBITRARY,A.SIGN,A.TRANSFER];setTimeout(async()=>{this.scatter.pinForAll&&t.includes(this.popup.data.type)&&(this.pinning=!0,await P.a.verifyPIN()||this.returnResult(null),this.pinning=!1)})},...Object(y.b)([E.HOLD_SCATTER,O.j,O.q])},watch:{popOut(){this.setup()}}},L=(a("HXU4"),Object(T.a)(R,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[t.scatter&&t.popOut?a("section",[t.popupType!==t.apiActions.LOGIN&&t.popupType!==t.apiActions.LOGIN_ALL?a("PopOutHead",{on:{closed:t.returnResult}}):t._e(),t._v(" "),a("section",{staticClass:"popout",class:{login:t.popupType===t.apiActions.LOGIN||t.popupType===t.apiActions.LOGIN_ALL}},[t.popupType===t.apiActions.LOGIN||t.popupType===t.apiActions.LOGIN_ALL?a("AppLogin",{attrs:{popup:t.popup},on:{returned:t.returnResult}}):t._e(),t._v(" "),t.popupType===t.apiActions.SIGN||t.popupType===t.apiActions.SIGN_ARBITRARY?a("Signature",{attrs:{popup:t.popup,pinning:t.pinning},on:{returned:t.returnResult}}):t._e(),t._v(" "),t.popupType===t.apiActions.GET_PUBLIC_KEY?a("GetPublicKey",{attrs:{popup:t.popup},on:{returned:t.returnResult}}):t._e(),t._v(" "),t.popupType===t.apiActions.TRANSFER?a("TransferRequest",{attrs:{popup:t.popup,pinning:t.pinning},on:{returned:t.returnResult}}):t._e(),t._v(" "),t.popupType===t.apiActions.UPDATE_IDENTITY?a("UpdateIdentity",{attrs:{popup:t.popup},on:{returned:t.returnResult}}):t._e(),t._v(" "),"linkApp"===t.popupType?a("LinkApp",{attrs:{popup:t.popup},on:{returned:t.returnResult}}):t._e()],1)],1):t._e(),t._v(" "),a("section",{staticClass:"dummy-bg",class:{hide:t.popOut}},[a("figure",[t._v("Scatter")])])])}),[],!1,null,"2d43f3c5",null).exports),B=a("mj45"),D={props:["total","index"]},$=(a("+2UL"),Object(T.a)(D,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"progress-bubbles"},[a("section",{staticClass:"bubbles",class:{done:t.index===t.total}},[t._l(Array(parseInt(t.total)).keys(),(function(e){return a("figure",{staticClass:"bubble",class:{active:e({}),computed:{...Object(y.d)(["scatter"])}},z=(a("ufBS"),Object(T.a)(q,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"center-panel terms"},[a("Terms"),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("h2",[t._v("Before we get started")]),t._v(" "),a("p",[t._v("Please read through our Terms of Use.")]),t._v(" "),a("br"),t._v(" "),t._m(0),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.deny"),click:function(){return t.$emit("back")}}],"buttons-right":[{text:t.$t("generic.accept"),blue:!0,click:function(){return t.$emit("next")}}]}})],1)}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"scroller"},[a("figure",{staticClass:"terms"},[a("h1",[t._v("1. Acceptance of Terms")]),t._v('\n\n Scatter Desktop (the "Service") provides single application for managing multiple blockchain accounts, identities, and reputations; allowing other applications to\n interact with Scatter to provide Identity authentication and reputation as well as digital signatures for use on various blockchains or other proofs. Any accompanying materials\n such as tutorials, code, written documentation and other content issued by Scatter (the "Content") also falls under this agreement.\n '),a("br"),a("br"),t._v("\n Users are always in control of their own digital assets (keypairs and tokens as an example) through popups which allow users to Accept or Deny transactions, information\n requests, and addition requests.\n "),a("br"),a("br"),t._v('\n By using Scatter you are accepting the Terms (the "Terms" or "Terms of Use"), please read them thoroughly before using the Service.\n '),a("b",[t._v("\n By using or otherwise accessing the Service; you (1)\n accept and agree to these Terms (2) and consent to the collection, use, disclosure and other handling of information as described in our Privacy Policy and (3) any additional terms,\n rules and conditions of participation issued by Scatter from time to time. If you do not agree to the Terms, then you may not access or use the Content or Services.\n ")]),t._v(" "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("2. Modification of Terms of Use")]),t._v('\n\n Scatter reserves the right, at its sole discretion, to modify or replace the Terms of Use at any time.\n The most current version of these Terms will be posted on https://get-scatter.com (the "Site"). You shall be responsible for\n reviewing and becoming familiar with any such modifications. Use of the Services by you after any modification to the Terms constitutes your acceptance\n of the Terms of Use as modified.\n\n\n\n\n '),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("3. Eligibility")]),t._v("\n\n You hereby represent and warrant that you are fully able and competent to enter into the terms, conditions, obligations, affirmations, representations and warranties set forth in these\n Terms and to abide by and comply with these Terms.\n "),a("br"),a("br"),t._v("\n Scatter is a global platform and by accessing the Site or Services, you are representing and warranting that, you are of the legal age of majority in your jurisdiction as is required\n to access such Services and enter into arrangements as provided by the Service. You further represent that you are otherwise legally permitted to use the service in your\n jurisdiction including owning cryptographic tokens of value, and interacting with the Service in any way. You further represent you are responsible for ensuring compliance\n with the laws of your jurisdiction and acknowledge that Scatter is not liable for your compliance with such laws.\n\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("4. Account Password and Security")]),t._v("\n\n When setting up Scatter, you will be responsible for keeping your own account secrets, which may be a twelve-word seed phrase, a backup file, passwords, keypairs, or\n other locally stored secret information. Scatter encrypts this information locally with a strong seed derived from the password you provide, that we never send to our servers.\n You agree to (a) never use the same password for Scatter that you have ever used outside of this service; (b) keep your secret information and password confidential and do not share them with anyone else.\n Scatter cannot and will not be liable for any loss or damage arising from your failure to comply with this section.\n By using Scatter you recognize yourself as the sole legal owner of your own secrets, keys, passwords, seed phrases, and other private data.\n\n\n\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("5. REPRESENTATIONS, WARRANTIES AND RISKS")]),t._v(" "),a("h2",[t._v("5.1. Warranty disclaimer")]),t._v('\n\n You expressly understand and agree that your use of the Service is at your sole risk. The Service (including the Service and the Site) are provided on an "AS IS"\n and "as available" basis, without warranties of any kind, either express or implied, including, without limitation, implied warranties of merchantability, fitness for a\n particular purpose or non-infringement. You acknowledge that Scatter has no control over, and no duty to take any action regarding: which users gain access to or use the\n Service; what effects the Content may have on you; how you may interpret or use the Content; or what actions you may take as a result of having been exposed to the Content.\n You release Scatter from all liability for you having acquired or not acquired Content through the Service. Scatter makes no representations concerning any Content contained\n in or accessed through the Service, and Scatter will not be responsible or liable for the accuracy, copyright compliance, legality or decency of material contained in or accessed\n through the Service.\n '),a("br"),a("br"),t._v(" "),a("h2",[t._v("5.2 Sophistication and Risk of Cryptographic Systems")]),t._v("\n\n By utilizing the Service or interacting with the Content or platform in any way, you represent that you understand the inherent risks associated with cryptographic systems;\n and warrant that you have an understanding of the usage and intricacies of native cryptographic tokens, smart contract based tokens that\n follow various Tokens standards, and blockchain-based software systems.\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("5.3 Risk of Regulatory Actions in One or More Jurisdictions")]),t._v("\n\n Scatter and the supported blockchains and tokens could be impacted by one or more regulatory inquiries or regulatory action, which could impede or limit the ability of Scatter to continue to develop,\n or which could impede or limit your ability to access or use the Service or supported blockchains and their networks.\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("5.4 Risk of Weaknesses or Exploits in the Field of Cryptography")]),t._v("\n\n You acknowledge and understand that Cryptography is a progressing field. Advances in code cracking or technical advances such as the development of quantum computers\n may present risks to cryptocurrencies and the Service, which could result in the theft or loss of your digital assets such as your keypairs, cryptographic tokens or property.\n To the extent possible, Scatter intends to update the protocols underlying the Service to account for any advances in cryptography and to incorporate additional security measures, but does not guarantee or\n otherwise represent full security of the system. By using the Service, you acknowledge these inherent risks.\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("5.5 Volatility of Crypto Currencies")]),t._v("\n\n You understand that blockchain technologies and associated currencies or tokens are highly volatile due to many factors including but not limited to adoption,\n speculation, technology and security risks. You also acknowledge that the cost of transacting on such technologies is variable and may increase at any time causing impact to any\n activities taking place on the supported blockchains. You acknowledge these risks and represent that Scatter cannot be held liable for such fluctuations in both time and costs.\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("5.6 Application Security")]),t._v("\n\n You acknowledge that blockchain applications are code subject to flaws and acknowledge that you are solely responsible for evaluating any code provided by the Service\n and the trustworthiness of any third-party websites, products, smart-contracts, or Content you access or use through the Service. You further expressly acknowledge\n and represent that blockchain applications can be written maliciously or negligently, that Scatter cannot be held liable for your interaction with such applications and that\n such applications may cause the loss of property or even identity. This warning and others later provided by Scatter in no way evidence or represent an on-going duty to alert\n you to all of the potential risks of utilizing the Service or Content.\n\n\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("6. Indemnity")]),t._v("\n\n You agree to release and to indemnify, defend and hold harmless Scatter and its parents, subsidiaries, affiliates and agencies, as well as the officers, directors, employees,\n shareholders and representatives of any of the foregoing entities, from and against any and all losses, liabilities, expenses, damages, costs (including attorneys' fees and court costs)\n claims or actions of any kind whatsoever arising or resulting from your use of the Service, your violation of these Terms of Use, and any of your acts or omissions that implicate publicity rights,\n defamation or invasion of privacy. Scatter reserves the right, at its own expense, to assume exclusive defense and control of any matter otherwise subject to indemnification by you and, in such case,\n you agree to cooperate with Scatter in the defense of such matter.\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("7. Limitation on liability")]),t._v("\n\n YOU ACKNOWLEDGE AND AGREE THAT YOU ASSUME FULL RESPONSIBILITY FOR YOUR USE OF THE SITE AND SERVICE. YOU ACKNOWLEDGE AND AGREE THAT ANY INFORMATION YOU SEND OR RECEIVE\n DURING YOUR USE OF THE SITE AND SERVICE MAY NOT BE SECURE AND MAY BE INTERCEPTED OR LATER ACQUIRED BY UNAUTHORIZED PARTIES. YOU ACKNOWLEDGE AND AGREE THAT YOUR USE OF THE\n SITE AND SERVICE IS AT YOUR OWN RISK. RECOGNIZING SUCH, YOU UNDERSTAND AND AGREE THAT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, NEITHER SCATTER NOR ITS SUPPLIERS OR\n LICENSORS WILL BE LIABLE TO YOU FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY OR OTHER DAMAGES OF ANY KIND, INCLUDING WITHOUT LIMITATION\n DAMAGES FOR LOSS OF PROFITS, GOODWILL, USE, DATA OR OTHER TANGIBLE OR INTANGIBLE LOSSES OR ANY OTHER DAMAGES BASED ON CONTRACT, TORT, STRICT LIABILITY OR ANY OTHER THEORY\n (EVEN IF SCATTER HAD BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES), RESULTING FROM THE SITE OR SERVICE; THE USE OR THE INABILITY TO USE THE SITE OR SERVICE; UNAUTHORIZED\n ACCESS TO OR ALTERATION OF YOUR TRANSMISSIONS OR DATA; STATEMENTS OR CONDUCT OF ANY THIRD PARTY ON THE SITE OR SERVICE; ANY ACTIONS WE TAKE OR FAIL TO TAKE AS A RESULT OF\n COMMUNICATIONS YOU SEND TO US; HUMAN ERRORS; TECHNICAL MALFUNCTIONS; FAILURES, INCLUDING PUBLIC UTILITY OR TELEPHONE OUTAGES; OMISSIONS, INTERRUPTIONS, LATENCY, DELETIONS OR\n DEFECTS OF ANY DEVICE OR NETWORK, PROVIDERS, OR SOFTWARE (INCLUDING, BUT NOT LIMITED TO, THOSE THAT DO NOT PERMIT PARTICIPATION IN THE SERVICE); ANY INJURY OR DAMAGE TO COMPUTER\n EQUIPMENT; INABILITY TO FULLY ACCESS THE SITE OR SERVICE OR ANY OTHER WEBSITE; THEFT, TAMPERING, DESTRUCTION, OR UNAUTHORIZED ACCESS TO, IMAGES OR OTHER CONTENT OF ANY KIND;\n DATA THAT IS PROCESSED LATE OR INCORRECTLY OR IS INCOMPLETE OR LOST; TYPOGRAPHICAL, PRINTING OR OTHER ERRORS, OR ANY COMBINATION THEREOF; OR ANY OTHER MATTER RELATING TO THE\n SITE OR SERVICE.\n "),a("br"),a("br"),t._v("\n SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF CERTAIN WARRANTIES OR THE LIMITATION OR EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES. ACCORDINGLY,\n SOME OF THE ABOVE LIMITATIONS MAY NOT APPLY TO YOU.\n\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("8. Our proprietary rights")]),t._v("\n\n All title, ownership and intellectual property rights in and to the Service are owned by Scatter or its licensors. You acknowledge and agree that the Service contains\n proprietary and confidential information that is protected by applicable intellectual property and other laws. Except as expressly authorized by Scatter, you agree not to copy,\n modify, rent, lease, loan, sell, distribute, perform, display or create derivative works based on the Service, in whole or in part. Scatter issues licenses for Scatter's various code-bases,\n which can be found on their individual repositories. Each code-base might have a different license. You can find all official repositories at https://github.com/GetScatter.\n\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("9. Links")]),t._v("\n\n The Service provides, or third parties may provide, links to other accessible internet websites, applications or resources. Because Scatter might have no control over such sites,\n applications and resources, you acknowledge and agree that Scatter is not responsible for the availability of such external sites, applications or resources, and does not endorse and is not\n responsible or liable for any content, advertising, products or other materials on or available from such sites or resources. You further acknowledge and agree that Scatter shall not be responsible\n or liable, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods or services available on or through\n any such site or resource.\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("10. Termination and suspension")]),t._v("\n\n Scatter may terminate or suspend all or part of the Service and your Scatter access immediately, without prior notice or liability, if you breach any of the terms or conditions of the Terms.\n Upon termination of your access, your right to use the Service will immediately cease.\n "),a("br"),a("br"),t._v("\n The following provisions of the Terms survive any termination of these Terms: INDEMNITY; WARRANTY DISCLAIMERS; LIMITATION ON LIABILITY; OUR PROPRIETARY RIGHTS; LINKS; TERMINATION; NO THIRD PARTY\n BENEFICIARIES; BINDING ARBITRATION AND CLASS ACTION WAIVER; GENERAL INFORMATION.\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("11. No third party beneficiaries")]),t._v("\n\n You agree that, except as otherwise expressly provided in these Terms, there shall be no third party beneficiaries to the Terms.\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("12. Notice and procedure for making claims of copyright infringement")]),t._v("\n\n If you believe that your copyright or the copyright of a person on whose behalf you are authorized to act has been infringed, please provide Scatter's Copyright Agent a\n written Notice containing the following information:\n "),a("br"),a("br"),t._v("\n · an electronic or physical signature of the person authorized to act on behalf of the owner of the copyright or other intellectual property interest;\n\n · a description of the copyrighted work or other intellectual property that you claim has been infringed;\n\n · a description of where the material that you claim is infringing is located on the Service;\n\n · your address, telephone number, and email address;\n\n · a statement by you that you have a good faith belief that the disputed use is not authorized by the copyright owner, its agent, or the law;\n\n · a statement by you, made under penalty of perjury, that the above information in your Notice is accurate and that you are the copyright or intellectual property owner or\n authorized to act on the copyright or intellectual property owner’s behalf.\n "),a("br"),a("br"),t._v("\n Scatter’s Copyright Agent can be reached at:"),a("br"),t._v("\n Email: copyright [at] get-scatter [dot] com\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("13. Binding arbitration and class action waiver")]),t._v("\n\n PLEASE READ THIS SECTION CAREFULLY – IT MAY SIGNIFICANTLY AFFECT YOUR LEGAL RIGHTS, INCLUDING YOUR RIGHT TO FILE A LAWSUIT IN COURT\n\n "),a("h2",[t._v("13.1 Initial Dispute Resolution")]),t._v("\n\n The parties shall use their best efforts to engage directly to settle any dispute, claim, question, or disagreement and engage in good faith negotiations which shall be a\n condition to either party initiating a lawsuit or arbitration.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("13.2 Binding Arbitration")]),t._v("\n\n If the parties do not reach an agreed upon solution within a period of 30 days from the time informal dispute resolution under the Initial Dispute Resolution provision begins,\n then either party may initiate binding arbitration as the sole means to resolve claims, subject to the terms set forth below. Specifically, all claims arising out of or relating\n to these Terms (including their formation, performance and breach), the parties’ relationship with each other and/or your use of the Service shall be finally settled by binding\n arbitration administered by the American Arbitration Association in accordance with the provisions of its Commercial Arbitration Rules and the supplementary procedures for consumer\n related disputes of the American Arbitration Association (the “AAA”), excluding any rules or procedures governing or permitting class actions.\n "),a("br"),a("br"),t._v("\n The arbitrator, and not any federal, state or local court or agency, shall have exclusive authority to resolve all disputes arising out of or relating to the interpretation,\n applicability, enforceability or formation of these Terms, including, but not limited to any claim that all or any part of these Terms are void or voidable, or whether a claim\n is subject to arbitration. The arbitrator shall be empowered to grant whatever relief would be available in a court under law or in equity. The arbitrator’s award shall be written,\n and binding on the parties and may be entered as a judgment in any court of competent jurisdiction.\n "),a("br"),a("br"),t._v("\n The parties understand that, absent this mandatory provision, they would have the right to sue in court and have a jury trial. They further understand that,\n in some instances, the costs of arbitration could exceed the costs of litigation and the right to discovery may be more limited in arbitration than in court.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("13.3 Location")]),t._v("\n\n Binding arbitration shall take place in New York. You agree to submit to the personal jurisdiction of any federal or state court in New York County, New York,\n in order to compel arbitration, to stay proceedings pending arbitration, or to confirm, modify, vacate or enter judgment on the award entered by the arbitrator.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("13.4 Class Action Waiver")]),t._v("\n\n The parties further agree that any arbitration shall be conducted in their individual capacities only and not as a class action or other representative action,\n and the parties expressly waive their right to file a class action or seek relief on a class basis. YOU AND SCATTER AGREE THAT EACH MAY BRING CLAIMS AGAINST THE OTHER\n ONLY IN YOUR OR ITS INDIVIDUAL CAPACITY, AND NOT AS A PLAINTIFF OR CLASS MEMBER IN ANY PURPORTED CLASS OR REPRESENTATIVE PROCEEDING. If any court or arbitrator determines\n that the class action waiver set forth in this paragraph is void or unenforceable for any reason or that an arbitration can proceed on a class basis, then the arbitration\n provision set forth above shall be deemed null and void in its entirety and the parties shall be deemed to have not agreed to arbitrate disputes.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("13.5 Exception - Litigation of Intellectual Property and Small Claims Court Claims")]),t._v("\n\n Notwithstanding the parties’ decision to resolve all disputes through arbitration, either party may bring an action in state or federal court to protect its intellectual\n property rights (“intellectual property rights” means patents, copyrights, moral rights, trademarks, and trade secrets, but not privacy or publicity rights). Either party may\n also seek relief in a small claims court for disputes or claims within the scope of that court’s jurisdiction.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("13.6 30-Day Right to Opt Out")]),t._v("\n\n You have the right to opt-out and not be bound by the arbitration and class action waiver provisions set forth above by sending written notice of your decision to opt-out\n to the following email address: legal-opt [at] get-scatter [dot] com. The notice must be sent within 30 days of\n your first use of the Service, otherwise you shall be bound to arbitrate disputes in accordance with the terms of those paragraphs.\n If you opt-out of these arbitration provisions, Scatter also will not be bound by them.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("13.7 Changes to this Section")]),t._v("\n\n Scatter will provide 60-days’ notice of any changes to this section. Changes will become effective on the 60th day, and will apply prospectively only to any claims\n arising after the 60th day.\n "),a("br"),a("br"),t._v("\n For any dispute not subject to arbitration you and Scatter agree to submit to the personal and exclusive jurisdiction of and venue in the federal and state courts located\n in New York, New York. You further agree to accept service of process by mail, and hereby waive any and all jurisdictional and venue defenses otherwise available.\n "),a("br"),a("br"),t._v("\n The Terms and the relationship between you and Scatter shall be governed by the laws of the State of New York without regard to conflict of law provisions.\n\n\n\n\n "),a("br"),a("br"),t._v(" "),a("br"),a("br"),t._v(" "),a("h1",[t._v("14. GENERAL INFORMATION")]),t._v(" "),a("h2"),t._v("\n\n These Terms (and any additional terms, rules and conditions of participation that Scatter may post on the Service) constitute the entire agreement between you and\n Scatter with respect to the Service and supersedes any prior agreements, oral or written, between you and Scatter. In the event of a conflict between these Terms and\n the additional terms, rules and conditions of participation, the latter will prevail over the Terms to the extent of the conflict.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("14.2 Waiver and Severability of Terms")]),t._v("\n\n The failure of Scatter to exercise or enforce any right or provision of the Terms shall not constitute a waiver of such right or provision. If any provision of the Terms\n is found by an arbitrator or court of competent jurisdiction to be invalid, the parties nevertheless agree that the arbitrator or court should endeavor to give effect to the\n parties’ intentions as reflected in the provision, and the other provisions of the Terms remain in full force and effect.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("14.3 Statute of Limitations")]),t._v("\n\n You agree that regardless of any statute or law to the contrary, any claim or cause of action arising out of or related to the use of the Service or the Terms must be\n filed within one (1) year after such claim or cause of action arose or be forever barred.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("14.4 Section Titles")]),t._v("\n\n The section titles in the Terms are for convenience only and have no legal or contractual effect.\n\n "),a("br"),a("br"),t._v(" "),a("h2",[t._v("14.5 Communications")]),t._v("\n\n Users with questions, complaints or claims with respect to the Service may contact us using the relevant contact information set forth above.\n\n ")])])}],!1,null,"6fd33fd3",null).exports),U=a("0rDn"),H=a.n(U),Y=Object(T.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:"88px",height:"88px",viewBox:"0 0 88 88",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e("g",{attrs:{id:"welcome_lock",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[e("path",{attrs:{d:"M38.9,64.9121497 C37.3980472,63.7848507 36.5,62.0907867 36.5,60.2555556 C36.5,56.931666 39.4193932,54.2555556 43,54.2555556 C46.5806068,54.2555556 49.5,56.931666 49.5,60.2555556 C49.5,62.0907867 48.6019528,63.7848507 47.1,64.9121497 L47.1,69.0518692 C47.1,71.1643284 45.2561221,72.8555556 43,72.8555556 C40.7354226,72.8555556 38.9,71.1667137 38.9,69.0518692 L38.9,64.9121497 Z M21.5,34.7 L24.0384615,34.7 L24.0384615,22.9119373 C24.0384615,11.913714 32.9698002,3.02 44,3.02 C55.0096495,3.02 63.9615385,11.9329553 63.9615385,22.9119373 L63.9615385,34.7 L66.5,34.7 L66.5,22.8568627 C66.5,10.5191615 56.4102691,0.5 44,0.5 C31.5740891,0.5 21.5,10.5124226 21.5,22.8568627 L21.5,34.7 Z M17.938413,39.6111111 C14.3824177,39.6111111 11.5,42.5200235 11.5,46.115697 L11.5,80.9954141 C11.5,84.593046 14.376155,87.5 17.938413,87.5 L70.0615871,87.5 C73.6175824,87.5 76.5,84.5910876 76.5,80.9954141 L76.5,46.115697 C76.5,42.5180651 73.6238449,39.6111111 70.0615871,39.6111111 L17.938413,39.6111111 Z",id:"lock",stroke:"#00A8FF",fill:"#FFFFFF"}})])])}),[],!1,null,null,null).exports,W={components:{Lock:Y},data:()=>({password:"",confirmation:""}),computed:{passwordStrength(){const t=(t,e,a)=>(ae&&(a=e),a);let e=0;return this.password.length>=8&&(e+=t(0,4,this.password.length-7)),H.a.uppercaseCount(this.password)>=2&&(e+=t(0,4,H.a.uppercaseCount(this.password)-1)),H.a.lowercaseCount(this.password)>=2&&(e+=t(0,4,H.a.lowercaseCount(this.password)-1)),H.a.specialCharCount(this.password)>=2&&(e+=t(0,4,H.a.specialCharCount(this.password)-1)),e/8/2*100}},methods:{async checkPassword(){const t=H.a.hasError(this.password);return t?b.a.push(i.a.snackbar(t)):this.password!==this.confirmation?b.a.push(i.a.snackbar(this.$t("errors.passwordConfirmation"))):(await new Promise(t=>setTimeout(()=>t(!0),1e3)),this.setWorkingScreen(!0),await this[O.a](this.password),this.setWorkingScreen(!1),void this.$emit("next"))},...Object(y.b)([O.a])}},G=(a("9TWB"),Object(T.a)(W,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"center-panel"},[a("Lock"),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("h2",[t._v(t._s(t.$t("setPassword.title")))]),t._v(" "),a("p",[t._v(t._s(t.$t("setPassword.description")))]),t._v(" "),a("br"),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"center",attrs:{type:"password",placeholder:t.$t("setPassword.choosePass")},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}}),t._v(" "),a("section",{staticClass:"password-strength"},[a("figure",{staticClass:"bar",class:{red:t.passwordStrength<50,green:t.passwordStrength<100&&t.passwordStrength>=50},style:{width:t.passwordStrength+"%"}})]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.confirmation,expression:"confirmation"}],staticClass:"center",attrs:{type:"password",placeholder:t.$t("setPassword.confirmPass")},domProps:{value:t.confirmation},on:{input:function(e){e.target.composing||(t.confirmation=e.target.value)}}}),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.back"),click:function(){return t.$emit("back")}}],"buttons-right":[{text:t.$t("generic.next"),blue:!0,click:t.checkPassword}]}})],1)}),[],!1,null,"a2f9220c",null).exports),V={components:{ScatterOutline:a("wg2a").a},computed:{...Object(y.d)(["scatter"])},methods:{async go(){const t=this.scatter.clone();t.onboarded=!0,await this[E.SET_SCATTER](t),this.$router.push({name:$a.HOME})},...Object(y.b)([E.SET_SCATTER])}},Z=Object(T.a)(V,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"center-panel"},[a("ScatterOutline"),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("h2",[t._v(t._s(t.$t("welcome.title")))]),t._v(" "),a("p",[t._v(t._s(t.$t("welcome.description")))]),t._v(" "),a("br"),t._v(" "),a("Button",{attrs:{big:"1",blue:"1",text:t.$t("welcome.button")},nativeOn:{click:function(e){return t.go(e)}}})],1)}),[],!1,null,null,null).exports,J=Object(T.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:"44px",height:"44px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e("g",{attrs:{id:"reset",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[e("g",{attrs:{id:"Group",transform:"translate(5.000000, 3.000000)",stroke:"#fff"}},[e("circle",{attrs:{fill:"#FFFFFF",id:"Oval",cx:"7",cy:"8",r:"1.5"}}),this._v(" "),e("circle",{attrs:{fill:"#FFFFFF",id:"Oval-Copy-2",cx:"16",cy:"8",r:"1.5"}}),this._v(" "),e("g",{attrs:{id:"iconfinder_20_1490199"}},[e("path",{attrs:{d:"M20.9585751,7.47332794 C20.7349456,5.57724745 19.9031833,3.92358821 18.4366419,2.58137944 C16.1849069,0.520798822 13.4577725,-0.242032523 10.3770146,0.0656739855 C6.70904241,0.431879831 4.0235459,2.14965434 2.63564838,5.39730349 C1.65969734,7.68088358 1.67688045,9.9270241 3.61508585,11.8619481 C4.53201664,12.7773926 5.69000907,13.3241508 6.9284384,13.7561567 C7.12467454,13.8245307 7.34407052,14.080477 7.37669353,14.2756308 C7.57815931,15.4814659 8.5812547,16.1064728 9.84657933,15.7870196 C10.0301149,15.7405009 10.266445,15.7178032 10.429311,15.7868324 C11.0775377,16.0614985 11.7026046,16.0819031 12.3451037,15.7826205 C12.46165,15.7283331 12.6269565,15.7199092 12.7570003,15.7460701 C14.3209127,16.0614985 15.1581537,15.5027596 15.3548879,13.974991 C15.7249474,13.8581795 16.1113931,13.7458608 16.4904675,13.6150563 C19.6257632,12.5300106 21.289238,10.2798921 20.9585751,7.47332794 Z",id:"Shape","stroke-linecap":"round","stroke-linejoin":"round"}}),this._v(" "),e("path",{attrs:{d:"M4.3367309,19.9345679 C3.6791514,19.6710249 3.12726505,19.6503425 2.45257046,19.9608649 C1.22899217,20.5234718 0.344112355,20.1986265 0.0723728808,19.2275851 C-0.190358655,18.2882836 0.250730061,17.7600518 1.58450547,17.4908369 C1.45839433,17.2934661 1.33738769,17.1197569 1.23289561,16.9373966 C0.873478866,16.3099924 0.987279155,15.6849372 1.52775546,15.2807425 C2.04060741,14.8975166 2.92248458,14.8932197 3.37738547,15.3509251 C3.66924267,15.6452339 3.93978109,16.0224441 4.04547423,16.4060137 C4.20281289,16.9772718 4.53040158,17.2439086 5.09670064,17.4301074 C7.06943914,18.0786523 18.2018097,21.9767968 19.4479078,22.3915906 C19.6007425,22.4422939 19.8283431,22.3302882 20.0067003,22.2601055 C20.3859345,22.1106308 20.7417481,21.8912026 21.132092,21.7865302 C22.0244184,21.5473936 22.7006744,21.9223695 22.930617,22.7272641 C23.1666851,23.5551901 22.7988609,24.1149325 21.8500247,24.365814 C21.7272165,24.3984704 21.6005048,24.4177205 21.4416048,24.4498613 C21.5611101,24.6351435 21.6749705,24.7952745 21.7722562,24.9645722 C22.1707073,25.6580913 22.030784,26.291683 21.3911604,26.7142111 C20.7248732,27.1548436 19.9649034,27.0849474 19.4436441,26.5114549 C19.2769972,26.3284071 19.0866295,26.1139061 19.0427908,25.8895508 C18.8737418,25.0275933 18.2170631,24.7657691 17.45319,24.517122 C15.672861,23.9384733 5.3116901,20.3249552 4.3367309,19.9345679 Z",id:"Path","stroke-linecap":"round","stroke-linejoin":"round"}}),this._v(" "),e("path",{attrs:{d:"M1.60169135,24.4905621 C0.328249367,24.2171072 -0.0965314926,23.7969077 0.0178441311,22.9758521 C0.162539802,21.936781 1.15739759,21.3581504 2.22430301,21.9390262 C3.23116874,22.487145 4.0326987,22.2942298 4.95160627,21.9183588 C5.70780626,21.6094986 16.0583499,18.0065718 18.0903935,17.2963949 C18.5103111,17.1498807 18.744526,16.9449334 18.8828574,16.505736 C19.1086667,15.7915293 19.4466902,15.092924 20.3899139,15.0103694 C20.9686966,14.9596507 21.5639902,15.0845764 21.7630218,15.6174393 C21.916123,16.0272763 21.7864372,16.5437319 21.7360039,17.0083174 C21.7206938,17.1528167 21.5534832,17.2820026 21.4466126,17.4314529 C22.8350306,17.8804371 23.1931674,18.3496282 22.9100802,19.2900828 C22.705645,19.9685388 22.1947072,20.2975483 21.4529167,20.2267379 C21.4018229,20.2217869 21.3415431,20.2261622 21.3013165,20.2016376 C19.692853,19.2229568 6.95753256,24.0815887 5.01284676,24.7347717 C4.53282938,24.8956784 4.25754737,25.1325767 4.09724138,25.6090215 C3.87269291,26.277921 3.51905909,26.9894795 2.6830063,26.9998996 C2.21349587,27.0058868 1.58367944,26.7434277 1.3135008,26.3962263 C1.0766442,26.091396 1.20963213,25.4981427 1.24355456,25.0367235 C1.25586269,24.8662604 1.4521925,24.7084625 1.60169135,24.4905621 Z",id:"Path-Copy","stroke-linecap":"round","stroke-linejoin":"round"}}),this._v(" "),e("path",{attrs:{d:"M11.5,15 L11.5,13",id:"Path-2"}}),this._v(" "),e("path",{attrs:{d:"M9.5,15 L9.5,13",id:"Path-2-Copy-2"}}),this._v(" "),e("path",{attrs:{d:"M13.5,15 L13.5,13",id:"Path-2-Copy"}})])])])])}),[],!1,null,null,null).exports,X=Object(T.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:"44px",height:"44px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e("g",{attrs:{id:"restore",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[e("g",{attrs:{id:"Group-9",transform:"translate(1.000000, 4.000000)",stroke:"#fff"}},[e("polygon",{attrs:{fill:"#fff",id:"Path-4","stroke-linecap":"round","stroke-linejoin":"round",transform:"translate(4.905132, 11.108477) rotate(-45.000000) translate(-4.905132, -11.108477) ",points:"2 14.0136083 7.81026336 14.0136083 2 8.20334494"}}),this._v(" "),e("circle",{attrs:{fill:"#fff",id:"Oval",cx:"17",cy:"12",r:"1.5"}}),this._v(" "),e("path",{attrs:{d:"M9.2896073,21.1954643 C11.3749485,22.9458633 14.0643708,24 17,24 L17,24 C23.627417,24 29,18.627417 29,12 C29,5.372583 23.627417,0 17,0 C10.372583,0 5,5.372583 5,12",id:"Path","stroke-linecap":"round","stroke-linejoin":"round"}})])])])}),[],!1,null,null,null).exports,Q=Object(T.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("svg",{attrs:{width:"44px",height:"44px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[a("g",{attrs:{id:"support",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"}},[a("g",{attrs:{id:"Group-11",transform:"translate(4.000000, 4.000000)",stroke:"#fff"}},[a("circle",{attrs:{id:"Oval",cx:"12",cy:"12",r:"12"}}),t._v(" "),a("circle",{attrs:{id:"Oval-Copy",cx:"12",cy:"12",r:"5"}}),t._v(" "),a("g",{attrs:{id:"Group-8",opacity:"0.5"}},[a("path",{attrs:{d:"M10,7 L10,0",id:"Path-12"}}),t._v(" "),a("path",{attrs:{d:"M14,7 L14,0",id:"Path-12-Copy"}}),t._v(" "),a("path",{attrs:{d:"M10,24 L10,17",id:"Path-12-Copy-3"}}),t._v(" "),a("path",{attrs:{d:"M14,24 L14,17",id:"Path-12-Copy-2"}}),t._v(" "),a("path",{attrs:{d:"M20.5,13.5 L20.5,6.5",id:"Path-12",transform:"translate(20.500000, 10.000000) rotate(90.000000) translate(-20.500000, -10.000000) "}}),t._v(" "),a("path",{attrs:{d:"M20.5,17.5 L20.5,10.5",id:"Path-12-Copy",transform:"translate(20.500000, 14.000000) rotate(90.000000) translate(-20.500000, -14.000000) "}}),t._v(" "),a("path",{attrs:{d:"M3.5,13.5 L3.5,6.5",id:"Path-12-Copy-3",transform:"translate(3.500000, 10.000000) rotate(90.000000) translate(-3.500000, -10.000000) "}}),t._v(" "),a("path",{attrs:{d:"M3.5,17.5 L3.5,10.5",id:"Path-12-Copy-2",transform:"translate(3.500000, 14.000000) rotate(90.000000) translate(-3.500000, -14.000000) "}})])])])])}),[],!1,null,null,null).exports,tt=a("MIPw"),et=a("sDjF");const at={NEW_OR_LOGIN:"newOrLogin",CREATE_NEW:"createNew",IMPORT_KEYS:"importKeys",IMPORT_BACKUP:"importBackup"};var it={components:{Welcome:Z,ActionBar:j,ProgressBubbles:$,LoginButton:M,SetPassword:G,Terms:z,Reset:J,Restore:X,Support:Q,QrcodeStream:B.QrcodeStream},data:()=>({state:at.NEW_OR_LOGIN,STATES:at,step:1,password:"",opening:!1,isNewScatter:!0,focusing:!0}),async created(){this.isNewScatter=!await window.wallet.exists()},computed:{...Object(y.d)(["scatter"]),steps(){switch(this.state){case at.CREATE_NEW:return 3;case at.IMPORT_KEYS:return 4;case at.IMPORT_BACKUP:return 3}},lockedTimeLeft(){return(this.lockedOutTime-this.now)/1e3}},methods:{stepBack(){1!==this.step?this.step--:this.state=at.NEW_OR_LOGIN},stepForward(){this.step++},goToSupport(){this.openInBrowser("https://support.get-scatter.com/")},importBackup(){b.a.push(i.a.importFullBackup({},t=>{}))},importKeypair(){this.stepForward(),b.a.push(i.a.importKeypair({forSignup:!0},t=>{this.stepForward()}))},async unlock(){if(this.opening)return;this.opening=!0,await(async()=>{let t;try{t=await window.wallet.biometrics.available()}catch(t){return!0}if(t&&t.toString().indexOf("error")>-1)return this.opening=!1,b.a.push(i.a.snackbar(JSON.parse(t).error));{b.a.push(i.a.snackbar(`Scan your ${t}`));const e=await window.wallet.biometrics.authorize();return e&&"object"==typeof e&&e.hasOwnProperty("error")?(this.opening=!1,b.a.push(i.a.snackbar(e.error)),!1):!0===e||(this.opening=!1,b.a.push(i.a.snackbar("Biometric error!")),!1)}})()&&(await window.wallet.unlock(this.password)?(await this[E.LOAD_SCATTER](),this.$router.push({name:$a.HOME}),et.a.init()):(this.focusing=!1,this.$nextTick(()=>{this.focusing=!0,this.$forceUpdate()}),b.a.push(i.a.snackbar(this.$t("errors.badPassword")))),this.opening=!1)},destroy(){b.a.push(i.a.destroyScatter())},...Object(y.b)([O.u,E.LOAD_SCATTER,E.SET_SCATTER])}},nt=(a("jOga"),Object(T.a)(it,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"login"},[t.state===t.STATES.NEW_OR_LOGIN?a("section",{staticClass:"entry"},[t._m(0),t._v(" "),t._m(1),t._v(" "),a("section",{staticClass:"body"},[t.isNewScatter?a("section",[a("LoginButton",{attrs:{primary:"1",title:t.$t("login.registerButtonTitle"),description:t.$t("login.registerButtonSubtitle")},nativeOn:{click:function(e){t.state=t.STATES.CREATE_NEW}}})],1):t._e(),t._v(" "),t.isNewScatter?t._e():a("section",[a("Input",{staticClass:"welcome-password",attrs:{focus:t.focusing,big:"1","for-login":"1",placeholder:t.$t("login.passwordPlaceholder"),type:"password",disabled:t.opening,"loader-on-dynamic":t.opening,text:t.password,"dynamic-button":"icon-right-open-big","hide-dynamic-button":!t.password.length},on:{enter:t.unlock,dynamic:t.unlock,changed:function(e){return t.password=e}}})],1)]),t._v(" "),a("section",{staticClass:"tail"},[a("section",{staticClass:"actions"},[t.isNewScatter?t._e():a("section",{staticClass:"action",on:{click:t.destroy}},[a("Reset",{staticClass:"logo"}),t._v(" "),a("figure",{staticClass:"text"},[t._v(t._s(t.$t("login.reset")))])],1),t._v(" "),t.isNewScatter?a("section",{staticClass:"action",on:{click:t.importBackup}},[a("Restore",{staticClass:"logo"}),t._v(" "),a("figure",{staticClass:"text"},[t._v(t._s(t.$t("login.restore")))])],1):t._e(),t._v(" "),a("section",{staticClass:"action",on:{click:t.goToSupport}},[a("Support",{staticClass:"logo"}),t._v(" "),a("figure",{staticClass:"text"},[t._v(t._s(t.$t("login.support")))])],1)])])]):t._e(),t._v(" "),t.state===t.STATES.CREATE_NEW?a("section",{staticClass:"onboard"},[a("ProgressBubbles",{attrs:{total:t.steps,index:t.step}}),t._v(" "),a("section",{staticClass:"panel"},[1===t.step?a("Terms",{on:{back:t.stepBack,next:t.stepForward}}):t._e(),t._v(" "),2===t.step?a("SetPassword",{on:{back:t.stepBack,next:t.stepForward}}):t._e(),t._v(" "),3===t.step?a("Welcome"):t._e()],1)],1):t._e(),t._v(" "),t.state===t.STATES.IMPORT_KEYS?a("section",{staticClass:"onboard"},[a("ProgressBubbles",{attrs:{total:t.steps,index:t.step}}),t._v(" "),a("section",{staticClass:"panel"},[1===t.step?a("Terms",{on:{back:t.stepBack,next:t.stepForward}}):t._e(),t._v(" "),2===t.step?a("SetPassword",{on:{back:t.stepBack,next:t.importKeypair}}):t._e(),t._v(" "),4===t.step?a("Welcome"):t._e()],1)],1):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("figure",{staticClass:"login-bg"},[e("img",{attrs:{src:"static/assets/login_bg.jpg"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"head"},[e("section",{staticClass:"details"},[e("figure",{staticClass:"logo scatter-logologo"}),this._v(" "),e("figure",{staticClass:"version"},[this._v("nebula")])])])}],!1,null,"7050f1f8",null).exports),st={props:["tabs","state"]},ot=(a("dVin"),Object(T.a)(st,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"panel-tabs"},t._l(t.tabs,(function(e){return a("figure",{staticClass:"tab-name",class:{active:e.state===t.state},on:{click:function(a){return t.$emit("selected",e.state)}}},[t._v(t._s(e.name))])})),0)}),[],!1,null,"f9b84e78",null).exports),rt=a("UYLU"),ct=a.n(rt);let lt;var dt={props:["slides","noInfo"],data:()=>({left:0,slideWidth:0}),mounted(){this.$nextTick(()=>{this.setInterval(),this.calcBaseWidth(),window.addEventListener("resize",this.calcBaseWidth)})},destroyed(){clearInterval(lt),window.removeEventListener("resize",this.calcBaseWidth)},computed:{...Object(y.d)(["sidebarLocked"]),maxLeft(){return-(this.slides.length-1)*this.slideWidth},slideIndex(){return Math.abs(this.left)/this.slideWidth}},methods:{calcBaseWidth(){this.$nextTick(()=>{this.$refs.base&&(this.slideWidth=this.$refs.base.clientWidth,this.left=0)})},slide(t){t>0?this.left+=this.slideWidth:this.left-=this.slideWidth,this.left0&&(this.left=this.maxLeft),this.setInterval()},setInterval(){clearInterval(lt),lt=setInterval(()=>{this.slide(-1)},1e4)},goToApp(t){this.$router.push({name:this.RouteNames.APP,params:{applink:t.applink}})}},watch:{window(){this.calcBaseWidth()},sidebarLocked(){setTimeout(()=>{this.calcBaseWidth()},200)}}},pt=(a("VG6g"),Object(T.a)(dt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{ref:"base",staticClass:"carousel"},[t.slides.length>1?a("section",{staticClass:"go-right icon-right-open-big",on:{click:function(e){return t.slide(-1)}}}):t._e(),t._v(" "),t.slides.length>1?a("section",{staticClass:"go-left icon-left-open-big",on:{click:function(e){return t.slide(1)}}}):t._e(),t._v(" "),t.slides.length?a("section",{staticClass:"slider-container"},[a("section",{staticClass:"slider",style:{left:t.left+"px"}},t._l(t.slides,(function(e,i){return a("section",{staticClass:"slide",style:{left:i*t.slideWidth+"px",width:t.slideWidth+"px"}},[a("section",{staticClass:"image-container",class:{"full-height":t.noInfo}},[a("figure",{staticClass:"bg",style:"background-image:url("+e.img+");"}),t._v(" "),a("figure",{staticClass:"image",style:"background-image:url("+e.img+");"})]),t._v(" "),t.noInfo?t._e():a("section",{staticClass:"info"},[a("section",[a("figure",{staticClass:"name"},[t._v(t._s(e.name))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(e.description))])]),t._v(" "),a("section",[a("Button",{attrs:{text:"View App",blue:1},nativeOn:{click:function(a){return t.goToApp(e)}}})],1)])])})),0)]):a("section",{staticClass:"slider-container"},[a("section",{staticClass:"slider dummy"},[a("section",{staticClass:"slide",style:{left:0,width:t.slideWidth+"px"}},[t._m(0),t._v(" "),a("section",{staticClass:"info"},[t._m(1),t._v(" "),a("section",[a("Button",{attrs:{blue:1}})],1)])])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"image-container"},[e("figure",{staticClass:"bg"}),this._v(" "),e("figure",{staticClass:"image"},[e("i",{staticClass:"icon-spin4 animate-spin"})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("section",[e("figure",{staticClass:"name animated-gradient"}),this._v(" "),e("figure",{staticClass:"description animated-gradient"})])}],!1,null,"4398fff8",null).exports),ut=a("eOAV"),ht=a.n(ut);const ft={EXPLORE:"explore",MINE:"mine"};var mt={components:{Carousel:pt,PanelTabs:ot},data:()=>({state:ft.EXPLORE,STATES:ft,selectedCategory:null,terms:"",exploreTerms:"",typeFilter:null}),computed:{...Object(y.d)(["scatter","dappLogos","dappData","featuredApps"]),...Object(y.c)(["permissions","apps","accounts"]),tabs(){let t=[{name:this.$t("apps.explore"),state:ft.EXPLORE}];return this.selectedCategory&&t.splice(1,0,{name:this.selectedCategory,state:this.selectedCategory}),this.permissions.filter(t=>t.isIdentity).length&&t.push({name:this.$t("apps.myApps"),state:ft.MINE}),t},categories(){return h.a.appsByCategory(this.selectedCategory)},filteredApps(){return h.a.appsByTerm(this.exploreTerms)},filters(){return[{selected:this.typeFilter,options:[null].concat(h.a.categories(this.selectedCategory)),parser:t=>null===t?this.$t("apps.allCategories"):t,onSelect:t=>this.typeFilter=t}]},linkedApps(){return h.a.linkedApps(this.terms,this.typeFilter)}},mounted(){this.init()},methods:{async init(){if(this.featuredApps&&this.featuredApps.length||this[O.k](await h.a.getFeaturedApps()),!this.accounts.length)return this.$router.push({name:this.RouteNames.WALLET});this.$route.query.hasOwnProperty("state")&&(this.state=this.$route.query.state,this.state!==ft.MINE||this.linkedApps.length||(this.state=ft.EXPLORE)),this.$route.query.hasOwnProperty("category")&&(this.selectedCategory=this.$route.query.category)},goToApp(t){this.$router.push({name:this.RouteNames.APP,params:{applink:t.applink}})},getAppData:h.a.getAppData,setState(t){t!==this.selectedCategory&&(this.$router.push({query:{state:t}}),this.state=t,this.selectedCategory=null,this.scrollToTop())},selectCategory(t){this.$router.push({query:{category:t.type}}),this.selectedCategory=t.type,this.scrollToTop()},scrollToTop(){this.$nextTick(()=>{this.$refs.scroller&&(this.$refs.scroller.scrollTop=0)})},async removeApp(t){await ht.a.removeAllPermissionsFor(t.applink),this.permissions.filter(t=>t.isIdentity).length||(this.state=ft.EXPLORE)},...Object(y.b)([O.k])},created(){}},bt=(a("PGoP"),Object(T.a)(mt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"apps"},[a("PanelTabs",{attrs:{tabs:t.tabs,state:this.selectedCategory?this.selectedCategory:t.state},on:{selected:t.setState}}),t._v(" "),t.state===t.STATES.EXPLORE?a("section",{staticClass:"search-icon",class:{visible:t.exploreTerms.length}},[a("i",{staticClass:"icon-search"}),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.exploreTerms,expression:"exploreTerms"}],domProps:{value:t.exploreTerms},on:{input:function(e){e.target.composing||(t.exploreTerms=e.target.value)}}})]):t._e(),t._v(" "),t.state===t.STATES.EXPLORE?a("section",{ref:"scroller",staticClass:"scroller"},[a("section",{staticClass:"padder"},[t.exploreTerms.length||t.selectedCategory||!t.featuredApps.length?t._e():a("section",{staticClass:"featured"},t._l(t.featuredApps,(function(e){return a("section",{staticClass:"featured-app",on:{click:function(a){return t.openInBrowser(e.url)}}},[a("img",{staticClass:"featured-background",attrs:{src:e.img}}),t._v(" "),a("figure",{staticClass:"tag"},[t._v(t._s(t.$t("generic.promoted")))])])})),0),t._v(" "),t.categories.length?a("section",[t.exploreTerms.length?a("section",{staticClass:"categories"},[a("section",{staticClass:"category singular"},[a("section",{staticClass:"info"},[a("figure",{staticClass:"name"},[t._v(t._s(t.terms))])]),t._v(" "),a("section",{staticClass:"apps"},t._l(t.filteredApps,(function(e){return a("router-link",{key:e.applink,staticClass:"app",attrs:{to:{name:t.RouteNames.APP,params:{applink:e.applink}}}},[a("figure",{staticClass:"image",class:{"no-image":!t.getAppData(e.applink).hasOwnProperty("img")}},[t.getAppData(e.applink).hasOwnProperty("img")?a("img",{attrs:{src:t.getAppData(e.applink).img}}):t._e()]),t._v(" "),a("figure",{staticClass:"name"},[t._v(t._s(e.name))])])})),1)])]):t._e(),t._v(" "),t.exploreTerms.length?t._e():a("section",{staticClass:"categories"},t._l(t.categories,(function(e){return t.selectedCategory&&t.selectedCategory!==e.type?t._e():a("section",{staticClass:"category",class:{singular:t.selectedCategory}},[t.selectedCategory?t._e():a("section",{staticClass:"info"},[a("figure",{staticClass:"name"},[t._v(t._s(e.type))]),t._v(" "),e.apps.length>4?a("figure",{staticClass:"view-all",on:{click:function(a){return t.selectCategory(e)}}},[t._v("View all "+t._s(e.apps.length)+" apps "),a("i",{staticClass:"icon-right-open-big"})]):t._e()]),t._v(" "),a("section",{staticClass:"apps"},t._l(t.selectedCategory?e.apps:e.apps.slice(0,10),(function(e){return a("router-link",{key:e.applink,staticClass:"app",attrs:{to:{name:t.RouteNames.APP,params:{applink:e.applink}}}},[a("figure",{staticClass:"image",class:{"no-image":!t.getAppData(e.applink).hasOwnProperty("img")}},[t.getAppData(e.applink).hasOwnProperty("img")?a("img",{attrs:{src:t.getAppData(e.applink).img}}):t._e()]),t._v(" "),a("figure",{staticClass:"name"},[t._v(t._s(e.name))])])})),1)])})),0)]):a("section",[a("section",{staticClass:"categories"},[a("section",{staticClass:"category"},[a("section",{staticClass:"apps"},t._l(new Array(5).keys(),(function(e){return a("figure",{staticClass:"app"},[a("figure",{staticClass:"image no-image animated-gradient"}),t._v(" "),a("figure",{staticClass:"name"})])})),0)])])])])]):t._e(),t._v(" "),t.state===t.STATES.MINE?a("section",[a("SearchAndFilter",{attrs:{filters:t.filters},on:{terms:function(e){return t.terms=e}}}),t._v(" "),a("section",{staticClass:"scroller with-search"},[a("section",{staticClass:"linked-apps"},t._l(t.linkedApps,(function(e){return a("section",{staticClass:"app"},[a("figure",{staticClass:"image",on:{click:function(a){return t.goToApp(e)}}},[t.getAppData(e.applink).hasOwnProperty("img")?a("img",{attrs:{src:t.getAppData(e.applink).img}}):a("figure",{staticClass:"dummy-image"})]),t._v(" "),a("section",{staticClass:"info",on:{click:function(a){return t.goToApp(e)}}},[a("figure",{staticClass:"name"},[t._v(t._s(e.name))]),t._v(" "),a("figure",{staticClass:"category"},[t._v(t._s(e.type))])]),t._v(" "),a("section",{staticClass:"actions"},[a("Button",{attrs:{text:t.$t("generic.remove")},nativeOn:{click:function(a){return t.removeApp(e)}}}),t._v(" "),a("Button",{attrs:{text:t.$t("generic.manage")},nativeOn:{click:function(a){return t.goToApp(e)}}}),t._v(" "),t.canOpenApp(e.applink)?a("Button",{attrs:{text:t.$t("generic.open"),blue:"1"},nativeOn:{click:function(a){return t.openApp(e.applink)}}}):t._e()],1)])})),0)])],1):t._e()],1)}),[],!1,null,"5fdc7066",null).exports),gt={components:{Carousel:pt,PanelTabs:ot},data:()=>({state:null,selected:null}),computed:{...Object(y.d)(["scatter","dappLogos","dappData"]),...Object(y.c)(["permissions"]),applink(){return this.$route.params.applink},tabs(){return[{name:this.getAppData(this.applink).name,state:this.applink},this.perms.length?{name:"Permissions",state:"permissions"}:null].filter(t=>!!t)},perms(){return this.permissions.filter(t=>t.origin===this.applink)},identityPermission(){return this.perms.find(t=>t.isIdentity)},contractPermissions(){return this.perms.filter(t=>t.isContractAction)},identityRequirementPermissions(){return this.perms.filter(t=>t.isIdentityRequirements)},isIdentity(){return this.selected.isIdentity},isAction(){return this.selected.isContractAction},permissionsList(){return(this.identityPermission?[this.identityPermission]:[]).concat(this.contractPermissions).map(t=>({id:t?t.id:null,title:this.permissionTitle(t),description:this.permissionDescription(t),icon:this.permissionIcon(t)}))}},mounted(){this.state=this.applink,this.selected=this.identityPermission},methods:{getAppData:h.a.getAppData,tabSelected(t){this.state=t},selectPermission(t){this.selected=this.permissions.find(e=>e.id===t.id)},permissionTitle(t){if(t)return t.isIdentity?this.$t("app.loginPermission"):`${t.action}`},permissionDescription(t){if(t)return t.isContractAction?t.contract:""},permissionIcon(t){if(t)return t.isIdentity?"icon-user":"icon-flow-tree"},async removeSelected(){return 1===this.perms.length?this.removeAll():(await ht.a.removePermission(this.selected),this.perms.length?void(this.selected=this.perms[0]):this.$router.back())},async removeAll(){await ht.a.removeAllPermissionsFor(this.applink),this.$router.back()}}},vt=(a("L/Cn"),Object(T.a)(gt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"app"},[a("PanelTabs",{attrs:{tabs:t.tabs,state:t.state},on:{selected:t.tabSelected}}),t._v(" "),t.state===t.applink?a("section",{staticClass:"scroller"},[a("section",{staticClass:"padder"},[t.getAppData(t.applink).hasOwnProperty("img")?a("section",{staticClass:"featured"},[a("Carousel",{attrs:{"no-info":!0,slides:[t.getAppData(t.applink)]}})],1):t._e(),t._v(" "),a("section",{staticClass:"info"},[a("section",{staticClass:"actions"},[t.canOpenApp(t.applink)?a("section",[a("Button",{attrs:{text:t.$t("generic.open"),blue:!0},nativeOn:{click:function(e){return t.openApp(t.applink)}}})],1):t._e(),t._v(" "),t.permissionsList.length?a("section",[a("Button",{attrs:{text:t.$t("generic.remove")},nativeOn:{click:function(e){return t.removeAll(e)}}})],1):t._e()]),t._v(" "),t.getAppData(t.applink).type?a("section",[a("figure",{staticClass:"category"},[t._v(t._s(t.getAppData(t.applink).type))]),t._v(" "),a("p",[t._v(t._s(t.getAppData(t.applink).description))])]):t._e()])])]):t._e(),t._v(" "),"permissions"===t.state?a("section",{staticClass:"permissions scroller"},[a("section",{staticClass:"perms-list"},t._l(t.permissionsList,(function(e){return a("section",{staticClass:"badge-item hoverable",class:{active:t.selected.id===e.id},on:{click:function(a){return t.selectPermission(e)}}},[a("section",{staticClass:"details"},[a("figure",{staticClass:"title"},[t._v(t._s(e.title))]),t._v(" "),a("figure",{staticClass:"row",staticStyle:{"margin-top":"0"}},[a("figure",{staticClass:"secondary"},[t._v(t._s(e.description))])])])])})),0),t._v(" "),a("section",{staticClass:"selected-permission"},[t.isIdentity&&t.selected.accounts.length?a("section",{staticClass:"key-val"},[a("figure",[t._v(t._s(t.$t("app.accountsProvided")))]),t._v(" "),a("figure",[t._v(t._s(t.selected.getAccounts().map((function(t){return t.formatted()})).join(", ")))]),t._v(" "),a("br"),t._v(" "),a("figure",[t._v(t._s(t.selected.asIdentityRequirements().personal.concat(t.selected.asIdentityRequirements().location).join(", ")))])]):t._e(),t._v(" "),t.selected.isIdentityRequirements?a("section",{staticClass:"key-val"},[a("figure",[t._v(t._s(t.$t("app.requiredFields")))]),t._v(" "),a("figure",[t._v(t._s(t.selected.identityRequirements.join(", ")))])]):t._e(),t._v(" "),t.isAction?a("section",{staticClass:"key-val"},[a("figure",[t._v(t._s(t.$t("app.mutableFields")))]),t._v(" "),a("figure",[t._v(t._s(t.selected.mutableActionFields.join(", ")))])]):t._e(),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("section",{staticClass:"action-box"},[a("section",{staticClass:"key-val"},[a("figure",[t._v(t._s(t.$t("app.removePermission")))]),t._v(" "),t.isIdentity?a("p",[t._v(t._s(t.$t("app.removeIdentity")))]):t._e(),t._v(" "),t.isAction?a("p",[t._v(t._s(t.$t("app.removeWhitelist")))]):t._e(),t._v(" "),a("br"),t._v(" "),a("Button",{attrs:{text:t.$t("generic.remove"),red:"1"},nativeOn:{click:function(e){return t.removeSelected(e)}}})],1)])])]):t._e()],1)}),[],!1,null,"37f189f2",null).exports),xt=a("IMve"),yt=a.n(xt),kt=a("F+MN"),wt=a("pk5N"),_t=a.n(wt),Ct=a("upjY");class Tt{static change(t,e=!1){const a=_t.a.get().state.priceData,i={plus:!1,perc:"0%"};if(!a||!a.hasOwnProperty("today"))return i;if(t.unusable)return i;a.today.latest;const n=Tt.getTokensTotaled(),s=n[n.length-1]?n[n.length-1].data:null,o=n[0]?n[0].data:null;if(!(s&&o&&s[t.uniqueWithChain()]&&o[t.uniqueWithChain()]))return"--";const r=(o[t.uniqueWithChain()]-s[t.uniqueWithChain()])/o[t.uniqueWithChain()]*100;return e?Math.abs(parseFloat(r).toFixed(2)):{plus:r<=0,perc:`${r>0?"-":"+"}${Math.abs(parseFloat(r).toFixed(2))}%`}}static getTokensTotaled(){const t=_t.a.get().state.priceData;if(!t||!t.hasOwnProperty("yesterday"))return[];let e=[];return Object.keys(t.yesterday).filter(t=>"latest"!==t).sort((t,e)=>t-e).map(a=>e.push({hour:a,data:t.yesterday[a],date:Object(Ct.dateId)(1)})),Object.keys(t.today).filter(t=>"latest"!==t).sort((t,e)=>t-e).map(a=>e.push({hour:a,data:t.today[a],date:Object(Ct.dateId)()})),e=e.slice(e.length-(e.length>24?24:e.length),e.length)}static publicKeyForKeypair(t){return t&&t.hasOwnProperty("publicKeys")?t.enabledKey().key:null}}var St={data:()=>({proxying:!1,votableChains:["aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906","4667b205c6838ef70ff7988f6e8257e8be0e1284a2f59699054a018f743b1d11"]}),computed:{...Object(y.d)(["scatter"]),...Object(y.c)(["keypairs","accounts","networks","totalBalances"]),tokens(){},votableChains:()=>[],votableNetworks(){return this.votableChains.map(t=>this.scatter.settings.networks.find(e=>e.blockchain===kt.Blockchains.EOSIO&&e.chainId===t)).filter(t=>!!t)},canVote(){return!!this.votableNetworks.length}},mounted(){},methods:{change:Tt.change,exchange(t){const e=t.accounts().filter(e=>(t=>t?t.amount:0)(e.balanceFor(t))>0).sort((e,a)=>{return(t=>t?t.amount:0)(a.balanceFor(t))-(t=>t?t.amount:0)(e.balanceFor(t))});if(!e.length)return;const a=e[0];a&&this.$router.push({name:this.RouteNames.EXCHANGE,query:{account:a.identifiable(),token:t.uniqueWithChain()}})},async voteForScatter(){if(this.proxying)return;this.proxying=!0;const t=()=>{this.proxying=!1},e=yt.a.plugin(kt.Blockchains.EOSIO);if(!e)return t();let a=[];for(let n=0;nt.systemBalance()>=5);if(s.length){const n=e.getSignableEosjs(s,()=>{t()}),o=s.map(t=>({account:"eosio",name:"voteproducer",authorization:[{actor:t.sendable(),permission:t.authority}],data:{voter:t.name,proxy:"scatterproxy",producers:[]}}));await n.transact({actions:o},{blocksBehind:3,expireSeconds:30}).then(t=>(a.push(t),!0)).catch(t=>(b.a.push(i.a.snackbar(t)),null))}a.length&&b.a.push(i.a.snackbar(this.$t("dashboard.vote.voted",{total:a.length}))),t()}}},created(){}},Et=(a("4clf"),Object(T.a)(St,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"dashboard",class:{"full-mobile":!t.tokens&&!t.canVote}},[a("section",{attrs:{id:"asset-updates"}},[a("section",{staticClass:"attraction",class:{"full-mobile":!t.tokens&&!t.canVote}},[a("div",{staticClass:"promoted-pill"},[t._v(t._s(t.$t("generic.promoted")))]),t._v(" "),a("section",{staticClass:"premium-attraction",class:{"no-tokens":!t.tokens}},[a("img",{staticClass:"logo",attrs:{src:"https://cryptolegends.io/assets/use-images/logo_crypto.png"}}),t._v(" "),a("img",{staticClass:"promo",attrs:{src:"https://cryptolegends.io/assets/use-images/bg_special.png"}}),t._v(" "),a("video",{staticClass:"promo",attrs:{"data-v-1b6b9b64":"","data-v-3b6b0f2a":"",loop:"loop",muted:"muted",autoplay:"autoplay"},domProps:{muted:!0}},[a("source",{attrs:{"data-v-1b6b9b64":"","data-v-3b6b0f2a":"",src:"https://cryptolegends.io/assets/video/crypto-03.mp4",type:"video/mp4"}})]),t._v(" "),a("div",{staticClass:"description"},[t._m(0),t._v(" "),a("Button",{attrs:{blue:"1",text:"Open Crypto Legends"},nativeOn:{click:function(e){return t.openInBrowser("https://cryptolegends.io/home?ref=scatterrefer")}}})],1)])])]),t._v(" "),t.canVote?a("section",{staticClass:"focus-boxes"},[a("a",{ref:"https://get-scatter.com/vote",staticStyle:{"background-image":"url(static/assets/voting.png)"},attrs:{id:"proxy",target:"_blank"}},[a("span",{staticClass:"earn-rewards"},[t._v(t._s(t.$t("dashboard.vote.title")))]),t._v(" "),a("h3",[t._v(t._s(t.$t("dashboard.vote.subTitle")))]),t._v(" "),a("h5",[t._v(t._s(t.$t("dashboard.vote.description")))]),t._v(" "),a("Button",{attrs:{text:t.$t("dashboard.vote.button"),loading:t.proxying},nativeOn:{click:function(e){return t.voteForScatter(e)}}})],1)]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"premium-content"},[e("span",{staticClass:"premium-name"},[this._v("Crypto Legends")]),this._v(" "),e("span",{staticClass:"premium-description"},[this._v("\n Get ready for the battle of your lifetime."),e("br"),this._v("\n Win with strategy by changing your decks according to your opponent and fight to become globally adorned a Crypto Legend.\n ")])])}],!1,null,"7e9b38f8",null).exports),At={props:["filters","fullSearch","blue"],data:()=>({terms:""}),computed:{},watch:{terms(){this.$emit("terms",this.terms.trim().toLowerCase())}}},Ot=(a("rRTS"),Object(T.a)(At,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"search-and-filter",class:{full:t.fullSearch,blue:t.blue}},[a("figure",{staticClass:"search-bar"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.terms,expression:"terms"}],attrs:{placeholder:t.$t("generic.search")},domProps:{value:t.terms},on:{input:function(e){e.target.composing||(t.terms=e.target.value)}}})]),t._v(" "),t.fullSearch?t._e():a("section",{staticClass:"filters"},t._l(t.filters,(function(e,i){return a("Select",t._b({key:JSON.stringify(e.selected)+i,staticClass:"filter",attrs:{truncate:"1"},on:{selected:function(t){return e.onSelect(t)}}},"Select",e,!1))})),1)])}),[],!1,null,"1bc83710",null).exports),Pt=a("GwxU"),It=a.n(Pt),Nt=a("zugy"),Rt=a.n(Nt),Lt={props:["token"],computed:{tokenLogo(){if(this.tokenMetas)return this.tokenMetas[this.token.uniqueWithChain()]},colorHex(){return this.token?!this.token.symbolClass()&&this.tokenLogo?null:"#"+Rt.a.unsaltedQuickHash(this.token.unique()).slice(0,6):null},...Object(y.d)(["tokenMetas"])},methods:{}},Bt=(a("+eKM"),Object(T.a)(Lt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("figure",{staticClass:"token-symbol",style:{"background-color":t.colorHex,color:t.colorHex?"white":"inherit"}},[t.token.symbolClass()?a("figure",{staticClass:"symbol-holder as-class",class:t.token.symbolClass()}):t.tokenLogo?a("img",{staticClass:"symbol-holder as-image",attrs:{src:t.tokenLogo}}):a("figure",{staticClass:"symbol-holder as-text"},[t._v(t._s(t.token.symbol[0]))])])}),[],!1,null,"bec13200",null).exports);let Dt;var Kt={components:{TokenSymbol:Bt,SearchAndFilter:Ot},props:["balances","hoverable","selected","noSearch","blue"],data:()=>({terms:"",page:1,pageLength:20}),mounted(){(Dt=document.getElementById("assets")).addEventListener("scroll",this.handleScroll)},destroyed(){Dt.removeEventListener("scroll",this.handleScroll)},computed:{...Object(y.d)([]),...Object(y.c)(["balanceFilters","displayCurrency"]),sortedBalances(){return this.balances.filter(t=>!this.terms.length||("-"===this.terms?this.change(t)&&!this.change(t).plus&&t.fiatBalance(!1):"+"===this.terms?this.change(t)&&this.change(t).plus&&t.fiatBalance(!1):this.terms.indexOf("::")>-1?`${t.contract.toLowerCase()}::${t.symbol.toLowerCase()}`===this.terms:isNaN(this.terms)?t.symbol.toLowerCase().indexOf(this.terms)>-1||t.contract.toLowerCase().indexOf(this.terms)>-1:t.amount>=parseFloat(this.terms))).sort((t,e)=>"+"===this.terms||"-"===this.terms?this.change(e,!0)-this.change(t,!0):It.a.sorter(t,e))}},methods:{handleScroll(t){document.getElementById("scroll_handle").getBoundingClientRect().top-window.innerHeight<0&&this.page*this.pageLengtht?"#"+Rt.a.unsaltedQuickHash(t.unique()).slice(0,6):null,selectToken(t){this.hoverable&&this.$emit("token",t)}},watch:{terms(){this.$emit("balances",this.sortedBalances),this.page=1}}},jt=(a("V2ue"),Object(T.a)(Kt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{ref:"tokenlist",staticClass:"token-list",class:{blue:t.blue}},[a("SearchAndFilter",{attrs:{"full-search":"1"},on:{terms:function(e){return t.terms=e}}}),t._v(" "),a("section",{ref:"tokens",staticClass:"tokens"},t._l(t.sortedBalances.slice(0,t.page*t.pageLength),(function(e){return a("section",{staticClass:"single-asset",class:{hoverable:t.hoverable,active:t.selected&&t.selected.uniqueWithChain()===e.uniqueWithChain()},attrs:{id:e.uniqueWithChain()},on:{click:function(a){return t.selectToken(e)}}},[a("section",{staticClass:"asset-movement"},[!e.unusable&&t.change(e).perc?a("section",{staticClass:"token-change"},[e.unusable?t._e():a("figure",{staticClass:"change-value",class:{red:!t.change(e).plus}},[t._v(t._s(t.change(e).perc))])]):t._e(),t._v(" "),e.unusable?a("section",{staticClass:"staked"},[a("figure",{staticClass:"locked icon-lock"},[t._v(t._s(e.unusable))])]):t._e()]),t._v(" "),a("section",{staticClass:"asset-details"},[a("section",{staticClass:"column token-icon"},[a("TokenSymbol",{attrs:{token:e}})],1),t._v(" "),a("section",{staticClass:"column token-value"},[a("figure",{staticClass:"title"},[t._v(t._s(e.symbol))]),t._v(" "),e.fiatPrice()&&parseFloat(e.fiatPrice())?a("figure",{staticClass:"secondary"},[t._v(t._s(t.fiatSymbol(t.displayCurrency))+t._s(t.formatNumber(e.fiatPrice(),!0)))]):t._e()]),t._v(" "),e.amount?a("section",{staticClass:"column token-conversion"},[a("figure",{staticClass:"value"},[t._v(t._s(t.formatNumber(e.amount,!0)))]),t._v(" "),e.fiatBalance()&&parseFloat(e.fiatBalance())?a("figure",{staticClass:"fiat"},[t._v(t._s(t.fiatSymbol(t.displayCurrency))+t._s(t.formatNumber(e.fiatBalance(!1),!0))+" ")]):t._e()]):t._e()])])})),0),t._v(" "),a("div",{attrs:{id:"scroll_handle"}})],1)}),[],!1,null,"efcbba00",null).exports),Ft=a("uki+"),Mt=a.n(Ft),qt=a("TmN8"),zt=a.n(qt);a("FxcG");var Ut={props:["balances"],data:()=>({chart:null,graphValue:null,hasValues:!1,loading:!1}),computed:{...Object(y.d)(["prices","priceData"]),...Object(y.c)(["displayCurrency"])},mounted(){this.init()},methods:{async init(){this.priceData&&this.priceData.hasOwnProperty("prices")?await this.setupGraph():this.loading=!0,await zt.a.loadPriceTimelineData(),this.loading=!1,this.setupGraph()},async setupGraph(){this.hasValues=!0;try{const t=[];let e=Tt.getTokensTotaled();const a=(()=>{if(2!==this.balances.length)return!1;const t=this.balances[0].uniqueWithChain();return this.balances.every(e=>e.uniqueWithChain(!1)===t)})();e.map(({hour:e,data:i,date:n},s)=>{let o;if([n,e]=Object(Ct.utcToLocal)(n,e),1===this.balances.length||a){let t=this.balances[0].uniqueWithChain(!1);if(!this.prices[t])return;o=i[t]/this.prices[t].USD*this.prices[t][this.displayCurrency]}else o=this.balances.reduce((t,e)=>{const a=i[e.uniqueWithChain()];if(!a)return t;const n=parseFloat(e.fiatBalance(!1,a*this.priceData.prices[this.displayCurrency]));return isNaN(n)?t:t+=n},0);t.push({value:o,meta:`${n} ${`${e}:00`}`})});const i={showArea:!0,showPoint:!0,lineSmooth:!0,chartPadding:{top:50,right:-20,bottom:-20,left:0},fullWidth:!0,axisX:{showGrid:!0,showLabel:!0},axisY:{showGrid:!0,scaleMinSpace:0,showLabel:!1,offset:0,position:"start",labelInterpolationFnc:t=>this.formatNumber(t,t<1e5)}};this.$nextTick(()=>{this.chart?this.chart.update({series:[t]}):(this.chart=new Mt.a.Line(".chart",{series:[t]},i),this.chart.on("draw",t=>{const e=(e=!0)=>{let a=parseFloat(t.value.y);1!==this.balances.length&&(a=a.toFixed(2)),this.graphValue=e?`${t.meta} -- ${this.formatNumber(a,!0)}`:null};"point"===t.type&&(t.element._node.addEventListener("mouseenter",t=>e()),t.element._node.addEventListener("mouseleave",t=>e(!1)))}),this.chart.on("created",t=>{t.svg.elem("defs").elem("linearGradient",{id:"gradient",x1:0,y1:1,x2:0,y2:0}).elem("stop",{offset:0,"stop-color":"rgba(7,153,255, 0)"}).parent().elem("stop",{offset:.5,"stop-color":"rgba(7,153,255, 1)"})})),this.hasValues=!!t.length})}catch(t){console.error("err",t)}}},watch:{balances(){this.setupGraph()}}},Ht=(a("ioPV"),Object(T.a)(Ut,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"token-graph"},[t.graphValue?a("section",{staticClass:"tip"},[a("div",[t._v(t._s(t.graphValue))])]):t._e(),t._v(" "),a("section",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}],staticClass:"no-graph"},[a("i",{staticClass:"icon-spin4 animate-spin"})]),t._v(" "),a("section",{directives:[{name:"show",rawName:"v-show",value:!t.loading,expression:"!loading"}]},[a("section",{directives:[{name:"show",rawName:"v-show",value:t.hasValues,expression:"hasValues"}],staticClass:"chart"}),t._v(" "),t.hasValues?t._e():a("section",{staticClass:"no-graph"},[t._v("No Price Data")])])])}),[],!1,null,"034f2156",null).exports),Yt={props:["asSelector","hideUnusable"],components:{SearchAndFilter:Ot,TokenGraph:Ht,TokenList:jt},data:()=>({filteredBalances:[],selectedToken:null,terms:""}),computed:{...Object(y.d)(["balances"]),...Object(y.c)(["totalBalances","balanceFilters","displayCurrency"]),allBalances(){return Object.keys(this.totalBalances.totals).map(t=>this.totalBalances.totals[t]).filter(t=>!this.hideUnusable||!t.unusable).filter(t=>!this.balanceFilters.hasOwnProperty(t.blockchain)||this.balanceFilters[t.blockchain]&&parseFloat(this.balanceFilters[t.blockchain])!this.terms.length||t.sendable().toLowerCase().indexOf(this.terms)>-1).sort((t,e)=>{return(e.balanceFor(this.selectedToken)?e.balanceFor(this.selectedToken).amount:0)-(t.balanceFor(this.selectedToken)?t.balanceFor(this.selectedToken).amount:0)})},needsAccountSearchBar(){return this.selectedToken&&this.selectedToken.accounts().length>=5}},mounted(){},methods:{selectToken(t){this.selectedToken=this.selectedToken&&this.selectedToken.uniqueWithChain()===t.uniqueWithChain()?null:t},sendToken(t,e){this.$router.push({name:this.RouteNames.TRANSFER,query:{account:e.identifiable(),token:t.uniqueWithChain()}})}},watch:{filteredBalances(){1===this.filteredBalances.length&&(this.selectedToken=this.filteredBalances[0])}}},Wt=(a("cDN5"),Object(T.a)(Yt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"assets",attrs:{id:"assets"}},[a("TokenList",{attrs:{hoverable:"1",balances:t.allBalances,selected:t.selectedToken},on:{balances:function(e){return t.filteredBalances=e},token:t.selectToken}}),t._v(" "),a("section",{staticClass:"graph-and-accounts",class:{open:t.selectedToken}},[a("section",{staticClass:"graph-and-accounts-header"},[t.selectedToken?a("span",{staticClass:"graph-and-accounts-content"},[a("span",{staticClass:"graph-and-accounts-name"},[t._v(t._s(t.selectedToken.name))]),t._v(" "),a("span",{staticClass:"graph-and-accounts-balance"},[t._v(t._s(t.selectedToken.amount))])]):t._e(),t._v(" "),a("i",{staticClass:"fal fa-times graph-and-accounts-close",on:{click:function(e){return t.selectToken(t.selectedToken)}}})]),t._v(" "),a("TokenGraph",{attrs:{balances:t.selectedToken?[t.selectedToken]:t.filteredBalances.length?t.filteredBalances:t.allBalances}}),t._v(" "),t.needsAccountSearchBar?a("SearchAndFilter",{attrs:{"full-search":"1"},on:{terms:function(e){return t.terms=e}}}):t._e(),t._v(" "),t.selectedToken?a("section",{staticClass:"accounts",class:{"with-search":t.needsAccountSearchBar}},t._l(t.filteredAccounts,(function(e){return a("section",{staticClass:"account"},[a("figure",{staticClass:"name"},[t._v(t._s(e.sendable()))]),t._v(" "),a("figure",{staticClass:"network"},[t._v(t._s(e.network().name))]),t._v(" "),a("section",{staticClass:"details"},[e.balanceFor(t.selectedToken)?a("section",[a("figure",{staticClass:"balance"},[t._v(t._s(t.formatNumber(e.balanceFor(t.selectedToken).amount,!0))+" "+t._s(t.selectedToken.symbol))]),t._v(" "),a("figure",{staticClass:"fiat"},[t._v(t._s(t.fiatSymbol(t.displayCurrency))+t._s(t.formatNumber(e.balanceFor(t.selectedToken).fiatBalance(),!0)))])]):a("section",[a("figure",{staticClass:"balance"},[t._v(t._s(t.formatNumber(parseFloat(0).toFixed(t.selectedToken.decimals),!0))+" "+t._s(t.selectedToken.symbol))]),t._v(" "),a("figure",{staticClass:"fiat"},[t._v("0.0000 "+t._s(t.displayCurrency))])]),t._v(" "),t.asSelector||t.selectedToken.unusable?t._e():a("section",{staticClass:"actions"},[a("Button",{attrs:{text:t.$t("generic.send"),big:"1"},nativeOn:{click:function(a){return t.sendToken(t.selectedToken,e)}}})],1),t._v(" "),t.asSelector?a("section",{staticClass:"actions"},[a("Button",{attrs:{text:t.$t("generic.select"),big:"1"},nativeOn:{click:function(a){return t.$emit("selected",{token:t.selectedToken,account:e})}}})],1):t._e()])])})),0):a("section",{staticClass:"no-accounts"},[t.selectedToken?t._e():a("span",[t._v(t._s(t.$t("generic.selectToken")))]),t._v(" "),t.selectedToken?a("span",[t._v(t._s(t.$t("assets.noAccounts")))]):t._e()])],1)],1)}),[],!1,null,"1a7dccae",null).exports),Gt={components:{Assets:Wt}},Vt=(a("dCyb"),Object(T.a)(Gt,(function(){var t=this.$createElement,e=this._self._c||t;return e("section",[e("Assets")],1)}),[],!1,null,"ee110340",null).exports),Zt=a("5lq1"),Jt=a.n(Zt),Xt=a("KLk5"),Qt=a.n(Xt),te={components:{SearchAndFilter:Ot},props:["asSelector","accounts","keypairsOnly","noBalances","startingChain"],data:()=>({blockchainFilter:null,terms:"",actionsMenu:null,refreshingAccounts:null,holdingCtrl:!1,Blockchains:kt.Blockchains}),computed:{...Object(y.c)(["keypairs","displayCurrency","networks"]),blockchains(){return this.accounts?this.accounts.reduce((t,e)=>(t.includes(e.blockchain)||t.push(e.blockchain),t),[]):kt.BlockchainsArray.map(t=>t.value)},filters(){return this.blockchains.length<=1?[]:[{selected:this.blockchainFilter,options:[null].concat(kt.BlockchainsArray.map(t=>t.value)),parser:t=>null===t?this.$t("popins.overlay.allBlockchains"):Object(kt.blockchainName)(t),onSelect:t=>this.blockchainFilter=t}]},filteredKeypairs(){return(()=>{if(!this.accounts)return this.keypairs;const t=this.accounts.map(t=>t.unique());return this.keypairs.filter(e=>e.accounts(!0).find(e=>t.includes(e.unique())))})().filter(t=>!this.blockchainFilter||t.enabledKey().blockchain===this.blockchainFilter).filter(t=>t.accounts().find(t=>t.sendable().toLowerCase().indexOf(this.terms)>-1)||t.enabledKey().key.toLowerCase().indexOf(this.terms)>-1).filter(t=>!this.asSelector||!!t.accounts().length).sort((t,e)=>e.accounts().length-t.accounts().length)}},mounted(){this.startingChain&&(this.blockchainFilter=this.startingChain),window.addEventListener("click",this.handleClick),window.addEventListener("keydown",this.handleKeyDown),window.addEventListener("keyup",this.handleKeyUp)},destroyed(){window.removeEventListener("click",this.handleClick),window.removeEventListener("keydown",this.handleKeyDown),window.removeEventListener("keyup",this.handleKeyUp)},methods:{handleClick(t){const e=t.path.map(t=>t.className);!this.actionsMenu||e.includes("action-menu")||e.includes("action fas fa-caret-square-down")||(this.actionsMenu=null)},handleKeyDown(t){17===t.which&&(this.holdingCtrl=!0)},handleKeyUp(t){17===t.which&&setTimeout(()=>{this.holdingCtrl=!1},5e3)},canCreateAccounts:t=>yt.a.plugin(t.enabledKey().blockchain).accountsAreImported(),linkAccount(t){b.a.push(i.a.eosLinkAccount(t))},createEosAccount(t){b.a.push(i.a.eosCreateAccount(t,t=>{}))},filteredAccounts(t){return t.accounts(!0).filter(t=>!this.accounts||this.accounts.find(e=>e.identifiable()===t.identifiable())).filter(t=>t.sendable().indexOf(this.terms)>-1).sort((t,e)=>e.totalFiatBalance()-t.totalFiatBalance())},isNew:t=>t.createdAt&&t.createdAt>+new Date-3e4,setActionsMenu(t){setTimeout(()=>{this.actionsMenu=this.actionsMenu===t.id?null:t.id},20)},copyPublicKey(t){this.actionsMenu=null,this.copyText(t.enabledKey().key)},removeKeypair(t){this.actionsMenu=null,b.a.push(i.a.removeKeypair(t,t=>{}))},convertKeypair(t){const e=this.networks.reduce((t,e)=>(t.includes(e.blockchain)||t.push(e.blockchain),t),[]).filter(e=>e!==t.enabledKey().blockchain);b.a.push(i.a.selectBlockchain(async e=>{if(!e)return;const a=m.a.convertKey(t,e);await m.a.saveKeyPair(a);const i=await Jt.a.importAllAccounts(a,!1,[e]);for(let t=0;t{if(!e||!e.trim().length)return;const a=t.clone();if(a.name=e.trim(),this.keypairs.find(e=>e.id!==t.id&&e.name.toLowerCase()===a.name.toLowerCase()))return b.a.push(i.a.snackbar(this.$t("errors.keypairExists")));m.a.updateKeyPair(a),this.actionsMenu=null},!0,{placeholder:"Enter a name"}))},async refreshAccountsFor(t){this.refreshingAccounts||(this.actionsMenu=null,this.refreshingAccounts=t.unique(),await Jt.a.importAllAccounts(t,!1,t.blockchains),this.refreshingAccounts=!1)},exportPrivateKey(t){b.a.push(i.a.verifyPassword(e=>{e&&b.a.push(i.a.exportPrivateKey(t.clone()))}))}}},ee=(a("3FFn"),Object(T.a)(te,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"keys-and-accounts-list"},[a("SearchAndFilter",{attrs:{filters:t.filters,"full-search":!t.filters.length},on:{terms:function(e){return t.terms=e}}}),t._v(" "),t.keypairs.length?a("section",{staticClass:"keys-list"},t._l(t.filteredKeypairs,(function(e){return a("section",{staticClass:"keypair",class:{new:t.isNew(e),selectable:t.keypairsOnly},on:{click:function(a){return t.$emit("keypair",e)}}},[a("section",{staticClass:"keypair-info"},[t.refreshingAccounts!==e.unique()?a("figure",{staticClass:"blockchain",class:"token-"+e.enabledKey().blockchain+"-"+e.enabledKey().blockchain}):t._e(),t._v(" "),t.refreshingAccounts===e.unique()?a("figure",{staticClass:"blockchain"},[a("i",{staticClass:"icon-spin4 animate-spin"})]):t._e(),t._v(" "),a("section",{staticClass:"info"},[a("figure",{staticClass:"name"},[t._v(t._s(e.name))]),t._v(" "),a("figure",{staticClass:"key selectable"},[t._v(t._s(e.enabledKey().key))]),t._v(" "),e.external?a("figure",{staticClass:"key"},[a("b",[t._v(t._s(e.external.type))])]):t._e()]),t._v(" "),t.asSelector?t._e():a("section",{staticClass:"actions"},[e.external?t._e():a("figure",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.$t("generic.export"),expression:"$t('generic.export')"}],staticClass:"action icon-key",on:{click:function(a){return t.exportPrivateKey(e)}}}),t._v(" "),e.external?a("figure",{staticClass:"action hardware icon-microchip"}):t._e(),t._v(" "),a("figure",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.$t("generic.actions"),expression:"$t('generic.actions')"}],staticClass:"action fas fa-caret-square-down",on:{click:function(a){return t.setActionsMenu(e)}}}),t._v(" "),a("section",{staticClass:"action-menu",class:{hidden:t.actionsMenu!==e.id}},[a("figure",{staticClass:"item",on:{click:function(a){return t.editKeypairName(e)}}},[a("i",{staticClass:"icon-pencil"}),t._v(" "+t._s(t.$t("keysAndAccountsList.actions.editName"))+"\n\t\t\t\t\t\t")]),t._v(" "),a("figure",{staticClass:"item",on:{click:function(a){return t.copyPublicKey(e)}}},[a("i",{staticClass:"icon-docs"}),t._v(" "+t._s(t.$t("keysAndAccountsList.actions.copyPublicKey"))+"\n\t\t\t\t\t\t")]),t._v(" "),a("figure",{staticClass:"item",class:{disabled:t.refreshingAccounts},on:{click:function(a){return t.refreshAccountsFor(e)}}},[a("i",{staticClass:"icon-arrows-ccw"}),t._v(" "+t._s(t.$t("keysAndAccountsList.actions.refreshAccounts"))+"\n\t\t\t\t\t\t")]),t._v(" "),e.external?t._e():a("figure",{staticClass:"item",on:{click:function(a){return t.convertKeypair(e)}}},[a("i",{staticClass:"icon-flow-tree"}),t._v(" "+t._s(t.$t("keysAndAccountsList.actions.convertBlockchain"))+"\n\t\t\t\t\t\t")]),t._v(" "),a("figure",{staticClass:"item",on:{click:function(a){return t.removeKeypair(e)}}},[a("i",{staticClass:"icon-trash"}),t._v(" "+t._s(t.$t("keysAndAccountsList.actions.removeKey"))+"\n\t\t\t\t\t\t")]),t._v(" "),t.holdingCtrl&&e.enabledKey().blockchain===t.Blockchains.EOSIO?a("figure",{staticClass:"item",on:{click:function(a){return t.linkAccount(e)}}},[a("i",{staticClass:"icon-user"}),t._v(" "+t._s(t.$t("keysAndAccountsList.actions.linkAccount"))+"\n\t\t\t\t\t\t")]):t._e()])])]),t._v(" "),t.keypairsOnly?t._e():a("section",[t.filteredAccounts(e).length?a("section",[a("figure",{staticClass:"accounts-label"},[t._v(t._s(t.$t("keysAndAccountsList.linkedAccounts")))]),t._v(" "),a("section",{staticClass:"accounts-list"},t._l(t.filteredAccounts(e),(function(e){return a("section",{staticClass:"account",on:{click:function(a){return t.$emit("account",e)}}},[a("section",{staticClass:"details"},[a("figure",{staticClass:"name"},[t._v(t._s(e.sendable()))]),t._v(" "),a("figure",{staticClass:"network"},[t._v(t._s(e.network().name))])]),t._v(" "),!t.noBalances&&e.tokens().length?a("section",{staticClass:"tokens"},[a("figure",{staticClass:"balance"},[t._v(t._s(e.totalFiatBalance())+" "+t._s(t.displayCurrency))]),t._v(" "),a("figure",{staticClass:"quantity"},[t._v(t._s(e.tokens().length)+" "+t._s(t.$tc("generic.tokens",e.tokens().length)))])]):t._e(),t._v(" "),t.asSelector?t._e():a("section",{staticClass:"actions"},[a("figure",{staticClass:"chevron icon-right-open-big"})])])})),0)]):a("section",{staticClass:"no-accounts"},[a("section",[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("keysAndAccountsList.noAccounts.title"))+"\n\t\t\t\t\t\t"),t.canCreateAccounts(e)?a("p",[t._v(t._s(t.$t("keysAndAccountsList.noAccounts.requiresPayment",{blockchain:t.blockchainName(e.enabledKey().blockchain)})))]):a("p",[t._v(t._s(t.$t("keysAndAccountsList.noAccounts.checkEnabled",{blockchain:t.blockchainName(e.enabledKey().blockchain)})))])]),t._v(" "),t.canCreateAccounts(e)?a("Button",{attrs:{text:t.$t("keysAndAccountsList.noAccounts.createAccountButton")},nativeOn:{click:function(a){return t.createEosAccount(e)}}}):t._e()],1)])])})),0):t._e()],1)}),[],!1,null,"8a32210c",null).exports),ae=a("zc85"),ie=a.n(ae),ne=Object(T.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticStyle:{"shape-rendering":"geometricPrecision","text-rendering":"geometricPrecision","image-rendering":"optimizeQuality"},attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xml:space":"preserve",version:"1.1",viewBox:"0 0 800 800",x:"0px",y:"0px","fill-rule":"evenodd","clip-rule":"evenodd"}},[e("g",[e("path",{staticClass:"fil0",attrs:{d:"M96.07 180.97l654.52 0c35.02,0 63.71,28.68 63.71,63.71l0 357.31c0,35.03 -28.69,63.71 -63.71,63.71l-654.52 0c-35.02,0 -63.71,-28.68 -63.71,-63.71l0 -357.31c0,-35.03 28.69,-63.71 63.71,-63.71zm316.26 415.19c-16.73,0 -16.73,-25.44 0,-25.44l67.57 0c16.72,0 16.72,25.44 0,25.44l-67.57 0zm-282.17 0c-16.73,0 -16.73,-25.44 0,-25.44l233.15 0c16.73,0 16.73,25.44 0,25.44l-233.15 0zm478.22 -157.11c9.61,0 18.33,3.79 24.76,9.96 6.43,-6.17 15.15,-9.96 24.76,-9.96 19.75,0 35.77,16.01 35.77,35.77 0,19.75 -16.02,35.76 -35.77,35.76 -9.61,0 -18.33,-3.79 -24.76,-9.95 -6.43,6.16 -15.15,9.95 -24.76,9.95 -19.76,0 -35.77,-16.01 -35.77,-35.76 0,-19.76 16.01,-35.77 35.77,-35.77zm-542.1 -156.49l714.1 0 0 -37.88c0,-16.4 -13.39,-29.79 -29.79,-29.79l-654.52 0c-16.4,0 -29.79,13.39 -29.79,29.79l0 37.88zm714.1 67.82l-714.1 0 0 251.61c0,16.4 13.39,29.79 29.79,29.79l654.52 0c16.4,0 29.79,-13.39 29.79,-29.79l0 -251.61z"}})])])}),[],!1,null,null,null).exports,se={props:["card","asSelector"],components:{CreditCardIcon:ne},computed:{...Object(y.c)([])},methods:{}},oe=(a("6gQG"),{components:{Card:Object(T.a)(se,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"card",on:{click:function(e){return t.$emit("clicked",t.card)}}},[a("section",{staticClass:"head"},[a("CreditCardIcon",{staticClass:"symbol"})],1),t._v(" "),t.asSelector?t._e():a("Button",{staticClass:"delete",attrs:{icon:"icon-trash"}}),t._v(" "),t.asSelector?a("Button",{staticClass:"delete",attrs:{icon:"fas fa-caret-square-down"}}):t._e(),t._v(" "),a("section",{staticClass:"info"},[a("figure",{staticClass:"card-name"},[t._v(t._s(t.card.name))]),t._v(" "),a("figure",{staticClass:"card-number"},[t._l([1,1,1],(function(e){return a("span",[t._v("XXXX")])})),t._v(" "),a("span",[t._v(t._s(t.card.lastFour))])],2),t._v(" "),a("section",{staticClass:"expiration"},[t._m(0),t._v(" "),a("figure",{staticClass:"date"},[t._v(t._s(t.card.expiration))])]),t._v(" "),a("section",{staticClass:"identity"},[a("figure",{staticClass:"full-name"},[t._v(t._s(t.card.identity().fullname()))])])])],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("figure",{staticClass:"valid-until"},[this._v("VALID"),e("br"),this._v("UNTIL")])}],!1,null,"3202b564",null).exports,CreditCardIcon:ne},computed:{...Object(y.c)(["identities"]),filteredCards(){return[ie.a.fromJson({identityId:this.identities[0].id,name:"Test Card",lastFour:"1234",expiration:"04/20",cardHash:"asdljkfasjklhdfhaskljdfhjksalhfdjlhasljfhlhaksdflkj",secure:{number:"1234123412341234",cvx:"1234",authTokens:{}}})]}},methods:{}}),re=(a("Mazg"),Object(T.a)(oe,(function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"cards-list"},this._l(this.filteredCards,(function(t){return e("Card",{key:t.id,attrs:{card:t}})})),1)}),[],!1,null,"0d453a09",null).exports);const ce={KEYS:"keys",CARDS:"cards"};var le={components:{CreditCardsList:re,KeysAndAccountList:ee,PanelTabs:ot},data:()=>({state:ce.KEYS,STATES:ce,tab:null,blockchainFilter:null,keypairFilter:null,terms:"",clonedKeypairs:[],refreshingAccounts:null}),computed:{...Object(y.d)(["scatter"]),...Object(y.c)(["keypairs","networks","cards","accounts"]),tabs:()=>[{name:"Blockchain Accounts",state:ce.KEYS},{name:"Credit Cards",state:ce.CARDS}],accounts(){return this.networks.map(t=>t.accounts(!0)).reduce((t,e)=>t=t.concat(e),[])}},mounted(){},methods:{generateKeypair(){b.a.push(i.a.generateKeypair({},t=>{t&&b.a.push(i.a.exportPrivateKey(t))}))},importKeypair(){b.a.push(i.a.importKeypair({},t=>{}))},goToAccount(t){this.$router.push({name:this.RouteNames.ACCOUNT,params:{unique:t.unique()}})}}},de=(a("l+Hn"),Object(T.a)(le,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[a("section",{staticClass:"wallet no-panels",class:{"no-accounts":!t.accounts.length}},[a("section",{staticClass:"scroller"},[t.state===t.STATES.KEYS&&t.keypairs.length?a("KeysAndAccountList",{on:{account:t.goToAccount}}):t._e(),t._v(" "),t.state!==t.STATES.KEYS||t.keypairs.length?t._e():a("section",{staticClass:"keys-and-accounts-list"},[a("section",{staticClass:"no-keypairs"},[a("section",{staticClass:"container"},[a("figure",{staticClass:"title"},[t._v(t._s(t.$t("wallet.noKeys.title")))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(t.$t("wallet.noKeys.description")))])])])])],1),t._v(" "),t.state===t.STATES.KEYS?a("section",{staticClass:"wallet-actions"},[a("section",{staticClass:"left"},[a("section",{staticClass:"info"},[a("figure",{staticClass:"keys"},[t._v(t._s(t.keypairs.length)+" "+t._s(t.$tc("generic.keys",t.keypairs.length)))]),t._v(" "),a("figure",{staticClass:"accounts"},[t._v(t._s(t.accounts.length)+" "+t._s(t.$tc("generic.accounts",t.accounts.length)))])])]),t._v(" "),a("section",{staticClass:"right"},[a("Button",{attrs:{text:t.$t("wallet.generateKey")},nativeOn:{click:function(e){return t.generateKeypair(e)}}}),t._v(" "),a("Button",{attrs:{blue:"1",text:t.$t("wallet.importKey")},nativeOn:{click:function(e){return t.importKeypair(e)}}})],1)]):t._e(),t._v(" "),t.state===t.STATES.CARDS?a("section",{staticClass:"wallet-actions"},[a("section",{staticClass:"left"},[a("section",{staticClass:"info"},[a("figure",{staticClass:"keys"},[t._v(t._s(t.cards.length)+" "+t._s(t.$tc("generic.cards",t.cards.length)))]),t._v(" "),a("figure",{staticClass:"accounts"},[t._v("0 "+t._s(t.$t("generic.expired")))])])]),t._v(" "),a("section",{staticClass:"right"},[a("Button",{attrs:{blue:"1",text:t.$t("wallet.addCreditCard")},nativeOn:{click:function(e){return t.importKeypair(e)}}})],1)]):t._e()])])}),[],!1,null,"555edc8a",null).exports),pe=a("diYo"),ue=a.n(pe),he={components:{TokenList:jt,TokenGraph:Ht,PanelTabs:ot},data:()=>({filteredBalances:null,actionsMenu:!1}),computed:{...Object(y.d)(["resources","balances"]),...Object(y.c)(["accounts","displayCurrency"]),tabs(){return[{name:this.account.sendable(),state:this.account.sendable()}]},account(){return this.accounts.find(t=>t.unique()===this.$route.params.unique)},usesResources(){return ue.a.usesResources(this.account)},accountResources(){const t=this.resources[this.account.identifiable()];return t||null},accountActions(){const t=yt.a.plugin(this.account.blockchain());return t.hasAccountActions()?t.accountActions(this.account):null}},mounted(){window.addEventListener("click",this.handleClick),setTimeout(()=>{ue.a.cacheResourceFor(this.account),Qt.a.loadBalancesFor(this.account)},250)},destroyed(){window.removeEventListener("click",this.handleClick)},methods:{handleClick(t){const e=t.path.map(t=>t.className);!this.actionsMenu||e.includes("action-menu")||e.includes("button fas fa-caret-square-down")||(this.actionsMenu=null)},fiatSymbol:zt.a.fiatSymbol,async moderateResource(t){new Promise(async e=>{const{name:a}=t,n=t=>e(t);["CPU","NET"].includes(a)&&b.a.push(i.a.eosModerateCpuNet(this.account,n)),"RAM"===a&&b.a.push(i.a.eosModerateRam(this.account,n)),"Refund"===a&&yt.a.plugin(this.account.blockchain()).refund(this.account).then(t=>n(t)).catch(t=>{console.error(t),n(null)})}).then(async t=>{t&&(b.a.push(i.a.transactionSuccess(this.account.blockchain(),t)),this[E.ADD_RESOURCES]({acc:this.account.identifiable(),res:await ue.a.getResourcesFor(this.account)}),await Qt.a.loadBalancesFor(this.account))})},copyAuthKey(t){this.copyText(t.publicKey)},actionText(t){return this.$t("account.actions."+t.type)},actionIcon(t){switch(t.type){case"unlink_account":return"icon-trash";case"change_permissions":return"icon-key";case"proxy_vote":return"icon-heart-1";case"create_account":return"icon-user-add"}},async commitAction(t){const e=yt.a.plugin(this.account.blockchain());switch(t.type){case"unlink_account":return b.a.push(i.a.unlinkAccount(this.account,t=>{t&&this.$router.back()}));case"change_permissions":return b.a.push(i.a.verifyPassword(t=>{if(!t)return!1;b.a.push(i.a.eosChangePermissions(this.account,async t=>{await e.changePermissions(this.account,t)}))}));case"proxy_vote":return b.a.push(i.a.eosProxyVotes(this.account,()=>{}));case"create_account":return b.a.push(i.a.eosCreateAccount(this.account,()=>{}));default:return""}},...Object(y.b)([E.ADD_RESOURCES])}},fe=(a("Kg66"),Object(T.a)(he,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[t.account?a("section",{staticClass:"account"},[a("section",{staticClass:"manage"},[a("div",{staticClass:"wrapper"},[a("section",{staticClass:"details"},[a("figure",{staticClass:"blockchain",class:"token-"+t.account.blockchain()+"-"+t.account.blockchain()}),t._v(" "),a("figure",{staticClass:"name selectable"},[t._v(t._s(t.account.sendable()))]),t._v(" "),a("figure",{staticClass:"network"},[t._v(t._s(t.account.network().name))]),t._v(" "),a("figure",{staticClass:"permissions"},t._l(t.account.authorities(),(function(e){return a("figure",{staticClass:"permission",class:{red:"owner"===e.authority},on:{click:function(a){return t.copyAuthKey(e)}}},[t._v("\n "+t._s(e.authority)+"\n ")])})),0)]),t._v(" "),a("figure",{staticClass:"actions account-actions"},[a("figure",{staticClass:"button fas fa-caret-square-down",on:{click:function(e){t.actionsMenu=!t.actionsMenu}}}),t._v(" "),a("section",{staticClass:"action-menu",class:{hidden:!t.actionsMenu}},t._l(t.accountActions,(function(e){return a("section",{key:e.id,staticClass:"item",on:{click:function(a){return t.commitAction(e)}}},[a("i",{class:t.actionIcon(e)}),t._v("\n "+t._s(t.actionText(e))+"\n ")])})),0)])]),t._v(" "),a("div",{staticClass:"flex-wrapper"},[t.usesResources?a("section",{staticClass:"resources"},[t.accountResources?t._e():a("section",{staticClass:"loading"},[a("figure",{staticClass:"spinner icon-spin4 animate-spin"})]),t._v(" "),t._l(t.accountResources,(function(e){return a("section",{staticClass:"resource"},[a("figure",{staticClass:"type"},[t._v(t._s(e.name))]),t._v(" "),a("i",{class:{"fad fa-check":e.percentage<=50,"fas fa-exclamation-triangle red":e.percentage>50}}),t._v(" "),a("figure",{staticClass:"percentage"},[t._v(t._s(e.text?e.text:parseFloat(e.percentage).toFixed(2)+"%"))]),t._v(" "),a("figure",{staticClass:"action"},[a("Button",{attrs:{white:"1",disabled:!e.actionable,text:t.$t("generic.manage")},nativeOn:{click:function(a){return t.moderateResource(e)}}})],1)])}))],2):t._e()])]),t._v(" "),a("section",{staticClass:"assets"},[a("section",{staticClass:"fiat-title"},[a("h5",[t._v(t._s(t.$t("account.totalFiatBalance")))]),t._v(" "),a("h3",[t._v(t._s(t.fiatSymbol(t.displayCurrency))+t._s(t.formatNumber(t.account.totalFiatBalance(),!0)))])]),t._v(" "),a("TokenGraph",{attrs:{balances:t.filteredBalances||t.account.tokens()}}),t._v(" "),a("TokenList",{attrs:{balances:t.account.tokens()},on:{balances:function(e){return t.filteredBalances=e}}})],1)]):t._e()])}),[],!1,null,"273925aa",null).exports),me=a("M1Dr"),be=a.n(me);a("8olR");var ge={components:{TokenSymbol:Bt},data:()=>({account:null,token:null,recipient:null,memo:"",toSend:null,fiat:0,sending:!1}),computed:{...Object(y.d)(["history"]),...Object(y.c)(["accounts","displayCurrency","contacts"]),sendableTokens(){return this.account.tokens().filter(t=>!t.unusable).sort((t,e)=>It.a.sorter(t,e))},canSend(){return!this.sending&&this.recipient&&this.recipient.length&&this.toSend&&this.toSend.amount>0}},mounted(){this.init()},methods:{init(){const t=this.$route.query.history?this.history.find(t=>t.id===this.$route.query.history):null,e=this.$route.query.account?(()=>{const t=this.accounts.find(t=>t.identifiable()===this.$route.query.account);return t?{account:t,token:this.$route.query.token?t.tokens().find(t=>t.uniqueWithChain()===this.$route.query.token):null}:null})():null,a=this.$route.query.recipient;if(t)this.account=t.from,this.recipient=t.to,this.memo=t.memo,this.token=this.account.tokens().find(e=>e.uniqueWithChain()===t.token.uniqueWithChain()),this.toSend=t.token.clone(),this.toSend.amount=t.amount,this.changedAmount();else if(e)this.account=e.account,e.token?this.setToken(e.token):this.setToken(this.sendableTokens[0]);else if(a){const t=this.contacts.find(t=>t.id===a);this.recipient=t.recipient,this.account=this.accounts.filter(e=>!t.blockchain||e.blockchain()===t.blockchain).filter(t=>t.tokens().length).sort((t,e)=>e.totalFiatBalance()-t.totalFiatBalance())[0],this.setToken(this.sendableTokens[0])}else this.account=this.accounts.filter(t=>t.tokens().length).sort((t,e)=>e.totalFiatBalance()-t.totalFiatBalance())[0],this.setToken(this.sendableTokens[0]);this.account&&this.token&&this.toSend||setTimeout(()=>{this.init()},1e3)},selectTokenAndAccount(){b.a.push(i.a.selectTokenAndAccount(t=>{if(!t)return;const{token:e,account:a}=t;this.account=a,this.setToken(e)}))},selectRecipient(){b.a.push(i.a.selectRecipient(this.account?this.account.blockchain():null,t=>{t&&(this.recipient=t)}))},setToken(t){t&&(zt.a.setPrices(),this.token=(()=>{const e=this.account.tokens().find(e=>e.uniqueWithChain()===t.uniqueWithChain());if(e)return e.clone();const a=t.clone();return a.amount=0,a})(),this.toSend=this.token.clone(),this.toSend.amount=0,this.fiat=0)},changedFiat(){this.toSend.amount=parseFloat(this.fiat/this.toSend.fiatPrice(!1)).toFixed(this.toSend.decimals)},changedAmount(){this.fiat=this.toSend.amount&&""!==this.toSend.amount?this.toSend.fiatBalance(!1):null},async send(){const t=()=>this.sending=!1;if(!this.canSend)return;if(this.sending=!0,!await P.a.verifyPIN())return t();this.setWorkingScreen(!0);const e=this.account.blockchain(),a=await be.a[e]({account:this.account,recipient:this.recipient,amount:this.toSend.amount,memo:this.memo,token:this.token,promptForSignature:!1}).catch(t=>(console.error("Transfer error",t),!1));t(),this.setWorkingScreen(!1),a&&(a.hasOwnProperty("error")?b.a.push(i.a.snackbar(a.error,"attention-circled")):a?(b.a.push(i.a.transactionSuccess(e,be.a.getTransferId(a,e))),setTimeout(()=>{Qt.a.loadBalancesFor(this.account)},500)):b.a.push(i.a.snackbar(this.$t("errors.transferError"),"attention-circled")))}}},ve=(a("xEJ3"),Object(T.a)(ge,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"transfer"},[t.account&&t.token&&t.toSend?a("section",{staticClass:"scroller"},[a("section",{staticClass:"greyback"},[a("section",{staticClass:"limit-width"},[a("section",{staticClass:"boxes"},[a("section",{staticClass:"box-container"},[a("label",[t._v(t._s(t.$t("transfer.sender")))]),t._v(" "),a("section",{staticClass:"box nested account-selector flex",on:{click:t.selectTokenAndAccount}},[a("section",{staticClass:"symbol"},[a("TokenSymbol",{attrs:{token:t.token}})],1),t._v(" "),a("section",[a("figure",{staticClass:"name"},[t._v(t._s(t.account.sendable()))]),t._v(" "),a("figure",{staticClass:"network"},[t._v(t._s(t.account.network().name))]),t._v(" "),a("figure",{staticClass:"token"},[t._v(t._s(t.token.amount)+" "+t._s(t.token.symbol))]),t._v(" "),a("figure",{staticClass:"price"},[t._v(t._s(t.token.fiatPrice()||"--"))])]),t._v(" "),a("figure",{staticClass:"chevron fas fa-caret-square-down"})])]),t._v(" "),a("section",{staticClass:"box-container"},[a("label",[t._v(t._s(t.$t("transfer.receiver")))]),t._v(" "),a("section",{staticClass:"box nested"},[a("section",{staticClass:"padded recipient-selector",on:{click:t.selectRecipient}},[a("figure",{staticClass:"name"},[t._v(t._s(t.$t("generic.contacts")))]),t._v(" "),a("figure",{staticClass:"chevron fas fa-caret-square-down"})]),t._v(" "),a("figure",{staticClass:"line"}),t._v(" "),a("section",{staticClass:"input-container"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.recipient,expression:"recipient"}],staticClass:"input",attrs:{placeholder:t.$t("generic.addressOrAccount")},domProps:{value:t.recipient},on:{input:function(e){e.target.composing||(t.recipient=e.target.value)}}})])])])])])]),t._v(" "),a("section",{staticClass:"whiteback"},[a("section",{staticClass:"limit-width"},[a("label",[t._v(t._s(t.$t("transfer.amountTitle")))]),t._v(" "),a("section",{staticClass:"boxes"},[a("section",{staticClass:"box"},[a("section",{staticClass:"input-container"},[a("figure",{staticClass:"label"},[t._v(t._s(t.token.truncatedSymbol()))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.toSend.amount,expression:"toSend.amount"}],staticClass:"input",attrs:{placeholder:"0.00"},domProps:{value:t.toSend.amount},on:{input:[function(e){e.target.composing||t.$set(t.toSend,"amount",e.target.value)},t.changedAmount]}}),t._v(" "),a("section",{staticClass:"amount-helpers"},[a("Button",{attrs:{small:"1",text:"50%"},nativeOn:{click:function(e){return t.toSend.amount=t.token.amount/2,void t.changedAmount()}}}),t._v(" "),a("Button",{attrs:{small:"1",text:"100%"},nativeOn:{click:function(e){return t.toSend.amount=t.token.amount,void t.changedAmount()}}})],1)]),t._v(" "),a("figure",{staticClass:"line"}),t._v(" "),a("section",{staticClass:"input-container"},[a("figure",{staticClass:"label"},[t._v(t._s(t.displayCurrency))]),t._v(" "),t.toSend.fiatPrice()?a("input",{directives:[{name:"model",rawName:"v-model",value:t.fiat,expression:"fiat"}],staticClass:"input",attrs:{placeholder:"0.00"},domProps:{value:t.fiat},on:{input:[function(e){e.target.composing||(t.fiat=e.target.value)},t.changedFiat]}}):a("figure",{staticClass:"input not-available"},[t._v(t._s(t.$t("transfer.priceNotAvailable")))])])]),t._v(" "),a("section",{staticClass:"box"},[a("section",{staticClass:"input-container"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.memo,expression:"memo"}],staticClass:"input",attrs:{placeholder:t.$t("transfer.memo")},domProps:{value:t.memo},on:{input:function(e){e.target.composing||(t.memo=e.target.value)}}})])])])])])]):a("section",{staticClass:"scroller loading-tokens"},[a("section",[a("h1",[t._v(t._s(t.$t("generic.pleaseWait")))]),t._v(" "),a("p",[t._v(t._s(t.$t("transfer.loadingBalances")))])])]),t._v(" "),a("section",{staticClass:"tail"},[a("Button",{attrs:{disabled:!t.canSend,big:"1",text:t.$t("generic.send"),blue:"1"},nativeOn:{click:function(e){return t.send(e)}}})],1)])}),[],!1,null,"51dad514",null).exports),xe=a("l31u"),ye=a.n(xe),ke=a("ONSl"),we=a.n(ke),_e=a("GGPC"),Ce=a.n(_e);a("8olR");var Te={components:{TokenSymbol:Bt},data:()=>({account:null,recipient:null,memo:"",token:null,toSend:null,fiat:0,sending:!1,rawPairs:[],pairs:[],pair:null,rate:null,loadingPairs:!1,loadingRate:!1}),computed:{...Object(y.d)(["history"]),...Object(y.c)(["accounts","displayCurrency"]),sendableTokens(){return this.account.tokens().filter(t=>!t.unusable).sort((t,e)=>It.a.sorter(t,e))},canExchange(){return!!this.rate&&!!this.pair&&!this.sending&&this.recipient&&this.toSend.amount>0&&(null===this.rate.min||this.rate.min<=this.estimatedAmount)&&(null===this.rate.max||this.rate.max>=this.estimatedAmount)},estimatedAmount(){return this.rate&&this.pair?parseFloat(this.rate.rate*this.toSend.amount).toFixed(this.pair.decimals):0},rawPair(){if(this.pair)return this.rawPairs.find(t=>t.token.id===this.pair.id)}},mounted(){const t=this.$route.query.history?this.history.find(t=>t.id===this.$route.query.history):null;if(t)setTimeout(async()=>{if(this.account=t.from,this.recipient=t.to,this.setToken(t.fromToken),await this.getPairs(),this.rawPairs.length){const e=this.rawPairs.find(e=>e.token.uniqueWithChain()===t.toToken.uniqueWithChain());e&&this.setPair(e.token)}});else{if(this.$route.query.account&&(this.account=this.accounts.find(t=>t.identifiable()===this.$route.query.account),this.$route.query.token)){const t=this.account.tokens().find(t=>t.uniqueWithChain()===this.$route.query.token);return this.setToken(t),void(this.recipient=this.account.sendable())}this.account||(this.account=this.accounts.filter(t=>t.tokens().length).sort((t,e)=>e.totalFiatBalance()-t.totalFiatBalance())[0]),this.recipient=this.account.sendable(),this.setToken(this.sendableTokens[0])}},methods:{selectTokenAndAccount(){b.a.push(i.a.selectTokenAndAccount(t=>{if(!t)return;const{token:e,account:a}=t;this.account=a,this.setToken(e),this.recipient=this.account.sendable()}))},selectRecipient(){b.a.push(i.a.selectRecipient(this.account?this.account.blockchain():null,t=>{t&&(this.recipient=t)}))},selectToken(){this.pairs.length&&b.a.push(i.a.selectToken(this.pairs,t=>{t&&this.setPair(t.clone())}))},setToken(t){zt.a.setPrices(),this.token=this.account.tokens().find(e=>e.uniqueWithChain()===t.uniqueWithChain()).clone(),this.toSend=this.token.clone(),this.toSend.amount=0,this.fiat=0,this.rate=null,this.pair=null},changedFiat(){this.toSend.amount=parseFloat(this.fiat/this.toSend.fiatPrice(!1)).toFixed(this.toSend.decimals)},changedAmount(){this.fiat=this.toSend.amount&&""!==this.toSend.amount?this.toSend.fiatBalance(!1):null},cantConnect(){b.a.push(i.a.prompt(this.$t("exchange.errorTitle"),this.$t("exchange.errorDescription"))),this.$router.push({name:this.RouteNames.HOME})},setPair(t){this.pair=t,this.getRate()},async getPairs(){this.pair=null,this.pairs={},this.loadingPairs=!0;let t=await ye.a.pairs(this.token),{base:e,stable:a,eth:i,eos:n,trx:s}=t;if(this.rawPairs=Object.keys(t).reduce((e,a)=>e=e.concat(t[a]),[]),t){let t=[],o=[];e&&(o=o.concat(e.map(t=>t.token))),a&&(o=o.concat(a.map(t=>t.token))),o.length&&t.push({tokens:o});const r=[i,n,s].filter(t=>!!t).reduce((t,e)=>(e.map(e=>t.push(e.token)),t),[]);r.length&&t.push({tokens:r}),this.pairs=t}else this.cantConnect();return this.rawPairs.length||(this.rate=null),1===this.rawPairs.length&&this.setPair(this.rawPairs[0].token),this.loadingPairs=!1,!0},async getRate(){this.loadingRate=!0,this.rate=null,this.rate=await ye.a.rate(this.token,this.rawPair.symbol,this.rawPair.service),this.loadingRate=!1},async exchange(){if(!this.canExchange)return;const t=()=>{this.sending=!1,this.setWorkingScreen(!1)};this.sending=!0,this.setWorkingScreen(!0);const e={account:this.account.sendable()},a={account:this.recipient},n=this.toSend.amount,s=await ye.a.order(this.rawPair.service,this.token,this.pair.symbol,n,e,a);if(!s)return this.cantConnect(),t();if("string"==typeof s)return b.a.push(i.a.snackbar(s)),t();this.token.symbol,this.pair.symbol;ye.a.accepted(s.id);const o=await be.a[this.account.blockchain()]({account:this.account,recipient:s.account,amount:n,memo:s.memo,token:this.token,promptForSignature:!1,bypassHistory:!0}).catch(t=>(console.error("Exchange error: ",t),!1));if(o)if("object"==typeof o&&o.hasOwnProperty("error"))b.a.push(i.a.snackbar(o.error));else{b.a.push(i.a.transactionSuccess(this.token.blockchain,be.a.getTransferId(o,this.token.blockchain))),we.a.hasToken(this.rawPair.token)||this.rawPair.token.contract&&this.rawPair.token.contract.length&&await we.a.addToken(this.rawPair.token,!1,!1);const t=new Ce.a(this.account,this.recipient,this.toSend,this.pair,s,be.a.getTransferId(o,this.token.blockchain));this[E.DELTA_HISTORY](t),setTimeout(()=>{ye.a.watch(t),Qt.a.loadBalancesFor(this.account)},1e3)}t()},...Object(y.b)([E.DELTA_HISTORY])},watch:{"token.symbol"(){this.getPairs()}}},Se=(a("5jfV"),Object(T.a)(Te,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[t.account&&t.token&&t.toSend?a("section",{staticClass:"exchange"},[a("section",{staticClass:"scroller"},[a("section",{staticClass:"greyback"},[a("section",{staticClass:"limit-width"},[a("section",{staticClass:"boxes"},[a("section",{staticClass:"box-container"},[a("label",[t._v(t._s(t.$t("exchange.fromAndToken")))]),t._v(" "),a("section",{staticClass:"box nested account-selector flex",on:{click:t.selectTokenAndAccount}},[a("section",{staticClass:"symbol"},[a("TokenSymbol",{attrs:{token:t.token}})],1),t._v(" "),a("section",[a("figure",{staticClass:"name"},[t._v(t._s(t.account.sendable()))]),t._v(" "),a("figure",{staticClass:"network"},[t._v(t._s(t.account.network().name))]),t._v(" "),a("figure",{staticClass:"token"},[t._v(t._s(t.token.amount)+" "+t._s(t.token.symbol))]),t._v(" "),a("figure",{staticClass:"price"},[t._v(t._s(t.token.fiatPrice()))])]),t._v(" "),a("figure",{staticClass:"chevron fas fa-caret-square-down"})])]),t._v(" "),a("section",{staticClass:"box-container"},[a("label",[t._v("Receiver")]),t._v(" "),a("section",{staticClass:"box nested"},[a("section",{staticClass:"padded recipient-selector",on:{click:t.selectRecipient}},[a("figure",{staticClass:"name"},[t._v(t._s(t.$t("generic.contacts")))]),t._v(" "),a("figure",{staticClass:"chevron fas fa-caret-square-down"})]),t._v(" "),a("figure",{staticClass:"line"}),t._v(" "),a("section",{staticClass:"input-container"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.recipient,expression:"recipient"}],staticClass:"input",attrs:{placeholder:t.$t("generic.addressOrAccount")},domProps:{value:t.recipient},on:{input:function(e){e.target.composing||(t.recipient=e.target.value)}}})])])])])])]),t._v(" "),a("section",{staticClass:"whiteback"},[a("section",{staticClass:"limit-width"},[a("section",{staticClass:"boxes",staticStyle:{margin:"0"}},[a("section",{staticClass:"box",class:{"not-allowed":!t.rate}},[a("section",{staticClass:"input-container"},[a("figure",{staticClass:"label"},[t._v(t._s(t.token.truncatedSymbol()))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.toSend.amount,expression:"toSend.amount"}],staticClass:"input",attrs:{disabled:!t.rate,placeholder:"0.00"},domProps:{value:t.toSend.amount},on:{input:[function(e){e.target.composing||t.$set(t.toSend,"amount",e.target.value)},t.changedAmount]}}),t._v(" "),a("section",{staticClass:"amount-helpers"},[a("Button",{attrs:{small:"1",text:"50%"},nativeOn:{click:function(e){return t.toSend.amount=t.token.amount/2,void t.changedAmount()}}}),t._v(" "),a("Button",{attrs:{small:"1",text:"100%"},nativeOn:{click:function(e){return t.toSend.amount=t.token.amount,void t.changedAmount()}}})],1)]),t._v(" "),a("figure",{staticClass:"line"}),t._v(" "),a("section",{staticClass:"input-container"},[a("figure",{staticClass:"label"},[t._v(t._s(t.displayCurrency))]),t._v(" "),t.toSend.fiatPrice()?a("input",{directives:[{name:"model",rawName:"v-model",value:t.fiat,expression:"fiat"}],staticClass:"input",attrs:{disabled:!t.rate,placeholder:"0.00"},domProps:{value:t.fiat},on:{input:[function(e){e.target.composing||(t.fiat=e.target.value)},t.changedFiat]}}):a("figure",{staticClass:"input not-available"},[t._v(t._s(t.$t("exchange.priceNotAvailable")))])])]),t._v(" "),t.loadingPairs?a("section",{staticClass:"box account-selector"},[t._m(0),t._v(" "),a("section",[a("figure",{staticClass:"name"},[t._v(t._s(t.$t("exchange.loadingPairs")))]),t._v(" "),a("figure",{staticClass:"network"},[t._v(t._s(t.$t("generic.pleaseWait")))])])]):t._e(),t._v(" "),t.loadingPairs?t._e():a("section",{staticClass:"box account-selector",on:{click:t.selectToken}},[t.pair?t.loadingRate?a("section",{staticClass:"symbol"},[a("i",{staticClass:"icon-spin4 animate-spin"})]):a("section",{staticClass:"symbol"},[a("TokenSymbol",{attrs:{token:t.pair}})],1):a("section",{staticClass:"symbol icon-attention-circled"}),t._v(" "),t.pair?t._e():a("section",[t.pairs.length?a("figure",{staticClass:"name"},[t._v(t._s(t.$t("generic.selectToken")))]):a("figure",{staticClass:"name"},[t._v(t._s(t.$t("exchange.noPairs")))])]),t._v(" "),t.pair?a("section",[t.loadingRate?t._e():a("figure",{staticClass:"name value"},[t._v(t._s(t.estimatedAmount))]),t._v(" "),t.loadingRate?a("figure",{staticClass:"name"},[t._v(t._s(t.$t("exchange.loadingRate")))]):t._e(),t._v(" "),t.pair?a("figure",{staticClass:"network"},[t._v(t._s(t.pair.symbol))]):t._e()]):t._e(),t._v(" "),t.pairs.length?a("figure",{staticClass:"chevron fas fa-caret-square-down"}):t._e()])])])])]),t._v(" "),a("section",{staticClass:"tail"},[a("Button",{attrs:{disabled:!t.canExchange,big:"1",text:"Exchange",blue:"1"},nativeOn:{click:function(e){return t.exchange(e)}}})],1)]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"symbol"},[e("i",{staticClass:"icon-spin4 animate-spin"})])}],!1,null,"1473bdcc",null).exports),Ee=a("sZoq"),Ae=a.n(Ee);a("8olR");var Oe={data:()=>({account:null,qr:null,Blockchains:kt.Blockchains}),computed:{...Object(y.c)(["accounts"])},mounted(){this.$route.query.account&&this.selectedAccount(this.accounts.find(t=>t.identifiable()===this.$route.query.account)),this.account||this.selectedAccount(this.accounts.sort((t,e)=>e.totalFiatBalance()-t.totalFiatBalance())[0])},methods:{selectAccount(){b.a.push(i.a.selectAccount(t=>{t&&this.selectedAccount(t)}))},async selectedAccount(t){this.account=t;const e={account:t.sendable(),blockchain:t.network().blockchain,chainId:t.network().chainId};this.qr=await Ae.a.createUnEncryptedQR(e)},copy(){this.copyText(this.account.sendable())}}},Pe=(a("oAjA"),Object(T.a)(Oe,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"receive"},[a("section",{staticClass:"scroller"},[t.account?a("section",{staticClass:"greyback"},[a("section",{staticClass:"limit-width"},[a("label",[t._v(t._s(t.$t("receive.receiver")))]),t._v(" "),a("section",{staticClass:"boxes"},[a("section",{staticClass:"box account-selector",on:{click:t.selectAccount}},[a("section",[a("figure",{staticClass:"name"},[t._v(t._s(t.account.sendable()))]),t._v(" "),a("figure",{staticClass:"network"},[t._v(t._s(t.account.network().name))])]),t._v(" "),a("figure",{staticClass:"chevron fas fa-caret-square-down"})])])])]):t._e(),t._v(" "),t.account?a("section",{staticClass:"whiteback"},[a("section",{staticClass:"limit-width"},[a("section",{staticClass:"boxes"},[t.qr?a("section",{staticClass:"box nested auto-width"},[a("img",{attrs:{src:t.qr}})]):t._e(),t._v(" "),a("section",{staticClass:"box nested data-box"},[a("section",[a("label",[t._v(t._s(t.$t("receive.sendTo")))]),t._v(" "),a("figure",{staticClass:"receiver"},[t._v(t._s(t.account.sendable()))])]),t._v(" "),a("section",[t.account.blockchain()===t.Blockchains.EOSIO?a("figure",{staticClass:"small-info"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.$t("receive.forEosio"))+"\n\t\t\t\t\t\t\t")]):t._e(),t._v(" "),a("Button",{attrs:{blue:"1",text:t.$t("generic.copy")},nativeOn:{click:function(e){return t.copy(e)}}})],1)])])])]):t._e()])])}),[],!1,null,"03be49ea",null).exports),Ie=a("MPB0"),Ne=a("78si"),Re=a.n(Ne),Le=a("B9Ha"),Be=a.n(Le);const De={NETWORK:"network",TOKEN:"token"};var $e={props:["original","brandNew"],data:()=>({state:De.NETWORK,STATES:De,network:null}),mounted(){this.network=this.original?this.original.clone():Re.a.placeholder()},computed:{...Object(y.c)(["networks"]),isNew(){return!!this.network&&(!!this.brandNew||!this.networks.find(t=>t.id===this.network.id))},contractPlaceholder(){if(this.network.token&&this.network.token.blockchain)return yt.a.plugin(this.network.token.blockchain).contractPlaceholder()},canEditOrShowToken(){return this.isNew||this.network.token}},methods:{async fetchChainId(){this.network.chainId=await yt.a.plugin(this.network.blockchain).getChainId(this.network)},useCustomToken(){if(this.network.token)return this.network.token=null;const t=It.a.placeholder();t.blockchain=this.network.blockchain,this.network.token=t}},watch:{network(){this.$emit("updated",this.network)}}},Ke=(a("V7nQ"),Object(T.a)($e,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[t.network?a("section",{staticClass:"edit-network"},[t.canEditOrShowToken?a("section",{staticClass:"panel-switch"},[a("figure",{staticClass:"button",class:{active:t.state===t.STATES.NETWORK},on:{click:function(e){t.state=t.STATES.NETWORK}}},[t._v("\n\t\t\t\t"+t._s(t.$t("generic.networks",1))+"\n\t\t\t")]),t._v(" "),a("figure",{staticClass:"button",class:{active:t.state===t.STATES.TOKEN},on:{click:function(e){t.state=t.STATES.TOKEN}}},[t._v("\n\t\t\t\t"+t._s(t.$t("editNetwork.systemToken"))+"\n\t\t\t")])]):t._e(),t._v(" "),t.canEditOrShowToken?t._e():a("figure",{staticStyle:{height:"20px"}}),t._v(" "),t.state===t.STATES.NETWORK?a("section",[t.isNew?a("Input",{attrs:{label:t.$t("generic.name"),placeholder:t.$t("editNetwork.memorableName"),text:t.network.name},on:{changed:function(e){return t.network.name=e}}}):t._e(),t._v(" "),a("section",{staticClass:"split-inputs"},[a("Input",{staticStyle:{flex:"2","margin-bottom":"0"},attrs:{label:t.$t("editNetwork.host"),placeholder:"127.0.0.1",text:t.network.host},on:{changed:function(e){return t.network.host=e}}}),t._v(" "),a("section",{staticStyle:{flex:"1"}},[a("label",[t._v(t._s(t.$t("editNetwork.protocol")))]),t._v(" "),a("Select",{staticStyle:{flex:"1","margin-top":"12px"},attrs:{bordered:"1",selected:t.network.protocol,options:["http","https"]},on:{selected:function(e){return t.network.protocol=e}}})],1),t._v(" "),a("Input",{staticStyle:{flex:"1","margin-bottom":"0"},attrs:{label:t.$t("editNetwork.port"),placeholder:"443",type:"number",text:t.network.port>0?t.network.port:""},on:{changed:function(e){return t.network.port=e}}})],1),t._v(" "),a("br"),t._v(" "),a("Input",{attrs:{label:t.$t("generic.chain_id"),disabled:!t.isNew,placeholder:"x...",text:t.network.chainId,"dynamic-button":t.isNew?"icon-globe-1":null,"dynamic-tooltip":t.$t("editNetwork.chainIdTooltip"),copy:!t.isNew},on:{dynamic:t.fetchChainId,changed:function(e){return t.network.chainId=e}}}),t._v(" "),t.brandNew?t._e():a("section",{staticStyle:{"text-align":"right"}},[a("Button",{attrs:{text:t.$t("editNetwork.update"),blue:"1"},nativeOn:{click:function(e){return t.$emit("save")}}})],1)],1):t._e(),t._v(" "),t.state===t.STATES.TOKEN?a("section",[t.network&&(t.isNew||t.network.token)?a("section",{staticStyle:{"margin-top":"10px","text-align":"left"}},[t.isNew?a("section",{staticClass:"custom-token-info"},[a("section",{staticStyle:{"padding-right":"50px"}},[a("label",[t._v(t._s(t.$t("editNetwork.systemTokenTitle")))]),t._v(" "),a("p",[t._v(t._s(t.$t("editNetwork.systemTokenDescription")))])]),t._v(" "),a("Switcher",{staticStyle:{flex:"0 0 auto"},attrs:{state:t.network.token},on:{switched:t.useCustomToken}})],1):t._e(),t._v(" "),t.canEditOrShowToken?a("section",[t.network.token?a("section",{staticClass:"split-inputs"},[a("Input",{staticStyle:{flex:"1","margin-bottom":"0"},attrs:{placeholder:t.contractPlaceholder,text:t.network.token.contract,disabled:!t.isNew,label:t.$tc("generic.contracts",1)},on:{changed:function(e){return t.network.token.contract=e}}}),t._v(" "),a("Input",{staticStyle:{flex:"0.5","margin-bottom":"0"},attrs:{placeholder:"XXX",label:t.$t("generic.symbol"),text:t.network.token.symbol,disabled:!t.isNew},on:{changed:function(e){return t.network.token.symbol=e}}}),t._v(" "),a("Input",{staticStyle:{flex:"0.5","margin-bottom":"0"},attrs:{placeholder:"4",type:"number",label:t.$t("generic.decimals"),disabled:!t.isNew,text:t.network.token.decimals},on:{changed:function(e){return t.network.token.decimals=e}}})],1):t._e()]):t._e()]):t._e()]):t._e()]):t._e()])}),[],!1,null,"2624d6fb",null).exports),je={components:{EditNetwork:Ke},data:()=>({expandedUnique:null,expanded:null,knownNetworks:[],test:!1,blockchains:kt.BlockchainsArray.map(t=>t.value),selectedBlockchain:null,unreachable:{}}),computed:{...Object(y.c)(["networks","accounts"]),visibleNetworks(){return this.networksFor(this.selectedBlockchain).sort((t,e)=>{const a=yt.a.plugin(this.selectedBlockchain).getEndorsedNetwork(),i=a.unique()===e.unique()?1:a.unique()===t.unique()?-1:0;let n=t.namee.name?1:0;return i||n})}},created(){this.init()},methods:{async init(){this.isMobile||(this.selectedBlockchain=this.blockchains[0]),this.setWorkingScreen(!0),this.knownNetworks=await Promise.race([new Promise(t=>setTimeout(()=>t([]),2e3)),Object(Ie.GET)("networks?flat=true").then(t=>t.map(t=>Re.a.fromJson(t))).catch(()=>[])]),this.setWorkingScreen(!1),this.networks.map(async t=>{await this.checkReachable(t)})},cantReach(t){return this.unreachable[t.unique()]},isCustom(t){return!this.networksFor(t.blockchain,!1).find(e=>e.unique()===t.unique())},selectBlockchain(t){this.selectedBlockchain=t,this.expanded=null},isEnabled(t){return!!this.networks.find(e=>e.unique()===t.unique())},async toggleNetwork(t){this.setWorkingScreen(!0),this.isEnabled(t)?await Be.a.removeNetwork(t):(await Be.a.addNetwork(t),await Jt.a.importAllAccountsForNetwork(t)),this.setWorkingScreen(!1)},toggleExpansion(t){if(this.expanded&&this.expanded.unique()===t.unique())return this.expandedUnique=null,this.expanded=null;this.expandedUnique=t.unique(),this.expanded=t.clone()},networkJson(t){const e=t.clone();return delete e.id,delete e.createdAt,e.fromOrigin||delete e.fromOrigin,e.token?(delete e.token.id,delete e.token.amount,delete e.token.unusable,delete e.token.fromOrigin,delete e.token.createdAt):delete e.token,e},networksFor(t,e=!0){const a=(()=>{const e=yt.a.plugin(t).getEndorsedNetwork();return this.networks.find(t=>t.unique()===e.unique())?[]:[e]})(),i=e?this.networks.filter(e=>e.blockchain===t):[],n=this.knownNetworks.filter(e=>e.blockchain===t);return a.concat(i).concat(n).reduce((t,e)=>(t.find(t=>t.unique()===e.unique())||t.push(e),t),[])},async saveNetwork(){await Be.a.updateNetwork(this.expanded),this.expanded=null,this.expandedUnique=null},addCustomNetwork(){b.a.push(i.a.addCustomNetwork(this.selectedBlockchain,async t=>{t&&this.checkReachable(t)}))},async checkReachable(t){await yt.a.plugin(t.blockchain).checkNetwork(t)||(this.unreachable[t.unique()]=!0,this.$forceUpdate())}}},Fe=(a("fpPZ"),Object(T.a)(je,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"blockchain-list-container"},[t.isMobile&&t.selectedBlockchain?t._e():a("section",{staticClass:"blockchains",class:{"full-width":t.isMobile}},[a("section",{staticClass:"head"},[t._v("\n\t\t\t"+t._s(t.$t("generic.selectBlockchain"))+"\n\t\t")]),t._v(" "),a("section",{staticClass:"scroller"},[a("section",{staticClass:"blockchain-list"},t._l(t.blockchains,(function(e){return a("section",{staticClass:"badge-item hoverable",class:{active:t.selectedBlockchain===e},on:{click:function(a){return t.selectBlockchain(e)}}},[a("figure",{staticClass:"badge iconed",class:"token-"+e+"-"+e}),t._v(" "),a("section",{staticClass:"details"},[a("figure",{staticClass:"title"},[t._v(t._s(t.blockchainName(e)))]),t._v(" "),a("figure",{staticClass:"row"},[a("figure",{staticClass:"secondary"},[t._v(t._s(t.networksFor(e).length)+" "+t._s(t.$tc("generic.networks",t.networksFor(e).length)))])])]),t._v(" "),a("i",{staticClass:"fal fa-chevron-right"})])})),0)])]),t._v(" "),!t.isMobile||t.selectedBlockchain?a("section",{staticClass:"list-container"},[a("section",{staticClass:"head"},[t.isMobile?a("figure",{staticClass:"back-button",on:{click:function(e){return t.selectBlockchain(null)}}},[a("i",{staticClass:"fal fa-arrow-left"})]):t._e(),t._v("\n\t\t\t"+t._s(t.$tc("generic.networks",2))+"\n\t\t")]),t._v(" "),a("section",{staticClass:"scroller with-tail"},[a("section",{staticClass:"item-list"},t._l(t.visibleNetworks,(function(e){return a("section",{staticClass:"item"},[a("section",{staticClass:"basics",class:{open:t.expanded&&t.expanded.unique()===e.unique()}},[a("figure",{staticClass:"chevron",on:{click:function(a){return t.toggleExpansion(e)}}},[a("i",{staticClass:"fas fa-caret-circle-up"})]),t._v(" "),a("section",{staticClass:"details",on:{click:function(a){return t.toggleExpansion(e)}}},[a("figure",{staticClass:"name"},[t._v(t._s(e.name))]),t._v(" "),a("figure",{staticClass:"text"},[t._v(t._s(e.host))]),t._v(" "),t.cantReach(e)?a("figure",{staticClass:"connection-error"},[a("i",{staticClass:"icon-attention"}),t._v(" "+t._s(t.$t("networks.connectionError"))+"\n\t\t\t\t\t\t\t")]):t._e()]),t._v(" "),a("section",{staticClass:"actions"},[a("figure",{staticClass:"system-token"},[t._v(t._s(e.systemToken().symbol))]),t._v(" "),t.isCustom(e)?t._e():a("Switcher",{staticClass:"switch",attrs:{state:t.isEnabled(e)},on:{switched:function(a){return t.toggleNetwork(e)}}}),t._v(" "),t.isCustom(e)?a("Button",{attrs:{blue:"1",text:t.$t("generic.remove")},nativeOn:{click:function(a){return t.toggleNetwork(e)}}}):t._e()],1)]),t._v(" "),t.expandedUnique===e.unique()?a("section",{staticClass:"expanded"},[t.isEnabled(e)?a("EditNetwork",{attrs:{original:t.expanded},on:{updated:function(e){return t.expanded=e},save:t.saveNetwork}}):a("pre",[t._v(t._s(t.networkJson(e)))])],1):t._e()])})),0)]),t._v(" "),a("section",{staticClass:"tail"},[a("Button",{attrs:{text:"Add custom network",blue:"1"},nativeOn:{click:function(e){return t.addCustomNetwork(e)}}})],1)]):t._e()])}),[],!1,null,"7fbd8541",null).exports),Me=a("I2xi"),qe=a.n(Me),ze=a("hS4g"),Ue=a.n(ze),He={props:["original","brandNew"],data:()=>({contact:null}),mounted(){this.contact=this.original?this.original.clone():Ue.a.placeholder()},computed:{...Object(y.c)(["contacts"]),isNew(){return!!this.contact&&(!!this.brandNew||!this.contacts.find(t=>t.id===this.contact.id))},recipientError(){return 0===this.contact.recipient.trim().length?null:qe.a.validate(this.contact.blockchain,this.contact.recipient)?null:"Are you sure this is correct?"}},watch:{contact(){this.$emit("updated",this.contact)}}},Ye=(a("8hoh"),Object(T.a)(He,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[t.contact?a("section",{staticClass:"edit-contact"},[a("section",[a("Input",{attrs:{label:t.$t("generic.name"),placeholder:t.$t("editNetwork.memorableName"),text:t.contact.name},on:{changed:function(e){return t.contact.name=e}}}),t._v(" "),a("Input",{attrs:{error:t.recipientError,label:t.$t("generic.addressOrAccount"),placeholder:"...",text:t.contact.recipient},on:{changed:function(e){return t.contact.recipient=e}}}),t._v(" "),a("br"),t._v(" "),t.brandNew?t._e():a("section",{staticStyle:{"text-align":"right"}},[a("Button",{attrs:{text:t.$t("editNetwork.update"),blue:"1"},nativeOn:{click:function(e){return t.$emit("save")}}})],1)],1)]):t._e()])}),[],!1,null,"0a9766d9",null).exports),We={components:{EditContact:Ye,SearchAndFilter:Ot,EditNetwork:Ke},props:["asSelector"],data:()=>({terms:"",expandedUnique:null,expanded:null,knownNetworks:[],test:!1,blockchains:kt.BlockchainsArray.map(t=>t.value),selectedBlockchain:null,unreachable:{}}),computed:{...Object(y.c)(["networks","accounts","contacts"]),visibleContacts(){return this.contactsFor(this.selectedBlockchain).filter(t=>!this.terms.length||(t.name.toLowerCase().indexOf(this.terms)>-1||t.recipient.toLowerCase().indexOf(this.terms)>-1))}},created(){this.isMobile||(this.selectedBlockchain=this.blockchains[0])},methods:{async removeContact(t){await qe.a.remove(t)},sendContact(t){this.$router.push({name:this.RouteNames.TRANSFER,query:{recipient:t.id}})},blockchainIcon:t=>kt.BlockchainsArray.map(t=>t.value).includes(t)?`token-${t}-${t}`:"icon-network",isCustom(t){return!this.contactsFor(t.blockchain).find(e=>e.unique()===t.unique())},selectBlockchain(t){this.selectedBlockchain=t,this.expanded=null,this.terms=""},toggleExpansion(t){if(this.expanded&&this.expanded.unique()===t.unique())return this.expandedUnique=null,this.expanded=null;this.expandedUnique=t.unique(),this.expanded=t.clone()},contactsFor(t){return this.contacts.filter(e=>e.blockchain===t)},async saveContact(){await qe.a.addOrUpdate(this.expanded)&&(this.expanded=null,this.expandedUnique=null)},addNewContact(){b.a.push(i.a.addNewContact(this.selectedBlockchain,async t=>{}))}}},Ge=(a("c2MZ"),Object(T.a)(We,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"blockchain-list-container"},[t.isMobile&&t.selectedBlockchain?t._e():a("section",{staticClass:"blockchains",class:{"full-width":t.isMobile}},[a("section",{staticClass:"head"},[t._v("\n\t\t\t"+t._s(t.$t("generic.selectBlockchain"))+"\n\t\t")]),t._v(" "),a("section",{staticClass:"scroller"},[a("section",{staticClass:"blockchain-list"},t._l(t.blockchains,(function(e){return a("section",{staticClass:"badge-item hoverable",class:{active:t.selectedBlockchain===e},on:{click:function(a){return t.selectBlockchain(e)}}},[a("figure",{staticClass:"badge iconed",class:t.blockchainIcon(e)}),t._v(" "),a("section",{staticClass:"details"},[a("figure",{staticClass:"title"},[t._v(t._s(t.blockchainName(e)))]),t._v(" "),a("figure",{staticClass:"row"},[a("figure",{staticClass:"secondary"},[t._v(t._s(t.contactsFor(e).length)+" "+t._s(t.$tc("generic.contacts",t.contactsFor(e).length)))])])]),t._v(" "),a("i",{staticClass:"fal fa-chevron-right"})])})),0)])]),t._v(" "),!t.isMobile||t.selectedBlockchain?a("section",{staticClass:"list-container"},[a("section",{staticClass:"head"},[t.isMobile?a("figure",{staticClass:"back-button",on:{click:function(e){return t.selectBlockchain(null)}}},[a("i",{staticClass:"fal fa-arrow-left"})]):t._e(),t._v("\n\t\t\t"+t._s(t.blockchainName(t.selectedBlockchain))+" "+t._s(t.$tc("generic.contacts",2))+"\n\t\t")]),t._v(" "),a("SearchAndFilter",{key:t.selectedBlockchain,attrs:{"full-search":"1"},on:{terms:function(e){return t.terms=e}}}),t._v(" "),a("section",{staticClass:"scroller with-tail with-search"},[a("section",{staticClass:"item-list"},t._l(t.visibleContacts,(function(e){return a("section",{staticClass:"item",on:{click:function(a){t.asSelector&&t.$emit("recipient",e.recipient)}}},[a("section",{staticClass:"basics",class:{open:t.expanded&&t.expanded.unique()===e.unique()}},[t.asSelector?t._e():a("figure",{staticClass:"chevron",on:{click:function(a){t.asSelector||t.toggleExpansion(e)}}},[a("i",{staticClass:"icon-right-open-big"})]),t._v(" "),a("section",{staticClass:"details",on:{click:function(a){t.asSelector||t.toggleExpansion(e)}}},[a("figure",{staticClass:"name"},[t._v(t._s(e.name))]),t._v(" "),a("figure",{staticClass:"text"},[t._v(t._s(e.recipient))])]),t._v(" "),t.asSelector?t._e():a("section",{staticClass:"actions"},[a("Button",{attrs:{text:t.$t("generic.remove")},nativeOn:{click:function(a){return t.removeContact(e)}}}),t._v(" "),a("Button",{attrs:{text:t.$t("generic.send"),blue:"1"},nativeOn:{click:function(a){return t.sendContact(e)}}})],1),t._v(" "),t.asSelector?a("section",{staticClass:"actions"},[a("Button",{attrs:{text:t.$t("generic.select"),blue:"1"}})],1):t._e()]),t._v(" "),t.expandedUnique===e.unique()?a("section",{staticClass:"expanded"},[a("EditContact",{attrs:{original:t.expanded},on:{updated:function(e){return t.expanded=e},save:t.saveContact}})],1):t._e()])})),0)]),t._v(" "),a("section",{staticClass:"tail"},[a("Button",{attrs:{text:t.$t("generic.add"),blue:"1"},nativeOn:{click:function(e){return t.addNewContact(e)}}})],1)],1):t._e()])}),[],!1,null,"281fcfea",null).exports),Ve={components:{Contacts:Ge}},Ze=(a("b95J"),Object(T.a)(Ve,(function(){var t=this.$createElement;return(this._self._c||t)("Contacts")}),[],!1,null,"32dd77f8",null).exports),Je=a("SDtL"),Xe=a.n(Je),Qe=a("EY8S"),ta=a.n(Qe),ea=a("bcyO");let aa;var ia={data:()=>({identity:null,fullname:"",availableIdentity:!1,loadingRidlData:!1}),computed:{...Object(y.d)(["scatter"]),...Object(y.c)(["identities","locations","avatars","accounts"]),labelStyles:()=>({style:"color:#444; margin-bottom:0;"}),isValidName(){return this.identity&&ta.a.nameIsValid(this.identity.name)},nameExists(){return this.identities.find(t=>t.id!==this.identity.id&&t.name.toLowerCase()===this.identity.name.toLowerCase())},nameError(){return this.isValidName?!!this.nameExists&&"This name exists.":"This name is invalid."},selectedLocation(){return this.locations.find(t=>t.id===this.identity.location)},avatar(){if(this.identity)return this.avatars[this.identity.id]},ridlAccount(){return this.accounts.find(t=>t.networkUnique===ea.b.networkUnique())},identityIsAvailable(){return!this.availableIdentity},identityNotAvailable(){return this.availableIdentity&&this.availableIdentity.key!==this.identity.publicKey},identityIsClaimable(){return!!this.availableIdentity&&(this.availableIdentity.key===this.identity.publicKey&&"ridlridlridl"===this.availableIdentity.account)},identityIsUsable(){return this.availableIdentity&&this.ridlAccount&&this.availableIdentity.key===this.identity.publicKey&&this.availableIdentity.account===this.ridlAccount.name},identityIsOnWrongAccount(){return this.availableIdentity&&this.ridlAccount&&this.availableIdentity.key===this.identity.publicKey&&this.availableIdentity.account!==this.ridlAccount.name},identityIsOnWrongKey(){return this.availableIdentity&&this.ridlAccount&&this.availableIdentity.key!==this.identity.publicKey&&this.availableIdentity.account===this.ridlAccount.name},isUsingIdentity(){return!!this.availableIdentity&&this.availableIdentity.id===this.identity.ridl}},mounted(){this.selectIdentity(this.identities[0])},methods:{selectIdentity(t){this.identity=t?t.clone():null,this.fullname=[this.identity.personal.firstname,this.identity.personal.lastname].filter(t=>t&&t.length).join(" ")},addIdentity(){const t=this.scatter.clone(),e=ta.a.placeholder();e.name=`ID-${Xe.a.text(4)}`,t.keychain.updateOrPushIdentity(e),this[E.SET_SCATTER](t),this.selectIdentity(e)},removeIdentity(){b.a.push(i.a.prompt(this.$t("identities.removing.title"),this.$t("identities.removing.description",this.identity.name),t=>{if(!t)return;const e=this.identity.clone();this.identity=this.identities.filter(t=>t.id!==e.id)[0];const a=this.scatter.clone();a.keychain.removeIdentity(e),this[E.SET_SCATTER](a)},!0))},async removeAvatar(){const t=this.scatter.clone();delete t.keychain.avatars[this.identity.id],this[E.SET_SCATTER](t)},async uploadAvatar(){let t=await window.wallet.storage.getFileLocation(["jpg","png","jpeg"]);if(!t||!t.length)return;let e=(t=t[0]).split(".");e=e[e.length-1];const a=await window.wallet.storage.openFile(t,{encoding:"base64"});if(!a)return b.a.push(i.a.snackbar("Error converting image file."));const n=document.createElement("canvas"),s=n.getContext("2d"),o=new Image;o.onload=t=>{const a=()=>{const t=Math.min(350/o.width,350/o.height);return{width:Math.round(o.width*t),height:Math.round(o.height*t)}};n.height=a().height,n.width=a().width,s.drawImage(o,0,0,o.width,o.height,0,0,a().width,a().height);const i=new Image;i.src=n.toDataURL(`image/${e}`);const r=this.scatter.clone();r.keychain.avatars[this.identity.id]=i.src,this[E.SET_SCATTER](r)},o.src=`data:image/${e};base64, ${a}`},changeSecurityKey(){b.a.push(i.a.verifyPassword(t=>{t&&b.a.push(i.a.changeIdentityKey(this.identity,t=>{t&&(this.selectIdentity(this.identities.find(t=>t.id===this.identity.id)),this.identity.ridl=-1)}))}))},async updateRidlKey(){this.loadingRidlData||(this.loadingRidlData=!0,await ea.b.changeKey(this.identity.name,this.identity.publicKey)?setTimeout(async()=>{this.availableIdentity=await ea.b.identityNameIsAvailable(this.identity.name),this.useRidlIdentity(!0),this.loadingRidlData=!1},1e3):this.loadingRidlData=!1)},async updateRidlAccount(){if(this.loadingRidlData)return;this.loadingRidlData=!0;await ea.b.changeAccount(this.identity.name,this.ridlAccount.name);this.loadingRidlData=!1},async registerForRIDL(){if(this.loadingRidlData)return;const t=this.identity.name,e=await ea.b.identityNameIsAvailable(t);let a;if(!(a=await ea.b.getAccount())&&!(a=await ea.b.createAccount()))return console.error("Could not create account.");if(this.loadingRidlData=!0,e){const t=await ea.b.claim(this.identity.name,this.identity.publicKey).catch(()=>null);if(this.loadingRidlData=!1,!t)return b.a.push(i.a.snackbar("Could not claim identity."));this.identity.ridl=this.availableIdentity.id}else{const e=await ea.b.identify(t,this.identity.publicKey).catch(()=>null);if(this.loadingRidlData=!1,!e)return b.a.push(i.a.snackbar("Could not identify identity."));this.identity.ridl=e.id,this.availableIdentity=e}},async useRidlIdentity(t=!1){!t&&this.loadingRidlData||(this.identity.ridl=this.availableIdentity.id)},async stopUsingRidlIdentity(){this.identity.ridl=-1},save(){if(!this.identity)return;const t=this.identities.find(t=>t.id===this.identity.id);if(t&&JSON.stringify(t)===JSON.stringify(this.identity))return;if(!this.isValidName)return;if(this.nameExists)return;const e=this.scatter.clone();e.keychain.updateOrPushIdentity(this.identity),this[E.SET_SCATTER](e)},...Object(y.b)([E.SET_SCATTER])},watch:{fullname(){if(!this.fullname.trim().length)return this.identity.personal.firstname="",this.identity.personal.lastname="",!1;const t=this.fullname.trim().split(" ");this.identity.personal.firstname=t.slice(0,t.length>1?t.length-1:1).join(" ").trim(),this.identity.personal.lastname=t.length>1?t[t.length-1].trim():""},identity:{handler(){clearTimeout(aa),aa=setTimeout(()=>{this.save()},500)},deep:!0},async"identity.name"(){}}},na=(a("mTqA"),Object(T.a)(ia,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[t.identity?a("section",{staticClass:"blockchain-list-container"},[t.isMobile&&t.identity?t._e():a("section",{staticClass:"blockchains",class:{"full-width":t.isMobile}},[a("section",{staticClass:"head with-button"},[a("figure",[t._v(t._s(t.$t("identities.identities")))]),t._v(" "),a("Button",{attrs:{text:t.$t("generic.add")},nativeOn:{click:function(e){return t.addIdentity(e)}}})],1),t._v(" "),a("section",{staticClass:"scroller"},[a("section",{staticClass:"blockchain-list"},t._l(t.identities,(function(e){return a("section",{staticClass:"badge-item hoverable",class:{active:t.identity.id===e.id},on:{click:function(a){return t.selectIdentity(e)}}},[a("figure",{staticClass:"badge iconed small icon-user"}),t._v(" "),a("section",{staticClass:"details"},[a("figure",{staticClass:"title"},[t._v(t._s(e.name))])])])})),0)])]),t._v(" "),t.identity?a("section",{staticClass:"list-container"},[a("section",{staticClass:"head with-button"},[a("figure",[t.isMobile?a("figure",{staticClass:"back-button",on:{click:function(e){return t.selectIdentity(null)}}},[a("i",{staticClass:"fal fa-arrow-left"})]):t._e()]),t._v(" "),t.identities.length>1?a("Button",{attrs:{text:t.$t("generic.remove")},nativeOn:{click:function(e){return t.removeIdentity(e)}}}):t._e()],1),t._v(" "),a("section",{staticClass:"scroller identity"},[a("section",{staticClass:"id-card"},[t._m(0),t._v(" "),a("section",{staticClass:"card"},[a("section",{staticClass:"avatar",class:{"has-image":t.scatter.keychain.avatars[t.identity.id]}},[t.avatar?a("figure",{staticClass:"image",style:"background-image:url('"+t.avatar+"')"}):a("img",{attrs:{src:"static/assets/id_card_avatar.png"}}),t._v(" "),a("figure",{staticClass:"upload"},[t.scatter.keychain.avatars[t.identity.id]?a("figure",{directives:[{name:"tooltip",rawName:"v-tooltip",value:"Remove",expression:"'Remove'"}],staticClass:"icon icon-cancel",on:{click:t.removeAvatar}}):t._e(),t._v(" "),a("figure",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.scatter.keychain.avatars[t.identity.id]?"Change":"Add an Image",expression:"scatter.keychain.avatars[identity.id] ? 'Change' : 'Add an Image'"}],staticClass:"icon icon-plus",on:{click:t.uploadAvatar}})])]),t._v(" "),a("section",{staticClass:"personal"},[t._m(1),t._v(" "),a("section",{staticClass:"inputs"},[a("Input",{attrs:{"label-styles":t.labelStyles,label:t.$t("identities.personal.nameLabel"),placeholder:t.$t("identities.personal.namePlaceholder"),text:t.fullname},on:{changed:function(e){return t.fullname=e}}}),t._v(" "),a("Input",{staticStyle:{flex:"1"},attrs:{"label-styles":t.labelStyles,small:"1",label:t.$t("identities.personal.emailLabel"),placeholder:"support@get-scatter.com",text:t.identity.personal.email},on:{changed:function(e){return t.identity.personal.email=e}}}),t._v(" "),a("Input",{staticStyle:{flex:"0.4","margin-top":"15px"},attrs:{"label-styles":t.labelStyles,small:"1",label:t.$t("identities.personal.dobLabel"),type:"date",placeholder:"MM/DD/YYYY",text:t.identity.personal.birthdate},on:{changed:function(e){return t.identity.personal.birthdate=e}}})],1)])])]),t._v(" "),a("section",{staticClass:"id-details limit-800"},[a("figure",{staticClass:"section-title"},[t._v(t._s(t.$t("identities.id.nameLabel")))]),t._v(" "),a("Input",{attrs:{error:t.nameError,big:"1",placeholder:t.$t("identities.id.namePlaceholder"),text:t.identity.name},on:{changed:function(e){return t.identity.name=e}}}),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("figure",{staticClass:"section-title"},[t._v(t._s(t.$t("identities.location.title")))]),t._v(" "),a("Select",{attrs:{bordered:"1",options:[null].concat(t.locations),parser:function(e){return e?e.name:t.$t("identities.location.noneSelected")},selected:t.selectedLocation},on:{selected:function(e){return t.identity.location=e?e.id:null}}}),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("figure",{staticClass:"section-title"},[t._v(t._s(t.$t("identities.auth.title")))]),t._v(" "),a("p",[t._v(t._s(t.$t("identities.auth.description")))]),t._v(" "),a("section",{staticClass:"split-inputs"},[a("section",{staticStyle:{flex:"1"}},[a("Input",{staticStyle:{margin:"0"},attrs:{text:t.identity.publicKey,disabled:"1",copy:"1"}})],1),t._v(" "),a("section",[a("Button",{attrs:{text:t.$t("identities.auth.changeButton")},nativeOn:{click:function(e){return t.changeSecurityKey(e)}}})],1)]),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("br")],1)])]):t._e()]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("figure",{staticClass:"bg"},[e("img",{attrs:{src:"static/assets/login_bg.jpg"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("figure",{staticClass:"bg"},[e("img",{attrs:{src:"static/assets/id_card_bg.png"}})])}],!1,null,"dc642456",null).exports),sa=[{name:"United States",code:"US"},{name:"Canada",code:"CA"},{name:"United Kingdom",code:"GB"},{name:"Australia",code:"AU"},{name:"Germany",code:"DE"},{name:"France",code:"FR"},{name:"Afghanistan",code:"AF"},{name:"Åland Islands",code:"AX"},{name:"Albania",code:"AL"},{name:"Algeria",code:"DZ"},{name:"American Samoa",code:"AS"},{name:"AndorrA",code:"AD"},{name:"Angola",code:"AO"},{name:"Anguilla",code:"AI"},{name:"Antarctica",code:"AQ"},{name:"Antigua and Barbuda",code:"AG"},{name:"Argentina",code:"AR"},{name:"Armenia",code:"AM"},{name:"Aruba",code:"AW"},{name:"Austria",code:"AT"},{name:"Azerbaijan",code:"AZ"},{name:"Bahamas",code:"BS"},{name:"Bahrain",code:"BH"},{name:"Bangladesh",code:"BD"},{name:"Barbados",code:"BB"},{name:"Belarus",code:"BY"},{name:"Belgium",code:"BE"},{name:"Belize",code:"BZ"},{name:"Benin",code:"BJ"},{name:"Bermuda",code:"BM"},{name:"Bhutan",code:"BT"},{name:"Bolivia",code:"BO"},{name:"Bosnia and Herzegovina",code:"BA"},{name:"Botswana",code:"BW"},{name:"Bouvet Island",code:"BV"},{name:"Brazil",code:"BR"},{name:"British Indian Ocean Territory",code:"IO"},{name:"Brunei Darussalam",code:"BN"},{name:"Bulgaria",code:"BG"},{name:"Burkina Faso",code:"BF"},{name:"Burundi",code:"BI"},{name:"Cambodia",code:"KH"},{name:"Cameroon",code:"CM"},{name:"Cape Verde",code:"CV"},{name:"Cayman Islands",code:"KY"},{name:"Central African Republic",code:"CF"},{name:"Chad",code:"TD"},{name:"Chile",code:"CL"},{name:"China",code:"CN"},{name:"Christmas Island",code:"CX"},{name:"Cocos (Keeling) Islands",code:"CC"},{name:"Colombia",code:"CO"},{name:"Comoros",code:"KM"},{name:"Congo",code:"CG"},{name:"Congo, The Democratic Republic of the",code:"CD"},{name:"Cook Islands",code:"CK"},{name:"Costa Rica",code:"CR"},{name:"Cote D'Ivoire",code:"CI"},{name:"Croatia",code:"HR"},{name:"Cuba",code:"CU"},{name:"Cyprus",code:"CY"},{name:"Czech Republic",code:"CZ"},{name:"Denmark",code:"DK"},{name:"Djibouti",code:"DJ"},{name:"Dominica",code:"DM"},{name:"Dominican Republic",code:"DO"},{name:"Ecuador",code:"EC"},{name:"Egypt",code:"EG"},{name:"El Salvador",code:"SV"},{name:"Equatorial Guinea",code:"GQ"},{name:"Eritrea",code:"ER"},{name:"Estonia",code:"EE"},{name:"Ethiopia",code:"ET"},{name:"Falkland Islands (Malvinas)",code:"FK"},{name:"Faroe Islands",code:"FO"},{name:"Fiji",code:"FJ"},{name:"Finland",code:"FI"},{name:"French Guiana",code:"GF"},{name:"French Polynesia",code:"PF"},{name:"French Southern Territories",code:"TF"},{name:"Gabon",code:"GA"},{name:"Gambia",code:"GM"},{name:"Georgia",code:"GE"},{name:"Ghana",code:"GH"},{name:"Gibraltar",code:"GI"},{name:"Greece",code:"GR"},{name:"Greenland",code:"GL"},{name:"Grenada",code:"GD"},{name:"Guadeloupe",code:"GP"},{name:"Guam",code:"GU"},{name:"Guatemala",code:"GT"},{name:"Guernsey",code:"GG"},{name:"Guinea",code:"GN"},{name:"Guinea-Bissau",code:"GW"},{name:"Guyana",code:"GY"},{name:"Haiti",code:"HT"},{name:"Heard Island and Mcdonald Islands",code:"HM"},{name:"Holy See (Vatican City State)",code:"VA"},{name:"Honduras",code:"HN"},{name:"Hong Kong",code:"HK"},{name:"Hungary",code:"HU"},{name:"Iceland",code:"IS"},{name:"India",code:"IN"},{name:"Indonesia",code:"ID"},{name:"Iran, Islamic Republic Of",code:"IR"},{name:"Iraq",code:"IQ"},{name:"Ireland",code:"IE"},{name:"Isle of Man",code:"IM"},{name:"Israel",code:"IL"},{name:"Italy",code:"IT"},{name:"Jamaica",code:"JM"},{name:"Japan",code:"JP"},{name:"Jersey",code:"JE"},{name:"Jordan",code:"JO"},{name:"Kazakhstan",code:"KZ"},{name:"Kenya",code:"KE"},{name:"Kiribati",code:"KI"},{name:"Korea, Democratic People'S Republic of",code:"KP"},{name:"Korea, Republic of",code:"KR"},{name:"Kuwait",code:"KW"},{name:"Kyrgyzstan",code:"KG"},{name:"Lao People'S Democratic Republic",code:"LA"},{name:"Latvia",code:"LV"},{name:"Lebanon",code:"LB"},{name:"Lesotho",code:"LS"},{name:"Liberia",code:"LR"},{name:"Libyan Arab Jamahiriya",code:"LY"},{name:"Liechtenstein",code:"LI"},{name:"Lithuania",code:"LT"},{name:"Luxembourg",code:"LU"},{name:"Macao",code:"MO"},{name:"Macedonia, The Former Yugoslav Republic of",code:"MK"},{name:"Madagascar",code:"MG"},{name:"Malawi",code:"MW"},{name:"Malaysia",code:"MY"},{name:"Maldives",code:"MV"},{name:"Mali",code:"ML"},{name:"Malta",code:"MT"},{name:"Marshall Islands",code:"MH"},{name:"Martinique",code:"MQ"},{name:"Mauritania",code:"MR"},{name:"Mauritius",code:"MU"},{name:"Mayotte",code:"YT"},{name:"Mexico",code:"MX"},{name:"Micronesia, Federated States of",code:"FM"},{name:"Moldova, Republic of",code:"MD"},{name:"Monaco",code:"MC"},{name:"Mongolia",code:"MN"},{name:"Montenegro",code:"ME"},{name:"Montserrat",code:"MS"},{name:"Morocco",code:"MA"},{name:"Mozambique",code:"MZ"},{name:"Myanmar",code:"MM"},{name:"Namibia",code:"NA"},{name:"Nauru",code:"NR"},{name:"Nepal",code:"NP"},{name:"Netherlands",code:"NL"},{name:"Netherlands Antilles",code:"AN"},{name:"New Caledonia",code:"NC"},{name:"New Zealand",code:"NZ"},{name:"Nicaragua",code:"NI"},{name:"Niger",code:"NE"},{name:"Nigeria",code:"NG"},{name:"Niue",code:"NU"},{name:"Norfolk Island",code:"NF"},{name:"Northern Mariana Islands",code:"MP"},{name:"Norway",code:"NO"},{name:"Oman",code:"OM"},{name:"Pakistan",code:"PK"},{name:"Palau",code:"PW"},{name:"Palestinian Territory, Occupied",code:"PS"},{name:"Panama",code:"PA"},{name:"Papua New Guinea",code:"PG"},{name:"Paraguay",code:"PY"},{name:"Peru",code:"PE"},{name:"Philippines",code:"PH"},{name:"Pitcairn",code:"PN"},{name:"Poland",code:"PL"},{name:"Portugal",code:"PT"},{name:"Puerto Rico",code:"PR"},{name:"Qatar",code:"QA"},{name:"Reunion",code:"RE"},{name:"Romania",code:"RO"},{name:"Russian Federation",code:"RU"},{name:"RWANDA",code:"RW"},{name:"Saint Helena",code:"SH"},{name:"Saint Kitts and Nevis",code:"KN"},{name:"Saint Lucia",code:"LC"},{name:"Saint Pierre and Miquelon",code:"PM"},{name:"Saint Vincent and the Grenadines",code:"VC"},{name:"Samoa",code:"WS"},{name:"San Marino",code:"SM"},{name:"Sao Tome and Principe",code:"ST"},{name:"Saudi Arabia",code:"SA"},{name:"Senegal",code:"SN"},{name:"Serbia",code:"RS"},{name:"Seychelles",code:"SC"},{name:"Sierra Leone",code:"SL"},{name:"Singapore",code:"SG"},{name:"Slovakia",code:"SK"},{name:"Slovenia",code:"SI"},{name:"Solomon Islands",code:"SB"},{name:"Somalia",code:"SO"},{name:"South Africa",code:"ZA"},{name:"South Georgia and the South Sandwich Islands",code:"GS"},{name:"Spain",code:"ES"},{name:"Sri Lanka",code:"LK"},{name:"Sudan",code:"SD"},{name:"Suriname",code:"SR"},{name:"Svalbard and Jan Mayen",code:"SJ"},{name:"Swaziland",code:"SZ"},{name:"Sweden",code:"SE"},{name:"Switzerland",code:"CH"},{name:"Syrian Arab Republic",code:"SY"},{name:"Taiwan, Province of China",code:"TW"},{name:"Tajikistan",code:"TJ"},{name:"Tanzania, United Republic of",code:"TZ"},{name:"Thailand",code:"TH"},{name:"Timor-Leste",code:"TL"},{name:"Togo",code:"TG"},{name:"Tokelau",code:"TK"},{name:"Tonga",code:"TO"},{name:"Trinidad and Tobago",code:"TT"},{name:"Tunisia",code:"TN"},{name:"Turkey",code:"TR"},{name:"Turkmenistan",code:"TM"},{name:"Turks and Caicos Islands",code:"TC"},{name:"Tuvalu",code:"TV"},{name:"Uganda",code:"UG"},{name:"Ukraine",code:"UA"},{name:"United Arab Emirates",code:"AE"},{name:"United States Minor Outlying Islands",code:"UM"},{name:"Uruguay",code:"UY"},{name:"Uzbekistan",code:"UZ"},{name:"Vanuatu",code:"VU"},{name:"Venezuela",code:"VE"},{name:"Viet Nam",code:"VN"},{name:"Virgin Islands, British",code:"VG"},{name:"Virgin Islands, U.S.",code:"VI"},{name:"Wallis and Futuna",code:"WF"},{name:"Western Sahara",code:"EH"},{name:"Yemen",code:"YE"},{name:"Zambia",code:"ZM"},{name:"Zimbabwe",code:"ZW"}];let oa;var ra={data:()=>({location:null,countries:sa}),computed:{...Object(y.d)(["scatter"]),...Object(y.c)(["locations"]),isValidName(){if(this.location)return this.location.name.length},nameExists(){if(this.location)return this.locations.find(t=>t.id!==this.location.id&&t.name.toLowerCase()===this.location.name.toLowerCase())}},mounted(){this.locations.length?this.selectLocation(this.locations[0]):this.addLocation()},methods:{selectLocation(t){this.location=t?t.clone():null},addLocation(){const t=this.scatter.clone(),e=Qe.LocationInformation.placeholder();e.name=`New Location - ${(new Date).toLocaleString()}`,t.keychain.updateOrPushLocation(e),this[E.SET_SCATTER](t),this.location=e.clone()},removeLocation(){if(!this.location)return;const t=this.location.clone();this.selectLocation(this.locations.find(e=>e.id!==t.id));const e=this.scatter.clone();e.keychain.removeLocation(t),this[E.SET_SCATTER](e)},save(){if(!this.location)return;const t=this.locations.find(t=>t.id===this.location.id);if(t&&JSON.stringify(t)===JSON.stringify(this.location))return;if(!this.isValidName)return;if(this.nameExists)return;const e=this.scatter.clone();e.keychain.updateOrPushLocation(this.location),this[E.SET_SCATTER](e)},...Object(y.b)([E.SET_SCATTER])},watch:{location:{handler(){clearTimeout(oa),oa=setTimeout(()=>{this.save()},500)},deep:!0}}},ca=(a("zSdM"),Object(T.a)(ra,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[a("section",{staticClass:"blockchain-list-container"},[t.isMobile&&t.location?t._e():a("section",{staticClass:"blockchains",class:{"full-width":t.isMobile}},[a("section",{staticClass:"head with-button"},[a("figure",[t._v(t._s(t.$t("locations.locations")))]),t._v(" "),a("Button",{attrs:{text:t.$t("generic.add")},nativeOn:{click:function(e){return t.addLocation(e)}}})],1),t._v(" "),a("section",{staticClass:"scroller"},[a("section",{staticClass:"blockchain-list"},t._l(t.locations,(function(e){return a("section",{staticClass:"badge-item hoverable",class:{active:t.location&&t.location.id===e.id},on:{click:function(a){return t.selectLocation(e)}}},[a("figure",{staticClass:"badge iconed small icon-globe"}),t._v(" "),a("section",{staticClass:"details"},[a("figure",{staticClass:"title"},[t._v(t._s(e.name))])])])})),0)])]),t._v(" "),t.location?a("section",{staticClass:"list-container"},[a("section",{staticClass:"head with-button"},[a("figure",[t.isMobile?a("figure",{staticClass:"back-button",on:{click:function(e){return t.selectLocation(null)}}},[a("i",{staticClass:"fal fa-arrow-left"})]):t._e()]),t._v(" "),t.location&&t.locations.length>1?a("Button",{attrs:{text:t.$t("generic.remove")},nativeOn:{click:function(e){return t.removeLocation(e)}}}):t._e()],1),t._v(" "),t.location?a("section",{staticClass:"scroller location"},[a("section",{staticClass:"limit-800"},[a("figure",{staticClass:"section-title"},[t._v(t._s(t.$t("locations.nameLabel")))]),t._v(" "),a("Input",{attrs:{big:"1",placeholder:t.$t("locations.namePlaceholder"),text:t.location.name},on:{changed:function(e){return t.location.name=e}}}),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("figure",{staticClass:"section-title"},[t._v(t._s(t.$t("locations.countryLabel")))]),t._v(" "),a("Select",{staticStyle:{flex:"3"},attrs:{bordered:"1",label:t.$t("locations.countryLabel"),selected:t.location.country,options:[null].concat(t.countries),parser:function(e){return e?e.name:t.$t("locations.countryItemNone")}},on:{selected:function(e){return t.location.country=e}}}),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("figure",{staticClass:"section-title"},[t._v(t._s(t.$t("locations.addressLabel")))]),t._v(" "),a("Input",{attrs:{text:t.location.address},on:{changed:function(e){return t.location.address=e}}}),t._v(" "),a("section",{staticClass:"split-inputs"},[a("Input",{attrs:{label:t.$t("locations.cityLabel"),text:t.location.city},on:{changed:function(e){return t.location.city=e}}}),t._v(" "),a("Input",{attrs:{label:t.$t("locations.stateLabel"),text:t.location.state},on:{changed:function(e){return t.location.state=e}}})],1),t._v(" "),a("Input",{attrs:{label:t.$t("locations.phoneLabel"),placeholder:"5555555555",text:t.location.phone},on:{changed:function(e){return t.location.phone=e}}})],1)]):t._e()]):t._e()])])}),[],!1,null,"21ac8b26",null).exports),la=Object(T.a)({},(function(){var t=this.$createElement;return(this._self._c||t)("img",{attrs:{src:"static/assets/icon_exchange.png"}})}),[],!1,null,null,null).exports,da=Object(T.a)({},(function(){var t=this.$createElement;return(this._self._c||t)("img",{attrs:{src:"static/assets/icon_send.png"}})}),[],!1,null,null,null).exports,pa=a("EnWD"),ua={components:{TokenSymbol:Bt,SearchAndFilter:Ot,Exchange:la,Transfer:da},data:()=>({networkFilter:null,typeFilter:null,terms:"",loadingStatus:!1}),mounted(){this.history.map(t=>{const e="action"===t.type?t.account:t.from;this.keypairs.find(t=>t.unique()===e.keypairUnique)||this[E.DELTA_HISTORY](t)})},computed:{...Object(y.d)(["history"]),...Object(y.c)(["accounts","explorers","keypairs"]),filteredTokenHistories(){return this.history.filter(t=>[pa.HISTORY_TYPES.Transfer,pa.HISTORY_TYPES.Exchange].includes(t.type)).map(t=>{const e=t.type===pa.HISTORY_TYPES.Transfer?t.token:t.fromToken,a=t.type===pa.HISTORY_TYPES.Transfer?null:t.toToken,i=t.type===pa.HISTORY_TYPES.Transfer?t.amount:t.fromToken.amount,n=t.type===pa.HISTORY_TYPES.Transfer?null:t.orderDetails.expected;return{id:t.id,type:t.type,from:t.from,to:t.to,token:e,memo:t.memo,amount:i,toAmount:n,timestamp:t.timestamp,txid:t.txid,toToken:a,order:t.orderDetails,status:t.status}}).filter(t=>!this.networkFilter||t.from.network().unique()===this.networkFilter.unique()).filter(t=>!this.terms.length||(()=>t.from.sendable().toLowerCase().indexOf(this.terms)>-1||t.to.toLowerCase().indexOf(this.terms)>-1||t.token.symbol.toLowerCase().indexOf(this.terms)>-1||t.memo&&t.memo.toLowerCase().indexOf(this.terms)>-1)())},filteredActionHistories(){return this.history.filter(t=>[pa.HISTORY_TYPES.Action].includes(t.type)).map(t=>{const e=t.clone();return e.account=this.accounts.find(e=>e.unique()===t.account),e.account?(e.token=e.account.network().systemToken().clone(),e):null}).filter(t=>t).filter(t=>!this.networkFilter||t.account.network().unique()===this.networkFilter.unique()).filter(t=>!this.terms.length||(()=>t.account.sendable().toLowerCase().indexOf(this.terms)>-1||t.action.toLowerCase().indexOf(this.terms)>-1)())},allHistories(){return this.filteredTokenHistories.concat(this.filteredActionHistories).filter(t=>!this.typeFilter||t.type===this.typeFilter).sort((t,e)=>e.timestamp-t.timestamp)}},methods:{decimalsOrDefault:t=>t.decimals?t.decimals:PluginRepository.plugin(t.blockchain).defaultDecimals(),async refreshStatus(t){this.loadingStatus=!0;const e=this.history.find(e=>e.id===t);if(!e)return this.loadingStatus=!1;const a=await ye.a.orderStatus(e.orderDetails.id);e.status!==a&&(e.status=a,await this[E.UPDATE_HISTORY](e)),this.loadingStatus=!1},clearHistory(){b.a.push(i.a.prompt(this.$t("histories.clear.title"),this.$t("histories.clear.description"),t=>{t&&(this[E.DELTA_HISTORY](null),this.$router.push({name:this.RouteNames.HOME}))},!0))},view(t){const e=this.explorers[t.token.blockchain].parsed();this.openInBrowser(e.transaction(t.txid))},redo(t){t.type===pa.HISTORY_TYPES.Exchange?this.$router.push({name:this.RouteNames.EXCHANGE,query:{history:t.id}}):this.$router.push({name:this.RouteNames.TRANSFER,query:{history:t.id}})},...Object(y.b)([E.DELTA_HISTORY,E.UPDATE_HISTORY])}},ha=(a("Vdev"),Object(T.a)(ua,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"histories"},[a("SearchAndFilter",{on:{terms:function(e){return t.terms=e}}}),t._v(" "),a("section",{staticClass:"events"},t._l(t.allHistories,(function(e){return a("section",["transfer"===e.type||"exchange"===e.type?a("section",{staticClass:"event"},[a("TokenSymbol",{staticClass:"icon",attrs:{token:"transfer"===e.type?e.token:e.toToken}}),t._v(" "),a("section",{staticClass:"details"},["transfer"===e.type?a("figure",{staticClass:"title"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("histories.sent"))+" "+t._s(t.formatNumber(parseFloat(e.amount).toFixed(t.decimalsOrDefault(e.token)),!0))+" "+t._s(e.token.symbol)+"\n\t\t\t\t\t")]):t._e(),t._v(" "),"exchange"===e.type?a("figure",{staticClass:"title"},[a("figure",{staticClass:"exchange-from"},[t._v("Exchanged "+t._s(t.formatNumber(parseFloat(e.amount).toFixed(t.decimalsOrDefault(e.token)),!0))+" "+t._s(e.token.symbol))]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("histories.received"))+" "+t._s(t.formatNumber(parseFloat(e.toAmount).toFixed(t.decimalsOrDefault(e.toToken)),!0))+" "+t._s(e.toToken.symbol)+"\n\t\t\t\t\t")]):t._e(),t._v(" "),a("section",{staticClass:"row"},["exchange"===e.type?a("figure",{staticClass:"status",on:{click:function(a){return t.refreshStatus(e.id)}}},[t.loadingStatus?a("i",{staticClass:"icon-arrows-ccw animate-spin"}):a("span",[a("i",{staticClass:"icon-check"}),t._v(" "+t._s(e.status))])]):t._e(),t._v(" "),a("figure",{staticClass:"date"},[t._v(t._s(new Date(e.timestamp).toLocaleString()))])]),t._v(" "),e.memo&&e.memo.length?a("section",{staticClass:"row"},[a("figure",{staticClass:"memo"},[t._v(t._s(e.memo))])]):t._e()]),t._v(" "),a("section",{staticClass:"participants"},[a("section",{staticClass:"accounts"},[a("figure",{staticClass:"account blue"},[t._v(t._s(e.from.sendable()))]),t._v(" "),e.from.sendable()!==e.to?a("figure",{staticClass:"account"},[t._v(t._s(e.to))]):t._e()]),t._v(" "),e.from.network()?a("figure",{staticClass:"network"},[t._v(t._s(e.from.network().name))]):a("figure",{staticClass:"network"},[t._v(t._s(t.$t("histories.networkDisabled"))+" ("+t._s(e.from.networkUnique)+")")])]),t._v(" "),a("section",{staticClass:"actions"},[a("Button",{attrs:{text:t.$t("generic.view")},nativeOn:{click:function(a){return t.view(e)}}}),t._v(" "),a("Button",{attrs:{text:t.$t("generic.redo"),blue:"1"},nativeOn:{click:function(a){return t.redo(e)}}})],1)],1):t._e(),t._v(" "),"action"===e.type?a("section",{staticClass:"event"},[a("section",{staticClass:"details"},[a("figure",{staticClass:"title"},[t._v(t._s(e.action))]),t._v(" "),a("section",{staticClass:"row"},[a("figure",{staticClass:"date"},[t._v(t._s(new Date(e.timestamp).toLocaleString()))])])]),t._v(" "),a("section",{staticClass:"participants"},[a("section",{staticClass:"accounts"},[a("figure",{staticClass:"account blue"},[t._v(t._s(e.account.sendable()))])]),t._v(" "),a("figure",{staticClass:"network"},[t._v(t._s(e.account.network().name))])]),t._v(" "),a("section",{staticClass:"actions"},[a("Button",{attrs:{text:t.$t("generic.view")},nativeOn:{click:function(a){return t.view(e)}}})],1)]):t._e()])})),0),t._v(" "),a("section",{staticClass:"tail"},[a("Button",{attrs:{text:"Clear History",blue:"1"},nativeOn:{click:function(e){return t.clearHistory(e)}}})],1)],1)}),[],!1,null,"f0893e48",null).exports),fa=a("gbBq");class ma{static async appPath(){return window.wallet.storage.getDefaultPath()}static async openLink(t,e=!1){return window.wallet.utility.openLink(t,e)}static async copy(t){return b.a.push(i.a.snackbar("Copied Text")),window.wallet.utility.copy(t)}}var ba={data:()=>({dataPath:null}),computed:{...Object(y.d)(["scatter","ports"]),...Object(y.c)(["version","networks","language"]),showNotifications(){return this.scatter.settings.showNotifications},locales:()=>[{locale:"en",name:"English"},{locale:"zh",name:"Mandarin (普通話)"},{locale:"es",name:"Spanish (Español)"},{locale:"ko",name:"Korean (한국어)"},{locale:"ru",name:"Russian (русский)"}]},async mounted(){this.dataPath=await ma.appPath()},methods:{async toggleTestingMode(){this.testingMode?this[O.w](!1):b.a.push(i.a.verifyPassword(t=>{"i_am_testing"===t?this[O.w](!0):b.a.push(i.a.snackbar("You must get the password from the testing group!"))},!0))},async enableSimpleMode(){b.a.push(i.a.enableSimpleMode(async t=>{t&&(await window.wallet.storage.setSimpleMode(!0),await window.wallet.lock(),window.wallet.utility.reload(null,!0))}))},openFilePathLink(){this.openInBrowser(this.dataPath,!0)},openConsole(){window.wallet.utility.openTools(window.wallet.windowId)},async toggleNotifications(){const t=this.scatter.clone();t.settings.showNotifications=!t.settings.showNotifications,this[E.SET_SCATTER](t)},selectLanguage(t){const e=a("ST/w")(`./${t}`).default;this.$i18n.setLocaleMessage(t,e),this.$i18n.locale=t,window.wallet.storage.setLanguage(t)},...Object(y.b)([E.SET_SCATTER,O.p,O.w])}},ga=(a("wf+c"),Object(T.a)(ba,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[a("section",{staticClass:"action-box top-pad"},[a("label",[t._v(t._s(t.$t("settings.general.version")))]),t._v(" "),a("b",[t._v("Scatter Desktop v"+t._s(t.version))])]),t._v(" "),a("section",{staticClass:"action-box top-pad"},[a("label",[t._v(t._s(t.$t("settings.general.language")))]),t._v(" "),a("Select",{attrs:{bordered:"1",options:t.locales,selected:t.locales.find((function(e){return e.locale===t.$i18n.locale})),parser:function(t){return t.name}},on:{selected:function(e){return t.selectLanguage(e.locale)}}})],1),t._v(" "),a("section",{staticClass:"action-box top-pad"},[a("label",[t._v(t._s(t.$t("settings.general.notifications")))]),t._v(" "),a("p",[t._v(t._s(t.$t("settings.general.notificationsDescription")))]),t._v(" "),a("Switcher",{attrs:{state:t.showNotifications},nativeOn:{click:function(e){return t.toggleNotifications(e)}}})],1),t._v(" "),a("section",{staticClass:"action-box top-pad"},[a("label",[t._v(t._s(t.$t("settings.general.ports")))]),t._v(" "),a("p",[t._v(t._s(t.$t("settings.general.portsDescription")))]),t._v(" "),a("br"),t._v(" "),t.ports&&Object.keys(t.ports).length?a("section",t._l(t.ports,(function(e,i){return a("section",{staticClass:"port"},[t._v("\n "+t._s(i)+"\n "),e?a("figure",{staticClass:"ssl"},[t._v("SSL")]):t._e()])})),0):a("section",[t._v(t._s(t.$t("settings.general.noPorts")))])]),t._v(" "),t.dataPath?a("section",{staticClass:"action-box top-pad"},[a("label",[t._v(t._s(t.$t("settings.general.dataPath")))]),t._v(" "),a("p",[t._v(t._s(t.$t("settings.general.dataPathDescription")))]),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("Input",{staticStyle:{"margin-bottom":"0"},attrs:{"dynamic-button":"icon-folder-open-empty",disabled:"1",text:t.dataPath},on:{dynamic:t.openFilePathLink}})],1):t._e(),t._v(" "),a("section",{staticClass:"action-box top-pad"},[a("label",[t._v(t._s(t.$t("settings.general.devConsole")))]),t._v(" "),a("p",[t._v(t._s(t.$t("settings.general.devConsoleDescription")))]),t._v(" "),a("Button",{attrs:{text:t.$t("settings.general.devConsoleButton")},nativeOn:{click:function(e){return t.openConsole(e)}}})],1),t._v(" "),a("section",{staticClass:"action-box top-pad"},[a("label",[t._v(t._s(t.$t("settings.general.testingMode")))]),t._v(" "),a("p",[t._v(t._s(t.$t("settings.general.testingModeDescription")))]),t._v(" "),a("Button",{attrs:{text:t.$t("settings.general.testingModeButton")},nativeOn:{click:function(e){return t.openInBrowser("https://t.me/ScatterTesters")}}}),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("Switcher",{attrs:{state:t.testingMode},on:{switched:t.toggleTestingMode}})],1),t._v(" "),t.testingMode?a("section",{staticClass:"action-box top-pad"},[a("label",[t._v(t._s(t.$t("settings.general.simpleMode")))]),t._v(" "),a("p",[t._v(t._s(t.$t("settings.general.simpleModeDescription")))]),t._v(" "),a("Switcher",{attrs:{state:!1},on:{switched:t.enableSimpleMode}})],1):t._e()])}),[],!1,null,"2ddb9446",null).exports),va=a("RNqi");const xa={ADD_TOKEN:"addToken",WHITELIST:"whitelist",BLACKLIST:"blacklist",SETTINGS:"settings"};let ya;var ka={components:{TokenSymbol:Bt,SearchBar:va.a},data:()=>({state:xa.WHITELIST,STATES:xa,blockchain:null,blockchains:kt.BlockchainsArray,newToken:It.a.placeholder(),addingToken:!1,searchTerms:"",balanceFilters:{}}),mounted(){this.newToken.blockchain=kt.Blockchains.EOSIO,this.newToken.chainId=yt.a.plugin(kt.Blockchains.EOSIO).getEndorsedNetwork().chainId,this.balanceFilters=this.scatter.settings.balanceFilters},computed:{...Object(y.d)(["scatter"]),...Object(y.c)(["tokens","networks","blacklistTokens","displayToken","displayCurrency","hideMainBalance"]),visibleTokens(){return this.state===xa.BLACKLIST?this.blacklistTokens:this.tokens},contractPlaceholder(){return yt.a.plugin(this.newToken.blockchain).contractPlaceholder()},terms(){return this.searchTerms.trim().toLowerCase()},filteredNetworks(){return this.networks.filter(t=>t.blockchain===this.newToken.blockchain)}},methods:{filterTokensByTerms(t){return t.filter(t=>t.symbol.toLowerCase().indexOf(this.terms)>-1||t.name.toLowerCase().indexOf(this.terms)>-1||t.blockchain.toLowerCase().indexOf(this.terms)>-1||this.blockchainName(t.blockchain).toLowerCase().indexOf(this.terms)>-1)},defaultDecimals(t){const e=yt.a.plugin(t).defaultDecimals();let a="0.";for(let t=0;t{const t=this.scatter.clone();t.settings.balanceFilters=this.balanceFilters,this[E.SET_SCATTER](t)},500)}}},wa=(a("YHlr"),Object(T.a)(ka,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[a("section",{staticClass:"panel-switch"},[a("figure",{staticClass:"button",class:{active:t.state===t.STATES.ADD_TOKEN},on:{click:function(e){t.state=t.STATES.ADD_TOKEN}}},[t._v(t._s(t.$t("settings.tokens.switch.add")))]),t._v(" "),a("figure",{staticClass:"button",class:{active:t.state===t.STATES.WHITELIST},on:{click:function(e){t.state=t.STATES.WHITELIST}}},[t._v(t._s(t.$t("settings.tokens.switch.whitelist")))]),t._v(" "),a("figure",{staticClass:"button",class:{active:t.state===t.STATES.BLACKLIST},on:{click:function(e){t.state=t.STATES.BLACKLIST}}},[t._v(t._s(t.$t("settings.tokens.switch.blacklist")))]),t._v(" "),a("figure",{staticClass:"button",class:{active:t.state===t.STATES.SETTINGS},on:{click:function(e){t.state=t.STATES.SETTINGS}}},[t._v(t._s(t.$t("settings.tokens.switch.settings")))])]),t._v(" "),a("section",{staticClass:"scroller"},[t.state===t.STATES.ADD_TOKEN?a("section",[a("section",{staticClass:"split-inputs"},[a("section",{staticStyle:{flex:"1"}},[a("label",[t._v(t._s(t.$tc("generic.blockchains",1)))]),t._v(" "),a("Select",{attrs:{bordered:"1",selected:{value:t.newToken.blockchain},options:t.blockchains,parser:function(e){return t.blockchainName(e.value)}},on:{selected:function(e){return t.newToken.blockchain=e.value}}})],1),t._v(" "),a("section",{staticStyle:{flex:"1"}},[a("label",[t._v(t._s(t.$tc("generic.networks",1)))]),t._v(" "),a("Select",{attrs:{bordered:"1",selected:t.filteredNetworks.find((function(e){return e.chainId===t.newToken.chainId})),options:t.filteredNetworks,parser:function(t){return t.name}},on:{selected:function(e){return t.newToken.chainId=e.chainId}}})],1)]),t._v(" "),a("br"),t._v(" "),a("section",{staticClass:"split-inputs"},[a("section",{staticStyle:{flex:"1","margin-bottom":"0"}},[a("Input",{staticStyle:{"margin-bottom":"4px"},attrs:{label:t.$t("generic.name"),text:t.newToken.name},on:{changed:function(e){return t.newToken.name=e}}})],1),t._v(" "),a("Input",{staticStyle:{flex:"1","margin-bottom":"4px"},attrs:{placeholder:t.contractPlaceholder,label:t.$tc("generic.contracts",1),text:t.newToken.contract},on:{changed:function(e){return t.newToken.contract=e}}})],1),t._v(" "),a("br"),t._v(" "),a("section",{staticClass:"split-inputs"},[a("Input",{attrs:{placeholder:"XXX",label:t.$t("generic.symbol"),text:t.newToken.symbol},on:{changed:function(e){return t.newToken.symbol=e}}}),t._v(" "),a("Input",{attrs:{placeholder:"4",type:"number",label:t.$t("generic.decimals"),text:t.newToken.decimals},on:{changed:function(e){return t.newToken.decimals=e}}})],1),t._v(" "),a("section",{staticClass:"split-inputs"},[a("Button",{staticStyle:{"max-width":"100%"},attrs:{text:t.$t("settings.tokens.whitelistButton")},nativeOn:{click:function(e){return t.addToken(!1)}}}),t._v(" "),a("Button",{staticStyle:{"max-width":"100%"},attrs:{red:"1",text:t.$t("settings.tokens.blacklistButton")},nativeOn:{click:function(e){return t.addToken(!0)}}})],1)]):t._e(),t._v(" "),t.state===t.STATES.SETTINGS?a("section",[a("section",{staticClass:"action-box top-pad"},[a("label",[t._v(t._s(t.$t("settings.tokens.hidePrimaryBalance")))]),t._v(" "),a("p",[t._v(t._s(t.$t("settings.tokens.hidePrimaryBalanceDescription")))]),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("Switcher",{attrs:{state:t.hideMainBalance},nativeOn:{click:function(e){return t.toggleHiddenBalance(e)}}})],1),t._v(" "),a("section",{staticClass:"action-box top-pad"},[a("label",[t._v(t._s(t.$t("settings.tokens.filterSmallBalances")))]),t._v(" "),a("p",[t._v(t._s(t.$t("settings.tokens.filterSmallBalancesDescription")))]),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),t._l(t.blockchains,(function(e){return a("Input",{key:e.value,attrs:{placeholder:t.defaultDecimals(e.value),label:t.blockchainName(e.value),text:t.balanceFilters[e.value],type:"number"},on:{changed:function(a){return t.balanceFilters[e.value]=a}}})}))],2)]):t._e(),t._v(" "),t.state===t.STATES.WHITELIST||t.state===t.STATES.BLACKLIST?a("section",[t.visibleTokens.length?a("section",{staticClass:"tokens"},t._l(t.visibleTokens,(function(e){return a("section",{staticClass:"badge-item hoverable"},[a("TokenSymbol",{attrs:{token:e}}),t._v(" "),a("section",{staticClass:"details"},[a("figure",{staticClass:"title"},[e.amount?a("span",[t._v(t._s(t.formatNumber(e.amount,!0)))]):t._e(),t._v(" "+t._s(e.symbol))]),t._v(" "),a("figure",{staticClass:"row long"},[a("figure",{staticClass:"secondary"},[t._v(t._s(e.network().name)+" ("+t._s(t.blockchainName(e.blockchain))+")")]),t._v(" "),a("figure",{staticClass:"primary"},[t._v(t._s(e.contract))])])]),t._v(" "),a("section",{staticClass:"actions"},[a("Button",{attrs:{text:t.$t("generic.remove")},nativeOn:{click:function(a){return t.removeToken(e)}}})],1)],1)})),0):a("section",{staticClass:"no-tokens"},[t._v("\n "+t._s(t.$t("settings.tokens.noTokens"))+"\n ")])]):t._e()])])}),[],!1,null,"50ccb9cb",null).exports),_a=a("9s7N"),Ca=a.n(_a),Ta={data:()=>({blockchains:kt.Blockchains,blockchainsArray:kt.BlockchainsArray,availableExplorers:[]}),computed:{...Object(y.d)(["scatter"]),...Object(y.c)(["explorers"]),defaultExplorers(){const t=yt.a.defaultExplorers();return Object.keys(t).reduce((e,a)=>(e[a]=[t[a]],e),{})}},mounted(){this.setExplorers()},methods:{async setExplorers(){this.availableExplorers=await Ca.a.getExplorers()},changedExplorer(t,e){const a=this.scatter.clone();a.settings.explorers[t]=e,this[E.SET_SCATTER](a)},blockchainName:t=>Object(kt.blockchainName)(t),...Object(y.b)([E.SET_SCATTER])}},Sa=(a("4iyD"),Object(T.a)(Ta,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[t.explorers?a("section",{staticClass:"action-box top-pad"},t._l(t.blockchainsArray,(function(e){return a("section",[a("label",[t._v(t._s(t.blockchainName(e.value)))]),t._v(" "),a("Select",{attrs:{bordered:"1",options:t.availableExplorers.hasOwnProperty(e.value)?t.availableExplorers[e.value]:t.defaultExplorers[e.value],selected:t.explorers[e.value],parser:function(t){return t.name}},on:{selected:function(a){return t.changedExplorer(e.value,a)}}})],1)})),0):t._e()])}),[],!1,null,"ccd2138e",null).exports),Ea={data:()=>({strategies:fa.BACKUP_STRATEGIES}),computed:{...Object(y.d)(["scatter"]),...Object(y.c)(["autoBackup"])},mounted(){tt.a.setBackupStrategy(fa.BACKUP_STRATEGIES.AUTOMATIC)},methods:{openFilePathLink(){this.openInBrowser(this.scatter.settings.backupLocation,!0)},async setBackupLocation(){await tt.a.setBackupLocation()},async createBackup(){await tt.a.createBackup()&&b.a.push(i.a.snackbar(this.$t("settings.backup.created")))},...Object(y.b)([E.SET_SCATTER])}},Aa=(a("toTd"),Object(T.a)(Ea,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[a("section",{staticClass:"action-box top-pad"},[a("label",[t._v(t._s(t.$t("settings.backup.title")))]),t._v(" "),a("p",[t._v(t._s(t.$t("settings.backup.description")))]),t._v(" "),a("br"),t._v(" "),a("section",{staticClass:"split-inputs"},[a("Button",{staticStyle:{flex:"1"},attrs:{text:t.$t("settings.backup.autobackup")},nativeOn:{click:function(e){return t.setBackupLocation()}}}),t._v(" "),a("Button",{staticStyle:{flex:"0.6"},attrs:{text:t.$t("settings.backup.create")},nativeOn:{click:function(e){return t.createBackup(e)}}})],1)]),t._v(" "),a("section",{staticClass:"action-box top-pad"},[a("label",[t._v(t._s(t.$t("settings.backup.currentFolder")))]),t._v(" "),a("Input",{staticStyle:{"margin-bottom":"0"},attrs:{"dynamic-button":"icon-folder-open-empty",disabled:"1",text:t.scatter.settings.backupLocation},on:{dynamic:t.openFilePathLink}})],1)])}),[],!1,null,"6295bb4a",null).exports),Oa={data:()=>({}),computed:{...Object(y.d)(["scatter"]),...Object(y.c)(["networks"])},methods:{destroy(){b.a.push(i.a.destroyScatter())}}},Pa=(a("IEea"),Object(T.a)(Oa,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[a("section",{staticClass:"action-box top-pad"},[a("label",[t._v(t._s(t.$t("settings.destroy.title")))]),t._v(" "),a("p",[t._v(t._s(t.$t("settings.destroy.description")))]),t._v(" "),a("br"),a("br"),t._v(" "),a("section",{staticClass:"disclaimer red",staticStyle:{"margin-bottom":"0"}},[a("b",[t._v(t._s(t.$t("settings.destroy.important")))])]),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("Button",{attrs:{text:t.$t("settings.destroy.button"),red:"true"},nativeOn:{click:function(e){return t.destroy(e)}}})],1)])}),[],!1,null,"7977ca48",null).exports);let Ia;var Na={props:["mnemonic"],data:()=>({password:"",confirmPassword:"",pin:""}),computed:{...Object(y.d)(["scatter"])},mounted(){this.pin=this.scatter.pin?this.scatter.pin:""},methods:{async changePassword(){const t=H.a.hasError(this.password);return t?b.a.push(i.a.snackbar(t)):this.password!==this.confirmPassword?b.a.push(i.a.snackbar(this.$t("errors.passwordConfirmation"))):(await window.wallet.changePassword(this.password),this.password="",this.confirmPassword="",this[E.LOAD_HISTORY](),void b.a.push(i.a.snackbar(this.$t("settings.password.changed"))))},async changePin(){clearTimeout(Ia),Ia=setTimeout(async()=>{await H.a.setPIN(this.pin,!1),b.a.push(i.a.snackbar(this.$t("settings.password.pin.changed"),"check"))},500)},togglePinForAll(){const t=this.scatter.clone();t.pinForAll=!t.pinForAll,this[E.SET_SCATTER](t)},...Object(y.b)([E.SET_SCATTER,E.LOAD_HISTORY])},watch:{pin(t,e){e&&this.changePin()}}},Ra=(a("a75T"),Object(T.a)(Na,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[a("section",{staticClass:"action-box top-pad"},[a("label",[t._v(t._s(t.$t("settings.password.title")))]),t._v(" "),a("p",[t._v(t._s(t.$t("settings.password.description")))]),t._v(" "),a("br"),a("br"),t._v(" "),a("Input",{attrs:{label:t.$t("setPassword.choosePass"),type:"password",text:t.password},on:{changed:function(e){return t.password=e}}}),t._v(" "),a("Input",{attrs:{label:t.$t("setPassword.confirmPass"),type:"password",text:t.confirmPassword},on:{changed:function(e){return t.confirmPassword=e}}}),t._v(" "),a("Button",{attrs:{red:"true",text:t.$t("settings.password.button")},nativeOn:{click:function(e){return t.changePassword(e)}}})],1),t._v(" "),a("section",{staticClass:"action-box"},[a("label",[t._v(t._s(t.$t("settings.password.pin.title")))]),t._v(" "),a("p",[t._v(t._s(t.$t("settings.password.pin.description")))]),t._v(" "),a("br"),a("br"),t._v(" "),a("Input",{staticStyle:{"margin-bottom":"0"},attrs:{big:"1",placeholder:t.$t("settings.password.pin.disabled"),type:"password",text:t.pin,"dynamic-button":t.pin.length?"icon-cancel":""},on:{dynamic:function(e){t.pin=""},changed:function(e){return t.pin=e}}}),t._v(" "),a("section",[a("br"),t._v(" "),a("br"),t._v(" "),a("section",{staticClass:"split-inputs"},[a("Switcher",{attrs:{state:t.scatter.pinForAll},nativeOn:{click:function(e){return t.togglePinForAll(e)}}}),t._v(" "),a("section",{staticClass:"details"},[a("figure",{staticClass:"title"},[t._v(t._s(t.$t("settings.password.pin.pinForAllTitle")))]),t._v(" "),a("p",[t._v(t._s(t.$t("settings.password.pin.pinForAllDescription")))])])],1)])],1)])}),[],!1,null,"b0ebf3c0",null).exports),La={data:()=>({newContract:"",newAction:"",blockchains:kt.BlockchainsArray.map(t=>t.value),blockchain:kt.Blockchains.EOSIO}),computed:{...Object(y.d)(["scatter"]),...Object(y.c)(["blacklistActions"])},methods:{toggleFirewall(){const t=this.scatter.clone();t.settings.firewall=!t.settings.firewall,this[E.SET_SCATTER](t)},addBlacklistedAction(){const t=this.scatter.clone();t.settings.blacklistAction(this.blockchain,this.newContract,this.newAction),this[E.SET_SCATTER](t)},removeBlacklist(t,e){const[a,i]=t.split("::"),n=this.scatter.clone();n.settings.removeBlacklistedAction(a,i,e),this[E.SET_SCATTER](n)},...Object(y.b)([E.SET_SCATTER])}},Ba=(a("TEQ+"),{components:{SettingsGeneral:ga,SettingsTokens:wa,SettingsExplorer:Sa,SettingsBackup:Aa,SettingsDestroy:Pa,SettingsPassword:Ra,SettingsFirewall:Object(T.a)(La,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[a("section",{staticClass:"action-box top-pad"},[a("label",[t._v(t._s(t.$t("settings.firewall.ridl.title")))]),t._v(" "),a("p",[t._v(t._s(t.$t("settings.firewall.ridl.description")))]),t._v(" "),a("Switcher",{attrs:{state:t.scatter.settings.firewall},nativeOn:{click:function(e){return t.toggleFirewall(e)}}})],1),t._v(" "),a("section",{staticClass:"action-box top-pad"},[a("label",[t._v(t._s(t.$t("settings.firewall.blocker.title")))]),t._v(" "),a("p",[t._v(t._s(t.$t("settings.firewall.blocker.description")))]),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("label",[t._v("Add a new restricted action")]),t._v(" "),a("section",{staticClass:"split-inputs"},[a("Select",{attrs:{"start-left":"1",bordered:"1",options:t.blockchains,parser:function(e){return t.blockchainName(e)},selected:t.blockchain},on:{selected:function(e){return t.blockchain=e}}}),t._v(" "),a("Input",{attrs:{placeholder:"Contract",text:t.newContract},on:{changed:function(e){return t.newContract=e.trim().toLowerCase()}}}),t._v(" "),a("Input",{attrs:{placeholder:"Action",text:t.newAction},on:{changed:function(e){return t.newAction=e.trim().toLowerCase()}}})],1),t._v(" "),a("br"),t._v(" "),a("Button",{attrs:{blue:"1",text:"Add Restriction"},nativeOn:{click:function(e){return t.addBlacklistedAction(e)}}}),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("hr"),t._v(" "),a("label",[t._v(t._s(t.$t("settings.firewall.blocker.blacklisted")))]),t._v(" "),a("br"),t._v(" "),a("section",{staticClass:"blacklisted-actions"},t._l(t.blacklistActions,(function(e,i){return a("section",{staticClass:"blacklist"},[a("figure",{staticClass:"blockchain"},[t._v(t._s(t.blockchainName(i.split("::")[0])))]),t._v(" "),a("figure",{staticClass:"contract"},[t._v(t._s(i.split("::")[1]))]),t._v(" "),a("figure",{staticClass:"actions"},t._l(e,(function(e){return a("figure",{staticClass:"action"},[a("figure",{staticClass:"action-name"},[t._v(t._s(e))]),t._v(" "),a("Button",{staticClass:"remove",attrs:{text:t.$t("generic.remove"),small:"1"},nativeOn:{click:function(a){return t.removeBlacklist(i,e)}}})],1)})),0)])})),0)],1)])}),[],!1,null,"0d4b0b56",null).exports},data:()=>({settingsOptions:fa.SETTINGS_OPTIONS,selectedOption:fa.SETTINGS_OPTIONS.GENERAL,unlocked:!1,mnemonic:null}),computed:{...Object(y.d)(["scatter"]),...Object(y.c)(["version"]),generalItems:()=>[fa.SETTINGS_OPTIONS.GENERAL,fa.SETTINGS_OPTIONS.TOKENS,fa.SETTINGS_OPTIONS.EXPLORER,fa.SETTINGS_OPTIONS.BACKUP],lockedItems:()=>[fa.SETTINGS_OPTIONS.PASSWORD,fa.SETTINGS_OPTIONS.FIREWALL,fa.SETTINGS_OPTIONS.DESTROY]},mounted(){},methods:{selectOption(t){if(t&&t.locked&&!this.unlocked)return this.unlock(t);this.selectedOption=t},unlock(t){b.a.push(i.a.verifyPassword(e=>{e&&(this.mnemonic=e,this.unlocked=!0,this.selectOption(t))}))},translate(t){return this.$t("settings.menu."+t.name.toLowerCase())}}}),Da=(a("O0Vi"),Object(T.a)(Ba,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[a("section",{staticClass:"blockchain-list-container"},[t.isMobile&&t.selectedOption?t._e():a("section",{staticClass:"blockchains",class:{"full-width":t.isMobile}},[a("section",{staticClass:"head"},[t._v("\n "+t._s(t.$t("settings.base.basics"))+"\n ")]),t._v(" "),a("section",{staticClass:"scroller dynamic"},[a("section",{staticClass:"blockchain-list"},t._l(t.generalItems,(function(e){return a("section",{staticClass:"badge-item hoverable",class:{active:t.selectedOption&&t.selectedOption.name===e.name},on:{click:function(a){return t.selectOption(e)}}},[a("section",{staticClass:"details"},[a("figure",{staticClass:"title"},[t._v(t._s(t.translate(e)))])]),t._v(" "),a("i",{staticClass:"fal fa-chevron-right"})])})),0)]),t._v(" "),a("section",{staticClass:"head"},[a("i",{staticClass:"danger icon-lock",class:{unlocked:t.unlocked}}),t._v("\n "+t._s(t.$t("settings.base.secure"))+"\n ")]),t._v(" "),a("section",{staticClass:"scroller dynamic"},[a("section",{staticClass:"blockchain-list"},t._l(t.lockedItems,(function(e){return a("section",{staticClass:"badge-item hoverable",class:{active:t.selectedOption&&t.selectedOption.name===e.name},on:{click:function(a){return t.selectOption(e)}}},[a("section",{staticClass:"details"},[a("figure",{staticClass:"title"},[t._v(t._s(t.translate(e)))])]),t._v(" "),a("i",{staticClass:"fal fa-chevron-right"})])})),0)])]),t._v(" "),!t.isMobile||t.selectedOption?a("section",{staticClass:"list-container"},[a("section",{staticClass:"head"},[t.isMobile?a("figure",{staticClass:"back-button",on:{click:function(e){return t.selectOption(null)}}},[a("i",{staticClass:"fal fa-arrow-left"})]):t._e(),t._v("\n "+t._s(t.translate(t.selectedOption))+"\n ")]),t._v(" "),a("section",{staticClass:"scroller"},[t.selectedOption.name===t.settingsOptions.GENERAL.name?a("SettingsGeneral"):t._e(),t._v(" "),t.selectedOption.name===t.settingsOptions.TOKENS.name?a("SettingsTokens"):t._e(),t._v(" "),t.selectedOption.name===t.settingsOptions.EXPLORER.name?a("SettingsExplorer"):t._e(),t._v(" "),t.selectedOption.name===t.settingsOptions.PASSWORD.name?a("SettingsPassword"):t._e(),t._v(" "),t.selectedOption.name===t.settingsOptions.BACKUP.name?a("SettingsBackup"):t._e(),t._v(" "),t.selectedOption.name===t.settingsOptions.DESTROY.name?a("SettingsDestroy"):t._e(),t._v(" "),t.selectedOption.name===t.settingsOptions.FIREWALL.name?a("SettingsFirewall"):t._e()],1)]):t._e()])])}),[],!1,null,"dc6ca730",null).exports);const $a={POP_OUT:"popout",LOGIN:"login",APPS:"apps",HOME:"home",WALLET:"wallet",NETWORKS:"networks",ASSETS:"assets",TRANSFER:"transfer",RECEIVE:"receive",EXCHANGE:"exchange",CONTACTS:"contacts",IDENTITIES:"identities",LOCATIONS:"locations",HISTORIES:"histories",SETTINGS:"settings",APP:"app",ACCOUNT:"account"},Ka={[$a.LOGIN]:nt,[$a.APPS]:bt,[$a.HOME]:Et,[$a.WALLET]:de,[$a.NETWORKS]:Fe,[$a.ASSETS]:Vt,[$a.TRANSFER]:ve,[$a.RECEIVE]:Pe,[$a.EXCHANGE]:Se,[$a.CONTACTS]:Ze,[$a.IDENTITIES]:na,[$a.LOCATIONS]:ca,[$a.HISTORIES]:ha,[$a.SETTINGS]:Da,[$a.APP]:vt,[$a.ACCOUNT]:fe,[$a.POP_OUT]:L},ja={[$a.HOME]:"/",[$a.APP]:"/app/:applink",[$a.ACCOUNT]:"/account/:unique"};class Fa{static builder(){const t=Object.keys($a).map(t=>$a[t]);let e={};return t.map(t=>{e[t]={path:ja.hasOwnProperty(t)?ja[t]:`/${t}`,name:t,component:Ka[t]}}),e}static routes(){return Object.keys(Fa.builder()).map(t=>Fa.builder()[t])}static isRestricted(t){return![$a.LOGIN].includes(t)}}let Ma;x.a.config.productionTip=!1;class qa{constructor(t,e,a=(()=>{}),i=(()=>{})){return this.setupVuePlugins(),this.registerComponents(e),Ma=this.setupRouting(t,a),x.a.mixin({data:()=>({RouteNames:$a}),computed:{...Object(y.d)(["isMobile","testingMode"])},methods:{blockchainName:kt.blockchainName,canOpenApp:t=>h.a.getAppData(t).url.length,fiatSymbol:zt.a.fiatSymbol,openApp(t){const e=h.a.getAppData(t);e.url.length&&this.openInBrowser(e.url)},openInBrowser(t,e=!1){ma.openLink(t,e)},setWorkingScreen(t){_t.a.get().dispatch(O.z,t)},copyText(t){ma.copy(t)},formatNumber(t,e=!1){if(!t)return 0;t=parseFloat(t.toString());const a=t=>{const[e,a]=t.toString().split(".");return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")+(a?`.${a}`:"").toString()};return e?a(t):t>999999999?a((t/1e9).toFixed(1))+" B":t>999999?a((t/1e6).toFixed(1))+" M":t>999?a((t/1e3).toFixed(1))+" K":t},...Object(y.b)([])}}),this.setupVue(Ma),i(Ma),Ma}setupVuePlugins(){x.a.use(_.a),x.a.use(w.a),x.a.use(k.a,{defaultOffset:5})}registerComponents(t){t.map(t=>{x.a.component(t.tag,t.vue)})}setupRouting(t,e){const a=new _.a({routes:t});return a.beforeEach((t,a,i)=>(_t.a.get()&&_t.a.get().dispatch(O.t,""),e(t,i))),a}async setupLocalization(){const t=a("DolT").default;let e=await(async()=>{const t=(()=>Array.isArray(navigator.languages)?navigator.languages[0]:navigator.language)();if(window.wallet){const t=await window.wallet.storage.getLanguage();if(t)return t}return t})();!t[e]&&t[e.split("-")[0]]&&(e=e.split("-")[0]),t[e]||(e="en");const i={};return i[e]=t[e],i.hasOwnProperty("en")||(i.en=t.en),new w.a({locale:e,fallbackLocale:"en",messages:{[e]:t[e]}})}async setupVue(t){new x.a({router:t,store:r.a,i18n:await this.setupLocalization()}).$mount("#scatter"),document.getElementById("base_loader").remove(),document.getElementById("scatter")&&document.getElementById("scatter").removeAttribute("id")}}var za={data:()=>({}),computed:{...Object(y.d)(["processes"])},methods:{...Object(y.b)([])}},Ua=(a("/eBL"),Object(T.a)(za,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"processes"},[a("transition-group",{attrs:{name:"slide-right",mode:"out-in"}},t._l(t.processes.filter((function(t){return t.display})),(function(e){return a("section",{key:e.id,staticClass:"process"},[a("figure",{staticClass:"kill icon-cancel",on:{click:function(t){return e.kill()}}}),t._v(" "),a("figure",{staticClass:"title"},[a("span",{key:"title"},[t._v(t._s(e.title))]),t._v(" "),100===e.progress?a("b",{key:"done"},[t._v("Done!")]):t._e()]),t._v(" "),a("transition",{attrs:{name:"delayed-fade",mode:"out-in"}},[e.subTitle&&e.progress<100?a("figure",{staticClass:"sub-title"},[t._v(t._s(e.subTitle))]):t._e()]),t._v(" "),a("figure",{staticClass:"percentage-bar"},[a("figure",{staticClass:"bar",style:{width:e.progress+"%"}})])],1)})),0)],1)}),[],!1,null,"25a6ed1a",null).exports),Ha={computed:{item(){return this.popup.data.props}},methods:{close(){this[O.f](this.popup)},...Object(y.b)([O.f])},props:["popup"]},Ya=(a("viIO"),Object(T.a)(Ha,(function(){var t=this.$createElement,e=this._self._c||t;return e("section",[e("section",{staticClass:"snackbar",on:{click:this.close}},[e("figure",{staticClass:"message no-icon"},[this._v(this._s(this.item.message))])])])}),[],!1,null,"5470ced6",null).exports),Wa={props:["popin"],data:()=>({}),mounted(){},computed:{...Object(y.c)(["explorers"]),tx(){return this.popin.data.props.tx},blockchain(){return this.popin.data.props.blockchain},explorer(){return this.explorers[this.blockchain].parsed()}},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},open(){this.openInBrowser(this.explorer.transaction(this.tx))},...Object(y.b)([O.f])}},Ga=(a("XBwi"),Object(T.a)(Wa,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-over"},[a("PopInHead",{attrs:{title:t.$t("popins.overlay.transactionSuccess")},on:{close:t.returnResult}}),t._v(" "),a("section",{staticClass:"success"},[a("section",[a("img",{attrs:{src:"static/assets/piggy_bank.png"}}),t._v(" "),a("figure",{staticClass:"info"},[t._v(t._s(t.$t("popins.overlay.viewTransactionOn",{explorer:t.explorer.name})))]),t._v(" "),a("figure",{staticClass:"link",staticStyle:{cursor:"pointer"},on:{click:t.open}},[a("u",[t._v(t._s(t.tx))])]),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("Button",{attrs:{text:t.$t("generic.okay"),blue:"1"},nativeOn:{click:function(e){return t.returnResult(!0)}}})],1)])],1)}),[],!1,null,"a7f7d0dc",null).exports),Va=a("3CN7");a("8olR");var Za={props:["popin"],data:()=>({proxies:{},selectedProxy:null,autoVote:!0,proxy:""}),mounted(){this.isHardware&&(this.autoVote=!1),setTimeout(async()=>{yt.a.plugin(kt.Blockchains.EOSIO).isEndorsedNetwork(this.account.network())&&(this.proxies=await Promise.race([new Promise(t=>setTimeout(()=>t([]),3e3)),Object(Ie.GET)("proxies").catch(()=>[])]))})},computed:{...Object(y.d)(["scatter"]),...Object(y.c)(["keypairs","accounts"]),account(){return this.accounts.find(t=>t.unique()===this.popin.data.props.account.unique())},proxyList(){return this.proxies.hasOwnProperty(this.blockchainName(kt.Blockchains.EOSIO))?ct.a.shuffle(this.proxies[this.blockchainName(kt.Blockchains.EOSIO)].map(t=>({id:t.account,title:t.name,description:t.description}))):[]},isHardware(){return!!this.account.keypair().external},hasRecurring(){if(this.scatter.recurring)return this.scatter.recurring.proxies.find(t=>t.account===this.account.identifiable())}},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},unrevote(){Va.a.removeProxies([this.account])},async setProxy(){const t=yt.a.plugin(kt.Blockchains.EOSIO),e=this.selectedProxy?this.selectedProxy:"",a=await t.proxyVote(this.account,e,!0);a&&(b.a.push(i.a.transactionSuccess(kt.Blockchains.EOSIO,a)),this.selectedProxy&&this.selectedProxy.length&&this.autoVote&&this.selectedProxy?await Va.a.addProxy(this.account,this.selectedProxy):await Va.a.removeProxies([this.account])),this.returnResult(!0)},selectProxy(){b.a.push(i.a.selectFromList("Select Proxy",this.proxyList,t=>{t&&(this.selectedProxy=t.id)}))},...Object(y.b)([O.f])}},Ja=(a("3FGZ"),Object(T.a)(Za,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-flow-tree",staticStyle:{"padding-top":"7px"}}),t._v(" "),a("figure",{staticClass:"subtitle"},[t._v(t._s(t.account.sendable()))]),t._v(" "),a("figure",{staticClass:"title"},[t._v("Proxy Votes")])]),t._v(" "),t.isHardware?t._e():a("section",{staticClass:"revoter"},[a("section",{staticClass:"split-inputs"},[t.hasRecurring?a("section",{staticClass:"currently-voted"},[t._v("\n\t\t\t\t\tYou are proxied to "),a("span",{staticClass:"voting-for"},[t._v(t._s(t.hasRecurring.proxy))]),t._v(" "),a("br"),t._v(" "),a("Button",{attrs:{small:"1",text:"Remove Auto-Proxy"},nativeOn:{click:function(e){return t.unrevote(e)}}})],1):t._e(),t._v(" "),a("section",{staticClass:"auto-vote split-inputs"},[a("Switcher",{attrs:{state:t.autoVote},nativeOn:{click:function(e){t.autoVote=!t.autoVote}}}),t._v(" "),t._m(0)],1)])]),t._v(" "),a("section",{staticClass:"transfer"},[a("section",{staticClass:"boxes"},[a("section",{staticClass:"box nested account-selector",on:{click:t.selectProxy}},[t._m(1),t._v(" "),a("figure",{staticClass:"chevron fas fa-caret-square-down"})])])]),t._v(" "),t._m(2),t._v(" "),a("Input",{attrs:{placeholder:"Enter the account name of a proxy",text:t.selectedProxy},on:{changed:function(e){return t.selectedProxy=e}}})],1),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:"Cancel",click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:"Set Proxy",blue:!0,click:function(){return t.setProxy()}}]}})],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"details"},[e("figure",{staticClass:"title"},[this._v("Do you want to automatically re-proxy every 7 days?")]),this._v(" "),e("p",[this._v("If you enable this, accepting the initial transaction also accepts all future transactions too.")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("section",[e("figure",{staticClass:"name"},[this._v("Select a known proxy")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("figure",{staticClass:"or"},[e("figure",{staticClass:"text"},[this._v("or")])])}],!1,null,"9795b678",null).exports),Xa={props:["popin"],data:()=>({ownerKey:null,activeKey:null}),computed:{...Object(y.d)([]),...Object(y.c)(["keypairs","accounts"]),account(){return this.accounts.find(t=>t.unique()===this.popin.data.props.account.unique())},otherKeys(){return[{name:this.$t("popins.fullscreen.changePermissions.dontChange")}].concat(this.keypairs.filter(t=>t.publicKeys.some(t=>t.blockchain===kt.Blockchains.EOSIO)))}},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},changePermissions(){this.returnResult({owner:this.publicKeyForKeypair(this.ownerKey),active:this.publicKeyForKeypair(this.activeKey)})},publicKeyForKeypair:Tt.publicKeyForKeypair,hasPermission(t){return!!this.account.authorities().find(e=>e.authority===t||"owner"===e.authority)},...Object(y.b)([O.f])}},Qa=(a("xg20"),Object(T.a)(Xa,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[a("section",[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-flow-tree"}),t._v(" "),a("figure",{staticClass:"subtitle"},[t._v(t._s(t.account.sendable()))]),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.changePermissions.title")))]),t._v(" "),a("section",{staticClass:"disclaimer"},[a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.changePermissions.disclaimer")))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(t.$t("popins.fullscreen.changePermissions.disclaimerDescription")))])]),t._v(" "),a("section",{staticClass:"authorities"},[t.hasPermission("owner")?a("section",{staticClass:"authority"},[a("label",[t._v(t._s(t.$t("popins.fullscreen.changePermissions.owner")))]),t._v(" "),t.otherKeys.length?a("Select",{attrs:{bordered:"1",options:t.otherKeys,selected:t.ownerKey?t.ownerKey.name:"",parser:function(t){return t.name},truncate:"1",subparser:function(e){return t.publicKeyForKeypair(e)}},on:{selected:function(e){return t.ownerKey=e}}}):t._e()],1):t._e(),t._v(" "),t.hasPermission("active")?a("section",{staticClass:"authority"},[a("label",[t._v(t._s(t.$t("popins.fullscreen.changePermissions.active")))]),t._v(" "),t.otherKeys.length?a("Select",{attrs:{bordered:"1",options:t.otherKeys,selected:t.activeKey?t.activeKey.name:"",parser:function(t){return t.name},truncate:"1",subparser:function(e){return t.publicKeyForKeypair(e)}},on:{selected:function(e){return t.activeKey=e}}}):t._e()],1):t._e()])])]),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("generic.confirm"),red:!0,click:function(){return t.changePermissions()}}]}})],1)])}),[],!1,null,"fed8cede",null).exports),ti=a("wy8C"),ei=a.n(ti);const ai={BUY:"buy",SELL:"sell"},ii={BYTES:"Bytes",KB:"Kilo-Bytes",MB:"Mega-Bytes"};var ni={props:["popin"],data:()=>({state:ai.BUY,STATES:ai,pricePerByte:0,balance:0,denom:ii,ram:{denom:ii.BYTES,quantity:0}}),created(){this.init()},computed:{...Object(y.d)([]),...Object(y.c)(["keypairs","accounts"]),account(){return this.accounts.find(t=>t.unique()===this.popin.data.props.account.unique())},systemToken(){return this.account.network().systemToken()},pricePerKB(){return(1024*this.pricePerByte).toFixed(this.systemToken.decimals)},pricePerMB(){return(1024*this.pricePerKB).toFixed(this.systemToken.decimals)},price(){switch(this.ram.denom){case ii.BYTES:return this.pricePerByte;case ii.KB:return this.pricePerKB;case ii.MB:return this.pricePerMB}},availableRam(){const t=this.accountData.ram_quota-this.accountData.ram_usage;switch(this.ram.denom){case ii.BYTES:return t;case ii.KB:return t/1024;case ii.MB:return t/1024/1024}},quantityLabel(){switch(this.state){case ai.BUY:return this.$t("generic.buy");case ai.SELL:return this.$t("generic.sell")}}},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},buyOrSell(){let t=0;switch(this.ram.denom){case ii.BYTES:t=this.ram.quantity;break;case ii.KB:t=1024*this.ram.quantity;break;case ii.MB:t=1024*this.ram.quantity*1024}if((t=parseFloat(t))<=15)return b.a.push(i.a.snackbar(this.$t("popins.fullscreen.moderateRam.bytesError"),"attention"));this.setWorkingScreen(!0);const e=this.state===ai.BUY;yt.a.plugin(kt.Blockchains.EOSIO).buyOrSellRAM(this.account,t,e).then(t=>{if(this.setWorkingScreen(!1),!t||!t.hasOwnProperty("transaction_id"))return!1;b.a.push(i.a.transactionSuccess(kt.Blockchains.EOSIO,t.transaction_id));const a=new ei.a(this.account,e?"buyram":"sellram",t.transaction_id);this[E.DELTA_HISTORY](a),this.returnResult(t)}).catch(t=>{this.setWorkingScreen(!1)})},async init(){this.setWorkingScreen(!1);const t=yt.a.plugin(kt.Blockchains.EOSIO),e=this.account.network(),a=this.systemToken;this.balance=await t.balanceFor(this.account,a),this.pricePerByte=await t.getRamPrice(e),t.accountData(this.account).then(t=>{this.accountData=t})},switchState(t){this.state=t,this.ram.denom=ii.BYTES,this.ram.quantity=0},changeRamDenom(t){this.ram.denom=t,this.ram.quantity=0},...Object(y.b)([O.f,E.DELTA_HISTORY])},watch:{"ram.quantity"(){this.ram.quantity.toString().length||(this.ram.quantity=0)}}},si=(a("q2ph"),Object(T.a)(ni,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-microchip",staticStyle:{"padding-top":"7px"}}),t._v(" "),a("figure",{staticClass:"subtitle"},[t._v(t._s(t.account.sendable()))]),t._v(" "),a("figure",{staticClass:"title"},[t._v("RAM")])]),t._v(" "),a("section",{staticClass:"panel-switch"},[a("figure",{staticClass:"button",class:{active:t.state===t.STATES.BUY},on:{click:function(e){return t.switchState(t.STATES.BUY)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("generic.buy"))+"\n\t\t\t")]),t._v(" "),a("figure",{staticClass:"button",class:{active:t.state===t.STATES.SELL},on:{click:function(e){return t.switchState(t.STATES.SELL)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("generic.sell"))+"\n\t\t\t")])]),t._v(" "),a("section",{staticClass:"resource-moderator"},[a("section",{staticClass:"split-inputs"},[a("Input",{staticStyle:{width:"120px"},attrs:{label:t.quantityLabel,type:"number",text:t.ram.quantity},on:{changed:function(e){return t.ram.quantity=e}}}),t._v(" "),a("section",[a("label",[t._v(t._s(t.$t("popins.fullscreen.moderateRam.type")))]),t._v(" "),a("Select",{staticStyle:{width:"200px","margin-top":"5px","text-align":"left"},attrs:{bordered:"1",selected:t.ram.denom,options:Object.keys(t.denom).map((function(e){return t.denom[e]}))},on:{selected:t.changeRamDenom}})],1),t._v(" "),a("section",{staticStyle:{flex:"1"}}),t._v(" "),a("section",{staticStyle:{width:"200px","align-self":"flex-end"}},[t.state===t.STATES.BUY?a("Input",{attrs:{label:t.$t("popins.fullscreen.moderateCpu.available",{token:t.systemToken.symbol}),text:parseFloat(t.balance-t.ram.quantity*t.price).toFixed(t.systemToken.decimals)},on:{changed:function(t){}}}):t._e(),t._v(" "),t.state===t.STATES.SELL?a("Input",{attrs:{label:t.$t("popins.fullscreen.moderateCpu.reclaiming",{token:t.systemToken.symbol}),text:parseFloat(t.ram.quantity*t.price).toFixed(t.systemToken.decimals)},on:{changed:function(t){}}}):t._e()],1)],1),t._v(" "),t.state===t.STATES.BUY?a("Slider",{attrs:{min:0,max:t.balance/t.price,step:"1",value:t.ram.quantity},on:{changed:function(e){return t.ram.quantity=e}}}):t._e(),t._v(" "),t.state===t.STATES.SELL&&t.accountData?a("Slider",{attrs:{min:0,max:t.availableRam,step:"1",value:t.ram.quantity},on:{changed:function(e){return t.ram.quantity=e}}}):t._e()],1)]),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("generic.confirm"),red:!0,click:function(){return t.buyOrSell()}}]}})],1)}),[],!1,null,"f78bbdd0",null).exports);const oi={STAKE:"stake",UNSTAKE:"unstake"};var ri={props:["popin"],data:()=>({state:oi.STAKE,STATES:oi,balance:0,cpu:0,net:0}),created(){this.init()},computed:{...Object(y.d)([]),...Object(y.c)(["keypairs","accounts"]),account(){return this.accounts.find(t=>t.unique()===this.popin.data.props.account.unique())},systemToken(){return this.account.network().systemToken()},availableCPU(){return this.accountData&&this.accountData.self_delegated_bandwidth?this.accountData.self_delegated_bandwidth.cpu_weight.split(" ")[0]:0},availableNET(){return this.accountData&&this.accountData.self_delegated_bandwidth?this.accountData.self_delegated_bandwidth.net_weight.split(" ")[0]:0}},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},stakeOrUnstake(){if(this.cpu<0||this.net<0)return null;if(this.cpu<=0&&this.net<=0)return null;this.setWorkingScreen(!0);const t=`${parseFloat(this.cpu).toFixed(this.systemToken.decimals)} ${this.systemToken.symbol}`,e=`${parseFloat(this.net).toFixed(this.systemToken.decimals)} ${this.systemToken.symbol}`,a=this.state===oi.STAKE;yt.a.plugin(kt.Blockchains.EOSIO).stakeOrUnstake(this.account,t,e,a).then(t=>{if(this.setWorkingScreen(!1),!t||!t.hasOwnProperty("transaction_id"))return!1;b.a.push(i.a.transactionSuccess(kt.Blockchains.EOSIO,t.transaction_id));const e=new ei.a(this.account,a?"delegatebw":"undelegatebw",t.transaction_id);this[E.DELTA_HISTORY](e),this.returnResult(t)}).catch(t=>{this.setWorkingScreen(!1)})},async init(){this.setWorkingScreen(!1);const t=yt.a.plugin(kt.Blockchains.EOSIO),e=(this.account.network(),this.systemToken);this.balance=await t.balanceFor(this.account,e),t.accountData(this.account).then(t=>{this.accountData=t})},switchState(t){this.state=t,this.cpu=0,this.net=0},...Object(y.b)([O.f,E.DELTA_HISTORY])},watch:{"ram.quantity"(){this.ram.quantity.toString().length||(this.ram.quantity=0)}}},ci=(a("+mh6"),Object(T.a)(ri,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-network"}),t._v(" "),a("figure",{staticClass:"subtitle"},[t._v(t._s(t.account.sendable()))]),t._v(" "),a("figure",{staticClass:"title"},[t._v("CPU & NET")])]),t._v(" "),a("section",{staticClass:"panel-switch"},[a("figure",{staticClass:"button",class:{active:t.state===t.STATES.STAKE},on:{click:function(e){return t.switchState(t.STATES.STAKE)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("popins.fullscreen.moderateCpu.stake"))+"\n\t\t\t")]),t._v(" "),a("figure",{staticClass:"button",class:{active:t.state===t.STATES.UNSTAKE},on:{click:function(e){return t.switchState(t.STATES.UNSTAKE)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("popins.fullscreen.moderateCpu.unstake"))+"\n\t\t\t")])]),t._v(" "),a("section",{staticClass:"resource-moderator"},[a("section",{staticClass:"split-inputs"},[a("section",{staticClass:"split-inputs",staticStyle:{width:"300px"}},[a("Input",{attrs:{label:"CPU",type:"number",text:t.cpu},on:{changed:function(e){return t.cpu=e}}}),t._v(" "),a("Input",{attrs:{label:"NET",type:"number",text:t.net},on:{changed:function(e){return t.net=e}}})],1),t._v(" "),a("section",{staticStyle:{flex:"1"}}),t._v(" "),a("section",{staticClass:"available-input"},[t.state===t.STATES.STAKE?a("Input",{attrs:{label:t.$t("popins.fullscreen.moderateCpu.available",{token:t.systemToken.symbol}),disabled:!0,text:parseFloat(t.balance-t.cpu-t.net).toFixed(t.systemToken.decimals)},on:{changed:function(t){}}}):t._e(),t._v(" "),t.state===t.STATES.UNSTAKE?a("Input",{attrs:{label:t.$t("popins.fullscreen.moderateCpu.reclaiming",{token:t.systemToken.symbol}),disabled:!0,text:parseFloat(t.cpu+t.net).toFixed(t.systemToken.decimals)},on:{changed:function(t){}}}):t._e()],1)]),t._v(" "),t.state===t.STATES.STAKE?a("section",[a("section",{staticClass:"split-inputs"},[a("figure",{staticClass:"resource"},[t._v("CPU")]),t._v(" "),a("Slider",{attrs:{min:0,max:t.balance-this.net,step:"0.0001",value:t.cpu},on:{changed:function(e){return t.cpu=e}}})],1),t._v(" "),a("section",{staticClass:"split-inputs"},[a("figure",{staticClass:"resource"},[t._v("NET")]),t._v(" "),a("Slider",{attrs:{min:0,max:t.balance-this.cpu,step:"0.0001",value:t.net},on:{changed:function(e){return t.net=e}}})],1)]):t._e(),t._v(" "),t.state===t.STATES.UNSTAKE?a("section",[a("section",{staticClass:"split-inputs"},[a("figure",{staticClass:"resource"},[t._v("CPU")]),t._v(" "),a("Slider",{attrs:{min:-t.availableCPU,max:0,step:"0.0001",value:-t.cpu},on:{changed:function(e){return t.cpu=Math.abs(e)}}}),t._v(" "),a("figure",{staticClass:"resource"},[t._v(t._s(parseFloat(t.availableCPU-t.cpu).toFixed(this.account.network().systemToken().decimals)))])],1),t._v(" "),a("section",{staticClass:"split-inputs"},[a("figure",{staticClass:"resource"},[t._v("NET")]),t._v(" "),a("Slider",{attrs:{min:-t.availableNET,max:0,step:"0.0001",value:-t.net},on:{changed:function(e){return t.net=Math.abs(e)}}}),t._v(" "),a("figure",{staticClass:"resource"},[t._v(t._s(parseFloat(t.availableNET-t.net).toFixed(this.account.network().systemToken().decimals)))])],1)]):t._e()])]),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("generic.confirm"),red:!0,click:function(){return t.stakeOrUnstake()}}]}})],1)}),[],!1,null,"4f9b36dc",null).exports),li={components:{Lock:Y},props:["popin"],data:()=>({password:""}),computed:{...Object(y.d)([]),...Object(y.c)([]),returnOnly(){return this.popin.data.props.returnOnly}},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},async verify(){if(!this.password.length)return;if(this.returnOnly)return this.returnResult(this.password);const t=await window.wallet.verifyPassword(this.password);t||b.a.push(i.a.snackbar(this.$t("errors.badPassword"))),this.returnResult(t)},...Object(y.b)([O.f])}},di=(a("mNQy"),Object(T.a)(li,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[a("section",{staticClass:"head"},[a("Lock"),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.confirmPassword")))]),t._v(" "),a("br"),t._v(" "),a("Input",{staticStyle:{width:"350px"},attrs:{big:"1",text:t.password,centered:"1",type:"password"},on:{enter:t.verify,changed:function(e){return t.password=e}}})],1),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("generic.confirm"),red:!0,click:function(){return t.verify()}}]}})],1)])}),[],!1,null,"587f4680",null).exports),pi={props:["popin"],data:()=>({}),mounted(){},computed:{...Object(y.d)([]),...Object(y.c)(["keypairs","accounts","history"]),account(){return this.accounts.find(t=>t.unique()===this.popin.data.props.account.unique())}},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},async unlinkAccount(){await Jt.a.removeAccounts(this.account.authorities()),this.returnResult(!0)},...Object(y.b)([O.f,E.DELTA_HISTORY])}},ui=(a("kp35"),Object(T.a)(pi,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[t.account?a("section",[a("section",[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-trash"}),t._v(" "),a("figure",{staticClass:"subtitle"},[t._v(t._s(t.account.sendable()))]),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.unlinkAccount.title")))]),t._v(" "),a("section",{staticClass:"disclaimer",staticStyle:{"margin-top":"20px"}},[a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.unlinkAccount.description")))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(t.$t("popins.fullscreen.unlinkAccount.disclaimer")))])])])]),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("generic.confirm"),red:!0,click:function(){return t.unlinkAccount()}}]}})],1):t._e()])}),[],!1,null,"7a95109a",null).exports),hi=a("bUKF"),fi=a.n(hi),mi=a("Hxfq"),bi=a.n(mi);const gi={SELECT_TYPE:"selectType",ACCOUNT:"account",EXCHANGE:"exchange",CREDIT_CARD:"creditCard"};let vi;var xi={props:["popin"],components:{Exchange:la,CreditCard:ne},data:()=>({accountName:"",accountNameError:"",eosToUse:"1.0000",resourceError:null,ramPrice:null,transactionId:"",keys:{owner:"",active:""},state:gi.SELECT_TYPE,STATES:gi}),mounted(){this.account&&(this.keys.owner=this.keys.active=this.account.publicKey),this.getRamPrice()},computed:{...Object(y.d)(["balances"]),...Object(y.c)(["keypairs","accounts","networks"]),validKeypairs(){return this.keypairs.filter(t=>t.blockchains.includes(kt.Blockchains.EOSIO))},canUseExchange(){return 12===this.accountName.length&&!this.accountNameError},noAccountButtonsLeft(){return this.state===gi.SELECT_TYPE?[{text:this.$t("generic.cancel"),click:()=>this.returnResult(!1)}]:[{text:this.$t("generic.back"),click:()=>this.state=gi.SELECT_TYPE}]},noAccountButtonsRight(){return this.state===gi.EXCHANGE&&this.canUseExchange?[{text:this.$t("popins.fullscreen.createAccount.clickAfter"),blue:!0,click:()=>this.findExchangeAccount()}]:[]},changeableKeys(){return[{label:this.$t("popins.fullscreen.changePermissions.owner"),ref:"owner"},{label:this.$t("popins.fullscreen.changePermissions.active"),ref:"active"}]},account(){return this.popin.data.props.account instanceof fi.a?this.popin.data.props.account:null},keypair(){return this.popin.data.props.account instanceof bi.a?this.popin.data.props.account:null},availableAccounts(){return this.accounts.filter(t=>t.network().chainId===this.network.chainId)},network(){const t=yt.a.plugin(kt.Blockchains.EOSIO).getEndorsedNetwork();return this.account?this.account.network():this.networks.find(e=>e.chainId===t.chainId)||t},decimals(){return this.network.systemToken().decimals},minimumPrice(){return(parseFloat(this.ramPrice?this.ramPrice:"1.0000")+.5).toFixed(this.decimals)},totalPrice(){return(parseFloat(this.ramPrice?this.ramPrice:0)+parseFloat(this.eosToUse?this.eosToUse:0)).toFixed(this.decimals)},systemSymbol(){return this.network.systemToken().symbol},exchangeMemo(){return`${this.keypair.enabledKey().key},${this.accountName}`}},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},selectKey(t,e){this.keys[e.ref]=this.publicKeyForKeypair(t)},publicKeyForKeypair:Tt.publicKeyForKeypair,keypairFor(t){return this.keypairs.find(e=>e.publicKeys.find(e=>e.key===t))},copyExchangeMemo(){this.copyText(this.exchangeMemo)},findExchangeAccount(){const t=this.accountName,e=this.network.clone();this.keypair;let a=0;b.a.push(i.a.prompt(this.$t("popins.fullscreen.createAccount.lookingTitle"),this.$t("popins.fullscreen.createAccount.lookingDescription")));const n=async()=>{++a>=60&&b.a.push(i.a.prompt(this.$t("popins.fullscreen.createAccount.exchangeErrorTitle"),this.$t("popins.fullscreen.createAccount.exchangeErrorDescription")));const s=yt.a.plugin(kt.Blockchains.EOSIO),o=await s.accountData(null,e,t);if(o&&o.hasOwnProperty("account_name")&&o.account_name===t)return await Jt.a.importAllAccounts(this.keypair),b.a.push(i.a.prompt(this.$t("popins.fullscreen.createAccount.accountFoundTitle"),this.$t("popins.fullscreen.createAccount.accountFoundDescription"))),!0;setTimeout(()=>{n()},3e4)};n(),this.returnResult(!0)},async getRamPrice(){const t=yt.a.plugin(kt.Blockchains.EOSIO),e=await t.getRamPrice(this.network);this.ramPrice=(4096*e).toFixed(this.decimals)},finishedAccountCreation(t){setTimeout(async()=>{b.a.push(i.a.transactionSuccess(kt.Blockchains.EOSIO,t));const e=this.keypairs.find(t=>t.publicKeys.find(t=>t.key===this.keys.owner)),a=this.keypairs.find(t=>t.publicKeys.find(t=>t.key===this.keys.active));!e||a&&a.id===e.id||await Jt.a.importAllAccounts(e,!1,[kt.Blockchains.EOSIO],[this.account.network()]),a&&await Jt.a.importAllAccounts(a,!1,[kt.Blockchains.EOSIO],[this.account.network()]),setTimeout(()=>{if(e||a){const t=this.accounts.find(t=>t.sendable()===this.accountName);t&&this.$router.push({name:this.RouteNames.ACCOUNT,params:{unique:t.unique()}})}this.returnResult(!0),this.setWorkingScreen(!1)},500)},500)},async createAccount(){if(this.resourceError=null,this.accountNameError)return;if(this.resourceError)return;const t=yt.a.plugin(kt.Blockchains.EOSIO);this.eosToUse=parseFloat(this.eosToUse).toFixed(this.decimals),this.setWorkingScreen(!0),t.createAccount(this.account,this.accountName,this.keys.owner,this.keys.active,this.eosToUse).then(t=>this.finishedAccountCreation(t)).catch(t=>{this.setWorkingScreen(!1),console.error("error",t)})},async checkAccountName(){clearTimeout(vi),vi=setTimeout(async()=>{if(this.accountName=this.accountName.trim().toLowerCase(),!this.accountName.length)return this.accountNameError="";if(12!==this.accountName.length)return this.accountNameError=this.$t("popins.fullscreen.createAccount.nameTooShort")+` - ${this.accountName.length}/12`;if(this.accountName.split("").filter(t=>isNaN(t)).find(t=>t.toUpperCase()===t))return this.accountNameError=this.$t("popins.fullscreen.createAccount.nameFormatting");if(!yt.a.plugin(kt.Blockchains.EOSIO).isValidRecipient(this.accountName))return this.accountNameError="only a-z, 1-5";this.accountNameError=this.$t("popins.fullscreen.createAccount.checkingName");const t=yt.a.plugin(kt.Blockchains.EOSIO),e=await t.accountData(null,this.network,this.accountName);e.hasOwnProperty("code")&&500===e.code?this.accountNameError=null:this.accountNameError=this.$t("popins.fullscreen.createAccount.nameTaken")},10)},...Object(y.b)([O.f])},watch:{accountName(){this.checkAccountName()}}},yi=(a("ztmc"),Object(T.a)(xi,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[t.account||t.state===t.STATES.SELECT_TYPE?a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-user-add"}),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.createAccount.title")))])]):t._e(),t._v(" "),t.account?a("section",[a("section",[a("Input",{attrs:{big:"1",error:t.accountNameError,placeholder:t.$t("generic.name"),text:t.accountName},on:{changed:function(e){return t.accountName=e}}}),t._v(" "),t._l(t.changeableKeys,(function(e){return a("section",{staticClass:"key-entry"},[a("label",[t._v(t._s(e.label))]),t._v(" "),a("section",{staticClass:"split-inputs"},[t.validKeypairs.length?a("Select",{staticStyle:{flex:"0.5","max-width":"180px"},attrs:{truncate:"1",bordered:"1",options:t.validKeypairs,selected:t.keys[e.ref]&&t.keypairFor(t.keys[e.ref])?t.keypairFor(t.keys[e.ref]).name:"",parser:function(t){return t.name}},on:{selected:function(a){return t.selectKey(a,e)}}}):t._e(),t._v(" "),a("Input",{staticStyle:{"margin-bottom":"0",flex:"1"},attrs:{placeholder:"EOS...",text:t.keys[e.ref]},on:{changed:function(a){return t.keys[e.ref]=a}}})],1)])}))],2),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("popins.fullscreen.createAccount.title"),blue:!0,click:function(){return t.createAccount()}}]}})],1):a("section",[t.state===t.STATES.SELECT_TYPE?a("section",{staticClass:"type-selector"},[a("br"),t._v(" "),a("br"),t._v(" "),a("section",{staticClass:"types"},[a("section",{staticClass:"type",on:{click:function(e){t.state=t.STATES.EXCHANGE}}},[a("figure",{staticClass:"type-icon icon-globe"}),t._v(" "),a("figure",{staticClass:"type-text"},[t._v(t._s(t.$t("generic.exchange")))]),t._v(" "),a("figure",{staticClass:"type-desc"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("popins.fullscreen.createAccount.exchangeDescription"))+"\n\t\t\t\t\t\t")])]),t._v(" "),a("section",{staticClass:"type disabled"},[a("figure",{staticClass:"type-icon"},[a("CreditCard")],1),t._v(" "),a("figure",{staticClass:"type-text"},[t._v(t._s(t.$tc("generic.cards",1)))]),t._v(" "),a("figure",{staticClass:"type-desc"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("popins.fullscreen.createAccount.cardDescription",1))+"\n\t\t\t\t\t\t")])])])]):t._e(),t._v(" "),t.state!==t.STATES.SELECT_TYPE?a("section",{staticClass:"type-selected"},[t.accountName.trim().length||t.accountNameError?t._e():a("i",{staticStyle:{"margin-bottom":"11px",display:"block"}},[t._v(t._s(t.$t("popins.fullscreen.createAccount.startTyping")))]),t._v(" "),a("Input",{attrs:{big:"1",centered:"1",error:t.accountNameError,placeholder:t.$t("generic.name"),text:t.accountName},on:{changed:function(e){return t.accountName=e}}}),t._v(" "),t.state===t.STATES.EXCHANGE?a("section",[t.canUseExchange?a("section",{staticClass:"send-memo"},[a("u",[t._v("send")]),t._v(" "),a("b",{staticClass:"large"},[t._v(t._s(t.minimumPrice)+" "+t._s(t.systemSymbol))]),t._v(" "),a("u",[t._v("to")]),t._v(" "),a("b",{staticClass:"large"},[t._v("makeaccounts")]),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("b",{staticClass:"red"},[t._v(t._s(t.$t("popins.fullscreen.createAccount.includeMemo")))]),t._v(" "),a("figure",{staticClass:"memo"},[a("b",[t._v(t._s(t.exchangeMemo))]),t._v(" "),a("b",{staticClass:"copy icon-docs",on:{click:t.copyExchangeMemo}},[t._v(t._s(t.$t("generic.copy")))])])]):t._e()]):t._e()],1):t._e(),t._v(" "),a("ActionBar",{attrs:{"buttons-left":t.noAccountButtonsLeft,"buttons-right":t.noAccountButtonsRight}})],1)])])}),[],!1,null,"e0dd19e2",null).exports),ki={components:{EditNetwork:Ke},props:["popin"],data:()=>({network:Re.a.placeholder()}),computed:{...Object(y.d)([]),...Object(y.c)([])},methods:{returnResult(){this.popin.data.callback(this.network),this[O.f](this.popin)},async saveNetwork(){this.network.blockchain=this.popin.data.props.blockchain,await Be.a.addNetwork(this.network)&&this.returnResult()},...Object(y.b)([O.f])}},wi=(a("YMYm"),Object(T.a)(ki,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-globe-1"}),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.addCustomNetwork")))])]),t._v(" "),a("EditNetwork",{attrs:{original:t.network,"brand-new":"1"},on:{updated:function(e){return t.network=e}}}),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("generic.add"),blue:!0,click:function(){return t.saveNetwork()}}]}})],1)])}),[],!1,null,"4f5ed5b0",null).exports),_i={components:{EditContact:Ye},props:["popin"],data:()=>({contact:null}),computed:{...Object(y.d)([]),...Object(y.c)([]),blockchain(){return this.popin.data.props.blockchain}},mounted(){const t=Ue.a.placeholder();t.blockchain=this.blockchain,this.contact=t},methods:{returnResult(){this.popin.data.callback(this.contact),this[O.f](this.popin)},async saveContact(){await qe.a.addOrUpdate(this.contact)&&this.returnResult()},...Object(y.b)([O.f])}},Ci=(a("XZBh"),Object(T.a)(_i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[t.contact?a("section",[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-user-add"}),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.addNewContact")))])]),t._v(" "),a("EditContact",{attrs:{original:t.contact,"brand-new":"1"},on:{updated:function(e){return t.contact=e}}}),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("generic.add"),blue:!0,click:function(){return t.saveContact()}}]}})],1):t._e()])}),[],!1,null,"22eeb023",null).exports),Ti=Object(T.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:"88px",height:"88px",viewBox:"0 0 88 88",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e("g",{attrs:{id:"welcome_key",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[e("path",{attrs:{d:"M45.9352042,37.8600393 L45.8255657,38.2097594 L45.4590631,38.2104648 L6.83879534,38.284796 C3.90051673,38.2891556 1.50533693,40.6709085 1.50001581,43.5913203 C1.49292858,46.5091785 3.87420715,48.8771081 6.80386532,48.8601241 L9.61490534,48.8674525 L9.61387566,49.3671783 L9.59403399,58.9966075 C9.59000492,60.3667697 10.6887509,61.4593563 12.0707976,61.4562839 L26.5036182,61.4251866 C27.8857492,61.4234389 28.9923547,60.3230368 28.9952518,58.9498754 L29.0170751,48.8244844 L45.5559461,48.7784119 L45.6532412,49.1541546 C47.9756558,58.1230577 56.1026838,64.5 65.5,64.5 C76.8218374,64.5 86,55.3218374 86,44 C86,32.6781626 76.8218374,23.5 65.5,23.5 C56.4766731,23.5 48.592932,29.3825331 45.9352042,37.8600393 Z M65.5,54 C59.9771525,54 55.5,49.5228475 55.5,44 C55.5,38.4771525 59.9771525,34 65.5,34 C71.0228475,34 75.5,38.4771525 75.5,44 C75.5,49.5228475 71.0228475,54 65.5,54 Z",id:"Combined-Shape",stroke:"#00A8FF",fill:"#FFFFFF"}}),this._v(" "),e("g",{attrs:{id:"iconfinder_Rounded-27_2024648",fill:"#FFFFFF",stroke:"#00A8FF"}},[e("path",{attrs:{d:"M0.5,44 C0.5,68.0243866 19.9756134,87.5 44,87.5 C68.0243866,87.5 87.5,68.0243866 87.5,44 C87.5,19.9756134 68.0243866,0.5 44,0.5 C19.9756134,0.5 0.5,19.9756134 0.5,44 Z",id:"Path"}})]),this._v(" "),e("g",{attrs:{id:"iconfinder_key_216267",transform:"translate(13.000000, 13.000000)",fill:"#FFFFFF",stroke:"#00A8FF"}},[e("path",{attrs:{d:"M26.5625,33.2353026 L28.2724189,36.606098 L25.8194357,40.2520261 L28.2367054,43.8390695 L25.7547491,47.5045349 L28.1700318,49.8939315 L25.8062736,53.419797 L30.212976,59.243045 L35.8333333,53.6829245 L35.8333333,29.5096722 L36.1681982,29.3925014 C41.7305137,27.4462209 45.5,22.1923607 45.5,16.3445944 C45.5,8.70852126 39.2242172,2.5 31.5,2.5 C23.7757828,2.5 17.5,8.70852126 17.5,16.3445944 C17.5,21.9977447 20.9660831,27.0643357 26.247879,29.1728812 L26.5625,29.298481 L26.5625,33.2353026 Z M31.8535534,21.2972042 C28.8149087,21.2972042 26.3535534,18.8358229 26.3535534,15.7972042 C26.3535534,12.7585855 28.8149087,10.2972042 31.8535534,10.2972042 C34.8838147,10.2972042 37.3535534,12.7627066 37.3535534,15.7972042 C37.3535534,18.8317018 34.8838147,21.2972042 31.8535534,21.2972042 Z",id:"Shape",transform:"translate(31.500000, 31.000000) rotate(-45.000000) translate(-31.500000, -31.000000) "}})])])])}),[],!1,null,null,null).exports,Si={components:{Key:Ti},props:["returnOnly"],data:()=>({privateKey:"",importing:!1,error:""}),computed:{...Object(y.c)(["keypairs"])},methods:{},watch:{privateKey(){this.$emit("key",this.privateKey.trim().replace(/\W/g,"").replace("0x",""))}}},Ei=Object(T.a)(Si,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"center-panel"},[a("Key"),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("h2",[t._v(t._s(t.$t("panels.keypair.importTextKeyTitle")))]),t._v(" "),a("p",[t._v(t._s(t.$t("panels.keypair.importTextKeyDescription")))]),t._v(" "),a("br"),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.privateKey,expression:"privateKey"}],staticClass:"center",attrs:{type:"password",placeholder:"input your private key"},domProps:{value:t.privateKey},on:{input:function(e){e.target.composing||(t.privateKey=e.target.value)}}}),t._v(" "),t.error?a("p",[t._v(t._s(t.error))]):a("p",[a("u",[t._v(t._s(t.$t("panels.keypair.validTextKeyWarn")))])]),t._v(" "),t.returnOnly?a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.back"),click:function(){return t.$emit("back")}}],"buttons-right":[{text:t.$t("generic.skip"),click:function(){return t.$emit("next")}}]}}):t._e()],1)}),[],!1,null,"f89dd82e",null).exports;a("hfoK");let Ai;var Oi={data:()=>({hardwareType:null,EXT_WALLET_TYPES:c.EXT_WALLET_TYPES,blockchain:kt.Blockchains.EOSIO,external:null,gettingAvailableKeys:!1,availableKeys:[],availableWallets:[]}),async mounted(){await window.wallet.hardwareTypes().then(t=>this.availableWallets=t),this.changeHardwareType(this.availableWallets[0].name)},computed:{...Object(y.c)(["keypairs"]),availableBlockchains(){const t=this.availableWallets.find(t=>t.name===this.hardwareType);return t?t.blockchains:[]},externalWallets(){return this.availableWallets.map(t=>t.name)}},methods:{selectBlockchain(t){this.blockchain=t},changeHardwareType(t){this.hardwareType=t,this.blockchain=this.availableBlockchains[0],this.external=new l.a(this.hardwareType,this.blockchain)},async getKeys(){this.gettingAvailableKeys=!0,this.availableKeys=[];const t=await window.wallet.hardwareKey(this.external.blockchain,parseInt(this.external.addressIndex));"object"==typeof t&&!Array.isArray(t)&&t.hasOwnProperty("error")?b.a.push(i.a.snackbar(t.error)):this.availableKeys=[{index:this.external.addressIndex,key:t}],this.gettingAvailableKeys=!1},async importKey(t){this.setWorkingScreen(!0);const{index:e,key:a}=t,n=bi.a.placeholder();if(n.external=this.external,n.blockchains=[this.external.blockchain],n.external.addressIndex=e,n.external.publicKey=a,n.publicKeys.push({blockchain:n.external.blockchain,key:a}),!n.isUnique())return this.setWorkingScreen(!1),b.a.push(i.a.snackbar(this.$t("errors.keypairExists")));setTimeout(()=>{this.$emit("key",n)},1)}},watch:{"external.addressIndex"(){clearTimeout(Ai),Ai=setTimeout(()=>{this.getKeys()},800)}}},Pi=(a("uP9j"),Object(T.a)(Oi,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"import-hardware"},[a("section",{staticClass:"split-inputs"},[a("section",{staticStyle:{flex:"1"}},[a("label",[t._v(t._s(t.$t("panels.keypair.selectHardware")))]),t._v(" "),a("Select",{staticStyle:{flex:"1"},attrs:{selected:t.hardwareType,bordered:"1",options:t.externalWallets},on:{selected:t.changeHardwareType}})],1),t._v(" "),t.availableBlockchains.length>1?a("section",{staticStyle:{flex:"1"}},[a("label",[t._v(t._s(t.$t("panels.keypair.availableHardwareChains")))]),t._v(" "),a("Select",{attrs:{selected:t.blockchain,bordered:"1",parser:function(e){return t.blockchainName(e)},options:t.availableBlockchains},on:{selected:t.selectBlockchain}})],1):t._e()]),t._v(" "),a("br"),t._v(" "),t.external?a("Input",{attrs:{disabled:t.gettingAvailableKeys,text:t.external.addressIndex,type:"number",label:t.$t("panels.keypair.hardwareIndex")},on:{changed:function(e){return t.external.addressIndex=e}}}):t._e(),t._v(" "),a("section",{staticClass:"key-list"},t._l(t.availableKeys,(function(e){return a("section",{staticClass:"key-row",on:{click:function(a){return t.importKey(e)}}},[a("figure",{staticClass:"index"},[t._v(t._s(e.index))]),t._v(" "),a("figure",{staticClass:"key"},[t._v(t._s(e.key))])])})),0),t._v(" "),t.gettingAvailableKeys?a("figure",{staticClass:"loading-keys"},[a("i",{staticClass:"icon-spin4 animate-spin"})]):t._e()],1)}),[],!1,null,"15bdc122",null).exports),Ii={props:["returnOnly"],data:()=>({refresh:!1}),computed:{...Object(y.c)(["keypairs"])},methods:{qrScanned(t){const{data:e,salt:a}=JSON.parse(t);b.a.push(i.a.verifyPassword(async t=>{if(!t)return;this.setWorkingScreen(!0);const n=await Ae.a.decryptQR(e,a,t).catch(()=>null);if(!n)return this.refresh=!0,this.$nextTick(()=>this.refresh=!1),this.setWorkingScreen(!1),b.a.push(i.a.snackbar(this.$t("errors.badQrDecryption")));const s=bi.a.placeholder();if(s.privateKey=n,await m.a.makePublicKeys(s),this.setWorkingScreen(!1),!s.isUnique())return this.setWorkingScreen(!1),b.a.push(i.a.snackbar(this.$t("errors.keypairExists")));this.$emit("key",s)},!0))}},watch:{privateKey(){this.$emit("key",this.privateKey.trim().replace(/\W/g,"").replace("0x",""))}}},Ni=Object(T.a)(Ii,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"center-panel"},[a("h2",[t._v(t._s(t.$t("panels.keypair.scanQR")))]),t._v(" "),a("p"),t._v(" "),a("br"),t._v(" "),t.refresh?t._e():a("qrcode-stream",{on:{decode:t.qrScanned}}),t._v(" "),t.returnOnly?a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.back"),click:function(){return t.$emit("back")}}],"buttons-right":[{text:t.$t("generic.skip"),click:function(){return t.$emit("next")}}]}}):t._e()],1)}),[],!1,null,"0f7867cb",null).exports;const Ri={SELECT_TYPE:"selectType",IMPORT_KEY:"importKey",SELECT_BLOCKCHAIN:"selectBlockchain"},Li={TEXT:"text",HARDWARE:"hardware",QR:"qr"};var Bi={props:["popin"],components:{ImportQRKey:Ni,ImportPrivateKey:Ei,ImportHardwareKey:Pi,Key:Ti},data:()=>({STATES:Ri,state:Ri.SELECT_TYPE,IMPORT_TYPES:Li,importType:null,privateKey:"",blockchains:[],keypair:null}),computed:{...Object(y.c)(["keypairs"]),options(){return this.popin.data.props.options},buttonsLeft(){return this.options.forSignup?this.state===Ri.SELECT_TYPE?[]:[{text:this.$t("generic.back"),click:()=>this.state=Ri.SELECT_TYPE}]:this.state===Ri.SELECT_TYPE?[{text:this.$t("generic.cancel"),click:()=>this.returnResult(null)}]:[{text:this.$t("generic.back"),click:()=>this.state=Ri.SELECT_TYPE}]},buttonsRight(){return this.options.forSignup?[{text:this.$t("generic.skip"),click:()=>this.returnResult(!1)}]:[]},importTypes(){return[{icon:"icon-pencil",text:this.$t("popins.fullscreen.importKeypair.text"),onClick:()=>{this.selectImportType(Li.TEXT)}},{icon:"icon-microchip",text:this.$t("popins.fullscreen.importKeypair.hardware"),onClick:()=>{this.selectImportType(Li.HARDWARE)}},{icon:"icon-qrcode",text:this.$t("popins.fullscreen.importKeypair.qrCode"),onClick:()=>{this.selectImportType(Li.QR)}}]}},methods:{returnResult(){this.popin.data.callback(this.keypair),this[O.f](this.popin)},selectImportType(t){this.state=Ri.IMPORT_KEY,this.importType=t},async testKey(){const t=()=>this.setWorkingScreen(!1);if(this.keypair=null,this.setWorkingScreen(!0),this.error=null,!this.privateKey||!this.privateKey.trim().length)return t();const e=this.privateKey.trim().replace(/\W/g,"").replace("0x",""),a=bi.a.placeholder();if(a.privateKey=e,!m.a.isValidPrivateKey(a))return this.error=this.$t("popins.fullscreen.importKeypair.invalidPrivateKey"),t();await m.a.convertHexPrivateToBuffer(a),this.keypair=a;const i=m.a.getImportedKeyBlockchains(e);1===i.length?this.selectBlockchain(i[0]):(this.blockchains=i,this.state=Ri.SELECT_BLOCKCHAIN,this.setWorkingScreen(!1))},async selectBlockchain(t){if(this.keypair.blockchains=[t],await m.a.makePublicKeys(this.keypair),!this.keypair.publicKeys.find(e=>e.blockchain===t))return this.error=this.$t("popins.fullscreen.importKeypair.invalidPrivateKey"),void this.setWorkingScreen(!1);this.keypair.setName(),this.finishImporting(this.keypair)},async finishImporting(t){await m.a.saveKeyPair(t),await Jt.a.importAllAccounts(t,!1,t.blockchains),Qt.a.loadAllBalances(!0),this.setWorkingScreen(!1),this.returnResult(t)},...Object(y.b)([O.f])},watch:{privateKey(){this.testKey()}}},Di=(a("bwKH"),Object(T.a)(Bi,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in import-key"},[a("section",[t.state===t.STATES.SELECT_TYPE?a("section",{staticClass:"select-type"},[a("section",{staticClass:"head"},[a("Key"),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.importKeypair.title")))])],1),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("section",{staticClass:"type-selector"},[a("section",{staticClass:"types"},t._l(t.importTypes,(function(e){return a("section",{staticClass:"type",on:{click:function(t){return e.onClick()}}},[a("figure",{staticClass:"type-icon",class:e.icon}),t._v(" "),a("figure",{staticClass:"type-text"},[t._v(t._s(e.text))])])})),0)])]):t._e(),t._v(" "),t.state===t.STATES.IMPORT_KEY?a("section",[t.importType===t.IMPORT_TYPES.TEXT?a("ImportPrivateKey",{attrs:{"return-only":"1"},on:{key:function(e){return t.privateKey=e}}}):t._e(),t._v(" "),t.importType===t.IMPORT_TYPES.HARDWARE?a("ImportHardwareKey",{on:{key:t.finishImporting}}):t._e(),t._v(" "),t.importType===t.IMPORT_TYPES.QR?a("ImportQRKey",{on:{key:t.finishImporting}}):t._e()],1):t._e(),t._v(" "),t.state===t.STATES.SELECT_BLOCKCHAIN?a("section",{staticClass:"select-type type-selector"},[a("section",{staticClass:"types"},t._l(t.blockchains,(function(e){return a("section",{staticClass:"type",on:{click:function(a){return t.selectBlockchain(e)}}},[a("figure",{staticClass:"type-icon",class:"token-"+e+"-"+e}),t._v(" "),a("figure",{staticClass:"type-text"},[t._v(t._s(t.blockchainName(e)))])])})),0)]):t._e(),t._v(" "),t.buttonsLeft.length||t.buttonsRight.length?a("ActionBar",{attrs:{"buttons-left":t.buttonsLeft,"buttons-right":t.buttonsRight}}):t._e()],1)])}),[],!1,null,"3603ce6e",null).exports),$i={components:{Key:Ti},props:["popin"],data:()=>({Blockchains:kt.BlockchainsArray.map(t=>t.value)}),computed:{...Object(y.c)(["keypairs"]),options(){return this.popin.data.props.options}},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},async generate(t){this.setWorkingScreen(!0);const e=bi.a.placeholder();e.blockchains=[t],await m.a.generateKeyPair(e),await m.a.makePublicKeys(e),e.setName(),await m.a.saveKeyPair(e),await Jt.a.importAllAccounts(e,!0,[t]),this.returnResult(e),this.setWorkingScreen(!1)},...Object(y.b)([O.f])}},Ki=(a("F/n4"),Object(T.a)($i,(function(){var t=this,e=this,a=e.$createElement,i=e._self._c||a;return i("section",{staticClass:"pop-in generate-key"},[i("section",{staticClass:"select-type"},[i("section",{staticClass:"head"},[i("Key"),e._v(" "),i("br"),e._v(" "),i("br"),e._v(" "),i("figure",{staticClass:"title"},[e._v(e._s(e.$t("popins.fullscreen.generateKey.title")))])],1),e._v(" "),i("br"),e._v(" "),i("br"),e._v(" "),i("section",{staticClass:"type-selector"},[i("section",{staticClass:"types"},e._l(e.Blockchains,(function(t){return i("section",{staticClass:"type",on:{click:function(a){return e.generate(t)}}},[i("figure",{staticClass:"type-icon",class:"token-"+t+"-"+t}),e._v(" "),i("figure",{staticClass:"type-text"},[e._v(e._s(e.blockchainName(t)))])])})),0)])]),e._v(" "),i("ActionBar",{attrs:{"buttons-left":[{text:e.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}]}})],1)}),[],!1,null,"13308243",null).exports),ji={props:["popin"],computed:{...Object(y.c)(["history"]),keypair(){return this.popin.data.props.keypair}},methods:{async returnResult(t){t&&(await m.a.removeKeyPair(this.keypair),await Qt.a.removeStaleBalances()),this.popin.data.callback(t),this[O.f](this.popin)},...Object(y.b)([O.f,E.DELTA_HISTORY])}},Fi=(a("FnTk"),Object(T.a)(ji,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",{staticClass:"container"},[a("figure",{staticClass:"icon"},[a("svg",{attrs:{viewBox:"0 0 88 88",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[a("g",{attrs:{id:"confirm_delete",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"}},[a("circle",{attrs:{id:"Base",stroke:"#FF0707",cx:"43.7079646",cy:"43.7079646",r:"43.7079646"}}),t._v(" "),a("path",{attrs:{d:"M53.92,67 L35.08,67 C33.042,67 31.33,65.468 31.104,63.442 L27.5,31 L61.5,31 L57.896,63.442 C57.67,65.468 55.958,67 53.92,67 Z M38.5,23 C38.5,21.896 39.396,21 40.5,21 L48.5,21 C49.604,21 50.5,21.896 50.5,23 L62.5,23 C63.604,23 64.5,23.896 64.5,25 C64.5,26.104 63.604,27 62.5,27 L26.5,27 C25.396,27 24.5,26.104 24.5,25 C24.5,23.896 25.396,23 26.5,23 L38.5,23 Z",id:"Combined-Shape",stroke:"#FF0707"}})])])]),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.removeKeypair.title")))]),t._v(" "),a("figure",{staticClass:"subtitle"},[t._v(t._s(t.keypair.name)+" ("+t._s(t.keypair.accounts().length)+" "+t._s(t.$tc("generic.accounts",t.keypair.accounts().length))+")")]),t._v(" "),a("section",{staticClass:"disclaimer"},[a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.removeKeypair.permanent")))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(t.$t("popins.fullscreen.removeKeypair.removesAll")))])])]),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("generic.remove"),red:!0,click:function(){return t.returnResult(!0)}}]}})],1)}),[],!1,null,"06081eca",null).exports),Mi={components:{KeysAndAccountList:ee},props:["popin"],data:()=>({terms:"",blockchainFilter:null}),computed:{...Object(y.c)(["accounts"]),validAccounts(){return this.popin.data.props.validAccounts}},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},...Object(y.b)([O.f])}},qi=(a("5vwW"),Object(T.a)(Mi,(function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"select-account pop-over"},[e("PopInHead",{attrs:{title:this.$t("popins.overlay.selectAccount")},on:{close:this.returnResult}}),this._v(" "),e("KeysAndAccountList",{attrs:{accounts:this.validAccounts,"as-selector":"1","no-balances":"1"},on:{account:this.returnResult}})],1)}),[],!1,null,"7b839707",null).exports),zi={components:{KeysAndAccountList:ee},props:["popin"],data:()=>({}),computed:{...Object(y.c)(["accounts"]),blockchains(){return this.popin.data.props.blockchains}},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},...Object(y.b)([O.f])}},Ui=(a("/t0x"),Object(T.a)(zi,(function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"select-keypair pop-over"},[e("PopInHead",{attrs:{title:this.$t("popins.overlay.selectPublicKey")},on:{close:this.returnResult}}),this._v(" "),e("KeysAndAccountList",{attrs:{"keypairs-only":!0,blockchains:this.blockchains,"as-selector":"1"},on:{keypair:this.returnResult}})],1)}),[],!1,null,"26081a1c",null).exports),Hi={props:["popin"],data:()=>({text:""}),computed:{title(){return this.popin.data.props.title},description(){return this.popin.data.props.description},acceptDeny(){return this.popin.data.props.acceptDeny},inputField(){return this.popin.data.props.inputField}},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},...Object(y.b)([O.f])}},Yi=(a("XJoY"),Object(T.a)(Hi,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"prompt pop-over"},[a("figure",{staticClass:"title"},[t._v(t._s(t.title))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(t.description))]),t._v(" "),t.inputField?a("Input",t._b({attrs:{centered:"1",text:t.text},on:{changed:function(e){return t.text=e}}},"Input",t.inputField,!1)):t._e(),t._v(" "),a("section",{staticClass:"actions",class:{between:t.acceptDeny}},[t.acceptDeny?a("Button",{attrs:{red:"1",text:t.$t("generic.deny")},nativeOn:{click:function(e){return t.returnResult(!1)}}}):t._e(),t._v(" "),a("Button",{attrs:{blue:"1",text:t.$t("generic.okay")},nativeOn:{click:function(e){return t.returnResult(!t.inputField||t.text)}}})],1)],1)}),[],!1,null,"12c82a4c",null).exports),Wi={components:{TokenList:jt},props:["popin"],data:()=>({terms:"",blockchainFilter:null}),computed:{...Object(y.c)([]),tokens(){return this.popin.data.props.tokens},categories(){return this.tokens[0].hasOwnProperty("tokens")?this.tokens:[{tokens:this.tokens}]},filters(){return[{selected:this.blockchainFilter,options:[null].concat(kt.BlockchainsArray.map(t=>t.value)),parser:t=>null===t?this.$t("popins.overlay.allBlockchains"):Object(kt.blockchainName)(t),onSelect:t=>this.blockchainFilter=t}]}},created(){},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},...Object(y.b)([O.f])}},Gi=(a("g+0E"),Object(T.a)(Wi,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-over"},[a("PopInHead",{attrs:{title:t.$t("popins.overlay.selectToken")},on:{close:t.returnResult}}),t._v(" "),a("section",{staticClass:"select-token"},[a("section",{staticClass:"scroller"},t._l(t.categories,(function(e){return a("section",{staticClass:"scroller-category"},[a("TokenList",{key:e.title,attrs:{balances:e.tokens,hoverable:"1"},on:{token:t.returnResult}})],1)})),0)])],1)}),[],!1,null,null,null).exports),Vi={components:{Assets:Wt},props:["popin"],data:()=>({}),computed:{...Object(y.c)(["accounts"])},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},...Object(y.b)([O.f])}},Zi=(a("MH1I"),Object(T.a)(Vi,(function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"pop-over"},[e("PopInHead",{attrs:{title:this.$t("popins.overlay.selectTokenAndAccount")},on:{close:this.returnResult}}),this._v(" "),e("Assets",{attrs:{"as-selector":"1","hide-unusable":"1"},on:{selected:this.returnResult}})],1)}),[],!1,null,"3152171b",null).exports),Ji={props:["popin"],data:()=>({canCancel:!1,hadWorkingScreen:!1}),computed:{...Object(y.d)(["workingScreen"]),...Object(y.c)([])},mounted(){setTimeout(()=>{this.canCancel=!0},1500),this.workingScreen&&(this.hadWorkingScreen=!0,this.setWorkingScreen(!1))},methods:{returnResult(t){this.hadWorkingScreen&&this.setWorkingScreen(!0),setTimeout(()=>{this.popin.data.callback(t),this[O.f](this.popin)},10)},...Object(y.b)([O.f])}},Xi=(a("8gNK"),Object(T.a)(Ji,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[a("section",{staticClass:"head"},[t._m(0),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.checkHardwareTitle")))]),t._v(" "),a("p",[t._v(t._s(t.$t("popins.fullscreen.checkHardwareDescription")))])])]),t._v(" "),t.canCancel?a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}]}}):t._e()],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("figure",{staticClass:"icon font"},[e("i",{staticClass:"icon-spin4 animate-spin"})])}],!1,null,"199cfd63",null).exports),Qi=a("btL5"),tn=a.n(Qi),en=a("OFHw"),an={props:["popin"],data:()=>({}),created(){},computed:{...Object(y.d)([]),...Object(y.c)(["keypairs","accounts"])},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},async destroy(){await tn.a.close(),setTimeout(async()=>{await en.a.removeScatter(),await window.wallet.lock(),window.wallet.utility.reload()},500)},...Object(y.b)([O.f])}},nn=(a("IWvo"),Object(T.a)(an,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-attention"}),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("destroy.title")))]),t._v(" "),a("section",{staticClass:"disclaimer"},[a("figure",{staticClass:"title"},[t._v(t._s(t.$t("destroy.disclaimer")))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(t.$t("destroy.description")))])])]),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("generic.confirm"),blue:!0,click:function(){return t.destroy()}}]}})],1)}),[],!1,null,"a8f0ae96",null).exports),sn=(a("w+eT"),a("5lvq"),a("lkGv")),on=a.n(sn);a("9pT+");const{getFileLocation:rn}=a("2UZj");var cn={components:{LoginButton:M},props:["popin"],data:()=>({}),methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},async importBackup(){const t=()=>{this.setWorkingScreen(!1),this.restoringBackup=!1,window.wallet.lock()};if(this.restoringBackup)return;this.restoringBackup=!0;const e=await rn(["json","txt"]);if(!e)return t();const a=e[0];if(!a)return t();const n=async(e,a)=>{const[n,s]=e.split("|SLT|");if(!n||!s)return t(),b.a.push(i.a.snackbar(this.$t("popins.fullscreen.importBackup.errorParsing")));await window.wallet.lock(),await window.wallet.unlock(a,!0,s);const o=await window.wallet.decrypt(n);if("object"!=typeof o||!o.hasOwnProperty("keychain"))return t(),b.a.push(i.a.snackbar(this.$t("popins.fullscreen.importBackup.errorDecrypting")));o.keychain=await window.wallet.decrypt(o.keychain),o.settings.backupLocation="",this.setWorkingScreen(!1),b.a.push(i.a.showTerms(async t=>{if(!t)return window.wallet.lock(),this.returnResult(!1);o.onboarded=!0,await this[E.SET_SCATTER](N.a.fromJson(o)),await window.wallet.lock(),window.wallet.utility.reload()}))},s=async(e,a)=>{const[n,s]=e.split("|SSLT|");if(!n||!s)return t(),b.a.push(i.a.snackbar(this.$t("popins.fullscreen.importBackup.errorParsing")));await window.wallet.lock(),await window.wallet.unlock(a,!0,s);const o=await window.wallet.decrypt(n);if("object"!=typeof o||!o.hasOwnProperty("keychain"))return t(),b.a.push(i.a.snackbar(this.$t("popins.fullscreen.importBackup.errorDecrypting")));{const t=await Promise.all(o.keychain.keypairs.map(async t=>(t.privateKey=await window.wallet.decrypt(t.privateKey),t)).map(async t=>{const e=bi.a.fromJson({name:t.name,blockchains:[t.blockchain],privateKey:on.a.privateKeyToBuffer(t.privateKey,t.blockchain)});return await m.a.makePublicKeys(e),e})),e=await N.a.create();e.keychain.keypairs=t,this.setWorkingScreen(!1),b.a.push(i.a.showTerms(async a=>{if(!a)return window.wallet.lock(),this.returnResult(!1);e.onboarded=!0,await this[E.SET_SCATTER](e),await Promise.all(t.map(t=>Jt.a.importAllAccounts(t))),await window.wallet.lock(),window.wallet.utility.reload()}))}};window.wallet.storage.openFile(a).then(e=>{if(!e)return t(),b.a.push(i.a.snackbar(this.$t("popins.fullscreen.importBackup.errorReading")));const o=a.split(".")[a.split(".").length-1];b.a.push(i.a.verifyPassword(async a=>{if(!a||!a.length)return t();this.setWorkingScreen(!0);try{switch(o){case"json":return await n(e,a);case"txt":return await s(e,a)}}catch(e){return console.error("e",e),t(),b.a.push(i.a.snackbar(this.$t("popins.fullscreen.importBackup.errorDecrypting")))}},!0))})},...Object(y.b)([O.u,E.SET_SCATTER,O.f])}},ln=(a("lUoz"),Object(T.a)(cn,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in import-backup"},[a("section",[a("h2",[t._v(t._s(t.$t("popins.fullscreen.importBackup.title")))]),t._v(" "),a("p",[t._v(t._s(t.$t("popins.fullscreen.importBackup.description")))]),t._v(" "),a("br"),t._v(" "),a("section",{staticStyle:{display:"flex","justify-content":"center"}},[a("LoginButton",{attrs:{"on-white":"1",primary:"1",title:t.$t("popins.fullscreen.importBackup.buttonTitle"),description:t.$t("popins.fullscreen.importBackup.buttonDescription")},nativeOn:{click:function(e){return t.importBackup(e)}}})],1),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}]}})],1)])}),[],!1,null,"8f47c49e",null).exports),dn={components:{TokenSymbol:Bt},props:["popin"],data:()=>({accounts:{},keys:{}}),computed:{...Object(y.d)(["scatter"]),pair(){return this.popin.data.props.pair}},mounted(){this.prepareData()},methods:{async prepareData(){await Promise.all(kt.BlockchainsArray.map(async({value:t})=>{const e=this.scatter.settings.networks.filter(e=>e.blockchain===t);let a=this.scatter.keychain.keypairs.find(e=>e.blockchains[0]===t);if(!a){const e=bi.a.placeholder();e.blockchains=[t],await m.a.generateKeyPair(e),await m.a.makePublicKeys(e),e.setName(),a=e}this.keys[t]=a.clone(),e.map(t=>{const e=this.defaultKeyAccounts(a,t);e.length&&(this.accounts[t.unique()]=e[0].clone())})})),this.$forceUpdate()},defaultKeyAccounts(t,e){return this.keypairExists(t.id)?t.accounts(!0).filter(t=>t.networkUnique===e.unique()).sort((t,e)=>e.logins-t.logins):yt.a.plugin(t.blockchains[0]).accountsAreImported()?[fi.a.fromJson({keypairUnique:t.unique(),networkUnique:e.unique(),publicKey:t.enabledKey().key})]:null},accountNetwork(t){return this.scatter.settings.networks.find(e=>e.unique()===t)},accountExists(t){return!!this.scatter.keychain.accounts.find(e=>e.id===t)},keypairExists(t){return!!this.scatter.keychain.keypairs.find(e=>e.id===t)},sendable:t=>t.name.length?t.name:t.publicKey,replaceAccount(t){const e=(()=>{if(!this.accountExists(t.id))return[t];return this.scatter.settings.networks.find(e=>e.unique()===t.networkUnique).accounts(!0).sort((t,e)=>e.logins-t.logins)})();b.a.push(i.a.selectAccount(e=>{if(e){const a=this.scatter.settings.networks.find(e=>e.unique()===t.networkUnique).blockchain;e.keypairUnique!==this.keys[a].unique()&&(this.keys[a]=this.scatter.keychain.keypairs.find(t=>t.unique()===e.keypairUnique).clone()),this.accounts[t.networkUnique]=e.clone(),this.$forceUpdate()}},e))},async enableAndSave(){const t=this.scatter.clone();Object.keys(this.keys).map(e=>{const a=this.keys[e];this.keypairExists(a.id)||t.keychain.keypairs.unshift(a)}),await this[E.SET_SCATTER](t),t.settings.networks.map(t=>{const e=this.accounts[t.unique()];e&&window.localStorage.setItem(`acc_${t.unique()}`,e.unique())}),this.returnResult(!0)},returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},...Object(y.b)([O.f,E.SET_SCATTER])}},pn=(a("iQoG"),Object(T.a)(dn,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-over enable-simple-mode"},[a("section",{staticClass:"head"},[t._m(0),t._v(" "),a("figure",{staticClass:"close",on:{click:function(e){return t.returnResult(null)}}},[a("i",{staticClass:"fal fa-times"})])]),t._v(" "),a("section",{staticClass:"scroller container"},[a("section",{staticClass:"transfer"},[t._l(t.accounts,(function(e,i){return a("section",{staticClass:"boxes"},[a("section",{staticClass:"box-container",staticStyle:{width:"100%"}},[a("label",[t._v(t._s(t.accountNetwork(i).name))]),t._v(" "),a("section",{staticClass:"box nested account-selector flex",on:{click:function(a){return t.replaceAccount(e)}}},[a("section",{staticClass:"symbol"},[a("TokenSymbol",{attrs:{token:t.accountNetwork(i).systemToken()}})],1),t._v(" "),a("section",[a("figure",{staticClass:"name"},[t._v(t._s(t.sendable(e)))])]),t._v(" "),a("figure",{staticClass:"chevron fas fa-caret-square-down"})])])])})),t._v(" "),t._l(t.accounts,(function(e,i){return a("section",{staticClass:"boxes"},[a("section",{staticClass:"box-container",staticStyle:{width:"100%"}},[a("label",[t._v(t._s(t.accountNetwork(i).name))]),t._v(" "),a("section",{staticClass:"box nested account-selector flex",on:{click:function(a){return t.replaceAccount(e)}}},[a("section",{staticClass:"symbol"},[a("TokenSymbol",{attrs:{token:t.accountNetwork(i).systemToken()}})],1),t._v(" "),a("section",[a("figure",{staticClass:"name"},[t._v(t._s(t.sendable(e)))])]),t._v(" "),a("figure",{staticClass:"chevron fas fa-caret-square-down"})])])])})),t._v(" "),t._l(t.accounts,(function(e,i){return a("section",{staticClass:"boxes"},[a("section",{staticClass:"box-container",staticStyle:{width:"100%"}},[a("label",[t._v(t._s(t.accountNetwork(i).name))]),t._v(" "),a("section",{staticClass:"box nested account-selector flex",on:{click:function(a){return t.replaceAccount(e)}}},[a("section",{staticClass:"symbol"},[a("TokenSymbol",{attrs:{token:t.accountNetwork(i).systemToken()}})],1),t._v(" "),a("section",[a("figure",{staticClass:"name"},[t._v(t._s(t.sendable(e)))])]),t._v(" "),a("figure",{staticClass:"chevron fas fa-caret-square-down"})])])])}))],2)]),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("section",{staticClass:"actions"},[a("Button",{attrs:{text:"Cancel"},nativeOn:{click:function(e){return t.returnResult(!1)}}}),t._v(" "),a("Button",{attrs:{blue:"1",text:"Enable Simple Mode"},nativeOn:{click:function(e){return t.enableAndSave(e)}}})],1)])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("section",[e("figure",{staticClass:"title"},[this._v("\n\t\t\t\tSelect accounts\n\t\t\t")]),this._v(" "),e("figure",{staticClass:"subtitle"},[this._v("\n\t\t\t\tIn "),e("b",[this._v("Simple Mode")]),this._v(" you only use a single account at once for each network. Please select your preferred accounts.\n\t\t\t")])])}],!1,null,"0cd77737",null).exports),un={props:["popin"],data:()=>({}),created(){},computed:{symbols(){return this.popin.data.props.symbols},accounts(){return this.popin.data.props.accounts},order(){return this.popin.data.props.order},pair(){return this.popin.data.props.pair}},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},...Object(y.b)([O.f])}},hn=Object(T.a)(un,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-over confirm"},[a("section",{staticClass:"details"},[a("img",{staticClass:"icon",attrs:{src:"static/assets/icon_exchange_big.png"}}),t._v(" "),a("label",[t._v(t._s(t.$t("popins.overlay.exchanging")))]),t._v(" "),a("section",{staticClass:"amounts"},[a("figure",{staticClass:"amount"},[t._v(t._s(t.order.deposit)+" "+t._s(t.symbols.from))]),t._v(" "),a("figure",{staticClass:"arrow bounce-right icon-right-small"}),t._v(" "),a("figure",{staticClass:"amount"},[t._v(t._s(parseFloat(t.order.expected).toFixed(t.pair.decimals))+" "+t._s(t.symbols.to))])]),t._v(" "),t.accounts.from!==t.accounts.to?a("section",{staticClass:"accounts"},[a("figure",{staticClass:"account"},[t._v(t._s(t.accounts.from))]),t._v(" "),a("figure",{staticClass:"arrow bounce-right icon-right-small"}),t._v(" "),a("figure",{staticClass:"account"},[t._v(t._s(t.accounts.to))])]):a("section",{staticClass:"accounts"},[a("figure",{staticClass:"account"},[t._v(t._s(t.accounts.from))])])]),t._v(" "),a("section",{staticClass:"tail"},[a("Button",{attrs:{text:t.$t("generic.cancel")},nativeOn:{click:function(e){return t.returnResult(!1)}}}),t._v(" "),a("Button",{attrs:{text:t.$t("generic.confirm"),blue:"1"},nativeOn:{click:function(e){return t.returnResult(!0)}}})],1)])}),[],!1,null,"d9bc7968",null).exports,fn={props:["popin"],data:()=>({}),created(){},computed:{from(){return this.popin.data.props.from},to(){return this.popin.data.props.to},token(){return this.popin.data.props.token},memo(){return this.popin.data.props.memo}},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},...Object(y.b)([O.f])}},mn=Object(T.a)(fn,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-over confirm"},[a("section",{staticClass:"details"},[a("img",{staticClass:"icon",attrs:{src:"static/assets/icon_send_big.png"}}),t._v(" "),a("label",[t._v(t._s(t.$t("popins.overlay.transferring")))]),t._v(" "),a("figure",{staticClass:"amount"},[t._v(t._s(t.token.amount)+" "+t._s(t.token.symbol))]),t._v(" "),a("section",{staticClass:"accounts"},[a("figure",{staticClass:"account"},[t._v(t._s(t.from))]),t._v(" "),a("figure",{staticClass:"arrow bounce-right icon-right-small"}),t._v(" "),a("figure",{staticClass:"account"},[t._v(t._s(t.to))])]),t._v(" "),t.memo?a("figure",{staticClass:"memo"},[a("b",[t._v(t._s(t.$t("generic.memo")))]),t._v(" "),a("span",[t._v(t._s(t.memo))])]):t._e()]),t._v(" "),a("section",{staticClass:"tail"},[a("Button",{attrs:{text:t.$t("generic.cancel")},nativeOn:{click:function(e){return t.returnResult(!1)}}}),t._v(" "),a("Button",{attrs:{text:t.$t("generic.confirm"),blue:"1"},nativeOn:{click:function(e){return t.returnResult(!0)}}})],1)])}),[],!1,null,"56990f7c",null).exports,bn=a("nOak"),gn={components:{VueMarkdown:a.n(bn).a},props:["popin"],data:()=>({}),mounted(){},computed:{...Object(y.c)(["explorers"]),update(){return this.popin.data.props.update}},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},open(){this.openInBrowser(this.update.url),this.returnResult(!0)},...Object(y.b)([O.f])}},vn=(a("ydfQ"),Object(T.a)(gn,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-over"},[a("section",{staticClass:"panel centered"},[a("h1",[t._v("Update Available!")]),t._v(" "),a("figure",{staticClass:"description"},[a("b",[t._v("Scatter Desktop")]),t._v(" - "),a("b",{staticClass:"blue"},[t._v(t._s(t.update.name))]),t._v(" (v"+t._s(t.update.version)+")")]),t._v(" "),a("br"),t._v(" "),a("section",{staticClass:"markdown"},[a("VueMarkdown",[t._v(t._s(t.update.body))])],1),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("Button",{attrs:{text:"Get Update",big:"1",blue:"1"},nativeOn:{click:function(e){return t.open(e)}}})],1)])}),[],!1,null,"5bf2c9f8",null).exports);const xn={CONTACTS:"contacts",ACCOUNTS:"accounts"};var yn={components:{Contacts:Ge,KeysAndAccountList:ee},props:["popin"],data:()=>({state:xn.CONTACTS,STATES:xn}),computed:{...Object(y.c)(["accounts"]),blockchain(){return this.popin.data.props.blockchain}},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},switchState(t){this.state=t},accountSelected(t){t||this.returnResult(null),this.returnResult(t.sendable())},...Object(y.b)([O.f])}},kn=(a("EAbP"),Object(T.a)(yn,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-over"},[a("PopInHead",{attrs:{title:t.$t("popins.overlay.selectRecipient")},on:{close:t.returnResult}}),t._v(" "),a("section",{staticClass:"select-recipient"},[a("section",{staticClass:"head"},[a("section",{staticClass:"panel-switch"},[a("figure",{staticClass:"button",class:{active:t.state===t.STATES.CONTACTS},on:{click:function(e){return t.switchState(t.STATES.CONTACTS)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$tc("generic.contacts",2))+"\n\t\t\t\t")]),t._v(" "),a("figure",{staticClass:"button",class:{active:t.state===t.STATES.ACCOUNTS},on:{click:function(e){return t.switchState(t.STATES.ACCOUNTS)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$tc("generic.accounts",2))+"\n\t\t\t\t")])])]),t._v(" "),a("section",{staticClass:"body"},[t.state===t.STATES.ACCOUNTS?a("KeysAndAccountList",{attrs:{"as-selector":"1","starting-chain":t.blockchain},on:{account:t.accountSelected}}):t._e(),t._v(" "),t.state===t.STATES.CONTACTS?a("Contacts",{attrs:{"as-selector":"1"},on:{recipient:t.returnResult}}):t._e()],1)])],1)}),[],!1,null,null,null).exports),wn={props:["popin"],data:()=>({}),computed:{...Object(y.c)([]),blockchains(){return this.popin.data.props.blockchains}},created(){},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},...Object(y.b)([O.f])}},_n=(a("7DPg"),Object(T.a)(wn,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-over"},[a("PopInHead",{attrs:{title:t.$t("popins.overlay.selectBlockchain")},on:{close:t.returnResult}}),t._v(" "),a("section",{staticClass:"select-blockchain type-selector"},[a("section",{staticClass:"types"},t._l(t.blockchains,(function(e){return a("section",{staticClass:"type",on:{click:function(a){return t.returnResult(e)}}},[a("figure",{staticClass:"type-icon",class:"token-"+e+"-"+e}),t._v(" "),a("figure",{staticClass:"type-text"},[t._v(t._s(t.blockchainName(e)))])])})),0)])],1)}),[],!1,null,"42c3714c",null).exports),Cn={props:["popin"],data:()=>({code:""}),computed:{subtitle(){return this.popin.data.props.subtitle}},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},...Object(y.b)([O.f])}},Tn=(a("5xqE"),Object(T.a)(Cn,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-lock"}),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.securityCode")))]),t._v(" "),a("figure",{staticClass:"subtitle"},[t._v(t._s(t.subtitle))]),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("Input",{attrs:{placeholder:"Security Code",type:"password",centered:"1",big:"1",text:t.code},on:{changed:function(e){return t.code=e}}})],1)]),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":[{text:t.$t("generic.confirm"),red:!0,click:function(){return t.returnResult(t.code)}}]}})],1)}),[],!1,null,"2230af07",null).exports),Sn={components:{SearchAndFilter:Ot},props:["popin"],data:()=>({terms:""}),computed:{title(){return this.popin.data.props.title},filteredList(){return this.popin.data.props.list.filter(t=>t.title.toLowerCase().trim().indexOf(this.terms)>-1)}},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},...Object(y.b)([O.f])}},En=(a("EUMI"),Object(T.a)(Sn,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"select-from-list pop-over"},[a("PopInHead",{attrs:{title:t.title},on:{close:t.returnResult}}),t._v(" "),a("SearchAndFilter",{attrs:{"full-search":"1"},on:{terms:function(e){return t.terms=e}}}),t._v(" "),a("section",{staticClass:"list"},t._l(t.filteredList,(function(e){return a("figure",{staticClass:"item",on:{click:function(a){return t.returnResult(e)}}},[a("figure",{staticClass:"title"},[t._v(t._s(e.title))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(e.description))])])})),0)],1)}),[],!1,null,"421c4a44",null).exports);const An={SELECT:"select",KEY:"key",QR:"qr"};var On={props:["popin"],data:()=>({state:An.SELECT,STATES:An,screenshotting:!1,privateKey:!1}),computed:{...Object(y.d)([]),...Object(y.c)(["keypairs"]),buttonsLeft(){return this.state===An.SELECT?[{text:this.$t("generic.back"),click:()=>this.returnResult(null)}]:[{text:this.$t("generic.back"),click:()=>this.state=An.SELECT}]},publicKeyItems(){return this.keypair.publicKeys.map(t=>this.keypair.blockchains.includes(t.blockchain)?{title:t.key,description:this.blockchainName(t.blockchain),actions:[]}:null).filter(t=>!!t)},keypair(){return this.popin.data.props.keypair}},mounted(){this.init()},methods:{returnResult(){this.popin.data.callback(this.network),this[O.f](this.popin)},async init(){this.privateKey=await this.getPrivateKey()},getPublicKey(){return this.keypair.enabledKey().key},async getPrivateKey(){return window.wallet.getPrivateKey(this.keypair.id,this.keypair.enabledKey().blockchain)},async copyPrivateKey(){const t=await this.getPrivateKey(),e=this.getPublicKey(),a=`${this.blockchainName(this.keypair.enabledKey().blockchain)} - ${this.keypair.name}\r\nPublic: ${e}\r\nPrivate: ${t}`;this.copyText(a)},async createQR(){this.qr=await Ae.a.createQR(this.keypair.privateKey),this.state=An.QR},async screenshot(){this.screenshotting=!0,setTimeout(async()=>{let t=await window.wallet.storage.getFolderLocation({properties:["openDirectory"]});if(!t)return this.screenshotting=!1;t=t[0];const e=`${this.keypair.name}.jpg`;window.wallet.utility.screenshot(window.wallet.windowId).then(a=>{window.wallet.storage.saveFile(t,e,a).then(e=>{b.a.push(i.a.snackbar($t("popins.fullscreen.exportKey.savedImage"),"check")),this.openInBrowser(t),setTimeout(()=>{this.screenshotting=!1},500)})})},500)},...Object(y.b)([O.f])}},Pn=(a("Gfyt"),Object(T.a)(On,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("section",[t.state===t.STATES.SELECT?a("section",{staticClass:"export-your-key"},[a("h1",[t._v(t._s(t.$t("popins.fullscreen.exportKey.title")))]),t._v(" "),a("section",{staticClass:"disclaimer"},[a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.exportKey.disclaimer")))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(t.$t("popins.fullscreen.exportKey.description")))])]),t._v(" "),a("section",{staticClass:"types"},[a("section",{staticClass:"type",on:{click:function(e){t.state=t.STATES.KEY}}},[a("figure",{staticClass:"badge icon-key"}),t._v(" "),a("figure",{staticClass:"name"},[t._v(t._s(t.$t("popins.fullscreen.exportKey.keyTitle")))]),t._v(" "),a("p",[t._v(t._s(t.$t("popins.fullscreen.exportKey.keyDescription")))])]),t._v(" "),a("section",{staticClass:"type",on:{click:t.createQR}},[a("figure",{staticClass:"badge icon-qrcode"}),t._v(" "),a("figure",{staticClass:"name"},[t._v(t._s(t.$t("popins.fullscreen.exportKey.qrTitle")))]),t._v(" "),a("p",[t._v(t._s(t.$t("popins.fullscreen.exportKey.qrDescription")))])])])]):t._e(),t._v(" "),t.state===t.STATES.KEY?a("section",{staticClass:"export-text"},[a("h1",[t._v(t._s(t.$t("popins.fullscreen.exportKey.privateKeyAsText")))]),t._v(" "),a("section",{staticClass:"split-inputs"},[a("Input",{staticStyle:{flex:"1"},attrs:{text:t.privateKey}}),t._v(" "),a("Button",{attrs:{text:t.$t("generic.copy")},nativeOn:{click:function(e){return t.copyPrivateKey(e)}}})],1)]):t._e(),t._v(" "),t.state===t.STATES.QR?a("section",[t.screenshotting?a("section",[a("h1",[t._v(t._s(t.keypair.name))]),t._v(" "),a("section",{staticClass:"keys"},t._l(t.publicKeyItems,(function(e){return a("figure",{staticClass:"key"},[t._v("\n\t\t\t\t\t\t"+t._s(e.description)+" - "),a("b",[t._v(t._s(e.title))])])})),0)]):a("section",[a("h1",[t._v(t._s(t.$t("popins.fullscreen.exportKey.privateKeyAsQR")))]),t._v(" "),t._m(0),t._v(" "),a("section",{staticClass:"split-inputs"},[a("Button",{staticStyle:{flex:"1"},attrs:{text:t.$t("generic.save")},nativeOn:{click:function(e){return t.screenshot(e)}}})],1)]),t._v(" "),a("br"),t._v(" "),a("section",{staticClass:"qr"},[a("img",{attrs:{src:t.qr}})])]):t._e(),t._v(" "),t.screenshotting?t._e():a("ActionBar",{attrs:{"buttons-left":t.buttonsLeft}})],1)])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"disclaimer",staticStyle:{margin:"0 auto 10px","max-width":"500px"}},[e("figure",{staticClass:"description"},[this._v("This QR code is encrypted with your password.")])])}],!1,null,"77b132cd",null).exports),In={props:["popin"],data:()=>({nameauth:"",network:null}),computed:{...Object(y.c)(["networks"]),keypair(){return this.popin.data.props.keypair},validNetworks(){const t=yt.a.plugin(kt.Blockchains.EOSIO).getEndorsedNetwork();return this.networks.filter(t=>t.blockchain===kt.Blockchains.EOSIO).sort((e,a)=>a.chainId===t.chainId?1:e.chainId===t.chainId?-1:0)}},mounted(){if(!this.validNetworks.length)return b.a.push(i.a.snackbar(this.$t("popins.overlay.linkAccount.noNetworksAvailable"))),this.returnResult(!1);this.network=this.validNetworks[0]},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},async addAccount(){const[t,e]=this.nameauth.trim().toLowerCase().split("@");if(!t.length)return;const a=fi.a.fromJson({keypairUnique:this.keypair.id,networkUnique:this.network.unique(),publicKey:this.keypair.enabledKey().key,name:t,authority:e||"active"});await Jt.a.addAccount(a),Qt.a.loadBalancesFor(a),ue.a.getResourcesFor(a).then(t=>{this[E.ADD_RESOURCES]({acc:a.identifiable(),res:t})}),this.returnResult(!0)},...Object(y.b)([O.f,E.ADD_RESOURCES])}},Nn=(a("5v53"),Object(T.a)(In,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"prompt pop-over"},[a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.overlay.linkAccount.title")))]),t._v(" "),a("figure",{staticClass:"description"},[t._v(t._s(t.$t("popins.overlay.linkAccount.description")))]),t._v(" "),a("Input",{attrs:{placeholder:"name@authority",centered:"1",text:t.nameauth},on:{changed:function(e){return t.nameauth=e}}}),t._v(" "),a("br"),t._v(" "),a("label",[t._v(t._s(t.$t("popins.overlay.linkAccount.selectNetwork")))]),t._v(" "),a("Select",{attrs:{options:t.validNetworks,parser:function(t){return t.name},bordered:"1",selected:t.network},on:{selected:function(e){return t.network=e}}}),t._v(" "),a("section",{staticClass:"actions"},[a("Button",{attrs:{text:t.$t("generic.cancel")},nativeOn:{click:function(e){return t.returnResult(!1)}}}),t._v(" "),a("Button",{attrs:{blue:"1",text:t.$t("popins.overlay.linkAccount.button")},nativeOn:{click:function(e){return t.addAccount(e)}}})],1)],1)}),[],!1,null,"0f72e0d5",null).exports),Rn={props:["popin"],data:()=>({currencies:{}}),mounted(){zt.a.getCurrencyPrices().then(t=>this.currencies=t)},computed:{...Object(y.d)(["scatter","prices"]),...Object(y.c)(["displayToken","displayCurrency"]),networkTokensList(){return this.scatter.networkTokens().filter(t=>this.prices.hasOwnProperty(t.uniqueWithChain())).reduce((t,e)=>(t.find(t=>t.unique()===e.unique())||t.push(e),t),[])}},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},setCurrency:we.a.setDisplayCurrency,setToken:we.a.setDisplayToken,...Object(y.b)([O.f])}},Ln=(a("/2Y3"),Object(T.a)(Rn,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-over"},[a("PopInHead",{attrs:{title:t.$t("popins.overlay.selectDisplayToken")},on:{close:t.returnResult}}),t._v(" "),a("section",{staticClass:"display-token"},[a("label",[t._v(t._s(t.$t("popins.overlay.selectFiatCurrency")))]),t._v(" "),a("section",{staticClass:"button-list"},t._l(t.currencies,(function(e,i){return a("Button",{key:i,attrs:{text:i,blue:i===t.displayCurrency},nativeOn:{click:function(e){return t.setCurrency(i)}}})})),1)]),t._v(" "),a("section",{staticClass:"display-token"},[a("label",[t._v(t._s(t.$t("popins.overlay.selectBlockchainToken")))]),t._v(" "),a("section",{staticClass:"button-list"},t._l(t.networkTokensList,(function(e){return a("Button",{key:e.uniqueWithChain(),attrs:{text:e.symbol,blue:e.uniqueWithChain()===t.displayToken},nativeOn:{click:function(a){return t.setToken(e)}}})})),1)])],1)}),[],!1,null,"7fa05eb2",null).exports),Bn={components:{Terms:z},props:["popin"],methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},...Object(y.b)([O.f])}},Dn=Object(T.a)(Bn,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[a("Terms",{on:{next:function(e){return t.returnResult(!0)},back:function(e){return t.returnResult(!1)}}})],1)}),[],!1,null,"41538e60",null).exports,$n={props:["popin"],data:()=>({privateKey:"",originalPrivateKey:"",identity:null}),computed:{...Object(y.d)(["scatter"]),...Object(y.c)([]),buttonsRight(){return[{text:this.$t("popins.fullscreen.generateRandomKey"),click:()=>this.randomKey()},{text:this.$t("popins.fullscreen.saveIdentityKey"),blue:!0,click:()=>this.saveIdentityPrivateKey()}]}},mounted(){this.identity=this.popin.data.props.identity.clone(),m.a.publicToPrivate(this.identity.publicKey).then(t=>{this.privateKey=t,this.originalPrivateKey=t})},methods:{returnResult(){this.popin.data.callback(!0),this[O.f](this.popin)},async randomKey(){const t=bi.a.placeholder();await m.a.generateKeyPair(t),this.privateKey=await yt.a.plugin(kt.Blockchains.EOSIO).bufferToHexPrivate(t.privateKey)},async saveIdentityPrivateKey(){if(this.privateKey===this.originalPrivateKey)return this.returnResult(!1);const t=yt.a.plugin(kt.Blockchains.EOSIO).privateToPublic(this.privateKey);if(this.identity.id===this.identity.ridl){if(!await ea.b.changeKey(this.identity.name,t))return}else this.identity.ridl=-1;this.identity.privateKey=this.privateKey,this.identity.publicKey=t;const e=this.scatter.clone();e.keychain.updateOrPushIdentity(this.identity),await this[E.SET_SCATTER](e),this.returnResult(!0)},...Object(y.b)([O.f,E.SET_SCATTER])}},Kn=(a("Vv/L"),Object(T.a)($n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in"},[t.identity?a("section",[a("section",{staticClass:"head"},[a("figure",{staticClass:"icon font icon-key"}),t._v(" "),a("figure",{staticClass:"title"},[t._v(t._s(t.$t("popins.fullscreen.changeIdentityKey")))])]),t._v(" "),a("section",{staticClass:"key-details"},[a("label",[t._v("Private Key")]),t._v(" "),a("Input",{attrs:{text:t.privateKey}})],1),t._v(" "),a("ActionBar",{attrs:{"buttons-left":[{text:t.$t("generic.cancel"),click:function(){return t.returnResult(!1)}}],"buttons-right":t.buttonsRight}})],1):t._e()])}),[],!1,null,"e4534040",null).exports),jn={props:["popin"],data:()=>({text:"",error:!1}),computed:{...Object(y.d)(["scatter"])},methods:{returnResult(t){this.popin.data.callback(t),this[O.f](this.popin)},validatePIN(){if(this.text.length){if(this.scatter.pin===Rt.a.unsaltedQuickHash(this.text))return this.returnResult(!0);this.error=!0,setTimeout(()=>{this.error=!1},700)}},...Object(y.b)([O.f])}},Fn=(a("kPM7"),{components:{EnterPIN:Object(T.a)(jn,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"prompt pop-over"},[a("PopInHead",{attrs:{title:t.$t("popins.overlay.confirmPin")},on:{close:t.returnResult}}),t._v(" "),a("section",{staticClass:"panel",staticStyle:{padding:"20px"}},[a("section",{staticClass:"split-inputs"},[a("Input",{staticStyle:{"margin-bottom":"0",flex:"3"},attrs:{placeholder:"****",text:t.text,type:"password"},on:{changed:function(e){return t.text=e}}}),t._v(" "),a("Button",{class:{wiggle:t.error},staticStyle:{"margin-bottom":"0",flex:"1.5"},attrs:{red:t.error,text:t.$t("generic.confirm")},nativeOn:{click:function(e){return t.validatePIN(e)}}})],1)])],1)}),[],!1,null,"0311351a",null).exports,ChangeIdentityKey:Kn,Terms:Dn,SelectDisplayToken:Ln,EosLinkAccount:Nn,ExportPrivateKey:Pn,SelectFromList:En,EnterSecurityCode:Tn,SelectRecipient:kn,SelectBlockchain:_n,SelectTokenAndAccount:Zi,SelectAccount:qi,SelectKeypair:Ui,SelectToken:Gi,UpdateAvailable:vn,Snackbar:Ya,TransactionSuccess:Ga,Prompt:Yi,ImportBackup:ln,DestroyScatter:nn,AddCustomNetwork:wi,AddNewContact:Ci,ConfirmPassword:di,EosChangePermissions:Qa,EosProxyVotes:Ja,EosModerateRam:si,EosModerateCpuNet:ci,EosCreateAccount:yi,UnlinkAccount:ui,RemoveKeypair:Fi,ImportKeypair:Di,GenerateKeypair:Ki,CheckHardware:Xi,ConfirmExchange:hn,ConfirmTransfer:mn,EnableSimpleMode:pn},data:()=>({popupTypes:i.d,popupDisplayTypes:i.c}),computed:{...Object(y.d)(["popups"]),...Object(y.c)(["popIns","nextPopIn","snackbars"]),showFader(){return this.nextPopIn&&this.nextPopIn.displayType===i.c.POP_IN}},methods:{isFullscreen:i.e,clickedFader(){this.nextPopIn&&(this.nextPopIn.hasOwnProperty("data")&&"function"==typeof this.nextPopIn.data.callback&&this.nextPopIn.data.callback(null),this[O.f](this.popIns[this.popIns.length-1]))},isWide:t=>[i.d.SELECTOR,i.d.UPDATE_AVAILABLE].includes(t.data.type),...Object(y.b)([O.f])}}),Mn=(a("qjCw"),Object(T.a)(Fn,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[a("section",{staticClass:"fader",class:{show:t.showFader}},t._l(t.popIns,(function(e){return a("section",{staticClass:"pop-ins"},[t.isFullscreen(e)?a("section",{staticClass:"fullscreen"},[e.data.type===t.popupTypes.SECURITY_CODE?a("EnterSecurityCode",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.VERIFY_PASSWORD?a("ConfirmPassword",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.EOS_PROXY_VOTES?a("EosProxyVotes",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.EOS_CHANGE_PERMISSIONS?a("EosChangePermissions",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.EOS_MODERATE_RAM?a("EosModerateRam",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.EOS_MODERATE_CPU_NET?a("EosModerateCpuNet",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.EOS_CREATE_ACCOUNT?a("EosCreateAccount",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.ADD_CUSTOM_NETWORK?a("AddCustomNetwork",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.ADD_NEW_CONTACT?a("AddNewContact",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.UNLINK_ACCOUNT?a("UnlinkAccount",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.REMOVE_KEYPAIR?a("RemoveKeypair",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.IMPORT_KEYPAIR?a("ImportKeypair",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.GENERATE_KEYPAIR?a("GenerateKeypair",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.CHECK_HARDWARE?a("CheckHardware",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.DESTROY_SCATTER?a("DestroyScatter",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.IMPORT_FULL_BACKUP?a("ImportBackup",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.EXPORT_PRIVATE_KEY?a("ExportPrivateKey",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.SHOW_TERMS?a("Terms",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.CHANGE_IDENTITY_KEY?a("ChangeIdentityKey",{attrs:{popin:e}}):t._e()],1):a("section",{staticClass:"overlay",class:{wide:t.isWide(e)}},[a("figure",{staticClass:"bg-holder"},[a("section",{staticClass:"pop-in-over"},[a("figure",{staticClass:"bg",on:{click:t.clickedFader}}),t._v(" "),e.data.type===t.popupTypes.ENTER_PIN?a("EnterPIN",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.PROMPT?a("Prompt",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.SELECT_FROM_LIST?a("SelectFromList",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.TX_SUCCESS?a("TransactionSuccess",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.UPDATE_AVAILABLE?a("UpdateAvailable",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.SELECT_ACCOUNT?a("SelectAccount",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.SELECT_KEYPAIR?a("SelectKeypair",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.SELECT_RECIPIENT?a("SelectRecipient",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.SELECT_BLOCKCHAIN?a("SelectBlockchain",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.SELECT_TOKEN?a("SelectToken",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.SELECT_TOKEN_AND_ACCOUNT?a("SelectTokenAndAccount",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.CONFIRM_TRANSFER?a("ConfirmTransfer",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.CONFIRM_EXCHANGE?a("ConfirmExchange",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.EOS_LINK_ACCOUNT?a("EosLinkAccount",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.DISPLAY_TOKEN?a("SelectDisplayToken",{attrs:{popin:e}}):t._e(),t._v(" "),e.data.type===t.popupTypes.ENABLE_SIMPLE_MODE?a("EnableSimpleMode",{attrs:{popin:e}}):t._e()],1)])])])})),0),t._v(" "),a("section",{staticClass:"snackbar-holder",class:{"has-snackbar":t.snackbars.length}},[a("transition-group",{attrs:{name:"snackbar-transition"}},t._l(t.snackbars,(function(t){return a("Snackbar",{key:t.id,attrs:{popup:t}})})),1)],1)])}),[],!1,null,"7e1d5bc4",null).exports),qn={data:()=>({}),computed:{...Object(y.d)(["history","sidebarLocked"]),...Object(y.c)(["accounts"]),items(){return[{name:this.$t("sidebar.dashboard"),route:$a.HOME},this.accounts.length?{name:this.$t("sidebar.apps"),route:$a.APPS}:null,{name:this.$t("sidebar.wallet"),route:$a.WALLET},this.accounts.length?{name:this.$t("sidebar.assets"),route:$a.ASSETS}:null,{name:this.$t("sidebar.identities"),route:$a.IDENTITIES},{name:this.$t("sidebar.locations"),route:$a.LOCATIONS},{name:this.$t("sidebar.contacts"),route:$a.CONTACTS},this.history.length?{name:this.$t("sidebar.history"),route:$a.HISTORIES}:null,{name:this.$t("sidebar.networks"),route:$a.NETWORKS},{name:this.$t("sidebar.settings"),route:$a.SETTINGS},"extension"===v.getWalletType()?{name:this.$t("sidebar.lock"),click:this.lockWallet}:null].filter(t=>!!t)}},mounted(){this[O.v]("true"===window.localStorage.getItem("sidebar"))},methods:{itemIcon(t){switch(t.name){case this.$t("sidebar.dashboard"):return"fal fa-rocket";case this.$t("sidebar.apps"):return"fal fa-star";case this.$t("sidebar.wallet"):return"fal fa-wallet";case this.$t("sidebar.assets"):return"fal fa-coins";case this.$t("sidebar.identities"):return"fal fa-passport";case this.$t("sidebar.locations"):return"fal fa-map-marker-alt";case this.$t("sidebar.contacts"):return"fal fa-address-book";case this.$t("sidebar.history"):return"fal fa-history";case this.$t("sidebar.networks"):return"fal fa-server";case this.$t("sidebar.settings"):return"fal fa-cog";case this.$t("sidebar.lock"):return"fal fa-lock-alt";default:return"fal fa-star"}},async lockWallet(){await window.wallet.lock(),location.reload()},toggleSidebar(){this[O.v](!this.sidebarLocked),window.localStorage.setItem("sidebar",this.sidebarLocked)},checkMobileClick(){this.isMobile&&!this.sidebarLocked&&this.toggleSidebar()},...Object(y.b)([O.v])}},zn=(a("XP/4"),Object(T.a)(qn,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"sidebar-container",class:{locked:!t.sidebarLocked}},[a("section",{staticClass:"placeholder"}),t._v(" "),a("section",{staticClass:"sidebar"},[a("figure",{staticClass:"bar-bg"}),t._v(" "),t._l(t.items,(function(e){return a("figure",[e.hasOwnProperty("route")?a("router-link",{key:e.name,staticClass:"item",class:{active:t.$route.name===e.route},attrs:{to:{name:e.route}},nativeOn:{click:function(e){return t.checkMobileClick(e)}}},[a("i",{class:t.itemIcon(e)}),t._v(" "),a("span",[t._v(t._s(e.name))])]):a("figure",{key:e.name,staticClass:"item",on:{click:e.click}},[a("i",{class:t.itemIcon(e)}),t._v(" "),a("span",[t._v(t._s(e.name))])])],1)})),t._v(" "),a("figure",{staticClass:"lock-sidebar",on:{click:t.toggleSidebar}},[a("span",{staticClass:"nav"})])],2)])}),[],!1,null,"58da2a59",null).exports),Un={components:{},data:()=>({}),computed:{...Object(y.d)(["scatter","sidebarLocked"]),...Object(y.c)(["accounts"])},mounted(){},methods:{quickAction(t){if(this.onAccount)return this.$router.push({name:t,query:{account:this.onAccount.identifiable()}});this.$router.push({name:t})},selectDisplays(){b.a.push(i.a.setDisplayToken(t=>{}))}}},Hn=(a("TgQI"),Object(T.a)(Un,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"bottom-actions",class:{sidebarLocked:!t.sidebarLocked}},[a("section",{staticClass:"flex-wrapper"},[a("section",{staticClass:"action",on:{click:function(e){return t.quickAction(t.RouteNames.TRANSFER)}}},[a("i",{staticClass:"fal fa-sign-out"}),t._v(" "),a("span",[t._v(t._s(t.$t("generic.send")))])]),t._v(" "),a("section",{staticClass:"action",on:{click:function(e){return t.quickAction(t.RouteNames.RECEIVE)}}},[a("i",{staticClass:"fal fa-sign-in"}),t._v(" "),a("span",[t._v(t._s(t.$t("generic.receive")))])]),t._v(" "),a("section",{staticClass:"action",on:{click:function(e){return t.quickAction(t.RouteNames.EXCHANGE)}}},[a("i",{staticClass:"fal fa-retweet"}),t._v(" "),a("span",[t._v(t._s(t.$t("generic.exchange")))])])])])}),[],!1,null,"6c22c66b",null).exports),Yn={props:{number:{default:0},decimals:{default:2}},data:()=>({displayNumber:0,interval:!1}),mounted:function(){this.displayNumber=this.number?this.number:0},watch:{number(){clearInterval(this.interval),this.number!==this.displayNumber&&(this.interval=setInterval(()=>{if(this.displayNumber!==this.number){let t=(parseFloat(this.number)-parseFloat(this.displayNumber))/10;this.displayNumber=parseFloat(parseFloat(this.displayNumber)+t).toFixed(this.decimals)}},10))}}},Wn=Object(T.a)(Yn,(function(){var t=this.$createElement;return(this._self._c||t)("span",[this._v(this._s(this.formatNumber(this.displayNumber,!0)))])}),[],!1,null,"b497e218",null).exports,Gn={components:{AnimatedNumber:Wn},data:()=>({loadingBalances:!1}),computed:{...Object(y.d)(["scatter","balances","prices","history","sidebarLocked"]),...Object(y.c)(["keypairs","accounts","totalBalances","displayToken","displayCurrency","hideMainBalance"]),totalBalance:()=>zt.a.getTotal(Qt.a.totalBalances(!0).totals),totalTokenBalance(){return zt.a.getTotal(Qt.a.totalBalances(!0).totals,null,!1,this.displayToken)},quickBack(){return[$a.ACCOUNT,$a.APP].filter(t=>!!t).includes(this.$route.name)},onAccount(){if(this.$route.name===$a.ACCOUNT)return this.accounts.find(t=>t.unique()===this.$route.params.unique)}},mounted(){this.refreshTokens()},methods:{async refreshTokens(t=!1){!t&&Object.keys(this.balances).length||this.loadingBalances||(this.loadingBalances=!0,await zt.a.setPrices(),await Qt.a.loadAllBalances(!0),this.loadingBalances=!1)},quickAction(t){if(this.onAccount)return this.$router.push({name:t,query:{account:this.onAccount.identifiable()}});this.$router.push({name:t})},selectDisplays(){b.a.push(i.a.setDisplayToken(t=>{}))},displayTokenClass(){return this.scatter.networkTokens().find(t=>t.uniqueWithChain()===this.displayToken).symbolClass()}}},Vn=(a("T11S"),{components:{Popups:Mn,Processes:Ua,Sidebar:zn,QuickActions:Object(T.a)(Gn,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"quick-actions",class:{sidebarLocked:!t.sidebarLocked}},[a("section",{staticClass:"left",class:{quickBack:t.quickBack}},[t.quickBack?a("section",{staticClass:"quick-back",on:{click:function(e){return t.$router.back()}}},[a("i",{staticClass:"fal fa-arrow-left"})]):a("svg",{attrs:{width:"44px",height:"44px",viewBox:"0 0 44 44",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[a("g",{attrs:{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[a("path",{attrs:{d:"M22,0 C34.1502645,0 44,9.8497355 44,22 C44,34.1502645 34.1502645,44 22,44 C9.8497355,44 0,34.1502645 0,22 C0,9.8497355 9.8497355,0 22,0 Z M24.1351973,8.87608069 C23.3172851,8.87608069 22.5023063,9.00882172 21.6902364,9.27430777 C20.8781664,9.53979382 20.0982405,9.90556911 19.350435,10.3716446 C18.6026296,10.8377201 17.9074147,11.3863831 17.2647695,12.0176499 C16.6221242,12.6489167 16.0641996,13.3273709 15.590979,14.0530327 C15.1177584,14.7786946 14.7467824,15.542693 14.4780398,16.3450508 C14.2092972,17.1474087 14.074928,17.9438548 14.074928,18.7344133 C14.074928,19.6547649 14.200534,20.4718597 14.4517499,21.1857222 C14.7029658,21.8995847 15.0330468,22.5396915 15.4420029,23.1060617 C15.850959,23.6724319 16.3183303,24.1738981 16.844131,24.6104751 C17.3699317,25.0470522 17.9074088,25.4541247 18.4565784,25.8317048 C19.005748,26.209285 19.543225,26.5721105 20.0690257,26.9201922 C20.5948264,27.2682739 21.0621978,27.6251998 21.4711538,27.9909805 C21.8801099,28.3567613 22.210191,28.7520346 22.4614068,29.1768123 C22.7126227,29.60159 22.8382288,30.0853573 22.8382288,30.6281288 C22.8382288,31.4068878 22.6045431,32.0233962 22.1371647,32.4776723 C21.6697863,32.9319484 21.0680457,33.1590831 20.3319247,33.1590831 C19.9930754,33.1590831 19.6980472,33.1177859 19.4468314,33.0351902 C19.1956155,32.9525946 18.9852984,32.8611507 18.8158737,32.760856 C18.646449,32.6605613 18.5150008,32.5632179 18.4215252,32.4688228 L18.4215252,32.4688228 L18.2462591,32.291833 C18.141099,32.0794442 18.0067297,31.9732513 17.8431473,31.9732513 C17.7146183,31.9732513 17.5685647,32.0440466 17.4049823,32.1856391 C17.2413998,32.3272317 17.0895041,32.5012699 16.9492906,32.7077591 C16.8090771,32.9142482 16.6922343,33.1384331 16.5987586,33.3803204 C16.5052829,33.6222077 16.4585458,33.8493423 16.4585458,34.0617311 C16.4585458,34.120728 16.5169672,34.2475695 16.6338118,34.4422592 C16.7506564,34.636949 16.9551314,34.8404853 17.2472429,35.0528741 C17.5393543,35.2652629 17.93662,35.457 18.4390518,35.628091 C18.9414835,35.799182 19.5724349,35.8847262 20.3319247,35.8847262 C21.0797301,35.8847262 21.7807872,35.7431358 22.4351169,35.4599507 C23.0894467,35.1767656 23.6561345,34.7932915 24.1351973,34.3095169 C24.6142601,33.8257423 24.9910783,33.2564308 25.2656631,32.6015652 C25.5402479,31.9466996 25.6775382,31.2534964 25.6775382,30.5219349 C25.6775382,29.7667746 25.5519322,29.0971698 25.3007163,28.5131005 C25.0495004,27.9290312 24.7164983,27.3980671 24.3017,26.9201922 C23.8869017,26.4423173 23.4166093,26.0057468 22.8908086,25.6104676 C22.3650079,25.2151883 21.8275308,24.8317142 21.2783612,24.4600338 C20.7291916,24.0883533 20.1917146,23.7137286 19.6659139,23.3361485 C19.1401132,22.9585683 18.6698208,22.5455962 18.2550224,22.0972198 C17.8402241,21.6488433 17.507222,21.150327 17.2560062,20.6016558 C17.0047903,20.0529847 16.8791842,19.4305767 16.8791842,18.7344133 C16.8791842,18.073648 16.993106,17.4394409 17.2209529,16.8317728 C17.4487999,16.2241047 17.7496702,15.657743 18.1235729,15.1326706 C18.4974756,14.6075982 18.9297942,14.1267807 19.4205415,13.6902036 C19.9112888,13.2536266 20.4195551,12.8819517 20.9453558,12.5751678 C21.4711565,12.2683839 21.9940282,12.0294501 22.5139866,11.858359 C23.0339451,11.687268 23.5159218,11.6017238 23.9599313,11.6017238 C24.6726833,11.6017238 25.1780286,11.7787119 25.4759823,12.1326933 C25.773936,12.4866747 25.9229107,12.970442 25.9229107,13.5840097 C25.9229107,14.1857781 25.7447253,14.8052363 25.3883493,15.4424028 C25.0319733,16.0795693 24.5908916,16.6636298 24.0650909,17.1946019 C23.5392902,17.725574 22.9784446,18.1621445 22.3825371,18.5043265 C21.7866297,18.8465086 21.2433105,19.017597 20.7525632,19.017597 C20.6006652,19.017597 20.4662959,19.002848 20.3494513,18.9733495 C20.2326067,18.9438511 20.1362114,18.9261523 20.0602624,18.9202526 C19.9843134,18.9143529 19.925892,18.9350015 19.8849964,18.982199 C19.8441008,19.0293966 19.8236533,19.1296898 19.8236533,19.2830817 C19.8236533,19.4718718 19.8703904,19.6872073 19.9638661,19.9290945 C20.0573418,20.1709818 20.18879,20.4010663 20.3582146,20.6193548 C20.5276393,20.8376433 20.7379564,21.020531 20.9891723,21.1680232 C21.2403882,21.3155155 21.5237321,21.3892605 21.8392125,21.3892605 C22.2014307,21.3892605 22.622065,21.2889673 23.1011278,21.0883778 C23.5801906,20.8877884 24.0738516,20.6075573 24.5821256,20.2476762 C25.0903996,19.8877951 25.5869817,19.4630238 26.0718868,18.9733495 C26.5567918,18.4836753 26.9920314,17.9497614 27.3776186,17.3715917 C27.7632058,16.7934221 28.0728393,16.1798636 28.3065285,15.5308977 C28.5402177,14.8819318 28.6570605,14.2211764 28.6570605,13.5486118 C28.6570605,12.840649 28.551902,12.2005422 28.3415817,11.6282723 C28.1312614,11.0560024 27.8333122,10.5663354 27.447725,10.1592568 C27.0621378,9.75217823 26.5889243,9.43654956 26.0280703,9.21236134 C25.4672162,8.98817312 24.8362649,8.87608069 24.1351973,8.87608069 Z",id:"Combined-Shape-Copy-21",fill:"#00A8FF"}})])])]),t._v(" "),a("section",{staticClass:"right"},[t.accounts.length?a("section",[a("section",{staticClass:"balances"},[a("section",{staticClass:"fiat"},[a("span",{staticClass:"balance",on:{click:t.selectDisplays}},[t._v(t._s(t.totalBalance.symbol)),a("AnimatedNumber",{attrs:{number:t.totalBalance.amount}})],1)]),t._v(" "),t.displayToken?a("section",{staticClass:"token",on:{click:t.selectDisplays}},[a("i",{staticClass:"symbol",class:t.displayTokenClass()}),t._v(" "),a("span",{staticClass:"balance"},[t._v(t._s(t.formatNumber(t.totalTokenBalance.amount,!0))+" "+t._s(t.totalTokenBalance.symbol))])]):t._e()])]):t._e(),t._v(" "),t.accounts.length?a("i",{staticClass:"fal fa-sync",class:{spin:t.loadingBalances},staticStyle:{cursor:"pointer"},on:{click:t.refreshTokens}}):t._e()])])}),[],!1,null,"4fa3c406",null).exports,BottomActions:Hn},data:()=>({routeNames:$a}),computed:{...Object(y.d)(["scatter","workingScreen","processes","isMobileDevice"]),...Object(y.c)(["unlocked","accounts"]),onboarded(){return this.unlocked&&this.scatter.onboarded&&this.route!==$a.LOGIN},isPopout(){return"popout"===this.$route.name},route(){return this.$route.name},showQuickActions(){return!!this.onboarded&&![].includes(this.$route.name)},showBottomActions(){return!!this.unlocked&&(!!this.onboarded&&(this.accounts.length?![$a.IDENTITIES,$a.LOCATIONS,$a.NETWORKS,$a.CONTACTS,$a.HISTORIES].includes(this.$route.name):void 0))}},mounted(){this.checkDevice(),this.checkMobileSize(),window.addEventListener("resize",this.checkMobileSize)},methods:{checkMobileSize(){this.isMobileDevice||this[O.n](window.innerWidth<800)},checkDevice(){let t=!1;var e;e=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0),t&&(this[O.o](!0),this[O.n](!0))},...Object(y.b)([O.n,O.o])}}),Zn=(a("eS/V"),Object(T.a)(Vn,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[t.route?a("section",{staticClass:"view-base",class:{mobile:t.isMobile}},[a("Popups"),t._v(" "),t.isPopout?a("router-view"):a("section",[a("section",{staticClass:"app-content"},[t.unlocked&&t.onboarded?a("Sidebar"):t._e(),t._v(" "),a("section",{staticClass:"view-pane",class:{borders:t.unlocked&&t.onboarded}},[t.showQuickActions?a("QuickActions"):t._e(),t._v(" "),a("router-view",{staticClass:"router-view"}),t._v(" "),t.showBottomActions?a("BottomActions"):t._e()],1),t._v(" "),a("Processes")],1)]),t._v(" "),t.workingScreen?a("section",{staticClass:"working-screen"},[a("figure",{staticClass:"spinner icon-spin4 animate-spin"})]):t._e()],1):t._e()])}),[],!1,null,null,null).exports),Jn={props:["white","text","click","blue","red","disabled","big","icon","small","loading"]},Xn=(a("FNgu"),Object(T.a)(Jn,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("button",{class:{blue:t.blue,white:t.white,red:t.red,big:t.big,small:t.small,icon:t.icon&&!t.text},attrs:{disabled:t.disabled||t.loading},on:{click:function(e){t.click&&!t.loading&&t.click()}}},[t.icon?a("span",{staticClass:"icon",class:t.icon}):t._e(),t._v(" "),t.loading?a("span",{staticClass:"loading icon-spin4 animate-spin"}):t._e(),t._v(" "),t.text?a("span",[t._v(t._s(t.text))]):t._e()])}),[],!1,null,"29c1ada2",null).exports),Qn={data(){return{input:this.text}},methods:{enter(){this.$emit("enter")},emit(){this.$emit("changed",this.input)},blur(){this.$emit("blur")},emitDynamicButton(){this.$emit("dynamic")}},created(){this.focus&&this.$nextTick(()=>{this.$refs.focuser.focus()})},props:["forLogin","placeholder","label","labelStyles","error","type","maxlength","text","disabled","copy","hideDynamicButton","dynamicButton","dynamicTooltip","big","medium","focus","loaderOnDynamic","red","centered","textarea","rightText","small","white"],watch:{input:function(){this.emit()},text:function(){this.input=this.text},focus:function(){this.focus&&this.$refs.focuser.focus()}}},ts=(a("4eXn"),Object(T.a)(Qn,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"input",class:{"for-login white":t.forLogin,big:t.big,medium:t.medium,small:t.small,important:t.red,centered:t.centered,white:t.white}},[t.error||t.label?a("label",t._b({class:{error:t.error}},"label",t.labelStyles,!1),[a("span",[t._v(t._s(t.error?t.error:t.label))]),t._v(" "),t.rightText?a("span",{on:{click:function(e){return t.$emit("right")}}},[t._v(t._s(t.rightText))]):t._e()]):t._e(),t._v(" "),"checkbox"!==(t.type||"text")||t.textarea?"radio"!==(t.type||"text")||t.textarea?t.textarea?t._e():a("input",{directives:[{name:"model",rawName:"v-model",value:t.input,expression:"input"}],ref:"focuser",class:{"pad-right":t.dynamicButton||t.copy},attrs:{placeholder:t.placeholder,maxlength:t.maxlength||-1,disabled:t.disabled||!1,type:t.type||"text"},domProps:{value:t.input},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.enter(e)},blur:t.blur,input:function(e){e.target.composing||(t.input=e.target.value)}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:t.input,expression:"input"}],ref:"focuser",class:{"pad-right":t.dynamicButton||t.copy},attrs:{placeholder:t.placeholder,maxlength:t.maxlength||-1,disabled:t.disabled||!1,type:"radio"},domProps:{checked:t._q(t.input,null)},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.enter(e)},blur:t.blur,change:function(e){t.input=null}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:t.input,expression:"input"}],ref:"focuser",class:{"pad-right":t.dynamicButton||t.copy},attrs:{placeholder:t.placeholder,maxlength:t.maxlength||-1,disabled:t.disabled||!1,type:"checkbox"},domProps:{checked:Array.isArray(t.input)?t._i(t.input,null)>-1:t.input},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.enter(e)},blur:t.blur,change:function(e){var a=t.input,i=e.target,n=!!i.checked;if(Array.isArray(a)){var s=t._i(a,null);i.checked?s<0&&(t.input=a.concat([null])):s>-1&&(t.input=a.slice(0,s).concat(a.slice(s+1)))}else t.input=n}}}),t._v(" "),t.textarea?a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.input,expression:"input"}],ref:"focuser",class:{"pad-right":t.dynamicButton||t.copy},attrs:{placeholder:t.placeholder,maxlength:t.maxlength||-1,disabled:t.disabled||!1,type:t.type||"text"},domProps:{value:t.input},on:{blur:t.blur,input:function(e){e.target.composing||(t.input=e.target.value)}}}):t._e(),t._v(" "),t.dynamicButton?a("figure",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.dynamicTooltip,expression:"dynamicTooltip"}],staticClass:"dynamic-button",class:{labeled:t.label,hide:t.hideDynamicButton},on:{click:t.emitDynamicButton}},[t.loaderOnDynamic?t._e():a("i",{class:""+t.dynamicButton}),t._v(" "),t.loaderOnDynamic?a("i",{staticClass:"icon-spin4 animate-spin"}):t._e()]):t._e(),t._v(" "),t.copy?a("figure",{staticClass:"copy",class:{labeled:t.label}},[a("i",{staticClass:"icon-docs",on:{click:t.copyText}})]):t._e()])}),[],!1,null,"b7311f50",null).exports),es={props:["selected","placeholder","disabled","options","parser","subparser","iconparser","bordered","noClick","truncate","startLeft"],data:()=>({open:!1,optionsTerms:"",hovered:0}),mounted(){document.addEventListener("click",this.handleDocumentClick),document.addEventListener("keyup",this.handleKeyPress)},destroyed(){document.removeEventListener("click",this.handleDocumentClick),document.removeEventListener("keyup",this.handleKeyPress)},computed:{filteredOptions(){return this.options.filter(t=>{const e=this.parse(t);return!e||e.toLowerCase().indexOf(this.optionsTerms.toLowerCase())>-1})},selectedOption(){return this.selected||this.placeholder||this.options[0]}},methods:{handleDocumentClick(t){this.open&&(this.open=!1)},handleKeyPress(t){if(this.open)switch(t.which){case 40:this.hovered++;break;case 38:this.hovered--;break;case 13:return this.select(this.filteredOptions[this.hovered])}this.hovered<0&&(this.hovered=this.filteredOptions.length-1),this.hovered>this.filteredOptions.length-1&&(this.hovered=0)},toggle(){this.open||setTimeout(()=>{if(this.disabled)return!1;this.open=!this.open,this.open&&(this.optionsTerms="",setTimeout(()=>{this.$refs.terms.focus()},50))},1)},parse(t){return"string"!=typeof t||this.parser&&this.parser(t)?"function"!=typeof this.parser?t:this.parser(t):t},select(t){this.open=!1,this.$emit("selected",t)}}},as=(a("J6uO"),Object(T.a)(es,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"select",class:{bordered:t.bordered,open:t.open,disabled:t.disabled}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.optionsTerms,expression:"optionsTerms"}],ref:"terms",attrs:{placeholder:"Search..."},domProps:{value:t.optionsTerms},on:{input:function(e){e.target.composing||(t.optionsTerms=e.target.value)}}}),t._v(" "),a("section",{staticClass:"selected",class:{bordered:t.bordered,truncate:t.truncate},on:{click:t.toggle}},[a("figure",{staticClass:"text"},[t._v("\n\t\t\t"+t._s(t.parse(t.selectedOption))+"\n\t\t\t"),t.subparser?a("div",{staticClass:"subtitle"},[t._v(t._s(t.subparser(t.selectedOption)))]):t._e()]),t._v(" "),a("figure",{staticClass:"chevron icon-down-open-big"})]),t._v(" "),t.noClick?t._e():a("section",{staticClass:"options",class:{"start-left":t.startLeft}},[t._l(t.filteredOptions,(function(e,i){return a("figure",{staticClass:"option",class:{hovered:t.hovered===i},on:{click:function(a){return t.select(e)},mouseover:function(e){t.hovered=i}}},[t._v("\n\t\t\t"+t._s(t.parse(e))+"\n\t\t\t"),t.subparser?a("div",{staticClass:"subtitle"},[t._v(t._s(t.subparser(e)))]):t._e(),t._v(" "),t.iconparser?a("i",t._b({staticClass:"item-icon"},"i",t.iconparser(e),!1)):t._e()])})),t._v(" "),t.filteredOptions.length?t._e():a("figure",{staticClass:"option"},[t._v("\n\t\t\tNo results\n\t\t")])],2)])}),[],!1,null,"e06cf00c",null).exports),is={props:["min","max","value","step","red"],data:()=>({val:0}),mounted(){this.val=this.value},computed:{percentage(){return this.min===this.max?100:this.val<0?Math.abs(this.val)/Math.abs(this.min)*100:this.val/this.max*100},isRed(){return this.min===this.max||(this.val<0?Math.abs(this.val)>Math.abs(this.min)-Math.abs(this.min)/6:this.val>this.max-this.max/6)}},watch:{val(){this.$emit("changed",this.val)},value(){this.val=this.value}}},ns=(a("vSR9"),Object(T.a)(is,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"percentage-bar"},[a("figure",{staticClass:"bar instant",class:{red:t.isRed},style:{width:t.percentage+"%"}}),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.val,expression:"val"}],class:{red:t.isRed},attrs:{type:"range",step:t.step?t.step:1,min:t.min,max:t.max},domProps:{value:t.val},on:{__r:function(e){t.val=e.target.value}}})])}),[],!1,null,"10792ff6",null).exports),ss={props:["title"],computed:{...Object(y.c)([])},methods:{returnResult(t){this.nextPopIn.data.callback(t),this[O.f](this.nextPopIn)},...Object(y.b)([O.f])}},os=(a("eqYS"),Object(T.a)(ss,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"pop-in-head"},[a("figure",{staticClass:"popin-title"},[t._v(t._s(t.title))]),t._v(" "),a("figure",{staticClass:"popin-close",on:{click:function(e){return t.$emit("close")}}},[a("i",{staticClass:"fal fa-times"})])])}),[],!1,null,"17a04b22",null).exports),rs={props:["state","disabled"],methods:{toggle(){this.disabled||this.$emit("switched",!this.state)}}},cs=(a("jw/E"),Object(T.a)(rs,(function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"switch",class:{disabled:this.disabled,off:!this.state},on:{click:this.toggle}},[e("figure",{staticClass:"dot"})])}),[],!1,null,"686d2e8e",null).exports);a("pqID");document.addEventListener("keydown",t=>{123===t.which&&window.wallet.utility.openTools(window.wallet.windowId)}),document.onmousedown=t=>{2===t.which&&t.preventDefault()};let ls=!1;window.loadStyles=async t=>{if(ls)return;ls=!0;const e=document.getElementsByTagName("head")[0],a=t=>{const a=document.createElement("style");a.setAttribute("type","text/css"),a.innerHTML=t,e.appendChild(a)},i=await Promise.race([fetch(t+"static/fonts/fontawesome.css").then(t=>t.text()).catch(()=>null),new Promise(t=>setTimeout(()=>t(null),2e3))]);i||console.log("There was an error setting up fontawesome."),a(i.replace(/INSERT_HOST/g,t+"static/fonts"));["static/fonts/scatter-icons","static/fonts/token-icons","static/fonts/scatter-logo","static/fonts/sidebar-icons","static/fonts/google-fonts"].map(async e=>{const i=t+e;let n=await Promise.race([fetch(i+"/style.css").then(t=>t.text()).catch(()=>null),new Promise(t=>setTimeout(()=>t(null),2e3))]);if(!n)return console.log("There was a problem fetching the CSS for '"+e+"'.");n=n.replace(/fonts\//g,i+"/fonts/"),a(n)})};new class{constructor(){const t="popout"===location.hash.replace("#/","").split("?")[0]||!!window.PopOutWebView,e=()=>{const e=[{tag:"Button",vue:Xn},{tag:"Input",vue:ts},{tag:"Select",vue:as},{tag:"Slider",vue:ns},{tag:"Switcher",vue:cs},{tag:"SearchBar",vue:va.a},{tag:"SearchAndFilter",vue:Ot},{tag:"ActionBar",vue:j},{tag:"view-base",vue:Zn},{tag:"PopInHead",vue:os},{tag:"AnimatedNumber",vue:Wn}];let a;a=t?[{tag:"PopOutHead",vue:S}]:[];const i=e.concat(a);let n=null;return new qa(Fa.routes(),i,async(e,a)=>{if(t)return e.name!==$a.POP_OUT?a({name:$a.POP_OUT}):a();Fa.isRestricted(e.name)?await(async()=>(n||(n=await window.wallet.unlocked()),n))()?a():a({name:$a.LOGIN}):a()},async t=>{}),!0};{let a,i=!1;const n=()=>{if(window.wallet||window.ReactNativeWebView||window.PopOutWebView){if(i)return;i=!0,clearInterval(a),(async()=>(await p.a.setup(),await v.init(t),"extension"===v.getWalletType()&&await window.wallet.unlocked()&&(await r.a.dispatch(E.LOAD_SCATTER),et.a.init()),e()))()}};n(),a=setInterval(()=>n(),100)}}}},"Vv/L":function(t,e,a){"use strict";var i=a("yVyQ");a.n(i).a},WgM2:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".progress-bubbles[data-v-47e790ea]{width:100%;padding:60px 0;position:relative;display:flex;align-items:center;flex-direction:column}.progress-bubbles[data-v-47e790ea]:before{content:'';display:block;width:100%;background:#dfe0e1;height:1px;position:relative;z-index:0}.progress-bubbles .bubbles[data-v-47e790ea]{display:flex;margin-top:-8px;position:relative}.progress-bubbles .bubbles .bubble[data-v-47e790ea]{width:16px;height:16px;border-radius:50%;margin:0 10px;border:1px solid #dfe0e1;background:#fff;transition:all 0.2s ease;transition-property:border, background}.progress-bubbles .bubbles .bubble.active[data-v-47e790ea]{background:#0799ff;border:1px solid #0799ff;animation:popBubble-data-v-47e790ea 0.2s ease-out}.progress-bubbles .bubbles .bubble[data-v-47e790ea]:first-child{margin-left:0}.progress-bubbles .bubbles .bubble[data-v-47e790ea]:last-child{margin-right:0}@keyframes popBubble-data-v-47e790ea{0%{transform:scale(1)}10%{transform:scale(1.5)}100%{transform:scale(1)}}.progress-bubbles .bubbles .grower[data-v-47e790ea]{height:16px;line-height:15px;background:#0799ff;border:1px solid #0799ff;position:absolute;z-index:1;transition:all 0.2s ease-out;transition-property:width, background, border;text-align:center;color:#fff;font-size:13px}.progress-bubbles .bubbles.done .bubble[data-v-47e790ea]{background:#1CCA02;border:1px solid #1CCA02}.progress-bubbles .bubbles.done .grower[data-v-47e790ea]{background:#1CCA02;border:1px solid #1CCA02}\n",""])},Wq3F:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"",""])},X6Qg:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"",""])},X8Dr:function(t,e,a){var i=a("XNg9");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("2f943d8a",i,!0,{})},XBwi:function(t,e,a){"use strict";var i=a("bm/A");a.n(i).a},"XHb+":function(t,e,a){var i=a("0/nc");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("c550e916",i,!0,{})},XJoY:function(t,e,a){"use strict";var i=a("E9Fc");a.n(i).a},XMON:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".panel-container[data-v-4f9b36dc]{overflow:auto;height:calc(100vh - 240px)}.resource-moderator .available-input[data-v-4f9b36dc]{width:200px;align-self:flex-end}@media (max-width: 600px){.resource-moderator .available-input[data-v-4f9b36dc]{width:100%}}@media (max-width: 600px){.resource-moderator[data-v-4f9b36dc]{flex-direction:column}}.resource[data-v-4f9b36dc]{font-size:11px;font-weight:bold;color:#9b9b9b;flex:0 0 auto;margin:20px 10px 0;max-width:150px}.resource[data-v-4f9b36dc]:first-child{margin-left:0}.resource[data-v-4f9b36dc]:last-child{margin-right:0;min-width:50px;text-align:right}@media (max-width: 600px){.resource[data-v-4f9b36dc]{margin:0 0 10px !important}}\n",""])},XNg9:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".pop-out-head{-webkit-app-region:drag;position:relative;z-index:2;flex:0 0 auto;height:40px;width:100%;display:flex;justify-content:space-between;align-items:center;padding:0 0 0 10px;border:1px solid #0778dd;border-bottom:0;background:#0799ff}.pop-out-head .details{-webkit-app-region:drag;flex:2}.pop-out-head .details .logo{font-family:'Grand Hotel', sans-serif;font-size:24px;color:#fff}.pop-out-head .actions{-webkit-app-region:no-drag;display:flex;flex-direction:row;justify-content:center;align-items:center}.pop-out-head .actions .id-selector{position:relative}.pop-out-head .actions .id-selector>i{color:rgba(255,255,255,0.5);font-size:12px;position:absolute;left:4px;top:6px;z-index:9999999}.pop-out-head .actions .id-selector .select{width:200px;height:24px;padding:0}.pop-out-head .actions .id-selector .select .selected{background:#0888f2;border:1px solid #0778dd;line-height:21px;padding-left:22px}.pop-out-head .actions .id-selector .select .selected .text{color:#fff}.pop-out-head .actions .id-selector .select .selected .chevron{color:#fff;right:5px}.pop-out-head .actions .close{cursor:pointer;text-align:right;padding:0 10px;font-size:18px;color:rgba(255,255,255,0.4);line-height:90px;height:90px}.pop-out-head .actions .close:hover{color:#fff}\n",""])},"XP/4":function(t,e,a){"use strict";var i=a("3ylq");a.n(i).a},XTGD:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"",""])},XZBh:function(t,e,a){"use strict";var i=a("x24n");a.n(i).a},XZEJ:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".token-symbol[data-v-bec13200]{font-size:16px;width:44px;height:44px;margin:0 auto;position:relative;display:flex;align-items:center;justify-content:center}@media (max-width: 600px){.token-symbol[data-v-bec13200]{width:24px;height:24px;text-align:center;font-size:18px}}.token-symbol .symbol-holder[data-v-bec13200]{width:44px;height:44px;text-align:center;font-size:32px;display:flex;align-items:center;justify-content:center;color:white}@media (max-width: 600px){.token-symbol .symbol-holder[data-v-bec13200]{width:24px;height:24px;text-align:center;font-size:18px;line-height:24px}}\n",""])},Y026:function(t,e,a){var i=a("sgi4");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("1c06722d",i,!0,{})},YHM3:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".split-inputs .input[data-v-0d4b0b56]{margin-bottom:0}@media (max-width: 600px){.split-inputs .input[data-v-0d4b0b56]{margin-bottom:10px}}.blacklisted-actions[data-v-0d4b0b56]{display:flex;flex-direction:column}.blacklisted-actions .blacklist[data-v-0d4b0b56]{padding:10px;border:1px solid #0799ff;border-radius:4px;margin-bottom:10px}.blacklisted-actions .blacklist .blockchain[data-v-0d4b0b56]{font-size:10px;padding:4px 8px;margin-right:10px;background:#0799ff;color:#fff;display:inline-block}.blacklisted-actions .blacklist .contract[data-v-0d4b0b56]{padding-right:20px;display:inline-block;font-size:12px;font-weight:bold}.blacklisted-actions .blacklist .actions[data-v-0d4b0b56]{margin-top:20px;display:flex;flex-direction:column}.blacklisted-actions .blacklist .actions .action[data-v-0d4b0b56]{display:flex;justify-content:space-between;align-items:center;padding:10px;border:1px solid #dfe0e1;border-radius:4px;width:100%;margin-bottom:5px}.blacklisted-actions .blacklist .actions .action[data-v-0d4b0b56]:last-child{margin-bottom:0}.blacklisted-actions .blacklist .actions .action .remove[data-v-0d4b0b56]{margin-left:20px}\n",""])},YHlr:function(t,e,a){"use strict";var i=a("14NY");a.n(i).a},YMYm:function(t,e,a){"use strict";var i=a("vqpY");a.n(i).a},Z145:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".test[data-v-4f5ed5b0]{background:linear-gradient(-180deg, #2c2f3f -10%, #4f5469 120%)}\n",""])},ZEQH:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".reputation[data-v-013c230b]{width:40px;height:40px;font-size:11px;border-radius:50%;border-bottom-right-radius:4px;border:3px solid linear-gradient(-180deg, #61667d -20%, #50556c 100%);display:flex;flex-direction:column;justify-content:center;align-items:center}.reputation b[data-v-013c230b]{font-weight:800}.reputation span[data-v-013c230b]{font-size:11px;margin-top:-5px}.reputation.red[data-v-013c230b]{color:red;border:3px solid red}.reputation.small[data-v-013c230b]{width:30px;height:30px;margin-right:15px;font-size:11px;background:#fff;border:0}\n",""])},ZXx6:function(t,e,a){var i=a("zmmT");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("098da94a",i,!0,{})},a75T:function(t,e,a){"use strict";var i=a("ykfa");a.n(i).a},aqMg:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,'.ct-label{fill:rgba(0,0,0,0.4);color:rgba(0,0,0,0.4);font-size:.75rem;line-height:1}.ct-chart-line .ct-label,.ct-chart-bar .ct-label{display:block;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.ct-chart-pie .ct-label,.ct-chart-donut .ct-label{dominant-baseline:central}.ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-vertical.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-label.ct-vertical.ct-end{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-start{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-end{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:end}.ct-grid{stroke:rgba(0,0,0,0.2);stroke-width:1px;stroke-dasharray:2px}.ct-grid-background{fill:none}.ct-point{stroke-width:10px;stroke-linecap:round}.ct-line{fill:none;stroke-width:4px}.ct-area{stroke:none;fill-opacity:.1}.ct-bar{fill:none;stroke-width:10px}.ct-slice-donut{fill:none;stroke-width:60px}.ct-series-a .ct-point,.ct-series-a .ct-line,.ct-series-a .ct-bar,.ct-series-a .ct-slice-donut{stroke:#d70206}.ct-series-a .ct-slice-pie,.ct-series-a .ct-slice-donut-solid,.ct-series-a .ct-area{fill:#d70206}.ct-series-b .ct-point,.ct-series-b .ct-line,.ct-series-b .ct-bar,.ct-series-b .ct-slice-donut{stroke:#f05b4f}.ct-series-b .ct-slice-pie,.ct-series-b .ct-slice-donut-solid,.ct-series-b .ct-area{fill:#f05b4f}.ct-series-c .ct-point,.ct-series-c .ct-line,.ct-series-c .ct-bar,.ct-series-c .ct-slice-donut{stroke:#f4c63d}.ct-series-c .ct-slice-pie,.ct-series-c .ct-slice-donut-solid,.ct-series-c .ct-area{fill:#f4c63d}.ct-series-d .ct-point,.ct-series-d .ct-line,.ct-series-d .ct-bar,.ct-series-d .ct-slice-donut{stroke:#d17905}.ct-series-d .ct-slice-pie,.ct-series-d .ct-slice-donut-solid,.ct-series-d .ct-area{fill:#d17905}.ct-series-e .ct-point,.ct-series-e .ct-line,.ct-series-e .ct-bar,.ct-series-e .ct-slice-donut{stroke:#453d3f}.ct-series-e .ct-slice-pie,.ct-series-e .ct-slice-donut-solid,.ct-series-e .ct-area{fill:#453d3f}.ct-series-f .ct-point,.ct-series-f .ct-line,.ct-series-f .ct-bar,.ct-series-f .ct-slice-donut{stroke:#59922b}.ct-series-f .ct-slice-pie,.ct-series-f .ct-slice-donut-solid,.ct-series-f .ct-area{fill:#59922b}.ct-series-g .ct-point,.ct-series-g .ct-line,.ct-series-g .ct-bar,.ct-series-g .ct-slice-donut{stroke:#0544d3}.ct-series-g .ct-slice-pie,.ct-series-g .ct-slice-donut-solid,.ct-series-g .ct-area{fill:#0544d3}.ct-series-h .ct-point,.ct-series-h .ct-line,.ct-series-h .ct-bar,.ct-series-h .ct-slice-donut{stroke:#6b0392}.ct-series-h .ct-slice-pie,.ct-series-h .ct-slice-donut-solid,.ct-series-h .ct-area{fill:#6b0392}.ct-series-i .ct-point,.ct-series-i .ct-line,.ct-series-i .ct-bar,.ct-series-i .ct-slice-donut{stroke:#f05b4f}.ct-series-i .ct-slice-pie,.ct-series-i .ct-slice-donut-solid,.ct-series-i .ct-area{fill:#f05b4f}.ct-series-j .ct-point,.ct-series-j .ct-line,.ct-series-j .ct-bar,.ct-series-j .ct-slice-donut{stroke:#dda458}.ct-series-j .ct-slice-pie,.ct-series-j .ct-slice-donut-solid,.ct-series-j .ct-area{fill:#dda458}.ct-series-k .ct-point,.ct-series-k .ct-line,.ct-series-k .ct-bar,.ct-series-k .ct-slice-donut{stroke:#eacf7d}.ct-series-k .ct-slice-pie,.ct-series-k .ct-slice-donut-solid,.ct-series-k .ct-area{fill:#eacf7d}.ct-series-l .ct-point,.ct-series-l .ct-line,.ct-series-l .ct-bar,.ct-series-l .ct-slice-donut{stroke:#86797d}.ct-series-l .ct-slice-pie,.ct-series-l .ct-slice-donut-solid,.ct-series-l .ct-area{fill:#86797d}.ct-series-m .ct-point,.ct-series-m .ct-line,.ct-series-m .ct-bar,.ct-series-m .ct-slice-donut{stroke:#b2c326}.ct-series-m .ct-slice-pie,.ct-series-m .ct-slice-donut-solid,.ct-series-m .ct-area{fill:#b2c326}.ct-series-n .ct-point,.ct-series-n .ct-line,.ct-series-n .ct-bar,.ct-series-n .ct-slice-donut{stroke:#6188e2}.ct-series-n .ct-slice-pie,.ct-series-n .ct-slice-donut-solid,.ct-series-n .ct-area{fill:#6188e2}.ct-series-o .ct-point,.ct-series-o .ct-line,.ct-series-o .ct-bar,.ct-series-o .ct-slice-donut{stroke:#a748ca}.ct-series-o .ct-slice-pie,.ct-series-o .ct-slice-donut-solid,.ct-series-o .ct-area{fill:#a748ca}.ct-square{display:block;position:relative;width:100%}.ct-square:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:100%}.ct-square:after{content:"";display:table;clear:both}.ct-square>svg{display:block;position:absolute;top:0;left:0}.ct-minor-second{display:block;position:relative;width:100%}.ct-minor-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:93.75%}.ct-minor-second:after{content:"";display:table;clear:both}.ct-minor-second>svg{display:block;position:absolute;top:0;left:0}.ct-major-second{display:block;position:relative;width:100%}.ct-major-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:88.88889%}.ct-major-second:after{content:"";display:table;clear:both}.ct-major-second>svg{display:block;position:absolute;top:0;left:0}.ct-minor-third{display:block;position:relative;width:100%}.ct-minor-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:83.33333%}.ct-minor-third:after{content:"";display:table;clear:both}.ct-minor-third>svg{display:block;position:absolute;top:0;left:0}.ct-major-third{display:block;position:relative;width:100%}.ct-major-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:80%}.ct-major-third:after{content:"";display:table;clear:both}.ct-major-third>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fourth{display:block;position:relative;width:100%}.ct-perfect-fourth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:75%}.ct-perfect-fourth:after{content:"";display:table;clear:both}.ct-perfect-fourth>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fifth{display:block;position:relative;width:100%}.ct-perfect-fifth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:66.66667%}.ct-perfect-fifth:after{content:"";display:table;clear:both}.ct-perfect-fifth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-sixth{display:block;position:relative;width:100%}.ct-minor-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:62.5%}.ct-minor-sixth:after{content:"";display:table;clear:both}.ct-minor-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-golden-section{display:block;position:relative;width:100%}.ct-golden-section:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:61.8047%}.ct-golden-section:after{content:"";display:table;clear:both}.ct-golden-section>svg{display:block;position:absolute;top:0;left:0}.ct-major-sixth{display:block;position:relative;width:100%}.ct-major-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:60%}.ct-major-sixth:after{content:"";display:table;clear:both}.ct-major-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-seventh{display:block;position:relative;width:100%}.ct-minor-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:56.25%}.ct-minor-seventh:after{content:"";display:table;clear:both}.ct-minor-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-seventh{display:block;position:relative;width:100%}.ct-major-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:53.33333%}.ct-major-seventh:after{content:"";display:table;clear:both}.ct-major-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-octave{display:block;position:relative;width:100%}.ct-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:50%}.ct-octave:after{content:"";display:table;clear:both}.ct-octave>svg{display:block;position:absolute;top:0;left:0}.ct-major-tenth{display:block;position:relative;width:100%}.ct-major-tenth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:40%}.ct-major-tenth:after{content:"";display:table;clear:both}.ct-major-tenth>svg{display:block;position:absolute;top:0;left:0}.ct-major-eleventh{display:block;position:relative;width:100%}.ct-major-eleventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:37.5%}.ct-major-eleventh:after{content:"";display:table;clear:both}.ct-major-eleventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-twelfth{display:block;position:relative;width:100%}.ct-major-twelfth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:33.33333%}.ct-major-twelfth:after{content:"";display:table;clear:both}.ct-major-twelfth>svg{display:block;position:absolute;top:0;left:0}.ct-double-octave{display:block;position:relative;width:100%}.ct-double-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:25%}.ct-double-octave:after{content:"";display:table;clear:both}.ct-double-octave>svg{display:block;position:absolute;top:0;left:0}.ct-chart-line{height:180px}.ct-label{color:#ffffff;font-weight:bold}.ct-label.ct-vertical.ct-start{text-align:left;justify-content:flex-start}.ct-label.ct-horizontal{font-size:9px;margin-top:5px}.ct-grid.ct-vertical{stroke:transparent;stroke-dasharray:0}.ct-grid.ct-horizontal{display:none}.ct-series-a .ct-line{stroke:rgba(255,255,255,0.9);stroke-width:3.5px;stroke-linecap:round}.ct-series-a .ct-area{fill:url(#gradient) !important}.ct-series-a .ct-point{cursor:pointer;stroke:#dfe0e1;stroke-opacity:0;stroke-width:30px;position:relative}.ct-series-a .ct-point:hover{stroke:#0799ff;stroke-opacity:0.6}\n',""])},axlY:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".sidebar-container[data-v-58da2a59]{-webkit-user-select:none !important;width:64px;transition:width .2s ease}.sidebar-container .placeholder[data-v-58da2a59]{width:64px;height:calc(100vh - 0px)}.sidebar-container .sidebar[data-v-58da2a59]{flex:0 0 auto;width:64px;overflow-x:hidden;white-space:nowrap;position:fixed;bottom:0;top:0;left:0;padding:20px 0;padding-top:69px;background-color:white;box-shadow:0 0 0 transparent, 0 0 0 transparent;transition:width .2s ease,box-shadow 1.1s ease;z-index:100;border-right:1px solid #dfe0e1;border-left:1px solid rgba(0,0,0,0.08);border-bottom:1px solid rgba(0,0,0,0.08)}.sidebar-container .sidebar .bar-bg[data-v-58da2a59]{width:64px;position:absolute;left:0;top:0;bottom:0;z-index:-1}.sidebar-container .sidebar .lock-sidebar[data-v-58da2a59]{position:absolute;top:13px;left:22px;right:20px;height:44px;cursor:pointer;display:flex;flex-direction:row;justify-content:space-between;align-items:center;transition:all 0.2s ease;transition-property:background, color}.sidebar-container .sidebar .lock-sidebar span[data-v-58da2a59]{display:block;height:2px;width:18px;background:black;position:relative}.sidebar-container .sidebar .lock-sidebar span[data-v-58da2a59]:before{width:18px;height:2px;display:block;background:black;position:absolute;top:-6px;content:''}.sidebar-container .sidebar .lock-sidebar span[data-v-58da2a59]:after{width:18px;height:2px;display:block;background:black;position:absolute;bottom:-6px;content:''}.sidebar-container .sidebar .lock-sidebar svg[data-v-58da2a59]{opacity:1}.sidebar-container .sidebar .item[data-v-58da2a59]{cursor:pointer;padding:10px;margin:4px;display:flex;align-items:center;color:black;transition:all .2s ease;transition-property:background, padding;font-size:12px;text-transform:uppercase}.sidebar-container .sidebar .item i[data-v-58da2a59]{padding-right:18px;margin-left:4px;font-size:24px;transition:all .2s ease;transition-property:color, margin;color:black}.sidebar-container .sidebar .item span[data-v-58da2a59]{margin-left:5px;opacity:0;transition:all .2s ease;transition-property:margin-left, opacity, color;color:black}.sidebar-container .sidebar .item[data-v-58da2a59]:hover{background:rgba(0,0,0,0.02)}.sidebar-container .sidebar .item[data-v-58da2a59]:hover,.sidebar-container .sidebar .item.active[data-v-58da2a59]{background-color:rgba(7,153,255,0.04)}.sidebar-container .sidebar .item:hover i[data-v-58da2a59],.sidebar-container .sidebar .item.active i[data-v-58da2a59]{color:#0799ff}.sidebar-container .sidebar .item:hover span[data-v-58da2a59],.sidebar-container .sidebar .item.active span[data-v-58da2a59]{color:#0799ff}.sidebar-container:not(.locked) .sidebar .item i[data-v-58da2a59]{margin-left:4px}.sidebar-container:not(.locked) .sidebar svg[data-v-58da2a59]{opacity:0}.sidebar-container:not(.locked) .sidebar[data-v-58da2a59]:hover{transition:box-shadow 0.3s ease;box-shadow:10px 0 30px rgba(0,0,0,0.15),2px 0 10px rgba(7,155,232,0.23)}.sidebar-container.locked[data-v-58da2a59]{width:240px}.sidebar-container.locked .sidebar[data-v-58da2a59]{width:240px;transition:width .2s ease,box-shadow 0.3s ease}.sidebar-container.locked .sidebar .item[data-v-58da2a59]{color:#7a7a7a}.sidebar-container.locked .sidebar .item span[data-v-58da2a59]{margin-left:0;opacity:1}.mobile .sidebar-container[data-v-58da2a59]{width:64px}.mobile .sidebar-container:not(.locked) .sidebar[data-v-58da2a59]{box-shadow:0 0 0 transparent, 0 0 0 transparent}.mobile .sidebar-container:not(.locked) .sidebar[data-v-58da2a59]:hover{width:64px}.mobile .sidebar-container:not(.locked) .sidebar .item span[data-v-58da2a59]{opacity:0}.mobile .sidebar-container.locked .sidebar[data-v-58da2a59]{width:100%}\n",""])},b2Rl:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".password-strength[data-v-a2f9220c]{width:100%;height:14px;line-height:14px;margin-top:-4px;overflow:hidden;background:#ffffff;position:relative;border:1px solid rgba(0,0,0,0.1);padding:4px}.password-strength .bar[data-v-a2f9220c]{background:#0799ff;height:4px;transition:all 0.5s ease;transition-property:width, background}.password-strength .bar.red[data-v-a2f9220c]{background:#ff0707}.password-strength .bar.green[data-v-a2f9220c]{background:#1CCA02}\n",""])},b95J:function(t,e,a){"use strict";var i=a("9oR7");a.n(i).a},bUQ9:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".prompt[data-v-12c82a4c]{max-width:600px;padding:30px;display:flex;flex-direction:column;justify-content:center;align-items:center}.prompt .title[data-v-12c82a4c]{font-size:14px;font-weight:bold}.prompt .description[data-v-12c82a4c]{margin-top:4px;font-size:10px}.prompt .input[data-v-12c82a4c]{margin:30px 0 0 0}.prompt .actions[data-v-12c82a4c]{margin-top:20px;display:flex;justify-content:flex-end;width:100%}.prompt .actions.between[data-v-12c82a4c]{justify-content:space-between}\n",""])},bcyO:function(t,e,a){"use strict";a.d(e,"a",(function(){return I})),a.d(e,"b",(function(){return F}));var i=a("VLdL"),n=a.n(i),s=a("78si"),o=a.n(s),r=a("ohnt"),c=a.n(r),l=a("IMve"),d=a.n(l),p=a("F+MN"),u=a("qjwK"),h=a("B9Ha"),f=a.n(h),m=a("Hxfq"),b=a.n(m),g=a("O1cq"),v=a.n(g),x=a("SDtL"),y=a.n(x),k=a("5lq1"),w=a.n(k),_=a("IfgB"),C=a("Gbp+"),T=a("bUKF"),S=a.n(T),E=a("Giuh"),A=a.n(E),O=a("pk5N"),P=a.n(O);const I="https://api.ridl.network/v1",N="RIDL Network";let R;const L=t=>c.a.v2(t),B=[L("scam"),L("dangerous"),L("privacy")];const D=async t=>{const e=t.reputation.fragments.filter(t=>B.includes(t.fingerprint)),a=await n.a.reputation.getFragmentsFor(t);return e.map(t=>{const e=a.find(e=>e.fingerprint===t.fingerprint);t.upTag=e?e.upTag:"good",t.downTag=e?e.downTag:"bad"}),e},$=t=>fetch(`${t.fullhost()}/v1/chain/get_info`).then(t=>t.json()).then(t=>t.chain_id).catch(()=>null);let K=!1,j=!1;class F{static async init(){if(K)return;const t=await fetch(`${I}/network`).then(t=>t.json()).then(t=>o.a.fromJson(t)).catch(()=>null);return t?(t.name=N,t.chainId=await $(t),R=t,await F.addNetwork(),await n.a.init(R),K=!0,!0):console.error("Could not fetch RIDL Network")}static networkUnique(){if(R)return R.unique()}static async hasNetwork(){return R||await this.init(),!!P.a.get().state.scatter.settings.networks.find(t=>t.chainId===R.chainId)}static async addNetwork(){return!!await this.hasNetwork()||f.a.addNetwork(R,!1)}static async checkAccounts(){if(j)return;j=!0;const t=P.a.get().state.scatter.settings.networks.find(t=>t.chainId===R.chainId);if(!t)return console.error("No RIDL network found!");const e=d.a.plugin(p.Blockchains.EOSIO),a=P.a.get().state.scatter.keychain.accounts.filter(e=>e.networkUnique===t.unique()).reduce((t,e)=>t.find(t=>t.name===e.name)?t:(t.push(e),t),[]);await Promise.all(a.map(async t=>{return await e.accountData(t,R)||await w.a.removeAccounts([t]),!0}));const i=P.a.get().state.scatter.keychain.identities[0];if(-1!==i.ridl){const t=await F.identityNameIsAvailable(i.name);if(!t||t.id!==i.ridl){const t=P.a.get().state.scatter.clone();t.keychain.identities[0].ridl=-1,await P.a.get().dispatch(u.SET_SCATTER,t)}}return!0}static getAccount(){const t=P.a.get().state.scatter.settings.networks.find(t=>t.chainId===R.chainId);return t?P.a.get().state.scatter.keychain.accounts.find(e=>e.networkUnique===t.unique()):console.error("No RIDL network found!")}static async checkApp(t){if(!P.a.get().state.scatter.settings.firewall)return;await this.init();const e=await n.a.reputation.searchByFingerprint(i.FRAG_TYPES.APPLICATION,t.trim());if(!e)return;const a=await D(e);return{decimal:e.decimalReputation(!0,B),fragments:a,reputable:e}}static async checkContracts(t,e){if(!P.a.get().state.scatter.settings.firewall)return;await this.init();const a=`${t.blockchain}::${t.chainId}`;const s=await Promise.all(e.map(({code:t,type:e})=>n.a.reputation.searchByFingerprint(i.FRAG_TYPES.BLOCKCHAIN_ADDR,t.toLowerCase(),a).then(async a=>(a.code=t,a.decimal=a.decimalReputation(!0,B),a.children=(await this.getChildren(a)).filter(t=>t.entity.toLowerCase()===e.toLowerCase()),a.children.map(a=>{a.code=t+e,a.decimal=a.decimalReputation(!0,B)}),await D(a),a))));let o=0,r=[];return s.map(t=>{t.children.length?t.children.map(t=>{o+=parseFloat(t.decimal),r.push(t)}):(o+=parseFloat(t.decimal),r.push(t))}),{decimal:parseFloat(o).toFixed(1),reputables:r}}static async getChildren(t){return await n.a.canConnect(),n.a.reputation.searchByParent(t.id)}static isValidName(t){return n.a.identity.validName(t)}static async identityNameIsAvailable(t){return n.a.identity.get(t)}static async setSignatureProvider(t){const e=this.getAccount(),a=d.a.plugin(p.Blockchains.EOSIO);return await n.a.init(R,e,(()=>i=>a.signerWithPopup(i,e,t))()),!0}static async identify(t,e){return new Promise(async(a,i)=>{await this.setSignatureProvider(i);await n.a.identity.payAndIdentify(t,e).then(()=>!0).catch(()=>!1);setTimeout(async()=>{const e=await n.a.identity.get(t);if(!e)return a(!1);a(e)},1e3)})}static async changeAccount(t,e){return new Promise(async(a,i)=>{await this.setSignatureProvider(i);await n.a.identity.changeacc(t,e).then(()=>!0).catch(()=>!1);setTimeout(async()=>{const e=await n.a.identity.get(t);if(!e)return a(!1);a(e)},1e3)})}static async claim(t,e){return new Promise(async(a,i)=>{await this.setSignatureProvider(i);const s=d.a.plugin(p.Blockchains.EOSIO),o=await s.signer({data:A.a.sha256("ridl")},e,!0,!0);a(await n.a.identity.claim(t,e,o).then(()=>!0).catch(()=>!1))})}static async changeKey(t,e){return new Promise(async(a,i)=>{await this.setSignatureProvider(i),a(await n.a.identity.changekey(t,e).then(()=>!0).catch(()=>!1))})}static async createAccount(){await this.addNetwork();const t=P.a.get().state.scatter.settings.networks.find(t=>t.chainId===R.chainId);let e=P.a.get().state.scatter.keychain.keypairs.find(t=>t.name.indexOf("RIDL Key")>-1);e||((e=b.a.placeholder()).blockchains=[p.Blockchains.EOSIO],await v.a.generateKeyPair(e),await v.a.makePublicKeys(e),e.name=`RIDL Key-${y.a.text(5)}`,await v.a.saveKeyPair(e));const a=e.publicKeys.find(t=>t.blockchain===p.Blockchains.EOSIO).key,i=await fetch(`${I}/create/${a}`).then(t=>t.json());if(!i)return _.a.push(C.a.snackbar("Could not create account on the RIDL network. Please try again soon.")),!1;const n=S.a.fromJson(i);return n.networkUnique=t.unique(),n.keypairUnique=e.unique(),await w.a.addAccount(n),n}static getRidlCycle(){return Math.floor((+new Date/1e3-1531720800)/3600/12)}static async getRidlContributions(){const t=d.a.plugin(p.Blockchains.EOSIO),e=P.a.get().state.scatter.settings.networks.find(e=>e.chainId===t.getEndorsedNetwork().chainId),a=P.a.get().state.scatter.keychain.accounts.filter(t=>t.networkUnique===e.unique()).reduce((t,e)=>t.find(t=>t.name===e.name)?t:(t.push(e),t),[]);return(await Promise.all(a.map(t=>fetch(`${e.fullhost()}/v1/chain/get_table_rows`,{method:"POST",body:JSON.stringify({json:!0,code:"scatterfunds",scope:t.name,table:"claimables"})}).then(t=>t.json()).then(e=>({account:t.name,rows:e.rows})).catch(e=>({account:t.name,rows:[]}))))).filter(t=>t.rows.length)}static async getCycleData(){const t=d.a.plugin(p.Blockchains.EOSIO),e=P.a.get().state.scatter.settings.networks.find(e=>e.chainId===t.getEndorsedNetwork().chainId),a=this.getRidlCycle();return fetch(`${e.fullhost()}/v1/chain/get_table_rows`,{method:"POST",body:JSON.stringify({json:!0,code:"scatterfunds",scope:a,table:"cycles"})}).then(t=>t.json()).then(t=>t.rows.length?t.rows[0]:{cycle:a,tokens:"0.0000 EOS"}).catch(t=>({cycle:a,tokens:"0.0000 EOS"}))}static async donateToScatter(t,e){return e=parseFloat(e.split(" ")[0]).toFixed(4)+" EOS",new Promise(async(a,i)=>{const n=d.a.plugin(p.Blockchains.EOSIO).getSignableEosjs(t,i);await n.transact({actions:[{account:"eosio.token",name:"transfer",authorization:[{actor:t.sendable(),permission:t.authority}],data:{from:t.name,to:"scatterfunds",quantity:e,memo:"Donated to Scatter"}}]},{blocksBehind:3,expireSeconds:30}).then(t=>{_.a.push(C.a.transactionSuccess(p.Blockchains.EOSIO,t.transaction_id)),a(t)}).catch(t=>{console.error(error),i(null)})})}static async claimRidlTokens(t){return new Promise(async(e,a)=>{const i=d.a.plugin(p.Blockchains.EOSIO).getSignableEosjs(t,a),n=t.map(t=>({account:"scatterfunds",name:"claim",authorization:[{actor:t.sendable(),permission:t.authority}],data:{owner:t.name}}));await i.transact({actions:n},{blocksBehind:3,expireSeconds:30}).then(t=>{_.a.push(C.a.transactionSuccess(p.Blockchains.EOSIO,t.transaction_id)),e(t)}).catch(t=>a(t))})}}},"bm/A":function(t,e,a){var i=a("966X");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("2b41c530",i,!0,{})},bspf:function(t,e,a){var i=a("R3kX");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("1a2bdff1",i,!0,{})},bwKH:function(t,e,a){"use strict";var i=a("ccmA");a.n(i).a},bxHY:function(t,e,a){var i=a("BI9a");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("978f5ed6",i,!0,{})},c2MZ:function(t,e,a){"use strict";var i=a("HW6o");a.n(i).a},cDN5:function(t,e,a){"use strict";var i=a("t2Ps");a.n(i).a},cHZP:function(t,e,a){var i=a("o3fu");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("59361e52",i,!0,{})},cJ8I:function(t,e,a){var i=a("v1DO");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("63324d30",i,!0,{})},cUFd:function(t,e,a){"use strict";a.r(e),e.default={generic:{back:"返回",skip:"跳过",next:"下一步",confirm:"确认",accept:"接受",allow:"允许",deny:"拒绝",okay:"我知道了",cancel:"取消",open:"打开",yes:"是",no:"不是",actions:"操作",enable:"启用",disable:"禁用",send:"转账",receive:"收款",select:"选择",unselect:"取消选择",edit:"编辑",add:"添加",save:"保持",new:"新加",delete:"删除",remove:"清除",remove_all:"全部清除",copy:"复制",import:"导入",export:"导出",refresh:"刷新",manage:"管理",private_key:"私钥",public_key:"公钥",cards:"银行卡",expired:"已过期",keys:"密钥",hide:"隐藏",reveal:"展示",tokens:"代币",networks:"网络",blockchains:"区块链",contracts:"合约",memo:"Memo",symbol:"符号",decimals:"小数",chain_id:"Chain ID",name:"名字",accounts:"账号",search:"搜索",buy:"购买",sell:"出售",contacts:"联络人",history:"历史",exchange:"交易所",view:"查看",redo:"重做",promoted:"晋升",addressOrAccount:"地址或账号",pleaseWait:"请稍等",selectToken:"选择一种代币",selectBlockchain:"选择区块链"},sidebar:{dashboard:"仪表板",apps:"程序",wallet:"钱包",assets:"资产",identities:"身份",locations:"位置",contacts:"联络人",history:"历史",networks:"网络",settings:"设置",lock:"锁上钱包"},login:{registerButtonTitle:"开始使用",registerButtonSubtitle:"设置您的Scatter",reset:"重设",restore:"恢复",support:"支持",passwordPlaceholder:"输入您的密码"},setPassword:{title:"设置复杂的密码",description:"复杂的密码至少包含8个字符,并且至少包含一个数字和一个特殊字符。",choosePass:"选择一个密码",confirmPass:"确认您的密码"},welcome:{title:"欢迎来到未来",description:"您的Scatter已设置好并可被使用。",button:"开始使用Scatter"},destroy:{title:"销毁Scatter",disclaimer:"在执行此操作之前,请确保已备份所有私钥。",description:"销毁Scatter此操作是不可逆的,如无事先备份,您将无法还原任何数据。"},dashboard:{vote:{title:"投票给Scatter",subTitle:"向我们展示您对我们的爱戴!",description:"您可投票给我们在EOS主网上的区块生产候选者。通过投票帮助我们入围成为区块生产者.",button:"立即投票!",voted:"在{total}链条上投票给Scatter。谢谢您的帮助!"}},apps:{explore:"探索",myApps:"我的应用程序",allCategories:"所有类别"},app:{loginPermission:"已提供账户",accountsProvided:"已提供账户",requiredFields:"必填事项",mutableFields:"可变事项",removePermission:"删除权限",removeIdentity:"登录权限是允许应用程序与您的Scatter进行交互的权限。您可以通过删除此权限来强制登出某个应用程。",removeWhitelist:"白名单使您无需接受弹出窗口来签署交易。您确定要删除此白名单吗?"},wallet:{noKeys:{title:"您没有任何密钥",description:"单击下面的按钮之一,以导入您现有的私钥,或生成一个全新的私钥。"},generateKey:"生成密钥",importKey:"导入密钥",addCreditCard:"添加信用卡"},account:{totalFiatBalance:"法币总余额",actions:{unlink_account:"取消帐户关联",change_permissions:"变更权限",proxy_vote:"代理投票",create_account:"创建帐号"}},assets:{noAccounts:"没有帐号"},histories:{sent:"转账",received:"收款",networkDisabled:"网路已停用",clear:{title:"清除历史记录",description:"您将删除所有本地历史记录。此操作不会删除密钥或帐户。"}},identities:{identities:"身份",id:{nameLabel:"身份名称/用户名称",namePlaceholder:"您在线的称呼",nameError:"必须有身份名称,名称不能含有空格或特殊字符"},personal:{nameLabel:"全名",namePlaceholder:"输入您的全名",emailLabel:"电子邮件",dobLabel:"生日日期"},location:{title:"位置",noneSelected:"未选择"},auth:{title:"认证密钥",description:"确保您已备份并安全储存此认证密钥,您将需要此认证密钥来重新访问某些应用程序。",changeButton:"变更 / 查看"},removing:{title:"删除身份",description:"您确定您要删除 {identity}吗?"}},locations:{locations:"位置",nameLabel:"位置名称",namePlaceholder:"住家, 办公室, 或其他",countryLabel:"国家",countryItemNone:"没有",addressLabel:"地址",cityLabel:"城市",stateLabel:"州属",phoneLabel:"电话号码"},networks:{connectionError:"连接错误!"},settings:{menu:{general:"一般事项",tokens:"代币",explorers:"浏览器",backup:"备份文件",firewall:"防火墙",password:"密码",destroy:"重设"},base:{basics:"基本",secure:"安全设定"},general:{version:"版本",language:"語言",simpleMode:"简单模式",simpleModeDescription:"“简单模式”适合一般用户,而“高级模式”(您当前使用的模式)则适合有技术经验的用户或开发人员。",notifications:"白名单通知",notificationsDescription:"当您对白名单交易进行自动签名时,这些通知会显示在某些操作系统上。",ports:"开放端口",portsDescription:"这些是您本地计算机上开放的端口,其他本地应用程序可以使用这些端口联系Scatter。",noPorts:"暂无开放的端口!",dataPath:"数据文件位置",dataPathDescription:"Scatter将加密数据保存到您计算机上的位置。",devConsole:"开发者控制台",devConsoleDescription:"有时您可能需要查看Scatter是否有任何错误。",devConsoleButton:"打开控制台"},backup:{title:"配置备份",description:"通过备份,您可以保存您Scatter的状态,包括所有键,权限和设置。",autobackup:"选择自动备份位置",create:"创建备份",currentFolder:"当前备份文件夹",created:"已创建备份!"},destroy:{title:"销毁Scatter",description:"销毁Scatter会从您本地计算机上删除所有保存的数据,包括身份和密钥对配置。此操作不会在区块链上删除您的区块链账户。",important:"在执行此操作之前,请确保您已进行了备份!",button:"销毁Scatter"},firewall:{ridl:{title:"分散式防火墙",description:"RIDL防守者是Scatter的专有分散式防火墙系统。它有助于保护您免受恶意网站,应用程序和帐户的侵害。"},blocker:{title:"限制合同操作",description:"外部应用程序将不允许这些操作",blacklisted:"列入黑名单的操作"}},password:{title:"更改您的密码",description:"我们鼓励您定期更改您密码。用户往往会在在多个地方使用相同的登入密码,从而使得该密码被发现的可能性变大。",button:"更改密码",changed:"密码已更改!",pin:{title:"更改您的PIN码",description:"若启用,PIN码则是您在执行非白名单操作时需要输入的密码。请勿将此PIN码设置为您的密码。",disabled:"已停用PIN码",changed:"已更改PIN码!",pinForAllTitle:"使用PIN码进行外部应用程序交互。",pinForAllDescription:"如果启用此功能,则还需要为外部应用程序产生的每个弹出窗口输入PIN码。否则,只有Scatter内部散操作(例如转账或代币兑换)才需要输入您的PIN码。"}},tokens:{switch:{add:"添加代币",whitelist:"代币",blacklist:"过滤",settings:"设置"},whitelistButton:"白名单代币",blacklistButton:"黑名单代币",hidePrimaryBalance:"隐藏余额",hidePrimaryBalanceDescription:"使您可以在快速操作栏中隐藏余额。",filterSmallBalances:"过滤小余额",filterSmallBalancesDescription:"如果您想过滤掉小余额的代币,可以在此处设置。",noTokens:"无代币"}},receive:{receiver:"收款账号",sendTo:"汇款至",forEosio:"一些交易所会要求您提供addressTag,memo或其他形式的辅助输入。您可以在该字段中输入任何内容,因为这是真实的EOSIO帐户。"},exchange:{fromAndToken:"从 & 代币",priceNotAvailable:"无法显示价格",loadingPairs:"加载配对中",noPairs:"没有可用的配对",loadingRate:"加载汇率中",errorTitle:"兑换错误",errorDescription:"无法连接到交易所的API."},transfer:{sender:"发送自",receiver:"发送至",amountTitle:"金额和明细",priceNotAvailable:"暂无价格",memo:"Memo (可选)",loadingBalances:"您的余额尚未加载完毕"},editNetwork:{systemToken:"系统代币",memorableName:"添加一个易记名字",host:"Host",protocol:"协议",port:"端口",chainIdTooltip:"获取链ID",update:"更新详细信息",systemTokenTitle:"网络系统代币",systemTokenDescription:"某些网络使用自定义系统代币而不是默认系统代币(例如ETH,EOS或TRX)。"},keysAndAccountsList:{actions:{editName:"编辑名称",copyPublicKey:"复制公钥",refreshAccounts:"刷新账户",convertBlockchain:"更换区块链",removeKey:"删除密钥",linkAccount:"连接帐户"},noAccounts:{title:"您没有任何与此密钥连接的帐户",requiresPayment:"{blockchain} 区块链要求您支付小额费用才能创建帐户。",checkEnabled:"确保您已经为{blockchain}区块链启用了网络。",createAccountButton:"立即创建!"},linkedAccounts:"连接账户",changeKeypairNameTitle:"更改密钥配对名称",changeKeypairNameDescription:"密钥配对的名称仅用于组织目的。它对区块链或密钥本身没有影响。"},panels:{keypair:{selectHardware:"选择一个硬件钱包",availableHardwareChains:"可选区块链",hardwareIndex:"密钥/地址指标",importTextKeyTitle:"导入您的私钥",importTextKeyDescription:"您的私钥永远不会离开您的设备。我们仅使用它来签署交易,除了您之外,没有人可以访问它。请记住,尽管Scatter是保留密钥的好地方,但您始终应该在离线状态下对其进行备份。",validTextKeyWarn:"输入有效密钥后,它将自动导入。",scanQR:"扫描二维码"}},popins:{fullscreen:{addCustomNetwork:"添加自定义网络",addNewContact:"添加新联系人",changeIdentityKey:"身份验证密钥",generateRandomKey:"生成随机密钥",saveIdentityKey:"保存新的身份密钥",checkHardwareTitle:"检查硬件",checkHardwareDescription:"您应该在硬件设备上看到确认信息",confirmPassword:"确认密码",securityCode:"输入安全码",changePermissions:{title:"更改帐户密钥",disclaimer:"此操作可能危险",disclaimerDescription:"您将要更改控制此帐户的密钥。确保您知道自己在做什么",owner:"所有者/主密钥",active:"活动/每日密钥",dontChange:"保持原样"},createAccount:{title:"创建帐号",exchangeDescription:"您可以从交易所或其他钱包汇款以创建您的帐户。",cardDescription:"该选项当前被禁用。",startTyping:"输入名称以查看是否可用。",includeMemo:"请确保在汇款时填写此memo,否则您的资金将会丢失!",clickAfter:"汇款后点击此处",lookingTitle:"寻找帐户",lookingDescription:"所创建的帐户会在30分钟内自动添加到您的Scatter中。",exchangeErrorTitle:"帐户创建错误",exchangeErrorDescription:"从您汇出汇款至今已过了30分钟。您的账号似乎尚未创建。请查看您交易所转出交易的状态。",accountFoundTitle:"找到帐号!",accountFoundDescription:"Scatter已找到了您使用交易所创建的帐户。您现在可以在钱包中看到它。",nameTooShort:"帐户名称必须为12个字符长。",nameFormatting:"帐户名只能是小写字母。",checkingName:"正在检查该名称是否可用..",nameTaken:"此名称已经被使用了"},moderateCpu:{available:"可用 {token}",reclaiming:"赎回中 {token}",stake:"质押",unstake:"解除质押"},moderateRam:{type:"类型",bytesError:"必须超过15字节数"},exportKey:{title:"导出私钥",disclaimer:"请妥善保管您的私钥!",description:"请记得导出您的私钥,并备份。若丢失了,您将无法恢复此账号。",keyTitle:"密钥",keyDescription:"将此私钥导出为文本",qrTitle:"钱包",qrDescription:"将此私钥导出为加密的QR码",privateKeyAsText:"私钥作为文本",privateKeyAsQR:"QR码纸钱包",savedImage:"已保存图像!"},generateKey:{title:"生成密钥对"},importBackup:{title:"从备份还原",description:"如果您有Scatter的备份档案,则可以通过将其加载到Scatter中将其导入此处。您仍然需要密码才能解锁。",buttonTitle:"选择备份文件",buttonDescription:"该文档的名字将以.json或.txt结尾",errorParsing:"解析此备份时出错",errorDecrypting:"解密此备份时出错",errorReading:"无法读取备份文件"},importKeypair:{title:"导入密钥对",text:"文本",hardware:"硬件",qrCode:"二维码",invalidPrivateKey:"私钥无效"},removeKeypair:{title:"删除密钥",permanent:"此操作是永久性的",removesAll:"删除密钥还会删除其所有链接帐户及其各自的权限。删除密钥后,将无法重新生成它。"},unlinkAccount:{title:"取消帐户连接",description:"取消链接的帐户也会删除其所有应用程序权限。",disclaimer:"此操作不会从区块链中删除该帐户,而只会从Scatter删除该帐户。"}},overlay:{exchanging:"兑换中",transferring:"转移中",confirmPin:"确认PIN码",selectAccount:"选择帐户",selectBlockchain:"选择区块链",selectDisplayToken:"选择显示代币",selectFiatCurrency:"选择法定货币",selectBlockchainToken:"选择区块链代币",selectPublicKey:"选择公钥",selectRecipient:"选择收款人",selectToken:"选择代币",allBlockchains:"所有区块链",selectTokenAndAccount:"选择代币和账号",transactionSuccess:"交易成功!",viewTransactionOn:"点击下面的链接以查看 {explorer}",enableSimpleMode:{},enterPin:{},linkAccount:{title:"链接EOSIO帐户",description:"这使您可以在无法访问或未启用历史记录插件的网络上链接帐户",selectNetwork:"选择网络",button:"链接",noNetworksAvailable:"无可用的EOSIO网络!"}}},popouts:{popoutApp:{noImage:"没有图像",reputation:{unknown:"未知声誉",trusty:"值得信赖",scam:"已知骗局"}},requiredFields:{title:"必填身份字段",personalInformation:"个人信息:"},login:{suffix:"will see:",dangerousPermission:"您正在使用所有者权限登录。这很危险。",allAccountsFor:"所有帐户:",allAccountsDescription:"{app}要求查看指定网络的每个帐户。这意味着它将能够为您已链接到任何请求的网络的任何帐户请求交易签名。",noInfoNeededTitle:"此应用程序不要求任何个人信息或帐户。",noInfoNeededDescription:"该应用程序将收到的唯一信息是基本的身份信息,例如您的用户名。",noAccountsTitle:"您没有此网络的帐户",noAccountsDescription:"您需要先创建一个帐户,然后才能使用应用程序。",personalInformation:"个人信息:",requestingPersonalInformation:"{app}正在请求个人信息。它只能看到请求的内容,非您在Scatter身份中没有填写的其他内容。"},getPublicKey:{suffix:"需要您提供一个公共密钥",select:"选择一个密钥",generate:"生成新密钥"},linkApp:{suffix:"正在重新链接",description:"确保应用程序名称是您当前正在与之交互的应用程序。"},transferRequest:{suffix:"正在请求转账",selectAccount:"选择帐号"},updateIdentity:{suffix:"要",changeName:"更改您的身份名称",addKycProofs:"添加KYC证明"},signature:{moreAccounts:"更多帐户",keysInvolved:"涉及的密钥",accountsInvolved:"涉及的帐户",previouslyWhitelisted:"此操作先前已列入白名单",hiddenAction:"操作已隐藏",dangerous:"您将要签署的单个或多个操作有危险!",dangerousAction:"此操作有危险!",dangerousTooltip:"此操作有危险。接受它会更改您的密钥,并可能将您的帐户转让给其他人。检查以确保密钥正确。",whitelistThis:"您可以将其列入白名单。",whitelistExplainer:"选中的复选框可以更改其值,而不影响白名单。",actionsTotal:"一共有{x} 项操作"}},errors:{badPassword:"密码错误",passwordConfirmation:"密码确认与密码不符",keypairExists:"具有该名称或公钥的密钥对已存在",transferError:"尝试转移代币时发生错误",badQrDecryption:"解密此二维码时出错。您确定此二维码的密码正确吗?"}}},ccmA:function(t,e,a){var i=a("KhYu");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("5dddf061",i,!0,{})},cn8Z:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".transfer,.receive,.exchange,.purchase,.app-login{height:calc(100vh - 60px - 80px);display:flex;flex-direction:column;overflow-y:auto}.transfer .min-max,.receive .min-max,.exchange .min-max,.purchase .min-max,.app-login .min-max{display:flex}.transfer .min-max div,.receive .min-max div,.exchange .min-max div,.purchase .min-max div,.app-login .min-max div{font-size:10px;margin-left:30px}.transfer .min-max div span,.receive .min-max div span,.exchange .min-max div span,.purchase .min-max div span,.app-login .min-max div span{margin-left:8px;font-weight:bold;text-decoration:underline;cursor:pointer}.transfer .scroller,.receive .scroller,.exchange .scroller,.purchase .scroller,.app-login .scroller{overflow-y:auto;height:100%}.transfer .tail,.receive .tail,.exchange .tail,.purchase .tail,.app-login .tail{justify-content:center;display:flex;align-items:center;height:70px;border-top:1px solid #dfe0e1;text-align:center}.transfer .tail button,.receive .tail button,.exchange .tail button,.purchase .tail button,.app-login .tail button{display:inline-block;padding:0 60px;margin:0}.transfer .boxes,.receive .boxes,.exchange .boxes,.purchase .boxes,.app-login .boxes{display:flex;justify-content:space-between}.transfer .boxes .box,.receive .boxes .box,.exchange .boxes .box,.purchase .boxes .box,.app-login .boxes .box{border:1px solid #dfe0e1;border-radius:4px;background:#fff}.transfer .boxes .box.not-allowed,.receive .boxes .box.not-allowed,.exchange .boxes .box.not-allowed,.purchase .boxes .box.not-allowed,.app-login .boxes .box.not-allowed{opacity:0.4;cursor:not-allowed;background:rgba(0,0,0,0.03)}.transfer .boxes .box:not(.nested),.receive .boxes .box:not(.nested),.exchange .boxes .box:not(.nested),.purchase .boxes .box:not(.nested),.app-login .boxes .box:not(.nested){width:calc(50% - 10px)}.transfer .boxes .box:not(.nested):hover,.receive .boxes .box:not(.nested):hover,.exchange .boxes .box:not(.nested):hover,.purchase .boxes .box:not(.nested):hover,.app-login .boxes .box:not(.nested):hover{border:1px solid #0799ff}.transfer .boxes .box .symbol,.receive .boxes .box .symbol,.exchange .boxes .box .symbol,.purchase .boxes .box .symbol,.app-login .boxes .box .symbol{font-size:48px;flex:0 0 auto;padding-right:20px}.transfer .boxes .box .symbol .small,.receive .boxes .box .symbol .small,.exchange .boxes .box .symbol .small,.purchase .boxes .box .symbol .small,.app-login .boxes .box .symbol .small{font-size:28px}.transfer .boxes .box .symbol i,.receive .boxes .box .symbol i,.exchange .boxes .box .symbol i,.purchase .boxes .box .symbol i,.app-login .boxes .box .symbol i{display:block}.transfer .boxes .box .symbol .token-symbol,.receive .boxes .box .symbol .token-symbol,.exchange .boxes .box .symbol .token-symbol,.purchase .boxes .box .symbol .token-symbol,.app-login .boxes .box .symbol .token-symbol{width:64px;height:64px}.transfer .boxes .box .symbol .token-symbol .symbol-holder,.receive .boxes .box .symbol .token-symbol .symbol-holder,.exchange .boxes .box .symbol .token-symbol .symbol-holder,.purchase .boxes .box .symbol .token-symbol .symbol-holder,.app-login .boxes .box .symbol .token-symbol .symbol-holder{width:64px;height:64px}.transfer .boxes .box .symbol .token-symbol .symbol-holder.as-class,.receive .boxes .box .symbol .token-symbol .symbol-holder.as-class,.exchange .boxes .box .symbol .token-symbol .symbol-holder.as-class,.purchase .boxes .box .symbol .token-symbol .symbol-holder.as-class,.app-login .boxes .box .symbol .token-symbol .symbol-holder.as-class{font-size:50px}.transfer .boxes .box .line,.receive .boxes .box .line,.exchange .boxes .box .line,.purchase .boxes .box .line,.app-login .boxes .box .line{width:calc(100%);height:2px;background:#0799ff}.transfer .boxes .box.account-selector,.receive .boxes .box.account-selector,.exchange .boxes .box.account-selector,.purchase .boxes .box.account-selector,.app-login .boxes .box.account-selector{padding:20px;display:flex;align-items:center;position:relative;cursor:pointer}.transfer .boxes .box.account-selector.flex,.receive .boxes .box.account-selector.flex,.exchange .boxes .box.account-selector.flex,.purchase .boxes .box.account-selector.flex,.app-login .boxes .box.account-selector.flex{flex:1}.transfer .boxes .box .recipient-selector,.receive .boxes .box .recipient-selector,.exchange .boxes .box .recipient-selector,.purchase .boxes .box .recipient-selector,.app-login .boxes .box .recipient-selector{display:flex;align-items:center;height:54px;padding:0 20px;position:relative;cursor:pointer}.transfer .boxes .box .name,.receive .boxes .box .name,.exchange .boxes .box .name,.purchase .boxes .box .name,.app-login .boxes .box .name{font-size:12px;font-weight:bold;color:#0799ff;margin-bottom:2px}.transfer .boxes .box .name.value,.receive .boxes .box .name.value,.exchange .boxes .box .name.value,.purchase .boxes .box .name.value,.app-login .boxes .box .name.value{font-size:16px}.transfer .boxes .box .network,.receive .boxes .box .network,.exchange .boxes .box .network,.purchase .boxes .box .network,.app-login .boxes .box .network{font-size:10px}.transfer .boxes .box .token,.receive .boxes .box .token,.exchange .boxes .box .token,.purchase .boxes .box .token,.app-login .boxes .box .token{margin-top:10px;font-size:12px;font-weight:bold}.transfer .boxes .box .price,.receive .boxes .box .price,.exchange .boxes .box .price,.purchase .boxes .box .price,.app-login .boxes .box .price{font-size:9px;font-weight:bold;color:#7a7a7a}.transfer .boxes .box .chevron,.receive .boxes .box .chevron,.exchange .boxes .box .chevron,.purchase .boxes .box .chevron,.app-login .boxes .box .chevron{position:absolute;top:0;bottom:0;right:20px;display:flex;align-items:center;font-size:24px;color:#0799ff}.transfer .boxes .box .input-container,.receive .boxes .box .input-container,.exchange .boxes .box .input-container,.purchase .boxes .box .input-container,.app-login .boxes .box .input-container{display:flex;align-items:center;padding:10px 20px;position:relative}.transfer .boxes .box .input-container .amount-helpers,.receive .boxes .box .input-container .amount-helpers,.exchange .boxes .box .input-container .amount-helpers,.purchase .boxes .box .input-container .amount-helpers,.app-login .boxes .box .input-container .amount-helpers{position:absolute;right:10px;top:10px}.transfer .boxes .box .input-container .label,.receive .boxes .box .input-container .label,.exchange .boxes .box .input-container .label,.purchase .boxes .box .input-container .label,.app-login .boxes .box .input-container .label{flex:0 0 auto;width:50px;font-size:12px;font-weight:bold}.transfer .boxes .box .input-container .input,.receive .boxes .box .input-container .input,.exchange .boxes .box .input-container .input,.purchase .boxes .box .input-container .input,.app-login .boxes .box .input-container .input{flex:1;font-size:12px;color:#0799ff;font-weight:bold;text-align:left}.transfer .boxes .box .input-container .input.not-available,.receive .boxes .box .input-container .input.not-available,.exchange .boxes .box .input-container .input.not-available,.purchase .boxes .box .input-container .input.not-available,.app-login .boxes .box .input-container .input.not-available{color:#c8c8c8}.transfer .boxes .box .input-container input,.transfer .boxes .box .input-container textarea,.receive .boxes .box .input-container input,.receive .boxes .box .input-container textarea,.exchange .boxes .box .input-container input,.exchange .boxes .box .input-container textarea,.purchase .boxes .box .input-container input,.purchase .boxes .box .input-container textarea,.app-login .boxes .box .input-container input,.app-login .boxes .box .input-container textarea{height:36px;border:0;font-size:12px;text-align:left;padding:0;margin:0;outline:0}.transfer .boxes .box .input-container textarea,.receive .boxes .box .input-container textarea,.exchange .boxes .box .input-container textarea,.purchase .boxes .box .input-container textarea,.app-login .boxes .box .input-container textarea{height:80px;padding:10px 0;align-self:flex-start;resize:none}.transfer .boxes .box.data-box,.receive .boxes .box.data-box,.exchange .boxes .box.data-box,.purchase .boxes .box.data-box,.app-login .boxes .box.data-box{padding:30px;display:flex;flex-direction:column;flex:1;margin-left:20px;justify-content:space-between}.transfer .boxes .box.data-box label,.receive .boxes .box.data-box label,.exchange .boxes .box.data-box label,.purchase .boxes .box.data-box label,.app-login .boxes .box.data-box label{margin-bottom:3px;font-size:10px}.transfer .boxes .box.data-box .receiver,.receive .boxes .box.data-box .receiver,.exchange .boxes .box.data-box .receiver,.purchase .boxes .box.data-box .receiver,.app-login .boxes .box.data-box .receiver{font-size:14px;font-weight:bold}.transfer .boxes .box.data-box .small-info,.receive .boxes .box.data-box .small-info,.exchange .boxes .box.data-box .small-info,.purchase .boxes .box.data-box .small-info,.app-login .boxes .box.data-box .small-info{font-size:10px;color:#7a7a7a;margin-bottom:10px}.transfer .boxes .box-container,.receive .boxes .box-container,.exchange .boxes .box-container,.purchase .boxes .box-container,.app-login .boxes .box-container{width:calc(50% - 10px);display:flex;flex-direction:column}.transfer .boxes .box.auto-width,.transfer .boxes .box-container.auto-width,.receive .boxes .box.auto-width,.receive .boxes .box-container.auto-width,.exchange .boxes .box.auto-width,.exchange .boxes .box-container.auto-width,.purchase .boxes .box.auto-width,.purchase .boxes .box-container.auto-width,.app-login .boxes .box.auto-width,.app-login .boxes .box-container.auto-width{width:auto}.mobile .transfer .boxes,.mobile .receive .boxes,.mobile .exchange .boxes,.mobile .purchase .boxes,.mobile .app-login .boxes{flex-direction:column}.mobile .transfer .boxes .box,.mobile .receive .boxes .box,.mobile .exchange .boxes .box,.mobile .purchase .boxes .box,.mobile .app-login .boxes .box{margin-bottom:20px}.mobile .transfer .boxes .box:not(.nested),.mobile .receive .boxes .box:not(.nested),.mobile .exchange .boxes .box:not(.nested),.mobile .purchase .boxes .box:not(.nested),.mobile .app-login .boxes .box:not(.nested){width:100%}.mobile .transfer .boxes .box-container,.mobile .receive .boxes .box-container,.mobile .exchange .boxes .box-container,.mobile .purchase .boxes .box-container,.mobile .app-login .boxes .box-container{width:100%}.mobile .transfer .boxes .data-box,.mobile .receive .boxes .data-box,.mobile .exchange .boxes .data-box,.mobile .purchase .boxes .data-box,.mobile .app-login .boxes .data-box{margin-left:0}\n",""])},dBmO:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".keys-list[data-v-8a32210c]{height:calc(100% - 95px);overflow-y:auto;padding:0 20px;background:white;padding-bottom:60px}@media (max-width: 400px){.keys-list[data-v-8a32210c]{padding:0}}.keys-list .keypair[data-v-8a32210c]{background-color:#f3f6f7;margin-bottom:20px;border:1px solid #dfe0e1;padding:10px 10px 0;border-radius:4px}@media (max-width: 400px){.keys-list .keypair[data-v-8a32210c]{border-radius:0;border:0}}.keys-list .keypair.new[data-v-8a32210c]{border:1px solid #5fc6ff;position:relative}.keys-list .keypair.new[data-v-8a32210c]:after{content:'NEW';background:#0799ff;font-size:10px;font-weight:bold;right:-1px;top:-1px;padding:4px 6px 4px;color:white;position:absolute}.keys-list .keypair .keypair-info[data-v-8a32210c]{display:flex;align-items:center;margin-bottom:10px}@media (max-width: 600px){.keys-list .keypair .keypair-info[data-v-8a32210c]{flex-direction:column;margin-bottom:-10px}}.keys-list .keypair .keypair-info .blockchain[data-v-8a32210c]{font-size:36px;background:#0799ff;border:1px solid #0888f2;color:#fff;border-radius:50%;height:50px;width:50px;display:flex;justify-content:center;align-items:center;margin-right:10px;position:relative}@media (max-width: 600px){.keys-list .keypair .keypair-info .blockchain[data-v-8a32210c]{margin:0}}.keys-list .keypair .keypair-info .blockchain .icon-spin4[data-v-8a32210c]{font-size:28px;padding-top:2px;transform-origin:center}.keys-list .keypair .keypair-info .info[data-v-8a32210c]{flex:1}@media (max-width: 600px){.keys-list .keypair .keypair-info .info[data-v-8a32210c]{margin-top:10px;text-align:center}}.keys-list .keypair .keypair-info .info .name[data-v-8a32210c]{font-size:14px;font-weight:bold}.keys-list .keypair .keypair-info .info .key[data-v-8a32210c]{margin-top:3px;font-size:10px;font-weight:bold;color:#7a7a7a}.keys-list .keypair .keypair-info .info .key b[data-v-8a32210c]{color:#0799ff}.keys-list .keypair.selectable[data-v-8a32210c]{cursor:pointer}.keys-list .keypair.selectable:hover .keypair-info .info .name[data-v-8a32210c]{color:#0799ff}.keys-list .keypair .accounts-label[data-v-8a32210c]{margin:20px -10px -10px;padding:10px 15px;font-size:9px;background-color:#d3edff;text-transform:uppercase;color:#0799ff;font-weight:bold}.keys-list .keypair .no-accounts[data-v-8a32210c]{margin-top:5px;font-size:14px;display:flex;justify-content:space-between;align-items:center;padding:10px 10px 10px 20px;background:#0799ff;color:#fff;margin-bottom:10px;border-radius:4px;border:1px solid #0888f2}.keys-list .keypair .no-accounts p[data-v-8a32210c]{margin:0}.keys-list .keypair .accounts-list[data-v-8a32210c]{margin-top:10px}.keys-list .keypair .accounts-list .account[data-v-8a32210c]{display:flex;align-items:center;padding:15px;background:white;cursor:pointer;margin-left:-10px;margin-right:-10px}.keys-list .keypair .accounts-list .account[data-v-8a32210c]:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.keys-list .keypair .accounts-list .account .details[data-v-8a32210c]{flex:1}.keys-list .keypair .accounts-list .account .details .name[data-v-8a32210c]{font-size:13px;font-weight:bold}@media (max-width: 600px){.keys-list .keypair .accounts-list .account .details .name[data-v-8a32210c]{font-size:12px}}.keys-list .keypair .accounts-list .account .details .network[data-v-8a32210c]{font-size:13px;color:#7a7a7a}@media (max-width: 600px){.keys-list .keypair .accounts-list .account .details .network[data-v-8a32210c]{font-size:12px}}.keys-list .keypair .accounts-list .account .tokens[data-v-8a32210c]{text-align:right}.keys-list .keypair .accounts-list .account .tokens .balance[data-v-8a32210c]{font-size:12px;font-weight:bold}.keys-list .keypair .accounts-list .account .tokens .quantity[data-v-8a32210c]{font-size:10px}.keys-list .keypair .accounts-list .account .actions[data-v-8a32210c]{padding-left:10px;color:#0799ff}.keys-list .keypair .accounts-list .account[data-v-8a32210c]:hover{background-color:#edf7ff}.keys-list .keypair .accounts-list .account:hover .details .name[data-v-8a32210c]{color:#0799ff}.mobile .keys-list[data-v-8a32210c]{height:calc(100% - 170px)}\n",""])},dCyb:function(t,e,a){"use strict";var i=a("XHb+");a.n(i).a},dMwk:function(t,e,a){var i=a("YHM3");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("c16f5a00",i,!0,{})},dVin:function(t,e,a){"use strict";var i=a("QIy7");a.n(i).a},dk5y:function(t,e,a){var i=a("n8wf");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("21ba91d4",i,!0,{})},dy8B:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".export-your-key[data-v-77b132cd]{height:100%}.split-inputs input[data-v-77b132cd]{padding:inherit !important}.split-inputs .input[data-v-77b132cd]{margin:0}.export-text[data-v-77b132cd]{width:500px}@media (max-width: 920px){.export-text[data-v-77b132cd]{width:100%;margin:0 20px}}.keys[data-v-77b132cd]{margin:0 auto;max-width:500px;text-align:center}.keys .key[data-v-77b132cd]{font-size:11px}.keys .public[data-v-77b132cd]{font-size:11px}.types[data-v-77b132cd]{margin-top:100px;display:flex;flex-direction:row;justify-content:center;margin-bottom:70px}@media (max-width: 920px){.types[data-v-77b132cd]{flex-direction:column;margin-top:20px;max-width:300px}}.types .type[data-v-77b132cd]{width:calc(50% - 10px);max-width:400px;background:#fff;border:1px solid #e8e8e8;padding:36px;position:relative;padding-top:65px;text-align:center;cursor:pointer;transition:all 0.15s ease;transition-property:background}@media (max-width: 920px){.types .type[data-v-77b132cd]{width:100%;padding-top:70px}}.types .type[data-v-77b132cd]:last-child{margin-left:20px}@media (max-width: 920px){.types .type[data-v-77b132cd]:last-child{margin:20px 0 0 0}}.types .type .badge[data-v-77b132cd]{width:100px;height:100px;border-radius:50%;background:#fff;border:1px solid #e8e8e8;color:#525252;font-size:36px;display:flex;justify-content:center;align-items:center;position:absolute;top:-50px;left:0;right:0;margin:0 auto;transition:all 0.15s ease;transition-property:background, color, border}@media (max-width: 920px){.types .type .badge[data-v-77b132cd]{width:60px;height:60px;top:-10px}}.types .type .name[data-v-77b132cd]{font-size:24px;color:#0799ff;margin-bottom:5px}.types .type p[data-v-77b132cd]{font-size:11px}.types .type[data-v-77b132cd]:hover{background:rgba(0,0,0,0.02)}.types .type:hover .badge[data-v-77b132cd]{background:#0799ff;border:1px solid #0799ff;color:#fff}\n",""])},"eS/V":function(t,e,a){"use strict";var i=a("x+ty");a.n(i).a},eSad:function(t,e,a){var i=a("Gmfg");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("2bf51abc",i,!0,{})},eqYS:function(t,e,a){"use strict";var i=a("sVZK");a.n(i).a},etLc:function(t,e,a){var i=a("EIo5");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("0592a60e",i,!0,{})},ewlj:function(t,e,a){var i=a("TDsy");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("ccd46c5a",i,!0,{})},"eyw/":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".histories[data-v-f0893e48]{height:calc(100vh - 0px);display:flex;flex-direction:column}.histories .tail[data-v-f0893e48]{flex:0 0 auto;display:flex;align-items:center;padding:0 20px;height:70px;border-top:1px solid #dfe0e1;justify-content:flex-end}.histories .events[data-v-f0893e48]{overflow-y:scroll;padding:10px 40px;flex:1}.histories .events .event[data-v-f0893e48]{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe0e1;padding:20px 0}.histories .events .event .icon[data-v-f0893e48]{flex:0 0 auto;margin-right:20px}.histories .events .event .details[data-v-f0893e48]{flex:1;padding-right:20px}.histories .events .event .details .title[data-v-f0893e48]{font-size:12px;font-weight:bold}.histories .events .event .details .exchange-from[data-v-f0893e48]{font-size:10px;color:#7a7a7a}.histories .events .event .details .row[data-v-f0893e48]{margin-top:3px;font-size:10px;display:flex}.histories .events .event .details .row .status[data-v-f0893e48]{margin-right:12px}.histories .events .event .details .row .memo[data-v-f0893e48]{margin-top:10px;font-size:9px;padding:5px;border:1px solid #dfe0e1;border-radius:4px}.histories .events .event .participants[data-v-f0893e48]{flex:1;font-size:10px}.histories .events .event .participants .account[data-v-f0893e48]{font-weight:bold}.histories .events .event .participants .account.blue[data-v-f0893e48]{color:#0799ff}.histories .events .event .participants .network[data-v-f0893e48]{font-size:9px;color:#7a7a7a;margin-top:10px}.histories .events .event .actions[data-v-f0893e48]{padding-left:20px;display:flex;justify-content:flex-end}.histories .events .event .actions button[data-v-f0893e48]{margin-right:10px}\n",""])},"f+SA":function(t,e,a){var i=a("kh1F");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("9ce5bdec",i,!0,{})},f1Pl:function(t,e,a){var i=a("DSpH");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("40ac68d7",i,!0,{})},fpPZ:function(t,e,a){"use strict";var i=a("iBna");a.n(i).a},"g+0E":function(t,e,a){"use strict";var i=a("Y026");a.n(i).a},g9N2:function(t,e,a){var i=a("INbi");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("552b5773",i,!0,{})},gcxV:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".split-inputs[data-v-e0dd19e2]{text-align:left}.key-entry[data-v-e0dd19e2]{min-width:500px}.key-entry[data-v-e0dd19e2]:not(:last-child){margin-bottom:20px}.type-selected[data-v-e0dd19e2]{min-width:500px}.send-memo[data-v-e0dd19e2]{font-size:14px;max-width:500px;margin:0 auto;text-align:center}.send-memo u[data-v-e0dd19e2]{padding:0 5px}.send-memo b.large[data-v-e0dd19e2]{font-size:20px}.send-memo b.red[data-v-e0dd19e2]{color:#ff0707;font-size:12px;text-decoration:underline}.send-memo i[data-v-e0dd19e2]{display:block;margin-top:30px;font-size:10px;font-weight:800}.send-memo .memo[data-v-e0dd19e2]{border-radius:4px;background:#ff0707;border:1px solid #d30606;color:#fff;padding:5px 5px 5px 10px;margin-top:3px;font-size:10px;display:flex;justify-content:space-between;align-items:center}.send-memo .memo .copy[data-v-e0dd19e2]{background:#fff;color:#333;padding:5px 10px;border-radius:4px;cursor:pointer;border:1px solid #d30606}\n",""])},gk0x:function(t,e,a){var i=a("TkVi");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("1e13d63f",i,!0,{})},"h+dT":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".enable-simple-mode[data-v-0cd77737]{border-radius:20px;max-width:500px;display:flex;flex-direction:column}.enable-simple-mode .head[data-v-0cd77737]{padding:30px;background:#0799ff;color:white;display:flex;padding-bottom:70px}.enable-simple-mode .head .title[data-v-0cd77737]{font-size:16px}.enable-simple-mode .head .subtitle[data-v-0cd77737]{font-size:12px;margin-top:8px}.enable-simple-mode .head .close[data-v-0cd77737]{cursor:pointer;color:white;font-size:24px;border-radius:4px;margin-left:50px}.enable-simple-mode .transfer[data-v-0cd77737]{height:auto}.enable-simple-mode .container[data-v-0cd77737]{padding:30px;margin-top:-40px;background:white;border-top-left-radius:20px;border-top-right-radius:20px;height:auto;max-height:300px}.enable-simple-mode .container label[data-v-0cd77737]{color:#333;font-size:12px}.enable-simple-mode .container .account-selector[data-v-0cd77737]{padding:10px}.enable-simple-mode .boxes[data-v-0cd77737]{margin-bottom:20px}.enable-simple-mode .actions[data-v-0cd77737]{padding:10px;display:flex;justify-content:flex-end;width:100%}.enable-simple-mode .actions button[data-v-0cd77737]{margin-left:10px}\n",""])},iBna:function(t,e,a){var i=a("+38j");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("d179451c",i,!0,{})},iQoG:function(t,e,a){"use strict";var i=a("oCjC");a.n(i).a},iT9p:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".import-hardware[data-v-15bdc122]{min-width:500px;max-width:600px}.import-hardware .loading-keys[data-v-15bdc122]{padding:5px 10px 10px}.import-hardware .key-list[data-v-15bdc122]{display:flex;flex-direction:column;max-height:170px;overflow-y:auto;padding:0 10px 0 0}.import-hardware .key-list .key-row[data-v-15bdc122]{display:flex;text-align:right;font-size:10px;align-items:center;margin-bottom:5px;cursor:pointer;padding:5px;border-radius:4px}.import-hardware .key-list .key-row .index[data-v-15bdc122]{padding:5px 10px;background:#0799ff;color:#fff;border-radius:4px;margin-right:10px}.import-hardware .key-list .key-row .key[data-v-15bdc122]{flex:1}.import-hardware .key-list .key-row[data-v-15bdc122]:hover{background:#f3f6f7}\n",""])},iaKN:function(t,e,a){var i=a("1ZKd");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("f84c0aec",i,!0,{})},idEn:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".scroller[data-v-50ccb9cb]{padding:0;margin:0;height:calc(100vh - 230px);padding-right:10px;overflow-y:auto}.no-tokens[data-v-50ccb9cb]{padding:40px;display:flex;justify-content:center;align-items:center;font-size:36px;color:#f3f6f7;font-weight:bold}.badge-item[data-v-50ccb9cb]{align-items:center}.badge-item .token-symbol[data-v-50ccb9cb]{margin-right:10px}.fiat-currencies .items[data-v-50ccb9cb]{display:flex;flex-direction:row}.search[data-v-50ccb9cb]{margin-left:-30px}\n",""])},ioPV:function(t,e,a){"use strict";var i=a("rLhf");a.n(i).a},j2Vk:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"body{will-change:transform}.mobile *{transition:none !important}#loader-bg{position:fixed;top:0;bottom:0;left:0;right:0;background:red}::-webkit-scrollbar{width:12px;border-radius:10px}::-webkit-scrollbar:horizontal{height:8px;border-radius:10px}::-webkit-scrollbar-track{background:rgba(0,0,0,0.06);padding:2px;border-radius:10px}::-webkit-scrollbar-thumb{background:rgba(0,0,0,0.24);border-radius:10px}div,figure,section,nav,article,input,textarea{padding:0;margin:0;box-sizing:border-box;font-family:'Helvetica','Segoe UI','Roboto', sans-serif}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}html,body{height:100%;background:#fff;overflow:hidden}hr{border:0;width:100%;background:#dfe0e1;height:1px}*{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,*::after,*::before{user-select:none}.selectable{user-select:text}body{padding:0;margin:0;word-break:break-word;font-family:'Helvetica','Segoe UI','Roboto', sans-serif;background:transparent;color:#393d3f;animation:FadeIn 0.6s forwards}a{display:inherit;text-decoration:inherit;color:inherit}h1,h2,h3,h4,h5{margin:0;font-family:'Poppins', sans-serif}h1{font-size:24px;margin-bottom:20px}h2{font-size:20px;margin-bottom:20px}h3{font-size:18px;margin-bottom:20px}p{font-size:10px}input{background:transparent;border:1px solid #dfe0e1;height:44px;width:100%;outline:0;border-radius:4px;padding:0 15px}input:not(:first-child){margin-top:5px}input.center{text-align:center}input:disabled{cursor:not-allowed}input:hover,input:focus{border:1px solid #0799ff}.or{position:relative;margin:20px 0}.or .text{font-size:12px;font-weight:bold;padding:0 20px;background:#fff;display:inline-block;color:#c8c8c8}.or:before{content:'';display:block;background:#dfe0e1;height:1px;position:absolute;top:8px;left:0;right:0;z-index:-1}.tooltip{z-index:10000;padding:5px 10px;background:#0799ff;color:#fff}.tooltip .left-start{margin-right:10px}.section-title{color:#c8c8c8;margin-bottom:20px;font-size:14px;font-weight:bold;color:#141616}.split-inputs{display:flex;align-items:center}@media (max-width: 600px){.split-inputs{flex-direction:column}}.split-inputs>section:not(:first-child),.split-inputs>button:not(:first-child){margin-left:10px}@media (max-width: 600px){.split-inputs>section:not(:first-child),.split-inputs>button:not(:first-child){margin-left:0}}.split-flex{display:flex;justify-content:space-between}.panel-switch{height:60px;width:100%;position:relative;display:flex;justify-content:center;align-items:center;transition:all 0.08s ease;transition-property:height;margin-bottom:20px}.panel-switch .button{height:38px;line-height:38px;font-weight:bold;color:#0799ff;font-size:16px;position:relative;cursor:pointer;transition:all 0.08s ease;transition-property:color, height, line-height;width:100%;text-align:center}.panel-switch .button:after{content:'';display:block;position:absolute;bottom:-11px;left:0;right:0;background:#0799ff;height:1px;z-index:2;opacity:0;transition:all 0.08s ease;transition-property:opacity}.panel-switch .button:hover{color:#7a7a7a}.panel-switch .button.active{color:black}.panel-switch .button.active:after{opacity:1}.panel-switch:after{content:'';display:block;position:absolute;left:0;right:0;bottom:0;border-bottom:2px solid rgba(0,0,0,0.08)}label{font-size:14px;color:#7899a6;font-weight:bold;margin-bottom:8px;display:flex}label span{flex:2}label span:nth-child(2){flex:1;cursor:pointer;text-align:right;text-decoration:underline}label span:nth-child(2):hover{color:#0799ff}label.error{color:#ff0707;animation:blink 1s ease infinite}.limit-width{max-width:1280px;margin:0 auto}.limit-800{max-width:800px;margin:0 auto}.center-panel{max-width:400px;margin:0 auto;text-align:center}.badge-item{display:flex;margin-bottom:10px;padding-bottom:10px}.badge-item .badge{background:#fff;width:60px;height:60px;border-radius:50%;box-shadow:0 1px 2px rgba(7,155,232,0.23),0 4px 6px rgba(7,155,232,0.23);display:flex;justify-content:center;align-items:center;font-size:16px;position:relative;color:#7a7a7a;border:0 solid transparent;margin-right:20px;transition:all 0.2s ease;transition-property:background, color, box-shadow, border}.badge-item .badge.small{font-size:13px}.badge-item .badge.iconed{font-size:36px}.badge-item .badge.iconed.small{width:40px;height:40px;font-size:24px}.badge-item .badge.unusable{background:#0799ff;color:#fff;border:3px solid #fff}.badge-item .badge .locked{position:absolute;font-size:18px;bottom:-8px;text-shadow:0 1px 2px rgba(0,0,0,0.2),0 1px 16px rgba(0,0,0,0.3),0 1px 2px rgba(7,155,232,0.23),0 3px 16px rgba(7,155,232,0.23)}.badge-item .details{flex:1;display:flex;flex-direction:column;justify-content:center}.badge-item .details .title{font-size:12px;font-weight:bold}.badge-item .details .row{display:flex;justify-content:space-between;margin-top:8px}.badge-item .details .row.long{flex-direction:column}.badge-item .details .row .primary{font-size:10px;font-weight:bold;margin-right:10px}.badge-item .details .row .secondary{font-size:10px;color:#7a7a7a;margin-right:10px}.badge-item .details .row .red{color:#ff0707;font-weight:bold;font-size:10px}.badge-item.hoverable{cursor:pointer;padding:10px 20px;margin-bottom:2px;display:flex;flex-direction:row;align-content:center;justify-content:center;align-items:center}.badge-item.hoverable:hover,.badge-item.hoverable.active{color:#0799ff}.badge-item.hoverable:hover .badge,.badge-item.hoverable.active .badge{background:#0799ff;color:#fff;border:0 solid transparent;box-shadow:inset 0 3px 2px rgba(0,0,0,0.1),0 0 0 transparent}.action-box{border:1px solid #dfe0e1;border-radius:4px;padding:20px}.action-box:not(:last-child){margin-bottom:20px}.action-box:last-child{margin-bottom:40px}.action-box p{font-size:10px}.greyback{padding:20px;background:#f3f6f7}.whiteback{flex:1;padding:20px}.type-selector .types{display:flex}.type-selector .types .type{width:160px;border-radius:4px;display:flex;flex-direction:column;justify-content:center;margin:0 20px;cursor:pointer;border:1px solid #dfe0e1;padding:30px 0}.type-selector .types .type .type-icon{font-size:64px;display:flex;align-items:center;justify-content:center}.type-selector .types .type .type-icon svg{width:64px}.type-selector .types .type .type-icon img{width:64px}.type-selector .types .type .type-text{margin-top:20px;font-size:14px;font-weight:bold;padding:0 20px}.type-selector .types .type .type-desc{margin-top:10px;font-size:9px;font-weight:bold;padding:0 20px}.type-selector .types .type:hover{background:#0799ff;color:#fff}.type-selector .types .type.disabled{background:#f7fafb;color:#dfe0e1;cursor:not-allowed}.type-selector .types .type.disabled .type-icon{color:#7a7a7a}.type-selector .types .type.disabled .type-icon svg{fill:#dfe0e1}.mobile .type-selector .types{flex-direction:column}.mobile .type-selector .types .type{width:100%;margin:0 0 20px 0;flex-direction:row;align-items:center;text-align:left;padding:10px 0}.mobile .type-selector .types .type .type-icon{font-size:22px;width:40px}.mobile .type-selector .types .type .type-text{margin:0;flex:1}.key-val figure:first-child{font-size:11px;color:#7899a6;font-weight:bold;margin-bottom:8px;display:block}.key-val figure.clickable{cursor:pointer;font-size:13px;color:#0799ff;padding:8px 12px;border:1px solid #0799ff;margin-top:4px;margin-bottom:2px;display:table}.key-val figure.clickable:hover{background:#0799ff;color:#fff}.actions{display:flex;padding-right:10px;position:relative}.actions .action-menu{position:absolute;z-index:2;top:40px;right:10px;border-radius:4px;min-width:150px;background:#fff;border:1px solid #dfe0e1;box-shadow:0 1px 2px rgba(7,155,232,0.23),0 4px 12px rgba(7,155,232,0.23);padding:5px 0}.actions .action-menu.hidden{display:none}.actions .action-menu .item{cursor:pointer;font-size:10px;padding:8px 15px}.actions .action-menu .item:hover{background:rgba(0,0,0,0.02)}.actions .action-menu .item.disabled{opacity:0.2}.actions .action{padding:10px;border-radius:4px;cursor:pointer}.actions .action:hover{background:#f3f6f7}.actions .action.hardware{cursor:not-allowed}\n",""])},j31F:function(t,e,a){var i=a("DmdJ");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("3dd0873e",i,!0,{})},jOga:function(t,e,a){"use strict";var i=a("Eiaj");a.n(i).a},jU6B:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".blockchain-list-container .blockchains[data-v-dc6ca730]{height:calc(100vh - 70px);overflow-y:auto}.head .danger[data-v-dc6ca730]{background:#ff0707;color:#fff;font-size:10px;border-radius:4px;padding:3px 3px;margin-right:10px;overflow:hidden}.head .danger.unlocked[data-v-dc6ca730]{animation:popLock-data-v-dc6ca730 0.6s normal forwards ease;animation-delay:0.1s}@keyframes popLock-data-v-dc6ca730{0%{transform:scale(1)}20%{transform:scale(0.8)}60%{opacity:1;transform:scale(2)}80%{transform:scale(0.5);opacity:0;margin-left:0}100%{margin-left:-30px;opacity:0}}.list-container[data-v-dc6ca730]{height:100%}.list-container .scroller[data-v-dc6ca730]{padding:20px;height:calc(100vh - 140px);overflow-y:auto}\n",""])},"jmG+":function(t,e,a){"use strict";a.r(e),e.default={generic:{back:"Atrás",skip:"Omitir",next:"Próxima",confirm:"Confirmar",accept:"Aceptar",allow:"Permitir",deny:"Negar",okay:"Bueno",cancel:"Cancelar",open:"Abierto",yes:"Sí",no:"No",actions:"Comportamiento",enable:"Habilitar",disable:"Inhabilitar",send:"Enviar",receive:"Recibir",select:"Seleccionar",unselect:"Deseleccionar",edit:"Editar",add:"Añadir",save:"Salvar",new:"Nuevo",delete:"Eliminar",remove:"Retirar",remove_all:"Eliminar todo",copy:"Copiar",import:"Importar",export:"Exportar",refresh:"Refrescar",manage:"Gestionar",private_key:"Llave privada | Llaves privadas",public_key:"Llave pública | Llaves públicas",cards:"Tarjeta | Tarjetas",expired:"Muerto",keys:"Llave | Llaves",hide:"Esconder",reveal:"Revelar",tokens:"Ficha | Fichas",networks:"Red | Redes",blockchains:"Blockchain | Blockchains",contracts:"Contrato | Contratos",memo:"Memorándum",symbol:"Símbolo",decimals:"Decimales",chain_id:"ID de cadena",name:"Nombre",accounts:"Cuenta | Cuentas",search:"Buscar",buy:"Comprar",sell:"Vender",contacts:"Contactos",history:"Historia",exchange:"Intercambiar",view:"Ver",redo:"Rehacer",promoted:"Promovido",addressOrAccount:"Dirección o cuenta",pleaseWait:"Por favor espera",selectToken:"Selecciona un token",selectBlockchain:"Seleccione una blockchain"},sidebar:{dashboard:"Tablero",apps:"Aplicaciones",wallet:"Billetera",assets:"Bienes",identities:"Identidades",locations:"Localizaciones",contacts:"Contactos",history:"Historia",networks:"Redes",settings:"Configuraciones",lock:"Bloquear billetera"},login:{registerButtonTitle:"Empezar",registerButtonSubtitle:"Vamos a configurarlo con Scatter",reset:"Reiniciar",restore:"Restaurar",support:"Apoyo",passwordPlaceholder:"Ingresa tu contraseña"},setPassword:{title:"Establecer una contraseña segura",description:"Las contraseñas seguras tienen al menos 8 caracteres e incluyen al menos un número y un carácter especial.",choosePass:"Elije una contraseña",confirmPass:"Confirmar la contraseña"},welcome:{title:"Bienvenido al futuro",description:"Su Scatter está configurado y listo para usar.",button:"Comience a usar Scatter"},destroy:{title:"Destruye Scatter",disclaimer:"Antes de hacer esto, asegúrese de tener una copia de seguridad de todas sus claves privadas.",description:"Destruir su Scatter es irreversible, y no podrá restaurar ningún dato sin copias de seguridad."},dashboard:{vote:{title:"Vote por la dispersión",subTitle:"¡Muéstranos un poco de amor!",description:"Hemos lanzado un productor de bloques EOS Mainnet que ahora puede votar. Ayúdenos a alcanzar una posición de producción votando por nosotros.",button:"¡Vota ahora!",voted:"Votado por Scatter en {total} cadenas. ¡Gracias por tu ayuda!"}},apps:{explore:"Explorar",myApps:"Mis aplicaciones",allCategories:"Todas las categorias"},app:{loginPermission:"Cuentas proporcionadas",accountsProvided:"Cuentas proporcionadas",requiredFields:"Campos requeridos",mutableFields:"Campos mutables",removePermission:"Eliminar permiso",removeIdentity:"Los permisos de inicio de sesión son los que permiten que las aplicaciones interactúen con su Scatter. Puede forzar el cierre de sesión de una aplicación eliminando este permiso.",removeWhitelist:"Las listas blancas de acción lo hacen para que no tenga que seguir aceptando ventanas emergentes para firmar transacciones. ¿Desea eliminar esta lista blanca?"},wallet:{noKeys:{title:"No tienes llaves",description:"Haga clic en uno de los botones a continuación para importar una clave que ya tiene, o generar una nueva."},generateKey:"Generar clave",importKey:"Importar clave",addCreditCard:"Agregar tarjeta de crédito"},account:{totalFiatBalance:"Saldo total de Fiat",actions:{unlink_account:"Desvincular cuenta",change_permissions:"Cambiar permisos",proxy_vote:"Voto Proxy",create_account:"Crear una cuenta"}},assets:{noAccounts:"Sin cuentas"},histories:{sent:"Expedido",received:"Recibido",networkDisabled:"Red deshabilitada",clear:{title:"Borrar historial",description:"Estás a punto de borrar toda tu historia local. Esto no borrará claves o cuentas."}},identities:{identities:"Identidades",id:{nameLabel:"Nombre de identidad / Nombre de usuario",namePlaceholder:"Su presencia en línea",nameError:"El nombre del nombre de identidad no puede estar vacío, tener espacios o caracteres especiales."},personal:{nameLabel:"Nombre completo",namePlaceholder:"Ingrese su nombre completo",emailLabel:"Email",dobLabel:"Fecha de nacimiento"},location:{title:"Ubicación",noneSelected:"Ninguna seleccionada"},auth:{title:"Clave de autenticación",description:"Asegúrese de guardar una copia de esta clave de autenticación, la necesitará para recuperar el acceso a ciertas aplicaciones que lo requieren.",changeButton:"Cambio / Ver"},removing:{title:"Eliminar identidad",description:"¿Está seguro de que desea eliminar {identity}"}},locations:{locations:"Localizaciones",nameLabel:"Nombre del lugar",namePlaceholder:"Hogar, oficina, etc.",countryLabel:"País",countryItemNone:"Ninguno",addressLabel:"Dirección",cityLabel:"Ciudad",stateLabel:"Estado",phoneLabel:"Número de teléfono"},networks:{connectionError:"¡Error de conexión!"},settings:{menu:{general:"General",tokens:"Fichas",explorers:"Exploradores",backup:"Copias de seguridad",firewall:"Cortafuegos",password:"Contraseña",destroy:"Reiniciar"},base:{basics:"Lo esencial",secure:"Configuraciones seguras"},general:{version:"Versión",language:"Idioma",simpleMode:"Modo simple",simpleModeDescription:"El modo simple está dirigido a usuarios cotidianos, mientras que el modo avanzado (en el que estás actualmente) está dirigido a usuarios muy técnicos y desarrolladores.",notifications:"Notificaciones de la lista blanca",notificationsDescription:"Estas notificaciones aparecen en ciertos sistemas operativos cuando firma automáticamente las transacciones en la lista blanca.",ports:"Puertos abiertos",portsDescription:"Estos son los puertos abiertos en su máquina local que otras aplicaciones locales pueden usar para contactar a Scatter.",noPorts:"¡No hay puertos abiertos!",dataPath:"Ubicación del archivo de datos",dataPathDescription:"La ubicación en su computadora en la que Scatter guarda sus datos cifrados.",devConsole:"Consola de desarrollador",devConsoleDescription:"A veces es posible que necesite ver si Scatter está arrojando algún error.",devConsoleButton:"Consola abierta"},backup:{title:"Configurar copias de seguridad",description:"Las copias de seguridad le permiten guardar el estado de su Scatter completo, incluidas todas las claves, permisos y configuraciones.",autobackup:"Seleccionar ubicación de copia de seguridad automática",create:"Crear copia de seguridad",currentFolder:"Carpeta de respaldo actual",created:"Copia de seguridad creada!"},destroy:{title:"Destruye Scatter",description:"La destrucción de su Scatter eliminará todos sus datos, incluidas sus identidades y configuraciones de Keypair de su máquina local. No eliminará sus cuentas de blockchain de la cadena de bloques real.",important:"¡ASEGÚRESE DE TENER UN RESPALDO ANTES DE HACER ESTO!",button:"Destruye Scatter"},firewall:{ridl:{title:"Cortafuegos descentralizado",description:"RIDL Defender es el sistema de firewall descentralizado patentado de Scatter. Ayuda a protegerlo de sitios web, aplicaciones y cuentas maliciosas."},blocker:{title:"Restricción de acciones del contrato",description:"Estas acciones no serán permitidas desde aplicaciones externas.",blacklisted:"Acciones en la lista negra"}},password:{title:"Cambia tu contraseña",description:"Cambiar su contraseña periódicamente es muy saludable. A menudo usamos las mismas contraseñas en varios lugares, lo que lleva a una mayor posibilidad de que sean descubiertas.",button:"Cambia la contraseña",changed:"¡Contraseña cambiada!",pin:{title:"Cambia tu PIN",description:"Si está habilitado, su PIN es una contraseña secundaria que se requiere cada vez que realiza una acción no incluida en la lista blanca. No haga esto igual que su contraseña.",disabled:"PIN deshabilitado",changed:"PIN cambiado!",pinForAllTitle:"Use PIN para interacciones de aplicaciones externas.",pinForAllDescription:"Si habilita esto, también deberá ingresar su PIN para cada ventana emergente que haga una aplicación externa. De lo contrario, solo se requerirá su PIN para acciones internas de dispersión como transferencia e intercambio."}},tokens:{switch:{add:"Agregar ficha",whitelist:"Fichas",blacklist:"Filtrado",settings:"Configuraciones"},whitelistButton:"De lista blanca",blacklistButton:"De lista negra",hidePrimaryBalance:"Ocultar saldo primario",hidePrimaryBalanceDescription:"Le permite ocultar su saldo en la barra de acciones rápidas.",filterSmallBalances:"Filtrar saldos pequeños",filterSmallBalancesDescription:"Si desea filtrar siempre los fichas con pequeños saldos, puede establecer un modificador aquí.",noTokens:"Sin fichas"}},receive:{receiver:"Cuenta receptora",sendTo:"Enviar fondos a",forEosio:"Algunos intercambios le pedirán una etiqueta de dirección, memo o alguna otra forma de entrada secundaria. Puede ingresar cualquier cosa en ese campo ya que esta es una cuenta real de EOSIO."},exchange:{fromAndToken:"Desde y ficha",priceNotAvailable:"Precio no disponible",loadingPairs:"Cargando pares",noPairs:"No hay pares disponibles",loadingRate:"Tasa de carga",errorTitle:"Error de intercambio",errorDescription:"No se puede conectar a la API de Exchange."},transfer:{sender:"Enviando desde",receiver:"Enviando a",amountTitle:"Cantidad y detalles",priceNotAvailable:"Precio no disponible",memo:"Memo (opcional)",loadingBalances:"Sus saldos aún no han terminado de cargarse."},editNetwork:{systemToken:"Ficha del sistema",memorableName:"Agrega un nombre memorable",host:"Anfitrión",protocol:"Protocolo",port:"Puerto",chainIdTooltip:"Obtener ID de cadena",update:"Detalles de actualización",systemTokenTitle:"Ficha de sistema de red",systemTokenDescription:"Algunas redes usan un token de sistema personalizado en lugar del token de sistema predeterminado (como ETH, EOS o TRX)."},keysAndAccountsList:{actions:{editName:"Editar nombre",copyPublicKey:"Copiar clave pública",refreshAccounts:"Actualizar cuentas",convertBlockchain:"Convertir Blockchain",removeKey:"Eliminar clave",linkAccount:"Cuenta de enlace"},noAccounts:{title:"No tiene ninguna cuenta vinculada a esta clave.",requiresPayment:"{blockchain} blockchains requieren que pagues una pequeña tarifa para crear cuentas.",checkEnabled:"Asegúrese de tener una red para {blockchain} blockchain habilitada.",createAccountButton:"¡Crear una ahora!"},linkedAccounts:"Cuentas vinculadas",changeKeypairNameTitle:"Cambiar nombre de par de claves",changeKeypairNameDescription:"El nombre de un par de claves es solo para fines organizativos. No tiene ningún efecto en la cadena de bloques o la clave en sí."},panels:{keypair:{selectHardware:"Seleccione una billetera de hardware",availableHardwareChains:"Blockchains disponibles",hardwareIndex:"Índice de clave / dirección",importTextKeyTitle:"Importa tu clave privada",importTextKeyDescription:"Su clave privada nunca abandona su dispositivo. Solo usamos esto para firmar transacciones y nadie tendrá acceso a él excepto usted. Recuerde que aunque Scatter es un buen lugar para guardar su clave, siempre debe tener una copia de seguridad en algún lugar fuera de línea.",validTextKeyWarn:"Una vez que ingrese una clave válida, la importará automáticamente.",scanQR:"Escanea un código QR"}},popins:{fullscreen:{addCustomNetwork:"Agregar red personalizada",addNewContact:"Añadir nuevo contacto",changeIdentityKey:"Clave de autenticación de identidad",generateRandomKey:"Generar clave aleatoria",saveIdentityKey:"Guardar nueva clave de identidad",checkHardwareTitle:"Comprobar hardware",checkHardwareDescription:"Debería ver una confirmación en su dispositivo de hardware.",confirmPassword:"Confirmar contraseña",securityCode:"Ingrese el código de seguridad",changePermissions:{title:"Cambio de claves de cuenta",disclaimer:"¡Esto puede ser peligroso!",disclaimerDescription:"Está a punto de cambiar las claves que controlan esta cuenta. Asegúrate de saber lo que estás haciendo.",owner:"Propietario / clave maestra",active:"Clave activa / diaria",dontChange:"Dejar como está"},createAccount:{title:"Crear una cuenta",exchangeDescription:"Puede enviar fondos desde un intercambio u otra billetera para crear su cuenta.",cardDescription:"Esta opción está actualmente deshabilitada.",startTyping:"Comience a escribir un nombre para ver si está disponible.",includeMemo:"¡Asegúrese de incluir este memo cuando lo envíe o se perderán sus fondos!",clickAfter:"Haga clic después de la transferencia.",lookingTitle:"Buscando cuenta",lookingDescription:"Scatter buscará continuamente la cuenta que se creará durante los próximos 30 minutos. Una vez que se encuentre, se agregará automáticamente a su Scatter.",exchangeErrorTitle:"Error de creación de cuenta de Exchange.",exchangeErrorDescription:"Han pasado 30 minutos desde que enviaste dinero de tu intercambio. Parece que todavía no se ha creado una cuenta. Debe verificar el estado de la transacción en el intercambio.",accountFoundTitle:"Cuenta encontrada!",accountFoundDescription:"Scatter encontró la cuenta que creó usando un intercambio. Ahora puedes verlo en tu billetera.",nameTooShort:"El nombre de la cuenta debe tener 12 caracteres.",nameFormatting:"El nombre de la cuenta debe ser solo letras minúsculas.",checkingName:"Comprobando si el nombre está disponible...",nameTaken:"Este nombre ya ha sido tomado"},moderateCpu:{available:"Disponible {token}",reclaiming:"Reclamando {token}",stake:"Estaca",unstake:"Unstake"},moderateRam:{type:"Tipo",bytesError:"Los bytes deben ser mayores de 15"},exportKey:{title:"Exportando Clave Privada",disclaimer:"¡Mantenga sus claves privadas seguras!",description:"Exporte siempre sus claves privadas y asegúrese de tener una copia de seguridad de ellas. No podrás recuperar tus tokens si los pierdes.",keyTitle:"Clave",keyDescription:"Exportar esta clave privada como texto",qrTitle:"Billetera de papel",qrDescription:"Exporte esta clave privada como un código QR cifrado",privateKeyAsText:"Clave privada como texto",privateKeyAsQR:"Cartera de papel con código QR",savedImage:"Imagen guardada!"},generateKey:{title:"Generar par de claves"},importBackup:{title:"Restaurar desde copia de seguridad",description:"Si tiene una copia de seguridad para su Scatter, puede importarla aquí cargándola en Scatter. Aún necesitará la contraseña para desbloquearla.",buttonTitle:"Seleccione un archivo de respaldo",buttonDescription:"Estos terminarán con .json o .txt",errorParsing:"Se produjo un error al analizar esta copia de seguridad.",errorDecrypting:"Se produjo un error al descifrar esta copia de seguridad",errorReading:"Este archivo de copia de seguridad no se pudo leer"},importKeypair:{title:"Importar par de claves",text:"Texto",hardware:"Hardware",qrCode:"Código QR",invalidPrivateKey:"Clave privada inválida"},removeKeypair:{title:"Removiendo Llave",permanent:"Esta acción es permanente",removesAll:"La eliminación de claves también elimina todas sus cuentas vinculadas y sus respectivos permisos. Una vez que elimina una clave, no se puede regenerar."},unlinkAccount:{title:"Desvincular cuenta",description:"Al eliminar una cuenta vinculada, también se eliminan todos los permisos de sus aplicaciones.",disclaimer:"Esto NO eliminará la cuenta de blockchain, solo Scatter."}},overlay:{exchanging:"Intercambiando",transferring:"Transferencia",confirmPin:"Confirmar PIN",selectAccount:"Seleccionar cuenta",selectBlockchain:"Seleccionar Blockchain",selectDisplayToken:"Seleccione Mostrar ficha",selectFiatCurrency:"Seleccione una moneda fiduciaria",selectBlockchainToken:"Seleccione un ficha blockchain",selectPublicKey:"Seleccionar clave pública",selectRecipient:"Seleccionar destinatario",selectToken:"Seleccionar ficha",allBlockchains:"Todas las Blockchains",selectTokenAndAccount:"Seleccionar ficha y cuenta",transactionSuccess:"Transacción exitosa!",viewTransactionOn:"Haga clic en el enlace a continuación para ver en {explorer}",enableSimpleMode:{},enterPin:{},linkAccount:{title:"Vincular cuenta EOSIO",description:"Esto le permite vincular cuentas en redes a las que no puede acceder o no tiene complementos de historial habilitados.",selectNetwork:"Selecciona una red",button:"Enlazar",noNetworksAvailable:"¡No hay redes EOSIO disponibles!"}}},popouts:{popoutApp:{noImage:"Sin imágen",reputation:{unknown:"Reputación desconocida",trusty:"Digno de confianza",scam:"Estafa conocida"}},requiredFields:{title:"Campos de identidad requeridos",personalInformation:"Informacion personal:"},login:{suffix:"veremos:",dangerousPermission:"Estás iniciando sesión con tu permiso de propietario. Esto es peligroso.",allAccountsFor:"Todas las cuentas para:",allAccountsDescription:"{app} solicita ver todas las cuentas de una red específica. Esto significa que podrá solicitar firmas de transacciones para cualquier cuenta que haya vinculado a cualquiera de las redes solicitadas.",noInfoNeededTitle:"Esta aplicación no solicita ninguna información personal o cuentas.",noInfoNeededDescription:"La única información que recibirá esta aplicación es información básica de identidad, como su nombre de usuario.",noAccountsTitle:"No tienes cuentas para esta red",noAccountsDescription:"Debe crear una cuenta antes de poder usar aplicaciones.",personalInformation:"Informacion personal:",requestingPersonalInformation:"{app} está solicitando información personal. Solo podrá ver lo que se solicita y nada más que haya completado en su identidad de Scatter."},getPublicKey:{suffix:"quiere que proporciones una clave pública",select:"Selecciona una llave",generate:"Generar una nueva clave"},linkApp:{suffix:"está volviendo a vincular",description:"Asegúrese de que el nombre de la aplicación es una aplicación con la que está interactuando en este momento. Si no es así, podría ser una aplicación peligrosa tratando de actuar como una diferente."},transferRequest:{suffix:"está solicitando una transferencia",selectAccount:"Seleccionar cuenta"},updateIdentity:{suffix:"quiere",changeName:"Cambia tu nombre de identidad",addKycProofs:"Añadir pruebas KYC"},signature:{moreAccounts:"mas cuentas",keysInvolved:"Claves involucradas",accountsInvolved:"Cuentas involucradas",previouslyWhitelisted:"Esta acción se incluyó previamente en la lista blanca",hiddenAction:"La acción está oculta",dangerous:"¡Una o más de las acciones que está a punto de firmar es peligrosa!",dangerousAction:"¡Esta acción es peligrosa!",dangerousTooltip:"Esta acción es peligrosa. Aceptarlo cambiará sus claves y posiblemente le dará su cuenta a otra persona. Verifique que las claves sean correctas.",whitelistThis:"Puede incluir esto en la lista blanca para no tener que volver a aceptar esta transacción.",whitelistExplainer:"Las casillas de verificación que están marcadas pueden cambiar sus valores sin romper la lista blanca.",actionsTotal:"{x} acciones en total"}},errors:{badPassword:"Contraseña incorrecta",passwordConfirmation:"La confirmación de contraseña no coincide con la contraseña",keypairExists:"Ya existe un par de claves con ese nombre o clave pública",transferError:"Se produjo un error al intentar transferir fichas",badQrDecryption:"Se produjo un error al descifrar este QR. ¿Estás seguro de que la contraseña de este código QR es correcta?"}}},"jw/E":function(t,e,a){"use strict";var i=a("zDUF");a.n(i).a},kAjX:function(t,e,a){var i=a("7oO4");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("8f6cf804",i,!0,{})},kPM7:function(t,e,a){"use strict";var i=a("g9N2");a.n(i).a},kh1F:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"@keyframes slowbounce{0%,100%{transform:translateY(0px)}50%{transform:translateY(-4px)}}@keyframes pulsate{0%,100%{transform:scale(1)}50%{transform:scale(1.2)}}@keyframes zoom{0%{transform:scale(1)}100%{transform:scale(1.1)}}.spin,.animate-spin{animation:spin 0.65s linear infinite}@keyframes spin{0%{transform:rotateZ(0deg)}100%{transform:rotateZ(360deg)}}.bounce-right{animation:bounce-right 1s ease infinite}@keyframes bounce-right{0%,100%{transform:translateX(-2px)}50%{transform:translateX(2px)}}@keyframes fadein{0%{opacity:0}100%{opacity:1}}@keyframes inFromTop{0%{transform:translateY(-1000px)}70%{transform:translateY(10px)}100%{transform:translateY(0)}}@keyframes inFromBottom{0%{transform:translateY(1000px)}70%{transform:translateY(-10px)}100%{transform:translateY(0)}}.fade-enter,.fade-leave-to{opacity:0}.animated-gradient{background:repeating-linear-gradient(to right, #f3f6f7 0%, #f8fbfc 50%, #f3f6f7 100%);width:100%;background-size:200% auto;background-position:0 100%;animation:gradient 2s infinite;animation-fill-mode:forwards;animation-timing-function:linear}.animated-gradient.blue{background:repeating-linear-gradient(to right, #0799ff 0%, #39b4ff 50%, #0799ff 100%)}@keyframes gradient{0%{background-position:0 0}100%{background-position:-200% 0}}.meteors .shooting_star{position:absolute;left:50%;top:50%;height:4px;background:linear-gradient(-45deg, #fff, rgba(0,0,255,0));border-radius:999px;filter:drop-shadow(0 0 6px #fff)}.meteors .shooting_star::before,.meteors .shooting_star::after{content:'';position:absolute;top:calc(50% - 1px);right:0;height:2px;background:linear-gradient(-45deg, rgba(0,0,255,0), #fff, rgba(0,0,255,0));transform:translateX(50%) rotateZ(45deg);box-shadow:0 0 10px #fff;border-radius:100%;animation:shining 25s ease-in-out infinite}.meteors .shooting_star::after{transform:translateX(50%) rotateZ(-45deg)}.meteors .shooting_star:nth-child(1){top:calc(20% - 210px);left:calc(1px);animation-delay:5669ms;opacity:.4;animation:tail 65s ease-in-out infinite,shooting 65s ease-in-out infinite}.meteors .shooting_star:nth-child(1)::before,.meteors .shooting_star:nth-child(1)::after,.meteors .shooting_star:nth-child(1)::after{animation-delay:5669ms}.meteors .shooting_star:nth-child(2){top:calc(20% - -19px);left:calc(1px);animation-delay:1738ms;opacity:.42;animation:tail 40s ease-in-out infinite,shooting 40s ease-in-out infinite}.meteors .shooting_star:nth-child(2)::before,.meteors .shooting_star:nth-child(2)::after,.meteors .shooting_star:nth-child(2)::after{animation-delay:1738ms}.meteors .shooting_star:nth-child(3){top:calc(20% - -4px);left:calc(1px);animation-delay:1186ms;opacity:.22;animation:tail 57s ease-in-out infinite,shooting 57s ease-in-out infinite}.meteors .shooting_star:nth-child(3)::before,.meteors .shooting_star:nth-child(3)::after,.meteors .shooting_star:nth-child(3)::after{animation-delay:1186ms}.meteors .shooting_star:nth-child(4){top:calc(20% - 673px);left:calc(1px);animation-delay:2433ms;opacity:.49;animation:tail 97s ease-in-out infinite,shooting 97s ease-in-out infinite}.meteors .shooting_star:nth-child(4)::before,.meteors .shooting_star:nth-child(4)::after,.meteors .shooting_star:nth-child(4)::after{animation-delay:2433ms}.meteors .shooting_star:nth-child(5){top:calc(20% - 1111px);left:calc(1px);animation-delay:8875ms;opacity:.59;animation:tail 88s ease-in-out infinite,shooting 88s ease-in-out infinite}.meteors .shooting_star:nth-child(5)::before,.meteors .shooting_star:nth-child(5)::after,.meteors .shooting_star:nth-child(5)::after{animation-delay:8875ms}.meteors .shooting_star:nth-child(6){top:calc(20% - 1034px);left:calc(1px);animation-delay:8091ms;opacity:.54;animation:tail 35s ease-in-out infinite,shooting 35s ease-in-out infinite}.meteors .shooting_star:nth-child(6)::before,.meteors .shooting_star:nth-child(6)::after,.meteors .shooting_star:nth-child(6)::after{animation-delay:8091ms}.meteors .shooting_star:nth-child(7){top:calc(20% - 589px);left:calc(1px);animation-delay:3177ms;opacity:.11;animation:tail 73s ease-in-out infinite,shooting 73s ease-in-out infinite}.meteors .shooting_star:nth-child(7)::before,.meteors .shooting_star:nth-child(7)::after,.meteors .shooting_star:nth-child(7)::after{animation-delay:3177ms}.meteors .shooting_star:nth-child(8){top:calc(20% - 125px);left:calc(1px);animation-delay:1376ms;opacity:.21;animation:tail 30s ease-in-out infinite,shooting 30s ease-in-out infinite}.meteors .shooting_star:nth-child(8)::before,.meteors .shooting_star:nth-child(8)::after,.meteors .shooting_star:nth-child(8)::after{animation-delay:1376ms}.meteors .shooting_star:nth-child(9){top:calc(20% - 1003px);left:calc(1px);animation-delay:6853ms;opacity:.35;animation:tail 57s ease-in-out infinite,shooting 57s ease-in-out infinite}.meteors .shooting_star:nth-child(9)::before,.meteors .shooting_star:nth-child(9)::after,.meteors .shooting_star:nth-child(9)::after{animation-delay:6853ms}.meteors .shooting_star:nth-child(10){top:calc(20% - -163px);left:calc(1px);animation-delay:7792ms;opacity:.11;animation:tail 41s ease-in-out infinite,shooting 41s ease-in-out infinite}.meteors .shooting_star:nth-child(10)::before,.meteors .shooting_star:nth-child(10)::after,.meteors .shooting_star:nth-child(10)::after{animation-delay:7792ms}.meteors .shooting_star:nth-child(11){top:calc(20% - -740px);left:calc(1px);animation-delay:8380ms;opacity:.57;animation:tail 71s ease-in-out infinite,shooting 71s ease-in-out infinite}.meteors .shooting_star:nth-child(11)::before,.meteors .shooting_star:nth-child(11)::after,.meteors .shooting_star:nth-child(11)::after{animation-delay:8380ms}.meteors .shooting_star:nth-child(12){top:calc(20% - -513px);left:calc(1px);animation-delay:4980ms;opacity:.25;animation:tail 46s ease-in-out infinite,shooting 46s ease-in-out infinite}.meteors .shooting_star:nth-child(12)::before,.meteors .shooting_star:nth-child(12)::after,.meteors .shooting_star:nth-child(12)::after{animation-delay:4980ms}.meteors .shooting_star:nth-child(13){top:calc(20% - 505px);left:calc(1px);animation-delay:5193ms;opacity:.27;animation:tail 61s ease-in-out infinite,shooting 61s ease-in-out infinite}.meteors .shooting_star:nth-child(13)::before,.meteors .shooting_star:nth-child(13)::after,.meteors .shooting_star:nth-child(13)::after{animation-delay:5193ms}.meteors .shooting_star:nth-child(14){top:calc(20% - -375px);left:calc(1px);animation-delay:4010ms;opacity:.34;animation:tail 105s ease-in-out infinite,shooting 105s ease-in-out infinite}.meteors .shooting_star:nth-child(14)::before,.meteors .shooting_star:nth-child(14)::after,.meteors .shooting_star:nth-child(14)::after{animation-delay:4010ms}.meteors .shooting_star:nth-child(15){top:calc(20% - 566px);left:calc(1px);animation-delay:1177ms;opacity:.55;animation:tail 54s ease-in-out infinite,shooting 54s ease-in-out infinite}.meteors .shooting_star:nth-child(15)::before,.meteors .shooting_star:nth-child(15)::after,.meteors .shooting_star:nth-child(15)::after{animation-delay:1177ms}.meteors .shooting_star:nth-child(16){top:calc(20% - 561px);left:calc(1px);animation-delay:8126ms;opacity:.59;animation:tail 87s ease-in-out infinite,shooting 87s ease-in-out infinite}.meteors .shooting_star:nth-child(16)::before,.meteors .shooting_star:nth-child(16)::after,.meteors .shooting_star:nth-child(16)::after{animation-delay:8126ms}.meteors .shooting_star:nth-child(17){top:calc(20% - 978px);left:calc(1px);animation-delay:7430ms;opacity:.33;animation:tail 100s ease-in-out infinite,shooting 100s ease-in-out infinite}.meteors .shooting_star:nth-child(17)::before,.meteors .shooting_star:nth-child(17)::after,.meteors .shooting_star:nth-child(17)::after{animation-delay:7430ms}.meteors .shooting_star:nth-child(18){top:calc(20% - 916px);left:calc(1px);animation-delay:6382ms;opacity:.29;animation:tail 31s ease-in-out infinite,shooting 31s ease-in-out infinite}.meteors .shooting_star:nth-child(18)::before,.meteors .shooting_star:nth-child(18)::after,.meteors .shooting_star:nth-child(18)::after{animation-delay:6382ms}.meteors .shooting_star:nth-child(19){top:calc(20% - 999px);left:calc(1px);animation-delay:6469ms;opacity:.16;animation:tail 54s ease-in-out infinite,shooting 54s ease-in-out infinite}.meteors .shooting_star:nth-child(19)::before,.meteors .shooting_star:nth-child(19)::after,.meteors .shooting_star:nth-child(19)::after{animation-delay:6469ms}.meteors .shooting_star:nth-child(20){top:calc(20% - 231px);left:calc(1px);animation-delay:7842ms;opacity:.45;animation:tail 44s ease-in-out infinite,shooting 44s ease-in-out infinite}.meteors .shooting_star:nth-child(20)::before,.meteors .shooting_star:nth-child(20)::after,.meteors .shooting_star:nth-child(20)::after{animation-delay:7842ms}@keyframes tail{0%{width:0}30%{width:200px}70%{width:500px}100%{width:0}}@keyframes shining{0%{width:0}50%{width:5px}100%{width:0}}@keyframes shooting{0%{transform:translateX(-200px)}100%{transform:translateX(8000px)}}\n",""])},kiQV:function(t){t.exports=JSON.parse('{"name":"scatter-embed","version":"12.0.0","private":true,"buttonText":"Scatter Desktop Embed","author":{"name":"GetScatter","email":"support@get-scatter.com","url":"https://get-scatter.com/"},"scripts":{"build":"node scripts/release","build:force":"webpack -p --mode=production --progress --config build/webpack.config.prod.js","watch":"webpack -p --mode=production --progress --config build/webpack.config.dev.js --watch","server":"http-server ./dist -p 8081 -d -i -g -P --cors=\'*\' -c-1","prod":"concurrently \\"npm run watch\\" \\"npm run server\\"","dev":"webpack-dev-server --port 8081 --inline --progress --mode=development --config build/webpack.config.dev.js","start":"npm run dev","testfile":"mocha --require test/babel --exit --timeout 1000000","test":"npm run testfile \\"test/**/*.spec.js\\" --timeout 1000000","walletpack":"yarn add @walletpack/core @walletpack/eosio @walletpack/bitcoin @walletpack/tron @walletpack/ethereum","langs":"node src/localization/check.js"},"dependencies":{"@babel/runtime":"^7.5.4","@walletpack/bitcoin":"^1.0.35","@walletpack/core":"^1.0.32","@walletpack/eosio":"^0.0.41","@walletpack/ethereum":"^0.0.38","@walletpack/tron":"^0.0.41","aes-oop":"^1.0.4","babel-polyfill":"^6.26.0","chartist":"^0.11.0","json-formatter-js":"^2.2.1","murmurhash":"^0.0.2","ridl":"^2.0.47","vconsole":"^3.3.4","vue-i18n":"^8.15.0","vue-markdown":"^2.2.4"},"devDependencies":{"@babel/core":"^7.5.4","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-runtime":"^7.5.0","@babel/preset-env":"^7.5.4","@fortawesome/fontawesome-pro":"^5.11.2","autoprefixer":"^9.5.1","babel-loader":"^8.0.6","brotli-webpack-plugin":"^1.1.0","chai":"^4.2.0","chalk":"^2.0.1","child_process":"^1.0.2","compression-webpack-plugin":"^1.1.12","concurrently":"^5.0.0","copy-webpack-plugin":"^4.0.1","copyfiles":"^2.1.0","cross-env":"^5.2.0","cross-spawn":"^5.0.1","css-loader":"^3.0.0","dotenv-webpack":"^1.7.0","eosjs-ecc":"^4.0.4","extract-text-webpack-plugin":"^3.0.0","file-loader":"^1.1.4","friendly-errors-webpack-plugin":"^1.6.1","html-webpack-plugin":"^3.2.0","inject-loader":"^3.0.0","jsdom":"^13.0.0","jsdom-global":"^3.0.2","mini-css-extract-plugin":"^0.8.0","mocha":"^6.1.4","mocha-jsdom":"^2.0.0","node-sass":"^4.12.0","ora":"^1.2.0","postcss-import":"^11.0.0","postcss-loader":"^2.1.6","postcss-url":"^7.2.1","rimraf":"^2.6.0","sass-loader":"^7.1.0","secp256k1":"^3.6.2","semver":"^5.5.1","sha3":"^2.0.2","shelljs":"^0.7.6","sinon":"^4.0.0","sinon-chai":"^2.8.0","spectron":"^5.0.0","terser-webpack-plugin":"^2.1.2","typeface-grand-hotel":"0.0.54","typeface-roboto":"0.0.54","uglifyjs-webpack-plugin":"^1.3.0","url-loader":"^1.1.2","v-tooltip":"^2.0.0-rc.33","vue":"^2.6.10","vue-loader":"^15.7.0","vue-qrcode-reader":"^2.1.1","vue-router":"^3.0.1","vue-style-loader":"^4.1.2","vue-template-compiler":"^2.6.10","vue-tour":"^1.0.1","vuex":"^3.0.1","web3":"^1.0.0-beta.55","webpack":"^4.35.3","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.5","webpack-dev-server":"^3.7.2","webpack-merge":"^4.1.4","webpack-node-externals":"^1.7.2","webpack-shell-plugin":"^0.5.0"},"resolutions":{"**/lodash":"^4.13.1","**/mixin-deep":"^2.0.1","**/set-value":"^3.0.1"},"browserslist":["> 1%","last 2 versions","not ie <= 8"],"bugs":{"url":"https://github.com/GetScatter/ScatterDesktop/issues"},"homepage":"https://get-scatter.com","keywords":["scatter","blockchain","signatures","eos","ethereum"],"license":"MIT","main":"electron.js","repository":{"type":"git","url":"git+https://github.com/GetScatter/ScatterDesktop.git"}}')},kp35:function(t,e,a){"use strict";var i=a("S1M4");a.n(i).a},"kx/y":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".loading-tokens[data-v-51dad514]{display:flex;justify-content:center;align-items:center;text-align:center}\n",""])},"l+Hn":function(t,e,a){"use strict";var i=a("NNn7");a.n(i).a},lAtx:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".keys-and-accounts-list[data-v-7b839707]{overflow-y:auto;height:calc(100vh - 160px)}.mobile .keys-and-accounts-list[data-v-7b839707]{height:100vh}\n",""])},lUoz:function(t,e,a){"use strict";var i=a("+c7U");a.n(i).a},mNQy:function(t,e,a){"use strict";var i=a("5Bwr");a.n(i).a},mTqA:function(t,e,a){"use strict";var i=a("4sCk");a.n(i).a},n8wf:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".button[data-v-1cde2c0f]{height:80px;width:320px;display:flex;flex-direction:column;padding:0 20px;align-items:center;justify-content:center;border-radius:4px;cursor:pointer}.button .title[data-v-1cde2c0f]{font-size:12px;font-weight:bold}.button .description[data-v-1cde2c0f]{font-size:10px}.button.primary[data-v-1cde2c0f]{color:#0799ff;background:#fff}.button[data-v-1cde2c0f]:not(.primary){color:#fff;background:transparent;border:1px solid #dfe0e1}.button[data-v-1cde2c0f]:not(:first-child){margin-top:10px}.button.on-white.primary[data-v-1cde2c0f]{color:#fff;background:#0799ff}.button.on-white[data-v-1cde2c0f]:not(.primary){color:#0799ff;background:transparent;border:1px solid #dfe0e1}\n",""])},nRmO:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".snackbar[data-v-5470ced6]{cursor:pointer;pointer-events:auto;display:inline-block;margin-top:10px;color:white;padding:10px 0;border-radius:4px;text-align:left;background:#0799ff;border:1px solid #0888f2}.snackbar .message[data-v-5470ced6]{vertical-align:middle;display:inline-block;color:white;font-size:13px;font-weight:bold;padding:0 20px}\n",""])},nhfG:function(t,e,a){var i=a("ZEQH");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("29efd71a",i,!0,{})},nsxS:function(t,e,a){var i=a("qGh/");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("ed79c656",i,!0,{})},o3fu:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".location[data-v-21ac8b26]{padding:30px}@media (max-width: 920px){.location[data-v-21ac8b26]{padding:20px}}\n",""])},oAjA:function(t,e,a){"use strict";var i=a("Dqqd");a.n(i).a},oCjC:function(t,e,a){var i=a("h+dT");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("da33b3f0",i,!0,{})},okcj:function(t,e,a){var i=a("4AMT");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("52fc8867",i,!0,{})},"p+uB":function(t,e,a){var i=a("Jv5P");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("75eb0d25",i,!0,{})},peeo:function(t,e,a){var i=a("TK0L");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("50ca7186",i,!0,{})},pxeo:function(t,e,a){var i=a("9Pt/");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("3b89b324",i,!0,{})},"q+A3":function(t,e,a){"use strict";a.d(e,"q",(function(){return i})),a.d(e,"e",(function(){return n})),a.d(e,"f",(function(){return s})),a.d(e,"z",(function(){return o})),a.d(e,"k",(function(){return r})),a.d(e,"y",(function(){return c})),a.d(e,"a",(function(){return l})),a.d(e,"c",(function(){return d})),a.d(e,"p",(function(){return p})),a.d(e,"j",(function(){return u})),a.d(e,"v",(function(){return h})),a.d(e,"r",(function(){return f})),a.d(e,"i",(function(){return m})),a.d(e,"b",(function(){return b})),a.d(e,"s",(function(){return g})),a.d(e,"g",(function(){return v})),a.d(e,"t",(function(){return x})),a.d(e,"m",(function(){return y})),a.d(e,"h",(function(){return k})),a.d(e,"x",(function(){return w})),a.d(e,"l",(function(){return _})),a.d(e,"d",(function(){return C})),a.d(e,"u",(function(){return T})),a.d(e,"n",(function(){return S})),a.d(e,"o",(function(){return E})),a.d(e,"w",(function(){return A}));const i="setPopout",n="pushPopup",s="releasePopup",o="setWorkingScreen",r="setFeaturedApps",c="setTokenMetas",l="createScatter",d="loadLanguage",p="setLanguage",u="setAppRep",h="setSidebar",f="setPorts",m="SET_ACTION_REP",b="HIDE_BACK_BTN",g="SET_PROCESS",v="RELEASE_PROCESS",x="SET_SEARCH_TERMS",y="SET_HARDWARE",k="REMOVE_HARDWARE",w="SET_TOKENS",_="SET_FULL_BALANCES",C="NEW_KEY",T="SET_SEED",S="setIsMobile",E="setIsMobileDevice",A="setTestingMode"},q2ph:function(t,e,a){"use strict";var i=a("5wC5");a.n(i).a},qBPt:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".pop-over[data-v-0f72e0d5]{overflow:visible}.prompt[data-v-0f72e0d5]{max-width:600px;padding:30px;display:flex;flex-direction:column;justify-content:center;align-items:center}.prompt .title[data-v-0f72e0d5]{font-size:14px;font-weight:bold}.prompt .description[data-v-0f72e0d5]{margin-top:4px;font-size:10px}.prompt .input[data-v-0f72e0d5]{margin:30px 0 0 0}.prompt .actions[data-v-0f72e0d5]{margin-top:20px;display:flex;justify-content:space-between;width:100%}\n",""])},"qGh/":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"button[data-v-29c1ada2]{display:inline-block;padding:10px 14px;background-color:#d3edff;border:1px solid #d3edff;border-radius:4px;text-transform:uppercase;color:#0799ff;text-decoration:none;position:relative;overflow:hidden;font-family:'Poppins', sans-serif;font-weight:bold;font-size:13px;transition:background-color 0.12s ease-in-out;cursor:pointer;outline:0}@media (max-width: 600px){button[data-v-29c1ada2]{padding:8px 10px;font-size:12px}}button.button-text[data-v-29c1ada2]{background:transparent !important;box-shadow:none !important;padding-right:1rem;position:relative}button.button-small[data-v-29c1ada2]{padding:.34rem .6rem !important;font-size:1rem}button.white[data-v-29c1ada2]{color:#0799ff;background-color:#f2f2f2;border-color:#fff;box-shadow:none}button.white[data-v-29c1ada2]:hover{color:#008bed;border-color:#ebebeb;background-color:#ebebeb}button[data-v-29c1ada2]:hover{color:white;background-color:#008bed}button.blue[data-v-29c1ada2]{background:#0799ff;color:#fff;border:1px solid #0888f2}button.red[data-v-29c1ada2]{background:#ff0707;color:#fff;border:0}button.big[data-v-29c1ada2]{padding:6px 18px;font-size:14px}button.small[data-v-29c1ada2]{padding:4px 6px;font-size:10px}button.icon[data-v-29c1ada2]{padding:0 8px}button .loading[data-v-29c1ada2]{margin-right:10px;display:inline-block}button[data-v-29c1ada2]:disabled{opacity:0.6;cursor:not-allowed}\n",""])},qOW6:function(t,e,a){"use strict";var i=a("dk5y");a.n(i).a},qjCw:function(t,e,a){"use strict";var i=a("CcTw");a.n(i).a},"r/Ez":function(t,e,a){var i=a("r9d7");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("4b5a30e2",i,!0,{})},r9d7:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"",""])},rHTK:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".key-details[data-v-e4534040]{width:500px;margin-top:40px}\n",""])},rLhf:function(t,e,a){var i=a("ra9/");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("6c46bb1c",i,!0,{})},rQWM:function(t,e,a){var i=a("Azzw");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("58d3c7c5",i,!0,{})},rRTS:function(t,e,a){"use strict";var i=a("UVSg");a.n(i).a},"ra9/":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".no-graph[data-v-034f2156]{width:100%;height:180px;background:white;color:rgba(0,0,0,0.32);display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:bold}.token-graph[data-v-034f2156]{height:180px;width:100%;position:relative;background:white}.token-graph .tip[data-v-034f2156]{position:absolute;top:5px;right:5px;display:flex;justify-content:center;align-items:center}.token-graph .tip div[data-v-034f2156]{font-size:13px;font-family:'Poppins', sans-serif;font-weight:bold;margin:10px 20px}.token-graph .chart[data-v-034f2156]{height:180px;width:100%}\n",""])},sAA5:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".percentage-bar[data-v-10792ff6]{width:100%;margin:20px 0 0;position:relative}.percentage-bar input[data-v-10792ff6]{-webkit-appearance:none;appearance:none;cursor:pointer;width:100%;background:transparent;height:14px;outline:none;border-radius:50px;position:absolute;top:0;bottom:0;left:0;right:0}.percentage-bar input[data-v-10792ff6]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:24px;height:24px;background:#0799ff;cursor:pointer;margin-top:-2px;border:3px solid #fff;box-shadow:0 2px 10px rgba(0,0,0,0.2),0 1px 4px rgba(0,0,0,0.2);border-radius:50px;padding:3px;transition:all 0.2s ease;transition-property:background}.percentage-bar input[data-v-10792ff6]::-moz-range-thumb{-webkit-appearance:none;appearance:none;width:24px;height:24px;background:#0799ff;cursor:pointer;margin-top:-2px;border:3px solid #fff;box-shadow:0 2px 10px rgba(0,0,0,0.2),0 1px 4px rgba(0,0,0,0.2);border-radius:50px;padding:3px;transition:all 0.2s ease;transition-property:background}.percentage-bar input.red[data-v-10792ff6]::-webkit-slider-thumb{background:#ff0707}.percentage-bar input.red[data-v-10792ff6]::-moz-range-thumb{background:#ff0707}\n",""])},sDjF:function(t,e,a){"use strict";a.d(e,"a",(function(){return w}));var i=a("qjwK"),n=a("5lq1"),s=a.n(n),o=a("TmN8"),r=a.n(o),c=a("eOAV"),l=a.n(c),d=a("btL5"),p=a.n(d),u=a("x0xh"),h=a.n(u),f=a("IMve"),m=a.n(f),b=a("F+MN"),g=a("3CN7"),v=a("B6RA"),x=a("q+A3"),y=a("MPB0");let k=!1;class w{static async init(){return!!k||(k=!0,setTimeout(async()=>{p.a.initialize(),m.a.plugin(b.Blockchains.TRX).init();try{v.a.dispatch(x.w,await window.wallet.storage.getGeneralSetting("testingMode").catch(()=>!1))}catch(t){}v.a.dispatch(i.LOAD_HISTORY),v.a.dispatch(x.y,await Object(y.GET)("tokenmeta")),h.a.getApps(),r.a.watchPrices(),r.a.loadPriceTimelineData(),l.a.removeDanglingPermissions(),s.a.fixOrphanedAccounts(),g.a.checkProxies()}),!0)}}},sKqk:function(t,e,a){"use strict";var i=a("nhfG");a.n(i).a},sVZK:function(t,e,a){var i=a("7W4K");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("7987b438",i,!0,{})},sgi4:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".select-token{width:100%}@media (max-width: 920px){.select-token{width:100%}}.select-token .scroller{width:100%;height:calc(100vh - 40px - 100px);overflow-y:hidden;display:flex;flex-direction:row}@media (max-width: 920px){.select-token .scroller{min-width:100%;flex-direction:column;overflow-y:scroll}}.select-token .scroller .scroller-category{width:50%}@media (max-width: 920px){.select-token .scroller .scroller-category{width:100%}}.select-token .scroller .token-list{height:100%;width:100%;padding:0rem;border-radius:0;border-right:1px solid #dfe0e1;background:white}.select-token .scroller .token-list .tokens{max-height:calc(100vh - 220px);overflow:auto}\n",""])},t2Ps:function(t,e,a){var i=a("xDmV");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("f0a3fd28",i,!0,{})},tDqv:function(t,e,a){var i=a("UwEJ");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("2cd519f0",i,!0,{})},tQXa:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".panel-container[data-v-7a95109a]{overflow:auto;height:calc(100vh - 240px)}.auto-vote[data-v-7a95109a]{max-width:600px;margin:0 auto;display:flex}.auto-vote .details[data-v-7a95109a]{padding-left:20px}.list[data-v-7a95109a]{max-width:700px;margin:0 auto;width:100%;text-align:left}\n",""])},tXwG:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".wallet[data-v-555edc8a]{position:relative;height:calc(100vh - 220px);padding-bottom:50px}.wallet .scroller .keys-and-accounts-list[data-v-555edc8a]{height:calc(100vh - 200px);overflow:hidden}.wallet.no-panels[data-v-555edc8a]{height:calc(100vh - 140px)}.wallet.no-panels .scroller .keys-and-accounts-list[data-v-555edc8a]{height:calc(100vh - 180px)}.wallet.no-accounts[data-v-555edc8a]{height:calc(100vh - 70px)}.wallet.no-accounts .scroller .keys-and-accounts-list[data-v-555edc8a]{height:calc(100vh - 120px)}.wallet .no-keypairs[data-v-555edc8a]{height:100%;overflow-y:auto;padding:30px;background:#f7fafb;padding-bottom:60px;display:flex;justify-content:center;align-items:center;flex-direction:column}.wallet .no-keypairs .container[data-v-555edc8a]{max-width:400px;margin:0 auto;text-align:center}.wallet .no-keypairs .title[data-v-555edc8a]{font-size:24px}.wallet .no-keypairs .description[data-v-555edc8a]{margin-top:10px;font-size:12px}.wallet .no-keypairs .ctas[data-v-555edc8a]{margin-top:20px}.wallet .wallet-actions[data-v-555edc8a]{position:absolute;bottom:0;left:0;right:0;border-top:1px solid #dfe0e1;background:white;display:flex;align-items:center;padding:10px 20px}@media (max-width: 600px){.wallet .wallet-actions[data-v-555edc8a]{flex-direction:column;height:auto;padding:10px}}.wallet .wallet-actions .left[data-v-555edc8a]{flex:1}@media (max-width: 600px){.wallet .wallet-actions .left[data-v-555edc8a]{width:100%;text-align:left}}.wallet .wallet-actions .right[data-v-555edc8a]{display:flex;flex-direction:row;text-align:right;justify-content:end}.wallet .wallet-actions .right button+button[data-v-555edc8a]{margin-left:6px}@media (max-width: 600px){.wallet .wallet-actions .right[data-v-555edc8a]{width:100%;margin-top:10px}.wallet .wallet-actions .right button[data-v-555edc8a]{width:50%}}.wallet .wallet-actions .info .keys[data-v-555edc8a]{font-size:16px;font-family:'Poppins', sans-serif;font-weight:bold}.wallet .wallet-actions .info .accounts[data-v-555edc8a]{font-size:13px}\n",""])},toTd:function(t,e,a){"use strict";var i=a("+auW");a.n(i).a},uP9j:function(t,e,a){"use strict";var i=a("Gx2v");a.n(i).a},ufBS:function(t,e,a){"use strict";var i=a("REL+");a.n(i).a},upnx:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".pop-over{background:#fff;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,0.2),0 8px 25px rgba(0,0,0,0.2);position:relative;overflow:hidden;width:100%;max-height:calc(100vh - 40px)}@media (max-width: 600px){.pop-over{position:absolute;top:0;left:0;right:0;bottom:0;border-radius:0;max-height:none}}.pop-over .scroller{height:calc(100vh - 40px - 100px - 70px);overflow-y:scroll}.total-height{height:100%}.pop-ins{position:absolute;top:0;bottom:0;left:0;right:0}.pop-ins .pop-in{display:flex;justify-content:center;align-items:center;height:calc(100vh - 0px);text-align:center;width:100%;border-left:1px solid #dfe0e1;border-right:1px solid #dfe0e1}@media (max-width: 600px){.pop-ins .pop-in{overflow-y:auto;overflow-x:hidden;height:calc(100vh - 70px);position:fixed;top:0;left:0;right:0;bottom:70px;padding:40px 20px}}.pop-ins .pop-in .icon{width:120px;height:120px;margin:0 auto;margin-bottom:30px;margin-top:-50px}@media (max-width: 600px){.pop-ins .pop-in .icon{margin-top:0px}}.pop-ins .pop-in .icon.font{width:90px;height:90px;font-size:48px;box-shadow:0 1px 2px rgba(7,155,232,0.23),0 8px 20px rgba(7,155,232,0.23);border-radius:50%;display:flex;justify-content:center;align-items:center;color:#0799ff;margin-bottom:20px}.pop-ins .pop-in .title{font-size:24px;font-weight:bold;margin-bottom:10px}.pop-ins .pop-in .subtitle{font-size:10px;color:#7a7a7a}.pop-ins .pop-in .disclaimer{border:1px solid #ffbaba;background-color:#ffeded;padding:20px;border-radius:4px;max-width:300px;margin:0 auto;margin-top:40px}.pop-ins .pop-in .disclaimer .title{font-size:16px;color:#ff0707}.pop-ins .pop-in .disclaimer .description{font-size:13px}\n",""])},v1DO:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".apps[data-v-5fdc7066]{position:relative;height:100%}.apps .search-icon[data-v-5fdc7066]{margin:20px 20px 0;color:#0799ff;font-size:22px;cursor:pointer;border-radius:4px;position:relative}.apps .search-icon .icon-search[data-v-5fdc7066]{right:10px;top:16px;position:absolute}.apps .search-icon input[data-v-5fdc7066]{font-size:14px;width:100%;-webkit-appearance:none;transition:opacity 0.5s ease}.apps .search-icon:hover input[data-v-5fdc7066],.apps .search-icon.visible input[data-v-5fdc7066],.apps .search-icon:active input[data-v-5fdc7066],.apps .search-icon:focus input[data-v-5fdc7066]{border-color:#0799ff}.apps .scroller[data-v-5fdc7066]{position:relative;height:calc(100vh - 288px);margin-top:10px;overflow-x:hidden;overflow-y:auto}.apps .scroller.with-search[data-v-5fdc7066]{height:calc(100vh - 290px)}.apps .scroller .padder[data-v-5fdc7066]{padding:20px;position:relative;z-index:2}.apps .scroller .featured[data-v-5fdc7066]{overflow:visible;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.apps .scroller .featured .featured-app[data-v-5fdc7066]{overflow:hidden;border-radius:4px 0 4px 4px;width:calc(33.3333% - 10px);padding-bottom:15%;position:relative;margin-bottom:20px;cursor:pointer}@media (max-width: 920px){.apps .scroller .featured .featured-app[data-v-5fdc7066]{width:calc(50% - 10px);padding-bottom:25%}}@media (max-width: 600px){.apps .scroller .featured .featured-app[data-v-5fdc7066]{width:100%;padding-bottom:50%}}.apps .scroller .featured .featured-app img[data-v-5fdc7066]{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.apps .scroller .featured .featured-app .tag[data-v-5fdc7066]{position:absolute;top:0;right:0;background:white;padding:4px;font-size:9px;text-transform:uppercase;font-weight:bold;color:#333}.apps .scroller .categories[data-v-5fdc7066]{margin-top:40px}@media (max-width: 600px){.apps .scroller .categories[data-v-5fdc7066]{margin-top:20px}}.apps .scroller .categories .category[data-v-5fdc7066]{margin:0 -20px 40px;padding:40px}@media (max-width: 600px){.apps .scroller .categories .category[data-v-5fdc7066]{margin:0 -20px 20px;padding:20px}}.apps .scroller .categories .category[data-v-5fdc7066]:nth-child(even){background:#f3f6f7}.apps .scroller .categories .category .info[data-v-5fdc7066]{display:flex;justify-content:space-between;font-size:12px;font-weight:bold;margin-bottom:15px}.apps .scroller .categories .category .info .name[data-v-5fdc7066]{font-size:16px;font-family:'Poppins', sans-serif;font-weight:bold}.apps .scroller .categories .category .info .view-all[data-v-5fdc7066]{color:#0799ff;cursor:pointer}.apps .scroller .categories .category .apps[data-v-5fdc7066]{white-space:nowrap;overflow-y:auto;padding-bottom:20px}.apps .scroller .categories .category .apps[data-v-5fdc7066]:after{content:\"\";flex:auto}.apps .scroller .categories .category .apps .app[data-v-5fdc7066]{display:inline-block;width:calc(20% - 10px);max-width:100px}@media (max-width: 920px){.apps .scroller .categories .category .apps .app[data-v-5fdc7066]{width:calc(50% - 5px);max-width:80px}}.apps .scroller .categories .category .apps .app .image[data-v-5fdc7066]{border-radius:4px;overflow:hidden;position:relative}.apps .scroller .categories .category .apps .app .image[data-v-5fdc7066]:after{content:\"\";display:block;padding-bottom:100%}.apps .scroller .categories .category .apps .app .image img[data-v-5fdc7066]{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.apps .scroller .categories .category .apps .app .name[data-v-5fdc7066]{margin-top:10px;text-align:center;font-size:10px;font-weight:bold}.apps .scroller .categories .category:not(.singular) .apps .app[data-v-5fdc7066]{margin-right:20px}@media (max-width: 920px){.apps .scroller .categories .category:not(.singular) .apps .app[data-v-5fdc7066]{margin-right:10px}}.apps .scroller .categories .category:not(.singular) .apps .app[data-v-5fdc7066]:last-child{margin-right:0}.apps .scroller .categories .category.singular .apps[data-v-5fdc7066]{white-space:normal;display:flex;flex-wrap:wrap;justify-content:space-between}.apps .scroller .categories .category.singular .apps .app[data-v-5fdc7066]{margin-bottom:50px}.apps .scroller .categories .category.singular .apps .app[data-v-5fdc7066]:last-child{margin-left:20px}.apps .scroller .linked-apps[data-v-5fdc7066]{padding:40px}@media (max-width: 600px){.apps .scroller .linked-apps[data-v-5fdc7066]{padding:20px}}.apps .scroller .linked-apps .app[data-v-5fdc7066]{display:flex;align-items:center;margin-bottom:20px}@media (max-width: 600px){.apps .scroller .linked-apps .app[data-v-5fdc7066]{padding:20px;flex-direction:column}}.apps .scroller .linked-apps .app .image[data-v-5fdc7066]{flex:0 0 auto;height:90px;width:90px;border-radius:4px;overflow:hidden;cursor:pointer}.apps .scroller .linked-apps .app .image.no-image[data-v-5fdc7066]{background:rgba(0,0,0,0.02)}.apps .scroller .linked-apps .app .image img[data-v-5fdc7066],.apps .scroller .linked-apps .app .image .dummy-image[data-v-5fdc7066]{height:90px;width:90px}.apps .scroller .linked-apps .app .image .dummy-image[data-v-5fdc7066]{background:#f3f6f7}.apps .scroller .linked-apps .app .info[data-v-5fdc7066]{flex:1;padding:0 20px;cursor:pointer;font-size:13px;font-family:'Poppins', sans-serif}.apps .scroller .linked-apps .app .info .name[data-v-5fdc7066]{font-size:12px;font-weight:bold;color:black;font-size:13px}.apps .scroller .linked-apps .app .info .category[data-v-5fdc7066]{font-size:12px;opacity:0.6;color:black}.apps .scroller .linked-apps .app .actions[data-v-5fdc7066]{flex:0 0 auto}@media (max-width: 600px){.apps .scroller .linked-apps .app .actions[data-v-5fdc7066]{margin:10px -10px 0 0}}.apps .scroller .linked-apps .app .actions button+button[data-v-5fdc7066]{margin-left:10px}\n",""])},vSR9:function(t,e,a){"use strict";var i=a("N9uu");a.n(i).a},vXjn:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"",""])},viIO:function(t,e,a){"use strict";var i=a("w4xh");a.n(i).a},vqpY:function(t,e,a){var i=a("Z145");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("7d68037c",i,!0,{})},vztf:function(t,e,a){var i=a("7dXh");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("9f0a2610",i,!0,{})},w4xh:function(t,e,a){var i=a("nRmO");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("611ede0a",i,!0,{})},w88H:function(t,e,a){"use strict";(function(t){a.d(e,"a",(function(){return p}));var i=a("SDtL"),n=a.n(i),s=a("btL5"),o=a("Z4q2"),r=a.n(o),c=a("q+A3"),l=a("B6RA"),d=a("5lvq");class p{static setup(){p.checkMobileWallet(),window.wallet.socketResponse=t=>{switch("string"==typeof t&&(t=JSON.parse(t)),t.type){case"ext_api":return r.a.handler(t.request);case"api":return s.handleApiResponse(t.request,t.id);case"pair":return s.handlePairedResponse(t.request,t.id);case"ports":return l.a.dispatch(c.r,t.ports);default:return}},window.wallet.popout=t=>{l.a.dispatch(c.q,t)}}static checkMobileWallet(){if(void 0!==window.ReactNativeWebView||void 0!==window.PopOutWebView){const e=t=>{t&&"string"==typeof t&&t.indexOf("{")>-1&&(t=JSON.parse(t))};void 0===window.ReactNativeWebView&&(window.ReactNativeWebView={postMessage:()=>{}});let i={};window.ReactNativeWebView.response=({id:t,result:a})=>{e(a),i[t](a),delete i[t]};const s=(t,e,a)=>"then"===a?(t?e[t]:e).then.bind(e):"socketResponse"===a?(t?e[t]:e)[a]:(...e)=>new Promise(async s=>{const o=n.a.text(24);i[o]=s,window.ReactNativeWebView.postMessage(JSON.stringify({id:o,prop:t,key:a,params:e}))}),o=t=>new Proxy({},{get:(e,a)=>s(t,e,a)});window.wallet=new Proxy({storage:o("storage"),utility:o("utility"),sockets:o("sockets"),biometrics:o("biometrics")},{get:(t,e)=>["storage","utility","sockets","biometrics"].includes(e)?t[e]:s(null,t,e)}),window.ReactNativeWebView.mobileEncrypt=({id:t,data:a,key:i})=>(e(a),window.ReactNativeWebView.postMessage(JSON.stringify({type:"mobile_response",id:t,result:d.AES.encrypt(a,i)})),!0),window.ReactNativeWebView.mobileDecrypt=({id:t,data:a,key:i})=>(e(a),window.ReactNativeWebView.postMessage(JSON.stringify({type:"mobile_response",id:t,result:d.AES.decrypt(a,i)})),!0);const r=a("w+eT").default;window.ReactNativeWebView.seedPassword=async({id:t,password:e,salt:a})=>{const[i,n]=await r.generateMnemonic(e,a);return window.ReactNativeWebView.postMessage(JSON.stringify({type:"mobile_response",id:t,result:n})),!0};const c=a("Giuh");window.ReactNativeWebView.sha256=({id:a,data:i})=>(e(i),window.ReactNativeWebView.postMessage(JSON.stringify({type:"mobile_response",id:a,result:c.sha256(t.from(i))})),!0);const l=console.log,p=console.error;console.log=(...t)=>(window.ReactNativeWebView.postMessage(JSON.stringify({type:"console",params:t})),l(...t)),console.error=(...t)=>(window.ReactNativeWebView.postMessage(JSON.stringify({type:"console",params:t})),p(...t))}}static setFakeWallet(){return new Promise(t=>{a("z/LQ").default.init({getVersion:()=>"1.0.0"}),a("Mb++").default.create().then(e=>{e.onboarded=!0;const i=a("78si").default.fromJson({blockchain:"eos",name:"EOS Mainnet",host:"nodes.get-scatter.com",port:443,protocol:"https",chainId:"aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906"}),n=a("78si").default.fromJson({blockchain:"eos",name:"Telos Mainnet",host:"api.eos.miami",port:443,protocol:"https",chainId:"4667b205c6838ef70ff7988f6e8257e8be0e1284a2f59699054a018f743b1d11",token:{blockchain:"eos",symbol:"TLOS",contract:"eosio.token",decimals:4}}),s=a("Hxfq").default.fromJson({name:"testkey",privateKey:'{test:"key"}',publicKeys:[{key:"EOS7w5aJCv5B7y3a6f4WCwPSvs6TpCAoRGnGpiLMsSWbmxaZdKigd",blockchain:"eos"}],blockchains:["eos"]}),o=a("bUKF").default.fromJson({name:"ramdeathtest",authority:"active",publicKey:s.publicKeys[0].key,keypairUnique:s.unique(),networkUnique:i.unique()}),r=a("bUKF").default.fromJson({name:"ramijames123",authority:"active",publicKey:s.publicKeys[0].key,keypairUnique:s.unique(),networkUnique:i.unique()}),c=a("bUKF").default.fromJson({name:"b1",authority:"active",publicKey:s.publicKeys[0].key,keypairUnique:s.unique(),networkUnique:n.unique()});e.settings.networks.push(i),e.settings.networks.push(n),e.keychain.keypairs.push(s),e.keychain.accounts.push(o),e.keychain.accounts.push(r),e.keychain.accounts.push(c),window.wallet={getVersion:()=>"testing_0.0.0",availableBlockchains:()=>({EOSIO:"eos",ETH:"eth",TRX:"trx",BTC:"btc"}),exists:()=>!0,unlocked:()=>!0,unlock:()=>e,lock:()=>!0,verifyPassword:()=>!0,changePassword:()=>!0,hardwareTypes:async()=>[],hardwareKeys:()=>[],getPrivateKey:()=>null,sign:()=>"tester",encrypt:()=>null,decrypt:()=>null,getSalt:()=>null,setSalt:()=>null,storage:{getGeneralSetting:(t,e)=>{},setGeneralSetting:t=>{},setSimpleMode:()=>!1,getLanguage:()=>"en-US",setLanguage:()=>!0,setWalletData:()=>e,getWalletData:()=>e,clearWalletData:()=>!0,getDefaultPath:()=>"nopath",saveFile:()=>!0,openFile:()=>!0,getFileLocation:()=>!0,getFolderLocation:()=>!0,mkdir:()=>!0,cacheABI:()=>!0,getCachedABI:()=>!0,getTranslation:()=>!0,setTranslation:()=>!0,getHistory:()=>[],updateHistory:()=>!0,deltaHistory:()=>!0,swapHistory:()=>!0},utility:{openTools:()=>!0,closeWindow:()=>!0,flashWindow:()=>!0,openLink:t=>window.open(t),reload:()=>window.reload(),copy:()=>!0,screenshot:()=>!0,openPopOut:()=>!0,popoutResponse:()=>!0,socketResponse:()=>{},pushNotification:()=>!0},sockets:{initialize:()=>!0}},t(!0)})})}}}).call(this,a("HDXh").Buffer)},weDG:function(t,e,a){var i=a("5v1a");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("fa767a2c",i,!0,{})},"wf+c":function(t,e,a){"use strict";var i=a("j31F");a.n(i).a},wg2a:function(t,e,a){"use strict";var i=a("KHd+"),n=Object(i.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:"88px",height:"88px",viewBox:"0 0 88 88",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e("g",{attrs:{id:"welcome_scatter",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"}},[e("g",{attrs:{id:"Group",stroke:"#00A8FF"}},[e("g",{attrs:{id:"Icon"}},[e("circle",{attrs:{id:"Base",cx:"44",cy:"44",r:"43.7079646"}})]),this._v(" "),e("path",{attrs:{d:"M40.8188559,71.5932203 C39.3040178,71.5932203 38.0455559,71.423153 37.0434322,71.0830131 C36.0413085,70.7428732 35.2489436,70.3616877 34.6663136,69.9394451 C34.0836835,69.5172025 33.6758486,69.1125594 33.4427966,68.7255037 C33.2097446,68.338448 33.0932203,68.0862791 33.0932203,67.9689895 C33.0932203,67.5467469 33.1864397,67.0951887 33.3728814,66.6143013 C33.559323,66.1334139 33.7923715,65.68772 34.0720339,65.2772064 C34.3516963,64.8666928 34.6546594,64.5206936 34.9809322,64.2391985 C35.307205,63.9577035 35.5985157,63.816958 35.8548729,63.816958 C36.1811457,63.816958 36.4491515,64.0280762 36.6588983,64.4503188 L37.0084746,64.8021858 C37.1949162,64.9898492 37.4570958,65.1833742 37.7950212,65.3827665 C38.1329466,65.5821588 38.5524339,65.763955 39.0534958,65.9281605 C39.5545576,66.0923659 40.1430051,66.1744674 40.8188559,66.1744674 C42.2870836,66.1744674 43.4872835,65.7229092 44.4194915,64.8197792 C45.3516996,63.9166492 45.8177966,62.6909911 45.8177966,61.1427683 C45.8177966,60.0637039 45.5672695,59.1019435 45.0662076,58.2574583 C44.5651458,57.4129731 43.9067837,56.6271445 43.0911017,55.8999489 C42.2754197,55.1727533 41.3432256,54.4631618 40.2944915,53.7711531 C39.2457575,53.0791444 38.1737343,52.3578241 37.0783898,51.6071706 C35.9830454,50.8565171 34.9110222,50.0472309 33.8622881,49.1792878 C32.8135541,48.3113447 31.88136,47.314398 31.065678,46.1884177 C30.2499959,45.0624374 29.5916339,43.7898643 29.090572,42.37066 C28.5895102,40.9514557 28.3389831,39.3270189 28.3389831,37.497301 C28.3389831,35.9256202 28.6069888,34.3422342 29.1430085,32.7470955 C29.6790281,31.1519568 30.4189571,29.6330792 31.3628178,28.190417 C32.3066784,26.7477547 33.4194851,25.3989445 34.7012712,24.1439456 C35.9830573,22.8889468 37.3696959,21.7981698 38.8612288,20.8715818 C40.3527617,19.9449939 41.9083605,19.2178092 43.528072,18.690006 C45.1477835,18.1622028 46.7732969,17.8983051 48.404661,17.8983051 C49.8029731,17.8983051 51.0614351,18.121152 52.1800847,18.5668525 C53.2987344,19.012553 54.2425809,19.640043 55.0116525,20.4493414 C55.7807242,21.2586397 56.3749979,22.2321288 56.7944915,23.3698381 C57.2139851,24.5075473 57.4237288,25.7801205 57.4237288,27.1875958 C57.4237288,28.5246974 57.1906803,29.8383213 56.7245763,31.128507 C56.2584722,32.4186927 55.6408937,33.6384864 54.871822,34.7879246 C54.1027504,35.9373627 53.2346447,36.9988178 52.2674788,37.9723216 C51.300313,38.9458253 50.3098568,39.7902979 49.2960805,40.5057645 C48.2823043,41.2212311 47.2976743,41.7783484 46.342161,42.1771331 C45.3866478,42.5759178 44.5476731,42.7753071 43.8252119,42.7753071 C43.1959714,42.7753071 42.6308288,42.6286973 42.1297669,42.3354733 C41.6287051,42.0422492 41.2092178,41.6786569 40.8712924,41.2446853 C40.533367,40.8107138 40.2711874,40.3532912 40.0847458,39.8724038 C39.8983042,39.3915164 39.8050847,38.9634157 39.8050847,38.5880889 C39.8050847,38.283136 39.8458682,38.0837466 39.9274364,37.9899149 C40.0090046,37.8960832 40.1255289,37.8550325 40.2770127,37.8667614 C40.4284965,37.8784904 40.6207615,37.9136768 40.8538136,37.9723216 C41.0868656,38.0309664 41.3548714,38.0602883 41.657839,38.0602883 C42.6366574,38.0602883 43.720333,37.7201536 44.9088983,37.0398738 C46.0974636,36.3595941 47.2160965,35.491664 48.2648305,34.4360575 C49.3135646,33.380451 50.1933227,32.2193013 50.9041314,30.9525735 C51.61494,29.6858457 51.970339,28.4543232 51.970339,27.2579692 C51.970339,26.0381573 51.6732021,25.0763969 51.0789195,24.3726592 C50.4846369,23.6689216 49.476702,23.317058 48.0550847,23.317058 C47.1694871,23.317058 46.208162,23.4871254 45.1710805,23.8272653 C44.1339991,24.1674051 43.0911069,24.6424209 42.0423729,25.2523269 C40.9936388,25.8622329 39.9798778,26.6011463 39.0010593,27.4690895 C38.0222409,28.3370326 37.1599614,29.2929286 36.4141949,30.3368061 C35.6684285,31.3806836 35.0683285,32.506647 34.6138771,33.71473 C34.1594257,34.922813 33.9322034,36.1836574 33.9322034,37.497301 C33.9322034,38.8813184 34.1827305,40.1187053 34.6837924,41.2094986 C35.1848542,42.300292 35.8490425,43.2913744 36.6763771,44.1827754 C37.5037118,45.0741764 38.441732,45.8951914 39.4904661,46.6458449 C40.5392002,47.3964984 41.6112233,48.1412763 42.7065678,48.8802008 C43.8019123,49.6191254 44.8739354,50.3814964 45.9226695,51.1673368 C46.9714035,51.9531772 47.9094238,52.8211073 48.7367585,53.7711531 C49.5640931,54.721199 50.2282814,55.7767896 50.7293432,56.9379568 C51.230405,58.0991239 51.4809322,59.430341 51.4809322,60.931648 C51.4809322,62.3860392 51.2071002,63.7641715 50.659428,65.0660861 C50.1117557,66.3680008 49.3601743,67.4998286 48.404661,68.4616034 C47.4491478,69.4233782 46.3188625,70.1857492 45.0137712,70.7487394 C43.7086799,71.3117295 42.3103888,71.5932203 40.8188559,71.5932203 Z",id:"Scatter"}})])])])}),[],!1,null,null,null);e.a=n.exports},"x+ty":function(t,e,a){var i=a("0kYc");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("2786da80",i,!0,{})},x24n:function(t,e,a){var i=a("BF8t");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("70b7dfea",i,!0,{})},xDmV:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".assets[data-v-1a7dccae]{display:flex;flex-direction:column;height:100%;overflow-y:scroll}@media (max-width: 600px){.assets[data-v-1a7dccae]{border:0;border-radius:0}}.assets .token-list[data-v-1a7dccae]{display:flex;flex-direction:column;width:100%}.assets .token-list .tokens[data-v-1a7dccae]{height:calc(100vh - 220px);overflow-y:auto}.assets .graph-and-accounts[data-v-1a7dccae]{display:flex;flex-direction:column;background:white;right:-100%;width:50vw;top:0;position:fixed;bottom:0;height:initial;z-index:102;opacity:0;transition:box-shadow 0.3s ease, right .44s ease-in-out, opacity .12 ease;box-shadow:none}@media (max-width: 920px){.assets .graph-and-accounts[data-v-1a7dccae]{width:calc(100vw)}}.assets .graph-and-accounts.open[data-v-1a7dccae]{right:0;box-shadow:10px 0 30px rgba(0,0,0,0.15),2px 0 10px rgba(7,155,232,0.23);opacity:1}.assets .graph-and-accounts .graph-and-accounts-header[data-v-1a7dccae]{display:flex;width:100%;height:120px;justify-content:space-between;align-items:center;padding:20px;background:#f3f6f7}@media (max-width: 600px){.assets .graph-and-accounts .graph-and-accounts-header[data-v-1a7dccae]{width:100vw}}.assets .graph-and-accounts .graph-and-accounts-header .graph-and-accounts-content[data-v-1a7dccae]{display:flex;flex-direction:column}.assets .graph-and-accounts .graph-and-accounts-header .graph-and-accounts-content .graph-and-accounts-name[data-v-1a7dccae]{font-size:24px;font-family:'Poppins', sans-serif;font-weight:bold;color:black}.assets .graph-and-accounts .graph-and-accounts-header .graph-and-accounts-content .graph-and-accounts-balance[data-v-1a7dccae]{font-size:13px;font-family:'Poppins', sans-serif;font-weight:bold;color:black}.assets .graph-and-accounts .graph-and-accounts-header .graph-and-accounts-close[data-v-1a7dccae]{padding:10px;cursor:pointer;color:#0799ff;font-size:24px;border-radius:4px}.assets .graph-and-accounts .no-accounts[data-v-1a7dccae]{height:calc(100% - 180px);display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:bold;color:rgba(255,255,255,0.24)}.assets .graph-and-accounts .accounts[data-v-1a7dccae]{padding:20px;overflow:auto;height:calc(100% - 180px);border-top:1px solid #dfe0e1}.assets .graph-and-accounts .accounts.with-search[data-v-1a7dccae]{height:calc(100% - 180px - 70px)}.assets .graph-and-accounts .accounts .account[data-v-1a7dccae]{display:flex;flex-direction:column;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid #dfe0e1}.assets .graph-and-accounts .accounts .account[data-v-1a7dccae]:last-child{border:0}.assets .graph-and-accounts .accounts .account .name[data-v-1a7dccae]{font-size:16px;font-family:'Poppins', sans-serif;font-weight:bold}.assets .graph-and-accounts .accounts .account .network[data-v-1a7dccae]{font-size:12px;font-family:'Poppins', sans-serif;color:rgba(0,0,0,0.6);margin-bottom:6px}.assets .graph-and-accounts .accounts .account .details[data-v-1a7dccae]{display:flex;width:100%;justify-content:space-between;align-items:flex-end;margin-top:5px}.assets .graph-and-accounts .accounts .account .details .balance[data-v-1a7dccae]{font-size:12px;font-weight:bold;margin-bottom:2px}.assets .graph-and-accounts .accounts .account .details .fiat[data-v-1a7dccae]{font-size:12px}.assets .graph-and-accounts .accounts .account .actions[data-v-1a7dccae]{flex:0 0 auto;padding-left:20px}\n",""])},xEJ3:function(t,e,a){"use strict";var i=a("Ccgo");a.n(i).a},xg20:function(t,e,a){"use strict";var i=a("p+uB");a.n(i).a},yETr:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".keys-and-accounts-list[data-v-26081a1c]{overflow-y:auto;height:calc(100vh - 160px)}\n",""])},yVyQ:function(t,e,a){var i=a("rHTK");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("42342300",i,!0,{})},yW6B:function(t,e,a){"use strict";var i=a("X8Dr");a.n(i).a},ydfQ:function(t,e,a){"use strict";var i=a("6S0W");a.n(i).a},ykfa:function(t,e,a){var i=a("vXjn");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("60188d86",i,!0,{})},zDUF:function(t,e,a){var i=a("K92k");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("7e97bd3c",i,!0,{})},zSdM:function(t,e,a){"use strict";var i=a("cHZP");a.n(i).a},zU6g:function(t,e,a){var i=a("qBPt");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("22f5185a",i,!0,{})},zWy3:function(t,e,a){var i=a("4ieZ");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a("SZ7m").default)("3286e00b",i,!0,{})},zmmT:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".transfer[data-v-9795b678]{height:auto;text-align:left}.transfer .box[data-v-9795b678],.transfer .boxes[data-v-9795b678]{width:100%}.revoter[data-v-9795b678]{max-width:600px;margin-bottom:40px}.revoter .currently-voted[data-v-9795b678]{max-width:300px;text-align:left;padding-right:20px;font-size:12px}.revoter .currently-voted .voting-for[data-v-9795b678]{font-weight:bold;color:#0799ff}.revoter .currently-voted button[data-v-9795b678]{margin-top:10px}.revoter .auto-vote[data-v-9795b678]{margin:0 auto;display:flex;justify-content:center;border:1px solid #0799ff;border-radius:4px;padding:20px}.revoter .auto-vote .details[data-v-9795b678]{padding-left:20px;text-align:left}.revoter .auto-vote .details .title[data-v-9795b678]{font-size:10px;margin-bottom:5px}.revoter .auto-vote .details p[data-v-9795b678]{margin:0;font-size:9px}\n",""])},ztmc:function(t,e,a){"use strict";var i=a("BWwa");a.n(i).a}}); \ No newline at end of file diff --git a/dist/static/icon.png b/dist/static/icon.png index 7403455..2fee21a 100644 Binary files a/dist/static/icon.png and b/dist/static/icon.png differ diff --git a/dist/static/icons/icon-64.png b/dist/static/icons/icon-64.png index 46ff3f0..8901054 100644 Binary files a/dist/static/icons/icon-64.png and b/dist/static/icons/icon-64.png differ diff --git a/dist/static/icons/icon-tray.png b/dist/static/icons/icon-tray.png index 5880883..6ca666d 100644 Binary files a/dist/static/icons/icon-tray.png and b/dist/static/icons/icon-tray.png differ diff --git a/dist/static/icons/icon.icns b/dist/static/icons/icon.icns index 51d3bc4..d049e8a 100644 Binary files a/dist/static/icons/icon.icns and b/dist/static/icons/icon.icns differ diff --git a/dist/static/icons/icon.ico b/dist/static/icons/icon.ico index 24dfb3b..2149894 100644 Binary files a/dist/static/icons/icon.ico and b/dist/static/icons/icon.ico differ diff --git a/dist/static/icons/icon.jpg b/dist/static/icons/icon.jpg index 1852466..9f7f85e 100644 Binary files a/dist/static/icons/icon.jpg and b/dist/static/icons/icon.jpg differ diff --git a/dist/static/icons/icon.png b/dist/static/icons/icon.png index 7403455..2fee21a 100644 Binary files a/dist/static/icons/icon.png and b/dist/static/icons/icon.png differ diff --git a/package.json b/package.json index 4bfab43..956c706 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "url": "https://get-scatter.com/" }, "scripts": { - "build": "webpack -p --mode=production --progress --config build/webpack.config.prod.js", + "build": "node scripts/release", + "build:force": "webpack -p --mode=production --progress --config build/webpack.config.prod.js", "watch": "webpack -p --mode=production --progress --config build/webpack.config.dev.js --watch", "server": "http-server ./dist -p 8081 -d -i -g -P --cors='*' -c-1", "prod": "concurrently \"npm run watch\" \"npm run server\"", @@ -18,7 +19,7 @@ "testfile": "mocha --require test/babel --exit --timeout 1000000", "test": "npm run testfile \"test/**/*.spec.js\" --timeout 1000000", "walletpack": "yarn add @walletpack/core @walletpack/eosio @walletpack/bitcoin @walletpack/tron @walletpack/ethereum", - "langs":"node src/localization/check.js" + "langs": "node src/localization/check.js" }, "dependencies": { "@babel/runtime": "^7.5.4", diff --git a/scripts/release.js b/scripts/release.js new file mode 100644 index 0000000..1a71ce5 --- /dev/null +++ b/scripts/release.js @@ -0,0 +1,23 @@ +require('dotenv').config(); +const childProcess = require('child_process'); + +const quit = msg => { + console.error(msg); + process.exit(0); +}; + +if(process.env.NO_WALLET) return quit('NO_WALLET is enabled'); + +const run = (cmd, callback = () => {}) => { + console.log('running: ', cmd) + + const p = childProcess.exec(cmd); + p.stdout.on('data', ( data ) => console.log(data)); + p.stderr.on('data', ( data ) => console.log(data)); + p.on('error', function (err) { console.error(err); }); + p.on('exit', function (code) { console.log('exited', code); callback(); }); +} + +run(`yarn install`, () => { + run(`webpack -p --mode=production --progress --config build/webpack.config.prod.js`); +}) diff --git a/src/components/misc/Assets.vue b/src/components/misc/Assets.vue index dc1d716..0f661db 100644 --- a/src/components/misc/Assets.vue +++ b/src/components/misc/Assets.vue @@ -1,5 +1,5 @@ @@ -105,6 +117,14 @@ this.dataPath = await Injectable.appPath(); }, methods: { + async toggleTestingMode(){ + if(!this.testingMode){ + PopupService.push(Popup.verifyPassword(pass => { + if(pass === 'i_am_testing') this[UIActions.SET_TESTING_MODE](true); + else PopupService.push(Popup.snackbar("You must get the password from the testing group!")) + }, true)) + } else this[UIActions.SET_TESTING_MODE](false); + }, async enableSimpleMode(){ PopupService.push(Popup.enableSimpleMode(async enabled => { if(!enabled) return; @@ -132,6 +152,7 @@ ...mapActions([ Actions.SET_SCATTER, UIActions.SET_LANGUAGE, + UIActions.SET_TESTING_MODE, ]) }, } diff --git a/src/components/popins/fullscreen/DestroyScatter.vue b/src/components/popins/fullscreen/DestroyScatter.vue index 30aa60a..f010bc6 100644 --- a/src/components/popins/fullscreen/DestroyScatter.vue +++ b/src/components/popins/fullscreen/DestroyScatter.vue @@ -9,7 +9,7 @@ - + diff --git a/src/components/popins/fullscreen/ImportKeypair.vue b/src/components/popins/fullscreen/ImportKeypair.vue index f529551..a15c933 100644 --- a/src/components/popins/fullscreen/ImportKeypair.vue +++ b/src/components/popins/fullscreen/ImportKeypair.vue @@ -148,7 +148,6 @@ } }, methods:{ - saveKeypair(){}, returnResult(){ this.popin.data.callback(this.keypair); this[UIActions.RELEASE_POPUP](this.popin); diff --git a/src/components/popins/overlay/EnableSimpleMode.vue b/src/components/popins/overlay/EnableSimpleMode.vue index 79fe208..a5cda7c 100644 --- a/src/components/popins/overlay/EnableSimpleMode.vue +++ b/src/components/popins/overlay/EnableSimpleMode.vue @@ -1,13 +1,24 @@