├── .dockerignore ├── .gitignore ├── Dockerfile ├── EPurchaseResult.js ├── Eresult.js ├── README.md ├── check.js ├── config.example.json ├── package.json ├── post.js ├── public ├── favicon.ico ├── image │ ├── coupon.jpg │ └── pay.png ├── script │ ├── analytics.js │ ├── jquery.min.js │ └── script.js └── style │ ├── spectre-icons.min.css │ ├── spectre.min.css │ └── style.css ├── run.sh ├── server.js ├── steam.js ├── version.json ├── views └── index.hbs ├── web.js ├── ws.js └── yarn.lock /.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | 3 | # Logs 4 | logs 5 | *.log 6 | npm-debug.log* 7 | 8 | # Dependencies 9 | node_modules/ 10 | 11 | # Coverage 12 | coverage 13 | 14 | # Transpiled files 15 | build/ 16 | 17 | # VS Code 18 | .vscode 19 | !.vscode/tasks.js 20 | 21 | # JetBrains IDEs 22 | .idea/ 23 | 24 | # Optional npm cache directory 25 | .npm 26 | 27 | # Optional eslint cache 28 | .eslintcache 29 | 30 | # Misc 31 | .DS_Store 32 | 33 | Dockerfile 34 | config.json 35 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode/ 2 | .idea/ 3 | node_modules/ 4 | config.json -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:latest 2 | 3 | RUN npm install -g pm2 4 | RUN mkdir /app 5 | WORKDIR /app 6 | 7 | ENV STKEY_ID test 8 | ENV STKEY_NAME 本地测试 9 | ENV STKEY_SERVER_BY your name 10 | 11 | ADD package*.json ./ 12 | RUN npm install 13 | ADD . ./ 14 | 15 | EXPOSE 3999 16 | CMD echo "{\ 17 | \"id\": \"$STKEY_ID\",\ 18 | \"name\": \"$STKEY_NAME\",\ 19 | \"serverBy\": \"$STKEY_SERVER_BY\"\ 20 | }" > /app/config.json && pm2-docker server.js 21 | -------------------------------------------------------------------------------- /EPurchaseResult.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @enum EPurchaseResultDetail 3 | */ 4 | module.exports = { 5 | "NoDetail": 0, 6 | "AVSFailure": 1, 7 | "InsufficientFunds": 2, 8 | "ContactSupport": 3, 9 | "Timeout": 4, 10 | "InvalidPackage": 5, 11 | "InvalidPaymentMethod": 6, 12 | "InvalidData": 7, 13 | "OthersInProgress": 8, 14 | "AlreadyPurchased": 9, 15 | "WrongPrice": 10, 16 | "FraudCheckFailed": 11, 17 | "CancelledByUser": 12, 18 | "RestrictedCountry": 13, 19 | "BadActivationCode": 14, 20 | "DuplicateActivationCode": 15, 21 | "UseOtherPaymentMethod": 16, 22 | "UseOtherFunctionSource": 17, 23 | "InvalidShippingAddress": 18, 24 | "RegionNotSupported": 19, 25 | "AcctIsBlocked": 20, 26 | "AcctNotVerified": 21, 27 | "InvalidAccount": 22, 28 | "StoreBillingCountryMismatch": 23, 29 | "DoesNotOwnRequiredApp": 24, 30 | "CanceledByNewTransaction": 25, 31 | "ForceCanceledPending": 26, 32 | "FailCurrencyTransProvider": 27, 33 | "FailedCyberCafe": 28, 34 | "NeedsPreApproval": 29, 35 | "PreApprovalDenied": 30, 36 | "WalletCurrencyMismatch": 31, 37 | "EmailNotValidated": 32, 38 | "ExpiredCard": 33, 39 | "TransactionExpired": 34, 40 | "WouldExceedMaxWallet": 35, 41 | "MustLoginPS3AppForPurchase": 36, 42 | "CannotShipToPOBox": 37, 43 | "InsufficientInventory": 38, 44 | "CannotGiftShippedGoods": 39, 45 | "CannotShipInternationally": 40, 46 | "BillingAgreementCancelled": 41, 47 | "InvalidCoupon": 42, 48 | "ExpiredCoupon": 43, 49 | "AccountLocked": 44, 50 | "OtherAbortableInProgress": 45, 51 | "ExceededSteamLimit": 46, 52 | "OverlappingPackagesInCart": 47, 53 | "NoWallet": 48, 54 | "NoCachedPaymentMethod": 49, 55 | "CannotRedeemCodeFromClient": 50, 56 | "PurchaseAmountNoSupportedByProvider": 51, 57 | "OverlappingPackagesInPendingTransaction": 52, 58 | "RateLimited": 53, 59 | "OwnsExcludedApp": 54, 60 | "CreditCardBinMismatchesType": 55, 61 | "CartValueTooHigh": 56, 62 | "BillingAgreementAlreadyExists": 57, 63 | "POSACodeNotActivated": 58, 64 | "CannotShipToCountry": 59, 65 | "HungTransactionCancelled": 60, 66 | "PaypalInternalError": 61, 67 | "UnknownGlobalCollectError": 62, 68 | "InvalidTaxAddress": 63, 69 | "PhysicalProductLimitExceeded": 64, 70 | "PurchaseCannotBeReplayed": 65, 71 | "DelayedCompletion": 66, 72 | "BundleTypeCannotBeGifted": 67, 73 | 74 | // Value-to-name mapping for convenience 75 | "0": "NoDetail", 76 | "1": "AVSFailure", 77 | "2": "InsufficientFunds", 78 | "3": "ContactSupport", 79 | "4": "Timeout", 80 | "5": "InvalidPackage", 81 | "6": "InvalidPaymentMethod", 82 | "7": "InvalidData", 83 | "8": "OthersInProgress", 84 | "9": "AlreadyPurchased", 85 | "10": "WrongPrice", 86 | "11": "FraudCheckFailed", 87 | "12": "CancelledByUser", 88 | "13": "RestrictedCountry", 89 | "14": "BadActivationCode", 90 | "15": "DuplicateActivationCode", 91 | "16": "UseOtherPaymentMethod", 92 | "17": "UseOtherFunctionSource", 93 | "18": "InvalidShippingAddress", 94 | "19": "RegionNotSupported", 95 | "20": "AcctIsBlocked", 96 | "21": "AcctNotVerified", 97 | "22": "InvalidAccount", 98 | "23": "StoreBillingCountryMismatch", 99 | "24": "DoesNotOwnRequiredApp", 100 | "25": "CanceledByNewTransaction", 101 | "26": "ForceCanceledPending", 102 | "27": "FailCurrencyTransProvider", 103 | "28": "FailedCyberCafe", 104 | "29": "NeedsPreApproval", 105 | "30": "PreApprovalDenied", 106 | "31": "WalletCurrencyMismatch", 107 | "32": "EmailNotValidated", 108 | "33": "ExpiredCard", 109 | "34": "TransactionExpired", 110 | "35": "WouldExceedMaxWallet", 111 | "36": "MustLoginPS3AppForPurchase", 112 | "37": "CannotShipToPOBox", 113 | "38": "InsufficientInventory", 114 | "39": "CannotGiftShippedGoods", 115 | "40": "CannotShipInternationally", 116 | "41": "BillingAgreementCancelled", 117 | "42": "InvalidCoupon", 118 | "43": "ExpiredCoupon", 119 | "44": "AccountLocked", 120 | "45": "OtherAbortableInProgress", 121 | "46": "ExceededSteamLimit", 122 | "47": "OverlappingPackagesInCart", 123 | "48": "NoWallet", 124 | "49": "NoCachedPaymentMethod", 125 | "50": "CannotRedeemCodeFromClient", 126 | "51": "PurchaseAmountNoSupportedByProvider", 127 | "52": "OverlappingPackagesInPendingTransaction", 128 | "53": "RateLimited", 129 | "54": "OwnsExcludedApp", 130 | "55": "CreditCardBinMismatchesType", 131 | "56": "CartValueTooHigh", 132 | "57": "BillingAgreementAlreadyExists", 133 | "58": "POSACodeNotActivated", 134 | "59": "CannotShipToCountry", 135 | "60": "HungTransactionCancelled", 136 | "61": "PaypalInternalError", 137 | "62": "UnknownGlobalCollectError", 138 | "63": "InvalidTaxAddress", 139 | "64": "PhysicalProductLimitExceeded", 140 | "65": "PurchaseCannotBeReplayed", 141 | "66": "DelayedCompletion", 142 | "67": "BundleTypeCannotBeGifted", 143 | }; 144 | -------------------------------------------------------------------------------- /Eresult.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @enum EResult 3 | */ 4 | module.exports = { 5 | "Invalid": 0, 6 | "OK": 1, 7 | "Fail": 2, 8 | "NoConnection": 3, 9 | "InvalidPassword": 5, 10 | "LoggedInElsewhere": 6, 11 | "InvalidProtocolVer": 7, 12 | "InvalidParam": 8, 13 | "FileNotFound": 9, 14 | "Busy": 10, 15 | "InvalidState": 11, 16 | "InvalidName": 12, 17 | "InvalidEmail": 13, 18 | "DuplicateName": 14, 19 | "AccessDenied": 15, 20 | "Timeout": 16, 21 | "Banned": 17, 22 | "AccountNotFound": 18, 23 | "InvalidSteamID": 19, 24 | "ServiceUnavailable": 20, 25 | "NotLoggedOn": 21, 26 | "Pending": 22, 27 | "EncryptionFailure": 23, 28 | "InsufficientPrivilege": 24, 29 | "LimitExceeded": 25, 30 | "Revoked": 26, 31 | "Expired": 27, 32 | "AlreadyRedeemed": 28, 33 | "DuplicateRequest": 29, 34 | "AlreadyOwned": 30, 35 | "IPNotFound": 31, 36 | "PersistFailed": 32, 37 | "LockingFailed": 33, 38 | "LogonSessionReplaced": 34, 39 | "ConnectFailed": 35, 40 | "HandshakeFailed": 36, 41 | "IOFailure": 37, 42 | "RemoteDisconnect": 38, 43 | "ShoppingCartNotFound": 39, 44 | "Blocked": 40, 45 | "Ignored": 41, 46 | "NoMatch": 42, 47 | "AccountDisabled": 43, 48 | "ServiceReadOnly": 44, 49 | "AccountNotFeatured": 45, 50 | "AdministratorOK": 46, 51 | "ContentVersion": 47, 52 | "TryAnotherCM": 48, 53 | "PasswordRequiredToKickSession": 49, 54 | "AlreadyLoggedInElsewhere": 50, 55 | "Suspended": 51, 56 | "Cancelled": 52, 57 | "DataCorruption": 53, 58 | "DiskFull": 54, 59 | "RemoteCallFailed": 55, 60 | "PasswordNotSet": 56, // removed "renamed to PasswordUnset" 61 | "PasswordUnset": 56, 62 | "ExternalAccountUnlinked": 57, 63 | "PSNTicketInvalid": 58, 64 | "ExternalAccountAlreadyLinked": 59, 65 | "RemoteFileConflict": 60, 66 | "IllegalPassword": 61, 67 | "SameAsPreviousValue": 62, 68 | "AccountLogonDenied": 63, 69 | "CannotUseOldPassword": 64, 70 | "InvalidLoginAuthCode": 65, 71 | "AccountLogonDeniedNoMailSent": 66, // removed "renamed to AccountLogonDeniedNoMail" 72 | "AccountLogonDeniedNoMail": 66, 73 | "HardwareNotCapableOfIPT": 67, 74 | "IPTInitError": 68, 75 | "ParentalControlRestricted": 69, 76 | "FacebookQueryError": 70, 77 | "ExpiredLoginAuthCode": 71, 78 | "IPLoginRestrictionFailed": 72, 79 | "AccountLocked": 73, // removed "renamed to AccountLockedDown" 80 | "AccountLockedDown": 73, 81 | "AccountLogonDeniedVerifiedEmailRequired": 74, 82 | "NoMatchingURL": 75, 83 | "BadResponse": 76, 84 | "RequirePasswordReEntry": 77, 85 | "ValueOutOfRange": 78, 86 | "UnexpectedError": 79, 87 | "Disabled": 80, 88 | "InvalidCEGSubmission": 81, 89 | "RestrictedDevice": 82, 90 | "RegionLocked": 83, 91 | "RateLimitExceeded": 84, 92 | "AccountLogonDeniedNeedTwoFactorCode": 85, // removed "renamed to AccountLoginDeniedNeedTwoFactor" 93 | "AccountLoginDeniedNeedTwoFactor": 85, 94 | "ItemOrEntryHasBeenDeleted": 86, // removed "renamed to ItemDeleted" 95 | "ItemDeleted": 86, 96 | "AccountLoginDeniedThrottle": 87, 97 | "TwoFactorCodeMismatch": 88, 98 | "TwoFactorActivationCodeMismatch": 89, 99 | "AccountAssociatedToMultiplePlayers": 90, // removed "renamed to AccountAssociatedToMultiplePartners" 100 | "AccountAssociatedToMultiplePartners": 90, 101 | "NotModified": 91, 102 | "NoMobileDeviceAvailable": 92, // removed "renamed to NoMobileDevice" 103 | "NoMobileDevice": 92, 104 | "TimeIsOutOfSync": 93, // removed "renamed to TimeNotSynced" 105 | "TimeNotSynced": 93, 106 | "SMSCodeFailed": 94, 107 | "TooManyAccountsAccessThisResource": 95, // removed "renamed to AccountLimitExceeded" 108 | "AccountLimitExceeded": 95, 109 | "AccountActivityLimitExceeded": 96, 110 | "PhoneActivityLimitExceeded": 97, 111 | "RefundToWallet": 98, 112 | "EmailSendFailure": 99, 113 | "NotSettled": 100, 114 | "NeedCaptcha": 101, 115 | "GSLTDenied": 102, 116 | "GSOwnerDenied": 103, 117 | "InvalidItemType": 104, 118 | "IPBanned": 105, 119 | "GSLTExpired": 106, 120 | "InsufficientFunds": 107, 121 | "TooManyPending": 108, 122 | "NoSiteLicensesFound": 109, 123 | "WGNetworkSendExceeded": 110, 124 | 125 | // Value-to-name mapping for convenience 126 | "0": "Invalid", 127 | "1": "OK", 128 | "2": "Fail", 129 | "3": "NoConnection", 130 | "5": "InvalidPassword", 131 | "6": "LoggedInElsewhere", 132 | "7": "InvalidProtocolVer", 133 | "8": "InvalidParam", 134 | "9": "FileNotFound", 135 | "10": "Busy", 136 | "11": "InvalidState", 137 | "12": "InvalidName", 138 | "13": "InvalidEmail", 139 | "14": "DuplicateName", 140 | "15": "AccessDenied", 141 | "16": "Timeout", 142 | "17": "Banned", 143 | "18": "AccountNotFound", 144 | "19": "InvalidSteamID", 145 | "20": "ServiceUnavailable", 146 | "21": "NotLoggedOn", 147 | "22": "Pending", 148 | "23": "EncryptionFailure", 149 | "24": "InsufficientPrivilege", 150 | "25": "LimitExceeded", 151 | "26": "Revoked", 152 | "27": "Expired", 153 | "28": "AlreadyRedeemed", 154 | "29": "DuplicateRequest", 155 | "30": "AlreadyOwned", 156 | "31": "IPNotFound", 157 | "32": "PersistFailed", 158 | "33": "LockingFailed", 159 | "34": "LogonSessionReplaced", 160 | "35": "ConnectFailed", 161 | "36": "HandshakeFailed", 162 | "37": "IOFailure", 163 | "38": "RemoteDisconnect", 164 | "39": "ShoppingCartNotFound", 165 | "40": "Blocked", 166 | "41": "Ignored", 167 | "42": "NoMatch", 168 | "43": "AccountDisabled", 169 | "44": "ServiceReadOnly", 170 | "45": "AccountNotFeatured", 171 | "46": "AdministratorOK", 172 | "47": "ContentVersion", 173 | "48": "TryAnotherCM", 174 | "49": "PasswordRequiredToKickSession", 175 | "50": "AlreadyLoggedInElsewhere", 176 | "51": "Suspended", 177 | "52": "Cancelled", 178 | "53": "DataCorruption", 179 | "54": "DiskFull", 180 | "55": "RemoteCallFailed", 181 | "56": "PasswordUnset", 182 | "57": "ExternalAccountUnlinked", 183 | "58": "PSNTicketInvalid", 184 | "59": "ExternalAccountAlreadyLinked", 185 | "60": "RemoteFileConflict", 186 | "61": "IllegalPassword", 187 | "62": "SameAsPreviousValue", 188 | "63": "AccountLogonDenied", 189 | "64": "CannotUseOldPassword", 190 | "65": "InvalidLoginAuthCode", 191 | "66": "AccountLogonDeniedNoMail", 192 | "67": "HardwareNotCapableOfIPT", 193 | "68": "IPTInitError", 194 | "69": "ParentalControlRestricted", 195 | "70": "FacebookQueryError", 196 | "71": "ExpiredLoginAuthCode", 197 | "72": "IPLoginRestrictionFailed", 198 | "73": "AccountLockedDown", 199 | "74": "AccountLogonDeniedVerifiedEmailRequired", 200 | "75": "NoMatchingURL", 201 | "76": "BadResponse", 202 | "77": "RequirePasswordReEntry", 203 | "78": "ValueOutOfRange", 204 | "79": "UnexpectedError", 205 | "80": "Disabled", 206 | "81": "InvalidCEGSubmission", 207 | "82": "RestrictedDevice", 208 | "83": "RegionLocked", 209 | "84": "RateLimitExceeded", 210 | "85": "AccountLoginDeniedNeedTwoFactor", 211 | "86": "ItemDeleted", 212 | "87": "AccountLoginDeniedThrottle", 213 | "88": "TwoFactorCodeMismatch", 214 | "89": "TwoFactorActivationCodeMismatch", 215 | "90": "AccountAssociatedToMultiplePartners", 216 | "91": "NotModified", 217 | "92": "NoMobileDevice", 218 | "93": "TimeNotSynced", 219 | "94": "SMSCodeFailed", 220 | "95": "AccountLimitExceeded", 221 | "96": "AccountActivityLimitExceeded", 222 | "97": "PhoneActivityLimitExceeded", 223 | "98": "RefundToWallet", 224 | "99": "EmailSendFailure", 225 | "100": "NotSettled", 226 | "101": "NeedCaptcha", 227 | "102": "GSLTDenied", 228 | "103": "GSOwnerDenied", 229 | "104": "InvalidItemType", 230 | "105": "IPBanned", 231 | "106": "GSLTExpired", 232 | "107": "InsufficientFunds", 233 | "108": "TooManyPending", 234 | "109": "NoSiteLicensesFound", 235 | "110": "WGNetworkSendExceeded", 236 | }; 237 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Steam云激活 2 | 3 | 还在嫌手动激活俄区Key太麻烦了吗?本项目也许能解决你的烦恼:这是一个实现Steam远程激活功能的**开源**项目,将其部署至俄罗斯的服务器上,再通过浏览器访问相应网页便可远程激活俄区Key。同理,将其部署至国内服务器,访问相应的网页便可在国外激活锁国区的Key。 4 | 5 | ---------- 6 | 7 | ## 功能 8 | 9 | 一张图就能告诉你: 10 | ![Steam 云挂卡](http://i.imgur.com/MJnbFCE.png) 11 | 12 | ---------- 13 | 14 | ## 使用 15 | 16 | 我已在俄罗斯服务器上部署了本项目,您可以在浏览器中访问:[https://stkey.win](https://stkey.win) 使用(项目中所使用的WS技术2011年才指定标准,古董级别的浏览器铁定是不支持的啦,某些手机浏览器也不支持)。 17 | 18 | 至于国内服务器,稍后应该会部署,如果您愿意无偿提供有稳定的国内服务器(腾讯学生机就行),请联系我~ 本系统不会占用多少系统资源的! 19 | 20 | 浏览器载入页面之后,您需要输入Steam账号、密码和手机令牌(暂不支持邮箱验证码),然后输入Key即可激活。系统会显示锁激活的Sub及其SteamDB的链接。 21 | 22 | 目前本系统还处于公测阶段,欢迎把你激活时或出bug时的截图发在回贴上,我自己都还不知道我这系统怎么样呢,因为我没有那么Key去测试呀。要知道,测试一次就浪费一个key呢! 23 | 24 | ---------- 25 | 26 | 27 | ## 安全 28 | 29 | Steam账号是我们每个人的宝贝,安全问题当然是我在开发时最重视的方面。 30 | 31 | * 本项目**开源**,[Github地址在此](https://github.com/zyfworks/steam-key),欢迎点个星星!您可以看到本项目所有的代码,也可以在自己的服务器上部署。 32 | 33 | * 项目基于[SteamKit2](https://github.com/SteamRE/SteamKit)的[Node版](https://github.com/seishun/node-steam)开发,大名鼎鼎的[ASF](https://github.com/JustArchi/ArchiSteamFarm)也是基于SteamKit2开发的。 34 | 35 | * 本项目后台不会记录您任何敏感信息,并且**隔离**每次访问请求,一旦您**刷新页面**、**关闭页面**或者**5分钟未操作**,服务器会自动断开连接并销毁所有会话数据。 36 | 37 | * 网页启用HTTPS、WSS安全传输,保障您的数据在通信时的安全。 38 | 39 | * 我尽可能地保障服务器端的安全。哪怕服务器被攻陷了,由于服务器即时销毁所有数据,攻击者也无法取得数据。当然,最后一道防线——手机令牌仍能保证您的账号安全。 40 | 41 | ---------- 42 | 43 | ## 风险 44 | 45 | * 这玩意存在安全风险吗? 46 | >答:虽然本系统不会存储您的任何信息,也在连接时启用安全传输,但本人**无法保证**服务器操作系统、Web软件、编程语言和SteamKit2及其衍生库**不存在**任何**未知的**安全漏洞。请记住,没有绝对的安全! 47 | 48 | * 激活俄区Key安全吗? 49 | >答:目前**没有**证据能表明跨区激活俄区Key会被小红信问候。不过使用前还是请谨慎考虑,个人选择,风险自担。如果之后出现任何问题,本人概不负责 50 | 51 | * [https://stkey.win](https://stkey.win)能激活全球Key吗? 52 | >答:可以激活全球Key。由于[https://stkey.win](https://stkey.win)的后端服务器在俄罗斯,所以激活的Sub会被标记为"RU",但不会改变Key原本的Sub ID。 53 | 如果想远程激活国区Key,请静候国内激活服务器上线。 54 | 55 | * 异地登录呢? 56 | >答:本系统需要在服务器上登录您的账号才能激活Key,理论上是异地登录。不过呢,大家都在云挂卡,也没什么问题呀。虽然同时登录应该不会有问题,但本人仍然建议您在云激活时退出已经登录的账号。 57 | 58 | ---------- 59 | 60 | # Q&A 61 | 62 | * 你不会是盗号吧? 63 | >答:我是盗你的心的。 64 | 65 | * 你这个界面很丑啊,和隔壁云挂卡的UI差远了!还有,都什么年代了还在用jQuery操控DOM,太垃圾了! 66 | >答:感谢批评和指教。我本身的专业既不是计算机也不是软件(虽然未来职业应该是码农了),技术水平有限。如果您会**Vue.js**等Web前端技术,欢迎您帮忙改进Web页面~ 67 | 68 | * 访问[https://stkey.win](https://stkey.win)怎么502了!垃圾网站! 69 | >答:不好意思,服务挂掉了。。。我这就去重启服务并部署稳定性修正。 70 | 71 | * 我的账号是受限账户,可以用这个系统吗? 72 | >答:为了防止系统被滥用,暂时不允许受限账户使用。 73 | 74 | * 我ping stkey.win显示的IP地址是美国的呀,说好的俄罗斯呢? 骗纸 :( 75 | >答:Web前端有个反向代理服务器,它会把您的请求转发至俄罗斯服务器上(没错,您的Web请求绕了地球一圈),实现Web前端和后端的分离,进一步地保证您的账号安全! 76 | 77 | * 我发现了bug,如何告诉你? 78 | >答:回帖就行,或者加我好友~ 79 | 80 | * 这个服务是免费的吗? 81 | >答:当然免费啊! 82 | 83 | * 为什么我电脑上的IE6和手机上的Android WebView无法使用? 84 | >答:那些浏览器不支持WS,我也很绝望啊。。。推荐使用Chrome。 85 | 86 | * 你是谁!为什么要做这个? 87 | >答:我是**浙江杭州**的*老和山职业技术学院*某冷门专业的大四本科生,最近做毕业设计做的很烦躁,看到论坛上不少新人激活俄区Key时都磕磕绊绊,自己每次激活俄Key时也要开SockCap,感觉很麻烦,于是就做了个Steam云激活,帮助愿意使用这个系统人方便地激活俄区Key。 88 | 89 | * 呀,杭州!同城诶,可以认识你吗? 90 | >答:欢迎妹子!(对这是一条约会交友广告)我Steam好友位还有很多! 91 | 92 | * 我成功激活俄区Key了,超好用~ 如何打赏你? 93 | >答:(厚颜无耻地递上支付宝二维码) 94 | ![Alipay](http://i.imgur.com/4uHwG5p.jpg) -------------------------------------------------------------------------------- /check.js: -------------------------------------------------------------------------------- 1 | const request = require('request'); 2 | const xml = require('xml2js').parseString; 3 | 4 | module.exports = (steamId, callback) => { 5 | let url = `http://steamcommunity.com/profiles/${steamId}/?xml=1`; 6 | start(url).then(result => callback(result)); 7 | }; 8 | 9 | async function start(url) { 10 | try { 11 | let xmlData = await getXml(url); 12 | let result = await parseXml(xmlData); 13 | 14 | if (!result || !result['profile'] 15 | || !result['profile']['isLimitedAccount']) { 16 | console.log('Unable to check! Url: ' + url); 17 | // FIXME 18 | return 'OK'; 19 | } 20 | 21 | if (result['profile']['isLimitedAccount'][0] === '0') { 22 | return 'OK'; 23 | } else { 24 | return 'Limited account'; 25 | } 26 | } catch (err) { 27 | return err.message; 28 | } 29 | } 30 | 31 | function getXml(url) { 32 | return new Promise((resolve, reject) => { 33 | request(url, (error, response, body) => { 34 | if (!error && response.statusCode === 200) { 35 | resolve(body); 36 | } else { 37 | reject("Cannot get the xml"); 38 | } 39 | }); 40 | }); 41 | } 42 | 43 | function parseXml(xmlData) { 44 | return new Promise((resolve, reject) => { 45 | xml(xmlData, (error, result) => { 46 | if (!error) { 47 | resolve(result); 48 | } else { 49 | reject("Cannot parse the xml"); 50 | } 51 | }); 52 | }); 53 | } 54 | -------------------------------------------------------------------------------- /config.example.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "test", 3 | "name": "本地测试" 4 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "steam-key", 3 | "version": "2.0.0", 4 | "description": "Steam key remote redeeming", 5 | "main": "server.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/zyfworks/steam-key.git" 12 | }, 13 | "author": "Makazeu", 14 | "license": "MIT", 15 | "dependencies": { 16 | "express": "^4.16.3", 17 | "hbs": "^4.0.1", 18 | "path": "^0.12.7", 19 | "request": "^2.87.0", 20 | "steam-user": "git+https://github.com/DoctorMcKay/node-steam-user.git", 21 | "ws": "^6.0.0", 22 | "xml2js": "^0.4.19" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /post.js: -------------------------------------------------------------------------------- 1 | const request = require('request'); 2 | 3 | module.exports = (postAddress, subId, subName, serverId) => { 4 | let options = { 5 | uri: postAddress, 6 | method: 'POST', 7 | timeout: 20000, 8 | json: { 9 | subId: subId, 10 | subName: subName, 11 | server: serverId 12 | } 13 | }; 14 | 15 | start(options); 16 | }; 17 | 18 | 19 | async function start(options) { 20 | try { 21 | for (let i = 1; i <= 3; i++) { 22 | let res = await doPost(options); 23 | if (res === 'OK') { 24 | break; 25 | } 26 | } 27 | } catch (error) { 28 | //console.log(error); 29 | } 30 | } 31 | 32 | function doPost(options) { 33 | return new Promise((resolve, reject) => { 34 | request(options, (error, response, body) => { 35 | if (!error) { 36 | resolve(body); 37 | } else { 38 | reject(error); 39 | } 40 | }); 41 | }); 42 | } 43 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makazeu/steam-key/3dc2ee0bd62b016b5d11d944f68b501fc267a019/public/favicon.ico -------------------------------------------------------------------------------- /public/image/coupon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makazeu/steam-key/3dc2ee0bd62b016b5d11d944f68b501fc267a019/public/image/coupon.jpg -------------------------------------------------------------------------------- /public/image/pay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makazeu/steam-key/3dc2ee0bd62b016b5d11d944f68b501fc267a019/public/image/pay.png -------------------------------------------------------------------------------- /public/script/analytics.js: -------------------------------------------------------------------------------- 1 | (function (i, s, o, g, r, a, m) { 2 | i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { 3 | (i[r].q = i[r].q || []).push(arguments) 4 | }, i[r].l = 1 * new Date(); a = s.createElement(o), 5 | m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) 6 | })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga'); 7 | 8 | ga('create', 'UA-60000402-7', 'auto'); 9 | ga('send', 'pageview'); -------------------------------------------------------------------------------- /public/script/jquery.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery v3.2.1 | (c) JS Foundation and other contributors | jquery.org/license */ 2 | !function(a,b){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){"use strict";var c=[],d=a.document,e=Object.getPrototypeOf,f=c.slice,g=c.concat,h=c.push,i=c.indexOf,j={},k=j.toString,l=j.hasOwnProperty,m=l.toString,n=m.call(Object),o={};function p(a,b){b=b||d;var c=b.createElement("script");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var q="3.2.1",r=function(a,b){return new r.fn.init(a,b)},s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,t=/^-ms-/,u=/-([a-z])/g,v=function(a,b){return b.toUpperCase()};r.fn=r.prototype={jquery:q,constructor:r,length:0,toArray:function(){return f.call(this)},get:function(a){return null==a?f.call(this):a<0?this[a+this.length]:this[a]},pushStack:function(a){var b=r.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return r.each(this,a)},map:function(a){return this.pushStack(r.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(f.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c0&&b-1 in a)}var x=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;c+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\]'\"]*?)"+K+"*\\]","g"),T=new RegExp(N),U=new RegExp("^"+L+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,_=new RegExp("\\\\([\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),aa=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ca=function(a,b){return b?"\0"===a?"\ufffd":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0&&("form"in a||"label"in a)},{dir:"parentNode",next:"legend"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(ba,ca):b.setAttribute("id",k=u),o=g(a),h=o.length;while(h--)o[h]="#"+k+" "+sa(o[h]);r=o.join(","),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(P,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("fieldset");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return function(b){return"form"in b?b.parentNode&&b.disabled===!1?"label"in b?"label"in b.parentNode?b.parentNode.disabled===a:b.disabled===a:b.isDisabled===a||b.isDisabled!==!a&&ea(b)===a:b.disabled===a:"label"in b&&b.disabled===a}}function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function qa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){return a.getAttribute("id")===b}},d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}}):(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}},d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c,d,e,f=b.getElementById(a);if(f){if(c=f.getAttributeNode("id"),c&&c.value===a)return[f];e=b.getElementsByName(a),d=0;while(f=e[d++])if(c=f.getAttributeNode("id"),c&&c.value===a)return[f]}return[]}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if("undefined"!=typeof b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+K+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+K+"*(?:value|"+J+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){a.innerHTML="";var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+K+"*[*^$|!~]?="),2!==a.querySelectorAll(":enabled").length&&q.push(":enabled",":disabled"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"*"),s.call(a,"[s!='']:x"),r.push("!=",N)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Y.test(o.compareDocumentPosition),t=b||Y.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?I(k,a)-I(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?I(k,a)-I(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.escape=function(a){return(a+"").replace(ba,ca)},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(_,aa),a[3]=(a[3]||a[4]||a[5]||"").replace(_,aa),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&T.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(_,aa).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+K+")"+a+"("+K+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:!b||(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(O," ")+" ").indexOf(c)>-1:"|="===b&&(e===c||e.slice(0,c.length+1)===c+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(_,aa).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:oa(!1),disabled:oa(!0),checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[c<0?c+b:c]}),even:pa(function(a,b){for(var c=0;c=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=c<0?c+b:c;++d1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function va(a,b,c){for(var d=0,e=b.length;d-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(P,"$1"),c,i0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.select=function(a,b,c,e){var f,i,j,k,l,m="function"==typeof a&&a,n=!e&&g(a=m.selector||a);if(c=c||[],1===n.length){if(i=n[0]=n[0].slice(0),i.length>2&&"ID"===(j=i[0]).type&&9===b.nodeType&&p&&d.relative[i[1].type]){if(b=(d.find.ID(j.matches[0].replace(_,aa),b)||[])[0],!b)return c;m&&(b=b.parentNode),a=a.slice(i.shift().value.length)}f=V.needsContext.test(a)?0:i.length;while(f--){if(j=i[f],d.relative[k=j.type])break;if((l=d.find[k])&&(e=l(j.matches[0].replace(_,aa),$.test(i[0].type)&&qa(b.parentNode)||b))){if(i.splice(f,1),a=e.length&&sa(i),!a)return G.apply(c,e),c;break}}}return(m||h(a,n))(e,b,!p,c,!b||$.test(a)&&qa(b.parentNode)||b),c},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("fieldset"))}),ja(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(J,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);r.find=x,r.expr=x.selectors,r.expr[":"]=r.expr.pseudos,r.uniqueSort=r.unique=x.uniqueSort,r.text=x.getText,r.isXMLDoc=x.isXML,r.contains=x.contains,r.escapeSelector=x.escape;var y=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&r(a).is(c))break;d.push(a)}return d},z=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},A=r.expr.match.needsContext;function B(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()}var C=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,D=/^.[^:#\[\.,]*$/;function E(a,b,c){return r.isFunction(b)?r.grep(a,function(a,d){return!!b.call(a,d,a)!==c}):b.nodeType?r.grep(a,function(a){return a===b!==c}):"string"!=typeof b?r.grep(a,function(a){return i.call(b,a)>-1!==c}):D.test(b)?r.filter(b,a,c):(b=r.filter(b,a),r.grep(a,function(a){return i.call(b,a)>-1!==c&&1===a.nodeType}))}r.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?r.find.matchesSelector(d,a)?[d]:[]:r.find.matches(a,r.grep(b,function(a){return 1===a.nodeType}))},r.fn.extend({find:function(a){var b,c,d=this.length,e=this;if("string"!=typeof a)return this.pushStack(r(a).filter(function(){for(b=0;b1?r.uniqueSort(c):c},filter:function(a){return this.pushStack(E(this,a||[],!1))},not:function(a){return this.pushStack(E(this,a||[],!0))},is:function(a){return!!E(this,"string"==typeof a&&A.test(a)?r(a):a||[],!1).length}});var F,G=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,H=r.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||F,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:G.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof r?b[0]:b,r.merge(this,r.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),C.test(e[1])&&r.isPlainObject(b))for(e in b)r.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):r.isFunction(a)?void 0!==c.ready?c.ready(a):a(r):r.makeArray(a,this)};H.prototype=r.fn,F=r(d);var I=/^(?:parents|prev(?:Until|All))/,J={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(a){var b=r(a,this),c=b.length;return this.filter(function(){for(var a=0;a-1:1===c.nodeType&&r.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?r.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?i.call(r(a),this[0]):i.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function K(a,b){while((a=a[b])&&1!==a.nodeType);return a}r.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return y(a,"parentNode")},parentsUntil:function(a,b,c){return y(a,"parentNode",c)},next:function(a){return K(a,"nextSibling")},prev:function(a){return K(a,"previousSibling")},nextAll:function(a){return y(a,"nextSibling")},prevAll:function(a){return y(a,"previousSibling")},nextUntil:function(a,b,c){return y(a,"nextSibling",c)},prevUntil:function(a,b,c){return y(a,"previousSibling",c)},siblings:function(a){return z((a.parentNode||{}).firstChild,a)},children:function(a){return z(a.firstChild)},contents:function(a){return B(a,"iframe")?a.contentDocument:(B(a,"template")&&(a=a.content||a),r.merge([],a.childNodes))}},function(a,b){r.fn[a]=function(c,d){var e=r.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=r.filter(d,e)),this.length>1&&(J[a]||r.uniqueSort(e),I.test(a)&&e.reverse()),this.pushStack(e)}});var L=/[^\x20\t\r\n\f]+/g;function M(a){var b={};return r.each(a.match(L)||[],function(a,c){b[c]=!0}),b}r.Callbacks=function(a){a="string"==typeof a?M(a):r.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=e||a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?r.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||b||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j};function N(a){return a}function O(a){throw a}function P(a,b,c,d){var e;try{a&&r.isFunction(e=a.promise)?e.call(a).done(b).fail(c):a&&r.isFunction(e=a.then)?e.call(a,b,c):b.apply(void 0,[a].slice(d))}catch(a){c.apply(void 0,[a])}}r.extend({Deferred:function(b){var c=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],d="pending",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},"catch":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(b){r.each(c,function(c,d){var e=r.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=e&&e.apply(this,arguments);a&&r.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+"With"](this,e?[a]:arguments)})}),a=null}).promise()},then:function(b,d,e){var f=0;function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(){var a,j;if(!(b=f&&(d!==O&&(h=void 0,i=[a]),c.rejectWith(h,i))}};b?k():(r.Deferred.getStackHook&&(k.stackTrace=r.Deferred.getStackHook()),a.setTimeout(k))}}return r.Deferred(function(a){c[0][3].add(g(0,a,r.isFunction(e)?e:N,a.notifyWith)),c[1][3].add(g(0,a,r.isFunction(b)?b:N)),c[2][3].add(g(0,a,r.isFunction(d)?d:O))}).promise()},promise:function(a){return null!=a?r.extend(a,e):e}},f={};return r.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+"With"](this===f?void 0:this,arguments),this},f[b[0]+"With"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=f.call(arguments),g=r.Deferred(),h=function(a){return function(c){d[a]=this,e[a]=arguments.length>1?f.call(arguments):c,--b||g.resolveWith(d,e)}};if(b<=1&&(P(a,g.done(h(c)).resolve,g.reject,!b),"pending"===g.state()||r.isFunction(e[c]&&e[c].then)))return g.then();while(c--)P(e[c],h(c),g.reject);return g.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&Q.test(b.name)&&a.console.warn("jQuery.Deferred exception: "+b.message,b.stack,c)},r.readyException=function(b){a.setTimeout(function(){throw b})};var R=r.Deferred();r.fn.ready=function(a){return R.then(a)["catch"](function(a){r.readyException(a)}),this},r.extend({isReady:!1,readyWait:1,ready:function(a){(a===!0?--r.readyWait:r.isReady)||(r.isReady=!0,a!==!0&&--r.readyWait>0||R.resolveWith(d,[r]))}}),r.ready.then=R.then;function S(){d.removeEventListener("DOMContentLoaded",S), 3 | a.removeEventListener("load",S),r.ready()}"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.addEventListener("DOMContentLoaded",S),a.addEventListener("load",S));var T=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===r.type(c)){e=!0;for(h in c)T(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,r.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(r(a),c)})),b))for(;h1,null,!0)},removeData:function(a){return this.each(function(){X.remove(this,a)})}}),r.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=W.get(a,b),c&&(!d||Array.isArray(c)?d=W.access(a,b,r.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=r.queue(a,b),d=c.length,e=c.shift(),f=r._queueHooks(a,b),g=function(){r.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return W.get(a,c)||W.access(a,c,{empty:r.Callbacks("once memory").add(function(){W.remove(a,[b+"queue",c])})})}}),r.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length\x20\t\r\n\f]+)/i,la=/^$|\/(?:java|ecma)script/i,ma={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};ma.optgroup=ma.option,ma.tbody=ma.tfoot=ma.colgroup=ma.caption=ma.thead,ma.th=ma.td;function na(a,b){var c;return c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[],void 0===b||b&&B(a,b)?r.merge([a],c):c}function oa(a,b){for(var c=0,d=a.length;c-1)e&&e.push(f);else if(j=r.contains(f.ownerDocument,f),g=na(l.appendChild(f),"script"),j&&oa(g),c){k=0;while(f=g[k++])la.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),o.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="",o.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var ra=d.documentElement,sa=/^key/,ta=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ua=/^([^.]*)(?:\.(.+)|)/;function va(){return!0}function wa(){return!1}function xa(){try{return d.activeElement}catch(a){}}function ya(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)ya(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=wa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return r().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=r.guid++)),a.each(function(){r.event.add(this,b,e,d,c)})}r.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.get(a);if(q){c.handler&&(f=c,c=f.handler,e=f.selector),e&&r.find.matchesSelector(ra,e),c.guid||(c.guid=r.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return"undefined"!=typeof r&&r.event.triggered!==b.type?r.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(L)||[""],j=b.length;while(j--)h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n&&(l=r.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=r.event.special[n]||{},k=r.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&r.expr.match.needsContext.test(e),namespace:o.join(".")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),r.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.hasData(a)&&W.get(a);if(q&&(i=q.events)){b=(b||"").match(L)||[""],j=b.length;while(j--)if(h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n){l=r.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||r.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)r.event.remove(a,n+b[j],c,d,!0);r.isEmptyObject(i)&&W.remove(a,"handle events")}},dispatch:function(a){var b=r.event.fix(a),c,d,e,f,g,h,i=new Array(arguments.length),j=(W.get(this,"events")||{})[b.type]||[],k=r.event.special[b.type]||{};for(i[0]=b,c=1;c=1))for(;j!==this;j=j.parentNode||this)if(1===j.nodeType&&("click"!==a.type||j.disabled!==!0)){for(f=[],g={},c=0;c-1:r.find(e,this,null,[j]).length),g[e]&&f.push(d);f.length&&h.push({elem:j,handlers:f})}return j=this,i\x20\t\r\n\f]*)[^>]*)\/>/gi,Aa=/\s*$/g;function Ea(a,b){return B(a,"table")&&B(11!==b.nodeType?b:b.firstChild,"tr")?r(">tbody",a)[0]||a:a}function Fa(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function Ga(a){var b=Ca.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Ha(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(W.hasData(a)&&(f=W.access(a),g=W.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c1&&"string"==typeof q&&!o.checkClone&&Ba.test(q))return a.each(function(e){var f=a.eq(e);s&&(b[0]=q.call(this,e,f.html())),Ja(f,b,c,d)});if(m&&(e=qa(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(h=r.map(na(e,"script"),Fa),i=h.length;l")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=r.contains(a.ownerDocument,a);if(!(o.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||r.isXMLDoc(a)))for(g=na(h),f=na(a),d=0,e=f.length;d0&&oa(g,!i&&na(a,"script")),h},cleanData:function(a){for(var b,c,d,e=r.event.special,f=0;void 0!==(c=a[f]);f++)if(U(c)){if(b=c[W.expando]){if(b.events)for(d in b.events)e[d]?r.event.remove(c,d):r.removeEvent(c,d,b.handle);c[W.expando]=void 0}c[X.expando]&&(c[X.expando]=void 0)}}}),r.fn.extend({detach:function(a){return Ka(this,a,!0)},remove:function(a){return Ka(this,a)},text:function(a){return T(this,function(a){return void 0===a?r.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.appendChild(a)}})},prepend:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(r.cleanData(na(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return r.clone(this,a,b)})},html:function(a){return T(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!Aa.test(a)&&!ma[(ka.exec(a)||["",""])[1].toLowerCase()]){a=r.htmlPrefilter(a);try{for(;c1)}});function _a(a,b,c,d,e){return new _a.prototype.init(a,b,c,d,e)}r.Tween=_a,_a.prototype={constructor:_a,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||r.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(r.cssNumber[c]?"":"px")},cur:function(){var a=_a.propHooks[this.prop];return a&&a.get?a.get(this):_a.propHooks._default.get(this)},run:function(a){var b,c=_a.propHooks[this.prop];return this.options.duration?this.pos=b=r.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):_a.propHooks._default.set(this),this}},_a.prototype.init.prototype=_a.prototype,_a.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=r.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){r.fx.step[a.prop]?r.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[r.cssProps[a.prop]]&&!r.cssHooks[a.prop]?a.elem[a.prop]=a.now:r.style(a.elem,a.prop,a.now+a.unit)}}},_a.propHooks.scrollTop=_a.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},r.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},r.fx=_a.prototype.init,r.fx.step={};var ab,bb,cb=/^(?:toggle|show|hide)$/,db=/queueHooks$/;function eb(){bb&&(d.hidden===!1&&a.requestAnimationFrame?a.requestAnimationFrame(eb):a.setTimeout(eb,r.fx.interval),r.fx.tick())}function fb(){return a.setTimeout(function(){ab=void 0}),ab=r.now()}function gb(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=ca[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function hb(a,b,c){for(var d,e=(kb.tweeners[b]||[]).concat(kb.tweeners["*"]),f=0,g=e.length;f1)},removeAttr:function(a){return this.each(function(){r.removeAttr(this,a)})}}),r.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?r.prop(a,b,c):(1===f&&r.isXMLDoc(a)||(e=r.attrHooks[b.toLowerCase()]||(r.expr.match.bool.test(b)?lb:void 0)),void 0!==c?null===c?void r.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=r.find.attr(a,b), 4 | null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"===b&&B(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d=0,e=b&&b.match(L);if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),lb={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.setAttribute(c,c),c}},r.each(r.expr.match.bool.source.match(/\w+/g),function(a,b){var c=mb[b]||r.find.attr;mb[b]=function(a,b,d){var e,f,g=b.toLowerCase();return d||(f=mb[g],mb[g]=e,e=null!=c(a,b,d)?g:null,mb[g]=f),e}});var nb=/^(?:input|select|textarea|button)$/i,ob=/^(?:a|area)$/i;r.fn.extend({prop:function(a,b){return T(this,r.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[r.propFix[a]||a]})}}),r.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&r.isXMLDoc(a)||(b=r.propFix[b]||b,e=r.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=r.find.attr(a,"tabindex");return b?parseInt(b,10):nb.test(a.nodeName)||ob.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),o.optSelected||(r.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),r.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){r.propFix[this.toLowerCase()]=this});function pb(a){var b=a.match(L)||[];return b.join(" ")}function qb(a){return a.getAttribute&&a.getAttribute("class")||""}r.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).addClass(a.call(this,b,qb(this)))});if("string"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&" "+pb(e)+" "){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=pb(d),e!==h&&c.setAttribute("class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).removeClass(a.call(this,b,qb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&" "+pb(e)+" "){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=pb(d),e!==h&&c.setAttribute("class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):r.isFunction(a)?this.each(function(c){r(this).toggleClass(a.call(this,c,qb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=r(this),f=a.match(L)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=qb(this),b&&W.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":W.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+pb(qb(c))+" ").indexOf(b)>-1)return!0;return!1}});var rb=/\r/g;r.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=r.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,r(this).val()):a,null==e?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=r.map(e,function(a){return null==a?"":a+""})),b=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=r.valHooks[e.type]||r.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(rb,""):null==c?"":c)}}}),r.extend({valHooks:{option:{get:function(a){var b=r.find.attr(a,"value");return null!=b?b:pb(r.text(a))}},select:{get:function(a){var b,c,d,e=a.options,f=a.selectedIndex,g="select-one"===a.type,h=g?null:[],i=g?f+1:e.length;for(d=f<0?i:g?f:0;d-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),r.each(["radio","checkbox"],function(){r.valHooks[this]={set:function(a,b){if(Array.isArray(b))return a.checked=r.inArray(r(a).val(),b)>-1}},o.checkOn||(r.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var sb=/^(?:focusinfocus|focusoutblur)$/;r.extend(r.event,{trigger:function(b,c,e,f){var g,h,i,j,k,m,n,o=[e||d],p=l.call(b,"type")?b.type:b,q=l.call(b,"namespace")?b.namespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!sb.test(p+r.event.triggered)&&(p.indexOf(".")>-1&&(q=p.split("."),p=q.shift(),q.sort()),k=p.indexOf(":")<0&&"on"+p,b=b[r.expando]?b:new r.Event(p,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=q.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:r.makeArray(c,[b]),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,sb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(W.get(h,"events")||{})[b.type]&&W.get(h,"handle"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&U(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=p,f||b.isDefaultPrevented()||n._default&&n._default.apply(o.pop(),c)!==!1||!U(e)||k&&r.isFunction(e[p])&&!r.isWindow(e)&&(i=e[k],i&&(e[k]=null),r.event.triggered=p,e[p](),r.event.triggered=void 0,i&&(e[k]=i)),b.result}},simulate:function(a,b,c){var d=r.extend(new r.Event,c,{type:a,isSimulated:!0});r.event.trigger(d,null,b)}}),r.fn.extend({trigger:function(a,b){return this.each(function(){r.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return r.event.trigger(a,b,c,!0)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,b){r.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),r.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),o.focusin="onfocusin"in a,o.focusin||r.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){r.event.simulate(b,a.target,r.event.fix(a))};r.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=W.access(d,b);e||d.addEventListener(a,c,!0),W.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=W.access(d,b)-1;e?W.access(d,b,e):(d.removeEventListener(a,c,!0),W.remove(d,b))}}});var tb=a.location,ub=r.now(),vb=/\?/;r.parseXML=function(b){var c;if(!b||"string"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||r.error("Invalid XML: "+b),c};var wb=/\[\]$/,xb=/\r?\n/g,yb=/^(?:submit|button|image|reset|file)$/i,zb=/^(?:input|select|textarea|keygen)/i;function Ab(a,b,c,d){var e;if(Array.isArray(b))r.each(b,function(b,e){c||wb.test(a)?d(a,e):Ab(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==r.type(b))d(a,b);else for(e in b)Ab(a+"["+e+"]",b[e],c,d)}r.param=function(a,b){var c,d=[],e=function(a,b){var c=r.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==c?"":c)};if(Array.isArray(a)||a.jquery&&!r.isPlainObject(a))r.each(a,function(){e(this.name,this.value)});else for(c in a)Ab(c,a[c],b,e);return d.join("&")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=r.prop(this,"elements");return a?r.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!r(this).is(":disabled")&&zb.test(this.nodeName)&&!yb.test(a)&&(this.checked||!ja.test(a))}).map(function(a,b){var c=r(this).val();return null==c?null:Array.isArray(c)?r.map(c,function(a){return{name:b.name,value:a.replace(xb,"\r\n")}}):{name:b.name,value:c.replace(xb,"\r\n")}}).get()}});var Bb=/%20/g,Cb=/#.*$/,Db=/([?&])_=[^&]*/,Eb=/^(.*?):[ \t]*([^\r\n]*)$/gm,Fb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Gb=/^(?:GET|HEAD)$/,Hb=/^\/\//,Ib={},Jb={},Kb="*/".concat("*"),Lb=d.createElement("a");Lb.href=tb.href;function Mb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(L)||[];if(r.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Nb(a,b,c,d){var e={},f=a===Jb;function g(h){var i;return e[h]=!0,r.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Ob(a,b){var c,d,e=r.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&r.extend(!0,a,d),a}function Pb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Qb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:tb.href,type:"GET",isLocal:Fb.test(tb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Kb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Ob(Ob(a,r.ajaxSettings),b):Ob(r.ajaxSettings,a)},ajaxPrefilter:Mb(Ib),ajaxTransport:Mb(Jb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m,n,o=r.ajaxSetup({},c),p=o.context||o,q=o.context&&(p.nodeType||p.jquery)?r(p):r.event,s=r.Deferred(),t=r.Callbacks("once memory"),u=o.statusCode||{},v={},w={},x="canceled",y={readyState:0,getResponseHeader:function(a){var b;if(k){if(!h){h={};while(b=Eb.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return k?g:null},setRequestHeader:function(a,b){return null==k&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,v[a]=b),this},overrideMimeType:function(a){return null==k&&(o.mimeType=a),this},statusCode:function(a){var b;if(a)if(k)y.always(a[y.status]);else for(b in a)u[b]=[u[b],a[b]];return this},abort:function(a){var b=a||x;return e&&e.abort(b),A(0,b),this}};if(s.promise(y),o.url=((b||o.url||tb.href)+"").replace(Hb,tb.protocol+"//"),o.type=c.method||c.type||o.method||o.type,o.dataTypes=(o.dataType||"*").toLowerCase().match(L)||[""],null==o.crossDomain){j=d.createElement("a");try{j.href=o.url,j.href=j.href,o.crossDomain=Lb.protocol+"//"+Lb.host!=j.protocol+"//"+j.host}catch(z){o.crossDomain=!0}}if(o.data&&o.processData&&"string"!=typeof o.data&&(o.data=r.param(o.data,o.traditional)),Nb(Ib,o,c,y),k)return y;l=r.event&&o.global,l&&0===r.active++&&r.event.trigger("ajaxStart"),o.type=o.type.toUpperCase(),o.hasContent=!Gb.test(o.type),f=o.url.replace(Cb,""),o.hasContent?o.data&&o.processData&&0===(o.contentType||"").indexOf("application/x-www-form-urlencoded")&&(o.data=o.data.replace(Bb,"+")):(n=o.url.slice(f.length),o.data&&(f+=(vb.test(f)?"&":"?")+o.data,delete o.data),o.cache===!1&&(f=f.replace(Db,"$1"),n=(vb.test(f)?"&":"?")+"_="+ub++ +n),o.url=f+n),o.ifModified&&(r.lastModified[f]&&y.setRequestHeader("If-Modified-Since",r.lastModified[f]),r.etag[f]&&y.setRequestHeader("If-None-Match",r.etag[f])),(o.data&&o.hasContent&&o.contentType!==!1||c.contentType)&&y.setRequestHeader("Content-Type",o.contentType),y.setRequestHeader("Accept",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+("*"!==o.dataTypes[0]?", "+Kb+"; q=0.01":""):o.accepts["*"]);for(m in o.headers)y.setRequestHeader(m,o.headers[m]);if(o.beforeSend&&(o.beforeSend.call(p,y,o)===!1||k))return y.abort();if(x="abort",t.add(o.complete),y.done(o.success),y.fail(o.error),e=Nb(Jb,o,c,y)){if(y.readyState=1,l&&q.trigger("ajaxSend",[y,o]),k)return y;o.async&&o.timeout>0&&(i=a.setTimeout(function(){y.abort("timeout")},o.timeout));try{k=!1,e.send(v,A)}catch(z){if(k)throw z;A(-1,z)}}else A(-1,"No Transport");function A(b,c,d,h){var j,m,n,v,w,x=c;k||(k=!0,i&&a.clearTimeout(i),e=void 0,g=h||"",y.readyState=b>0?4:0,j=b>=200&&b<300||304===b,d&&(v=Pb(o,y,d)),v=Qb(o,v,y,j),j?(o.ifModified&&(w=y.getResponseHeader("Last-Modified"),w&&(r.lastModified[f]=w),w=y.getResponseHeader("etag"),w&&(r.etag[f]=w)),204===b||"HEAD"===o.type?x="nocontent":304===b?x="notmodified":(x=v.state,m=v.data,n=v.error,j=!n)):(n=x,!b&&x||(x="error",b<0&&(b=0))),y.status=b,y.statusText=(c||x)+"",j?s.resolveWith(p,[m,x,y]):s.rejectWith(p,[y,x,n]),y.statusCode(u),u=void 0,l&&q.trigger(j?"ajaxSuccess":"ajaxError",[y,o,j?m:n]),t.fireWith(p,[y,x]),l&&(q.trigger("ajaxComplete",[y,o]),--r.active||r.event.trigger("ajaxStop")))}return y},getJSON:function(a,b,c){return r.get(a,b,c,"json")},getScript:function(a,b){return r.get(a,void 0,b,"script")}}),r.each(["get","post"],function(a,b){r[b]=function(a,c,d,e){return r.isFunction(c)&&(e=e||d,d=c,c=void 0),r.ajax(r.extend({url:a,type:b,dataType:e,data:c,success:d},r.isPlainObject(a)&&a))}}),r._evalUrl=function(a){return r.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},r.fn.extend({wrapAll:function(a){var b;return this[0]&&(r.isFunction(a)&&(a=a.call(this[0])),b=r(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return r.isFunction(a)?this.each(function(b){r(this).wrapInner(a.call(this,b))}):this.each(function(){var b=r(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=r.isFunction(a);return this.each(function(c){r(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(a){return!r.expr.pseudos.visible(a)},r.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Rb={0:200,1223:204},Sb=r.ajaxSettings.xhr();o.cors=!!Sb&&"withCredentials"in Sb,o.ajax=Sb=!!Sb,r.ajaxTransport(function(b){var c,d;if(o.cors||Sb&&!b.crossDomain)return{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,"abort"===a?h.abort():"error"===a?"number"!=typeof h.status?f(0,"error"):f(h.status,h.statusText):f(Rb[h.status]||h.status,h.statusText,"text"!==(h.responseType||"text")||"string"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c("error"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),r.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),r.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return r.globalEval(a),a}}}),r.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),r.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=r(" 14 | 15 | 16 | 17 |
18 |
19 |
20 |

21 | Steam雲激活 22 |

23 |
24 |
25 |
26 |
27 |
28 | 29 | 服务器信息 30 |
31 |
32 |
33 |

服务器名称: 34 | 未连接 35 |

36 | 连接状态: 37 | 41 | 45 | 46 | 已断开 47 | 48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 | 账号信息 56 |
57 |
58 |
59 |

Steam用户名: 60 | 61 | 请先登录 62 | 63 |

64 | IP地理位置: 65 | 67 | —— 68 | 69 |
70 |
71 |
72 |
73 | 94 | 117 |
118 | 119 | 120 | 欢迎使用云激活~ 请先登录Steam账号 121 | 122 | 123 |
124 | 129 | 130 |
131 |
132 |
133 |
134 | 135 |
136 |
137 | 138 | 139 |
140 |
141 |
142 |
143 | 144 |
145 |
146 | 147 | 148 |
149 |
150 |
151 |
152 | 153 |
154 |
155 | 156 | 157 |
158 |
159 |
160 | 161 |
162 | 165 |
166 |
167 |
168 |
169 | 170 | 186 | 187 |
188 | 189 | 210 | 225 |
226 |
227 | 243 |
244 | 245 |
246 |
247 |
248 | 249 |
250 | 251 |
252 |
253 |
254 |
255 |
256 | Designed and built with 257 | by 258 | 259 | Makazeu. 260 |
261 | 262 |
263 | Find me on 264 | Weibo or 265 | Steam. Code on 266 | Github. 268 |
269 |
270 |
271 | 272 | 273 | 274 | 275 | 276 | -------------------------------------------------------------------------------- /web.js: -------------------------------------------------------------------------------- 1 | const express = require('express'); 2 | const hbs = require('hbs'); 3 | const path = require('path'); 4 | 5 | module.exports = app => { 6 | // read config file 7 | let version; 8 | try { 9 | version = require('./version').version; 10 | } catch (err) { 11 | version = 'UnknownVersion'; 12 | } 13 | 14 | // template engine 15 | app.set('view engine', 'hbs'); 16 | 17 | // static files 18 | app.use(express.static(path.join(__dirname, 'public'))); 19 | 20 | // routes 21 | app.get('/', (req, res) => { 22 | res.render('index', { 23 | appVersion: version, 24 | nodeVersion: process.version, 25 | }); 26 | }); 27 | }; 28 | -------------------------------------------------------------------------------- /ws.js: -------------------------------------------------------------------------------- 1 | const WebSocket = require('ws'); 2 | const domain = require('domain'); 3 | const SteamUser = require('./steam'); 4 | const poster = require('./post'); 5 | const config = require('./config'); 6 | const resultEnum = require('./Eresult'); 7 | const purchaseResultEnum = require('./EPurchaseResult'); 8 | 9 | module.exports = server => { 10 | const wss = new WebSocket.Server({server}); 11 | wss.on('connection', ws => { 12 | wsSend(ws, { 13 | action: 'connect', 14 | result: 'success', 15 | server: config ? config.name : 'Unknown', 16 | }); 17 | 18 | let steamClient = new SteamUser(); 19 | steamClient.setWebSocket(ws); 20 | 21 | ws.on('message', message => dispatchMessage(ws, steamClient, message)); 22 | ws.on('close', () => steamClient.logOff()); 23 | }); 24 | }; 25 | 26 | function dispatchMessage(ws, steam, message) { 27 | let data = parseJSON(message); 28 | if (!data.action) return; 29 | 30 | switch (data.action) { 31 | case 'ping': 32 | pong(ws, data); 33 | break; 34 | case 'logOn': 35 | doLogOn(ws, steam, data); 36 | break; 37 | case 'authCode': 38 | doAuth(ws, steam, data); 39 | break; 40 | case 'redeem': 41 | doRedeem(ws, steam, data); 42 | break; 43 | default: 44 | return; 45 | } 46 | } 47 | 48 | function pong(ws, data) { 49 | wsSend(ws, { 50 | action: 'pong', 51 | count: data.count || 0, 52 | }); 53 | } 54 | 55 | function doLogOn(ws, steam, data) { 56 | runSafely(ws, 'logOn', () => { 57 | steam.logOn({ 58 | accountName: data.username.trim(), 59 | password: data.password.trim(), 60 | twoFactorCode: data.authcode.trim(), 61 | rememberPassword: false, 62 | dontRememberMachine: true, 63 | }); 64 | }); 65 | steam.once('accountInfo', (name, country) => { 66 | wsSend(ws, { 67 | action: 'logOn', 68 | result: 'success', 69 | detail: { 70 | name: name, 71 | country: country, 72 | }, 73 | }); 74 | }) 75 | } 76 | 77 | function doAuth(ws, steam, data) { 78 | if (!data.authCode || data.authCode.trim() === '') { 79 | wsSendError(ws, 'logOn', 'AuthCodeError'); 80 | return; 81 | } 82 | runSafely(ws, 'logOn', () => steam.emit('inputAuthCode', data.authCode)); 83 | } 84 | 85 | function doRedeem(ws, steam, data) { 86 | runSafely(ws, 'redeem', () => { 87 | data.keys.forEach(async key => redeemKey(steam, key).then(res => { 88 | wsSend(ws, res); 89 | if (config && config.enableLog) { 90 | for (let subId in res.detail.packages) { 91 | if (res.detail.packages.hasOwnProperty(subId)) { 92 | poster(config.postUrl, subId, res.detail.packages[subId], config.id); 93 | break; 94 | } 95 | } 96 | } 97 | })); 98 | }); 99 | } 100 | 101 | function redeemKey(steam, key) { 102 | return new Promise(resolve => { 103 | steam.redeemKey(key, (result, detail, packages) => { 104 | resolve({ 105 | action: 'redeem', 106 | detail: { 107 | key: key, 108 | result: resultEnum[result], 109 | detail: purchaseResultEnum[detail], 110 | packages: packages, 111 | }, 112 | }); 113 | }); 114 | }) 115 | } 116 | 117 | function wsSendError(ws, action, message) { 118 | wsSend(ws, { 119 | action: action, 120 | result: 'failed', 121 | message: message 122 | }); 123 | } 124 | 125 | function wsSend(ws, stuff) { 126 | try { 127 | let data = typeof stuff === 'string' ? stuff : JSON.stringify(stuff); 128 | ws.send(data); 129 | } catch (error) { 130 | // do nothing... 131 | } 132 | } 133 | 134 | function runSafely(ws, action, runnable, ...parameters) { 135 | let dm = domain.create(); 136 | dm.on('error', err => wsSendError(ws, action, err.message || 'something went wrong...')); 137 | parameters && parameters.forEach(p => dm.add(p)); 138 | dm.run(runnable); 139 | } 140 | 141 | function parseJSON(json, defaultValue = {}) { 142 | try { 143 | return JSON.parse(json); 144 | } catch (ex) { 145 | return defaultValue; 146 | } 147 | } 148 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@doctormckay/proxy-agent@^1.0.0": 6 | version "1.0.0" 7 | resolved "https://registry.yarnpkg.com/@doctormckay/proxy-agent/-/proxy-agent-1.0.0.tgz#93f17d460db046294d5fcbff230a3391d570f695" 8 | 9 | "@doctormckay/stats-reporter@^1.0.0", "@doctormckay/stats-reporter@^1.0.3": 10 | version "1.0.4" 11 | resolved "https://registry.yarnpkg.com/@doctormckay/stats-reporter/-/stats-reporter-1.0.4.tgz#daa1e42f0e728c6fb5b9fb9e148f1610677c7740" 12 | 13 | "@doctormckay/steam-crypto@^1.2.0": 14 | version "1.2.0" 15 | resolved "https://registry.yarnpkg.com/@doctormckay/steam-crypto/-/steam-crypto-1.2.0.tgz#2b123c1e98034f3c8c6b90109e35fc4276e086b0" 16 | 17 | accepts@~1.3.5: 18 | version "1.3.5" 19 | resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.5.tgz#eb777df6011723a3b14e8a72c0805c8e86746bd2" 20 | dependencies: 21 | mime-types "~2.1.18" 22 | negotiator "0.6.1" 23 | 24 | adm-zip@^0.4.7: 25 | version "0.4.9" 26 | resolved "https://registry.yarnpkg.com/adm-zip/-/adm-zip-0.4.9.tgz#1a574627d3aa4ea6b8b4948e066cbd6fed4ae2f6" 27 | 28 | ajv@^5.1.0: 29 | version "5.5.2" 30 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.2.tgz#73b5eeca3fab653e3d3f9422b341ad42205dc965" 31 | dependencies: 32 | co "^4.6.0" 33 | fast-deep-equal "^1.0.0" 34 | fast-json-stable-stringify "^2.0.0" 35 | json-schema-traverse "^0.3.0" 36 | 37 | align-text@^0.1.1, align-text@^0.1.3: 38 | version "0.1.4" 39 | resolved "https://registry.yarnpkg.com/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117" 40 | dependencies: 41 | kind-of "^3.0.2" 42 | longest "^1.0.1" 43 | repeat-string "^1.5.2" 44 | 45 | amdefine@>=0.0.4: 46 | version "1.0.1" 47 | resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" 48 | 49 | ansi-regex@^2.0.0: 50 | version "2.1.1" 51 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 52 | 53 | appdirectory@^0.1.0: 54 | version "0.1.0" 55 | resolved "https://registry.yarnpkg.com/appdirectory/-/appdirectory-0.1.0.tgz#eb6c816320e7b2ab16f5ed997f28d8205df56375" 56 | 57 | array-flatten@1.1.1: 58 | version "1.1.1" 59 | resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" 60 | 61 | ascli@~1: 62 | version "1.0.1" 63 | resolved "https://registry.yarnpkg.com/ascli/-/ascli-1.0.1.tgz#bcfa5974a62f18e81cabaeb49732ab4a88f906bc" 64 | dependencies: 65 | colour "~0.7.1" 66 | optjs "~3.2.2" 67 | 68 | asn1@~0.2.3: 69 | version "0.2.3" 70 | resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" 71 | 72 | assert-plus@1.0.0, assert-plus@^1.0.0: 73 | version "1.0.0" 74 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" 75 | 76 | async-limiter@~1.0.0: 77 | version "1.0.0" 78 | resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8" 79 | 80 | async@^1.4.0, async@^1.4.2: 81 | version "1.5.2" 82 | resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" 83 | 84 | async@^2.5.0: 85 | version "2.6.0" 86 | resolved "https://registry.yarnpkg.com/async/-/async-2.6.0.tgz#61a29abb6fcc026fea77e56d1c6ec53a795951f4" 87 | dependencies: 88 | lodash "^4.14.0" 89 | 90 | asynckit@^0.4.0: 91 | version "0.4.0" 92 | resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" 93 | 94 | aws-sign2@~0.7.0: 95 | version "0.7.0" 96 | resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" 97 | 98 | aws4@^1.6.0: 99 | version "1.7.0" 100 | resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.7.0.tgz#d4d0e9b9dbfca77bf08eeb0a8a471550fe39e289" 101 | 102 | balanced-match@^1.0.0: 103 | version "1.0.0" 104 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" 105 | 106 | bcrypt-pbkdf@^1.0.0: 107 | version "1.0.1" 108 | resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d" 109 | dependencies: 110 | tweetnacl "^0.14.3" 111 | 112 | binarykvparser@^2.2.0: 113 | version "2.2.0" 114 | resolved "https://registry.yarnpkg.com/binarykvparser/-/binarykvparser-2.2.0.tgz#b1c2a1a7d5935e2352081cc78e6720ec87cb1d05" 115 | dependencies: 116 | long "^3.2.0" 117 | 118 | body-parser@1.18.2: 119 | version "1.18.2" 120 | resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.18.2.tgz#87678a19d84b47d859b83199bd59bce222b10454" 121 | dependencies: 122 | bytes "3.0.0" 123 | content-type "~1.0.4" 124 | debug "2.6.9" 125 | depd "~1.1.1" 126 | http-errors "~1.6.2" 127 | iconv-lite "0.4.19" 128 | on-finished "~2.3.0" 129 | qs "6.5.1" 130 | raw-body "2.3.2" 131 | type-is "~1.6.15" 132 | 133 | brace-expansion@^1.1.7: 134 | version "1.1.11" 135 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" 136 | dependencies: 137 | balanced-match "^1.0.0" 138 | concat-map "0.0.1" 139 | 140 | buffer-crc32@^0.2.13: 141 | version "0.2.13" 142 | resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" 143 | 144 | bytebuffer@^5.0.0, bytebuffer@^5.0.1, bytebuffer@~5: 145 | version "5.0.1" 146 | resolved "https://registry.yarnpkg.com/bytebuffer/-/bytebuffer-5.0.1.tgz#582eea4b1a873b6d020a48d58df85f0bba6cfddd" 147 | dependencies: 148 | long "~3" 149 | 150 | bytes@3.0.0: 151 | version "3.0.0" 152 | resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" 153 | 154 | camelcase@^1.0.2: 155 | version "1.2.1" 156 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39" 157 | 158 | camelcase@^2.0.1: 159 | version "2.1.1" 160 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-2.1.1.tgz#7c1d16d679a1bbe59ca02cacecfb011e201f5a1f" 161 | 162 | caseless@~0.12.0: 163 | version "0.12.0" 164 | resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" 165 | 166 | center-align@^0.1.1: 167 | version "0.1.3" 168 | resolved "https://registry.yarnpkg.com/center-align/-/center-align-0.1.3.tgz#aa0d32629b6ee972200411cbd4461c907bc2b7ad" 169 | dependencies: 170 | align-text "^0.1.3" 171 | lazy-cache "^1.0.3" 172 | 173 | cliui@^2.1.0: 174 | version "2.1.0" 175 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" 176 | dependencies: 177 | center-align "^0.1.1" 178 | right-align "^0.1.1" 179 | wordwrap "0.0.2" 180 | 181 | cliui@^3.0.3: 182 | version "3.2.0" 183 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d" 184 | dependencies: 185 | string-width "^1.0.1" 186 | strip-ansi "^3.0.1" 187 | wrap-ansi "^2.0.0" 188 | 189 | co@^4.6.0: 190 | version "4.6.0" 191 | resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" 192 | 193 | code-point-at@^1.0.0: 194 | version "1.1.0" 195 | resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" 196 | 197 | colour@~0.7.1: 198 | version "0.7.1" 199 | resolved "https://registry.yarnpkg.com/colour/-/colour-0.7.1.tgz#9cb169917ec5d12c0736d3e8685746df1cadf778" 200 | 201 | combined-stream@1.0.6, combined-stream@~1.0.5: 202 | version "1.0.6" 203 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.6.tgz#723e7df6e801ac5613113a7e445a9b69cb632818" 204 | dependencies: 205 | delayed-stream "~1.0.0" 206 | 207 | concat-map@0.0.1: 208 | version "0.0.1" 209 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 210 | 211 | content-disposition@0.5.2: 212 | version "0.5.2" 213 | resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.2.tgz#0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4" 214 | 215 | content-type@~1.0.4: 216 | version "1.0.4" 217 | resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" 218 | 219 | cookie-signature@1.0.6: 220 | version "1.0.6" 221 | resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" 222 | 223 | cookie@0.3.1: 224 | version "0.3.1" 225 | resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb" 226 | 227 | core-util-is@1.0.2: 228 | version "1.0.2" 229 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 230 | 231 | cuint@^0.2.1: 232 | version "0.2.2" 233 | resolved "https://registry.yarnpkg.com/cuint/-/cuint-0.2.2.tgz#408086d409550c2631155619e9fa7bcadc3b991b" 234 | 235 | dashdash@^1.12.0: 236 | version "1.14.1" 237 | resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" 238 | dependencies: 239 | assert-plus "^1.0.0" 240 | 241 | debug@2.6.9: 242 | version "2.6.9" 243 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" 244 | dependencies: 245 | ms "2.0.0" 246 | 247 | decamelize@^1.0.0, decamelize@^1.1.1: 248 | version "1.2.0" 249 | resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" 250 | 251 | delayed-stream@~1.0.0: 252 | version "1.0.0" 253 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 254 | 255 | depd@1.1.1: 256 | version "1.1.1" 257 | resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.1.tgz#5783b4e1c459f06fa5ca27f991f3d06e7a310359" 258 | 259 | depd@~1.1.1, depd@~1.1.2: 260 | version "1.1.2" 261 | resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" 262 | 263 | destroy@~1.0.4: 264 | version "1.0.4" 265 | resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" 266 | 267 | ecc-jsbn@~0.1.1: 268 | version "0.1.1" 269 | resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" 270 | dependencies: 271 | jsbn "~0.1.0" 272 | 273 | ee-first@1.1.1: 274 | version "1.1.1" 275 | resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" 276 | 277 | encodeurl@~1.0.2: 278 | version "1.0.2" 279 | resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" 280 | 281 | escape-html@~1.0.3: 282 | version "1.0.3" 283 | resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" 284 | 285 | etag@~1.8.1: 286 | version "1.8.1" 287 | resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" 288 | 289 | express@^4.16.3: 290 | version "4.16.3" 291 | resolved "https://registry.yarnpkg.com/express/-/express-4.16.3.tgz#6af8a502350db3246ecc4becf6b5a34d22f7ed53" 292 | dependencies: 293 | accepts "~1.3.5" 294 | array-flatten "1.1.1" 295 | body-parser "1.18.2" 296 | content-disposition "0.5.2" 297 | content-type "~1.0.4" 298 | cookie "0.3.1" 299 | cookie-signature "1.0.6" 300 | debug "2.6.9" 301 | depd "~1.1.2" 302 | encodeurl "~1.0.2" 303 | escape-html "~1.0.3" 304 | etag "~1.8.1" 305 | finalhandler "1.1.1" 306 | fresh "0.5.2" 307 | merge-descriptors "1.0.1" 308 | methods "~1.1.2" 309 | on-finished "~2.3.0" 310 | parseurl "~1.3.2" 311 | path-to-regexp "0.1.7" 312 | proxy-addr "~2.0.3" 313 | qs "6.5.1" 314 | range-parser "~1.2.0" 315 | safe-buffer "5.1.1" 316 | send "0.16.2" 317 | serve-static "1.13.2" 318 | setprototypeof "1.1.0" 319 | statuses "~1.4.0" 320 | type-is "~1.6.16" 321 | utils-merge "1.0.1" 322 | vary "~1.1.2" 323 | 324 | extend@~3.0.1: 325 | version "3.0.1" 326 | resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" 327 | 328 | extsprintf@1.3.0: 329 | version "1.3.0" 330 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" 331 | 332 | extsprintf@^1.2.0: 333 | version "1.4.0" 334 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" 335 | 336 | fast-deep-equal@^1.0.0: 337 | version "1.1.0" 338 | resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz#c053477817c86b51daa853c81e059b733d023614" 339 | 340 | fast-json-stable-stringify@^2.0.0: 341 | version "2.0.0" 342 | resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" 343 | 344 | file-manager@^1.0.1: 345 | version "1.0.1" 346 | resolved "https://registry.yarnpkg.com/file-manager/-/file-manager-1.0.1.tgz#c99c9275e4a8c8daf5def151f6b51405521e817a" 347 | dependencies: 348 | async "^1.4.2" 349 | 350 | finalhandler@1.1.1: 351 | version "1.1.1" 352 | resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.1.tgz#eebf4ed840079c83f4249038c9d703008301b105" 353 | dependencies: 354 | debug "2.6.9" 355 | encodeurl "~1.0.2" 356 | escape-html "~1.0.3" 357 | on-finished "~2.3.0" 358 | parseurl "~1.3.2" 359 | statuses "~1.4.0" 360 | unpipe "~1.0.0" 361 | 362 | foreachasync@^3.0.0: 363 | version "3.0.0" 364 | resolved "https://registry.yarnpkg.com/foreachasync/-/foreachasync-3.0.0.tgz#5502987dc8714be3392097f32e0071c9dee07cf6" 365 | 366 | forever-agent@~0.6.1: 367 | version "0.6.1" 368 | resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" 369 | 370 | form-data@~2.3.1: 371 | version "2.3.2" 372 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.2.tgz#4970498be604c20c005d4f5c23aecd21d6b49099" 373 | dependencies: 374 | asynckit "^0.4.0" 375 | combined-stream "1.0.6" 376 | mime-types "^2.1.12" 377 | 378 | forwarded@~0.1.2: 379 | version "0.1.2" 380 | resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.1.2.tgz#98c23dab1175657b8c0573e8ceccd91b0ff18c84" 381 | 382 | fresh@0.5.2: 383 | version "0.5.2" 384 | resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" 385 | 386 | fs.realpath@^1.0.0: 387 | version "1.0.0" 388 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 389 | 390 | getpass@^0.1.1: 391 | version "0.1.7" 392 | resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" 393 | dependencies: 394 | assert-plus "^1.0.0" 395 | 396 | glob@^7.0.5: 397 | version "7.1.2" 398 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" 399 | dependencies: 400 | fs.realpath "^1.0.0" 401 | inflight "^1.0.4" 402 | inherits "2" 403 | minimatch "^3.0.4" 404 | once "^1.3.0" 405 | path-is-absolute "^1.0.0" 406 | 407 | handlebars@4.0.5: 408 | version "4.0.5" 409 | resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.5.tgz#92c6ed6bb164110c50d4d8d0fbddc70806c6f8e7" 410 | dependencies: 411 | async "^1.4.0" 412 | optimist "^0.6.1" 413 | source-map "^0.4.4" 414 | optionalDependencies: 415 | uglify-js "^2.6" 416 | 417 | har-schema@^2.0.0: 418 | version "2.0.0" 419 | resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" 420 | 421 | har-validator@~5.0.3: 422 | version "5.0.3" 423 | resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.0.3.tgz#ba402c266194f15956ef15e0fcf242993f6a7dfd" 424 | dependencies: 425 | ajv "^5.1.0" 426 | har-schema "^2.0.0" 427 | 428 | hbs@^4.0.1: 429 | version "4.0.1" 430 | resolved "https://registry.yarnpkg.com/hbs/-/hbs-4.0.1.tgz#4bfd98650dc8c9dac44b3ca9adf9c098e8bc33b6" 431 | dependencies: 432 | handlebars "4.0.5" 433 | walk "2.3.9" 434 | 435 | http-errors@1.6.2: 436 | version "1.6.2" 437 | resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.2.tgz#0a002cc85707192a7e7946ceedc11155f60ec736" 438 | dependencies: 439 | depd "1.1.1" 440 | inherits "2.0.3" 441 | setprototypeof "1.0.3" 442 | statuses ">= 1.3.1 < 2" 443 | 444 | http-errors@~1.6.2: 445 | version "1.6.3" 446 | resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d" 447 | dependencies: 448 | depd "~1.1.2" 449 | inherits "2.0.3" 450 | setprototypeof "1.1.0" 451 | statuses ">= 1.4.0 < 2" 452 | 453 | http-signature@~1.2.0: 454 | version "1.2.0" 455 | resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" 456 | dependencies: 457 | assert-plus "^1.0.0" 458 | jsprim "^1.2.2" 459 | sshpk "^1.7.0" 460 | 461 | iconv-lite@0.4.19: 462 | version "0.4.19" 463 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b" 464 | 465 | inflight@^1.0.4: 466 | version "1.0.6" 467 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 468 | dependencies: 469 | once "^1.3.0" 470 | wrappy "1" 471 | 472 | inherits@2, inherits@2.0.3: 473 | version "2.0.3" 474 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 475 | 476 | inherits@2.0.1: 477 | version "2.0.1" 478 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" 479 | 480 | invert-kv@^1.0.0: 481 | version "1.0.0" 482 | resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" 483 | 484 | ipaddr.js@1.6.0: 485 | version "1.6.0" 486 | resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.6.0.tgz#e3fa357b773da619f26e95f049d055c72796f86b" 487 | 488 | is-buffer@^1.1.5: 489 | version "1.1.6" 490 | resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" 491 | 492 | is-fullwidth-code-point@^1.0.0: 493 | version "1.0.0" 494 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" 495 | dependencies: 496 | number-is-nan "^1.0.0" 497 | 498 | is-typedarray@~1.0.0: 499 | version "1.0.0" 500 | resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" 501 | 502 | isstream@~0.1.2: 503 | version "0.1.2" 504 | resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" 505 | 506 | jsbn@~0.1.0: 507 | version "0.1.1" 508 | resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" 509 | 510 | json-schema-traverse@^0.3.0: 511 | version "0.3.1" 512 | resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6d44c53a51de89b40805c5d5e59b417d3340" 513 | 514 | json-schema@0.2.3: 515 | version "0.2.3" 516 | resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" 517 | 518 | json-stringify-safe@~5.0.1: 519 | version "5.0.1" 520 | resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" 521 | 522 | jsprim@^1.2.2: 523 | version "1.4.1" 524 | resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" 525 | dependencies: 526 | assert-plus "1.0.0" 527 | extsprintf "1.3.0" 528 | json-schema "0.2.3" 529 | verror "1.10.0" 530 | 531 | kind-of@^3.0.2: 532 | version "3.2.2" 533 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" 534 | dependencies: 535 | is-buffer "^1.1.5" 536 | 537 | lazy-cache@^1.0.3: 538 | version "1.0.4" 539 | resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" 540 | 541 | lcid@^1.0.0: 542 | version "1.0.0" 543 | resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" 544 | dependencies: 545 | invert-kv "^1.0.0" 546 | 547 | lodash@^4.14.0: 548 | version "4.17.10" 549 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7" 550 | 551 | long@^3.2.0, long@~3: 552 | version "3.2.0" 553 | resolved "https://registry.yarnpkg.com/long/-/long-3.2.0.tgz#d821b7138ca1cb581c172990ef14db200b5c474b" 554 | 555 | longest@^1.0.1: 556 | version "1.0.1" 557 | resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" 558 | 559 | lzma@^2.3.2: 560 | version "2.3.2" 561 | resolved "https://registry.yarnpkg.com/lzma/-/lzma-2.3.2.tgz#3783b24858b9c0e747a0df3cbf1fb5fcaa92c441" 562 | 563 | media-typer@0.3.0: 564 | version "0.3.0" 565 | resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" 566 | 567 | merge-descriptors@1.0.1: 568 | version "1.0.1" 569 | resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" 570 | 571 | methods@~1.1.2: 572 | version "1.1.2" 573 | resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" 574 | 575 | mime-db@~1.33.0: 576 | version "1.33.0" 577 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.33.0.tgz#a3492050a5cb9b63450541e39d9788d2272783db" 578 | 579 | mime-types@^2.1.12, mime-types@~2.1.17, mime-types@~2.1.18: 580 | version "2.1.18" 581 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.18.tgz#6f323f60a83d11146f831ff11fd66e2fe5503bb8" 582 | dependencies: 583 | mime-db "~1.33.0" 584 | 585 | mime@1.4.1: 586 | version "1.4.1" 587 | resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6" 588 | 589 | minimatch@^3.0.4: 590 | version "3.0.4" 591 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" 592 | dependencies: 593 | brace-expansion "^1.1.7" 594 | 595 | minimist@~0.0.1: 596 | version "0.0.10" 597 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" 598 | 599 | ms@2.0.0: 600 | version "2.0.0" 601 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 602 | 603 | negotiator@0.6.1: 604 | version "0.6.1" 605 | resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9" 606 | 607 | number-is-nan@^1.0.0: 608 | version "1.0.1" 609 | resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" 610 | 611 | oauth-sign@~0.8.2: 612 | version "0.8.2" 613 | resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" 614 | 615 | on-finished@~2.3.0: 616 | version "2.3.0" 617 | resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" 618 | dependencies: 619 | ee-first "1.1.1" 620 | 621 | once@^1.3.0: 622 | version "1.4.0" 623 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 624 | dependencies: 625 | wrappy "1" 626 | 627 | optimist@^0.6.1: 628 | version "0.6.1" 629 | resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686" 630 | dependencies: 631 | minimist "~0.0.1" 632 | wordwrap "~0.0.2" 633 | 634 | optjs@~3.2.2: 635 | version "3.2.2" 636 | resolved "https://registry.yarnpkg.com/optjs/-/optjs-3.2.2.tgz#69a6ce89c442a44403141ad2f9b370bd5bb6f4ee" 637 | 638 | os-locale@^1.4.0: 639 | version "1.4.0" 640 | resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9" 641 | dependencies: 642 | lcid "^1.0.0" 643 | 644 | parseurl@~1.3.2: 645 | version "1.3.2" 646 | resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.2.tgz#fc289d4ed8993119460c156253262cdc8de65bf3" 647 | 648 | path-is-absolute@^1.0.0: 649 | version "1.0.1" 650 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 651 | 652 | path-to-regexp@0.1.7: 653 | version "0.1.7" 654 | resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" 655 | 656 | path@^0.12.7: 657 | version "0.12.7" 658 | resolved "https://registry.yarnpkg.com/path/-/path-0.12.7.tgz#d4dc2a506c4ce2197eb481ebfcd5b36c0140b10f" 659 | dependencies: 660 | process "^0.11.1" 661 | util "^0.10.3" 662 | 663 | performance-now@^2.1.0: 664 | version "2.1.0" 665 | resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" 666 | 667 | permessage-deflate@^0.1.5: 668 | version "0.1.6" 669 | resolved "https://registry.yarnpkg.com/permessage-deflate/-/permessage-deflate-0.1.6.tgz#581f1cedfbd440fac47d0777be88633386b992de" 670 | 671 | process@^0.11.1: 672 | version "0.11.10" 673 | resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" 674 | 675 | protobufjs@^5.0.2: 676 | version "5.0.2" 677 | resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-5.0.2.tgz#59748d7dcf03d2db22c13da9feb024e16ab80c91" 678 | dependencies: 679 | ascli "~1" 680 | bytebuffer "~5" 681 | glob "^7.0.5" 682 | yargs "^3.10.0" 683 | 684 | proxy-addr@~2.0.3: 685 | version "2.0.3" 686 | resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.3.tgz#355f262505a621646b3130a728eb647e22055341" 687 | dependencies: 688 | forwarded "~0.1.2" 689 | ipaddr.js "1.6.0" 690 | 691 | punycode@^1.4.1: 692 | version "1.4.1" 693 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" 694 | 695 | qs@6.5.1, qs@~6.5.1: 696 | version "6.5.1" 697 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8" 698 | 699 | range-parser@~1.2.0: 700 | version "1.2.0" 701 | resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e" 702 | 703 | raw-body@2.3.2: 704 | version "2.3.2" 705 | resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.2.tgz#bcd60c77d3eb93cde0050295c3f379389bc88f89" 706 | dependencies: 707 | bytes "3.0.0" 708 | http-errors "1.6.2" 709 | iconv-lite "0.4.19" 710 | unpipe "1.0.0" 711 | 712 | repeat-string@^1.5.2: 713 | version "1.6.1" 714 | resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" 715 | 716 | request@^2.87.0: 717 | version "2.87.0" 718 | resolved "https://registry.yarnpkg.com/request/-/request-2.87.0.tgz#32f00235cd08d482b4d0d68db93a829c0ed5756e" 719 | dependencies: 720 | aws-sign2 "~0.7.0" 721 | aws4 "^1.6.0" 722 | caseless "~0.12.0" 723 | combined-stream "~1.0.5" 724 | extend "~3.0.1" 725 | forever-agent "~0.6.1" 726 | form-data "~2.3.1" 727 | har-validator "~5.0.3" 728 | http-signature "~1.2.0" 729 | is-typedarray "~1.0.0" 730 | isstream "~0.1.2" 731 | json-stringify-safe "~5.0.1" 732 | mime-types "~2.1.17" 733 | oauth-sign "~0.8.2" 734 | performance-now "^2.1.0" 735 | qs "~6.5.1" 736 | safe-buffer "^5.1.1" 737 | tough-cookie "~2.3.3" 738 | tunnel-agent "^0.6.0" 739 | uuid "^3.1.0" 740 | 741 | right-align@^0.1.1: 742 | version "0.1.3" 743 | resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" 744 | dependencies: 745 | align-text "^0.1.1" 746 | 747 | safe-buffer@5.1.1: 748 | version "5.1.1" 749 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" 750 | 751 | safe-buffer@^5.0.1, safe-buffer@^5.1.1: 752 | version "5.1.2" 753 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" 754 | 755 | sax@>=0.6.0: 756 | version "1.2.4" 757 | resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" 758 | 759 | send@0.16.2: 760 | version "0.16.2" 761 | resolved "https://registry.yarnpkg.com/send/-/send-0.16.2.tgz#6ecca1e0f8c156d141597559848df64730a6bbc1" 762 | dependencies: 763 | debug "2.6.9" 764 | depd "~1.1.2" 765 | destroy "~1.0.4" 766 | encodeurl "~1.0.2" 767 | escape-html "~1.0.3" 768 | etag "~1.8.1" 769 | fresh "0.5.2" 770 | http-errors "~1.6.2" 771 | mime "1.4.1" 772 | ms "2.0.0" 773 | on-finished "~2.3.0" 774 | range-parser "~1.2.0" 775 | statuses "~1.4.0" 776 | 777 | serve-static@1.13.2: 778 | version "1.13.2" 779 | resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.13.2.tgz#095e8472fd5b46237db50ce486a43f4b86c6cec1" 780 | dependencies: 781 | encodeurl "~1.0.2" 782 | escape-html "~1.0.3" 783 | parseurl "~1.3.2" 784 | send "0.16.2" 785 | 786 | setprototypeof@1.0.3: 787 | version "1.0.3" 788 | resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.0.3.tgz#66567e37043eeb4f04d91bd658c0cbefb55b8e04" 789 | 790 | setprototypeof@1.1.0: 791 | version "1.1.0" 792 | resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" 793 | 794 | source-map@^0.4.4: 795 | version "0.4.4" 796 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b" 797 | dependencies: 798 | amdefine ">=0.0.4" 799 | 800 | source-map@~0.5.1: 801 | version "0.5.7" 802 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" 803 | 804 | sshpk@^1.7.0: 805 | version "1.14.1" 806 | resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.14.1.tgz#130f5975eddad963f1d56f92b9ac6c51fa9f83eb" 807 | dependencies: 808 | asn1 "~0.2.3" 809 | assert-plus "^1.0.0" 810 | dashdash "^1.12.0" 811 | getpass "^0.1.1" 812 | optionalDependencies: 813 | bcrypt-pbkdf "^1.0.0" 814 | ecc-jsbn "~0.1.1" 815 | jsbn "~0.1.0" 816 | tweetnacl "~0.14.0" 817 | 818 | "statuses@>= 1.3.1 < 2", "statuses@>= 1.4.0 < 2": 819 | version "1.5.0" 820 | resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" 821 | 822 | statuses@~1.4.0: 823 | version "1.4.0" 824 | resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.4.0.tgz#bb73d446da2796106efcc1b601a253d6c46bd087" 825 | 826 | steam-client@^2.5.4: 827 | version "2.5.7" 828 | resolved "https://registry.yarnpkg.com/steam-client/-/steam-client-2.5.7.tgz#c278b5757d28107993360cef34f5138833d46cbe" 829 | dependencies: 830 | "@doctormckay/proxy-agent" "^1.0.0" 831 | "@doctormckay/steam-crypto" "^1.2.0" 832 | async "^2.5.0" 833 | buffer-crc32 "^0.2.13" 834 | bytebuffer "^5.0.0" 835 | protobufjs "^5.0.2" 836 | websocket13 "^1.6.1" 837 | 838 | steam-totp@^1.4.1: 839 | version "1.5.0" 840 | resolved "https://registry.yarnpkg.com/steam-totp/-/steam-totp-1.5.0.tgz#417146c20f0d9a13e8d15e7421129fac9f3ef939" 841 | dependencies: 842 | "@doctormckay/stats-reporter" "^1.0.0" 843 | 844 | "steam-user@git+https://github.com/DoctorMcKay/node-steam-user.git": 845 | version "3.27.1" 846 | resolved "git+https://github.com/DoctorMcKay/node-steam-user.git#febb37c2ee4c7436f1a577870003a68e94cba5a2" 847 | dependencies: 848 | "@doctormckay/proxy-agent" "^1.0.0" 849 | "@doctormckay/stats-reporter" "^1.0.3" 850 | "@doctormckay/steam-crypto" "^1.2.0" 851 | adm-zip "^0.4.7" 852 | appdirectory "^0.1.0" 853 | async "^2.5.0" 854 | binarykvparser "^2.2.0" 855 | buffer-crc32 "^0.2.13" 856 | bytebuffer "^5.0.0" 857 | file-manager "^1.0.1" 858 | lzma "^2.3.2" 859 | protobufjs "^5.0.2" 860 | steam-client "^2.5.4" 861 | steam-totp "^1.4.1" 862 | steamid "^1.1.0" 863 | vdf "^0.0.2" 864 | 865 | steamid@^1.1.0: 866 | version "1.1.0" 867 | resolved "https://registry.yarnpkg.com/steamid/-/steamid-1.1.0.tgz#eccfbf24547f4e9b1d27fcb83da62a6a41139986" 868 | dependencies: 869 | cuint "^0.2.1" 870 | 871 | string-width@^1.0.1: 872 | version "1.0.2" 873 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" 874 | dependencies: 875 | code-point-at "^1.0.0" 876 | is-fullwidth-code-point "^1.0.0" 877 | strip-ansi "^3.0.0" 878 | 879 | strip-ansi@^3.0.0, strip-ansi@^3.0.1: 880 | version "3.0.1" 881 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 882 | dependencies: 883 | ansi-regex "^2.0.0" 884 | 885 | tough-cookie@~2.3.3: 886 | version "2.3.4" 887 | resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.4.tgz#ec60cee38ac675063ffc97a5c18970578ee83655" 888 | dependencies: 889 | punycode "^1.4.1" 890 | 891 | tunnel-agent@^0.6.0: 892 | version "0.6.0" 893 | resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" 894 | dependencies: 895 | safe-buffer "^5.0.1" 896 | 897 | tweetnacl@^0.14.3, tweetnacl@~0.14.0: 898 | version "0.14.5" 899 | resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" 900 | 901 | type-is@~1.6.15, type-is@~1.6.16: 902 | version "1.6.16" 903 | resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.16.tgz#f89ce341541c672b25ee7ae3c73dee3b2be50194" 904 | dependencies: 905 | media-typer "0.3.0" 906 | mime-types "~2.1.18" 907 | 908 | uglify-js@^2.6: 909 | version "2.8.29" 910 | resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd" 911 | dependencies: 912 | source-map "~0.5.1" 913 | yargs "~3.10.0" 914 | optionalDependencies: 915 | uglify-to-browserify "~1.0.0" 916 | 917 | uglify-to-browserify@~1.0.0: 918 | version "1.0.2" 919 | resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7" 920 | 921 | unpipe@1.0.0, unpipe@~1.0.0: 922 | version "1.0.0" 923 | resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" 924 | 925 | util@*, util@^0.10.3: 926 | version "0.10.3" 927 | resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" 928 | dependencies: 929 | inherits "2.0.1" 930 | 931 | utils-merge@1.0.1: 932 | version "1.0.1" 933 | resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" 934 | 935 | uuid@^3.1.0: 936 | version "3.2.1" 937 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.2.1.tgz#12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14" 938 | 939 | vary@~1.1.2: 940 | version "1.1.2" 941 | resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" 942 | 943 | vdf@^0.0.2: 944 | version "0.0.2" 945 | resolved "https://registry.yarnpkg.com/vdf/-/vdf-0.0.2.tgz#bdeea7bcddec7fafc8cdc58c32ae84c725c27e14" 946 | dependencies: 947 | util "*" 948 | 949 | verror@1.10.0: 950 | version "1.10.0" 951 | resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" 952 | dependencies: 953 | assert-plus "^1.0.0" 954 | core-util-is "1.0.2" 955 | extsprintf "^1.2.0" 956 | 957 | walk@2.3.9: 958 | version "2.3.9" 959 | resolved "https://registry.yarnpkg.com/walk/-/walk-2.3.9.tgz#31b4db6678f2ae01c39ea9fb8725a9031e558a7b" 960 | dependencies: 961 | foreachasync "^3.0.0" 962 | 963 | websocket-extensions@^0.1.1: 964 | version "0.1.3" 965 | resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.3.tgz#5d2ff22977003ec687a4b87073dfbbac146ccf29" 966 | 967 | websocket13@^1.6.1: 968 | version "1.7.1" 969 | resolved "https://registry.yarnpkg.com/websocket13/-/websocket13-1.7.1.tgz#4b10e1df45e0d665a0a907511a3dd4044e228dfc" 970 | dependencies: 971 | "@doctormckay/proxy-agent" "^1.0.0" 972 | bytebuffer "^5.0.1" 973 | permessage-deflate "^0.1.5" 974 | websocket-extensions "^0.1.1" 975 | 976 | window-size@0.1.0: 977 | version "0.1.0" 978 | resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d" 979 | 980 | window-size@^0.1.4: 981 | version "0.1.4" 982 | resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.4.tgz#f8e1aa1ee5a53ec5bf151ffa09742a6ad7697876" 983 | 984 | wordwrap@0.0.2: 985 | version "0.0.2" 986 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" 987 | 988 | wordwrap@~0.0.2: 989 | version "0.0.3" 990 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" 991 | 992 | wrap-ansi@^2.0.0: 993 | version "2.1.0" 994 | resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" 995 | dependencies: 996 | string-width "^1.0.1" 997 | strip-ansi "^3.0.1" 998 | 999 | wrappy@1: 1000 | version "1.0.2" 1001 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 1002 | 1003 | ws@^6.0.0: 1004 | version "6.0.0" 1005 | resolved "https://registry.yarnpkg.com/ws/-/ws-6.0.0.tgz#eaa494aded00ac4289d455bac8d84c7c651cef35" 1006 | dependencies: 1007 | async-limiter "~1.0.0" 1008 | 1009 | xml2js@^0.4.19: 1010 | version "0.4.19" 1011 | resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.19.tgz#686c20f213209e94abf0d1bcf1efaa291c7827a7" 1012 | dependencies: 1013 | sax ">=0.6.0" 1014 | xmlbuilder "~9.0.1" 1015 | 1016 | xmlbuilder@~9.0.1: 1017 | version "9.0.7" 1018 | resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-9.0.7.tgz#132ee63d2ec5565c557e20f4c22df9aca686b10d" 1019 | 1020 | y18n@^3.2.0: 1021 | version "3.2.1" 1022 | resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" 1023 | 1024 | yargs@^3.10.0: 1025 | version "3.32.0" 1026 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.32.0.tgz#03088e9ebf9e756b69751611d2a5ef591482c995" 1027 | dependencies: 1028 | camelcase "^2.0.1" 1029 | cliui "^3.0.3" 1030 | decamelize "^1.1.1" 1031 | os-locale "^1.4.0" 1032 | string-width "^1.0.1" 1033 | window-size "^0.1.4" 1034 | y18n "^3.2.0" 1035 | 1036 | yargs@~3.10.0: 1037 | version "3.10.0" 1038 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1" 1039 | dependencies: 1040 | camelcase "^1.0.2" 1041 | cliui "^2.1.0" 1042 | decamelize "^1.0.0" 1043 | window-size "0.1.0" 1044 | --------------------------------------------------------------------------------