xiaomianao666

小程序:Iconfont

Sep 23rd, 2024
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@Iconfont@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoiSWNvbmZvbnQiLCJhdXRob3IiOiJUeXJhbnRHZW5lc2lzIiwidXJsIjoiaHR0cHM6Ly93d3cuaWNvbmZvbnQuY24vYXBpL2NvbGxlY3Rpb25zLmpzb24/dHlwZT1meWNsYXNzJnNvcnQ9Znlzb3J0JmxpbWl0PTgmcGFnZT1meXBhZ2UiLCJ2ZXJzaW9uIjoxLCJjb2xfdHlwZSI6Im1vdmllXzMiLCJjbGFzc19uYW1lIjoi5omA5pyJ5Zu+5qCH5bqTJuWumOaWueWbvuagh+W6kyblpJroibLlm77moIflupMm5Y2V6Imy5Zu+5qCH5bqTIiwidHlwZSI6Im90aGVyIiwiY2xhc3NfdXJsIjoiMyYxJjImNCIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoi5pe26Ze0JueCuei1nuaVsCbmlLbol4/mlbAm5Zu+5qCH5pWwJuiuv+mXrumHjyIsInllYXJfbmFtZSI6IiIsInNvcnRfdXJsIjoidGltZSZsaWtlJmZhdm9yaXRlJmljb24mdmlzaXQiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxuJC5yZXF1aXJlKCdoaWtlcjovL3BhZ2UvSWNvbmZvbnQnKS5iYXNlUGFyc2UoKSIsInNlYXJjaF91cmwiOiIiLCJncm91cCI6IlR5cmFudEciLCJzZWFyY2hGaW5kIjoiIiwiZGV0YWlsX2NvbF90eXBlIjoibW92aWVfMSIsImRldGFpbF9maW5kX3J1bGUiOiIiLCJzZGV0YWlsX2NvbF90eXBlIjoibW92aWVfMSIsInNkZXRhaWxfZmluZF9ydWxlIjoiIiwidWEiOiJtb2JpbGUiLCJwcmVSdWxlIjoiIiwicGFnZXMiOiJbe1wibmFtZVwiOlwiSWNvbmZvbnRcIixcInBhdGhcIjpcIkljb25mb250XCIsXCJydWxlXCI6XCJjb25zdCBJY29uZm9udCA9IHtcXG4gICAgZW1wdHk6ICdoaWtlcjovL2VtcHR5JyxcXG4gICAgZDogW10sXFxuICAgIGZpbGVzOiB7XFxuICAgICAgICBsaWtlczogXFxcImhpa2VyOi8vZmlsZXMvcnVsZXMvanMvVHlyYW50R2VuZXNpc19JY29uZm9udOaUtuiXjy5qc1xcXCIsXFxuICAgIH0sXFxuICAgIGNvbGxlY3Rpb25MaXN0UGFyc2U6IChsaXN0KSA9PiB7XFxuICAgICAgICBsaXN0LmZvckVhY2goaXRlbSA9PiB7XFxuICAgICAgICAgICAgSWNvbmZvbnQuZC5wdXNoKFxcbiAgICAgICAgICAgICAgICB7XFxuICAgICAgICAgICAgICAgICAgICB0aXRsZTogaXRlbS5Vc2VyLm5pY2tuYW1lLFxcbiAgICAgICAgICAgICAgICAgICAgdXJsOiAkKEljb25mb250LmVtcHR5KS5ydWxlKChpZCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IEljb25mb250ID0gJC5yZXF1aXJlKCdoaWtlcjovL3BhZ2UvSWNvbmZvbnQnKVxcbiAgICAgICAgICAgICAgICAgICAgICAgIEljb25mb250LnVzZXJQYXJzZShpZClcXG4gICAgICAgICAgICAgICAgICAgICAgICBzZXRSZXN1bHQoSWNvbmZvbnQuZClcXG4gICAgICAgICAgICAgICAgICAgIH0sIGl0ZW0uVXNlci5pZCksXFxuICAgICAgICAgICAgICAgICAgICBwaWNfdXJsOiAnaHR0cHM6JytpdGVtLlVzZXIuYXZhdGFyKydAUmVmZXJlcj1odHRwczovL3d3dy5pY29uZm9udC5jbi8nLFxcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6ICdhdmF0YXInLFxcbiAgICAgICAgICAgICAgICB9LFxcbiAgICAgICAgICAgICAgICB7XFxuICAgICAgICAgICAgICAgICAgICB0aXRsZTogJ+Wbvuagh+mbhu+8micraXRlbS5uYW1lLFxcbiAgICAgICAgICAgICAgICAgICAgdXJsOiAkKEljb25mb250LmVtcHR5KS5ydWxlKChpZCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IEljb25mb250ID0gJC5yZXF1aXJlKCdoaWtlcjovL3BhZ2UvSWNvbmZvbnQnKVxcbiAgICAgICAgICAgICAgICAgICAgICAgIEljb25mb250LmNvbGxlY3Rpb25QYXJzZShpZClcXG4gICAgICAgICAgICAgICAgICAgICAgICBzZXRSZXN1bHQoSWNvbmZvbnQuZClcXG4gICAgICAgICAgICAgICAgICAgIH0sIGl0ZW0uaWQpLFxcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6ICd0ZXh0XzEnLFxcbiAgICAgICAgICAgICAgICAgICAgZXh0cmE6IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBsaW5lVmlzaWJsZTogZmFsc2UsXFxuICAgICAgICAgICAgICAgICAgICB9LFxcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgKVxcbiAgICAgICAgICAgIGl0ZW0uaWNvbnMuZm9yRWFjaChpY29uID0+IHtcXG4gICAgICAgICAgICAgICAgbGV0IHN2Z191cmwgPSAnaHR0cHM6Ly9pY29uZm9udC50eXJhbnRnLmNvbS9hcGkvaWxsdXN0cmF0ZS5zdmc/c3ZnX3N0cmluZz0nK2VuY29kZVVSSUNvbXBvbmVudChpY29uLnNob3dfc3ZnKVxcbiAgICAgICAgICAgICAgICBJY29uZm9udC5kLnB1c2goe1xcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6IGljb24ubmFtZSxcXG4gICAgICAgICAgICAgICAgICAgIHVybDogJChJY29uZm9udC5lbXB0eSkucnVsZSgobmFtZSwgc2hvd19zdmcpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBJY29uZm9udCA9ICQucmVxdWlyZSgnaGlrZXI6Ly9wYWdlL0ljb25mb250JylcXG4gICAgICAgICAgICAgICAgICAgICAgICBJY29uZm9udC5pY29uUGFyc2UobmFtZSwgc2hvd19zdmcpXFxuICAgICAgICAgICAgICAgICAgICAgICAgc2V0UmVzdWx0KEljb25mb250LmQpXFxuICAgICAgICAgICAgICAgICAgICB9LCBpY29uLm5hbWUsIGljb24uc2hvd19zdmcpLFxcbiAgICAgICAgICAgICAgICAgICAgcGljX3VybDogc3ZnX3VybCxcXG4gICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnaWNvbl81JyxcXG4gICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICB9KVxcbiAgICAgICAgICAgIEljb25mb250LmQucHVzaCh7XFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnbGluZV9ibGFuaydcXG4gICAgICAgICAgICB9KVxcbiAgICAgICAgfSlcXG4gICAgfSxcXG4gICAgdXNlclBhcnNlOiAodWlkKSA9PiB7XFxuICAgICAgICBjb25zdCB1cmwgPSAnaHR0cHM6Ly93d3cuaWNvbmZvbnQuY24vYXBpL3VzZXIvY29sbGVjdGlvbnMuanNvbj91aWQ9Jyt1aWQrJyZ0eXBlPWljb24nXFxuICAgICAgICBjb25zdCBqc29uID0gSlNPTi5wYXJzZShmZXRjaCh1cmwpKVxcbiAgICAgICAgY29uc3QgbGlzdCA9IGpzb24uZGF0YS5jb2xsZWN0aW9uc1xcblxcbiAgICAgICAgbGlzdC5mb3JFYWNoKGl0ZW0gPT4ge1xcbiAgICAgICAgICAgIGlmIChpdGVtLmhhc19zZWNyZXQgPT09IDApIHtcXG4gICAgICAgICAgICAgICAgSWNvbmZvbnQuZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiAn5Zu+5qCH6ZuG77yaJytpdGVtLm5hbWUsXFxuICAgICAgICAgICAgICAgICAgICB1cmw6ICQoSWNvbmZvbnQuZW1wdHkpLnJ1bGUoKGlkKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgSWNvbmZvbnQgPSAkLnJlcXVpcmUoJ2hpa2VyOi8vcGFnZS9JY29uZm9udCcpXFxuICAgICAgICAgICAgICAgICAgICAgICAgSWNvbmZvbnQuY29sbGVjdGlvblBhcnNlKGlkKVxcbiAgICAgICAgICAgICAgICAgICAgICAgIHNldFJlc3VsdChJY29uZm9udC5kKVxcbiAgICAgICAgICAgICAgICAgICAgfSwgaXRlbS5pZCksXFxuICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ3RleHRfMScsXFxuICAgICAgICAgICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGxpbmVWaXNpYmxlOiBmYWxzZSxcXG4gICAgICAgICAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgICAgIGl0ZW0uaWNvbnMuZm9yRWFjaChpY29uID0+IHtcXG4gICAgICAgICAgICAgICAgICAgIGxldCBzdmdfdXJsID0gJ2h0dHBzOi8vaWNvbmZvbnQudHlyYW50Zy5jb20vYXBpL2lsbHVzdHJhdGUuc3ZnP3N2Z19zdHJpbmc9JytlbmNvZGVVUklDb21wb25lbnQoaWNvbi5zaG93X3N2ZylcXG4gICAgICAgICAgICAgICAgICAgIEljb25mb250LmQucHVzaCh7XFxuICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6IGljb24ubmFtZSxcXG4gICAgICAgICAgICAgICAgICAgICAgICB1cmw6ICQoSWNvbmZvbnQuZW1wdHkpLnJ1bGUoKG5hbWUsIHNob3dfc3ZnKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IEljb25mb250ID0gJC5yZXF1aXJlKCdoaWtlcjovL3BhZ2UvSWNvbmZvbnQnKVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBJY29uZm9udC5pY29uUGFyc2UobmFtZSwgc2hvd19zdmcpXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNldFJlc3VsdChJY29uZm9udC5kKVxcbiAgICAgICAgICAgICAgICAgICAgICAgIH0sIGljb24ubmFtZSwgaWNvbi5zaG93X3N2ZyksXFxuICAgICAgICAgICAgICAgICAgICAgICAgcGljX3VybDogc3ZnX3VybCxcXG4gICAgICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ2ljb25fNScsXFxuICAgICAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgICAgICBJY29uZm9udC5kLnB1c2goe1xcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6ICdsaW5lX2JsYW5rJ1xcbiAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgIH1cXG4gICAgICAgIH0pXFxuICAgIH0sXFxuICAgIGljb25QYXJzZTogKG5hbWUsIHN2Z191cmwpID0+IHtcXG4gICAgICAgIGxldCB0cnVlX3N2Z191cmwgPSAnaHR0cHM6Ly9pY29uZm9udC50eXJhbnRnLmNvbS9hcGkvaWxsdXN0cmF0ZS5zdmc/c3ZnX3N0cmluZz0nK2VuY29kZVVSSUNvbXBvbmVudChzdmdfdXJsKVxcbiAgICAgICAgSWNvbmZvbnQuZC5wdXNoKFxcbiAgICAgICAgICAgIHtcXG4gICAgICAgICAgICAgICAgdXJsOiAnY29weTovLycrdHJ1ZV9zdmdfdXJsLFxcbiAgICAgICAgICAgICAgICBwaWNfdXJsOiB0cnVlX3N2Z191cmwsXFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAncGljXzFfZnVsbCcsXFxuICAgICAgICAgICAgfSxcXG4gICAgICAgICAgICB7XFxuICAgICAgICAgICAgICAgIHRpdGxlOiAn5aSN5Yi25Zu+5qCHJyxcXG4gICAgICAgICAgICAgICAgdXJsOiAnY29weTovLycrdHJ1ZV9zdmdfdXJsLFxcbiAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ3RleHRfY2VudGVyXzEnLFxcbiAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAge1xcbiAgICAgICAgICAgICAgICB0aXRsZTogJ+WkjeWItlNWRycsXFxuICAgICAgICAgICAgICAgIHVybDogJ2NvcHk6Ly8nK3N2Z191cmwsXFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAndGV4dF9jZW50ZXJfMScsXFxuICAgICAgICAgICAgfSxcXG4gICAgICAgICAgICB7XFxuICAgICAgICAgICAgICAgIHRpdGxlOiAn5pS26JeP5Zu+5qCHJyxcXG4gICAgICAgICAgICAgICAgdXJsOiAkKHRydWVfc3ZnX3VybCkubGF6eVJ1bGUoKG5hbWUsIHN2Z191cmwpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IEljb25mb250ID0gJC5yZXF1aXJlKCdoaWtlcjovL3BhZ2UvSWNvbmZvbnQnKVxcbiAgICAgICAgICAgICAgICAgICAgbGV0IGF0dGVudGlvbiA9IG5hbWUrJyQkJCcrc3ZnX3VybFxcblxcbiAgICAgICAgICAgICAgICAgICAgaWYgKCEgZmlsZUV4aXN0KEljb25mb250LmZpbGVzLmxpa2VzKSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHdyaXRlRmlsZShJY29uZm9udC5maWxlcy5saWtlcywgYXR0ZW50aW9uKVxcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICB3cml0ZUZpbGUoSWNvbmZvbnQuZmlsZXMubGlrZXMsIGZldGNoKEljb25mb250LmZpbGVzLmxpa2VzKStcXFwiXFxcXG5cXFwiK2F0dGVudGlvbilcXG4gICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKGZhbHNlKVxcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFxcXCJ0b2FzdDovL+aUtuiXj+aIkOWKn1xcXCJcXG4gICAgICAgICAgICAgICAgfSwgbmFtZSwgc3ZnX3VybCksXFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAndGV4dF9jZW50ZXJfMScsXFxuICAgICAgICAgICAgfSxcXG4gICAgICAgIClcXG4gICAgfSxcXG4gICAgY29sbGVjdGlvblBhcnNlOiAoaWQpID0+IHtcXG4gICAgICAgIGNvbnN0IHVybCA9ICdodHRwczovL3d3dy5pY29uZm9udC5jbi9hcGkvY29sbGVjdGlvbi9kZXRhaWwuanNvbj9pZD0nK2lkXFxuICAgICAgICBjb25zdCBqc29uID0gSlNPTi5wYXJzZShmZXRjaCh1cmwpKVxcbiAgICAgICAgY29uc3QgbGlzdCA9IGpzb24uZGF0YS5pY29uc1xcblxcbiAgICAgICAgbGlzdC5mb3JFYWNoKGljb24gPT4ge1xcbiAgICAgICAgICAgIGxldCBzdmdfdXJsID0gJ2h0dHBzOi8vaWNvbmZvbnQudHlyYW50Zy5jb20vYXBpL2lsbHVzdHJhdGUuc3ZnP3N2Z19zdHJpbmc9JytlbmNvZGVVUklDb21wb25lbnQoaWNvbi5zaG93X3N2ZylcXG4gICAgICAgICAgICBJY29uZm9udC5kLnB1c2goe1xcbiAgICAgICAgICAgICAgICB0aXRsZTogaWNvbi5uYW1lLFxcbiAgICAgICAgICAgICAgICB1cmw6ICQoSWNvbmZvbnQuZW1wdHkpLnJ1bGUoKG5hbWUsIHNob3dfc3ZnKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICBjb25zdCBJY29uZm9udCA9ICQucmVxdWlyZSgnaGlrZXI6Ly9wYWdlL0ljb25mb250JylcXG4gICAgICAgICAgICAgICAgICAgIEljb25mb250Lmljb25QYXJzZShuYW1lLCBzaG93X3N2ZylcXG4gICAgICAgICAgICAgICAgICAgIHNldFJlc3VsdChJY29uZm9udC5kKVxcbiAgICAgICAgICAgICAgICB9LCBpY29uLm5hbWUsIGljb24uc2hvd19zdmcpLFxcbiAgICAgICAgICAgICAgICBwaWNfdXJsOiBzdmdfdXJsLFxcbiAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ2ljb25fNScsXFxuICAgICAgICAgICAgfSlcXG4gICAgICAgIH0pXFxuICAgIH0sXFxuICAgIGJhc2VQYXJzZTogKCkgPT4ge1xcbiAgICAgICAgY29uc3QganNvbiA9IEpTT04ucGFyc2UoZ2V0UmVzQ29kZSgpKVxcblxcbiAgICAgICAgaWYgKHBhcnNlSW50KE1ZX1BBR0UpID09PSAxKSB7XFxuICAgICAgICAgICAgSWNvbmZvbnQuZC5wdXNoKFxcbiAgICAgICAgICAgICAgICB7XFxuICAgICAgICAgICAgICAgICAgICB1cmw6ICQoSWNvbmZvbnQuZW1wdHkrXFxcIiNmdWxsVGhlbWUjJCRmeXBhZ2VcXFwiKS5ydWxlKCgpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBJY29uZm9udCA9ICQucmVxdWlyZSgnaGlrZXI6Ly9wYWdlL0ljb25mb250JylcXG4gICAgICAgICAgICAgICAgICAgICAgICBJY29uZm9udC5pY29uU2VhcmNoUGFyc2UoKVxcbiAgICAgICAgICAgICAgICAgICAgICAgIHNldFJlc3VsdChJY29uZm9udC5kKVxcbiAgICAgICAgICAgICAgICAgICAgfSksXFxuICAgICAgICAgICAgICAgICAgICBwaWNfdXJsOiAnaHR0cHM6Ly9pY29uZm9udC50eXJhbnRnLmNvbS9zZWFyY2guc3ZnJyxcXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiAn5Y2V5Zu+5qCH5pCc57SiJyxcXG4gICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiBcXFwiaWNvbl80XFxcIixcXG4gICAgICAgICAgICAgICAgfSxcXG4gICAgICAgICAgICAgICAge1xcbiAgICAgICAgICAgICAgICAgICAgdXJsOiAkKEljb25mb250LmVtcHR5K1xcXCIjZnVsbFRoZW1lIyQkZnlwYWdlXFxcIikucnVsZSgoKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgSWNvbmZvbnQgPSAkLnJlcXVpcmUoJ2hpa2VyOi8vcGFnZS9JY29uZm9udCcpXFxuICAgICAgICAgICAgICAgICAgICAgICAgSWNvbmZvbnQuY29sbGVjdGlvblNlYXJjaFBhcnNlKClcXG4gICAgICAgICAgICAgICAgICAgICAgICBzZXRSZXN1bHQoSWNvbmZvbnQuZClcXG4gICAgICAgICAgICAgICAgICAgIH0pLFxcbiAgICAgICAgICAgICAgICAgICAgcGljX3VybDogJ2h0dHBzOi8vaWNvbmZvbnQudHlyYW50Zy5jb20vY29sbGVjdGlvbi5zdmcnLFxcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6ICflm77moIfpm4bmkJzntKInLFxcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6IFxcXCJpY29uXzRcXFwiLFxcbiAgICAgICAgICAgICAgICB9LFxcbiAgICAgICAgICAgICAgICB7XFxuICAgICAgICAgICAgICAgICAgICB1cmw6ICQoSWNvbmZvbnQuZW1wdHkpLnJ1bGUoKCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IEljb25mb250ID0gJC5yZXF1aXJlKCdoaWtlcjovL3BhZ2UvSWNvbmZvbnQnKVxcbiAgICAgICAgICAgICAgICAgICAgICAgIEljb25mb250Lmxpa2VzUGFyc2UoKVxcbiAgICAgICAgICAgICAgICAgICAgICAgIHNldFJlc3VsdChJY29uZm9udC5kKVxcbiAgICAgICAgICAgICAgICAgICAgfSksXFxuICAgICAgICAgICAgICAgICAgICBwaWNfdXJsOiAnaHR0cHM6Ly9pY29uZm9udC50eXJhbnRnLmNvbS9saWtlLnN2ZycsXFxuICAgICAgICAgICAgICAgICAgICB0aXRsZTogJ+aUtuiXj+WbvuaghycsXFxuICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogXFxcImljb25fNFxcXCIsXFxuICAgICAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgICAgIC8vIHtcXG4gICAgICAgICAgICAgICAgLy8gICAgIHVybDogJChJY29uZm9udC5lbXB0eStcXFwiI2Z1bGxUaGVtZSMkJGZ5cGFnZVxcXCIpLnJ1bGUoKCkgPT4ge1xcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgIGNvbnN0IEljb25mb250ID0gJC5yZXF1aXJlKCdoaWtlcjovL3BhZ2UvSWNvbmZvbnQnKVxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgIEljb25mb250Lmxpa2VzUGFyc2UoKVxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgIHNldFJlc3VsdChJY29uZm9udC5kKVxcbiAgICAgICAgICAgICAgICAvLyAgICAgfSksXFxuICAgICAgICAgICAgICAgIC8vICAgICBwaWNfdXJsOiAnaHR0cHM6Ly9pY29uZm9udC50eXJhbnRnLmNvbS90b29sLnN2ZycsXFxuICAgICAgICAgICAgICAgIC8vICAgICB0aXRsZTogJ+W3peWFtycsXFxuICAgICAgICAgICAgICAgIC8vICAgICBjb2xfdHlwZTogXFxcImljb25fNFxcXCIsXFxuICAgICAgICAgICAgICAgIC8vIH0sXFxuICAgICAgICAgICAgICAgIHtcXG4gICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnbGluZV9ibGFuaydcXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIClcXG4gICAgICAgIH1cXG5cXG4gICAgICAgIEljb25mb250LmNvbGxlY3Rpb25MaXN0UGFyc2UoanNvbi5kYXRhLmxpc3RzKVxcbiAgICAgICAgc2V0UmVzdWx0KEljb25mb250LmQpXFxuICAgIH0sXFxuICAgIGNvbGxlY3Rpb25TZWFyY2hQYXJzZTogKCkgPT4ge1xcbiAgICAgICAgYWRkTGlzdGVuZXIoJ29uQ2xvc2UnLCAkLnRvU3RyaW5nKCgpID0+IHtcXG4gICAgICAgICAgICBjbGVhckl0ZW0oJ3NlYXJjaFZhbHVlJylcXG4gICAgICAgIH0pKVxcblxcbiAgICAgICAgY29uc3QgcGFnZSA9IE1ZX1VSTC5zcGxpdCgnJCQnKVsxXVxcblxcbiAgICAgICAgaWYgKHBhcnNlSW50KHBhZ2UpID09PSAxKSB7XFxuICAgICAgICAgICAgSWNvbmZvbnQuZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgdGl0bGU6ICfmkJzntKInLFxcbiAgICAgICAgICAgICAgICB1cmw6ICQudG9TdHJpbmcoKCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgc2V0SXRlbSgnc2VhcmNoVmFsdWUnLCBpbnB1dClcXG4gICAgICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKGZhbHNlKVxcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFxcXCJoaWtlcjovL2VtcHR5XFxcIlxcbiAgICAgICAgICAgICAgICB9KSxcXG4gICAgICAgICAgICAgICAgZGVzYzogJ+ivt+i+k+WFpeWFs+mUruivjScsXFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnaW5wdXQnLFxcbiAgICAgICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgICAgICAgICAgZGVmYXVsdFZhbHVlOiBnZXRJdGVtKCdzZWFyY2hWYWx1ZScsICcnKSxcXG4gICAgICAgICAgICAgICAgICAgIG9uQ2hhbmdlOiAkLnRvU3RyaW5nKCgpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoZ2V0SXRlbSgnc2VhcmNoVmFsdWUnLCAnJykgJiYgIWlucHV0KSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsZWFySXRlbSgnc2VhcmNoVmFsdWUnKVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZWZyZXNoUGFnZShmYWxzZSlcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFxcXCJoaWtlcjovL2VtcHR5XFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9KVxcbiAgICAgICAgfVxcblxcbiAgICAgICAgY29uc3QgdXJsID0gJ2h0dHBzOi8vd3d3Lmljb25mb250LmNuL2FwaS9jb2xsZWN0aW9ucy5qc29uP3R5cGU9MyZzb3J0PXRpbWUmbGltaXQ9OCZwYWdlPScrcGFnZSsnJmtleXdvcmQ9JytnZXRJdGVtKCdzZWFyY2hWYWx1ZScsICcnKVxcbiAgICAgICAgY29uc3QganNvbiA9IEpTT04ucGFyc2UoZmV0Y2godXJsKSlcXG4gICAgICAgIEljb25mb250LmNvbGxlY3Rpb25MaXN0UGFyc2UoanNvbi5kYXRhLmxpc3RzKVxcbiAgICAgICAgc2V0UmVzdWx0KEljb25mb250LmQpXFxuICAgIH0sXFxuICAgIGljb25TZWFyY2hQYXJzZTogKCkgPT4ge1xcbiAgICAgICAgYWRkTGlzdGVuZXIoJ29uQ2xvc2UnLCAkLnRvU3RyaW5nKCgpID0+IHtcXG4gICAgICAgICAgICBjbGVhckl0ZW0oJ3NlYXJjaFZhbHVlJylcXG4gICAgICAgIH0pKVxcblxcbiAgICAgICAgY29uc3QgcGFnZSA9IE1ZX1VSTC5zcGxpdCgnJCQnKVsxXVxcblxcbiAgICAgICAgaWYgKHBhcnNlSW50KHBhZ2UpID09PSAxKSB7XFxuICAgICAgICAgICAgSWNvbmZvbnQuZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgdGl0bGU6ICfmkJzntKInLFxcbiAgICAgICAgICAgICAgICB1cmw6ICQudG9TdHJpbmcoKCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgc2V0SXRlbSgnc2VhcmNoVmFsdWUnLCBpbnB1dClcXG4gICAgICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKGZhbHNlKVxcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFxcXCJoaWtlcjovL2VtcHR5XFxcIlxcbiAgICAgICAgICAgICAgICB9KSxcXG4gICAgICAgICAgICAgICAgZGVzYzogJ+ivt+i+k+WFpeWFs+mUruivjScsXFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnaW5wdXQnLFxcbiAgICAgICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgICAgICAgICAgZGVmYXVsdFZhbHVlOiBnZXRJdGVtKCdzZWFyY2hWYWx1ZScsICcnKSxcXG4gICAgICAgICAgICAgICAgICAgIG9uQ2hhbmdlOiAkLnRvU3RyaW5nKCgpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoZ2V0SXRlbSgnc2VhcmNoVmFsdWUnLCAnJykgJiYgIWlucHV0KSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsZWFySXRlbSgnc2VhcmNoVmFsdWUnKVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZWZyZXNoUGFnZShmYWxzZSlcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFxcXCJoaWtlcjovL2VtcHR5XFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9KVxcbiAgICAgICAgfVxcblxcbiAgICAgICAgaWYgKGdldEl0ZW0oJ3NlYXJjaFZhbHVlJywgJycpICE9PSAnJykge1xcbiAgICAgICAgICAgIGNvbnN0IGpzb24gPSBKU09OLnBhcnNlKGZldGNoKCdodHRwczovL3d3dy5pY29uZm9udC5jbi9hcGkvaWNvbi9zZWFyY2guanNvbicsIHtcXG4gICAgICAgICAgICAgICAgaGVhZGVyczoge1xcbiAgICAgICAgICAgICAgICAgICAgQ29va2llOiAnY3Rva2VuPWN0b2tlbjsnLFxcbiAgICAgICAgICAgICAgICB9LFxcbiAgICAgICAgICAgICAgICBtZXRob2Q6ICdQT1NUJyxcXG4gICAgICAgICAgICAgICAgYm9keToge1xcbiAgICAgICAgICAgICAgICAgICAgcTogZ2V0SXRlbSgnc2VhcmNoVmFsdWUnLCAnJyksXFxuICAgICAgICAgICAgICAgICAgICBzb3J0VHlwZTogJ3VwZGF0ZWRfYXQnLFxcbiAgICAgICAgICAgICAgICAgICAgcGFnZTogcGFnZSxcXG4gICAgICAgICAgICAgICAgICAgIHBhZ2VTaXplOiA2MCxcXG4gICAgICAgICAgICAgICAgICAgIGN0b2tlbjogJ2N0b2tlbicsXFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9KSlcXG5cXG4gICAgICAgICAgICBjb25zdCBsaXN0ID0ganNvbi5kYXRhLmljb25zXFxuXFxuICAgICAgICAgICAgbGlzdC5mb3JFYWNoKGljb24gPT4ge1xcbiAgICAgICAgICAgICAgICBsZXQgc3ZnX3VybCA9ICdodHRwczovL2ljb25mb250LnR5cmFudGcuY29tL2FwaS9pbGx1c3RyYXRlLnN2Zz9zdmdfc3RyaW5nPScrZW5jb2RlVVJJQ29tcG9uZW50KGljb24uc2hvd19zdmcpXFxuICAgICAgICAgICAgICAgIEljb25mb250LmQucHVzaCh7XFxuICAgICAgICAgICAgICAgICAgICB0aXRsZTogaWNvbi5uYW1lLFxcbiAgICAgICAgICAgICAgICAgICAgdXJsOiAkKEljb25mb250LmVtcHR5KS5ydWxlKChuYW1lLCBzaG93X3N2ZykgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IEljb25mb250ID0gJC5yZXF1aXJlKCdoaWtlcjovL3BhZ2UvSWNvbmZvbnQnKVxcbiAgICAgICAgICAgICAgICAgICAgICAgIEljb25mb250Lmljb25QYXJzZShuYW1lLCBzaG93X3N2ZylcXG4gICAgICAgICAgICAgICAgICAgICAgICBzZXRSZXN1bHQoSWNvbmZvbnQuZClcXG4gICAgICAgICAgICAgICAgICAgIH0sIGljb24ubmFtZSwgaWNvbi5zaG93X3N2ZyksXFxuICAgICAgICAgICAgICAgICAgICBwaWNfdXJsOiBzdmdfdXJsLFxcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6ICdpY29uXzUnLFxcbiAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgIH0pXFxuICAgICAgICB9XFxuICAgIH0sXFxuICAgIGxpa2VzUGFyc2U6ICgpID0+IHtcXG4gICAgICAgIGNvbnN0IGxpc3QgPSBmZXRjaChJY29uZm9udC5maWxlcy5saWtlcykuc3BsaXQoXFxcIlxcXFxuXFxcIilcXG5cXG4gICAgICAgIGxpc3QuZm9yRWFjaCgoaWNvbiwgaW5kZXgpID0+IHtcXG4gICAgICAgICAgICBpZiAoaWNvbikge1xcbiAgICAgICAgICAgICAgICBsZXQgW25hbWUsIHN2Z10gPSBpY29uLnNwbGl0KCckJCQnKVxcbiAgICAgICAgICAgICAgICBsZXQgc3ZnX3VybCA9ICdodHRwczovL2ljb25mb250LnR5cmFudGcuY29tL2FwaS9pbGx1c3RyYXRlLnN2Zz9zdmdfc3RyaW5nPScrZW5jb2RlVVJJQ29tcG9uZW50KHN2ZylcXG5cXG4gICAgICAgICAgICAgICAgSWNvbmZvbnQuZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiBuYW1lLFxcbiAgICAgICAgICAgICAgICAgICAgdXJsOiAkKEljb25mb250LmVtcHR5KS5ydWxlKChuYW1lLCBzdmcpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBJY29uZm9udCA9ICQucmVxdWlyZSgnaGlrZXI6Ly9wYWdlL0ljb25mb250JylcXG4gICAgICAgICAgICAgICAgICAgICAgICBJY29uZm9udC5pY29uUGFyc2UobmFtZSwgc3ZnKVxcbiAgICAgICAgICAgICAgICAgICAgICAgIHNldFJlc3VsdChJY29uZm9udC5kKVxcbiAgICAgICAgICAgICAgICAgICAgfSwgbmFtZSwgc3ZnKSxcXG4gICAgICAgICAgICAgICAgICAgIHBpY191cmw6IHN2Z191cmwsXFxuICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ2ljb25fNScsXFxuICAgICAgICAgICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGxvbmdDbGljazogW1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogJ+e9rumhtuWbvuaghycsXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBqczogJC50b1N0cmluZygobGlzdCwgaW5kZXgpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBJY29uZm9udCA9ICQucmVxdWlyZSgnaGlrZXI6Ly9wYWdlL0ljb25mb250JylcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBjdXJyZW50ID0gbGlzdFtpbmRleF1cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsaXN0LnNwbGljZShpbmRleCwgMSlcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsaXN0LnVuc2hpZnQoY3VycmVudClcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3cml0ZUZpbGUoSWNvbmZvbnQuZmlsZXMubGlrZXMsIGxpc3Quam9pbihcXFwiXFxcXG5cXFwiKSlcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZWZyZXNoUGFnZShmYWxzZSlcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gXFxcInRvYXN0Oi8v572u6aG25oiQ5YqfXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSwgbGlzdCwgaW5kZXgpXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiAn5Y+W5raI5pS26JePJyxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGpzOiAkLnRvU3RyaW5nKChsaXN0LCBpbmRleCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IEljb25mb250ID0gJC5yZXF1aXJlKCdoaWtlcjovL3BhZ2UvSWNvbmZvbnQnKVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxpc3Quc3BsaWNlKGluZGV4LCAxKVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdyaXRlRmlsZShJY29uZm9udC5maWxlcy5saWtlcywgbGlzdC5qb2luKFxcXCJcXFxcblxcXCIpKVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKGZhbHNlKVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBcXFwidG9hc3Q6Ly/lj5bmtojmiJDlip9cXFwiXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9LCBsaXN0LCBpbmRleClcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSxcXG4gICAgICAgICAgICAgICAgICAgICAgICBdLFxcbiAgICAgICAgICAgICAgICAgICAgfSxcXG4gICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICB9XFxuICAgICAgICB9KVxcbiAgICB9LFxcbiAgICB0b29sUGFyc2U6ICgpID0+IHtcXG5cXG4gICAgfSxcXG59XFxuXFxuJC5leHBvcnRzID0gSWNvbmZvbnRcXG5cIn1dIiwiaWNvbiI6Imh0dHBzOi8vaWNvbmZvbnQudHlyYW50Zy5jb20vaWNvbi5zdmciLCJwcm94eSI6IiJ9
Add Comment
Please, Sign In to add comment