You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
homestay/minsu/admin/node_modules/.cache/vue-loader/40c0436dd711910ad4151a78f65...

1 line
82 KiB

{"remainingRequest":"D:\\mywork\\buycode\\code1\\springboot301400\\306\\aa\\admin\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\mywork\\buycode\\code1\\springboot301400\\306\\aa\\admin\\src\\views\\modules\\fangjian\\list.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\mywork\\buycode\\code1\\springboot301400\\306\\aa\\admin\\src\\views\\modules\\fangjian\\list.vue","mtime":1649818275659},{"path":"D:\\mywork\\buycode\\code1\\springboot301400\\306\\aa\\admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1720078528573},{"path":"D:\\mywork\\buycode\\code1\\springboot301400\\306\\aa\\admin\\node_modules\\babel-loader\\lib\\index.js","mtime":1720078529261},{"path":"D:\\mywork\\buycode\\code1\\springboot301400\\306\\aa\\admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1720078528573},{"path":"D:\\mywork\\buycode\\code1\\springboot301400\\306\\aa\\admin\\node_modules\\vue-loader\\lib\\index.js","mtime":1720078529317}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCmltcG9ydCBBZGRPclVwZGF0ZSBmcm9tICIuL2FkZC1vci11cGRhdGUiOwppbXBvcnQgc3R5bGVKcyBmcm9tICIuLi8uLi8uLi91dGlscy9zdHlsZS5qcyI7CmltcG9ydCB1dGlsc0pzIGZyb20gIi4uLy4uLy4uL3V0aWxzL3V0aWxzLmpzIjsKCmV4cG9ydCBkZWZhdWx0IHsKICAgIGRhdGEoKSB7CiAgICByZXR1cm4gewogICAgICAgIHNlYXJjaEZvcm06IHsKICAgICAgICAgICAga2V5OiAiIgogICAgICAgIH0sCiAgICAgICAgc2Vzc2lvblRhYmxlIDogIiIsLy/nmbvlvZXotKbmiLfmiYDlnKjooajlkI0KICAgICAgICByb2xlIDogIiIsLy/mnYPpmZAKICAgICAgICB1c2VySWQ6IiIsLy/lvZPliY3nmbvlvZXkurrnmoRpZAovL+e6p+iBlOihqOS4i+aLieahhuaQnOe0ouadoeS7tgovL+W9k+WJjeihqOS4i+aLieahhuaQnOe0ouadoeS7tgogICAgICAgICAgZmFuZ2ppYW5UeXBlc1NlbGVjdFNlYXJjaCA6IFtdLAogICAgICAgIGZvcm06ewogICAgICAgICAgICBpZCA6IG51bGwsCiAgICAgICAgICAgIGZhbmdqaWFuTmFtZSA6IG51bGwsCiAgICAgICAgICAgIGZhbmdqaWFuUGhvdG8gOiBudWxsLAogICAgICAgICAgICBmYW5namlhblRlc2UgOiBudWxsLAogICAgICAgICAgICBmYW5namlhblBlaXpoaSA6IG51bGwsCiAgICAgICAgICAgIGZhbmdqaWFuU2hhbmdwaW4gOiBudWxsLAogICAgICAgICAgICBmYW5namlhbkZ1d3UgOiBudWxsLAogICAgICAgICAgICBmYW5namlhbk1vbmV5IDogbnVsbCwKICAgICAgICAgICAgZmFuZ2ppYW5UeXBlcyA6IG51bGwsCiAgICAgICAgICAgIGZhbmdqaWFuTnVtYmVyIDogbnVsbCwKICAgICAgICAgICAgZmFuZ2ppYW5DbGlja251bSA6IG51bGwsCiAgICAgICAgICAgIGZhbmdqaWFuQ29udGVudCA6IG51bGwsCiAgICAgICAgICAgIGNyZWF0ZVRpbWUgOiBudWxsLAogICAgICAgIH0sCiAgICAgICAgZGF0YUxpc3Q6IFtdLAogICAgICAgIHBhZ2VJbmRleDogMSwKICAgICAgICBwYWdlU2l6ZTogMTAsCiAgICAgICAgdG90YWxQYWdlOiAwLAogICAgICAgIGRhdGFMaXN0TG9hZGluZzogZmFsc2UsCiAgICAgICAgZGF0YUxpc3RTZWxlY3Rpb25zOiBbXSwKICAgICAgICBzaG93RmxhZzogdHJ1ZSwKICAgICAgICBzZnNoVmlzaWFibGU6IGZhbHNlLAogICAgICAgIHNoRm9ybToge30sCiAgICAgICAgY2hhcnRWaXNpYWJsZTogZmFsc2UsCiAgICAgICAgZWNoYXJ0c0RhdGU6IG5ldyBEYXRlKCksLy9lY2hhcnRz55qE5pe26Ze05p+l6K+i5a2X5q61CiAgICAgICAgYWRkT3JVcGRhdGVGbGFnOmZhbHNlLAogICAgICAgIGNvbnRlbnRzOm51bGwsCiAgICAgICAgbGF5b3V0czogJycsCgogICAgICAgIC8v5a+85Ye6ZXhjZWwKICAgICAgICBqc29uX2ZpZWxkczogewogICAgICAgICAgICAvL+e6p+iBlOihqOWtl+autQogICAgICAgICAgICAvL+acrOihqOWtl+autQogICAgICAgICAgICAgICAgICfmiL/pl7TlkI3np7AnOiAiZmFuZ2ppYW5OYW1lIiwKICAgICAgICAgICAgICAgICAn5oi/6Ze05Zu+54mHJzogImZhbmdqaWFuUGhvdG8iLAogICAgICAgICAgICAgICAgICfmiL/pl7TnibnoibInOiAiZmFuZ2ppYW5UZXNlIiwKICAgICAgICAgICAgICAgICAn5oi/6Ze06YWN572uJzogImZhbmdqaWFuUGVpemhpIiwKICAgICAgICAgICAgICAgICAn5o+Q5L6b55qE5ZWG5ZOBJzogImZhbmdqaWFuU2hhbmdwaW4iLAogICAgICAgICAgICAgICAgICfmj5DkvpvnmoTmnI3liqEnOiAiZmFuZ2ppYW5GdXd1IiwKICAgICAgICAgICAgICAgICAn5Lu35qC877yI5aSp77yJJzogImZhbmdqaWFuTW9uZXkiLAogICAgICAgICAgICAgICAgICfmiL/pl7TnsbvlnosnOiAiZmFuZ2ppYW5UeXBlcyIsCiAgICAgICAgICAgICAgICAgJ+aIv+mXtOWJqeS9meaVsOmHjyc6ICJmYW5namlhbk51bWJlciIsCiAgICAgICAgICAgICAgICAgJ+eCueWHu+asoeaVsCc6ICJmYW5namlhbkNsaWNrbnVtIiwKICAgICAgICB9LAoKICAgICAgICB9OwogICAgfSwKICAgIGNyZWF0ZWQoKSB7CiAgICAgICAgdGhpcy5jb250ZW50cyA9IHN0eWxlSnMubGlzdFN0eWxlKCk7CiAgICAgICAgdGhpcy5pbml0KCk7CiAgICAgICAgdGhpcy5nZXREYXRhTGlzdCgpOwogICAgICAgIHRoaXMuY29udGVudFN0eWxlQ2hhbmdlKCkKICAgIH0sCiAgICBtb3VudGVkKCkgewogICAgICAgIC8v6I635Y+W5b2T5YmN55m75b2V55So5oi355qE5L+h5oGvCiAgICAgICAgdGhpcy5zZXNzaW9uVGFibGUgPSB0aGlzLiRzdG9yYWdlLmdldCgic2Vzc2lvblRhYmxlIik7CiAgICAgICAgdGhpcy5yb2xlID0gdGhpcy4kc3RvcmFnZS5nZXQoInJvbGUiKTsKICAgICAgICB0aGlzLnVzZXJJZCA9IHRoaXMuJHN0b3JhZ2UuZ2V0KCJ1c2VySWQiKTsKCiAgICB9LAogICAgZmlsdGVyczogewogICAgICAgIGh0bWxmaWx0ZXI6IGZ1bmN0aW9uICh2YWwpIHsKICAgICAgICAgICAgcmV0dXJuIHZhbC5yZXBsYWNlKC88W14+XSo+L2cpLnJlcGxhY2UoL3VuZGVmaW5lZC9nLCcnKTsKICAgICAgICB9CiAgICB9LAogICAgY29tcG9uZW50czogewogICAgICAgIEFkZE9yVXBkYXRlLAogICAgfSwKICAgIGNvbXB1dGVkOiB7CiAgICB9LAogICAgbWV0aG9kczogewogICAgICAgIGNoYXJ0RGlhbG9nKCkgewogICAgICAgICAgICBsZXQgX3RoaXMgPSB0aGlzOwogICAgICAgICAgICBsZXQgcGFyYW1zID0gewogICAgICAgICAgICAgICAgZGF0ZUZvcm1hdCA6IiVZIiwgLy8lWS0lbQogICAgICAgICAgICAgICAgcmlxaSA6X3RoaXMuZWNoYXJ0c0RhdGUuZ2V0RnVsbFllYXIoKSwKICAgICAgICAgICAgICAgIC8vIHJpcWkgOl90aGlzLmVjaGFydHNEYXRlLmdldEZ1bGxZZWFyKCkrIi0iKyhfdGhpcy5lY2hhcnRzRGF0ZS5nZXRNb250aCgpICsgMSA8IDEwID8gJzAnICsgKF90aGlzLmVjaGFydHNEYXRlLmdldE1vbnRoKCkgKyAxKSA6IF90aGlzLmVjaGFydHNEYXRlLmdldE1vbnRoKCkgKyAxKSwKICAgICAgICAgICAgICAgIHRoaXNUYWJsZSA6IHsvL+W9k+WJjeihqAogICAgICAgICAgICAgICAgICAgIHRhYmxlTmFtZSA6J2ZhbmdqaWFuJywvL+W9k+WJjeihqOihqOWQjSwKICAgICAgICAgICAgICAgICAgICBzdW1Db2x1bSA6ICdmYW5namlhbl9udW1iZXInLCAvL+axguWSjOWtl+autQogICAgICAgICAgICAgICAgICAgIGRhdGUgOiAnaW5zZXJ0X3RpbWUnLC8v5YiG57uE5pel5pyf5a2X5q61CiAgICAgICAgICAgICAgICAgICAgLy8gc3RyaW5nIDogJ2ZhbmdqaWFuX25hbWUnLC8v5YiG57uE5a2X56ym5Liy5a2X5q61CiAgICAgICAgICAgICAgICAgICAgLy8gdHlwZXMgOiAnZmFuZ2ppYW5fdHlwZXMnLC8v5YiG57uE5LiL5ouJ5qGG5a2X5q61CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgLy8gam9pblRhYmxlIDogey8v57qn6IGU6KGo77yI5Y+v5Lul5LiN5a2Y5Zyo77yJCiAgICAgICAgICAgICAgICAvLyAgICAgdGFibGVOYW1lIDoneW9uZ2h1JywvL+e6p+iBlOihqOihqOWQjQogICAgICAgICAgICAgICAgLy8gICAgIC8vIGRhdGUgOiAnaW5zZXJ0X3RpbWUnLC8v5YiG57uE5pel5pyf5a2X5q61CiAgICAgICAgICAgICAgICAvLyAgICAgc3RyaW5nIDogJ3lvbmdodV9uYW1lJywvL+WIhue7hOWtl+espuS4suWtl+autQogICAgICAgICAgICAgICAgLy8gICAgIC8vIHR5cGVzIDogJ3lvbmdodV90eXBlcycsLy/liIbnu4TkuIvmi4nmoYblrZfmrrUKICAgICAgICAgICAgICAgIC8vIH0KICAgICAgICAgICAgfQogICAgICAgICAgICBfdGhpcy5jaGFydFZpc2lhYmxlID0gdHJ1ZTsKICAgICAgICAgICAgX3RoaXMuJG5leHRUaWNrKCgpID0+IHsKICAgICAgICAgICAgICAgIHZhciBzdGF0aXN0aWMgPSB0aGlzLiRlY2hhcnRzLmluaXQoZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoInN0YXRpc3RpYyIpLCAnbWFjYXJvbnMnKTsKICAgICAgICAgICAgICAgIHRoaXMuJGh0dHAoewogICAgICAgICAgICAgICAgICAgIHVybDogImJhclN1bSIsCiAgICAgICAgICAgICAgICAgICAgbWV0aG9kOiAiZ2V0IiwKICAgICAgICAgICAgICAgICAgICBwYXJhbXM6IHBhcmFtcwogICAgICAgICAgICAgICAgfSkudGhlbigoe2RhdGF9KSA9PiB7CiAgICAgICAgICAgICAgICAgICAgaWYoZGF0YSAmJiBkYXRhLmNvZGUgPT09IDApewoKICAgICAgICAgICAgICAgICAgICAgICAgLy/mn7Hnirblm74g5rGC5ZKMIOW3suaIkOWKn+S9v+eUqAogICAgICAgICAgICAgICAgICAgICAgICAvL3N0YXJ0CiAgICAgICAgICAgICAgICAgICAgICAgIGxldCB5QXhpc05hbWUgPSAi5pWw5YC8IjsvL+agueaNruafpeivouaVsOaNruWFt+S9k+aUuSjljZXliJfopoHmlLks5aSa5YiX5LiN5pS5KQogICAgICAgICAgICAgICAgICAgICAgICBsZXQgeEF4aXNOYW1lID0gIuaciOS7vSI7CiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBzZXJpZXMgPSBbXTsvL+WFt+S9k+aVsOaNruWAvAogICAgICAgICAgICAgICAgICAgICAgICBkYXRhLmRhdGEueUF4aXMuZm9yRWFjaChmdW5jdGlvbiAoaXRlbSxpbmRleCkgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHRlbXBNYXAgPSB7fTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIHRlbXBNYXAubmFtZT0gWyLmlbDlgLwiXTsvL+agueaNruafpeivouaVsOaNruWFt+S9k+aUuSjljZXliJfopoHmlLks5aSa5YiX5LiN5pS5KQogICAgICAgICAgICAgICAgICAgICAgICAgICAgdGVtcE1hcC5uYW1lPWRhdGEuZGF0YS5sZWdlbmRbaW5kZXhdOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgdGVtcE1hcC50eXBlPSdiYXInOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgdGVtcE1hcC5kYXRhPWl0ZW07CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzZXJpZXMucHVzaCh0ZW1wTWFwKTsKCiAgICAgICAgICAgICAgICAgICAgICAgIH0pCgogICAgICAgICAgICAgICAgICAgICAgICB2YXIgb3B0aW9uID0gewogICAgICAgICAgICAgICAgICAgICAgICAgICAgdG9vbHRpcDogewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRyaWdnZXI6ICdheGlzJywKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBheGlzUG9pbnRlcjogewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAnY3Jvc3MnLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjcm9zc1N0eWxlOiB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb2xvcjogJyM5OTknCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgICAgICAgICAgICAgdG9vbGJveDogewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZlYXR1cmU6IHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gZGF0YVZpZXc6IHsgc2hvdzogdHJ1ZSwgcmVhZE9ubHk6IGZhbHNlIH0sICAvLyDmlbDmja7mn6XnnIsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbWFnaWNUeXBlOiB7IHNob3c6IHRydWUsIHR5cGU6IFsnbGluZScsICdiYXInXSB9LC8v5YiH5o2i5Zu+5b2i5bGV56S65pa55byPCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIHJlc3RvcmU6IHsgc2hvdzogdHJ1ZSB9LCAvLyDliLfmlrAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc2F2ZUFzSW1hZ2U6IHsgc2hvdzogdHJ1ZSB9Ly/kv53lrZgKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgICAgICAgICAgICAgbGVnZW5kOiB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGF0YTogZGF0YS5kYXRhLmxlZ2VuZC8v5qCH6aKYICDlj6/ku6Xngrnlh7vlr7zoh7Tmn5DkuIDliJfmlbDmja7mtojlpLEKICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICB4QXhpczogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZTogJ2NhdGVnb3J5JywKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbmFtZTogeEF4aXNOYW1lLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkYXRhOiBkYXRhLmRhdGEueEF4aXMsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGF4aXNQb2ludGVyOiB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAnc2hhZG93JwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHlBeGlzOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAndmFsdWUnLC8v5LiN6IO95pS5CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG5hbWU6IHlBeGlzTmFtZSwvL3novbTljZXkvY0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYXhpc0xhYmVsOiB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb3JtYXR0ZXI6ICd7dmFsdWV9JyAvLyDlkI7nvIAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzZXJpZXM6c2VyaWVzLy/lhbfkvZPmlbDmja4KICAgICAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgICAgICAgICAgLy8g5L2/55So5Yia5oyH5a6a55qE6YWN572u6aG55ZKM5pWw5o2u5pi+56S65Zu+6KGo44CCCiAgICAgICAgICAgICAgICAgICAgICAgIHN0YXRpc3RpYy5zZXRPcHRpb24ob3B0aW9uLHRydWUpOwogICAgICAgICAgICAgICAgICAgICAgICAvL+agueaNrueql+WPo+eahOWkp+Wwj+WPmOWKqOWbvuihqAogICAgICAgICAgICAgICAgICAgICAgICB3aW5kb3cub25yZXNpemUgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdGF0aXN0aWMucmVzaXplKCk7CiAgICAgICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICAgICAgICAgIC8vZW5kCiAgICAgICAgICAgICAgICAgICAgfWVsc2UgewogICAgICAgICAgICAgICAgICAgICAgICB0aGlzLiRtZXNzYWdlKHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIG1lc3NhZ2U6ICLmiqXooajmnKrmn6Xor6LliLDmlbDmja4iLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZTogInN1Y2Nlc3MiLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgZHVyYXRpb246IDE1MDAsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbkNsb3NlOiAoKSA9PiB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5zZWFyY2goKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIH0pOwogICAgICAgICAgICAvLy8v6aW854q25Zu+CiAgICAgICAgICAgIC8vX3RoaXMuY2hhcnRWaXNpYWJsZSA9IHRydWU7CiAgICAgICAgICAgIC8vIHRoaXMuJG5leHRUaWNrKCgpPT57CiAgICAgICAgICAgIC8vICAgICB2YXIgc3RhdGlzdGljID0gdGhpcy4kZWNoYXJ0cy5pbml0KGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCJzdGF0aXN0aWMiKSwnbWFjYXJvbnMnKTsKICAgICAgICAgICAgLy8gICAgIGxldCBwYXJhbXMgPSB7CiAgICAgICAgICAgIC8vICAgICAgICAgdGFibGVOYW1lOiAiZmFuZ2ppYW4iLAogICAgICAgICAgICAvLyAgICAgICAgIGdyb3VwQ29sdW1uOiAiZmFuZ2ppYW5fdHlwZXMiLAogICAgICAgICAgICAvLyAgICAgfQogICAgICAgICAgICAvLyAgICAgdGhpcy4kaHR0cCh7CiAgICAgICAgICAgIC8vICAgICAgICAgdXJsOiAibmV3U2VsZWN0R3JvdXBDb3VudCIsCiAgICAgICAgICAgIC8vICAgICAgICAgbWV0aG9kOiAiZ2V0IiwKICAgICAgICAgICAgLy8gICAgICAgICBwYXJhbXM6IHBhcmFtcwogICAgICAgICAgICAvLyAgICAgfSkudGhlbigoe2RhdGF9KSA9PiB7CiAgICAgICAgICAgIC8vICAgICAgICAgaWYgKGRhdGEgJiYgZGF0YS5jb2RlID09PSAwKSB7CiAgICAgICAgICAgIC8vICAgICAgICAgICAgIGxldCByZXMgPSBkYXRhLmRhdGE7CiAgICAgICAgICAgIC8vICAgICAgICAgICAgIGxldCB4QXhpcyA9IFtdOwogICAgICAgICAgICAvLyAgICAgICAgICAgICBsZXQgeUF4aXMgPSBbXTsKICAgICAgICAgICAgLy8gICAgICAgICAgICAgbGV0IHBBcnJheSA9IFtdCiAgICAgICAgICAgIC8vICAgICAgICAgICAgIHZhciBvcHRpb24gPSB7fTsKICAgICAgICAgICAgLy8gICAgICAgICAgICAgZm9yKGxldCBpPTA7aTxyZXMubGVuZ3RoO2krKyl7CiAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICB4QXhpcy5wdXNoKHJlc1tpXS5uYW1lKTsKICAgICAgICAgICAgLy8gICAgICAgICAgICAgICAgIHlBeGlzLnB1c2gocmVzW2ldLnZhbHVlKTsKICAgICAgICAgICAgLy8gICAgICAgICAgICAgICAgIHBBcnJheS5wdXNoKHsKICAgICAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgICB2YWx1ZTogcmVzW2ldLnZhbHVlLAogICAgICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgIG5hbWU6IHJlc1tpXS5uYW1lCiAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICB9KQogICAgICAgICAgICAvLyAgICAgICAgICAgICAgICAgb3B0aW9uID0gewogICAgICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiB7CiAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgICAgIHRleHQ6ICfkv53pmanlkIjlkIznsbvlnovnu5/orqEnLAogICAgICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgICAgICBsZWZ0OiAnY2VudGVyJwogICAgICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgdG9vbHRpcDogewogICAgICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgICAgICB0cmlnZ2VyOiAnaXRlbScsCiAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgICAgIGZvcm1hdHRlcjogJ3tifSA6IHtjfSAoe2R9JSknCiAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgICBzZXJpZXM6IFsKICAgICAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZTogJ3BpZScsCiAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgICAgICAgICByYWRpdXM6ICc1NSUnLAogICAgICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2VudGVyOiBbJzUwJScsICc2MCUnXSwKICAgICAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRhdGE6IHBBcnJheSwKICAgICAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVtcGhhc2lzOiB7CiAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaXRlbVN0eWxlOiB7CiAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNoYWRvd0JsdXI6IDEwLAogICAgICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzaGFkb3dPZmZzZXRYOiAwLAogICAgICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzaGFkb3dDb2xvcjogJ3JnYmEoMCwgMCwgMCwgMC41KScKICAgICAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgICBdCiAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAvLyAgICAgICAgICAgICB9CiAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICBzdGF0aXN0aWMuc2V0T3B0aW9uKG9wdGlvbik7CiAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICB3aW5kb3cub25yZXNpemUgPSBmdW5jdGlvbigpIHsKICAgICAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgICBzdGF0aXN0aWMucmVzaXplKCk7CiAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAvLyAgICAgICAgIH0KICAgICAgICAgICAgLy8gICAgIH0pOwogICAgICAgICAgICAvLyB9KQogICAgICAgIH0sCiAgICAgICAgY29udGVudFN0eWxlQ2hhbmdlKCkgewogICAgICAgICAgICB0aGlzLmNvbnRlbnRTZWFyY2hTdHlsZUNoYW5nZSgpCiAgICAgICAgICAgIHRoaXMuY29udGVudEJ0bkFkQWxsU3R5bGVDaGFuZ2UoKQogICAgICAgICAgICB0aGlzLmNvbnRlbnRTZWFyY2hCdG5TdHlsZUNoYW5nZSgpCiAgICAgICAgICAgIHRoaXMuY29udGVudFRhYmxlQnRuU3R5bGVDaGFuZ2UoKQogICAgICAgICAgICB0aGlzLmNvbnRlbnRQYWdlU3R5bGVDaGFuZ2UoKQogICAgICAgIH0sCiAgICAgICAgY29udGVudFNlYXJjaFN0eWxlQ2hhbmdlKCkgewogICAgICAgICAgICB0aGlzLiRuZXh0VGljaygoKSA9PiB7CiAgICAgICAgICAgICAgICBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCcuZm9ybS1jb250ZW50IC5zbHQgLmVsLWlucHV0X19pbm5lcicpLmZvckVhY2goZWwgPT4gewogICAgICAgICAgICAgICAgICAgIGxldCB0ZXh0QWxpZ24gPSAnbGVmdCcKICAgICAgICAgICAgICAgICAgICBpZih0aGlzLmNvbnRlbnRzLmlucHV0Rm9udFBvc2l0aW9uID09IDIpCiAgICAgICAgICAgICAgICAgICAgICAgIHRleHRBbGlnbiA9ICdjZW50ZXInCiAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0aGlzLmNvbnRlbnRzLmlucHV0Rm9udFBvc2l0aW9uID09IDMpIHRleHRBbGlnbiA9ICdyaWdodCcKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLnRleHRBbGlnbiA9IHRleHRBbGlnbgogICAgICAgICAgICAgICAgICAgICAgICBlbC5zdHlsZS5oZWlnaHQgPSB0aGlzLmNvbnRlbnRzLmlucHV0SGVpZ2h0CiAgICAgICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLmxpbmVIZWlnaHQgPSB0aGlzLmNvbnRlbnRzLmlucHV0SGVpZ2h0CiAgICAgICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLmNvbG9yID0gdGhpcy5jb250ZW50cy5pbnB1dEZvbnRDb2xvcgogICAgICAgICAgICAgICAgICAgICAgICBlbC5zdHlsZS5mb250U2l6ZSA9IHRoaXMuY29udGVudHMuaW5wdXRGb250U2l6ZQogICAgICAgICAgICAgICAgICAgICAgICBlbC5zdHlsZS5ib3JkZXJXaWR0aCA9IHRoaXMuY29udGVudHMuaW5wdXRCb3JkZXJXaWR0aAogICAgICAgICAgICAgICAgICAgICAgICBlbC5zdHlsZS5ib3JkZXJTdHlsZSA9IHRoaXMuY29udGVudHMuaW5wdXRCb3JkZXJTdHlsZQogICAgICAgICAgICAgICAgICAgICAgICBlbC5zdHlsZS5ib3JkZXJDb2xvciA9IHRoaXMuY29udGVudHMuaW5wdXRCb3JkZXJDb2xvcgogICAgICAgICAgICAgICAgICAgICAgICBlbC5zdHlsZS5ib3JkZXJSYWRpdXMgPSB0aGlzLmNvbnRlbnRzLmlucHV0Qm9yZGVyUmFkaXVzCiAgICAgICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLmJhY2tncm91bmRDb2xvciA9IHRoaXMuY29udGVudHMuaW5wdXRCZ0NvbG9yCiAgICAgICAgICAgICAgICB9KQogICAgICAgICAgICAgICAgaWYgKHRoaXMuY29udGVudHMuaW5wdXRUaXRsZSkgewogICAgICAgICAgICAgICAgICAgIGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoJy5mb3JtLWNvbnRlbnQgLnNsdCAuZWwtZm9ybS1pdGVtX19sYWJlbCcpLmZvckVhY2goZWwgPT4gewogICAgICAgICAgICAgICAgICAgICAgICBlbC5zdHlsZS5jb2xvciA9IHRoaXMuY29udGVudHMuaW5wdXRUaXRsZUNvbG9yCiAgICAgICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLmZvbnRTaXplID0gdGhpcy5jb250ZW50cy5pbnB1dFRpdGxlU2l6ZQogICAgICAgICAgICAgICAgICAgICAgICBlbC5zdHlsZS5saW5lSGVpZ2h0ID0gdGhpcy5jb250ZW50cy5pbnB1dEhlaWdodAogICAgICAgICAgICAgICAgICAgIH0pCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHsKICAgICAgICAgICAgICAgICAgICBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCcuZm9ybS1jb250ZW50IC5zbHQgLmVsLWlucHV0X19wcmVmaXgnKS5mb3JFYWNoKGVsID0+IHsKICAgICAgICAgICAgICAgICAgICAgICAgZWwuc3R5bGUuY29sb3IgPSB0aGlzLmNvbnRlbnRzLmlucHV0SWNvbkNvbG9yCiAgICAgICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLmxpbmVIZWlnaHQgPSB0aGlzLmNvbnRlbnRzLmlucHV0SGVpZ2h0CiAgICAgICAgICAgICAgICAgICAgfSkKICAgICAgICAgICAgICAgICAgICBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCcuZm9ybS1jb250ZW50IC5zbHQgLmVsLWlucHV0X19zdWZmaXgnKS5mb3JFYWNoKGVsID0+IHsKICAgICAgICAgICAgICAgICAgICAgICAgZWwuc3R5bGUuY29sb3IgPSB0aGlzLmNvbnRlbnRzLmlucHV0SWNvbkNvbG9yCiAgICAgICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLmxpbmVIZWlnaHQgPSB0aGlzLmNvbnRlbnRzLmlucHV0SGVpZ2h0CiAgICAgICAgICAgICAgICAgICAgfSkKICAgICAgICAgICAgICAgICAgICBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCcuZm9ybS1jb250ZW50IC5zbHQgLmVsLWlucHV0X19pY29uJykuZm9yRWFjaChlbCA9PiB7CiAgICAgICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLmxpbmVIZWlnaHQgPSB0aGlzLmNvbnRlbnRzLmlucHV0SGVpZ2h0CiAgICAgICAgICAgICAgICAgICAgfSkKICAgICAgICAgICAgICAgIH0sIDEwICkKICAgICAgICAgICAgfSkKICAgICAgICB9LAogICAgICAgIC8vIOaQnOe0ouaMiemSrgogICAgICAgIGNvbnRlbnRTZWFyY2hCdG5TdHlsZUNoYW5nZSgpIHsKICAgICAgICAgICAgdGhpcy4kbmV4dFRpY2soKCkgPT4gewogICAgICAgICAgICAgICAgZG9jdW1lbnQucXVlcnlTZWxlY3RvckFsbCgnLmZvcm0tY29udGVudCAuc2x0IC5lbC1idXR0b24tLXN1Y2Nlc3MnKS5mb3JFYWNoKGVsID0+IHsKICAgICAgICAgICAgICAgICAgICBlbC5zdHlsZS5oZWlnaHQgPSB0aGlzLmNvbnRlbnRzLnNlYXJjaEJ0bkhlaWdodAogICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLmNvbG9yID0gdGhpcy5jb250ZW50cy5zZWFyY2hCdG5Gb250Q29sb3IKICAgICAgICAgICAgICAgICAgICBlbC5zdHlsZS5mb250U2l6ZSA9IHRoaXMuY29udGVudHMuc2VhcmNoQnRuRm9udFNpemUKICAgICAgICAgICAgICAgICAgICBlbC5zdHlsZS5ib3JkZXJXaWR0aCA9IHRoaXMuY29udGVudHMuc2VhcmNoQnRuQm9yZGVyV2lkdGgKICAgICAgICAgICAgICAgICAgICBlbC5zdHlsZS5ib3JkZXJTdHlsZSA9IHRoaXMuY29udGVudHMuc2VhcmNoQnRuQm9yZGVyU3R5bGUKICAgICAgICAgICAgICAgICAgICBlbC5zdHlsZS5ib3JkZXJDb2xvciA9IHRoaXMuY29udGVudHMuc2VhcmNoQnRuQm9yZGVyQ29sb3IKICAgICAgICAgICAgICAgICAgICBlbC5zdHlsZS5ib3JkZXJSYWRpdXMgPSB0aGlzLmNvbnRlbnRzLnNlYXJjaEJ0bkJvcmRlclJhZGl1cwogICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLmJhY2tncm91bmRDb2xvciA9IHRoaXMuY29udGVudHMuc2VhcmNoQnRuQmdDb2xvcgogICAgICAgICAgICAgICAgfSkKICAgICAgICAgICAgfSkKICAgICAgICB9LAogICAgICAgIC8vIOaWsOWinuOAgeaJuemHj+WIoOmZpAogICAgICAgIGNvbnRlbnRCdG5BZEFsbFN0eWxlQ2hhbmdlKCkgewogICAgICAgICAgICB0aGlzLiRuZXh0VGljaygoKSA9PiB7CiAgICAgICAgICAgICAgICBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCcuZm9ybS1jb250ZW50IC5hZCAuZWwtYnV0dG9uLS1zdWNjZXNzJykuZm9yRWFjaChlbCA9PiB7CiAgICAgICAgICAgICAgICAgICAgZWwuc3R5bGUuaGVpZ2h0ID0gdGhpcy5jb250ZW50cy5idG5BZEFsbEhlaWdodAogICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLmNvbG9yID0gdGhpcy5jb250ZW50cy5idG5BZEFsbEFkZEZvbnRDb2xvcgogICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLmZvbnRTaXplID0gdGhpcy5jb250ZW50cy5idG5BZEFsbEZvbnRTaXplCiAgICAgICAgICAgICAgICAgICAgZWwuc3R5bGUuYm9yZGVyV2lkdGggPSB0aGlzLmNvbnRlbnRzLmJ0bkFkQWxsQm9yZGVyV2lkdGgKICAgICAgICAgICAgICAgICAgICBlbC5zdHlsZS5ib3JkZXJTdHlsZSA9IHRoaXMuY29udGVudHMuYnRuQWRBbGxCb3JkZXJTdHlsZQogICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLmJvcmRlckNvbG9yID0gdGhpcy5jb250ZW50cy5idG5BZEFsbEJvcmRlckNvbG9yCiAgICAgICAgICAgICAgICAgICAgZWwuc3R5bGUuYm9yZGVyUmFkaXVzID0gdGhpcy5jb250ZW50cy5idG5BZEFsbEJvcmRlclJhZGl1cwogICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLmJhY2tncm91bmRDb2xvciA9IHRoaXMuY29udGVudHMuYnRuQWRBbGxBZGRCZ0NvbG9yCiAgICAgICAgICAgICAgICB9KQogICAgICAgICAgICAgICAgZG9jdW1lbnQucXVlcnlTZWxlY3RvckFsbCgnLmZvcm0tY29udGVudCAuYWQgLmVsLWJ1dHRvbi0tZGFuZ2VyJykuZm9yRWFjaChlbCA9PiB7CiAgICAgICAgICAgICAgICAgICAgZWwuc3R5bGUuaGVpZ2h0ID0gdGhpcy5jb250ZW50cy5idG5BZEFsbEhlaWdodAogICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLmNvbG9yID0gdGhpcy5jb250ZW50cy5idG5BZEFsbERlbEZvbnRDb2xvcgogICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLmZvbnRTaXplID0gdGhpcy5jb250ZW50cy5idG5BZEFsbEZvbnRTaXplCiAgICAgICAgICAgICAgICAgICAgZWwuc3R5bGUuYm9yZGVyV2lkdGggPSB0aGlzLmNvbnRlbnRzLmJ0bkFkQWxsQm9yZGVyV2lkdGgKICAgICAgICAgICAgICAgICAgICBlbC5zdHlsZS5ib3JkZXJTdHlsZSA9IHRoaXMuY29udGVudHMuYnRuQWRBbGxCb3JkZXJTdHlsZQogICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLmJvcmRlckNvbG9yID0gdGhpcy5jb250ZW50cy5idG5BZEFsbEJvcmRlckNvbG9yCiAgICAgICAgICAgICAgICAgICAgZWwuc3R5bGUuYm9yZGVyUmFkaXVzID0gdGhpcy5jb250ZW50cy5idG5BZEFsbEJvcmRlclJhZGl1cwogICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLmJhY2tncm91bmRDb2xvciA9IHRoaXMuY29udGVudHMuYnRuQWRBbGxEZWxCZ0NvbG9yCiAgICAgICAgICAgICAgICB9KQogICAgICAgICAgICAgICAgZG9jdW1lbnQucXVlcnlTZWxlY3RvckFsbCgnLmZvcm0tY29udGVudCAuYWQgLmVsLWJ1dHRvbi0td2FybmluZycpLmZvckVhY2goZWwgPT4gewogICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLmhlaWdodCA9IHRoaXMuY29udGVudHMuYnRuQWRBbGxIZWlnaHQKICAgICAgICAgICAgICAgICAgICBlbC5zdHlsZS5jb2xvciA9IHRoaXMuY29udGVudHMuYnRuQWRBbGxXYXJuRm9udENvbG9yCiAgICAgICAgICAgICAgICAgICAgZWwuc3R5bGUuZm9udFNpemUgPSB0aGlzLmNvbnRlbnRzLmJ0bkFkQWxsRm9udFNpemUKICAgICAgICAgICAgICAgICAgICBlbC5zdHlsZS5ib3JkZXJXaWR0aCA9IHRoaXMuY29udGVudHMuYnRuQWRBbGxCb3JkZXJXaWR0aAogICAgICAgICAgICAgICAgICAgIGVsLnN0eWxlLmJvcmRlclN0eWxlID0gdGhpcy5jb250ZW50cy5idG5BZEFsbEJvcmRlclN0eWxlCiAgICAgICAgICAgICAgICAgICAgZWwuc3R5bGUuYm9yZGVyQ29sb3IgPSB0aGlzLmNvbnRlbnRzLmJ0bkFkQWxsQm9yZGVyQ29sb3IKICAgICAgICAgICAgICAgICAgICBlbC5zdHlsZS5ib3JkZXJSYWRpdXMgPSB0aGlzLmNvbnRlbnRzLmJ0bkFkQWxsQm9yZGVyUmFkaXVzCiAgICAgICAgICAgICAgICAgICAgZWwuc3R5bGUuYmFja2dyb3VuZENvbG9yID0gdGhpcy5jb250ZW50cy5idG5BZEFsbFdhcm5CZ0NvbG9yCiAgICAgICAgICAgICAgICB9KQogICAgICAgICAgICB9KQogICAgICAgIH0sCiAgICAgICAgLy8g6KGo5qC8CiAgICAgICAgcm93U3R5bGUoe3Jvdywgcm93SW5kZXh9KSB7CiAgICAgICAgICAgIGlmIChyb3dJbmRleCAlIDIgPT0gMSkgewogICAgICAgICAgICAgICAgaWYgKHRoaXMuY29udGVudHMudGFibGVTdHJpcGUpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4ge2NvbG9yOiB0aGlzLmNvbnRlbnRzLnRhYmxlU3RyaXBlRm9udENvbG9yfQogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgcmV0dXJuICcnCiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgIGNlbGxTdHlsZSh7cm93LCByb3dJbmRleH0pIHsKICAgICAgICAgICAgaWYgKHJvd0luZGV4ICUgMiA9PSAxKSB7CiAgICAgICAgICAgICAgICBpZiAodGhpcy5jb250ZW50cy50YWJsZVN0cmlwZSkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiB7YmFja2dyb3VuZENvbG9yOiB0aGlzLmNvbnRlbnRzLnRhYmxlU3RyaXBlQmdDb2xvcn0KICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgIHJldHVybiAnJwogICAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICBoZWFkZXJSb3dTdHlsZSh7cm93LCByb3dJbmRleH0pIHsKICAgICAgICAgICAgcmV0dXJuIHtjb2xvcjogdGhpcy5jb250ZW50cy50YWJsZUhlYWRlckZvbnRDb2xvcn0KICAgICAgICB9LAogICAgICAgIGhlYWRlckNlbGxTdHlsZSh7cm93LCByb3dJbmRleH0pIHsKICAgICAgICAgICAgcmV0dXJuIHtiYWNrZ3JvdW5kQ29sb3I6IHRoaXMuY29udGVudHMudGFibGVIZWFkZXJCZ0NvbG9yfQogICAgICAgIH0sCiAgICAgICAgLy8g6KGo5qC85oyJ6ZKuCiAgICAgICAgY29udGVudFRhYmxlQnRuU3R5bGVDaGFuZ2UoKSB7CiAgICAgICAgICAgIC8vIHRoaXMuJG5leHRUaWNrKCgpPT57CiAgICAgICAgICAgIC8vICAgc2V0VGltZW91dCgoKT0+ewogICAgICAgICAgICAvLyAgICAgZG9jdW1lbnQucXVlcnlTZWxlY3RvckFsbCgnLnRhYmxlLWNvbnRlbnQgLnRhYmxlcyAuZWwtdGFibGVfX2JvZHkgLmVsLWJ1dHRvbi0tc3VjY2VzcycpLmZvckVhY2goZWw9PnsKICAgICAgICAgICAgLy8gICAgICAgZWwuc3R5bGUuaGVpZ2h0ID0gdGhpcy5jb250ZW50cy50YWJsZUJ0bkhlaWdodAogICAgICAgICAgICAvLyAgICAgICBlbC5zdHlsZS5jb2xvciA9IHRoaXMuY29udGVudHMudGFibGVCdG5EZXRhaWxGb250Q29sb3IKICAgICAgICAgICAgLy8gICAgICAgZWwuc3R5bGUuZm9udFNpemUgPSB0aGlzLmNvbnRlbnRzLnRhYmxlQnRuRm9udFNpemUKICAgICAgICAgICAgLy8gICAgICAgZWwuc3R5bGUuYm9yZGVyV2lkdGggPSB0aGlzLmNvbnRlbnRzLnRhYmxlQnRuQm9yZGVyV2lkdGgKICAgICAgICAgICAgLy8gICAgICAgZWwuc3R5bGUuYm9yZGVyU3R5bGUgPSB0aGlzLmNvbnRlbnRzLnRhYmxlQnRuQm9yZGVyU3R5bGUKICAgICAgICAgICAgLy8gICAgICAgZWwuc3R5bGUuYm9yZGVyQ29sb3IgPSB0aGlzLmNvbnRlbnRzLnRhYmxlQnRuQm9yZGVyQ29sb3IKICAgICAgICAgICAgLy8gICAgICAgZWwuc3R5bGUuYm9yZGVyUmFkaXVzID0gdGhpcy5jb250ZW50cy50YWJsZUJ0bkJvcmRlclJhZGl1cwogICAgICAgICAgICAvLyAgICAgICBlbC5zdHlsZS5iYWNrZ3JvdW5kQ29sb3IgPSB0aGlzLmNvbnRlbnRzLnRhYmxlQnRuRGV0YWlsQmdDb2xvcgogICAgICAgICAgICAvLyAgICAgfSkKICAgICAgICAgICAgLy8gICAgIGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoJy50YWJsZS1jb250ZW50IC50YWJsZXMgLmVsLXRhYmxlX19ib2R5IC5lbC1idXR0b24tLXByaW1hcnknKS5mb3JFYWNoKGVsPT57CiAgICAgICAgICAgIC8vICAgICAgIGVsLnN0eWxlLmhlaWdodCA9IHRoaXMuY29udGVudHMudGFibGVCdG5IZWlnaHQKICAgICAgICAgICAgLy8gICAgICAgZWwuc3R5bGUuY29sb3IgPSB0aGlzLmNvbnRlbnRzLnRhYmxlQnRuRWRpdEZvbnRDb2xvcgogICAgICAgICAgICAvLyAgICAgICBlbC5zdHlsZS5mb250U2l6ZSA9IHRoaXMuY29udGVudHMudGFibGVCdG5Gb250U2l6ZQogICAgICAgICAgICAvLyAgICAgICBlbC5zdHlsZS5ib3JkZXJXaWR0aCA9IHRoaXMuY29udGVudHMudGFibGVCdG5Cb3JkZXJXaWR0aAogICAgICAgICAgICAvLyAgICAgICBlbC5zdHlsZS5ib3JkZXJTdHlsZSA9IHRoaXMuY29udGVudHMudGFibGVCdG5Cb3JkZXJTdHlsZQogICAgICAgICAgICAvLyAgICAgICBlbC5zdHlsZS5ib3JkZXJDb2xvciA9IHRoaXMuY29udGVudHMudGFibGVCdG5Cb3JkZXJDb2xvcgogICAgICAgICAgICAvLyAgICAgICBlbC5zdHlsZS5ib3JkZXJSYWRpdXMgPSB0aGlzLmNvbnRlbnRzLnRhYmxlQnRuQm9yZGVyUmFkaXVzCiAgICAgICAgICAgIC8vICAgICAgIGVsLnN0eWxlLmJhY2tncm91bmRDb2xvciA9IHRoaXMuY29udGVudHMudGFibGVCdG5FZGl0QmdDb2xvcgogICAgICAgICAgICAvLyAgICAgfSkKICAgICAgICAgICAgLy8gICAgIGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoJy50YWJsZS1jb250ZW50IC50YWJsZXMgLmVsLXRhYmxlX19ib2R5IC5lbC1idXR0b24tLWRhbmdlcicpLmZvckVhY2goZWw9PnsKICAgICAgICAgICAgLy8gICAgICAgZWwuc3R5bGUuaGVpZ2h0ID0gdGhpcy5jb250ZW50cy50YWJsZUJ0bkhlaWdodAogICAgICAgICAgICAvLyAgICAgICBlbC5zdHlsZS5jb2xvciA9IHRoaXMuY29udGVudHMudGFibGVCdG5EZWxGb250Q29sb3IKICAgICAgICAgICAgLy8gICAgICAgZWwuc3R5bGUuZm9udFNpemUgPSB0aGlzLmNvbnRlbnRzLnRhYmxlQnRuRm9udFNpemUKICAgICAgICAgICAgLy8gICAgICAgZWwuc3R5bGUuYm9yZGVyV2lkdGggPSB0aGlzLmNvbnRlbnRzLnRhYmxlQnRuQm9yZGVyV2lkdGgKICAgICAgICAgICAgLy8gICAgICAgZWwuc3R5bGUuYm9yZGVyU3R5bGUgPSB0aGlzLmNvbnRlbnRzLnRhYmxlQnRuQm9yZGVyU3R5bGUKICAgICAgICAgICAgLy8gICAgICAgZWwuc3R5bGUuYm9yZGVyQ29sb3IgPSB0aGlzLmNvbnRlbnRzLnRhYmxlQnRuQm9yZGVyQ29sb3IKICAgICAgICAgICAgLy8gICAgICAgZWwuc3R5bGUuYm9yZGVyUmFkaXVzID0gdGhpcy5jb250ZW50cy50YWJsZUJ0bkJvcmRlclJhZGl1cwogICAgICAgICAgICAvLyAgICAgICBlbC5zdHlsZS5iYWNrZ3JvdW5kQ29sb3IgPSB0aGlzLmNvbnRlbnRzLnRhYmxlQnRuRGVsQmdDb2xvcgogICAgICAgICAgICAvLyAgICAgfSkKCiAgICAgICAgICAgIC8vICAgfSwgNTApCiAgICAgICAgICAgIC8vIH0pCiAgICAgICAgfSwKICAgICAgICAvLyDliIbpobUKICAgICAgICBjb250ZW50UGFnZVN0eWxlQ2hhbmdlKCkgewogICAgICAgICAgICBsZXQgYXJyID0gW10KICAgICAgICAgICAgaWYgKHRoaXMuY29udGVudHMucGFnZVRvdGFsKSBhcnIucHVzaCgndG90YWwnKQogICAgICAgICAgICBpZiAodGhpcy5jb250ZW50cy5wYWdlU2l6ZXMpIGFyci5wdXNoKCdzaXplcycpCiAgICAgICAgICAgIGlmICh0aGlzLmNvbnRlbnRzLnBhZ2VQcmV2TmV4dCkgewogICAgICAgICAgICAgICAgYXJyLnB1c2goJ3ByZXYnKQogICAgICAgICAgICAgICAgaWYgKHRoaXMuY29udGVudHMucGFnZVBhZ2VyKSBhcnIucHVzaCgncGFnZXInKQogICAgICAgICAgICAgICAgYXJyLnB1c2goJ25leHQnKQogICAgICAgICAgICB9CiAgICAgICAgICAgIGlmICh0aGlzLmNvbnRlbnRzLnBhZ2VKdW1wZXIpIGFyci5wdXNoKCdqdW1wZXInKQogICAgICAgICAgICB0aGlzLmxheW91dHMgPSBhcnIuam9pbigpCiAgICAgICAgICAgIHRoaXMuY29udGVudHMucGFnZUVhY2hOdW0gPSAxMAogICAgICAgIH0sCgogICAgICAgIGluaXQoKSB7CiAgICAgICAgfSwKICAgICAgICBzZWFyY2goKSB7CiAgICAgICAgICAgIHRoaXMucGFnZUluZGV4ID0gMTsKICAgICAgICAgICAgdGhpcy5nZXREYXRhTGlzdCgpOwogICAgICAgIH0sCiAgICAgICAgLy8g6I635Y+W5pWw5o2u5YiX6KGoCiAgICAgICAgZ2V0RGF0YUxpc3QoKSB7CiAgICAgICAgICAgIHRoaXMuZGF0YUxpc3RMb2FkaW5nID0gdHJ1ZTsKICAgICAgICAgICAgbGV0IHBhcmFtcyA9IHsKICAgICAgICAgICAgICAgIHBhZ2U6IHRoaXMucGFnZUluZGV4LAogICAgICAgICAgICAgICAgbGltaXQ6IHRoaXMucGFnZVNpemUsCiAgICAgICAgICAgICAgICBzb3J0OiAnaWQnLAogICAgICAgICAgICB9CgogICAgICAgICAgICAgCiAgICAgICAgICAgIGlmICh0aGlzLnNlYXJjaEZvcm0uZmFuZ2ppYW5OYW1lIT0gJycgJiYgdGhpcy5zZWFyY2hGb3JtLmZhbmdqaWFuTmFtZSE9IHVuZGVmaW5lZCkgewogICAgICAgICAgICAgICAgcGFyYW1zWydmYW5namlhbk5hbWUnXSA9ICclJyArIHRoaXMuc2VhcmNoRm9ybS5mYW5namlhbk5hbWUgKyAnJScKICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICBpZiAodGhpcy5zZWFyY2hGb3JtLmZhbmdqaWFuVHlwZXMhPSAnJyAmJiB0aGlzLnNlYXJjaEZvcm0uZmFuZ2ppYW5UeXBlcyE9IHVuZGVmaW5lZCkgewogICAgICAgICAgICAgICAgcGFyYW1zWydmYW5namlhblR5cGVzJ10gPSB0aGlzLnNlYXJjaEZvcm0uZmFuZ2ppYW5UeXBlcwogICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgcGFyYW1zWydmYW5namlhbkRlbGV0ZSddID0gMS8vIOmAu+i+keWIoOmZpOWtl+autSAxIOacquWIoOmZpCAyIOWIoOmZpAoKCiAgICAgICAgICAgIHRoaXMuJGh0dHAoewogICAgICAgICAgICAgICAgdXJsOiAiZmFuZ2ppYW4vcGFnZSIsCiAgICAgICAgICAgICAgICBtZXRob2Q6ICJnZXQiLAogICAgICAgICAgICAgICAgcGFyYW1zOiBwYXJhbXMKICAgICAgICAgICAgfSkudGhlbigoe2RhdGF9KSA9PiB7CiAgICAgICAgICAgICAgICBpZihkYXRhICYmIGRhdGEuY29kZSA9PT0gMCl7CiAgICAgICAgICAgICAgICAgICAgdGhpcy5kYXRhTGlzdCA9IGRhdGEuZGF0YS5saXN0OwogICAgICAgICAgICAgICAgICAgIHRoaXMudG90YWxQYWdlID0gZGF0YS5kYXRhLnRvdGFsOwogICAgICAgICAgICAgICAgfWVsc2V7CiAgICAgICAgICAgICAgICAgICAgdGhpcy5kYXRhTGlzdCA9IFtdOwogICAgICAgICAgICAgICAgICAgIHRoaXMudG90YWxQYWdlID0gMDsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIHRoaXMuZGF0YUxpc3RMb2FkaW5nID0gZmFsc2U7CiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgLy/mn6Xor6LnuqfogZTooajmkJzntKLmnaHku7bmiYDmnInliJfooagKICAgICAgICAgICAgLy/mn6Xor6LlvZPliY3ooajmkJzntKLmnaHku7bmiYDmnInliJfooagKICAgICAgICAgICAgLy/loavlhYXkuIvmi4nmoYbpgInpobkKICAgICAgICAgICAgdGhpcy4kaHR0cCh7CiAgICAgICAgICAgICAgICB1cmw6ICJkaWN0aW9uYXJ5L3BhZ2U/ZGljQ29kZT1mYW5namlhbl90eXBlcyZwYWdlPTEmbGltaXQ9MTAwIiwKICAgICAgICAgICAgICAgIG1ldGhvZDogImdldCIsCiAgICAgICAgICAgIH0pLnRoZW4oKHtkYXRhfSkgPT4gewogICAgICAgICAgICAgICAgaWYoZGF0YSAmJiBkYXRhLmNvZGUgPT09IDApewogICAgICAgICAgICAgICAgICAgIHRoaXMuZmFuZ2ppYW5UeXBlc1NlbGVjdFNlYXJjaCA9IGRhdGEuZGF0YS5saXN0OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9KTsKICAgICAgICB9LAogICAgICAgIC8v5q+P6aG15pWwCiAgICAgICAgc2l6ZUNoYW5nZUhhbmRsZSh2YWwpIHsKICAgICAgICAgICAgdGhpcy5wYWdlU2l6ZSA9IHZhbDsKICAgICAgICAgICAgdGhpcy5wYWdlSW5kZXggPSAxOwogICAgICAgICAgICB0aGlzLmdldERhdGFMaXN0KCk7CiAgICAgICAgfSwKICAgICAgICAvLyDlvZPliY3pobUKICAgICAgICBjdXJyZW50Q2hhbmdlSGFuZGxlKHZhbCkgewogICAgICAgICAgICB0aGlzLnBhZ2VJbmRleCA9IHZhbDsKICAgICAgICAgICAgdGhpcy5nZXREYXRhTGlzdCgpOwogICAgICAgIH0sCiAgICAgICAgLy8g5aSa6YCJCiAgICAgICAgc2VsZWN0aW9uQ2hhbmdlSGFuZGxlcih2YWwpIHsKICAgICAgICAgICAgdGhpcy5kYXRhTGlzdFNlbGVjdGlvbnMgPSB2YWw7CiAgICAgICAgfSwKICAgICAgICAvLyDmt7vliqAv5L+u5pS5CiAgICAgICAgYWRkT3JVcGRhdGVIYW5kbGVyKGlkLCB0eXBlKSB7CiAgICAgICAgICAgIHRoaXMuc2hvd0ZsYWcgPSBmYWxzZTsKICAgICAgICAgICAgdGhpcy5hZGRPclVwZGF0ZUZsYWcgPSB0cnVlOwogICAgICAgICAgICB0aGlzLmNyb3NzQWRkT3JVcGRhdGVGbGFnID0gZmFsc2U7CiAgICAgICAgICAgIGlmICh0eXBlICE9ICdpbmZvJykgewogICAgICAgICAgICAgICAgdHlwZSA9ICdlbHNlJzsKICAgICAgICAgICAgfQogICAgICAgICAgICB0aGlzLiRuZXh0VGljaygoKSA9PiB7CiAgICAgICAgICAgICAgICB0aGlzLiRyZWZzLmFkZE9yVXBkYXRlLmluaXQoaWQsIHR5cGUpOwogICAgICAgICAgICB9KTsKICAgICAgICB9LAogICAgICAgIC8vIOS4i+i9vQogICAgICAgIGRvd25sb2FkKGZpbGUpIHsKICAgICAgICAgICAgd2luZG93Lm9wZW4oIiAke2ZpbGV9ICIpCiAgICAgICAgfSwKICAgICAgICAvLyDliKDpmaQKICAgICAgICBkZWxldGVIYW5kbGVyKGlkKSB7CiAgICAgICAgICAgIHZhciBpZHMgPSBpZCA/IFtOdW1iZXIoaWQpXSA6IHRoaXMuZGF0YUxpc3RTZWxlY3Rpb25zLm1hcChpdGVtID0+IHsKICAgICAgICAgICAgICAgIHJldHVybiBOdW1iZXIoaXRlbS5pZCk7CiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgdGhpcy4kY29uZmlybShg56Gu5a6a6L+b6KGMWyR7aWQgPyAi5Yig6ZmkIiA6ICLmibnph4/liKDpmaQifV3mk43kvZw/YCwgIuaPkOekuiIsIHsKICAgICAgICAgICAgICAgIGNvbmZpcm1CdXR0b25UZXh0OiAi56Gu5a6aIiwKICAgICAgICAgICAgICAgIGNhbmNlbEJ1dHRvblRleHQ6ICLlj5bmtogiLAogICAgICAgICAgICAgICAgdHlwZTogIndhcm5pbmciCiAgICAgICAgICAgIH0pLnRoZW4oKCkgPT4gewogICAgICAgICAgICAgICAgdGhpcy4kaHR0cCh7CiAgICAgICAgICAgICAgICAgICAgdXJsOiAiZmFuZ2ppYW4vZGVsZXRlIiwKICAgICAgICAgICAgICAgICAgICBtZXRob2Q6ICJwb3N0IiwKICAgICAgICAgICAgICAgICAgICBkYXRhOiBpZHMKICAgICAgICAgICAgICAgIH0pLnRoZW4oKHtkYXRhfSkgPT4gewogICAgICAgICAgICAgICAgICAgIGlmKGRhdGEgJiYgZGF0YS5jb2RlID09PSAwKXsKICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy4kbWVzc2FnZSh7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBtZXNzYWdlOiAi5pON5L2c5oiQ5YqfIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6ICJzdWNjZXNzIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGR1cmF0aW9uOiAxNTAwLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgb25DbG9zZTogKCkgPT4gewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuc2VhcmNoKCk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAgICAgICAgIH1lbHNlewogICAgICAgICAgICAgICAgICAgICAgICB0aGlzLiRtZXNzYWdlLmVycm9yKGRhdGEubXNnKTsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfSk7CiAgICAgICAgfSwKICAgICAgICAvLyDlr7zlhaXlip/og73kuIrkvKDmlofku7bmiJDlip/lkI7osIPnlKjlr7zlhaXmlrnms5UKICAgICAgICBmYW5namlhblVwbG9hZFN1Y2Nlc3MoZGF0YSl7CiAgICAgICAgICAgIGxldCBfdGhpcyA9IHRoaXM7CiAgICAgICAgICAgIF90aGlzLiRodHRwKHsKICAgICAgICAgICAgICAgIHVybDogImZhbmdqaWFuL2JhdGNoSW5zZXJ0P2ZpbGVOYW1lPSIgKyBkYXRhLmZpbGUsCiAgICAgICAgICAgICAgICBtZXRob2Q6ICJnZXQiCiAgICAgICAgICAgIH0pLnRoZW4oKHtkYXRhfSkgPT4gewogICAgICAgICAgICAgICAgaWYoZGF0YSAmJiBkYXRhLmNvZGUgPT09IDApewogICAgICAgICAgICAgICAgICAgIF90aGlzLiRtZXNzYWdlKHsKICAgICAgICAgICAgICAgICAgICAgICAgbWVzc2FnZTogIuWvvOWFpeaIv+mXtOS/oeaBr+aVsOaNruaIkOWKnyIsCiAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6ICJzdWNjZXNzIiwKICAgICAgICAgICAgICAgICAgICAgICAgZHVyYXRpb246IDE1MDAsCiAgICAgICAgICAgICAgICAgICAgICAgIG9uQ2xvc2U6ICgpID0+IHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIF90aGlzLnNlYXJjaCgpOwogICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgICAgICB9ZWxzZXsKICAgICAgICAgICAgICAgICAgICBfdGhpcy4kbWVzc2FnZS5lcnJvcihkYXRhLm1zZyk7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0pOwoKICAgICAgICB9LAogICAgICAgIC8vIOWvvOWFpeWKn+iDveS4iuS8oOaWh+S7tuWksei0peWQjuiwg+eUqOWvvOWFpeaWueazlQogICAgICAgIGZhbmdqaWFuVXBsb2FkRXJyb3IoZGF0YSl7CiAgICAgICAgICAgIHRoaXMuJG1lc3NhZ2UuZXJyb3IoJ+S4iuS8oOWksei0pScpOwogICAgICAgIH0sCiAgICB9Cn07Cg=="},{"version":3,"sources":["list.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwPA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA","file":"list.vue","sourceRoot":"src/views/modules/fangjian","sourcesContent":["<template>\r\n <div class=\"main-content\">\r\n\r\n <!-- 条件查询 -->\r\n <div v-if=\"showFlag\">\r\n <el-form :inline=\"true\" :model=\"searchForm\" class=\"form-content\">\r\n <el-row :gutter=\"20\" class=\"slt\" :style=\"{justifyContent:contents.searchBoxPosition=='1'?'flex-start':contents.searchBoxPosition=='2'?'center':'flex-end'}\">\r\n \r\n <el-form-item :label=\"contents.inputTitle == 1 ? '房间名称' : ''\">\r\n <el-input prefix-icon=\"el-icon-search\" v-model=\"searchForm.fangjianName\" placeholder=\"房间名称\" clearable></el-input>\r\n </el-form-item>\r\n \r\n <el-form-item :label=\"contents.inputTitle == 1 ? '房间类型' : ''\">\r\n <el-select v-model=\"searchForm.fangjianTypes\" placeholder=\"请选择房间类型\">\r\n <el-option label=\"=-请选择-=\" value=\"\"></el-option>\r\n <el-option\r\n v-for=\"(item,index) in fangjianTypesSelectSearch\"\r\n v-bind:key=\"index\"\r\n :label=\"item.indexName\"\r\n :value=\"item.codeIndex\">\r\n <!--lable是要展示的名称-->\r\n <!--value是值-->\r\n </el-option>\r\n </el-select>\r\n </el-form-item>\r\n\r\n \r\n\r\n\r\n <el-form-item>\r\n <el-button type=\"success\" @click=\"search()\">查询<i class=\"el-icon-search el-icon--right\"/></el-button>\r\n </el-form-item>\r\n </el-row>\r\n <el-row class=\"ad\" :style=\"{justifyContent:contents.btnAdAllBoxPosition=='1'?'flex-start':contents.btnAdAllBoxPosition=='2'?'center':'flex-end'}\">\r\n <el-form-item>\r\n <el-button\r\n v-if=\"isAuth('fangjian','新增')\"\r\n type=\"success\"\r\n icon=\"el-icon-plus\"\r\n @click=\"addOrUpdateHandler()\"\r\n >新增</el-button>\r\n &nbsp;\r\n <el-button\r\n v-if=\"isAuth('fangjian','删除')\"\r\n :disabled=\"dataListSelections.length <= 0\"\r\n type=\"danger\"\r\n icon=\"el-icon-delete\"\r\n @click=\"deleteHandler()\"\r\n >删除</el-button>\r\n &nbsp;\r\n <el-button\r\n v-if=\"isAuth('fangjian','报表')\"\r\n type=\"success\"\r\n icon=\"el-icon-pie-chart\"\r\n @click=\"chartDialog()\"\r\n >报表</el-button>\r\n &nbsp;\r\n <a style=\"text-decoration:none\" class=\"el-button el-button--success\"\r\n v-if=\"isAuth('fangjian','导入导出')\"\r\n icon=\"el-icon-download\"\r\n href=\"http://localhost:8080/minsuguanliw/upload/fangjianMuBan.xls\"\r\n >批量导入房间信息数据模板</a>\r\n &nbsp;\r\n <el-upload\r\n v-if=\"isAuth('fangjian','导入导出')\"\r\n style=\"display: inline-block\"\r\n action=\"minsuguanliw/file/upload\"\r\n :on-success=\"fangjianUploadSuccess\"\r\n :on-error=\"fangjianUploadError\"\r\n :show-file-list = false>\r\n <el-button\r\n v-if=\"isAuth('fangjian','导入导出')\"\r\n type=\"success\"\r\n icon=\"el-icon-upload2\"\r\n >批量导入房间信息数据</el-button>\r\n </el-upload>\r\n &nbsp;\r\n <!-- 导出excel -->\r\n <download-excel v-if=\"isAuth('fangjian','导入导出')\" style=\"display: inline-block\" class = \"export-excel-wrapper\" :data = \"dataList\" :fields = \"json_fields\" name = \"fangjian.xls\">\r\n <!-- 导出excel -->\r\n <el-button\r\n type=\"success\"\r\n icon=\"el-icon-download\"\r\n >导出</el-button>\r\n </download-excel>\r\n &nbsp;\r\n </el-form-item>\r\n </el-row>\r\n </el-form>\r\n <div class=\"table-content\">\r\n <el-table class=\"tables\" :size=\"contents.tableSize\" :show-header=\"contents.tableShowHeader\"\r\n :header-row-style=\"headerRowStyle\" :header-cell-style=\"headerCellStyle\"\r\n :border=\"contents.tableBorder\"\r\n :fit=\"contents.tableFit\"\r\n :stripe=\"contents.tableStripe\"\r\n :row-style=\"rowStyle\"\r\n :cell-style=\"cellStyle\"\r\n :style=\"{width: '100%',fontSize:contents.tableContentFontSize,color:contents.tableContentFontColor}\"\r\n v-if=\"isAuth('fangjian','查看')\"\r\n :data=\"dataList\"\r\n v-loading=\"dataListLoading\"\r\n @selection-change=\"selectionChangeHandler\">\r\n <el-table-column v-if=\"contents.tableSelection\"\r\n type=\"selection\"\r\n header-align=\"center\"\r\n align=\"center\"\r\n width=\"50\">\r\n </el-table-column>\r\n <el-table-column label=\"索引\" v-if=\"contents.tableIndex\" type=\"index\" width=\"50\" />\r\n\r\n <el-table-column :sortable=\"contents.tableSortable\" :align=\"contents.tableAlign\"\r\n prop=\"fangjianName\"\r\n header-align=\"center\"\r\n label=\"房间名称\">\r\n <template slot-scope=\"scope\">\r\n {{scope.row.fangjianName}}\r\n </template>\r\n </el-table-column>\r\n <el-table-column :sortable=\"contents.tableSortable\" :align=\"contents.tableAlign\" prop=\"fangjianPhoto\"\r\n header-align=\"center\"\r\n width=\"200\"\r\n label=\"房间图片\">\r\n <template slot-scope=\"scope\">\r\n <div v-if=\"scope.row.fangjianPhoto\">\r\n <img :src=\"scope.row.fangjianPhoto\" width=\"100\" height=\"100\">\r\n </div>\r\n <div v-else>无图片</div>\r\n </template>\r\n </el-table-column>\r\n\r\n <el-table-column :sortable=\"contents.tableSortable\" :align=\"contents.tableAlign\"\r\n prop=\"fangjianTese\"\r\n header-align=\"center\"\r\n label=\"房间特色\">\r\n <template slot-scope=\"scope\">\r\n {{scope.row.fangjianTese}}\r\n </template>\r\n </el-table-column>\r\n\r\n <el-table-column :sortable=\"contents.tableSortable\" :align=\"contents.tableAlign\"\r\n prop=\"fangjianPeizhi\"\r\n header-align=\"center\"\r\n label=\"房间配置\">\r\n <template slot-scope=\"scope\">\r\n {{scope.row.fangjianPeizhi}}\r\n </template>\r\n </el-table-column>\r\n\r\n <el-table-column :sortable=\"contents.tableSortable\" :align=\"contents.tableAlign\"\r\n prop=\"fangjianShangpin\"\r\n header-align=\"center\"\r\n label=\"提供的商品\">\r\n <template slot-scope=\"scope\">\r\n {{scope.row.fangjianShangpin}}\r\n </template>\r\n </el-table-column>\r\n\r\n <el-table-column :sortable=\"contents.tableSortable\" :align=\"contents.tableAlign\"\r\n prop=\"fangjianFuwu\"\r\n header-align=\"center\"\r\n label=\"提供的服务\">\r\n <template slot-scope=\"scope\">\r\n {{scope.row.fangjianFuwu}}\r\n </template>\r\n </el-table-column>\r\n\r\n <el-table-column :sortable=\"contents.tableSortable\" :align=\"contents.tableAlign\"\r\n prop=\"fangjianMoney\"\r\n header-align=\"center\"\r\n label=\"价格(天)\">\r\n <template slot-scope=\"scope\">\r\n {{scope.row.fangjianMoney}}\r\n </template>\r\n </el-table-column>\r\n <el-table-column :sortable=\"contents.tableSortable\" :align=\"contents.tableAlign\"\r\n prop=\"fangjianTypes\"\r\n header-align=\"center\"\r\n label=\"房间类型\">\r\n <template slot-scope=\"scope\">\r\n {{scope.row.fangjianValue}}\r\n </template>\r\n </el-table-column>\r\n <el-table-column :sortable=\"contents.tableSortable\" :align=\"contents.tableAlign\"\r\n prop=\"fangjianNumber\"\r\n header-align=\"center\"\r\n label=\"房间剩余数量\">\r\n <template slot-scope=\"scope\">\r\n {{scope.row.fangjianNumber}}\r\n </template>\r\n </el-table-column>\r\n <el-table-column :sortable=\"contents.tableSortable\" :align=\"contents.tableAlign\"\r\n prop=\"fangjianClicknum\"\r\n header-align=\"center\"\r\n label=\"点击次数\">\r\n <template slot-scope=\"scope\">\r\n {{scope.row.fangjianClicknum}}\r\n </template>\r\n </el-table-column>\r\n\r\n <el-table-column width=\"300\" :align=\"contents.tableAlign\"\r\n header-align=\"center\"\r\n label=\"操作\">\r\n <template slot-scope=\"scope\">\r\n <el-button v-if=\"isAuth('fangjian','查看')\" type=\"success\" icon=\"el-icon-tickets\" size=\"mini\" @click=\"addOrUpdateHandler(scope.row.id,'info')\">详情</el-button>\r\n <el-button v-if=\"isAuth('fangjian','修改')\" type=\"primary\" icon=\"el-icon-edit\" size=\"mini\" @click=\"addOrUpdateHandler(scope.row.id)\">修改</el-button>\r\n\r\n <el-button v-if=\"isAuth('fangjian','删除')\" type=\"danger\" icon=\"el-icon-delete\" size=\"mini\" @click=\"deleteHandler(scope.row.id)\">删除</el-button>\r\n\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n <el-pagination\r\n clsss=\"pages\"\r\n :layout=\"layouts\"\r\n @size-change=\"sizeChangeHandle\"\r\n @current-change=\"currentChangeHandle\"\r\n :current-page=\"pageIndex\"\r\n :page-sizes=\"[10, 20, 50, 100]\"\r\n :page-size=\"Number(contents.pageEachNum)\"\r\n :total=\"totalPage\"\r\n :small=\"contents.pageStyle\"\r\n class=\"pagination-content\"\r\n :background=\"contents.pageBtnBG\"\r\n :style=\"{textAlign:contents.pagePosition==1?'left':contents.pagePosition==2?'center':'right'}\"\r\n ></el-pagination>\r\n </div>\r\n </div>\r\n <!-- 添加/修改页面 将父组件的search方法传递给子组件-->\r\n <add-or-update v-if=\"addOrUpdateFlag\" :parent=\"this\" ref=\"addOrUpdate\"></add-or-update>\r\n\r\n\r\n\r\n <el-dialog title=\"统计报表\" :visible.sync=\"chartVisiable\" width=\"800\">\r\n <el-date-picker\r\n v-model=\"echartsDate\"\r\n type=\"year\"\r\n placeholder=\"选择年\">\r\n </el-date-picker>\r\n <el-button @click=\"chartDialog()\">查询</el-button>\r\n <div id=\"statistic\" style=\"width:100%;height:600px;\"></div>\r\n <span slot=\"footer\" class=\"dialog-footer\">\r\n\t\t\t\t<el-button @click=\"chartVisiable = false\">关闭</el-button>\r\n\t\t\t</span>\r\n </el-dialog>\r\n\r\n </div>\r\n</template>\r\n<script>\r\n import AddOrUpdate from \"./add-or-update\";\r\n import styleJs from \"../../../utils/style.js\";\r\n import utilsJs from \"../../../utils/utils.js\";\r\n\r\n export default {\r\n data() {\r\n return {\r\n searchForm: {\r\n key: \"\"\r\n },\r\n sessionTable : \"\",//登录账户所在表名\r\n role : \"\",//权限\r\n userId:\"\",//当前登录人的id\r\n //级联表下拉框搜索条件\r\n //当前表下拉框搜索条件\r\n fangjianTypesSelectSearch : [],\r\n form:{\r\n id : null,\r\n fangjianName : null,\r\n fangjianPhoto : null,\r\n fangjianTese : null,\r\n fangjianPeizhi : null,\r\n fangjianShangpin : null,\r\n fangjianFuwu : null,\r\n fangjianMoney : null,\r\n fangjianTypes : null,\r\n fangjianNumber : null,\r\n fangjianClicknum : null,\r\n fangjianContent : null,\r\n createTime : null,\r\n },\r\n dataList: [],\r\n pageIndex: 1,\r\n pageSize: 10,\r\n totalPage: 0,\r\n dataListLoading: false,\r\n dataListSelections: [],\r\n showFlag: true,\r\n sfshVisiable: false,\r\n shForm: {},\r\n chartVisiable: false,\r\n echartsDate: new Date(),//echarts的时间查询字段\r\n addOrUpdateFlag:false,\r\n contents:null,\r\n layouts: '',\r\n\r\n //导出excel\r\n json_fields: {\r\n //级联表字段\r\n //本表字段\r\n '房间名称': \"fangjianName\",\r\n '房间图片': \"fangjianPhoto\",\r\n '房间特色': \"fangjianTese\",\r\n '房间配置': \"fangjianPeizhi\",\r\n '提供的商品': \"fangjianShangpin\",\r\n '提供的服务': \"fangjianFuwu\",\r\n '价格(天)': \"fangjianMoney\",\r\n '房间类型': \"fangjianTypes\",\r\n '房间剩余数量': \"fangjianNumber\",\r\n '点击次数': \"fangjianClicknum\",\r\n },\r\n\r\n };\r\n },\r\n created() {\r\n this.contents = styleJs.listStyle();\r\n this.init();\r\n this.getDataList();\r\n this.contentStyleChange()\r\n },\r\n mounted() {\r\n //获取当前登录用户的信息\r\n this.sessionTable = this.$storage.get(\"sessionTable\");\r\n this.role = this.$storage.get(\"role\");\r\n this.userId = this.$storage.get(\"userId\");\r\n\r\n },\r\n filters: {\r\n htmlfilter: function (val) {\r\n return val.replace(/<[^>]*>/g).replace(/undefined/g,'');\r\n }\r\n },\r\n components: {\r\n AddOrUpdate,\r\n },\r\n computed: {\r\n },\r\n methods: {\r\n chartDialog() {\r\n let _this = this;\r\n let params = {\r\n dateFormat :\"%Y\", //%Y-%m\r\n riqi :_this.echartsDate.getFullYear(),\r\n // riqi :_this.echartsDate.getFullYear()+\"-\"+(_this.echartsDate.getMonth() + 1 < 10 ? '0' + (_this.echartsDate.getMonth() + 1) : _this.echartsDate.getMonth() + 1),\r\n thisTable : {//当前表\r\n tableName :'fangjian',//当前表表名,\r\n sumColum : 'fangjian_number', //求和字段\r\n date : 'insert_time',//分组日期字段\r\n // string : 'fangjian_name',//分组字符串字段\r\n // types : 'fangjian_types',//分组下拉框字段\r\n },\r\n // joinTable : {//级联表(可以不存在)\r\n // tableName :'yonghu',//级联表表名\r\n // // date : 'insert_time',//分组日期字段\r\n // string : 'yonghu_name',//分组字符串字段\r\n // // types : 'yonghu_types',//分组下拉框字段\r\n // }\r\n }\r\n _this.chartVisiable = true;\r\n _this.$nextTick(() => {\r\n var statistic = this.$echarts.init(document.getElementById(\"statistic\"), 'macarons');\r\n this.$http({\r\n url: \"barSum\",\r\n method: \"get\",\r\n params: params\r\n }).then(({data}) => {\r\n if(data && data.code === 0){\r\n\r\n //柱状图 求和 已成功使用\r\n //start\r\n let yAxisName = \"数值\";//根据查询数据具体改(单列要改,多列不改)\r\n let xAxisName = \"月份\";\r\n let series = [];//具体数据值\r\n data.data.yAxis.forEach(function (item,index) {\r\n let tempMap = {};\r\n // tempMap.name= [\"数值\"];//根据查询数据具体改(单列要改,多列不改)\r\n tempMap.name=data.data.legend[index];\r\n tempMap.type='bar';\r\n tempMap.data=item;\r\n series.push(tempMap);\r\n\r\n })\r\n\r\n var option = {\r\n tooltip: {\r\n trigger: 'axis',\r\n axisPointer: {\r\n type: 'cross',\r\n crossStyle: {\r\n color: '#999'\r\n }\r\n }\r\n },\r\n toolbox: {\r\n feature: {\r\n // dataView: { show: true, readOnly: false }, // 数据查看\r\n magicType: { show: true, type: ['line', 'bar'] },//切换图形展示方式\r\n // restore: { show: true }, // 刷新\r\n saveAsImage: { show: true }//保存\r\n }\r\n },\r\n legend: {\r\n data: data.data.legend//标题 可以点击导致某一列数据消失\r\n },\r\n xAxis: [\r\n {\r\n type: 'category',\r\n name: xAxisName,\r\n data: data.data.xAxis,\r\n axisPointer: {\r\n type: 'shadow'\r\n }\r\n }\r\n ],\r\n yAxis: [\r\n {\r\n type: 'value',//不能改\r\n name: yAxisName,//y轴单位\r\n axisLabel: {\r\n formatter: '{value}' // 后缀\r\n }\r\n }\r\n ],\r\n series:series//具体数据\r\n };\r\n // 使用刚指定的配置项和数据显示图表。\r\n statistic.setOption(option,true);\r\n //根据窗口的大小变动图表\r\n window.onresize = function () {\r\n statistic.resize();\r\n };\r\n //end\r\n }else {\r\n this.$message({\r\n message: \"报表未查询到数据\",\r\n type: \"success\",\r\n duration: 1500,\r\n onClose: () => {\r\n this.search();\r\n }\r\n });\r\n }\r\n });\r\n });\r\n ////饼状图\r\n //_this.chartVisiable = true;\r\n // this.$nextTick(()=>{\r\n // var statistic = this.$echarts.init(document.getElementById(\"statistic\"),'macarons');\r\n // let params = {\r\n // tableName: \"fangjian\",\r\n // groupColumn: \"fangjian_types\",\r\n // }\r\n // this.$http({\r\n // url: \"newSelectGroupCount\",\r\n // method: \"get\",\r\n // params: params\r\n // }).then(({data}) => {\r\n // if (data && data.code === 0) {\r\n // let res = data.data;\r\n // let xAxis = [];\r\n // let yAxis = [];\r\n // let pArray = []\r\n // var option = {};\r\n // for(let i=0;i<res.length;i++){\r\n // xAxis.push(res[i].name);\r\n // yAxis.push(res[i].value);\r\n // pArray.push({\r\n // value: res[i].value,\r\n // name: res[i].name\r\n // })\r\n // option = {\r\n // title: {\r\n // text: '保险合同类型统计',\r\n // left: 'center'\r\n // },\r\n // tooltip: {\r\n // trigger: 'item',\r\n // formatter: '{b} : {c} ({d}%)'\r\n // },\r\n // series: [\r\n // {\r\n // type: 'pie',\r\n // radius: '55%',\r\n // center: ['50%', '60%'],\r\n // data: pArray,\r\n // emphasis: {\r\n // itemStyle: {\r\n // shadowBlur: 10,\r\n // shadowOffsetX: 0,\r\n // shadowColor: 'rgba(0, 0, 0, 0.5)'\r\n // }\r\n // }\r\n // }\r\n // ]\r\n // };\r\n // }\r\n // statistic.setOption(option);\r\n // window.onresize = function() {\r\n // statistic.resize();\r\n // };\r\n // }\r\n // });\r\n // })\r\n },\r\n contentStyleChange() {\r\n this.contentSearchStyleChange()\r\n this.contentBtnAdAllStyleChange()\r\n this.contentSearchBtnStyleChange()\r\n this.contentTableBtnStyleChange()\r\n this.contentPageStyleChange()\r\n },\r\n contentSearchStyleChange() {\r\n this.$nextTick(() => {\r\n document.querySelectorAll('.form-content .slt .el-input__inner').forEach(el => {\r\n let textAlign = 'left'\r\n if(this.contents.inputFontPosition == 2)\r\n textAlign = 'center'\r\n if (this.contents.inputFontPosition == 3) textAlign = 'right'\r\n el.style.textAlign = textAlign\r\n el.style.height = this.contents.inputHeight\r\n el.style.lineHeight = this.contents.inputHeight\r\n el.style.color = this.contents.inputFontColor\r\n el.style.fontSize = this.contents.inputFontSize\r\n el.style.borderWidth = this.contents.inputBorderWidth\r\n el.style.borderStyle = this.contents.inputBorderStyle\r\n el.style.borderColor = this.contents.inputBorderColor\r\n el.style.borderRadius = this.contents.inputBorderRadius\r\n el.style.backgroundColor = this.contents.inputBgColor\r\n })\r\n if (this.contents.inputTitle) {\r\n document.querySelectorAll('.form-content .slt .el-form-item__label').forEach(el => {\r\n el.style.color = this.contents.inputTitleColor\r\n el.style.fontSize = this.contents.inputTitleSize\r\n el.style.lineHeight = this.contents.inputHeight\r\n })\r\n }\r\n setTimeout(() => {\r\n document.querySelectorAll('.form-content .slt .el-input__prefix').forEach(el => {\r\n el.style.color = this.contents.inputIconColor\r\n el.style.lineHeight = this.contents.inputHeight\r\n })\r\n document.querySelectorAll('.form-content .slt .el-input__suffix').forEach(el => {\r\n el.style.color = this.contents.inputIconColor\r\n el.style.lineHeight = this.contents.inputHeight\r\n })\r\n document.querySelectorAll('.form-content .slt .el-input__icon').forEach(el => {\r\n el.style.lineHeight = this.contents.inputHeight\r\n })\r\n }, 10 )\r\n })\r\n },\r\n // 搜索按钮\r\n contentSearchBtnStyleChange() {\r\n this.$nextTick(() => {\r\n document.querySelectorAll('.form-content .slt .el-button--success').forEach(el => {\r\n el.style.height = this.contents.searchBtnHeight\r\n el.style.color = this.contents.searchBtnFontColor\r\n el.style.fontSize = this.contents.searchBtnFontSize\r\n el.style.borderWidth = this.contents.searchBtnBorderWidth\r\n el.style.borderStyle = this.contents.searchBtnBorderStyle\r\n el.style.borderColor = this.contents.searchBtnBorderColor\r\n el.style.borderRadius = this.contents.searchBtnBorderRadius\r\n el.style.backgroundColor = this.contents.searchBtnBgColor\r\n })\r\n })\r\n },\r\n // 新增、批量删除\r\n contentBtnAdAllStyleChange() {\r\n this.$nextTick(() => {\r\n document.querySelectorAll('.form-content .ad .el-button--success').forEach(el => {\r\n el.style.height = this.contents.btnAdAllHeight\r\n el.style.color = this.contents.btnAdAllAddFontColor\r\n el.style.fontSize = this.contents.btnAdAllFontSize\r\n el.style.borderWidth = this.contents.btnAdAllBorderWidth\r\n el.style.borderStyle = this.contents.btnAdAllBorderStyle\r\n el.style.borderColor = this.contents.btnAdAllBorderColor\r\n el.style.borderRadius = this.contents.btnAdAllBorderRadius\r\n el.style.backgroundColor = this.contents.btnAdAllAddBgColor\r\n })\r\n document.querySelectorAll('.form-content .ad .el-button--danger').forEach(el => {\r\n el.style.height = this.contents.btnAdAllHeight\r\n el.style.color = this.contents.btnAdAllDelFontColor\r\n el.style.fontSize = this.contents.btnAdAllFontSize\r\n el.style.borderWidth = this.contents.btnAdAllBorderWidth\r\n el.style.borderStyle = this.contents.btnAdAllBorderStyle\r\n el.style.borderColor = this.contents.btnAdAllBorderColor\r\n el.style.borderRadius = this.contents.btnAdAllBorderRadius\r\n el.style.backgroundColor = this.contents.btnAdAllDelBgColor\r\n })\r\n document.querySelectorAll('.form-content .ad .el-button--warning').forEach(el => {\r\n el.style.height = this.contents.btnAdAllHeight\r\n el.style.color = this.contents.btnAdAllWarnFontColor\r\n el.style.fontSize = this.contents.btnAdAllFontSize\r\n el.style.borderWidth = this.contents.btnAdAllBorderWidth\r\n el.style.borderStyle = this.contents.btnAdAllBorderStyle\r\n el.style.borderColor = this.contents.btnAdAllBorderColor\r\n el.style.borderRadius = this.contents.btnAdAllBorderRadius\r\n el.style.backgroundColor = this.contents.btnAdAllWarnBgColor\r\n })\r\n })\r\n },\r\n // 表格\r\n rowStyle({row, rowIndex}) {\r\n if (rowIndex % 2 == 1) {\r\n if (this.contents.tableStripe) {\r\n return {color: this.contents.tableStripeFontColor}\r\n }\r\n } else {\r\n return ''\r\n }\r\n },\r\n cellStyle({row, rowIndex}) {\r\n if (rowIndex % 2 == 1) {\r\n if (this.contents.tableStripe) {\r\n return {backgroundColor: this.contents.tableStripeBgColor}\r\n }\r\n } else {\r\n return ''\r\n }\r\n },\r\n headerRowStyle({row, rowIndex}) {\r\n return {color: this.contents.tableHeaderFontColor}\r\n },\r\n headerCellStyle({row, rowIndex}) {\r\n return {backgroundColor: this.contents.tableHeaderBgColor}\r\n },\r\n // 表格按钮\r\n contentTableBtnStyleChange() {\r\n // this.$nextTick(()=>{\r\n // setTimeout(()=>{\r\n // document.querySelectorAll('.table-content .tables .el-table__body .el-button--success').forEach(el=>{\r\n // el.style.height = this.contents.tableBtnHeight\r\n // el.style.color = this.contents.tableBtnDetailFontColor\r\n // el.style.fontSize = this.contents.tableBtnFontSize\r\n // el.style.borderWidth = this.contents.tableBtnBorderWidth\r\n // el.style.borderStyle = this.contents.tableBtnBorderStyle\r\n // el.style.borderColor = this.contents.tableBtnBorderColor\r\n // el.style.borderRadius = this.contents.tableBtnBorderRadius\r\n // el.style.backgroundColor = this.contents.tableBtnDetailBgColor\r\n // })\r\n // document.querySelectorAll('.table-content .tables .el-table__body .el-button--primary').forEach(el=>{\r\n // el.style.height = this.contents.tableBtnHeight\r\n // el.style.color = this.contents.tableBtnEditFontColor\r\n // el.style.fontSize = this.contents.tableBtnFontSize\r\n // el.style.borderWidth = this.contents.tableBtnBorderWidth\r\n // el.style.borderStyle = this.contents.tableBtnBorderStyle\r\n // el.style.borderColor = this.contents.tableBtnBorderColor\r\n // el.style.borderRadius = this.contents.tableBtnBorderRadius\r\n // el.style.backgroundColor = this.contents.tableBtnEditBgColor\r\n // })\r\n // document.querySelectorAll('.table-content .tables .el-table__body .el-button--danger').forEach(el=>{\r\n // el.style.height = this.contents.tableBtnHeight\r\n // el.style.color = this.contents.tableBtnDelFontColor\r\n // el.style.fontSize = this.contents.tableBtnFontSize\r\n // el.style.borderWidth = this.contents.tableBtnBorderWidth\r\n // el.style.borderStyle = this.contents.tableBtnBorderStyle\r\n // el.style.borderColor = this.contents.tableBtnBorderColor\r\n // el.style.borderRadius = this.contents.tableBtnBorderRadius\r\n // el.style.backgroundColor = this.contents.tableBtnDelBgColor\r\n // })\r\n\r\n // }, 50)\r\n // })\r\n },\r\n // 分页\r\n contentPageStyleChange() {\r\n let arr = []\r\n if (this.contents.pageTotal) arr.push('total')\r\n if (this.contents.pageSizes) arr.push('sizes')\r\n if (this.contents.pagePrevNext) {\r\n arr.push('prev')\r\n if (this.contents.pagePager) arr.push('pager')\r\n arr.push('next')\r\n }\r\n if (this.contents.pageJumper) arr.push('jumper')\r\n this.layouts = arr.join()\r\n this.contents.pageEachNum = 10\r\n },\r\n\r\n init() {\r\n },\r\n search() {\r\n this.pageIndex = 1;\r\n this.getDataList();\r\n },\r\n // 获取数据列表\r\n getDataList() {\r\n this.dataListLoading = true;\r\n let params = {\r\n page: this.pageIndex,\r\n limit: this.pageSize,\r\n sort: 'id',\r\n }\r\n\r\n \r\n if (this.searchForm.fangjianName!= '' && this.searchForm.fangjianName!= undefined) {\r\n params['fangjianName'] = '%' + this.searchForm.fangjianName + '%'\r\n }\r\n \r\n if (this.searchForm.fangjianTypes!= '' && this.searchForm.fangjianTypes!= undefined) {\r\n params['fangjianTypes'] = this.searchForm.fangjianTypes\r\n }\r\n \r\n params['fangjianDelete'] = 1// 逻辑删除字段 1 未删除 2 删除\r\n\r\n\r\n this.$http({\r\n url: \"fangjian/page\",\r\n method: \"get\",\r\n params: params\r\n }).then(({data}) => {\r\n if(data && data.code === 0){\r\n this.dataList = data.data.list;\r\n this.totalPage = data.data.total;\r\n }else{\r\n this.dataList = [];\r\n this.totalPage = 0;\r\n }\r\n this.dataListLoading = false;\r\n });\r\n\r\n //查询级联表搜索条件所有列表\r\n //查询当前表搜索条件所有列表\r\n //填充下拉框选项\r\n this.$http({\r\n url: \"dictionary/page?dicCode=fangjian_types&page=1&limit=100\",\r\n method: \"get\",\r\n }).then(({data}) => {\r\n if(data && data.code === 0){\r\n this.fangjianTypesSelectSearch = data.data.list;\r\n }\r\n });\r\n },\r\n //每页数\r\n sizeChangeHandle(val) {\r\n this.pageSize = val;\r\n this.pageIndex = 1;\r\n this.getDataList();\r\n },\r\n // 当前页\r\n currentChangeHandle(val) {\r\n this.pageIndex = val;\r\n this.getDataList();\r\n },\r\n // 多选\r\n selectionChangeHandler(val) {\r\n this.dataListSelections = val;\r\n },\r\n // 添加/修改\r\n addOrUpdateHandler(id, type) {\r\n this.showFlag = false;\r\n this.addOrUpdateFlag = true;\r\n this.crossAddOrUpdateFlag = false;\r\n if (type != 'info') {\r\n type = 'else';\r\n }\r\n this.$nextTick(() => {\r\n this.$refs.addOrUpdate.init(id, type);\r\n });\r\n },\r\n // 下载\r\n download(file) {\r\n window.open(\" ${file} \")\r\n },\r\n // 删除\r\n deleteHandler(id) {\r\n var ids = id ? [Number(id)] : this.dataListSelections.map(item => {\r\n return Number(item.id);\r\n });\r\n\r\n this.$confirm(`确定进行[${id ? \"删除\" : \"批量删除\"}]操作?`, \"提示\", {\r\n confirmButtonText: \"确定\",\r\n cancelButtonText: \"取消\",\r\n type: \"warning\"\r\n }).then(() => {\r\n this.$http({\r\n url: \"fangjian/delete\",\r\n method: \"post\",\r\n data: ids\r\n }).then(({data}) => {\r\n if(data && data.code === 0){\r\n this.$message({\r\n message: \"操作成功\",\r\n type: \"success\",\r\n duration: 1500,\r\n onClose: () => {\r\n this.search();\r\n }\r\n });\r\n }else{\r\n this.$message.error(data.msg);\r\n }\r\n });\r\n });\r\n },\r\n // 导入功能上传文件成功后调用导入方法\r\n fangjianUploadSuccess(data){\r\n let _this = this;\r\n _this.$http({\r\n url: \"fangjian/batchInsert?fileName=\" + data.file,\r\n method: \"get\"\r\n }).then(({data}) => {\r\n if(data && data.code === 0){\r\n _this.$message({\r\n message: \"导入房间信息数据成功\",\r\n type: \"success\",\r\n duration: 1500,\r\n onClose: () => {\r\n _this.search();\r\n }\r\n });\r\n }else{\r\n _this.$message.error(data.msg);\r\n }\r\n });\r\n\r\n },\r\n // 导入功能上传文件失败后调用导入方法\r\n fangjianUploadError(data){\r\n this.$message.error('上传失败');\r\n },\r\n }\r\n };\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n.slt {\r\n margin: 0 !important;\r\n display: flex;\r\n }\r\n\r\n .ad {\r\n margin: 0 !important;\r\n display: flex;\r\n }\r\n\r\n .pages {\r\n & /deep/ el-pagination__sizes{\r\n & /deep/ el-input__inner {\r\n height: 22px;\r\n line-height: 22px;\r\n }\r\n }\r\n }\r\n \r\n\r\n .el-button+.el-button {\r\n margin:0;\r\n } \r\n\r\n .tables {\r\n\t& /deep/ .el-button--success {\r\n\t\theight: 40px;\r\n\t\tcolor: #333;\r\n\t\tfont-size: 14px;\r\n\t\tborder-width: 1px;\r\n\t\tborder-style: solid;\r\n\t\tborder-color: #DCDFE6;\r\n\t\tborder-radius: 4px;\r\n\t\tbackground-color: rgba(117, 113, 249, 1);\r\n\t}\r\n\t\r\n\t& /deep/ .el-button--primary {\r\n\t\theight: 40px;\r\n\t\tcolor: #333;\r\n\t\tfont-size: 14px;\r\n\t\tborder-width: 1px;\r\n\t\tborder-style: solid;\r\n\t\tborder-color: #DCDFE6;\r\n\t\tborder-radius: 4px;\r\n\t\tbackground-color: rgba(102, 204, 255, 1);\r\n\t}\r\n\t\r\n\t& /deep/ .el-button--danger {\r\n\t\theight: 40px;\r\n\t\tcolor: #333;\r\n\t\tfont-size: 14px;\r\n\t\tborder-width: 1px;\r\n\t\tborder-style: solid;\r\n\t\tborder-color: #DCDFE6;\r\n\t\tborder-radius: 4px;\r\n\t\tbackground-color: rgba(204, 255, 102, 1);\r\n\t}\r\n\r\n & /deep/ .el-button {\r\n margin: 4px;\r\n }\r\n }\r\n</style>\r\n\r\n\r\n"]}]}