repo_id stringlengths 6 101 | size int64 367 5.14M | file_path stringlengths 2 269 | content stringlengths 367 5.14M |
|---|---|---|---|
271374667/SimpleWMS | 4,366 | src/common/plugins/database_plugins/return_times_plugin.py | from datetime import datetime
from typing import Optional
from PySide6.QtCore import QDate
from PySide6.QtWidgets import QApplication, QHBoxLayout, QVBoxLayout, QWidget
from qfluentwidgets import ToolTipFilter
from qfluentwidgets.components import BodyLabel, CalendarPicker, PushButton
from src.common.database.controller.database_plugin_controller import (
DatabasePluginController,
)
from src.common.plugins.plugin_base import DatabasePluginBase
from src.config import cfg
from src.core.wms_dataclass import ReturnTimesDataclass
class CustomWidget(QWidget):
def __init__(self):
super().__init__()
self.main_layout = QVBoxLayout()
# 设置起始时间
self.start_layout = QHBoxLayout()
self.start_lb = BodyLabel()
self.start_lb.setText("设置起始时间:")
self.start_calendar_picker = CalendarPicker()
self.start_calendar_picker.setText("起始时间")
self.start_calendar_picker.setDateFormat("yyyy-MM-dd")
self.start_setting_btn = PushButton()
self.start_setting_btn.setText("将起始时间设为2000年1月1日")
self.start_setting_btn.setToolTip("使用这样的方式可以查看所有的退货率")
self.start_layout.addWidget(self.start_lb)
self.start_layout.addWidget(self.start_calendar_picker)
self.start_layout.addWidget(self.start_setting_btn)
self.main_layout.addLayout(self.start_layout)
# 设置结束时间
self.end_layout = QHBoxLayout()
self.end_lb = BodyLabel()
self.end_lb.setText("设置结束时间:")
self.end_calendar_picker = CalendarPicker()
self.end_calendar_picker.setText("结束时间")
self.end_calendar_picker.setDateFormat("yyyy-MM-dd")
self.end_calendar_btn = PushButton()
self.end_calendar_btn.setText("将所有时间设为今天")
self.end_calendar_btn.setToolTip("使用这样的方式可以查看到今天的退货率")
self.end_layout.addWidget(self.end_lb)
self.end_layout.addWidget(self.end_calendar_picker)
self.end_layout.addWidget(self.end_calendar_btn)
self.main_layout.addLayout(self.end_layout)
self.setLayout(self.main_layout)
self.start_setting_btn.clicked.connect(self.set_start_time_from_2000)
self.end_calendar_btn.clicked.connect(self.set_end_time_today)
for each in self.findChildren(QWidget):
each.installEventFilter(ToolTipFilter(each, 200))
def set_start_time_from_2000(self):
self.start_calendar_picker.setDate(QDate(2000, 1, 1))
def set_end_time_today(self):
today = datetime.today()
self.end_calendar_picker.setDate(QDate(today.year, today.month, today.day))
self.start_calendar_picker.setDate(QDate(today.year, today.month, today.day))
class ReturnTimesPlugin(DatabasePluginBase):
plugin_name: str = "查看退货"
has_custom_widget: bool = True
has_initialize: bool = True
table_dataclass = ReturnTimesDataclass
# 用于控制分页
total_pages: int = 1
current_page: int = 1
per_page_count: int = cfg.get(cfg.max_table_rows)
def get_data(
self, limit: Optional[int] = None, offset: Optional[int] = None
) -> list[ReturnTimesDataclass]:
data = self._database_plugin_controller.get_return_data()
# 根据时间进行筛选
start_time = self._custom_widget.start_calendar_picker.getDate()
end_time = self._custom_widget.end_calendar_picker.getDate()
if not start_time.isValid() or not end_time.isValid():
return data
start_time = self._custom_widget.start_calendar_picker.date.toPython()
end_time = self._custom_widget.end_calendar_picker.date.toPython()
if start_time >= end_time:
start_time, end_time = end_time, start_time
data = filter(lambda i: start_time <= i.入库时间.date() <= end_time, data)
return data
def get_description(self) -> str:
return (
"查看退货情况, 可以通过点击表头进行排序\n"
"默认情况下直接点击开始查找按钮即可查看所有的退货情况"
)
def get_custom_widget(self) -> QWidget:
self._custom_widget = CustomWidget()
return self._custom_widget
def _initialize(self) -> None:
self._custom_widget = CustomWidget()
self._database_plugin_controller = DatabasePluginController()
def _connect_signals(self) -> None:
pass
if __name__ == "__main__":
app = QApplication([])
widget = CustomWidget()
widget.show()
app.exec()
|
271374667/SimpleWMS | 9,155 | src/common/plugins/database_plugins/unsalable_plugin.py | from typing import Optional
from PySide6.QtWidgets import QGroupBox, QHBoxLayout, QVBoxLayout, QWidget
from qfluentwidgets import BodyLabel, SpinBox, ToolTipFilter
from src.common.database.controller.database_plugin_controller import (
DatabasePluginController,
)
from src.common.plugins.plugin_base import DatabasePluginBase
from src.config import cfg
from src.core.wms_dataclass import UnsalableDataclass
class UnsalableWidget(QWidget):
def __init__(self):
super().__init__()
self.main_layout = QVBoxLayout()
# 设置第一阶段
self.first_stage_group = QGroupBox("第一阶段")
self.first_stage_layout = QHBoxLayout()
self.first_stage_day_label = BodyLabel()
self.first_stage_day_spin_box = SpinBox()
self.first_state_value_label = BodyLabel()
self.first_state_value_spin_box = SpinBox()
# 设置第一阶段的文本框和标签
self.first_stage_day_label.setText("轻微滞销天数:")
self.first_stage_day_spin_box.setValue(3)
self.first_stage_day_spin_box.setRange(0, 100)
self.first_stage_day_spin_box.setSuffix("天")
self.first_stage_day_spin_box.setSingleStep(1)
self.first_stage_day_spin_box.setToolTip(
"当商品存放时间在当前时间和中度滞销时间期间且满足轻微滞销的百分比,商品会被标记为滞销"
)
self.first_stage_day_label.setBuddy(self.first_stage_day_spin_box)
self.first_stage_layout.addWidget(self.first_stage_day_label)
self.first_stage_layout.addWidget(self.first_stage_day_spin_box)
self.first_state_value_label.setText("轻微滞销百分比:")
self.first_state_value_spin_box.setValue(80)
self.first_state_value_spin_box.setRange(0, 100)
self.first_state_value_spin_box.setSuffix("%")
self.first_state_value_spin_box.setSingleStep(1)
self.first_state_value_spin_box.setToolTip(
"轻微滞销天数和中度滞销天数期间达到百分比数量的商品,会被标记为轻微滞销"
)
self.first_state_value_label.setBuddy(self.first_state_value_spin_box)
self.first_stage_layout.addWidget(self.first_state_value_label)
self.first_stage_layout.addWidget(self.first_state_value_spin_box)
self.first_stage_group.setLayout(self.first_stage_layout)
self.main_layout.addWidget(self.first_stage_group)
# 设置第二阶段
self.second_stage_group = QGroupBox("第二阶段")
self.second_stage_layout = QHBoxLayout()
self.second_stage_day_label = BodyLabel()
self.second_stage_day_spin_box = SpinBox()
self.second_state_value_label = BodyLabel()
self.second_state_value_spin_box = SpinBox()
# 设置第二阶段的文本框和标签
self.second_stage_day_label.setText("中等滞销天数:")
self.second_stage_day_spin_box.setValue(7)
self.second_stage_day_spin_box.setRange(1, 100)
self.second_stage_day_spin_box.setSuffix("天")
self.second_stage_day_spin_box.setSingleStep(1)
self.second_stage_day_spin_box.setToolTip(
"设置中等滞销的天数,该天数必须大于轻微滞销的天数,且小于严重滞销的天数"
)
self.second_stage_day_label.setBuddy(self.second_stage_day_spin_box)
self.second_stage_layout.addWidget(self.second_stage_day_label)
self.second_stage_layout.addWidget(self.second_stage_day_spin_box)
self.second_state_value_label.setText("中等滞销百分比:")
self.second_state_value_spin_box.setValue(70)
self.second_state_value_spin_box.setRange(0, 100)
self.second_state_value_spin_box.setSuffix("%")
self.second_state_value_spin_box.setSingleStep(1)
self.second_state_value_spin_box.setToolTip(
"在中等滞销天数和严重滞销期间达到此百分比数量的商品,会被标记为中等滞销"
)
self.second_state_value_label.setBuddy(self.second_state_value_spin_box)
self.second_stage_layout.addWidget(self.second_state_value_label)
self.second_stage_layout.addWidget(self.second_state_value_spin_box)
self.second_stage_group.setLayout(self.second_stage_layout)
self.main_layout.addWidget(self.second_stage_group)
# 设置第三阶段
self.third_stage_group = QGroupBox("第三阶段")
self.third_stage_layout = QHBoxLayout()
self.third_stage_day_label = BodyLabel()
self.third_stage_day_spin_box = SpinBox()
# 设置第三阶段的文本框和标签
self.third_stage_day_label.setText("严重滞销天数:")
self.third_stage_day_spin_box.setValue(30)
self.third_stage_day_spin_box.setRange(1, 100)
self.third_stage_day_spin_box.setSuffix("天")
self.third_stage_day_spin_box.setSingleStep(1)
self.third_stage_day_spin_box.setToolTip(
"设置严重滞销的天数,大于这个天数的商品都会被标记为严重滞销"
)
self.third_stage_day_label.setBuddy(self.third_stage_day_spin_box)
self.third_stage_layout.addWidget(self.third_stage_day_label)
self.third_stage_layout.addWidget(self.third_stage_day_spin_box)
self.third_stage_group.setLayout(self.third_stage_layout)
self.main_layout.addWidget(self.third_stage_group)
# 设置一些规则
self.first_state_value_spin_box.valueChanged.connect(self._validate_rule)
self.second_state_value_spin_box.valueChanged.connect(self._validate_rule)
self.first_stage_day_spin_box.valueChanged.connect(self._validate_rule)
self.second_stage_day_spin_box.valueChanged.connect(self._validate_rule)
self.third_stage_day_spin_box.valueChanged.connect(self._validate_rule)
self.setLayout(self.main_layout)
# self.setStyleSheet('background-color: #fcfcfc')
for each in self.findChildren(QWidget):
each.installEventFilter(ToolTipFilter(each, 200))
def _validate_rule(self):
# 首先是两个天数,中等滞销的天数必须大于轻微滞销的天数,严重滞销的天数必须大于中等滞销的天数
if (
self.first_stage_day_spin_box.value()
>= self.second_stage_day_spin_box.value()
):
self.second_stage_day_spin_box.setValue(
self.first_stage_day_spin_box.value() + 1
)
if (
self.second_stage_day_spin_box.value()
>= self.third_stage_day_spin_box.value()
):
self.third_stage_day_spin_box.setValue(
self.second_stage_day_spin_box.value() + 1
)
# 然后是严重滞销的百分比必须小于中等滞销的百分比,中等滞销的百分比必须小于轻微滞销的百分比
if (
self.first_state_value_spin_box.value()
<= self.second_state_value_spin_box.value()
):
self.second_state_value_spin_box.setValue(
self.first_state_value_spin_box.value() - 1
)
class UnsalablePlugin(DatabasePluginBase):
"""
滞销售商品插件
滞销分为3个阶段,第一个阶段如果大于等于3天内小于7条库存量大于50%,那么就会被标记为轻微滞销
第二个阶段如果大于7天,库存量还剩70%的商品,那么就会被标记为中等滞销
第三个阶段如果30天内没有卖出的商品,全部会被标记为严重滞销
上面的这些数据都需要可以直接在界面上设置
"""
plugin_name: str = "滞销商品"
table_dataclass = UnsalableDataclass
has_custom_widget: bool = True
has_initialize: bool = True
# 用于控制分页
total_pages: int = 1
current_page: int = 1
per_page_count: int = cfg.get(cfg.max_table_rows)
def get_data(
self, limit: Optional[int] = None, offset: Optional[int] = None
) -> list[UnsalableDataclass]:
unsalable_data = self._database_plugin_controller.get_unsalable_data()
level_1_day = self._custom_widget.first_stage_day_spin_box.value()
level_1_value = self._custom_widget.first_state_value_spin_box.value()
level_2_day = self._custom_widget.second_stage_day_spin_box.value()
level_2_value = self._custom_widget.second_state_value_spin_box.value()
level_3_day = self._custom_widget.third_stage_day_spin_box.value()
# 这里是对数据进行筛选
result: list[UnsalableDataclass] = []
for each in unsalable_data:
level_1_condition = (
(each.入库天数 >= level_1_day)
and (each.入库天数 < level_2_day)
and (each.存货率 >= level_1_value)
)
level_2_condition = (each.入库天数 >= level_2_day) and (
each.存货率 >= level_2_value
)
level_3_condition = each.入库天数 >= level_3_day
if level_1_condition or level_2_condition or level_3_condition:
result.append(each)
return result
get_data.__doc__ = DatabasePluginBase.get_data.__doc__
def get_description(self) -> str:
return (
"该插件用于筛选滞销商品,逻辑为根据批次,品牌,商品名称进行分组筛选\n"
"其中存货率为(库存量/总量)的百分比,存放天数为从入库开始到今天为止的天数"
)
get_description.__doc__ = DatabasePluginBase.get_description.__doc__
def get_custom_widget(self) -> QWidget:
self._custom_widget = UnsalableWidget()
return self._custom_widget
get_custom_widget.__doc__ = DatabasePluginBase.get_custom_widget.__doc__
def _initialize(self) -> None:
self._custom_widget = UnsalableWidget()
self._database_plugin_controller = DatabasePluginController()
def _connect_signals(self) -> None: ...
if __name__ == "__main__":
from PySide6.QtWidgets import QApplication
app = QApplication([])
unsalable_plugin = UnsalablePlugin()
window = unsalable_plugin.get_custom_widget()
window.show()
# print(DatabasePluginManager.get_all_plugins())
print(unsalable_plugin.get_data())
app.exec()
|
274056675/springboot-openai-chatgpt | 4,859 | chatgpt_pc/src/store/modules/user.js | import { setStorage, getStorage, removeStorage } from "@/utils/storage";
import { loginBySocialApi, getUserInfo, refreshTokenApi } from '@/api/system'
import { getSettingDataApi } from "@/api/user.js"
const user = {
state: {
tenantId: '000000',
token: getStorage({ name: 'token' }) || '', //token
isLogin: getStorage({ name: 'token' }) ? true : false, //是否登录
userInfo: getStorage({ name: 'userInfo' }) || {}, //用户信息
refreshToken: getStorage({ name: 'refreshToken' }) || '', //刷新token
settingObj: getStorage({ name: 'settingObj' }) || {}, //个人设置数据
isSign: false, // 是否签到
},
mutations: {
// 设置租户
SET_TENANT_ID(state, tenantId) {
state.tenantId = tenantId
setStorage({
name: 'tenantId',
content: state.tenantId
})
},
// 设置token
SET_TOKEN(state, token) {
state.token = token;
setStorage({
name: 'token',
content: state.token
})
},
// 退出登录
LOGIN_SUCCESS(commit, state) {
state.token = '';
removeStorage({ name: 'token' })
},
// 设置用户信息
SET_USER_INFO(state, userInfo) {
state.userInfo = userInfo
setStorage({
name: 'userInfo',
content: state.userInfo
})
},
SET_IS_LOGIN(state, isLogin) {
state.isLogin = isLogin
},
// 设置刷新token
SET_REFRESH_TOKEN(state, refreshToken) {
state.refreshToken = refreshToken
setStorage({
name: 'refreshToken',
content: state.refreshToken
})
},
//存储用户个人设置
SET_SETTING_OBJ(state, settingObj) {
state.settingObj = settingObj
setStorage({
name: 'settingObj',
content: state.settingObj
})
},
// 设置签到
SET_IS_SIGN(state, isSign) {
state.isSign = isSign
},
},
actions: {
LoginBySocial({ commit, dispatch, state }, userInfo) {
return new Promise((resolve, reject) => {
loginBySocialApi(userInfo.params, userInfo.meta).then(async res => {
const data = res;
commit('SET_TOKEN', data.data.accessToken);
commit('SET_REFRESH_TOKEN', data.data.refreshToken);
commit('SET_TENANT_ID', data.data.tenantId);
commit('SET_IS_LOGIN', true)
await dispatch('getUserInfoActions')
resolve(data.data);
}).catch(error => {
reject(error)
})
})
},
//获取用户信息
getUserInfoActions({ commit, state }) {
return new Promise((resolve) => {
if (state.isLogin) {
getUserInfo().then(userInfoRes => {
commit('SET_USER_INFO', userInfoRes.data);
resolve()
}).catch((err) => {
resolve()
})
} else {
resolve()
}
})
},
//清空登录
FedLogOut({ commit }) {
return new Promise(resolve => {
commit('SET_TOKEN', '');
commit('SET_IS_LOGIN', false);
commit('SET_USER_INFO', {})
resolve();
})
},
//退出登录
LogOut({ commit }) {
commit('SET_TOKEN', '');
commit('SET_IS_LOGIN', false);
commit('SET_USER_INFO', {})
commit('SET_REFRESH_TOKEN', '')
},
//刷新token
refreshToken({ state, commit, dispatch }, userInfo) {
return new Promise((resolve, reject) => {
refreshTokenApi(state.refreshToken, state.tenantId).then(async res => {
let data = res
commit('SET_TOKEN', data.data.accessToken);
commit('SET_REFRESH_TOKEN', data.data.refreshToken);
await dispatch('getUserInfoActions')
resolve()
}).catch(error => {
reject(error)
})
})
},
//获取用户个人设置
getSettingDataActions({
commit
}) {
return new Promise((resolve) => {
getSettingDataApi().then(res => {
commit('SET_SETTING_OBJ', res.data);
resolve()
}).catch(() => {
resolve()
})
})
},
},
}
export default user |
233zzh/TitanDataOperationSystem | 38,626 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/jvector/jquery-jvectormap-us-il-chicago-mill-en.js | $.fn.vectorMap('addMap', 'us-il-chicago_mill_en',{"insets": [{"width": 900.0, "top": 0, "height": 981.6642077705183, "bbox": [{"y": -4974623.06756953, "x": -9794413.94204009}, {"y": -4924089.35877946, "x": -9748084.109953867}], "left": 0}], "paths": {"30": {"path": "M434.84,460.98l36.68,-9.71l0.3,-0.39l-0.1,-5.36l20.97,-0.32l2.81,-0.75l0.3,-0.42l-0.11,-3.59l15.66,-0.18l2.05,-0.51l0.29,-0.4l-0.1,-3.87l15.13,-0.27l0.51,0.69l15.82,-4.25l0.49,21.81l0.5,9.27l0.23,25.68l-18.77,7.05l-0.82,-0.42l-8.12,3.3l-9.08,2.89l-0.32,0.4l0.05,1.49l-20.38,7.69l-0.54,-0.54l-51.84,19.56l-0.14,-7.94l0.35,-0.36l-0.71,-37.88l-0.27,-0.26l-0.11,-4.47l-0.27,-0.26l-0.45,-17.67Z", "name": "SOUTH LAWNDALE"}, "42": {"path": "M702.83,648.78l-0.66,-32.42l62.7,-1.14l0.5,-0.66l1.56,0.3l1.02,1.13l17.07,-0.71l2.46,6.49l6.42,3.82l6.0,2.05l-5.94,2.09l-0.23,0.51l0.25,0.7l-2.29,0.68l-1.48,1.19l-1.26,3.45l0.09,2.02l1.35,2.52l-0.71,0.12l-0.21,0.84l2.1,0.93l1.55,0.1l0.41,0.34l0.47,-0.55l2.88,-0.87l0.49,-1.57l-0.05,-0.88l-1.26,-1.88l-0.85,-0.22l-0.17,-0.63l-1.11,-1.39l0.14,-1.94l1.24,-0.25l0.46,0.19l0.72,1.51l4.23,4.18l2.34,1.53l4.68,6.55l-84.35,1.23l-0.39,0.41l0.35,17.92l-20.5,-17.67Z", "name": "WOODLAWN"}, "29": {"path": "M433.41,408.21l0.45,-0.42l-0.26,-7.5l14.87,-4.96l0.14,4.61l0.41,0.39l15.38,-0.23l0.02,1.07l0.4,0.39l10.98,-0.16l0.39,-0.41l-0.08,-2.93l4.67,-0.17l25.79,-0.3l0.06,2.01l0.4,0.39l31.11,-0.42l0.26,3.65l0.5,1.81l0.56,0.86l-0.32,0.56l5.51,9.03l-0.07,9.07l0.31,0.69l0.1,5.58l-15.52,4.17l-0.39,-0.57l-0.38,-0.02l-15.57,0.28l-0.39,0.41l0.1,3.97l-1.55,0.4l-16.02,0.16l-0.44,0.41l0.1,3.73l-2.42,0.65l-21.26,0.32l-0.39,0.41l0.11,5.44l-36.2,9.59l-1.4,-51.95Z", "name": "NORTH LAWNDALE"}, "60": {"path": "M604.34,460.52l0.42,0.11l4.45,-3.9l2.33,0.23l14.05,-2.95l2.99,-0.24l8.14,-2.55l3.73,-0.28l1.58,2.39l0.44,0.11l1.88,-0.89l0.84,1.17l-1.12,0.02l-0.32,0.63l1.36,1.93l-0.17,0.55l0.52,1.99l0.41,0.39l4.47,-0.18l2.14,0.42l0.14,6.34l0.4,0.39l3.45,-0.06l0.17,18.51l0.41,0.39l0.68,-0.01l0.08,3.93l-0.99,0.02l-0.39,0.36l-0.1,1.03l0.35,17.46l0.03,0.49l0.44,0.38l0.08,4.34l0.35,0.8l3.8,3.46l-46.76,0.76l-1.98,-1.67l-0.91,-10.68l0.28,-7.78l-6.4,-8.38l-2.07,-1.34l-3.8,-4.99l-0.75,-2.49l-2.35,-4.49l-0.02,-2.88l-0.9,-2.41l1.4,-2.94l1.09,-3.72l6.14,-3.76Z", "name": "BRIDGEPORT"}, "61": {"path": "M553.61,557.46l0.78,0.0l0.4,-0.41l-0.78,-37.41l52.09,-0.54l51.22,-0.97l0.17,13.69l0.34,0.33l0.31,3.94l-0.92,0.38l0.0,10.74l-0.47,3.31l0.4,0.48l0.72,-0.02l0.15,4.17l-0.27,0.68l0.98,36.99l-93.0,1.56l-1.29,-7.82l-0.29,-14.14l0.31,-6.13l-0.4,-0.38l-10.34,0.32l-0.11,-8.77Z", "name": "NEW CITY"}, "62": {"path": "M437.9,591.49l5.04,-0.45l0.32,-0.53l-0.18,-2.82l15.48,-0.19l0.39,-0.41l-0.08,-3.58l10.24,-4.85l0.22,-0.81l0.65,-0.05l7.65,-4.06l9.05,-4.22l1.56,-1.61l1.04,-1.67l1.07,38.88l-0.42,0.41l0.2,9.02l-51.66,0.78l-0.59,-23.85Z", "name": "WEST ELSDON"}, "63": {"path": "M490.11,569.1l5.9,-0.57l15.15,-0.17l0.39,-0.69l20.34,-0.4l0.43,0.6l21.03,-0.38l0.39,-0.45l1.07,-0.18l8.88,-0.14l-0.33,5.71l0.29,14.17l1.3,8.76l-0.82,0.01l-0.39,0.37l-0.63,9.82l-0.01,7.8l-72.13,1.2l-0.19,-8.64l0.42,-0.41l-0.73,-28.01l0.23,-0.27l-0.44,-0.65l-0.14,-7.47Z", "name": "GAGE PARK"}, "64": {"path": "M300.93,618.97l136.8,-2.83l0.93,37.0l-9.75,0.17l-0.23,-9.09l-0.42,-0.37l-126.47,2.8l-0.86,-27.7Z", "name": "CLEARING"}, "65": {"path": "M429.25,671.43l-0.33,-17.3l10.15,-0.18l0.39,-0.43l-0.94,-37.38l52.64,-0.8l0.37,18.03l-0.44,0.41l1.11,47.05l-0.24,8.14l-1.96,-0.73l-5.38,-3.11l-0.26,0.14l-4.46,-2.12l-6.28,-3.8l-2.21,-0.96l-0.53,0.39l0.52,20.58l-21.41,0.53l-0.47,-0.4l-8.88,0.7l-0.31,-0.3l-5.46,0.12l-4.76,-0.46l-0.87,-28.13Z", "name": "WEST LAWN"}, "66": {"path": "M491.91,634.16l0.46,-0.43l-0.4,-18.4l72.31,-1.2l0.31,13.91l1.06,4.7l-0.72,8.47l0.02,0.84l0.56,0.39l0.41,8.6l-0.77,0.41l0.21,9.41l0.53,0.39l-0.17,3.88l0.21,2.07l-0.43,3.0l0.02,2.42l0.82,15.63l-62.64,1.35l-0.29,-0.32l-7.72,0.24l-2.94,-0.36l0.05,-7.88l0.2,-0.25l-1.1,-46.86Z", "name": "CHICAGO LAWN"}, "67": {"path": "M564.51,596.15l0.85,-0.01l0.39,-0.42l-0.01,-0.54l51.0,-0.79l2.02,93.26l-33.25,0.66l-0.45,-0.39l-17.92,0.32l-0.82,-15.64l-0.02,-2.32l0.43,-3.02l-0.21,-2.15l0.2,-4.23l-0.58,-0.43l-0.19,-8.61l0.78,-0.42l-0.45,-9.4l-0.55,-0.38l-0.01,-0.43l0.72,-8.52l-1.06,-4.79l-0.32,-14.18l-0.41,-0.39l-0.78,0.01l0.01,-7.75l0.61,-9.43Z", "name": "WEST ENGLEWOOD"}, "68": {"path": "M617.55,594.41l56.14,-1.11l0.65,28.85l-1.17,0.03l-0.39,0.41l0.16,7.13l0.28,0.63l-2.6,0.03l-0.39,0.41l0.38,18.46l-1.91,0.03l-0.39,0.35l-0.47,3.41l-0.22,5.68l-4.35,0.1l-0.39,0.41l0.08,4.32l-2.22,0.05l-0.39,0.41l0.15,7.45l-0.43,1.79l0.84,0.54l-0.34,1.04l0.16,7.62l-2.23,0.04l-0.39,0.41l0.09,4.32l-7.34,0.2l-0.38,0.4l-0.1,4.33l-9.73,0.19l-0.1,-4.96l-0.57,-0.35l-20.42,0.33l-2.02,-92.95Z", "name": "ENGLEWOOD"}, "69": {"path": "M650.23,706.26l-0.29,-13.3l0.83,-0.02l0.39,-0.37l0.13,-4.38l7.34,-0.18l0.39,-0.41l-0.09,-4.32l2.23,-0.04l0.39,-0.41l-0.17,-7.98l0.38,-1.2l-0.15,-0.39l-0.69,-0.31l0.4,-1.47l-0.14,-7.1l2.14,-0.04l0.39,-0.33l-0.0,-4.4l4.33,-0.1l0.39,-0.38l0.23,-6.03l0.41,-3.02l2.0,-0.03l0.39,-0.44l-0.41,-18.44l3.08,-0.04l0.37,-0.53l-0.74,-0.86l-0.15,-6.76l6.91,-0.14l0.06,7.75l0.4,0.41l9.33,0.03l11.37,-0.49l0.5,18.74l21.34,18.41l0.66,-0.32l-0.38,-18.43l28.68,-0.34l-1.33,7.7l0.02,0.65l0.76,0.39l0.22,9.28l-1.79,0.01l-0.4,0.37l-0.06,9.09l-2.32,0.02l-0.39,0.33l-1.66,9.14l-0.58,0.26l0.11,0.44l4.76,4.01l-4.87,0.05l-0.39,0.33l-0.9,4.75l0.4,0.47l0.95,-0.01l0.21,8.65l-94.99,1.75Z", "name": "GREATER GRAND CROSSING"}, "34": {"path": "M642.27,450.39l1.54,-0.89l1.12,-1.24l6.01,-9.9l4.09,-2.66l2.87,-2.51l1.53,-1.79l0.67,-1.81l9.97,-0.14l0.35,12.34l0.4,0.37l1.15,-0.01l0.37,18.2l-1.31,0.02l-0.4,0.41l0.87,37.81l0.4,0.38l0.81,-0.0l0.17,8.08l-0.36,0.98l0.26,9.06l-10.24,0.17l-4.3,-3.92l-0.3,-5.07l-0.46,-0.49l-0.34,-17.42l0.06,-0.61l1.03,-0.02l0.4,-0.41l-0.06,-3.33l-0.03,-1.4l-0.4,-0.39l-0.68,0.01l-0.17,-18.51l-0.41,-0.39l-3.45,0.06l-0.13,-6.26l-0.32,-0.38l-2.53,-0.5l-4.17,0.18l-0.5,-1.65l0.16,-0.73l-1.08,-1.52l0.97,-0.01l0.39,-0.38l-0.06,-0.44l-1.36,-1.91l-0.53,-0.11l-1.82,0.92l-1.19,-1.84l1.02,-0.34Z", "name": "ARMOUR SQUARE"}, "24": {"path": "M504.77,293.64l10.7,-0.15l0.4,-0.41l-0.24,-9.32l9.6,-0.22l0.56,0.26l12.83,-0.14l0.46,0.24l0.31,-0.25l16.42,-0.25l1.48,1.15l0.64,-0.33l-0.05,-2.29l9.78,-0.23l0.02,1.01l0.4,0.39l21.88,-0.29l3.18,-0.7l5.14,-2.73l1.34,0.27l3.28,-1.64l0.79,-0.07l4.96,3.64l1.2,1.5l0.72,1.64l1.85,6.84l-0.1,0.3l-4.18,1.67l-0.84,2.29l0.39,0.5l3.22,-0.04l-0.42,1.39l-1.16,8.79l0.33,1.46l1.44,2.41l2.2,2.54l1.27,3.76l1.3,1.1l1.89,0.74l5.61,1.32l2.16,1.51l3.16,2.86l1.42,0.64l8.35,1.02l0.87,1.01l0.39,1.43l0.4,6.64l1.25,1.68l2.34,1.7l1.85,2.08l1.94,3.62l2.53,3.48l-10.14,0.07l-0.4,0.41l0.02,0.77l-6.22,0.03l-0.02,-0.86l-0.41,-0.39l-84.41,1.08l-0.45,0.59l-3.64,0.61l-6.28,-0.05l-0.15,-9.25l-0.27,-1.45l-10.59,-5.08l-0.07,-3.19l-0.4,-0.39l-11.51,0.15l-0.04,-1.45l0.75,-0.29l-0.15,-7.31l-0.4,-0.4l-9.83,0.11l-0.68,-27.54Z", "name": "WEST TOWN"}, "25": {"path": "M290.08,259.39l5.85,2.07l25.4,11.33l8.48,3.39l2.62,0.72l3.4,0.29l43.85,-0.6l11.57,1.53l7.25,1.77l0.28,-0.22l1.5,0.06l29.4,4.03l-0.16,13.22l0.53,20.49l-0.37,0.38l-0.0,2.02l0.49,3.01l0.2,5.53l-0.3,1.69l1.22,11.22l-0.32,0.35l1.16,37.75l0.41,0.39l1.12,-0.01l0.12,3.8l0.13,4.86l-1.11,0.03l-0.39,0.41l0.67,18.51l-73.55,1.29l-3.16,-113.25l-0.41,-0.39l-64.83,1.06l-1.03,-36.75Z", "name": "AUSTIN"}, "26": {"path": "M432.09,351.48l27.58,-0.48l6.51,0.45l0.4,-0.5l7.13,-0.05l0.67,31.01l0.6,4.18l0.41,14.53l-10.17,0.15l-0.03,-1.07l-0.4,-0.39l-15.38,0.22l-0.15,-4.6l-0.57,-0.5l-15.14,5.05l-0.36,-10.18l1.1,-0.03l0.39,-0.41l-0.14,-5.27l-0.13,-4.19l-0.39,-0.39l-1.13,-0.0l-0.81,-27.52Z", "name": "WEST GARFIELD PARK"}, "27": {"path": "M474.52,350.85l36.25,-0.62l0.37,0.36l15.58,-0.3l3.18,0.33l11.76,-0.07l-2.08,0.98l-1.53,1.59l-0.89,2.24l0.13,4.15l-1.1,0.05l-0.38,0.42l0.26,8.57l0.4,0.36l1.03,-0.01l0.74,25.31l-0.25,0.43l0.08,4.12l-30.63,0.41l-0.06,-2.0l-0.39,-0.38l-0.53,-0.02l-30.36,0.48l-0.39,-12.4l-0.53,-2.99l-0.67,-31.01Z", "name": "EAST GARFIELD PARK"}, "20": {"path": "M428.67,218.94l14.37,-0.24l16.16,37.43l0.37,0.24l1.63,-0.02l0.05,2.65l0.46,1.31l-0.78,0.01l-0.37,0.56l0.79,1.89l0.17,7.44l0.4,0.39l3.5,-0.05l1.69,3.92l-0.41,0.47l0.35,4.67l0.41,0.39l1.71,-0.02l1.41,3.74l-31.2,0.43l-8.92,-1.02l-1.8,-64.18Z", "name": "HERMOSA"}, "21": {"path": "M443.91,218.68l16.78,-0.27l0.4,-0.41l-0.46,-18.49l66.73,-0.83l1.97,9.9l3.64,6.68l1.9,1.98l2.74,1.83l0.88,1.34l1.4,3.47l0.65,0.64l0.66,0.33l2.97,0.4l0.93,0.72l0.19,9.6l-93.59,1.14l-7.79,-18.03Z", "name": "AVONDALE"}, "48": {"path": "M746.57,743.14l63.35,-1.06l42.56,36.54l-41.79,0.5l-0.08,-2.97l-0.46,-0.38l-6.35,0.85l-40.38,0.79l-2.94,-7.75l-9.04,-18.23l-4.88,-8.28Z", "name": "CALUMET HEIGHTS"}, "49": {"path": "M662.47,745.29l0.65,-0.39l-0.14,-5.55l2.05,4.32l-0.23,0.07l-0.03,1.38l3.39,3.31l4.54,5.14l7.61,9.69l14.05,-0.26l0.39,-0.41l-0.01,-0.57l3.44,1.13l6.32,2.87l0.25,2.58l5.81,3.48l2.09,0.05l2.18,1.21l0.3,0.22l0.23,1.38l5.73,3.29l4.64,1.69l0.01,1.01l0.4,0.4l2.33,0.0l-17.74,94.02l-65.7,0.92l-1.46,-55.76l20.58,-0.32l0.39,-0.41l-1.32,-59.27l-0.79,-15.24Z", "name": "ROSELAND"}, "46": {"path": "M856.04,697.11l-0.29,0.82l1.35,3.75l0.65,1.24l0.9,0.82l5.86,0.32l18.1,8.45l2.31,1.36l1.91,16.04l0.33,0.82l-1.38,0.4l-19.8,0.27l-0.39,0.41l0.05,1.34l0.4,0.39l21.23,-0.28l1.83,17.4l-0.5,1.59l-21.87,10.88l-2.23,1.36l-2.11,1.8l-1.18,1.28l-0.79,1.53l-1.62,6.63l-0.37,2.7l-4.9,0.09l-85.49,-73.5l71.05,-1.08l8.05,-5.75l1.76,-0.95l2.73,1.61l3.44,-1.44l1.17,-1.02l-0.22,0.74Z", "name": "SOUTH CHICAGO"}, "23": {"path": "M430.46,318.24l0.38,-0.4l-0.52,-20.9l0.16,-12.98l5.08,0.74l4.5,0.24l33.27,-0.53l9.92,0.09l0.24,0.23l20.83,-0.3l0.59,-0.29l9.58,-0.11l0.35,-0.27l0.23,8.93l-10.61,0.15l-0.42,0.38l0.64,28.37l0.41,0.39l9.81,-0.11l0.14,6.27l-0.75,0.29l0.06,2.5l0.4,0.39l11.51,-0.15l0.06,3.02l0.23,0.37l10.58,5.07l0.21,10.1l-7.4,0.1l-3.21,-0.33l-15.21,0.3l-0.38,-0.37l-44.92,0.68l-0.43,0.54l-1.85,0.01l-0.41,-0.41l-3.85,-0.05l-27.61,0.49l-0.29,-8.72l0.33,-0.37l-1.26,-11.53l0.31,-1.55l-0.69,-10.28Z", "name": "HUMBOLDT PARK"}, "44": {"path": "M650.84,711.05l0.14,-4.0l90.44,-1.7l-0.29,1.52l0.59,0.55l-1.56,9.32l0.4,0.48l0.72,-0.01l-0.62,6.3l-0.6,0.42l0.05,6.15l0.82,3.39l4.36,8.9l-10.29,0.18l-0.39,0.35l-1.6,8.98l-1.52,0.21l-0.39,0.33l-2.71,14.19l0.66,0.47l-0.83,4.26l0.54,0.47l-0.96,5.08l-1.57,-0.39l-0.51,0.37l0.01,2.23l-4.26,-1.57l-5.48,-3.14l-0.11,-1.19l-0.6,-0.51l-2.39,-1.3l-1.98,-0.02l-5.53,-3.32l-0.26,-2.59l-3.09,-1.59l-6.14,-2.35l-1.45,-0.38l-0.5,0.4l0.02,0.69l-13.42,0.25l-7.45,-9.61l-4.34,-4.97l-3.27,-3.17l0.34,-1.33l-2.22,-4.6l-0.92,-3.31l-0.21,-10.13l-0.34,-0.39l-3.86,-1.69l-0.53,0.19l-1.0,1.45l-5.24,0.19l0.18,-13.69l-0.83,-0.37Z", "name": "CHATHAM"}, "45": {"path": "M740.88,724.3l0.54,-0.37l0.72,-7.06l-0.4,-0.47l-0.71,0.01l1.54,-9.2l-0.59,-0.55l0.25,-1.32l3.39,-0.04l0.39,-0.41l-0.23,-9.45l-0.4,-0.39l-0.85,0.01l0.75,-3.95l5.44,-0.06l15.41,13.28l0.39,0.65l2.07,1.48l40.42,34.82l-62.84,1.05l-4.82,-10.11l-0.48,-2.63l0.0,-5.31Z", "name": "AVALON PARK"}, "28": {"path": "M538.05,356.48l-0.08,-0.9l0.55,-1.68l1.71,-1.84l3.88,-1.48l4.35,-0.61l0.39,-0.53l83.68,-1.13l0.02,0.86l0.4,0.39l7.02,-0.04l0.4,-0.41l-0.02,-0.77l10.06,-0.09l1.24,4.75l0.87,1.21l1.55,1.15l-1.3,10.13l-0.12,4.95l0.36,3.12l1.51,6.56l0.83,1.78l1.64,2.11l0.47,1.31l2.14,12.22l0.83,8.25l0.38,19.04l-1.24,2.99l-0.1,0.97l-7.45,0.14l-0.16,-5.71l-0.41,-0.39l-76.31,1.23l-3.84,0.33l-5.47,0.98l-13.52,1.13l-1.71,0.39l-0.04,-1.97l-0.41,-0.39l-4.72,0.07l0.05,-9.26l-5.31,-8.77l0.31,-0.51l-0.98,-1.85l-0.42,-2.11l-0.79,-33.6l-0.41,-0.39l-1.05,0.02l-0.19,-7.77l1.08,-0.05l0.38,-0.41l-0.05,-3.41Z", "name": "NEAR WEST SIDE"}, "43": {"path": "M746.13,686.14l1.79,-9.24l2.39,-0.02l0.4,-0.41l0.03,-9.06l1.83,-0.01l0.4,-0.41l-0.24,-10.07l-0.77,-0.62l1.34,-7.73l53.38,-0.71l1.01,-0.02l0.73,-0.46l0.07,0.55l1.44,1.47l3.45,2.12l0.88,0.12l0.76,4.22l2.1,3.71l1.81,1.0l2.32,0.64l0.9,-0.36l0.94,-1.23l0.22,5.14l-0.3,0.46l-1.13,0.28l-0.9,0.83l-0.31,1.2l0.26,1.21l0.92,1.29l1.03,0.45l-0.26,0.9l0.45,0.63l1.25,1.1l0.5,0.09l0.85,-0.51l1.48,1.81l0.15,1.06l3.37,2.63l1.27,0.69l1.46,-0.46l0.8,1.54l0.9,0.98l6.47,3.25l5.31,2.11l3.88,-0.15l3.19,-1.57l2.55,-2.07l0.92,0.17l2.37,2.37l-0.1,1.06l2.12,2.37l1.16,0.15l0.9,0.98l-6.56,4.6l-2.54,2.43l-3.26,1.37l-2.78,-1.6l-2.09,1.13l-7.68,5.59l-72.03,1.08l-20.81,-18.07Z", "name": "SOUTH SHORE"}, "40": {"path": "M673.93,580.24l0.04,-5.88l47.65,-0.9l0.79,41.65l-20.65,0.45l-0.39,0.41l0.29,13.76l-11.38,0.49l-8.91,-0.03l-0.07,-7.77l-0.41,-0.39l-5.74,0.12l-0.94,-41.62l-0.28,-0.27Z", "name": "WASHINGTON PARK"}, "41": {"path": "M759.48,614.47l-36.28,0.63l-0.79,-41.67l48.46,-0.71l4.65,0.25l1.4,-0.5l0.94,0.15l-0.13,4.3l0.4,3.01l0.96,2.83l-0.13,0.61l1.34,1.56l2.51,2.05l1.93,0.45l2.1,-0.5l1.08,0.17l1.09,0.78l0.18,0.79l-0.51,1.71l-1.32,0.83l-3.19,0.27l-1.61,0.74l-1.44,1.24l-0.8,1.81l-0.12,2.75l-0.66,1.41l2.78,5.48l3.89,3.51l-2.07,0.22l-0.57,0.6l0.41,0.6l0.63,0.12l-0.12,2.43l0.31,2.06l-9.5,0.21l-5.86,0.51l-1.21,-0.03l-0.85,-0.99l-1.33,-0.41l-1.22,-0.02l-0.39,0.66l-4.97,0.05Z", "name": "HYDE PARK"}, "1": {"path": "M553.15,9.64l24.52,0.25l0.37,-0.25l-0.09,-0.44l-6.72,-6.57l-1.37,-2.23l24.43,0.22l0.1,0.8l1.15,1.41l0.11,1.05l1.44,1.1l0.33,1.79l-0.42,0.75l0.38,1.85l-0.33,0.97l0.65,1.06l0.86,0.65l-0.27,0.77l0.57,1.23l0.17,2.23l0.62,0.59l0.6,2.74l2.02,4.68l-0.1,1.09l1.35,2.63l-0.02,0.77l1.7,1.88l-0.07,0.45l0.34,0.45l1.97,1.94l0.48,1.04l5.09,5.87l2.51,2.08l-0.64,0.57l-3.2,0.07l-0.38,0.32l0.03,2.49l0.91,2.55l-0.71,0.4l-0.01,0.75l0.94,3.78l0.97,1.35l0.9,2.32l-0.03,1.12l0.79,2.79l1.99,3.2l-4.32,-0.16l-42.85,0.7l-10.91,-28.54l-4.76,-16.23l-1.07,-10.34Z", "name": "ROGERS PARK"}, "35": {"path": "M671.44,461.17l25.83,-0.47l2.6,0.21l0.66,1.13l0.69,0.3l13.97,-0.45l1.3,4.6l1.62,2.79l0.17,2.66l1.09,2.01l0.51,2.2l1.7,1.6l0.62,1.13l0.13,3.31l0.52,2.35l1.22,2.06l1.54,1.7l-1.03,1.39l0.4,1.73l1.22,1.68l2.25,0.65l0.58,0.49l0.58,0.89l-0.05,2.06l-16.7,0.41l-0.39,0.32l-4.25,18.61l-34.64,0.53l-0.26,-9.04l0.36,-0.94l-0.16,-8.51l-0.41,-0.42l-0.83,0.01l-0.85,-37.0Z", "name": "DOUGLAS"}, "3": {"path": "M575.29,122.31l49.71,-0.92l5.11,-1.14l0.28,-0.44l3.22,-1.72l1.0,0.57l0.52,1.05l0.25,9.09l0.45,2.3l2.29,4.83l2.29,3.27l2.05,2.25l-0.53,0.48l0.04,0.53l0.99,0.81l0.95,-0.4l4.15,3.24l6.72,2.36l5.09,1.3l4.56,0.47l2.05,0.73l0.48,2.41l1.26,1.39l0.13,1.33l-1.28,1.28l-5.48,2.48l-4.51,4.36l-2.28,0.8l-2.66,-0.08l-3.0,-0.71l-1.23,-0.67l-0.24,-0.94l0.34,-0.59l0.62,-0.2l2.13,1.31l1.53,0.32l2.24,-0.35l1.43,-0.56l2.19,-1.55l1.51,-2.09l0.17,-1.25l-0.79,-1.26l-1.25,-0.49l-1.68,-0.0l-9.55,1.4l-1.51,0.73l-0.87,1.22l-0.18,1.47l0.26,0.79l1.38,1.85l-0.47,4.7l1.46,8.83l-5.94,0.36l-39.25,0.71l-4.68,-9.05l-3.18,-9.48l-0.39,-0.3l-16.96,0.27l-0.91,-37.05Z", "name": "UPTOWN"}, "2": {"path": "M496.88,67.66l-0.04,-0.57l2.21,-0.05l0.39,-0.4l-0.05,-18.52l0.99,-37.58l40.77,-1.02l11.18,0.12l1.1,10.52l5.16,17.37l10.65,27.77l0.38,0.26l3.56,-0.08l0.34,17.98l-31.68,0.67l-0.39,0.41l0.47,18.63l-37.05,0.22l-1.9,-7.32l0.11,-1.22l-0.44,-0.31l-0.4,-1.14l-0.72,-3.81l-2.95,-11.18l-1.06,-5.4l-0.64,-5.36Z", "name": "WEST RIDGE"}, "5": {"path": "M527.54,194.92l-0.8,-5.77l2.31,-5.01l2.46,-3.93l0.41,-2.44l0.39,-6.25l-0.23,-0.38l0.07,-1.85l-0.78,-8.46l44.06,-0.64l1.31,74.96l-19.73,0.28l-1.52,-3.02l-4.46,-1.04l-0.92,-0.55l-3.62,-4.76l-1.79,-1.41l-3.6,-0.71l-0.51,-0.47l-1.35,-3.38l-0.97,-1.51l-2.88,-1.97l-1.73,-1.8l-3.55,-6.48l-2.56,-13.41Z", "name": "NORTH CENTER"}, "4": {"path": "M505.06,104.19l37.28,-0.22l0.4,-0.41l-0.47,-18.64l31.58,-0.67l0.22,9.83l-0.21,0.77l1.55,64.53l-44.24,0.64l-2.2,-5.26l-8.2,-9.93l-3.29,-3.48l-1.0,-1.75l-2.19,-2.67l-1.39,-2.57l-0.73,-1.78l-1.56,-6.01l-2.44,-10.73l-3.1,-11.65Z", "name": "LINCOLN SQUARE"}, "7": {"path": "M557.28,236.22l96.18,-1.81l7.26,0.33l1.47,-0.54l0.29,0.27l2.17,-0.06l0.8,0.85l1.17,0.0l0.4,0.41l1.09,0.08l0.97,1.11l-0.63,2.95l0.14,3.62l0.96,2.98l-0.27,0.58l1.78,2.4l0.37,1.11l-0.04,0.73l-0.49,0.1l-0.92,1.2l0.41,4.62l0.43,1.57l1.79,1.77l-0.77,0.42l-0.16,0.43l1.99,3.53l-0.61,0.23l-0.12,0.77l0.8,1.62l1.16,1.36l-0.86,0.42l-0.04,0.64l2.21,2.87l-1.06,0.63l-0.03,0.58l2.49,2.9l-0.06,0.6l1.12,1.35l1.12,0.66l3.85,3.52l3.16,1.53l2.46,0.2l1.84,-0.65l-0.16,0.67l-1.2,0.6l-3.69,0.87l-3.29,2.83l-3.8,0.47l-0.22,-0.5l-0.69,-0.07l-0.93,0.93l-63.96,1.21l-2.11,-7.57l-1.82,-2.51l-1.34,-1.2l-4.19,-2.71l-1.09,0.16l-3.15,1.59l-1.27,-0.34l-1.76,-5.45l-2.43,-2.95l-1.59,-2.83l-1.92,-2.25l-1.75,-3.09l-2.73,-0.99l-3.91,-0.05l-2.13,-0.96l-4.45,-4.04l-0.37,-0.95l-0.2,-3.42l-0.9,-1.5l-3.59,-2.56l-2.77,-1.13l-4.05,-1.12l-2.24,-5.44l-3.01,-2.14l-1.12,-1.46Z", "name": "LINCOLN PARK"}, "6": {"path": "M576.22,160.16l16.64,-0.27l3.15,9.3l4.82,9.33l0.36,0.21l39.51,-0.72l6.11,-0.37l5.09,13.69l2.37,5.21l2.84,4.4l2.73,3.54l3.96,4.32l0.18,0.71l-0.47,0.18l-0.48,-0.24l-0.55,-1.62l-0.96,-0.78l-1.02,-0.07l-1.46,0.75l-0.84,-0.28l-1.86,-4.43l0.2,-0.65l-1.33,-2.09l-3.34,-1.36l-2.55,-0.31l-0.0,-0.7l-0.52,-0.14l-1.27,-1.81l-2.01,-1.4l-0.95,0.06l-0.24,0.83l1.15,1.58l3.37,3.4l-0.25,1.19l-0.68,0.59l0.03,1.06l1.92,3.28l1.1,0.67l0.77,1.03l0.41,1.02l0.38,3.24l2.71,3.87l1.22,0.37l1.54,-0.04l0.56,0.36l0.79,-0.36l1.2,-1.29l0.64,-3.28l0.51,-0.55l0.31,0.14l0.22,2.98l0.67,2.73l1.26,3.4l1.37,1.87l-0.17,0.43l0.68,3.41l1.48,2.82l2.12,2.88l-0.13,0.79l-0.58,0.44l-0.95,0.03l-0.5,1.01l-1.73,-0.02l-0.88,-0.89l-2.1,0.06l-0.42,-0.27l-1.69,0.54l-7.18,-0.33l-75.92,1.52l-1.31,-74.97Z", "name": "LAKE VIEW"}, "9": {"path": "M257.24,67.61l0.32,-36.87l2.91,-0.07l0.39,-0.4l-0.0,-1.42l-0.79,-0.39l0.06,-9.05l-0.41,-0.4l-2.1,0.06l0.04,-7.26l30.92,-0.82l-0.58,60.43l-6.8,-0.06l-0.05,-4.05l-0.4,-0.38l-23.51,0.69Z", "name": "EDISON PARK"}, "8": {"path": "M608.25,295.54l0.4,-1.32l4.18,-1.67l0.36,-0.65l63.9,-1.21l1.23,-0.69l0.48,0.37l3.32,-0.45l-0.07,1.44l-0.91,1.68l0.15,3.83l0.51,3.14l2.61,8.73l-0.18,0.48l2.46,2.25l1.39,2.07l0.32,1.02l4.3,1.29l1.24,1.05l9.33,16.63l2.66,4.03l0.5,0.14l2.24,-0.7l1.13,0.22l0.39,-0.2l3.92,-7.36l16.29,-0.34l0.1,7.26l-15.89,0.3l-0.39,0.41l0.06,2.4l0.41,0.39l19.52,-0.56l0.41,0.51l4.0,-0.08l0.03,1.34l-4.02,0.08l-0.42,0.91l-0.28,-0.22l-18.71,0.36l-0.39,0.41l0.1,4.0l-3.07,0.01l-0.35,-3.05l-0.41,-0.37l-4.59,0.12l-0.41,0.37l-1.03,0.09l-0.4,-0.38l-4.43,0.31l-2.57,-0.24l-0.83,0.26l-3.97,-0.09l-0.4,0.4l-0.0,0.75l0.41,0.4l15.38,-0.14l0.05,0.99l-2.84,2.93l-8.56,0.25l-10.15,-1.36l-5.18,-0.18l-2.16,1.1l-3.42,2.53l-3.5,0.23l-9.72,-0.3l-4.04,0.22l-0.94,0.36l-3.35,2.63l-1.38,-1.01l-0.7,-0.99l-1.45,-5.35l-2.7,-3.73l-1.83,-3.46l-2.09,-2.39l-2.37,-1.73l-1.05,-1.44l-0.32,-6.42l-0.43,-1.57l-1.02,-1.27l-8.68,-1.21l-1.21,-0.52l-3.14,-2.85l-2.28,-1.59l-5.71,-1.37l-1.82,-0.71l-0.99,-0.83l-1.21,-3.64l-2.25,-2.62l-1.39,-2.34l-0.26,-1.2l1.15,-8.57l0.56,-1.81l-0.39,-0.52l-3.24,0.04Z", "name": "NEAR NORTH SIDE"}, "18": {"path": "M289.32,233.73l-0.36,-12.47l33.77,-0.62l1.1,49.58l0.15,1.29l0.71,1.62l-10.59,-4.36l-0.24,-0.37l-17.63,-7.69l-6.18,-2.18l-0.74,-24.82Z", "name": "MONTCLARE"}, "39": {"path": "M752.45,535.38l0.41,1.48l1.22,0.99l1.13,2.3l1.06,1.17l-0.27,0.49l1.11,2.28l1.96,1.81l0.88,1.47l1.09,0.67l1.84,0.38l0.7,1.14l0.21,3.28l3.87,7.58l1.42,1.59l4.91,3.91l2.14,2.1l2.44,0.94l0.12,0.57l-0.89,1.57l0.19,0.72l-1.28,-0.14l-1.2,0.48l-4.66,-0.24l-48.47,0.71l-0.63,-36.95l20.85,-0.29l1.1,0.28l2.45,-0.32l6.3,0.03Z", "name": "KENWOOD"}, "77": {"path": "M573.99,65.46l38.77,-0.61l4.77,0.16l0.48,4.61l-0.57,0.17l-0.24,0.62l0.39,1.52l-0.25,2.12l0.49,0.4l0.24,0.94l-0.36,0.31l-0.21,1.24l0.9,1.32l-0.64,5.13l0.37,0.45l0.09,1.25l-0.25,0.48l0.24,0.5l-0.25,3.88l1.78,2.48l4.23,3.73l1.38,1.12l2.12,0.71l-1.23,3.3l-0.53,3.05l0.12,5.78l0.85,2.27l-0.43,0.73l4.41,4.68l1.55,0.1l-2.68,1.69l-4.61,0.99l-49.67,0.92l-0.63,-37.68l-0.31,-0.3l-0.34,-18.08Z", "name": "EDGEWATER"}, "76": {"path": "M0.81,77.14l2.04,-0.09l0.39,-0.34l0.89,-4.25l1.65,-4.75l2.03,-4.01l2.45,-3.72l3.76,-4.17l6.61,-5.78l0.08,4.1l0.42,0.39l10.18,-0.13l0.03,2.75l0.41,0.4l10.67,-0.22l0.56,-0.58l-0.15,-9.35l14.18,-0.31l0.39,-0.4l0.0,-9.05l0.19,-0.01l0.01,5.98l0.6,0.39l0.01,2.65l0.41,0.4l3.67,-0.02l7.92,-0.4l0.38,-0.4l-0.01,-9.16l3.72,-0.16l6.94,2.22l0.28,0.54l8.69,2.91l4.88,2.49l0.42,0.52l0.8,-0.35l0.66,0.3l1.77,-0.07l-0.11,7.36l0.42,0.41l1.73,-0.08l0.38,-0.42l-0.05,-1.15l0.74,-0.43l-0.06,-1.15l2.47,-0.1l3.61,1.74l-0.66,0.81l-0.01,1.05l-18.64,1.02l-6.57,-4.27l0.0,-0.85l-0.42,-0.4l-3.58,0.14l-0.38,0.4l-0.0,1.07l0.33,0.4l1.97,0.35l7.66,5.0l4.36,-0.1l-0.03,2.21l0.33,0.4l17.43,2.97l9.29,2.33l0.29,0.5l0.62,0.18l-0.02,7.74l0.42,0.4l8.75,-0.33l7.36,24.54l0.4,0.28l1.86,-0.07l0.0,6.88l4.46,15.81l-4.14,0.12l-0.39,0.4l-0.02,7.07l0.41,0.4l6.0,-0.18l0.31,0.23l0.87,-0.03l0.13,-0.24l8.05,-0.22l0.4,0.66l1.68,-0.05l0.33,-0.35l0.41,0.57l11.87,-0.35l0.38,-0.43l0.67,-3.67l0.91,-1.62l2.74,-2.55l3.27,-4.34l4.69,-4.64l0.94,-1.77l0.24,-3.03l-1.85,-5.58l-0.01,-0.78l0.71,-3.78l1.58,-4.17l-0.28,-2.81l3.56,0.85l9.35,0.82l27.68,4.9l-0.1,29.44l-10.27,0.21l-0.39,0.4l-0.0,0.79l0.01,1.57l0.42,0.38l7.41,-0.14l-0.04,6.07l0.41,0.4l2.41,-0.05l-0.0,2.16l-9.89,0.21l0.03,-4.35l-0.41,-0.4l-10.66,0.23l-0.46,0.39l-0.08,14.23l0.41,0.41l20.98,-0.48l-0.02,32.17l0.56,24.13l0.41,0.39l2.43,-0.07l0.7,17.93l-31.5,0.75l-2.87,-2.64l-1.67,-2.03l-2.71,-8.8l0.12,-1.99l-0.54,-1.08l-1.21,-5.38l-0.59,-1.93l-1.9,-3.75l0.09,-3.57l1.79,-4.8l15.84,-0.49l0.39,-0.42l0.02,-10.49l-0.41,-0.4l-24.66,0.62l-0.75,-1.2l-0.52,-2.3l0.1,-1.4l2.44,-4.22l3.84,-8.47l0.69,-5.35l1.38,-4.94l0.2,-2.25l-0.54,-3.85l1.51,-4.08l0.42,-2.41l-0.32,-1.27l-0.76,-1.19l-1.9,-1.39l-1.61,-0.17l-1.27,0.34l-1.94,0.83l-2.96,1.84l-1.62,-0.42l-1.39,-0.82l-1.92,-1.71l-1.53,-1.98l-40.83,1.21l-0.39,0.4l-0.04,40.3l-1.42,0.18l-4.9,-0.51l-13.72,-2.04l-5.77,0.11l-0.39,0.4l0.05,18.45l-23.14,0.45l-18.39,-4.54l-0.5,0.39l0.03,1.89l-4.5,-1.32l-0.23,-7.66l-1.03,-4.87l-2.98,-1.5l-7.17,-1.53l-0.34,-0.42l-4.69,-0.6l-0.46,0.39l0.0,11.19l-8.25,-2.34l-0.01,-10.49l-0.32,-0.39l-12.07,-2.34l-0.36,-12.29l-0.4,-0.39l-5.04,-0.0l0.01,-4.86l-0.66,-0.31l-4.42,3.68l-2.77,2.83l-2.88,-0.01l0.01,-36.87l-0.46,-38.2ZM10.86,39.07l2.91,-0.05l0.17,6.72l-0.19,0.97l-1.26,-0.2l-0.46,0.4l0.15,7.84l0.3,0.29l-1.24,1.3l-0.38,-17.28ZM0.59,64.29l-0.18,-6.09l9.52,-0.23l-3.63,5.2l-5.72,1.12Z", "name": "OHARE"}, "75": {"path": "M528.75,860.07l7.87,-0.28l0.39,-0.41l-0.02,-0.74l1.97,-0.21l0.39,-0.41l-0.48,-16.95l24.21,-0.19l80.2,-1.51l0.97,36.92l-41.68,0.67l-0.39,0.42l0.52,18.43l-11.33,0.27l-0.37,0.28l-1.07,3.46l-1.58,-0.39l0.86,-2.78l-0.39,-0.52l-38.91,0.54l0.88,-2.69l0.32,-2.52l-0.34,-13.21l-0.41,-0.39l-21.03,0.36l-0.61,-18.15Z", "name": "MORGAN PARK"}, "38": {"path": "M672.76,517.89l48.01,-0.73l0.6,1.09l-0.74,0.57l0.97,53.85l-47.64,0.9l-1.19,-55.68Z", "name": "GRAND BOULEVARD"}, "73": {"path": "M589.18,760.18l5.34,-0.07l0.39,-0.41l-0.11,-4.39l10.28,-0.5l29.57,-0.63l-2.92,9.4l0.32,0.51l1.38,0.01l2.18,-2.15l2.51,-0.8l0.67,-0.0l0.15,2.64l0.59,0.25l22.95,-0.34l1.28,55.71l-20.58,0.32l-0.4,0.41l0.48,18.44l-33.95,0.5l5.73,-18.49l-0.39,-0.52l-0.47,0.01l-7.71,-18.46l-2.36,-4.39l-4.34,-11.36l-0.28,-2.64l-0.63,-0.52l-8.24,-18.43l0.09,-1.2l-1.52,-2.9Z", "name": "WASHINGTON HEIGHTS"}, "72": {"path": "M527.57,819.92l10.28,-0.13l0.39,-0.42l-0.46,-16.07l20.98,-0.24l0.41,-0.41l-1.44,-56.25l19.79,-0.33l10.74,14.12l1.66,3.17l-0.09,1.19l8.38,18.73l0.5,0.24l0.27,2.59l4.37,11.43l2.37,4.4l7.81,18.7l0.57,0.24l-5.64,18.21l-45.4,0.99l-34.85,0.33l-0.65,-20.5Z", "name": "BEVERLY"}, "71": {"path": "M566.33,689.05l18.36,-0.33l0.39,0.39l9.14,-0.11l24.81,-0.56l0.44,-0.29l20.31,-0.27l0.1,4.84l0.35,0.39l8.92,-0.14l0.3,13.71l0.7,0.38l-0.11,4.39l0.41,0.41l0.44,-0.01l-0.21,13.65l0.41,0.42l5.88,-0.22l1.29,-1.55l3.42,1.54l0.29,10.13l-0.22,0.91l0.42,2.36l0.15,5.38l-0.5,0.12l-0.18,0.38l0.85,17.93l-22.82,0.26l-0.06,-2.41l-0.4,-0.39l-1.09,0.0l-2.89,0.9l-2.28,2.16l-0.3,-0.04l2.96,-9.43l-0.37,-0.56l-30.17,0.63l-10.68,0.51l-0.39,0.41l0.11,4.38l-5.44,0.08l-10.19,-13.42l0.31,-0.32l-0.01,-0.63l-0.6,-0.4l-4.95,-7.08l-3.37,-3.64l-1.44,-3.59l-0.71,-2.72l-0.41,-3.4l-0.97,-35.14Z", "name": "AUBURN GRESHAM"}, "70": {"path": "M430.12,701.56l0.01,-1.19l4.75,0.45l5.18,-0.11l0.34,0.31l8.88,-0.7l0.73,0.38l21.83,-0.54l0.39,-0.41l-0.53,-20.4l7.83,4.51l4.67,2.24l0.25,-0.14l5.4,3.09l1.91,0.7l2.81,0.51l19.3,-0.01l51.66,-1.17l0.67,26.05l0.27,0.46l0.01,7.72l0.49,4.6l0.9,3.25l1.3,3.14l3.49,3.81l5.04,7.17l-146.58,2.92l0.26,-5.66l-1.22,-40.97Z", "name": "ASHBURN"}, "15": {"path": "M331.68,155.29l0.49,-0.77l0.04,-12.27l40.85,-0.67l0.05,1.96l0.41,0.39l5.81,-0.04l7.4,0.53l1.43,-0.73l27.69,-0.39l0.19,8.74l0.72,2.39l-0.85,-0.13l-0.44,0.29l0.23,0.48l1.62,0.6l0.18,0.54l-0.35,0.95l1.42,1.85l3.48,2.38l-3.11,0.04l-0.36,0.56l8.12,18.86l0.48,0.24l0.52,27.6l-1.13,0.01l-0.4,0.41l0.14,4.77l0.4,0.39l1.21,-0.01l0.09,3.9l-72.99,1.14l-1.2,-37.53l-0.42,-0.39l-20.77,0.36l-0.93,-26.43Z", "name": "PORTAGE PARK"}, "32": {"path": "M661.08,403.9l-0.93,-8.19l-1.49,-8.75l-0.94,-3.25l-1.7,-2.23l-0.75,-1.63l-1.72,-8.49l0.2,-8.19l1.04,-7.43l0.7,-1.06l3.35,-2.23l3.92,-0.21l9.74,0.3l3.66,-0.24l5.49,-3.61l5.03,0.18l10.19,1.36l8.76,-0.25l3.49,-3.59l-0.3,-1.75l-2.0,-0.32l3.94,-0.1l0.14,2.0l0.29,1.12l0.39,0.3l7.31,-0.16l0.04,1.42l0.4,0.39l4.97,-0.1l0.01,0.55l-5.38,0.02l-4.41,0.56l-0.35,0.4l-0.2,2.25l-0.08,7.44l-5.58,0.05l-0.4,0.4l-0.31,1.64l-1.18,1.14l-1.67,0.71l-3.36,0.41l-0.82,0.5l-0.63,0.87l-0.18,1.6l0.4,0.39l1.22,-0.01l0.04,1.41l-1.19,0.02l-0.43,0.41l0.64,12.68l-0.06,17.56l1.53,1.23l-6.22,0.73l-1.05,1.23l-33.58,0.52ZM704.37,344.47l-1.81,0.03l-0.3,0.0l2.04,-0.1l0.07,0.07ZM698.93,344.56l-0.55,0.01l-1.07,0.02l0.12,-0.13l1.5,0.1Z", "name": "LOOP"}, "58": {"path": "M490.09,568.3l-1.27,-56.65l20.92,-7.89l0.26,-0.39l-0.05,-1.43l8.87,-2.85l7.94,-3.21l0.77,0.42l18.75,-7.04l0.2,20.61l0.41,0.38l0.69,-0.03l1.46,3.14l-0.92,0.68l-0.06,0.58l1.08,1.31l0.11,3.36l0.4,0.48l3.58,-0.12l0.77,37.01l-0.76,-0.02l-0.43,0.41l0.12,9.63l-20.25,0.35l-0.41,-0.59l-21.13,0.42l-0.39,0.7l-14.76,0.17l-5.89,0.57Z", "name": "BRIGHTON PARK"}, "11": {"path": "M330.08,104.67l20.58,-0.02l0.41,-0.39l0.47,-28.4l-0.2,-0.4l-10.72,-5.87l0.03,-2.57l5.37,-0.04l0.31,1.06l1.19,0.75l1.52,-0.18l1.1,-0.9l2.15,0.38l1.23,-0.68l1.76,1.51l4.44,-1.03l2.54,0.34l1.53,0.6l0.8,0.57l0.45,0.94l0.1,1.28l-0.4,1.27l-1.73,2.01l-3.0,1.36l-0.37,1.47l0.58,2.02l1.3,1.73l4.26,1.0l-0.02,0.36l-1.26,0.61l-0.61,1.87l0.7,1.79l0.77,0.81l1.79,0.81l5.34,0.7l0.54,-0.18l0.54,-0.79l-0.05,-1.33l1.38,-0.92l2.38,-0.28l3.42,1.99l0.7,-0.28l0.46,-0.66l1.63,-0.32l0.82,-1.09l0.58,0.26l0.97,3.13l-0.24,0.52l-1.18,0.76l-0.06,1.06l1.29,0.98l2.42,-0.55l3.21,7.12l2.03,5.46l0.44,0.25l5.95,13.72l-0.3,0.15l-0.01,0.54l0.3,12.33l0.41,0.39l4.77,-0.07l0.36,11.06l-17.14,0.23l-1.43,0.72l-7.29,-0.52l-5.46,0.03l-0.05,-1.96l-0.41,-0.39l-43.97,0.72l0.6,-36.82Z", "name": "JEFFERSON PARK"}, "10": {"path": "M224.31,123.55l0.1,-27.89l27.34,4.69l0.88,0.13l0.46,-0.35l2.52,-22.34l1.55,-9.38l23.23,-0.7l0.02,4.02l0.4,0.41l7.61,0.07l0.4,-0.4l0.12,-13.75l2.8,-0.12l0.35,-0.44l0.02,-1.15l8.33,-0.11l-0.01,1.33l0.4,0.4l2.75,0.01l0.33,1.96l0.4,0.33l5.06,-0.05l0.41,-0.41l0.02,-2.02l12.29,-0.1l1.0,1.35l0.51,0.11l0.74,-0.42l4.53,2.38l1.2,0.04l1.53,-0.53l2.76,0.33l0.98,-0.21l1.55,-0.97l2.42,0.43l0.75,-0.25l0.44,-0.8l0.42,-2.29l1.61,-3.77l0.62,-0.53l0.97,0.19l0.62,0.71l0.68,2.29l0.63,6.13l-0.08,4.29l-5.69,0.03l-0.41,0.39l-0.04,3.22l0.21,0.35l10.69,5.85l-0.44,27.82l-20.58,0.03l-0.4,0.39l-0.59,35.99l-31.02,0.3l-0.39,0.39l-0.01,0.84l-9.21,0.06l0.2,-15.35l-0.01,-0.53l-0.4,-0.39l-21.32,0.65l-0.39,0.39l-0.07,9.05l-3.6,0.11l0.04,-6.37l-0.4,-0.4l-0.61,-0.0l0.07,-2.15l-0.41,-0.45l-15.88,0.49l-0.39,0.4l-0.02,1.92l-9.99,0.21l0.01,-1.91l-0.41,-0.4l-3.26,0.07l0.01,-2.18l-0.47,-0.4l0.01,-0.77l-0.41,-0.4l-6.08,0.12ZM227.9,109.21l-0.69,0.01l-0.39,0.4l-0.01,0.88l0.41,0.4l13.09,-0.26l0.36,0.66l0.12,4.15l-1.94,0.03l-1.12,1.36l0.03,1.87l0.94,0.58l-8.3,0.17l-0.39,0.4l-0.01,2.52l0.41,0.4l19.89,-0.41l0.4,-0.36l1.96,-18.23l-0.41,-0.44l-3.85,0.07l-0.39,0.41l0.05,2.47l-5.39,0.1l-0.06,-4.36l-0.61,-0.58l-10.69,0.34l-1.23,0.72l-0.02,1.96l-2.79,-0.03l-0.4,0.4l-0.04,3.96l0.4,0.4l0.68,-0.0Z", "name": "NORWOOD PARK"}, "13": {"path": "M415.5,102.67l1.34,0.73l0.61,1.65l0.39,0.32l18.8,-0.21l0.38,-0.41l-0.21,-9.13l8.97,-5.03l2.84,-4.58l2.28,-0.22l11.65,-18.4l33.48,-0.29l0.36,3.9l1.4,7.61l3.67,14.98l0.66,1.63l2.56,11.12l2.69,9.7l2.68,11.56l-0.81,-0.5l-5.26,-1.55l-1.92,-0.39l-1.57,0.07l-3.52,1.11l-1.54,0.82l-2.76,3.9l-3.57,1.19l-3.47,0.12l-8.64,-4.89l-6.36,-1.77l-1.85,-1.36l-2.0,-2.04l-3.52,-0.84l-1.62,0.4l-1.42,1.09l-1.83,0.03l-0.39,0.41l0.21,9.07l-7.21,0.09l-0.13,-4.29l-0.5,-0.41l-2.15,0.02l-0.11,-4.36l-0.41,-0.39l-31.68,0.36l-0.55,-20.82Z", "name": "NORTH PARK"}, "12": {"path": "M325.05,58.33l17.24,-9.81l0.04,-0.66l-2.31,-2.33l-11.71,-16.45l19.7,0.03l0.4,-0.38l0.34,-8.58l3.81,0.13l-0.17,8.45l0.4,0.4l7.74,0.06l6.38,14.73l0.51,0.21l0.55,-0.27l1.68,3.72l7.29,3.98l0.54,-0.12l0.7,-1.06l-0.13,-0.58l-4.29,-2.4l0.16,-8.76l11.74,0.12l-0.41,11.87l-0.2,2.27l-0.67,2.47l0.19,0.46l20.27,11.39l56.74,0.19l-11.25,17.78l-2.29,0.23l-2.75,4.54l-9.08,5.08l-0.21,0.36l0.21,8.97l-18.05,0.2l-0.28,-0.96l-0.8,-1.08l-1.38,-0.65l-0.6,-0.03l-0.42,0.41l0.86,35.68l0.75,3.69l-0.25,0.86l-10.02,0.15l-0.41,-11.45l-0.56,-0.4l-4.58,0.07l-0.29,-11.69l0.44,-0.01l0.12,-0.47l-6.38,-14.72l-0.42,-0.24l-1.93,-5.2l-3.42,-7.6l-0.53,-0.2l-0.95,0.58l-1.34,0.17l-0.67,-0.51l0.06,-0.39l1.19,-0.74l0.3,-0.83l-1.19,-3.8l-1.49,-0.4l-0.94,1.18l-1.58,0.28l-0.77,0.83l-1.22,-1.05l-2.12,-0.96l-2.67,0.32l-1.82,1.23l-0.03,1.49l-0.41,0.48l-5.11,-0.69l-1.42,-0.63l-0.61,-0.61l-0.59,-1.32l0.48,-1.49l1.31,-0.66l0.01,-1.13l-0.84,-0.58l-3.62,-0.65l-1.08,-1.45l-0.51,-2.08l0.26,-0.59l2.82,-1.2l1.62,-1.71l0.85,-2.53l-0.52,-2.06l-1.6,-1.27l-3.34,-0.86l-2.01,0.13l-3.09,0.89l-1.32,-1.33l-0.71,-0.19l-1.06,0.67l-2.21,-0.38l-1.41,0.99l-1.4,0.02l-0.53,-1.38l0.06,-4.67l-0.64,-6.21l-0.68,-2.38l-1.12,-1.24l-1.56,-0.2l-1.14,1.08l-1.54,3.72l-0.71,2.8l-2.32,-0.45l-0.92,0.2l-1.41,0.94l-3.26,-0.26l-2.23,0.56l-4.24,-2.07Z", "name": "FOREST GLEN"}, "59": {"path": "M547.24,509.44l-0.17,-20.48l14.1,-5.3l2.84,-0.66l18.78,-0.56l0.41,0.54l1.12,-0.02l3.97,-0.47l3.85,-1.43l4.49,-2.9l1.6,2.86l0.79,2.56l1.31,1.82l2.61,3.33l2.05,1.32l6.23,8.1l-0.32,7.54l0.93,10.89l1.56,1.47l-63.36,0.89l-0.15,-3.22l-0.97,-1.31l0.86,-0.62l0.12,-0.53l-1.57,-3.48l-0.44,-0.4l-0.65,0.05Z", "name": "MCKINLEY PARK"}, "22": {"path": "M452.04,237.51l93.69,-1.15l0.39,-0.43l-0.21,-9.32l3.65,4.8l2.17,1.02l3.3,0.65l1.27,3.2l1.5,1.94l2.89,1.99l2.4,5.64l7.01,2.37l3.33,2.35l0.74,1.19l0.18,3.33l0.5,1.29l4.61,4.21l2.46,1.12l3.93,0.06l2.37,0.82l1.6,2.92l1.91,2.23l1.61,2.85l2.54,3.14l1.64,5.22l-4.67,2.42l-2.19,0.57l-22.19,0.36l-0.01,-1.02l-0.41,-0.4l-10.58,0.25l-0.39,0.41l0.04,1.85l-1.18,-0.81l-29.9,0.39l-0.25,-0.25l-1.21,0.0l-19.92,0.6l-0.43,0.28l-20.54,0.3l-0.24,-0.23l-4.11,-0.08l-7.92,0.08l-1.62,-4.28l-0.38,-0.26l-1.59,0.03l-0.24,-3.93l0.53,-0.59l-2.08,-4.68l-0.37,-0.24l-3.37,0.05l-0.17,-7.11l-0.62,-1.57l0.79,-0.02l0.35,-0.55l-0.61,-1.61l-0.07,-3.01l-0.41,-0.39l-1.75,0.03l-7.79,-18.05Z", "name": "LOGAN SQUARE"}, "14": {"path": "M416.82,140.37l-0.47,-2.46l-0.26,-13.62l31.26,-0.35l0.11,4.36l0.4,0.39l2.28,-0.03l0.1,4.33l0.41,0.39l8.0,-0.1l0.39,-0.41l-0.21,-9.07l1.6,-0.02l1.4,-1.07l1.01,-0.37l1.06,-0.01l2.58,0.72l1.81,1.91l2.0,1.47l2.02,0.78l2.63,0.36l1.75,0.65l3.53,1.85l4.05,2.63l1.28,0.47l3.7,-0.13l3.32,-1.05l1.24,-0.86l1.88,-3.13l0.57,-0.42l3.8,-1.42l2.52,-0.12l6.43,1.83l1.43,0.93l1.06,4.26l1.95,4.04l2.4,2.99l1.03,1.79l3.28,3.47l7.58,9.06l1.21,1.88l1.35,3.74l-74.88,0.89l-17.4,-14.37l-0.1,-3.95l-0.41,-0.39l-20.58,0.26l0.22,-1.13l-0.31,-0.97Z", "name": "ALBANY PARK"}, "16": {"path": "M416.66,143.28l20.45,-0.26l0.25,4.04l17.91,14.67l75.29,-0.9l0.93,10.83l-0.6,7.78l-2.6,4.4l-2.35,5.2l0.03,1.51l1.32,7.33l-67.08,0.84l-0.39,0.41l0.46,18.49l-31.49,0.52l-0.09,-4.31l-0.41,-0.39l-1.2,0.02l-0.12,-3.97l1.15,-0.02l0.38,-0.41l-0.54,-28.39l-0.64,-0.39l-7.77,-18.06l3.82,-0.05l0.38,-0.29l-0.17,-0.45l-4.4,-2.95l-1.2,-1.59l0.28,-0.99l-1.37,-3.39l-0.23,-9.23Z", "name": "IRVING PARK"}, "19": {"path": "M323.53,220.63l104.34,-1.68l1.79,64.01l-29.28,-4.01l-1.96,0.11l-7.04,-1.71l-9.9,-1.4l-5.63,-0.25l-40.82,0.7l-4.13,-0.68l-4.33,-1.81l-1.58,-1.84l-0.36,-1.87l-1.1,-49.57Z", "name": "BELMONT CRAGIN"}, "54": {"path": "M692.45,965.01l2.15,-5.47l1.67,-6.31l1.67,-9.2l-0.39,-0.48l-0.75,-0.0l12.84,-67.39l16.72,-0.2l3.32,-1.36l2.22,-0.41l-0.53,2.49l-0.09,2.34l0.47,19.3l0.61,3.67l1.19,3.21l1.74,2.98l17.3,24.07l1.06,0.71l23.95,33.42l1.96,3.51l1.63,4.52l1.03,6.43l-83.2,0.29l-0.03,-14.34l-0.36,-0.4l-6.17,-1.41Z", "name": "RIVERDALE"}, "31": {"path": "M545.72,425.39l4.04,-0.06l0.04,2.07l0.49,0.38l2.11,-0.49l13.51,-1.13l5.47,-0.98l3.79,-0.32l75.89,-1.22l0.16,5.71l0.41,0.39l7.64,-0.15l-0.54,1.41l-1.4,1.62l-2.79,2.44l-3.37,1.97l-0.82,0.79l-6.07,9.98l-0.93,1.05l-1.37,0.8l-1.4,0.46l-6.06,0.76l-6.12,2.11l-2.99,0.24l-13.98,2.94l-2.32,-0.25l-4.61,3.88l-0.35,-0.11l-6.14,3.73l-0.73,0.95l-0.93,3.39l-1.45,3.15l0.92,2.61l0.01,2.83l0.44,1.1l-4.49,2.91l-2.36,1.0l-3.46,0.74l-2.37,0.1l-0.41,-0.54l-19.76,0.64l-2.53,0.62l-13.87,5.21l-0.22,-25.4l-0.5,-9.28l-0.6,-28.05Z", "name": "LOWER WEST SIDE"}, "56": {"path": "M300.04,584.36l9.27,-3.52l96.12,-2.04l0.37,-0.41l-0.73,-33.74l17.96,-6.78l0.26,-0.38l-0.23,-15.34l12.43,-0.21l2.2,93.4l-136.79,2.83l-0.68,-19.06l-0.18,-14.75Z", "name": "GARFIELD RIDGE"}, "51": {"path": "M762.47,940.26l-2.61,-0.03l-5.77,-7.97l-0.92,-0.53l-17.24,-23.99l-1.56,-2.62l-1.26,-3.31l-0.56,-3.12l-0.49,-21.1l0.61,-3.25l2.04,-4.95l9.79,-21.62l3.88,-6.85l4.97,-6.66l8.41,-9.15l1.7,-4.83l0.27,-1.91l3.31,-0.27l1.46,-3.28l0.57,-2.13l0.44,-3.8l-0.72,-24.43l-3.74,-4.31l-1.23,-1.94l40.01,-0.79l5.99,-0.79l0.08,2.91l0.41,0.39l48.2,-0.71l0.93,4.94l-0.6,2.81l-0.39,4.64l0.27,2.06l1.34,1.94l0.5,1.95l-0.06,2.56l-0.7,2.86l-0.3,6.61l-2.01,3.83l-3.48,3.24l-1.4,2.39l-0.04,4.45l0.53,2.56l0.01,1.8l-0.08,1.37l-0.5,1.48l0.37,0.56l3.84,0.01l-2.2,3.79l-0.54,2.55l0.63,69.85l-0.38,2.45l-2.41,7.24l-0.52,3.47l3.65,22.38l-11.6,-7.95l-3.41,-2.67l-2.49,-3.58l-7.35,-13.19l-0.65,-0.16l-0.62,0.65l-1.09,0.4l-1.63,1.6l-1.46,-0.1l-1.06,1.21l-0.06,24.13l-47.83,-0.1l-3.72,-0.69l-5.86,-2.02l-3.67,-0.3Z", "name": "SOUTH DEERING"}, "36": {"path": "M720.94,516.39l-11.9,0.14l4.14,-18.12l16.51,-0.42l0.64,1.5l1.66,1.9l3.61,5.32l4.77,4.08l0.53,1.64l-0.39,3.75l0.86,4.17l0.97,1.78l1.69,2.14l0.84,2.03l1.25,1.47l1.08,0.33l2.5,2.32l1.81,1.15l0.84,1.55l0.05,1.45l-30.67,0.3l-0.32,-15.79l0.66,-0.26l0.2,-0.56l-0.94,-1.71l-0.4,-0.16Z", "name": "OAKLAND"}, "53": {"path": "M603.01,877.76l105.81,-1.58l-12.84,67.37l-2.11,0.1l0.45,-2.23l-0.27,-1.88l-0.91,-1.19l-4.52,-2.48l-0.02,-0.5l-0.42,-0.39l-2.7,0.04l-2.6,0.4l-4.04,1.54l-3.33,2.88l-2.95,3.23l-3.51,2.72l-0.53,1.05l-0.76,-0.38l-1.77,0.27l-1.61,0.9l-5.45,0.47l-6.46,-0.95l-5.03,-0.16l-0.42,-0.83l-0.79,0.01l-0.38,0.84l-9.28,-0.03l-1.98,0.3l-0.47,-13.43l12.14,-0.22l0.39,-0.41l-0.53,-18.89l-0.41,-0.39l-41.76,0.53l-0.94,-36.73Z", "name": "WEST PULLMAN"}, "52": {"path": "M853.52,830.48l0.32,-1.17l0.07,-3.29l-0.53,-2.57l0.04,-4.33l1.18,-1.91l3.54,-3.31l2.16,-4.19l0.3,-6.64l0.69,-2.85l0.07,-2.71l-0.59,-2.3l-1.26,-1.75l-0.26,-1.96l0.39,-4.43l0.61,-2.95l-0.58,-2.22l-0.46,-3.79l1.98,-8.8l0.71,-1.35l3.11,-2.88l2.13,-1.3l21.14,-10.51l-0.22,1.08l1.01,0.93l8.84,1.64l0.5,0.62l0.48,23.62l-0.96,0.71l-1.04,1.8l-0.47,4.03l0.6,2.39l1.03,1.45l0.77,0.25l0.08,0.77l-2.57,0.18l-1.06,0.45l-0.74,-0.18l-0.47,0.77l-1.06,0.31l-2.04,1.64l-1.04,1.35l-0.18,1.0l0.34,1.6l1.87,3.8l2.52,2.66l-3.95,3.62l0.03,0.61l2.65,2.03l2.09,0.6l-0.06,0.61l1.7,1.79l0.44,0.18l0.48,-0.28l0.23,0.54l0.68,0.45l-0.21,42.59l-12.0,-0.06l-0.4,0.4l-0.07,18.4l-20.66,0.16l-0.4,0.4l0.03,4.08l-9.94,0.06l-0.27,-45.05l0.46,-1.88l2.52,-4.28l-0.33,-0.62l-3.95,-0.01ZM896.34,812.19l0.14,-0.16l-0.0,-0.42l0.24,0.34l-0.38,0.24Z", "name": "EAST SIDE"}, "33": {"path": "M660.27,428.78l1.34,-3.91l-0.46,-20.18l33.63,-0.49l1.19,-1.28l10.39,-1.32l1.39,0.28l0.89,0.96l0.08,1.16l-0.7,1.19l0.0,0.56l0.41,0.4l10.69,-0.27l1.09,-0.78l1.04,-0.22l1.28,0.4l0.74,0.97l-0.05,1.15l-0.83,1.14l0.01,1.42l-0.85,-0.65l-1.02,0.34l-1.02,1.11l-0.42,1.4l0.13,1.24l1.26,3.89l0.63,0.65l1.36,0.35l0.11,4.38l-1.66,0.09l-0.73,0.64l1.02,16.76l-4.74,0.4l-1.07,-0.47l-0.56,-0.89l1.26,-7.71l-1.29,-2.27l0.09,-2.52l-0.34,-0.78l-0.93,-0.85l0.24,-1.5l-0.67,-1.67l0.7,-0.83l-0.02,-1.16l0.98,-1.99l0.65,-3.49l-0.63,-2.87l-1.22,-2.35l-0.05,-1.16l-0.4,-0.38l-4.74,0.06l-0.39,0.41l0.03,1.18l-1.18,2.8l-0.51,2.37l0.3,2.47l1.6,3.06l0.02,1.14l0.56,0.72l-0.23,0.49l0.26,0.27l-0.37,0.73l0.58,2.73l0.0,0.7l-0.85,0.26l-0.56,0.82l-0.47,1.58l0.01,1.8l0.97,2.68l3.14,2.88l0.95,4.6l3.17,5.38l0.09,1.24l-0.75,4.62l0.12,1.64l0.4,1.27l1.69,2.72l0.24,0.98l-0.18,1.05l-1.02,1.63l-0.56,-0.83l-14.25,0.45l-1.05,-1.37l-2.57,-0.27l-24.49,0.43l-0.38,-18.6l-0.4,-0.39l-1.17,0.01l-0.33,-12.32l-0.41,-0.39l-10.19,0.15Z", "name": "NEAR SOUTH SIDE"}, "55": {"path": "M760.45,941.02l5.52,0.32l6.57,2.22l3.15,0.5l48.28,0.08l0.38,-0.4l0.06,-24.34l0.64,-0.63l1.35,0.13l1.84,-1.72l0.76,-0.22l0.63,-0.59l7.15,12.84l2.69,3.82l3.45,2.68l11.99,8.23l0.55,0.1l0.42,-0.46l-3.76,-23.01l0.49,-3.22l2.41,-7.21l0.41,-2.6l-0.34,-24.44l10.33,-0.06l0.4,-0.4l-0.02,-4.08l20.61,-0.15l0.4,-0.36l0.15,-1.51l-0.04,-16.93l11.63,0.06l-1.17,121.58l-114.36,-0.39l-0.97,-6.3l-2.12,-5.69l-2.23,-3.74l-17.25,-24.12Z", "name": "HEGEWISCH"}, "74": {"path": "M433.94,862.1l6.85,-0.41l34.7,-0.67l0.46,-0.41l-1.74,-56.29l17.68,-0.32l0.12,4.33l0.41,0.39l2.26,-0.04l0.37,13.64l0.41,0.39l21.2,-0.27l0.39,-0.4l-0.09,-1.95l9.82,-0.14l0.67,20.85l0.28,0.31l0.53,27.42l-7.62,0.37l-0.39,0.4l0.14,4.23l-2.23,0.03l-0.4,0.41l0.14,4.45l-10.12,0.19l-0.39,0.42l0.29,8.94l-9.66,0.07l-2.69,0.27l-0.06,-1.76l-0.41,-0.39l-0.02,-0.67l0.38,-0.41l-0.2,-5.85l-0.41,-0.38l-60.06,1.19l-0.6,-17.94Z", "name": "MOUNT GREENWOOD"}, "37": {"path": "M657.65,550.19l0.38,-2.97l-0.03,-10.33l0.6,-0.01l0.39,-0.44l-0.37,-4.66l-0.32,-0.3l-0.17,-13.37l13.83,-0.22l0.82,31.79l0.1,19.81l0.8,23.0l-14.13,0.3l-0.98,-37.0l0.3,-0.41l-0.19,-4.82l-0.41,-0.39l-0.62,0.01Z", "name": "FULLER PARK"}, "47": {"path": "M726.5,777.39l1.53,0.35l0.47,-0.32l1.13,-5.97l-0.54,-0.47l0.83,-4.27l-0.65,-0.46l2.56,-13.39l1.59,-0.26l0.32,-0.32l1.62,-8.95l10.32,-0.18l4.6,7.82l2.52,4.96l6.96,14.06l2.42,6.69l1.67,3.16l-37.3,0.71l-0.06,-3.15Z", "name": "BURNSIDE"}, "17": {"path": "M224.15,165.79l7.97,-0.19l1.78,9.34l0.06,9.14l0.41,0.41l53.05,-1.56l0.4,-0.41l-0.05,-2.61l27.57,-15.77l15.97,-0.55l0.52,18.56l0.41,0.39l20.78,-0.35l1.19,37.12l-65.65,1.17l-0.39,0.41l0.25,8.64l-20.33,0.5l-0.27,-9.02l-0.42,-0.38l-39.12,0.94l-0.72,-18.1l-0.53,-0.64l-2.32,0.07l-0.49,-18.08l-0.07,-19.03Z", "name": "DUNNING"}, "57": {"path": "M436.54,530.64l51.47,-19.43l0.8,41.46l0.46,10.56l-0.55,2.32l-0.86,1.55l-1.52,1.7l-9.04,4.23l-7.58,4.02l-0.79,0.02l-0.39,0.41l0.01,0.58l-10.24,4.85l-0.23,0.37l0.08,3.43l-15.49,0.19l-0.4,0.41l0.08,3.01l-4.47,0.37l-1.34,-60.05Z", "name": "ARCHER HEIGHTS"}, "50": {"path": "M725.1,803.29l4.21,-21.97l35.11,-0.7l3.58,4.0l0.72,24.27l-0.43,3.65l-0.9,3.03l-0.93,1.93l-3.13,0.07l-0.39,0.41l-0.23,2.06l-1.54,4.53l-8.42,9.17l-5.05,6.76l-3.91,6.92l-11.6,25.94l-2.3,0.34l-3.62,1.47l-14.71,0.18l13.54,-72.06Z", "name": "PULLMAN"}}, "height": 981.6642077705183, "projection": {"type": "mill", "centralMeridian": 0.0}, "width": 900.0}); |
271374667/SimpleWMS | 3,015 | src/common/plugins/chart_plugins/inventory_chart.py | """
关于商品的统计
-[x] 所有的商品的品牌占比百分百饼图
-[ ] 库存中的品牌占比百分比饼图x2(本月和全部)
-[x] 所有卖出的品牌百分比饼图x2(本月和全部)
-[ ] 最近 30 天内各个品牌的售出情况
"""
from src.common.database.controller.chart_plugin_controller import ChartPluginController
from src.common.plugins.chart_plugins.chart.chart_base import NoContentHTML
from src.common.plugins.chart_plugins.chart.pie_chart import PieChart
from src.common.plugins.plugin_base import Chart, ChartSet
from src.core.enums import TimeFilterEnum
class BrandChart1(Chart):
chart_title: str = "全部库存中各个品牌占比"
chart_subtilte: str = "统计当前库存中所有的商品的品牌占比百分百饼图"
def __init__(self):
self._controller = ChartPluginController()
def get_html(self) -> str:
self._data = self._controller.get_count_groupby_brand()
self._pie_chart = PieChart(self._data, self.chart_title, self.chart_subtilte)
if self._data:
return self._pie_chart.get_chart().render_embed()
return NoContentHTML
get_html.__doc__ = Chart.get_html.__doc__
class BrandChart2(Chart):
chart_title = "本月库存中各个品牌占比"
chart_subtilte = "统计当前库存中所有的商品的品牌占比百分百饼图"
def __init__(self):
self._controller = ChartPluginController()
def get_html(self) -> str:
self._data = self._controller.get_count_groupby_brand(
statistic_time=TimeFilterEnum.Month
)
self._pie_chart = PieChart(self._data, self.chart_title, self.chart_subtilte)
if self._data:
return self._pie_chart.get_chart().render_embed()
return NoContentHTML
class BrandChart3(Chart):
chart_title = "过往售出商品中各个品牌占比"
chart_subtilte = "统计过往全部卖出的商品的品牌占比百分百饼图"
def __init__(self):
self._controller = ChartPluginController()
def get_html(self) -> str:
self._data = self._controller.get_count_groupby_brand(
is_sold=1, statistic_time=TimeFilterEnum.All
)
self._pie_chart = PieChart(self._data, self.chart_title, self.chart_subtilte)
if self._data:
return self._pie_chart.get_chart().render_embed()
return NoContentHTML
class BrandChart4(Chart):
chart_title = "本月售出商品中各个品牌占比"
chart_subtilte = "统计本月卖出的商品的品牌占比百分百饼图"
def __init__(self):
self._controller = ChartPluginController()
def get_html(self) -> str:
self._data = self._controller.get_count_groupby_brand(
is_sold=1, statistic_time=TimeFilterEnum.Month
)
self._pie_chart = PieChart(self._data, self.chart_title, self.chart_subtilte)
if self._data:
return self._pie_chart.get_chart().render_embed()
return NoContentHTML
class BrandChartSet(ChartSet):
"""用于存放所有的品牌统计图"""
plugin_name: str = "商品相关数据的统计"
def _initialize(self) -> None:
self.chart_list.append(BrandChart1())
self.chart_list.append(BrandChart2())
self.chart_list.append(BrandChart3())
self.chart_list.append(BrandChart4())
def get_description(self) -> str:
return "这里是品牌相关数据的统计, 这里会从多个角度展示品牌的数据"
|
271374667/SimpleWMS | 2,627 | src/common/plugins/chart_plugins/chart/chart_local_server.py | """
在程序开始的时候就会被创建,作为一个子线程一直跟随主线程运行
因为pyecharts的图表需要使用本地服务器进行渲染,所以需要在本地搭建一个服务器,然后将服务器的地址设置到CurrentConfig.ONLINE_HOST中
"""
import http.server
import socket
import socketserver
import threading
from functools import partial
from pathlib import Path
import loguru
from pyecharts.globals import CurrentConfig
from src.core.constant import PYECHART_ASSETS
def is_port_available(port: int) -> bool:
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
try:
s.bind(("localhost", port))
return True
except OSError:
return False
class CustomHTTPRequestHandler(http.server.SimpleHTTPRequestHandler):
"""
因为pyinstaller的无控制台模式下,send_resopnse方法没有办法正常运行
send_response函数更换成send_response_only
"""
def send_response(self, code, message=None):
self.send_response_only(code, message)
def end_headers(self):
self.send_header("Access-Control-Allow-Origin", "*")
self.send_header("Access-Control-Allow-Methods", "GET")
self.send_header("Access-Control-Allow-Headers", "Content-Type")
http.server.SimpleHTTPRequestHandler.end_headers(self)
class ChartLocalServer:
def __init__(self, host: str, port: int, local_dir: Path = PYECHART_ASSETS):
self.host = host
self.port = port
self.local_dir = local_dir
self.httpd = None
self.server_thread = None
self.is_running = False
def run(self):
# handler = partial(http.server.SimpleHTTPRequestHandler, directory=self.local_dir)
handler = partial(CustomHTTPRequestHandler, directory=self.local_dir)
handler.directory = str(self.local_dir)
loguru.logger.debug(f"获取图表资源的路径: {self.local_dir}")
# 获取可用端口
while not is_port_available(self.port):
loguru.logger.error(f"图表线程启动失败,端口被占用 {self.port},正在尝试切换端口……")
self.port += 1
self._start_server(handler)
# 本来不是很想把逻辑拆分成这么多个函数,但是Sourcey一直给我警告,所以我就拆分了
def _start_server(self, handler):
self.httpd = socketserver.TCPServer((self.host, self.port), handler)
self.server_thread = threading.Thread(target=self.httpd.serve_forever)
self.server_thread.start()
loguru.logger.info(f"图表线程启动在 {self.host}:{self.port} 上")
CurrentConfig.ONLINE_HOST = f"http://127.0.0.1:{self.port}/"
def stop(self):
if self.httpd is not None:
self.httpd.shutdown()
self.httpd.server_close()
self.server_thread.join()
self.httpd = None
self.server_thread = None
loguru.logger.debug("图表线程关闭")
|
271374667/SimpleWMS | 3,544 | src/common/plugins/chart_plugins/chart/pie_chart.py | from typing import List, Optional, Tuple
from pyecharts.charts import Pie
from pyecharts.options import (
InitOpts,
LabelOpts,
LegendOpts,
TitleOpts,
ToolBoxFeatureDataViewOpts,
ToolBoxFeatureDataZoomOpts,
ToolBoxFeatureMagicTypeOpts,
ToolBoxFeatureOpts,
ToolBoxFeatureRestoreOpts,
ToolboxOpts,
)
from src.common.plugins.chart_plugins.chart.chart_base import PyEChartsBase
class PieChart(PyEChartsBase):
def __init__(
self,
data: List[Tuple[str, int]],
chart_title: Optional[str] = None,
chart_subtitle: Optional[str] = None,
):
super().__init__()
self._data = data
self.chart = Pie(
init_opts=InitOpts(theme=self.echarts_theme, width="100%", height="440px")
)
if self._data:
self._create_chart(chart_title, chart_subtitle)
def get_chart(self) -> Pie:
return self.chart
def _create_chart(
self, chart_title: Optional[str] = None, chart_subtitle: Optional[str] = None
) -> Pie:
tool_box_feature_magic_type_opts = ToolBoxFeatureMagicTypeOpts(is_show=False)
tool_box_feature_opts = ToolBoxFeatureOpts(
magic_type=tool_box_feature_magic_type_opts,
data_view=ToolBoxFeatureDataViewOpts(is_show=False),
data_zoom=ToolBoxFeatureDataZoomOpts(is_show=False),
restore=ToolBoxFeatureRestoreOpts(is_show=False),
)
self.chart.add(
series_name="详细信息",
data_pair=self._data,
selected_mode=True,
rosetype="redius",
)
self.chart.set_global_opts(
title_opts=TitleOpts(title=chart_title, subtitle=chart_subtitle),
legend_opts=LegendOpts(type_="scroll", pos_left="85%", orient="vertical"),
toolbox_opts=ToolboxOpts(feature=tool_box_feature_opts),
)
self.chart.set_series_opts(
center=["40%", "50%"],
radius=["50%", "70%"],
label_opts=LabelOpts(
formatter="{a|{a}}{abg|}\n{hr|}\n {b|{b}: }{c}件 {per|{d}%} ",
rich={
"a": {"color": "#999", "lineHeight": 22, "align": "center"},
"abg": {
"backgroundColor": "#e3e3e3",
"width": "100%",
"align": "right",
"height": 22,
"borderRadius": [4, 4, 0, 0],
},
"hr": {
"borderColor": "#aaa",
"width": "100%",
"borderWidth": 0.5,
"height": 0,
},
"b": {"fontSize": 16, "lineHeight": 33},
"per": {
"color": "#eee",
"backgroundColor": "#334455",
"padding": [2, 4],
"borderRadius": 2,
},
},
position="outside",
),
)
return self.chart
if __name__ == "__main__":
from PySide6.QtWidgets import QApplication
from PySide6.QtWebEngineWidgets import QWebEngineView
app = QApplication([])
web = QWebEngineView()
p = PieChart(
[("A", 10), ("B", 20), ("C", 30), ("D", 40), ("E", 50), ("F", 60)],
"饼图",
"这是子标题",
)
web.setHtml(p.get_chart().render_embed())
web.resize(800, 600)
web.show()
app.exec()
|
274056675/springboot-openai-chatgpt | 1,309 | chatgpt_pc/src/components/loading-view/loading-view.vue | <template>
<div class="three-bounce">
<div :style="[currStyle]" class="one"></div>
<div :style="[currStyle]" class="two"></div>
<div :style="[currStyle]" class="three"></div>
</div>
</template>
<script>
export default {
props:{
size:{
type:Number,
default:18,
},
color:{
type:String,
default:'#aeadba'
}
},
data() {
return {
}
},
computed:{
currStyle(){
return {
width:this.size+'rpx',
height:this.size+'rpx',
background: this.color,
}
}
}
}
</script>
<style lang="scss" scoped>
.three-bounce {
width: 100%;
text-align: center;
&>div {
display: inline-block;
width: 18rpx;
height: 18rpx;
border-radius: 100%;
top: 50%;
// margin-top: -9px;
-webkit-animation: bouncedelay 1.4s infinite ease-in-out;
animation: bouncedelay 1.4s infinite ease-in-out;
-webkit-animation-fill-mode: both;
animation-fill-mode: both
}
.one {
-webkit-animation-delay: -.32s;
animation-delay: -.32s
}
.two {
-webkit-animation-delay: -.16s;
animation-delay: -.16s
}
}
@keyframes bouncedelay {
0%,
100%,
80% {
transform: scale(0);
-webkit-transform: scale(0)
}
40% {
transform: scale(1);
-webkit-transform: scale(1)
}
}
</style>
|
274056675/springboot-openai-chatgpt | 3,747 | chatgpt_pc/src/components/announcement/announcement.vue | <template>
<div class="announcement">
<el-dialog :visible.sync="dialogVisible" width="800px" :show-close="false">
<div class="announcement-box">
<div class="announcement-title">消息通知</div>
<div class="announcement-list">
<div class="announcement-item" v-for="item in announcementList" :key="item.id">
<div class="announcement-item_nav">
<div class="announcement-item-title">{{ item.title }}</div>
<div class="announcement-item-time">{{ item.create_time }}</div>
</div>
<div class="announcement-item-content">{{ item.content_part }}</div>
<div class="announcement-item-ckxq" @click="goPage(item.id)">查看详情》</div>
</div>
</div>
<el-pagination :small="true" @size-change="announcementSizeChange" @current-change="announcementCurrentChange"
:current-page.sync="announcementPageObj.current" :page-size="announcementPageObj.size"
layout="prev, pager, next, jumper" :total="announcementPageObj.total"></el-pagination>
</div>
</el-dialog>
</div>
</template>
<script>
import router from '@/router';
import { getNoticeListApi } from '@/api/system.js'
export default {
name: 'announcement',
data() {
return {
dialogVisible: false,
announcementList: [],
announcementPageObj: {
current: 1, // 当前页
size: 10, // 每页的数量
total: 0,
},
}
},
watch: {
dialogVisible(val) {
if (val) {
this.announcementPageObj.current = 1
this.getNoticeList()
}
},
},
mounted() {
this.getNoticeList()
},
methods: {
goPage(id) {
router.push({
name: 'inform',
query: { id },
})
this.dialogVisible = false
},
getNoticeList() {
let params = {
current: this.announcementPageObj.current,
size: this.announcementPageObj.size,
}
getNoticeListApi(params)
.then((res) => {
let data = res.data
this.announcementPageObj.total = data.total
this.announcementList = data.records
})
.catch((err) => { })
},
announcementSizeChange(val) {
console.log(`每页 ${val} 条`)
},
// 切换分页
announcementCurrentChange(val) {
this.announcementPageObj.current = val
this.getNoticeList()
},
},
}
</script>
<style lang="scss">
.el-dialog {
margin-top: 50px !important;
}
.announcement {
width: 100%;
height: 100%;
.announcement-box {
display: flex;
flex-direction: column;
height: 600px;
padding: 20px;
overflow-y: auto;
scrollbar-color: rgba(0, 0, 0, 0.1) rgba(251, 246, 246, 0.1); //滚动条轨道颜色 滚动条滑块的颜色
scrollbar-width: none;
scrollbar-width: thin; //thin模式下滚动条两端的三角按钮会消失
box-sizing: border-box;
.announcement-title {
font-size: 18px;
color: #000;
font-weight: 700;
}
.announcement-list {
height: 100%;
overflow-y: auto;
scrollbar-color: rgba(0, 0, 0, 0.1) rgba(251, 246, 246, 0.1); //滚动条轨道颜色 滚动条滑块的颜色
scrollbar-width: none;
scrollbar-width: thin; //thin模式下滚动条两端的三角按钮会消失
color: #2d303b;
.announcement-item {
padding: 20px 20px 0;
border-bottom: 2px solid #e6e6e6;
.announcement-item_nav {
display: flex;
align-items: center;
margin-bottom: 20px;
.announcement-item-title {
margin-right: 30px;
font-size: 14px;
color: #2d303b;
font-weight: 700;
}
}
.announcement-item-ckxq {
padding: 10px 0 20px;
color: #960a0f;
cursor: pointer;
}
}
}
}
}
</style> |
271374667/SimpleWMS | 3,616 | src/common/plugins/chart_plugins/chart/bar_chart.py | from datetime import date, timedelta
from typing import List, Optional, Sequence, Tuple, Union
from pyecharts.charts import Bar
from pyecharts.charts.chart import Chart
from pyecharts.options import (
AxisOpts,
DataZoomOpts,
InitOpts,
LabelOpts,
MarkPointItem,
MarkPointOpts,
TitleOpts,
ToolBoxFeatureDataViewOpts,
ToolBoxFeatureMagicTypeOpts,
ToolBoxFeatureOpts,
ToolboxOpts,
TooltipOpts,
)
from src.common.plugins.chart_plugins.chart.chart_base import PyEChartsBase
class BarChart(PyEChartsBase):
def __init__(
self,
data: List[Tuple[str, Sequence]],
xaxis_labels: Optional[List[Union[date, str]]] = None,
chart_title: Optional[str] = None,
chart_subtitle: Optional[str] = None,
):
super().__init__()
self.chart = Bar(
init_opts=InitOpts(
theme=self.echarts_theme,
width="100%",
height="440px",
bg_color='background_color="rgba(0,0,0,0)"',
is_fill_bg_color=True,
)
)
tool_box_feature_magic_type_opts = ToolBoxFeatureMagicTypeOpts(
type_=["stack", "tiled"],
)
tool_box_feature_opts = ToolBoxFeatureOpts(
magic_type=tool_box_feature_magic_type_opts,
data_view=ToolBoxFeatureDataViewOpts(is_show=False),
)
# 设置 x 轴标签(默认是时间)
if xaxis_labels:
self.chart.add_xaxis(xaxis_labels)
else:
# 如果没有设置x轴标签,则自动生成日期标签
max_length = max(len(d[1]) for d in data)
x_data = [
date.today() - timedelta(days=max_length - i) for i in range(max_length)
]
self.chart.add_xaxis(x_data)
for name, values in data:
self.chart.add_yaxis(
series_name=name,
y_axis=values,
markpoint_opts=MarkPointOpts(
data=[
MarkPointItem(type_="max", name="最大值"),
MarkPointItem(type_="min", name="最小值"),
]
),
)
self.chart.set_global_opts(
title_opts=TitleOpts(title=chart_title, subtitle=chart_subtitle),
xaxis_opts=AxisOpts(axislabel_opts=LabelOpts(rotate=-15), name="日期"),
datazoom_opts=[
DataZoomOpts(range_start=0, range_end=100),
DataZoomOpts(type_="inside"),
],
yaxis_opts=AxisOpts(
axislabel_opts=LabelOpts(formatter="{value} 件"), name="数量"
),
toolbox_opts=ToolboxOpts(feature=tool_box_feature_opts),
tooltip_opts=TooltipOpts(trigger="axis", axis_pointer_type="cross"),
)
self.chart.set_series_opts(
label_opts=LabelOpts(is_show=True),
)
def get_chart(self) -> Chart:
return self.chart
if __name__ == "__main__":
from PySide6.QtWidgets import QApplication
from PySide6.QtWebEngineWidgets import QWebEngineView
from random import randint
data = [
("A", [randint(1, 100) for _ in range(10)]),
("B", [randint(1, 100) for _ in range(10)]),
("C", [randint(1, 100) for _ in range(10)]),
("D", [randint(1, 100) for _ in range(10)]),
("E", [randint(1, 100) for _ in range(10)]),
]
app = QApplication([])
web = QWebEngineView()
b = BarChart(data, chart_title="主标题", chart_subtitle="子标题")
web.setHtml(b.get_chart().render_embed())
web.resize(800, 600)
web.show()
app.exec()
|
271374667/SimpleWMS | 3,481 | src/common/plugins/chart_plugins/chart/line_chart.py | from datetime import date, timedelta
from typing import List, Optional, Sequence, Tuple, Union
from pyecharts.charts import Line
from pyecharts.options import (
AnimationOpts,
AxisOpts,
DataZoomOpts,
InitOpts,
LabelOpts,
MarkLineItem,
MarkLineOpts,
MarkPointItem,
MarkPointOpts,
TitleOpts,
ToolBoxFeatureDataViewOpts,
ToolBoxFeatureMagicTypeOpts,
ToolBoxFeatureOpts,
ToolboxOpts,
)
from src.common.plugins.chart_plugins.chart.chart_base import PyEChartsBase
class LineChart(PyEChartsBase):
def __init__(
self,
data: List[Tuple[str, Sequence[int]]],
xaxis_labels: Optional[List[Union[date, str]]] = None,
chart_title: Optional[str] = None,
chart_subtitle: Optional[str] = None,
):
super().__init__()
self.chart = Line(
init_opts=InitOpts(
theme=self.echarts_theme,
width="100%",
height="440px",
animation_opts=AnimationOpts(animation_threshold=2),
)
)
tool_box_feature_magic_type_opts = ToolBoxFeatureMagicTypeOpts(
type_=["stack", "tiled"],
)
tool_box_feature_opts = ToolBoxFeatureOpts(
magic_type=tool_box_feature_magic_type_opts,
data_view=ToolBoxFeatureDataViewOpts(is_show=False),
)
# # 设置 x 轴标签(默认是时间)
if xaxis_labels:
self.chart.add_xaxis(xaxis_labels)
else:
# 如果没有设置x轴标签,则自动生成日期标签
max_length = max(len(d[1]) for d in data)
x_data = [
date.today() - timedelta(days=max_length - i) for i in range(max_length)
]
self.chart.add_xaxis(x_data)
for name, values in data:
self.chart.add_yaxis(
series_name=name,
y_axis=values,
is_connect_nones=True,
is_smooth=True,
markpoint_opts=MarkPointOpts(
data=[
MarkPointItem(type_="max", name="最大值"),
MarkPointItem(type_="min", name="最小值"),
]
),
markline_opts=MarkLineOpts(
data=[
MarkLineItem(type_="average", name="平均值"),
]
),
)
self.chart.set_global_opts(
title_opts=TitleOpts(title=chart_title, subtitle=chart_subtitle),
xaxis_opts=AxisOpts(axislabel_opts=LabelOpts(rotate=-15), name="日期"),
datazoom_opts=[
DataZoomOpts(range_start=0, range_end=100),
DataZoomOpts(type_="inside"),
],
yaxis_opts=AxisOpts(
axislabel_opts=LabelOpts(formatter="{value} 件"), name="数量"
),
toolbox_opts=ToolboxOpts(feature=tool_box_feature_opts),
)
self.chart.set_series_opts(
label_opts=LabelOpts(is_show=True),
)
def get_chart(self) -> Line:
return self.chart
if __name__ == "__main__":
from PySide6.QtWidgets import QApplication
from PySide6.QtWebEngineWidgets import QWebEngineView
app = QApplication([])
web = QWebEngineView()
line_chart = LineChart([("A", [1, 3, 5, None, None, 2, 10]), ("B", [2, None, 6, 8, 4])])
web.setHtml(line_chart.get_chart().render_embed())
web.resize(800, 600)
web.show()
app.exec()
|
271374667/SimpleWMS | 974 | src/common/plugins/chart_plugins/chart/chart_base.py | from PySide6.QtCore import QObject
from pyecharts.charts.chart import Chart
from pyecharts.globals import ThemeType
class ChartBase:
"""未来可能会接入其他的绘图三方库"""
...
class PyEChartsBase(ChartBase, QObject):
"""PyECharts的基类"""
# 默认将使用 WALDEN 主题, 这个主题贴近 Fluent
echarts_theme = ThemeType.WALDEN
def get_chart(self) -> Chart:
"""获取图标,之后可以调用图表的render方法进行渲染"""
...
NoContentHTML = """
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>无数据提示</title>
<style>
* {
margin: 0;
padding: 0;
}
section {
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.message {
color: black;
font-size: 24px;
}
*/
</style>
</head>
<body>
<section>
<div class="message">当前图表没有任何数据</div>
</section>
</body>
</html>
"""
|
271374667/SimpleWMS | 3,484 | tests/utils/test_excel_handler.py | import unittest
from dataclasses import dataclass
from datetime import date
from src.utils.excel_handler import ExcelHandler
@dataclass
class TestData:
name: str
age: int
birthday: date
class TestCodeUnderTest(unittest.TestCase):
# ExcelHandler can be initialized without any errors
def test_initialize_without_errors(self):
# Mock the following dependencies: Session, GetModelService
# mock database session and GetModelService
excel_handler = ExcelHandler()
self.assertIsInstance(excel_handler, ExcelHandler)
# set_dataclass method sets the current dataclass and initializes header_type and header variables
def test_set_dataclass_sets_variables(self):
# Mock the following dependencies: Session, GetModelService
# mock database session and GetModelService
excel_handler = ExcelHandler()
dataclass_mock = TestData("value1", 1, date(2021, 1, 1))
excel_handler.set_dataclass(dataclass_mock)
self.assertEqual(excel_handler._current_dataclass, dataclass_mock)
self.assertEqual(
excel_handler._header_type,
{"name": str, "age": int, "birthday": date},
)
self.assertEqual(excel_handler._header, ["name", "age", "birthday"])
# set_data method sets the data variable
def test_set_data_sets_variable(self):
# Mock the following dependencies: Session, GetModelService
# mock database session and GetModelService
excel_handler = ExcelHandler()
dataclass_mock = TestData("value1", 1, date(2021, 1, 1))
excel_handler.set_data([dataclass_mock])
self.assertEqual(excel_handler._data, [dataclass_mock])
# set_dataclass method raises an error if an invalid dataclass is passed
def test_set_dataclass_invalid_dataclass(self):
# Mock the following dependencies: Session, GetModelService
# mock database session and GetModelService
excel_handler = ExcelHandler()
with self.assertRaises(TypeError):
excel_handler.set_dataclass(str)
# set_dataclass method sets header_type correctly for all field types
def test_set_dataclass_header_type(self):
# Create an instance of ExcelHandler
excel_handler = ExcelHandler()
# Define a dataclass for testing
@dataclass
class TestData:
name: str
age: int
is_active: bool
# Set the dataclass in the ExcelHandler instance
excel_handler.set_dataclass(TestData)
# Check if the header_type is set correctly
expected_header_type = {"name": str, "age": int, "is_active": bool}
self.assertEqual(excel_handler._header_type, expected_header_type)
# set_data method sets data correctly for all dataclass types
def test_set_data_correctly(self):
# Create an instance of ExcelHandler
excel_handler = ExcelHandler()
# Define a dataclass for testing
@dataclass
class TestData:
name: str
age: int
# Set the dataclass in the ExcelHandler instance
excel_handler.set_dataclass(TestData)
# Create some test data
data = [TestData("John", 25), TestData("Jane", 30), TestData("Bob", 35)]
# Set the data in the ExcelHandler instance
excel_handler.set_data(data)
# Check if the data is set correctly
self.assertEqual(excel_handler._data, data)
|
274056675/springboot-openai-chatgpt | 40,558 | chatgpt_pc/src/components/chat/chat-detail.vue | <template>
<div class="chat-detail">
<div class="chat-content" ref="chatContent" @scroll="handleScroll">
<div
v-show="msgList.length != 0"
style="font-size: 12px; text-align: center; color: #999"
>
{{ loadingValue }}
</div>
<div ref="chatContentItem">
<chat-detail-view
v-for="(item, index) in msgList"
:key="item.id"
:id="'chat_' + item.id"
:ref="item.id"
:item="item"
:index="index"
:scrollToBottom="scrollToBottom"
:maxHeight="maxHeight"
></chat-detail-view>
</div>
<div
style="text-align: center; font-weight: 700; color: #960a0f"
v-show="msgList.length == 0"
>
在下方输入框输入问题发送即可开始聊天
</div>
</div>
<div class="chat-bottom">
<div class="chat-option-box">
<div
class="chat-option_teg"
style="background-color: #960a0f"
@click="chooseType('xjlt')"
>
<span style="margin-right: 4px">+</span> 新建聊天
</div>
<div class="chat-option_teg" @click="chooseType('ltlb')">
<span class="iconfont icon-liebiaomoshi" style="margin-right: 4px"></span>
聊天列表
</div>
<div class="chat-option_teg" @click="chooseType('scjl')">
<span class="iconfont icon-shoucang" style="margin-right: 4px"></span> 收藏记录
</div>
<div class="chat-model">
<el-dropdown @command="recommendChange" placement="top">
<el-button type="warning" size="medium">
聊天模型: {{ modelValue }}
<i class="el-icon-arrow-up el-icon--right"></i>
</el-button>
<el-dropdown-menu>
<template v-for="(item, index) in modelList">
<el-dropdown-item
:key="index"
:command="beforeHandleRecommend({ index, item })"
>{{ item.show_name }}</el-dropdown-item
>
</template>
</el-dropdown-menu>
</el-dropdown>
</div>
</div>
<div class="chat-foot-box">
<el-input
type="textarea"
:autosize="{ minRows: 1, maxRows: 4 }"
maxlength="500"
placeholder="请输入消息,enter发送、shift+enter换行"
v-model="msg"
:rows="4"
class="input-border-style"
@keydown.native="carriageReturn"
@keyup.native="inputClick"
></el-input>
<div
class="foot-btn"
:class="{ active: msg && !isSend && !isWaiting }"
@click="sendIssueFun"
>
<div v-show="!isSend && !isWaiting">发送</div>
<div v-show="isSend && isWaiting">发送中</div>
<!-- <loading-view v-show="isSend || isWaiting"></loading-view> -->
</div>
</div>
</div>
<el-dialog :visible.sync="ltlbShow" width="60%" :show-close="false">
<div class="ltlb-box">
<div class="ltlb-nav">
<div class="ltlb-nav_title">聊天列表</div>
<div class="ltlb-nav_right">
<el-popconfirm
title="确定删除全部列表吗?"
@confirm="deleteChatList('all', '')"
>
<div slot="reference" class="empty">清空聊天列表</div>
</el-popconfirm>
<div class="close-ltlb" @click="ltlbShow = false">X</div>
</div>
</div>
<div style="padding: 0 16px">
<el-input
placeholder="请输入内容"
v-model="chatSearchValue"
class="input-with-select"
>
<el-button slot="append" icon="el-icon-search"></el-button>
</el-input>
</div>
<div class="chat-list">
<div class="chat-list-item" v-for="(item, index) in chatList" :key="index">
<div class="item_left" @click="getChatMsg(item)">
<div class="item_left-title">{{ item.chat_name }}</div>
<div class="item_left-content">{{ item.chat_content }}</div>
</div>
<el-popconfirm
title="确定删除该列表吗?"
@confirm="deleteChatList('item', item.id)"
>
<span slot="reference" class="iconfont icon-shanchu iconShow"></span>
</el-popconfirm>
</div>
</div>
</div>
<div style="padding: 10px 0">
<el-pagination
:small="true"
@size-change="chatSizeChange"
@current-change="chatCurrentChange"
:current-page.sync="chatPageObj.current"
:page-size="chatPageObj.size"
layout="prev, pager, next, jumper"
:total="chatPageObj.total"
></el-pagination>
</div>
</el-dialog>
<el-dialog :visible.sync="scjlShow" width="60%" center>
<div class="scjl-box">
<div class="scjl-title">收藏记录</div>
<div class="scjl-list">
<div class="scjl-item" v-for="item in scjlList" :key="item.id">
<div class="scjl-item_title">超级AI大脑</div>
<div class="scjl-item_content">
<vue-markdown v-highlight :source="item.chat_content"></vue-markdown>
</div>
<div class="scjl-item_bottom">
<div class="scjl-item-time">{{ item.create_time }}</div>
<div class="btn-box">
<div class="btn-item" @click="operationBtnFun('copy', item)">
<img class="btn-item-icon" src="../../static/drawing/copy.png" />
<!-- <div class="btn-item-text">复制</div> -->
</div>
<div class="btn-item" @click="operationBtnFun('collect', item)">
<img
class="btn-item-icon"
:src="
item.store_status == '1'
? require('../../static/drawing/collect.png')
: require('../../static/drawing/collect(1).png')
"
/>
<!-- <div class="btn-item-text">收藏</div> -->
</div>
</div>
</div>
</div>
</div>
<el-pagination
:small="true"
@size-change="scjlSizeChange"
@current-change="scjlCurrentChange"
:current-page.sync="scjlPageObj.current"
:page-size="scjlPageObj.size"
layout="prev, pager, next, jumper"
:total="scjlPageObj.total"
></el-pagination>
</div>
</el-dialog>
</div>
</template>
<script>
import { cancelUserApi, getAllModelApi } from "@/api/system.js";
import { updataSettingDataApi, AIModel } from "@/api/user.js";
import {
sendChatIssueApi,
getChatHistoryListApi,
getChatLastMessageApi,
getChatListAPI,
deleteChatItemAPI,
deleteAllChatListAPI,
storeApi,
storeListApi,
} from "@/api/chat.js";
import chatDetailView from "@/components/chat/chat-detail-view";
import loadingView from "@/components/loading-view/loading-view.vue";
import { disposeStringDataUtils } from "@/utils/util";
import { mapGetters, mapActions } from "vuex";
import VueMarkdown from "vue-markdown";
import website from "@/config/website";
import { getStorage } from "@/utils/storage.js";
import { fetchEventSource } from "@microsoft/fetch-event-source";
export default {
name: "chat-detail",
props: {
changeMoreChat: Function,
},
components: {
chatDetailView,
loadingView,
VueMarkdown,
},
data() {
return {
maxHeight: 828,
modelValue: "",
ctrl: new AbortController(), // sse断开
loading: false,
loadingValue: "加载更多",
msgList: [], // 信息列表
modelType: "0",
pageObj: {
//分页
current: 1,
size: 10,
total: 0,
statId: "", //起始聊天记录id
pages: 0,
type: "pc",
chatListId: "",
},
isRecon: false, //是否正在获取未接收信息
loadingTimer: {}, //loading
isGetData: false, //是否获取数据
msg: "", // 要发送的消息
currLastMessageId: "", //当前最后一条数据的id
isSend: false, //是否发送中
isWaiting: false, //是否等待发送
modelList: [], // 模型列表
ltlbShow: false, // 是否显示聊天列表
chatSearchValue: "", // 聊天列表搜索内容
chatList: [
// {chat_name: '', chat_content: ''}
],
chatPageObj: {
//分页
current: 1,
size: 8,
total: 0,
pages: 1,
},
isEnter: false,
isShift: false,
scjlShow: false, // 显示收藏列表
scjlList: [], //收藏列表
scjlPageObj: {
//收藏分页
//分页
current: 1,
size: 10,
total: 0,
pages: 1,
},
// 打字效果
timer: null,
messageIndex: 0,
messageEnd: false,
messageList: [],
};
},
computed: {
...mapGetters(["userInfo", "sysConfig", "isLogin", "settingObj"]),
},
watch: {
isLogin(value) {
if (value) this.getSettingDataActions();
},
},
mounted() {
this.getChatModel();
if (this.isLogin) {
this.getHistoryListFun("one");
}
this.$nextTick(() => {
this.maxHeight = this.$refs.chatContentItem.scrollWidth - 66;
});
},
methods: {
...mapActions(["getSettingDataActions", "getUserInfoActions"]),
inputClick(e) {
const keyCode = e.keyCode || e.which;
if (keyCode == 13) {
this.isEnter = false;
}
if (keyCode == 16) {
this.isShift = false;
}
},
// 点击enter发送消息
carriageReturn(e) {
const keyCode = e.keyCode || e.which;
if (keyCode == 13) {
this.isEnter = true;
}
if (keyCode == 16) {
this.isShift = true;
}
if (this.isShift && this.isEnter) {
e.returnValue = false;
this.msg = this.msg + "\n";
return false;
} else if (this.isEnter) {
e.returnValue = false;
this.sendIssueFun();
return false;
}
},
// 获取是否滚动到顶部
handleScroll(e) {
const { scrollTop, clientHeight, scrollHeight } = e.target;
if (scrollTop === 0) {
// console.log('this.pageObj.page', this.pageObj.page, this.pageObj.current)
if (this.isGetData) {
return false;
}
if (this.pageObj.pages === this.pageObj.current) {
return (this.loadingValue = "没有更多了");
}
if (this.pageObj.total == this.msgList.length) {
return false;
}
this.isGetData = true;
this.loading = true;
this.pageObj.current++;
this.getHistoryListFun();
}
},
// 获取历史信息
getHistoryListFun(type) {
let data = {
current: this.pageObj.current,
size: this.pageObj.size,
modelType: this.modelType,
type: "pc",
chatListId: this.pageObj.chatListId,
};
if (type != "one") data.startNum = this.pageObj.statId;
this.loadingValue = "加载中 ...";
getChatHistoryListApi(data).then((res) => {
// console.log('getChatHistoryListApi>>>>>>>>>', res)
this.loadingValue = "加载更多";
let data = res.data;
this.pageObj.total = data.total;
this.pageObj.pages = data.pages;
this.msgList = [...data.records, ...this.msgList];
// if (this.pageObj.total == this.msgList.length) {
// this.loadinStatus = "nomore";
// } else {
// this.loadinStatus = "loadmore";
// }
if (this.msgList.length > 0) {
let endId = this.msgList[data.records.length - 1].id;
// setTimeout(() => {
// this.$nextTick(() => {
// this.scrollIntoID = 'chat_' + endId
// })
// }, 100)
if (type == "one") {
this.pageObj.statId = endId;
this.currLastMessageId = endId;
// let currMsgList = uni.$u
// .deepClone(this.msgList)
// .reverse()
// .filter((item) => {
// if (item.message_type == 'q') {
// return false
// }
// return true
// })
}
}
if (type == "one") {
this.scrollToBottom();
}
this.isGetData = false;
this.loading = false;
});
},
//ai返回回答,将回答展示出来
setMessageFun(messgData) {
let message = messgData;
if (message.message_type == "a") {
if (this.loadingTimer["chat_" + message.pid]) {
clearTimeout(this.loadingTimer["chat_" + message.pid]);
}
let isAddMessage = false;
let currPidIndex = "";
this.isWaiting = false;
this.isScroll = true;
this.msgList = this.msgList.map((item, index) => {
if (item.id == message.pid) {
currPidIndex = index;
}
if (item.pid == message.pid) {
isAddMessage = true;
item = {
...message,
linkOpen: this.userInfo.viewModel == "1",
};
}
return item;
});
if (!isAddMessage) {
this.msgList.splice(currPidIndex + 1, 0, {
...message,
});
}
let lastData = this.msgList[this.msgList.length - 1];
if (lastData.view_type == "loading") {
this.currLastMessageId = lastData.pid;
} else {
this.currLastMessageId = lastData.id;
}
this.scrollToBottom();
}
},
//查询未接收的信息
searchNotMessage() {
if (this.isRecon || !this.currLastMessageId) {
return false;
}
this.isRecon = true;
let startMessageId = "";
this.msgList.forEach((item) => {
if (item.view_type == "loading" && !startMessageId) {
startMessageId = item.pid;
}
});
if (!startMessageId) {
startMessageId = this.currLastMessageId;
}
getChatLastMessageApi({
modelType: this.modelType,
startNum: this.currLastMessageId,
type: "pc",
chatListId: this.pageObj.chatListId,
})
.then((res) => {
if (res.data.length > 0) {
res.data.forEach((item) => {
this.setMessageFun(item);
});
}
this.isRecon = false;
})
.catch(() => {
this.isRecon = false;
});
},
// 滚动到底部
scrollToBottom() {
this.$nextTick(() => {
let chatContent = this.$refs.chatContent;
if (chatContent) {
chatContent.scrollTop = chatContent.scrollHeight;
}
});
},
// 获取时间
getTimeFun() {
let date = new Date();
let year = date.getFullYear(); //年
let month = date.getMonth() + 1; //月
let day = date.getDate(); //日
let hour = date.getHours() < 10 ? "0" + date.getHours() : date.getHours(); //时
let minute = date.getMinutes() < 10 ? "0" + date.getMinutes() : date.getMinutes(); //分
let second = date.getSeconds() < 10 ? "0" + date.getSeconds() : date.getSeconds(); //秒
return `${year}-${month}-${day} ${hour}:${minute}:${second}`;
},
// 发送消息
async sendIssueFun() {
if (!this.isLogin) {
return this.$router.push({ name: "login" });
}
let msg = this.msg;
if (msg === "" || this.isSend || this.isWaiting) {
return false;
}
if (
this.settingObj.chatUseRl != 1 &&
this.userInfo.questionCou <= 0 &&
!this.userInfo.memberFlag
) {
this.$message.warning("您的积分已用完");
this.getUserInfoActions();
return false;
}
//发送
this.isSend = true;
this.isWaiting = true;
this.msg = "";
let id = `${new Date().getTime()}${Math.floor(Math.random(1) * 10000)}`;
this.msgList.push({
message_time: this.getTimeFun(),
message_type: "q",
view_type: "text",
message_content: msg,
id,
});
setTimeout(() => {
this.scrollToBottom();
}, 30);
let uuid = `${new Date().getTime()}${Math.floor(Math.random(1) * 10000)}_uuid`;
//添加等待loading
this.msgList.push({
message_time: this.getTimeFun(),
message_type: "a",
view_type: "loading",
message_content: "",
id: `${new Date().getTime()}${Math.floor(Math.random(1) * 10000)}`,
pid: "",
loading_text: this.sysConfig.ai_doing_message
? this.sysConfig.ai_doing_message
: "Ai正在回复中,请稍等...",
loading_state: "1",
uuid,
});
this.pageObj.total++;
let index = this.msgList.length - 1;
let that = this;
fetchEventSource(`/api/${website.apiRequestHead}/chat/ai/send/question`, {
method: "POST",
headers: {
"Content-Type": "application/json",
Accept: "application/json",
Authorization: `Basic ${website.Authorization}`,
"Blade-Auth": `bearer ${getStorage({ name: "token" })}`,
Connection: "keep-alive",
"Cache-Control": "no-cache",
},
openWhenHidden: true,
signal: that.ctrl.signal,
body: JSON.stringify({
question: msg,
modelType: this.modelType,
startMessageId: this.pageObj.statId,
text_type: this.text_type,
chatListId: this.pageObj.chatListId,
type: this.pageObj.type,
}),
onopen(res) {
// console.log('res>>>>>>>>>>>>>>>>>>>>>>', res)
//发送消息间隔3秒获取数据
let respWaitDataTimer = setInterval(() => {
getChatHistoryListApi({
current: 1,
size: that.pageObj.size,
modelType: that.modelType,
type: "pc",
chatListId: that.pageObj.chatListId,
})
.then((res) => {
let data = res.data;
if (res.data.records.length == 0) {
return;
}
let respLast = res.data.records[res.data.records.length - 1];
let currMsgLast = that.msgList[that.msgList.length - 1];
if (
respLast.id != currMsgLast.id &&
respLast.message_type == currMsgLast.message_type
) {
that.msgList = data.records;
that.pageObj.total = data.total;
that.pageObj.pages = data.pages;
that.isWaiting = false;
that.isSend = false;
clearInterval(respWaitDataTimer);
return;
}
})
.catch(() => {
that.isWaiting = false;
that.isSend = false;
clearInterval(respWaitDataTimer);
});
}, 2000);
that.timer = setInterval(() => {
if (that.messageList[that.messageIndex] === undefined && that.messageEnd) {
that.messageList = [];
that.messageIndex = 0;
that.messageEnd = false;
clearInterval(that.timer);
}
if (that.messageList[that.messageIndex] !== undefined) {
//拼接界面文本
that.msgList[index].message_content =
that.msgList[index].message_content + that.messageList[that.messageIndex];
that.scrollToBottom();
that.messageIndex++;
}
}, 40);
},
onmessage(event) {
let data = JSON.parse(event.data);
if (event.id === "param") {
that.pageObj.chatListId = data[0].chat_list_id;
that.msgList = that.msgList.map((msgItem) => {
if (msgItem.id == id) {
msgItem = {
...data[0],
};
}
if (msgItem.uuid == uuid) {
msgItem.pid = data[0].id;
}
return msgItem;
});
if (data.length >= 2) {
that.msgList = that.msgList.map((msgItem) => {
if (msgItem.uuid == uuid) {
msgItem = {
...data[1],
};
}
return msgItem;
});
//发送文本包含敏感词
that.currLastMessageId = data[1].id;
that.pageObj.total = that.pageObj.total + 2;
setTimeout(() => {
that.scrollToBottom();
}, 30);
that.isWaiting = false;
that.isSend = false;
} else {
let currDataId = data[0].id;
that.currLastMessageId = currDataId;
//30秒后更换提示并且放开输入
let loadingNum = 0;
that.loadingTimer["chat_" + currDataId] = setTimeout(() => {
that.msgList = that.msgList.map((item) => {
if (item.view_type == "loading" && item.pid == currDataId) {
item.loading_text = that.sysConfig.ai_doing_longtime_message
? that.sysConfig.ai_doing_longtime_message
: "Ai正在思考中,请稍等...";
item.loading_state = "2";
}
if (item.view_type == "loading" && item.loadin_status == "1") {
loadingNum++;
}
return item;
});
that.isWaiting = false;
}, 30000);
}
} else if (event.id === "messageId") {
// console.log('that.msgList[index].view_type', that.msgList[index])
if (that.msgList[index].view_type === "loading") {
that.msgList[index].view_type = data.view_type;
that.msgList[index].message_time = data.message_time;
}
} else if (event.id != "[DONE]" && data.content != undefined) {
if (data.content.length === 1) {
that.messageList.push(data.content);
} else {
for (let i = 0; i < data.content.length; i++) {
that.messageList.push(data.content[i]);
}
}
// that.msgList[index].message_content = that.msgList[index].message_content + data.content
} else if (event.id === "error") {
if (that.msgList[index].view_type === "loading") {
that.msgList[index].view_type = data.view_type;
that.msgList[index].message_time = data.message_time;
}
if (data.message_content.length === 1) {
that.messageList.push(data.message_content);
} else {
for (let i = 0; i < data.message_content.length; i++) {
that.messageList.push(data.message_content[i]);
}
}
} else if (event.id === "image") {
that.msgList[index].view_type = data.view_type;
that.msgList[index].message_time = data.message_time;
that.msgList[index].message_content = data.message_content;
} else if (event.id === "[DONE]") {
console.log("结束");
}
// console.log('event>>>>>>>>>>>>>>>>>>>', event)
},
onclose() {
// 停止打字效果
that.messageEnd = true;
// that.isWaiting = false;
// that.isSend = false;
//重新获取次数
that.getUserInfoActions().then(() => {
if (that.userInfo.stopSendTime) {
that.$router.replace({ name: "piazza" });
}
});
that.getSettingDataActions();
that.ctrl.abort();
},
onerror(error) {
console.log("error>>>>>>>>>>>>>>>", error);
that.messageEnd = true;
that.isWaiting = false;
that.isSend = false;
that.ctrl.abort();
},
});
// setTimeout(() => {
// sendChatIssueApi({
// question: msg,
// modelType: this.modelType,
// startMessageId: this.pageObj.statId,
// text_type: this.text_type,
// chatListId: this.pageObj.chatListId,
// type: this.pageObj.type,
// })
// .then((res) => {
// console.log('=====发送-----', res.data)
// let data = res.data
// this.pageObj.chatListId = data[0].chat_list_id
// this.msgList = this.msgList.map((msgItem) => {
// if (msgItem.id == id) {
// msgItem = {
// ...data[0],
// }
// }
// if (msgItem.uuid == uuid) {
// msgItem.pid = data[0].id
// }
// return msgItem
// })
// if (data.length >= 2) {
// this.msgList = this.msgList.map((msgItem) => {
// if (msgItem.uuid == uuid) {
// msgItem = {
// ...data[1],
// }
// }
// return msgItem
// })
// //发送文本包含敏感词
// this.currLastMessageId = data[1].id
// this.pageObj.total = this.pageObj.total + 2
// setTimeout(() => {
// this.scrollToBottom()
// }, 30)
// this.isWaiting = false
// this.isSend = false
// } else {
// let currDataId = data[0].id
// this.currLastMessageId = currDataId
// //30秒后更换提示并且放开输入
// let loadingNum = 0
// this.loadingTimer['chat_' + currDataId] = setTimeout(() => {
// this.msgList = this.msgList.map((item) => {
// if (item.view_type == 'loading' && item.pid == currDataId) {
// item.loading_text = this.sysConfig.ai_doing_longtime_message ? this.sysConfig.ai_doing_longtime_message : 'Ai正在思考中,请稍等...'
// item.loading_state = '2'
// }
// if (item.view_type == 'loading' && item.loadin_status == '1') {
// loadingNum++
// }
// return item
// })
// this.isWaiting = false
// }, 30000)
// setTimeout(() => {
// this.scrollToBottom()
// }, 30)
// this.pageObj.total++
// this.isWaiting = true
// this.isSend = false
// }
// //重新获取次数
// this.getUserInfoActions().then(() => {
// if (this.userInfo.stopSendTime) {
// this.$router.replace({ name: 'piazza' })
// }
// })
// this.getSettingDataActions()
// })
// .catch(() => {
// this.msgList = this.msgList.filter((item) => {
// if (item.id == id || item.uuid == uuid) {
// return false
// }
// return true
// })
// this.isSend = false
// })
// }, 1000)
},
// 获取模型
getChatModel() {
getAllModelApi().then((res) => {
let arr = [];
res.data.chat.forEach((item) => {
arr.push({
show_name: item.show_name,
mx_lx: item.mx_lx,
is_use_rl: item.is_use_rl,
});
});
this.modelList = arr;
if (this.isLogin) {
// 获取当前是用的是哪个模型
this.getSettingDataActions();
this.modelList.forEach((item, index) => {
if (item.mx_lx === this.settingObj.ai_model) {
this.modelValue = item.show_name;
}
});
}
});
},
// 切换模型
recommendChange(obj) {
if (!this.isLogin) {
return this.$router.push({ name: "login" });
}
if (this.chtaIndex === obj.index) return;
let data;
data = {
aiModel: obj.item.mx_lx,
};
this.$showLoading({
text: "更换中",
});
updataSettingDataApi(data)
.then((res) => {
this.modelValue = obj.item.show_name;
this.getSettingDataActions();
this.$hideLoading({
message: "更换成功",
type: "success",
});
})
.catch(() => {
this.$hideLoading({
message: "更换失败",
type: "error",
});
});
},
beforeHandleRecommend(obj) {
return obj;
},
// 显示列表
chooseType(type) {
if (!this.isLogin) {
return this.$router.push({ name: "login" });
}
if (type === "xjlt") {
this.pageObj.chatListId = "";
this.msgList = [];
} else if (type === "ltlb") {
this.chatPageObj.current = 1;
this.getChatList();
} else if (type === "scjl") {
this.scjlShow = true;
this.scjlPageObj.current = 1;
this.getstoreList();
}
},
// 收藏记录列表
getstoreList() {
let params = {
current: this.scjlPageObj.current,
size: this.scjlPageObj.size,
};
storeListApi(params).then((res) => {
let data = res.data;
this.scjlPageObj.pages = data.size;
this.scjlPageObj.size = data.size;
this.scjlPageObj.total = data.total;
let arr = [];
data.records.forEach((item) => {
arr.push({
chat_content: item.chat_content,
create_time: item.create_time,
store_status: item.store_status,
id: item.message_id,
chat_type: item.chat_type,
});
});
this.scjlList = arr;
});
},
operationBtnFun(type, item) {
if (type === "copy") {
const textArea = document.createElement("textarea");
textArea.value = item.chat_content;
// 使text area不在viewport,同时设置不可见
document.body.appendChild(textArea);
textArea.focus();
textArea.select();
return new Promise((resolve, reject) => {
// 执行复制命令并移除文本框
document.execCommand("copy") ? resolve() : reject(new Error("出错了"));
textArea.remove();
})
.then(() => {
this.$message.success("复制成功");
})
.catch(() => {
this.$message.error("复制失败");
});
} else if (type === "collect") {
let params = {
messageId: item.id,
type: item.chat_type,
};
storeApi(params).then((res) => {
this.scjlList.forEach((scjlItem) => {
if (scjlItem.id === item.id) {
scjlItem.store_status = res.data;
}
});
});
}
},
// 请求聊天列表
getChatList() {
// if (this.chatPageObj.current > this.chatPageObj.pages) {
// return this.$message.warning('加载完毕')
// }
let params = {
current: this.chatPageObj.current,
size: this.chatPageObj.size,
};
this.ltlbShow = true;
getChatListAPI(params).then((res) => {
let data = res.data.records;
console.log("chatList>>>>>>>>>>>>>>>>", data);
this.chatPageObj.pages = res.data.pages;
this.chatPageObj.total = res.data.total;
if (this.chatPageObj.pages == 0) this.chatPageObj.pages = 1;
// this.chatPageObj.current++
let arr = [];
data.forEach((item, index) => {
console.log("index", index);
if (item.chat_content && item.chat_content.length > 30) {
item.chat_content = item.chat_content.slice(0, 30) + "...";
}
arr.push({
chat_name: item.chat_name,
chat_content: item.chat_content,
id: item.fundata_id == "" ? item.id : item.fundata_id,
chat_type: item.chat_type,
fun_json: item.fun_json ? item.fun_json : "",
});
});
this.chatList = arr;
});
},
// 切换当前聊天信息
getChatMsg(item) {
if (item.chat_type === "chat") {
this.msgList = [];
this.pageObj.current = 1;
this.pageObj.chatListId = item.id;
this.getHistoryListFun("one");
} else if (item.chat_type === "tools") {
if (item.fun_json && item.fun_json?.constructor === Object) {
let fun_json = item.fun_json;
item.fun_json = fun_json;
} else if (item.fun_json && item.fun_json != "") {
let str = disposeStringDataUtils(item.fun_json);
item.fun_json = JSON.parse(str);
}
let params = {
fun_json: item.fun_json,
fun_name: item.chat_name,
fun_content: item.chat_content,
id: item.id,
};
this.changeMoreChat(params);
}
this.ltlbShow = false;
},
// 删除聊天列表
deleteChatList(type, id) {
if (this.chatList.length <= 0) {
return this.$message.warning("当前列表为空");
}
this.$showLoading({
text: "删除中",
});
if (type === "item") {
deleteChatItemAPI(id)
.then((res) => {
if (this.pageObj.chatListId == id) {
this.pageObj.chatListId = "";
this.msgList = [];
}
this.$hideLoading({
message: "删除成功",
type: "success",
});
this.chatPageObj.current = 1;
this.getChatList();
})
.catch((err) => {
this.$hideLoading({
message: "删除失败",
type: "error",
});
});
} else if (type === "all") {
deleteAllChatListAPI()
.then((res) => {
this.pageObj.chatListId = "";
this.msgList = [];
this.$hideLoading({
message: "删除成功",
type: "success",
});
this.chatPageObj.current = 1;
this.getChatList();
})
.catch((err) => {
this.$hideLoading({
message: "删除失败",
type: "error",
});
});
}
},
// 聊天分页
chatSizeChange(val) {
console.log(`每页 ${val} 条`);
},
chatCurrentChange(val) {
this.chatPageObj.current = val;
this.getChatList();
},
// 收藏记录分页
scjlSizeChange(val) {
console.log(`每页 ${val} 条`);
},
scjlCurrentChange(val) {
this.scjlPageObj.current = val;
this.getstoreList();
},
},
destroyed() {
this.ctrl.abort();
},
};
</script>
<style lang="scss">
.el-dialog__headerbtn {
padding: 4px;
color: #fff !important;
background-color: #cccccc;
border-radius: 50%;
}
.el-textarea__inner {
overflow: hidden;
border: 0;
padding: 10px 15px;
border-radius: 20px;
max-height: 200px;
}
.chat-detail {
position: relative;
width: 100%;
height: 100%;
.chat-content {
height: calc(100vh - 190px);
box-sizing: border-box;
padding: 10px;
overflow-y: auto;
scrollbar-color: rgba(0, 0, 0, 0.1) rgba(251, 246, 246, 0.1); //滚动条轨道颜色 滚动条滑块的颜色
scrollbar-width: none;
scrollbar-width: thin; //thin模式下滚动条两端的三角按钮会消失
.chat-content-item {
}
}
.chat-bottom {
width: 100%;
position: absolute;
left: 0;
bottom: 0px;
background-color: #faf4ec;
.chat-option-box {
margin: 10px 10px 4px;
display: flex;
.chat-option_teg {
width: 112px;
height: 36px;
line-height: 36px;
margin-right: 12px;
display: flex;
font-size: 14px;
align-items: center;
justify-content: center;
background-color: #e6a23c;
color: #ffffff;
border-radius: 10px;
cursor: pointer;
}
.chat-model {
display: flex;
border-radius: 10px;
overflow: hidden;
.is-chat-model {
border: 1px solid #960a0f;
}
}
}
.chat-foot-box {
width: 100%;
box-sizing: border-box;
display: flex;
align-items: flex-end;
justify-content: center;
border-top: 1px solid #f0f0f0;
padding: 8px 6px;
padding-bottom: calc(10px + 8px);
z-index: 999;
.foot-btn {
height: 37px;
flex: 0 0 70px;
border-radius: 20px;
text-align: center;
line-height: 37px;
background-color: #33cc33;
color: #fff;
font-size: 14px;
opacity: 0.4;
cursor: pointer;
&.active {
opacity: 1;
}
}
}
}
.ltlb-box {
width: 100%;
height: 500px;
display: flex;
flex-direction: column;
overflow-y: auto;
scrollbar-color: rgba(0, 0, 0, 0.1) rgba(251, 246, 246, 0.1); //滚动条轨道颜色 滚动条滑块的颜色
scrollbar-width: none;
scrollbar-width: thin; //thin模式下滚动条两端的三角按钮会消失
padding: 16px 0 0;
box-sizing: border-box;
.ltlb-nav {
position: relative;
padding: 0 16px;
padding-bottom: 30px;
.ltlb-nav_title {
text-align: center;
color: #960a0f;
font-size: 18px;
font-weight: 700;
}
.ltlb-nav_right {
position: absolute;
right: 16px;
top: 0;
display: flex;
align-items: center;
.empty {
width: 114px;
height: 34px;
margin-right: 10px;
line-height: 34px;
background: #ffffff;
border: 1px solid #b1a389;
border-radius: 18px;
font-size: 12px;
text-align: center;
color: #b1a389;
cursor: pointer;
}
.close-ltlb {
width: 24px;
height: 24px;
line-height: 24px;
text-align: center;
background: #cccccc;
border-radius: 50%;
color: #ffffff;
cursor: pointer;
}
}
}
.chat-list {
width: 100%;
height: 100%;
padding: 10px 0;
overflow-y: auto;
scrollbar-color: rgba(0, 0, 0, 0.1) rgba(251, 246, 246, 0.1); //滚动条轨道颜色 滚动条滑块的颜色
scrollbar-width: none;
scrollbar-width: thin; //thin模式下滚动条两端的三角按钮会消失
display: flex;
flex-direction: column;
align-items: center;
.chat-list-item {
width: 100%;
padding: 20px 0;
display: flex;
justify-content: space-between;
align-items: center;
.item_left {
width: 100%;
margin-left: 16px;
font-size: 12px;
color: #ccc;
cursor: pointer;
.item_left-title {
font-size: 16px;
color: #000;
margin-bottom: 10px;
}
}
.iconShow {
display: none;
margin-right: 16px;
color: #960a0f;
cursor: pointer;
}
}
.chat-list-item:hover {
background-color: #faf4ec;
}
.chat-list-item:hover .iconShow {
display: block;
}
}
}
.scjl-box {
padding: 20px 20px 10px;
height: 560px;
display: flex;
flex-direction: column;
justify-content: space-between;
box-sizing: border-box;
.scjl-title {
padding-bottom: 10px;
font-size: 18px;
color: #960a0f;
}
.scjl-list {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
overflow-y: auto;
scrollbar-color: rgba(0, 0, 0, 0.1) rgba(251, 246, 246, 0.1); //滚动条轨道颜色 滚动条滑块的颜色
scrollbar-width: none;
scrollbar-width: thin; //thin模式下滚动条两端的三角按钮会消失
padding: 20px 0;
box-sizing: border-box;
.scjl-item {
.scjl-item_title {
color: #960a0f;
font-size: 14px;
margin-bottom: 10px;
}
.scjl-item_content {
padding: 15px 10px;
background-color: #faf4ec;
border-radius: 6px;
color: #000;
}
.scjl-item_bottom {
padding: 6px 0 10px;
box-sizing: border-box;
display: flex;
justify-content: space-between;
.scjl-item-time {
font-size: 12px;
color: #999999;
}
.btn-box {
padding: 8px 10px;
border-radius: 4px;
display: flex;
align-items: center;
background-color: #ffffff;
.btn-item {
display: flex;
align-items: center;
margin-left: 10px;
&:nth-child(1) {
margin-left: 0;
}
.btn-item-icon {
width: 15px;
height: 15px;
}
.btn-item-text {
font-size: 12px;
padding-left: 2px;
color: #960a0f;
}
}
}
}
}
}
}
}
</style>
|
274056675/springboot-openai-chatgpt | 8,769 | chatgpt_pc/src/components/chat/chat-detail-view.vue | <template>
<div class="chat-detail-view">
<div class="word" v-if="item.message_type === 'a'">
<img src="../../static/AI-logo.png" />
<div class="info" v-if="item.view_type == 'text'">
<div class="time">{{ item.message_time }}</div>
<!-- <div class="info-content">{{currText}}</div> -->
<div class="info-content markdown-body" :style="'max-width:' + maxHeight + 'px;'">
<!-- <vue-markdown v-highlight :source="currText">this.item.message_content</vue-markdown> -->
<vue-markdown
:breaks="true"
:typographer="true"
:linkify="true"
:source="
item.message_content != '' ? item.message_content : item.loading_text
"
></vue-markdown>
</div>
<div class="btn-box">
<div class="btn-item" @click="operationBtnFun('copy')">
<img class="btn-item-icon" src="../../static/drawing/copy.png" />
<div class="btn-item-text">复制</div>
</div>
<div class="btn-item" @click="operationBtnFun('collect')">
<img
class="btn-item-icon"
:src="
store_status == '1'
? require('../../static/drawing/collect.png')
: require('../../static/drawing/collect(1).png')
"
/>
<div class="btn-item-text">收藏</div>
</div>
</div>
</div>
<div class="info" v-if="item.view_type == 'image'">
<p class="time">{{ item.message_time }}</p>
<el-image
style="max-width: 400px; max-height: 400px"
:src="item.message_content"
:preview-src-list="[item.message_content]"
></el-image>
</div>
<div class="info" v-if="item.view_type == 'loading'">
<p class="time">{{ item.message_time }}</p>
<div class="info-content">
{{ item.loading_text ? item.loading_text : "请稍等" }}
</div>
<loading-view :size="20"></loading-view>
</div>
<div class="info" v-if="item.view_type == 'error'">
<div class="time">{{ item.message_time }}</div>
<!-- <div class="info-content">{{currText}}</div> -->
<div class="info-content">
<div style="color: #960a0f">
{{ item.message_content != "" ? item.message_content : item.loading_text }}
</div>
</div>
</div>
</div>
<!-- 我的 -->
<div class="word-my" v-if="item.message_type === 'q'">
<div class="info-my">
<p class="time">{{ item.message_time }}</p>
<div class="info-content-my">{{ item.message_content }}</div>
</div>
<img :src="userInfo.wxAvatar ? userInfo.wxAvatar : dfAvatar" />
</div>
</div>
</template>
<script>
import { mapGetters } from "vuex";
import { storeApi } from "@/api/chat";
import LoadingView from "@/components/loading-view/loading-view.vue";
import VueMarkdown from "vue-markdown";
export default {
name: "chat-detail-view",
components: {
LoadingView,
VueMarkdown,
},
props: {
item: {
type: Object,
},
index: {
type: Number,
default: 0,
},
list: {
type: Array,
},
scrollToBottom: {
type: Function,
},
currAdObj: {
type: Object,
},
aDStyleObj: {
type: Object,
},
isPreview: {
type: Boolean,
default: false,
},
maxHeight: Number,
},
data() {
return {
store_status: "1", // 是否收藏
dfAvatar: require("@/static/df_avatar_nan.png"),
textTimer: null,
currText: "",
paused: false,
exportShow: false, //确认导出吗
chatDetailBoxMaxWidth: 0,
// systemInfo: uni.getSystemInfoSync(),
isBtn: false,
isFy: false,
fyLoading: "",
fyObj: {}, //翻译obj
loadingAd: "", //等等回复的
adTimer: null,
isAdError: false,
};
},
watch: {
item: {
handler(value) {
this.store_status = value.store_status;
// this.scrollToBottom()
// this.initFun()
},
immediate: true,
},
},
computed: {
...mapGetters(["sysConfig", "userInfo", "advertisObj"]),
},
mounted() {},
methods: {
initFun() {
if (this.textTimer) {
return false;
}
if (this.item.view_type == "text") {
let text = "";
text = this.item.message_content;
} else if (
this.item.view_type == "loading" &&
this.sysConfig.chat_advert_message_flag === "true" &&
this.advertisObj.chat
) {
let adList = this.advertisObj.chat;
if (adList.length) {
let index = Math.floor(Math.random() * adList.length);
this.loadingAd = adList[index].advert_wx_id;
// this.setAd()
}
}
},
operationBtnFun(type) {
if (type === "copy") {
const textArea = document.createElement("textarea");
textArea.value = this.item.message_content;
// 使text area不在viewport,同时设置不可见
document.body.appendChild(textArea);
textArea.focus();
textArea.select();
return new Promise((resolve, reject) => {
// 执行复制命令并移除文本框
document.execCommand("copy") ? resolve() : reject(new Error("出错了"));
textArea.remove();
})
.then(() => {
this.$message.success("复制成功");
})
.catch(() => {
this.$message.error("复制失败");
});
} else if (type === "collect") {
let params = {
messageId: this.item.id,
type: "chat",
};
storeApi(params).then((res) => {
this.store_status = res.data;
});
}
},
},
};
</script>
<style lang="scss" scoped>
.chat-detail-view {
.word {
display: flex;
margin-bottom: 20px;
img {
width: 40px;
height: 40px;
border-radius: 50%;
}
.info {
position: relative;
margin-left: 10px;
cursor: pointer;
&:hover .btn-box {
display: flex;
}
.btn-box {
display: none;
position: absolute;
bottom: -24px;
padding: 8px 10px;
border-radius: 4px;
min-width: 60px;
align-items: center;
background-color: #ffffff;
&::before {
position: absolute;
left: 8px;
top: -8px;
content: "";
border-right: 10px solid #fff;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
}
.btn-item {
display: flex;
align-items: center;
margin-left: 10px;
&:nth-child(1) {
margin-left: 0;
}
.btn-item-icon {
width: 15px;
height: 15px;
}
.btn-item-text {
font-size: 12px;
padding-left: 2px;
color: #960a0f;
}
}
}
.time {
font-size: 12px;
color: rgba(51, 51, 51, 0.8);
margin: 0;
height: 20px;
line-height: 20px;
margin-top: -5px;
}
.info-content {
padding: 10px;
font-size: 14px;
background: #fff;
position: relative;
margin-top: 8px;
border-radius: 6px;
box-sizing: border-box;
overflow-x: auto;
}
//小三角形
.info-content::before {
position: absolute;
left: -8px;
top: 8px;
content: "";
border-right: 10px solid #fff;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
}
}
}
.word-my {
display: flex;
justify-content: flex-end;
margin-bottom: 20px;
img {
width: 40px;
height: 40px;
border-radius: 50%;
}
.info-my {
width: 90%;
margin-left: 10px;
text-align: right;
.time {
font-size: 12px;
color: rgba(51, 51, 51, 0.8);
margin: 0;
height: 20px;
line-height: 20px;
margin-top: -5px;
margin-right: 10px;
}
.info-content-my {
max-width: 70%;
padding: 10px;
box-sizing: border-box;
font-size: 14px;
float: right;
margin-right: 10px;
position: relative;
margin-top: 8px;
background: #a3c3f6;
text-align: left;
border-radius: 6px;
overflow: hidden;
}
//小三角形
.info-content-my::after {
position: absolute;
right: -8px;
top: 8px;
content: "";
border-left: 10px solid #a3c3f6;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
}
}
}
}
</style>
|
271374667/SimpleWMS | 4,060 | tests/component/test_mvc_table.py | import unittest
from dataclasses import dataclass
from PySide6.QtCore import Qt
from src.component.mvc_table import MVCTable, MVCTableModel, MVCTableView
@dataclass
class TestData:
column1: str
column2: str
class TestMVCTableModel(unittest.TestCase):
def setUp(self):
self.model = MVCTableModel()
self.data = TestData("data1", "data2")
self.headers = ["column1", "column2"]
def test_row_count_with_no_data(self):
self.assertEqual(self.model.rowCount(), 0)
def test_row_count_with_data(self):
self.model.add_row(self.data)
self.assertEqual(self.model.rowCount(), 1)
def test_column_count_with_no_headers(self):
self.assertEqual(self.model.columnCount(), 0)
def test_column_count_with_headers(self):
self.model.set_header(self.headers)
self.assertEqual(self.model.columnCount(), 2)
def test_data_retrieval(self):
self.model.add_row(self.data)
self.model.set_header(self.headers)
self.assertEqual(self.model.data(self.model.createIndex(0, 0)), "data1")
def test_header_data_retrieval(self):
self.model.set_header(self.headers)
self.assertEqual(self.model.headerData(0, Qt.Horizontal), "column1")
def test_add_row(self):
self.model.add_row(self.data)
self.assertEqual(self.model.rowCount(), 1)
def test_clear_data(self):
self.model.add_row(self.data)
self.model.clear()
self.assertEqual(self.model.rowCount(), 0)
def test_sort_data(self):
self.model.add_row(TestData("data3", "data4"))
self.model.add_row(TestData("data1", "data2"))
self.model.set_header(self.headers)
self.model.sort(0)
self.assertEqual(self.model.data(self.model.createIndex(0, 0)), "data1")
class TestMVCTableView(unittest.TestCase):
def setUp(self):
self.view = MVCTableView()
self.model = MVCTableModel()
self.headers = ["column1", "column2"]
def test_set_header(self):
self.view.set_header(self.headers)
self.assertEqual(self.view.model().headerData(0, Qt.Horizontal), "column1")
def test_set_model(self):
self.view.set_model(self.model)
self.assertEqual(self.view.model(), self.model)
class TestMVCTableController(unittest.TestCase):
def setUp(self):
self.controller = MVCTable()
def test_set_dataclass(self):
self.controller.set_dataclass(TestData)
self.assertEqual(
self.controller.get_model().headerData(0, Qt.Horizontal), "column1"
)
def test_add_row(self):
self.controller.add_row(TestData("data1", "data2"))
self.assertEqual(self.controller.get_model().rowCount(), 1)
def test_clear_data(self):
self.controller.add_row(TestData("data1", "data2"))
self.controller.clear()
self.assertEqual(self.controller.get_model().rowCount(), 0)
def test_slice_data(self):
self.controller.add_row(TestData("data1", "data2"))
self.controller.add_row(TestData("data3", "data4"))
self.controller.add_row(TestData("data5", "data6"))
self.controller.add_row(TestData("data7", "data8"))
self.controller.add_row(TestData("data9", "data10"))
self.assertEqual(self.controller.get_model()[0], TestData("data1", "data2"))
self.assertEqual(
self.controller.get_model()[1:3],
[TestData("data3", "data4"), TestData("data5", "data6")],
)
self.assertEqual(
self.controller.get_model()[1:3][0], TestData("data3", "data4")
)
self.assertEqual(
self.controller.get_model()[1:3][1], TestData("data5", "data6")
)
self.assertEqual(
self.controller.get_model()[1:3][:2],
[TestData("data3", "data4"), TestData("data5", "data6")],
)
self.assertEqual(
self.controller.get_model()[1:3][:2][0], TestData("data3", "data4")
)
if __name__ == "__main__":
unittest.main()
|
271374667/SimpleWMS | 1,180 | tests/component/mvc_table_manually.py | from dataclasses import dataclass
from datetime import datetime
import faker
from PySide6.QtWidgets import QApplication, QPushButton, QVBoxLayout, QWidget
from src.component.mvc_table import MVCTable
from src.component.pagination import Pagination
@dataclass
class Person:
name: str
age: int
birthday: datetime
class MyWindow(QWidget):
def __init__(self):
super().__init__()
self.faker = faker.Faker(locale="zh_CN")
self.main_layout = QVBoxLayout()
self.table: MVCTable = MVCTable()
self.table.set_dataclass(Person)
self.table.add_row(Person(name="张三", age=18, birthday=datetime.now()))
self.pagination: Pagination = Pagination()
self.add_data_button = QPushButton("添加数据")
self.main_layout.addWidget(self.add_data_button)
self.main_layout.addWidget(self.table)
self.main_layout.addWidget(self.pagination)
self.setLayout(self.main_layout)
# 绑定分页控件和表格
current_page_signal = self.pagination.get_current_page_signal()
# 添加数据
if __name__ == "__main__":
app = QApplication([])
window = MyWindow()
window.show()
app.exec()
|
271374667/SimpleWMS | 1,297 | tests/component/mvc_table_with_pagination_manually.py | from dataclasses import dataclass
from datetime import datetime
import faker
from PySide6.QtWidgets import QApplication, QPushButton, QVBoxLayout, QWidget
from src.component.mvc_table_with_pagination import MVCTableWithPagination
@dataclass
class Person:
name: str
age: int
birthday: datetime
class MyWindow(QWidget):
def __init__(self):
super().__init__()
self.faker = faker.Faker(locale="zh_CN")
self.main_layout = QVBoxLayout()
self.table: MVCTableWithPagination = MVCTableWithPagination()
self.table.set_dataclass(Person)
self.table.add_row(Person(name="张三", age=18, birthday=datetime.now()))
self.add_data_button = QPushButton("添加数据")
self.main_layout.addWidget(self.add_data_button)
self.main_layout.addWidget(self.table)
self.setLayout(self.main_layout)
self.add_data_button.clicked.connect(self.add_data)
def add_data(self):
self.table.add_row(
Person(
name=self.faker.name(),
age=self.faker.random_int(min=0, max=100),
birthday=self.faker.date_time_this_century(),
)
)
if __name__ == "__main__":
app = QApplication([])
window = MyWindow()
window.show()
app.exec()
|
233zzh/TitanDataOperationSystem | 201,204 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/jvector/jquery-jvectormap-ca-lcc.js | jQuery.fn.vectorMap('addMap', 'ca_lcc',{"insets": [{"width": 900, "top": 0, "height": 867.2308867877657, "bbox": [{"y": -10408206.406521406, "x": -2874590.5560752777}, {"y": -4979679.615160916, "x": 2759058.0911967773}], "left": 0}], "paths": {"CA-NT": {"path": "M340.43,125.99l5.05,-2.26l0.92,-0.14l1.84,0.57l2.33,-0.98l0.54,-0.9l1.17,-1.01l2.46,-0.96l1.23,0.01l1.01,1.79l0.53,0.4l-1.93,8.61l-1.55,0.59l-2.09,-1.15l-0.06,-0.73l-1.16,-1.56l-1.32,0.13l-0.23,1.13l-0.75,0.07l-0.24,1.09l-1.34,-0.24l-0.23,-1.68l-1.46,-1.53l-3.25,0.54l-0.46,0.38l-1.74,0.41l-0.1,-1.27l0.65,-0.58l0.17,-0.74ZM104.46,307.55l0.14,-0.94l0.91,-1.34l0.08,-0.7l1.08,-0.38l1.14,-1.29l0.69,-1.67l-0.23,-0.84l1.2,-1.51l0.56,-2.12l-0.07,-0.85l-0.74,-0.92l0.49,-1.16l11.83,-21.1l1.9,1.44l0.78,1.18l0.44,2.04l1.02,1.11l0.02,1.76l1.01,0.5l0.65,0.95l0.67,-0.55l-0.52,-1.74l0.25,-1.06l-0.44,-1.05l1.06,0.36l0.07,-0.5l-1.28,-1.24l0.06,-1.24l-1.48,-0.63l-0.42,-0.86l0.56,-0.17l0.07,-1.17l0.48,1.3l0.75,0.48l1.01,0.1l1.05,-0.56l-0.29,-0.39l-0.98,-0.28l0.02,-0.91l-0.75,-1.17l0.91,-2.19l0.82,3.03l1.3,1.4l0.43,-0.74l-0.92,-1.52l-0.27,-2.64l0.29,-0.58l0.65,0.02l-0.28,2.19l0.81,0.07l0.59,-1.89l0.54,0.43l0.23,1.25l1.1,1.25l0.63,-0.49l-0.11,-0.99l0.85,-2.21l1.62,-0.07l0.43,0.47l0.75,0.05l1.3,0.93l0.72,1.27l0.44,0.09l0.73,-0.37l0.45,-0.82l-0.22,-0.8l1.83,-2.02l0.7,0.3l-0.05,0.59l-1.04,0.83l0.39,1.34l1.04,1.47l0.86,0.25l-2.7,1.23l-1.24,1.17l-1.1,0.22l-1.67,1.68l-0.26,0.8l0.9,0.19l1.58,-1.41l2.09,0.22l0.77,-0.72l1.23,0.52l0.71,-0.84l1.16,0.21l1.48,1.15l1.16,-0.3l0.26,0.24l1.67,-1.31l0.74,-1.04l0.08,-0.68l0.93,-0.64l0.18,0.58l0.47,0.3l0.66,-0.09l0.71,0.91l1.31,0.19l0.55,-0.26l0.39,-0.67l0.78,0.93l0.89,-0.58l2.37,-0.04l1.07,-0.91l1.14,-0.33l1.48,0.09l0.6,-0.85l0.47,0.33l0.04,0.46l-0.7,1.79l0.73,0.45l0.61,-0.9l0.73,-0.09l1.56,-1.89l0.67,-0.18l0.03,-0.74l1.1,-0.2l0.29,0.66l0.93,-0.19l0.39,-0.56l0.33,0.91l1.18,-0.31l-0.38,1.09l0.76,0.43l-0.12,0.41l0.54,0.43l0.58,-0.35l1.12,0.71l1.2,-0.6l1.31,-1.78l0.48,-0.01l-0.43,1.39l0.64,0.69l-0.36,0.67l0.25,0.54l-0.99,0.13l-0.14,0.6l-0.58,0.26l-4.41,0.77l-1.71,-0.24l-0.99,0.6l-1.08,0.04l-1.03,1.21l-1.62,-0.04l-1.6,1.4l-0.18,-0.34l0.28,-0.83l-0.34,-0.45l-1.04,-0.22l-0.59,0.3l-0.57,-0.27l-0.48,0.2l-2.83,-0.93l-1.21,0.17l-0.7,-0.27l-2.29,1.84l-0.29,1.06l-2.52,0.0l-0.5,0.34l-0.53,-0.63l-1.66,0.06l-1.27,0.73l-0.17,0.49l-1.1,0.9l-0.12,0.66l-0.76,0.22l-0.47,-0.62l-1.16,0.22l-1.4,1.59l-0.26,0.73l-0.29,0.05l-0.26,-0.55l-1.06,0.01l-0.96,1.13l-0.25,1.27l0.56,1.44l1.19,1.93l1.0,0.53l0.66,-0.08l0.11,-0.38l-0.23,-0.69l-1.04,-0.58l0.38,-0.94l0.7,0.04l0.57,0.64l0.56,-0.31l0.06,-0.47l0.4,1.43l0.52,0.32l0.5,-0.48l0.99,1.02l1.61,-0.85l0.13,-0.44l-0.58,-1.64l-0.52,-0.17l-1.0,0.36l-0.35,-0.72l0.45,0.44l0.68,-0.28l-0.6,-1.73l0.72,-1.38l1.23,0.44l1.05,-0.46l0.45,0.71l0.75,-0.18l0.71,-0.64l0.65,0.9l1.17,-1.23l1.44,0.08l1.83,-0.69l1.41,-1.24l0.1,-0.41l0.78,-0.23l0.04,-0.44l0.67,0.77l-1.27,1.34l-0.23,0.67l0.81,0.22l-0.39,0.95l0.99,-0.0l1.07,-0.65l0.41,0.07l0.21,0.13l-0.46,0.86l0.88,0.61l-1.32,1.5l-0.51,1.19l0.07,0.7l0.58,0.3l0.61,-0.28l1.03,-2.43l1.66,-0.94l0.16,-0.62l1.48,-0.47l0.48,-0.61l-0.1,-0.43l2.35,-1.13l0.49,-0.85l1.42,-0.99l1.05,0.28l3.79,-0.03l1.01,-0.38l2.58,0.65l-1.07,2.79l1.07,1.23l0.82,0.1l0.27,-1.09l1.23,0.05l2.37,-1.56l2.78,-0.96l1.22,-3.31l1.85,-0.43l0.55,0.37l1.09,-0.16l2.12,0.3l0.7,0.51l0.27,-0.41l-0.24,-0.91l-2.64,-2.29l0.11,-0.52l0.3,0.3l0.53,-0.08l0.77,-1.23l-0.54,-0.44l-1.31,-0.01l1.01,-1.83l1.46,-1.04l1.82,4.77l0.72,3.82l-0.37,5.36l0.33,0.97l-0.74,1.57l-0.33,3.92l1.05,5.2l1.21,3.11l0.72,1.01l0.88,0.26l1.06,2.07l0.85,0.12l0.6,-0.52l0.05,-0.65l1.59,0.69l1.22,-1.47l-0.31,-0.47l0.38,-0.46l-0.67,-1.16l0.72,-1.05l-0.85,-0.79l-0.04,-0.56l0.56,-0.7l0.61,0.38l1.75,-0.43l-0.33,1.7l0.42,0.47l0.37,-0.09l1.3,-1.37l-0.48,-1.18l-1.07,-0.69l0.82,-0.42l0.51,-0.93l1.18,-0.99l2.01,0.05l0.56,-0.74l0.29,0.27l-0.34,0.03l-0.23,0.62l0.44,0.52l-0.71,0.35l0.09,1.35l-0.94,1.01l-0.57,1.34l1.06,1.48l0.76,0.13l0.57,-0.34l0.54,0.45l-0.13,0.38l-1.56,0.75l-0.73,1.21l-1.89,0.99l-0.47,0.95l-0.59,0.04l-0.25,0.44l0.29,1.05l0.86,0.84l1.12,0.58l0.72,0.01l0.23,0.41l0.53,0.01l0.32,-0.52l1.93,1.27l2.46,-0.33l0.26,-1.48l0.87,-0.15l1.02,0.51l0.3,-0.25l0.81,-1.37l0.11,-0.97l0.88,-1.02l0.45,-1.87l1.23,-0.68l0.86,1.2l0.75,-0.28l1.55,0.99l3.12,0.8l3.72,2.51l3.19,4.28l0.37,1.46l-10.78,31.16l10.4,16.31l12.52,18.3l13.34,18.03l12.32,15.52l14.94,3.76l6.82,13.72l2.18,2.36l1.96,1.15l30.79,11.84l26.18,8.95l-10.8,81.07l-27.95,-4.19l-23.5,-4.25l-29.2,-6.22l-23.2,-5.69l-28.76,-8.01l-22.8,-7.12l-28.52,-9.89l-16.81,-6.36l-0.18,-0.73l-0.43,-0.33l-0.96,0.05l0.81,-1.02l-0.28,-4.88l0.73,-2.33l-0.28,-0.79l-1.31,-0.57l0.24,-1.49l-0.61,-2.47l1.97,-1.43l0.22,-3.72l-2.24,-1.11l-1.04,0.62l-0.48,1.05l-2.45,-0.87l-2.01,0.56l-1.21,-1.31l-1.29,-0.74l-0.59,-1.26l-0.72,-0.6l-0.78,0.07l-1.01,1.06l-0.29,-0.29l0.24,-0.75l-0.52,-0.5l-1.06,-0.17l-0.38,0.32l-0.1,0.76l-0.41,0.1l-0.86,-0.35l-0.75,-1.07l-0.52,-0.06l-1.36,0.61l-0.34,-0.8l-0.94,-0.1l1.63,-5.05l-0.31,-0.69l-0.98,-0.18l1.04,-0.41l0.63,-1.24l0.92,-3.44l-0.25,-0.84l0.26,-1.46l-1.07,-1.73l-2.01,-0.66l-0.66,-0.99l-0.05,-0.94l-0.68,-0.72l-0.34,-1.54l-0.44,-0.46l0.4,-1.41l-0.03,-1.72l-0.37,-0.58l-0.73,-0.1l0.25,-1.73l-0.53,-1.26l0.32,-0.68l-0.79,-2.47l-1.51,-0.56l-1.12,0.7l-0.11,-1.18l-0.94,-0.95l-1.25,-0.18l-0.47,-0.89l0.84,-0.58l0.0,-2.28l0.95,-0.43l0.28,-0.54l-0.39,-0.69l0.37,-0.3l0.75,0.06l0.49,-0.54l-0.03,-0.8l-1.6,-2.55l0.39,-1.47l-0.5,-1.07l0.27,-0.98l-0.25,-2.15l0.4,0.06l0.76,-1.19l1.64,-1.3l0.21,-0.71l-0.47,-0.62l-0.8,-0.15l-0.3,-0.58l0.26,-2.13l-0.48,-0.59l-0.05,-1.15l-0.63,-0.54l0.74,-0.4l1.57,-0.07l0.77,-1.24l1.11,-0.59l0.08,-3.19l-0.8,-0.68l0.35,-1.33l-0.42,-0.38l-1.1,0.18l-0.14,-0.44l1.9,-0.06l0.56,-1.03l-1.49,-1.53l-0.71,-2.56l-0.55,-0.3l-0.74,-1.16l0.5,-1.17l-0.6,-0.74l-0.13,-1.41l0.94,-0.65l-0.02,-2.0l-0.29,-0.55l0.6,-0.72l-0.24,-2.3l-1.89,-2.03l-0.92,0.77l-0.7,0.12l-0.75,-0.01l-0.36,-0.61l-0.72,-0.22l1.94,-1.43l0.12,-0.41l-0.28,-0.82l-0.72,-0.5l-0.29,-0.98l-0.01,-2.24l-0.78,-0.71l-0.72,-1.79l-1.02,-0.87l-0.65,-0.13l0.0,-0.66l1.38,-0.32l0.62,-1.63l1.7,-0.39l0.34,-0.37l0.1,-1.36l-1.06,-0.79l0.65,-0.87l-0.01,-0.71l-0.29,-0.49l-0.9,-0.02l0.19,-0.45l0.87,-0.55l0.71,0.18l1.01,-1.21l2.29,-0.75l1.42,-1.78l1.31,-0.69l0.15,-4.09l-0.81,-1.96l0.67,-0.54l1.76,-0.15l0.42,-0.65l0.01,-0.78l-0.56,-0.46l-0.6,0.02l0.1,-0.75l-0.44,-0.59l-1.0,-0.06l-2.28,1.16l-0.4,-0.16l1.28,-1.17l0.11,-0.45l-0.33,-0.59l-1.96,-0.69l-1.63,-0.05l-0.64,0.46l-1.07,-0.82l0.77,-1.25l-0.44,-0.84l1.7,-0.84l1.09,-2.06l0.16,-0.66l-0.32,-0.69l-1.15,-0.51l1.43,-1.81l0.18,0.29l0.73,0.08l0.45,-1.72l0.97,-0.32l0.28,-0.51l-0.44,-0.81l-0.09,-1.21l0.41,-0.5l-0.11,-1.08l0.63,-0.31l0.59,-0.96l-0.12,-2.62l-0.75,-1.25l1.56,0.55l0.46,-0.15l0.06,-0.73l-16.24,-8.77ZM212.99,287.11l-0.0,-0.01l-0.45,-0.39l0.6,0.28l-0.15,0.13ZM212.05,286.55l-0.11,0.01l-0.06,-0.14l0.18,0.13ZM180.17,279.08l0.22,-0.13l-0.03,0.22l-0.19,-0.09ZM142.41,285.87l-0.69,-0.85l0.05,-0.26l0.51,-0.01l0.13,1.12ZM142.96,264.87l0.0,-0.21l0.23,0.0l-0.16,0.1l-0.07,0.11ZM156.61,271.56l-0.26,-0.16l-0.02,-0.28l0.35,0.17l-0.07,0.26ZM155.74,270.75l-0.15,0.03l0.11,-0.14l0.03,0.11ZM160.01,281.13l0.4,-0.64l0.34,-0.13l0.07,0.65l-0.81,0.12ZM202.48,297.51l-0.11,-0.08l0.06,-0.02l0.05,0.1ZM201.89,297.32l-0.66,-0.04l0.07,-0.32l0.01,-0.01l0.59,0.37ZM211.17,288.3l-0.48,-0.11l-0.4,0.32l-0.21,-0.52l1.07,-0.1l0.02,0.4ZM208.14,287.7l-0.36,0.28l-0.26,0.01l0.62,-0.56l-0.0,0.27ZM335.17,145.92l1.0,-0.91l-0.43,-1.22l0.64,-1.86l-0.24,-1.59l1.26,-2.2l0.25,0.64l0.45,0.13l0.76,-0.79l3.51,-1.13l0.74,0.23l1.64,-0.35l0.71,0.43l1.24,-0.7l1.27,-0.2l1.05,0.14l0.29,0.54l0.59,0.26l1.22,-0.62l3.04,0.79l-0.79,3.54l-1.13,0.52l-3.24,-0.04l-0.82,0.7l-0.06,0.82l0.87,1.98l2.92,0.26l-0.45,1.5l-0.01,1.69l-0.82,0.85l0.14,1.08l-0.89,0.91l-1.88,0.72l-1.37,0.04l-0.52,0.59l-1.94,-0.92l-0.98,0.55l-3.89,0.96l-1.46,-1.4l-0.3,-2.44l-0.41,-0.24l-0.64,0.19l-0.54,-0.49l-0.03,-1.17l-0.89,-0.46l0.16,-1.34ZM343.19,180.35l0.39,-0.57l0.14,-1.89l1.48,-0.35l-0.86,3.83l-1.15,-1.03ZM297.77,196.61l-2.26,-1.86l-0.55,-1.22l0.38,-0.82l0.76,-0.32l0.24,-0.76l2.05,-1.76l0.55,-0.25l6.65,1.88l3.36,-1.6l1.84,0.21l0.67,-1.17l1.68,-0.67l0.17,-0.56l-0.66,-0.53l-2.08,0.6l-1.88,-0.19l-1.9,0.31l-1.11,0.5l-5.82,-1.7l0.31,-0.79l2.82,-2.79l6.28,0.76l0.48,-0.28l0.79,0.65l4.2,0.37l0.7,-0.36l0.28,-0.91l-0.5,-0.5l-4.76,-0.77l-0.49,-0.35l-2.68,-0.05l-2.24,-1.68l0.21,-0.61l1.35,0.12l0.37,-0.43l0.07,-1.43l-0.97,-0.43l0.79,-1.37l0.84,-0.74l2.07,-0.37l2.45,1.3l1.29,0.19l3.33,1.91l1.21,-0.14l0.02,-0.84l-1.49,-0.63l-0.23,-0.8l-1.14,-1.05l-2.82,-0.86l-0.3,-0.94l0.64,-0.8l-0.1,-0.61l2.58,-1.59l2.72,0.22l1.32,-0.67l0.16,0.75l1.65,0.26l1.13,1.18l-0.07,1.46l-0.72,0.79l0.44,2.55l-0.57,0.6l0.33,1.25l2.02,0.22l2.23,-0.84l1.08,0.55l0.85,-0.19l0.3,1.16l1.82,1.55l-0.7,1.1l0.22,1.97l0.35,0.65l1.2,0.8l1.56,2.3l-1.85,0.28l-0.97,0.54l-0.56,1.29l0.4,0.38l0.83,-0.16l0.79,0.5l0.52,-0.36l1.19,0.13l-0.09,0.43l0.56,0.69l-0.19,1.08l0.36,0.37l-0.82,2.31l0.43,2.83l1.72,0.27l1.16,-0.38l1.83,0.08l0.43,0.89l2.08,0.36l-3.46,15.46l-0.59,0.13l-1.01,-0.67l-0.79,0.44l-0.17,0.72l-1.49,-0.26l-0.41,0.8l0.12,1.27l-2.4,1.0l-0.25,0.41l-1.6,0.27l-0.55,0.48l-0.67,-0.2l-1.85,1.17l-3.69,0.32l-1.41,0.46l-3.52,-0.48l-1.07,-0.47l-2.46,-1.54l-2.23,-3.46l-0.83,-2.35l0.38,-0.84l2.93,-1.35l0.8,0.07l0.73,-0.33l1.31,0.27l1.04,-0.25l0.62,0.52l0.49,-0.13l0.19,-0.89l0.89,-0.99l1.85,-0.47l4.43,0.55l1.47,0.89l1.64,-0.19l0.99,-1.0l1.23,-0.45l0.51,-0.83l1.59,-0.92l0.09,-0.52l1.0,-0.88l-0.22,-0.82l-0.77,-0.71l-1.12,-0.14l-1.02,1.34l-1.06,0.63l-0.85,-0.15l-0.16,-0.58l-0.45,-0.2l-1.17,0.94l-0.87,-0.44l-1.62,0.22l-0.26,-0.33l1.23,-0.9l-0.09,-0.91l-0.35,-0.68l-0.46,-0.1l-0.62,0.58l-0.13,0.67l-0.26,-0.06l0.48,-1.27l-0.3,-0.89l-0.59,-0.2l-0.98,1.81l-0.08,1.28l-0.92,0.5l-0.8,0.07l-0.1,-1.12l-0.35,-0.31l-0.9,1.31l-3.84,-0.33l0.32,-1.39l1.77,-0.52l0.23,-0.6l-0.46,-0.42l-1.17,0.31l1.46,-2.76l3.51,-1.68l-0.97,-0.99l-2.7,0.74l-0.38,-2.37l-0.69,-0.02l-0.22,0.35l-0.36,2.28l-1.44,2.63l-0.13,-1.23l-1.14,-1.28l-1.05,0.74l-0.08,0.77l0.95,0.5l0.21,1.76l-1.36,2.08l-3.46,1.29l-0.36,-0.05l-0.39,-0.67l0.23,-1.39l0.63,-1.29l-0.11,-1.68l-0.42,-0.25l-1.34,1.5l-0.77,-1.27l-0.59,-0.09l-0.29,0.56l0.11,2.33l-0.93,1.06l-2.19,-2.46l0.89,-0.36l0.57,-0.73l-0.26,-0.63l-1.29,0.17l0.63,-0.76l0.26,-1.45l-2.29,-0.11l-1.24,1.13l-0.81,-1.06l-0.74,-0.14ZM328.08,134.65l1.49,-0.41l0.93,-1.05l1.49,-0.48l-0.42,0.64l0.17,1.23l0.84,0.29l0.26,1.88l1.08,1.0l-0.13,1.05l0.28,0.68l-0.86,0.82l-2.45,0.83l-0.42,-0.22l-0.69,-1.15l0.02,-0.72l-1.13,-2.38l-0.46,-2.01ZM321.15,163.02l0.27,-0.55l1.37,-0.86l1.02,-0.17l0.95,0.34l2.18,0.1l1.23,1.73l-0.05,1.16l-1.23,1.11l-0.66,-0.6l-3.08,-0.94l-2.0,-1.32ZM323.52,255.67l3.92,1.28l-0.95,4.27l-0.31,-0.07l-0.4,-1.5l-1.62,-0.83l-0.69,-2.28l0.06,-0.87ZM325.57,263.35l0.07,-0.72l0.09,0.01l0.37,0.29l-0.13,0.59l-0.39,-0.16ZM261.06,269.52l0.42,-3.04l1.57,-3.05l1.05,-0.92l1.78,-0.91l0.8,-1.49l0.97,-0.67l0.88,0.18l2.34,-0.29l0.56,-0.55l0.36,-1.5l-0.12,-0.87l-0.52,-0.56l-1.2,-0.42l-0.42,-0.6l0.04,-1.02l0.95,-1.39l2.28,-1.24l0.66,-0.77l2.37,-0.69l2.57,-1.65l2.03,-1.97l0.89,0.17l2.38,-0.35l2.61,-1.39l0.63,0.1l5.36,-1.34l1.37,0.01l1.28,-0.38l0.6,-0.51l0.67,0.14l0.85,-0.48l1.59,-0.19l1.66,-0.82l0.38,0.01l1.58,1.5l0.76,4.13l-2.16,5.66l0.16,1.56l-1.74,-0.03l-1.07,0.84l-0.27,1.63l-2.29,1.2l0.2,1.21l1.64,0.68l0.59,-0.7l2.44,-0.63l0.2,0.37l0.74,0.2l-0.08,0.49l0.37,0.37l0.67,-0.09l1.89,-1.23l0.41,-0.92l0.07,-0.89l-0.92,-0.59l2.08,-2.47l1.62,-1.35l0.96,-0.15l2.61,1.86l1.36,1.71l1.28,0.45l2.21,2.46l0.69,0.37l0.24,1.29l1.27,0.82l-0.93,2.75l-1.69,1.01l0.02,0.76l-3.52,1.88l-0.22,0.43l0.3,0.81l0.71,0.42l-0.88,1.61l0.18,0.88l0.68,-0.03l0.87,-1.47l2.69,-1.14l0.94,2.06l0.72,-0.16l0.21,-2.62l0.87,-0.72l0.04,-0.5l0.91,0.33l0.54,-0.43l-0.08,-0.87l0.72,-0.65l0.55,0.58l-0.56,0.44l0.05,0.88l1.35,1.71l0.75,-0.09l0.09,-0.57l-1.02,-1.51l0.87,-0.51l1.37,2.93l-11.47,51.41l-17.46,-4.16l-0.48,0.29l-0.35,1.39l-1.14,0.12l0.0,0.67l1.45,0.6l-1.3,-0.38l-0.5,0.41l-0.91,-0.23l0.76,-2.9l-0.37,-0.69l-29.82,-8.44l-0.5,0.24l-0.86,2.55l1.84,5.57l-0.46,-0.2l-0.66,-1.15l-0.8,-0.68l-0.68,-1.43l0.13,-4.89l0.67,-0.69l1.4,-0.58l1.73,-0.24l3.39,0.25l3.67,-0.18l11.18,1.07l2.11,0.57l0.9,1.01l2.68,1.14l1.35,-0.09l2.98,1.9l0.67,-0.2l2.43,1.71l0.51,-0.14l0.14,-0.67l0.71,0.47l0.77,-0.34l-0.01,-0.27l0.91,0.22l0.56,-0.27l1.17,0.76l3.05,0.53l0.77,-0.31l0.11,-0.56l-0.29,-0.32l0.27,-0.48l-0.57,-0.96l-1.79,-0.31l-0.91,-0.68l-0.84,-3.09l-0.67,-0.2l-1.08,-0.99l-0.79,0.15l-1.03,-1.36l-0.64,-0.28l-0.62,0.15l-0.92,-1.37l-0.63,-0.24l-0.19,-0.8l-1.01,-0.25l-0.69,-0.96l-0.46,-0.05l-0.39,0.5l-0.67,-1.05l-1.73,-1.01l-1.72,0.58l-1.18,-0.69l-1.38,0.56l-2.51,-0.34l-1.32,0.15l-3.15,-0.78l-0.6,0.23l-1.02,-0.84l-2.18,-0.06l-0.63,-0.48l0.18,-0.65l-0.56,-0.52l-2.45,-0.59l-0.91,0.29l-2.02,-0.49l-1.54,-0.86l-0.61,0.03l-0.43,-0.55l-1.39,0.06l-0.5,-1.05l0.38,-0.76l-0.22,-0.93l-2.44,-4.15l-0.27,-2.19l0.33,-0.6l4.75,-1.74l2.29,0.35l2.83,-0.41l1.41,0.46l0.88,-0.42l0.18,-0.46l3.98,-0.43l0.61,0.62l0.81,-0.17l1.81,0.45l0.73,-0.44l-0.03,-0.61l-1.86,-1.16l1.71,-0.55l0.31,0.35l0.7,-0.0l0.31,0.56l1.18,0.74l1.71,-0.3l1.18,-0.56l0.16,-0.64l-0.7,-0.44l-1.42,0.43l-0.78,-0.08l-0.21,-0.12l0.61,-0.47l-0.15,-0.44l-1.08,-0.72l-1.49,-0.27l-2.81,0.29l-2.53,-0.28l-2.19,0.43l-1.56,-0.54l-1.22,0.36l-0.84,-0.12l0.4,-1.13l-1.05,-1.55l-1.28,0.93l0.11,0.7l0.6,0.3l-0.39,0.69l-0.78,-0.88l-0.84,0.41l-0.55,-0.45l-1.68,-0.36l-0.42,-1.04l0.66,-1.04l0.9,-0.41l2.39,0.85l0.28,-0.38l0.75,-0.09l0.25,-0.72l-1.15,-1.3l1.24,-0.2l0.19,-0.81l-2.72,-0.71l-0.79,0.27l-0.68,0.84l-0.48,-0.03l-0.46,-1.51l-0.75,-0.64l-1.98,-0.51l-0.99,0.87l-0.25,-0.31ZM315.48,268.17l-0.79,0.04l-0.04,-0.21l1.17,-0.51l-0.34,0.67ZM272.81,162.81l0.83,-0.98l0.4,0.17l1.08,-0.8l0.89,-1.79l1.46,-0.77l2.3,0.16l0.97,0.64l1.33,0.17l0.56,-0.22l1.24,-1.44l0.32,-0.92l1.48,-1.14l0.49,-1.02l0.58,0.19l1.16,-0.28l0.78,-0.61l1.48,-0.1l1.56,-0.97l0.35,-1.57l1.23,-0.32l0.64,-1.04l0.68,-0.38l0.26,-0.76l0.98,-0.09l1.12,-1.54l1.02,-0.11l0.51,-0.71l1.48,-0.62l1.35,-2.17l0.75,-0.51l1.03,0.44l1.58,-0.55l2.55,0.93l1.07,-0.28l-0.04,0.4l0.84,0.27l0.14,0.7l1.17,0.65l1.07,1.51l1.58,0.18l0.36,-0.74l0.35,0.46l0.67,0.06l0.37,-0.75l1.09,-0.81l-0.22,-0.81l-1.45,-0.48l-0.12,-0.94l0.79,-0.07l1.21,-0.74l0.09,-0.67l1.38,0.07l1.15,1.83l-0.1,0.87l1.46,1.39l1.01,2.22l-0.02,0.53l-0.69,0.76l-1.45,0.12l-0.9,0.65l-1.94,-0.05l-0.62,0.98l-0.64,0.2l0.11,2.98l1.96,2.78l-0.93,0.62l-1.65,-1.71l-0.48,0.02l-0.45,0.49l-0.12,0.76l0.52,1.85l0.62,0.63l-0.08,2.78l-0.62,0.28l-0.74,1.04l-1.46,0.65l-1.07,0.01l-1.18,-0.48l-0.84,0.41l-0.52,-0.36l-0.55,0.11l-0.74,0.87l0.06,1.54l-0.44,2.45l-1.34,0.94l-1.23,0.3l-0.84,-0.49l-0.11,-1.27l-0.95,-0.47l-0.42,-2.07l0.76,-1.8l0.88,-0.73l0.15,-1.62l0.62,-0.74l0.28,-1.2l1.64,-1.76l0.07,-1.13l-0.45,-0.66l-0.59,0.04l-1.03,0.98l-1.49,-0.63l-0.55,0.27l-0.13,1.02l-0.51,-0.31l-0.61,0.32l-0.14,0.98l0.37,1.03l-0.31,1.73l-0.91,0.0l-0.48,0.74l-0.29,-0.17l-0.19,-1.11l-0.79,-0.43l-0.42,0.57l-0.7,0.24l-0.39,1.07l0.58,0.56l0.06,0.56l0.6,0.37l-0.17,2.29l-0.72,0.92l-0.84,-0.26l-0.74,0.3l-0.8,2.2l-0.6,0.78l-0.74,0.29l-0.37,-0.38l0.36,-1.66l-0.29,-1.71l0.52,-2.6l-0.49,-0.23l-0.55,0.61l-0.44,-0.35l-0.66,0.27l0.04,0.99l-0.56,0.72l0.12,2.13l-0.47,-0.14l-0.42,0.38l0.02,0.74l-0.41,-0.17l-0.55,0.41l1.08,2.04l-0.1,0.91l-0.51,-0.34l-0.35,0.13l-0.82,1.1l0.04,0.39l-1.36,1.08l-0.71,0.02l0.1,-0.78l-0.48,-0.68l-2.02,1.61l0.77,-2.24l0.75,-0.9l0.0,-1.44l-0.38,-0.3l-0.92,0.11l0.1,-0.99l0.73,-0.78l0.03,-0.56l-0.3,-0.17l0.66,-0.56l-0.72,-1.92l-0.52,-0.12l-1.12,0.76l-1.06,2.34l-0.03,1.09l-1.31,0.08l-0.93,0.92l-0.14,-1.26l-1.81,-2.34l-1.81,-0.41l-0.67,1.27l-1.44,0.51l-0.88,-0.46l-0.12,-0.41l0.71,-0.41l1.49,-2.04l0.36,-1.31l-0.84,-1.36l-1.28,0.23ZM299.65,310.08l0.53,0.27l0.45,0.46l-0.39,-0.06l-0.6,-0.66ZM287.73,182.36l0.69,-0.85l4.73,-3.33l1.13,-1.26l1.85,-0.54l1.07,0.16l0.92,-1.24l1.31,-0.42l0.79,-0.83l0.46,-0.05l0.46,0.38l0.14,0.3l-1.31,2.19l-2.18,2.12l-0.18,0.62l-1.06,1.07l-0.32,1.05l-2.69,2.15l-0.04,0.48l-2.56,1.32l-0.81,-0.98l0.09,-0.48l-0.29,-0.32l-1.56,-0.66l-0.65,-0.89ZM219.97,246.31l1.41,-1.91l0.11,-1.2l0.58,-0.36l1.1,-0.08l-0.32,-0.78l0.18,-0.7l0.48,0.19l0.98,-0.52l0.27,-1.09l0.89,-0.57l1.76,-2.13l1.99,-0.91l0.69,0.17l0.33,-0.36l0.17,-0.64l-0.47,-0.74l1.39,-1.18l-0.11,-0.61l0.47,-0.8l0.25,-1.52l-0.23,-0.7l0.67,0.55l1.19,-0.31l0.51,0.29l0.98,-0.1l1.04,-0.37l0.42,-1.4l-0.51,-0.63l-0.15,-0.96l-0.68,-0.17l-0.06,-1.13l0.71,-0.76l0.69,0.02l0.56,-0.39l0.08,-0.6l2.32,-2.69l0.8,-0.47l0.23,-1.17l1.24,-0.65l0.8,0.03l0.34,-0.54l0.77,-0.34l0.67,-1.15l0.29,-1.31l1.55,-0.35l1.1,-1.28l0.25,-1.97l-0.31,-0.53l-1.33,-0.8l-0.1,-0.5l0.42,-1.09l-0.23,-3.55l0.64,-1.27l0.5,-3.11l-0.51,-0.66l0.56,-0.75l-0.26,-0.41l2.51,0.32l0.51,0.35l0.43,0.02l0.38,-0.41l3.46,0.81l1.3,-0.08l4.09,1.2l3.23,0.37l3.44,-0.17l2.16,1.86l0.32,0.91l-0.08,1.29l3.74,4.85l1.04,0.62l0.62,1.06l0.81,0.25l-0.47,1.0l-1.5,1.46l-0.24,1.04l0.36,0.8l0.74,-0.05l0.38,-1.36l0.97,-0.5l1.31,-1.55l1.19,0.38l0.28,0.38l-0.47,1.34l0.08,1.01l-0.57,0.34l-0.89,1.63l0.34,0.56l1.91,-0.18l1.59,-1.69l0.28,-0.77l-0.19,-1.06l0.98,-0.4l4.16,-0.06l3.39,2.19l2.27,4.11l1.8,5.75l0.49,0.47l1.16,3.45l1.44,1.82l0.81,3.18l-0.08,1.01l-3.31,1.88l-4.92,0.78l-6.1,2.78l-1.26,-0.07l-5.26,2.35l-1.45,0.23l-1.65,0.71l-0.85,0.83l-1.62,-0.12l-1.32,0.83l-2.03,0.7l-0.96,2.07l-1.6,1.95l-0.47,1.5l-0.93,0.52l-2.88,1.16l-1.62,-0.74l0.17,-0.63l-0.24,-0.33l-0.93,-0.17l-0.55,0.71l0.19,1.09l-0.34,1.5l-3.38,3.51l0.05,1.25l-1.16,2.65l-0.16,1.27l-1.86,2.66l-1.02,0.7l-2.7,0.45l-3.04,-0.02l-0.44,-0.37l0.33,-0.56l-0.21,-1.0l-1.09,-0.53l-4.34,3.08l-3.99,0.69l-1.69,1.33l-1.8,-0.62l-0.51,-1.09l-0.25,-2.74l0.46,-4.89l-0.17,-1.56l-0.39,-0.61l0.01,-2.66l-0.5,-1.41l-2.97,-3.64l-2.15,-3.79l1.11,0.8l0.52,-0.4l-0.02,-0.67l-0.4,-0.56l-1.67,-0.72l-3.23,-0.72ZM278.89,175.73l-0.49,-0.42l1.55,-0.55l-0.56,0.63l-0.51,0.34ZM280.89,173.14l-0.05,-0.52l0.37,-0.4l-0.17,0.44l-0.15,0.48ZM265.98,295.52l0.41,0.33l-0.56,-0.18l0.16,-0.15ZM192.19,266.74l0.3,-0.36l0.16,0.54l-0.24,0.16l-0.22,-0.33ZM134.49,262.69l0.12,-0.19l0.63,-0.37l-0.53,0.46l-0.22,0.1ZM133.01,267.08l0.28,0.07l0.02,0.08l-0.15,0.11l-0.14,-0.25ZM125.45,269.42l0.35,-0.18l0.08,0.44l-0.34,-0.04l-0.09,-0.22Z", "name": "Northwest Territories"}, "CA-NU": {"path": "M694.57,496.77l1.45,-0.41l0.98,0.82l0.52,0.93l-1.78,-0.16l-1.15,-0.84l-0.03,-0.34ZM682.9,477.17l0.06,-0.73l3.09,-1.55l2.28,-0.08l0.16,0.84l0.97,-0.11l-0.26,0.99l0.67,0.87l0.04,0.63l-0.57,0.8l-0.1,1.41l-0.48,-0.03l0.2,-0.37l-0.27,-0.55l-1.47,0.05l0.01,-0.29l-0.54,-0.36l-0.45,0.12l-0.52,-0.72l-1.64,-0.3l-1.18,-0.63ZM458.86,294.89l0.69,-1.03l0.12,-1.87l1.28,-0.97l0.41,0.23l0.46,-0.24l0.63,-1.06l-0.01,-0.62l-0.42,-0.41l-1.24,0.36l-0.49,-0.37l-0.34,-2.89l1.12,-2.11l-0.36,-0.48l0.36,-0.77l0.19,-2.79l0.15,-0.21l0.4,0.29l0.51,-0.11l0.34,-0.95l0.36,-0.14l0.13,-0.53l-0.73,-1.03l0.18,-0.83l1.18,0.54l0.58,-0.22l0.23,-0.85l-0.26,-0.58l-0.78,-0.45l0.74,-1.97l-0.38,-1.61l0.2,-0.36l0.16,0.26l0.43,-0.14l0.13,-0.38l-0.61,-0.85l0.51,-1.54l0.66,-0.7l-0.26,-0.44l0.45,-0.65l1.17,-0.06l0.12,-0.59l-0.94,-0.51l0.61,-0.81l1.41,0.47l0.55,-0.15l-0.1,-0.83l-1.25,-0.66l0.98,-1.74l1.16,-0.95l0.58,-1.42l4.02,-4.37l3.91,-2.04l3.49,-1.3l3.4,-0.13l1.76,0.44l3.97,0.22l1.49,1.34l-0.09,0.41l-0.39,0.92l-3.07,3.29l-0.74,0.43l-2.77,4.99l-1.59,4.49l-0.2,1.53l-2.06,4.52l-0.33,3.11l0.51,1.79l2.87,3.81l0.14,1.36l-1.11,2.75l0.04,3.45l0.38,2.71l0.54,0.48l1.61,4.19l1.24,1.26l0.91,1.49l0.64,0.41l0.25,0.78l1.1,1.03l0.66,1.16l1.93,0.96l0.28,0.43l1.59,0.27l0.08,1.57l0.55,0.31l0.2,0.65l-2.26,-0.26l-0.56,0.35l0.02,0.82l-0.69,-0.12l-0.57,0.29l-0.32,1.27l-1.2,-0.52l-1.85,0.77l-2.42,2.82l-3.42,1.32l-0.38,0.55l0.31,0.43l1.16,0.27l2.86,-0.76l2.85,-2.34l0.68,-0.95l1.5,-0.2l0.49,-0.42l2.28,0.52l0.56,-0.55l1.03,-0.26l-0.01,0.92l-0.51,-0.15l-1.13,0.39l-0.26,0.55l0.37,0.38l0.72,0.05l-0.06,0.67l0.58,0.71l-0.13,1.79l0.47,0.27l1.12,-0.17l0.37,-0.35l0.27,-1.15l-0.68,-2.37l0.1,-2.05l0.82,-0.76l-0.04,-0.5l-0.91,-1.17l0.13,-2.54l1.28,-0.72l0.23,-0.74l-0.35,-1.93l-0.72,-1.15l0.29,-0.96l-0.4,-0.73l-0.68,-0.22l-1.26,0.21l-0.31,0.48l0.13,0.39l-2.62,-0.82l-1.39,-1.79l0.48,-0.3l0.08,-0.55l-1.02,-2.06l-1.5,-1.05l-1.25,-0.46l-0.18,-0.49l1.72,0.19l-0.23,-0.81l1.12,-0.21l0.48,-0.51l-0.02,-1.02l0.65,-0.24l0.14,-0.45l-0.74,-1.32l0.52,-0.49l-0.09,-0.29l0.52,-0.18l0.32,0.44l0.63,-0.18l0.36,0.3l0.76,-0.34l1.93,1.98l1.21,0.53l0.72,1.21l1.02,0.76l0.34,1.5l0.53,0.49l0.54,-0.31l0.08,-1.28l-0.27,-1.08l-1.09,-0.87l-0.64,-1.52l-1.33,-0.47l-0.71,-0.9l-0.0,-0.81l-1.53,-0.76l0.54,-1.17l1.87,-0.1l0.64,-0.59l-0.05,-0.63l-0.67,-0.07l-0.38,0.35l-1.49,-0.13l0.33,-1.4l-0.35,-0.45l-1.12,0.68l-0.92,1.29l-1.61,-0.64l-1.12,-1.0l-0.66,-1.5l0.66,-0.27l0.24,-0.59l-1.19,-0.53l-0.44,-0.77l-0.08,-5.9l0.49,-1.27l2.32,0.46l1.67,1.04l3.06,1.1l1.54,1.13l2.18,0.68l0.2,-0.85l-2.01,-0.88l-2.6,-2.11l-2.93,-1.53l-1.19,-2.97l0.69,0.09l1.09,0.74l2.84,0.74l3.94,0.35l1.4,0.94l0.52,0.05l-0.06,-0.89l-1.15,-1.13l-5.25,-1.25l-2.97,-1.77l-0.82,-0.05l0.2,-2.03l1.57,-1.49l0.77,1.62l0.99,0.68l0.83,1.15l0.84,-0.07l0.18,-0.55l-1.66,-2.02l-0.49,-1.37l2.49,-1.67l2.45,0.71l0.73,2.42l0.51,0.6l0.49,-0.02l0.26,-0.97l-0.7,-3.07l-2.15,-1.0l1.91,-1.63l2.87,-1.83l0.38,0.28l0.57,-0.11l1.13,-1.93l4.82,-0.43l3.3,0.19l0.59,1.49l1.44,2.07l0.89,6.25l0.6,0.57l3.37,1.48l0.54,1.24l-0.42,2.62l0.28,1.36l1.2,2.0l1.25,0.59l0.49,1.29l-0.61,0.42l-1.06,1.94l0.18,1.18l-1.25,1.2l-1.39,2.04l-0.34,1.34l-0.79,1.18l-0.04,1.01l-1.07,1.14l0.38,0.63l1.13,-0.55l2.05,-4.19l1.74,-1.68l0.11,2.17l-1.34,1.85l-0.46,2.25l-0.79,0.26l0.13,0.45l1.94,1.39l-1.92,0.38l-0.11,0.75l-0.36,0.26l-0.03,0.63l0.44,0.31l0.83,0.03l0.58,-0.33l-0.06,1.88l-0.86,1.26l0.58,0.45l1.15,-0.69l0.47,-0.93l-0.06,-0.85l2.28,-1.73l0.25,-0.81l-0.16,-0.79l-0.82,-1.04l0.64,-0.06l0.77,-0.91l-0.47,-1.72l0.91,1.53l1.09,1.07l2.0,0.71l0.49,-0.54l-0.57,-0.78l-1.4,-0.66l-1.82,-2.49l0.53,-1.32l1.11,-0.88l1.33,1.64l-0.92,2.02l0.13,0.74l0.38,0.31l0.78,-0.26l0.43,-1.15l0.58,1.55l0.67,0.07l0.1,-0.87l-0.64,-1.52l0.82,-2.03l1.77,2.05l0.46,0.15l-0.07,0.8l0.33,0.72l-0.27,2.67l-1.03,2.24l0.12,0.44l0.62,0.44l0.84,-0.43l2.21,0.77l1.42,1.23l0.72,-0.44l-0.01,-0.5l-0.63,-0.54l-0.3,-0.94l-1.23,-0.3l-0.95,-0.84l-0.11,-2.89l2.0,1.09l1.2,3.33l1.53,2.41l1.42,0.81l1.14,0.25l0.37,-0.6l-0.59,-0.47l0.48,0.2l0.58,1.0l0.46,0.13l0.31,-2.04l-1.44,-0.54l-1.99,-2.7l-0.61,-0.18l-0.64,0.23l-1.18,-2.89l-1.97,-0.89l-1.13,-0.9l0.56,-1.27l-0.33,-0.73l0.81,-0.64l0.44,2.37l1.08,1.41l0.7,-0.56l-0.73,-1.43l-0.1,-1.29l2.36,0.65l0.59,0.63l0.45,-0.3l0.77,0.27l0.81,0.75l0.4,1.14l-0.15,0.87l0.61,0.29l0.53,-0.9l-0.22,-0.98l1.64,-0.35l2.11,0.9l0.48,-0.21l-0.13,-0.5l-1.12,-0.76l-1.2,-0.4l-1.69,0.17l-2.01,-1.39l-2.94,-1.01l-2.16,-1.59l-0.28,-1.48l0.49,-1.71l1.39,-1.61l1.28,-1.14l1.2,-0.39l1.06,-1.18l4.48,-0.37l1.22,0.71l0.16,0.89l0.52,0.5l3.11,0.45l0.56,2.06l0.61,0.47l0.66,-0.47l-0.32,-1.5l0.42,-0.69l1.2,0.0l1.93,0.9l1.73,0.36l0.53,1.58l1.91,3.11l-0.46,1.49l-0.95,1.37l-1.27,-0.25l-1.24,0.22l-2.91,2.14l-0.33,2.1l-0.75,1.09l-0.57,1.79l0.33,0.81l0.78,-0.31l0.47,-1.7l0.92,-1.46l0.26,-1.54l1.99,-1.69l0.77,-0.14l1.76,0.58l-1.7,1.0l-0.48,0.63l-0.21,3.99l-0.7,2.19l-1.44,0.77l-0.11,0.52l0.48,0.33l1.63,-0.52l0.55,-0.64l0.71,-2.62l0.15,-3.33l0.29,-0.42l1.09,-0.08l0.82,-0.68l0.54,-2.42l0.9,0.32l3.87,-0.17l0.92,0.9l0.57,1.21l-0.42,1.07l0.42,1.07l-0.26,0.8l-0.87,0.45l-1.1,-0.35l-0.33,0.65l0.18,0.36l-0.7,1.29l-1.15,0.73l-0.96,-0.09l-1.97,0.84l-0.39,0.52l-0.05,0.38l0.57,0.42l1.94,-0.92l0.63,0.31l-2.65,3.27l0.23,0.7l0.55,-0.1l1.21,-0.98l0.84,-1.22l1.01,-0.72l0.43,-1.33l0.28,-0.26l0.18,0.33l-0.06,1.06l-0.66,1.24l-1.41,0.53l-0.65,1.37l-0.05,0.52l0.56,0.41l0.74,-1.25l0.85,-0.18l-0.53,1.24l1.43,0.31l0.32,0.72l-1.98,4.49l0.25,0.66l0.85,-0.17l2.17,-4.95l-0.15,-0.96l-1.06,-1.78l-0.01,-0.47l0.68,-0.48l0.26,-2.28l0.65,-0.31l0.66,-1.43l0.52,-0.2l-0.53,2.66l0.36,1.13l0.93,0.59l0.43,-0.58l-0.72,-1.5l0.55,-0.76l0.39,-2.23l0.37,-0.41l0.92,-0.21l0.43,0.98l-0.74,1.09l0.06,0.68l-0.45,0.44l-0.42,3.14l-1.76,1.59l0.33,0.71l1.37,-0.82l0.2,1.52l-0.65,0.95l0.69,0.42l-0.72,1.87l0.74,0.32l1.26,-3.14l-0.2,-1.04l0.42,-1.9l-0.07,-1.72l0.6,-1.12l0.55,0.31l-0.13,2.41l0.61,1.05l-0.18,0.66l0.58,0.46l0.39,-0.16l-0.77,1.79l0.2,3.3l-0.07,0.44l-0.93,0.89l0.27,0.63l0.51,-0.04l1.23,-1.01l-0.01,-3.42l0.96,-2.35l0.28,-0.01l1.43,0.77l-1.0,1.14l0.48,1.6l-0.11,1.13l-0.87,1.71l0.76,1.2l0.46,0.19l0.29,-0.41l-0.38,-1.22l0.66,-0.72l0.42,-2.32l-0.23,-1.02l0.78,-0.18l0.33,-0.81l-0.04,-1.56l-0.52,-1.67l0.81,-0.19l0.58,-0.61l-0.16,-0.92l-0.54,-0.67l1.11,-1.15l-0.11,-2.23l7.09,1.89l0.97,0.79l0.12,0.55l1.23,0.9l1.53,1.97l-1.07,2.38l-0.26,2.06l-2.63,-0.48l-1.51,1.0l-0.44,0.82l0.19,0.87l-0.24,1.05l-0.77,0.74l-0.04,1.35l-2.72,1.93l0.03,0.47l0.46,0.12l2.02,-0.83l1.04,-0.93l0.6,0.28l-0.84,1.94l0.09,1.23l-1.54,1.42l0.08,0.57l0.75,0.44l1.6,-1.56l0.59,-2.29l1.55,-0.85l2.23,-2.28l1.62,-0.61l0.77,0.51l0.62,-0.2l-0.0,-0.67l-0.92,-0.84l0.25,-2.25l1.7,-2.06l0.62,-0.05l0.53,0.36l1.43,3.01l-0.98,1.81l-0.07,2.43l-1.64,1.47l-0.4,2.01l-2.14,-0.37l-0.75,0.42l0.12,1.53l-0.72,1.26l0.05,0.94l-1.08,0.39l-0.32,0.54l0.45,0.64l1.24,-0.56l0.08,1.68l-0.36,0.59l0.22,0.65l0.57,-0.05l0.49,-0.64l0.37,-1.45l-0.25,-2.22l0.65,-1.71l0.81,-0.31l0.9,0.23l-0.19,4.5l0.55,1.12l-0.83,5.47l0.79,0.17l0.98,-2.69l0.33,-2.96l-0.27,-0.77l0.11,-3.1l0.14,-1.62l0.4,-0.4l-0.53,-0.75l0.08,-1.34l0.93,-0.58l2.43,-3.47l1.07,-0.64l1.83,-2.13l0.44,0.09l-0.04,0.76l-0.62,1.81l-1.33,1.96l-1.69,1.01l-0.07,0.82l0.88,1.5l-0.46,1.01l0.42,0.5l0.61,-0.15l0.97,-1.17l-1.02,-1.74l1.0,-0.35l1.13,0.25l0.37,-0.3l0.18,-1.3l0.55,-0.62l1.35,-0.47l0.09,-1.77l0.66,-0.58l0.5,0.19l1.08,-0.36l1.09,1.02l6.27,2.05l0.21,0.76l-0.55,2.69l-0.45,-1.59l-0.83,-0.0l-0.46,1.29l0.45,1.34l-0.14,0.57l-1.12,0.77l-0.93,0.17l-0.42,0.53l-0.79,0.14l-1.61,1.16l-0.33,0.68l-0.72,0.38l-1.14,1.37l-0.3,1.67l-1.25,0.89l-0.46,1.36l0.34,0.34l0.58,-0.1l0.52,-1.07l0.8,0.15l0.37,0.45l-1.04,0.07l-0.98,0.85l-0.5,0.68l0.03,0.85l-1.2,1.16l-0.21,0.6l0.46,0.49l0.96,-0.26l1.65,-2.93l0.65,-0.22l0.65,0.21l0.88,-0.75l0.06,-0.98l-0.74,-1.23l0.4,-1.35l2.94,-1.79l1.3,0.24l0.4,-0.8l1.63,-0.58l0.37,0.72l-0.53,0.89l0.08,1.44l-1.99,1.87l-1.36,3.53l-2.35,0.15l-0.71,1.11l-0.46,3.71l0.27,0.82l0.83,-0.16l0.05,-1.1l0.57,-1.29l0.07,-1.59l0.78,-0.3l0.92,0.36l1.01,-0.3l0.83,-2.49l0.58,-0.83l0.91,-0.9l1.8,0.0l0.48,-0.43l-0.19,-0.89l0.56,-1.42l1.19,-0.79l0.79,-1.54l-0.18,-0.51l-0.74,-0.16l-0.35,-0.46l0.18,-0.37l-0.26,-0.41l0.75,-2.17l0.49,0.45l1.52,0.28l3.74,3.23l0.67,1.14l1.26,1.04l1.76,3.93l-1.12,0.47l-3.27,-0.62l-1.87,0.61l-1.42,1.94l-0.35,1.64l-2.6,0.34l-3.44,3.23l-3.28,-0.02l-0.74,0.27l-1.66,1.03l-0.02,0.7l1.31,0.42l1.62,-1.27l2.97,0.23l1.92,-1.07l0.42,-0.83l1.07,-0.73l1.13,-0.24l4.87,1.63l0.88,-0.06l0.8,-0.75l3.89,-0.64l3.67,1.66l1.14,1.21l0.41,1.1l-0.24,1.15l-1.47,-0.47l-1.54,0.17l-0.56,0.6l-1.08,-0.35l-0.87,0.88l-1.11,-0.02l-4.61,-1.81l-1.08,0.52l-5.37,0.06l-1.45,2.21l0.35,0.67l0.58,-0.07l1.48,-1.85l4.11,0.37l1.46,-0.52l0.8,0.68l-3.61,0.22l-1.14,0.71l-1.28,0.14l-0.3,0.6l0.9,0.45l2.07,-0.62l-0.61,0.96l-2.12,0.83l-0.53,0.55l-0.09,0.5l0.49,0.46l0.8,-0.48l0.07,2.84l0.71,-0.2l0.37,-0.69l0.01,-2.02l2.87,-2.49l1.64,0.27l3.38,1.33l-1.21,0.42l-0.35,0.82l-1.72,-0.31l-1.14,0.25l-1.16,0.76l-0.11,0.8l0.63,0.33l1.37,-0.73l1.95,0.49l0.07,0.67l-2.9,0.05l-0.35,0.3l0.51,0.66l0.61,0.03l-1.58,0.41l-0.14,0.41l0.52,0.48l-0.14,0.2l-0.81,-0.28l-1.59,0.31l-0.85,-0.53l-2.17,-0.21l-0.71,0.41l-0.15,0.52l0.74,1.32l2.91,-0.38l-0.17,0.83l0.48,0.36l0.89,-0.69l1.43,0.15l0.92,-0.36l3.0,0.22l-1.22,1.14l-2.02,-0.24l-1.06,0.51l-0.38,0.94l-0.57,0.4l0.31,0.64l0.92,0.07l0.4,0.37l2.29,-0.4l0.45,-0.89l1.59,0.19l0.47,0.56l1.29,-0.08l0.56,2.64l0.45,-0.14l0.34,-0.74l-0.22,-2.22l1.09,-0.75l0.63,0.18l-0.53,0.96l0.8,2.28l-1.1,0.65l-0.51,0.76l-0.03,0.89l0.34,0.61l0.69,-0.03l0.43,-1.26l0.67,-0.18l0.14,0.43l-0.73,0.86l0.47,0.42l0.32,-0.1l0.96,-0.69l-0.06,-1.12l0.61,-0.89l0.58,0.43l0.56,-0.92l0.88,0.18l-0.89,0.38l-0.58,1.2l0.12,1.99l-1.14,-0.14l-0.59,0.34l0.1,0.64l0.48,0.23l1.36,0.22l0.58,-0.3l0.47,-1.62l-0.32,-0.9l1.34,-1.3l1.77,0.49l-0.19,1.15l0.27,0.98l-0.64,1.3l0.17,1.06l0.41,0.45l0.55,-0.08l0.1,-1.17l0.73,-1.16l0.3,0.93l-0.13,1.2l0.15,0.43l0.45,0.01l0.62,-0.83l-0.17,-2.76l1.41,-0.1l-0.74,0.51l-0.22,0.63l1.11,0.26l0.72,-0.6l0.55,0.95l-0.69,0.91l-0.07,2.22l-1.92,-0.02l-0.56,0.43l0.09,0.64l2.05,0.54l0.72,-0.18l0.32,0.77l0.47,0.14l0.42,-0.47l-0.33,-1.25l0.0,-2.22l1.35,-1.57l-0.2,1.04l1.08,1.38l0.16,3.19l0.5,1.59l0.65,0.46l0.41,-0.68l-0.7,-3.48l0.87,-1.12l0.11,-0.9l-0.49,-1.05l0.62,-0.77l1.07,-0.25l0.15,2.93l-0.33,1.24l0.53,0.72l1.28,0.62l1.09,1.89l0.65,0.25l0.41,-0.64l-0.92,-2.03l-1.79,-1.22l0.3,-2.6l1.38,-1.36l0.02,-1.16l0.51,-0.86l2.04,0.52l-0.69,0.76l-0.86,0.09l-0.59,0.55l0.16,0.62l0.72,0.08l-0.19,0.72l-0.71,0.32l0.09,1.47l0.5,0.36l0.55,-0.57l-0.9,2.0l0.42,1.53l0.37,0.23l0.54,-0.3l-0.09,-1.47l0.59,-0.57l0.05,-0.77l0.46,-0.59l0.38,0.45l-0.09,1.22l0.5,0.27l0.58,-0.27l0.26,-0.7l-0.35,-1.86l0.48,-0.44l1.86,0.93l-1.5,1.87l0.5,0.54l1.95,-1.32l0.24,-0.55l0.64,0.87l-0.19,1.03l0.5,0.16l1.03,-0.39l0.25,1.77l-0.68,0.8l-1.33,0.11l-0.36,0.33l0.23,0.43l1.32,0.31l1.94,-0.85l1.02,1.54l-0.3,0.73l-5.62,0.57l-0.51,0.47l0.32,0.64l3.99,-0.1l-0.41,0.42l-1.21,0.14l-1.79,1.38l-0.28,0.52l0.3,0.55l0.68,0.01l1.27,-1.17l2.68,-1.09l-2.83,2.39l-0.4,0.71l-0.09,1.02l0.38,1.42l0.39,0.36l0.78,-0.41l-0.06,-1.81l0.36,-0.86l1.17,-0.53l1.27,-1.21l1.42,-0.48l0.36,-1.11l0.95,0.13l0.52,-0.56l1.08,-0.44l0.37,0.8l-0.23,1.29l-1.16,1.76l-0.17,1.27l0.52,0.87l0.49,0.08l0.04,-1.63l1.16,-1.2l0.61,-1.4l-0.25,-2.7l0.37,0.19l0.65,-0.46l0.26,-0.66l-0.17,-0.83l0.79,0.36l0.48,1.0l-0.21,1.05l-1.18,1.04l-0.24,0.75l1.15,2.57l-0.16,0.48l-1.81,1.45l0.05,1.54l-1.36,0.35l-0.27,0.35l0.46,0.73l1.96,-0.42l0.72,-0.73l0.3,2.11l0.53,0.34l0.37,-0.19l0.23,-2.4l-0.53,-1.52l2.68,-2.39l1.05,2.86l0.25,3.22l0.61,0.48l0.64,-1.37l-0.29,-0.87l0.22,-1.52l-0.93,-2.78l0.9,-0.23l1.02,1.69l0.75,0.3l1.17,1.39l0.85,-0.11l-0.18,-1.16l-1.5,-1.3l-0.35,-0.7l0.01,-0.4l0.88,-0.85l-0.59,-1.65l0.99,-0.64l0.34,0.06l-0.0,2.25l0.25,0.44l0.75,0.09l0.21,0.46l0.45,0.11l0.51,-0.57l1.97,-0.44l-0.69,0.81l0.27,0.36l0.85,0.23l1.05,-0.23l2.61,2.39l0.07,0.53l-0.74,0.62l-0.1,0.59l-0.67,0.16l-0.62,-0.81l-1.02,-0.6l-1.28,0.03l-1.19,-0.43l-0.45,0.2l-0.05,1.01l-0.88,0.62l-0.15,0.45l0.34,0.4l0.77,0.13l0.56,-0.29l0.29,-0.8l1.16,-0.0l2.51,1.93l-0.79,0.38l-0.26,0.53l-0.94,0.21l-0.77,1.17l0.32,0.4l0.56,0.05l0.67,-0.53l2.09,-0.67l0.46,0.39l-0.13,0.23l-0.45,0.05l-0.34,0.53l-0.95,0.19l-0.36,1.09l-0.33,0.13l-1.31,-0.42l-0.75,0.49l-0.37,-1.07l-0.57,-0.48l-3.33,0.22l-0.77,0.93l0.09,0.59l1.19,0.3l0.67,-0.67l0.31,0.6l1.23,0.69l-0.19,0.37l-1.47,1.5l-0.57,-0.21l-1.12,-1.43l-0.84,0.01l-0.31,0.51l1.33,1.68l1.21,0.78l0.64,-0.08l0.73,-0.72l1.88,0.66l1.22,-0.23l0.27,0.77l0.7,0.14l0.04,0.78l0.47,0.13l-0.85,0.26l-0.63,0.76l-0.72,-0.45l-1.16,-0.01l-0.87,0.35l-0.62,-0.19l-0.59,0.4l-0.99,-1.4l-0.91,-0.43l-1.15,1.0l0.32,0.7l0.94,-0.35l1.44,1.67l2.47,-0.39l0.45,0.44l0.57,-0.05l-0.09,0.93l0.73,0.34l0.7,0.91l-0.79,0.63l-0.35,-0.32l-0.85,0.4l-1.78,-1.23l-0.7,-0.08l-0.18,0.94l0.63,0.72l2.55,1.16l-1.81,-0.21l-0.36,0.52l-0.82,0.15l1.03,2.77l-0.49,-0.42l-1.44,0.23l-2.78,-3.16l-0.84,-1.54l-0.5,-0.23l-0.52,0.4l0.32,1.56l1.97,2.25l0.15,0.61l-2.48,0.81l-0.08,0.55l0.87,0.62l0.76,-0.35l0.71,0.3l0.93,-0.36l0.34,0.34l0.03,0.84l-0.51,0.28l-0.81,-0.86l-0.68,-0.1l-0.31,0.51l0.26,1.11l0.97,0.67l-0.85,0.57l0.22,0.54l1.41,0.54l-0.12,0.47l0.51,0.46l1.03,0.41l-0.42,0.7l0.62,1.36l-0.54,0.45l0.71,1.05l0.88,-0.01l-0.39,0.45l0.28,2.2l-0.28,0.51l-0.72,-0.48l-0.97,0.83l0.81,-0.76l-0.09,-0.71l-0.28,-0.1l-0.91,0.15l-0.35,0.55l-0.37,-0.89l0.29,-1.65l-0.41,-0.45l-0.88,0.34l-0.39,1.72l-0.85,-0.15l-0.04,1.3l-0.79,-0.78l0.87,-1.93l-0.86,-0.2l-1.53,1.14l-0.49,-2.36l0.44,-1.52l-0.09,-0.98l-0.54,-0.34l-0.57,0.35l-0.21,1.79l-0.5,0.64l0.46,3.9l-0.35,-0.23l-0.25,-0.91l-0.71,-0.18l0.32,-0.69l-1.21,-0.53l-0.46,0.34l-0.08,0.5l-0.2,-0.12l-0.13,-0.62l0.76,-0.15l0.51,-0.78l-0.4,-0.58l-0.62,0.07l1.07,-1.21l1.3,-0.26l0.14,-1.53l-0.67,-0.44l-0.45,0.73l-1.47,0.31l-0.2,0.66l-1.39,0.65l-0.79,1.14l-0.68,-0.57l-0.39,-0.92l1.43,-0.95l0.34,-1.28l0.29,-0.01l0.24,-0.63l-0.5,-0.51l0.75,-0.49l0.05,-0.53l-0.45,-0.29l-1.35,0.38l-0.53,2.51l-1.2,0.35l-0.18,-0.92l0.55,-0.48l-0.03,-0.73l0.68,-0.76l1.26,-0.6l-0.05,-0.89l-0.6,-0.08l-1.44,0.68l-0.69,0.69l-0.34,0.97l-1.71,0.12l0.07,-1.83l-0.26,-0.33l-0.64,0.13l0.37,-2.25l2.59,-2.46l1.07,0.37l0.82,-0.31l-0.14,-0.66l-0.98,-0.6l-0.07,-3.39l0.88,-1.88l1.13,-1.23l0.17,-0.62l-0.43,-0.52l-1.04,0.55l-1.7,1.85l-0.54,2.08l0.28,1.6l-0.49,0.74l-0.53,0.21l-1.05,1.26l-0.61,-0.13l-0.68,1.47l-3.63,1.59l-0.61,-1.34l0.16,-0.77l1.74,-2.36l0.51,-2.99l-0.49,-1.87l-0.63,-0.04l-0.19,0.3l-0.42,4.19l-1.06,1.41l-0.79,0.5l-0.92,-0.13l-1.04,-1.14l0.36,-1.37l-0.28,-0.43l-0.47,0.19l-0.44,0.81l-1.47,-0.11l-0.31,-0.53l0.09,-0.6l-0.8,-0.16l0.76,-0.76l-0.28,-0.66l-0.57,-0.04l-1.29,1.36l-0.01,-1.4l-0.56,-0.34l-0.51,0.52l-0.5,-1.59l0.51,-0.99l-0.3,-0.45l-1.13,0.24l-1.9,-0.65l-0.33,0.65l1.6,1.05l-0.31,0.34l-1.32,0.44l-0.96,-0.27l-0.44,-0.62l-1.0,0.37l-0.97,-0.57l-0.35,0.72l-0.41,0.04l-0.88,0.98l0.65,0.65l2.65,-0.4l0.67,0.17l0.43,0.79l0.92,0.48l0.1,0.44l-1.41,-0.44l-0.43,0.14l-0.2,0.59l0.75,0.81l1.79,0.67l-0.75,0.54l-0.54,-0.39l-0.26,0.21l-0.91,-1.3l-1.66,-0.97l-0.49,0.25l-0.72,-0.19l-0.62,-1.05l-1.11,0.17l-0.48,0.54l0.16,0.52l1.09,0.64l0.41,0.86l0.93,0.76l0.75,1.19l-0.05,1.05l3.15,1.69l1.16,0.19l1.0,1.25l-0.47,0.3l-0.05,0.71l0.77,0.63l-0.39,0.18l-0.74,-0.28l-0.37,0.99l-0.95,0.19l-1.16,-0.82l-0.63,0.35l0.43,1.06l-0.27,0.32l-0.63,-0.16l-1.24,-1.61l-0.02,-1.8l-2.32,-0.81l-0.78,-1.44l-0.63,-0.01l-0.45,0.44l-0.58,-1.04l-0.78,-0.51l-0.46,0.21l-0.07,0.49l0.68,1.2l-2.72,1.06l0.31,0.64l1.36,0.11l1.7,-0.77l1.93,1.66l0.6,0.1l0.38,-0.45l-0.28,-0.56l0.87,0.64l0.01,0.33l-0.54,0.04l-0.39,0.57l-0.64,-0.57l-0.57,0.19l-0.0,0.66l0.71,0.87l-0.18,1.0l0.76,0.68l0.89,-0.25l0.01,0.91l0.43,0.29l-0.42,0.73l0.54,0.41l1.6,-0.08l0.54,-0.43l-0.36,0.54l0.05,1.05l0.82,0.33l0.16,0.5l-0.66,0.16l0.09,0.71l-0.45,0.82l0.21,0.56l0.59,0.06l-0.25,1.07l0.52,0.44l0.48,-0.36l0.63,-1.97l0.54,-0.28l0.22,-1.04l1.25,-0.75l0.34,0.18l0.51,-0.36l-0.01,-0.43l1.0,0.28l0.17,0.33l-0.46,0.83l0.21,0.36l-0.75,1.49l1.43,0.98l1.73,-0.66l0.42,0.5l-0.07,0.64l-1.38,0.37l-0.81,0.55l-0.19,0.59l0.48,0.5l0.61,0.1l0.61,-0.72l0.74,0.38l0.35,1.8l0.85,0.37l0.46,-0.4l0.55,0.1l0.19,1.06l-0.71,0.4l-0.23,1.29l0.55,0.26l0.7,-0.62l0.72,0.5l0.95,-0.02l0.51,0.75l-0.6,0.81l1.04,0.41l-0.1,0.9l1.14,2.04l0.78,-0.07l0.29,-0.88l-0.6,-0.62l-0.38,-2.84l-0.48,-0.75l0.52,0.19l0.2,0.82l0.71,0.45l1.39,0.04l0.33,0.84l0.58,-0.07l0.19,-0.62l0.31,0.19l0.21,1.48l-0.91,0.24l-0.16,0.68l1.08,0.23l0.57,1.18l0.44,0.07l0.46,-0.4l-0.13,-1.23l0.04,-0.29l0.53,1.04l0.72,-0.24l1.34,1.16l0.43,0.03l0.32,-0.41l-0.12,-0.55l-1.12,-1.21l0.19,-0.62l-0.72,-0.54l0.08,-0.66l-0.29,-0.39l0.28,-0.12l0.38,1.13l0.64,-0.23l-0.13,1.01l0.57,1.12l0.5,0.15l0.28,-0.49l-0.19,-1.12l0.42,0.49l0.19,1.22l-0.28,0.81l-0.75,0.64l0.96,2.23l0.44,0.16l1.17,-0.56l0.27,0.32l0.64,-0.18l0.3,0.54l0.57,-0.17l0.21,-0.59l0.53,-0.02l0.26,-0.45l0.94,-0.02l0.08,0.44l-1.15,0.7l-0.12,0.55l0.92,0.72l-0.06,0.57l-2.62,0.09l-0.89,0.66l-0.13,0.65l0.51,0.23l1.18,-0.44l-0.61,0.48l0.09,0.63l0.62,0.14l1.03,-0.41l0.67,0.31l-0.54,1.3l0.48,0.28l0.61,-0.22l0.29,-0.59l0.32,0.21l0.6,0.66l-0.19,0.32l0.26,0.52l-0.3,0.64l0.37,0.4l2.23,-0.34l0.04,0.74l0.46,0.02l0.61,-0.53l0.29,-0.81l0.34,0.24l0.56,-0.38l0.18,0.22l-1.53,1.95l0.09,0.7l-0.52,0.44l-0.03,0.88l0.95,0.96l1.69,0.18l0.45,-0.24l1.74,1.04l0.2,0.48l-0.47,0.7l0.53,0.51l1.11,2.71l-0.7,-0.07l-0.27,0.71l0.43,0.55l0.85,0.13l0.2,0.39l-0.88,0.25l0.13,0.61l0.9,0.27l-0.51,0.23l-1.11,-0.91l-1.52,-3.1l-1.23,-1.15l-0.37,-1.05l-1.5,-0.75l-1.36,-1.84l-1.5,-0.2l-0.37,0.51l2.03,1.66l0.73,1.05l1.02,0.59l-0.64,0.99l0.77,1.77l-0.59,0.67l0.78,0.94l0.8,-0.19l0.98,1.22l-0.73,-0.32l-0.46,0.27l0.06,0.47l-0.32,0.02l-0.27,0.66l0.9,0.88l0.37,0.84l0.53,0.26l0.95,-0.38l0.41,0.63l0.73,-0.1l-0.41,0.25l0.02,0.64l0.6,0.27l0.38,0.75l-0.06,1.3l1.26,0.59l-0.07,0.52l-0.77,0.16l-1.95,-0.91l-0.65,-0.89l-0.62,0.28l-0.04,0.62l-0.58,-0.65l-0.66,0.31l0.13,0.75l1.08,0.83l0.25,0.9l2.55,2.45l0.58,1.08l-1.04,1.6l-0.51,-0.36l-1.04,-1.83l-0.26,0.05l0.42,-1.04l-0.23,-0.6l-0.58,-0.02l0.44,-0.38l-0.29,-0.64l-0.56,0.01l-0.36,-1.34l-0.79,0.23l0.01,1.36l-1.22,0.77l-0.71,-1.25l-0.78,-0.08l0.19,-1.27l-0.76,-1.4l-0.61,0.13l-0.18,0.73l-0.45,-0.23l-0.42,0.2l-0.71,1.16l-0.47,-1.12l-0.77,0.16l-0.45,-0.76l-1.37,-0.58l-0.46,0.33l0.1,0.53l0.81,0.59l0.39,0.91l1.11,0.62l-0.01,0.38l-1.22,-0.65l-1.0,0.15l-1.14,-0.99l0.1,-0.36l-0.96,-1.06l-0.25,-1.14l-1.39,-0.99l0.13,-1.28l-0.27,-0.63l-0.71,0.03l-0.26,2.36l-0.41,-0.2l-0.42,0.46l0.11,0.93l0.59,0.94l-1.38,-1.03l0.36,-0.84l-0.65,-0.78l-0.28,-1.63l-0.55,-0.11l-0.39,0.37l0.37,2.04l-0.91,-0.42l-0.28,0.26l-1.34,-1.03l-0.81,-1.45l-0.68,0.04l-0.09,0.29l-0.63,-1.12l-0.82,-0.47l-0.87,-1.14l0.03,-0.36l-0.6,-0.38l-0.47,0.39l-0.36,-0.77l-1.44,-1.18l-0.47,0.04l0.07,0.87l1.36,1.69l0.37,1.43l1.98,3.03l-0.7,-0.34l-1.51,-1.66l-1.45,-0.62l-0.54,-0.85l-0.79,0.11l-1.1,-1.62l-0.52,0.0l-0.2,0.94l-0.57,-0.9l-0.72,-0.44l-0.63,-0.06l-0.22,0.29l-1.62,-0.51l-0.41,0.53l0.22,0.44l-1.37,-0.23l-0.86,0.53l0.28,0.7l1.76,1.39l-0.23,0.39l0.17,0.49l0.68,0.2l0.91,1.08l2.22,1.24l2.37,2.05l0.24,0.75l0.79,0.39l0.03,0.8l1.12,0.68l1.56,-0.11l-0.1,0.91l0.36,0.54l0.7,-0.17l0.29,-0.85l1.0,0.23l-0.45,0.99l0.92,1.52l0.5,-0.1l0.68,0.63l0.75,-1.18l0.81,-0.52l0.2,0.78l0.61,-0.08l0.53,0.41l-0.52,0.84l0.87,0.23l0.76,-0.65l-0.25,1.11l1.32,-0.23l-0.1,0.7l1.05,0.37l-0.12,0.95l0.64,0.13l0.45,0.65l1.61,-0.83l0.0,0.32l0.98,0.54l0.57,-0.07l0.86,0.74l0.78,0.84l0.17,1.5l0.47,0.27l0.64,-0.59l0.44,0.48l-0.91,0.86l0.36,0.76l1.38,0.89l0.73,-0.19l0.97,0.4l1.26,-0.01l0.43,-0.41l0.32,0.26l-0.68,1.24l0.31,0.86l-0.75,-0.65l-0.59,0.21l-0.04,0.81l1.15,0.98l0.1,0.93l0.59,0.08l1.36,1.14l-2.31,1.17l-1.19,-0.02l-1.96,-0.5l-0.18,-0.64l-0.76,0.1l-0.74,-0.72l-0.98,0.11l-0.95,-0.31l-1.0,0.15l-0.36,0.42l-1.57,-0.92l-0.43,0.51l-0.19,-0.76l-0.37,-0.24l-1.45,0.23l-1.14,-0.4l-0.65,0.6l-0.58,0.05l-0.88,-0.71l-0.48,0.37l-1.37,0.08l-0.3,-0.27l-4.39,0.62l-1.38,-0.54l-0.35,-0.62l-0.83,-0.02l-0.59,-0.69l-1.57,0.4l-1.67,-0.82l-0.9,-0.67l-0.37,-0.78l0.01,-1.34l-0.41,-0.53l-0.69,0.38l0.03,0.7l-0.84,-0.79l-0.43,0.1l-0.06,0.34l-0.5,-0.52l0.54,-0.05l0.56,-0.86l-0.33,-0.54l0.56,-0.63l-0.41,-0.62l-1.57,0.32l-0.59,-0.3l-0.84,0.31l-0.99,-0.56l-0.6,0.13l-0.08,0.55l0.4,0.55l-0.43,-0.42l-0.69,0.11l-0.75,1.07l-1.42,0.12l-2.52,-1.63l-2.54,0.01l0.2,-0.45l-0.42,-0.29l-1.26,-0.11l-0.19,-1.13l-0.44,-0.35l0.09,-0.64l0.92,-1.25l-1.32,-0.83l-0.81,0.48l-0.15,1.58l-1.2,-0.09l-0.26,1.25l-1.15,-0.07l-0.18,-1.19l-1.64,0.01l-0.98,-0.46l0.16,-0.38l-0.55,-0.5l0.38,-0.78l-0.43,-0.4l-0.72,0.02l-0.4,-2.19l1.07,-0.27l0.43,-1.0l1.14,-0.67l0.04,-0.69l0.85,-1.06l0.17,-1.27l-1.84,-0.43l-0.49,0.48l-0.77,-0.38l0.15,-1.01l-1.4,-0.33l-0.26,-0.37l-0.69,0.23l-1.64,-1.22l-0.78,0.57l-0.18,1.32l-0.58,0.16l-0.56,-0.73l-0.58,-0.07l0.18,-1.23l0.67,-0.43l0.15,-1.02l-1.09,0.32l-0.3,-0.9l-0.73,0.09l-0.09,1.16l-0.29,0.12l-0.5,1.5l-1.46,-0.6l-0.29,-0.72l0.3,-0.52l-0.12,-1.52l-0.29,-0.44l-0.46,0.04l-0.14,-0.85l-0.61,-0.22l-0.3,0.38l0.07,1.25l-0.64,-0.07l-0.3,-0.49l-0.38,-0.02l0.36,-0.74l-0.74,-1.53l-1.28,-0.25l-0.15,-0.78l-0.54,-0.29l-0.09,-0.5l-0.94,-0.22l-0.64,-0.63l-0.1,-0.62l-1.13,-0.55l0.59,-0.94l-0.47,-0.58l1.2,-2.13l-0.2,-0.61l-0.64,-0.11l-0.19,0.29l-0.44,-0.98l-0.45,-0.19l-0.61,0.96l0.68,1.51l-0.77,-1.17l-0.6,-0.01l-0.38,0.42l-0.59,-0.93l-0.67,-0.23l-0.44,0.46l0.28,1.74l-0.36,0.2l-1.32,-0.94l-0.59,0.55l-0.62,-0.56l-0.09,-1.88l-0.72,-0.6l-0.54,0.23l0.09,1.16l-0.44,0.47l-0.63,-0.22l-0.48,0.18l-0.14,0.48l-0.66,-0.0l0.04,0.68l-0.35,0.24l-0.37,-0.75l-1.23,-1.03l0.67,-1.75l0.44,0.01l0.34,-0.68l-1.19,-1.24l-0.75,0.01l-0.43,0.26l-0.01,0.6l-0.54,0.34l0.21,1.06l-0.35,-0.12l-0.46,0.42l-1.02,-0.08l-0.31,0.63l0.52,0.68l0.87,0.22l0.66,0.94l0.67,0.18l2.29,1.83l-0.87,0.05l-0.38,0.54l0.62,1.27l0.61,0.28l-1.02,1.15l-0.58,-0.18l-0.27,0.34l-0.81,-0.66l-0.63,0.17l-1.87,-1.07l-0.56,0.74l-1.02,-0.83l-1.61,-0.36l-0.69,-0.54l-0.47,0.19l-1.45,-0.83l-0.42,0.13l-0.24,0.53l0.31,1.11l0.3,0.69l0.95,0.49l-1.44,-0.25l-0.25,0.79l0.76,0.38l0.57,0.88l-1.41,-0.29l-0.61,0.68l-0.48,-0.21l-1.39,0.98l-0.7,-0.03l-0.16,0.85l-1.87,0.48l-0.17,0.38l-0.81,-0.01l-0.13,0.84l0.38,1.0l-1.71,-1.01l-0.65,0.23l-1.0,-0.62l-1.67,1.18l-0.35,-1.07l-0.42,-0.32l-0.55,0.21l-0.31,-0.61l-1.4,-0.53l-0.54,0.33l-0.11,0.67l-1.01,-0.4l0.3,-0.51l-0.13,-0.45l-1.38,0.16l0.23,-0.61l-1.02,-0.96l-0.17,-0.72l-0.74,-0.26l0.25,-0.48l-0.71,-1.26l0.18,-0.51l-0.36,-1.21l0.78,-1.48l-0.02,-0.51l-0.63,-0.89l-0.31,-1.18l1.12,-1.37l0.09,-0.51l1.93,-1.4l0.53,-0.81l1.09,-0.13l1.43,-1.19l0.04,-0.68l-1.92,-2.13l0.17,-0.67l0.89,0.2l0.6,-0.67l-0.27,-0.66l-0.98,-0.8l1.41,0.15l1.07,0.66l1.04,-0.06l0.45,-0.49l0.53,-0.05l0.56,0.41l0.84,-0.19l7.68,2.38l0.82,1.41l1.83,0.64l0.68,0.6l0.41,1.5l-0.5,0.55l-1.05,-0.06l-0.33,0.78l0.52,0.45l0.49,1.17l0.99,0.07l-0.49,0.9l0.31,0.61l0.65,0.05l0.66,0.87l0.44,0.03l0.79,-0.44l0.11,-0.67l-0.95,-1.79l-0.05,-1.5l-0.68,-0.39l0.15,-0.29l0.71,0.28l0.39,-0.55l-0.32,-0.58l0.51,-1.52l-0.13,-0.91l-0.6,-0.33l-0.65,0.41l-0.15,1.57l-1.94,-2.57l-1.32,-0.45l-0.48,-0.65l-1.23,-0.36l-0.25,-0.41l1.27,-0.02l0.51,-0.38l0.8,0.76l3.17,0.01l1.07,-0.93l0.1,-1.11l-0.32,-0.89l0.62,0.17l0.8,-0.53l0.54,0.15l0.59,-0.33l0.55,0.78l1.37,0.15l1.54,-1.96l0.16,-1.33l1.1,-0.55l0.05,-0.78l1.06,0.43l0.77,-0.72l0.75,0.05l0.97,1.1l0.83,-0.3l0.89,0.2l0.39,-0.27l-0.26,-1.16l-1.44,-2.04l-0.09,-0.93l-0.73,-0.35l0.12,-0.99l-0.68,-0.93l-1.2,-0.81l-1.56,-0.46l-2.13,-2.36l-1.97,-1.59l-0.53,-0.93l0.68,-1.51l1.82,-1.83l4.2,-6.04l0.47,-2.31l1.53,-1.58l1.19,-0.4l0.14,-0.56l-0.7,-1.39l0.54,-2.21l0.16,-2.48l0.69,-0.74l2.1,-0.9l0.84,-1.86l-0.22,-1.08l0.38,-0.95l-0.16,-0.63l-1.36,-0.67l-1.07,-2.69l-0.58,-0.53l0.34,-0.96l-0.93,-1.74l-0.87,-0.24l-0.62,-0.6l-0.11,-0.45l0.44,-0.66l-0.32,-1.05l-1.63,-1.76l-0.77,0.29l-0.32,-0.47l-0.38,-2.29l-1.67,-4.46l-0.46,-0.24l-0.81,0.54l-0.62,-0.91l-0.94,-0.19l0.26,-0.39l-0.17,-0.72l0.62,-0.33l-0.15,-0.42l-0.7,-0.39l-0.47,0.04l-0.49,0.94l0.06,0.55l-0.73,0.33l-0.21,0.76l-2.05,-0.67l-0.84,-1.08l0.22,-1.54l0.88,-0.77l-0.12,-0.73l-0.36,-0.28l0.16,-1.79l-0.79,-1.05l-3.03,-0.48l-0.5,0.19l-0.27,0.58l2.86,3.0l-0.06,0.55l-0.47,-0.39l-1.3,0.49l-1.25,-0.17l-0.57,-0.73l-0.57,-0.2l-0.41,-1.24l-1.53,-1.09l-0.07,-0.41l0.81,-0.62l0.17,-1.14l-0.42,-0.46l-0.73,-0.12l-0.42,-1.6l-0.71,-0.12l-0.51,0.29l-0.0,-0.54l-0.73,-0.08l0.55,-0.29l0.4,0.27l1.02,-0.53l0.24,-0.48l-0.4,-0.87l-1.32,-0.65l-0.99,0.48l-1.02,1.51l-0.14,2.43l-2.3,-2.24l-0.78,0.0l-0.62,0.99l0.62,1.23l-0.47,0.78l-1.31,1.23l-0.97,0.45l-0.55,1.14l-1.93,1.88l-1.75,0.63l-0.45,-1.23l0.57,-1.24l0.12,-1.44l-0.97,-0.74l-0.22,-1.81l1.19,-0.86l1.8,0.01l0.84,0.62l0.73,-0.12l1.19,-1.21l0.2,-0.69l1.15,-0.16l0.37,-0.54l0.02,-1.27l-0.53,-1.86l-0.96,-1.14l-2.45,-1.54l-1.7,-0.62l-1.39,0.45l-0.59,-1.14l-1.49,-1.35l-0.04,-0.67l0.74,-1.28l1.85,0.5l0.34,-1.26l-0.4,-0.58l-1.22,0.13l-0.53,-0.6l-1.73,0.58l-0.26,0.56l0.46,0.5l0.4,-0.08l-0.69,0.58l-0.11,1.06l-0.82,-0.16l0.33,-0.57l-0.16,-0.5l-0.93,0.3l-0.45,0.57l-0.34,-0.58l-0.92,-0.04l1.0,-0.68l0.53,0.26l0.58,-0.25l0.62,-1.2l-0.21,-0.88l-0.74,-0.19l0.81,-0.68l-0.14,-0.82l-0.48,-0.18l-1.25,0.55l0.09,-0.34l-0.49,-0.48l-0.69,0.29l-0.36,0.55l-0.66,-0.06l1.88,-1.51l0.2,-0.52l-0.5,-0.52l-3.53,2.22l-0.73,0.8l-1.32,-7.62l-0.89,-1.06l-0.81,-0.25l-0.68,0.2l-0.56,0.69l-1.16,-0.49l-0.31,0.65l-0.65,0.39l-1.01,-1.45l0.72,-0.54l-0.2,-0.6l-0.89,-0.28l-0.77,0.25l-1.43,-2.18l-0.46,0.15l-0.16,-0.38l-0.63,-0.11l-0.21,0.51l-0.39,0.0l0.02,-0.94l0.69,-0.19l0.23,-0.7l0.65,0.38l0.67,-0.32l-1.17,-2.05l-0.24,-0.18l-0.69,0.3l-0.48,-1.0l-0.73,0.09l-0.82,1.32l0.23,0.67l0.74,0.04l-0.47,1.38l-0.55,-0.77l-0.72,0.44l0.03,1.14l-0.75,0.13l0.01,0.65l-0.55,0.17l-0.47,0.63l-0.06,0.83l1.16,1.13l0.61,0.2l0.43,-0.39l1.24,1.09l0.8,-0.07l0.41,-0.55l0.33,0.25l1.65,2.55l0.39,2.11l0.69,1.33l-0.08,1.72l-0.52,0.66l-4.35,0.59l-1.6,0.86l-1.74,-2.45l-0.55,-0.05l-0.35,0.45l-0.46,-0.8l-1.34,-0.07l-0.86,0.48l-1.6,-1.01l-1.92,0.03l-0.77,-0.32l-0.65,0.27l-0.31,-0.61l-0.8,0.21l-2.96,-0.16l-1.17,-0.45l-0.6,0.18l-0.19,0.63l0.72,1.13l0.95,0.16l1.16,1.27l0.47,-0.07l0.5,-0.6l0.69,0.48l0.61,1.42l2.84,2.71l-0.04,0.5l-0.53,0.47l-1.01,-0.79l-0.79,-1.21l-0.86,-0.35l-1.72,-1.57l-0.61,-0.06l-0.07,-0.83l-0.56,-0.19l-0.79,0.22l-2.88,-2.78l-3.45,-1.36l-3.58,-2.36l-0.7,0.21l0.08,0.45l2.03,2.2l0.69,-0.04l3.53,1.7l1.43,1.03l1.4,1.69l1.11,0.35l-0.83,1.43l-0.97,-0.26l-0.92,1.2l-1.07,-0.71l-0.99,0.26l-1.64,-1.29l-0.67,0.01l-0.98,-0.6l-1.1,-1.1l-1.17,-0.16l-1.0,0.22l-0.47,0.65l-2.09,0.89l-3.02,-0.68l-2.06,0.14l-1.18,-0.39l-1.18,0.11l-0.91,-0.58l-0.1,-0.31l0.49,-0.65l-0.36,-0.74l-0.5,0.06l-0.78,1.02l-2.79,-0.72l-3.39,0.36l-0.74,0.52l0.03,1.0l-2.42,-1.57l-2.06,-2.53l-0.29,-2.53l0.45,-1.09l0.92,-0.54l0.59,-0.83l-0.18,-0.85l-0.58,-0.55l-0.52,0.04l-0.17,0.59l0.3,0.44l-1.61,1.29l-0.54,1.08l-0.07,-0.35l-0.83,-0.11l-0.42,-0.63l0.14,-0.5l-0.63,-0.54l-0.68,0.08l-0.91,0.67l-0.12,0.72l-0.56,0.29l-0.16,0.74l0.33,0.31l1.43,-0.04l0.14,1.23l-3.28,-0.82l-2.11,-0.01l-0.46,0.4l-3.84,-2.75l-2.22,-0.36l-1.4,-1.55l-0.77,-2.5l-2.1,-2.54l-0.99,-2.59l1.3,-0.38l0.48,-1.01l-2.06,-2.13l1.08,0.15l0.09,0.48l0.89,0.54l1.49,-0.44l0.64,0.29l1.33,-0.38l1.43,0.48l0.66,1.5l3.26,0.51l1.56,-0.59l2.27,0.19l0.39,-0.25l0.31,-1.1l1.65,0.38l0.43,-0.25l-0.01,-0.62l-2.26,-0.87l-3.09,-2.1l-0.64,-0.98l0.1,-1.55l-0.33,-0.37l-0.98,0.11l-0.93,1.12l-2.87,-0.63l-0.8,0.19l-8.42,-2.04l-0.92,-2.4l0.28,-1.64l-0.49,-1.28l1.6,-3.77l-0.7,-0.74l0.04,-0.56l-0.44,-0.27l-0.06,-0.61l-1.0,-1.53ZM474.89,330.28l0.28,0.24l0.75,0.17l-1.05,0.62l-0.53,-0.59l0.54,-0.44ZM473.1,330.1l-0.24,-0.03l-0.02,-0.02l0.2,-0.03l0.05,0.07ZM482.98,328.72l0.11,0.5l-0.87,0.03l-0.03,-0.17l0.79,-0.36ZM489.76,335.68l1.57,-0.65l1.38,0.68l-1.06,-0.2l-1.35,0.52l-0.55,-0.35ZM516.89,338.24l0.08,0.2l-0.05,0.1l-0.02,-0.01l0.0,-0.29ZM550.53,335.08l0.41,-0.09l-0.17,0.82l-0.12,-0.36l-0.11,-0.37ZM574.57,352.21l0.32,0.6l-0.22,0.09l-0.34,-0.24l0.25,-0.45ZM587.4,361.26l-0.15,0.27l-0.05,0.15l0.03,-0.41l0.16,-0.01ZM582.66,432.03l-0.03,0.04l0.02,-0.03l0.02,-0.01ZM595.94,436.99l0.4,0.28l0.14,0.44l-0.7,-0.42l0.16,-0.3ZM596.67,437.96l0.17,0.24l-0.2,0.4l-0.6,0.52l-0.32,-0.49l0.66,0.03l0.28,-0.7ZM596.17,440.05l0.05,1.42l-0.31,0.11l-0.08,-0.87l0.34,-0.66ZM595.8,441.61l-0.03,-0.02l0.04,-0.0l-0.01,0.02ZM601.28,436.5l-0.0,0.18l-0.07,0.04l0.01,-0.01l0.06,-0.21ZM601.6,439.23l-0.21,0.44l-0.21,-0.16l0.05,-0.3l0.37,0.02ZM602.6,440.59l-0.02,0.19l-0.36,0.35l-0.06,-0.15l0.44,-0.39ZM602.33,441.58l0.22,0.2l0.05,0.16l-0.23,-0.16l-0.03,-0.2ZM611.97,449.62l0.04,0.02l-0.04,0.01l0.01,-0.03ZM613.64,450.53l0.12,0.98l-0.1,0.01l-0.22,-0.97l0.21,-0.02ZM615.77,450.38l0.09,-0.01l-0.03,0.11l-0.01,-0.03l-0.04,-0.08ZM616.5,450.11l0.17,-0.03l-0.0,0.12l-0.01,0.01l-0.15,-0.11ZM620.7,451.92l0.0,0.12l-0.28,0.07l-0.0,-0.12l0.28,-0.07ZM662.94,449.05l1.26,0.8l0.05,0.79l0.54,0.66l0.04,0.32l-0.31,-0.09l-0.41,0.59l-0.41,-1.74l-0.76,-1.32ZM672.48,451.57l0.27,0.56l-0.74,0.85l0.19,-0.89l0.28,-0.52ZM677.96,454.27l-0.21,0.16l-0.02,-0.11l0.23,-0.04ZM650.02,390.37l0.52,0.43l0.09,0.2l-0.45,-0.05l-0.16,-0.58ZM680.59,409.03l0.0,0.01l-0.0,0.01l-0.0,-0.02ZM680.54,409.32l0.0,0.21l0.09,0.25l-0.18,-0.29l0.09,-0.18ZM678.47,399.02l0.0,-0.0l0.01,0.0l-0.01,-0.0ZM682.18,392.84l0.95,-0.04l0.73,0.46l-0.59,0.39l-0.21,0.76l-0.88,-1.57ZM630.85,349.97l0.11,-0.9l-0.31,-0.9l0.96,0.08l0.27,-0.33l0.26,0.38l-0.18,0.75l-1.1,0.92ZM634.0,348.94l0.23,-1.09l0.75,0.21l-0.06,0.86l-0.92,0.02ZM635.37,347.66l0.31,-0.27l0.31,-0.07l-0.19,0.29l-0.43,0.04ZM624.08,340.79l0.03,0.01l-0.01,-0.0l-0.02,-0.01ZM522.91,287.92l0.09,0.04l0.15,0.16l-0.08,-0.03l-0.17,-0.18ZM490.83,269.21l-0.1,0.22l-1.54,-0.13l0.29,-1.42l1.36,1.32ZM527.94,279.44l-0.04,-0.23l0.12,0.06l-0.09,0.17ZM541.95,291.93l-1.03,-0.78l-1.11,-1.72l0.33,-0.2l1.8,2.69ZM574.55,296.29l-0.01,-0.14l0.08,0.1l-0.07,0.04ZM622.27,341.79l0.57,-0.05l0.37,0.23l-0.06,0.02l-0.88,-0.2ZM621.25,347.63l0.29,-0.42l0.66,0.04l-0.11,0.11l-0.85,0.26ZM662.77,365.97l0.84,-0.66l-0.06,0.71l-0.78,-0.04ZM681.57,367.03l0.1,-0.68l0.41,0.51l0.69,-0.27l-0.11,0.28l-1.08,0.17ZM663.48,400.23l-0.06,0.03l-0.14,0.26l-0.08,-0.23l0.27,-0.06ZM653.19,413.28l0.02,-0.07l0.01,0.04l-0.03,0.03ZM663.75,417.21l0.03,-0.16l0.0,-0.05l0.04,0.06l-0.07,0.15ZM656.01,454.5l0.2,-0.08l0.01,0.01l-0.0,0.01l-0.21,0.05ZM656.44,456.3l0.17,-0.67l0.69,-0.27l0.05,0.1l-0.91,0.84ZM672.11,466.42l-0.48,-0.52l-0.04,-0.18l0.99,0.26l0.03,0.26l-0.5,0.19ZM626.92,462.69l-0.05,0.04l-0.35,0.13l0.03,-0.16l0.37,-0.02ZM618.61,456.15l-0.06,0.22l-0.83,-0.15l0.45,-0.09l0.44,0.02ZM539.29,319.83l-0.1,-0.03l0.05,-0.09l0.05,0.11l0.0,0.0ZM537.02,321.59l0.12,0.78l-0.07,0.39l-0.29,-0.51l0.24,-0.67ZM685.15,391.57l0.47,0.18l0.41,-0.3l0.22,0.37l1.2,0.21l-1.42,0.29l-0.89,-0.74ZM683.06,459.74l0.95,-0.38l0.19,-0.69l-0.69,-0.33l0.15,-0.41l0.86,0.39l1.28,-0.46l0.26,-0.4l0.66,0.36l-0.47,0.62l0.38,1.23l-0.58,0.69l-2.73,-0.08l-0.27,-0.54ZM683.43,471.03l0.28,-0.59l0.59,0.1l0.69,1.09l0.6,0.06l0.22,0.47l0.7,-0.01l0.58,0.61l-0.16,0.39l-2.13,-0.41l-0.78,-0.57l-0.58,-1.14ZM680.85,436.57l0.47,-0.31l1.46,3.68l-1.98,-3.03l0.04,-0.33ZM683.04,440.33l1.1,0.65l0.41,0.66l-0.53,-0.25l-0.98,-1.06ZM683.89,436.94l0.21,0.16l-0.01,0.29l-0.01,-0.01l-0.19,-0.44ZM681.52,458.42l0.32,-0.72l0.69,-0.02l-0.6,0.62l-0.41,0.12ZM681.24,433.57l-0.29,-1.01l0.41,-0.1l0.22,0.23l-0.35,0.88ZM677.29,433.02l0.03,-0.85l0.54,0.28l-0.04,0.5l0.66,0.32l-0.37,0.59l0.38,0.45l-0.62,-0.42l-0.88,0.54l-0.63,-0.2l-0.22,-0.27l0.18,-0.53l0.98,0.49l-0.01,-0.9ZM678.64,434.4l0.26,0.02l0.11,0.08l-0.11,-0.06l-0.26,-0.04ZM679.82,434.77l0.32,-0.34l0.23,0.91l-0.36,-0.42l-0.19,-0.15ZM677.96,474.7l0.38,-0.71l0.73,0.08l0.13,0.28l-0.56,0.47l-0.68,-0.12ZM674.37,366.72l0.0,-0.0l0.0,0.01l-0.01,-0.0ZM674.51,366.15l-0.12,-0.36l0.97,-1.19l-0.06,-0.72l0.92,-0.55l-1.2,2.63l-0.51,0.19ZM672.23,425.21l0.0,0.0l-0.0,0.01l-0.0,-0.01ZM672.34,425.47l0.06,0.1l-0.03,-0.05l-0.02,-0.05ZM672.48,425.69l0.47,0.19l0.17,0.69l-0.4,-0.49l-0.25,-0.39ZM665.91,422.18l0.01,-0.79l0.82,-1.94l0.42,0.21l0.54,-0.31l0.04,-0.39l0.41,0.37l-1.19,1.04l0.24,0.64l-0.74,0.27l-0.09,0.62l-0.45,0.28ZM665.53,363.97l0.62,-1.05l0.09,0.46l0.55,0.27l-1.26,0.31ZM666.87,363.64l0.66,-0.69l0.48,0.21l-0.28,0.26l-0.87,0.22ZM664.04,502.78l0.64,-0.0l0.65,0.75l1.14,0.57l0.12,0.96l-0.61,1.68l0.07,0.58l-0.8,0.31l-0.8,0.86l-0.19,0.67l-1.13,0.8l-0.48,-0.7l0.33,-6.17l1.05,-0.31ZM662.27,358.38l1.11,0.82l0.23,0.27l-1.19,0.41l-0.15,-1.5ZM639.48,351.75l0.24,-0.63l1.19,-0.11l0.22,0.76l-1.65,-0.02ZM626.89,465.68l0.24,0.01l-0.19,0.0l-0.05,-0.01ZM627.92,465.72l2.0,0.07l2.76,0.84l0.68,0.41l0.97,1.31l0.69,-0.06l0.94,1.07l-1.05,0.85l-1.68,0.11l-0.77,-0.35l-0.48,0.24l-1.03,-0.81l-0.22,-0.97l-0.56,-0.72l0.68,-0.55l-0.2,-0.75l-0.51,-0.21l-0.81,0.28l-1.42,-0.76ZM625.88,343.48l0.72,0.13l-0.17,0.02l-0.55,-0.16ZM624.15,326.73l0.98,-1.23l0.48,-0.09l0.38,0.33l-1.04,0.31l-0.41,0.62l-0.4,0.06ZM619.93,326.41l0.75,-1.58l0.99,0.23l0.78,-0.44l-0.08,-0.26l0.21,0.17l-0.66,1.38l-0.09,0.97l-1.9,-0.45ZM610.78,452.57l0.01,-0.01l0.0,0.02l-0.02,-0.01ZM597.11,474.23l0.51,-0.32l0.72,0.34l0.21,0.46l-0.8,-0.03l-0.64,-0.45ZM598.89,474.9l2.06,-0.45l1.01,0.13l0.33,0.51l-0.8,0.22l-2.61,-0.41ZM599.04,437.65l0.38,-0.55l0.19,-0.09l-0.03,0.69l-0.54,-0.05ZM599.87,438.39l0.12,0.08l0.02,0.12l-0.07,-0.09l-0.06,-0.1ZM599.82,439.43l0.16,1.13l-0.14,0.22l-0.37,-1.33l0.35,-0.02ZM585.61,305.0l0.49,-0.07l0.4,-0.5l-0.14,-2.55l0.52,-0.43l2.67,0.65l0.91,-0.13l-0.02,1.53l-1.36,0.55l-1.7,1.42l-0.5,0.98l-0.28,0.03l-0.2,-0.69l-0.77,-0.8ZM580.19,367.11l0.33,-1.37l0.49,0.37l-0.3,0.82l0.31,0.74l1.17,-0.11l2.88,1.01l0.66,-0.53l1.83,0.03l0.71,2.5l0.42,0.4l-0.04,0.79l-7.4,1.27l-1.1,-0.39l-2.06,-2.68l-0.25,-1.55l0.43,-0.5l1.6,-0.02l0.32,-0.8ZM579.32,359.58l1.96,2.07l-0.27,1.41l-0.22,-0.53l0.31,-0.6l-1.14,-0.8l-0.64,-1.55ZM575.3,680.75l0.71,-0.09l0.76,-0.89l1.39,-0.92l0.34,0.08l-0.66,2.13l-2.24,0.45l-0.3,-0.76ZM578.38,289.95l0.39,0.85l-0.26,1.18l-1.22,-0.22l-0.25,-0.33l0.39,-1.2l0.96,-0.29ZM575.01,293.4l0.88,-0.93l0.29,0.29l-0.34,1.92l-0.83,-1.28ZM575.89,294.88l0.04,0.13l-0.04,-0.01l-0.01,-0.11ZM576.25,295.51l0.29,0.14l0.49,-0.38l-0.04,-0.63l0.52,-1.05l0.6,0.68l-1.02,0.9l0.3,1.54l-1.02,-0.28l-0.11,-0.92ZM577.71,297.2l0.02,0.04l-0.01,0.07l-0.02,-0.0l0.0,-0.1ZM570.15,460.77l0.38,-0.61l-0.43,-0.34l-0.62,0.04l0.31,-0.59l1.82,0.42l0.62,-0.18l3.09,1.4l0.74,0.76l-0.23,0.36l0.17,0.58l0.75,0.13l-0.55,0.43l0.0,0.91l-0.96,-0.13l-0.54,-0.41l-0.77,0.13l-2.65,-2.31l-1.12,-0.6ZM576.82,357.19l-1.38,0.21l-0.52,-0.78l0.33,-0.71l0.51,0.07l0.41,0.98l0.65,0.23ZM560.26,382.27l0.11,-0.65l-1.23,-3.19l0.23,-2.62l1.91,-6.94l1.01,-2.27l2.5,-1.76l0.52,0.49l1.28,-0.04l1.21,-1.15l2.26,0.23l0.93,0.51l2.75,0.49l1.19,1.62l-0.56,4.02l0.68,1.8l0.66,0.84l0.13,1.72l0.65,2.21l-0.39,2.68l-0.44,1.07l-0.71,0.56l-0.35,1.08l-0.91,0.18l-0.45,1.05l-0.76,0.24l-1.47,1.26l-2.69,0.15l-0.82,0.68l-1.27,0.08l-0.77,0.51l-2.57,0.08l-0.66,-0.58l-1.19,-2.69l-0.61,-0.51l-0.18,-1.16ZM571.3,358.81l-0.19,-1.46l0.43,-1.64l0.63,0.35l1.03,-0.0l0.86,2.03l1.45,1.5l-0.81,0.96l0.08,0.44l0.56,0.32l-0.21,0.34l0.32,0.47l-0.51,0.17l-0.44,-0.99l-2.98,-1.7l-0.23,-0.79ZM574.04,604.16l0.73,-2.32l-0.16,-1.61l0.69,-1.52l0.45,2.41l-0.07,1.86l-0.87,0.26l-0.77,0.92ZM570.75,628.39l0.13,-0.06l0.12,-0.02l-0.25,0.08ZM564.25,610.37l-0.85,-0.98l2.24,-4.31l1.24,-1.58l-0.61,1.2l0.3,0.88l-2.31,4.8ZM567.46,604.71l1.4,-1.13l0.64,-4.24l-0.08,-1.98l0.95,0.11l0.62,1.43l1.16,0.56l-0.62,0.83l-0.22,2.21l-0.47,0.0l-0.39,0.59l-1.2,4.58l-1.11,2.0l-1.02,-0.49l1.41,-3.88l-0.43,-0.5l-0.62,-0.09ZM572.72,599.43l-0.23,-0.07l0.17,-0.06l0.06,0.13ZM451.74,52.32l0.69,-2.07l0.87,-1.1l0.71,0.31l1.18,-0.2l0.09,-0.56l-0.42,-0.79l0.2,-0.57l1.49,-0.25l0.44,-0.98l1.27,-0.56l1.13,0.37l0.59,-0.57l1.03,1.9l1.14,0.89l0.97,-2.42l-0.13,-0.8l0.36,0.02l0.47,-0.74l-0.15,-2.05l1.2,-1.41l1.7,-0.66l0.72,-0.65l0.67,0.63l1.12,-0.29l0.59,0.26l0.73,1.43l-0.5,1.08l0.12,0.63l2.5,2.18l0.46,0.04l0.18,-0.43l-0.18,-0.75l-0.41,-0.63l-1.05,-0.65l1.06,-0.68l-0.66,-1.47l1.06,-0.2l1.69,0.29l0.71,0.7l2.7,4.64l0.59,-0.18l0.12,-0.51l-1.58,-3.63l1.35,0.04l0.83,2.15l0.69,0.92l0.49,0.25l0.47,-0.07l0.05,-0.34l0.69,0.11l0.13,-0.43l-1.0,-3.09l-8.1,-3.86l-0.59,-1.77l0.89,-0.61l0.85,0.23l2.74,-0.54l0.65,-1.04l0.68,-0.19l0.14,-0.81l-0.52,-0.77l0.23,-0.71l-0.46,-0.49l0.04,-1.2l-0.21,-0.46l-1.37,-0.5l0.33,-0.48l3.71,-0.62l0.13,0.41l-1.0,0.36l0.04,0.88l1.63,0.69l0.67,1.21l0.65,0.08l0.39,-0.44l1.77,0.48l0.96,1.15l0.51,2.15l1.36,1.64l0.38,1.19l-0.14,0.89l-0.47,0.55l0.41,0.55l4.05,0.0l1.0,0.66l0.49,-0.54l-0.35,-1.06l-0.84,-0.9l-2.02,0.14l-1.84,-3.62l-0.12,-1.14l1.22,0.99l0.75,0.05l1.17,1.49l2.41,1.91l4.1,2.57l0.35,0.62l0.86,-0.19l1.45,0.79l2.48,3.92l1.54,0.16l0.34,-0.63l-2.22,-3.17l-0.22,-0.8l-0.88,-0.55l0.23,-0.64l-0.18,-0.59l-4.63,-1.93l-0.16,-0.54l0.33,-0.73l-0.41,-0.5l-1.54,0.07l-6.03,-5.79l0.48,-3.29l3.63,0.0l0.43,-0.38l-0.14,-0.58l-1.68,-0.41l-1.62,-1.6l-0.39,-1.53l0.72,-0.58l2.38,0.96l2.28,2.63l1.59,-0.26l0.26,-0.49l-0.18,-0.58l-2.24,-3.2l-0.35,-1.25l-1.46,-1.54l-0.34,-1.23l4.14,0.81l0.76,1.61l0.19,1.42l1.43,1.1l0.51,-0.09l0.22,-0.48l-0.81,-1.5l2.82,1.01l2.43,-0.47l0.41,-0.66l-0.27,-0.5l-5.43,-1.64l-0.3,-1.04l0.71,-0.14l0.3,-0.65l-0.29,-0.34l-2.51,-0.68l-0.23,-0.59l0.79,-1.16l2.42,-1.2l1.35,2.63l0.78,-0.03l0.59,-2.17l0.39,0.43l0.27,2.33l0.8,-0.12l1.24,0.61l0.34,-0.45l-0.34,-0.48l0.53,-0.41l-0.43,-1.1l0.49,-0.48l2.57,1.25l0.9,1.59l0.13,0.98l0.81,0.54l1.15,2.21l2.82,2.06l-0.64,1.76l-0.16,2.01l0.28,0.62l0.64,0.14l1.54,-4.56l0.82,-0.53l0.09,-0.91l-3.57,-2.25l-0.47,-1.1l0.86,-0.46l0.21,-0.66l-0.44,-0.52l-1.29,0.2l-1.4,-2.41l-3.04,-2.83l0.09,-0.45l0.51,0.21l3.22,-1.24l0.4,-0.6l2.24,0.0l0.84,0.42l0.87,-0.67l2.99,0.6l2.12,3.85l5.6,4.08l0.5,-0.02l0.35,-1.06l-0.25,-0.5l-2.6,-1.39l-1.16,-1.46l-0.66,-1.55l-0.82,-0.55l0.93,-2.75l0.94,-0.86l0.21,-0.66l-0.31,-0.32l0.66,-0.73l0.33,0.42l0.58,-0.12l0.55,-0.94l1.89,-0.25l-0.21,2.37l1.45,2.23l3.17,1.29l0.44,-0.09l0.08,-0.44l-0.32,-0.67l-2.17,-2.21l-0.72,-0.33l1.07,-2.17l0.76,-0.32l-0.02,-0.64l3.36,-0.89l0.25,0.77l-0.16,0.79l1.08,0.42l-0.26,1.14l0.82,0.44l1.53,-1.47l0.36,1.0l0.44,0.19l1.01,-0.24l0.54,-0.91l0.9,-0.0l0.12,1.19l0.42,0.61l0.63,-0.02l0.36,-0.73l1.05,-0.69l1.62,0.66l0.58,-0.43l0.83,0.39l0.41,-0.76l0.99,-0.16l0.25,0.88l-1.1,2.19l-0.01,0.58l-0.88,0.78l-0.27,0.81l-3.71,3.57l-0.63,1.19l0.04,0.97l0.69,0.28l4.24,-1.92l1.08,-2.01l0.53,-0.42l0.63,0.14l0.48,-0.34l-0.23,-1.32l2.08,-3.05l0.9,-0.26l0.01,0.92l0.38,0.63l0.51,0.26l1.13,-0.08l0.28,-0.66l-0.86,-0.58l0.4,-1.87l-0.55,-0.45l0.07,-0.42l0.32,-0.16l-0.04,0.76l0.89,0.38l0.38,1.03l1.55,1.42l0.62,-0.25l-0.07,-0.8l0.49,-1.52l2.18,-0.33l0.41,1.66l-1.15,1.1l-0.11,0.47l1.02,0.15l0.62,0.95l1.31,0.44l-0.36,0.73l0.51,0.63l1.45,0.06l0.29,3.25l-0.55,0.42l-0.1,0.83l0.64,0.3l1.14,-0.84l0.21,-1.24l0.48,0.03l0.3,-0.55l-0.29,-0.57l0.83,-0.34l0.18,0.89l0.7,0.19l0.38,-0.7l2.02,-0.25l1.13,0.69l1.62,2.11l0.87,2.8l-0.16,1.77l-2.15,2.42l0.02,0.55l0.73,0.42l-0.64,2.61l-0.85,0.33l0.11,1.15l-3.8,6.68l-1.76,-0.44l-0.22,0.57l1.28,1.46l-0.55,1.01l-1.28,0.23l-0.76,-0.54l-0.72,0.36l-1.27,-0.01l-0.3,0.67l0.18,0.31l-2.31,1.76l0.2,0.86l1.88,-0.26l-0.64,0.83l-0.79,-0.44l-0.64,1.01l-5.84,2.51l-1.85,1.28l-5.33,-3.26l-0.5,0.06l-0.04,0.5l0.48,0.66l4.34,2.87l-1.55,0.25l-0.34,0.49l0.3,0.49l1.32,0.48l5.23,-2.85l2.62,0.55l-4.8,5.09l-1.88,2.75l-1.32,1.21l-1.66,-0.02l-0.39,0.31l-0.02,0.82l0.35,0.28l-0.42,0.58l-1.26,0.96l-1.26,0.35l0.08,0.9l0.72,0.36l1.09,-0.38l-0.72,1.2l0.2,0.69l0.44,-0.06l1.45,-1.28l0.41,-1.48l6.21,-5.33l2.03,-2.24l4.49,-3.81l0.72,-1.07l4.02,-2.71l0.76,1.57l-0.35,2.33l-1.26,2.03l-0.71,2.08l-2.19,1.91l-1.19,3.4l-0.3,2.47l-1.61,3.14l-1.55,0.46l0.34,2.05l-0.77,0.57l-0.36,1.83l-0.98,1.24l-1.43,3.84l-0.67,0.72l0.32,1.06l-0.68,1.93l-0.1,3.45l-0.92,1.26l-2.31,0.46l0.03,-1.44l-0.89,-1.49l-2.64,-2.17l-0.38,-0.08l-0.38,0.36l0.14,0.81l1.88,1.85l0.82,1.29l-0.16,0.8l0.3,1.23l2.67,1.65l-0.45,1.72l-2.6,0.08l-1.58,0.99l-1.44,2.04l-0.7,0.21l-1.47,-1.63l-0.86,-0.0l-0.83,-0.69l-0.85,0.3l0.07,0.86l2.62,1.9l-0.48,0.51l-1.19,0.12l-0.35,0.47l0.77,1.03l0.96,-0.01l3.07,-1.02l2.02,-1.9l1.19,-0.7l0.66,0.72l0.23,0.78l-0.54,0.66l-0.02,1.17l-2.68,1.86l-0.36,1.03l0.33,1.04l0.6,0.04l0.84,-0.84l0.83,0.22l-0.4,2.42l-1.3,1.67l-2.93,2.44l-0.9,-0.33l-0.94,0.36l-1.35,-0.56l-0.77,-1.75l0.47,-0.44l-0.2,-0.64l-2.66,-0.1l-1.42,0.59l0.2,-0.41l-0.47,-0.57l-2.3,-0.44l-0.42,0.2l-0.3,0.53l-2.21,1.01l0.32,1.26l0.78,0.8l1.63,-0.58l3.73,0.62l0.69,-0.13l0.33,0.96l1.12,1.3l0.21,1.43l0.41,0.69l-0.5,1.48l-1.61,0.49l-0.93,-1.22l-0.33,-0.19l-0.59,0.3l0.45,2.43l-0.12,0.34l-0.89,0.37l-0.66,-0.18l-1.24,0.25l-1.1,-0.74l-0.31,-0.62l-0.62,0.0l-0.44,1.08l1.15,1.79l-0.21,0.79l-2.15,-0.19l-0.9,-0.82l-0.44,0.2l-0.53,-0.65l-0.64,0.63l-1.33,-1.41l-4.05,-0.14l-0.46,-0.58l-0.51,0.03l-0.28,1.22l0.64,0.86l-0.3,0.42l-0.86,-0.02l-0.22,0.67l1.3,2.66l-3.18,-0.69l-0.6,0.26l-0.39,0.65l0.22,0.47l1.21,0.71l1.1,-0.14l1.12,0.66l-0.49,0.59l0.08,0.44l0.44,0.09l3.25,-1.28l1.45,0.26l1.49,-0.62l1.32,0.83l4.41,-0.55l1.2,-0.53l1.11,0.11l-1.26,0.66l-0.1,0.75l0.31,0.47l0.67,0.07l0.02,0.42l0.59,0.44l0.77,1.4l-1.46,0.01l-1.23,0.59l-2.09,-0.73l-1.12,-0.06l-0.58,-0.48l-0.38,-1.44l-1.52,-0.97l-4.31,1.01l-1.15,-0.07l-4.77,0.77l-0.62,0.97l0.35,0.65l0.46,0.1l0.7,-0.57l6.41,-0.13l2.72,0.21l0.19,0.48l-2.7,0.07l-2.24,0.88l-1.48,1.32l-0.61,-0.12l-0.72,-0.81l-1.56,-0.2l-4.06,0.92l-0.19,0.66l0.5,0.31l4.62,-0.44l0.75,0.49l-0.94,1.6l-1.1,4.15l-0.03,0.51l0.54,0.79l0.8,-0.47l0.39,-2.12l1.23,-2.94l4.43,-2.33l4.73,0.72l-0.13,0.73l-2.01,0.85l-0.9,1.13l-0.08,0.88l0.29,0.32l0.63,-0.12l0.61,-0.84l1.87,-0.31l0.54,-0.49l2.04,-0.04l1.87,0.43l0.48,0.77l-0.26,0.33l0.16,0.57l0.54,0.13l-0.16,0.7l0.43,0.62l-0.38,0.68l0.23,1.43l1.14,0.67l-0.57,0.26l-0.76,1.35l-0.89,0.07l-0.87,0.75l-5.59,0.06l-1.11,0.86l0.08,0.94l2.26,-0.43l0.52,0.16l0.48,0.94l5.31,1.54l0.39,0.75l-0.13,0.36l-1.23,0.14l-0.8,2.86l-2.93,-0.69l-0.95,0.47l-1.44,-0.34l-1.6,1.33l0.25,1.1l1.78,0.65l1.58,0.05l0.82,0.41l2.64,-0.49l0.16,0.51l-0.99,2.88l-1.15,-0.73l-0.79,-0.01l-1.1,0.94l-0.29,1.21l-0.88,0.38l-0.63,0.78l-0.6,-0.06l-0.88,-0.8l-3.65,0.65l-1.84,-1.19l-0.57,0.14l-0.24,0.43l-0.02,0.42l0.34,0.23l-0.73,0.72l-0.18,1.02l0.75,1.01l0.95,0.24l1.04,0.92l0.27,1.05l-0.42,0.63l0.39,0.9l-0.39,0.57l0.16,0.44l1.02,0.12l0.38,0.87l0.56,0.18l-1.13,1.17l0.25,1.39l-0.2,0.81l-1.26,1.22l0.24,1.16l-1.23,0.63l-0.77,1.11l0.11,-1.32l-0.64,-0.26l-0.6,0.36l-1.19,2.16l-2.82,-0.37l-1.05,0.38l-0.61,0.81l-2.98,-0.37l-1.27,-0.5l-1.63,-1.58l-1.3,-0.54l-0.68,-1.26l-1.01,-0.6l-0.31,-1.56l-1.32,-1.07l-0.43,-1.42l-0.29,-0.22l-0.64,0.24l0.24,2.06l0.71,0.66l0.76,1.53l-0.06,2.42l1.63,1.42l1.5,-0.02l0.09,0.52l-3.2,1.07l-1.6,-0.46l-0.46,0.18l-0.12,0.9l1.53,0.94l0.27,1.65l0.43,0.54l1.08,-0.09l3.07,-3.13l5.01,1.29l-1.18,2.84l0.37,0.61l0.48,0.01l1.7,-3.12l1.38,-1.38l1.27,-0.05l1.22,0.52l0.91,0.89l0.32,1.24l-1.49,3.21l-0.19,0.79l0.27,0.89l1.89,-0.04l0.82,-0.37l-0.27,1.92l0.35,0.4l1.41,0.19l0.44,-0.3l-0.08,-1.12l0.68,-0.6l0.01,-1.33l0.73,-0.62l-0.09,-0.72l1.05,-0.56l1.16,1.38l0.04,0.8l0.39,0.52l-0.13,0.77l0.99,0.85l-0.07,2.9l0.31,0.97l-0.24,0.38l-1.04,0.33l-0.69,1.97l0.33,0.71l-0.92,0.7l-0.21,0.86l-0.61,-0.43l0.05,-1.71l-0.45,-0.35l-1.51,0.15l-0.69,3.59l-1.14,0.94l-0.29,2.39l-0.75,-0.32l-0.7,0.12l-2.66,2.3l-0.96,-0.18l-1.13,1.23l-0.98,0.15l-0.3,0.82l-1.1,-0.08l-0.18,-0.54l-0.48,-0.19l1.24,-4.05l-0.16,-1.17l-1.33,-1.41l-1.21,-0.5l-0.2,-1.19l-0.72,-0.08l-0.51,1.42l-0.87,0.76l-2.11,-0.3l-0.59,-0.37l0.35,-1.3l-0.28,-0.78l0.99,-1.03l0.15,-1.15l-0.47,-0.25l-2.08,1.67l-0.32,-0.04l-1.84,-3.27l-0.95,-0.99l-0.75,0.15l0.03,0.65l1.23,1.88l0.4,1.57l0.88,1.07l1.52,0.9l-0.52,1.16l0.66,1.67l-0.1,0.44l-0.44,0.49l-2.56,0.43l-1.64,-1.42l0.12,-0.88l-0.45,-2.08l-1.7,-2.06l-0.03,-2.0l-0.59,-0.34l-0.9,1.19l-0.1,0.63l1.8,3.15l0.5,1.84l-0.26,0.84l0.29,0.94l-2.22,-0.38l-0.42,-0.91l-0.57,-0.29l-1.04,-1.39l-0.45,-2.01l-1.12,-0.83l-0.73,0.15l-0.19,0.33l0.17,0.66l0.59,0.48l-0.19,1.8l0.47,1.2l-0.07,0.66l-1.88,0.31l-0.76,-0.7l-0.82,-2.14l-0.74,-0.65l-0.59,0.24l-0.18,1.75l0.76,2.51l3.36,2.1l-4.05,0.78l-0.17,-0.53l-0.43,-0.17l-0.86,0.21l-1.64,-0.98l-3.61,-0.7l-0.25,-1.66l0.81,-0.57l0.3,-0.93l-0.3,-0.71l-1.67,-1.83l-0.79,-0.43l-0.46,0.74l1.83,2.29l-1.82,1.26l-0.29,2.61l-1.72,-0.52l0.05,-1.03l-0.5,-0.56l-1.19,-0.11l0.11,-1.0l-0.59,-0.78l0.12,-1.27l-0.75,-0.92l-0.57,0.19l-0.14,0.44l-0.02,1.75l0.58,0.84l-0.25,1.32l0.65,0.8l-0.75,1.5l-1.01,-1.89l-0.62,0.25l-0.18,0.98l-2.32,-0.55l0.33,-0.54l-0.25,-0.93l0.28,-1.21l-0.99,-2.63l0.2,-0.93l-0.41,-1.49l0.36,-1.33l-0.23,-1.36l-0.79,0.13l-0.92,2.26l-0.1,0.53l0.67,2.07l-0.79,0.78l-0.49,2.29l0.22,1.08l-0.57,0.84l-0.11,-0.66l-0.58,-0.23l-0.42,0.57l-1.18,-1.48l0.11,-1.05l-0.38,-0.97l-0.57,-0.07l-0.37,0.33l0.17,-1.09l1.01,-1.13l-0.1,-1.25l0.32,-0.56l-0.45,-0.66l-0.35,-2.19l2.79,-2.17l0.25,-0.78l1.25,-0.68l1.04,-1.49l0.61,-0.15l0.32,-0.85l-0.2,-0.17l0.75,-0.3l0.28,0.5l0.43,0.05l1.28,-0.65l0.92,0.02l0.48,0.85l1.2,-0.21l0.63,-0.4l-0.14,-0.62l-0.41,-0.19l0.25,-0.54l1.25,-0.33l0.81,1.11l0.73,0.3l0.53,-0.34l-0.18,-0.78l0.93,-0.14l0.2,-0.7l-0.84,-0.43l-0.64,0.28l-1.51,-0.68l1.15,-0.62l0.08,-0.67l-0.57,-0.43l-1.12,-0.06l0.7,-0.83l0.75,0.04l0.55,-0.36l0.01,-0.73l-1.82,-0.26l-1.32,0.87l-1.48,-0.35l-0.47,-1.74l0.7,-1.17l-0.37,-1.65l-0.66,-0.37l-0.04,-0.64l-2.09,-1.62l0.29,-1.71l-0.14,-1.8l0.3,-0.38l4.54,-2.14l1.61,0.28l0.92,0.79l1.21,0.46l1.2,0.95l1.33,1.91l1.61,5.77l-0.33,1.08l0.42,0.53l1.03,-0.76l0.8,1.14l2.38,0.43l1.44,1.48l1.65,0.4l0.48,-0.5l-0.84,-2.1l1.03,0.34l1.46,-0.41l3.23,1.12l0.52,-0.45l-0.4,-1.35l-1.63,-0.75l-0.14,-0.42l0.98,-0.16l1.27,-1.23l1.88,-4.33l1.83,-6.33l0.09,-1.34l-0.47,-1.28l0.71,-0.25l0.53,-1.09l-0.41,-0.77l-0.98,0.14l-0.92,0.61l-0.61,1.05l-0.12,1.19l0.37,1.62l-0.9,1.02l-0.23,1.38l-0.6,1.09l-0.27,1.99l-0.61,1.04l-0.37,1.56l-1.97,2.55l-2.33,-0.54l-2.31,0.4l-0.26,-0.33l-0.08,-0.66l1.0,-1.0l0.92,-1.92l0.14,-1.11l-0.61,-0.9l-0.49,0.09l-0.15,1.91l-1.62,1.74l-1.72,-1.12l0.15,-0.94l-0.35,-0.58l0.6,-0.59l0.05,-0.81l0.62,-0.08l0.44,-0.46l1.34,-2.16l1.84,0.19l0.09,-0.86l-1.56,-0.74l-3.62,0.66l-0.97,0.87l-0.23,-0.84l-0.7,-0.2l2.79,-2.91l0.61,0.43l1.16,0.11l1.01,-1.06l0.9,0.03l0.58,-0.48l-0.36,-0.64l-1.58,0.15l-1.19,0.65l-1.0,-0.8l0.37,-1.3l0.65,-0.03l0.95,-0.82l2.33,0.9l1.11,-0.92l-0.44,-0.55l-0.9,0.06l-1.19,-0.63l-1.72,-0.03l-0.72,0.5l0.57,-2.56l0.98,-0.44l0.28,-0.54l-0.23,-0.79l-0.52,-0.12l-0.5,0.68l-0.25,-0.33l0.2,-3.37l0.68,-2.02l-0.18,-0.67l-0.66,0.0l-0.89,2.18l-0.59,2.68l0.15,1.9l-0.32,1.44l-1.81,4.32l-3.63,1.45l0.11,-1.87l0.67,-0.4l0.83,-1.75l0.41,-2.83l-0.04,-1.03l-0.37,-0.4l-0.67,0.41l-0.04,0.9l-0.73,1.09l-0.08,1.26l-0.67,1.11l-1.08,-0.3l-0.42,0.23l-1.1,2.26l-3.45,-0.05l0.31,-0.81l1.65,-0.52l0.28,-0.39l-1.13,-0.98l-1.15,0.28l-0.09,-5.02l1.57,-2.69l1.32,-0.03l0.39,-0.42l-0.33,-1.08l-1.04,0.08l0.62,-1.47l0.17,-1.64l1.42,-2.27l0.48,0.12l2.35,-0.99l1.53,-0.01l2.37,-2.21l0.85,-0.16l1.72,1.18l4.75,0.51l0.97,1.03l1.21,0.5l0.89,1.13l1.99,0.73l1.18,2.03l1.53,1.04l0.79,-0.62l0.15,-0.65l-1.92,-2.43l0.37,-0.4l1.19,-0.01l0.16,-0.57l-0.27,-0.62l-0.92,-0.38l-1.93,0.76l-1.58,-1.52l-0.61,-0.09l-0.1,-0.39l0.91,-0.22l2.98,0.45l1.97,-1.17l0.79,-0.05l0.09,0.45l0.67,0.02l0.5,-1.52l-0.55,-0.91l0.17,-1.61l0.84,-1.58l-0.1,-0.59l-0.67,-0.51l-1.85,1.66l-0.92,2.69l-1.66,0.83l-2.17,-1.17l-3.6,0.4l-1.43,-0.61l-1.58,0.21l-1.1,-1.32l-1.26,-0.6l-0.08,-0.74l1.05,-1.47l1.34,0.33l1.16,2.03l2.71,0.4l0.56,-0.33l0.25,-0.68l-0.33,-0.64l-0.61,0.03l-0.26,0.34l-0.56,-0.39l-0.26,-0.71l-1.22,-0.78l-0.23,-0.41l0.4,-1.06l-0.47,-1.01l-0.67,0.16l-0.43,0.84l-0.35,-0.07l-1.21,-5.65l-2.04,-1.92l-0.91,-2.61l-0.03,-0.89l-1.66,-1.68l-1.51,-0.72l-1.23,0.27l-2.7,-1.32l-0.09,-1.12l0.47,-0.6l-0.48,-1.66l0.37,-1.78l1.97,0.75l1.45,0.08l1.1,0.9l0.6,-0.29l0.24,-0.72l-1.65,-1.5l-4.23,-0.93l-0.35,-0.46l-0.61,-2.66l0.47,-4.47l2.35,-0.75l2.91,1.75l3.14,-0.45l2.65,0.1l1.03,0.35l3.45,4.54l4.84,5.13l1.18,2.97l0.03,0.75l0.56,0.75l0.96,0.24l0.19,1.07l-0.32,0.05l-0.22,0.65l0.89,0.78l0.73,-0.24l0.62,-1.11l3.9,1.55l0.52,-0.5l-0.27,-0.54l2.17,-1.37l0.92,-0.09l0.79,-1.85l-0.48,-0.53l-3.05,0.8l-0.37,0.49l-1.68,0.64l-2.12,-1.46l-0.81,0.08l0.02,-0.58l-0.53,-0.6l0.04,-1.36l-0.62,-2.0l0.96,-0.54l0.09,-0.76l-0.49,-0.5l-2.52,-0.73l-0.85,-0.65l-4.01,-5.71l-0.43,-1.05l-0.86,-0.81l5.09,-2.31l1.74,-0.36l5.59,-2.27l0.43,-0.66l-0.13,-0.55l0.89,-0.45l2.37,-0.55l0.44,-0.45l1.58,-0.11l1.62,-0.76l2.99,-0.42l0.23,-1.01l-0.41,-0.5l-3.52,-0.08l-4.6,0.68l1.16,-0.88l0.71,-1.03l1.4,-0.6l0.84,-0.99l1.04,-0.52l0.29,-0.62l0.83,-0.21l0.63,-0.71l2.75,-1.12l4.08,-0.95l0.42,-0.47l-0.0,-1.14l-0.91,-0.71l-1.88,0.69l-1.65,-0.24l-2.68,0.32l-0.66,0.63l-2.82,1.14l-0.11,-0.19l0.15,-1.32l-0.46,-1.97l1.55,-3.08l0.19,-1.3l-0.32,-0.5l1.14,-0.81l0.99,-2.7l0.8,-1.14l0.91,-0.61l0.61,-1.09l0.66,-0.3l1.11,-1.9l-0.06,-0.53l-0.48,-0.43l-0.63,0.05l-5.09,5.04l-1.84,3.71l0.04,2.02l-0.39,0.13l-2.57,-2.19l-0.49,-0.02l-0.14,0.47l0.33,0.8l1.88,2.04l-0.64,0.51l-0.25,1.54l0.06,0.71l0.78,0.53l-0.04,0.27l-0.2,0.65l-0.64,0.52l-0.02,1.11l-0.5,1.46l-1.21,0.92l-0.55,1.08l-1.23,0.78l-2.11,2.37l-1.33,1.04l-1.55,0.35l-3.58,2.05l-2.23,0.67l-0.65,-0.11l0.06,-2.17l0.77,-0.31l0.27,-0.76l2.99,-1.51l0.87,-1.09l0.66,-1.95l-0.54,-0.45l-1.04,-0.18l-2.27,2.07l-0.25,0.82l-2.99,1.38l-0.58,-0.01l-0.11,-0.89l0.76,-0.46l0.95,-1.9l-0.9,-0.83l-0.52,0.12l-1.54,2.61l-0.89,-0.11l0.15,1.78l0.62,2.07l-0.34,2.24l-2.15,0.9l-1.2,-0.45l-1.25,0.08l-0.92,0.72l-2.09,-0.77l-0.76,0.11l1.15,-1.99l-0.12,-0.47l-0.48,-0.02l-0.98,0.69l-1.13,1.77l-2.57,-1.54l0.71,-2.8l3.06,-6.53l0.63,-0.86l1.13,-0.52l0.72,-0.77l4.09,-1.21l0.43,-0.47l5.84,-2.19l1.42,-0.97l0.37,-0.58l-0.12,-0.6l-0.48,-0.14l-7.58,3.06l-4.34,1.05l-0.43,0.42l-0.62,-0.07l-1.71,0.85l-1.49,1.33l-1.05,1.9l-1.09,2.68l-1.81,2.83l-0.77,2.67l-1.52,-0.28l-0.8,-0.73l-1.03,-0.23l-2.28,-2.31l-1.42,-0.85l-1.98,-2.17l-0.26,-0.87l0.64,-0.61l0.91,-0.11l0.88,-0.71l1.83,-0.49l2.43,-0.05l1.09,0.46l2.12,-0.29l0.58,-0.47l1.5,-0.1l1.16,-0.81l0.66,-1.08l1.94,-0.42l-0.13,-1.51l2.72,-2.98l1.56,-0.98l0.47,-0.95l-0.22,-0.57l-1.33,-0.38l-1.3,0.38l-2.72,1.87l-1.35,1.52l-0.41,1.09l-0.82,0.68l-1.81,0.49l-1.83,1.16l-2.07,-0.21l-8.45,1.96l-1.29,-1.35l-0.66,-2.33l0.14,-0.8l1.09,-1.27l0.58,-0.03l0.69,0.86l0.67,0.17l2.71,-1.17l0.19,-0.56l-0.72,-0.69l-1.46,0.36l-2.15,-1.84l1.2,-0.55l0.75,-1.22l0.98,-0.29l0.81,-1.29l0.85,0.04l-0.24,-1.23l3.25,-0.87l0.58,0.55l1.55,-0.19l0.94,0.76l0.75,-0.39l-0.28,-0.99l-3.36,-1.64l-0.6,0.23l-0.4,-0.66l-0.6,-0.13l-1.12,1.08l-1.62,0.45l-2.23,1.52l-3.74,3.32l0.07,-0.73l-1.39,-1.38l2.95,-2.81l0.64,-0.09l0.27,-0.74l1.23,-0.42l0.23,-0.89l-0.39,-0.5l-1.5,0.07l-0.97,-1.81l-0.7,-0.3l-0.36,0.31l-0.09,0.95l-0.78,-0.45l-0.56,0.06l-0.44,1.08l-0.91,0.69l0.02,1.51l-1.09,0.35l-0.29,-1.24l-1.85,-0.94l0.27,-0.49ZM467.33,187.3l-0.02,0.69l0.08,0.54l-0.23,-0.5l0.17,-0.74ZM511.49,194.25l-0.08,0.23l-0.06,0.04l0.07,-0.21l0.07,-0.07ZM521.85,108.29l4.22,-0.05l-0.03,0.87l0.41,0.88l1.07,0.74l-3.95,0.26l-0.99,-1.01l-0.38,-1.53l-0.36,-0.16ZM462.51,44.67l-0.48,-0.1l0.11,-0.42l0.37,0.52ZM480.09,42.55l-0.16,-0.42l0.09,0.02l0.07,0.4ZM553.84,2.1l0.09,-0.04l0.0,0.03l-0.09,0.01ZM486.09,154.14l-1.65,1.09l-0.22,-0.13l0.52,-1.19l1.39,0.02l-0.04,0.21ZM569.87,660.89l-0.05,-0.21l0.07,-0.55l0.68,0.7l-0.69,0.06ZM569.08,481.26l0.24,0.11l-0.12,0.21l-0.05,-0.02l-0.08,-0.31ZM566.15,517.71l0.13,-0.53l1.96,-0.83l-0.06,0.3l-2.04,1.06ZM560.64,465.59l0.03,-1.29l0.44,0.78l0.6,0.12l1.39,-0.87l0.93,0.26l0.4,-0.27l1.43,-0.03l0.32,0.76l1.55,0.15l0.21,0.92l1.3,1.46l-0.31,1.54l-1.35,1.44l-1.17,0.57l-5.6,-4.82l-0.17,-0.72ZM567.82,657.04l0.59,-0.24l0.46,0.97l-0.38,0.0l-0.67,-0.73ZM567.16,481.62l0.8,-0.2l0.12,0.15l-0.37,0.09l-0.54,-0.03ZM563.99,454.06l0.28,-0.52l2.0,-0.55l-0.62,1.38l-1.66,-0.31ZM561.83,604.34l0.36,-1.75l1.39,-0.34l0.4,-0.87l1.27,-0.11l-2.77,2.78l-0.66,0.28ZM562.7,590.99l0.29,-0.1l0.15,0.19l-0.33,-0.12l-0.11,0.03ZM561.98,579.11l0.03,-0.21l0.16,-0.38l0.23,0.82l-0.42,-0.23ZM562.3,593.73l-0.14,-1.09l0.27,-0.29l0.22,0.48l-0.34,0.91ZM546.88,664.64l1.55,-2.5l0.88,0.0l1.25,-0.62l2.53,-0.61l3.06,0.13l4.08,4.11l1.48,3.29l-0.27,0.47l-0.49,-0.29l-2.64,-0.26l-2.99,-1.37l-2.11,-0.14l-5.37,-1.55l-0.96,-0.65ZM555.56,342.89l0.84,0.24l1.8,-0.44l0.34,1.06l-1.68,2.76l0.27,1.37l-1.29,0.66l-0.59,-0.32l-0.89,-1.38l-0.39,-3.32l0.49,-0.73l0.64,-0.27l0.47,0.38ZM551.05,487.28l1.41,0.39l0.98,-0.93l0.84,0.47l0.29,0.72l1.57,1.7l0.16,1.7l-0.27,2.48l-0.46,0.4l-1.52,6.75l-1.08,1.59l-1.24,-1.95l-1.17,-1.08l-1.25,-0.58l-0.94,-2.41l0.21,-4.01l1.63,-3.39l0.33,-1.37l0.54,-0.47ZM554.2,536.67l0.54,-0.67l0.8,0.1l-0.82,1.01l-0.52,-0.44ZM553.29,539.35l0.02,-0.17l0.05,0.01l0.01,0.12l-0.07,0.05ZM518.48,254.45l0.35,-1.71l-0.33,-1.57l1.93,-0.65l2.02,1.4l0.68,-0.02l0.3,-0.5l2.2,0.64l1.61,0.91l3.05,-0.36l0.81,-0.81l0.5,0.18l3.87,-0.8l1.86,1.09l2.86,0.73l0.78,0.87l0.71,0.07l0.33,0.39l0.94,1.57l0.34,1.25l0.99,0.64l1.02,-0.04l0.14,0.78l1.1,1.16l-0.17,0.91l0.28,0.48l1.0,0.89l1.32,0.27l-0.19,0.55l0.09,0.86l0.4,0.53l-0.16,0.98l0.84,0.64l0.74,-0.07l0.16,1.42l-1.02,0.76l-6.43,0.08l-0.92,-0.51l-5.12,0.35l-2.97,1.43l-3.27,2.62l-1.23,0.4l-1.03,-0.23l-2.95,-1.96l-1.55,-3.7l0.17,-1.66l-0.46,-0.82l0.3,-1.05l-0.47,-0.9l-0.74,-0.47l-0.91,0.24l-2.6,-0.56l-0.48,-0.67l-0.23,-3.22l0.77,-0.0l0.12,-0.63l-1.13,-1.22l-0.26,-0.96ZM542.49,343.15l1.11,-1.78l0.59,-1.7l1.13,-0.13l0.28,-0.54l0.91,-0.09l0.19,-0.59l-0.34,-0.9l0.25,-0.24l0.81,0.38l0.67,1.17l-0.8,1.23l-1.28,0.61l-1.46,1.61l-1.05,-0.25l-1.03,1.24ZM539.92,355.26l1.02,-3.29l1.77,-0.72l0.71,-1.13l-0.07,-1.13l0.47,-1.08l0.9,-0.14l0.14,-0.57l-0.89,-1.04l1.48,-1.21l0.9,-0.01l0.67,1.28l-0.6,1.55l-0.94,0.07l0.01,1.35l-0.55,0.73l0.12,0.8l-0.94,1.77l0.0,1.01l-0.47,0.5l-0.2,0.85l-2.02,0.99l-0.53,0.83l-0.81,-0.38l-0.16,-1.02ZM544.47,363.7l0.59,-0.78l0.44,-0.07l0.03,0.55l0.56,0.11l-0.77,0.79l-0.86,-0.6ZM546.32,361.77l-0.26,-0.61l-1.1,-0.61l2.08,0.52l-0.0,0.9l-0.72,-0.19ZM543.1,367.65l1.19,-0.44l0.95,0.97l-0.24,0.84l-0.95,1.27l-0.69,-0.65l-0.26,-1.98ZM491.6,444.1l0.6,-0.54l-0.26,-1.28l0.32,-1.1l-0.63,-1.23l0.66,-2.2l-0.44,-3.51l0.51,-1.23l-0.42,-0.97l0.42,-3.32l0.43,-0.97l-0.05,-1.17l0.6,-1.86l2.47,-2.98l0.48,-0.2l-0.15,1.45l0.49,1.08l0.82,-0.21l0.33,-0.69l1.19,0.7l-0.03,1.27l1.17,1.97l-0.29,0.44l-1.52,0.56l-0.23,0.9l0.81,0.97l1.34,0.7l0.53,0.65l-0.03,1.26l1.03,2.84l0.96,0.12l0.61,-0.39l0.52,-1.62l-0.04,-1.12l1.02,-2.43l0.72,0.33l-0.01,0.75l0.77,0.69l1.56,0.67l-0.42,1.38l1.36,1.37l1.5,0.21l0.63,0.62l0.85,-0.28l2.96,0.46l0.59,1.9l1.5,1.86l2.76,1.13l0.93,1.41l0.67,0.45l0.85,-0.02l0.66,0.61l1.7,-0.47l1.37,1.36l0.75,-0.07l2.34,2.78l0.66,0.36l0.28,3.89l1.81,2.28l-0.08,0.86l-2.81,1.51l-0.34,1.27l0.33,0.67l2.02,-0.2l1.22,-0.66l1.25,-0.19l0.59,-0.32l0.19,-0.61l0.65,-0.12l3.48,1.37l0.51,-0.57l-0.64,-1.28l0.26,-0.65l1.47,1.65l1.47,0.59l0.11,1.01l-1.42,-0.11l0.39,1.02l2.73,0.65l0.87,0.66l0.71,-0.04l0.09,0.37l-2.32,0.89l-0.92,1.85l-1.96,2.17l-0.72,0.34l-0.37,1.42l-0.79,-0.13l-3.55,-1.9l-1.25,0.09l-1.1,-1.13l-1.27,0.12l-1.57,-0.9l-1.68,0.2l-0.83,0.61l-0.91,-0.33l-0.6,-1.02l0.16,-0.59l1.17,-0.74l0.21,-0.8l-0.27,-1.3l-1.9,-1.28l-2.92,-0.04l-1.67,0.69l-0.24,-0.42l1.14,-2.21l0.1,-0.8l-0.5,-0.96l-0.43,-0.25l-0.73,0.12l-0.66,0.48l-0.31,0.78l-0.84,-0.15l-0.73,0.53l-0.52,-0.15l-0.94,0.53l-1.17,2.31l0.77,1.5l-0.29,1.2l0.41,0.83l-0.05,0.66l-0.67,-0.06l-0.56,0.37l-1.21,1.67l-0.65,0.42l-0.51,1.12l-0.85,-0.31l-0.98,0.2l-1.1,1.81l-0.45,3.06l-0.81,1.47l-0.8,0.38l-3.37,2.9l-1.45,0.7l-1.78,0.02l-0.58,-0.67l-0.59,-1.83l-0.22,-3.12l0.33,-1.21l-0.24,-1.47l0.26,-1.16l-0.27,-1.02l-0.84,-0.56l-0.08,-1.26l-0.32,-0.37l-0.44,0.22l-0.66,1.2l-1.18,0.2l-2.19,1.03l-2.41,-0.32l-1.34,0.23l-1.91,2.06l-1.94,0.07l-0.64,-0.91l0.24,-1.85l2.24,-3.9l3.46,-1.99l1.07,-0.94l1.19,-0.37l0.38,-0.61l-0.1,-1.44l-0.99,-1.14l0.06,-0.61l-0.61,-0.96l-0.15,-1.17l0.24,-0.73l-0.5,-0.71l0.07,-2.05l-0.31,-0.97l1.24,-4.08ZM537.12,125.64l0.14,-0.6l1.15,0.28l0.61,0.75l-0.27,0.43l-1.64,-0.85ZM528.13,339.23l0.71,0.43l0.53,-0.06l0.11,0.47l-1.79,0.18l0.44,-1.02ZM530.47,340.7l0.27,-1.09l-0.86,-1.08l0.03,-0.55l0.81,0.3l0.63,-0.45l0.4,0.44l-0.08,0.88l0.61,0.2l0.41,-0.54l0.84,0.27l1.61,-0.81l0.44,-1.19l1.15,0.08l0.29,0.86l0.7,0.66l-1.6,1.72l-1.98,0.49l-0.78,-0.68l-0.76,0.12l-0.17,0.63l1.17,2.24l-1.35,-0.46l-0.17,-1.79l-0.78,0.0l-0.15,0.27l-0.66,-0.53ZM532.8,452.93l0.06,-0.06l0.37,-0.01l-0.25,0.1l-0.18,-0.03ZM516.63,485.78l0.87,-1.45l0.09,-2.41l0.75,-1.27l0.74,-0.59l0.54,0.17l0.88,1.11l0.77,0.19l3.24,-2.28l2.59,0.08l1.19,-1.35l3.08,0.71l-0.52,1.61l0.24,2.58l-1.45,1.72l-1.8,1.19l-0.63,1.91l-1.56,1.53l-1.03,1.81l-2.6,2.52l-0.26,0.11l-0.58,-0.84l-1.09,-0.43l-1.39,0.44l-1.96,1.8l-0.27,-2.41l-1.84,-2.06l-0.26,-0.92l1.85,-2.17l0.41,-1.27ZM224.65,339.19l10.41,-29.67l1.43,2.96l1.64,2.0l1.52,0.57l0.36,0.5l3.12,1.81l3.61,2.71l0.69,2.27l2.5,3.21l4.41,3.07l1.14,1.59l2.02,0.19l0.43,0.79l2.55,1.27l0.89,-0.13l0.67,1.23l1.73,1.08l0.62,-0.07l0.17,-0.63l-0.85,-1.03l0.21,-0.64l-1.13,-1.74l0.59,0.14l1.77,1.79l0.95,0.0l0.47,-0.5l1.0,0.18l2.14,2.28l0.61,1.1l0.35,0.19l0.53,-0.22l0.79,1.3l0.41,1.51l1.35,1.18l0.3,2.21l1.24,1.35l-0.05,0.74l0.46,0.89l-0.07,0.62l-0.6,0.52l0.03,0.54l0.26,0.49l0.71,0.24l-1.13,1.23l-0.01,1.08l-1.03,-0.63l-0.84,0.22l-0.68,-0.89l-1.55,-0.09l-2.39,-1.42l-0.42,0.7l0.81,1.53l-0.59,0.64l-2.27,-1.38l-0.61,0.37l0.19,0.98l-1.03,1.69l0.38,0.97l-2.87,0.38l-0.52,0.95l0.32,0.62l1.43,0.7l1.04,1.98l1.06,0.54l1.96,0.14l0.6,0.93l0.85,0.09l1.0,1.43l1.4,0.13l2.17,1.57l4.2,0.81l1.85,1.27l1.7,0.16l3.18,0.9l0.95,-0.24l0.25,-0.72l0.94,0.49l1.06,-0.09l0.07,1.09l0.81,0.42l0.54,-0.25l0.08,-1.19l2.05,1.3l0.62,-0.31l0.42,0.25l1.94,-1.54l-0.35,0.83l0.24,0.61l0.99,-0.18l0.59,0.43l1.74,-0.54l1.01,-0.94l1.23,-0.17l1.5,-0.92l0.57,0.14l0.31,-0.29l0.65,1.06l0.47,0.09l0.44,-0.66l-0.3,-0.8l0.49,-0.26l0.42,0.71l-0.66,2.38l0.7,0.76l0.69,-0.72l0.52,1.18l-0.55,1.52l0.22,0.56l1.6,1.08l0.63,-0.33l0.33,-0.67l0.76,0.69l0.6,-0.12l1.0,0.42l0.28,0.85l0.0,2.79l-0.84,0.67l-0.12,0.8l0.98,1.49l0.07,1.06l0.49,0.24l0.68,-0.59l1.36,-4.64l0.36,0.04l-0.29,5.31l0.36,0.56l0.58,-0.02l0.67,-1.63l0.27,1.18l1.69,2.4l0.33,2.6l-0.33,0.29l0.04,1.02l-0.6,-0.47l-1.1,-0.12l-0.9,0.77l-1.36,-1.6l-0.54,-1.27l-0.48,-0.27l-0.55,0.44l0.28,2.54l0.33,0.43l0.59,-0.14l0.48,1.31l1.17,0.7l0.19,0.49l-0.23,1.01l-0.74,0.08l-0.16,0.66l1.74,0.69l0.16,3.35l0.73,0.24l0.29,-0.67l0.32,0.86l-0.15,0.65l0.75,2.08l0.66,0.37l0.18,1.47l0.96,2.27l0.74,0.41l0.48,-0.37l0.09,-0.75l-1.28,-2.85l-0.03,-0.89l-0.66,-0.99l-0.31,-2.38l-0.49,-0.66l0.48,-0.61l0.21,-2.19l0.49,0.43l-0.24,0.61l0.34,0.52l1.24,0.59l0.36,-0.6l-0.23,-0.74l0.57,-0.39l0.1,-0.95l0.64,0.96l0.49,1.67l0.49,0.32l0.53,-0.3l-0.3,-1.18l0.18,-0.47l-1.35,-3.35l0.9,-0.19l0.69,-0.85l0.05,-0.56l-1.44,-0.84l-0.69,-1.3l-0.43,-3.54l1.13,-2.31l-0.93,-2.27l-1.45,-2.39l0.26,-1.42l0.68,-1.28l2.24,-0.89l0.39,-1.05l-0.68,-0.64l0.69,-0.93l0.63,-0.21l0.86,0.6l0.74,0.1l1.65,-1.03l0.38,0.48l1.37,0.09l0.35,-0.46l0.93,0.57l0.62,-0.25l0.21,-1.44l0.26,0.42l0.57,-0.05l0.32,-0.89l0.43,1.38l0.69,0.24l0.69,-0.43l0.2,-0.67l-0.81,-1.03l0.71,-1.1l-0.12,-0.76l0.66,0.1l0.79,-0.65l0.8,0.72l1.59,-0.83l1.84,0.07l0.67,-1.61l-0.38,-1.27l1.23,-1.54l-0.22,-0.61l-0.74,-0.11l-0.53,0.38l-0.5,-0.59l-0.62,-0.1l-1.0,0.3l-0.34,0.5l-3.61,0.81l-0.52,0.97l-0.46,0.02l-0.28,0.38l0.2,1.07l0.66,0.53l-0.65,0.65l-0.46,-0.26l-0.34,-1.25l-0.49,-0.21l-0.5,0.58l-1.46,0.06l-1.41,1.66l-0.4,0.01l-0.33,-0.98l-1.25,-0.36l-0.53,-0.78l-1.51,0.09l-0.61,-0.36l-0.61,0.42l-0.6,1.52l0.93,1.49l-0.84,-0.05l-0.45,0.47l-0.33,-0.56l-1.33,-0.27l-1.07,0.49l0.27,-1.24l-0.47,-0.78l0.26,-0.86l-0.41,-0.83l-0.72,0.05l-1.0,0.75l-1.04,-0.05l0.58,-0.56l0.09,-0.69l1.44,-0.98l2.1,-3.01l0.98,-0.9l4.1,0.27l2.59,-0.6l1.16,0.09l3.15,-1.45l1.86,0.02l0.96,-0.62l2.17,-0.6l0.67,-0.76l1.17,1.06l1.42,0.59l1.74,3.52l-0.61,0.66l-0.14,0.69l0.7,3.02l-1.32,0.92l-0.26,0.97l0.52,0.49l1.0,-0.0l0.03,1.25l1.53,2.14l0.88,0.27l0.31,0.77l0.57,0.13l0.53,-0.37l1.16,0.24l-0.79,1.66l1.16,2.86l1.21,0.24l0.46,-0.19l1.07,0.69l1.32,-0.25l1.27,0.71l0.79,-0.27l0.41,-0.52l1.12,0.26l0.39,-0.42l0.19,-1.07l0.57,-0.48l-0.19,3.16l0.81,0.99l0.63,0.16l0.49,0.92l0.95,0.25l1.11,2.33l2.42,1.12l1.52,2.07l0.7,-0.17l-0.01,-0.87l0.36,-0.2l0.59,0.33l0.8,-0.29l0.82,1.22l0.68,0.04l0.28,0.41l1.29,0.55l1.18,-0.11l0.52,-0.62l0.64,0.15l0.55,-0.67l2.28,0.29l0.53,-0.76l1.37,-0.67l0.83,0.87l1.38,-0.92l1.71,0.31l0.54,0.61l1.44,0.15l0.6,0.42l0.77,-0.34l0.56,0.6l0.81,-0.12l1.67,1.07l0.52,0.98l1.97,0.13l0.21,0.38l0.58,0.14l0.45,-1.05l1.12,0.08l0.53,-0.78l0.56,0.3l1.55,0.02l0.61,-0.35l0.04,-0.64l-0.7,-1.42l-0.64,-0.13l-1.2,-1.65l0.07,-1.92l0.73,-0.05l2.04,3.21l1.0,3.57l0.85,0.32l0.5,1.26l0.89,0.26l1.78,2.05l1.65,-0.25l0.72,-0.84l0.28,0.6l0.67,-0.0l0.26,-0.78l0.73,-0.1l0.33,-0.55l-0.93,-1.05l0.67,-1.15l-0.81,-2.97l-0.64,-0.18l-0.52,0.86l-2.33,-3.23l-0.49,0.13l-0.27,0.64l-0.92,0.16l-0.57,0.49l-0.73,-0.22l-0.74,1.82l-0.41,-1.4l-1.23,-1.62l-0.18,-1.05l0.64,-0.33l0.37,-0.68l0.14,-1.19l-1.3,-1.23l0.07,-0.69l-0.36,-0.38l-0.66,-1.26l0.41,0.48l1.06,-0.68l1.19,1.44l0.43,0.11l0.47,-0.36l0.5,0.06l0.4,-0.68l0.79,0.34l0.56,-0.34l0.03,-0.46l0.72,0.42l0.51,-0.4l-0.15,-0.84l-0.96,-0.64l-0.64,-1.74l1.71,0.28l0.32,1.42l0.89,0.92l0.47,-0.05l0.35,-0.56l-0.24,-0.7l-0.5,-0.1l0.11,-0.26l0.79,0.01l0.99,0.7l0.68,1.19l0.03,0.84l1.08,0.66l-0.74,0.93l0.24,0.88l1.23,0.6l1.74,-0.66l-0.22,1.11l0.61,0.85l-0.35,0.88l-1.14,0.69l-0.38,0.64l0.03,0.7l0.42,0.48l1.07,0.06l0.37,-0.73l0.61,0.48l0.73,-0.14l0.31,-0.74l-0.45,-1.02l0.19,-0.25l1.55,-1.15l1.76,-0.78l-0.79,1.52l0.35,0.84l-1.82,5.69l0.01,2.01l-0.25,0.57l-0.9,0.08l-0.14,1.8l-0.91,0.95l-0.32,1.8l0.09,0.3l0.62,0.07l0.44,0.78l0.98,0.47l0.57,-0.12l-1.02,1.79l-0.33,1.54l0.46,0.47l0.47,-0.08l0.23,0.52l0.87,0.02l2.55,-2.56l0.6,0.59l0.53,-0.36l-2.48,3.23l0.46,0.54l1.33,-0.73l0.96,-0.12l-0.02,1.16l0.74,0.27l-0.27,1.34l0.61,1.06l-0.69,0.79l-0.87,0.03l0.12,-0.28l-0.45,-0.53l-2.25,0.7l-0.31,-1.15l0.38,-0.72l-0.29,-0.74l-0.73,0.33l-0.69,1.35l-0.98,-0.04l0.01,-1.45l-0.95,-0.71l-0.57,-0.04l-0.69,0.9l0.38,1.53l0.81,0.62l0.4,1.02l0.7,0.58l0.31,1.37l1.83,1.52l0.46,1.9l-0.39,1.29l0.13,0.48l0.5,-0.01l0.78,-1.17l0.96,-0.63l-0.09,-1.39l-0.49,-0.51l-0.53,0.65l-2.24,-4.1l0.51,-0.24l0.77,0.55l0.55,-0.22l0.47,0.8l1.82,0.12l0.73,-0.39l0.97,0.56l0.65,-0.4l0.57,-1.26l-0.84,-2.43l0.07,-1.43l0.7,-1.15l0.14,-0.87l0.71,-0.58l-0.14,-0.51l-1.05,-1.02l-0.44,-2.43l0.7,-0.87l-0.06,-0.95l-1.04,-2.12l-0.56,-0.29l-1.07,-1.42l1.36,-1.41l0.21,-0.93l-0.27,-1.18l1.24,-2.11l0.03,-0.92l0.63,-0.02l-0.22,0.42l0.57,0.39l1.08,-0.91l0.6,0.73l0.62,-0.1l0.82,0.61l0.65,-0.2l1.99,-2.51l2.93,-2.25l0.13,-2.08l0.63,-0.95l4.43,-2.67l0.26,-0.93l1.2,-0.67l0.06,-0.55l-1.85,0.31l-0.69,-0.28l0.28,-2.13l1.01,-2.08l-0.54,-1.2l0.06,-1.53l-1.1,-0.49l-0.47,0.16l0.2,-0.46l-0.32,-0.34l0.51,-0.56l-0.3,-0.73l-0.68,0.15l-0.7,0.78l-0.1,1.2l-1.12,1.89l-0.02,1.06l0.74,0.43l-0.87,0.88l-1.18,-0.03l-0.94,0.55l-1.22,-0.72l0.65,-2.28l-0.3,-1.43l0.72,0.73l0.33,-0.14l0.85,-1.72l1.24,-0.38l0.29,-0.39l-0.14,-0.89l1.26,-1.02l0.09,-0.46l-0.41,-0.23l-1.1,0.54l-0.6,0.05l-0.26,-0.32l0.56,-2.25l-0.16,-0.9l1.73,-0.7l1.06,0.47l0.5,-0.21l-1.04,1.68l0.19,2.01l0.66,0.2l2.1,-2.7l1.62,-1.46l-0.12,-0.8l-1.22,0.19l0.93,-1.77l0.02,-0.59l-1.2,-1.18l-0.99,0.12l-1.53,0.77l-0.3,1.01l-1.59,-0.04l-1.05,-0.37l-1.24,-2.45l-0.29,-1.53l-0.95,-1.18l-1.12,0.56l0.07,1.25l-0.59,0.55l-0.93,-1.15l-0.89,-0.01l-1.88,-1.41l-1.82,-2.33l-0.83,-0.12l-0.36,-0.39l-1.17,0.24l-0.59,-1.11l0.09,-2.18l-0.52,-0.53l-0.65,-0.09l-1.65,-3.41l-0.15,-2.09l0.34,-2.13l0.71,-1.18l0.85,-0.31l0.59,-2.41l0.75,0.08l0.47,-1.04l1.74,1.3l0.65,-0.46l-0.1,-0.52l-1.67,-1.17l0.04,-0.59l1.59,-1.2l0.19,-0.58l-1.22,-0.06l-2.0,1.53l-0.98,-1.14l-0.42,-1.41l-0.87,-0.86l1.19,-5.03l0.89,-1.31l-0.23,-0.76l-0.55,-0.21l-0.27,0.29l-0.14,-0.24l0.31,-0.26l0.85,0.13l0.12,-0.27l-0.49,-1.01l0.28,-1.34l-0.37,-0.46l1.13,-0.1l1.07,-2.14l0.99,-0.1l1.95,2.72l1.27,0.08l0.33,-1.37l0.76,-0.66l-0.68,-1.12l1.26,-2.02l-0.42,-0.25l-1.02,0.41l-1.72,-0.58l-0.59,-0.77l0.38,-0.56l-0.25,-0.28l1.28,-0.41l1.53,-1.72l1.55,0.02l0.34,-0.47l-0.12,-0.73l0.38,-1.08l0.84,-0.27l1.45,0.12l1.05,0.27l0.34,1.88l0.61,-0.01l0.76,-1.04l-0.31,2.51l0.32,0.45l0.51,-0.17l1.16,-2.14l0.4,0.3l0.63,-0.34l0.72,0.63l1.19,-0.48l0.0,0.99l-0.76,1.43l1.3,1.82l2.72,2.41l0.45,1.94l1.1,0.69l0.25,2.85l0.47,1.29l-0.08,2.48l-0.38,3.5l-0.66,-0.38l-0.44,0.47l0.1,0.49l0.69,1.08l1.05,0.33l0.69,0.64l-0.25,0.89l0.35,0.34l0.1,0.92l1.7,0.3l0.78,0.68l-0.29,0.6l0.79,1.63l-0.37,0.43l0.2,0.64l0.86,0.41l-0.09,0.39l1.05,1.48l-0.12,0.79l-0.65,0.57l0.7,0.38l0.22,0.75l0.7,0.16l0.82,-1.44l-0.19,-0.33l0.6,0.07l-0.26,0.55l0.2,2.13l0.6,0.35l0.28,-0.25l0.44,0.78l-3.08,0.37l-0.52,-0.86l-0.83,-0.4l-0.57,-1.55l-1.17,0.57l0.43,0.71l-1.34,0.59l0.57,0.61l-0.46,0.85l-0.77,0.42l-0.0,0.65l0.72,0.68l0.59,0.01l0.24,-0.49l0.78,-0.38l1.26,0.14l0.86,0.98l-0.74,0.34l-1.66,2.15l0.12,0.41l-2.03,1.16l-0.22,0.56l-0.65,0.01l-0.24,0.73l-1.93,1.83l0.19,0.52l2.03,0.54l0.79,-0.66l1.1,0.04l2.12,2.77l2.21,1.48l2.11,-2.04l0.1,-0.83l0.81,-0.86l1.28,0.51l-0.97,1.2l-1.68,0.68l0.02,0.7l0.44,0.23l1.49,-0.21l1.04,-0.74l0.63,0.96l1.39,-0.16l0.36,0.69l1.02,0.01l0.53,-1.03l1.52,0.89l0.09,0.25l-0.69,0.38l-0.48,-0.53l-0.61,-0.01l-0.41,0.4l0.45,0.62l-1.08,0.99l-0.25,1.61l-0.61,-0.4l0.37,-0.81l-0.42,-0.4l-0.47,0.11l-1.25,1.31l-1.69,-1.37l-0.67,0.29l0.54,1.02l1.59,1.16l3.04,3.5l0.72,0.43l-0.39,1.34l0.27,0.55l0.49,0.15l0.16,0.54l-0.27,0.74l1.3,0.85l-1.1,1.36l0.2,0.58l0.42,0.08l-0.15,0.92l0.34,0.75l-0.48,1.34l0.34,0.89l-0.25,0.79l0.36,0.47l-0.94,1.83l0.26,0.55l1.56,0.97l-0.66,0.52l-0.1,0.51l0.49,0.18l0.7,-0.25l0.29,1.8l0.46,0.61l0.83,-0.07l0.65,-0.63l-0.22,-1.21l1.21,-1.33l0.04,-1.2l0.65,-0.41l0.63,-1.78l-0.72,-0.82l-0.16,-0.8l0.66,-1.17l-0.11,0.74l0.35,0.5l0.54,-0.2l0.31,-0.62l0.2,-3.6l-0.48,-2.78l0.31,-1.38l1.95,-2.78l0.76,-1.95l0.81,-0.47l0.93,0.17l0.54,0.53l0.76,1.96l0.94,1.23l3.7,3.18l1.73,2.49l0.75,2.41l-0.07,2.09l1.18,3.88l0.07,1.43l-0.33,1.43l-0.41,0.53l-1.47,-0.53l0.0,-2.23l-0.28,-0.54l-0.57,0.02l-0.75,1.43l-0.66,0.47l-0.22,0.77l0.64,1.37l0.36,1.85l-0.72,1.8l0.07,1.19l0.8,3.46l0.92,1.49l0.26,1.46l0.61,0.85l1.03,0.56l2.33,3.5l1.5,1.53l0.14,1.62l0.55,0.42l-0.88,0.97l-0.09,1.63l0.52,0.42l0.28,-0.12l0.67,-1.15l0.35,1.43l0.77,-0.01l0.44,-2.43l0.17,0.71l0.65,0.14l0.43,-1.33l0.76,-0.29l-0.28,-1.39l0.74,-1.69l0.46,-0.2l0.65,0.81l1.18,0.53l0.87,-0.85l-0.27,-1.29l0.42,-0.51l0.1,-3.05l-0.63,-1.65l1.23,-3.16l1.2,-1.55l0.47,-1.25l1.64,-1.83l-0.14,-1.24l0.37,-0.46l-0.24,-1.07l0.4,-0.09l0.33,-0.65l-0.43,-0.61l0.05,-1.52l1.03,-2.63l-0.5,-0.76l-0.17,-3.02l0.49,-2.13l0.77,0.12l0.63,-0.55l0.3,0.42l1.19,0.27l0.47,-0.33l0.01,-0.4l1.54,-0.23l1.32,0.5l0.47,-0.39l0.12,-1.02l-0.57,-0.98l-0.96,-0.26l-0.63,0.3l-1.06,-0.4l0.51,0.1l0.69,-0.59l-0.1,-1.13l1.13,0.19l0.47,-0.25l-0.18,-1.05l-0.94,-0.34l0.68,-0.31l1.87,0.46l0.54,-0.81l-0.44,-0.59l-1.29,-0.2l-0.34,-0.92l-1.18,0.19l-0.77,-2.03l-1.4,0.16l-0.45,-0.44l-0.8,-0.13l-0.82,-1.5l0.81,-0.1l0.0,-0.83l-0.73,-0.45l0.12,-0.35l-0.34,-0.42l0.55,-0.16l0.45,-1.01l-0.72,-0.74l-0.72,0.27l0.02,-1.04l0.33,-0.57l0.63,-0.15l-1.18,-2.09l0.63,-0.72l-0.04,-1.08l0.77,-0.79l-0.07,-0.77l1.71,0.98l0.43,-0.68l0.88,-0.22l0.49,-0.61l3.23,-0.54l0.37,0.46l0.88,0.11l1.22,1.29l2.32,1.02l2.79,0.38l0.9,-0.59l1.61,0.41l1.0,-0.32l1.52,0.13l0.48,-0.34l0.15,0.26l-0.65,0.87l0.25,0.5l-0.91,0.6l0.36,0.36l0.88,0.07l0.55,0.68l-5.0,-0.84l-0.65,0.42l0.17,0.76l6.94,1.74l-0.26,0.19l0.21,0.47l1.55,1.36l-0.4,0.23l-0.32,1.25l0.49,0.56l1.98,-0.41l0.2,-0.61l1.62,0.05l2.08,1.18l0.9,-0.0l0.36,1.29l-1.11,0.95l-0.49,1.44l-0.68,0.07l-0.43,1.13l-2.03,1.16l-0.43,1.03l0.48,0.12l1.55,-0.74l0.91,-0.06l0.65,0.54l0.22,0.76l0.47,0.18l0.96,-0.97l1.12,1.62l0.07,2.62l-2.43,2.77l-1.12,-0.34l-0.42,0.56l0.02,0.92l-0.79,0.69l-0.64,-1.43l-1.22,-0.48l-0.47,-0.09l-0.46,0.43l0.73,1.2l-1.29,-0.23l-1.57,-1.04l-0.43,0.26l-0.18,0.63l0.8,0.9l-0.48,-0.02l-0.29,0.73l0.35,0.74l1.0,-0.01l1.03,0.92l-0.87,0.27l-0.13,0.58l0.6,0.71l0.78,0.37l0.54,-0.28l-0.48,2.01l0.5,0.77l1.45,0.33l0.14,0.4l-0.5,1.79l0.93,2.29l2.14,1.89l1.82,2.29l1.57,1.09l1.69,2.53l0.22,0.52l-0.41,1.74l-0.28,5.75l-0.53,0.8l0.05,0.96l-1.02,0.03l-0.28,0.58l-1.06,-0.37l-1.34,0.86l-0.5,1.2l0.16,0.41l-0.46,0.91l0.08,0.5l-0.63,1.14l0.07,0.98l-1.52,0.1l-0.06,0.63l-0.59,0.4l-0.65,1.2l-0.23,1.08l-1.73,0.03l-1.48,0.55l-0.36,1.57l-2.25,2.59l-0.38,0.05l-0.41,-0.12l-0.13,-0.75l-0.94,-1.23l-0.35,-1.01l-1.56,-0.52l-1.22,-1.46l0.84,-0.02l0.3,-0.94l-0.88,-1.37l0.48,-1.38l-0.41,-1.56l-0.42,-0.2l-0.33,0.34l-0.11,1.16l-0.7,0.65l-0.47,1.48l-0.76,-0.18l0.05,-1.01l-0.3,-0.35l0.54,-0.56l-1.46,-1.06l-0.06,-2.04l-3.54,-0.91l-0.73,-0.56l-0.69,0.1l-0.05,1.03l0.57,0.63l-0.96,0.18l-1.62,1.09l-0.24,1.14l0.19,0.5l0.92,0.71l1.52,-0.57l0.86,-1.83l0.42,-0.12l0.25,0.31l-0.33,0.39l0.98,0.58l-0.37,0.78l0.37,0.41l2.33,0.87l-0.55,0.56l-0.01,0.63l1.17,0.78l1.2,-0.25l-0.39,1.76l2.5,2.69l0.45,0.81l0.25,1.95l0.7,0.44l0.56,1.17l-1.31,0.22l-1.3,-0.9l-0.32,-0.92l-0.59,-0.46l-1.33,0.72l-0.35,-1.24l-1.17,-0.96l-0.48,0.19l-0.76,1.63l2.26,2.97l-1.28,-0.84l-1.45,-0.18l-0.77,-0.79l-1.0,0.26l-1.07,-1.4l-0.6,0.07l-0.34,1.21l-0.78,-4.09l-0.84,-1.71l-0.66,-0.37l-0.86,0.23l-1.97,1.36l-0.9,-0.22l-1.74,0.35l-1.03,-0.32l-0.59,-0.68l-0.45,0.07l-0.33,0.62l-1.44,-0.65l-0.35,0.93l-0.6,-0.32l-0.75,0.2l-0.14,0.54l0.61,0.87l-0.56,0.05l-0.22,0.59l1.71,2.75l2.48,0.54l3.71,1.93l-0.76,1.22l-0.06,1.4l-0.48,0.53l-1.03,0.33l-0.22,1.04l-1.73,0.86l-0.59,2.04l0.31,1.26l-0.58,1.19l-1.1,0.64l-1.09,1.77l-1.33,0.59l-0.29,0.88l-0.53,0.25l-0.28,0.57l0.29,1.02l-2.17,1.42l-4.42,0.04l-1.02,-0.44l-1.24,-0.93l-0.92,-1.6l-1.21,-1.3l-1.96,-1.11l1.98,0.37l0.47,-0.37l-0.12,-0.47l-3.93,-1.49l-0.91,0.15l-1.03,-0.58l-0.37,-0.92l-1.22,-0.74l-0.92,-1.12l-0.79,-0.14l-1.45,-1.41l-2.52,-0.27l-0.57,0.23l0.01,0.69l1.88,1.05l0.14,0.7l-2.03,-1.36l-1.24,0.26l0.05,-0.62l-0.46,-0.37l-1.47,0.42l-6.35,-0.91l-1.26,-0.56l-1.67,0.63l0.02,0.64l3.84,2.87l0.66,-0.16l0.12,-0.54l-0.83,-1.67l4.33,0.96l4.62,1.73l1.79,1.3l1.04,1.58l1.15,0.81l0.64,2.1l1.78,1.27l1.28,2.27l1.01,-0.19l0.6,0.41l6.81,0.99l1.16,-0.43l1.53,0.37l0.72,-0.68l1.26,0.62l1.23,-0.17l2.44,0.59l-0.02,0.57l0.92,0.98l-0.42,0.83l0.18,0.8l-1.03,1.03l0.2,0.74l-0.68,0.55l-0.63,1.25l-0.46,2.22l-0.67,0.57l-0.74,-0.22l-0.3,0.43l0.01,2.02l-0.48,1.22l-1.97,1.13l-0.52,3.2l-1.35,1.99l-0.11,0.53l0.4,0.72l-0.74,0.93l-0.94,-0.04l-2.19,1.87l-1.48,0.78l-0.44,0.77l-1.35,-0.65l-0.63,0.19l-1.4,-1.05l-1.02,-2.09l-0.48,0.02l-0.39,0.58l1.13,2.58l-0.8,-0.25l-0.43,-0.5l-0.74,0.08l-0.86,-0.94l-0.48,0.08l-0.22,0.53l-0.47,-0.49l-0.61,-0.01l-0.37,-0.42l0.39,-0.09l0.34,-0.6l-0.14,-1.56l-0.38,-0.69l-0.64,0.01l-0.79,1.51l-0.87,0.09l-1.12,0.66l-0.05,0.72l0.93,0.65l0.44,-0.18l0.48,1.07l-0.19,0.66l-0.41,-0.19l-0.73,0.47l-0.86,-0.9l-0.72,0.05l-0.46,0.46l1.37,1.56l0.33,1.12l1.01,1.2l-0.95,0.21l-0.29,0.68l0.41,0.36l-0.92,1.77l-0.74,-0.24l-0.59,0.62l-0.56,0.01l-0.23,-0.94l-1.65,-0.78l-0.76,0.87l-0.04,0.64l0.69,0.29l0.5,-0.22l0.07,0.37l-1.46,0.62l-1.33,0.1l-1.96,-1.32l-0.77,0.03l-1.06,-1.28l-1.28,-0.65l-1.21,0.15l0.04,-0.54l-0.47,-0.6l-0.51,0.06l-0.35,0.5l-1.27,-0.1l0.67,-0.57l-0.27,-0.54l-1.23,-0.2l-0.67,1.26l-2.38,-0.59l-0.99,-0.97l-1.95,-0.67l-0.56,-0.85l-1.09,-0.11l-0.4,-0.69l-0.98,0.04l-0.68,-0.73l-2.44,-1.09l-1.31,-1.52l-0.1,-1.25l-0.75,-0.16l-0.38,-0.56l-0.65,0.04l-0.08,0.58l0.7,0.89l0.13,1.06l0.71,1.09l-0.06,0.3l-1.2,-0.06l-0.41,0.49l-0.05,0.4l0.61,0.58l0.54,1.53l2.55,1.43l1.53,-0.47l0.27,-0.5l-1.31,-0.78l-0.63,-1.04l0.13,-0.26l2.22,1.83l1.8,0.9l1.13,0.19l1.16,0.98l0.55,0.05l0.82,-0.64l0.64,1.4l1.31,0.07l0.51,0.42l-0.34,1.0l-0.74,-0.38l-0.82,1.21l-1.45,0.8l0.07,0.56l0.82,0.62l1.5,-0.61l0.41,0.38l0.63,-0.18l0.29,-1.37l1.35,-0.48l0.53,-0.63l1.38,-0.66l1.17,1.1l0.19,1.32l1.74,1.14l-0.1,0.55l0.37,0.42l1.93,-0.08l0.94,0.83l0.59,-0.3l0.22,0.25l-0.31,0.34l0.34,0.65l2.0,0.84l-0.34,0.61l0.51,1.75l-0.36,0.9l0.41,0.47l-0.04,1.6l0.25,0.32l-0.84,0.97l-0.23,0.91l-2.1,-0.17l-1.55,1.08l-0.28,0.73l-0.67,0.49l-1.01,0.17l-0.08,0.61l-6.01,-1.84l-0.48,0.42l0.11,0.84l-1.42,-0.68l-1.4,0.44l-0.18,1.01l1.52,1.96l-0.01,0.45l1.0,0.46l2.05,0.27l0.42,0.21l-0.02,0.44l-0.74,0.94l-0.91,-0.27l-0.08,-0.97l-0.79,-0.23l-0.79,0.25l-0.1,0.46l-0.81,0.57l-0.29,-0.1l-0.11,-0.96l-0.66,0.08l-0.71,-0.69l-0.56,0.33l0.62,1.7l-0.15,1.0l-1.28,0.07l-0.16,1.92l-0.88,0.18l-0.01,0.68l1.78,0.63l-0.08,0.63l-0.47,-0.64l-0.62,-0.04l-0.47,-0.48l-3.58,-1.19l-0.51,0.14l0.08,0.53l0.58,0.48l3.52,2.17l-0.17,0.39l-0.49,-0.41l-0.97,-0.02l-0.42,0.2l0.01,0.34l-0.95,0.34l-0.3,0.85l0.81,0.74l-0.33,0.5l-0.6,0.02l-0.24,0.51l-1.17,-0.68l-0.29,0.48l-0.38,-0.11l-0.51,0.37l0.15,0.47l0.91,0.72l-0.58,0.06l-0.12,0.57l-1.72,-0.71l-0.48,0.61l0.55,0.71l-0.52,0.41l0.0,0.75l1.48,0.65l0.15,0.47l-0.35,0.17l-0.06,0.59l0.5,0.75l-0.94,0.27l-2.33,2.14l-0.8,0.09l-1.42,2.04l0.19,1.66l0.96,0.33l0.02,0.67l-0.63,0.23l-1.46,-0.58l-0.43,0.57l0.86,1.7l-0.83,1.09l0.32,1.46l-0.9,0.8l-1.03,2.78l-1.06,0.83l-0.64,1.83l0.06,0.76l-0.95,1.43l-0.28,1.75l-1.44,-0.29l-0.49,0.23l-0.08,0.62l-0.78,0.49l1.17,0.74l0.47,1.38l-1.03,2.38l0.22,1.29l-0.39,0.88l0.08,1.0l-0.53,0.41l-0.4,1.05l-33.99,-2.48l-33.79,-3.8l10.54,-78.34l0.16,-3.27l-1.13,-0.63l-11.88,-3.86l-18.57,-6.61l-25.7,-9.97l-1.81,-1.05l-2.03,-2.19l-7.01,-13.93l-14.83,-3.67l-12.27,-15.45l-13.32,-18.01l-12.5,-18.28l-10.27,-16.15ZM431.55,497.53l0.31,-0.12l0.17,0.01l-0.2,0.26l-0.28,-0.15ZM459.97,461.11l0.41,0.12l0.06,0.53l-0.42,-0.04l-0.04,-0.61ZM466.33,460.55l0.16,0.24l-0.01,0.0l-0.15,-0.24ZM457.44,422.81l-0.21,0.13l-0.28,-0.01l0.49,-0.12ZM510.55,414.28l0.09,0.15l-0.04,0.09l-0.06,-0.23ZM452.71,352.12l0.03,0.15l-0.01,0.1l-0.08,-0.08l0.07,-0.17ZM410.05,384.51l0.12,0.01l-0.05,0.33l-0.07,-0.28l-0.01,-0.06ZM408.32,373.23l-0.03,-0.49l0.36,-0.47l-0.09,0.57l-0.23,0.4ZM318.64,387.32l0.17,-0.15l0.1,-0.2l-0.02,0.64l-0.25,-0.3ZM318.94,386.46l-0.03,-0.21l0.0,-0.15l0.04,0.09l-0.01,0.27ZM321.06,364.45l0.05,-0.18l0.03,-0.08l0.11,0.08l-0.19,0.18ZM329.96,363.12l-0.02,-0.07l0.05,-0.02l-0.02,0.09ZM343.89,363.99l-0.01,-0.29l0.6,-0.07l-0.05,0.13l-0.54,0.22ZM393.29,373.56l-0.08,-0.14l0.13,-0.03l-0.03,0.08l-0.02,0.08ZM393.36,373.34l0.07,-0.35l0.01,-0.02l-0.02,0.16l-0.07,0.2ZM431.18,350.11l0.25,-0.55l0.38,-0.32l-0.44,0.76l-0.19,0.11ZM427.74,295.54l-0.28,-0.5l-1.09,0.54l-2.24,-0.49l-0.57,0.24l-0.05,-0.78l0.27,-0.75l4.16,-0.81l0.19,0.78l0.47,0.35l-0.54,0.32l0.1,1.06l-0.41,0.05ZM524.18,151.95l-0.31,-0.7l1.09,-0.68l0.05,0.73l-0.83,0.65ZM520.3,200.25l0.21,-1.47l1.52,-2.11l0.89,-2.29l0.45,0.01l0.45,0.38l-0.01,0.52l-1.54,2.07l-0.21,0.77l0.31,1.0l0.68,0.66l-1.45,0.22l-0.62,0.7l0.01,0.56l-0.7,-1.0ZM420.43,181.62l0.62,-0.87l-0.12,-0.26l0.61,1.02l0.74,-0.23l0.77,0.53l0.67,-0.11l0.25,-0.84l-0.59,-0.28l0.66,-0.4l-0.11,-0.59l-1.42,-0.84l-0.59,-0.77l-0.57,-0.08l-0.08,-0.91l0.74,-0.14l0.39,-0.81l0.69,0.51l0.79,-0.67l0.42,0.07l0.53,-0.75l-0.33,-0.56l1.43,-0.16l1.18,-0.54l0.61,0.36l1.21,0.1l1.1,1.39l1.08,0.31l0.38,0.43l2.24,0.35l0.31,1.19l0.93,0.15l0.49,0.77l1.0,-0.0l0.77,-1.07l1.13,0.45l0.38,1.24l1.53,1.97l0.6,1.46l-0.84,3.95l-2.07,2.49l0.7,1.8l0.78,-0.03l0.3,-0.47l-0.59,-0.65l1.22,-0.88l1.63,-2.96l-0.03,-0.57l1.81,0.83l1.15,-0.54l0.96,0.52l1.39,-0.57l0.88,-1.01l2.88,-0.6l2.66,1.15l0.56,1.25l1.55,0.93l0.21,1.53l-0.52,0.16l-1.29,-0.61l-0.43,-0.79l-0.69,0.17l-0.29,0.65l-1.37,-0.9l-1.24,0.23l-0.33,0.39l1.0,1.43l2.43,0.35l1.98,0.83l0.76,0.64l0.58,-0.43l6.3,2.56l0.54,1.01l-0.8,1.13l-6.11,0.17l-0.27,0.43l-3.55,-0.91l-0.51,-0.68l-2.16,-1.05l-0.47,0.09l0.11,0.74l1.8,1.17l-0.87,1.04l0.22,0.54l0.63,0.1l0.57,-0.36l2.53,0.82l-0.13,0.53l-0.68,0.38l0.4,0.61l-1.39,-0.03l-0.63,0.45l0.06,0.61l0.45,0.23l-0.04,0.35l0.66,0.74l-1.13,0.97l0.03,1.86l0.32,0.37l0.54,-0.31l0.36,-1.43l1.24,-1.45l0.61,0.3l0.94,-0.69l-0.48,1.34l0.07,0.44l0.69,0.2l1.1,-1.51l0.31,0.54l0.62,0.17l0.44,-0.38l0.16,-0.85l0.75,0.45l0.75,1.32l-0.52,1.8l0.14,0.99l0.86,0.09l1.06,-1.42l0.76,0.96l0.76,0.34l0.09,0.43l-0.48,2.76l-0.64,0.38l-1.29,-0.1l-0.85,1.01l-0.08,0.71l0.79,0.81l0.97,-0.17l0.63,-0.76l0.88,0.04l0.58,2.19l1.33,1.51l1.1,-0.18l0.32,-0.42l0.04,-1.11l-0.83,-2.81l0.71,-0.81l0.06,-0.55l1.86,2.58l0.66,0.4l-0.56,0.98l0.98,0.87l1.65,-1.92l1.04,-0.67l1.11,1.8l-0.58,0.81l0.39,0.39l1.01,-0.17l0.45,-1.42l-0.54,-1.26l0.93,-1.27l0.7,0.48l0.36,1.04l1.75,1.74l1.38,0.04l0.9,0.88l-1.19,1.0l-0.12,0.48l0.43,0.23l1.29,-0.23l1.3,-1.0l1.02,-0.18l2.85,0.31l0.41,-0.42l-0.27,-0.56l-1.61,-0.38l-0.79,-0.85l-1.13,-0.39l0.55,-0.49l1.65,-0.56l0.47,-0.54l0.83,0.38l0.6,-0.27l0.78,0.21l0.5,-0.41l-0.36,-0.56l1.46,-1.38l0.81,-0.05l1.7,0.61l0.43,-0.3l0.0,-0.65l-0.7,-0.24l-0.07,-0.44l1.79,-0.55l0.71,-1.27l1.02,-0.43l0.51,-0.91l0.4,-0.06l0.8,0.56l0.66,-0.16l0.98,1.09l1.24,-0.18l0.48,0.26l2.88,-2.17l1.62,-0.66l6.9,0.84l-0.86,2.39l0.34,0.6l1.83,0.38l2.8,-0.86l0.35,0.42l0.67,0.03l1.39,0.89l-0.02,0.68l0.38,0.41l-1.7,1.15l-0.16,0.44l0.43,0.53l3.83,-0.52l0.4,1.14l0.81,0.46l-0.08,0.99l-0.45,0.8l0.23,0.56l0.68,0.19l-0.62,1.94l-1.15,0.29l-0.61,0.94l-0.12,0.99l-2.38,1.5l-0.22,0.7l1.13,1.01l0.06,0.7l-0.74,0.86l0.17,0.93l1.8,1.16l0.1,0.54l-0.72,0.82l0.74,1.02l-0.36,0.53l0.43,1.62l-0.33,0.76l-1.04,-0.02l-0.56,0.57l-3.59,0.03l-1.4,0.66l-2.42,2.46l-1.63,-0.24l-1.11,-0.67l-0.68,-0.05l-0.22,-1.01l-0.56,-0.28l-0.45,0.28l-0.09,0.71l-0.43,0.48l-0.82,-0.18l-1.04,-0.65l-1.16,-2.26l-0.11,-1.45l0.42,-1.04l-0.51,-1.31l-0.9,-0.15l-0.82,-0.5l-0.89,-1.16l-0.53,-0.06l-0.57,0.68l0.32,1.3l1.36,1.75l-0.71,4.18l-0.5,0.52l-2.57,0.31l-1.28,0.93l-2.03,0.15l-0.77,-0.44l-0.91,0.47l-0.44,-1.19l0.03,-2.55l-0.49,-0.71l-0.63,0.38l-0.32,1.27l0.34,2.55l-0.53,0.71l-0.65,-0.02l-0.94,-3.83l-0.66,-0.63l-0.53,0.61l0.54,3.14l-0.46,0.77l-2.58,0.37l0.09,-1.23l-0.56,-0.82l-0.08,-0.83l-0.51,-0.24l-0.56,0.5l0.04,1.45l-0.61,1.23l-1.4,-0.97l-0.61,-1.79l-0.72,-0.27l-0.32,0.41l0.07,1.69l0.93,1.46l-1.06,0.13l-0.41,-0.89l-0.68,-0.07l-0.22,0.84l-0.85,0.11l-0.38,-0.69l0.36,-0.58l-0.42,-0.53l-0.88,0.34l-0.4,1.26l-0.87,0.51l-0.26,-1.09l-0.49,-0.31l-0.81,0.91l-0.89,0.1l-0.26,-0.49l-0.7,-0.14l-0.33,0.53l-1.38,-0.34l-0.03,-2.5l0.74,-3.07l0.68,-0.64l-0.28,-0.42l-0.88,-0.1l0.12,-1.14l-0.49,-1.32l-0.43,-0.3l-0.59,0.36l0.09,0.81l-0.57,0.3l-0.69,3.45l-0.18,-1.92l-1.09,-1.3l-0.58,-0.11l-0.18,0.41l0.52,1.38l-0.13,0.8l-0.77,-0.66l-0.59,0.1l0.33,1.26l0.65,0.72l-0.25,1.63l-0.31,0.33l-1.04,0.01l-0.32,0.75l-0.91,-0.11l-0.58,0.47l-1.14,0.13l-0.42,-1.29l-0.5,-0.03l-0.45,0.65l-1.0,-0.68l0.06,-0.86l-1.62,0.41l-0.83,-1.03l0.07,-1.6l-0.41,-0.39l-0.98,0.32l-0.43,0.66l1.62,-2.82l-0.06,-1.44l-0.53,-0.32l-0.68,0.4l-1.44,2.73l-0.63,0.11l-0.39,0.88l-0.56,-0.03l-0.27,0.39l0.02,1.25l-0.45,-0.04l-0.69,-0.52l0.31,-0.55l-0.34,-0.72l-0.89,-0.22l-1.44,-1.47l0.36,-2.51l-0.31,-1.34l-0.84,-1.55l0.0,-0.83l0.9,-0.12l0.26,-0.31l-0.42,-0.95l0.21,-0.77l-0.59,-0.3l-0.96,0.39l-0.97,-1.66l0.42,-2.58l0.6,-0.73l-0.15,-0.58l-0.45,-0.11l0.38,-1.33l1.06,-2.19l0.66,-0.34l0.58,-0.83l-0.38,-0.83l0.34,-1.07l-0.84,-1.92l0.44,-1.44l-0.1,-1.55l-0.43,-0.71l-1.28,-0.76l-0.21,-0.78l-0.45,-0.32l-0.48,-1.12l-0.14,-2.73l-0.53,-0.76l-0.27,-1.33l-0.7,-0.59l-0.62,-1.36l-0.06,-1.36l-0.58,-0.68l-0.69,-0.15l-1.98,1.44l-0.45,-0.4l-0.45,0.11l-0.65,1.31l-1.32,0.09l-0.78,-0.57l-2.24,0.12l-0.43,-1.01l-0.43,-0.02l-0.41,-0.61l-2.91,-1.03l-0.33,-0.64l-0.99,0.32l-1.26,-0.4l-0.71,-0.86l-0.49,-1.5l1.28,0.15l0.56,-0.27l1.17,-2.1l-0.46,-0.51l-1.06,1.03l-0.91,0.17l-0.01,-0.56l-0.86,-0.18l-0.62,-1.38l-0.77,-0.19l-0.41,-1.23l-1.13,-0.56l-1.03,0.14l-0.19,-0.33ZM451.64,232.47l0.2,0.49l-0.18,-0.03l-0.02,-0.46ZM519.52,222.67l0.67,0.01l0.3,-0.74l1.12,-1.04l0.93,0.21l0.91,1.92l0.6,0.41l-2.49,1.36l-0.4,0.49l-1.28,-0.76l0.02,-1.18l-0.38,-0.68ZM455.43,199.69l0.61,-0.68l1.56,0.5l-0.2,0.22l-1.97,-0.04ZM431.2,193.09l-1.37,1.01l-1.29,-0.29l0.02,-0.49l1.44,-0.32l0.43,-0.6l0.46,0.03l0.32,0.66ZM521.01,346.84l0.26,0.12l-0.6,-0.0l-0.32,0.78l-0.2,-0.77l0.85,-0.13ZM521.4,347.02l0.93,0.01l0.12,0.67l-0.68,-0.07l-0.37,-0.61ZM519.42,369.27l0.08,-0.17l0.17,0.21l-0.24,-0.04ZM514.49,412.03l0.0,-0.0l0.0,0.0l-0.0,-0.0ZM514.67,412.23l0.25,0.63l0.65,0.04l0.46,0.43l0.54,-0.1l-0.22,0.67l-1.73,-1.07l0.07,-0.61ZM505.16,417.47l-0.03,-0.82l2.73,1.32l0.45,-0.06l0.16,0.55l2.41,1.63l0.11,1.35l-0.63,0.61l-0.0,0.58l-1.02,0.94l-1.01,-0.16l0.22,-0.72l-0.29,-1.85l-0.69,-1.45l-1.07,-0.84l-0.77,-0.06l-0.57,-1.01ZM512.09,423.78l0.53,0.2l-0.02,0.3l-0.57,0.11l-0.35,0.62l-0.41,-0.06l-0.04,-0.46l0.86,-0.71ZM512.96,424.68l0.64,-0.22l1.49,-0.08l-0.08,0.85l-0.44,0.51l-0.87,-0.66l-0.86,0.02l0.12,-0.43ZM512.86,421.59l0.72,-0.05l-0.36,0.47l-0.37,-0.42ZM512.54,339.29l0.85,-0.28l0.88,0.7l-0.13,0.13l-1.6,-0.55ZM509.23,194.49l0.2,-0.25l0.21,-0.1l-0.34,0.37l-0.08,-0.02ZM505.41,340.75l-0.75,-0.57l0.04,-0.62l1.46,0.3l-0.75,0.43l-0.0,0.46ZM499.85,419.2l0.52,0.39l0.5,-0.13l0.35,0.5l-0.05,0.68l1.48,2.0l1.39,3.84l-0.75,1.32l-0.63,-0.38l-0.43,-1.69l-1.54,-0.95l-0.49,-0.74l-0.75,-3.59l0.0,-0.77l0.39,-0.49ZM493.31,188.08l0.28,0.32l-0.08,0.36l-0.23,-0.13l0.04,-0.54ZM483.52,380.65l0.67,-0.83l0.13,-0.81l-0.21,-0.83l-0.81,-0.49l-0.21,-0.47l0.58,-0.94l0.02,-1.25l1.29,-2.23l1.7,1.75l-0.11,2.22l0.6,2.9l-0.21,2.26l-1.11,2.16l-1.73,-1.43l-0.61,-2.01ZM484.26,162.01l0.42,-0.54l1.29,0.04l0.41,1.15l0.59,0.47l-1.04,0.74l-0.12,-1.24l-0.73,-0.56l-0.81,-0.06ZM479.18,334.69l0.76,0.01l0.72,-0.57l1.82,0.89l1.27,-0.58l0.97,2.02l-1.78,0.37l-1.64,-0.88l-0.73,0.52l-0.98,-0.67l-0.41,-1.12ZM427.77,94.98l0.27,-1.04l1.22,0.23l1.58,2.02l1.66,0.75l2.27,0.53l1.49,-0.22l1.8,1.72l0.71,-0.12l-0.07,-1.04l-1.53,-2.32l1.04,-1.26l2.04,-0.47l0.28,-0.54l-0.32,-0.43l-1.53,-0.55l-0.51,-0.62l-0.49,0.02l-0.67,1.12l-1.16,1.05l-1.73,0.26l-0.95,-1.25l1.76,-0.53l0.36,-0.72l-0.13,-0.61l-0.59,-0.16l-0.52,0.52l-0.38,-0.02l-0.17,-0.43l-0.59,-0.06l-1.26,1.09l-1.42,-1.64l-0.89,-0.42l0.39,-1.21l0.99,0.11l0.05,-1.01l0.58,-0.25l1.6,0.63l1.03,0.79l0.57,-0.4l-0.16,-1.39l-0.97,-0.57l-0.46,-1.38l-1.04,-0.82l0.5,-0.41l0.24,-0.89l-0.35,-0.92l2.83,0.12l1.34,-0.35l1.75,1.38l1.46,-0.18l1.09,0.47l0.43,0.81l0.49,0.02l0.68,-0.57l-0.98,-1.99l-1.81,-0.95l-0.65,0.14l-0.37,-0.98l0.08,-0.59l2.29,-0.25l0.33,-0.54l-0.22,-0.59l-0.79,-0.19l-0.09,-0.47l-0.43,-0.24l-0.89,0.57l-0.53,-0.18l-1.14,-0.9l0.69,-0.71l-0.44,-0.87l-1.26,0.54l-1.23,-0.4l0.12,-0.39l1.22,-0.53l0.4,-0.53l-0.3,-0.6l-1.05,-0.2l0.81,-1.06l0.41,-1.84l1.29,-1.0l1.27,1.08l-0.15,1.11l0.69,0.56l0.53,-0.28l0.4,-0.76l1.71,-0.79l-0.15,-1.22l-1.04,-0.57l1.28,-0.11l1.29,0.95l1.89,-0.69l0.35,-0.73l0.17,-1.89l-0.74,-1.46l-1.56,-0.33l-1.47,0.36l-0.94,-0.39l-0.74,-0.85l0.69,-1.58l0.01,-0.89l1.83,0.73l0.57,1.15l0.83,-0.76l-0.19,-1.48l0.65,0.25l4.27,3.47l1.67,2.64l0.03,1.58l-0.54,0.38l0.08,0.45l1.58,2.67l0.05,1.18l1.5,3.26l0.33,2.1l1.72,1.38l0.43,1.3l-0.69,1.44l0.13,1.03l3.34,0.83l1.0,2.0l0.82,-0.11l-0.26,-1.63l1.61,-0.09l1.03,1.58l-0.84,1.74l0.33,0.58l0.36,-0.03l-0.07,1.31l-0.63,0.9l0.51,2.05l0.66,1.22l2.62,2.67l0.66,-0.16l0.3,-0.53l0.72,0.66l0.52,-0.32l0.36,0.98l0.48,0.39l1.0,-0.56l1.79,0.15l0.33,1.45l0.75,1.34l-0.86,0.65l-0.4,1.26l-0.74,0.59l-0.15,0.63l0.41,0.46l0.79,-0.18l1.22,-1.54l-0.58,6.24l-1.43,2.18l-0.05,0.94l0.36,0.77l0.79,0.39l0.5,-0.31l0.55,-1.76l0.49,-0.46l0.36,0.13l0.08,1.12l0.63,0.08l0.72,-0.98l-0.53,-1.25l0.22,-0.34l1.53,-0.13l1.13,1.76l-0.41,1.03l0.43,1.1l-0.44,0.91l0.63,0.75l0.63,-0.04l0.77,-2.0l0.25,-2.81l1.45,4.01l2.55,4.05l-0.0,0.59l-1.1,0.7l-0.56,1.1l-0.88,0.74l-4.99,2.97l-0.41,2.41l-0.29,0.19l-0.82,-2.36l-0.31,-0.23l-0.51,0.23l-0.12,2.12l0.35,1.83l-0.38,1.01l-1.35,1.8l-1.23,3.93l-0.88,-1.19l-0.62,-3.1l-0.01,-3.36l0.86,-1.09l0.2,-2.51l-0.74,-0.07l-0.73,1.99l-1.25,0.49l-0.29,1.37l0.01,3.91l0.52,2.92l-0.6,0.11l-0.47,0.64l0.43,0.7l0.56,-0.32l0.79,0.09l0.54,1.32l0.01,0.98l-0.55,1.68l-0.53,0.24l-1.61,-3.56l-1.26,-0.29l-0.63,0.4l0.24,1.93l1.14,3.26l-1.23,6.18l-0.61,-0.32l-1.0,-1.97l-0.59,-2.02l-2.34,-4.18l-0.79,-2.67l-0.53,-0.43l-0.56,0.18l-0.33,0.62l0.12,2.33l0.44,1.87l1.02,1.16l1.11,3.98l-1.18,-0.05l-0.09,-0.94l-1.2,-1.69l-1.01,-0.29l-1.17,0.31l-1.2,-0.15l-0.27,0.75l0.37,0.58l1.69,0.52l-0.14,0.89l0.49,1.36l-0.15,0.61l-1.23,-0.2l-1.35,0.21l-1.56,-0.79l-2.05,-0.4l-1.24,-1.3l-0.48,-0.07l-0.78,0.58l-0.64,-1.58l0.37,-0.7l-0.22,-0.44l-0.47,-0.21l-0.89,0.54l-0.63,-0.45l-0.1,-0.8l-1.3,-1.2l-0.38,-1.65l0.28,-0.21l1.46,0.33l0.74,-0.73l2.95,-0.62l0.86,0.49l0.55,-0.29l0.05,-1.03l-0.43,-0.4l-0.49,0.13l-4.38,-1.38l-0.81,-0.7l-0.67,0.1l-0.6,0.73l-1.14,0.23l-0.67,-1.1l0.51,-0.55l-0.11,-0.64l-0.97,-0.04l-1.04,-1.94l0.67,-0.03l2.14,1.28l0.87,-0.29l0.09,-1.05l-2.64,-2.05l-1.57,0.05l-0.31,-1.14l-1.48,-2.49l1.63,-1.14l1.69,-0.35l1.33,-2.87l2.16,0.72l0.8,-0.47l2.17,0.38l2.04,-0.23l2.53,-0.78l4.18,-0.63l1.03,-0.73l0.06,-0.6l-0.62,-0.54l-3.01,0.21l-1.66,0.56l-3.52,0.53l-2.43,-1.02l0.26,-0.96l3.07,0.27l1.37,-0.86l2.42,-0.48l0.39,-0.39l-0.05,-1.33l-0.59,-0.13l-2.79,0.77l-0.44,0.49l-3.09,-0.65l1.69,-1.4l-0.35,-0.85l-1.91,-0.0l-1.26,0.94l-0.56,-1.7l-0.52,-0.28l-0.54,0.36l-0.09,0.64l-0.81,0.08l-0.89,2.24l-0.39,-0.2l-0.46,0.22l0.02,1.27l-1.24,1.27l-0.63,-0.47l0.05,-0.83l1.68,-1.95l-0.44,-0.41l-1.11,0.12l-1.74,-0.96l-0.65,0.26l-0.05,1.36l0.28,0.17l-0.39,0.47l-2.34,1.55l-0.47,-0.19l0.35,-1.57l-0.51,-0.45l-0.28,-1.3l-0.7,0.05l-0.3,0.43l-1.03,-0.62l0.5,-0.81l-0.32,-0.72l0.18,-1.43l4.91,-1.61l2.03,-2.07l0.3,-2.61l-0.32,-0.52l-0.56,0.01l-0.34,0.87l-0.87,0.4l-0.19,0.68l-0.74,0.75l-1.95,0.74l-2.78,-0.29l-1.1,-2.17l-0.49,-0.32l-0.01,-1.33l-0.75,-1.13l0.17,-0.75l0.45,-0.45l0.71,-0.08l0.23,-0.63l-0.53,-0.83l-1.52,-0.59l-0.23,-1.34l1.14,-0.5l0.25,-0.41l-0.33,-0.35l-1.22,-0.01l-0.27,-0.93ZM443.8,113.87l0.28,0.85l-0.7,0.52l0.38,-0.96l0.04,-0.42ZM461.48,146.36l0.13,0.3l0.04,0.32l-0.12,-0.23l-0.04,-0.39ZM467.94,95.1l-0.47,-0.95l0.29,-0.52l-0.28,-0.92l-1.08,-0.44l-0.75,-1.59l0.06,-2.29l0.7,-1.35l3.12,0.6l0.09,0.38l0.55,5.34l-0.36,0.49l-1.5,0.62l-0.38,0.64ZM428.65,100.85l-0.38,0.08l-0.0,-0.39l0.24,-0.06l0.14,0.37ZM467.95,144.5l0.1,-1.31l0.38,-0.62l-0.14,0.96l-0.34,0.97ZM468.78,140.89l0.02,-0.58l0.13,-0.05l0.0,0.05l-0.16,0.58ZM453.23,161.28l0.5,-0.07l0.77,-0.83l2.87,0.68l2.74,3.45l0.26,0.55l0.03,2.25l0.38,0.77l-0.72,1.38l-1.41,1.41l-1.23,0.17l-0.11,-0.75l-2.86,-1.81l-0.9,-1.33l-0.47,-0.99l0.15,-4.88ZM459.14,188.77l-0.7,-0.78l-2.16,-5.38l0.28,-0.78l1.01,-0.69l1.58,-0.38l1.42,1.91l0.07,0.95l-0.73,0.85l-0.28,1.43l0.25,1.75l0.62,0.81l-0.54,-0.39l-0.59,0.06l-0.23,0.64ZM457.58,356.16l0.14,0.07l-0.06,0.19l-0.08,-0.25l-0.0,-0.01ZM455.83,351.11l0.05,-0.55l0.96,-0.9l0.46,0.74l0.43,-0.01l-1.07,2.13l-0.1,-0.72l-0.73,-0.7ZM421.83,269.74l0.48,-0.7l-0.15,-1.2l0.22,-0.51l0.89,-0.23l-0.3,-1.11l0.12,-2.99l-0.26,-0.6l0.3,-1.27l-0.42,-1.81l0.32,-0.7l-0.08,-1.33l0.69,-0.26l0.16,-0.47l-0.96,-1.52l0.29,-1.54l1.24,-0.77l0.17,0.34l0.72,-0.1l1.47,2.21l1.38,0.57l1.36,-0.07l0.32,-0.59l-0.37,-0.69l-1.14,-0.38l-1.36,-2.16l0.98,-0.76l-0.17,-0.53l-0.59,-0.51l-0.85,0.35l-0.54,-0.66l-0.12,-0.73l0.47,-1.74l2.55,-0.98l0.77,-0.82l1.73,0.05l0.55,-0.74l2.57,-0.04l0.41,1.09l0.68,0.41l0.56,-0.37l0.06,-1.69l2.47,-0.16l1.5,0.85l1.37,0.29l0.39,1.11l0.71,-0.28l1.18,0.83l0.76,1.32l-0.39,0.98l0.42,0.52l1.3,-0.14l0.39,-0.31l0.08,-0.66l1.43,-0.69l0.46,0.18l1.18,-0.33l3.56,0.65l4.04,2.08l0.38,-0.17l0.33,0.23l-0.07,0.27l-0.72,0.01l-0.29,0.45l-0.0,1.59l-2.62,5.22l-1.34,0.04l0.33,1.6l-1.65,3.1l-0.55,1.82l-1.86,0.4l-0.55,0.4l0.19,0.66l1.32,0.34l-3.2,7.7l-1.06,1.11l-0.52,1.08l-1.63,0.64l-5.37,-1.84l-0.78,-0.76l-0.72,0.49l-1.32,0.19l-3.56,0.14l-0.95,-0.24l-0.56,0.5l-0.05,1.51l0.48,0.21l0.64,-0.4l1.16,0.6l1.13,-0.0l-0.14,1.38l1.23,1.05l0.93,2.98l-0.58,0.61l-0.52,1.41l-1.34,0.93l-1.65,3.59l-0.43,1.79l-0.69,0.16l-0.4,0.84l-0.42,-0.29l-2.74,0.09l-2.11,0.69l-0.62,-0.41l0.13,-0.97l0.67,-0.66l0.02,-0.57l1.89,-0.52l0.29,-0.35l-0.84,-0.59l-1.68,0.45l-0.24,-0.64l0.46,-3.7l-0.36,-1.51l0.5,-0.08l0.15,-1.05l-0.45,-1.57l-0.64,-0.36l0.07,-1.37l-0.3,-0.76l-0.77,-1.19l-0.61,-0.21l0.04,-0.31l0.43,-0.08l0.02,-0.5l-0.22,-1.02l-0.66,-0.35l0.45,-2.58l-0.49,-1.85ZM431.01,292.59l0.04,-0.02l0.01,0.07l-0.05,-0.05ZM454.76,352.74l-0.33,-0.41l0.26,-1.19l0.62,1.43l-0.04,0.91l-0.26,0.07l-0.25,-0.82ZM453.11,471.02l0.19,0.06l0.17,0.16l-0.28,-0.02l-0.08,-0.2ZM447.02,341.38l0.79,-0.49l0.19,0.79l-0.27,0.56l-0.72,-0.86ZM446.66,468.82l0.04,0.02l-0.03,0.04l-0.0,-0.0l-0.01,-0.06ZM446.04,340.0l0.11,-0.11l0.26,-0.0l-0.36,0.11ZM425.5,160.21l0.49,-2.25l1.81,-1.24l1.48,-0.31l0.54,-0.62l0.02,1.13l0.51,0.52l1.76,-0.4l0.66,-0.74l2.7,0.52l0.3,0.41l1.57,-0.09l0.37,0.57l1.03,0.19l0.47,-0.77l0.65,-0.21l1.66,1.12l0.5,1.38l-1.11,0.32l-0.29,0.39l-0.09,1.16l-0.63,1.11l-0.21,2.13l-1.31,-0.35l-0.34,0.35l-0.52,-0.45l-0.63,0.21l-1.22,-0.71l-8.83,-0.54l-1.35,-2.81ZM419.43,222.82l0.2,-1.65l0.75,-1.77l0.4,0.08l0.22,-0.29l-0.03,-0.66l2.31,-0.56l0.07,-0.68l0.55,-0.3l0.08,-0.54l-0.75,-0.37l0.27,-0.52l0.23,0.14l0.84,-0.46l0.24,-0.64l0.7,-0.46l-0.08,-0.71l-0.69,-0.49l0.23,-0.91l1.79,-1.27l0.28,0.25l0.54,-0.2l0.25,-0.76l0.83,0.15l1.57,-1.09l2.61,0.99l2.17,3.93l1.14,1.59l0.64,0.37l0.05,0.47l-0.45,-0.01l-0.44,0.54l1.78,1.21l-0.53,1.41l0.6,1.82l-0.25,0.98l-0.86,0.8l0.17,0.58l0.6,0.02l0.4,1.35l-0.24,4.58l-0.78,0.52l0.6,0.57l-0.13,0.64l-0.56,0.6l-3.39,0.25l-0.81,-0.49l-1.09,0.57l-1.25,-0.11l-0.52,-1.16l-1.47,-0.02l0.15,-1.12l-1.59,-1.93l-2.06,-0.33l-0.25,-0.62l-0.56,-0.15l-0.37,0.45l0.06,-0.28l-1.44,-1.78l0.6,-0.63l-0.38,-0.86l0.3,-0.92l-0.31,-0.32l-0.73,0.08l-0.28,0.41l-0.55,2.09l-0.32,-0.23l0.55,-1.11l-0.12,-0.78l-1.46,-0.23ZM423.67,213.82l-0.12,-0.05l0.05,-0.1l0.03,0.01l0.04,0.14ZM433.58,79.03l2.22,0.14l0.49,1.16l-0.62,0.41l-1.02,-0.43l-0.89,-0.87l-1.79,-0.23l1.6,-0.17ZM416.34,136.36l0.3,-0.35l1.26,0.04l0.49,-0.68l-0.1,-0.97l-0.82,-0.91l-0.38,-1.02l0.11,-2.87l0.9,-0.83l3.13,0.78l0.51,0.65l1.75,1.11l0.41,0.91l0.93,0.51l0.7,-0.02l0.95,1.65l0.71,0.19l-0.63,1.81l0.15,0.41l1.8,1.36l0.6,-0.03l0.79,-0.78l0.94,0.36l2.76,3.08l-0.08,1.03l-2.91,2.52l0.37,0.9l1.07,0.6l0.11,0.78l0.87,1.3l-0.07,0.95l-0.9,2.19l-1.57,-0.19l-0.44,0.55l-1.95,1.05l-2.63,0.71l-0.06,-0.7l-0.92,-0.34l-0.69,0.61l-0.65,0.08l-0.05,1.0l-0.78,0.91l-0.66,-0.34l-0.0,-1.2l0.75,-1.23l-0.18,-0.48l-1.67,-0.96l-0.47,-0.94l-1.21,-0.97l0.27,-0.99l3.77,0.54l0.55,-0.78l-0.01,-1.08l-2.74,-2.31l-0.91,0.02l-0.92,-0.39l-0.2,-1.24l-1.04,-0.99l0.29,-0.59l-0.28,-0.89l0.23,-0.89l-0.93,-0.57l-0.56,-0.87l-0.07,-1.19ZM432.67,201.01l0.19,2.46l0.62,2.14l-1.67,0.27l-0.48,-0.62l-0.05,-2.39l-0.41,-1.08l1.79,-0.78ZM430.12,501.31l0.96,-0.01l0.44,0.57l-0.36,0.42l-0.49,-0.85l-0.56,-0.13ZM423.39,233.69l0.63,-0.4l0.07,-0.68l0.56,-0.1l0.61,0.53l0.83,1.95l-0.18,0.21l-2.0,-0.89l-0.51,-0.62ZM417.6,212.21l-0.01,-0.76l1.61,-1.09l0.76,-0.04l-0.24,0.78l0.18,1.15l-1.18,0.75l0.15,0.81l-0.6,0.23l-0.36,-0.28l-0.31,-1.56ZM421.46,209.34l0.11,-1.05l1.96,1.73l-0.02,0.39l-0.55,0.26l-0.77,1.3l-0.81,-1.09l0.37,-1.08l-0.28,-0.46ZM421.74,297.82l0.27,-0.12l0.0,0.05l-0.27,0.08ZM422.35,296.54l-0.3,-0.28l0.46,-0.16l-0.15,0.44ZM389.32,351.88l0.51,0.4l1.44,0.15l1.01,-0.75l1.02,0.07l0.81,-0.73l0.32,-1.55l0.58,0.4l0.61,-0.56l0.91,-0.16l0.14,-1.27l-1.28,-2.05l0.07,-0.19l0.61,0.31l0.66,-0.29l-0.03,-0.64l-1.01,-0.85l0.13,-0.8l0.88,0.34l0.57,1.52l1.06,0.88l0.08,0.65l0.59,0.28l0.66,-0.31l0.18,-0.77l-2.25,-3.41l0.79,-2.88l0.5,-0.74l0.8,-0.26l0.81,-1.47l0.31,-0.08l1.31,0.89l0.27,1.08l1.42,0.84l0.46,1.11l-0.54,0.13l-0.38,0.69l0.66,1.71l0.24,0.2l0.6,-0.23l0.58,-1.54l0.87,2.19l1.32,1.95l0.85,0.26l0.47,0.8l1.2,0.59l2.15,2.52l0.23,0.86l-0.68,1.93l-0.02,2.57l0.77,0.85l0.75,-0.36l-0.16,-1.17l0.38,-2.07l0.53,2.02l-0.4,1.12l0.81,1.59l0.1,2.03l0.36,0.29l0.71,-0.21l0.18,0.86l0.49,0.36l0.8,-0.15l1.41,-1.22l0.64,0.63l-0.43,0.92l-1.47,1.44l-0.42,-0.7l-0.44,-0.09l-1.61,0.33l-0.77,2.34l-0.47,-0.21l-0.57,0.2l-2.45,2.86l-1.47,0.43l-2.91,-1.81l-1.27,-1.48l-0.32,-0.06l-0.46,0.51l0.24,0.89l-0.23,0.15l-1.46,-0.8l-0.66,0.12l-2.02,-2.6l-2.0,-1.12l-0.64,0.25l-0.51,-0.54l-0.37,-0.76l0.39,-1.34l-1.03,-1.12l-0.32,-0.11l-0.64,0.41l0.01,1.38l-0.33,0.51l-0.47,-0.99l-0.44,-0.24l-0.6,0.16l-0.84,-0.83l0.57,-1.76l-1.34,-1.01l-0.45,0.01l-0.37,0.63l-0.84,0.05l0.3,1.29l-0.62,0.2l-1.39,-1.1l-0.1,-1.13l-0.77,-1.73l1.01,-1.65l0.72,0.14l0.43,-0.42ZM414.79,346.68l0.44,-0.57l0.05,-0.57l0.3,-1.06l1.01,-0.52l0.15,0.42l0.6,0.06l1.43,1.8l-0.36,2.41l-0.8,1.03l-0.84,0.08l0.04,-0.75l0.51,-0.5l0.04,-2.23l-0.18,-0.91l-0.59,-0.67l-0.75,-0.06l-0.43,0.52l0.26,1.87l-0.55,1.17l-0.32,-1.5ZM415.07,348.28l-0.2,0.62l0.01,0.28l-0.08,-0.53l0.28,-0.37ZM411.44,98.32l0.33,-1.33l-0.06,-1.8l0.73,-1.46l1.24,-1.13l0.58,0.21l0.71,0.96l1.52,-0.38l0.76,1.21l0.4,2.99l-0.44,1.72l0.3,3.01l-0.67,1.82l-1.8,-1.46l0.27,-2.18l-1.22,-1.67l-2.43,0.15l-0.23,-0.65ZM374.78,271.19l0.15,-1.85l1.27,-1.98l0.55,-1.94l0.48,-0.66l2.36,-0.71l1.55,1.82l-0.34,0.83l0.39,1.03l0.68,0.99l0.56,0.12l0.22,1.9l0.49,0.66l-0.18,0.65l0.47,0.74l1.29,0.49l0.49,0.52l1.58,0.06l0.68,-0.72l0.01,-0.4l1.14,-0.03l1.2,0.51l1.05,-1.22l0.12,-1.68l1.82,-0.35l0.03,-0.82l0.38,-0.53l-0.5,-1.09l0.18,-0.82l-0.41,-0.96l0.14,-0.49l-0.57,-0.66l0.24,-0.76l-0.97,-0.3l-0.87,0.71l-0.41,-0.77l0.78,-0.72l0.06,-0.81l0.52,-0.73l0.47,0.0l0.27,0.73l1.42,1.47l1.64,-0.08l0.32,-0.32l-0.07,-0.62l-1.04,-0.25l-0.62,-0.65l-1.19,-2.97l-0.71,-0.9l-0.08,-0.74l-0.83,-1.12l0.58,-2.35l-1.21,-1.14l-0.87,0.1l0.29,-0.74l-0.33,-0.49l-0.85,-0.27l0.61,-2.28l0.62,-0.18l0.9,0.24l0.62,-0.74l1.09,0.32l1.89,1.7l0.23,0.85l0.69,0.01l0.58,-1.72l0.83,-0.9l0.31,0.43l1.15,0.47l1.58,2.23l-0.29,0.59l0.71,0.75l0.58,-0.42l0.18,-0.95l1.36,-0.09l0.52,0.63l0.91,-0.84l3.77,-0.59l1.14,-0.84l0.26,-0.54l0.62,0.59l1.21,-0.69l0.81,0.75l1.16,0.18l1.5,2.73l-0.26,1.97l-1.21,0.85l-0.35,0.67l-1.17,-0.78l-0.51,0.4l0.01,0.85l-0.96,-0.32l-0.62,1.66l0.6,1.01l1.15,-0.71l0.5,0.55l0.9,-0.05l-0.5,0.73l0.51,0.57l-0.16,0.49l-0.57,-0.08l-3.06,1.19l-3.76,4.71l-2.05,1.75l0.35,0.67l-0.23,2.58l0.36,0.6l0.59,-0.24l0.22,-0.91l0.95,-1.48l1.76,-1.18l1.87,0.33l2.34,1.76l-0.22,1.33l-0.72,0.08l-0.36,0.52l0.31,0.42l1.02,0.38l0.34,1.35l0.49,0.18l0.18,0.67l-1.14,1.5l-0.13,1.04l0.33,0.62l1.04,-0.04l1.12,-1.36l1.35,-0.67l0.38,-0.02l0.74,1.45l0.17,1.66l-0.21,0.46l0.63,1.16l0.09,1.39l-0.44,0.09l-0.52,0.87l-1.34,0.98l-1.3,-0.26l-0.36,0.62l1.76,1.4l0.5,2.45l-0.19,1.19l-2.27,0.61l-0.18,0.67l1.48,0.8l0.92,-0.26l-0.21,0.9l-0.63,-0.1l-1.17,1.13l0.45,0.76l1.41,-0.51l-0.71,1.85l-0.1,-0.74l-0.63,-0.17l-0.83,0.85l-1.07,0.25l-1.03,2.19l-0.76,0.59l-1.69,0.9l-1.31,-0.13l-0.61,-0.66l-1.31,-0.44l-1.27,0.17l-0.48,-0.37l-0.54,-1.24l1.3,-3.44l-0.79,-0.72l-0.29,0.11l-0.16,0.76l-1.24,1.51l-0.62,1.81l0.09,0.41l0.55,0.21l0.08,1.18l1.9,2.92l-1.02,1.91l-2.48,2.43l-0.91,-0.15l-0.38,0.34l-1.19,-2.37l-0.67,-0.1l-1.09,0.67l-0.7,-3.87l0.18,-1.2l-1.18,-0.97l-0.52,-3.21l-0.82,-1.07l-0.16,-1.16l-1.32,-0.51l-0.32,-0.47l-1.7,-3.7l0.07,-1.02l-0.42,-0.23l-0.03,-0.65l-0.85,-1.42l-1.04,-0.68l-0.87,-0.1l-0.5,0.37l0.07,-1.82l-1.28,-1.57l-0.91,0.21l-0.89,0.94l-0.86,-0.95l-1.09,-0.07l-0.38,-0.95l0.82,-0.69l-0.35,-0.7l-0.46,-0.11l0.0,-1.42l-1.24,-1.46l-1.58,-1.23l-1.76,-3.24ZM390.55,268.8l-0.03,-0.05l0.05,-0.05l0.03,0.02l-0.05,0.08ZM391.26,258.16l-0.13,1.15l-2.76,1.04l-0.5,-0.37l-0.53,-1.17l-1.27,-0.83l-0.04,-0.89l-0.77,-0.56l-0.6,-1.14l0.9,-1.31l1.09,-0.01l0.35,-0.89l1.65,0.33l1.12,3.12l0.65,0.37l0.36,0.93l0.47,0.23ZM395.86,246.94l-1.15,1.05l-0.61,-0.19l-0.16,-0.44l0.27,-0.56l0.84,-0.53l1.19,0.17l-0.38,0.51ZM383.77,205.23l0.5,0.09l0.47,-0.44l-0.1,-1.22l0.74,-0.18l0.18,-0.7l1.21,0.25l1.04,0.8l0.89,-0.46l-1.01,-1.33l0.62,-0.42l0.02,-0.79l-0.44,-0.25l-0.96,0.16l0.59,-1.18l2.2,-0.44l0.19,0.67l1.47,1.59l0.06,1.16l1.11,0.73l0.42,-0.02l0.74,-0.76l1.12,-0.16l0.51,-0.52l0.08,-0.45l-0.4,-0.23l-2.14,0.59l-0.0,-1.51l-0.29,-0.43l-0.65,-0.12l-0.09,-1.13l1.71,-1.64l0.21,-0.41l-0.29,-0.55l-2.37,0.42l-0.43,-0.71l-0.17,-1.33l0.32,-0.87l0.79,-1.06l1.24,-0.51l1.04,-0.92l0.09,-0.48l-0.44,-0.21l-2.22,0.5l-0.43,-0.28l-1.14,0.02l0.38,-0.39l0.29,-1.99l0.64,-0.46l-0.4,-0.93l1.17,-0.93l1.9,0.7l0.46,0.6l1.07,1.88l-0.53,2.31l1.53,1.03l0.93,1.78l-0.66,0.57l-0.02,0.46l2.18,1.08l1.1,2.81l-0.34,0.81l0.87,0.32l0.08,0.68l0.35,0.29l0.91,-0.75l2.34,-1.06l0.37,-0.86l-0.68,-0.41l-1.87,0.53l0.14,-0.38l-1.03,-1.91l-0.27,-1.66l0.3,-0.33l2.01,1.03l1.72,-0.63l0.33,-0.78l-0.43,-0.19l-1.45,0.33l-1.45,-1.62l-1.17,0.14l-1.42,-1.07l0.11,-0.5l3.22,0.42l0.33,-0.21l-0.05,-0.7l-0.36,-0.16l0.13,-0.62l-0.82,-0.32l-0.61,-1.44l-0.45,0.17l-0.51,-0.44l-1.8,-0.04l-1.23,-2.57l1.37,-0.44l0.53,-1.09l2.08,-1.34l2.12,1.16l0.39,0.02l0.59,-0.55l0.16,0.01l-0.2,0.83l0.76,0.32l1.32,2.38l-0.15,1.12l0.46,0.94l0.63,0.43l0.54,-0.33l-0.22,-0.93l0.86,0.61l0.69,-0.38l-0.07,-1.17l-0.76,-1.67l0.23,-1.16l0.36,-0.21l0.41,0.93l0.62,0.04l0.27,-0.55l0.75,-0.03l0.34,-0.33l0.26,1.46l1.67,1.11l1.4,0.51l0.5,0.54l-0.07,1.37l-0.88,2.32l0.33,1.55l0.98,1.91l-0.05,1.08l-1.22,3.87l0.26,2.81l-0.65,1.32l-1.67,1.18l0.25,0.77l2.72,1.22l0.11,0.51l-0.58,3.27l-1.37,-1.71l-2.28,2.1l-0.15,1.14l1.02,0.43l-1.01,0.13l-0.97,2.26l0.38,1.16l1.4,0.73l0.43,0.59l-0.34,0.65l0.12,0.42l0.54,0.28l0.41,0.74l-0.73,0.28l-0.94,-1.01l0.01,-1.37l-0.71,-0.43l-0.87,1.75l0.3,0.88l0.67,0.69l-0.02,1.48l-4.23,0.38l0.0,-0.4l-0.46,-0.22l-0.03,-0.96l-0.5,-0.29l-0.71,0.3l-0.14,1.04l-1.93,0.15l0.86,-2.32l-0.15,-0.74l-0.84,0.16l-1.17,1.92l-0.24,1.09l-4.37,-1.23l-0.14,-0.34l0.29,-2.82l-0.76,-1.01l0.47,-0.31l2.3,0.38l0.55,-0.3l0.08,-0.47l-1.72,-0.92l0.36,-0.69l-0.45,-0.55l-1.4,0.3l-0.45,-0.63l1.35,-0.74l0.01,-0.51l-0.56,-0.86l3.07,-0.16l0.54,-0.85l-0.09,-0.7l-0.56,-0.21l1.3,-0.09l0.3,-0.63l-0.2,-0.21l0.89,-0.23l0.48,-0.64l-0.75,-0.88l4.91,-0.17l0.58,-0.46l-0.25,-0.89l-3.61,0.21l-0.41,-0.32l-5.51,0.71l-0.52,-0.2l-3.1,0.47l-1.04,0.48l-1.31,-0.58l-3.7,0.92l-0.9,-0.24l-1.18,0.17l-1.18,0.6l-0.43,-0.81l0.21,-0.63l-0.24,-0.45ZM414.36,266.83l0.45,0.33l0.47,-0.16l0.16,1.43l-0.9,1.89l-1.18,0.2l-0.67,-1.27l-0.07,-2.15l0.62,-1.15l1.01,-0.67l0.38,0.38l-0.27,1.17ZM414.02,274.95l-0.9,-0.23l-0.15,-0.37l0.49,-0.5l0.1,-0.82l0.81,-0.84l-0.26,0.71l0.39,1.28l-0.49,0.75ZM411.43,235.03l-0.36,-0.31l0.19,-0.46l0.86,-0.66l0.9,-1.59l0.33,0.01l0.4,0.46l-0.71,1.5l-0.64,0.12l-0.97,0.93ZM410.06,345.07l1.51,0.05l0.61,0.71l0.95,-0.39l0.17,1.41l-0.45,1.89l-0.93,-1.78l-1.28,-0.8l-0.58,-1.09ZM382.97,135.74l-0.59,-2.3l0.01,-1.42l0.39,-0.64l0.86,-0.74l0.61,0.01l2.71,2.01l1.67,0.22l0.66,0.66l0.55,0.07l0.67,-0.79l0.05,-1.1l0.58,-0.39l0.01,-1.18l-0.45,-0.41l-2.55,-0.27l0.4,-0.4l2.02,0.24l0.44,-0.45l-0.09,-0.73l0.84,-0.11l0.34,-0.94l-0.42,-1.23l-0.52,-0.32l-0.83,0.28l-0.01,-0.67l-0.5,-0.27l-0.61,-0.22l-0.47,0.23l-0.37,0.97l-0.54,-0.55l2.05,-1.88l0.29,-0.74l-0.83,-1.4l-0.08,-1.1l-0.98,-0.62l-1.67,0.95l-1.01,2.32l-1.24,1.23l-0.45,0.0l0.1,-0.62l0.88,-1.09l1.46,-2.92l-0.0,-0.8l-1.31,-1.09l-2.53,0.6l-0.45,-0.29l0.45,-3.63l0.53,-1.4l0.88,-1.2l-0.07,-0.85l1.1,0.94l6.94,-0.52l1.44,1.75l0.65,0.01l0.49,0.41l0.69,1.58l-0.09,1.48l1.06,2.6l-0.57,2.15l-0.72,1.05l0.33,0.63l0.61,-0.07l-0.36,0.76l0.38,1.11l0.7,-0.12l0.87,-1.41l0.25,-1.95l1.49,-0.62l0.89,-0.97l0.93,0.3l1.44,2.91l1.25,0.73l-1.32,2.83l0.06,0.88l0.78,0.34l0.19,0.56l0.46,0.26l1.07,-0.57l0.72,0.1l1.01,-0.62l0.22,1.34l1.35,1.15l0.29,0.76l-0.77,0.86l-0.14,0.89l0.78,0.56l0.5,-0.14l0.4,0.76l0.72,0.04l-0.64,1.05l0.21,0.33l-0.5,1.14l-1.11,1.04l0.43,1.71l-0.46,1.99l0.47,0.65l0.88,0.07l0.33,1.97l0.66,0.82l1.4,3.18l-0.19,1.25l-0.82,1.09l0.24,1.78l-0.76,0.83l-3.18,0.26l-0.72,0.75l-3.03,-2.19l0.06,-0.78l-0.78,-2.96l0.56,-1.61l-1.09,-1.69l-0.14,-1.87l-0.46,-0.22l-0.92,0.33l-0.96,-1.37l-3.26,-1.74l-2.35,0.82l-0.76,-0.98l0.11,-0.74l0.74,-0.74l-0.29,-1.0l-3.53,0.22l-0.99,0.46l-0.9,0.01l-1.38,0.96l-0.37,0.67l-2.15,-1.04l-1.32,-2.23ZM402.3,245.78l0.83,-0.17l0.64,-0.53l1.52,0.08l2.32,-1.24l2.75,-0.09l-0.31,1.26l-0.78,1.12l-1.31,0.76l-0.9,1.24l-2.94,0.62l-0.22,-0.46l-0.67,-0.08l-0.2,0.26l-0.48,-0.32l-2.29,-0.19l-0.71,-0.52l0.06,-0.4l1.73,-0.52l0.87,0.11l0.12,-0.96ZM404.64,335.96l0.28,0.24l-0.19,0.49l-0.18,-0.17l0.08,-0.57ZM400.12,384.21l0.18,-0.59l0.82,-0.41l-0.03,0.27l-0.97,0.73ZM393.8,182.29l0.81,-0.68l1.53,-0.23l1.01,-0.86l0.46,-0.91l1.76,-0.32l1.38,0.5l-5.02,2.71l-0.88,0.31l-1.05,-0.51ZM393.1,153.37l0.12,-0.43l-0.41,-0.98l0.08,-1.05l0.43,-0.8l3.57,0.04l2.26,1.78l1.09,2.26l-2.23,-0.06l-0.62,-0.32l-1.53,1.08l-1.75,-0.58l-1.01,-0.95ZM390.55,142.8l-0.47,-0.22l0.1,-0.79l1.29,-1.78l0.47,-0.09l0.13,1.23l-1.53,1.65ZM381.06,200.78l0.49,-0.39l0.1,-0.71l1.3,-0.07l-0.34,-0.8l0.48,-0.76l4.85,-1.31l0.73,0.88l-2.31,0.72l-0.98,2.08l-0.55,0.45l-0.5,-0.27l-0.34,0.28l-0.66,-0.1l-0.22,0.31l-2.06,-0.3ZM378.25,196.4l1.13,-0.61l1.41,0.02l2.27,-1.2l3.84,-0.41l0.31,0.33l-0.14,0.8l-7.87,1.78l-0.94,-0.39l-0.01,-0.32ZM376.08,190.42l0.51,-0.09l0.37,-0.74l0.96,0.03l1.65,-0.6l1.35,0.13l5.02,-0.61l0.58,1.84l-0.32,1.29l-0.74,0.97l-0.9,0.66l-2.34,0.44l-3.2,-0.16l-0.2,-0.51l-2.69,-0.94l-0.05,-1.71ZM383.08,318.64l0.75,-0.08l0.69,0.85l-0.37,0.89l0.52,0.79l0.07,0.8l-0.72,-0.23l-1.1,-1.19l0.16,-1.82ZM376.48,180.64l0.14,-0.82l1.71,-1.08l1.59,0.1l0.19,0.43l-0.93,1.4l0.03,0.52l0.66,0.24l0.6,-0.21l0.59,-0.72l0.65,1.08l0.05,1.03l0.98,0.89l0.62,0.1l0.21,0.64l0.85,0.33l0.05,0.64l-1.9,1.61l-2.86,-0.1l-2.5,-0.58l0.38,-0.74l-0.37,-0.87l0.38,-1.61l-0.3,-0.9l-0.57,-0.15l0.14,-0.53l-0.41,-0.71ZM382.87,351.88l0.5,1.7l-0.24,1.27l-0.56,-0.41l-0.39,-0.96l0.19,-1.09l0.5,-0.51ZM378.76,357.87l0.32,-2.26l0.42,-0.71l-0.17,-1.01l0.44,-0.58l0.86,0.43l0.19,1.04l0.98,1.16l-0.5,1.2l0.11,0.66l-0.35,0.55l-0.68,0.19l-0.41,0.77l-0.05,-1.51l-0.61,-0.22l-0.56,0.3ZM380.85,368.37l0.1,-0.05l-0.02,0.19l-0.08,-0.14ZM374.14,155.27l0.21,-2.42l-0.8,-2.01l0.8,-0.65l0.99,0.44l0.58,0.86l1.89,4.93l0.03,1.06l-0.4,0.64l-0.16,1.45l1.37,0.18l1.17,2.66l-0.18,0.71l0.34,0.43l-0.01,0.7l-0.85,1.86l-0.9,0.06l-0.5,0.4l-0.78,-1.62l-1.22,-0.12l0.13,-0.76l-0.71,-1.63l0.21,-0.27l-0.64,-0.77l0.21,-1.55l-0.35,-0.63l0.01,-1.53l-0.33,-0.43l0.58,-1.2l-0.67,-0.8ZM262.47,316.27l0.34,-0.22l1.12,0.46l0.61,-0.39l-1.96,-6.32l0.67,-1.78l29.24,8.27l-0.78,3.03l0.33,0.57l1.6,0.39l0.47,-0.27l1.21,0.25l0.57,-0.32l0.28,-0.67l-0.55,-0.7l0.35,-1.4l17.48,4.16l0.48,-0.3l11.63,-52.12l1.02,0.72l0.45,-0.55l-0.42,-0.8l0.69,-0.71l-0.54,-1.4l-0.24,-1.55l0.18,-0.81l0.81,0.54l0.91,-1.42l-0.36,-0.62l-0.9,-0.56l0.84,-3.76l0.49,0.81l0.68,-0.14l0.16,0.09l-0.66,0.45l-0.02,0.46l1.77,2.72l0.22,0.8l1.31,0.03l-0.22,0.72l0.89,1.23l-0.65,1.01l-0.12,1.31l1.49,0.42l0.49,-0.38l0.61,0.57l-0.0,1.22l-1.19,3.5l0.19,3.2l-0.22,1.41l0.7,0.67l-0.61,2.61l0.7,0.59l-0.36,0.57l0.2,0.65l0.53,-0.06l-0.76,0.93l0.12,1.0l-0.43,0.87l0.57,1.07l-0.58,0.75l0.71,0.62l0.63,-0.14l0.24,1.97l0.89,0.76l0.73,-0.02l0.66,-0.57l-0.5,-1.35l0.11,-0.47l0.57,0.49l0.46,-0.1l0.95,-1.25l2.02,-0.19l0.34,-0.55l-0.93,-1.07l0.96,-0.16l0.34,-0.89l-0.87,-0.81l-0.05,-1.22l-1.01,-0.89l-0.03,-1.0l0.38,-0.81l-0.2,-0.86l-0.61,-0.33l0.22,-2.55l0.4,-0.02l0.4,-0.69l-0.45,-1.3l0.23,-0.62l-0.26,-0.84l0.67,-0.65l-0.92,-1.26l0.65,-0.41l0.21,-1.11l-0.5,-1.17l0.21,-1.86l-0.25,-1.13l0.28,-1.02l-0.12,-1.87l0.37,-0.58l-0.2,-1.1l0.32,-0.72l-0.25,-0.96l0.41,-0.63l-0.51,-1.77l0.88,-1.09l1.54,0.68l0.58,-0.44l-1.25,-2.02l0.07,-0.53l0.29,0.08l0.47,-0.7l0.88,0.63l0.88,0.17l1.07,1.06l1.44,2.45l0.78,0.6l0.86,-0.52l-0.4,-1.36l0.32,-0.64l1.15,-0.22l0.52,1.8l1.16,0.69l1.15,3.08l1.46,1.27l0.95,-0.04l-0.08,0.98l1.0,1.42l0.39,1.62l-0.25,0.32l0.71,0.92l0.14,0.68l-0.45,-0.14l-0.38,0.59l0.3,0.98l-0.17,0.88l0.84,1.07l-0.49,0.76l-0.05,1.17l0.44,1.05l-0.06,0.9l-0.51,0.11l-0.15,0.45l1.27,6.09l-0.75,1.49l-0.03,0.87l0.63,1.99l-0.0,3.18l0.86,1.04l1.18,5.51l-0.52,1.49l0.4,1.04l-0.28,0.91l0.13,0.89l-0.7,-0.16l-0.58,0.46l-0.33,3.04l-1.42,1.39l-0.22,0.73l0.27,1.13l2.57,3.54l0.53,3.8l1.04,0.58l1.58,3.35l1.99,0.55l0.86,1.98l1.46,0.57l0.59,-0.41l1.2,0.86l1.63,1.49l1.31,2.18l0.55,0.1l1.0,1.5l1.19,0.26l0.48,-0.79l0.39,0.02l0.35,0.54l-0.46,0.82l-0.08,1.02l0.58,1.75l1.49,-0.09l0.39,-0.62l0.4,0.54l0.48,0.08l1.21,-0.95l-0.15,1.9l0.29,1.38l-0.44,2.07l0.43,0.9l-0.09,1.65l-0.72,1.31l-0.15,1.26l-1.32,-0.65l-0.67,0.31l-0.66,-3.2l0.48,-1.61l-0.57,-0.42l-0.55,0.52l-1.63,3.9l-0.92,-1.31l-0.6,-0.05l-0.31,-2.12l-0.58,-0.38l-0.43,0.24l-0.04,-1.44l-0.73,-0.32l-0.41,0.42l-0.06,0.89l-0.59,0.26l-0.22,0.59l-1.04,0.38l-0.53,0.69l-0.48,-0.51l-0.55,0.22l0.26,1.51l0.78,0.74l-0.26,1.54l-0.39,0.73l-0.94,-0.2l-0.6,0.2l-2.17,-1.88l-0.77,-1.75l-0.7,-0.11l-0.5,-0.54l-0.75,0.27l-0.57,1.77l0.21,0.51l1.76,1.56l0.29,2.37l0.48,0.31l0.4,-0.29l0.06,0.36l-0.47,1.0l-0.33,2.26l-1.53,1.25l-0.23,1.27l0.19,0.67l0.83,0.07l3.22,-5.13l2.26,-0.4l0.69,-1.2l1.16,-0.27l1.41,0.46l0.57,1.19l-0.6,0.74l-0.6,-0.16l-0.61,0.35l-0.19,0.91l0.88,0.86l-0.73,-0.42l-0.47,0.19l-0.23,1.51l0.79,1.13l0.6,0.1l1.0,-1.4l0.8,1.26l-0.15,1.22l-0.9,1.48l0.22,1.0l-0.75,0.25l-0.33,-0.59l-0.49,-0.14l-0.9,0.89l-0.99,0.11l-0.83,-0.36l-0.29,0.99l-0.81,0.73l-0.57,-0.08l-0.73,-0.79l-0.54,0.06l-0.25,0.47l0.21,0.79l-1.58,0.48l-1.41,-1.13l-1.54,0.16l-0.46,0.75l-0.83,-1.04l-0.68,0.11l-2.23,-1.32l-1.04,-0.01l-0.64,-0.67l-0.13,-1.19l-0.49,-0.23l-0.48,0.33l-1.02,-0.36l-1.12,1.34l-3.67,-1.26l-0.44,-0.87l0.42,-0.51l0.84,0.21l0.39,-0.59l0.89,-0.46l0.07,-1.33l-1.14,-0.77l-0.63,0.07l-0.18,0.42l-1.9,-0.84l-0.64,-1.26l-2.42,-0.91l-0.98,0.41l-0.62,-0.34l-0.85,0.03l-1.13,-0.9l0.18,-0.56l1.13,-0.89l0.18,-2.67l-1.17,-2.34l-0.63,-0.51l-0.57,0.07l-1.24,1.02l-0.36,1.29l-1.64,0.17l-0.44,0.87l0.03,2.26l-1.95,1.24l-1.64,2.04l-1.04,0.42l-3.64,0.38l-1.98,-0.24l-0.74,-0.56l-1.6,-0.22l-0.57,0.31l-0.2,1.17l-3.95,2.3l-2.46,0.08l-2.36,0.7l-4.52,-0.72l-1.13,0.66l-0.42,-0.66l-1.03,-0.4l-0.99,0.46l-0.8,-0.06l-0.15,-0.53l-0.49,-0.28l-1.77,0.25l-2.42,-0.49l-0.27,0.61l0.33,0.46l-0.96,-0.57l-5.64,-0.97l-0.98,0.22l-1.61,-0.49l-1.27,0.6l-1.79,-0.57l0.13,-0.55l-0.32,-0.87l-1.54,-1.6l-0.33,-1.07l0.21,-1.24l-0.95,-2.35l0.51,-0.81l-0.15,-1.07l1.06,-1.01l0.32,-1.61l0.35,-0.3l-0.49,-1.01l0.3,-1.25l-0.2,-0.28l1.27,0.35l-0.11,-0.95l-2.26,-1.51l-0.3,-0.67l-1.49,-0.29l-0.78,-0.94l-1.12,-0.4l-3.35,-0.19l-0.29,-0.58l-0.83,-0.38l-1.01,0.57l-0.4,-0.07l-5.16,-2.72l-0.36,-0.87l-2.9,-2.59l-0.34,-0.9l0.7,-0.64l-0.02,-1.81l-1.35,-0.46l-0.43,-0.47ZM296.56,348.77l0.63,0.22l-0.45,-0.1l-0.19,-0.12ZM366.43,318.73l-0.64,-0.33l-0.41,-0.68l0.04,-1.63l1.15,1.7l-0.13,0.94ZM282.87,346.74l-0.62,-0.06l-0.07,-0.11l0.28,-0.07l0.41,0.24ZM375.09,341.57l0.15,-0.39l0.23,0.67l0.99,0.31l0.56,1.07l-0.52,0.08l-0.53,1.04l-0.26,-0.31l0.57,-0.88l-0.05,-0.43l-1.15,-1.16ZM370.58,212.41l0.63,-0.81l-0.25,-0.62l0.65,-1.25l1.74,-1.62l1.28,0.15l1.48,1.77l-0.02,2.98l0.67,1.48l-1.81,1.97l-2.25,0.64l-1.81,-0.94l-1.43,-1.88l1.13,-1.86ZM372.31,349.42l-0.69,-0.62l0.14,-0.26l0.41,-0.04l0.14,0.92ZM365.73,358.82l1.94,-1.29l0.43,-1.11l1.72,1.01l-0.26,2.28l-0.91,-0.23l-0.19,1.24l-2.73,-1.91ZM369.18,337.84l-0.03,-0.16l0.09,-0.51l-0.05,0.67ZM337.82,214.18l3.33,-14.86l4.92,2.08l0.83,0.69l0.52,-0.53l-0.01,-1.39l0.62,-0.25l-0.09,-0.68l0.49,-0.66l-0.15,-1.21l0.44,-0.26l-0.04,-0.72l-0.58,-0.34l-0.72,-1.28l-1.49,-0.97l0.19,-0.28l-0.28,-0.37l-1.02,-0.32l0.17,-1.39l-0.27,-0.41l-0.58,-0.18l-0.95,0.31l-0.1,-0.24l0.12,-0.51l1.89,-0.36l3.0,-2.09l-0.44,-0.87l0.4,-0.22l0.13,-0.66l-0.81,-1.27l-0.09,-0.89l-0.7,-0.39l0.04,-0.55l-0.83,-0.78l-0.79,0.02l1.18,-5.28l1.03,-0.03l0.84,-0.79l0.07,-0.44l-0.35,-0.41l0.3,-0.53l0.72,-0.25l0.05,-0.45l0.7,-0.4l0.77,-1.99l0.91,-0.57l0.33,-0.78l0.74,-0.49l0.74,0.03l0.54,0.4l0.98,-0.45l-0.22,1.63l1.01,0.5l-0.04,1.06l-0.74,0.83l-0.6,-0.1l-0.57,0.55l0.04,0.99l0.62,1.21l-0.62,0.59l0.16,1.74l-0.64,0.93l0.44,0.66l1.12,0.41l0.69,2.61l-0.87,0.53l-0.03,0.6l0.38,0.45l-1.58,0.69l-0.77,1.54l0.06,0.6l-0.65,0.89l0.43,0.58l3.42,0.05l0.8,1.47l-0.08,0.42l-0.97,0.79l-0.07,0.52l-0.72,0.11l-0.88,1.26l-0.45,0.83l0.12,0.99l0.67,0.27l0.49,-0.25l1.48,-1.92l1.96,-0.34l0.7,0.21l0.47,0.48l-0.35,1.03l0.36,1.12l-0.23,0.63l0.31,0.56l-0.13,2.25l0.32,0.54l0.6,-0.22l0.57,-2.72l1.25,-0.28l0.36,-0.61l-1.34,-0.99l0.58,-2.78l1.65,-1.78l1.33,0.24l2.88,2.18l0.61,1.29l0.46,1.92l-0.43,4.97l-0.94,1.77l-1.11,0.48l-0.57,0.8l-0.04,0.53l0.65,0.45l-0.78,0.99l0.13,1.24l-1.86,2.23l-0.44,0.99l0.28,0.91l-0.23,0.57l-0.69,0.17l-0.65,0.83l0.24,0.93l-4.44,0.4l-1.89,1.54l-1.09,-0.14l-1.52,-0.82l-0.69,-0.88l0.37,-2.12l-0.6,-1.0l-0.56,0.23l-0.2,1.4l-0.41,0.27l-0.57,-0.29l-0.45,0.3l-0.02,1.12l-0.37,0.42l-2.11,0.0l-0.5,-0.85l0.43,-0.31l-0.27,-1.67l-0.39,-0.58l-1.31,-0.64l-0.96,0.5l-0.65,1.08l-2.33,0.72l-1.36,1.53l-2.16,-0.53ZM353.07,252.53l-0.18,-0.64l-1.02,-0.65l-0.84,-1.21l-1.37,-0.46l3.4,-4.11l5.53,0.43l1.12,-0.43l1.11,0.01l1.15,0.48l1.47,2.13l0.1,0.62l1.03,0.62l0.77,1.33l-0.89,2.33l-0.41,2.7l-1.52,2.31l-0.12,0.8l-1.88,1.94l-0.41,1.43l-1.39,1.24l-0.29,-0.36l-0.77,0.15l-0.06,1.2l-0.11,-1.26l-2.04,-4.53l0.12,-0.68l-0.91,-0.66l0.22,-0.81l-0.61,-1.05l0.34,-0.68l-1.54,-2.22ZM356.38,131.25l0.61,-2.73l1.07,-4.77l0.81,1.78l0.66,0.28l0.31,0.67l0.28,1.9l-1.49,3.66l-1.82,0.06l-0.43,-0.84ZM354.22,140.9l0.72,-3.2l0.99,0.25l0.23,0.79l-0.87,1.71l-1.07,0.45ZM344.51,358.33l0.94,-0.21l1.34,0.38l0.66,0.56l0.64,1.22l-0.21,1.16l-1.07,0.09l-0.69,-0.57l-0.82,-0.81l-0.78,-1.83ZM343.45,246.05l0.34,-0.35l0.86,-0.03l1.16,0.72l-2.21,0.24l-0.15,-0.58ZM319.66,383.43l0.58,1.04l0.11,0.1l-0.52,-0.1l-0.16,-1.05ZM317.77,367.13l0.19,-0.56l0.63,-0.35l-0.4,1.1l-0.43,-0.19ZM317.48,374.25l-0.13,-0.78l0.25,-1.06l0.35,1.97l-0.46,-0.13ZM317.12,377.88l0.04,-0.85l0.65,-0.18l-0.58,1.35l-0.12,-0.32ZM314.41,374.19l0.57,0.24l-0.14,0.63l-0.37,0.19l-0.06,-1.06ZM311.1,365.02l0.9,-0.17l0.05,1.27l-0.95,-1.11ZM308.9,362.27l0.31,0.24l0.02,0.64l-0.44,-0.71l0.11,-0.16ZM305.06,360.24l0.09,-0.06l-0.03,0.05l-0.06,0.02ZM299.0,350.45l1.55,-0.48l0.33,0.64l-1.15,0.07l-0.73,-0.23ZM292.58,354.28l-0.15,-0.28l0.45,-0.29l-0.16,0.44l-0.15,0.13Z", "name": "Nunavut"}, "CA-NS": {"path": "M806.14,740.09l0.6,-1.1l-0.19,-1.16l1.53,-2.49l0.42,-2.61l0.6,-1.53l-0.03,-2.56l0.54,-3.5l1.51,-3.01l0.15,-1.97l0.16,-0.35l1.13,0.17l0.58,-0.23l-0.36,1.59l1.07,0.72l1.38,-0.48l0.25,0.69l0.19,1.88l-0.37,0.37l0.03,0.59l0.78,0.69l-0.34,1.48l0.1,1.93l-0.48,4.15l0.66,0.61l-0.35,0.83l-0.42,0.47l-0.53,0.06l-0.41,0.74l-0.44,0.35l-0.86,0.06l-0.71,1.87l-1.26,1.0l-0.2,0.83l0.56,0.34l0.4,-0.18l-0.21,0.92l0.5,0.44l0.95,-0.7l0.24,0.03l-1.43,1.75l0.15,1.53l1.35,0.03l1.28,-1.57l0.61,-0.21l0.72,0.25l-0.26,0.86l-0.98,0.93l-0.57,0.09l-0.98,1.27l-1.15,-0.45l-1.0,1.26l-1.85,-1.48l-1.42,-2.29l-0.27,-1.03l-1.36,-1.87ZM816.61,744.13l1.05,-1.41l-0.51,-1.54l2.33,-3.96l0.31,-1.02l-0.19,-0.41l-0.45,0.02l-2.83,2.93l-0.59,-0.45l2.36,-3.35l0.82,-2.08l0.74,-0.69l-0.04,-0.59l-0.69,-0.2l-1.08,0.73l-0.44,1.08l0.12,-0.58l0.95,-1.72l0.31,-0.23l1.11,0.83l0.0,0.01l-0.5,1.38l0.14,0.46l0.77,-0.36l0.46,0.32l0.48,-0.32l-0.25,-1.23l0.25,-0.6l0.28,-0.06l-0.09,0.39l0.46,0.2l1.39,-0.32l0.44,0.58l0.8,-0.47l0.17,1.41l-0.68,0.84l0.12,0.42l0.59,0.46l1.08,-0.34l0.3,0.34l-1.47,1.09l-0.16,0.62l-1.5,0.75l-0.17,0.84l0.9,0.39l-0.87,0.89l-0.13,0.94l-1.5,1.69l-1.05,0.32l-1.77,1.89l-1.76,0.09ZM816.46,732.7l0.05,-0.34l0.15,-0.22l-0.19,0.56ZM816.79,731.83l0.24,-0.63l0.0,-0.0l-0.04,0.32l-0.2,0.32ZM812.99,739.44l0.88,-1.79l0.6,-0.25l0.0,1.22l-0.51,0.54l-0.97,0.27ZM759.65,789.33l0.16,-4.68l1.0,-2.32l1.2,-1.76l-0.25,-0.79l-0.76,-0.03l0.79,-1.21l0.55,1.16l1.15,-0.48l2.56,-4.02l-0.39,-0.25l-0.53,0.16l-2.38,2.22l8.34,-9.82l1.48,-1.36l2.68,-1.68l0.64,-0.83l0.18,-0.86l0.15,2.95l0.79,0.75l0.56,-0.3l0.09,-0.56l0.83,0.28l1.02,0.66l0.21,0.95l0.41,0.32l0.85,-0.63l-0.2,-1.37l-1.52,-0.96l0.48,-1.27l2.17,-1.72l0.87,-0.31l0.38,-0.71l0.77,-0.16l0.09,-0.31l2.0,-0.77l0.57,0.44l0.62,-0.38l0.08,-0.73l0.87,-0.87l-0.76,-0.39l-2.62,0.32l-2.84,0.85l-0.61,0.66l-0.49,-0.31l-1.16,0.39l-1.2,-0.1l-2.3,0.94l-1.0,0.8l-0.82,-0.25l-1.64,0.19l-1.2,0.97l-0.22,1.24l-1.05,-0.26l-0.99,0.29l0.05,-0.87l0.87,-0.88l-0.09,-0.5l1.3,-1.3l0.28,-0.94l1.72,-2.26l0.02,-1.13l0.39,-0.53l0.26,0.4l0.97,-0.59l0.19,-0.62l-0.26,-0.25l-0.04,-1.31l0.51,-1.57l1.15,-0.65l0.29,-0.58l1.43,0.15l1.08,0.9l0.83,0.12l0.3,0.65l0.75,-0.22l0.73,0.19l0.2,-0.77l1.23,-0.68l-0.11,1.13l1.96,-0.28l-0.19,0.41l0.35,0.35l1.32,0.28l0.39,-0.54l0.8,-0.03l1.26,-0.83l0.38,-0.58l-0.15,-0.29l4.41,-0.24l-0.95,0.78l-0.21,0.93l0.34,0.38l0.28,-0.17l0.75,0.36l0.21,-0.58l0.48,0.15l0.41,-0.34l-0.28,-0.68l0.28,-0.19l1.02,0.2l0.3,0.67l0.82,-0.21l1.04,-1.74l0.93,-0.59l1.93,-2.56l0.71,-1.41l1.1,2.31l0.51,0.48l2.23,0.56l1.34,-0.18l0.72,-1.54l0.48,-0.23l1.15,0.56l1.2,1.12l1.39,0.45l-0.06,0.51l-0.81,0.8l-0.41,0.03l-0.92,1.13l0.04,0.62l0.47,0.31l5.15,-1.32l0.05,1.13l-0.76,-0.45l-0.75,0.77l-1.09,0.18l-0.75,1.02l-0.03,0.9l-1.95,0.93l-1.75,0.09l0.05,0.82l0.49,0.37l-1.67,0.55l-0.41,1.09l-1.6,0.89l-0.18,1.04l-2.05,0.97l-0.63,0.9l-1.1,0.64l-0.16,0.64l-0.47,-0.39l-0.48,0.9l-0.61,0.33l-0.02,0.42l-2.39,1.6l-0.16,1.04l-0.99,0.14l-0.47,0.43l-0.41,-0.68l-1.07,0.28l-0.59,-0.19l-0.35,0.33l0.23,0.92l-0.47,0.47l-0.85,-0.13l0.17,1.15l-0.23,0.62l-0.81,0.12l0.04,-0.31l-0.57,-0.29l-0.81,0.54l0.56,0.97l-2.57,-1.19l-0.58,0.05l-0.2,0.6l0.63,0.75l1.0,0.32l1.01,2.07l-0.36,-0.1l-1.55,0.84l-0.83,-0.89l-1.51,0.95l-0.47,-1.54l0.14,-1.54l-0.33,-0.32l-2.22,1.84l0.21,1.14l0.74,0.7l-0.28,0.68l-0.39,-0.94l-0.88,-0.46l-0.75,0.3l-0.14,0.61l-0.71,-0.17l-0.42,0.24l0.33,1.73l-0.39,0.59l0.87,0.89l-0.35,0.59l0.25,0.46l-1.07,-0.03l0.05,0.5l1.06,0.58l-1.02,2.27l-1.11,0.2l-0.41,0.8l0.37,0.35l0.69,-0.04l-0.01,0.26l-1.54,0.73l-0.15,0.68l0.77,0.39l-0.57,0.78l-1.04,0.65l-0.13,0.86l0.52,0.57l-0.9,-0.21l-0.93,0.87l0.68,1.28l-0.79,-0.83l-0.46,0.02l-0.13,0.45l0.65,1.21l-0.27,-0.23l-1.28,0.61l-0.79,-0.88l-0.66,0.32l0.49,1.99l-0.34,-0.13l-0.39,-1.23l-0.48,0.02l-0.52,0.61l0.82,2.23l-0.19,0.69l-0.61,-0.3l-0.5,0.49l0.27,0.42l-0.09,0.81l-0.81,-0.86l-0.55,0.12l-0.8,1.34l-0.39,0.07l-0.33,-0.88l-0.54,-0.21l-0.38,-1.47l-0.63,-0.19l-0.98,-1.55l-0.47,-0.22l-0.91,-0.14l-0.32,0.25l-0.3,-0.4l-0.66,0.27l0.1,0.85l0.62,0.96l-0.76,-0.45l-0.53,0.1l-0.02,-0.99l-0.93,-0.59l-0.33,-2.18l-1.14,-1.44ZM815.34,751.71l-0.03,0.02l0.02,-0.1l0.01,0.08ZM814.13,746.52l0.43,-0.47l0.76,-0.29l-0.16,0.85l-1.03,-0.09Z", "name": "Nova Scotia"}, "CA-BC": {"path": "M13.63,416.0l18.57,10.78l19.97,10.92l20.25,10.4l20.52,9.86l20.77,9.32l21.0,8.77l21.26,8.24l21.12,7.55l-37.33,108.91l0.0,0.84l0.61,0.53l-0.38,0.97l1.06,0.85l0.3,1.12l-1.39,-0.67l-0.62,0.14l0.03,1.15l-0.43,0.73l0.21,0.59l0.57,0.21l0.19,2.02l0.84,1.3l0.35,0.17l0.53,-0.25l0.98,0.72l0.76,0.05l-0.13,1.32l0.58,2.06l2.09,1.93l0.8,-0.25l0.46,-1.15l0.77,1.04l0.58,1.33l-0.59,0.93l0.97,0.98l-0.37,0.82l0.11,1.89l0.47,0.41l0.99,-0.09l0.34,1.0l-0.39,0.83l0.57,1.04l0.1,1.29l-0.75,0.67l0.47,2.99l-0.56,0.69l0.13,1.58l2.27,0.12l0.46,-0.24l0.44,-0.87l0.64,1.11l1.28,0.79l-0.19,0.8l-1.23,0.79l0.3,1.88l0.88,0.69l0.54,1.17l1.29,0.11l1.2,0.66l0.54,-0.1l-0.09,1.84l1.68,3.03l0.03,3.14l0.31,0.86l1.36,0.39l1.23,-1.23l0.58,0.0l0.08,2.89l0.77,0.86l0.09,0.87l0.49,0.56l-0.05,1.03l0.7,0.9l-0.38,1.12l0.14,1.48l0.93,0.66l0.11,0.73l0.87,0.66l-0.2,1.52l0.36,0.88l0.76,0.81l1.17,0.52l0.03,0.67l1.16,1.63l0.03,0.84l-0.77,0.41l-0.02,0.81l0.62,0.43l0.21,0.75l1.08,1.17l0.17,0.76l0.69,0.1l0.14,0.68l-0.43,0.58l0.68,2.09l0.58,0.31l0.91,-0.51l0.95,0.57l0.82,3.1l0.57,0.99l-0.49,4.19l0.35,1.34l-0.15,1.29l-0.5,0.22l-0.33,1.01l0.11,2.26l-1.05,1.89l-0.99,0.67l-0.26,0.71l0.45,0.95l1.24,0.51l-0.71,1.24l-0.02,1.23l0.9,1.34l0.56,2.72l1.65,0.84l0.45,0.63l-0.19,0.8l0.44,1.02l0.56,0.37l-0.22,0.27l-27.35,-7.82l-27.2,-8.56l-22.07,-7.54l-20.36,-7.43l-0.15,-0.39l-0.8,-0.35l0.21,-1.16l-0.6,-0.44l-1.81,0.1l-0.47,0.32l-0.12,-0.4l1.21,-0.59l0.34,-0.89l-1.81,-0.14l0.27,-0.72l0.53,0.32l0.3,-0.37l-0.62,-1.25l1.53,0.24l0.97,0.62l0.85,-0.09l0.77,-0.61l1.17,-2.04l-0.35,-0.56l-0.52,0.1l-0.39,0.88l-0.95,0.93l-0.73,-0.02l-2.26,-1.49l0.81,-0.83l0.52,-1.68l1.28,-1.89l0.77,-0.45l0.02,-0.73l-0.57,-0.2l-0.96,0.34l-0.64,1.13l-3.29,0.49l-0.35,1.52l-0.4,0.28l-2.22,-2.35l0.35,0.09l0.6,-0.57l0.23,-1.06l2.11,-0.04l1.12,-0.75l0.05,-0.46l-0.41,-0.2l-1.67,0.26l-1.17,-0.27l-0.59,-2.27l0.96,-0.94l0.39,-1.03l-0.25,-1.64l1.82,-0.18l1.09,-0.9l-0.39,-1.65l-1.48,-1.88l-0.67,0.31l0.24,1.15l0.69,0.8l0.18,0.72l-2.3,0.5l-0.61,1.32l-0.59,0.03l-0.7,0.73l-0.05,0.48l-0.99,0.51l-1.16,-0.38l-0.47,0.15l-1.25,-0.65l-0.63,-0.72l0.13,-0.64l-0.32,-1.0l-1.12,-1.86l0.42,0.2l0.32,-0.36l0.74,-1.86l1.0,-0.73l0.78,-1.13l0.03,-1.27l-0.42,-0.72l0.66,-0.64l1.06,0.45l1.62,-0.21l1.19,-0.55l0.37,-0.56l-0.53,-0.58l-1.92,0.55l-2.01,-0.55l-1.36,0.98l-0.8,0.21l-0.86,-0.52l0.32,-0.78l-0.13,-0.94l-0.31,-0.35l-0.54,0.21l0.31,-0.57l1.04,0.0l0.5,-0.55l0.71,-0.01l0.52,-0.47l0.7,-1.52l0.9,-1.07l-0.54,-1.17l1.94,-1.18l-0.12,-1.14l-0.81,-0.31l-1.32,1.2l-0.98,0.31l-0.12,1.24l0.33,0.57l-0.79,1.69l-2.82,1.23l-0.55,0.81l-0.42,0.11l0.16,-1.29l-0.25,-0.42l-0.88,0.25l0.2,-0.94l-0.42,-0.46l-1.2,0.93l-1.01,-0.17l1.36,-2.4l1.52,-0.77l0.06,-0.63l-0.27,-0.25l-2.03,0.51l-1.03,1.83l-0.73,0.39l-0.15,0.67l-0.43,0.25l-0.44,-0.76l0.35,-0.16l0.05,-0.62l-0.51,-0.46l-0.72,-0.2l-1.57,0.34l-1.87,-1.12l0.32,-0.73l2.46,0.25l0.57,-0.43l1.19,0.03l1.37,0.45l0.9,-0.85l0.82,-0.19l0.38,-0.6l-0.05,-1.03l0.94,0.18l1.31,-1.41l0.17,-2.17l-0.49,-1.27l-0.73,0.05l-0.14,0.4l-0.08,2.77l-1.67,0.34l-0.51,0.84l0.1,0.68l-1.26,0.7l-1.22,-0.44l-0.69,0.2l-0.41,-0.77l-2.04,-0.08l2.1,-0.61l0.26,-0.46l-0.72,-0.59l-0.93,-0.03l0.58,-1.2l-0.82,-0.57l0.97,-0.06l0.51,-0.79l-0.42,-0.46l-0.72,0.14l-1.89,-1.2l0.34,-1.92l-0.21,-0.53l-0.53,0.08l-0.59,0.69l-0.43,1.42l-0.53,0.35l-1.09,0.02l-1.26,-1.83l-1.03,0.28l-1.03,-0.44l-1.12,-1.04l-0.63,-0.09l-0.27,0.62l0.24,0.44l-0.35,-0.26l-0.23,-0.92l-0.6,-0.16l-0.73,-0.75l0.18,-0.81l-0.87,-0.64l1.18,-1.24l0.02,-0.47l-0.42,-0.45l-1.61,-0.27l-0.56,-1.45l0.22,-0.72l2.39,-0.07l1.79,1.27l1.94,0.48l1.27,-0.28l0.88,-1.35l-0.14,-0.43l-0.45,-0.02l-0.93,0.7l-1.16,0.1l-1.52,-0.85l-0.02,-0.89l-1.42,-0.1l-1.64,-0.71l1.26,0.01l1.14,-0.71l0.59,0.01l1.02,-0.91l0.43,-1.1l0.48,-0.22l1.69,0.22l2.83,0.98l3.66,2.02l1.21,-0.42l0.57,-0.77l-0.02,-1.8l-0.37,-0.36l-0.42,0.3l-0.36,1.43l-0.61,0.31l-3.57,-2.25l-1.84,-0.45l-0.7,-0.84l-0.79,0.4l0.26,-0.75l0.87,-0.15l0.93,-1.27l0.03,-0.56l-0.63,-0.27l-1.08,1.17l-0.74,0.01l-0.65,0.85l-1.13,-0.6l-0.81,0.22l0.07,0.61l0.78,0.73l-1.19,0.97l-0.01,0.66l-0.42,0.34l-0.3,-0.87l-0.76,-0.34l0.24,-0.89l-0.18,-1.6l1.21,-2.97l0.59,-0.66l0.81,-0.17l1.32,0.33l0.75,-1.05l1.21,-0.43l1.23,0.4l0.58,-0.17l0.26,-1.47l0.99,-0.36l1.17,0.12l1.46,-0.73l1.19,0.83l0.04,2.29l1.36,4.54l0.45,-0.23l0.46,-1.2l-0.26,-1.8l-0.88,-1.68l0.26,-1.89l0.72,-0.2l1.29,0.29l0.56,-0.4l-0.51,-0.96l-2.81,-0.06l-1.1,-0.71l-0.09,-0.5l0.44,-2.15l2.24,-0.84l0.99,-0.04l1.43,-1.41l0.28,-2.14l-0.81,-1.58l-0.65,0.29l-0.22,3.03l-0.98,0.61l-2.77,0.76l-0.68,0.64l-0.16,0.77l-2.05,0.08l-0.99,0.71l-2.28,0.14l0.49,-0.43l-0.46,-0.73l-1.92,1.47l-0.07,-1.06l0.98,-0.32l0.34,-0.46l-0.16,-1.5l0.77,-0.56l0.01,-0.74l0.57,-0.66l-0.35,-0.64l-1.85,-0.06l-1.04,0.34l-1.92,1.56l0.91,-1.04l0.47,-1.59l2.56,-2.56l0.76,-1.92l1.15,-0.09l0.32,-0.53l-0.19,-0.4l-0.77,-0.17l-0.3,-0.38l-2.19,1.52l-1.33,-1.01l-0.09,-1.12l0.94,-3.09l1.01,-1.4l-0.84,-0.43l-0.19,-1.93l-0.43,-0.19l-0.45,0.32l-0.66,-1.45l-0.01,-0.71l0.54,-0.39l0.2,-1.31l0.91,-0.63l-0.08,-0.66l-0.94,-0.13l0.11,-0.47l0.5,0.37l0.78,-0.2l-0.12,1.24l0.4,0.92l0.61,0.23l0.57,1.55l-0.23,0.75l0.41,0.43l0.51,-0.33l0.44,-1.04l1.38,-0.01l1.82,1.11l0.06,0.69l-0.69,0.76l-0.01,0.52l0.94,-0.15l0.34,0.67l-0.3,1.58l0.52,0.74l0.71,-0.13l-0.15,-1.33l0.33,-1.0l-0.62,-1.12l-0.37,-2.46l-1.72,-0.67l-0.55,-0.65l-0.51,-0.03l-0.67,0.57l-0.82,-0.23l-1.33,-3.84l0.95,-1.11l0.29,-1.09l0.41,-0.39l0.68,0.09l0.51,-0.48l1.48,1.12l0.49,-0.05l0.05,-1.0l-0.79,-0.39l-0.62,-0.84l1.48,-1.45l0.1,-0.72l-0.99,-0.1l-3.25,1.95l-0.57,-1.39l-0.8,0.05l-0.29,1.7l-0.47,-0.69l-0.45,0.22l-0.2,0.96l-2.69,1.13l-1.28,1.81l-0.16,1.0l-0.72,0.81l-1.64,-5.17l0.13,-1.57l-1.14,-2.66l-0.13,-0.95l0.31,-0.84l-0.66,-0.17l-0.12,-0.39l-0.02,-0.68l1.08,-2.11l0.75,-0.75l0.41,0.1l0.16,2.49l0.53,1.74l0.59,0.45l0.43,-1.42l-0.45,-1.17l-0.05,-2.35l0.91,0.01l1.75,1.57l1.64,-0.27l0.58,-0.39l-0.37,-0.7l-1.5,0.3l-1.83,-1.67l-3.38,-0.01l-0.21,-0.73l-0.68,-0.52l0.67,0.0l0.5,-0.5l-0.21,-0.46l0.8,-1.92l-0.16,-0.48l-0.5,0.07l-0.51,0.6l-0.69,0.02l-0.64,-0.71l0.52,-0.88l0.82,0.14l0.35,-0.52l-0.08,-1.1l0.72,-0.27l0.81,5.21l0.46,0.67l0.85,0.22l0.24,-0.48l-0.5,-0.59l-0.17,-0.94l0.7,-1.06l0.93,-0.09l0.32,-0.67l-0.55,-0.45l-0.75,0.04l-0.83,0.73l-0.5,-4.19l1.16,-0.05l0.95,1.09l0.34,1.33l1.09,0.78l0.67,-0.06l0.26,-0.34l-0.14,-0.42l-1.06,-0.71l-0.18,-1.2l-0.69,-1.14l0.83,-0.81l1.4,-0.59l0.1,-0.88l0.54,-0.4l0.23,-0.01l-0.41,0.33l0.27,0.72l2.0,-0.48l0.45,0.51l1.69,0.25l0.42,-0.72l-3.37,-1.69l3.35,-2.84l0.88,-0.25l2.11,-1.94l0.79,0.46l1.18,-0.33l0.19,-0.51l-0.4,-0.44l-0.76,0.18l-0.72,-0.46l-0.55,0.02l0.42,-3.12l-0.63,-0.43l-0.38,0.34l-0.63,2.46l-1.19,1.08l-0.25,0.6l0.17,0.34l-0.61,0.89l-4.38,3.54l0.19,-1.23l3.65,-2.46l0.01,-1.21l0.72,-2.25l0.03,-1.69l1.16,-2.12l-0.07,-1.07l3.08,-2.49l-0.27,-0.65l0.46,-1.28l0.06,-1.38l-0.37,-0.78l-1.14,-0.25l-1.35,-1.24l0.24,-1.83l-1.34,-1.53l-0.43,-1.97l-0.62,-0.93l-2.03,-1.66l-2.71,-5.17l-2.36,-1.11l0.5,-1.02l0.09,-1.44l0.61,-0.94l-1.5,-2.18l1.9,-2.25l-0.03,-0.55l-2.03,-1.95l1.76,-1.48l-0.68,-17.44l0.4,-2.73l-0.61,-4.17l0.83,-1.22l-0.82,-3.51l-0.3,-3.87l-2.29,-3.88l-0.25,-1.33l0.41,-1.01l-0.35,-0.6l0.5,-0.87l-0.0,-1.39l-0.96,-1.57l0.08,-2.0l-1.83,-1.91l0.0,-0.97l0.57,-0.96l-0.39,-0.8l0.97,-0.53l0.86,-1.58l-1.69,-5.99l-0.52,-0.45l-4.82,0.06l-3.19,-0.8l-1.16,0.04l-0.33,0.59l0.29,1.15l-0.97,0.61l-0.87,-0.59l-0.65,0.07l-1.58,2.84l-1.77,1.29l-2.42,-0.92l-5.25,0.52l-2.15,0.6l0.9,-1.15l1.29,-4.82l-3.3,-13.32l0.53,-2.9l-1.35,-2.31ZM73.47,652.52l0.29,0.56l-0.5,0.41l0.15,-0.35l0.07,-0.62ZM65.69,639.61l-0.05,0.24l-0.09,0.16l-0.03,0.01l0.17,-0.41ZM47.11,622.29l0.58,0.56l0.35,0.24l-0.42,0.17l-0.51,-0.97ZM45.72,609.76l-0.16,0.0l-0.36,-0.19l0.3,0.13l0.23,0.05ZM50.07,591.83l-0.48,0.83l0.04,0.6l-0.78,0.64l0.16,-1.83l0.64,-0.61l0.4,0.37ZM46.52,592.11l-0.73,0.75l-0.66,0.39l0.64,-1.17l0.75,0.03ZM51.62,599.75l0.12,-0.02l0.32,0.0l-0.13,0.19l-0.3,-0.17ZM56.1,626.07l-1.59,-0.43l-1.14,0.16l-0.32,-0.43l0.61,-0.51l2.44,1.22ZM55.38,630.91l-0.22,-0.02l-0.62,-0.24l0.1,0.01l0.73,0.25ZM72.83,659.99l-0.63,-0.33l-0.52,-1.02l-0.28,-2.05l0.99,-1.2l0.28,0.06l0.38,2.07l-0.22,2.46ZM77.14,661.77l0.07,-0.32l0.41,-0.02l0.04,0.63l-0.52,-0.29ZM76.5,664.01l0.11,-0.16l0.39,-0.19l-0.22,0.27l-0.28,0.08ZM71.52,674.1l-0.21,-0.6l0.4,-0.58l-0.16,-0.8l0.09,-0.03l0.54,1.27l-0.43,-0.06l-0.24,0.8ZM70.39,655.37l-0.06,-0.38l0.7,-0.3l-0.51,0.61l-0.13,0.07ZM32.85,620.93l0.68,-0.17l0.02,-0.64l-0.76,-0.43l0.22,-1.3l2.37,-0.03l0.56,0.28l0.8,-0.21l1.61,0.7l3.39,3.27l-0.22,0.7l0.2,0.9l0.6,-0.15l1.66,2.64l1.83,1.44l0.03,0.48l1.01,0.5l0.02,0.63l1.12,0.19l1.45,1.91l0.75,0.06l0.74,0.68l1.02,0.21l1.66,1.03l1.93,2.25l1.25,0.68l0.78,0.91l1.79,0.49l0.86,0.93l-0.31,3.68l0.62,1.55l-0.05,2.74l1.84,4.7l-0.04,0.28l-0.93,-0.48l-0.43,0.57l0.38,1.07l0.32,3.28l0.82,0.58l1.32,2.19l3.72,2.74l-0.4,0.16l-0.02,0.74l2.04,1.19l-0.28,0.35l0.02,1.26l1.09,0.83l0.1,1.41l-0.7,-0.1l-0.38,0.64l1.57,3.71l-0.33,0.62l-0.81,0.32l0.85,1.83l-0.4,0.62l0.04,0.77l-0.62,0.94l0.44,0.45l1.05,-0.34l0.71,-1.07l-0.07,3.71l-0.4,0.04l-0.51,-0.91l-0.52,-0.17l-2.12,1.49l-0.76,-0.26l-1.02,-1.27l-1.22,-0.57l-4.51,-4.68l0.34,-0.65l-0.2,-0.23l-0.58,-0.29l-0.68,0.18l-1.54,-1.14l-1.15,-1.88l-2.45,-2.57l-0.31,-1.19l1.25,-0.56l0.85,0.03l0.53,-0.84l1.63,-0.27l1.28,-0.98l1.13,-1.58l0.3,-1.62l-0.53,-0.48l-0.6,0.5l-0.62,1.63l-1.35,1.41l-1.99,-0.34l-0.65,-0.59l-1.1,0.36l-0.45,-0.34l0.86,-0.46l-0.95,-1.1l-2.45,1.38l-0.88,-1.16l-0.73,-2.0l-0.55,-0.46l2.18,-0.5l0.91,-0.99l-0.46,-0.57l-1.28,0.35l0.61,-1.06l-0.55,-0.56l0.9,-1.32l-0.21,-0.54l-0.44,-0.0l-1.12,1.18l-0.61,-0.19l-0.84,0.41l-0.13,-0.38l1.04,-0.37l1.26,-1.45l0.06,-0.62l-0.7,-0.23l-1.4,1.27l-0.07,-0.69l0.65,-0.95l-0.29,-0.52l-1.77,0.02l-0.03,-0.74l-0.47,-0.28l-0.8,1.05l-0.81,-2.22l-1.16,0.39l-0.16,0.81l-0.28,-0.45l1.23,-2.55l1.21,-0.2l1.13,0.59l2.92,0.63l0.42,-0.31l-0.06,-0.7l-1.2,-0.58l-1.67,-0.08l-0.98,-0.86l1.24,-1.08l-0.63,-1.0l-0.61,0.12l-0.58,0.93l-0.49,-0.08l0.63,-3.12l-0.28,-0.49l-0.71,0.06l-0.6,-2.02l-0.77,0.21l-0.23,-0.72l-0.45,0.1l-0.81,1.52l-1.65,-0.66l-0.32,-1.71l0.85,-0.49l0.55,-0.81l1.06,-0.3l0.4,-1.05l-0.59,-0.35l-1.01,0.48l-0.47,-1.23l-0.55,-0.1l-0.66,1.5l-0.63,0.06l-0.46,-0.99l0.8,-0.46l-0.23,-0.43l0.38,-0.76l-0.33,-0.31l-2.03,0.4l0.58,-0.85l-0.33,-0.3l-1.14,0.05l-1.37,0.68l-0.68,-0.62l2.5,-1.18l0.04,-0.56l-0.65,-0.37l0.41,-0.24l0.12,-0.65l-0.63,-0.79l-0.87,-0.23l1.07,-1.19l1.81,0.27l1.47,0.66l0.35,2.01l0.36,0.42l0.68,-0.27l-0.22,-2.73l1.49,-0.17l0.6,-0.54l-0.27,-0.6l-1.46,-0.13l-0.39,-0.67l-2.99,-1.74l-0.22,0.68l0.38,0.79l1.9,1.18l-2.18,-0.17l-0.43,-0.36l-1.45,-0.06l-0.38,-0.57l-0.68,0.11l-0.69,-1.33l0.08,-1.33l-0.53,-0.59ZM42.94,638.71l0.18,0.66l-0.39,0.25l0.21,-0.91ZM48.37,658.01l-0.18,-0.13l-0.04,-0.06l0.11,0.01l0.12,0.19ZM65.71,652.19l0.14,-0.21l0.29,0.73l1.84,1.59l0.58,2.49l-1.31,-1.65l-0.19,-1.3l-1.35,-1.65ZM68.25,643.72l-0.05,0.24l-0.39,0.41l0.11,-0.31l0.33,-0.33ZM67.21,657.84l0.25,0.09l0.46,0.37l-0.41,-0.15l-0.3,-0.32ZM65.77,642.5l0.43,-0.25l0.47,0.39l-0.27,0.67l-0.55,-0.11l-0.08,-0.69ZM66.61,644.25l0.09,0.18l-0.5,0.24l-0.01,-0.2l0.41,-0.22ZM64.09,645.3l-0.21,-0.95l0.93,-0.53l-0.29,1.49l-0.43,-0.01ZM63.71,655.75l-0.0,-0.0l0.0,0.0l-0.0,0.0ZM61.57,639.47l0.04,-0.17l0.14,0.12l-0.07,0.05l-0.11,0.0ZM62.7,639.33l0.42,-0.95l0.59,0.96l0.17,3.08l-0.26,-2.27l-0.92,-0.82ZM61.44,643.0l-0.21,-0.5l0.24,-1.24l0.33,-0.58l0.41,-0.02l0.33,1.46l-1.11,0.88ZM60.76,637.89l0.47,-0.38l1.13,-0.03l-0.83,0.65l-0.77,-0.24ZM59.74,636.88l0.18,-0.02l0.48,0.11l-0.61,-0.06l-0.05,-0.04ZM56.9,635.18l0.86,0.09l0.09,0.38l-0.33,-0.07l-0.61,-0.4ZM47.25,600.57l1.72,-2.5l0.8,-0.67l0.72,-0.33l0.86,0.23l1.96,-0.24l1.42,-0.89l1.65,0.05l-0.51,1.31l-4.2,0.56l-1.27,0.61l-1.38,1.32l-0.25,0.68l-1.53,-0.13ZM51.46,628.21l0.59,-0.54l2.0,-0.54l1.2,0.15l0.11,0.27l0.04,0.85l-0.66,0.22l-0.62,0.73l-1.4,-0.87l-0.51,0.21l-0.75,-0.48ZM51.4,630.8l1.84,0.02l0.23,0.32l-0.39,0.14l-1.68,-0.47ZM49.37,624.62l0.01,0.01l0.0,0.06l-0.02,-0.07ZM50.29,625.12l0.07,-0.07l0.64,0.3l-0.56,-0.01l-0.15,-0.22ZM49.87,623.87l0.03,0.01l0.01,0.0l-0.01,0.0l-0.03,-0.01ZM48.61,586.85l0.14,-1.17l0.6,0.19l-0.53,0.81l-0.2,0.17ZM45.49,570.28l0.29,-0.57l0.16,-0.22l-0.2,0.65l-0.25,0.13ZM46.01,569.39l1.12,-1.94l1.14,-0.24l1.27,0.43l-0.72,1.13l-0.97,-0.27l-1.84,0.9ZM48.58,656.68l-0.36,-0.84l0.5,-0.17l0.3,0.29l-0.44,0.72ZM46.18,597.25l0.63,-0.09l0.89,0.46l-0.56,0.43l-0.94,-0.3l-0.02,-0.5ZM46.94,596.03l1.01,-0.32l-0.03,-0.58l-0.46,-0.3l0.72,0.24l-0.14,1.53l-1.1,-0.57ZM44.61,591.15l1.02,-0.72l0.85,-3.1l1.13,-2.06l-0.16,1.5l-1.04,3.3l-0.66,0.74l-1.14,0.33ZM41.34,582.69l0.24,-0.26l-0.19,-1.84l0.67,0.54l0.48,-0.46l-0.11,-0.42l1.76,-1.19l1.07,-0.04l0.41,-0.42l-0.98,-2.79l-0.6,0.02l1.1,-2.33l1.04,0.82l1.06,2.78l0.64,0.6l-0.19,2.48l-0.45,1.43l-2.7,3.9l-0.21,0.8l-0.83,-0.37l0.76,-1.87l2.26,-2.34l0.42,-0.85l-0.14,-0.58l-0.73,-0.14l-0.33,0.74l-0.59,-0.23l-2.15,3.48l-0.91,0.15l-0.83,-1.63ZM44.7,586.19l0.0,0.03l-0.02,-0.02l0.02,-0.01ZM43.79,576.47l0.01,0.55l0.41,0.22l0.25,0.72l-2.45,1.26l-0.46,-0.61l0.42,-1.1l0.58,-0.58l0.33,0.23l0.91,-0.68ZM43.19,586.9l1.52,0.5l-0.57,2.32l-0.91,-1.6l-0.04,-1.22ZM43.67,542.2l-0.02,-0.54l3.49,-1.73l-0.29,0.57l-1.88,1.35l-1.29,0.35ZM47.09,655.52l-0.0,-0.0l0.0,0.0l-0.0,0.0ZM45.06,572.22l0.01,-0.26l1.32,-0.96l0.54,-0.79l-0.02,2.09l-0.45,0.54l-0.48,-0.44l-0.92,-0.18ZM45.54,652.69l0.48,-1.03l0.67,0.05l-0.21,1.74l-0.94,-0.76ZM42.91,600.73l0.86,-0.48l0.0,-0.68l1.03,-0.85l1.62,0.26l-0.41,0.91l-1.8,1.9l-0.26,1.2l-0.45,-0.18l0.48,-1.52l-0.25,-0.39l-0.83,-0.19ZM44.17,597.56l0.09,-1.02l1.12,-0.67l-0.62,1.32l-0.6,0.37ZM42.93,594.98l-0.27,-0.29l0.66,-0.51l1.36,0.6l-0.74,0.66l-1.01,-0.46ZM40.85,642.26l1.08,-0.1l0.35,-0.5l-0.76,-0.86l1.66,-0.07l0.6,0.8l-0.16,1.46l-0.84,2.36l-1.12,-1.08l-0.81,-1.99ZM41.8,608.09l0.21,-2.76l1.49,-0.67l-0.54,4.43l-0.27,0.14l-0.31,-0.88l-0.58,-0.25ZM41.66,575.26l-0.17,-0.45l0.43,-0.95l1.15,-0.67l0.48,-0.66l-0.96,3.17l-0.92,-0.42ZM41.46,591.43l0.36,-2.24l0.32,-0.39l0.56,0.41l-1.24,2.22ZM41.74,542.16l0.92,-0.2l0.04,0.0l-0.38,0.77l-0.43,-0.06l-0.15,-0.52ZM37.53,560.61l0.55,-1.25l-0.44,-0.75l0.81,-0.37l1.97,4.36l0.42,3.01l0.52,1.5l-0.36,-0.15l-0.56,0.32l0.21,0.68l1.21,0.77l0.49,2.16l-1.85,-0.28l-0.47,1.41l-0.33,-0.08l0.08,-2.41l-0.67,-0.3l-0.01,-0.77l-0.39,-0.29l0.51,-1.15l-0.55,-0.61l0.65,-1.04l-0.07,-1.15l0.49,0.07l0.29,-0.54l-0.67,-0.96l-1.34,-0.25l0.25,-1.11l-0.75,-0.82ZM38.34,563.69l-0.21,0.15l-0.18,-0.06l0.16,-0.11l0.23,0.02ZM40.27,619.3l0.43,0.03l0.07,0.55l-0.36,-0.48l-0.14,-0.1ZM40.3,551.24l0.12,-0.25l0.34,-0.21l-0.2,0.34l-0.26,0.12ZM39.08,583.26l0.32,-0.4l-0.37,-1.6l0.38,-0.35l1.34,4.3l-0.73,1.53l0.04,-0.56l-0.52,-0.33l-0.24,-0.74l0.25,-0.48l-0.48,-1.36ZM40.19,553.88l0.01,-0.26l0.12,-0.15l0.17,0.38l-0.3,0.03ZM39.62,574.23l-0.2,-0.65l0.25,-0.22l0.56,2.86l-0.15,0.8l-0.46,-2.8ZM39.02,635.94l0.02,-0.04l0.01,0.01l0.01,0.02l-0.04,0.01ZM36.21,544.7l1.15,-1.7l0.93,0.78l-0.43,0.41l-1.65,0.51ZM33.6,556.26l0.03,-0.04l0.04,0.11l-0.07,-0.07ZM35.18,554.73l1.69,-0.53l1.0,0.03l0.49,1.68l-0.08,0.84l-1.9,1.13l-0.24,-0.64l0.9,-0.73l1.05,-0.05l0.12,-0.89l-1.57,-0.46l-0.97,1.11l-0.49,-1.49ZM37.4,573.38l0.12,0.1l0.17,0.59l-0.22,-0.3l-0.08,-0.39ZM36.87,545.99l0.21,-0.1l0.08,0.57l-0.17,-0.08l-0.13,-0.39ZM33.01,562.11l0.45,-0.71l0.44,0.35l2.97,4.84l0.38,1.23l0.13,3.3l-0.25,0.6l-0.43,-0.49l-0.68,0.22l-0.32,-0.23l-0.16,-1.77l-0.4,-0.51l0.19,-1.05l-0.74,-1.58l-0.88,-0.66l-0.14,-1.69l0.83,0.06l0.05,-0.47l-0.38,-0.48l-0.81,-0.17l-0.26,-0.79ZM35.28,560.82l1.21,-0.39l-0.0,0.61l0.71,0.77l-0.5,1.33l-1.33,-1.39l-0.08,-0.93ZM35.19,550.83l0.11,-0.11l0.25,0.66l0.06,0.42l-0.02,0.03l-0.4,-0.99ZM34.15,557.75l0.07,-0.0l0.18,0.16l-0.1,-0.01l-0.15,-0.16ZM9.84,550.6l0.56,-0.73l-0.34,-1.08l0.55,-0.31l-0.19,-0.75l0.35,-0.76l-0.16,-0.44l-0.84,-0.46l0.61,-0.4l-0.14,-1.49l1.11,-1.19l1.07,-0.61l0.26,-1.37l0.58,-0.41l0.48,0.21l0.85,1.24l1.68,0.51l0.52,0.74l-0.59,1.0l-1.51,0.56l-0.15,0.93l0.45,0.24l1.2,-0.21l0.91,-0.87l1.59,-0.25l0.82,0.23l-0.08,1.47l0.46,0.65l-0.55,1.2l-0.03,0.89l-1.04,0.24l-0.77,0.6l-1.16,-0.38l-1.19,0.26l-1.88,-0.55l-0.69,0.16l-0.22,0.72l0.48,0.25l-0.34,0.68l0.37,0.25l0.64,-0.2l0.41,0.47l-0.58,0.53l0.12,0.66l1.16,-0.18l1.19,0.41l0.59,-0.22l-0.01,-0.33l0.42,0.39l1.12,-0.49l0.42,-0.55l0.03,-0.95l2.06,-1.36l0.52,-2.22l1.91,0.69l2.51,-0.26l-1.47,1.94l-2.71,1.83l-1.05,1.61l-1.12,1.05l-0.97,1.7l-0.98,2.73l-1.3,1.07l-2.45,-0.68l-1.45,0.19l-0.26,0.35l-0.76,-0.09l0.12,-0.64l-0.62,-0.26l-0.03,-1.19l-0.55,-0.7l0.58,-0.16l0.29,0.34l0.67,-0.29l0.49,1.19l0.47,-0.1l0.52,-0.81l-0.54,-1.31l0.03,-0.74l-1.03,-0.96l0.24,-0.95l-0.5,-0.14l-0.15,-0.89l-0.81,0.17l-0.01,-0.71l-0.41,-0.21l0.23,-0.49ZM9.85,555.26l-0.19,-0.06l0.1,-0.07l0.09,0.13ZM9.44,560.12l0.24,-0.21l1.31,0.75l0.85,-0.12l2.31,1.14l2.04,-0.47l1.05,0.28l-0.5,0.93l0.59,1.0l0.25,1.28l-1.54,-1.24l-1.76,-0.62l-0.57,0.44l0.37,0.62l-0.2,0.95l0.68,0.28l0.86,-0.5l1.49,1.66l-0.45,0.79l-0.76,0.28l-0.9,-0.41l-0.18,-1.12l-0.63,-0.6l-0.48,-0.02l-0.27,0.61l-0.8,0.34l0.23,0.56l0.9,0.22l-0.5,0.59l0.23,0.86l-0.5,0.27l0.18,0.46l-0.4,0.34l0.15,0.65l0.73,0.48l-0.01,0.77l-0.39,0.59l0.2,0.99l-0.33,0.71l0.48,0.81l0.85,0.61l0.26,0.91l-0.47,0.44l-0.27,-0.82l-0.63,-0.34l-0.04,-0.94l-1.42,-2.66l0.04,-1.57l-0.69,-1.7l0.25,0.6l0.93,0.52l0.5,-1.36l-0.8,-2.18l-0.42,-0.18l-0.44,1.1l-0.51,0.25l-0.27,-1.27l0.33,-0.73l-0.53,-1.08l0.47,0.02l0.37,0.75l0.75,0.24l1.15,-1.14l0.01,-0.46l-0.77,-0.42l-0.27,-0.67l-1.12,-0.88l-1.25,-0.42l0.01,-0.97ZM13.9,576.84l0.45,1.27l-0.16,1.27l0.48,0.48l-0.35,0.26l-0.21,-0.49l-0.51,0.1l0.0,-1.11l-0.43,-1.2l0.19,-0.51l0.54,-0.07ZM15.24,580.53l0.03,0.01l-0.01,0.03l-0.01,-0.04ZM15.34,580.96l0.09,0.21l-0.08,0.07l0.01,-0.07l-0.02,-0.2ZM16.25,581.78l0.28,0.15l0.16,-0.01l-0.23,0.19l-0.21,-0.33ZM15.76,580.3l0.02,-0.36l0.45,-0.11l0.18,0.59l-0.65,-0.13ZM13.22,576.78l-0.13,-0.08l0.01,-0.05l0.07,0.08l0.04,0.06ZM14.76,571.47l0.03,0.04l0.11,0.01l-0.16,0.04l0.02,-0.08ZM15.47,571.73l0.28,0.02l0.58,-0.26l-0.53,0.92l-0.33,-0.67ZM15.38,583.56l0.03,-0.12l0.17,-0.25l0.1,0.28l-0.3,0.09Z", "name": "British Columbia"}, "CA-SK": {"path": "M225.69,715.55l44.18,-197.52l18.32,3.88l18.79,3.56l18.86,3.14l18.53,2.67l-10.31,77.69l-4.77,62.93l-4.14,60.98l-24.87,-3.43l-25.58,-4.15l-25.48,-4.77l-23.53,-4.98Z", "name": "Saskatchewan"}, "CA-QC": {"path": "M567.62,485.44l0.69,-0.35l1.22,-1.38l0.77,-0.25l0.36,-0.96l0.97,-0.76l0.27,-0.74l0.58,0.53l2.0,-0.0l0.62,0.3l1.01,-0.12l0.29,-0.35l0.52,0.33l1.36,0.02l1.33,0.78l4.43,0.81l0.54,0.69l1.41,-0.28l1.21,0.56l1.62,0.15l-2.04,2.18l-0.04,0.45l0.41,0.2l0.89,-0.29l1.91,-1.82l0.65,-1.14l1.15,-0.5l1.34,0.24l0.05,0.73l0.58,0.36l0.59,-0.85l0.34,-0.05l1.02,0.44l1.5,1.4l2.15,0.56l0.33,-0.61l-1.98,-1.25l0.01,-0.69l2.64,-0.51l0.86,-0.91l0.26,-0.75l0.94,-0.12l1.32,-1.11l0.87,-2.05l1.31,-0.53l1.15,1.47l1.19,0.35l0.52,-0.22l0.64,0.65l0.96,0.14l0.29,0.88l1.68,1.33l1.17,0.26l-0.17,0.57l0.4,0.22l1.41,-0.03l0.47,-0.47l-0.15,-0.37l0.81,0.4l-0.2,0.61l0.51,0.53l0.3,1.1l-0.56,0.47l0.08,1.04l-0.66,1.38l0.44,0.57l0.83,-0.56l0.79,0.64l0.53,-0.47l-0.63,-1.88l3.32,0.52l0.44,0.74l-0.33,0.83l0.18,0.7l0.58,0.3l0.9,-0.37l0.72,0.84l-0.4,1.12l-1.28,-0.01l-0.5,0.49l-0.18,0.9l0.26,0.43l0.87,-0.75l1.25,-0.02l1.04,-0.53l0.24,-1.94l1.99,0.45l0.69,0.44l0.2,0.37l-0.4,0.55l-1.78,0.57l-0.14,0.57l0.97,0.88l-0.76,0.45l-0.18,0.55l0.32,0.31l1.45,0.09l-0.94,0.39l0.28,0.79l1.22,0.1l-0.28,0.74l1.22,0.54l-0.03,0.8l0.66,0.28l0.18,0.79l0.8,-0.09l0.33,-0.64l1.12,0.98l0.99,-0.79l0.6,0.52l1.4,-0.43l0.74,0.15l0.5,0.74l0.71,-0.18l0.81,0.24l0.43,-0.47l0.47,0.74l1.44,0.04l0.35,-0.56l0.58,0.08l0.35,-0.57l-0.15,-0.4l0.41,0.03l0.32,-0.57l0.55,0.26l0.57,-0.38l0.07,1.05l0.81,0.83l0.16,0.92l-0.39,0.69l2.73,1.17l0.45,-0.16l0.4,-0.75l0.08,-0.41l-0.34,-0.21l0.4,-0.68l0.66,0.54l0.86,-0.68l-0.68,-2.21l0.06,-0.99l0.33,-0.34l1.51,2.44l0.52,0.3l0.4,1.74l-1.41,1.11l-1.13,1.65l0.92,2.18l-1.1,0.78l-0.09,0.74l0.87,0.87l0.02,0.89l0.62,0.66l-0.12,1.26l1.77,1.39l-0.18,0.58l0.53,0.46l0.08,1.44l-0.54,0.35l-0.99,-0.08l-0.3,0.57l0.18,0.81l-4.27,0.38l-0.4,0.62l-1.76,0.56l-0.74,-0.34l-3.44,-0.33l-0.61,0.35l-0.13,0.45l5.04,1.01l3.25,-0.87l1.86,0.27l2.59,-0.97l-0.3,0.59l0.22,0.42l1.77,0.38l0.01,1.39l0.52,0.47l-0.55,0.91l0.16,0.57l1.33,0.37l-1.61,2.91l0.06,0.7l1.1,0.62l0.39,1.15l-0.82,0.74l0.18,0.82l0.46,0.28l1.17,-0.26l1.62,-1.44l0.55,0.66l0.56,-0.01l0.34,-0.36l-0.03,0.58l0.45,0.63l-0.8,-0.28l-0.46,0.51l-0.53,0.06l-0.81,1.55l0.26,1.09l0.79,0.46l-0.25,0.37l1.14,2.89l-0.58,0.4l0.05,1.35l-0.49,0.33l-0.49,-0.84l0.22,-0.95l-0.66,-1.13l-0.57,-0.43l-0.48,0.12l-0.91,-1.17l-0.58,0.12l0.06,2.25l0.87,0.28l0.21,0.84l-0.57,-0.02l-0.26,0.58l0.23,0.42l-0.29,0.25l-2.52,1.17l-0.21,0.87l0.94,-0.12l1.69,0.39l0.53,-0.37l0.36,0.88l0.63,0.06l0.18,0.98l1.09,0.56l0.4,-0.44l0.42,-1.7l0.54,-0.43l0.13,-1.06l1.01,-0.85l0.68,-1.61l0.85,-0.69l2.19,-0.57l0.33,0.32l0.95,-0.15l0.89,-0.97l1.52,0.08l1.32,0.78l0.88,0.01l0.51,0.48l0.04,1.21l0.72,0.68l0.12,1.31l0.33,0.36l0.51,-0.0l0.16,0.94l0.7,0.12l0.37,1.11l-0.21,3.72l0.23,2.19l-1.06,1.95l-1.79,0.76l-2.23,1.57l-0.7,1.09l-0.84,0.55l-1.72,2.92l0.14,0.52l0.53,-0.1l2.0,-2.81l1.3,-1.2l4.27,-2.54l0.58,-0.65l0.7,-1.85l-0.28,-1.57l0.36,-0.98l-0.29,-4.95l1.07,-0.41l0.69,0.21l0.1,1.64l1.01,1.56l-0.09,0.85l-1.33,2.38l-0.05,1.72l0.8,0.14l0.86,-1.54l0.16,-1.47l0.76,-0.94l0.25,-1.37l0.18,0.62l0.59,-0.02l0.28,0.44l-0.08,1.85l0.62,1.26l-0.06,2.52l0.55,0.49l0.46,-0.09l0.17,-0.53l-0.29,-0.92l0.35,-1.3l-0.49,-1.15l0.31,-1.98l0.61,-1.14l0.91,-0.3l0.35,-0.94l0.9,-0.54l0.29,-0.59l0.5,0.12l0.47,-0.31l0.04,-1.07l0.39,-0.47l0.2,-1.13l0.04,0.46l1.0,0.7l0.33,-0.34l0.21,-1.22l1.61,-0.49l-0.07,-0.59l-0.37,-0.26l-0.06,-2.48l0.18,-0.83l0.73,-0.52l-0.43,-1.82l0.35,-0.31l2.75,1.46l0.75,1.14l1.4,0.34l-0.27,1.87l0.65,1.73l-0.65,1.08l0.58,0.91l0.6,-0.1l0.1,-1.07l0.51,-0.52l0.2,-1.18l-0.72,-0.62l0.36,-1.47l0.51,-0.25l-0.14,-0.64l-1.71,-1.57l-0.68,-0.02l-0.34,-0.94l-0.56,-0.26l0.14,-0.8l1.69,-0.26l0.57,-0.67l-0.23,-0.75l-1.62,-0.02l0.72,-0.57l0.04,-0.9l1.36,0.75l0.56,-0.32l-0.22,-0.92l-0.88,-0.47l0.13,-0.44l0.74,0.42l1.38,0.14l0.2,-0.65l-1.0,-0.55l1.84,-0.07l0.57,-0.69l-0.61,-0.52l-0.82,0.16l-1.08,-0.38l-0.63,0.1l-0.23,0.69l-0.95,-1.14l-0.01,-0.81l0.84,0.46l0.2,-0.45l-0.24,-0.65l0.85,-0.88l-1.22,-1.3l1.63,1.03l0.55,-0.07l0.1,-0.59l-1.2,-1.2l-0.05,-0.28l0.48,-0.3l-0.16,-0.44l-0.91,-0.42l0.54,-0.42l1.03,-0.08l2.03,1.08l1.18,-0.2l-0.25,-0.68l-0.92,-0.24l-1.33,-0.96l-2.27,-0.15l-2.07,-3.34l1.18,-2.17l2.75,0.77l0.74,-0.15l0.3,-0.5l-0.46,-0.43l-0.62,0.05l-1.47,-0.61l0.56,-0.4l-0.37,-1.02l0.63,-0.24l0.02,-0.27l-0.36,-0.54l0.15,-0.35l-0.71,-0.61l0.57,-0.58l0.06,-0.53l-0.34,-0.44l0.35,-0.19l0.07,-1.44l0.58,-0.41l0.89,0.4l0.89,-0.34l0.39,0.53l-1.02,0.44l0.27,0.84l-0.4,0.38l-0.84,-0.14l-0.37,0.57l1.18,1.74l1.8,0.19l-0.78,0.63l0.2,0.82l-0.36,0.51l0.87,2.23l-0.75,0.93l0.47,2.03l2.65,1.87l0.66,-0.24l1.57,-1.91l0.5,0.0l-1.08,1.6l0.23,0.51l-0.15,0.85l0.38,0.4l-0.08,0.78l0.52,0.83l0.04,1.04l1.29,1.97l1.23,0.09l0.68,0.63l-0.81,0.42l-2.04,-0.22l-0.84,-0.51l-0.77,0.2l-0.59,0.81l-0.17,0.88l0.35,0.78l-0.07,0.91l1.07,0.25l0.82,-0.83l1.66,0.6l2.33,-0.62l0.77,1.65l1.34,0.35l0.65,-0.29l0.91,-1.59l1.27,-0.51l0.48,-1.09l1.59,0.27l1.03,0.92l-0.89,0.81l-2.37,0.8l-1.68,1.44l0.04,1.65l0.55,0.89l0.98,0.39l1.01,-0.96l0.71,0.98l-0.14,0.45l-1.12,0.52l-0.29,1.21l-0.96,0.91l0.08,2.13l-1.14,0.87l-0.33,0.66l0.25,2.27l0.5,0.37l1.8,-0.09l0.3,1.0l2.7,3.39l0.56,-0.0l0.58,-0.81l0.57,0.97l1.02,0.63l0.76,-0.34l0.6,0.55l0.41,-0.14l-0.62,0.77l-0.13,0.97l0.59,1.97l0.91,1.19l-0.87,1.11l0.05,1.7l0.3,1.0l0.42,0.3l0.5,-0.32l0.29,0.98l-0.57,1.26l0.37,1.37l-0.09,1.2l0.45,0.67l-0.83,0.91l0.33,1.16l-0.69,0.61l-0.13,1.26l0.51,0.91l2.2,1.68l0.45,1.27l0.6,0.23l-2.46,0.56l-0.19,0.75l0.85,0.7l0.19,1.47l0.64,0.58l0.6,0.17l0.75,-0.34l0.9,0.25l-0.99,1.19l0.5,1.88l0.58,0.09l0.63,-0.75l1.2,0.69l1.14,-0.35l1.0,0.23l-2.1,2.25l1.47,2.03l0.77,0.2l0.02,2.05l0.99,0.42l0.36,1.7l-0.62,1.08l0.27,0.57l0.66,0.38l1.05,-0.03l2.92,-0.53l-2.12,1.18l0.07,0.69l-0.64,0.99l0.65,0.88l1.04,0.04l-0.05,2.55l0.73,1.52l0.13,1.13l-1.66,-0.28l-0.67,0.59l0.03,1.27l0.42,0.78l-0.49,1.16l2.22,1.59l-0.85,0.47l-0.3,0.56l-1.32,0.31l-0.54,-0.17l-1.23,-1.25l-2.72,-0.77l-1.01,0.33l-0.68,1.32l-1.58,0.36l-0.16,-1.07l-0.49,-0.52l-0.72,-0.12l-1.42,-1.13l-2.0,-0.07l-0.79,0.82l-0.24,1.58l-1.25,0.77l-0.89,-0.08l-0.42,0.43l0.62,1.64l-1.32,0.02l-0.53,0.59l-1.52,-1.14l-0.99,-1.61l-1.43,-0.05l-0.64,0.43l-0.99,-0.62l-1.36,-0.25l-4.27,-3.5l-0.61,-0.23l-0.64,0.17l-0.47,-0.73l-1.18,-0.43l-0.73,0.29l-0.13,0.78l1.96,1.57l-0.33,0.61l0.16,1.5l1.48,1.67l-0.4,0.37l0.0,0.74l1.8,2.02l-0.78,0.36l-0.09,0.75l-2.18,-0.7l-1.04,-1.33l-3.24,-1.24l0.21,-0.69l-0.37,-0.47l-1.37,-0.14l-0.77,0.94l0.53,1.47l2.45,2.55l2.18,1.29l0.17,0.64l-0.33,1.07l-0.93,1.21l0.43,1.21l-2.53,-1.23l-0.58,0.72l0.43,1.34l-1.2,0.47l-0.92,1.29l0.35,1.81l0.81,0.68l0.94,1.62l-1.07,1.38l0.14,2.16l0.93,0.8l1.58,0.7l0.42,0.94l0.89,0.37l-0.55,0.67l0.11,0.46l2.28,1.12l0.45,0.99l1.09,1.0l3.48,0.25l1.45,1.05l-0.51,0.43l-0.26,0.85l0.81,1.19l0.55,3.0l-0.44,-0.3l-0.56,0.14l-0.51,-0.32l-1.25,-0.05l-0.57,0.34l-0.85,1.35l1.34,3.66l0.69,0.73l1.96,0.6l0.65,-1.08l0.53,1.3l1.29,0.57l1.21,1.09l0.65,-0.53l0.66,0.04l0.3,-0.4l-0.32,-1.38l0.47,-0.18l0.52,-0.84l-0.32,-2.27l1.05,-0.72l0.36,-1.36l0.41,0.21l1.24,1.77l-0.61,-0.09l-0.45,0.41l0.02,0.51l1.73,2.71l-0.57,0.1l-0.27,0.72l1.77,4.37l-0.82,0.29l-0.25,1.19l2.25,3.25l1.07,-0.02l0.54,-0.72l-0.7,-1.91l0.45,0.59l1.47,0.59l0.23,1.26l1.38,0.53l1.88,-1.27l1.03,0.07l0.4,-0.31l-0.01,0.83l0.47,0.85l0.72,-0.11l0.22,-0.71l0.47,-0.13l0.38,-0.63l0.96,0.97l0.54,0.12l0.06,1.28l0.97,1.21l0.43,0.14l0.35,-0.88l0.95,0.41l0.4,0.8l1.35,0.12l0.48,-0.26l0.86,0.35l0.68,-0.28l0.41,-0.93l0.77,-0.07l0.95,0.4l1.82,1.61l1.03,0.12l1.75,-2.13l0.33,-1.42l-0.4,-1.03l-0.64,-0.53l-0.98,-2.33l0.8,0.1l0.37,-0.37l-0.72,-2.43l0.81,-0.28l0.1,-0.35l-1.38,-2.34l0.39,-1.72l-0.28,-1.5l1.51,1.38l1.13,0.13l0.97,-0.31l0.05,0.48l1.12,0.98l1.44,2.53l-1.28,-0.17l-0.48,0.73l0.86,0.91l0.81,0.19l35.0,-11.1l35.06,-12.54l3.42,9.02l-0.66,0.13l-0.44,-0.94l-0.67,-0.15l-1.97,1.23l-0.78,1.05l-0.46,-0.27l-0.62,0.77l-0.72,-0.49l-2.68,4.19l-1.64,1.25l-0.33,-0.76l-0.67,0.01l-0.29,0.38l0.18,0.75l-1.43,-0.17l-1.06,1.39l-0.66,-0.03l-0.6,1.15l1.14,1.19l-3.26,3.83l0.13,0.45l0.55,0.21l0.66,1.48l0.15,1.62l-0.21,0.42l-0.41,-1.85l-0.81,-0.1l-0.06,1.92l-0.36,0.95l-0.77,0.21l0.1,0.68l-0.54,1.09l-0.77,0.56l-0.1,1.51l0.82,0.48l-0.9,0.18l-0.48,1.41l-2.17,1.52l-0.5,1.77l0.65,0.77l-1.2,1.54l-0.92,0.48l-0.19,-0.56l-0.52,-0.21l-0.83,0.61l-0.45,-0.29l-0.34,0.3l0.03,0.63l-2.0,0.63l-0.71,0.9l-0.41,-0.49l-0.86,0.79l-1.54,-0.22l-0.9,1.3l-1.2,0.11l-1.38,1.11l-1.59,0.4l-2.2,1.67l-0.63,-0.58l-1.77,1.59l-0.17,-0.43l-1.33,-0.85l-3.94,1.02l-1.36,-0.41l-0.92,0.13l-0.55,0.57l-2.59,0.63l-0.63,-0.4l-2.2,1.18l-1.14,-0.17l-0.36,0.63l-1.34,0.39l-0.01,0.84l-1.47,0.35l-0.61,0.76l-0.93,-0.54l-1.25,0.49l-1.4,-0.41l-1.32,0.12l-2.04,0.78l-1.49,1.15l-2.1,0.27l-1.44,-0.27l-1.88,1.28l-2.61,0.93l-0.5,-0.13l-3.04,0.83l-1.08,-0.29l-4.94,2.56l-1.0,0.22l-1.65,-0.17l-0.78,1.42l-0.61,-0.13l-0.27,0.96l-1.18,-0.13l-1.06,0.6l-0.93,-0.98l-0.82,0.24l-0.65,1.05l0.01,1.01l-0.52,-0.18l-0.47,0.48l0.13,0.41l-0.84,2.13l-1.39,0.87l-0.47,0.69l-0.22,2.67l-0.62,0.01l-0.53,0.64l-0.24,1.65l0.46,1.24l-0.35,2.17l0.49,1.83l-0.9,2.3l-3.83,1.33l-0.72,0.8l-2.58,0.41l-0.47,0.63l-0.65,0.25l-0.13,1.04l-1.18,0.45l-0.43,0.49l0.89,0.68l0.68,-0.07l-0.1,0.23l-1.15,0.54l-0.93,-1.34l-0.63,-0.14l-0.38,0.24l0.64,1.28l-1.75,1.61l-0.34,0.95l0.1,0.8l-0.4,0.33l-0.04,0.54l-0.9,0.37l-1.58,2.08l-0.07,0.56l-0.93,0.62l-0.27,3.11l-1.0,0.53l-0.2,2.46l-1.09,3.18l-1.31,1.32l-0.7,1.78l-1.29,0.07l-2.38,-1.59l-1.96,0.45l-3.06,-1.17l-0.79,0.36l-2.96,0.12l-0.98,-0.53l-2.8,0.0l-1.08,0.61l-0.17,0.52l0.51,0.2l0.91,-0.32l1.95,0.32l-0.74,0.24l-0.2,0.65l0.77,0.75l1.42,-0.87l2.94,-0.67l1.57,0.19l2.55,0.95l0.86,-0.0l0.74,-0.43l0.87,0.13l1.43,1.22l1.11,0.06l-0.84,6.13l-0.83,1.47l-1.18,1.08l-0.46,1.37l-0.01,1.67l-2.8,1.65l-0.56,3.67l-0.87,2.54l-2.49,2.27l-2.19,3.43l-0.38,1.32l-0.97,1.01l-1.31,0.36l-2.8,1.73l-2.2,0.19l-1.25,1.7l-2.41,1.49l-0.16,1.61l-2.13,1.58l-1.37,2.11l-2.7,1.13l-1.71,1.34l-0.11,1.93l-1.55,0.98l-0.71,3.28l-0.88,1.17l-0.56,1.5l-0.69,0.71l-2.07,0.72l-0.98,0.8l-1.49,2.83l-1.29,1.09l-1.0,0.07l-0.96,-0.57l-1.35,0.32l-1.09,-0.65l-3.72,-0.87l-1.32,0.65l-2.06,0.27l-1.33,0.98l-2.82,0.84l-3.47,2.28l-1.13,0.4l-0.89,1.45l-0.7,0.24l-2.82,-1.86l-1.12,-0.09l-1.21,0.37l-0.91,1.01l-1.48,-0.68l-2.37,-0.38l-1.36,-2.43l-0.7,-0.56l-0.56,-1.82l-0.58,-0.48l-0.97,-0.11l-0.77,0.39l-0.17,0.53l0.27,0.96l-0.43,0.18l-2.91,-1.28l-0.7,-0.73l-0.29,-1.03l-1.0,-0.93l-4.14,-1.81l-3.41,-0.5l-1.54,0.14l-0.92,-0.32l-2.43,0.26l-0.44,-0.35l-4.48,-0.36l-0.53,-0.87l-1.89,-1.07l-0.93,-0.91l-0.79,-1.71l-1.17,-1.1l-1.06,-2.0l-1.81,-1.73l-1.98,-2.57l-0.54,-3.25l-1.96,-2.87l0.5,-2.68l-6.88,-58.56l1.67,2.7l0.76,-0.3l-0.21,-1.21l-2.42,-2.91l-1.05,-9.24l-0.4,-0.97l1.8,-2.07l0.51,0.3l-0.23,0.86l0.18,0.89l0.51,0.29l1.45,-0.36l1.17,0.94l1.18,3.03l-0.22,0.62l0.21,0.67l0.85,0.87l1.17,0.02l-0.03,-0.46l-0.89,-0.97l-0.02,-0.97l0.72,-1.43l-0.66,-0.48l0.75,-1.26l0.88,-0.26l0.24,-0.67l-0.67,-0.43l-0.75,0.08l0.06,-1.28l-0.27,-0.56l-1.49,-0.66l-0.25,-0.73l-0.98,-0.95l0.9,-0.11l1.02,-1.09l0.05,-0.63l-0.75,-1.16l1.4,-0.7l0.51,-1.39l0.54,-0.46l-0.09,-0.35l0.52,-0.43l0.47,-1.86l-0.26,-0.68l1.06,0.09l0.47,-0.44l-0.67,-0.78l-0.95,-0.09l0.35,-0.97l-0.4,-0.71l-0.02,-1.5l-0.67,-1.13l-0.57,-0.36l-1.4,-0.03l0.3,-0.73l-0.41,-0.8l-0.52,-0.15l-0.21,-1.16l-0.4,-0.45l0.77,-0.58l-0.29,-0.88l0.45,-0.68l-0.35,-0.62l-1.54,0.32l-0.13,-0.75l0.56,-0.12l0.27,-0.63l-1.0,-0.9l-0.91,0.22l0.28,-0.57l-0.53,-0.64l0.46,-2.68l-0.15,-0.59l-0.61,-0.4l-0.31,-2.06l-0.59,-0.93l-0.48,-0.2l0.67,-0.5l-0.08,-0.59l0.39,-0.84l-1.06,-1.01l-0.2,-1.12l-0.42,-0.26l-0.19,-0.72l0.14,-1.17l1.02,0.28l0.35,-0.65l-0.54,-0.57l-1.21,-0.13l0.54,-0.95l-0.65,-1.0l0.45,0.02l0.34,-0.63l-1.92,-1.3l0.6,-1.33l-0.13,-0.66l-0.87,-0.07l-1.12,0.54l-0.95,-0.41l0.44,-0.49l-0.07,-0.54l-1.53,-0.25l0.1,-0.3l-0.97,-1.33l0.4,-0.7l-0.53,-0.38l-0.9,-1.95l0.19,-0.91l-1.37,-0.81l-0.23,-0.46l1.54,-1.19l5.33,-2.46l0.81,-1.11l4.85,-2.88l2.24,-2.4l3.59,-2.98l0.9,-1.87l4.86,-6.16l0.42,-1.3l-0.39,-0.24l2.32,-4.01l0.23,-1.05l1.12,-1.18l0.75,-4.99l-0.05,-2.28l-0.87,-6.87l-1.23,-4.49l0.01,-1.63l-2.06,-5.25l-2.04,-3.63l-0.28,-1.28l-4.3,-5.9l-1.39,-1.17l-0.78,-0.16l-1.14,-0.88l-0.4,-0.99l-1.54,-1.0l-1.03,-0.16l-3.19,-1.36l-0.2,-0.78l-2.67,-1.45l-1.67,-1.88l-1.36,0.49l-0.0,-0.63l0.73,-0.62l0.04,-0.39l-0.65,-0.92l0.23,-0.9l-0.81,-1.89l0.57,0.26l0.39,-0.48l0.6,0.38l0.49,-0.32l0.62,-1.55l-0.37,-0.94l0.62,-0.27l0.02,-0.5l0.62,-0.7l-0.09,-0.62l0.36,-0.61l-0.21,-0.71l2.29,-1.62l0.54,-1.13l-0.19,-0.69l0.75,-0.42l-0.01,-0.71l-1.56,-0.39l-0.32,-0.57l1.18,-1.28l-0.12,-1.72l-0.72,-0.58l0.21,-0.23l0.57,0.33l0.79,-0.25l0.67,0.46l0.31,0.97l0.49,0.39l1.39,0.04l0.36,-0.45l-0.36,-0.46l-0.94,-0.2l-0.33,-1.13l-0.7,-0.94l0.5,-0.95l1.08,-0.14l0.32,-0.38l-1.09,-2.19l0.03,-0.71l1.09,-1.12l-0.29,-0.33l0.53,-0.69l-0.47,-0.56l-0.98,0.55l-0.62,-0.45l-0.68,0.43l-1.06,-0.02l-0.01,-0.6l1.22,-0.14l0.38,-0.57l-1.31,-0.85l0.4,-0.29l-0.01,-0.58l-0.77,-0.7l-0.01,-0.46l-0.57,-0.12l-0.65,-1.3l-0.95,-0.49l0.22,-0.81l0.9,-0.89l0.26,-0.75l0.98,-0.13l0.22,-0.69l-1.49,-0.49l-1.22,0.52l-1.2,-1.06l1.53,-2.14l0.06,-0.6l-0.31,-0.29l0.94,-0.68l0.15,-0.5l-0.49,-0.33l-0.46,0.11l-2.27,1.59l-0.48,-0.97l-0.38,-0.1l-2.14,0.94l0.57,-1.71l1.68,-2.74l0.64,-0.51l-0.06,-1.78l0.69,-0.82l-1.13,-4.31l0.44,-0.09l0.26,-0.6l1.05,-0.69l-0.19,-0.58l-0.8,-0.32l-0.14,-0.28l1.27,0.24l0.34,-0.62l-1.23,-1.2l-1.15,-0.05l-0.92,-1.42l-0.4,-0.2l-1.2,0.32l-0.39,-0.41l-1.11,-2.83l-0.33,-1.76l-0.47,-0.63l-0.63,-2.88l-0.22,-2.36l0.82,-1.83ZM578.66,653.17l-0.12,0.05l-0.03,-0.04l0.16,-0.0ZM653.23,787.08l0.57,0.5l3.84,0.59l0.65,0.96l-1.84,0.63l-0.63,1.13l-1.28,0.94l-1.51,-1.14l0.21,-3.62ZM655.71,541.57l0.05,-0.09l0.04,0.01l-0.05,0.06l-0.03,0.02ZM627.44,494.8l0.16,-0.06l-0.08,0.05l-0.09,0.01ZM639.87,499.16l-0.07,-0.04l0.04,-0.08l0.0,0.0l0.03,0.12ZM657.55,533.31l0.42,-0.03l0.38,-0.21l-0.29,0.53l-0.52,-0.29ZM677.38,543.7l-0.22,-0.37l-0.25,-1.11l0.12,-0.83l0.33,0.21l0.01,2.1ZM692.95,521.88l-0.28,-0.07l-0.05,-0.23l0.17,0.12l0.17,0.18ZM695.38,499.78l-0.07,-0.73l1.02,0.21l-0.33,0.12l-0.61,0.4ZM696.49,499.23l0.14,-0.3l0.34,0.14l-0.21,0.11l-0.26,0.05ZM721.26,553.36l-0.0,-0.22l-0.06,-0.42l0.12,0.17l-0.05,0.47ZM742.73,637.67l-0.85,-1.13l0.13,-0.56l-0.38,-1.24l0.31,-0.77l3.61,-2.12l0.56,-0.95l0.65,0.74l1.75,0.43l0.64,0.45l-4.79,2.12l-1.11,1.37l-0.52,1.66ZM572.37,551.69l-0.04,-0.14l0.05,-0.08l-0.01,0.22ZM809.57,639.69l0.11,-0.18l0.38,-0.14l-0.2,0.29l-0.28,0.03ZM794.09,718.58l-0.04,-0.31l0.4,-0.4l-0.02,0.55l-0.34,0.16ZM794.11,720.88l0.12,0.06l0.23,0.03l-0.4,0.14l0.05,-0.23ZM752.09,684.41l2.22,-1.3l0.33,-0.48l0.8,-0.2l2.39,0.31l9.66,-0.79l1.99,0.19l0.97,0.49l4.51,0.38l2.02,1.34l1.7,0.1l1.03,0.67l2.25,-0.21l0.97,0.38l0.65,-0.24l3.15,2.43l-0.18,0.63l-0.76,0.74l-0.8,0.01l-3.99,1.56l-3.11,-0.31l-2.11,0.44l-4.99,-0.03l-2.56,-0.78l-3.42,-0.22l-1.45,-1.91l-1.85,-1.13l-2.25,-0.76l-4.73,-0.57l-1.03,-0.61l-0.56,0.46l-0.85,-0.6ZM652.77,796.2l1.34,-1.08l0.39,-1.15l0.65,-0.66l1.25,-0.55l0.72,-0.75l1.87,-0.62l1.13,-1.84l1.23,-1.03l0.36,-0.7l0.42,-0.27l1.68,-0.02l0.58,-0.4l0.23,-0.76l-0.52,-1.46l0.53,-1.33l-0.16,-1.71l2.17,-3.82l0.22,-2.72l1.14,-0.54l1.06,-1.39l1.11,-0.26l1.41,-0.99l0.62,-0.82l-0.01,-0.71l1.62,-2.24l2.48,-1.6l0.65,-2.03l1.89,-1.12l1.43,-2.03l1.02,0.35l0.9,-0.13l4.53,-3.0l1.05,-1.01l0.42,-1.1l1.5,-0.46l1.15,-1.15l0.63,-0.03l0.89,-0.57l0.51,-0.89l2.15,-1.52l1.37,-2.26l1.5,-3.92l1.24,-1.36l0.34,-2.36l1.01,-1.11l2.88,-5.88l-0.06,-1.18l0.74,-1.92l1.24,-0.99l2.35,-4.3l2.12,-2.93l1.07,-0.44l1.94,-2.19l0.49,-1.23l1.02,-0.65l1.4,-1.96l0.8,-0.4l0.61,-0.88l1.14,-0.46l4.04,-3.95l1.4,-0.62l7.96,-6.62l4.17,-2.69l3.7,-1.3l3.37,-1.7l6.91,-1.06l1.71,0.07l1.4,0.5l2.0,0.2l3.47,1.52l1.16,0.82l0.25,0.86l-3.4,-0.34l-0.76,0.51l0.72,0.48l-0.21,0.46l0.39,0.43l1.21,-0.43l0.13,0.75l1.3,0.11l1.86,1.14l-0.66,0.55l-0.03,1.06l1.11,0.79l-0.8,0.71l-0.09,0.96l-2.1,1.13l-1.87,1.54l0.22,0.72l-0.3,1.78l-1.19,0.78l-0.79,0.12l-0.01,1.14l-2.76,2.81l-1.46,0.58l-1.02,-0.61l-3.52,-0.21l-1.24,-0.56l-0.26,-0.76l-0.44,-0.22l-0.88,1.05l-0.73,1.72l-2.23,0.29l-0.47,0.51l-2.04,0.13l-0.59,0.63l-0.03,0.61l-3.97,2.56l-0.27,0.53l0.12,0.86l-1.26,-0.06l-1.13,1.05l-1.76,0.33l-0.23,0.65l-2.65,-0.67l-0.29,-0.8l-0.46,-0.22l-5.82,1.45l-0.29,0.48l0.2,0.82l-2.69,0.66l-0.29,0.48l1.44,6.32l-1.36,2.4l-2.11,1.81l-2.77,1.73l-0.24,-1.66l-0.38,-0.42l-2.14,-0.15l-0.61,0.32l-6.09,15.23l0.29,5.14l-1.15,1.5l-0.55,2.85l0.72,1.19l-0.55,0.98l0.29,1.98l0.87,0.77l-1.38,2.38l0.31,1.46l-1.62,1.31l-1.12,2.01l-0.21,1.82l1.32,1.03l-1.1,-0.43l-0.86,0.3l-0.28,0.85l0.29,1.45l-0.3,0.49l-0.57,-0.85l-0.81,-0.24l-1.42,1.3l-0.39,0.92l-1.68,-0.48l-0.78,0.32l-1.19,1.38l0.52,0.71l-0.6,3.08l-37.01,7.26ZM688.69,755.58l1.98,-2.71l0.28,-0.13l-0.38,1.07l-1.88,1.77ZM678.73,541.82l0.47,0.85l0.01,0.82l-0.46,-0.42l-0.01,-1.24ZM659.52,786.99l0.49,-0.72l1.79,-0.99l0.73,-1.75l0.81,-0.99l-0.31,2.22l0.19,1.04l-0.4,0.6l-2.32,-0.04l-0.98,0.62ZM662.23,534.23l0.01,-0.03l0.04,-0.02l-0.01,0.02l-0.04,0.03ZM659.87,785.06l1.03,-1.6l0.72,-0.51l-0.63,1.6l-1.12,0.51ZM659.17,532.29l1.64,-0.18l0.38,0.44l-1.32,2.15l0.08,-1.38l-0.78,-1.02ZM657.0,790.9l0.16,-0.25l0.88,-0.1l-0.46,0.23l-0.58,0.13Z", "name": "Qu\u00e9bec"}, "CA-PE": {"path": "M771.47,732.39l0.78,1.7l-0.78,1.88l0.13,0.82l0.7,0.47l0.77,-0.11l1.39,1.0l0.16,0.9l0.72,0.15l-0.07,0.8l-0.55,0.52l0.16,0.77l0.73,-0.04l0.43,-0.45l0.61,0.64l1.57,-0.16l0.33,-0.53l-0.67,-1.6l0.46,-0.19l1.51,0.13l0.16,0.47l1.06,0.44l0.4,-0.34l0.06,-0.62l0.61,-0.01l0.57,0.69l1.37,0.46l0.37,-0.51l3.75,-1.24l0.36,0.19l0.78,-0.8l2.11,-0.31l0.32,-0.51l-0.27,-0.27l0.62,-0.28l3.82,-1.4l1.87,-0.25l-1.8,2.01l-0.64,-0.34l-0.48,0.1l-0.02,0.49l-0.53,0.01l-0.31,0.51l0.32,0.48l-0.52,0.2l0.22,0.56l-1.05,0.36l0.24,0.7l0.64,0.06l-1.37,0.0l-0.4,0.32l-0.04,0.89l0.32,0.64l0.6,-0.02l0.16,0.53l0.44,0.19l0.71,-0.13l0.01,0.35l-0.58,0.3l-0.49,0.84l1.06,0.39l-2.58,1.13l-0.78,0.02l-0.99,-0.6l0.09,-0.49l-0.46,-0.25l0.36,-1.16l-0.25,-0.3l-0.71,-0.03l-0.92,-0.59l-0.52,0.49l-0.71,-0.1l1.06,-1.86l-0.51,-0.53l-0.94,0.65l-0.69,1.16l-1.06,0.01l0.29,0.75l-0.86,1.0l0.76,0.51l-2.98,-0.56l-1.4,0.5l-0.82,-0.15l-0.7,-0.68l-0.92,-0.25l0.82,-0.41l-0.92,-1.1l-1.18,0.33l-1.26,-0.1l-0.64,0.6l-1.36,0.25l0.2,-0.26l-0.39,-1.49l0.35,-0.94l-0.78,-1.42l-0.79,0.92l-1.22,-0.25l-1.58,0.61l-0.34,-0.51l0.16,-1.21l0.8,-1.45l0.1,-1.5l1.48,-2.6Z", "name": "Prince Edward Island"}, "CA-MB": {"path": "M325.95,732.99l4.14,-61.02l4.77,-62.91l10.31,-77.66l33.82,3.81l33.89,2.47l0.12,3.64l-0.6,2.66l0.36,1.51l-0.19,0.95l0.53,1.44l-0.02,2.2l-0.6,0.92l-0.31,3.26l-1.34,-0.06l-0.7,0.81l0.06,0.47l1.76,-0.06l0.29,0.93l0.76,0.46l0.02,0.76l-0.66,1.78l0.17,0.48l1.42,-0.82l0.96,1.03l0.53,2.0l0.68,0.28l1.11,-0.56l0.27,0.59l-0.57,0.66l-0.54,1.46l0.08,2.65l-0.51,0.99l-0.4,3.24l0.38,0.24l0.36,-0.27l1.44,-3.28l0.06,-3.8l0.85,-1.47l0.24,-1.36l2.39,0.3l1.61,-0.55l1.33,0.57l0.49,-0.15l0.27,1.01l0.73,0.31l1.0,-1.02l0.84,-0.08l0.28,0.31l0.16,4.18l1.69,5.63l0.69,1.0l0.49,1.81l0.25,4.64l0.43,0.18l1.03,2.86l0.47,2.27l0.56,0.64l0.43,1.27l0.27,1.71l-0.38,2.25l-1.47,3.14l-1.12,1.66l-1.62,0.59l-0.12,0.73l0.53,0.19l1.46,-0.36l2.43,-1.98l1.57,-0.33l-1.98,1.87l0.57,0.37l1.28,-0.39l1.33,-1.17l2.64,-0.65l9.39,-3.63l4.27,0.65l1.73,0.78l0.4,0.66l3.05,1.73l1.07,1.04l5.02,1.58l0.98,-0.09l3.56,1.54l-49.25,55.9l-17.57,16.1l-4.09,69.07l-36.0,-2.67l-36.08,-3.9Z", "name": "Manitoba"}, "CA-YT": {"path": "M2.99,403.6l-2.51,-3.38l99.63,-158.54l0.21,0.56l0.59,0.12l2.17,2.22l1.13,0.76l0.8,-0.0l1.33,0.76l0.84,1.67l1.71,1.75l0.18,0.8l0.9,0.66l-0.07,2.09l0.76,2.03l-0.1,2.95l1.12,0.86l0.58,-0.27l-0.01,1.69l0.41,1.39l3.81,6.94l1.36,0.79l1.09,2.36l0.71,0.44l0.6,-0.15l0.59,0.28l-11.85,21.13l-0.58,1.5l0.84,1.37l-0.55,2.17l-1.23,1.62l0.21,0.92l-0.57,1.44l-0.9,1.03l-1.33,0.65l-0.13,0.76l-0.92,1.4l-0.22,1.31l0.22,0.46l14.41,7.82l-0.45,0.78l0.79,1.4l0.09,2.32l-1.18,1.06l0.08,1.17l-0.46,0.61l0.47,1.99l-0.93,0.4l-0.31,1.21l-0.91,0.0l-1.74,2.16l0.11,0.88l1.21,0.53l-0.01,0.56l-0.91,1.75l-0.98,0.23l-0.87,0.83l-0.04,0.65l0.36,0.38l-0.74,1.47l0.3,0.57l1.49,1.0l0.94,-0.39l1.38,-0.03l1.52,0.54l-1.27,1.1l-0.08,0.74l0.43,0.46l1.31,0.21l0.7,-0.73l1.51,-0.49l0.27,1.26l1.01,0.21l-0.11,0.35l-2.02,0.3l-0.77,0.87l0.78,2.27l-0.08,3.66l-1.05,0.38l-1.32,1.63l-2.41,0.94l-0.74,0.99l-0.74,-0.1l-0.75,0.49l-0.62,-0.17l-0.32,0.4l0.05,0.31l-0.45,0.35l0.12,0.71l0.48,0.56l1.11,-0.05l-0.7,1.31l0.47,0.8l0.7,0.35l-0.12,0.55l-1.75,0.48l-0.7,1.7l-1.2,0.2l-0.48,0.64l0.08,1.28l0.92,0.26l0.9,0.76l0.63,1.68l0.7,0.59l-0.01,2.15l0.36,1.15l0.86,0.91l-1.67,1.12l-0.58,0.81l0.17,0.6l1.11,0.22l0.54,0.79l1.97,-0.15l0.59,-0.58l1.23,1.28l0.19,2.0l-0.66,0.42l-0.05,0.59l0.42,0.43l-0.02,1.43l-0.84,0.83l0.15,1.37l-0.3,0.52l0.24,0.53l0.45,0.07l-0.34,1.28l0.97,1.72l0.43,0.17l0.51,2.07l0.96,1.36l0.59,0.27l-1.75,0.01l-0.68,0.79l0.29,1.13l1.16,0.11l-0.17,1.18l0.85,0.52l-0.24,0.43l0.35,0.78l-0.17,1.41l-0.92,0.4l-0.57,1.09l-2.07,0.18l-0.81,0.97l0.09,0.6l0.72,0.23l0.01,1.12l0.49,0.51l-0.28,2.33l0.67,0.92l0.88,0.18l-2.93,2.76l0.2,2.37l-0.35,1.22l0.54,0.92l-0.16,0.9l-0.8,0.25l-0.14,0.66l0.35,0.36l0.86,-0.02l1.19,2.39l-0.76,-0.12l-0.79,0.74l0.13,0.99l-1.0,0.81l-0.09,2.31l-0.77,0.19l-0.34,0.6l1.1,1.56l1.26,0.18l0.72,0.74l-0.12,0.81l0.63,0.7l0.68,-0.03l0.86,-0.64l0.77,0.31l0.61,1.96l-0.31,0.78l0.52,1.18l-0.24,1.87l0.43,0.56l0.66,0.07l0.03,1.48l-0.41,1.6l0.51,0.73l0.33,1.51l0.7,0.77l0.06,0.96l0.76,1.13l1.44,0.78l0.74,0.03l0.74,1.3l-0.3,1.16l0.27,0.71l-0.88,3.32l-0.53,1.02l-0.84,0.25l-0.34,0.51l0.21,1.0l1.01,0.01l-0.47,1.93l-0.85,1.61l0.11,0.5l-0.38,0.94l0.32,0.94l0.58,0.12l0.32,-0.28l0.2,0.69l0.55,0.36l1.68,-0.65l0.57,0.95l1.3,0.52l1.0,-0.29l0.28,-0.9l0.4,0.12l-0.02,1.03l1.01,0.6l1.48,-1.19l0.97,1.64l1.38,0.82l1.51,1.46l2.18,-0.54l2.61,0.89l0.53,-0.31l0.8,-1.34l1.56,0.69l-0.24,3.01l-1.54,0.79l-0.48,0.84l0.61,2.61l-0.27,1.75l1.61,0.99l-0.73,2.35l0.23,4.91l-0.86,1.08l-31.4,-13.07l-24.81,-11.37l-28.47,-14.24l-20.01,-10.81l-23.54,-13.6l-0.23,-1.48l3.03,-3.02l0.42,-0.84l-0.17,-0.52l-5.13,-2.69l-3.74,0.81l-2.48,-3.89l-0.63,-0.21l-1.12,0.73ZM110.73,248.92l1.12,-0.26l0.66,1.18l-0.77,-0.34l-0.9,0.49l-0.12,-1.07Z", "name": "Yukon"}, "CA-NB": {"path": "M711.48,743.21l4.88,-3.44l1.67,-2.57l0.18,-1.28l-1.33,-5.56l2.7,-0.66l0.29,-0.48l-0.2,-0.82l5.1,-1.27l0.53,0.94l2.39,0.41l0.8,0.58l0.47,-0.21l0.15,-0.93l1.52,-0.21l1.16,-1.07l1.52,0.15l0.31,-0.53l-0.28,-0.79l0.29,-0.55l1.78,-0.33l3.5,-2.52l0.93,0.83l6.82,0.46l2.26,2.96l-0.07,0.63l0.62,0.47l0.61,-0.23l0.36,-0.92l1.13,-0.52l0.93,-1.68l1.46,-1.45l1.26,-0.71l-0.15,0.55l0.56,0.45l2.56,-1.38l0.18,0.13l-0.47,0.17l-0.22,0.6l0.36,0.29l0.68,-0.06l0.18,0.35l-0.05,1.32l-0.62,1.42l0.01,0.67l0.32,0.28l-0.22,1.07l0.35,0.36l0.21,-0.13l-0.4,1.59l0.21,0.82l-0.7,0.42l-0.69,1.63l-2.18,2.49l-0.16,0.57l0.45,0.29l1.52,-0.31l0.68,0.45l1.67,-1.33l0.89,0.36l0.53,-0.7l0.76,-0.22l0.54,1.22l-0.66,1.4l0.02,0.78l0.73,1.41l0.99,0.87l-0.1,1.13l0.5,0.3l0.38,-0.48l1.0,0.13l0.34,1.71l0.66,0.61l-0.24,0.5l0.52,0.57l0.52,-0.05l0.45,0.39l0.13,0.89l-0.66,0.54l-0.06,0.5l0.85,0.13l1.11,-0.59l0.23,1.66l0.68,0.13l3.34,-1.09l0.8,0.2l0.6,0.61l2.16,-0.91l2.12,0.21l-0.9,0.93l-2.04,0.58l-0.16,1.18l0.45,0.3l-0.94,0.55l-0.72,2.11l-0.62,-0.3l-0.6,0.17l-0.53,2.15l-1.32,-1.94l-0.41,0.29l-1.5,-1.18l-0.75,-1.2l-0.75,-0.36l-0.5,0.13l0.0,0.7l0.78,0.43l0.31,0.82l2.11,1.76l-1.03,4.22l-0.55,-0.06l-1.15,0.56l-0.78,1.52l-3.32,2.75l-2.08,2.39l-0.16,0.67l-1.49,1.15l-0.37,0.73l-0.76,-0.01l-1.1,1.21l-0.67,-0.03l-0.51,-0.64l-1.07,-0.28l0.9,-1.59l-0.53,-1.41l-0.67,0.26l-0.52,1.78l-1.1,0.95l0.5,0.88l1.02,0.38l-0.32,0.86l-0.25,0.32l-0.66,-0.3l-0.87,0.23l-0.34,0.51l0.4,0.56l-0.93,1.21l-0.64,-0.76l-0.61,0.02l-1.86,1.85l-0.3,-0.18l-0.47,0.38l-0.44,-0.36l-0.7,0.47l0.01,-0.72l-1.71,-0.72l-1.11,0.89l-0.08,0.97l-0.82,-1.35l-0.99,-0.5l-0.4,0.72l-0.82,0.25l-0.21,0.76l-1.91,-1.39l0.1,-1.92l-1.18,-1.54l0.51,-0.73l-0.05,-0.9l-1.13,-2.02l-0.43,-0.24l-0.52,0.42l0.0,0.8l-0.82,0.1l-0.88,-0.24l-0.84,-0.76l-0.33,0.08l-0.57,-0.77l0.12,-0.88l-0.46,-0.63l0.25,-0.98l-0.49,-0.6l-5.26,-19.48l-1.95,-1.12l-0.85,-0.87l-3.83,-1.73l-1.37,0.38l-0.46,1.23l-1.34,0.2l-1.27,1.39l-1.3,0.46l-1.31,1.15l-1.79,-0.77ZM746.76,774.42l-0.04,0.04l-0.08,0.14l-0.05,-0.07l0.17,-0.12ZM759.75,722.25l-0.02,-0.05l-0.0,-0.01l0.06,0.02l-0.04,0.04ZM768.61,745.97l0.01,-0.09l0.03,0.05l-0.05,0.04ZM759.95,720.22l0.52,-0.55l0.13,0.24l0.67,-0.23l-0.55,1.43l-0.78,-0.88ZM760.94,717.95l0.09,-0.3l0.01,-0.4l0.08,0.22l-0.18,0.48ZM748.75,781.92l0.08,-1.46l0.26,-0.59l0.82,1.56l-1.16,0.48Z", "name": "New Brunswick"}, "CA-NL": {"path": "M818.51,688.98l0.02,-0.65l1.55,-2.42l0.25,0.55l0.81,0.32l0.32,0.49l-1.34,0.44l-1.61,1.27ZM822.14,686.92l0.09,-0.28l0.2,0.08l-0.17,0.14l-0.11,0.06ZM824.06,685.7l-0.48,-2.57l0.46,-2.92l-0.33,-2.45l0.29,-1.53l0.64,0.39l1.83,-0.8l1.87,1.03l1.74,-0.31l0.54,-0.42l-0.17,-0.68l-0.33,-0.09l-1.27,0.39l-0.99,-0.34l-0.8,-1.03l2.21,-0.76l0.51,-1.4l-0.15,-0.42l-1.2,0.28l-0.06,-1.04l-0.46,0.04l-0.9,0.85l-1.88,0.14l-0.72,-2.27l0.34,-1.43l0.85,-1.64l0.57,0.11l0.56,1.16l0.85,0.46l0.4,-0.21l-0.55,-1.14l1.54,0.3l0.73,-0.53l-0.21,-0.41l-1.37,-0.41l-0.81,-0.81l-0.39,0.46l-0.48,-0.37l-0.65,-0.73l-0.22,-0.95l0.7,-9.03l-0.38,-4.88l0.34,-3.49l1.45,-0.26l0.59,-0.82l-0.37,-0.63l-0.77,0.32l-1.17,-0.57l1.93,-2.2l0.89,-2.81l-0.04,-0.49l-0.83,-0.7l0.51,-0.65l-0.28,-0.74l0.12,-1.13l0.56,-0.76l-0.31,-0.81l0.31,-0.71l-0.58,-0.44l0.1,-1.04l1.77,-2.59l0.98,-0.65l0.55,-1.03l1.96,-2.1l1.26,-2.08l0.7,1.99l1.55,-0.57l1.29,0.01l0.54,-0.36l-0.19,-0.69l-0.68,0.01l-0.53,-0.64l1.05,-0.21l0.4,-0.84l0.83,0.67l-0.69,0.24l-0.09,0.7l0.95,0.36l0.12,1.05l-0.54,0.02l-0.23,0.43l0.17,0.57l-0.32,0.4l-1.78,0.19l-0.8,0.48l-0.87,-0.17l-0.09,0.38l-0.71,-0.26l-0.76,0.5l-0.18,0.5l0.23,0.79l1.02,0.19l-0.16,0.91l0.29,0.62l1.83,0.78l0.39,-0.72l-0.17,-0.2l0.64,-0.8l0.68,-0.1l0.33,0.14l0.57,1.72l-0.65,0.48l0.44,0.67l-0.13,2.25l-0.35,0.55l-0.42,2.53l-0.34,0.07l-0.49,-2.17l-0.61,-0.28l-0.62,0.97l1.07,2.9l0.9,0.67l-0.65,1.64l0.04,0.86l-0.52,0.2l-0.23,0.52l0.66,0.38l-0.55,1.91l-0.98,0.27l0.0,0.67l0.86,0.21l0.12,0.69l-0.14,2.05l-0.45,1.24l-0.66,0.34l0.38,0.68l-0.47,1.24l0.06,1.84l0.16,0.63l0.56,0.14l0.13,1.13l-0.97,1.75l0.39,0.54l1.22,-0.07l0.47,3.3l0.69,-0.49l1.16,-6.05l0.4,-0.71l0.41,0.36l0.66,-0.23l-0.28,-0.85l0.56,-0.14l-0.01,-0.46l-0.46,-0.58l0.05,-1.26l0.95,-2.77l0.79,0.59l-0.18,3.42l0.93,-0.5l0.35,-1.41l0.27,0.39l0.79,-0.35l-0.0,-1.09l2.77,0.99l0.52,-0.3l0.2,-0.82l1.5,-0.94l0.12,0.59l-0.79,0.7l-0.99,1.9l-1.97,2.24l-0.69,0.29l0.06,0.6l-0.91,2.21l0.11,0.9l0.23,0.31l0.67,-0.13l0.71,-2.13l0.29,-0.41l0.38,0.14l0.48,-0.37l-0.26,1.38l0.59,0.25l-1.46,2.03l-0.14,0.97l0.53,0.67l1.61,-2.04l1.09,-0.82l0.49,0.19l0.28,0.84l0.7,-0.29l0.98,0.89l0.59,-0.38l0.01,-0.84l0.32,0.99l0.71,-0.1l0.19,-1.95l0.14,0.34l0.64,0.15l-0.35,0.84l0.22,0.44l0.59,-0.23l0.39,0.34l0.4,-0.34l0.79,0.24l0.11,-0.88l0.52,1.06l-0.54,0.71l-0.39,1.61l1.03,0.85l-0.38,1.05l0.16,0.44l0.47,-0.01l1.02,-0.97l0.76,-1.31l-0.03,-0.45l-0.62,-0.17l-0.51,0.55l-0.18,-1.15l1.57,-2.16l-0.03,-0.34l0.08,0.26l-0.25,0.67l0.57,0.54l0.48,-0.42l0.22,-1.1l1.67,-0.42l0.54,-1.2l0.62,-3.99l0.28,1.33l0.59,-0.52l0.13,0.21l-0.03,0.91l0.61,0.59l0.21,1.34l0.63,0.12l0.57,-1.64l-0.32,-0.61l0.02,-0.96l0.85,-0.12l0.79,0.7l0.31,-0.71l0.44,-0.22l-0.06,-1.2l0.32,-0.27l0.74,0.28l0.93,-0.73l5.77,0.89l0.22,0.12l-0.4,0.97l0.1,0.98l-0.49,0.24l-0.08,0.56l0.81,0.8l-2.57,1.49l0.26,0.54l-0.46,0.33l0.09,0.67l0.91,0.29l-0.86,0.34l-0.29,0.46l0.16,1.13l-1.86,1.47l0.0,1.05l0.58,0.19l1.41,-1.37l0.14,0.84l1.0,0.06l0.81,1.47l0.56,0.03l-0.39,1.08l0.37,0.5l0.57,-0.21l0.18,-0.47l0.9,-0.32l0.19,0.33l-0.99,0.74l-0.86,1.43l-1.08,0.56l-0.4,0.85l0.24,0.61l0.68,0.47l0.61,-1.3l0.97,-0.42l0.54,-1.1l0.13,0.97l0.7,0.34l0.5,-0.39l-0.16,-0.43l0.31,-1.17l0.25,0.35l0.59,-0.13l0.5,-0.63l0.27,0.58l0.47,-0.2l0.67,-1.31l0.2,-1.29l-0.28,-1.66l0.91,0.0l0.34,0.73l1.22,0.06l0.94,-3.37l0.86,0.75l0.3,2.82l-0.8,1.71l-0.96,-0.15l-1.06,0.49l0.22,1.79l-1.26,1.56l-0.53,1.5l-1.45,0.06l-0.71,0.35l-1.06,-0.39l-0.47,0.35l0.06,0.97l1.35,1.88l2.18,-0.61l-1.93,0.8l-0.05,0.78l0.26,0.14l1.9,-0.22l1.17,-1.04l-0.06,1.61l-0.81,0.3l-0.23,0.53l0.85,0.23l0.02,1.22l-1.26,-0.75l-0.46,0.03l-0.38,0.51l1.88,1.64l0.16,0.78l1.51,0.96l1.58,0.42l0.29,0.84l1.71,-1.1l-0.32,-1.21l0.06,-1.67l-0.57,-0.88l0.05,-2.14l0.64,-0.69l-0.26,-0.35l0.09,-2.07l0.87,-1.15l1.04,-0.21l0.44,-0.84l0.28,-1.77l0.43,0.3l-0.37,0.49l0.02,1.96l-0.43,1.39l0.36,1.31l-0.62,2.4l0.77,1.14l-0.53,1.03l0.11,0.6l0.39,0.29l0.12,0.67l0.88,-0.04l0.12,0.97l0.54,0.75l0.8,-0.16l0.23,0.23l0.42,-0.3l0.19,-1.05l1.35,-2.65l0.07,-1.31l-0.52,-2.42l0.56,0.06l0.51,1.46l0.77,0.05l0.18,1.36l0.28,0.41l0.86,0.2l-0.46,0.7l0.54,0.67l-0.09,1.98l-0.49,0.38l0.6,3.82l-0.59,0.45l0.34,0.65l0.58,-0.04l0.26,0.34l-0.14,0.63l0.45,0.87l0.46,2.59l-0.57,1.29l0.07,1.4l-0.47,0.74l-0.67,-0.01l-0.83,-1.05l-0.69,-0.11l-0.33,0.68l-0.63,-0.3l-0.68,1.86l-0.83,1.01l-0.73,-0.66l-0.37,-1.76l0.15,-1.33l0.5,-0.85l-0.23,-0.4l-0.58,0.22l-0.01,-0.84l-0.4,-0.27l-0.25,0.21l-0.84,-0.22l0.05,-1.36l0.49,-1.07l-1.62,-1.32l-0.34,0.41l0.02,0.96l-0.33,-0.14l-0.27,0.39l-0.02,1.71l-0.56,0.67l-0.05,1.51l-0.38,0.42l-0.36,1.88l-0.68,1.14l-1.16,0.24l-0.47,-0.99l-0.17,-1.61l0.02,-4.34l0.67,-0.26l-0.1,-0.72l-0.82,-0.24l0.6,-0.51l0.23,-1.22l-0.41,-0.34l0.61,-0.71l0.06,-0.57l-0.72,-0.23l-0.68,0.24l-0.13,-1.19l-0.59,-1.2l-0.83,-0.46l-1.16,-1.94l-0.54,-0.14l-0.55,-0.83l-0.47,0.24l-0.91,-0.8l-0.33,0.87l-0.53,-0.45l-1.3,-0.03l-0.4,0.25l0.12,0.46l0.99,0.27l0.23,1.41l-0.06,1.15l-0.64,0.45l0.37,0.72l0.0,0.98l-0.69,0.17l-0.99,4.53l-0.43,-0.07l-0.29,0.77l-0.95,-0.73l-0.76,0.59l-0.92,4.35l-0.55,0.39l-0.21,0.76l0.74,0.35l0.45,0.78l-0.11,0.53l-0.72,-0.18l-0.34,0.36l0.47,1.39l-0.02,1.18l-0.43,0.51l-0.74,0.19l-0.02,0.81l-0.52,-0.04l-0.1,-0.43l-1.25,-0.24l-1.26,2.06l-1.9,0.6l-1.19,-0.1l-0.43,-0.32l0.46,-2.27l0.88,-0.9l0.97,-0.15l2.04,-1.75l0.09,-0.86l1.22,-2.28l-0.44,-2.39l0.42,-1.17l2.27,-1.82l0.82,-1.47l-0.27,-0.9l1.23,-1.84l-0.4,-0.26l-1.19,0.33l-0.89,1.52l-1.26,0.84l0.4,-2.8l-0.47,-0.74l-0.65,1.09l-0.31,2.16l-0.31,-0.33l-0.67,0.71l-1.79,0.09l-0.18,-0.55l-0.78,-0.22l-0.73,0.71l0.13,1.82l1.21,0.81l0.24,1.37l-1.1,0.92l-0.3,-0.1l0.04,-0.89l-1.08,-0.43l-0.8,1.48l-0.02,-0.52l-0.43,-0.31l0.06,-0.78l-0.47,-0.05l1.23,-1.4l0.05,-0.44l-0.83,-0.14l-1.53,1.71l-0.77,-0.1l0.47,-1.23l-0.08,-1.5l-0.38,-0.39l0.25,-1.59l-0.4,-0.79l-0.66,-0.19l-0.47,1.48l0.31,1.95l-1.11,1.09l-0.38,1.01l0.17,-0.88l-0.28,-0.45l-0.54,0.35l-0.79,-0.88l-0.46,-0.04l-0.13,0.71l0.63,0.81l-0.1,0.83l0.37,0.4l-0.54,1.27l-0.84,-1.65l-0.47,-0.24l-0.3,0.44l0.03,1.02l0.55,0.59l0.02,0.54l-3.57,1.08l-0.41,0.46l-0.25,-0.2l-0.62,0.22l0.13,0.75l0.6,0.46l-0.21,0.36l-1.15,0.21l-1.33,-0.26l-1.5,0.92l-0.14,-0.52l-0.61,-0.41l-0.53,0.36l-0.02,0.51l-0.92,0.57l-0.17,-0.69l-0.46,-0.16l-1.88,0.89l-0.5,-0.13l-0.77,1.11l-1.38,-0.43l-0.81,0.72l-0.79,-0.15l-0.02,-0.49l-0.44,-0.12l-0.56,0.26l-0.17,0.46l-0.9,-0.11l-0.81,0.33l-1.22,1.15l-0.87,0.03l0.41,-1.32l-0.5,-0.16l-1.15,0.85l-0.09,1.71l-1.35,0.05l-0.62,1.11l-0.56,0.12l-0.42,0.57l-2.33,0.82l-1.98,1.48l-1.19,0.13l-0.86,-0.32l-0.49,-2.11l-2.24,-2.02l0.77,-0.74l0.91,-2.53l1.76,-2.24l0.33,-1.2l1.47,-2.58l0.19,-1.52l1.72,-1.6l0.36,-1.23l1.28,-0.84l0.14,-0.68l-0.91,-0.21l-2.2,1.29l-0.93,-0.35l-1.05,0.22ZM875.13,662.15l0.01,-0.05l0.03,0.05l-0.03,0.0ZM877.64,662.72l0.01,0.0l-0.0,0.01l-0.0,-0.01ZM877.66,662.95l0.18,0.25l-0.68,1.05l-0.32,0.16l0.81,-1.47ZM877.92,687.46l0.03,0.05l-0.04,0.02l0.01,-0.07ZM861.06,691.62l-0.07,0.12l-0.12,0.06l0.18,-0.18ZM860.09,692.51l-0.48,0.59l-0.29,-0.1l0.05,-0.05l0.72,-0.44ZM879.41,666.37l0.09,-0.58l0.24,-0.6l0.19,0.13l-0.51,1.05ZM875.09,662.02l-0.1,-0.13l0.04,0.02l0.06,0.11ZM856.72,657.08l-0.75,-1.19l0.46,-0.02l0.19,-0.64l0.34,0.61l-0.23,1.24ZM855.6,655.59l-0.04,-0.03l0.02,-0.02l0.02,0.05ZM854.13,657.17l0.0,-0.25l0.09,-0.07l-0.09,0.32ZM880.24,671.96l0.93,-0.43l1.21,0.01l1.03,-1.19l0.17,0.15l0.06,0.96l-1.69,0.33l-1.01,0.54l-0.41,0.04l-0.3,-0.41ZM880.32,686.11l0.4,-1.02l-0.02,0.88l-0.39,0.14ZM880.62,683.25l-0.08,-0.03l0.05,-0.13l0.03,0.15ZM865.39,648.04l0.38,0.42l0.68,-0.29l0.06,-1.23l0.98,0.8l-1.68,1.99l-0.42,-0.78l0.29,-0.24l-0.3,-0.67ZM859.7,652.85l0.19,-0.17l0.32,0.44l-0.25,-0.18l-0.25,-0.09ZM860.59,653.19l0.24,-0.05l0.02,0.23l-0.08,0.03l-0.18,-0.21ZM861.93,651.82l-0.05,-0.37l0.49,-0.4l0.03,0.24l-0.48,0.53ZM862.01,654.42l0.02,0.04l-0.01,0.11l-0.04,-0.08l0.03,-0.06ZM859.28,690.2l0.8,-0.57l0.4,0.51l-0.91,0.12l-0.29,-0.06ZM850.54,655.73l0.16,0.11l-0.16,0.24l-0.04,-0.3l0.04,-0.05ZM850.65,657.07l0.03,-0.01l-0.01,0.06l-0.01,-0.05ZM843.73,636.57l0.01,-0.34l0.77,-0.76l-0.19,0.87l-0.6,0.23ZM838.16,616.02l0.06,-0.8l0.21,-0.21l-0.04,0.83l-0.22,0.19ZM696.03,500.29l-0.19,0.36l0.37,0.59l0.59,-0.17l0.69,-0.86l0.89,0.17l-0.49,0.97l0.49,0.51l0.6,-0.2l0.44,-0.59l0.13,0.27l-0.65,0.85l0.07,0.57l-0.32,0.09l-0.24,-0.83l-0.68,-0.71l-1.19,0.27l-0.74,-0.45l-0.13,-0.43l0.35,-0.4ZM697.84,503.41l-0.02,0.02l-0.01,-0.01l0.03,-0.01ZM697.69,505.53l1.21,-1.47l1.28,-0.58l0.14,0.33l-1.01,0.24l-0.3,0.44l0.4,0.35l1.15,0.15l0.07,0.3l-0.82,0.92l0.28,0.56l0.53,-0.01l1.02,-0.87l0.17,-0.72l0.96,0.23l-0.44,0.91l0.49,0.27l0.45,-0.14l0.19,0.94l-0.7,0.47l0.16,0.63l1.68,1.31l1.17,-0.26l-0.32,2.55l0.34,0.66l0.43,-0.19l0.54,-1.08l-0.12,-1.02l0.48,0.08l-0.4,1.24l0.15,0.56l0.69,0.11l0.53,-1.32l1.06,0.31l-0.12,1.5l-2.03,0.86l-0.29,0.46l0.21,0.67l3.15,-0.37l0.01,1.37l-0.41,0.6l0.59,0.39l0.97,-0.82l0.15,-1.71l0.59,-0.14l0.26,1.19l-0.58,1.28l1.1,0.04l0.62,-0.88l-0.04,0.62l0.48,0.37l0.27,-0.15l-0.12,0.81l-0.67,0.47l-0.28,0.63l-1.18,0.73l-2.49,0.28l-0.46,1.71l0.57,0.27l0.62,-0.56l0.67,1.05l0.66,0.02l0.23,-0.46l-0.46,-0.94l1.05,0.08l0.71,-0.62l1.2,-0.33l0.42,-0.72l0.62,-0.27l0.13,-0.68l0.27,-0.01l0.57,0.35l-0.5,0.14l-0.28,0.5l0.44,0.41l0.58,-0.02l-0.22,0.99l0.25,0.41l0.66,-0.37l0.35,0.16l-0.84,1.07l0.06,0.67l0.65,0.1l0.66,-0.36l0.73,0.45l0.4,-0.35l0.12,-0.76l1.44,0.52l0.21,0.76l-0.92,1.11l0.53,0.58l1.41,-0.58l0.12,0.47l-0.41,0.55l0.04,0.61l-1.06,1.02l-0.67,1.25l-1.48,0.58l-0.62,-0.22l-0.6,0.4l-0.46,1.24l0.53,0.15l1.22,-0.6l-1.46,3.18l-0.05,0.31l0.52,0.44l0.57,-0.34l0.91,-1.39l0.93,-2.23l1.0,-0.4l-0.29,1.33l0.62,0.69l0.61,-1.64l0.69,-0.01l0.43,-0.88l0.55,-0.31l0.96,-0.01l0.21,-0.69l1.05,-0.57l-0.44,1.25l0.84,1.88l-0.67,0.73l-1.34,0.68l-0.14,1.17l0.37,0.5l-1.45,0.73l0.01,0.72l0.31,0.11l-1.25,1.46l0.46,0.55l-1.25,1.18l0.44,0.58l2.18,-1.11l0.09,-1.23l0.86,-0.89l0.16,-0.72l0.77,-0.03l1.16,-0.66l0.72,0.04l0.34,-0.45l0.3,0.01l0.37,1.03l0.55,0.25l0.4,-0.75l0.95,0.44l-0.18,0.32l-1.47,0.33l-0.95,1.54l-0.01,0.73l0.73,-0.07l0.49,-0.71l0.78,-0.42l0.74,1.54l0.56,0.1l1.0,-1.67l0.35,0.37l0.62,-0.39l0.02,-0.85l0.6,0.72l-0.34,1.3l0.43,0.73l0.35,0.27l1.01,-0.06l0.69,0.78l0.0,0.5l1.04,0.58l-1.38,1.23l-0.03,0.93l-1.56,0.45l-0.27,1.54l-2.01,-0.32l-0.25,0.64l0.19,0.24l2.15,0.88l0.91,-0.28l1.09,-1.06l1.22,-0.19l1.37,0.3l0.32,0.13l-0.52,0.68l0.65,0.3l0.26,0.8l-0.99,0.53l-0.19,0.63l0.33,0.32l1.36,0.18l0.3,0.5l0.46,0.19l0.41,-0.24l0.29,0.29l0.55,-0.51l0.62,0.17l1.44,-0.59l1.45,0.33l0.47,1.67l-0.97,0.45l-0.38,0.54l-0.62,1.94l0.28,1.04l-1.07,0.77l-0.71,-0.04l-0.49,0.33l0.61,2.02l-0.36,0.42l-4.73,-0.44l1.24,-0.79l2.21,-0.68l0.25,-0.4l-0.81,-0.5l-2.68,0.68l-0.55,0.44l-1.09,-0.08l-0.49,0.41l-0.22,0.99l0.36,0.64l5.05,0.99l-0.89,0.22l-0.25,0.62l0.41,0.27l2.62,-0.18l1.27,-0.49l0.93,0.2l0.56,-0.25l0.51,0.28l-0.61,0.54l-2.81,0.49l-0.54,0.59l-0.28,1.41l0.28,0.15l3.06,-0.22l-0.02,0.33l0.96,0.46l-1.37,0.94l-1.09,-0.04l-0.34,0.31l0.16,0.76l1.04,0.73l1.03,0.18l0.56,-0.43l1.61,-0.1l0.97,-0.6l0.76,0.2l1.48,-0.96l-0.21,1.32l0.55,0.37l-0.55,0.77l0.19,0.56l-0.32,1.03l1.47,0.69l1.52,-0.61l0.48,0.14l0.6,-0.57l0.58,0.38l-0.9,0.49l-0.01,0.65l1.33,0.47l1.7,-0.86l1.74,-0.31l0.19,0.44l-0.41,0.75l-1.47,0.65l0.21,0.67l0.56,0.25l1.92,-0.77l0.6,-1.24l0.51,0.98l-0.38,0.75l0.46,0.66l-0.14,1.23l0.53,0.45l0.76,-1.77l-0.15,-3.1l0.55,0.28l0.58,-0.15l0.03,1.06l-0.91,0.91l0.04,1.48l0.37,0.32l0.88,-0.92l0.01,1.78l0.23,0.41l0.67,-0.3l-0.55,1.03l0.37,0.82l-0.09,0.75l0.19,0.41l0.45,-0.03l0.38,-0.45l-0.04,0.62l-0.71,1.04l0.03,1.21l-0.46,0.73l0.1,0.53l0.54,-0.05l0.6,-0.86l-0.04,1.0l-1.17,1.98l0.49,1.28l0.46,-0.28l0.75,-1.92l0.56,-0.54l0.07,-1.09l0.71,-0.41l0.51,-1.51l0.42,-0.38l0.23,0.96l0.46,-0.14l0.34,-0.75l-1.12,3.19l0.36,1.06l0.43,-0.19l1.32,-2.78l0.27,-1.92l0.88,-0.36l0.44,-1.72l0.57,0.65l0.15,0.72l-0.78,1.12l-1.06,0.4l0.32,1.13l0.6,0.06l0.26,-0.54l0.49,0.27l0.7,-0.11l0.51,-0.9l1.02,-0.03l0.78,-1.05l0.58,0.28l-0.89,2.37l-0.9,1.04l0.17,0.63l-0.8,1.49l0.45,1.26l-0.65,1.0l0.16,0.62l0.34,0.14l0.59,-0.18l0.88,-1.1l0.11,-0.44l-0.51,-1.33l1.2,-1.77l0.91,-2.17l0.7,0.94l0.65,-0.15l0.89,-1.39l0.02,-0.96l1.26,-0.4l0.1,-0.99l0.4,0.04l-0.18,2.03l0.4,0.39l0.53,-0.33l0.65,0.29l-0.61,1.49l0.48,0.25l0.67,-0.26l0.5,0.69l1.28,-0.46l0.4,0.59l0.5,-0.01l0.19,-0.47l1.24,-0.04l0.63,0.43l0.66,-0.44l0.75,0.44l0.57,-0.32l-0.19,-0.82l1.25,-0.48l0.78,0.67l1.47,-0.42l0.48,0.28l1.19,-0.94l1.0,0.75l0.52,-0.08l0.79,0.49l1.29,-0.43l0.73,-0.65l0.99,0.79l-0.17,0.61l0.69,0.2l-0.04,0.32l-2.3,0.88l-0.54,0.51l0.43,0.75l1.45,-0.47l-0.65,1.12l-2.36,0.59l-2.86,1.73l-0.63,1.34l0.44,0.77l-1.94,1.14l-2.0,2.4l-1.59,0.57l-4.59,3.5l-1.34,0.21l-0.64,0.52l0.02,0.77l1.19,0.5l2.35,-1.12l2.03,-1.52l-0.03,0.33l0.48,0.25l0.63,-0.16l-0.41,0.6l-1.83,1.13l-2.0,2.67l-3.76,0.96l-0.45,0.5l0.12,0.58l-1.41,1.11l-0.58,-0.13l-0.44,0.59l1.0,0.75l0.06,1.7l0.69,1.02l-2.41,-0.59l-0.94,-0.59l-4.79,-0.39l-0.75,-0.8l-0.69,0.12l0.27,1.24l-0.38,0.97l0.35,0.59l3.26,-0.69l2.18,0.3l2.27,0.89l2.17,0.4l-2.62,2.84l-0.04,0.56l0.42,0.43l1.55,-0.45l-1.4,0.94l-0.16,0.6l0.52,0.24l1.28,-0.51l1.07,-0.9l0.83,0.15l0.31,-0.75l-0.36,-0.5l0.63,-0.65l1.03,-2.52l0.66,-0.33l0.1,-0.42l-0.29,-0.31l2.55,-1.52l1.37,-2.76l2.28,-1.07l0.51,-1.11l-0.06,-0.62l-0.83,-0.68l1.21,-2.08l0.03,-0.87l1.65,-1.1l3.13,-2.92l0.65,-0.2l0.71,-0.92l3.25,-0.59l0.5,-0.7l-0.75,-0.57l-1.61,0.39l-0.9,-0.18l-1.58,0.38l-0.92,1.24l-0.95,-0.28l0.12,-0.9l0.83,-0.25l0.42,-0.75l1.74,-0.64l1.03,0.17l3.07,-0.76l0.56,0.29l1.2,-0.93l0.61,0.24l2.07,2.23l1.09,0.59l0.42,1.18l1.26,0.49l0.19,1.3l-2.9,3.24l-0.18,0.91l0.21,0.41l0.46,-0.06l0.59,-0.61l0.22,0.2l0.93,-0.29l-0.02,0.42l0.6,0.43l-0.23,1.53l0.2,0.42l1.35,-0.49l-0.04,-1.08l0.95,-1.53l-0.33,-1.29l0.42,-0.53l0.28,-1.75l1.09,-0.23l1.33,-0.99l0.54,0.16l-0.82,0.48l0.48,0.52l3.41,-0.05l0.69,-0.42l0.14,0.42l0.98,-0.09l0.42,0.67l2.36,0.28l0.81,0.69l-0.23,0.59l0.4,0.5l0.62,-0.17l0.39,-0.76l0.32,0.03l0.39,1.44l0.81,-0.21l-0.26,0.48l0.62,0.6l-0.11,0.35l1.23,0.68l-0.27,0.64l-1.18,0.06l-0.27,0.53l0.93,0.4l-0.08,0.69l-1.31,0.15l-1.04,0.54l-0.19,0.5l0.8,0.26l-0.06,0.62l0.53,0.27l0.46,-0.21l0.28,-0.66l1.23,-0.2l0.16,0.52l0.76,0.12l0.73,0.83l-1.35,1.01l-0.27,0.56l-1.53,0.04l-0.22,0.59l0.6,0.55l1.24,0.16l1.33,0.9l-1.49,0.4l-0.08,0.83l1.44,-0.22l-0.31,0.65l-1.3,1.06l-0.9,-0.23l-1.9,0.25l-0.72,0.58l1.1,0.55l1.07,-0.29l1.16,0.14l1.45,-0.77l1.42,0.1l1.44,-0.55l0.41,0.23l0.54,-0.28l0.55,0.73l0.79,-0.3l0.34,0.7l-0.59,-0.18l-0.89,0.32l-0.04,0.72l-3.99,-0.27l-0.33,0.07l-0.2,0.68l0.76,0.49l1.66,-0.13l3.09,0.67l-0.07,0.54l0.86,0.9l0.62,0.06l0.47,0.89l-0.87,0.56l0.07,0.61l0.36,0.2l-0.14,0.29l-0.46,0.42l-0.96,0.1l-0.08,0.73l0.85,0.4l0.06,0.39l-1.6,1.97l-0.54,1.51l-1.26,0.78l-0.15,0.74l-0.6,0.22l-0.16,0.9l-0.71,1.15l-0.99,0.55l0.07,1.34l-0.68,1.28l0.03,0.76l-1.14,0.3l0.15,1.24l-0.9,0.27l-3.54,-9.36l-0.52,-0.23l-35.41,12.67l-33.8,10.74l0.05,-0.71l-1.71,-2.85l-0.93,-0.79l0.17,-0.44l-0.26,-0.43l-0.57,-0.17l-2.03,0.31l-1.48,-1.45l0.43,-1.47l0.91,-1.14l5.09,-2.36l-0.1,-0.81l-0.51,-0.48l-2.37,-0.8l-0.52,-1.28l-0.71,-0.03l-0.65,1.67l-3.72,2.2l-0.52,1.08l0.25,2.29l0.94,1.3l0.63,1.63l-0.34,2.5l1.11,1.86l-0.71,0.77l0.46,1.83l-0.26,-0.16l-0.61,0.33l-0.03,0.86l1.07,2.64l0.95,1.12l-0.28,1.2l-1.36,1.67l-2.01,-1.64l-1.2,-0.53l-1.37,0.13l-0.6,0.43l-0.11,0.65l-0.7,-0.33l-1.5,0.25l-0.26,-0.68l-1.34,-0.66l-0.91,0.41l-0.65,-2.06l-0.56,-0.04l-1.76,-1.75l-0.47,1.36l-0.62,0.28l-0.14,-1.04l-0.55,-0.3l-0.78,0.57l-1.11,-0.03l-1.48,1.15l-0.74,-0.14l-0.37,-1.35l-1.5,-0.62l-1.48,-1.26l-0.59,0.71l0.97,2.25l-0.39,0.26l-1.9,-2.81l0.14,-0.41l0.65,0.06l0.45,-0.5l-1.85,-4.51l0.79,0.47l0.52,-0.62l-2.23,-3.68l0.93,0.01l0.19,-0.47l-0.3,-0.96l-1.31,-1.69l-0.94,-0.54l-0.71,0.24l-0.33,1.54l-1.2,0.9l0.32,2.45l-0.99,0.76l0.12,0.82l-0.46,-0.14l-0.4,0.68l-1.6,-0.89l-0.58,-1.5l-0.53,-0.23l-0.83,0.6l-0.18,0.61l-1.19,-0.46l-0.46,-0.49l-1.24,-3.1l0.86,-1.04l1.84,0.33l0.27,0.57l0.51,0.13l0.73,-0.59l-0.62,-3.99l-0.75,-0.9l0.86,-1.08l-0.07,-0.6l-1.94,-1.38l-3.37,-0.19l-0.94,-0.86l-0.61,-1.14l-1.84,-0.88l0.38,-0.32l-0.13,-0.89l-0.91,-0.33l-0.67,-1.14l-2.25,-1.26l-0.04,-1.47l1.12,-1.64l-0.29,-0.92l-1.56,-1.71l-0.31,-1.14l0.71,-0.9l1.24,-0.55l0.24,-0.41l-0.29,-1.34l2.27,1.18l0.51,-0.25l0.16,-1.0l-0.42,-0.67l0.84,-0.98l0.41,-1.56l-0.43,-1.17l-2.25,-1.33l-2.3,-2.41l-0.36,-0.8l0.26,-0.35l0.6,0.08l-0.17,0.56l0.35,0.57l3.3,1.27l0.58,0.94l0.85,0.58l2.47,0.67l0.61,-0.26l0.01,-0.8l0.55,-0.25l0.23,-0.92l-1.85,-2.05l0.48,-0.97l-1.58,-1.83l-0.09,-1.14l0.41,-0.65l-0.39,-0.66l0.69,-0.18l4.57,3.66l1.4,0.26l1.2,0.7l0.87,-0.48l0.92,0.0l0.76,1.43l2.24,1.56l0.63,-0.76l0.84,0.15l0.8,-0.4l0.36,-0.71l-0.49,-1.05l1.58,-0.47l0.57,-0.59l0.63,-2.12l1.49,0.03l1.4,1.15l0.66,0.07l0.18,0.96l0.59,0.71l2.31,-0.49l0.85,-1.46l0.41,-0.06l2.36,0.71l1.03,1.13l0.93,0.34l1.77,-0.35l0.82,-0.97l0.55,0.1l0.47,-0.4l-0.12,-0.72l-0.96,-0.96l-1.38,-0.65l0.52,-0.98l-0.48,-0.98l0.04,-0.82l1.45,0.33l0.84,-0.52l-0.13,-1.6l-0.86,-2.36l0.09,-1.19l0.78,-0.5l0.29,-0.69l-0.05,-0.51l-0.56,-0.32l-1.26,0.84l-0.77,-0.14l0.82,-0.63l0.01,-0.71l1.65,-0.79l0.19,-0.89l-0.24,-0.56l-0.47,-0.2l-3.07,0.68l-1.07,-0.12l0.58,-1.08l-0.44,-2.05l-0.27,-0.45l-0.62,-0.18l-0.16,-1.95l-0.87,-0.34l-1.22,-1.39l1.23,-0.85l0.84,-1.18l1.0,-0.54l0.24,-0.48l-0.23,-0.57l-0.51,-0.1l-1.3,0.63l-1.02,-0.23l-1.02,0.35l-0.43,-0.32l0.01,-0.64l-0.54,-0.29l-1.12,1.1l-0.15,-0.79l0.91,-0.83l-0.03,-1.01l-1.08,-0.55l-1.33,0.31l-0.42,-0.42l-0.02,-0.84l-0.5,-0.95l1.38,-0.28l0.91,-1.01l-0.23,-0.5l-0.76,-0.29l-0.48,-1.3l-2.4,-2.03l0.07,-0.83l0.74,-0.66l-0.33,-1.27l0.95,-0.56l0.16,-0.48l-0.74,-0.94l0.17,-1.17l-0.42,-1.05l0.57,-0.95l-0.31,-1.24l0.09,-1.36l-1.39,-1.2l0.94,-1.54l-0.99,-1.39l-0.53,-1.77l0.91,-1.89l0.01,-1.33l-0.65,-0.67l-0.76,0.39l-0.1,0.77l-0.5,-0.48l-1.2,0.29l-0.4,-0.8l-0.56,-0.35l-0.9,-0.04l-0.36,0.57l-2.06,-2.73l-0.44,-1.22l-2.15,-0.07l-0.15,-1.73l1.09,-0.79l0.36,-0.66l-0.1,-2.05l0.86,-0.71l0.29,-1.2l1.13,-0.54l0.26,-0.9l-1.33,-1.84l-0.49,0.02l-0.81,0.98l-0.34,-0.16l-0.39,-0.85l0.05,-0.9l1.24,-0.91l0.82,-0.13l2.45,-1.25l0.42,-0.66l-0.07,-0.7l-1.4,-1.26l-1.94,-0.37l-0.78,0.53l-0.25,0.8l-1.29,0.52l-1.01,1.64l-0.81,-0.16l-0.3,-1.21l-0.89,-0.63l-2.56,0.63l-1.66,-0.61l-0.97,0.85l0.1,-0.63l-0.36,-0.43l0.45,-1.16l0.96,0.46l2.31,0.23l1.22,-0.56l0.29,-0.88l-1.03,-1.09l-1.22,-0.08l-0.99,-1.57l-0.88,-4.18l1.03,-1.31l-0.19,-0.83l-0.59,-0.35l-0.9,0.2l-1.77,2.04l-0.73,-0.95l-1.3,-0.55l-0.36,-1.4l0.81,-1.28l-0.85,-1.96l0.39,-0.6l-0.17,-0.45l0.67,-0.48l-0.02,-0.65l-0.49,-0.78l-1.06,-0.15ZM749.43,644.67l-0.21,0.06l-0.38,-0.16l0.32,0.07l0.27,0.03ZM827.52,605.46l1.17,-0.58l0.2,0.18l-0.04,0.35l-0.71,0.3l-0.62,-0.26ZM813.86,589.78l0.16,-0.56l0.66,-0.26l0.12,0.19l-0.94,0.63ZM742.78,556.73l0.27,-0.15l0.42,0.38l0.74,0.05l-1.11,0.28l-0.32,-0.55ZM743.07,555.94l0.11,-0.16l0.77,-0.06l-0.64,0.05l-0.24,0.16ZM725.03,532.72l0.15,-0.75l1.74,-0.61l-0.23,0.87l-1.66,0.49ZM716.21,518.51l0.26,-0.13l0.06,0.04l-0.32,0.09ZM701.98,503.42l-0.06,0.03l-0.14,-0.01l0.18,-0.05l0.02,0.03ZM746.33,561.6l1.29,-0.12l1.03,-0.44l-0.04,0.65l-2.28,-0.08ZM765.04,574.52l-0.09,-0.09l0.07,-0.12l0.12,0.1l-0.09,0.11ZM766.11,573.29l-0.2,-0.4l-0.0,-0.06l0.04,0.0l0.17,0.45ZM777.44,577.1l0.21,-2.19l0.71,0.01l-0.44,0.65l-0.49,1.53ZM788.01,592.75l1.22,-1.14l0.8,-0.31l1.1,-1.65l0.44,-0.22l-1.08,2.63l-2.49,0.7ZM779.46,607.1l0.03,-0.02l0.01,0.02l-0.04,0.0ZM820.61,590.82l0.0,0.0l-0.0,0.0l-0.0,-0.01ZM701.88,596.17l-0.57,-0.35l-0.42,-0.33l0.73,0.21l0.27,0.47ZM825.79,598.33l0.24,-0.16l0.14,-0.18l-0.36,0.57l-0.02,-0.23ZM821.86,591.85l1.18,-0.3l0.11,0.43l-1.18,0.08l-0.11,-0.21ZM809.43,590.34l0.28,0.04l-0.13,0.1l-0.15,-0.14ZM808.53,593.04l-0.01,-0.07l0.06,-0.23l0.07,0.28l-0.11,0.02ZM801.05,579.04l0.02,-0.15l-0.02,-0.2l0.27,0.24l-0.27,0.12ZM790.5,576.74l1.36,-1.34l0.14,0.95l0.53,0.49l-0.39,0.57l-0.93,0.16l-0.71,-0.82ZM757.4,566.9l0.54,-0.08l0.35,0.26l-0.22,0.16l-0.67,-0.34ZM753.32,565.66l0.39,-0.32l0.08,-0.97l1.15,0.24l-0.22,1.06l-1.41,-0.01ZM748.73,558.73l-0.2,-0.17l0.27,-0.02l-0.08,0.19ZM747.96,558.45l-0.96,0.19l-0.02,-0.12l0.72,-0.16l0.26,0.09ZM750.06,555.65l0.07,-0.3l0.2,-0.06l0.02,0.17l-0.29,0.18ZM744.69,552.98l0.63,-1.08l0.02,-0.72l0.75,0.24l-0.13,0.41l0.44,0.61l-0.83,0.06l-0.16,0.95l-0.37,0.33l-0.35,-0.8ZM745.53,555.04l0.78,-0.94l0.61,-0.02l0.44,1.15l-0.05,0.83l-1.79,-1.02ZM739.57,542.24l0.1,-0.7l0.05,-0.02l0.14,0.64l-0.29,0.08ZM737.12,536.75l0.17,-0.49l0.37,0.18l0.66,1.05l-0.18,0.15l-1.02,-0.9ZM737.02,541.9l0.57,-0.02l0.36,-0.73l0.61,0.38l-0.67,1.26l-0.88,-0.88ZM734.6,536.57l0.49,-1.0l0.84,0.73l-0.23,0.65l-1.11,-0.37ZM704.55,508.2l0.25,-0.58l0.82,0.14l-0.81,0.77l-0.26,-0.33ZM704.52,507.29l-0.04,-0.66l0.08,0.11l-0.04,0.55Z", "name": "Newfoundland and Labrador"}, "CA-ON": {"path": "M399.18,732.97l3.61,-62.03l17.48,-16.01l50.17,-56.68l2.38,2.85l1.41,0.72l2.09,2.16l3.34,1.59l0.32,0.93l2.49,3.6l0.21,0.78l1.14,1.35l-0.34,0.82l0.41,0.83l0.93,-0.9l0.33,0.57l1.19,0.13l-0.12,0.67l0.59,0.42l0.37,-0.21l4.38,0.75l6.3,3.23l3.98,0.98l2.15,0.97l2.94,3.12l3.19,1.18l0.02,0.41l-0.73,0.42l-1.87,3.35l-0.2,2.26l0.59,0.29l0.53,-0.6l0.5,-1.93l1.17,-2.2l0.8,-0.71l1.45,-0.24l3.65,0.71l3.97,-1.2l1.6,0.26l1.47,-0.99l1.54,0.65l0.54,1.07l1.21,-0.17l0.13,1.07l0.43,0.57l0.68,-0.28l-0.38,-1.86l3.24,0.33l0.69,0.35l1.97,-0.84l0.55,0.68l-0.33,1.5l0.67,-0.0l0.48,-0.78l1.18,0.14l1.11,-0.61l0.85,0.4l0.9,-0.04l0.79,0.99l1.11,0.18l0.24,2.22l0.89,1.67l-1.85,8.93l0.53,3.1l0.67,1.51l0.69,0.04l0.76,0.78l1.61,4.42l-0.68,3.75l1.63,5.71l-1.28,1.28l-0.38,3.56l0.34,1.55l2.94,1.95l1.54,2.72l1.27,0.85l1.71,2.1l1.35,0.88l-0.11,0.68l0.43,1.19l-2.0,1.21l-0.77,0.15l-0.57,0.56l-0.12,0.8l0.39,0.6l0.27,-0.03l1.21,-0.98l2.42,-0.18l1.79,2.17l4.33,1.42l0.88,1.65l1.7,0.86l2.17,2.18l1.19,3.1l1.0,0.99l0.31,1.74l-2.02,1.29l-1.13,2.06l-1.21,0.9l-0.45,0.98l-0.86,0.68l-0.29,0.63l0.81,0.81l0.63,0.0l0.95,-2.17l1.62,-0.81l1.32,-2.12l1.59,-1.41l3.03,0.45l0.5,0.44l0.92,0.13l2.89,1.98l0.59,1.04l2.24,1.83l7.01,59.67l-0.5,2.75l0.48,1.12l1.53,1.9l0.61,3.39l2.03,2.63l1.76,1.66l1.07,2.0l1.14,1.05l1.33,2.35l2.44,1.53l0.44,0.79l0.64,0.34l4.21,0.28l0.6,0.39l2.46,-0.27l0.96,0.32l1.48,-0.15l3.27,0.47l2.39,0.86l2.13,1.35l0.58,1.44l0.77,0.72l2.97,1.37l1.25,-0.14l0.4,-0.74l-0.27,-1.02l0.78,-0.05l0.75,1.94l0.75,0.63l1.26,2.41l0.84,0.43l2.11,0.29l1.11,0.66l1.08,-0.1l0.74,-0.95l0.94,-0.29l1.1,0.16l2.36,1.74l1.37,-0.21l1.06,-1.56l1.04,-0.35l3.5,-2.3l2.72,-0.79l1.29,-0.96l2.06,-0.26l1.36,-0.65l1.31,0.6l1.64,0.2l-0.25,4.37l1.74,1.53l-1.12,0.9l-0.49,1.45l-1.92,1.85l-2.34,0.31l-4.21,3.29l-4.61,5.87l-0.78,1.45l-0.74,0.45l-1.02,1.74l-0.62,0.48l-2.83,1.26l-3.3,2.3l-1.55,0.2l-2.37,1.7l-0.49,-0.59l-0.62,-0.03l-0.35,0.38l-0.54,-0.59l-2.13,1.15l-0.76,-0.34l-0.64,0.55l-0.69,-0.07l-2.68,1.44l-0.39,1.13l0.45,0.24l-1.75,0.25l-0.41,0.48l-1.86,0.83l-4.68,1.11l-2.57,1.33l-1.36,-0.07l-3.16,1.34l-1.55,0.25l-1.68,1.0l-0.33,0.71l-2.62,2.68l-1.39,0.28l-0.34,0.81l-1.15,0.96l-0.11,1.25l-1.66,3.08l0.19,1.1l0.59,0.56l2.05,0.62l2.58,-0.18l0.9,0.25l2.09,-1.5l0.99,-0.29l0.21,3.11l0.44,0.35l0.11,0.95l1.64,0.99l-0.31,0.36l-1.64,0.78l-1.28,-0.28l-3.23,0.38l-0.52,0.46l-1.81,0.41l-1.14,-0.22l-1.42,0.76l-4.47,1.21l-1.73,1.55l-0.19,0.66l-0.35,-0.07l-0.52,0.45l-0.51,0.79l0.06,0.86l-6.1,-1.03l-3.85,0.33l-1.74,0.54l-2.51,1.81l-2.89,3.12l-0.52,1.54l-1.15,1.04l-1.8,0.33l-3.66,2.49l-1.43,1.98l-0.09,0.9l-1.16,-0.92l-0.76,-0.11l-2.24,1.16l-0.93,0.09l-2.5,-1.04l0.23,-3.72l1.37,-0.67l2.31,0.39l1.92,-0.15l2.07,-0.47l0.67,-0.49l0.34,-1.28l-0.4,-2.01l-2.62,-0.26l0.8,-0.66l0.5,-1.21l0.33,-2.5l-0.23,-0.88l0.63,-3.06l3.6,-1.93l1.28,-2.02l1.53,-0.91l1.19,-1.36l0.79,-2.06l-0.83,-9.21l-0.61,-2.59l0.88,-1.1l0.46,-1.2l0.15,-2.05l1.0,-1.44l1.1,-0.63l0.26,-1.3l1.06,-1.69l0.17,-0.89l-0.41,-0.98l-0.04,-1.96l-1.18,-1.48l0.03,-1.32l-0.37,-0.69l-0.93,-0.06l-1.97,-2.46l0.08,-0.46l-1.7,-0.54l0.08,-0.2l0.76,0.18l3.63,-0.35l-0.43,1.17l0.89,1.12l0.3,1.84l1.72,0.67l-0.25,0.6l0.56,0.33l0.39,-0.17l0.33,0.24l0.54,-0.36l0.13,0.47l-0.32,0.56l-1.12,1.02l0.07,0.86l0.59,0.2l1.53,-1.22l0.73,0.18l-0.2,3.37l0.73,0.14l1.19,-1.81l1.46,-0.74l1.29,1.87l0.94,0.06l0.86,0.64l4.81,1.08l1.27,-1.37l-0.05,-2.95l-0.3,-0.56l-1.36,-0.75l-0.09,-0.5l0.51,-0.04l0.4,-0.74l0.59,-0.17l-0.15,0.59l0.83,0.32l0.43,0.71l2.82,-0.09l0.24,-0.64l-0.74,-0.45l0.41,-0.84l-0.27,-0.96l-0.6,-0.04l-0.53,0.62l-0.98,-1.51l-0.99,-0.12l-0.32,-0.95l-0.65,-0.11l-0.26,-0.61l-0.79,-0.33l0.6,-0.32l0.2,-0.76l-0.48,-0.81l-1.23,-0.51l0.92,-1.39l-0.63,-1.56l-0.47,-0.33l-0.88,0.01l-0.69,0.43l-0.15,0.59l-0.7,-0.07l-0.23,-1.09l-0.96,-0.31l-0.07,-1.59l-0.5,-1.17l-0.72,-0.28l-0.21,0.75l-0.38,0.04l-0.16,-0.7l-0.64,-0.22l-0.89,-1.17l-0.14,-0.96l-0.88,-1.39l-0.43,-0.07l-0.38,-1.02l-1.01,-0.62l-0.57,0.46l-0.54,-0.33l-2.99,0.52l0.06,-0.75l-0.56,-0.51l-0.86,0.29l-0.36,0.68l-2.42,-0.2l-0.32,-0.34l0.11,-0.32l-0.55,-0.23l-0.27,-0.88l-1.22,-0.45l-0.72,0.76l-0.35,-0.3l-5.57,0.15l-1.54,-0.49l-0.07,-0.38l-0.48,-0.19l-1.21,0.19l-0.29,-0.21l-1.97,0.69l0.13,-0.33l-0.57,-0.46l-0.86,0.46l-3.28,0.67l-6.33,-0.98l-0.68,0.14l-0.73,-0.55l-1.19,0.24l-1.58,-0.28l-0.96,-0.63l-1.61,0.25l-0.66,-0.22l-0.44,-0.69l0.33,-2.01l-0.21,-0.47l-0.62,-0.28l-0.88,0.03l-1.05,0.73l-1.2,-0.16l-1.02,0.74l-0.89,-0.94l1.63,-2.22l0.19,-0.7l-0.71,-1.01l-0.82,0.15l-0.03,-0.84l0.56,-0.31l1.05,0.17l0.62,-1.12l-0.19,-0.53l-1.22,-0.9l-1.71,0.01l-0.56,0.46l-0.37,-0.55l-1.24,-0.32l0.1,-0.97l0.63,-0.88l-0.18,-0.72l0.27,-0.75l1.18,-1.73l0.06,-0.58l-0.65,-1.21l-0.75,-0.24l-0.57,-1.16l-2.32,-1.17l-0.59,-0.99l-0.68,-0.41l0.48,-1.35l-0.17,-0.52l0.99,-1.39l-0.56,-0.9l0.99,-1.16l-0.1,-1.08l-1.36,-0.44l-4.18,0.47l-1.75,0.64l-1.21,0.08l-3.76,-0.81l-2.61,-2.94l-1.38,-3.12l-0.08,-1.08l-0.46,-0.45l-0.69,-2.88l-1.15,-1.48l-0.4,-1.33l-0.8,-0.6l-1.4,0.31l-0.27,0.35l-0.25,-0.04l-0.15,-0.74l-1.25,-0.46l-1.76,1.04l-1.53,-0.93l-1.41,0.65l-1.97,0.21l-0.21,-0.45l-1.66,-0.77l-1.13,0.12l-0.46,-0.75l-0.83,0.19l-0.75,-0.69l-2.8,-0.59l-1.39,-1.42l-1.64,1.0l-1.12,-0.34l-0.29,0.52l0.37,1.13l-0.18,0.81l1.8,1.59l0.03,1.28l-0.74,1.13l-0.76,0.21l-0.6,-0.51l0.42,-1.45l-0.66,-1.82l-1.23,-0.38l-0.78,0.2l-0.8,1.37l-0.0,2.41l-0.88,0.55l-0.15,1.63l-0.55,0.23l-0.51,2.34l-1.08,0.6l0.52,-2.06l0.92,-1.46l-0.04,-0.53l-0.43,-0.37l-5.21,2.26l-0.74,1.43l0.37,1.11l-1.51,3.72l-1.04,0.36l-0.33,0.8l-1.45,0.94l-2.12,-0.31l-1.54,0.55l-0.74,-0.45l-0.91,-1.45l-0.86,-0.4l-5.03,0.53l-0.6,-0.37l-1.81,0.36l-0.87,-1.51l0.09,-0.61l-0.87,-0.58l-2.52,1.18l-2.39,1.81l-1.71,0.43l-1.39,-0.23l-0.36,-0.67l-1.14,-0.19l0.07,-0.57l-0.7,-0.89l-2.68,-1.04l-0.66,-1.62l-0.66,-0.48l-2.73,0.25l-0.49,0.74l0.11,0.94l-0.39,0.19l-0.83,-1.63l-0.03,-1.17l-0.45,-0.95l-0.59,-0.29l-1.87,-0.0l0.82,-0.28l0.26,-0.4l-0.3,-0.8l-2.92,-1.0l-1.16,-0.73l-3.39,-0.36l-1.63,0.22l-0.83,0.29l-0.54,0.96l-3.01,0.33l-0.49,-1.51l-0.59,-0.6l-4.31,-0.55l-0.17,-0.66l-0.57,-0.45l-2.28,0.08l-1.11,-0.46l-1.15,-1.26l0.09,-1.93l-0.93,-4.52l-0.23,-2.72l-1.22,-0.94l-2.44,-0.45ZM472.71,752.99l-0.12,0.04l-0.06,-0.0l0.02,-0.03l0.17,-0.01ZM478.59,747.88l0.15,0.64l-0.47,0.42l-0.49,-0.12l0.81,-0.94ZM477.23,749.43l-0.4,0.46l-0.17,0.72l0.06,-0.73l0.51,-0.46ZM617.39,818.97l1.96,-1.47l0.57,-0.1l0.18,0.8l0.76,0.04l0.5,-0.3l-0.01,-0.69l1.66,-0.66l-0.41,1.69l0.39,0.57l1.51,-0.3l-0.57,1.2l0.09,0.52l0.4,0.19l-1.15,0.86l-0.53,-0.19l0.4,-0.95l-0.17,-0.45l-0.93,0.43l-0.54,-0.54l-0.8,0.06l-1.84,0.67l-0.64,-0.34l-0.07,-0.75l-0.75,-0.29ZM624.98,820.15l0.01,-0.01l0.01,0.0l-0.02,0.01ZM625.55,816.29l-0.88,0.97l-0.46,0.08l0.55,-0.73l0.8,-0.31ZM540.65,627.23l-0.07,-0.12l0.08,-0.1l0.01,0.05l-0.02,0.17ZM631.49,815.38l-0.36,-0.28l0.23,-0.45l0.55,-0.02l-0.42,0.76ZM627.3,816.03l0.76,-0.4l0.07,-0.04l-0.19,0.32l-0.64,0.12ZM581.92,801.51l0.01,-0.5l0.57,0.08l-0.37,0.17l-0.22,0.24ZM582.54,809.21l0.08,-0.02l-0.04,0.08l-0.05,-0.06ZM575.98,691.9l1.12,-1.08l0.85,7.33l-1.08,-0.7l-0.91,-1.5l0.4,-2.7l-0.38,-1.35ZM544.08,793.09l0.64,0.68l0.69,-0.74l0.82,0.42l0.64,-0.7l0.82,-0.2l0.0,1.02l0.75,0.43l0.23,0.62l0.6,0.21l0.7,-0.36l0.45,0.45l0.58,-0.27l0.5,0.81l-1.53,-0.59l-2.46,0.08l-0.84,-0.54l-3.09,-0.53l0.04,-0.61l0.44,-0.17ZM551.8,795.48l0.54,-0.33l0.22,-1.0l-0.92,-0.74l0.51,-0.53l0.2,0.27l0.44,-0.15l0.37,-0.71l1.04,-0.37l0.21,0.71l0.84,0.06l1.09,1.55l0.72,-0.51l0.42,-1.47l1.23,-0.76l0.44,0.27l-0.0,1.0l1.05,0.28l-0.19,1.49l1.03,1.15l-0.71,0.35l-2.15,2.25l-0.45,-0.55l-1.03,-0.07l-0.86,-0.45l-0.34,-0.52l-2.37,-0.45l-1.33,-0.75ZM561.38,795.5l0.14,-1.12l0.31,-0.89l0.37,-0.6l-0.5,1.08l0.43,0.57l1.05,-0.18l-0.09,0.36l-2.12,3.83l-0.58,0.22l-0.22,-0.27l1.92,-2.1l-0.14,-0.72l-0.57,-0.18ZM561.46,799.85l0.39,-0.41l0.14,-0.08l-0.3,0.47l-0.22,0.02ZM559.12,790.23l0.46,-0.13l0.58,0.12l-0.77,0.13l-0.27,-0.12ZM549.83,792.88l0.11,-0.31l0.76,-0.11l-0.14,0.31l-0.72,0.11ZM540.38,793.88l0.61,-1.05l0.4,-0.17l0.82,0.55l-0.62,1.12l-1.21,-0.46ZM532.26,787.83l1.6,-0.01l1.59,1.01l-0.18,0.7l-0.88,0.31l-0.15,0.99l-1.53,-1.95l-0.45,-1.06ZM508.42,762.98l0.75,-0.68l1.29,-0.13l1.11,0.39l-0.97,0.41l-2.18,0.01ZM486.18,744.42l0.13,-0.01l0.53,0.92l-0.33,0.05l-0.33,-0.95ZM482.14,744.75l1.2,-0.66l1.87,0.08l-0.46,1.02l-1.2,-0.05l-1.18,0.8l-0.23,-1.19ZM469.8,755.19l0.19,-0.21l0.18,-0.01l-0.36,0.23Z", "name": "Ontario"}, "CA-AB": {"path": "M139.75,606.41l0.38,-0.39l-0.02,-0.65l1.18,0.57l0.81,-0.56l-0.36,-1.98l-0.93,-0.51l0.38,-1.01l-0.68,-0.55l0.01,-0.33l37.32,-108.88l22.35,7.31l22.92,6.81l23.1,6.18l22.87,5.45l-44.18,197.52l-23.74,-5.6l-21.73,-5.63l0.08,-0.8l-0.96,-1.24l0.17,-0.95l-0.81,-1.03l-1.42,-0.63l0.23,-0.86l-0.52,-0.39l-0.17,-1.26l-0.89,-1.31l0.8,-2.77l-1.36,-0.54l-0.36,-0.46l0.84,-0.39l1.4,-2.48l-0.07,-2.44l0.13,-0.54l0.67,-0.45l0.24,-1.71l-0.41,-1.28l0.52,-4.26l-0.64,-1.2l-0.83,-3.13l-1.24,-1.02l-1.26,0.24l-0.48,-1.21l0.36,-0.7l-0.28,-1.21l-0.72,-0.4l-1.19,-1.57l-0.23,-0.8l-0.55,-0.38l0.84,-0.16l-0.02,-1.71l-1.21,-1.73l-0.1,-0.81l-1.92,-1.32l-0.23,-0.43l0.28,-1.29l-0.17,-0.62l-0.92,-0.74l-0.13,-0.8l-0.83,-0.44l-0.08,-1.12l0.37,-1.35l-0.74,-1.03l0.08,-0.91l-0.53,-0.7l-0.09,-0.87l-0.74,-0.79l0.15,-1.06l-0.35,-2.08l-1.26,-0.33l-1.17,0.69l-0.24,0.56l-0.62,-0.25l-0.14,-3.71l-1.62,-3.01l0.14,-2.56l-0.41,-0.29l-0.84,0.64l-1.09,-0.63l-1.03,-0.0l-0.4,-1.01l-0.81,-0.6l-0.28,-1.09l1.11,-0.63l0.48,-1.28l-0.31,-0.63l-1.56,-1.12l-0.59,-1.12l-0.67,0.05l-0.69,1.15l-1.39,-0.1l-0.07,-0.72l0.77,-0.54l-0.52,-1.06l0.22,-0.72l-0.41,-1.19l0.77,-0.81l-0.14,-1.64l-0.53,-0.78l0.37,-1.01l-0.53,-1.4l-1.3,-0.18l-0.07,-1.34l0.38,-1.17l-0.69,-1.05l0.31,-0.71l-0.69,-1.67l-1.29,-1.58l-0.74,0.2l-0.57,1.02l-1.63,-1.38l-0.38,-1.59l0.04,-1.64l-2.21,-1.16l-0.68,0.12l-0.5,-0.76l-0.25,-2.18l-0.69,-0.43Z", "name": "Alberta"}}, "height": 867.2308867877657, "projection": {"type": "lcc", "centralMeridian": -90.0}, "width": 900.0}); |
274056675/springboot-openai-chatgpt | 23,397 | chatgpt_pc/src/components/chat/chat-tool.vue | <template>
<div class="chat-tool-details" ref="chatToolDetails">
<div
class="chat-tool-lsjl"
@click="
toolLsjlPageObj.current = 1;
toolLsjlShow = true;
getfunhistory();
"
>
历史记录
</div>
<div class="chat-tool-title">{{ toolData.fun_name }}</div>
<div class="chat-tool-content" ref="chatContent">
<div class="list-item">
<el-input
type="textarea"
:maxlength="maxLength"
show-word-limit
:rows="4"
:placeholder="textPlaceholder"
v-model="text_value"
></el-input>
</div>
<template v-if="toolData.fun_json && toolData.fun_json.shortcutList">
<div
class="list-item"
v-for="item in toolData.fun_json.shortcutList"
:key="item.key"
>
<div class="item-label">{{ item.title }}</div>
<div class="item-control">
<div class="item-input" v-if="item.type == 'input' || !item.type">
<el-input v-model="chatObj[item.key]" placeholder="请输入内容"></el-input>
</div>
<div class="item-textarea" v-else-if="item.type == 'textarea'">
<el-input
type="textarea"
v-model="chatObj[item.key]"
:placeholder="item.tip ? item.tip : '请输入内容'"
></el-input>
</div>
<div class="item-checkbox" v-else-if="item.type == 'checkbox'">
<div
class="checkbox-item"
v-for="(check, index) in item.dicData"
:key="index"
:class="chatObj[item.key] === check ? 'active' : ''"
@click="chatObj[item.key] = check"
>
{{ check }}
</div>
</div>
</div>
</div>
</template>
<div class="reply-content-box" v-if="isReply">
<div class="history-text" v-if="isShowHistory">上一次Ai生成的内容:</div>
<div class="history-text" v-else>超级AI大脑:</div>
<div class="content">
<div
class="content-text markdown-body"
style="text-align: left"
:style="'max-width:' + maxHeight + 'px;'"
>
<vue-markdown
:breaks="true"
:typographer="true"
:linkify="true"
:source="replyText ? replyText : ''"
></vue-markdown>
</div>
<div class="content-btn">
<div class="text-length">{{ replyText.length }}字</div>
<div class="btn" @click="copyTextFun">
<div class="btn-text">复制</div>
</div>
<div class="btn" @click="scBtnFun">
<div class="btn-text">{{ store_status == "1" ? "收藏" : "已收藏" }}</div>
</div>
</div>
</div>
</div>
<div class="reply-content-box" v-if="!isReply">
<div class="history-text">超级AI大脑:</div>
<div class="content">{{ btnLoading ? "Ai正在生成中 ..." : "无历史消息" }}</div>
</div>
</div>
<div class="chat-tool-bottom">
<el-tooltip
class="item"
effect="dark"
content="点击新建聊天,就跳回聊天界面"
placement="top"
>
<div class="btn-teg xjlt" @click="changeMoreChat('')">新建聊天</div>
</el-tooltip>
<div class="btn-teg aisc" @click="generateFun" v-if="!btnLoading">AI生成</div>
<div class="btn-teg aisc" v-else>Ai正在生成中</div>
</div>
<el-dialog :visible.sync="toolLsjlShow" width="60%" center>
<div class="scjl-box">
<div class="scjl-title">{{ toolData.fun_name }}历史记录</div>
<div class="scjl-list">
<div class="scjl-item" v-for="item in toolLsjlList" :key="item.id">
<div class="scjl-item_title">超级AI大脑</div>
<div class="scjl-item_content">
<vue-markdown v-highlight :source="item.chat_content"></vue-markdown>
</div>
<div class="scjl-item_bottom">
<div class="scjl-item-time">{{ item.create_time }}</div>
<div class="btn-box">
<div class="btn-item" @click="operationBtnFun('copy', item.id)">
<img class="btn-item-icon" src="../../static/drawing/copy.png" />
<!-- <div class="btn-item-text">复制</div> -->
</div>
<div class="btn-item" @click="operationBtnFun('collect', item.id)">
<img
class="btn-item-icon"
:src="
item.store_status == '1'
? require('../../static/drawing/collect.png')
: require('../../static/drawing/collect(1).png')
"
/>
<!-- <div class="btn-item-text">收藏</div> -->
</div>
</div>
</div>
</div>
</div>
<el-pagination
:small="true"
@size-change="toolLsjlSizeChange"
@current-change="toolLsjlCurrentChange"
:current-page.sync="toolLsjlPageObj.current"
:page-size="toolLsjlPageObj.size"
layout="prev, pager, next, jumper"
:total="toolLsjlPageObj.total"
></el-pagination>
</div>
</el-dialog>
</div>
</template>
<script>
import { mapGetters, mapActions } from "vuex";
import { getLastHistoryDataApi, storeApi, getfunhistoryApi } from "@/api/chat.js";
import VueMarkdown from "vue-markdown";
import website from "@/config/website";
import { getStorage } from "@/utils/storage.js";
import { fetchEventSource } from "@microsoft/fetch-event-source";
export default {
name: "chat-tool",
components: {
VueMarkdown,
},
props: {
toolData: {
type: Object,
},
changeMoreChat: Function,
},
data() {
return {
maxHeight: 834,
ctrl: new AbortController(), // sse断开
toolLsjlShow: false,
toolLsjlList: [], //历史记录
toolLsjlPageObj: {
//分页
current: 1,
size: 10,
total: 0,
pages: 1,
},
store_status: "1",
text_value: "", //用户输入文本
maxLength: 1000, //最大输入长度
chatObj: {}, //聊天数据
replyText: "", //回复文本
isReply: false, //是否显示回复
isShowHistory: false,
currReplyData: {}, //当前的回复消息
btnLoading: false, //按钮loading
isRecon: false, //是否正在获取之前的消息
// 打字效果
timer: null,
messageIndex: 0,
messageEnd: false,
messageList: [],
};
},
watch: {
toolData() {
if (this.toolData.fun_json && this.toolData.fun_json.shortcutList) {
this.toolData.fun_json.shortcutList.forEach((item) => {
this.$set(this.chatObj, item.key, item.value ? item.value : "");
});
}
if (this.toolData.fun_json.maxLength) {
this.maxLength = this.toolData.fun_json.maxLength;
}
this.isReply = false;
this.isShowHistory = false;
this.replyText = "";
this.currReplyData.id = "";
if (this.isLogin) {
this.searchNotMessage("one");
}
},
},
computed: {
...mapGetters(["sysConfig", "userInfo", "isLogin", "settingObj"]),
textPlaceholder() {
let text = "请在此处告诉Al你想要什么";
if (this.toolData.fun_json && this.toolData.fun_json.tip) {
text = `${text},${this.toolData.fun_json.tip}`;
}
return text;
},
},
mounted() {
this.title = this.toolData.fun_name;
this.$nextTick(() => {
this.maxHeight = this.$refs.chatToolDetails.scrollWidth - 72;
});
},
methods: {
...mapActions(["getUserInfoActions", "getSettingDataActions"]),
operationBtnFun(type, id) {
if (type === "copy") {
let text;
this.toolLsjlList.forEach((item) => {
if (item.id === id) {
text = item.chat_content;
}
});
const textArea = document.createElement("textarea");
textArea.value = text;
// 使text area不在viewport,同时设置不可见
document.body.appendChild(textArea);
textArea.focus();
textArea.select();
return new Promise((resolve, reject) => {
// 执行复制命令并移除文本框
document.execCommand("copy") ? resolve() : reject(new Error("出错了"));
textArea.remove();
})
.then(() => {
this.$message.success("复制成功");
})
.catch(() => {
this.$message.error("复制失败");
});
} else if (type === "collect") {
let params = {
messageId: id,
type: "tool",
};
storeApi(params).then((res) => {
this.toolLsjlList.forEach((item) => {
if (item.id === id) {
item.store_status = res.data;
}
});
});
}
},
// 获取历史记录
getfunhistory() {
let params = {
funDataId: this.toolData.id,
current: this.toolLsjlPageObj.current,
size: this.toolLsjlPageObj.size,
};
getfunhistoryApi(params).then((res) => {
let data = res.data;
this.toolLsjlPageObj.pages = data.size;
this.toolLsjlPageObj.size = data.size;
this.toolLsjlPageObj.total = data.total;
let arr = [];
data.records.forEach((item) => {
arr.push({
chat_content: item.message_a,
create_time: item.message_a_time,
store_status: item.store_status,
id: item.id,
});
});
this.toolLsjlList = arr;
});
},
// 历史记录分页
toolLsjlSizeChange(val) {
console.log(`每页 ${val} 条`);
},
toolLsjlCurrentChange(val) {
this.toolLsjlPageObj.current = val;
this.getfunhistory();
},
// 工具类收藏
scBtnFun() {
let params = {
messageId: this.currReplyData.id,
type: "tool",
};
storeApi(params).then((res) => {
this.store_status = res.data;
});
},
// 滚动到底部
scrollToBottom() {
this.$nextTick(() => {
let chatContent = this.$refs.chatContent;
if (chatContent) {
chatContent.scrollTop = chatContent.scrollHeight;
}
});
},
emptyText() {
this.text_value = "";
this.active = false;
},
// 复制
copyTextFun() {
const textArea = document.createElement("textarea");
textArea.value = this.replyText;
// 使text area不在viewport,同时设置不可见
document.body.appendChild(textArea);
textArea.focus();
textArea.select();
return new Promise((resolve, reject) => {
// 执行复制命令并移除文本框
document.execCommand("copy") ? resolve() : reject(new Error("出错了"));
textArea.remove();
})
.then(() => {
this.$message.success("复制成功");
})
.catch(() => {
this.$message.error("复制失败");
});
},
// AI生成
generateFun() {
if (!this.isLogin) {
return this.$router.push({ name: "login" });
}
if (this.text_value === "") {
return this.$message.warning("文本不能为空");
}
if (this.userInfo.questionCou <= 0 && !this.userInfo.memberFlag) {
this.$message.warning("您的积分已用完");
this.getUserInfoActions();
return false;
}
this.btnLoading = true;
this.replyText = "";
this.isReply = false;
let text = this.toolData.fun_json.text;
text = text.replace("{value}", this.text_value);
for (let key in this.chatObj) {
text = text.replace(`{${key}}`, this.chatObj[key]);
}
let that = this;
fetchEventSource(`/api/${website.apiRequestHead}/chat/ai/send/moreFun`, {
method: "POST",
headers: {
"Content-Type": "application/json",
Accept: "application/json",
Authorization: `Basic ${website.Authorization}`,
"Blade-Auth": `bearer ${getStorage({ name: "token" })}`,
Connection: "keep-alive",
"Cache-Control": "no-cache",
},
openWhenHidden: true,
signal: that.ctrl.signal,
body: JSON.stringify({
funFataId: this.toolData.id,
systemTitle: this.toolData.fun_json.theme,
content: text,
text_type: this.text_type,
type: "pc",
}),
onopen(res) {
// console.log('res>>>>>>>>>>>>>>>>>>>>>>', res)
console.log("open");
that.isShowHistory = false;
//发送消息间隔3秒获取数据
let respWaitDataTimer = setInterval(() => {
if (that.isShowHistory) {
clearInterval(respWaitDataTimer);
return;
}
//获取消息
that.getMessageFun();
}, 3000);
that.timer = setInterval(() => {
if (that.messageList[that.messageIndex] === undefined && that.messageEnd) {
that.messageList = [];
that.messageIndex = 0;
that.messageEnd = false;
clearInterval(that.timer);
}
if (that.messageList[that.messageIndex] !== undefined) {
//拼接界面文本
that.replyText = that.replyText + that.messageList[that.messageIndex];
that.scrollToBottom();
that.messageIndex++;
}
}, 30);
},
onmessage(event) {
let data = JSON.parse(event.data);
if (event.id === "param") {
console.log("param");
} else if (event.id === "messageId") {
console.log("messageId");
} else if (
event.id != "[DONE]" &&
event.id != "param" &&
data.content != undefined
) {
// that.replyText = that.replyText + data.content
if (data.content.length === 1) {
that.messageList.push(data.content);
} else {
for (let i = 0; i < data.content.length; i++) {
that.messageList.push(data.content[i]);
}
}
} else if (event.id === "[DONE]") {
console.log("结束");
}
// console.log('event', event)
},
onclose() {
console.log("close");
that.messageEnd = true;
that.ctrl.abort();
},
onerror(error) {
console.log("error>>>>>>>>>>>>>>>", error);
that.messageEnd = true;
that.ctrl.abort();
},
});
// sendMoreDataApi({
// funFataId: this.toolData.id,
// systemTitle: this.toolData.fun_json.theme,
// content: text,
// text_type: this.text_type,
// type: 'pc',
// })
// .then((res) => {
// console.log('重新获取次数', res)
// //重新获取次数
// this.getUserInfoActions().then(() => {
// if (this.userInfo.stopSendTime) {
// this.$router.replace({ name: 'piazza' })
// }
// })
// this.getSettingDataActions()
// })
// .catch(() => {
// this.getUserInfoActions()
// this.btnLoading = false
// })
},
//获取消息
getMessageFun() {
if (this.isRecon || this.replyText) {
return false;
}
this.isRecon = true;
getLastHistoryDataApi(this.toolData.id)
.then((res) => {
let data = res.data;
this.store_status = data.store_status;
this.isRecon = false;
if (!data.id || data.id == this.currReplyData.id) {
return false;
}
this.currReplyData = data;
this.isReply = true;
this.btnLoading = false;
this.isShowHistory = true;
this.replyText = data.message_a;
this.scrollToBottom();
})
.catch((err) => {
this.isReply = true;
this.btnLoading = false;
this.isShowHistory = true;
});
},
searchNotMessage(type) {
console.log("正在获取之前的消息?-", this.isRecon, type);
if (this.isRecon || this.replyText) {
return false;
}
this.isRecon = true;
//获取上一次历史
getLastHistoryDataApi(this.toolData.id).then((res) => {
console.log("获取上一次历史=", res, res.data, this.currReplyData.id);
let data = res.data;
this.store_status = data.store_status;
this.isRecon = false;
if (!data.id || data.id == this.currReplyData.id) {
return false;
}
this.currReplyData = data;
if (type == "one") {
this.isReply = true;
this.isShowHistory = true;
this.replyText = data.message_a;
this.scrollToBottom();
return false;
}
this.isShowHistory = false;
if (this.currReplyData.id) {
if (
new Date(this.currReplyData.message_q_time).getTime() <=
new Date(data.message_q_time).getTime()
) {
this.setReplyFun(data);
}
} else {
this.setReplyFun(data);
}
});
},
setReplyFun(data) {
this.isUserScoll = false;
this.isReply = true;
this.btnLoading = false;
this.isAddText = true;
let text = data.message_a;
if (!text) {
text = [];
} else {
// text = text.split('')
}
let index = 0;
let currHeight = 0;
if (this.timer) {
clearInterval(this.timer);
}
this.timer = setInterval(() => {
if (index >= text.length - 1) {
if (this.timer) {
clearInterval(this.timer);
}
this.isAddText = false;
}
if (text[index] === undefined || text[index] === null) {
if (this.timer) {
clearInterval(this.timer);
}
}
this.replyText = this.replyText + text[index];
index++;
this.scrollToBottom();
// if (!this.isUserScoll) {
// uni.pageScrollTo({
// duration: 50, // 过渡时间
// scrollTop: 20000, // 滚动的实际距离
// })
// }
}, 60);
},
},
destroyed() {
this.ctrl.abort();
},
};
</script>
<style lang="scss" scoped>
.el-textarea__inner {
max-height: 300px;
}
.chat-tool-details {
height: 100%;
position: relative;
padding: 0 16px;
.chat-tool-content {
height: calc(100vh - 176px);
overflow-y: auto;
scrollbar-color: rgba(0, 0, 0, 0.1) rgba(251, 246, 246, 0.1); //滚动条轨道颜色 滚动条滑块的颜色
scrollbar-width: none;
scrollbar-width: thin; //thin模式下滚动条两端的三角按钮会消失
.reply-content-box {
margin-top: 20px;
padding-bottom: 20px;
.history-text {
padding-left: 20px;
padding-bottom: 10px;
font-size: 16px;
font-weight: 700;
color: #960a0f;
}
.content {
// width: calc(100vw - 80rpx);
margin: 0 auto;
border-radius: 0 15px 15px 15px;
background-color: #ffffff;
padding: 15px;
font-size: 16px;
border: 1px solid #8fad90;
box-sizing: border-box;
.content-text {
max-width: 834px;
overflow-x: auto;
}
.content-btn {
margin-top: 20px;
display: flex;
justify-content: flex-end;
align-items: center;
font-size: 12px;
.btn {
margin-left: 10px;
display: flex;
align-items: center;
border-radius: 6px;
padding: 3px 8px;
color: #fff;
background-color: #90ac90;
cursor: pointer;
.btn-img {
width: 14px;
height: 14px;
}
.btn-text {
text-align: cneter;
// padding-left: 3px;
}
}
.text-length {
color: #90ac90;
}
}
}
}
}
.chat-tool-lsjl {
position: absolute;
right: 20px;
top: 10px;
font-size: 14px;
font-weight: 700;
color: #960a0f;
cursor: pointer;
}
.chat-tool-title {
padding-top: 40px;
font-size: 18px;
color: #960a0f;
font-weight: 700;
}
.list-item {
padding-top: 20px;
}
.item-label {
margin-bottom: 10px;
color: #848484;
flex: 0 0 68px;
}
.item-control {
flex: 1;
.item-input {
/deep/.el-input {
border: 0;
background-color: #fcfdff;
padding: 5px !important;
}
}
.item-checkbox {
display: flex;
flex-wrap: wrap;
.checkbox-item {
padding: 7px 10px;
background-color: #f7f8fa;
border: 1px solid #f7f8fa;
border-radius: 8px;
margin-right: 10px;
box-shadow: 0 0 2px #cfcfcf;
font-size: 12px;
font-weight: 600;
cursor: pointer;
}
.active {
border-color: #2b85e4;
background-color: #ecf5ff;
}
}
}
.chat-tool-bottom {
position: absolute;
bottom: 0;
left: 0;
display: flex;
justify-content: space-around;
align-items: center;
width: 100%;
height: 60px;
background-color: #faf4ec;
.btn-teg {
width: 300px;
height: 40px;
line-height: 40px;
border-radius: 20px;
font-size: 16px;
text-align: center;
font-weight: 700;
cursor: pointer;
}
.xjlt {
background-color: #ffffff;
color: #960a0f;
border: 1px solid #960a0f;
}
.aisc {
background-color: #960a0f;
color: #ffffff;
}
}
.scjl-box {
padding: 20px 20px 10px;
height: 560px;
display: flex;
flex-direction: column;
justify-content: space-between;
box-sizing: border-box;
.scjl-title {
padding-bottom: 10px;
font-size: 18px;
color: #960a0f;
}
.scjl-list {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
overflow-y: auto;
scrollbar-color: rgba(0, 0, 0, 0.1) rgba(251, 246, 246, 0.1); //滚动条轨道颜色 滚动条滑块的颜色
scrollbar-width: none;
scrollbar-width: thin; //thin模式下滚动条两端的三角按钮会消失
padding: 20px 0;
box-sizing: border-box;
.scjl-item {
.scjl-item_title {
color: #960a0f;
font-size: 14px;
margin-bottom: 10px;
}
.scjl-item_content {
padding: 15px 10px;
background-color: #faf4ec;
border-radius: 6px;
color: #000;
}
.scjl-item_bottom {
padding: 6px 0 10px;
box-sizing: border-box;
display: flex;
justify-content: space-between;
.scjl-item-time {
font-size: 12px;
color: #999999;
}
.btn-box {
padding: 8px 10px;
border-radius: 4px;
display: flex;
align-items: center;
background-color: #ffffff;
.btn-item {
display: flex;
align-items: center;
margin-left: 10px;
&:nth-child(1) {
margin-left: 0;
}
.btn-item-icon {
width: 15px;
height: 15px;
}
.btn-item-text {
font-size: 12px;
padding-left: 2px;
color: #960a0f;
}
}
}
}
}
}
}
}
</style>
|
233zzh/TitanDataOperationSystem | 114,804 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/jvector/jquery-jvectormap-in-mill.js | jQuery.fn.vectorMap('addMap', 'in_mill',{"insets": [{"width": 900, "top": 0, "height": 932.9661457393942, "bbox": [{"y": -4125883.782575976, "x": 7589536.343670783}, {"y": -752405.3962423205, "x": 10843813.641475728}], "left": 0}], "paths": {"IN-BR": {"path": "M484.32,277.67l0.73,-0.96l-0.3,-0.93l-0.88,-0.99l2.18,-0.33l2.83,0.22l2.64,-2.44l0.65,0.88l1.12,0.53l0.73,1.16l1.44,0.13l0.88,1.39l0.78,0.52l8.92,1.6l1.49,1.54l0.75,2.31l-0.09,2.43l-1.0,2.2l0.17,0.95l0.56,0.5l3.94,1.04l1.49,-0.43l1.1,0.93l2.15,0.84l0.79,1.78l1.96,0.85l0.04,0.75l0.36,0.35l0.96,0.04l2.23,-0.69l0.89,0.36l0.08,1.86l1.02,1.19l3.03,0.83l1.86,-0.39l1.41,-1.3l1.63,-0.0l2.51,-1.3l2.45,-0.81l2.64,1.62l0.21,0.97l-0.22,2.39l0.42,1.46l2.16,1.84l1.01,-0.0l0.22,0.89l0.54,0.28l1.3,-0.5l2.57,-2.01l1.7,-0.38l3.07,1.67l1.2,0.08l1.34,0.59l2.79,-0.96l0.36,0.09l0.11,0.57l0.46,0.36l1.14,-0.05l4.28,1.79l1.88,1.41l4.91,2.34l0.65,-0.32l0.42,-0.67l1.5,0.42l1.07,-0.27l0.84,-0.55l0.93,-1.39l2.89,-1.18l1.56,-1.41l0.73,3.4l1.29,2.14l1.24,0.5l2.44,-0.41l0.71,1.14l2.25,0.92l0.7,-0.4l0.94,-1.66l1.64,-0.68l1.77,0.1l2.15,1.18l1.43,0.3l2.71,-1.46l0.9,0.58l0.74,0.03l0.64,-0.42l0.39,-1.06l1.69,0.41l1.28,-0.84l0.78,0.58l1.04,1.56l1.36,0.93l1.28,-0.0l1.4,-1.3l0.98,-1.67l0.32,-2.54l1.11,0.19l1.81,-0.54l-0.25,1.26l2.57,2.21l-0.61,0.46l-0.14,0.71l1.31,0.93l0.18,0.65l-0.99,0.12l-1.4,1.13l-1.21,0.45l-3.14,3.08l-1.92,1.35l-1.46,0.45l-1.05,1.31l-3.05,2.6l-0.73,2.89l-0.66,0.33l-0.26,0.54l0.49,1.44l1.99,1.18l1.38,2.54l1.16,1.11l1.88,0.79l1.0,0.91l0.39,1.89l-0.42,2.19l0.68,1.39l-1.31,-0.23l-0.83,-0.82l-1.07,-0.2l-2.31,1.07l-0.91,0.98l-2.54,1.15l-0.86,1.17l-0.03,0.52l1.06,1.26l0.71,0.03l1.1,2.34l-1.16,1.61l-1.13,-0.8l-2.11,0.07l-2.4,-0.65l-0.85,-1.16l-1.55,-0.73l-2.09,1.48l-1.42,3.04l-1.75,-0.38l-1.94,0.54l-0.7,1.28l-0.53,2.54l-1.11,-0.28l-1.23,0.43l-1.15,1.08l-0.95,1.56l-0.02,4.14l-1.58,2.6l0.22,1.29l-0.25,2.5l-0.67,2.32l-3.65,-0.85l-1.11,1.73l-0.08,0.78l-1.8,-0.56l-1.86,-1.14l-0.7,0.13l-0.57,0.88l-0.58,0.3l-1.44,0.17l-1.24,-0.58l-1.1,0.08l-2.84,2.71l-0.35,2.31l-0.66,0.61l-0.34,1.45l-4.74,-2.95l0.93,-1.5l-0.46,-2.24l-2.49,-0.71l-1.39,0.5l-1.2,-0.75l-0.53,-2.93l-0.94,-1.11l-1.16,-0.27l0.25,-0.54l-0.25,-0.67l-1.15,0.06l-1.82,1.29l-1.16,0.12l-1.33,-1.63l-1.34,-0.72l-2.71,0.04l-1.03,0.64l-0.64,1.13l-0.35,1.75l-1.32,0.86l0.46,1.43l-0.08,1.26l-2.09,-0.13l-1.88,1.89l-1.05,-0.3l-2.8,-0.01l-3.56,0.74l-0.45,0.74l-3.09,1.2l-0.45,0.51l-0.04,0.72l-1.53,1.38l0.11,-1.07l-0.45,-0.39l-3.33,1.32l-1.97,-0.04l-0.37,-0.38l-0.39,-2.05l-0.44,-0.37l-0.85,0.15l-0.38,-1.56l-1.06,-0.48l-3.69,2.24l-0.86,1.72l-2.29,-0.51l-1.24,1.5l-0.27,0.79l-0.51,0.49l-0.76,0.1l-1.39,-1.35l-2.08,-1.34l-1.51,-1.71l0.38,-0.69l-0.02,-1.06l-0.71,-1.19l-0.78,-0.19l-0.66,0.49l-0.73,-0.27l-1.47,0.23l-0.36,0.39l-0.0,1.03l-0.3,-0.98l-0.78,-0.09l-0.53,1.26l-0.76,-0.87l-1.6,-3.93l-0.85,-0.67l-0.69,0.16l-0.72,1.49l-2.03,1.42l-2.05,0.28l-1.37,-0.23l-0.86,0.31l-0.55,0.68l-1.94,0.19l-4.92,-0.81l0.03,-2.88l-0.43,-1.19l0.61,-1.14l-0.28,-1.64l-0.55,-0.62l-2.0,-0.71l-2.6,-2.78l0.35,-1.72l-0.05,-2.24l-1.27,-2.58l0.34,-3.02l0.62,-1.14l1.7,-1.27l11.06,-6.27l0.86,-0.66l0.44,-0.81l2.19,-0.92l3.62,-3.02l1.7,-2.16l2.53,-1.98l0.88,-0.25l0.74,0.43l-0.04,1.29l0.37,0.92l0.82,0.61l1.2,0.16l1.16,-0.32l0.69,-0.62l0.03,-1.0l-0.41,-1.1l0.17,-0.52l1.25,-0.49l1.93,1.49l1.54,0.6l1.32,0.01l2.29,-1.37l0.73,-1.81l-0.34,-0.78l-2.28,-2.05l-2.42,-0.33l-1.18,-0.71l-0.5,-0.92l-0.82,-0.67l-3.49,0.28l-0.93,-0.9l-0.59,-1.69l-0.97,-0.39l-0.91,-1.45l-2.52,-1.19l-1.28,-2.57l-1.04,-0.81l0.41,-0.8l2.49,-0.34l0.91,-0.6l1.31,0.19l0.82,-0.39l0.25,-0.57l-0.78,-1.52l0.71,-1.33l0.02,-0.66l-0.45,-0.55l-2.83,-0.73l-2.18,-1.58l-1.33,0.6l-1.31,-0.25l0.0,-2.11l0.43,0.93l0.6,0.15l0.88,-1.02l1.95,-0.62l1.34,-2.77l8.58,0.29l0.57,-0.33l0.16,-0.55l-0.47,-0.95l-2.41,-2.3l-0.79,-0.41l-1.03,-0.04l0.16,-2.85l-0.51,-1.31l-1.39,-0.46l-1.37,0.64l-2.26,-1.46l-1.22,-2.32l-0.19,-2.14l-0.79,-0.77l-0.57,-1.24l-1.11,-1.03l0.06,-2.11l-0.66,-1.12l-1.11,-0.96l0.19,-1.5l-0.52,-0.38l-0.62,0.03Z", "name": "Bihar"}, "IN-PY": {"path": "M432.94,621.28l0.12,-0.11l0.06,0.17l-0.03,-0.0l-0.16,-0.05ZM434.43,621.71l0.34,-0.0l0.03,0.12l-0.21,-0.03l-0.16,-0.08ZM355.48,770.41l0.24,-0.33l0.83,0.78l1.19,-0.08l-0.49,1.07l1.07,0.9l0.61,-0.12l1.09,-0.94l-0.97,2.81l-1.98,-0.18l-0.66,-0.53l0.23,-1.51l-1.16,-1.87ZM356.86,803.07l0.79,-0.26l-0.03,-0.93l0.92,0.32l0.8,-0.45l0.68,0.07l0.07,4.51l-0.78,-0.6l0.25,-0.69l-0.28,-0.5l-2.69,-0.99l0.29,-0.48ZM218.44,768.85l0.02,-2.05l1.16,0.12l1.63,-1.29l0.73,0.2l-0.37,0.3l-0.72,-0.09l-0.44,0.41l-0.27,1.66l-1.25,1.09l-0.5,-0.37Z", "name": "Puducherry"}, "IN-DD": {"path": "M144.48,504.35l0.06,-0.81l0.49,-1.24l0.48,0.6l0.06,1.15l-1.09,0.3Z", "name": "Daman and Diu"}, "IN-DN": {"path": "M146.62,508.98l1.49,0.02l0.64,-1.32l0.96,0.1l1.81,-1.3l0.0,1.2l1.42,0.47l-2.51,1.64l-0.2,0.71l0.26,1.36l0.63,0.79l1.15,0.12l0.71,-0.32l0.3,-1.06l1.1,0.26l-0.01,2.67l-0.38,1.21l-1.24,-0.9l-1.12,0.47l-0.96,-0.54l-0.98,0.61l-1.35,-2.56l-0.26,-1.86l-1.39,-1.3l-0.07,-0.48Z", "name": "Dadra and Nagar Haveli"}, "IN-DL": {"path": "M269.18,237.92l-1.09,-1.45l1.02,-1.35l1.39,-0.53l0.24,-1.0l0.78,-0.87l-0.35,-3.41l0.21,-0.9l1.59,-0.79l1.2,-0.05l0.91,-0.88l2.3,0.67l1.4,-0.39l0.27,0.61l-0.2,0.97l0.58,1.16l2.51,2.23l0.25,0.66l0.62,2.22l-0.95,1.04l-0.26,0.81l0.7,1.44l-2.32,0.75l-0.66,0.79l0.48,1.01l-0.98,0.25l-2.63,-1.33l-0.89,-1.75l-2.19,-1.1l-0.66,0.01l-0.48,0.79l-2.76,0.39Z", "name": "Delhi"}, "IN-NL": {"path": "M779.92,344.86l0.24,-2.48l-0.5,-1.53l-1.51,-1.38l-1.72,-2.41l5.61,-4.5l1.79,-2.48l3.84,-3.32l0.18,-0.6l-0.86,-1.43l1.99,-1.01l0.92,0.2l0.22,1.55l-1.05,1.7l0.18,0.61l0.39,0.2l3.95,-0.86l1.52,-1.07l1.37,-2.13l-0.58,-1.75l0.0,-0.99l1.01,-1.64l0.11,-3.4l2.88,-3.87l2.12,-1.95l0.79,-3.49l2.04,-2.58l0.89,2.11l0.8,0.16l0.76,-0.33l1.67,-1.57l0.74,-1.09l0.25,-1.63l1.49,-1.74l1.12,-0.19l0.86,-0.7l1.24,0.02l2.52,-1.07l3.03,-1.88l1.13,-0.97l1.92,-2.9l1.52,-1.46l1.31,0.78l1.78,-0.04l4.5,-2.81l1.45,1.13l0.13,1.9l-0.88,1.28l-0.18,0.95l0.32,0.93l0.81,0.73l-0.26,2.06l0.63,1.74l-1.12,0.02l-0.96,1.1l-1.61,0.79l-0.48,2.09l-2.17,2.74l0.78,2.22l-0.69,2.6l0.11,2.79l0.48,1.15l0.9,0.47l-0.42,0.83l0.3,2.22l0.56,0.6l1.14,0.39l0.23,0.64l-2.48,2.95l-2.14,1.25l-0.24,1.45l0.63,3.47l-0.08,1.03l-1.42,0.62l-3.3,4.31l-0.08,0.67l-0.92,0.26l-1.66,2.11l-2.18,0.49l-1.29,0.92l-0.79,-0.14l-2.19,-1.69l1.06,-3.49l0.1,-2.14l-0.72,-0.37l-2.49,2.12l-1.72,0.98l-1.48,1.73l-1.75,0.89l-3.83,0.5l-1.34,-0.81l-1.99,0.08l-1.96,-1.16l-6.95,0.35l-1.1,0.4l-0.54,1.41l0.25,0.38l1.19,0.4l0.13,0.77l-3.93,3.81l-0.97,2.24l-1.16,1.64l-1.08,-1.27l-1.34,-0.42l-1.8,-1.16Z", "name": "Nagaland"}, "IN-WB": {"path": "M545.45,405.85l-0.5,-0.98l0.56,-0.42l5.08,-0.89l0.31,-0.72l-0.47,-1.55l0.74,-0.53l1.67,0.87l0.84,0.07l-0.32,2.17l0.35,0.57l1.81,0.66l1.35,0.95l1.69,-0.33l1.95,-1.65l0.58,-2.23l1.76,-1.44l7.16,-2.58l3.6,-0.58l1.37,-0.52l0.56,-0.8l0.21,-1.04l-0.38,-1.28l0.13,-0.59l1.64,-2.23l2.89,1.56l1.05,0.13l2.02,1.46l1.68,0.42l1.24,-0.23l0.42,-0.94l-0.98,-1.3l1.48,0.29l0.47,0.6l0.77,0.13l0.6,-0.83l0.08,-1.2l0.67,-0.26l0.38,-0.66l-0.04,-1.15l-1.61,-2.24l1.91,-0.48l0.42,1.44l0.56,0.34l1.97,-0.7l1.91,0.1l1.22,-1.17l-0.03,-2.65l0.4,-0.06l1.12,0.83l0.64,-0.01l0.71,-0.96l0.29,-1.21l1.52,0.03l0.69,-0.57l0.01,-0.7l-0.45,-0.74l-0.74,-0.19l-0.01,-0.67l2.93,-1.81l1.74,-3.39l0.04,-1.52l0.75,-1.33l-0.41,-1.07l0.04,-1.25l-0.42,-0.42l1.37,0.59l1.07,-0.12l0.94,-0.6l0.46,-0.93l-0.2,-0.47l-0.58,-0.24l0.58,-0.51l0.08,-0.51l-0.69,-2.04l-0.63,-1.08l-1.12,-0.31l-0.14,-0.29l0.68,0.28l0.62,-0.34l0.26,-2.07l0.61,-1.34l-0.14,-1.71l-1.05,-3.44l-2.07,-1.79l-0.21,-1.92l0.46,-1.62l0.97,-1.02l0.74,-1.55l-0.87,-2.23l-0.57,-0.72l-0.74,-0.08l-0.57,-0.84l0.56,-0.79l2.33,-1.03l0.96,-1.0l2.16,-0.97l1.4,1.03l1.9,0.33l0.47,-0.45l-0.11,-1.05l-0.63,-0.84l0.41,-2.35l-0.5,-2.1l-1.25,-1.16l-1.89,-0.81l-1.11,-1.14l-1.2,-2.32l-1.92,-1.09l-0.39,-1.0l0.85,-0.61l0.64,-2.73l2.92,-2.46l1.08,-1.34l1.42,-0.41l1.96,-1.39l2.66,-2.74l1.56,-0.7l1.28,-1.06l1.18,-0.21l0.32,-0.73l-0.46,-1.15l-1.07,-0.55l0.79,-0.66l-0.12,-0.71l-1.34,-1.38l-1.14,-0.68l0.23,-1.51l-0.57,-0.35l-2.11,0.6l-0.78,-0.16l2.21,-5.06l0.16,-2.07l-0.51,-3.36l-1.72,-3.31l-1.28,-1.98l-1.44,-0.95l-1.12,-1.75l0.87,-4.21l1.51,1.11l0.39,1.54l0.74,0.73l4.09,0.21l3.92,1.74l2.29,-0.56l2.85,-2.48l2.71,0.28l1.59,-0.16l0.79,0.57l1.28,0.26l2.69,1.54l0.46,1.37l0.19,3.46l0.29,0.34l1.63,-1.15l0.76,1.97l0.84,0.27l1.26,-0.33l0.64,0.28l1.07,0.92l0.7,1.54l0.63,0.6l3.73,0.29l1.04,-0.28l0.94,-0.75l1.87,-0.3l3.01,1.82l2.09,-0.18l2.3,0.6l0.6,0.46l-0.29,1.59l0.63,0.37l2.22,-0.41l1.68,0.7l2.49,0.24l0.75,-0.98l0.75,2.6l0.28,3.28l-0.9,2.05l-0.46,2.89l-0.88,0.81l0.31,0.9l-1.25,0.59l-0.72,1.5l-0.86,0.56l0.04,1.22l-1.55,0.49l-0.18,-0.8l-0.86,-0.37l-1.27,0.64l-0.02,1.22l-0.94,0.39l-0.42,1.08l0.57,0.68l-0.48,0.58l0.23,0.75l1.09,0.15l-1.54,1.52l-0.38,1.81l-1.38,-1.31l-2.29,0.18l-0.73,-0.75l-1.31,0.6l-0.84,-0.27l-1.33,-1.22l-1.01,-0.45l-0.8,-1.36l-2.47,-1.14l-0.46,-0.78l-0.28,-2.06l-1.01,-1.97l-0.01,-0.39l0.84,-0.04l0.09,-1.08l-1.36,-0.64l-0.24,-0.96l-1.33,-0.55l-1.96,-1.58l-0.57,-0.06l-0.99,0.67l-0.74,1.31l-0.01,0.73l0.75,0.92l1.61,0.68l0.49,1.17l0.62,0.23l0.34,0.57l0.65,0.14l-0.29,0.34l-1.18,0.29l-0.68,-0.22l-1.29,-1.25l-1.04,-0.25l-0.91,0.46l-0.72,1.18l-0.91,-1.51l-1.33,-0.61l-1.97,0.6l0.81,-0.62l0.24,-1.27l-1.29,-0.96l-0.66,-1.82l-1.2,-0.43l-0.74,-1.07l-1.95,-0.46l-2.01,-1.77l-1.53,-0.53l-0.33,-2.09l-0.46,-0.49l-0.9,0.45l-0.68,1.2l-1.21,3.24l0.06,0.87l0.87,0.76l0.58,-0.35l0.14,-0.78l2.98,0.87l0.96,2.56l-1.84,-0.15l-3.0,2.73l-0.3,2.13l-3.15,1.09l-1.89,1.47l-0.78,1.93l0.51,1.07l-0.12,0.57l-0.79,0.64l-1.63,3.72l0.4,2.48l1.35,2.12l1.02,0.06l2.3,-0.88l0.79,0.4l1.81,2.04l2.96,2.25l0.25,2.15l1.56,0.98l1.71,2.04l2.13,0.28l2.25,1.05l0.73,-0.2l0.76,-0.76l1.66,-0.37l1.12,1.2l-0.48,1.96l1.4,2.3l1.33,0.44l0.8,0.66l2.14,0.08l-0.15,0.49l-1.45,1.22l-0.04,1.1l-0.32,0.07l-0.24,0.62l-2.61,-0.88l-0.47,0.18l-0.58,0.98l-1.64,-0.16l-2.86,-0.85l-1.23,-0.01l-1.12,0.71l-2.46,-0.78l-1.5,0.37l-0.35,0.76l-0.17,3.89l-0.99,1.68l-0.5,1.66l-1.59,2.27l-1.78,-0.3l-0.37,-1.1l-1.21,-1.04l-1.33,0.16l-1.59,0.83l-0.21,0.5l0.78,2.11l-0.83,1.08l-0.67,0.34l-0.28,1.04l-0.9,0.53l-0.14,1.33l-0.83,2.23l0.28,0.45l0.9,0.3l0.73,1.05l0.07,1.91l1.05,1.48l0.84,0.18l8.01,4.07l2.42,1.81l5.01,0.7l1.0,-1.38l1.17,0.59l0.6,0.78l0.3,2.04l-0.42,0.68l-1.42,0.76l-0.3,0.7l-0.09,2.48l0.81,1.21l0.65,0.38l-0.58,0.9l0.35,2.32l-1.67,1.6l-1.68,0.07l-0.85,0.66l-0.02,1.23l-0.76,1.49l0.25,1.1l-0.6,3.39l0.72,0.51l-0.1,0.68l0.41,0.56l1.25,0.21l1.1,1.66l1.75,1.33l0.39,0.76l0.88,0.04l0.61,-0.71l-1.51,4.2l-1.03,1.81l-0.01,0.88l0.44,0.92l2.58,1.08l1.56,-0.51l3.8,1.0l-2.85,2.89l-0.46,0.98l-0.39,3.23l1.78,3.39l1.51,0.97l-0.23,1.76l-0.92,1.57l1.48,4.98l-0.13,0.51l-0.56,0.36l0.08,0.71l1.11,0.51l0.92,3.0l-0.39,1.34l0.91,2.85l-0.27,0.58l1.66,2.45l0.42,1.62l-1.03,0.69l-0.22,1.48l0.63,1.91l0.14,2.67l-1.18,0.15l-0.44,0.52l-1.34,-0.77l-0.36,-1.32l-0.38,-0.28l-0.81,0.22l-0.3,0.82l0.64,1.51l2.25,1.42l0.54,0.87l0.86,3.85l1.27,1.9l-0.01,1.43l-0.48,0.14l-0.33,-0.52l-0.69,-0.07l-0.64,0.78l-1.89,-1.22l-1.24,-0.27l-0.7,-3.49l-0.61,-0.28l-0.4,0.34l-0.62,2.07l0.63,2.03l-0.94,0.29l0.5,-1.05l-0.26,-0.97l-0.39,-0.27l-1.42,1.86l0.48,2.23l-0.61,0.28l-1.15,-0.41l0.33,-1.07l-1.1,-2.67l0.57,-3.6l-0.26,-0.99l0.59,-1.77l0.2,-2.12l1.06,-1.02l0.23,-0.74l-0.27,-0.9l-1.35,-1.0l1.61,-2.01l-1.14,-0.17l-1.44,1.2l-0.31,1.39l1.07,0.87l-0.15,0.5l-0.98,2.08l-1.2,-0.05l0.8,-2.06l-0.43,-2.86l1.34,-2.58l-0.1,-0.63l-0.99,-0.36l-1.64,3.33l0.18,2.1l-0.71,1.31l-0.13,2.49l-0.97,2.58l-0.07,2.69l0.46,0.46l1.46,-0.37l0.16,0.55l-0.31,1.14l-0.55,-0.13l-0.4,0.44l0.23,2.14l-0.66,0.46l-0.07,1.76l-0.47,-0.41l-0.69,0.01l-0.11,1.32l-0.51,-0.09l0.07,-1.06l0.6,-0.74l0.46,-2.03l-0.73,-2.54l0.85,-1.8l-0.11,-1.1l-0.98,-1.56l0.53,-1.9l-0.75,-0.79l-0.46,-0.03l-0.08,0.85l-0.75,1.52l0.64,2.32l-0.63,0.42l-0.66,1.98l0.48,3.04l-0.28,0.49l-1.35,0.68l-0.22,-1.85l0.28,-0.81l-0.46,-0.52l-1.07,0.39l-0.38,-0.84l-0.84,0.2l-0.44,-2.18l-0.57,-0.66l-0.63,-0.16l-0.42,0.44l0.08,0.75l1.01,3.85l-0.42,1.45l0.66,1.05l-0.95,0.35l-0.35,-1.27l-0.51,-0.52l-0.6,0.03l-0.58,-1.49l0.87,-2.47l-0.23,-0.94l0.2,-0.63l-1.67,-3.15l-0.24,-2.24l0.24,-0.83l2.02,-2.79l-0.71,-3.23l-3.61,-1.75l-0.09,-0.54l-0.61,-0.27l-0.84,0.43l-0.77,-0.39l-1.03,-1.26l-0.97,-4.14l-0.49,-0.54l-0.92,-0.13l-0.41,0.6l0.54,0.86l0.74,3.83l0.6,1.16l1.56,1.46l3.72,0.8l0.73,0.61l0.32,1.05l-0.22,0.69l-1.51,1.64l-2.08,0.56l0.04,1.33l-2.0,4.07l-2.48,1.79l-1.01,1.44l-4.96,3.02l-2.47,0.14l-4.13,1.11l-1.25,-2.09l0.04,-2.21l-0.26,-0.62l-0.76,-0.57l-4.7,-1.12l-0.64,-1.11l-0.35,-2.0l-0.83,-1.17l-2.44,-0.78l-2.21,2.36l-0.3,-0.07l-0.94,-1.35l0.28,-2.14l-0.68,-1.6l-1.45,-1.03l-1.64,-0.67l-1.74,-0.15l-2.08,-1.48l-1.77,-0.61l-0.33,-0.57l0.32,-0.22l0.61,-0.36l1.19,0.03l0.28,-1.32l2.26,-0.3l0.3,-0.79l-1.52,-1.54l-0.47,-2.23l-2.14,-1.64l-0.14,-0.58l0.98,0.03l0.45,-0.53l-0.69,-1.9l-1.33,-1.0l-2.63,-0.5l-0.79,-2.5l-1.98,-1.62l-0.94,-0.49l-1.31,-0.05l-1.46,-1.14l0.13,-2.51l0.41,-1.21l-0.13,-0.83l0.77,-0.68l1.92,-0.56l0.18,-0.83l-1.95,-0.64l-4.23,-0.15l-1.7,-0.37l-1.31,-0.0l-1.19,0.45l-5.28,-5.12l-1.99,-0.54l-1.51,0.49l-0.33,-1.19l-1.25,-1.57l0.38,-1.25l1.12,-1.59l0.49,-2.12l-0.57,-0.72l-1.16,-0.03ZM621.37,462.65l0.62,0.85l-0.48,1.24l-0.1,-0.46l-0.03,-1.63ZM639.28,467.29l-1.47,0.01l-0.03,-1.73l1.33,0.75l0.17,0.97ZM630.2,458.45l-0.18,-0.62l0.39,-0.95l1.22,-1.6l0.22,0.26l-0.7,3.21l-0.96,-0.3ZM615.62,464.13l-1.95,-0.31l-0.34,-0.61l1.43,-4.38l1.08,-1.59l0.53,2.85l-0.1,1.69l-0.79,0.55l-0.14,0.48l0.28,1.31ZM614.23,456.85l0.15,-1.15l0.64,-1.08l0.26,0.49l-0.18,0.81l-0.87,0.92Z", "name": "West Bengal"}, "IN-HR": {"path": "M197.67,196.54l-1.92,0.66l-0.68,-0.19l-0.12,-0.33l0.58,-1.74l1.54,-0.71l0.56,-0.71l0.04,-0.87l-1.03,-1.19l0.03,-0.46l3.74,1.02l2.05,-1.87l3.05,-0.56l0.68,0.68l2.25,0.52l0.65,1.26l1.95,1.36l2.44,-0.58l0.57,-1.17l-0.41,1.39l0.24,1.61l1.61,1.38l0.49,-0.02l0.38,-1.05l0.49,-0.25l0.24,0.89l0.89,1.26l-0.77,0.21l-0.05,1.32l-0.89,0.47l-0.18,0.49l2.26,4.51l0.68,0.02l1.72,-0.75l-0.08,-1.9l0.4,-0.66l1.05,-0.42l0.07,-0.72l1.15,-1.12l1.84,-2.76l4.54,1.48l1.87,-0.35l1.18,0.2l0.81,-0.43l0.25,-1.03l1.84,-0.6l1.45,0.72l0.68,1.43l0.66,0.57l2.19,0.36l1.5,-0.6l1.29,-0.08l1.38,-1.54l2.31,-0.92l2.19,-1.64l-0.08,-0.61l-0.99,-0.75l-0.42,-1.25l0.77,-2.4l0.6,-0.91l-0.16,-0.9l0.93,-0.28l0.17,-0.47l-1.41,-0.86l0.04,-0.31l1.21,0.8l1.17,0.28l1.1,-0.22l0.28,-0.67l0.98,0.56l0.49,-0.29l0.43,-0.88l0.03,-1.16l0.63,1.85l0.67,0.93l1.52,0.62l1.31,-0.04l3.08,-2.2l0.45,-2.11l-1.11,-0.83l-0.74,-1.06l1.96,-0.97l2.75,-2.1l0.15,-0.69l-0.67,-0.42l0.18,-0.95l0.62,-0.28l0.94,0.26l1.29,-0.13l1.11,2.15l0.94,0.05l0.48,-0.5l0.29,-1.07l-0.34,-3.0l0.44,-1.02l-0.52,-1.05l0.23,-1.9l-0.5,-1.28l-0.77,-0.38l-0.31,-1.22l-0.78,-0.13l0.06,-1.77l-0.44,-1.16l0.68,-1.4l0.01,-0.71l-0.29,-0.49l-0.85,-0.37l-0.78,-1.44l0.75,-0.5l0.96,1.15l1.8,0.0l0.72,0.82l0.49,1.43l1.37,0.91l0.34,0.94l3.46,1.85l0.71,0.88l0.16,2.59l-0.5,1.22l0.09,0.78l2.08,1.94l0.25,0.78l0.44,0.23l0.93,-0.4l1.76,0.9l1.62,0.31l0.93,0.77l1.26,-0.33l0.59,0.71l2.07,-0.23l2.03,1.34l-0.49,3.0l-4.77,4.22l-0.4,1.32l-2.42,1.67l-0.2,0.66l-0.96,0.19l-0.26,0.72l-1.47,1.42l-0.66,1.71l-0.89,4.15l-0.47,0.9l-0.85,0.28l0.03,1.48l-0.81,0.56l-0.03,0.91l-0.63,0.62l-0.17,1.53l0.38,1.01l-0.82,0.38l-0.38,0.67l0.4,1.11l-0.1,1.06l0.71,0.51l0.71,-0.06l-1.49,1.77l0.33,0.56l2.21,0.16l-0.49,1.16l0.06,1.19l0.44,0.83l-0.56,1.13l0.32,4.99l-0.22,0.57l1.83,3.91l-0.49,0.52l-0.07,0.59l1.38,1.81l-0.48,0.8l-1.19,0.43l-2.62,-0.68l-1.12,0.96l-1.76,0.23l-1.23,0.79l-0.42,1.42l0.38,3.16l-0.71,0.77l-0.21,0.93l-1.26,0.39l-1.28,1.97l1.21,2.02l0.49,0.29l3.29,-0.53l0.51,-0.79l1.96,0.95l0.92,1.77l2.96,1.49l1.17,-0.15l0.67,-0.44l0.11,-0.6l-0.47,-0.68l0.36,-0.34l2.21,-0.63l1.36,1.03l-0.01,0.77l0.51,0.3l0.72,-0.35l0.65,1.19l0.96,-0.1l-0.04,0.82l0.65,0.59l-0.7,2.07l0.67,0.83l0.27,1.32l1.0,0.34l-0.17,0.55l-0.64,0.25l-0.17,0.47l0.74,0.72l-0.77,0.85l0.01,1.32l-0.24,-0.15l-0.61,0.36l0.19,1.33l-0.23,0.73l0.1,0.41l1.03,0.81l0.7,1.8l-0.54,0.3l-1.08,1.73l-1.24,-0.14l-1.14,1.02l-2.4,0.84l-0.96,0.82l-1.05,0.03l-0.37,0.47l-0.86,-0.73l-0.59,0.56l-0.3,-0.44l-0.52,-0.11l-0.85,0.76l-1.92,-0.54l-0.95,0.12l-0.53,1.25l0.42,0.62l0.78,0.36l-1.77,0.36l-1.03,1.64l-1.71,0.27l-0.23,-0.17l0.72,-0.3l0.15,-0.38l-0.57,-0.95l0.43,-2.47l0.88,-1.72l-0.19,-3.96l-0.52,-2.28l0.64,-2.88l-0.31,-0.93l-2.2,-2.22l-0.95,-0.48l-1.46,0.62l-1.38,1.94l-3.45,2.5l-0.25,0.95l0.49,1.35l-1.85,0.43l-0.89,0.93l-0.83,-2.12l-1.96,-0.59l0.71,-0.57l-0.55,-0.72l0.54,-0.08l0.22,-0.4l-0.98,-1.7l-0.96,-0.35l-1.98,0.38l-0.71,-1.02l-1.24,-0.44l-0.56,0.44l-0.0,0.81l1.23,1.18l-0.83,0.3l-0.23,0.52l0.19,0.51l1.05,0.65l-0.19,0.59l-0.5,0.06l-1.74,-1.05l-0.94,0.38l-1.54,-0.12l-0.66,0.79l-0.18,1.38l0.66,2.16l0.02,1.52l0.69,0.96l0.29,1.5l-0.62,0.44l-1.77,-1.38l-3.88,0.2l-0.48,-1.45l-1.14,-0.82l-0.09,-0.38l1.1,-0.25l0.59,-0.56l0.14,-0.71l-0.49,-0.68l0.63,-1.33l1.08,-1.16l0.14,-0.82l-0.76,-0.63l-0.7,0.22l-0.51,0.59l-0.74,-0.62l1.69,-0.98l0.71,-0.94l0.81,0.77l0.71,0.05l0.34,-1.01l-1.72,-2.96l-2.17,-2.79l-2.33,-2.11l-2.17,-0.91l-1.14,0.06l-0.05,-1.25l-2.28,-1.69l-3.18,-4.01l-3.25,-9.33l1.03,-1.13l-0.06,-1.08l-0.44,-0.58l-1.68,-0.7l-1.73,-2.58l0.02,-0.98l-0.52,-1.06l0.81,-0.33l0.22,-0.76l-0.73,-2.06l-0.71,-0.18l-1.11,0.73l0.1,-1.56l-0.26,-0.42l-0.65,-0.14l-1.3,0.6l-0.77,0.84l-0.86,0.08l-1.19,-0.66l-1.07,0.71l-1.9,0.54l-1.12,-1.64l-0.56,-0.19l-1.59,0.27l-1.1,-2.41l-0.82,-0.74l-2.52,-0.92l-0.97,0.26l-1.36,1.06l-1.48,-0.23l-1.78,0.2l-0.51,0.37l-0.23,0.76l-0.28,-0.03l-2.1,-3.33l0.28,-0.41l1.47,-0.13l0.47,-0.84l0.07,-1.62l-1.13,-1.94l0.92,-5.58l-0.73,-0.83l-1.02,0.44ZM259.41,180.33l-0.42,0.53l-0.13,0.09l0.07,-0.25l0.48,-0.37Z", "name": "Haryana"}, "IN-HP": {"path": "M229.45,117.96l1.78,-1.92l0.71,-1.52l-0.42,-0.79l-1.07,0.13l-0.02,-1.36l3.39,-1.15l1.65,-1.71l4.23,-3.05l-0.07,-0.68l-1.73,-2.9l0.38,-1.22l1.73,-1.98l0.07,-1.31l-0.71,-1.74l0.32,-2.08l-1.4,-2.4l-1.75,-1.91l-0.13,-0.95l1.18,-0.43l1.48,0.51l0.94,0.92l0.79,-0.09l4.49,-3.83l4.22,-1.75l0.9,-0.95l0.55,-1.64l2.1,-1.4l1.27,-0.58l3.51,-0.66l0.95,-0.52l2.35,1.47l3.95,-0.18l5.58,5.42l4.66,2.96l1.53,0.84l6.68,2.06l0.97,-0.1l0.54,-0.69l2.55,-0.39l2.39,-0.78l1.97,-1.57l2.83,-1.51l4.08,4.65l1.07,2.36l1.06,1.32l0.31,2.34l2.3,3.1l1.48,0.01l1.99,-1.8l2.17,-0.84l2.03,-0.16l0.85,-0.83l1.36,-0.66l0.22,-1.01l0.92,0.01l0.38,1.9l-0.26,1.58l-2.3,2.04l-0.82,2.5l0.0,1.13l0.76,0.84l0.89,0.12l1.87,-1.75l1.92,3.19l-0.51,1.13l0.86,3.58l-0.14,1.8l1.83,1.02l4.14,5.78l2.59,1.76l0.19,0.99l-0.67,1.45l-0.59,2.7l-0.94,1.85l0.75,1.03l-0.01,1.01l0.96,1.57l1.22,0.41l1.58,1.69l-3.62,3.17l0.06,1.16l1.86,1.29l-0.72,3.51l0.1,0.8l0.49,0.69l1.22,0.56l2.79,-0.26l1.58,1.74l1.69,2.52l0.03,0.64l-1.52,0.33l-1.82,-0.11l-0.93,-0.71l-1.48,-2.18l-4.35,-0.29l-1.49,-0.5l-3.2,0.35l-2.0,-1.63l-0.97,-0.01l-1.04,-0.74l-1.82,-0.16l-1.0,0.16l-1.58,1.0l-1.51,0.46l-4.45,2.55l-3.03,-0.02l-4.59,4.61l0.1,1.68l-1.55,0.35l-0.07,0.87l1.2,1.32l0.08,0.92l-0.09,0.37l-0.57,-0.32l-0.55,0.2l-1.49,3.28l0.05,1.22l0.89,0.92l0.27,1.62l0.79,1.6l-0.76,0.85l-0.03,0.51l0.97,1.5l1.17,0.3l-0.02,0.5l-4.31,2.33l-2.78,0.6l-0.54,1.0l-1.24,-0.9l-1.78,0.25l0.35,-0.76l-0.47,-0.5l-2.06,0.86l-0.62,-0.66l-1.76,-0.37l-1.86,-0.95l-0.96,0.35l-0.19,-0.67l-1.61,-1.27l-0.4,-0.67l0.53,-1.47l0.06,-1.86l-0.36,-1.18l-0.9,-1.08l-3.39,-1.8l-0.27,-0.87l-1.32,-0.83l-0.45,-1.35l-0.95,-1.09l-1.97,-0.09l-1.17,-1.21l-1.44,0.74l-4.03,-3.4l-0.52,-1.32l0.49,-1.87l-0.67,-0.63l0.08,-1.55l0.76,-1.11l-0.03,-0.41l-0.37,-0.37l-0.92,-0.05l-0.01,-0.8l-0.54,-0.83l-0.54,-0.15l-0.51,0.57l-0.55,-0.83l-1.05,0.02l-0.81,-0.71l-0.55,0.31l-2.49,-4.37l-1.8,0.74l-0.04,1.86l-0.67,0.19l-0.54,1.21l-0.85,-0.29l-1.23,0.33l-0.44,-0.26l-0.89,-1.09l-2.37,-7.15l-4.5,-8.19l0.07,-0.38l1.15,-0.14l0.15,-0.7l-2.74,-4.52l-5.6,-2.94l-3.59,-0.7Z", "name": "Himachal Pradesh"}, "IN-AS": {"path": "M663.07,316.48l0.01,-0.33l2.23,-0.81l0.27,-0.58l-0.2,-0.73l0.78,-0.56l0.58,-1.33l1.61,-0.9l-0.43,-0.98l0.82,-0.66l0.51,-3.03l0.94,-2.19l-0.3,-3.5l-0.71,-2.22l1.37,0.07l6.69,-1.16l1.04,-0.91l0.73,-1.87l0.84,-0.52l2.26,-0.19l1.89,-1.28l0.86,0.13l2.83,1.94l3.6,1.77l4.05,0.43l8.94,-0.5l1.75,-0.74l0.81,-0.01l3.25,0.08l2.45,0.93l1.24,-0.17l1.11,-0.58l1.4,-2.16l0.7,-0.32l1.42,0.14l0.88,1.73l0.8,0.57l2.17,-0.43l1.87,0.42l1.57,-0.18l3.68,-1.8l0.91,1.59l0.76,0.22l0.63,-0.55l-0.09,-1.07l0.42,-0.45l-0.02,-0.62l1.9,1.21l2.1,-0.24l1.36,-1.2l0.28,-0.99l3.65,0.29l3.76,-0.78l8.62,-2.47l2.73,-1.83l3.43,0.48l3.48,1.5l0.3,0.71l0.71,0.55l1.88,0.49l10.99,-1.18l1.14,0.32l1.27,0.98l0.87,0.01l1.48,-0.64l3.25,-0.5l1.99,-0.77l4.25,-3.13l0.32,-0.77l-0.24,-1.72l0.51,-0.89l4.15,-4.24l8.09,-6.65l0.47,-1.11l-1.32,-1.97l0.7,-0.82l1.01,1.03l2.02,0.77l3.03,-0.68l1.08,0.66l1.54,-0.32l4.22,-2.16l4.21,-1.1l4.59,-2.26l9.18,-3.21l1.71,-0.97l1.72,0.75l1.48,0.08l4.22,-1.06l4.0,-2.54l1.27,-0.38l7.37,-0.1l-2.08,3.62l-3.49,4.12l-0.39,1.22l0.72,3.03l2.67,2.25l0.25,1.82l-0.48,1.35l0.33,0.7l-0.05,1.3l0.79,0.26l1.3,-1.47l0.92,-0.12l0.74,0.97l-0.03,1.23l-1.02,0.66l-0.4,0.89l-1.02,0.43l-0.42,0.76l-0.96,-0.32l-2.26,0.04l-4.83,1.83l-2.47,-1.34l-1.74,0.34l-0.89,0.84l-0.76,2.13l-1.08,1.05l-2.06,0.87l-2.93,2.18l-2.33,0.23l-1.17,1.42l-3.92,2.33l-1.33,0.03l-1.25,-0.77l-0.62,0.03l-1.42,1.26l-2.28,3.32l-0.98,0.83l-2.89,1.8l-2.43,1.03l-1.31,-0.0l-0.86,0.71l-1.1,0.15l-1.9,2.12l-0.28,1.68l-0.66,0.97l-1.47,1.38l-0.68,0.17l-0.59,-1.92l-0.66,-0.39l-0.54,0.12l-2.29,2.96l-0.75,3.42l-2.08,1.89l-2.98,4.02l-0.17,3.6l-1.03,1.73l0.01,1.2l0.57,1.47l-1.16,1.72l-1.19,0.85l-3.43,0.81l1.09,-1.91l-0.08,-1.11l-0.43,-0.8l-1.57,-0.43l-2.36,1.15l-0.41,1.0l0.9,1.2l-3.78,3.26l-1.75,2.44l-5.74,4.65l0.02,1.06l1.74,2.27l1.43,1.25l0.42,1.24l-0.09,1.81l-1.83,2.72l-2.5,5.47l-0.88,0.27l-0.67,0.79l-0.14,1.08l0.51,1.11l-1.1,0.82l0.37,1.06l-1.35,2.11l-0.19,0.93l-1.4,-0.34l-0.76,0.41l-0.42,0.68l-0.98,3.15l0.15,0.92l0.37,0.32l-0.7,1.62l0.54,1.23l-1.03,0.63l-0.78,4.46l-0.49,0.04l-0.71,1.05l-1.92,-0.33l-2.5,0.78l-1.72,-3.21l-0.61,-0.53l-0.52,-0.02l-0.53,0.59l-1.18,3.26l-2.61,2.91l0.05,1.31l-0.98,0.5l-3.21,2.95l-0.74,-0.22l-0.53,-0.84l-0.23,-0.86l0.42,-1.1l-0.34,-0.48l-4.04,-0.06l-1.99,-0.48l0.99,-2.26l0.18,-1.77l-0.74,-1.72l-0.3,-1.98l-2.13,-1.46l0.78,-3.19l1.58,-4.31l0.04,-1.65l-0.52,-1.57l0.67,-0.52l0.99,0.32l2.9,1.82l3.14,-0.9l0.81,-1.3l-0.35,-1.35l-0.87,-0.64l-0.1,-0.43l-1.9,-1.24l3.56,-3.27l1.3,-0.42l0.35,-0.75l2.67,-0.27l0.89,-0.99l3.76,-1.27l0.46,-0.64l-0.78,-1.58l0.37,-1.38l-0.38,-1.05l-2.72,-2.53l-2.06,-0.78l-0.47,-0.7l-0.81,-0.43l1.34,-1.1l1.33,-1.73l0.23,-0.63l-0.27,-0.67l-1.06,-0.16l-1.61,0.87l-3.56,-3.68l-2.01,-1.75l-1.09,-0.46l-2.26,1.22l-2.7,0.45l-1.34,0.75l0.18,-1.73l-0.23,-1.9l1.48,-3.54l-0.29,-0.86l-0.88,-0.3l-0.05,-0.67l2.62,-2.44l0.29,-0.89l-0.27,-0.45l-3.49,-0.3l-3.33,1.02l-1.08,-0.05l-2.93,0.66l-0.79,-0.14l-2.03,-1.5l-0.88,0.03l-1.87,1.45l-1.06,2.67l-1.17,1.02l-0.79,-0.11l0.48,-1.79l-0.31,-1.05l-0.62,-0.43l-1.23,-0.02l-3.89,4.8l0.26,0.86l-1.79,0.13l-1.8,0.55l-1.04,0.78l-1.85,2.29l-1.11,0.57l-0.36,-0.65l-0.11,-3.58l-0.9,-0.34l-2.65,0.99l-0.98,-0.4l-0.72,0.37l0.17,-1.18l-0.25,-0.83l-1.14,-0.53l-0.7,-0.86l-3.36,-0.26l-1.72,0.28l-0.87,0.55l-0.12,-0.83l-0.79,-0.34l-3.3,0.94l-0.24,-0.8l-0.65,-0.4l-0.61,0.19l-1.3,1.31l0.29,-0.71l-0.11,-0.76l-1.17,-0.96l-1.09,-0.45l-2.78,-0.18l-0.9,0.14l-1.44,0.94l-5.77,0.82l-3.11,2.52l-1.92,2.43l-0.44,1.79l-0.72,1.25l0.16,2.24l1.61,1.92l-0.05,0.49l-0.77,0.48l-2.0,0.28l-0.42,0.72l-0.22,2.1l-1.52,0.65l0.59,-5.87l-1.02,-2.98l-0.55,-2.85l0.1,-0.67l1.34,-2.33l0.13,-0.78l-0.68,-0.66l0.5,-0.89l-0.56,-0.92l-0.84,0.15l-0.91,-1.29l-0.12,-1.51l-1.12,-2.31l-0.58,-0.37l-1.15,-0.04Z", "name": "Assam"}, "IN-UT": {"path": "M290.95,175.24l-0.31,-0.45l0.16,-0.23l3.37,-0.85l3.64,-1.92l0.42,-0.6l-0.06,-1.2l-1.32,-0.46l-0.68,-1.08l0.48,-0.37l0.27,-0.91l-0.22,-0.97l-0.63,-0.85l-0.26,-1.61l-0.89,-0.91l-0.01,-0.76l1.22,-2.78l0.89,0.28l0.59,-1.05l-0.14,-1.41l-1.18,-1.28l0.81,0.08l0.67,-0.49l0.3,-0.73l-0.32,-1.05l3.9,-4.07l0.54,-0.28l2.79,0.1l4.5,-2.57l3.73,-1.55l1.69,0.15l0.85,0.68l1.03,0.03l1.2,1.2l0.94,0.46l2.61,-0.37l2.11,0.53l4.18,0.25l1.13,1.91l1.22,0.95l3.16,0.05l1.25,-0.6l0.0,-1.27l-1.82,-2.75l-1.58,-1.74l0.87,-1.39l0.96,0.85l1.0,-0.03l1.1,-3.41l1.16,-0.22l2.08,1.39l0.62,1.44l1.05,0.36l-0.03,1.25l0.74,0.86l0.04,1.22l1.46,0.85l0.54,2.52l0.53,0.57l2.26,0.97l1.08,2.47l2.17,0.27l1.63,2.04l1.6,0.58l1.91,-0.81l3.23,-0.54l3.15,0.76l1.58,2.12l3.25,1.54l1.81,2.14l1.15,0.36l1.78,-0.62l0.99,1.35l0.94,0.56l-0.58,1.06l-0.99,0.19l-0.34,0.48l0.09,0.66l0.95,1.13l0.08,0.47l-0.68,1.46l0.45,0.55l2.1,-0.18l2.17,0.6l5.67,2.86l2.65,0.07l3.78,2.21l1.84,2.43l5.1,1.78l0.86,0.44l0.68,1.13l-2.12,0.8l-0.8,-0.96l-0.55,-0.09l-0.49,0.35l-1.01,1.05l0.22,1.15l-0.44,0.64l-2.27,1.77l-1.2,1.7l-2.2,1.62l-2.18,0.57l-0.85,1.97l-2.18,2.84l-0.56,0.44l-1.9,0.52l-0.92,0.77l-0.45,0.93l-0.04,1.03l0.96,3.25l-1.75,1.83l-0.16,1.01l-1.64,1.45l-0.25,0.68l-1.2,0.53l-0.28,0.84l1.3,3.62l0.76,0.26l-0.56,2.85l-0.47,-0.21l-0.86,0.34l-0.15,0.75l0.5,1.37l-0.14,0.51l-1.7,0.08l-1.15,0.63l-0.63,1.38l-0.35,2.99l-1.44,0.97l-0.65,1.28l0.08,2.75l1.04,0.9l-1.16,1.58l-1.43,0.55l-0.87,-0.37l-0.04,-1.04l-0.44,-0.24l-0.79,0.2l0.08,-0.94l-0.38,-0.4l-1.62,0.37l0.3,-1.52l-1.13,-0.87l-2.18,-0.29l-0.6,0.22l-0.26,0.74l-0.54,0.19l-1.94,-0.41l-1.16,0.47l-0.67,-0.89l-1.55,-0.1l-2.32,0.86l-0.71,-2.13l-1.46,-1.68l-2.4,-0.13l-3.8,-2.61l-0.66,-0.74l-0.55,-1.37l-2.39,-1.3l-0.84,-0.11l-3.42,1.35l-0.4,-1.87l-1.03,-1.41l-4.38,-2.28l0.11,-0.62l0.69,-0.26l1.19,0.27l0.76,-1.03l0.69,0.21l0.69,-0.27l1.77,-1.76l0.03,-1.29l-3.55,-1.07l-4.97,-2.81l-1.61,-1.38l-2.29,-3.67l-1.11,-1.1l-3.59,-1.79l-2.29,-3.9l-2.23,-2.17l-1.68,0.04l-0.85,1.12l0.16,1.82l1.13,4.27l-0.23,1.21l-0.92,0.93l-1.27,0.59l-0.53,-0.16l-3.81,-2.16l-3.95,2.04l-1.26,-2.37l-1.0,-3.95l-0.15,-3.69l1.35,-2.08l1.34,-3.04l3.16,-2.75l0.2,-1.02l-0.65,-0.63l-5.42,-2.71l-2.87,-2.4l-1.41,-0.26l-0.93,0.49Z", "name": "Uttaranchal"}, "IN-JH": {"path": "M485.62,401.35l-2.2,-0.83l-1.66,0.13l-0.64,-0.47l-0.92,-2.18l0.46,-1.96l-0.75,-2.15l-5.31,-5.13l-0.45,-1.24l-0.28,-2.67l-2.23,-1.57l-3.11,-0.55l0.74,-1.85l1.39,-1.87l0.17,-1.31l1.15,-1.83l-0.17,-0.87l-1.63,-2.76l0.11,-0.69l0.93,-0.61l2.97,-0.32l4.77,0.81l1.87,-0.08l1.71,-1.09l1.28,0.23l2.91,-0.51l1.72,-1.44l0.63,-1.37l1.28,2.2l0.99,2.58l0.91,0.66l0.71,-0.13l0.37,-0.54l0.48,0.46l0.71,-0.09l0.31,-0.39l0.0,-0.99l1.13,-0.14l0.85,0.26l0.77,-0.44l0.4,0.65l0.01,0.81l-0.37,0.6l0.15,0.73l1.64,1.83l3.74,2.84l1.49,-0.24l1.96,-2.6l1.54,0.48l0.78,-0.11l0.96,-1.83l3.19,-2.01l0.37,0.18l0.47,1.68l1.14,0.05l0.36,1.93l0.73,0.76l1.93,0.23l3.38,-1.36l-0.14,0.95l0.71,0.62l2.29,-1.85l0.34,-1.09l2.75,-1.0l0.7,-0.85l3.22,-0.65l2.72,-0.0l1.15,0.31l2.07,-1.87l1.74,0.23l0.61,-0.3l0.36,-0.71l0.0,-1.21l-0.39,-1.16l1.12,-0.67l0.91,-2.77l0.59,-0.38l2.49,-0.03l0.87,0.51l1.73,1.86l1.65,-0.22l1.97,-1.34l-0.19,1.0l1.95,0.69l0.56,2.96l0.66,1.0l1.38,0.68l1.57,-0.48l1.85,0.5l0.24,1.48l-0.96,1.25l0.15,0.88l5.46,3.3l0.78,-0.54l0.24,-1.39l0.74,-0.75l0.22,-2.08l2.61,-2.45l1.79,0.61l1.64,-0.17l0.97,-0.45l0.63,-0.86l1.69,1.09l2.36,0.74l0.49,-0.24l0.04,-1.06l0.79,-1.32l2.54,0.86l1.25,-0.22l0.91,-2.73l0.27,-2.7l-0.24,-0.98l1.59,-2.79l-0.02,-3.96l1.79,-2.25l0.83,-0.3l1.16,0.31l0.51,-0.24l1.12,-3.76l1.51,-0.38l1.41,0.51l0.77,-0.28l1.6,-3.24l1.37,-1.12l1.1,0.52l1.08,1.31l2.68,0.7l1.93,-0.1l0.67,0.49l0.1,0.59l-0.46,1.42l0.24,2.13l2.17,2.01l1.05,3.9l-0.72,3.72l-1.0,-0.18l-0.39,1.06l0.51,0.67l1.0,0.23l0.43,0.82l0.61,1.83l-0.66,0.58l-0.05,0.67l0.77,0.42l-1.14,0.75l-2.41,-0.72l-0.85,0.38l0.07,0.8l1.03,0.5l-0.1,1.01l0.4,0.96l-0.7,1.06l-0.04,1.52l-1.26,2.69l-3.44,2.56l0.02,1.36l0.28,0.36l0.67,-0.02l0.2,0.56l-1.83,0.11l-0.91,2.13l-1.27,-0.85l-1.16,0.28l-0.22,0.53l0.12,2.26l-0.83,0.87l-1.67,-0.16l-1.77,0.66l-0.38,-1.37l-0.75,-0.37l-2.33,0.63l-0.38,0.95l1.58,2.04l0.13,0.85l-0.99,0.74l-0.22,1.61l-0.67,-0.67l-1.24,-0.31l-1.18,0.26l-0.11,0.83l0.9,1.18l-0.74,0.16l-1.48,-0.36l-1.99,-1.45l-1.11,-0.15l-2.74,-1.55l-0.75,0.01l-2.05,2.64l-0.2,0.99l0.37,1.17l-0.54,1.3l-4.61,0.89l-7.31,2.64l-2.04,1.68l-0.42,2.01l-1.8,1.61l-1.1,0.29l-1.25,-0.91l-1.7,-0.6l0.37,-1.76l-0.17,-0.83l-3.17,-1.24l-0.91,0.23l-0.6,0.76l0.27,2.08l-4.66,0.65l-1.05,0.72l-0.09,0.97l0.72,1.07l1.45,0.25l-0.37,1.69l-1.12,1.59l-0.47,1.62l0.4,0.99l0.91,0.9l0.58,1.59l0.42,0.13l1.6,-0.54l1.56,0.43l4.28,4.41l1.21,0.8l2.64,-0.43l6.48,0.73l-1.12,0.37l-1.06,1.04l-0.38,5.19l1.78,1.49l1.55,0.14l2.47,1.85l0.25,1.52l0.66,1.08l0.97,0.46l1.88,0.17l1.02,0.78l0.5,1.15l-1.24,0.06l-0.21,0.5l0.21,1.04l2.24,1.83l0.38,2.09l1.43,1.35l-2.14,0.24l-0.34,0.37l-0.06,1.01l-0.83,-0.19l-1.36,0.84l-5.58,-3.66l-3.08,0.44l-0.93,-0.27l-2.33,-2.54l-5.72,-2.93l-1.38,-1.66l-0.96,-0.22l-0.63,0.3l-0.7,0.93l-1.56,0.42l-0.49,0.53l0.14,1.26l1.25,1.79l0.31,2.33l-0.08,0.94l-0.78,1.36l0.01,0.75l0.7,1.68l-0.43,2.63l-1.68,2.46l-1.06,0.74l-1.12,0.27l-1.32,-0.84l-0.04,-1.41l0.7,-1.51l-0.5,-0.78l-3.63,1.66l-3.84,-0.98l-3.16,-1.78l-1.39,-0.0l-2.85,1.24l-2.91,3.01l-0.82,-0.88l-2.85,-1.79l-1.6,-0.26l-1.46,0.46l1.5,-2.94l1.65,-2.4l0.39,-1.42l-0.54,-3.97l-0.68,-1.83l-0.62,-0.17l-2.32,1.61l-1.27,0.2l-0.95,0.73l-3.4,-0.9l-1.07,0.16l-1.02,0.58l-6.68,0.19l-0.58,0.37l-0.42,1.49l-2.34,1.14l-2.91,0.15l-2.41,-1.06l-1.51,-0.19l-0.86,-0.65l-2.56,-3.71l-2.65,-1.24l0.21,-0.7l2.1,-1.9l1.68,-0.16l2.55,-1.92l1.17,-2.68l0.95,-0.49l2.7,-2.47l0.21,-1.44l-0.78,-2.37l-1.27,-0.8l-2.38,0.04l-2.05,-0.95l-0.44,0.2l-0.1,0.88l-0.34,-0.13l-0.73,-2.68l-1.84,-1.99l-0.24,-1.17l0.56,-3.95l-0.52,-2.22l-1.03,-0.81l-1.27,0.92l-0.09,-0.36l0.24,-2.83l1.54,-1.82l0.43,-1.07l-0.96,-2.79l-0.87,-0.33l-1.62,0.72l-0.34,0.71l0.12,1.14Z", "name": "Jharkhand"}, "IN-JK": {"path": "M176.08,35.04l2.37,-2.36l-0.15,-2.71l0.72,-0.56l5.27,-0.96l3.12,-1.98l1.87,-0.7l1.84,-0.15l1.87,0.3l7.81,2.66l10.87,2.04l5.97,-0.52l1.57,1.55l2.54,1.46l8.19,2.07l5.87,-0.33l2.57,-2.29l3.11,-1.82l1.42,-1.8l0.86,-0.17l1.84,0.74l1.27,-0.01l3.39,-0.84l5.27,-2.66l0.99,0.15l1.97,1.12l3.39,-0.56l3.4,-2.92l0.32,-0.85l0.08,-2.41l0.59,-0.43l1.96,-0.39l1.61,0.69l0.77,0.01l2.91,-2.36l0.56,-0.77l0.2,-1.26l-0.34,-1.59l0.44,-0.53l22.94,-13.34l0.94,1.29l1.66,0.81l1.15,-0.36l2.19,-1.83l1.4,0.07l0.25,0.97l-1.39,3.65l-0.24,2.94l1.11,2.66l2.85,4.79l0.56,3.9l0.5,1.32l1.45,1.99l1.9,6.57l0.74,1.28l1.29,1.15l1.47,0.62l7.06,1.14l1.68,0.66l2.57,1.86l1.66,2.01l3.68,1.47l0.79,0.71l0.72,1.3l0.34,1.43l-0.32,1.36l-2.12,1.93l-2.99,1.23l-2.52,1.81l-0.26,3.11l1.51,4.2l0.72,4.34l-0.37,6.71l0.6,2.02l0.76,1.24l2.91,2.63l1.83,2.73l2.61,1.09l0.44,1.63l0.42,0.49l2.17,-0.32l3.4,1.53l2.5,0.11l0.76,0.38l0.07,0.93l-1.15,2.16l-0.31,3.79l0.76,1.2l1.74,1.47l1.04,2.98l1.58,1.74l-0.13,2.04l-1.78,2.45l-2.99,2.26l-1.28,1.37l-2.29,-0.49l-2.63,0.8l-0.83,0.67l-1.0,3.25l-1.34,-0.22l-2.55,1.01l-0.76,-0.22l-4.17,-3.55l-0.99,-2.71l0.36,-2.45l-0.62,-0.72l-0.73,-0.26l-0.88,0.28l-1.95,1.75l-6.89,0.7l-0.72,0.37l-0.3,0.78l-1.91,1.79l-0.48,-0.21l-0.24,-0.53l0.84,-2.71l2.04,-1.64l0.41,-0.81l0.1,-2.61l-0.35,-1.18l-0.52,-0.44l-1.59,0.09l-0.31,0.35l-0.01,0.78l-1.28,0.59l-0.52,0.64l-1.76,0.13l-2.36,0.83l-1.87,1.76l-1.16,0.19l-1.94,-2.71l-0.28,-2.27l-1.13,-1.48l-1.11,-2.41l-4.43,-4.94l-0.7,-0.03l-1.02,0.5l-3.7,2.62l-4.93,1.16l-0.67,0.74l-0.48,-0.0l-6.46,-2.01l-1.4,-0.78l-4.53,-2.86l-5.76,-5.55l-4.11,0.12l-1.88,-1.36l-0.71,-0.13l-1.11,0.56l-3.58,0.69l-3.2,1.74l-0.74,0.87l-0.39,1.36l-0.68,0.71l-4.17,1.72l-4.44,3.8l-1.01,-0.85l-1.7,-0.58l-1.74,0.49l-0.44,0.98l0.29,1.07l3.0,3.83l-0.27,2.22l0.73,1.87l-0.04,0.89l-1.7,1.9l-0.05,0.61l-0.99,1.43l-2.76,1.28l-0.43,1.18l-0.85,0.7l-2.45,0.3l-1.37,0.77l-2.13,2.4l-1.29,-0.76l0.03,-0.69l-0.42,-0.49l-1.71,0.82l-2.67,0.07l-3.04,-2.13l-2.21,-0.52l-3.16,-1.86l-3.66,0.69l-2.22,-1.01l-3.41,0.48l-0.92,-0.3l-0.7,-0.79l-0.95,-2.82l0.8,-1.82l-0.19,-2.8l1.2,-2.89l-0.26,-1.2l-0.74,-0.4l-0.76,0.21l-0.63,0.65l-0.62,1.67l-1.02,0.49l-2.05,0.22l-2.05,-1.37l-2.17,0.76l-0.5,-0.09l-0.91,-1.05l0.73,-1.21l0.13,-0.85l-0.81,-4.48l-1.14,-0.74l-2.8,-0.45l-1.0,-0.55l-1.7,-2.2l-2.9,-2.45l-0.36,-0.9l0.31,-1.78l2.08,-1.05l0.87,-1.05l1.26,-3.13l0.67,-2.87l-0.65,-2.12l-5.01,-3.36l-0.4,-1.27l0.28,-1.74l1.77,-2.59l3.3,-0.55l2.28,-1.26l1.59,-1.84l0.35,-1.48l-0.54,-1.32l-1.2,-0.71l-3.32,0.36l-2.29,-0.58l-2.14,0.5l-0.78,-0.15l-1.4,-1.35l-0.24,-0.86l0.22,-0.85l3.05,-2.05l0.2,-1.12l-1.36,-3.16l-0.58,-0.7l-2.81,-0.24l-1.92,-1.19l-0.07,-1.35l1.86,-1.69l0.23,-1.76Z", "name": "Jammu and Kashmir"}, "IN-UP": {"path": "M275.34,205.39l0.08,-0.87l-0.4,-0.81l0.98,-0.64l0.26,-0.62l-0.39,-1.02l0.09,-1.08l0.63,-0.63l-0.03,-0.78l0.85,-0.74l-0.12,-1.31l0.85,-0.26l0.57,-1.11l1.48,-5.73l1.43,-1.37l0.17,-0.58l0.94,-0.1l0.3,-0.86l2.37,-1.61l0.44,-1.41l4.79,-4.24l0.56,-1.76l0.08,-1.88l0.69,-0.43l1.01,0.2l2.73,2.32l5.75,3.03l-3.25,2.91l-1.42,3.18l-1.4,2.22l0.14,4.1l1.02,4.01l1.5,2.84l0.53,0.17l3.93,-2.12l4.27,2.33l1.87,-0.79l1.16,-1.27l0.27,-1.53l-1.31,-5.86l0.44,-0.6l0.93,-0.03l1.97,1.95l2.37,3.99l3.63,1.83l1.01,1.0l2.3,3.68l1.72,1.49l5.15,2.91l3.22,0.87l-0.29,0.67l-1.36,1.2l-1.25,-0.03l-0.74,1.01l-0.97,-0.35l-0.89,0.33l-0.75,1.13l0.36,0.82l4.44,2.28l0.82,1.11l0.45,2.3l0.61,0.28l1.07,-0.68l2.94,-0.83l2.2,1.17l0.37,1.16l0.83,0.95l3.93,2.71l1.56,0.36l0.81,-0.24l1.2,1.39l0.83,2.42l0.51,0.21l2.48,-0.94l0.99,-0.02l0.51,0.84l0.69,0.17l1.07,-0.46l2.12,0.39l0.81,-0.28l0.49,-0.86l1.92,0.26l0.58,0.43l-0.37,1.25l0.26,0.54l0.61,0.21l1.18,-0.4l0.11,1.23l0.97,0.05l0.34,0.98l1.38,0.56l1.93,-0.72l0.97,-1.03l0.5,-1.07l2.2,2.05l1.78,0.44l1.1,1.2l1.02,0.42l1.36,2.19l0.82,0.27l1.64,-0.21l2.4,2.1l0.56,-0.22l0.15,-0.44l-0.17,-2.69l0.63,-0.53l0.74,0.02l0.4,1.04l2.24,0.66l1.17,1.65l1.64,0.62l1.64,1.48l0.65,0.35l2.05,0.21l0.35,1.28l0.73,0.61l1.33,0.34l1.04,-0.11l0.72,1.29l5.03,1.12l0.53,0.65l1.04,2.88l2.01,2.4l-0.35,0.91l0.75,0.97l1.19,0.06l0.59,-0.34l0.52,-0.97l0.76,0.17l1.08,0.92l0.65,1.65l0.59,0.53l2.77,1.38l1.6,1.47l2.32,0.63l1.89,1.78l3.25,1.95l1.27,0.05l1.97,-1.88l0.73,-0.31l1.44,0.14l0.64,0.2l1.19,1.09l1.86,0.8l3.63,2.88l2.4,1.17l1.78,1.68l1.35,0.37l2.68,-0.3l3.76,-0.93l0.61,0.23l0.78,1.86l0.64,3.77l1.05,1.07l3.78,0.24l2.16,1.0l1.95,0.46l3.79,-0.02l1.0,0.38l1.46,1.18l1.22,1.83l0.87,0.34l1.01,-0.06l1.26,-0.95l0.95,-1.56l-0.43,-1.73l0.64,-0.32l6.11,0.45l7.74,3.44l-0.08,0.57l0.44,0.31l0.89,-0.1l-0.14,1.46l1.68,1.8l-0.02,2.27l2.55,3.19l0.12,2.0l1.36,2.56l2.76,1.74l1.3,-0.6l0.85,0.05l0.44,0.97l-0.19,2.57l0.25,0.77l1.93,0.52l2.54,2.63l-8.75,-0.21l-0.69,0.64l-0.89,2.26l-1.87,0.57l-0.58,0.71l-0.53,-0.86l-1.04,0.3l-0.27,2.29l0.45,0.95l1.56,0.43l1.39,-0.63l2.0,1.49l2.85,0.74l-0.75,1.75l0.72,1.59l-1.71,-0.01l-0.98,0.62l-2.56,0.37l-0.78,0.73l-0.02,1.17l1.57,1.59l0.8,1.89l2.75,1.4l0.66,1.24l1.01,0.41l0.56,1.63l1.2,1.16l0.84,0.22l2.77,-0.43l1.0,1.36l1.44,0.91l2.29,0.25l2.18,1.96l0.09,0.43l-0.43,1.02l-1.48,1.05l-1.13,0.16l-1.72,-0.61l-1.57,-1.34l-1.31,-0.02l-1.48,0.93l0.37,2.52l-1.19,0.43l-1.3,-0.47l-0.42,-2.32l-1.02,-0.59l-1.43,0.28l-2.76,2.12l-1.74,2.2l-3.5,2.93l-2.15,0.89l-1.31,1.48l-12.02,6.86l-1.28,1.31l-0.44,1.05l-0.35,3.14l0.15,0.85l1.12,1.85l-0.29,4.03l2.54,2.96l2.69,1.36l0.21,1.11l-0.62,1.25l0.43,1.32l-0.04,2.89l-2.45,0.3l-1.39,1.1l-0.01,1.49l1.65,3.07l-0.95,1.29l-0.26,1.5l-1.39,1.86l-1.72,4.05l-1.53,1.2l-0.32,1.67l-0.84,1.34l-3.39,1.26l-4.96,-0.24l-1.19,-0.65l-1.66,-1.53l-1.22,-0.35l-0.94,-1.34l-0.99,-0.75l0.07,-1.48l-1.86,-1.99l0.85,-0.12l0.85,-0.74l0.33,-2.2l0.73,-1.76l-0.05,-2.43l-0.94,-0.86l0.33,-2.55l-0.28,-1.36l0.21,-0.26l0.93,0.28l0.92,-0.26l0.51,-1.09l-1.52,-2.87l-1.63,-0.31l-0.22,-1.37l-0.98,-0.12l-2.9,1.04l-1.34,-0.13l-2.9,-0.97l-1.02,0.1l-0.38,0.54l0.07,1.74l-0.34,0.46l-2.48,0.03l0.46,-0.94l-0.09,-0.81l-0.63,-0.61l-1.13,-0.04l0.05,-2.17l-0.46,-0.58l-0.5,0.11l-0.69,1.01l-0.23,-0.11l0.34,-1.13l-0.43,-1.53l-0.75,-0.06l-2.07,1.15l-2.62,-1.65l-2.34,-0.36l-2.44,-1.83l0.1,-1.46l-1.19,-1.84l-1.25,-0.33l-1.65,0.49l-0.55,-0.18l-0.66,-1.21l-3.93,-0.58l0.12,-0.94l-1.36,-2.79l-0.44,-0.15l-3.52,1.18l-0.04,0.71l1.17,0.85l-1.17,0.38l-1.22,-0.17l0.17,-0.95l-0.6,-0.6l-1.6,-0.5l-2.36,0.14l-0.44,0.65l0.07,2.14l-1.89,2.61l0.26,1.6l-1.41,0.32l-0.94,1.06l-2.61,-1.77l-1.96,0.4l-1.39,-1.0l-2.12,0.47l-1.76,-0.18l0.84,-1.31l0.15,-0.88l0.88,-0.9l0.2,-1.29l0.88,-2.03l-0.08,-0.99l-0.92,-0.55l-1.39,0.37l-0.83,1.53l-3.3,0.4l-0.04,0.77l1.71,1.4l-2.08,0.3l-0.9,-0.82l-0.8,-1.5l-0.89,-0.3l-0.66,0.44l0.01,1.06l-2.31,-0.37l-0.6,0.3l0.4,1.75l1.24,0.71l-0.82,0.53l-0.4,0.04l-1.56,-1.55l-0.56,0.43l0.22,1.27l-1.38,-0.38l-1.63,0.37l-0.51,-0.7l-0.17,-0.93l1.06,-0.2l1.53,-1.78l2.0,-1.08l0.21,-0.73l-0.78,-2.05l-0.88,-0.18l-0.5,-0.7l-0.94,-0.49l-0.28,-2.59l-0.93,-1.59l-0.79,-0.28l-1.27,0.27l-0.88,-0.25l-2.49,2.19l-1.13,-0.36l-2.27,1.05l-3.01,2.29l-2.37,0.66l-0.35,0.48l0.02,0.73l1.03,1.63l-1.68,0.65l-0.98,-0.78l-3.65,0.23l-3.08,-0.97l-0.92,0.48l-1.43,1.94l-0.32,-0.02l-0.21,-0.76l-0.47,-0.4l-1.47,0.02l-0.45,0.65l0.08,1.56l-0.7,0.07l-0.49,-0.55l0.21,-1.36l0.89,-0.87l1.71,-2.67l0.6,-1.48l-0.19,-0.47l-0.47,-0.14l-1.16,0.86l-0.87,-0.19l-0.77,0.28l-0.81,0.96l-0.37,-0.96l1.04,-2.22l-0.64,-0.78l-0.75,0.11l-1.26,2.01l-0.04,1.23l0.78,3.19l-3.22,-0.57l-1.29,1.21l-0.23,-1.37l-0.3,-0.28l-0.87,-0.01l-1.75,0.66l-0.09,-0.73l1.1,-1.71l-0.97,-0.87l-0.86,-0.22l-0.71,0.35l-0.16,1.32l-1.22,0.43l-1.02,1.15l-0.59,0.21l-0.12,-0.99l0.32,-0.89l1.91,-1.82l-0.03,-1.44l0.63,-1.25l0.16,-1.42l-0.55,-0.91l-1.06,0.13l0.35,-1.08l-0.08,-1.1l-0.23,-0.57l-0.88,-0.52l-0.72,0.25l-0.62,0.73l-0.32,0.9l0.03,1.77l-0.3,0.25l-0.55,-0.02l-0.1,-2.28l-0.54,-0.97l-0.57,-0.09l-1.75,1.02l-0.19,1.54l0.75,0.94l-0.52,0.98l0.19,1.26l-2.07,-2.02l-1.41,-0.23l-1.13,0.35l-0.36,0.65l0.12,0.74l-1.48,1.74l-0.57,1.6l0.32,0.71l1.59,1.5l1.08,2.41l1.2,6.41l2.31,3.04l0.36,3.85l-0.65,1.88l0.4,1.02l1.03,0.66l2.06,-0.54l1.03,0.19l1.85,3.2l-0.17,1.52l0.39,0.4l1.51,0.37l-0.16,1.09l-0.47,0.87l-1.67,1.57l-1.07,2.4l-1.57,1.53l-0.99,-0.36l-0.45,-1.43l-2.96,-0.6l-3.64,-3.03l-1.66,-0.82l-1.14,0.44l-0.61,1.98l-0.56,0.69l-0.97,0.47l-0.88,-0.44l-0.41,-0.83l0.63,-1.22l-0.08,-0.85l-2.21,-1.45l-0.19,-0.65l-0.85,-0.52l-0.49,-0.89l1.35,-2.51l0.03,-0.97l-0.38,-0.52l0.07,-1.6l-0.96,-1.46l-0.21,-2.0l-0.83,-1.48l-0.83,-0.73l0.24,-0.53l2.34,-1.55l2.17,-2.14l0.53,-1.55l-0.31,-1.12l1.1,-3.45l-0.18,-1.0l-1.96,-3.91l-1.39,-2.03l2.35,-2.06l0.58,-0.87l0.55,-1.89l3.26,-0.78l2.42,0.06l1.81,-1.06l2.97,-0.59l1.28,-0.74l0.27,-0.98l-0.81,-2.2l0.14,-1.22l0.38,-0.7l1.92,-1.49l0.81,-2.07l1.37,-1.68l1.06,-2.84l1.2,-1.91l-0.03,-0.77l-0.96,-0.97l0.0,-0.62l1.1,-0.89l-0.56,-1.88l0.59,-0.57l1.79,-0.57l1.29,-1.72l0.13,-0.63l-0.6,-0.73l0.33,-1.15l-0.1,-1.04l-0.67,-1.92l-2.1,-3.28l-0.72,-3.17l-0.59,-0.68l-1.97,0.16l-2.0,-1.93l-0.9,-0.14l-0.36,-0.7l-0.99,0.05l-0.56,-0.52l-1.79,0.76l-1.18,-0.01l-0.74,0.63l-0.64,-0.02l-1.43,-0.82l-1.72,-0.3l-1.05,-1.0l-1.16,-0.1l-0.54,-0.83l-0.76,-0.27l-2.23,0.18l-0.93,1.15l-1.2,-0.18l-0.62,-0.89l0.78,-0.3l1.09,-1.02l0.27,-0.71l-0.74,-0.73l-1.94,-0.48l-2.22,0.1l-1.26,1.15l-1.17,0.12l-0.39,0.59l-0.88,-0.48l-2.81,-0.37l-1.09,0.33l-0.92,-0.47l-3.28,-0.47l-2.51,1.71l-3.97,1.63l-1.26,-0.07l-0.91,1.46l-0.86,0.49l0.13,-2.17l0.57,-0.69l6.23,-2.89l2.25,-0.54l0.72,-0.58l0.09,-0.67l-0.84,-0.74l-0.84,0.58l-0.62,-1.04l-0.47,-0.22l-0.8,0.55l-1.65,-0.21l-0.65,-1.0l-0.85,-0.27l0.11,-0.38l2.42,-0.72l0.53,-1.05l1.15,-0.65l0.56,-1.2l-1.43,-2.52l-0.3,-1.75l-1.54,-0.43l-3.64,-2.12l-0.61,-1.8l-2.26,-2.94l0.03,-1.53l-0.68,-0.68l0.5,-0.81l-0.04,-0.86l-0.47,-1.19l-0.72,-0.53l-0.37,-2.72l0.75,-0.66l2.6,-0.95l0.83,-0.85l0.99,0.2l0.51,-0.21l1.14,-1.79l0.79,-0.67l-0.81,-2.35l-1.02,-0.86l0.1,-1.29l0.34,0.21l0.6,-0.43l-0.26,-1.77l1.08,-0.7l0.18,-0.62l-0.76,-0.58l0.74,-1.51l-1.42,-0.68l-0.05,-0.97l-0.62,-0.65l0.87,-2.29l-0.41,-0.56l-0.44,0.04l-0.11,-1.16l-0.36,-0.26l-0.88,0.17l-0.49,-1.15l-0.94,0.01l-0.29,-0.67l-1.11,-0.66l-1.05,-1.92l1.12,-1.48l-0.06,-1.04l-0.85,-2.6l-2.48,-2.18l-0.53,-1.11l0.23,-0.83l-0.41,-0.93l0.54,-1.42l-1.35,-1.66l0.54,-1.2l-1.8,-3.7l-0.14,-5.52l0.56,-1.3l-0.47,-0.92l-0.03,-0.89l0.47,-1.5l-0.93,-0.73l-1.3,0.03l1.29,-1.31l-0.05,-0.56l-0.46,-0.39l-0.95,-0.01Z", "name": "Uttar Pradesh"}, "IN-SK": {"path": "M624.09,256.17l1.74,-1.11l1.5,0.04l2.71,-2.5l1.43,1.15l2.65,0.52l2.31,1.81l-0.23,2.08l1.28,1.8l0.06,0.92l-1.46,6.18l-1.76,3.15l-0.24,1.13l0.49,0.78l-0.09,1.51l0.63,1.96l3.56,3.09l-0.14,0.55l-0.53,0.4l-1.78,0.44l-1.01,0.67l-1.42,2.94l-1.56,-0.85l-4.67,-0.11l-3.06,2.58l-1.78,0.44l-3.84,-1.72l-3.55,-0.05l-0.65,-0.3l-0.58,-1.87l-1.79,-1.32l0.79,-2.13l-0.61,-1.91l0.81,-1.92l-0.56,-1.88l2.65,-4.71l1.54,-4.54l-0.12,-1.42l0.29,-1.16l-0.51,-0.51l-1.07,-0.3l-0.48,-1.12l0.06,-0.62l0.47,-0.48l1.19,0.1l6.6,-1.18l0.74,-0.55Z", "name": "Sikkim"}, "IN-MZ": {"path": "M743.96,392.77l0.71,0.19l0.37,-0.45l-0.14,-2.85l0.55,-1.85l-0.42,-1.43l0.33,-2.14l-0.11,-2.89l-0.65,-1.18l2.99,-0.03l-0.38,1.02l0.75,1.88l1.11,0.72l1.07,-0.2l3.08,-2.92l1.24,-0.79l-0.05,-1.35l2.53,-2.77l1.3,-3.49l2.32,3.71l1.02,0.04l1.89,-0.78l1.44,0.32l0.94,-0.24l0.11,0.82l0.68,0.79l-0.94,1.59l0.08,1.22l-0.6,3.47l-0.55,0.59l0.12,0.67l2.91,1.14l1.2,0.91l1.31,-0.55l0.72,0.69l0.62,0.01l1.32,-0.83l0.11,1.34l0.61,0.24l0.97,-0.45l0.25,1.53l1.46,2.27l0.56,5.39l1.62,1.71l0.15,1.2l-0.99,6.3l0.22,3.39l-0.91,1.69l-0.09,5.36l-1.22,2.4l-1.63,1.33l-0.58,0.03l-1.4,-1.49l-0.78,-0.25l-0.99,0.29l-0.58,0.74l0.04,2.05l0.88,1.94l0.12,0.97l-1.74,2.48l-1.23,1.16l-0.27,2.69l1.21,3.12l-0.33,2.8l0.6,1.65l1.1,1.18l0.34,1.19l0.24,3.97l-1.47,0.77l-0.09,0.62l0.38,0.78l-2.29,-0.79l-1.1,0.42l-0.08,2.78l-1.0,0.47l-0.71,1.34l0.31,2.1l-0.63,-0.79l-0.82,-0.32l-0.71,0.4l-0.47,1.47l-0.37,-1.67l-0.66,-0.91l-2.03,-1.9l-1.96,-1.42l-0.88,-0.27l-0.8,0.54l0.01,1.48l-0.37,0.18l-0.18,0.63l-0.08,1.63l-0.92,0.25l-0.78,0.79l-1.04,-4.15l0.88,-0.24l0.27,-1.25l-1.83,-11.1l-0.51,-1.55l-0.17,-4.45l-0.52,-1.11l-1.15,-1.14l-0.55,-3.59l-0.61,-0.67l-0.91,-0.36l-0.68,-1.66l0.02,-2.29l-0.78,-4.56l0.13,-1.61l0.79,-1.88l-0.27,-2.46l-0.7,-0.81l-0.08,-0.97l-0.71,-0.88l-1.55,-6.66l0.55,-2.59l-0.21,-1.75l0.23,-1.48l0.46,-0.67Z", "name": "Mizoram"}, "IN-CT": {"path": "M376.2,561.12l-0.76,-1.04l-0.54,-2.04l-1.09,-0.57l-0.15,-0.57l0.27,-0.65l2.07,-1.28l0.36,-0.85l-0.24,-0.79l-1.82,-2.18l-0.32,-1.59l0.51,-1.14l2.36,-3.16l1.16,-4.17l1.21,-0.64l1.08,-1.84l1.03,-0.48l0.89,-1.14l0.61,-0.26l1.07,2.14l2.07,0.07l0.93,1.63l0.73,0.22l1.24,-1.17l2.22,-1.2l0.11,-0.81l-0.84,-1.42l2.23,-0.73l0.65,-1.58l-0.64,-1.49l-1.37,-1.28l-4.18,-1.73l-0.94,-2.81l-2.92,-1.34l-1.24,-2.7l-0.75,-0.22l-0.84,0.27l-0.46,0.55l-0.09,0.78l-1.61,-0.42l1.75,-0.9l0.59,-1.0l-0.24,-0.9l-1.6,-0.51l0.5,-0.9l1.91,0.56l0.81,-0.33l0.83,-4.19l-1.06,-3.19l-3.34,-0.41l0.3,-2.29l0.6,-0.47l2.53,-0.4l2.93,-1.99l0.18,-0.75l-0.42,-1.42l0.05,-2.41l0.61,-1.47l-0.41,-1.1l-0.13,-2.2l-1.6,-0.59l-2.16,0.82l0.34,-0.93l1.82,-1.1l0.25,-1.05l-0.49,-2.64l-0.19,-4.61l-0.89,-0.79l-1.73,0.09l-0.93,-1.74l0.73,-4.2l0.63,-0.84l4.35,-2.42l1.73,-2.04l0.06,-1.69l1.3,-3.97l-0.11,-3.65l0.64,-4.84l1.91,-0.95l0.61,-1.04l0.55,-1.62l-0.09,-3.28l2.01,-4.15l0.85,-0.2l1.2,1.46l0.55,-0.07l0.46,-0.5l0.09,-0.85l-0.42,-0.87l0.8,-0.52l0.42,-2.56l1.99,-1.5l0.72,-1.23l0.16,-3.55l1.21,-1.92l0.5,-0.43l0.46,0.94l1.05,0.27l3.57,-1.69l1.2,1.52l0.79,0.43l1.06,-0.45l2.76,-2.24l3.2,-1.03l0.92,-1.95l2.97,-1.77l-0.02,-1.86l0.73,-1.05l-0.19,-2.83l0.19,-0.37l2.32,-0.91l2.35,-2.12l0.23,-0.95l-0.31,-1.56l0.29,-0.66l3.67,-1.75l1.99,-0.03l0.88,-1.76l1.03,-4.6l-0.16,-1.02l-2.37,-2.04l-2.34,0.08l-0.36,-0.7l-0.98,-0.37l-2.06,-3.14l-0.79,-0.36l-1.44,-0.08l-3.16,-1.17l-0.65,0.1l-2.65,1.78l-0.44,0.01l-0.97,-2.0l0.65,-0.89l0.15,-1.17l1.07,-0.61l1.02,-1.6l-0.17,-1.22l-1.75,-3.33l0.06,-1.2l1.2,-0.2l1.84,1.89l1.03,0.75l1.08,0.3l1.09,-0.04l3.01,-1.44l1.96,0.13l2.28,1.14l3.87,0.03l1.87,0.48l8.34,0.33l1.27,-0.98l2.41,-1.15l0.77,-1.85l3.07,-1.14l0.59,-0.82l0.3,-1.29l0.83,0.21l1.66,1.52l1.43,0.77l5.35,0.26l3.78,-1.46l1.03,-1.62l0.25,-1.54l1.45,-1.09l0.74,-1.65l3.19,0.58l1.86,1.28l0.24,2.82l0.99,1.75l4.75,4.36l0.66,1.82l-0.44,2.11l1.35,2.8l1.06,0.48l1.68,-0.12l2.34,0.83l0.55,-0.55l-0.05,-1.51l1.36,-0.48l0.76,2.35l-1.89,2.51l-0.29,3.17l0.54,1.11l0.6,0.01l0.99,-0.91l0.48,0.7l0.3,1.5l-0.56,4.03l0.33,1.47l1.84,1.98l0.9,2.89l1.12,0.31l0.52,-0.4l0.04,-0.52l1.65,0.8l2.21,-0.09l0.9,0.49l0.71,2.65l-0.72,0.97l-2.99,2.18l-1.13,2.64l-2.36,1.79l-1.78,0.21l-2.14,1.78l-0.72,2.26l0.72,1.48l0.15,1.18l-1.13,1.76l-3.47,0.93l-3.65,3.0l-3.05,1.37l-2.17,2.82l-0.35,1.32l0.73,1.02l-1.48,0.97l-0.33,1.95l0.41,0.86l1.39,0.93l-0.35,1.31l0.13,0.75l-0.12,0.3l-0.98,0.13l-0.29,0.89l-1.06,-0.2l-0.46,0.37l-0.32,1.8l-3.28,5.47l-0.78,2.64l0.11,1.7l1.58,1.75l0.07,1.4l-2.14,-0.68l-0.99,0.11l-0.68,0.98l-0.1,1.33l-0.9,1.29l-0.91,2.51l-1.44,1.46l-2.01,0.14l-3.31,-2.01l-4.53,0.66l-0.98,0.41l-1.12,-0.49l-3.11,0.28l-0.56,0.45l-0.04,1.31l-2.46,4.73l-1.43,0.95l-1.59,2.2l-1.09,0.56l0.01,-0.76l-0.55,-0.52l-1.36,-0.25l-0.68,0.54l-0.09,4.18l0.72,2.52l-0.83,4.18l0.61,1.45l0.67,0.17l0.4,1.27l0.79,0.22l-0.29,3.71l0.48,1.12l0.27,3.76l-0.69,2.58l0.08,0.98l2.58,1.62l2.3,0.07l1.42,1.1l1.33,-0.5l1.05,0.06l-0.41,3.09l0.82,1.35l-3.43,2.25l0.01,-2.29l-1.81,-0.32l-1.56,-0.7l-3.66,-0.37l-0.86,0.54l-0.78,1.34l-2.46,-4.66l-0.59,-0.31l-1.08,0.07l-0.43,-0.79l-2.26,-1.77l-0.81,0.21l-0.92,1.26l-0.28,-0.91l-2.18,-2.08l-0.5,0.09l-1.32,1.38l-0.97,0.56l-1.53,2.64l-0.2,1.29l0.69,1.16l3.02,1.8l0.98,1.71l2.17,0.75l-0.29,2.12l0.41,1.88l-0.25,4.24l0.5,0.47l0.99,0.22l0.95,1.7l1.38,0.51l0.36,0.45l-0.98,1.25l0.11,0.61l0.97,0.86l-0.71,1.75l-0.07,1.21l0.69,1.82l-0.2,1.59l1.06,0.93l0.17,1.09l0.72,1.28l0.08,2.46l-1.85,1.77l-0.79,3.73l-0.61,-0.56l-0.52,-0.03l-0.99,1.69l-2.34,0.54l-1.59,1.62l-1.01,0.36l-0.27,0.97l1.23,1.04l0.02,0.59l-1.55,1.0l-3.02,2.84l-1.83,2.83l-1.7,0.58l-0.96,1.18l-3.23,1.04l-0.99,2.18l0.33,1.34l-0.54,2.23l-0.74,1.15l-0.25,2.85l-0.67,1.16l-0.18,1.23l-0.74,-0.38l-0.78,0.41l-0.23,2.18l-4.04,0.11l-2.81,-1.08l-3.48,1.96l-0.54,-0.18l-0.8,-1.55l-0.22,-3.95l-1.15,-2.66l-0.11,-1.07l0.7,-1.59l-0.22,-0.76l-1.09,-0.27l-1.63,0.55l-0.57,-2.01l-0.9,-0.47l-0.7,0.29l-0.43,1.22l-1.37,0.06l-0.16,-0.75l1.24,-0.83l0.07,-0.8l-2.14,-4.79l-2.4,-3.04l-2.13,-2.27l-1.92,-1.33l-1.32,-0.24l-1.74,0.54l-1.0,-0.81l-0.58,0.42Z", "name": "Chhattisgarh"}, "IN-CH": {"path": "M266.15,165.51l-2.24,-2.23l-0.12,-0.55l1.16,-0.55l1.66,0.15l0.44,1.34l-0.16,1.56l-0.74,0.28Z", "name": "Chandigarh"}, "IN-GA": {"path": "M171.13,653.34l0.82,-0.49l2.2,-0.25l0.84,-1.12l0.38,0.84l1.86,0.75l0.72,2.4l1.25,1.01l1.01,0.17l2.17,-0.81l2.03,0.13l1.31,-0.56l1.58,0.8l0.64,3.06l-0.59,1.24l0.03,0.83l0.59,0.86l0.06,1.41l1.19,1.5l0.15,1.34l-0.25,0.39l-1.24,0.3l-0.42,0.49l0.16,0.93l1.4,1.13l-1.01,2.75l0.15,2.34l-1.02,2.28l-0.76,0.39l-1.33,0.04l-1.82,1.18l-1.4,-0.88l0.06,-1.67l-0.32,-0.72l-0.99,-0.43l-1.0,-1.7l-1.34,-0.43l0.32,-0.82l0.93,-0.77l0.11,-0.61l-0.54,-0.55l-1.62,-5.41l-0.52,-0.65l-1.65,-0.3l-0.6,-0.51l2.08,0.23l0.62,-0.25l0.78,0.3l0.93,0.96l0.63,-0.35l-0.02,-0.58l-1.35,-1.45l-3.77,-1.12l0.45,-0.68l1.85,-0.72l-0.19,-0.91l-0.59,-0.35l-2.36,1.34l-0.55,-0.34l0.05,-0.87l-0.54,-1.54l0.59,-0.89l2.24,-0.65l0.3,-0.6l-0.39,-0.4l-1.74,0.07l-1.67,1.11l-0.87,-2.2Z", "name": "Goa"}, "IN-GJ": {"path": "M0.5,399.96l0.7,-0.07l0.65,-0.85l1.21,0.35l1.42,-0.85l0.14,-0.66l-0.59,-0.43l-0.93,0.34l-0.77,-0.57l-0.51,-2.68l-0.67,0.36l0.47,-2.07l0.64,-0.96l1.64,-0.62l-0.08,-1.16l0.42,0.58l0.75,0.19l1.26,-1.22l0.45,0.24l0.9,-0.64l10.29,-0.14l0.4,-0.4l0.04,-10.49l0.51,-1.05l1.13,0.05l0.45,2.22l0.74,0.73l0.91,-0.37l1.29,-2.29l1.82,2.06l0.74,0.04l2.52,-1.05l3.13,1.14l3.52,-0.99l8.54,0.22l0.76,0.33l2.36,2.42l1.6,0.78l7.98,0.11l1.43,-0.3l1.28,-1.0l1.64,-3.28l4.06,-0.84l1.74,-1.07l2.27,-0.31l1.43,-0.97l4.1,-0.7l0.18,0.38l-0.74,0.64l-0.12,0.58l0.81,3.24l1.9,1.14l4.26,0.3l3.16,-1.22l0.2,-0.72l-0.41,-0.77l2.11,-1.57l2.5,0.12l0.86,-0.95l1.84,-0.89l-0.41,-1.47l-2.81,-0.83l0.18,-2.07l-0.72,-0.83l-0.07,-0.71l0.57,-1.53l2.65,-1.55l1.66,0.93l2.93,0.8l0.95,0.0l2.15,-0.83l2.27,0.43l1.81,-1.1l2.8,-0.18l1.22,0.17l1.61,0.83l3.68,-0.64l0.6,1.02l1.38,0.34l0.62,-0.37l0.1,-0.96l0.5,-0.3l0.41,0.01l0.74,0.75l1.17,0.13l1.71,-1.24l1.73,-0.39l1.37,1.61l2.36,0.79l1.19,0.15l3.43,-0.47l-2.31,0.59l-0.18,0.93l1.37,1.15l1.47,0.26l0.66,0.97l1.68,0.05l0.11,1.14l1.25,1.86l1.07,-0.16l0.95,-2.34l0.8,-0.05l1.64,0.97l1.95,0.54l0.81,1.65l0.86,0.74l5.67,1.0l1.08,-0.16l1.04,-0.81l0.65,-2.67l0.5,-0.68l2.52,-0.5l-0.24,2.59l0.32,0.65l2.29,0.98l1.23,-0.39l0.06,0.28l-0.47,0.73l-1.64,-0.01l-1.21,1.67l-0.94,2.61l0.78,2.06l0.54,0.75l2.28,1.54l0.5,1.22l1.44,1.4l0.56,-0.04l1.5,-1.02l1.08,-1.87l1.13,1.79l0.1,1.35l0.71,1.7l-1.66,1.34l-0.33,3.86l0.52,0.44l1.25,0.07l1.17,1.92l1.59,0.55l0.03,3.2l1.07,0.14l1.29,-1.03l1.02,0.87l0.0,2.34l0.46,1.2l-0.33,1.36l0.26,0.43l1.46,0.1l1.41,0.86l2.79,-0.78l2.48,3.21l1.08,0.17l1.17,-0.81l2.08,1.91l1.71,0.9l0.52,0.58l0.09,1.77l0.56,0.94l1.07,0.46l1.24,-0.62l0.32,0.13l0.75,0.47l1.19,2.04l1.06,0.7l1.04,2.54l0.7,3.74l0.67,0.28l0.99,-0.26l1.0,1.07l0.15,0.89l-2.47,4.86l-0.69,0.73l-2.4,0.5l-3.97,3.3l-2.47,-0.52l-1.06,0.61l-0.17,1.4l2.3,2.09l0.7,0.27l2.5,-0.14l1.17,0.57l-0.52,0.85l-1.21,0.63l-1.38,0.14l-0.87,-0.73l-0.66,-0.14l-0.64,0.34l-0.43,0.83l0.19,3.95l0.98,1.17l0.6,2.21l0.72,1.01l-0.37,1.38l-0.01,2.02l-1.86,0.34l-2.66,1.26l-0.98,0.85l-1.36,0.17l-2.94,1.25l-0.44,1.12l0.24,2.28l1.08,1.72l-0.69,1.24l-1.5,0.35l-0.49,0.63l0.39,1.13l1.62,2.41l0.55,0.29l5.43,-1.52l3.48,0.09l1.05,-0.57l1.48,0.8l2.63,-0.9l0.24,0.98l-1.57,1.06l-3.99,1.1l-1.51,-0.44l-0.73,0.2l-2.61,2.26l-1.23,3.23l-2.07,0.72l-0.67,-0.54l-0.58,-0.03l-0.41,0.34l-0.93,2.34l-2.01,1.14l-0.89,-0.22l-0.84,0.23l-2.12,-1.04l-0.82,0.35l0.24,1.02l1.22,1.18l1.38,0.77l2.01,-0.03l1.03,1.36l1.56,0.58l2.32,2.59l0.99,2.76l0.19,3.31l-0.49,0.92l-2.42,2.07l-0.13,1.4l-0.42,0.84l-2.66,1.32l-1.84,0.02l-1.33,-1.63l-3.25,-1.89l-1.11,-1.53l-0.78,0.14l-0.93,1.49l-1.29,0.62l-0.04,0.76l1.28,0.48l0.25,1.12l0.99,0.4l0.28,1.19l-2.99,5.31l0.78,1.33l0.23,1.97l-0.49,1.57l0.17,0.94l-3.44,-0.35l-0.69,0.66l-0.27,1.36l-1.1,0.52l-0.38,-0.06l-0.01,-1.51l-0.72,-0.56l-1.37,-0.12l-0.43,0.32l-0.21,0.95l-0.95,0.04l-0.36,-1.68l2.24,-1.3l0.45,-0.95l-0.35,-0.68l-1.23,-0.09l0.08,-1.11l-0.81,-0.47l-2.07,1.39l-1.14,-0.0l-0.65,1.29l-1.14,-0.15l-0.55,0.41l-0.11,0.95l1.46,1.36l0.23,1.61l-1.88,0.66l-1.35,-0.06l-0.65,0.32l-1.02,-0.24l-1.45,0.83l0.73,-2.93l0.57,-1.06l-0.41,-0.59l0.18,-1.49l0.99,-2.09l0.98,-0.77l1.51,-0.17l0.65,-0.65l-0.08,-1.64l-0.77,-1.03l0.99,-1.77l-0.03,-2.84l0.62,-1.11l-0.07,-2.45l1.33,-1.05l-0.21,-0.59l-0.63,-0.42l-0.03,-1.1l-0.67,-0.08l-0.38,0.46l-0.11,-0.45l0.53,-1.02l-0.21,-0.61l-1.26,0.33l0.35,-1.15l-0.63,-0.76l1.16,-0.71l0.28,-0.98l-0.44,-0.43l-1.52,0.3l-0.45,-0.77l-1.18,-0.59l1.25,0.19l0.67,-0.14l0.43,-0.53l-1.08,-2.77l-0.57,-0.44l-1.51,0.57l-0.74,-0.19l0.11,-0.83l-0.45,-0.52l-0.52,-0.03l1.22,-0.68l-0.09,-0.44l-1.49,-0.75l-1.09,-0.93l-0.03,-0.45l-0.63,-0.3l-0.58,0.41l-0.15,-0.32l-0.44,-1.87l1.42,-0.28l0.28,-0.74l-0.56,-0.42l-1.68,0.12l1.8,-0.54l2.67,-1.74l0.35,0.25l0.59,-0.15l0.08,-1.13l-0.83,-0.39l-2.31,0.85l-1.68,1.13l0.77,-1.49l2.09,-1.65l2.56,-1.29l1.44,-1.98l1.44,0.24l2.03,-0.72l0.96,-0.67l4.65,-1.88l0.51,-0.51l0.13,-0.73l-0.86,-0.4l-3.05,1.6l-2.75,0.95l-2.09,-0.31l-1.84,0.69l-1.99,-0.44l-1.81,0.3l-1.83,-0.23l-2.19,0.51l-0.03,-0.91l0.75,-1.97l0.26,-2.24l0.6,-0.39l1.0,-2.09l0.74,-0.36l1.38,-0.01l0.52,-0.51l0.26,-0.88l0.74,-0.47l-0.31,-0.63l-1.03,0.01l-0.6,0.71l-2.18,0.28l-2.07,1.63l-0.98,-1.7l1.19,-5.61l0.93,-1.11l0.97,-0.45l1.83,0.91l0.97,-0.07l1.05,0.62l0.56,-0.08l1.83,-2.13l0.87,-0.16l1.4,0.83l0.95,-0.34l0.39,-1.48l-0.64,-1.05l-0.97,0.51l-1.22,-0.43l-0.84,0.08l-1.89,0.94l-2.79,-0.93l-1.08,0.05l-1.68,-0.54l-0.77,0.2l-1.65,1.38l-0.67,0.2l0.15,-0.47l-0.39,-0.52l-1.99,0.41l-0.25,-1.46l0.75,-0.74l0.1,-0.66l-0.41,-0.73l-0.48,-0.12l-1.3,0.92l-0.97,2.53l-1.14,-0.05l-0.41,-1.1l-0.83,-0.23l-1.09,0.05l-0.53,0.76l-1.33,-0.02l-0.2,0.66l0.68,0.67l1.07,0.28l0.85,-0.5l0.31,0.91l0.9,0.39l1.02,-0.03l0.24,1.05l-0.28,3.28l-1.38,1.94l-1.79,0.18l-0.67,0.89l-0.99,-0.87l-1.35,-0.09l-0.31,0.32l0.18,0.41l0.66,0.43l-0.97,-0.27l-0.45,0.17l0.18,0.63l-1.59,0.61l0.15,0.67l1.89,0.64l1.44,-0.1l0.69,0.88l-0.18,0.92l-1.97,-1.61l-0.75,-0.2l-0.45,0.23l-0.2,1.02l1.11,0.46l0.3,0.48l-2.34,-0.84l-0.76,0.39l0.16,2.39l0.61,0.07l0.52,0.59l1.44,-0.43l1.41,0.38l1.26,-0.46l0.97,1.2l0.7,1.57l0.66,0.39l0.82,0.02l0.65,0.95l0.03,0.91l-0.66,0.75l-1.0,3.65l-2.24,2.74l-0.51,1.07l-1.35,1.36l-0.58,2.43l0.41,1.27l-3.25,1.99l-2.05,0.24l-4.99,3.12l-1.45,0.04l-2.41,1.15l-1.67,1.19l0.07,-0.5l-1.13,0.05l-1.81,1.46l-0.9,1.36l-4.4,1.16l-5.39,2.64l-1.52,0.13l-0.92,0.73l-2.44,0.05l-0.65,0.93l-3.65,0.22l-0.99,-0.18l-0.85,-0.59l-1.16,0.23l-1.21,-0.86l-4.8,-1.96l-2.71,-1.5l-1.64,-1.54l-1.94,-0.78l-8.52,-7.09l-3.03,-3.95l-3.49,-3.74l-0.87,-1.33l-0.17,-0.96l-1.73,-1.02l-3.88,-4.04l-1.94,-1.14l-2.67,-3.2l-1.63,-1.0l-0.84,-1.01l-0.18,-1.89l-0.66,-0.19l-0.63,0.59l-0.54,-0.17l-4.18,-3.73l-1.45,-1.96l-1.46,-1.14l-1.7,-2.63l-1.65,-1.48l-1.47,-2.81l0.88,-3.29l0.5,-0.76l1.32,-0.83l-0.26,0.75l1.01,1.24l0.67,0.08l1.02,-0.44l0.83,0.17l0.94,-0.69l0.25,0.21l-1.03,2.68l0.24,0.84l1.52,1.23l2.4,-0.38l1.52,-0.7l0.65,-0.71l2.26,-0.04l1.51,-0.42l1.45,-1.37l0.19,-0.7l-0.34,-1.28l0.36,-0.06l0.3,2.26l1.88,0.7l0.59,-0.29l0.11,-0.39l0.69,-0.13l0.66,-0.9l0.59,0.21l0.46,-0.2l0.83,-2.0l1.53,1.64l0.7,-0.0l0.95,-1.43l1.58,-0.33l2.54,-2.09l2.6,-0.59l2.59,0.34l1.25,-0.49l4.5,-7.15l0.16,-1.52l1.55,-2.48l2.22,-1.93l1.09,0.04l0.73,-0.69l0.69,-1.43l0.07,-0.9l-0.87,-2.13l-1.25,-0.94l-2.24,1.56l-0.43,0.78l0.33,1.53l-0.31,2.26l-1.2,0.23l-0.53,-0.37l-0.68,0.08l-0.97,-0.5l-1.1,-1.31l-0.65,0.29l-0.22,1.03l-1.45,0.21l-0.85,-0.55l-0.06,-0.82l-0.53,0.16l-0.65,1.13l0.61,0.91l-1.78,0.22l-2.05,0.8l-5.13,1.18l-2.35,1.7l-1.17,1.86l-1.81,-0.42l-2.04,-0.02l-0.85,-0.55l-1.78,-0.11l-5.03,-1.67l-4.08,-0.59l-4.99,-3.19l-5.31,-2.24l-6.42,-4.41l-0.28,-0.83l-0.74,-0.31l-0.42,-0.6l0.49,-0.71l0.1,-0.83l-0.57,-0.36l-1.75,0.26l-0.15,-0.25l0.45,-0.89l1.3,-0.27l0.19,-0.55l-1.43,-1.28l-1.29,-0.24l-0.08,-0.55l0.78,-0.72l-0.27,-0.47l-1.15,-0.11l-0.95,0.55l-0.06,-1.22l-1.08,0.26l1.83,-2.32l-0.14,-0.36l-0.86,-0.1l-0.56,-0.78l-0.49,-0.1l-0.21,0.45l0.29,1.18l-0.41,0.11l-0.0,-3.49l2.18,0.23l0.39,-0.38l0.04,-0.61l-0.48,-0.5l1.61,-0.59l1.53,-1.82l1.55,-0.78l1.08,-1.78l1.61,-0.09l3.07,-2.0l-0.09,-0.69l-0.8,-0.19l-1.32,0.28l-1.37,1.12l-2.52,0.25l-0.62,0.52l-0.65,1.24l-5.16,2.14l-2.79,3.05l0.2,0.67l-0.49,0.4l-4.27,-0.24l-0.75,-0.44ZM141.04,481.24l-0.02,0.35l-0.14,0.07l0.03,-0.2l0.13,-0.22ZM139.1,480.22l0.01,0.97l-0.7,0.34l-0.26,-0.5l0.95,-0.81ZM28.19,437.73l0.34,-0.24l-0.1,0.14l-0.23,0.1Z", "name": "Gujarat"}, "IN-RJ": {"path": "M113.16,366.39l-0.79,-0.19l-0.82,-1.14l-3.88,0.61l-1.37,-0.78l-1.49,-0.21l-3.05,0.21l-1.75,1.08l-2.15,-0.45l-2.94,0.83l-2.75,-0.76l-1.27,-0.83l-0.91,-0.2l-1.55,-3.64l-2.68,-4.47l-2.06,-7.11l-3.54,-3.49l-0.79,-2.29l-1.64,-1.88l-0.21,-1.01l0.33,-6.6l-0.19,-1.6l-0.91,-1.04l-1.23,-0.24l-3.67,1.06l-3.52,0.09l-2.79,-0.74l-0.75,-0.92l-0.69,-1.91l-3.03,-3.12l-0.94,-1.52l-0.54,-1.56l0.29,-3.26l1.77,-3.12l0.63,-2.52l-0.28,-1.98l0.55,-1.87l-0.16,-5.57l-1.0,-1.17l-2.36,-0.91l-7.44,0.28l-1.19,-0.44l-3.46,-2.72l-4.77,-1.9l-0.82,-0.89l-0.21,-1.18l1.29,-7.93l0.8,-2.43l1.22,-2.0l8.35,-7.32l1.89,-2.92l2.65,-2.47l0.77,-1.08l2.56,-6.91l7.24,-6.53l3.37,-0.9l2.19,0.73l2.89,2.68l0.22,2.51l0.96,2.12l1.23,1.73l1.86,1.21l2.15,0.28l2.76,-0.58l7.27,-3.47l2.28,-0.75l5.18,-0.75l5.05,-0.01l9.45,-2.8l0.73,-1.01l0.37,-4.13l0.46,-1.13l2.41,-3.02l5.04,-4.28l1.5,-3.1l1.81,-6.71l0.69,-1.31l2.22,-2.6l16.76,-8.5l1.03,-0.96l1.04,-2.37l2.71,-3.73l5.61,-10.36l4.24,-13.14l5.55,-2.7l5.67,-1.24l1.25,-0.68l5.27,-4.38l0.01,1.53l-2.58,4.47l0.0,0.93l0.33,0.34l15.39,0.72l3.64,0.48l0.02,0.94l0.94,0.93l0.04,0.52l-2.13,1.4l-0.59,2.13l0.48,0.91l1.08,0.31l2.26,-0.71l0.48,-0.41l0.19,0.23l-0.67,2.55l-0.26,2.85l0.37,1.18l0.79,0.98l-0.07,1.22l-0.19,0.37l-1.73,0.3l-0.34,0.95l2.48,3.97l1.17,-0.0l0.51,-1.04l3.42,-0.01l1.87,-1.25l2.62,1.15l1.36,2.74l1.0,0.28l1.28,-0.27l0.65,1.25l0.71,0.48l2.28,-0.55l0.86,-0.67l1.03,0.64l1.26,-0.12l1.93,-1.4l-0.21,1.19l0.37,0.73l0.69,0.23l1.08,-0.74l0.54,1.48l-0.83,0.46l-0.2,0.49l0.54,1.33l0.0,1.06l1.94,2.91l1.92,0.98l-0.02,0.67l-0.77,0.56l-0.22,0.85l3.34,9.56l3.35,4.22l2.17,1.57l-0.14,0.74l0.33,0.67l1.41,0.08l2.09,0.88l2.08,1.93l2.08,2.67l1.58,2.67l-0.7,-0.71l-0.52,-0.07l-1.05,1.15l-1.53,0.73l-0.43,0.67l0.27,0.88l0.98,0.7l0.61,-0.02l0.86,-0.7l-1.13,1.37l-0.82,1.64l0.59,0.99l-0.48,0.39l-0.91,-0.04l-0.45,0.81l0.15,0.87l1.22,0.93l0.58,1.57l0.74,0.31l3.48,-0.31l1.76,1.41l1.39,-0.66l0.29,-1.0l-0.42,-1.48l-0.6,-0.68l-0.03,-1.56l-0.65,-2.07l0.15,-1.09l0.22,-0.27l1.06,0.2l1.09,-0.39l1.6,1.04l1.18,-0.25l0.39,-0.55l0.02,-0.94l-1.13,-0.83l0.85,-0.33l0.02,-0.98l0.68,0.29l2.29,-0.31l0.49,0.72l-0.59,-0.08l-0.38,0.31l0.06,0.73l0.66,0.56l-0.57,0.47l0.03,0.51l1.42,0.83l0.92,0.06l0.52,1.73l0.97,0.65l1.15,-1.04l2.04,-0.52l0.28,-0.58l-0.44,-1.85l3.39,-2.44l1.36,-1.92l1.01,-0.38l2.42,2.36l0.15,0.52l-0.65,2.79l0.52,2.35l0.19,3.84l-0.86,1.6l-0.46,2.44l0.4,1.04l-0.58,0.37l-0.03,0.84l0.72,0.56l2.1,-0.25l1.27,-1.76l2.05,-0.4l0.26,-0.81l-1.3,-0.89l0.24,-0.53l1.97,0.6l0.71,-0.1l0.6,-0.56l0.81,0.49l0.58,-0.41l0.82,0.59l0.81,-0.67l0.38,0.07l0.36,2.7l0.84,0.78l0.33,0.85l0.04,0.6l-0.52,1.02l0.73,0.91l0.01,1.61l2.3,3.01l0.95,2.22l1.87,0.74l1.89,1.31l1.14,0.19l0.15,1.49l0.75,1.73l0.61,0.61l-0.36,0.58l-1.2,0.7l-0.31,0.83l-2.57,0.82l-0.37,0.89l0.3,0.66l0.88,0.32l0.64,1.0l2.23,0.36l0.7,-0.5l0.87,1.25l-1.42,0.37l-6.42,3.0l-0.85,1.15l-0.02,2.84l0.73,0.32l0.77,-0.2l1.26,-1.79l1.15,0.07l4.09,-1.67l2.33,-1.65l2.98,0.47l0.85,0.51l1.05,-0.35l2.89,0.35l1.09,1.2l0.67,-0.29l0.09,-1.11l1.09,-0.08l1.28,-1.16l1.69,-0.04l2.02,0.57l-0.98,0.92l-1.12,0.42l-0.05,0.72l0.66,0.88l-0.85,0.24l-0.1,0.82l-1.0,-0.26l-0.95,0.2l-0.54,3.52l-0.93,0.02l-0.98,-0.46l-1.99,0.86l-1.51,0.22l-0.57,0.55l-0.21,0.79l-1.71,0.58l-0.26,0.53l0.27,0.69l-2.38,1.08l-0.92,1.0l-2.98,0.75l-3.21,2.22l-2.11,0.06l-0.56,0.59l-0.11,0.9l-2.76,0.32l-1.52,2.06l-2.32,1.81l-2.65,0.18l-0.91,0.72l-0.32,0.96l-1.97,0.47l-0.92,1.2l-1.56,1.0l-1.05,0.28l-0.68,1.19l-2.24,1.52l-0.52,1.68l-0.79,0.35l-0.93,1.01l-2.88,0.01l-0.79,1.22l-0.84,0.14l-1.36,1.03l-1.09,1.85l-0.12,1.68l-1.03,0.59l1.24,6.15l1.02,3.16l1.64,0.79l1.23,1.75l2.04,0.43l1.85,1.25l0.57,0.11l1.26,-0.41l1.39,0.2l1.84,1.04l0.77,-0.39l1.71,0.0l2.77,-1.21l2.19,0.5l1.34,-0.62l0.88,-1.95l0.69,-0.54l1.52,-0.36l0.69,0.22l0.38,0.55l-0.47,1.46l0.69,1.45l-0.15,1.82l1.16,1.77l-0.39,1.97l-1.43,1.01l-1.76,-0.7l-1.13,0.24l-1.06,-0.21l-3.5,1.17l-2.7,0.19l-4.12,1.59l-0.88,1.16l-0.03,0.67l0.99,2.1l0.11,1.21l-0.8,0.67l-1.8,0.4l-0.46,0.59l0.01,0.63l2.21,2.47l1.07,0.57l2.33,0.03l1.64,1.33l0.87,1.46l0.43,2.21l-0.59,0.95l-3.32,1.33l-0.31,-0.01l-0.09,-0.98l-0.76,-1.19l-1.72,-0.45l-0.99,0.55l0.19,7.02l0.56,1.52l1.87,2.64l-0.75,1.42l-2.66,0.44l-2.87,-1.98l-0.29,-0.38l0.59,-1.58l-0.65,-0.89l-1.49,0.26l-1.32,0.66l-0.62,0.81l-0.38,1.25l-0.93,0.27l-0.8,-1.35l-0.81,-0.46l-2.36,0.15l-2.37,-0.75l-2.62,0.03l-0.56,-0.65l-0.06,-1.39l-0.91,-0.21l-1.44,0.8l-0.41,0.77l-0.22,5.75l-0.91,1.03l-3.07,2.04l-0.18,0.86l0.58,0.69l-0.36,0.8l-2.54,1.42l-3.18,1.16l-1.39,-1.09l-0.78,0.05l-0.42,0.67l0.21,1.39l-0.75,1.99l-1.04,-0.67l-1.53,-0.23l-0.54,-1.73l-2.26,-1.43l-0.39,-0.57l-0.11,-1.38l0.73,-1.34l0.34,-0.08l2.56,1.5l0.99,-0.14l1.03,-0.78l1.53,0.76l2.78,-3.75l-0.19,-0.69l-1.38,-0.85l-0.38,-0.73l0.33,-1.04l1.14,-1.39l0.31,-1.44l-0.35,-1.02l-1.31,-0.83l-0.49,-2.5l0.29,-1.27l0.46,-0.6l2.12,0.79l0.87,-0.42l0.54,-0.87l-0.12,-3.35l-1.72,-2.18l-0.08,-1.9l-1.45,-1.82l-0.93,-0.39l-1.02,0.2l-2.12,1.19l-6.1,1.13l-1.71,-0.05l-2.46,-0.66l-2.71,0.12l-0.69,-0.28l-0.43,-0.95l1.0,-1.04l0.14,-0.7l-0.82,-1.9l1.39,1.33l1.73,0.45l2.43,-0.55l1.29,-1.43l-0.03,-0.57l-0.61,-0.38l-3.06,0.55l-1.27,-0.53l0.04,-0.32l1.57,0.36l0.71,-0.62l-0.09,-0.83l-0.78,-1.15l0.96,-1.84l-0.38,-0.68l-2.77,0.61l-2.39,-0.18l-0.87,0.22l-1.43,2.29l0.29,1.74l-0.19,0.81l-1.27,-0.2l-1.56,1.09l-2.66,-1.04l-1.24,-1.01l-1.28,-0.2l-0.46,0.24l-0.21,0.62l0.68,2.0l-0.19,1.6l0.21,0.59l3.12,0.55l1.1,-0.15l0.1,0.39l-0.55,2.44l-0.6,0.36l-1.68,0.1l-1.61,-1.83l-0.62,-1.83l-0.6,-0.15l-0.56,0.47l-0.19,2.47l0.42,1.11l-2.09,4.22l-0.12,0.98l0.53,0.75l3.35,1.05l0.25,0.61l-2.43,2.42l-0.39,1.79l-0.73,1.25l0.16,0.52l0.56,0.3l2.45,-0.12l1.2,0.69l0.89,3.8l2.05,2.4l-0.64,1.04l-1.18,3.43l-0.18,1.43l0.11,2.2l0.8,1.33l0.19,1.94l-2.53,4.99l-0.87,0.81l-5.89,2.59l-2.01,1.8l-1.52,2.59l0.02,1.08l0.6,0.72l2.45,0.79l1.39,0.05l1.5,1.36l-2.98,1.57l-1.93,0.47l-2.21,1.15l-2.7,-0.33l-1.68,0.98l-0.59,-0.97l-0.83,-0.47l-1.34,-2.19l-1.43,-0.75l-1.43,0.61l-0.48,-0.26l-0.72,-2.86l-2.18,-1.34l-2.15,-1.97l-0.91,-0.2l-0.73,0.85l-0.66,-0.04l-2.15,-2.97l-0.57,-0.34l-2.93,0.76l-1.14,-0.82l-1.17,0.04l0.32,-1.25l-0.46,-1.22l0.13,-1.76l-0.24,-0.9l-1.4,-1.24l-0.65,0.06l-1.41,1.07l0.32,-2.39l-0.31,-0.73l-1.75,-0.71l-1.19,-1.94l-1.47,-0.23l0.28,-3.15l1.47,-1.08l0.28,-0.53l-0.77,-1.97l-0.12,-1.42l-1.32,-2.1l-0.38,-0.24l-0.65,0.19l-1.13,1.93l-1.34,0.87l-0.98,-1.08l-0.62,-1.36l-2.63,-2.03l-0.7,-1.62l0.87,-2.35l0.88,-1.21l1.13,0.05l0.78,-0.31l0.62,-1.27l-0.18,-0.76l-0.43,-0.3l-1.27,0.38l-1.91,-0.74l0.23,-2.35l-0.43,-1.01l-1.21,-0.11l-2.26,0.63l-0.78,1.08l-0.46,2.35l-0.86,0.68l-0.6,0.06l-1.89,-0.53l-3.52,-0.4l-1.51,-2.29l-2.14,-0.65l-1.84,-1.02l-1.46,0.26l-0.78,2.15l-0.36,0.2l-0.92,-1.62l-0.24,-1.27l-1.85,-0.15l-0.62,-0.94l-1.53,-0.29l-0.97,-0.75l2.33,-0.44l0.22,-0.89l-0.68,-0.67l-4.54,0.35l-2.17,-0.71l-1.13,-1.44l-0.59,-0.29l-2.11,0.47l-1.51,1.18l-0.76,-0.09l-0.9,-0.81l-0.82,0.05l-0.91,0.64l-0.15,0.93ZM294.16,288.97l0.26,-0.35l0.11,-0.1l-0.05,0.3l-0.31,0.15ZM252.61,250.52l-0.88,-0.6l-0.15,-0.41l0.59,0.24l0.44,0.77Z", "name": "Rajasthan"}, "IN-MP": {"path": "M191.91,423.84l-0.52,-3.36l-0.53,-1.39l0.74,-0.61l0.77,-0.34l2.88,0.29l2.23,-1.16l1.99,-0.5l3.36,-1.88l-0.0,-0.75l-1.53,-1.53l-4.03,-0.93l-0.42,-0.88l1.39,-2.39l1.85,-1.66l5.83,-2.55l1.04,-0.94l1.49,-3.12l1.15,-1.64l0.11,-1.95l-0.24,-1.12l-0.77,-1.25l-0.08,-1.88l0.16,-1.29l1.86,-4.79l-2.14,-2.67l-0.45,-2.8l-0.59,-1.21l-1.63,-0.91l-2.47,0.1l0.66,-1.0l0.32,-1.64l1.74,-1.48l0.81,-1.32l-0.17,-0.87l-0.45,-0.45l-3.45,-1.11l-0.08,-0.37l2.2,-4.61l-0.4,-1.42l0.1,-1.99l0.36,1.48l0.95,0.81l0.7,1.18l0.53,0.26l1.56,-0.03l1.01,-0.34l0.72,-0.72l0.5,-2.94l-0.75,-0.84l-1.19,0.14l-2.6,-0.34l0.17,-1.7l-0.66,-1.97l0.84,0.14l1.09,0.93l2.15,1.06l1.16,0.09l1.62,-1.1l1.02,0.31l0.63,-0.38l0.36,-1.3l-0.29,-1.62l1.1,-1.75l2.84,0.09l2.19,-0.57l-0.84,1.67l0.9,1.76l-1.84,-0.24l-0.48,0.64l0.06,0.81l0.84,0.71l1.12,0.24l2.91,-0.55l-1.3,1.1l-1.61,0.23l-1.34,-0.35l-1.47,-1.38l-0.77,0.01l-0.33,0.88l0.81,1.84l-0.85,0.94l-0.32,0.92l0.8,1.39l1.08,0.43l2.69,-0.13l2.41,0.65l1.95,0.06l6.25,-1.16l2.89,-1.35l0.81,0.55l0.9,1.26l0.02,1.76l1.69,2.09l0.14,2.99l-0.72,0.67l-1.35,-0.77l-1.15,0.13l-0.74,0.98l-0.34,1.56l0.56,2.82l1.31,0.91l0.28,0.62l-0.23,1.1l-1.45,2.03l-0.07,0.88l0.25,0.76l1.62,1.36l-2.15,2.93l-1.36,-0.75l-1.75,0.95l-3.0,-1.53l-0.78,0.44l-0.86,1.74l0.13,1.58l0.39,0.76l2.43,1.6l0.49,1.72l0.33,0.26l1.63,0.23l0.86,0.6l0.71,0.05l0.53,-0.62l0.69,-1.91l-0.18,-1.56l1.04,0.97l0.88,0.15l3.38,-1.22l2.74,-1.55l0.62,-1.43l-0.58,-1.02l2.89,-1.87l1.22,-1.46l0.23,-5.8l1.25,-0.97l0.03,1.13l0.96,1.07l0.65,0.22l2.18,-0.18l2.45,0.76l2.27,-0.16l0.37,0.22l0.5,1.22l0.8,0.37l1.54,-0.47l0.94,-2.01l2.1,-0.79l-0.46,2.16l2.85,2.18l0.96,0.53l3.22,-0.59l1.09,-2.16l-2.28,-3.57l-0.43,-4.0l0.27,-1.37l-0.24,-1.82l1.59,0.28l0.46,1.83l1.11,0.44l3.72,-1.46l0.82,-0.85l0.14,-0.79l-0.48,-2.47l-1.05,-1.74l-1.9,-1.51l-2.48,-0.08l-0.78,-0.44l-1.9,-2.1l0.23,-0.33l1.92,-0.41l0.89,-0.95l-0.08,-1.74l-0.97,-2.28l0.51,-0.72l3.91,-1.51l2.67,-0.19l3.37,-1.16l1.06,0.21l0.95,-0.26l1.95,0.71l1.88,-1.18l0.37,-0.58l0.33,-2.13l-1.25,-2.17l0.23,-1.44l-0.69,-1.42l0.48,-1.43l-0.97,-1.29l-1.87,-0.11l-1.6,0.8l-0.94,1.95l-0.61,0.55l-2.56,-0.43l-2.91,1.24l-1.6,-0.03l-0.73,0.39l-1.59,-1.02l-1.63,-0.22l-1.33,0.41l-1.98,-1.3l-1.68,-0.23l-1.39,-1.83l-1.51,-0.67l-0.88,-2.84l-1.3,-5.49l1.02,-0.67l0.31,-2.18l0.62,-1.04l1.1,-0.9l1.23,-0.38l0.55,-1.06l2.42,0.18l0.59,-0.28l0.95,-1.02l0.89,-0.44l0.58,-1.75l2.19,-1.47l0.56,-1.08l0.9,-0.2l1.61,-1.02l0.91,-1.21l2.0,-0.48l0.62,-1.26l0.58,-0.41l2.55,-0.13l2.61,-2.01l1.39,-1.95l2.46,-0.14l0.69,-0.61l0.16,-0.98l2.14,-0.08l3.22,-2.23l3.09,-0.81l0.88,-0.97l2.69,-1.32l-0.1,-1.03l1.58,-0.6l0.61,-1.23l1.4,-0.18l1.79,-0.82l1.11,0.48l1.32,-0.23l0.74,-2.26l-0.13,-1.3l1.54,0.32l0.58,-0.57l0.06,-0.52l1.15,-0.19l1.1,0.21l1.15,-1.25l2.21,0.06l0.6,0.87l1.21,0.11l1.07,1.0l1.77,0.32l1.5,0.84l1.12,-0.0l0.65,-0.6l1.15,0.01l1.42,-0.73l0.31,0.53l0.62,0.09l0.33,-0.27l0.47,0.74l0.85,0.09l2.08,1.98l1.97,-0.15l0.92,3.46l2.47,4.19l0.31,1.69l-0.36,1.13l0.63,0.93l-1.09,1.53l-1.67,0.49l-0.96,0.95l-0.03,1.06l0.54,0.96l-0.96,0.59l-0.16,1.24l1.03,1.32l-1.17,1.84l-1.04,2.8l-1.41,1.74l-0.79,2.01l-2.15,1.79l-0.42,1.83l0.82,2.19l-0.08,0.67l-0.87,0.47l-3.09,0.63l-2.0,1.1l-2.01,-0.16l-3.47,0.83l-0.72,0.75l-0.3,1.66l-0.43,0.6l-2.48,2.28l0.14,1.03l1.3,1.67l2.05,4.43l-1.1,3.43l0.3,1.25l-0.41,1.16l-1.97,1.91l-2.39,1.59l-0.5,1.2l1.73,2.46l0.18,1.91l0.95,1.42l-0.09,1.58l0.4,0.6l-0.05,0.55l-1.41,2.68l0.63,1.3l0.81,0.48l0.33,0.83l2.13,1.35l-0.66,2.0l1.03,1.4l1.2,0.28l1.31,-0.64l0.68,-0.76l0.44,-1.78l0.54,-0.38l1.29,0.66l3.7,3.07l1.13,0.44l1.71,0.11l0.29,1.21l0.51,0.5l1.39,0.24l2.0,-1.84l1.09,-2.43l1.6,-1.48l0.61,-1.1l0.21,-1.63l-0.77,-0.66l-1.18,-0.2l0.18,-1.5l-0.89,-1.24l-0.76,-1.86l-1.56,-0.8l-2.6,0.54l-0.4,-0.6l-0.1,-0.69l0.64,-1.42l-0.4,-4.14l-2.32,-3.07l-0.93,-5.45l-1.38,-3.44l-1.82,-1.91l0.46,-1.11l1.51,-1.78l-0.04,-0.98l0.34,-0.29l1.63,0.2l1.78,1.89l1.0,-0.11l0.24,-0.64l-0.22,-1.03l0.54,-1.16l-0.8,-1.21l0.38,-1.0l1.02,-0.28l0.21,2.56l0.28,0.42l0.67,0.24l1.06,-0.34l0.39,-0.55l0.01,-2.04l0.8,-1.02l0.43,0.73l-0.35,2.05l0.5,0.45l1.11,-0.0l-0.13,1.21l-0.65,1.35l0.06,1.31l-1.51,1.2l-0.74,1.59l0.05,1.24l0.86,0.77l1.08,-0.45l0.92,-1.08l1.46,-0.63l0.23,-1.37l0.95,0.5l-1.07,1.61l0.14,0.88l0.53,0.5l2.51,-0.66l0.27,1.38l0.64,0.34l0.66,-0.28l0.8,-0.96l3.2,0.58l0.73,-0.83l-0.57,-2.42l0.54,0.56l0.59,0.1l1.28,-1.19l1.03,0.15l0.67,-0.35l-1.84,2.96l-0.99,1.04l-0.22,2.1l0.69,0.76l1.57,0.06l0.34,-0.27l0.21,-2.05l0.73,0.13l0.64,1.13l0.95,-0.04l2.13,-2.35l2.82,0.98l3.59,-0.24l0.55,0.59l0.71,0.2l2.3,-1.07l-0.01,-0.76l-0.98,-1.46l0.31,-0.53l1.98,-0.41l3.08,-2.33l2.01,-0.92l1.31,0.28l1.46,-1.05l0.73,-1.06l0.9,0.24l1.34,-0.26l0.81,1.27l0.36,2.78l1.13,0.71l0.62,0.83l0.69,-0.02l0.56,1.65l-1.97,1.05l-1.44,1.71l-0.96,-0.01l-0.34,0.31l0.1,1.75l0.99,1.21l1.85,-0.32l1.64,0.37l0.55,-0.44l0.02,-0.69l0.89,0.96l1.03,-0.11l1.14,-0.73l0.14,-0.7l-1.44,-0.98l-0.23,-0.67l1.41,0.35l0.98,-0.14l0.49,-0.56l-0.02,-0.89l0.91,1.49l1.19,1.06l2.66,-0.26l0.57,-0.45l-0.02,-0.8l-1.53,-1.17l2.9,-0.26l0.82,-1.55l0.76,-0.22l0.37,0.5l-0.88,2.05l-0.17,1.21l-0.87,0.88l-0.27,1.12l-0.71,0.9l-0.01,0.88l0.65,0.49l1.01,0.13l2.85,-0.5l1.42,1.01l1.82,-0.42l2.77,1.85l0.48,-0.11l0.95,-1.14l1.13,-0.17l0.55,-0.44l-0.19,-1.79l1.86,-2.5l0.21,-1.01l-0.21,-1.35l1.88,-0.09l1.44,0.45l0.14,1.38l1.85,0.38l1.28,-0.26l0.5,-0.44l-0.0,-0.94l-0.92,-0.68l2.58,-0.76l1.08,2.35l-0.2,0.73l0.3,0.56l2.82,0.72l1.28,-0.01l0.48,1.09l0.94,0.37l1.83,-0.48l0.75,0.19l0.86,1.37l-0.24,1.06l0.26,0.65l2.72,2.08l2.45,0.41l2.82,1.69l0.96,-0.18l1.48,-1.0l-0.13,2.39l0.86,0.49l0.92,-0.62l0.09,1.92l0.52,0.37l0.8,-0.12l0.35,0.24l-0.59,1.47l0.13,0.65l3.0,0.17l0.76,-0.21l0.66,-0.93l-0.07,-1.74l4.89,1.07l3.33,-1.1l0.09,1.22l0.4,0.33l1.39,0.15l0.54,1.49l0.68,0.8l-0.36,0.47l-1.52,-0.19l-0.64,0.68l0.2,2.3l-0.31,2.05l0.32,0.63l0.66,0.4l0.01,2.03l-0.73,1.7l-0.24,1.96l-0.48,0.42l-0.99,0.18l-0.36,0.6l0.51,1.13l1.45,1.26l-0.08,1.5l1.94,2.08l-0.51,1.73l-3.3,1.36l-0.49,0.55l-0.31,1.33l-2.3,1.07l-1.01,0.87l-0.88,0.08l-7.25,-0.43l-1.86,-0.49l-3.75,-0.02l-2.21,-1.13l-2.21,-0.16l-3.22,1.48l-0.71,0.02l-1.74,-0.88l-1.97,-1.98l-1.49,-0.09l-0.93,0.68l0.04,1.82l1.74,3.3l0.13,0.87l-0.82,1.16l-1.16,0.74l-0.2,1.29l-0.68,0.92l1.15,2.78l0.98,0.35l3.34,-1.97l2.94,1.13l2.03,0.35l1.91,3.02l1.05,0.45l0.42,0.74l2.45,-0.02l2.02,1.71l-0.93,5.0l-0.6,1.3l-1.71,-0.05l-4.13,2.09l-0.4,0.98l0.22,2.14l-2.16,1.95l-2.51,1.09l-0.4,1.44l0.25,2.13l-0.72,1.02l0.15,1.54l-2.9,1.71l-0.81,1.84l-3.11,0.97l-3.42,2.57l-1.2,-1.63l-0.76,-0.29l-2.59,0.93l-1.23,0.78l-0.33,-0.11l-0.37,-0.87l-0.55,-0.26l-1.18,0.75l-1.36,2.21l-0.12,3.42l-0.63,1.08l-2.01,1.52l-0.47,2.63l-0.86,0.45l-0.09,0.55l0.46,1.25l-1.05,-1.17l-0.71,-0.26l-0.67,0.17l-1.14,1.39l-1.27,2.61l-0.33,1.02l0.08,3.35l-0.46,1.29l-0.84,1.13l-1.17,0.26l-0.81,1.51l-0.42,4.31l0.2,2.79l-0.79,3.1l-0.5,1.32l-1.2,0.7l-4.35,-2.38l-2.47,0.26l0.66,-1.14l-0.53,-1.51l-2.06,-1.52l-0.86,-1.78l-1.97,-0.57l-1.82,-1.32l-2.9,1.1l-0.95,1.06l-2.08,0.67l-1.29,-0.44l-1.59,0.81l-1.72,0.26l-1.05,-1.58l-1.84,-0.51l-3.21,0.31l-2.72,1.46l-0.66,-2.26l-1.15,-0.86l-0.48,-0.84l-1.97,-0.81l-2.96,-0.11l-2.32,-0.77l-0.87,0.22l-0.62,1.76l-4.01,1.3l-2.67,0.31l-2.03,0.7l-0.54,0.74l0.27,1.26l-0.51,0.33l-6.33,1.11l-4.0,-0.66l-1.57,-1.01l-0.97,-0.01l-1.3,0.64l-0.55,-3.04l-0.83,-0.67l-1.23,-0.09l-0.76,0.24l-0.93,1.06l-3.57,1.12l-1.56,1.75l-1.72,1.11l-5.31,1.96l-1.03,0.07l-2.53,-0.84l-2.73,1.48l-0.66,-0.51l-1.65,-0.17l-1.51,0.48l-1.41,-1.01l-0.7,0.0l-0.39,0.34l-1.68,-3.06l0.14,-0.72l3.36,0.16l0.93,-0.48l-0.89,-5.48l-1.4,-0.87l-0.32,-0.69l-0.8,-0.52l-4.42,-0.24l-0.78,0.24l-0.86,0.87l-1.11,0.34l-0.85,0.92l-1.1,-0.81l-2.12,0.08l-2.74,1.01l-3.44,2.43l-2.09,0.11l-1.09,0.46l-0.85,1.04l-0.3,2.63l-1.62,2.5l-2.88,2.12l-0.14,0.51l0.61,1.53l0.02,1.19l-0.72,1.14l-3.85,0.87l-1.98,2.37l-1.61,0.61l-2.78,0.38l-2.94,-0.34l-1.16,-0.59l-1.08,-1.5l0.86,-0.25l0.29,-0.6l-0.36,-2.94l-1.17,-2.7l-0.64,-0.52l-1.32,0.08l-2.71,-0.81l-2.23,-0.27l-2.14,0.52l-3.25,0.17l-2.54,-0.23l-3.15,0.44l-6.44,-0.32l-3.07,-0.67l-2.27,-1.01l-1.93,-3.14l-1.84,-1.33l-1.81,-0.18l-1.57,-0.99l-1.27,-0.25l-4.77,0.17l-1.46,-1.1l-2.02,-0.68l-2.12,-1.56l-0.9,-2.61l0.18,-3.47l-0.27,-1.11l-2.52,-2.68l-1.03,0.05l-1.18,1.1l-1.83,0.63l-0.3,0.75l-0.91,0.4l-1.79,0.03l-1.41,-0.68l0.36,-3.59l-0.75,-1.1l-0.65,-2.31l-0.92,-1.03l-0.2,-3.47l0.42,-0.63l1.49,0.91l2.06,-0.4l1.35,-0.99l0.42,-1.19l-0.17,-0.49l-0.87,-0.58l-3.69,-0.2l-2.05,-1.99l0.61,-0.64l1.89,0.55l1.15,-0.22l3.77,-3.23l1.72,-0.16l1.38,-0.98l2.78,-5.33l0.07,-0.76l-1.19,-1.96l-0.93,-0.37l-0.9,0.29ZM342.94,345.9l-0.07,-0.47l0.06,-0.58l0.99,-1.54l-0.98,2.59Z", "name": "Madhya Pradesh"}, "IN-OR": {"path": "M408.6,584.62l0.87,0.38l0.7,-0.57l0.17,-1.23l0.78,-1.54l0.14,-2.48l0.72,-1.11l0.53,-2.11l-0.29,-1.58l0.84,-1.84l0.76,0.02l2.17,-0.82l1.07,-1.24l1.83,-0.69l1.82,-2.82l4.8,-4.17l-0.13,-1.22l-1.17,-0.95l0.98,-0.36l1.48,-1.56l2.18,-0.42l1.07,-1.66l0.73,0.55l0.81,-0.24l0.83,-3.98l0.54,-0.67l1.08,-0.58l0.29,-0.71l-0.1,-2.84l-0.74,-1.34l-0.25,-1.24l-0.98,-0.82l0.26,-1.36l-0.7,-1.85l0.8,-2.84l-0.22,-0.61l-0.86,-0.66l0.89,-0.73l0.05,-0.95l-0.72,-0.89l-1.26,-0.42l-0.99,-1.74l-1.27,-0.51l0.35,-3.73l-0.41,-1.94l0.27,-2.32l-0.75,-0.79l-1.7,-0.38l-0.94,-1.68l-2.97,-1.76l-0.47,-0.78l0.14,-0.74l1.38,-2.44l0.97,-0.56l1.15,-1.25l1.66,1.78l0.44,1.11l1.07,-0.03l0.97,-1.34l1.85,1.55l0.52,0.87l1.61,0.18l2.16,4.28l0.64,0.59l0.76,-0.22l1.26,-1.7l3.32,0.37l1.51,0.69l1.33,0.07l-0.14,2.05l0.48,0.54l0.74,-0.1l3.64,-2.46l0.2,-0.83l-0.84,-1.09l0.5,-2.36l-0.44,-1.37l-1.49,-0.16l-1.2,0.53l-1.26,-1.05l-2.25,-0.06l-2.22,-1.3l0.69,-3.13l-0.27,-3.86l-0.48,-1.12l0.27,-3.95l-0.1,-0.42l-0.55,-0.27l-0.35,0.21l-0.3,-1.32l-0.82,-0.26l-0.35,-0.87l0.85,-4.04l-0.72,-2.56l-0.04,-3.65l0.23,-0.22l0.93,0.25l0.06,0.91l0.5,0.38l1.85,-0.78l1.59,-2.19l1.54,-1.08l2.51,-4.8l0.2,-1.41l2.78,-0.21l1.21,0.48l1.08,-0.43l4.28,-0.65l3.13,1.97l2.46,-0.12l1.12,-0.71l0.83,-1.15l0.91,-2.52l0.94,-1.38l-0.0,-1.07l0.48,-0.85l2.25,0.71l0.98,-0.23l0.33,-0.74l-0.12,-1.25l-1.59,-1.85l-0.16,-1.47l0.71,-2.42l3.3,-5.53l0.24,-1.66l1.26,0.23l0.4,-1.1l0.9,-0.08l0.47,-0.83l0.2,-2.45l-1.77,-1.6l0.22,-1.51l1.57,-1.15l-0.05,-0.68l-0.65,-1.0l2.18,-3.06l2.99,-1.33l3.65,-3.0l2.69,-0.52l0.96,-0.56l1.06,-1.28l0.29,-0.96l-0.2,-1.52l-0.66,-1.22l2.36,1.1l2.44,3.59l1.03,0.81l1.71,0.29l2.63,1.1l3.55,-0.27l2.45,-1.4l0.45,-1.5l6.57,-0.18l2.05,-0.74l3.38,0.91l1.21,-0.78l1.34,-0.23l2.05,-1.36l0.86,2.95l0.13,1.93l-0.32,1.19l-1.6,2.32l-1.72,3.41l0.2,0.71l0.42,0.13l1.79,-0.54l1.28,0.22l4.01,2.74l3.34,-3.21l2.5,-1.08l0.99,-0.02l3.14,1.77l3.92,1.01l2.38,-0.82l1.13,-0.8l-0.69,1.35l0.07,1.78l0.31,0.54l1.81,0.87l1.44,-0.37l1.24,-0.87l1.91,-2.83l0.46,-2.86l-0.71,-2.31l0.76,-1.24l0.11,-1.23l-0.34,-2.49l-1.3,-1.91l-0.08,-0.67l1.7,-0.51l0.76,-0.96l0.5,-0.16l1.56,1.77l5.7,2.91l2.44,2.6l1.27,0.35l2.8,-0.49l5.68,3.71l0.66,0.99l1.88,0.67l2.06,1.47l1.92,0.22l2.3,1.14l0.67,0.67l0.2,0.8l-0.24,2.33l1.32,1.8l1.16,0.01l1.78,-2.16l0.87,0.07l1.39,0.85l0.72,2.92l0.74,1.0l5.27,1.5l0.12,2.57l1.25,2.13l-3.71,1.5l-4.33,0.33l-2.84,1.48l-1.58,1.12l-4.5,4.76l-1.65,2.44l-0.94,2.78l0.21,2.98l3.72,8.83l-0.15,0.33l-2.19,0.13l-0.26,0.6l0.52,0.68l0.66,0.26l2.2,0.07l0.33,0.76l-0.94,-0.18l-0.86,0.63l0.29,0.63l1.57,0.73l-2.3,1.0l-5.38,4.36l-0.87,1.94l-0.14,2.13l0.59,0.38l1.32,-0.93l0.32,0.19l-0.66,0.93l-2.07,1.29l-0.17,0.9l-1.96,1.18l-3.56,1.2l-0.62,0.5l-0.99,3.01l-2.18,2.22l0.07,0.88l-3.15,-2.37l-2.09,-0.05l-0.98,-0.98l-0.43,-1.27l-0.55,-0.22l-0.38,0.27l-0.24,0.91l0.53,1.5l1.8,1.31l2.24,0.53l0.58,1.03l1.33,0.59l-2.46,1.35l-5.48,2.09l-1.05,-0.38l-0.74,0.47l-5.64,1.45l-1.8,0.97l-1.66,0.07l-2.84,1.15l-0.84,-0.01l-2.11,1.23l-2.56,0.82l-0.12,-0.91l1.47,-0.48l0.08,0.59l0.46,0.02l1.85,-1.08l0.04,-4.51l-0.63,-0.57l-2.59,-0.65l-1.42,0.22l-3.64,3.22l-1.69,0.52l-2.08,2.43l0.02,0.78l-1.97,2.76l0.13,1.11l-0.98,0.61l-0.34,0.66l0.22,0.87l0.6,0.2l-0.13,0.36l0.47,0.55l0.96,-0.7l0.74,-0.13l-3.75,3.53l-6.09,4.87l-2.33,2.95l-0.87,-1.1l-2.14,-0.04l-0.56,0.34l0.14,1.16l-0.34,0.71l-0.9,-0.27l-2.35,1.12l-1.26,1.04l-1.69,0.08l-0.26,0.34l0.17,0.89l-0.33,0.72l0.05,0.87l-1.0,1.23l-1.18,0.2l-0.74,1.7l-1.32,1.09l-4.68,0.75l-2.81,-1.03l-5.13,0.38l-1.2,-1.49l-1.61,-4.45l-1.01,-0.54l-1.01,0.18l-0.5,0.86l0.2,1.32l-0.8,-2.26l-2.99,-3.94l-0.88,0.3l-0.51,1.45l-1.24,0.87l-0.57,1.24l-0.56,-1.57l-1.12,-0.44l-0.41,0.64l0.3,1.21l-0.52,0.7l0.12,0.82l-3.07,-1.25l-1.04,0.21l-0.61,0.54l-0.01,0.6l0.92,1.68l0.72,0.88l0.72,0.22l0.53,0.86l-1.83,0.9l-2.19,1.79l-1.56,0.69l-1.43,-0.77l-1.03,0.31l-3.19,3.91l-0.17,2.09l0.81,1.42l1.02,0.22l-1.53,2.04l0.32,1.52l-0.23,0.78l-0.89,0.07l-1.43,0.66l-1.31,0.07l-0.23,-0.16l0.01,-1.09l-0.37,-0.38l-2.06,-0.8l-0.93,0.12l-0.62,0.52l0.12,1.64l-0.33,0.6l-3.15,1.78l-0.71,1.76l-1.31,-0.43l0.47,-2.32l-0.48,-0.89l-2.17,-2.19l-0.29,-2.87l-2.46,-0.5l-2.38,3.46l-0.09,1.68l-0.5,1.42l0.29,1.04l-1.51,2.72l0.14,0.92l1.34,1.18l-0.86,0.75l0.1,2.0l-1.65,0.16l-0.93,1.4l-1.59,-0.19l-1.48,-1.2l-1.32,-0.39l-1.7,0.2l-1.56,1.08l-2.27,0.35l-3.0,1.96l-2.65,1.29l-1.11,1.17l-1.46,0.31l-2.23,1.63l-1.94,-0.89l-0.68,0.23l-0.52,1.0l-2.17,-0.55l0.13,-1.87ZM525.81,532.38l-0.05,-0.65l0.8,-0.25l0.04,-0.71l-0.49,-0.28l1.13,-1.12l-0.4,-0.64l0.3,-0.48l1.49,0.43l1.55,-1.12l1.08,-0.07l0.05,0.45l-1.37,1.35l-0.86,-0.66l-0.66,0.66l-0.63,0.11l0.75,1.39l-2.7,1.6Z", "name": "Orissa"}, "IN-TN": {"path": "M249.84,785.28l-0.33,-0.95l0.1,-1.86l1.6,0.49l1.48,-0.2l1.11,-1.27l1.32,-0.6l0.3,-1.05l1.07,-0.88l1.68,0.16l0.34,0.48l0.05,1.28l0.84,0.64l5.71,-0.26l2.06,0.51l0.81,-0.69l0.4,-2.03l2.08,-2.99l2.57,-0.44l2.02,1.94l0.79,0.31l0.61,-0.27l0.51,-1.19l2.74,-0.17l1.14,-0.44l2.26,1.02l2.41,-0.26l1.0,-0.81l1.68,-3.48l0.65,-0.34l3.83,-0.43l1.03,-0.61l3.07,-4.27l0.07,-0.85l-1.01,-1.75l-1.33,-0.89l-1.06,-0.22l-5.49,-0.07l-0.44,-1.25l2.84,-2.25l1.44,-2.2l0.47,-2.63l-0.45,-0.65l-0.84,0.03l0.12,-0.69l-0.38,-1.02l1.14,-3.22l2.33,-0.11l2.46,-1.36l-0.16,-1.26l1.0,-1.73l0.33,-1.31l1.11,-0.38l1.66,-0.0l1.7,1.66l1.0,0.45l0.79,-0.3l0.66,-1.11l0.44,0.08l2.35,1.72l2.91,0.96l1.35,1.89l2.47,1.79l2.53,0.3l0.89,-0.42l1.33,-1.4l0.29,-1.48l0.98,0.03l1.45,-1.18l1.06,-2.6l1.03,-4.37l0.4,-0.53l1.29,-0.38l0.6,-0.96l3.87,-0.67l0.65,1.17l0.79,0.15l0.91,-0.67l0.3,-1.05l0.55,-0.02l0.97,0.23l0.51,0.92l2.1,0.65l2.72,-0.3l0.76,-0.54l2.09,-2.71l1.31,0.59l0.57,-0.08l2.15,-2.17l1.18,-0.62l0.42,-0.71l-0.07,-0.91l0.47,-1.75l0.53,-0.28l1.75,0.15l1.06,1.37l0.63,0.35l2.87,-0.38l0.18,1.3l1.04,0.76l2.31,-0.02l0.42,-0.96l-1.05,-0.98l-0.01,-0.36l1.61,0.07l4.38,-2.25l0.44,-0.72l0.05,-1.3l2.65,-1.83l-0.01,-0.75l-0.67,-0.64l1.64,0.69l-0.38,1.1l0.47,0.56l3.19,0.35l1.48,-0.39l1.4,1.36l0.73,-0.21l0.37,2.77l-0.32,2.03l-0.47,0.24l-0.18,1.0l0.58,0.53l-0.78,1.59l0.16,1.33l-0.83,1.23l-1.04,9.49l-2.92,8.93l-1.83,3.47l-1.09,0.85l-1.06,1.81l-2.53,1.85l0.16,0.59l0.84,0.04l-3.55,5.53l-0.05,1.49l-0.3,0.47l-1.72,1.18l-0.44,-0.37l0.52,-1.02l-0.5,-0.57l-1.34,0.11l-1.1,-0.87l-0.45,0.2l-0.56,0.93l0.7,1.08l0.11,0.84l0.4,0.31l-0.32,1.19l0.17,0.58l1.13,0.75l2.01,0.21l-0.67,1.5l-1.05,6.13l1.05,4.71l0.4,0.35l0.61,-0.29l0.1,0.95l-2.0,0.22l-2.44,2.58l0.36,0.58l0.4,-0.05l2.7,-2.02l1.33,0.48l0.06,2.28l0.62,3.2l-0.18,5.1l-0.92,-0.09l-0.81,0.43l-1.49,-0.42l-0.49,0.56l0.19,0.5l-0.54,-0.02l-0.42,0.61l0.15,1.36l1.28,0.83l1.44,0.41l0.03,0.97l1.52,1.03l0.49,13.03l-0.26,2.66l-1.42,0.34l-0.31,-0.79l-0.71,-0.39l-3.95,-0.65l-0.57,0.16l-0.15,-0.37l-0.92,-0.24l-1.62,0.14l-0.37,0.6l-1.79,0.33l-2.01,-0.48l-3.57,2.3l-0.57,0.81l-0.07,0.98l-0.83,0.53l-0.21,0.7l0.26,2.63l0.76,1.39l-2.05,1.82l-1.8,2.46l-1.51,2.81l-1.66,1.67l-1.79,2.49l-0.15,0.98l-1.21,1.73l-0.77,3.4l0.09,0.95l0.61,1.22l3.32,3.21l1.25,0.55l2.2,0.29l-1.72,0.32l-1.86,-0.59l-2.21,-0.03l-1.0,0.68l-2.02,0.14l-2.57,0.91l-1.52,0.99l-1.66,0.14l-1.25,1.21l-5.65,0.86l-2.39,1.3l-4.3,3.53l-1.8,2.81l-0.65,3.87l0.32,0.48l-1.12,2.25l-0.31,0.0l-0.34,0.62l0.79,1.81l-0.42,3.13l-1.41,1.59l-0.66,2.01l-1.71,0.61l-5.96,3.6l-1.22,1.49l-5.3,1.31l-1.05,0.76l-0.09,0.97l-1.21,0.15l-1.8,-0.34l-4.2,-1.29l-0.71,-0.71l-1.86,-0.93l-2.94,-2.68l1.1,-0.45l0.27,-1.46l1.29,-1.9l-0.16,-1.64l1.05,-0.34l1.18,-1.84l-0.4,-1.16l-2.42,-2.44l-0.23,-1.72l1.65,-2.45l0.62,-2.26l-0.4,-0.73l-1.24,-0.88l-1.07,-2.96l1.19,-0.85l0.75,-1.07l2.53,-7.34l0.84,-1.38l0.92,-2.56l1.1,-1.19l-0.19,-1.38l-1.73,-2.54l-1.26,-0.19l-1.8,0.71l-1.71,-0.93l1.56,-5.5l-0.33,-2.9l1.03,-2.56l-1.11,-3.46l1.54,-3.34l0.06,-1.34l-0.72,-0.72l-0.37,-1.59l-0.96,-1.63l-0.72,-0.66l-1.08,0.13l-2.94,1.32l-3.15,2.41l-1.14,-0.38l-2.36,-2.12l-0.06,-1.8l-0.9,-1.93l0.55,-3.53l-0.17,-2.56l1.09,-0.6l0.57,-0.74l0.43,-3.33l-0.23,-0.65l-0.94,-0.6l-0.87,-1.77l-3.86,-1.64l-0.66,-0.88l-0.13,-0.87l0.37,-1.13l1.9,0.19l0.65,-0.91l-0.74,-0.92l-0.83,-2.15l-0.87,-0.98l0.45,-1.93l-0.71,-0.36l-1.63,0.94l-2.99,0.25l-1.41,-0.46l-1.27,0.3l0.6,-1.1l2.2,-1.72l0.28,-0.77l-0.18,-0.49l-0.71,-0.39l-1.01,-1.28l-1.19,-0.47l-1.21,-0.95l-4.71,-1.32l-0.24,-0.32ZM341.41,854.52l0.89,-0.01l1.99,-1.02l0.32,0.12l-0.32,0.93l0.54,1.1l-1.22,-0.66l-2.2,-0.45ZM352.97,822.23l0.25,0.38l-0.78,-0.16l0.52,-0.21ZM353.99,822.77l0.71,0.09l0.49,0.17l-1.19,-0.25Z", "name": "Tamil Nadu"}, "IN-AN": {"path": "M786.03,923.93l0.01,-2.47l0.71,-1.66l1.1,-0.13l0.59,-0.57l1.24,-0.26l1.04,-0.8l0.96,0.7l0.57,1.41l0.32,2.29l1.27,2.41l0.03,1.46l-1.11,2.56l-0.1,1.29l0.41,0.66l-1.31,0.13l-0.67,1.5l0.01,-1.41l-0.81,-0.89l0.05,-0.68l-0.44,-0.46l-0.29,-1.55l-0.7,-0.41l-0.89,-2.01l-1.06,-0.91l-0.92,-0.2ZM785.02,916.8l-0.54,-1.41l0.47,-1.37l1.32,-0.39l0.58,-0.69l0.93,0.88l-0.04,0.59l-2.72,2.39ZM782.63,894.17l0.29,0.95l-0.0,0.53l-1.15,-1.01l0.86,-0.47ZM780.5,891.72l-0.4,-0.52l-0.31,-1.96l1.06,-1.6l0.69,-0.13l0.06,0.48l-0.79,1.64l0.65,1.74l-0.29,-0.16l-0.66,0.5ZM781.79,892.53l-0.6,0.48l-0.41,0.67l-0.01,-0.52l1.02,-0.63ZM777.4,894.02l0.09,1.05l1.22,0.8l0.7,1.14l-0.03,0.45l-0.93,-0.4l-1.7,0.32l-0.12,-1.23l-1.17,-0.29l0.37,-1.49l1.57,-0.36ZM770.19,887.29l-1.18,-0.38l-0.98,-1.26l-0.11,-1.42l0.4,-0.73l0.16,2.27l0.42,0.72l1.29,0.81ZM768.4,766.2l-0.53,-0.93l0.37,-1.58l0.2,0.17l-0.27,1.01l0.23,1.33ZM751.49,774.12l0.88,-1.81l1.07,1.76l0.79,-0.06l0.11,-0.27l0.28,-2.36l-0.24,-1.3l0.63,-1.54l-0.05,-3.07l0.91,-2.0l0.45,0.12l0.42,-0.38l-0.13,0.98l0.73,0.48l1.83,-0.55l0.47,-0.81l-0.31,-1.49l-0.55,-0.41l0.77,-0.26l0.05,-0.92l-0.62,-0.6l-1.27,-0.21l-0.37,-1.1l0.12,-7.3l0.85,-1.29l0.61,-0.06l0.41,-0.65l-0.14,-0.45l-0.94,-0.64l-0.3,-3.47l0.61,-0.75l0.78,-0.04l0.52,-0.68l0.41,-1.58l0.01,-1.58l0.64,-1.33l-0.17,-0.58l-0.62,-0.37l0.62,-2.2l0.77,-1.37l-0.52,-0.97l0.18,-1.42l0.66,-0.54l-0.55,-3.24l1.34,-1.74l0.16,-1.78l1.42,-1.61l0.17,-1.04l1.5,0.01l0.36,-0.57l0.61,-0.13l0.39,0.69l-0.32,1.01l0.14,3.07l0.36,0.22l-0.97,1.23l-0.37,0.19l-0.32,-0.4l-0.65,-0.09l-0.59,0.8l0.51,1.08l1.25,0.22l1.33,1.3l-0.64,1.07l-0.13,2.9l-0.46,2.09l-0.32,0.53l-0.73,-0.2l-0.43,0.42l0.01,-1.38l-0.39,-0.32l-1.19,0.78l-0.29,1.52l0.64,1.07l-0.98,-0.16l-0.37,0.28l-0.91,2.21l0.36,0.65l0.53,0.22l0.74,-0.35l1.04,1.19l0.14,1.72l-0.24,0.98l0.95,1.63l-0.54,2.9l0.5,1.29l0.04,2.05l-1.01,1.21l0.24,0.65l-0.74,0.57l-0.86,-0.65l-0.46,0.06l-0.03,0.59l-1.15,-0.04l-0.43,0.4l0.65,1.8l1.06,0.71l0.12,0.47l-0.83,0.84l0.68,1.2l-0.59,0.69l0.3,1.14l-1.88,2.04l0.04,0.7l-0.77,0.79l-1.34,0.41l-0.13,0.54l0.54,0.76l-1.11,1.91l-0.1,3.33l0.4,0.4l0.63,-0.35l0.24,-1.5l0.24,-0.04l0.31,0.28l0.02,1.58l-1.11,4.78l-1.06,0.35l-1.07,1.13l-0.28,0.88l0.14,1.02l1.12,0.1l0.35,-0.4l0.06,-0.84l0.63,-0.36l0.09,-0.39l0.16,1.37l-0.54,0.66l-0.51,2.56l-1.5,-1.08l-0.07,-0.68l-0.92,-0.79l-0.1,-0.4l0.72,-0.38l0.02,-0.66l-0.9,-0.46l-0.4,-1.88l-0.33,-0.31l-0.95,-0.05l0.1,-3.11l-1.16,-0.79ZM766.4,766.0l0.11,0.62l0.39,0.73l-0.4,-0.42l-0.1,-0.93ZM766.14,717.57l0.26,-0.08l0.11,0.23l-0.14,-0.04l-0.24,-0.1ZM764.5,769.92l0.71,-0.98l0.67,-0.02l1.15,3.22l-0.42,-0.93l-2.11,-1.29ZM758.46,855.43l1.65,1.52l-0.05,1.49l-0.73,0.79l-1.73,-0.53l-0.46,-1.12l-0.04,-0.78l0.91,-0.49l0.44,-0.89ZM756.86,735.74l-0.0,-0.0l0.0,0.0l-0.0,0.0ZM756.0,743.21l0.29,-3.46l0.53,-0.59l0.3,0.45l-0.2,2.01l-0.92,1.58ZM754.65,789.3l-1.08,-0.41l0.1,-0.42l0.79,-0.21l0.37,-0.63l-0.25,-1.63l0.26,-0.56l1.0,1.26l-0.55,1.24l0.54,0.89l-1.17,0.46ZM746.83,808.06l1.1,-0.64l0.47,-1.64l1.46,-0.96l1.09,-0.24l0.89,1.13l0.95,5.03l-1.65,1.72l-0.03,1.18l0.75,0.47l-1.33,1.68l-0.74,-0.18l-1.27,-0.94l-0.69,-0.03l-0.86,0.53l0.62,-0.89l0.47,-1.76l-0.28,-0.78l-0.88,-0.81l-0.09,-2.85ZM751.89,783.09l0.03,-0.27l0.15,0.08l-0.18,0.2ZM742.26,782.71l0.82,0.26l-0.03,0.97l-0.62,-0.14l-0.17,-1.09Z", "name": "Andaman and Nicobar"}, "IN-AP": {"path": "M264.69,675.87l0.59,-0.76l0.07,-1.39l0.36,-0.6l2.8,1.59l2.62,0.61l1.43,-0.37l0.97,0.82l0.73,-0.01l1.54,-1.37l1.31,-2.8l0.15,-1.56l-0.84,-4.18l-0.77,-0.9l-1.69,-0.61l-0.35,-2.03l-1.24,-2.4l0.68,0.17l0.39,-0.54l-0.25,-3.31l0.26,-0.71l0.58,-0.39l1.35,0.21l0.43,-0.69l-1.06,-2.44l-0.71,-0.66l0.22,-3.36l1.07,-1.31l2.59,-1.37l1.85,-0.28l2.42,0.6l4.32,0.13l1.56,-1.78l-0.11,-5.3l0.29,-2.68l1.74,-1.65l0.23,-0.94l-0.19,-0.53l-0.65,-0.77l-1.33,-0.57l-3.05,-0.09l-2.95,-0.77l-0.81,-0.99l3.28,-2.1l0.59,-1.33l1.2,-0.69l0.63,-1.85l-0.17,-0.57l-0.53,-0.26l0.62,-0.61l0.01,-0.5l-1.05,-1.21l0.15,-1.25l0.6,-1.07l0.04,-4.5l0.99,-2.39l-1.06,-2.3l-0.29,-1.52l-1.7,-0.89l0.14,-1.28l3.71,-4.76l0.84,-1.7l1.36,-0.46l0.8,-1.28l1.71,-0.45l1.19,-2.36l-0.1,-0.48l-0.75,-0.34l-2.14,0.93l-0.19,-0.69l-0.45,-0.3l-2.59,0.04l-2.16,-1.31l1.48,-2.39l1.78,-0.93l0.36,-0.49l-0.05,-1.04l-0.88,-1.04l0.17,-0.39l3.37,-2.8l0.33,-0.72l-0.5,-2.65l-1.6,-2.0l1.29,-0.9l-0.29,-2.04l-0.67,-1.77l0.45,-1.86l-0.92,-0.71l0.14,-0.69l-0.41,-0.76l-1.22,-0.85l1.13,-1.1l0.45,-2.51l1.0,-1.27l2.52,-0.58l0.7,-0.58l0.49,-1.38l0.0,-1.97l0.53,-0.34l1.61,-0.16l1.72,-3.28l2.15,-0.78l0.23,-0.36l-0.34,-1.09l-1.84,-1.47l-0.22,-1.32l-0.91,-0.24l-0.46,-1.07l-0.79,-0.01l-0.36,-1.59l2.55,-2.32l-0.08,-1.17l0.67,-2.12l1.1,-1.47l-0.09,-0.62l-0.52,-0.3l1.17,-0.67l1.93,0.21l0.99,1.37l0.94,0.51l3.82,0.06l0.7,-0.84l-0.2,-2.94l1.1,-2.01l0.66,-0.49l1.6,-0.35l0.53,-0.52l0.29,-3.48l0.9,-2.06l1.51,-1.08l0.48,-1.2l-0.25,-0.8l-1.04,-0.7l-1.01,-2.43l-0.11,-1.01l1.12,0.56l0.9,1.36l2.14,0.86l1.88,-0.79l1.03,0.35l1.4,-0.06l2.99,1.32l2.05,-0.07l1.73,1.25l1.07,2.89l1.36,0.62l0.25,0.68l1.79,1.04l1.99,-0.29l0.95,-1.2l1.14,-0.51l2.17,-0.33l0.97,0.36l0.92,1.25l3.18,0.53l1.67,1.34l4.21,0.15l0.63,0.59l0.8,0.23l0.8,-0.43l0.38,-1.24l0.6,-0.33l2.94,-1.04l1.61,0.26l2.07,2.63l1.96,0.76l0.99,1.71l-0.24,3.47l-0.86,1.68l0.37,2.75l-1.36,0.99l-1.06,2.07l0.34,1.38l2.14,0.09l0.69,3.21l-0.02,1.49l-0.09,0.45l-1.23,1.17l-0.02,0.58l2.7,1.38l1.76,1.5l0.97,1.3l2.69,0.3l2.3,-0.25l1.3,-0.53l0.65,2.12l1.01,1.62l0.57,0.07l0.54,-0.54l0.85,0.72l2.42,-0.54l2.78,1.95l3.43,4.07l2.24,4.82l0.1,0.39l-1.3,0.98l0.21,1.46l0.85,0.41l1.52,-0.16l0.8,-1.46l0.32,0.3l0.19,1.39l0.64,0.71l2.5,-0.43l-0.56,1.11l-0.13,1.27l1.26,3.31l0.2,3.88l0.99,1.96l0.73,0.43l0.68,-0.01l3.28,-1.92l2.72,1.08l4.53,-0.1l2.71,0.61l0.54,-0.36l0.41,-0.86l2.25,0.87l2.32,-1.68l1.53,-0.34l1.16,-1.21l2.62,-1.27l2.95,-1.92l2.16,-0.31l1.52,-1.07l1.35,-0.19l1.09,0.31l1.49,1.22l2.48,0.09l0.83,-1.36l1.55,-0.1l0.49,-0.61l-0.17,-1.85l0.74,-0.51l0.17,-0.52l-1.52,-1.91l1.52,-2.75l-0.28,-1.1l0.48,-1.33l0.06,-1.57l1.95,-3.0l1.51,0.29l0.18,2.62l2.61,2.97l-0.52,1.6l0.12,0.91l0.46,0.47l1.33,0.37l0.44,0.03l0.56,-0.48l0.51,-1.52l3.2,-1.82l0.51,-1.01l0.02,-1.54l0.74,0.0l1.56,0.66l0.07,1.24l0.76,0.46l1.63,-0.08l1.47,-0.67l0.98,-0.1l0.56,-0.58l0.14,-0.85l-0.35,-1.36l1.58,-2.2l-0.21,-0.73l-1.06,-0.17l-0.66,-1.2l0.16,-1.29l2.94,-3.66l0.7,-0.12l0.81,0.62l0.73,0.08l1.77,-0.8l2.21,-1.8l1.98,-1.03l0.06,-1.12l-0.63,-0.87l-0.79,-0.25l-1.37,-2.23l0.86,-0.26l3.12,1.32l0.82,-0.81l-0.07,-0.7l0.43,-0.9l-0.25,-0.94l0.63,1.68l0.95,0.15l0.99,-1.63l1.13,-0.74l0.49,-1.38l2.55,3.51l0.75,2.17l0.48,0.59l0.48,0.05l0.47,-0.47l-0.04,-1.94l0.98,0.08l1.57,4.35l1.49,1.81l3.28,0.09l2.2,-0.35l2.93,1.04l5.54,-1.07l1.09,-1.13l0.62,-1.56l0.98,-0.06l1.31,-1.51l0.42,-1.9l-0.15,-0.67l1.43,-0.02l1.38,-1.1l2.15,-1.02l0.56,0.31l0.53,-0.11l0.65,-0.92l-0.09,-1.22l0.85,-0.03l-0.54,1.48l0.68,1.11l0.49,0.03l-0.47,1.04l-2.23,3.0l-1.15,0.57l-2.77,4.48l-2.82,2.96l-0.73,1.38l-1.6,1.1l-1.15,1.5l-1.5,0.86l-1.27,0.17l-0.2,0.99l0.68,0.39l-3.6,3.35l-1.01,2.48l-0.96,0.74l-9.31,4.2l-5.02,3.04l-1.05,0.92l-0.79,1.44l-2.3,1.96l-0.27,-0.36l-0.72,0.17l0.02,1.59l-0.64,0.52l-0.41,1.5l-2.25,2.68l-1.09,0.75l-0.71,-0.8l-1.21,0.21l0.09,1.05l1.36,0.64l-1.18,0.69l-0.95,-0.02l-0.33,0.64l0.63,0.87l-4.38,1.88l-5.68,3.7l-0.6,-0.27l-1.36,0.9l-3.72,1.43l-7.5,4.53l-1.63,2.1l-1.66,1.0l-2.23,2.57l-1.51,3.41l0.08,1.5l0.46,0.72l1.58,0.79l1.39,-0.02l-0.85,4.85l-0.72,1.56l-0.34,-0.21l-0.64,0.36l0.4,1.35l-1.04,0.36l-1.68,1.64l-3.44,1.81l-1.69,0.26l-1.26,1.15l-1.04,0.04l-0.51,0.6l-2.47,0.43l-3.09,1.68l-1.37,0.3l-1.56,-0.75l-2.35,-0.2l-0.15,-0.58l-0.72,-0.39l-0.52,-0.02l-0.33,0.68l-1.09,-0.27l-1.67,0.39l-0.14,-0.58l-0.74,-0.5l-1.17,0.41l-1.79,0.07l-1.92,1.15l-0.53,0.79l0.21,1.29l-0.76,0.97l-2.28,6.46l-0.11,1.95l-3.74,2.84l-0.92,1.13l-0.06,0.8l0.57,1.13l-2.57,-2.06l0.0,-4.01l-0.39,-1.55l-0.36,-0.29l-0.5,0.52l-0.41,-0.01l-0.14,0.47l0.47,1.18l-0.03,2.41l-1.75,4.39l-0.16,-2.66l-0.88,-1.48l-0.76,-0.46l-2.81,-0.47l-0.67,0.59l-1.07,0.05l-1.2,0.52l-0.67,-0.32l-3.79,2.32l-1.37,0.39l-3.56,3.09l-2.52,5.95l0.09,0.92l-2.32,3.04l-1.15,2.69l-0.28,3.27l-0.91,3.59l0.05,2.53l1.66,9.47l0.36,0.68l1.24,1.01l0.53,1.67l-0.88,0.68l-0.09,0.67l0.52,0.29l0.92,-0.16l-0.53,2.8l-0.02,3.74l-1.28,2.53l-1.34,0.32l-1.03,0.97l-0.28,0.8l0.6,0.58l0.7,-0.18l1.35,-1.13l-0.31,1.02l0.08,1.41l0.74,3.85l3.06,7.11l-0.1,1.25l-0.75,1.85l0.88,2.52l-2.65,-3.71l-0.68,0.29l-0.0,1.53l-1.2,-0.83l-0.32,1.26l-1.21,1.55l0.16,0.9l1.44,1.97l-1.28,-0.67l-0.81,0.14l-0.23,0.82l0.76,0.9l-1.54,0.67l-0.98,0.96l-0.37,0.8l-0.0,1.1l-4.14,2.13l-1.51,-0.11l-0.43,0.24l-0.2,1.13l0.99,1.03l-1.6,-0.04l-0.56,-0.31l-0.13,-1.26l-0.58,-0.5l-2.98,0.35l-1.45,-1.63l-2.26,-0.23l-1.14,0.77l-0.55,3.0l-1.21,0.66l-1.92,2.04l-0.89,-0.53l-1.16,0.1l-2.64,3.15l-2.32,0.28l-1.86,-0.57l-0.43,-0.86l-1.41,-0.39l-1.2,0.29l-0.34,1.11l-0.43,0.35l-0.49,-0.96l-0.74,-0.38l-4.19,0.72l-0.84,1.11l-1.18,0.3l-0.67,0.81l-1.1,4.55l-0.94,2.36l-1.21,0.96l-0.58,-0.31l-0.63,0.22l-0.3,1.75l-1.22,1.28l-1.26,0.29l-1.25,-0.27l-2.28,-1.65l-1.18,-1.67l0.49,-1.04l-0.22,-1.64l1.12,0.41l1.29,-0.57l0.58,-0.55l0.25,-1.16l2.34,1.53l1.22,-0.06l0.18,-0.61l-0.23,-0.64l-0.55,-0.73l-0.93,-0.53l1.23,-1.78l0.45,-1.4l1.33,-1.04l0.36,-1.9l1.04,-1.54l0.39,-2.6l-0.23,-1.04l-0.44,-0.45l-1.33,0.66l-1.64,-1.13l-1.52,-0.39l-0.68,0.28l-0.85,-1.4l0.29,-1.11l0.25,-5.76l-2.41,-0.54l-1.07,0.43l-1.06,-0.1l-1.4,-0.36l-1.79,-1.79l-1.64,0.09l-0.25,-0.55l1.04,0.02l0.45,-0.71l-0.69,-1.44l0.46,-1.37l-0.59,-2.04l-2.02,-1.06l-0.89,0.52l-1.23,-0.07l-0.99,0.93l-0.07,-0.92l0.96,-1.22l-0.02,-1.23l-0.48,-0.53l-1.02,0.4l-0.82,1.05l-0.97,-0.53l-1.68,-0.25l-0.5,0.21l-0.53,0.99l0.57,1.25l-1.57,1.32l-1.31,0.57l-0.59,1.23l-0.75,-0.55l-1.23,0.19l-0.52,0.4l-0.14,0.76l-1.03,0.09l-1.67,1.05l-1.15,0.02l-0.52,-2.73l-1.41,-1.75l-2.98,-0.12l-1.04,-0.57l-1.02,-0.01l-0.97,-0.78l-0.94,0.37l-0.52,-0.92l-0.7,0.21l-0.38,1.14l-0.84,0.61l0.15,0.54l0.66,0.48l0.16,1.57l-1.79,-0.15l-0.65,0.76l-1.27,-1.08l-0.39,0.07l-0.3,0.59l-0.17,-1.78l1.47,-2.02l0.17,-0.7l-2.33,-3.22l0.13,-1.79l-2.1,-2.47l1.13,-0.73l1.21,0.58l0.81,3.14l2.72,1.07l0.99,0.93l2.32,-0.02l1.96,-0.48l1.11,0.29l1.12,2.0l0.1,1.09l2.11,0.75l0.59,-0.3l0.14,-0.59l-0.49,-1.0l0.03,-1.08l-0.98,-0.86l-0.78,-1.6l0.98,-1.6l-0.1,-0.47l-0.56,-0.36l0.9,-0.86l2.24,-0.25l0.65,-0.42l0.16,-0.69l-0.4,-1.48l0.3,-1.18l-0.34,-0.55l-1.16,-0.23l-0.64,-0.92l-1.06,-0.27l-0.62,0.36l-0.25,0.64l0.8,2.01l-1.15,-1.29l-1.73,-0.59l-0.11,-0.7l-0.49,-0.42l-2.21,0.23l-1.61,-0.55l-0.95,0.55l-0.84,1.16l-0.27,1.81l-4.51,-0.75l0.44,-1.18l-1.73,-1.24l-0.23,-1.08l0.27,-0.48l1.22,-0.27l0.76,-1.39l-0.09,-0.76l-0.92,-0.84l-1.56,-0.07l-0.81,0.33l-1.0,-1.83l-1.09,-0.58l-0.47,-1.96l0.82,-2.71l-0.07,-1.53l0.79,-0.32l0.34,-0.53l0.68,-4.44l-0.77,-0.97l-2.24,-0.88ZM433.84,620.88l0.17,-0.38l-0.47,-0.55l-1.43,0.9l-0.23,0.47l0.64,0.66l2.25,0.65l0.99,-0.27l0.73,-1.0l-0.06,-0.69l-0.49,-0.46l-0.91,0.66l-1.19,0.01ZM368.9,723.15l3.01,0.37l0.36,0.27l-3.63,-0.13l0.26,-0.51ZM392.61,649.39l1.24,0.72l1.36,1.23l-0.92,0.46l-0.54,-0.32l-1.33,-1.56l0.2,-0.53Z", "name": "Andhra Pradesh"}, "IN-TR": {"path": "M717.67,412.64l-0.65,-0.93l-0.85,-0.54l-0.68,0.03l-0.65,0.63l-0.23,2.44l0.57,2.74l-0.06,0.54l-0.45,-0.12l-0.61,-0.81l-0.37,-1.24l-1.03,-5.9l0.59,-1.13l-0.93,-0.66l-0.88,-2.95l-1.06,-0.99l-1.73,-4.15l0.05,-0.4l0.82,-0.19l0.29,-0.86l-0.43,-0.72l-0.77,-0.33l-0.07,-0.39l0.16,-0.36l1.69,-0.62l0.97,-2.38l-0.28,-2.65l1.62,-2.42l1.36,0.06l0.65,-0.3l0.79,-3.37l4.46,0.5l2.13,-0.37l1.01,-1.0l0.52,-2.43l0.74,1.43l1.5,0.46l1.08,-0.84l-0.14,-2.07l1.8,0.37l0.24,1.14l1.12,1.01l0.62,0.15l0.7,-0.29l1.07,-3.6l-0.23,-2.31l1.73,0.78l0.54,-0.4l-0.61,-1.47l3.03,0.1l1.08,-0.51l0.67,-0.99l0.07,-3.38l0.92,-0.64l2.0,1.31l0.19,1.75l0.72,1.63l-0.16,1.4l-1.03,2.69l0.62,0.74l1.84,0.3l0.73,1.3l0.1,2.73l-0.33,2.19l0.42,1.35l-0.55,1.87l0.21,2.41l-0.73,0.03l-0.79,1.0l-0.32,1.9l0.2,1.67l-0.69,-0.15l-0.51,0.3l-0.6,1.69l-0.45,-1.43l-0.61,-0.91l-0.46,-0.16l-1.47,0.55l-1.5,1.91l-0.91,0.48l-2.28,-2.56l-1.1,0.12l-0.24,2.55l0.81,3.79l-0.04,1.12l-0.97,1.4l-2.69,1.48l-1.81,2.75l-0.6,1.79l1.57,5.86l-1.05,0.63l-0.6,1.26l-0.91,0.89l-1.59,0.51l-1.08,-0.01l-0.53,0.84l-0.37,-0.53l-1.18,-0.4l-0.36,-0.51l-0.1,-1.09l-0.43,-0.32l-1.19,-4.38l-0.54,-0.55l-0.07,-0.63l-0.43,-0.22Z", "name": "Tripura"}, "IN-AR": {"path": "M727.36,274.74l-0.62,-1.27l-2.25,-0.75l-1.77,-2.04l-0.63,-2.3l0.17,-1.09l1.38,-1.87l0.22,-1.28l3.95,-0.13l2.71,1.1l3.56,0.14l1.39,-0.61l1.72,-1.71l1.01,-0.5l3.83,-0.02l0.37,-0.53l-0.09,-1.07l1.06,2.04l0.62,0.37l0.5,-0.13l0.54,-0.87l0.59,0.49l0.55,-0.04l0.85,-1.64l0.39,0.72l0.65,0.34l3.1,-1.35l1.28,-1.18l1.97,-0.69l1.9,-1.8l0.51,-2.58l-0.5,-0.64l-1.47,-0.43l1.15,-1.82l2.62,-1.84l1.03,0.45l1.55,-0.52l1.69,-1.95l1.76,-0.71l1.24,-1.28l2.81,-1.91l1.46,-2.07l0.6,-2.32l1.84,-1.44l6.87,-4.3l3.12,-0.23l2.29,0.22l1.58,-0.99l0.71,0.3l0.81,-0.14l2.24,-1.87l3.52,-1.53l0.33,-1.17l1.78,-0.1l1.59,-0.97l3.25,-1.09l1.23,-1.08l2.5,-0.23l2.96,-3.02l0.01,-0.58l-2.19,-2.29l0.36,-1.16l1.48,-0.19l1.11,-1.53l0.6,-0.3l2.38,-0.12l1.39,-0.42l2.54,-3.14l0.72,-0.07l2.06,1.06l1.8,2.16l-0.17,1.17l0.66,0.67l2.54,-0.06l4.07,1.52l0.43,-0.15l-0.23,-0.8l1.58,0.39l2.15,1.1l2.51,0.45l0.72,1.13l1.93,0.3l0.45,-0.44l-0.2,-1.79l0.72,-0.57l1.81,-0.09l1.12,0.28l0.48,-0.28l0.36,-1.24l0.67,1.6l2.25,-0.39l0.22,-1.1l-0.31,-1.27l1.15,-0.39l0.21,-0.82l0.66,-0.09l1.65,0.69l2.17,0.34l0.42,-0.22l0.93,-1.86l-0.03,-2.09l1.15,-0.32l2.24,0.9l2.73,-1.16l5.47,-0.31l0.94,2.55l1.97,1.67l1.4,-0.02l2.08,-1.11l0.36,0.57l-1.13,2.01l-3.49,1.07l-0.63,0.41l-0.65,1.26l0.64,2.74l0.61,0.25l2.59,-1.66l1.71,-0.53l0.58,1.89l2.46,1.23l0.08,0.91l1.18,0.7l0.56,2.05l2.02,2.58l0.6,2.92l-2.74,2.04l-2.04,1.1l-0.15,0.56l0.83,1.34l-1.06,1.29l0.04,0.55l1.03,0.95l0.99,2.16l0.53,0.2l0.76,-0.58l0.45,-3.4l0.84,-1.52l1.46,-0.72l2.38,0.61l2.09,2.27l2.2,1.38l1.28,1.55l0.59,2.63l2.37,0.85l3.42,-1.46l0.92,0.23l2.0,1.66l0.8,0.21l0.66,1.15l2.77,1.85l0.1,0.6l-0.87,1.91l-0.18,1.48l0.49,0.95l1.42,1.47l0.17,0.72l-0.79,1.9l0.03,1.18l-0.7,0.34l-0.46,-0.84l-0.74,-0.19l-1.48,0.51l-2.77,2.73l-2.06,1.44l-0.27,0.83l-2.08,0.81l-1.02,1.26l-2.24,1.7l-0.77,1.39l-0.0,0.98l0.8,2.32l-0.35,1.45l0.18,0.76l6.72,8.57l0.2,1.05l0.81,0.73l-0.34,0.96l-1.06,-0.38l-1.09,0.3l-0.98,-0.87l-4.19,-1.87l-0.52,-0.42l0.5,-1.38l-0.22,-0.64l-1.04,-0.87l-1.45,-1.95l-2.32,-1.06l-1.15,0.12l-0.8,0.69l-2.05,-0.49l-1.22,1.56l-0.94,0.38l-3.16,-0.19l-8.17,1.35l-2.27,0.98l-1.97,1.39l-2.32,3.7l-1.42,1.63l-3.49,1.13l-2.36,3.2l-2.21,0.47l-1.16,1.96l-1.65,0.03l-1.5,0.46l-2.38,3.54l-4.38,1.68l-0.65,-2.41l0.28,-2.02l-1.15,-1.62l0.08,-0.57l0.86,-1.12l0.18,-1.79l-0.4,-1.17l-1.3,-0.89l0.03,-0.74l2.24,-0.17l3.03,-2.24l2.08,-0.89l1.32,-1.31l0.89,-2.35l1.07,-0.6l3.2,1.39l4.93,-1.84l2.11,-0.03l1.11,0.35l0.89,-1.03l1.04,-0.45l0.4,-0.9l1.19,-0.94l0.02,-1.73l-1.11,-1.43l-1.54,0.04l-1.04,1.08l-0.29,-1.15l0.49,-1.32l-0.31,-2.08l-0.56,-0.76l-2.03,-1.4l-0.74,-3.0l4.9,-6.49l1.13,-2.28l-0.47,-0.76l-7.92,0.07l-1.46,0.45l-3.93,2.51l-4.03,1.0l-1.16,-0.06l-2.12,-0.75l-1.82,1.0l-9.17,3.2l-4.61,2.27l-4.21,1.1l-4.11,2.12l-1.45,0.25l-0.95,-0.65l-2.82,0.73l-1.84,-0.68l-0.97,-1.0l-0.65,-0.12l-0.98,0.82l-0.31,0.87l1.19,1.68l-0.16,0.82l-7.98,6.54l-4.22,4.3l-0.72,1.32l0.11,2.07l-3.97,2.93l-1.86,0.72l-3.28,0.5l-1.4,0.62l-0.37,0.04l-1.8,-1.22l-0.99,-0.14l-10.87,1.18l-1.55,-0.38l-0.87,-1.17l-3.78,-1.66l-3.69,-0.53l-0.9,0.25l-2.12,1.63l-8.52,2.44l-1.58,0.13l-1.99,0.63l-3.48,-0.28l-1.08,-3.29l-1.55,-1.52l-0.32,-0.92l0.42,-2.0l0.73,-0.89l0.31,-1.23l1.41,-1.35l0.22,-0.83l-2.85,-5.27l-1.16,-0.97l-1.6,0.88l-1.97,0.08l-3.01,0.86Z", "name": "Arunachal Pradesh"}, "IN-KA": {"path": "M183.76,654.66l1.17,-1.76l1.58,-1.17l0.11,0.99l0.66,0.4l1.93,-0.14l1.67,-1.1l1.39,-2.47l-0.57,-1.14l2.3,-3.92l0.01,-1.78l-1.37,-0.64l0.65,-0.48l1.42,-0.09l0.56,-0.68l0.21,-3.0l-0.24,-1.26l-0.69,-0.68l-2.69,-1.26l-1.19,0.3l-0.47,-2.4l1.24,-0.28l0.35,-0.84l-1.1,-0.79l-0.36,-1.12l-1.04,-0.15l-0.39,-1.08l-0.95,0.09l0.31,-0.89l0.87,0.52l0.75,-0.34l0.34,-0.8l0.72,0.63l0.63,-0.14l1.85,-1.63l0.52,-1.51l2.28,0.61l0.64,1.97l0.55,0.41l0.87,-0.23l1.48,-1.21l1.3,-0.31l0.44,-0.89l-0.63,-0.9l0.68,-0.64l0.32,-1.0l0.9,-0.17l0.61,-0.68l1.67,-0.79l2.05,0.17l0.41,-0.88l-0.66,-2.45l2.16,-0.78l0.95,-0.97l0.35,-1.04l0.96,0.29l1.32,-0.24l0.43,0.85l1.57,1.28l1.74,0.56l2.56,-1.13l0.32,-1.76l2.11,-0.15l1.37,-0.65l1.59,-0.01l0.78,0.64l0.73,0.05l1.58,-0.66l0.84,-0.95l1.47,1.12l1.13,-0.06l0.56,-1.31l-0.58,-1.4l0.66,-0.66l0.08,-0.53l-1.28,-2.2l0.49,-2.65l-0.42,-1.11l-0.82,-0.58l-0.88,-2.78l0.83,-0.73l1.1,-1.81l0.67,0.2l0.76,1.43l1.88,0.29l1.02,1.25l0.74,0.0l1.18,-1.12l0.68,0.28l0.52,-0.31l0.52,1.7l1.37,1.03l2.4,-0.79l1.12,0.08l2.15,-1.02l1.3,0.35l1.64,-0.57l1.62,0.97l2.17,0.25l0.88,-0.29l0.98,-1.09l-0.17,-0.54l-0.94,-0.76l-0.84,-1.71l0.71,-1.31l-0.11,-1.65l-0.73,-1.08l2.27,-0.76l0.96,-1.31l1.3,-0.71l0.19,-1.02l0.84,-0.4l0.57,-0.91l0.9,0.33l1.1,-0.13l2.11,1.92l0.94,-0.21l0.83,-2.54l1.63,-1.28l-0.43,-2.03l2.59,0.52l1.11,-0.85l0.65,-1.76l0.44,-6.2l1.3,-0.6l1.67,0.06l2.75,-0.68l0.94,-1.82l3.43,-2.24l0.12,-2.6l0.97,-1.48l0.81,-0.16l0.82,0.6l0.26,2.57l2.49,1.24l0.14,0.8l0.46,0.46l1.07,-0.06l1.25,-0.96l1.87,0.57l-0.46,1.64l0.98,3.56l-0.97,0.35l-0.34,0.81l0.3,0.72l1.16,1.08l0.66,2.67l-1.93,2.03l-1.65,1.2l-0.31,0.97l0.86,1.02l0.13,0.63l-2.0,1.18l-1.66,3.11l0.54,0.74l2.14,1.1l2.63,0.05l0.62,0.92l2.4,-0.87l-0.85,1.7l-1.86,0.54l-0.68,1.22l-1.41,0.5l-0.93,1.81l-3.8,4.92l-0.3,1.05l0.18,0.89l1.75,0.99l0.21,1.34l1.01,2.06l-0.98,2.22l-0.04,4.51l-0.57,0.94l-0.19,1.47l0.2,0.87l0.84,0.59l-0.7,0.62l-0.29,0.74l0.33,0.43l0.72,-0.12l-0.46,1.4l-1.11,0.6l-0.57,1.31l-3.6,2.5l0.04,0.43l1.33,1.5l3.15,0.82l2.99,0.08l1.46,0.98l-0.05,0.65l-1.49,1.1l-0.35,0.85l-0.3,2.77l0.14,5.08l-0.92,1.2l-4.11,-0.1l-2.41,-0.6l-2.16,0.31l-2.83,1.49l-1.33,1.59l-0.27,3.92l0.26,0.61l0.54,0.3l0.92,1.92l-1.1,-0.21l-1.05,0.68l-0.44,1.23l0.31,2.89l-0.61,-0.36l-0.47,0.14l-0.26,0.54l1.49,3.11l0.45,2.23l2.35,1.26l0.79,5.01l-1.29,2.89l-1.27,1.08l-0.98,-0.83l-1.9,0.28l-2.26,-0.55l-2.7,-1.55l-0.83,0.05l-0.64,1.13l-0.05,1.31l-0.76,1.17l0.34,0.49l2.58,1.0l0.24,0.53l-0.67,3.87l-0.92,0.48l-0.24,0.51l0.09,1.46l-0.65,1.58l-0.11,1.87l0.53,1.82l1.15,0.65l1.13,1.95l2.75,-0.11l0.28,0.38l-0.58,1.33l-0.75,-0.03l-0.6,0.43l-0.33,1.18l0.67,1.5l1.34,0.7l-0.5,1.06l0.38,0.63l5.22,0.79l0.57,-0.66l0.04,-1.35l1.22,-1.48l1.49,0.54l2.05,-0.25l0.35,0.98l1.75,0.6l0.81,1.07l0.71,0.37l0.61,-0.09l0.42,-0.71l-0.87,-2.14l0.63,0.06l0.57,0.9l1.2,0.25l-0.29,1.29l0.4,1.46l-2.57,0.43l-1.69,1.64l0.17,0.52l0.77,0.22l-0.9,1.3l-0.01,0.61l0.89,1.82l0.88,0.68l-0.09,0.84l0.46,1.04l-1.36,-0.46l-0.12,-1.15l-1.33,-2.11l-1.58,-0.4l-2.02,0.49l-1.93,0.06l-0.86,-0.87l-2.53,-0.91l-0.68,-2.95l-0.45,-0.49l-1.65,-0.55l-1.55,0.95l-0.26,0.99l2.22,2.42l-0.16,1.73l2.27,3.02l-1.7,2.74l0.13,1.43l0.5,1.1l0.7,0.06l0.45,-0.65l1.18,0.94l0.5,-0.15l0.37,-0.63l1.31,0.24l0.78,-0.26l0.35,-1.0l-0.25,-1.5l-0.54,-0.55l0.64,-0.79l0.65,0.55l0.97,-0.55l0.77,0.74l1.09,0.02l1.04,0.57l2.88,0.1l1.0,1.31l0.76,3.18l1.76,0.02l1.87,-1.1l1.4,-0.17l0.29,-1.09l0.84,-0.13l0.54,0.58l0.75,-0.06l0.7,-1.41l1.23,-0.5l1.78,-1.55l0.13,-0.72l-0.57,-0.89l0.16,-0.39l1.51,0.14l1.31,0.55l0.69,-0.36l0.76,-1.03l-0.06,0.91l-0.96,1.22l0.45,1.84l0.61,0.04l1.08,-1.14l1.08,0.1l0.98,-0.51l1.13,0.68l0.47,1.62l-0.46,1.45l0.68,1.33l-0.98,-0.09l-0.43,0.33l-0.05,0.66l0.46,0.93l0.44,0.26l1.43,-0.19l1.73,1.76l1.63,0.44l1.35,0.11l0.84,-0.42l0.8,0.37l1.06,-0.13l-0.34,1.19l-0.06,3.99l-0.34,1.2l1.1,1.98l0.69,0.23l0.59,-0.29l1.3,0.36l1.75,1.15l1.21,-0.5l-0.05,2.1l-0.32,1.1l-0.91,1.18l-0.34,1.83l-1.24,0.9l-0.54,1.55l-1.32,2.03l0.1,0.59l1.12,0.65l0.48,0.78l-2.19,-1.45l-1.12,-0.16l-0.49,0.39l-0.35,1.35l-1.07,0.42l-1.03,-0.36l-0.62,0.37l0.11,2.05l-0.34,0.59l-2.6,-0.85l-2.48,-1.78l-0.99,-0.1l-1.2,1.37l-2.15,-1.97l-2.37,-0.1l-1.63,0.75l-0.34,1.39l-1.03,1.8l0.24,1.06l-2.02,1.05l-1.7,-0.11l-1.04,0.49l-1.29,3.66l0.38,1.14l-0.1,1.1l1.28,0.34l-0.45,2.16l-2.18,2.84l-1.81,1.11l-0.33,1.06l0.88,1.69l6.59,0.29l1.01,0.65l0.87,1.65l-3.17,4.34l-4.19,0.64l-1.02,0.5l-1.01,1.52l-0.85,2.18l-0.54,0.46l-2.0,0.25l-2.48,-1.04l-1.24,0.45l-2.9,0.22l-0.46,0.31l-0.39,1.08l-1.99,-1.91l-1.21,-0.41l-2.06,0.44l-0.92,0.51l-1.97,3.01l-0.52,2.22l-2.05,-0.47l-5.1,0.34l-0.7,-0.25l-0.01,-1.16l-0.76,-0.99l-1.01,-0.34l-1.28,0.14l-1.47,1.17l-0.23,-1.51l-0.53,-0.66l-2.29,-0.05l-1.56,-1.76l-1.37,-0.01l-1.51,-1.78l-0.98,-0.16l-1.05,0.26l-0.38,-0.58l0.08,-2.01l-0.53,-0.63l-0.84,-0.04l-2.77,1.07l-2.93,-0.54l-1.33,-0.58l-1.09,-1.2l-0.6,-1.99l-1.88,-0.3l-1.33,-0.81l-0.81,0.09l-0.76,-1.06l-2.07,-1.0l-3.42,-3.85l-1.12,-0.12l-0.54,-1.89l-0.87,-1.28l0.04,-0.64l0.75,-0.81l0.05,-0.7l-0.69,-0.48l-1.29,0.25l-1.68,-1.95l0.67,-1.64l-0.28,-0.5l-1.53,-0.38l-1.26,0.46l-0.83,-1.04l-1.18,0.1l-0.21,-1.49l-1.02,-0.68l-0.95,-0.16l-0.98,0.44l-0.22,-0.85l-1.23,-0.36l-0.55,-1.43l-0.97,-0.23l-1.59,0.31l-0.32,-0.91l0.99,-0.81l1.53,-0.55l0.39,-0.51l-0.4,-0.61l-3.41,0.56l-1.36,-5.58l0.26,-1.33l-0.35,-0.37l-0.6,-2.16l-1.04,-5.01l-0.74,-1.48l0.06,-0.6l0.43,-0.2l-0.18,-1.85l-0.72,-1.98l-0.17,-2.91l1.43,-0.43l0.51,-0.72l-0.79,-0.24l-0.74,-1.69l-0.59,-0.04l-0.59,0.82l-1.04,-4.59l-0.98,-2.21l-2.65,-3.83l0.0,-1.22l-0.63,-1.13l-0.24,-2.4l-1.15,-1.8l2.13,0.13l0.18,-0.69l-2.5,-1.07l-0.26,-0.37l-0.08,-1.26l-1.06,-3.28l0.48,0.02l0.27,-0.5l0.73,-0.16l-0.05,-0.45l-1.48,-1.63l-0.14,-0.62l-0.98,-0.84l-0.71,0.54l-0.06,1.03l-0.4,0.04l-0.22,-1.61l1.0,-0.33l0.35,-0.61l-0.72,-0.56l-1.25,0.35l-0.23,-0.18l0.24,-0.61l-0.84,-2.65l-1.14,-0.68l-0.83,0.38l-0.42,-0.63l-0.7,-0.13l-1.41,-0.99l0.54,-0.99l1.17,0.17l0.75,-0.99l1.08,0.02l0.47,-0.37l-0.08,-0.75l-1.37,-0.74l-2.36,1.62l-0.46,-0.72l1.61,-1.08l1.69,-0.19l1.18,-0.91l0.82,-2.53l-0.14,-2.48l0.94,-2.43l-0.25,-0.71l-1.34,-1.11l1.61,-0.57l0.34,-0.87l-0.21,-1.62l-1.2,-1.53l-0.04,-1.34l-0.58,-0.86l0.59,-1.77l-0.66,-3.34l-0.5,-0.59l-1.53,-0.72l-1.74,0.51l-0.43,-0.07l-0.12,-0.46Z", "name": "Karnataka"}, "IN-PB": {"path": "M176.07,176.63l0.49,-0.66l0.91,-0.18l0.37,-0.76l0.93,-0.37l1.98,-2.76l1.11,-0.3l0.6,-0.54l0.35,-2.73l1.22,-1.08l1.65,-0.66l0.97,-1.89l2.26,-2.34l-0.1,-1.02l1.19,-0.74l0.5,-1.77l2.56,-0.03l1.17,-1.73l2.45,-0.6l1.36,-1.41l0.49,-1.31l2.35,-1.33l0.12,-0.61l-1.4,-1.16l-2.43,0.02l-0.78,-1.72l0.77,-4.21l2.63,-5.48l-0.15,-0.82l-0.89,-1.3l-0.91,-3.26l-1.88,-3.18l1.28,-1.9l0.42,-1.8l3.6,-2.55l0.85,-1.45l1.71,0.33l1.05,-0.31l1.2,-2.56l1.09,0.37l0.83,-0.6l2.02,-0.13l1.02,-1.1l1.11,-0.02l0.36,-0.49l-0.14,-0.56l1.94,0.66l1.17,-0.5l1.03,0.2l0.93,-1.49l3.2,-0.92l0.63,-2.0l1.01,-1.12l0.35,-0.94l-0.27,-0.94l-1.12,-1.22l1.94,0.13l1.25,-0.69l0.47,1.04l1.62,0.83l0.46,-0.14l2.1,-2.45l1.07,-0.64l2.7,-0.39l1.07,-0.89l0.4,-1.14l1.66,-0.59l1.42,-1.04l1.5,2.65l-3.97,2.7l-1.59,1.66l-3.57,1.31l-0.33,1.08l0.28,1.2l0.7,0.45l0.63,-0.16l-0.52,1.03l-1.81,1.94l-0.05,0.85l0.87,0.49l3.03,0.5l5.38,2.71l2.54,4.11l-1.07,0.21l-0.18,1.25l4.53,8.24l2.34,7.11l1.09,1.36l0.75,0.46l1.42,-0.32l1.34,0.16l0.65,-1.28l0.84,-0.38l-0.02,-1.78l0.92,-0.36l2.27,4.24l0.98,-0.15l0.78,0.72l0.73,-0.2l0.39,0.92l0.53,0.22l0.69,-0.62l0.06,1.28l0.34,0.31l0.96,-0.04l-0.73,1.33l-0.03,1.58l0.68,0.74l-0.51,1.25l0.31,1.59l1.02,1.2l3.79,3.11l1.0,1.7l0.95,0.53l-0.41,1.04l-2.24,-0.16l-1.46,0.74l-0.24,0.82l0.32,0.8l2.49,2.48l2.18,-0.11l0.28,1.06l0.84,0.47l0.29,0.86l-0.26,1.77l0.52,0.95l-0.43,1.01l0.34,3.05l-0.33,0.84l-1.25,-2.16l-2.78,-0.23l-1.08,0.49l-0.44,1.63l0.52,0.73l-2.37,1.72l-3.57,1.91l-0.22,0.62l0.44,0.79l0.82,-0.04l0.76,-0.82l0.42,0.84l0.87,0.45l-0.38,1.5l-2.73,1.89l-1.97,-0.49l-1.02,-2.47l-0.61,-0.47l-0.6,0.06l-0.49,0.47l0.18,1.05l-0.33,0.74l-0.93,-0.81l-0.57,0.13l-0.15,0.98l-0.26,0.08l-1.13,-0.23l-1.27,-0.87l-0.79,0.13l-0.49,1.0l0.9,0.83l-0.46,0.56l0.17,0.85l-0.56,0.83l-0.83,2.76l0.55,1.64l0.95,0.71l-2.16,1.34l-1.95,0.72l-1.28,1.49l-1.16,0.03l-1.39,0.58l-1.91,-0.35l-1.01,-1.8l-1.91,-0.93l-2.34,0.7l-0.72,1.35l-1.13,-0.2l-1.76,0.35l-4.86,-1.45l-3.42,4.21l-0.13,0.69l-0.95,0.4l-0.7,1.35l0.37,1.21l-1.34,0.48l-0.53,-1.63l-0.78,-0.89l0.03,-0.68l-0.47,-0.53l0.89,-0.62l-0.01,-1.11l0.84,-0.15l0.16,-0.58l-1.61,-2.94l-1.18,0.18l-0.57,0.76l-0.91,-0.57l-0.12,-1.21l0.35,-1.46l-0.53,-0.88l-0.81,0.2l-0.42,1.1l-1.94,0.49l-1.47,-1.09l-0.81,-1.4l-2.41,-0.6l-0.88,-0.73l-3.48,0.62l-1.31,0.92l-0.55,0.88l-3.88,-1.1l-4.07,-0.54l-15.05,-0.66l0.36,-1.18l2.21,-3.51l0.25,-1.48l-0.23,-0.77l-0.66,-0.4l-1.19,-3.33l-0.77,-1.0l-1.17,-0.6Z", "name": "Punjab"}, "IN-ML": {"path": "M692.14,323.41l0.36,0.99l0.49,0.26l3.48,-1.0l0.19,0.86l0.64,0.35l1.2,-0.63l1.49,-0.23l3.08,0.24l0.52,0.77l0.96,0.42l-0.17,1.66l0.43,0.66l1.1,-0.39l0.55,0.36l0.64,-0.07l2.66,-0.96l0.05,3.31l0.27,0.81l0.85,0.45l1.66,-0.78l2.72,-2.95l3.5,-0.63l1.66,-0.86l0.37,-0.68l-0.38,-0.52l-1.21,0.62l3.21,-4.23l0.7,0.03l0.35,0.35l-0.47,2.0l0.21,0.69l1.52,0.36l1.37,-0.91l0.76,-1.27l0.44,-1.6l1.65,-1.4l0.96,0.24l1.41,1.21l1.05,0.19l3.13,-0.68l1.07,0.06l3.34,-1.03l2.77,0.13l-2.86,2.99l0.12,1.26l1.06,0.72l-1.5,3.63l0.24,1.32l-0.13,2.9l0.69,0.35l1.64,-0.98l2.82,-0.49l1.83,-1.14l2.64,2.02l3.7,3.79l0.62,0.07l1.88,-0.9l-1.34,1.9l-1.55,1.24l-0.1,0.59l1.68,1.57l2.05,0.77l2.62,2.44l0.18,0.48l-0.36,1.54l0.66,1.41l-3.66,1.24l-1.0,1.03l-2.75,0.23l-0.26,0.76l-1.33,0.48l-3.41,3.12l-1.72,-0.99l-0.78,-0.86l-2.26,-0.4l-1.74,-1.46l-1.79,-0.29l-0.79,-0.85l-1.94,-0.58l-2.44,0.38l-1.73,-0.24l-5.25,0.33l-0.64,0.7l-0.94,-0.21l-0.65,0.86l-0.55,0.08l-1.11,-0.13l-1.08,-1.05l-0.72,-0.01l-2.03,0.82l-1.34,-0.09l-4.49,-1.33l-1.65,-0.78l-12.73,1.95l-2.04,-0.82l-0.72,-0.02l-0.73,0.49l-2.6,-0.6l-1.28,0.3l-2.57,-0.21l-4.05,0.61l-2.4,-0.98l-4.8,-1.03l-6.8,-2.79l-2.64,0.4l-0.59,-2.56l0.35,-1.85l2.3,-0.94l0.38,-0.8l0.21,-2.01l1.81,-0.2l1.28,-1.0l0.04,-0.93l-1.52,-1.7l-0.34,-1.72l0.88,-1.75l0.26,-1.36l2.26,-2.72l2.31,-1.91l5.74,-0.81l1.82,-1.05l3.24,0.21l1.4,0.87l-0.56,1.9l0.39,0.49l1.72,-0.91l0.85,-1.0Z", "name": "Meghalaya"}, "IN-MN": {"path": "M765.49,384.0l0.47,-0.68l0.61,-3.47l-0.09,-1.17l0.96,-1.67l-0.13,-0.68l-0.62,-0.57l-0.09,-1.32l0.56,-0.31l0.28,-0.98l0.55,-3.63l1.0,-0.49l0.14,-0.43l-0.57,-1.42l0.73,-1.43l-0.56,-1.21l0.91,-2.88l0.63,-0.62l0.88,0.47l0.98,-0.44l0.27,-1.08l1.36,-2.09l-0.23,-1.11l1.0,-0.91l-0.44,-2.02l1.51,-0.98l3.35,-6.82l0.5,-0.52l1.87,1.18l1.29,0.39l1.16,1.32l0.79,-0.03l1.42,-1.94l0.99,-2.22l3.94,-3.86l-0.04,-1.41l-1.34,-0.76l0.16,-0.53l4.57,-0.6l2.93,0.03l1.7,1.1l2.18,-0.03l1.33,0.81l4.11,-0.51l2.05,-1.03l1.5,-1.74l1.68,-0.96l1.91,-1.65l-0.05,1.34l-1.04,3.76l0.67,0.94l2.42,1.37l-0.87,1.31l-1.78,4.9l0.08,1.52l0.99,1.35l3.31,1.08l0.64,2.0l-0.15,1.25l-1.08,1.72l-0.56,2.75l-1.73,2.55l-0.49,2.59l-0.58,0.52l-1.44,0.34l-1.22,3.42l-1.79,1.31l-0.65,2.06l-1.03,1.02l-0.12,1.37l-1.01,1.13l0.08,0.9l-1.09,1.03l-0.39,2.16l-1.51,3.48l-1.33,5.32l-1.69,2.49l-0.11,2.01l-0.25,0.27l-1.49,-1.41l-1.93,-1.02l-3.52,-0.92l-2.47,0.28l-1.62,-1.76l-1.26,-0.49l-3.11,-0.12l-0.94,0.51l-0.51,0.86l-0.79,-0.43l-1.46,0.7l-0.87,-0.01l-0.47,-1.06l-2.13,-2.65l-0.75,-0.47l-1.33,0.4l-0.63,1.3l-0.8,0.38l-0.15,-0.87l-0.68,-0.58l-1.63,0.9l-1.15,-0.71l-1.16,0.57l-1.01,-0.83l-2.54,-0.88Z", "name": "Manipur"}, "IN-MH": {"path": "M140.02,524.29l0.06,-1.24l-0.89,-1.35l0.45,-1.03l-0.02,-2.02l0.58,-0.43l0.77,-1.67l0.01,-1.67l1.8,-0.88l1.02,0.27l0.61,-0.35l2.1,-0.11l1.26,-0.53l1.63,2.69l1.38,-0.59l0.87,0.56l1.01,-0.49l0.85,0.82l0.58,0.11l0.82,-0.93l0.21,-1.81l0.82,-0.04l1.23,-0.66l0.57,-1.77l3.01,0.37l0.95,-0.4l-0.07,-1.27l0.49,-1.74l-0.34,-2.56l-0.66,-0.58l2.42,-3.82l0.56,-1.66l-0.48,-1.67l-0.94,-0.32l-0.37,-1.27l-0.99,-0.24l0.99,-0.38l0.9,-1.46l0.9,1.35l3.28,1.92l1.77,1.83l2.49,-0.21l2.88,-1.69l0.39,-0.98l-0.0,-1.07l2.33,-1.97l0.71,-1.34l-0.19,-3.58l-0.9,-2.69l-2.67,-3.15l-1.52,-0.55l-1.15,-1.45l-0.83,-0.24l-1.49,0.14l-2.13,-1.69l1.87,0.97l2.29,-0.02l2.26,-1.34l1.02,-2.45l1.02,0.6l2.51,-0.87l1.4,-3.41l2.42,-2.08l1.87,0.38l4.14,-1.13l1.72,-0.97l0.43,-1.02l-0.34,-1.17l-0.46,-0.42l-2.95,0.88l-1.44,-0.8l-1.14,0.58l-3.52,-0.08l-5.22,1.49l-1.82,-2.89l1.68,-0.47l0.65,-0.69l0.32,-1.01l-0.15,-0.9l-0.83,-0.77l-0.29,-2.57l0.27,-0.56l2.56,-0.97l1.38,-0.19l1.13,-0.92l2.52,-1.2l1.96,-0.35l2.37,0.85l2.05,-0.37l0.72,-0.45l0.19,-0.59l1.73,-0.61l1.41,-1.13l2.18,2.28l0.21,0.76l-0.17,3.62l0.77,2.62l3.13,2.41l1.63,0.45l1.6,1.13l4.83,-0.16l1.07,0.2l1.64,1.01l1.69,0.14l1.58,1.14l2.36,3.5l2.18,0.87l3.21,0.71l6.95,0.32l2.77,-0.44l2.5,0.23l3.35,-0.17l1.94,-0.51l2.2,0.26l2.69,0.81l1.26,-0.08l1.24,2.54l0.36,2.7l-1.11,0.57l0.15,0.97l1.09,1.49l0.87,0.53l3.81,0.66l4.02,-0.74l0.95,-0.46l1.82,-2.26l4.01,-0.99l0.96,-1.64l-0.02,-1.37l-0.56,-1.56l2.52,-1.7l1.81,-2.57l0.52,-3.12l0.5,-0.59l0.75,-0.35l2.31,-0.17l3.51,-2.47l2.54,-0.93l1.74,-0.08l0.77,0.73l0.74,0.08l1.15,-1.07l0.99,-0.26l1.28,-1.01l4.16,0.21l0.84,1.07l1.22,0.67l0.36,3.83l0.44,0.85l-3.7,-0.1l-0.72,0.76l0.04,1.29l1.97,3.68l0.53,0.02l0.58,-0.76l1.39,0.99l0.88,0.02l1.05,-0.43l1.38,0.13l0.82,0.55l2.93,-1.48l2.94,0.87l4.44,-1.33l3.05,-1.56l2.07,-2.14l3.51,-1.08l1.4,-1.22l1.25,0.34l0.42,2.93l0.32,0.47l0.78,0.04l1.24,-0.64l0.62,0.01l1.47,0.98l2.09,0.55l2.14,0.15l6.99,-1.28l0.7,-0.93l-0.15,-1.32l1.82,-0.62l2.66,-0.31l4.17,-1.36l0.59,-0.54l0.29,-1.34l1.77,0.62l3.23,0.14l1.66,0.54l0.8,1.02l0.92,0.57l0.58,2.17l0.81,0.57l1.25,-0.33l1.75,-1.17l2.95,-0.27l1.39,0.37l0.77,1.38l0.58,0.33l1.6,-0.12l2.05,-0.95l0.35,0.4l0.86,0.06l2.42,-0.77l0.92,-1.07l2.29,-0.91l1.67,1.15l1.92,0.55l0.2,1.01l0.5,0.63l2.02,1.48l0.35,0.91l-0.73,1.25l0.43,0.65l0.81,0.15l1.85,-0.32l4.3,2.41l1.39,-0.57l-0.01,0.89l-1.13,1.42l-2.68,1.41l-2.67,1.98l-0.97,4.16l0.16,1.64l0.77,1.33l1.09,0.52l1.28,-0.23l0.35,0.63l0.06,4.02l0.45,3.05l-1.84,1.2l-0.47,0.89l-0.02,0.79l0.38,0.48l0.66,0.16l1.78,-0.88l1.02,0.27l0.01,1.81l0.39,0.89l-0.58,1.41l-0.1,2.11l0.45,2.13l-1.09,0.47l-1.52,1.28l-2.81,0.5l-0.75,0.81l-0.36,2.4l0.18,0.72l3.49,0.54l0.73,2.48l-0.7,3.76l-2.02,-0.7l-1.12,1.16l-0.04,1.18l1.69,0.75l-0.51,0.69l-1.68,0.86l-0.09,0.89l0.85,0.59l1.62,0.25l0.63,-0.44l0.13,-0.95l0.77,-0.12l1.15,2.63l2.81,1.23l0.47,2.03l0.58,0.9l4.26,1.79l1.18,1.1l0.48,0.98l-0.64,1.2l-1.62,0.32l-0.53,0.42l-0.01,0.81l0.78,1.35l-1.97,0.98l-0.97,0.87l-1.04,-1.54l-2.0,-0.01l-0.88,-1.94l-0.71,-0.42l-0.85,0.24l-1.13,1.33l-1.18,0.61l-1.0,1.75l-1.36,0.8l-1.22,4.29l-2.27,3.01l-0.64,1.37l-0.01,1.37l2.24,3.09l-0.09,0.72l-2.24,1.45l-0.28,0.71l0.24,1.15l-0.3,0.22l-2.34,0.29l-2.31,-0.22l-0.58,-0.96l-2.01,-1.76l-2.23,-1.06l0.99,-0.99l0.21,-0.84l0.02,-1.59l-0.72,-3.35l-0.74,-0.8l-1.66,0.26l-0.06,-0.71l0.87,-1.58l1.42,-0.93l0.21,-0.5l-0.44,-2.8l0.57,-0.64l0.28,-0.94l0.23,-3.74l-1.23,-2.15l-1.96,-0.77l-2.06,-2.64l-2.29,-0.45l-3.08,1.08l-0.91,0.51l-0.3,1.12l-0.39,0.32l-1.26,-0.82l-4.24,-0.18l-1.47,-1.27l-3.01,-0.45l-0.87,-1.21l-1.35,-0.51l-2.56,0.37l-1.33,0.62l-0.81,1.12l-1.3,0.27l-1.56,-0.84l-0.34,-0.77l-1.28,-0.55l-0.99,-2.79l-2.09,-1.54l-2.16,0.04l-2.92,-1.29l-1.56,0.02l-1.1,-0.35l-1.07,0.25l-0.61,0.57l-1.9,-0.74l-1.36,-1.66l-1.24,-0.52l-0.54,0.27l-0.23,0.9l0.26,1.04l1.09,2.59l1.15,1.04l-0.25,0.64l-1.24,0.79l-0.61,0.83l-0.91,2.35l-0.06,2.8l-2.01,0.66l-0.77,0.68l-1.2,2.21l0.22,2.5l-0.2,0.74l-3.33,-0.06l-0.9,-0.6l-0.87,-1.24l-2.11,-0.28l-1.27,0.34l-0.99,0.93l0.11,0.69l0.53,0.26l-1.01,1.36l-0.7,2.23l0.12,1.03l-2.39,2.03l-0.22,0.63l0.57,2.11l1.03,0.18l0.28,0.94l0.86,0.22l0.16,1.21l2.03,1.81l-2.16,0.84l-1.71,3.25l-1.27,-0.02l-0.95,0.63l-0.33,0.77l0.19,1.51l-0.52,1.27l-2.57,0.53l-1.5,1.72l-0.5,2.61l-1.3,1.55l1.51,1.29l0.1,0.66l-1.31,-0.1l-1.69,1.02l-0.3,-1.06l-2.38,-1.06l-0.11,-2.21l-0.63,-0.91l-1.3,-0.5l-1.15,0.41l-1.16,1.82l-0.03,2.41l-1.43,0.66l-1.86,1.41l-0.68,0.82l-0.31,1.03l-1.26,0.02l-1.02,0.42l-1.68,-0.05l-1.83,0.93l-0.27,0.64l0.14,1.57l-0.48,2.32l0.04,2.02l-0.55,1.47l-0.5,0.44l-3.0,-0.44l-0.32,0.42l0.47,2.13l-1.5,1.02l-0.86,2.44l-2.06,-1.89l-2.52,-0.23l-0.88,1.08l-0.94,0.5l-0.2,1.02l-1.14,0.56l-0.95,1.3l-2.46,0.92l-0.17,0.5l0.77,1.23l0.09,1.48l-0.71,1.34l1.01,2.17l0.92,0.74l-0.6,0.51l-2.45,-0.08l-1.78,-0.99l-1.68,0.57l-1.38,-0.34l-2.26,1.05l-0.94,-0.14l-2.15,0.79l-0.87,-0.67l-0.28,-1.22l-0.68,-0.84l-0.88,0.28l-0.74,-0.28l-1.46,1.22l-0.85,-1.16l-1.9,-0.32l-0.65,-1.35l-0.88,-0.45l-0.63,0.12l-2.43,3.16l0.98,3.28l0.92,0.73l0.24,0.71l-0.5,2.6l1.28,2.16l-0.74,1.05l0.55,1.29l-0.2,0.88l-2.2,-1.25l-1.22,1.13l-1.28,0.53l-1.19,-0.68l-1.83,-0.01l-1.52,0.68l-2.02,0.12l-0.77,0.53l-0.02,1.43l-2.01,0.92l-1.23,-0.4l-1.49,-1.22l-0.67,-1.03l-1.68,0.2l-1.2,-0.27l-1.49,2.14l-2.45,1.04l0.56,3.05l-1.89,-0.24l-1.82,0.86l-0.57,0.65l-1.08,0.31l-0.5,1.26l-0.78,0.59l-0.04,0.6l0.64,0.85l-1.22,0.28l-1.77,1.34l-0.89,-2.23l-2.91,-0.76l-0.53,0.3l-0.53,1.56l-1.66,1.42l-0.93,-0.68l-0.61,0.31l-0.37,0.87l-0.8,-0.53l-0.65,0.1l-0.76,2.26l0.62,0.38l0.81,-0.38l0.26,0.87l1.12,0.26l0.23,0.93l0.78,0.55l-0.95,0.16l-0.48,0.69l0.62,2.98l0.63,0.32l0.91,-0.41l2.9,1.47l0.22,0.97l-0.19,2.82l-1.77,0.32l-0.86,0.93l0.13,0.7l1.32,0.54l0.03,0.51l-0.3,1.18l-2.16,3.44l0.6,1.18l-1.19,2.09l-1.32,0.88l-1.54,0.11l-0.16,-1.09l-1.05,-0.25l-2.28,1.88l-0.4,0.99l-0.63,0.47l0.15,0.72l-0.91,0.04l-2.08,0.78l-1.43,-0.79l-1.0,-2.75l-1.76,-0.62l-0.53,-1.11l-0.79,0.21l-0.89,1.14l-1.83,0.13l-0.71,0.34l-1.25,-0.26l0.03,-1.62l-1.31,-2.88l-3.48,-3.53l0.79,-0.83l-0.41,-0.4l-0.8,-0.07l-0.82,-0.82l0.33,-0.64l0.06,-2.16l0.71,-0.87l-0.01,-0.47l-0.44,-0.14l-0.95,0.42l-0.17,-1.06l-0.71,-0.29l-1.12,-4.25l-0.51,-0.32l0.58,-0.47l-0.03,-0.73l-1.12,-0.76l-0.68,-2.42l-0.45,-0.54l1.06,0.74l0.82,0.06l0.41,-0.32l-0.74,-0.71l0.5,-0.8l-1.26,-0.43l-0.4,-0.57l0.51,-0.22l0.18,0.36l0.66,0.09l0.32,-0.64l-0.15,-0.76l-0.57,-0.46l-0.98,0.18l0.18,-1.71l-0.97,-1.49l0.42,-2.29l-0.5,-0.3l-0.41,-0.93l-0.12,-0.62l0.28,-0.53l-0.31,-1.31l0.56,-1.5l-0.17,-0.55l-0.76,-0.39l0.59,-1.37l-0.03,-0.91l-0.58,-1.34l0.09,-1.05l-1.37,-3.59l0.76,-0.16l0.19,-0.63l-1.62,-2.66l-0.76,-0.65l-0.09,-0.38l0.56,-0.85l-0.28,-0.75l0.12,-0.77l-1.59,-2.24l2.03,-0.65l-0.02,-0.73l-1.83,-0.43l-0.38,-0.57l0.05,-1.09l-0.52,-0.83l0.53,-1.46l-0.55,-1.76l-0.81,-1.2l-0.45,-1.72l-1.42,-2.31l0.42,-0.88l-0.28,-0.67l-0.53,-0.26l0.98,-0.85l0.18,-0.85l-0.51,-0.41l-0.94,0.54l-0.34,-0.37l-0.61,-4.09l-0.38,-0.69l-0.67,-0.29l0.19,-0.69l0.62,0.73l1.75,0.17l0.54,0.38l-0.31,0.81l0.58,0.48l0.45,-0.14l0.51,-0.78l-0.02,-2.09l-0.62,-0.75l-1.94,-0.11l-0.55,-0.53l0.14,-0.36l-0.36,-0.54l-1.6,-0.94l-0.01,-1.02l-0.62,-1.29l0.45,-2.33l0.71,-0.18l1.81,2.51l0.68,-0.15l0.19,-0.62l-0.86,-1.02l-0.88,-2.03l-0.71,-0.34l-0.82,0.14l-1.64,-3.67l-0.09,-2.7l0.29,-0.7l1.18,0.09l0.55,-0.62l0.88,0.95l0.04,1.25l0.91,0.59l0.53,-0.48l-0.1,-1.31l0.64,-0.91l-0.12,-0.67l-0.88,-0.45l-0.18,-1.43l-0.6,-0.05l-0.65,0.44l-1.04,-0.76l0.14,-0.26l0.68,-0.01l0.31,-1.08l1.2,-0.1l0.34,-0.51l-0.2,-0.37l2.02,-0.66l0.31,-0.64l-0.31,-0.57l-0.52,-0.07l-1.35,0.42l0.13,-1.87l-0.65,-0.58l0.22,-2.19l-0.4,-0.44l-0.59,0.23l-1.02,1.69l-0.22,1.38l0.37,0.69l-0.13,0.31l-0.7,0.72l-0.08,-0.33l-0.66,-0.2l-0.49,0.46l-1.25,2.43l-0.6,-0.82l0.51,-1.73l0.36,-0.09l0.25,-0.76l-0.32,-0.73l0.29,-1.17l-0.39,-1.12l0.4,-0.71l-0.24,-0.49l-0.7,-0.1l1.07,-1.85l-0.27,-0.66l-0.46,-0.04l-0.91,0.92l0.19,-2.07l2.08,-0.09l0.63,0.65l1.46,0.32l1.18,-0.24l1.53,2.69l0.5,0.1l0.71,-0.39l-0.01,-0.7l-0.42,-0.22l-0.17,-1.08l-1.36,-1.37l-2.73,-0.21l-1.89,-1.29l-1.07,0.49l-1.01,-1.35l-0.33,-2.78l3.69,-1.53l0.25,-0.37l-0.25,-0.37l-0.94,-0.31l-1.71,0.45l-0.95,-1.4l-1.01,-0.32l-0.28,0.39l0.16,-0.89l-0.58,-2.49l0.85,-0.61l-0.33,-1.12l0.55,-0.55l-0.18,-1.26l-0.69,-0.14l-0.89,1.09Z", "name": "Maharashtra"}, "IN-KL": {"path": "M207.32,745.98l1.92,-0.19l0.39,1.27l1.23,0.49l0.41,0.89l0.63,0.19l0.89,-0.52l0.47,0.08l0.64,0.37l-0.1,0.79l0.5,0.89l0.57,0.23l0.78,-0.21l0.85,1.04l0.65,0.11l0.96,-0.48l0.95,0.25l-0.62,1.55l0.94,1.35l1.25,1.27l1.53,-0.21l-0.72,0.78l-0.15,1.13l0.93,1.53l0.64,2.08l1.3,0.28l3.32,3.77l2.15,1.07l0.78,1.07l1.13,0.04l1.41,0.84l1.39,0.08l0.46,1.8l1.32,1.45l1.59,0.7l3.14,0.56l3.3,-1.08l0.01,2.3l0.65,0.82l2.2,-0.0l1.26,1.62l1.5,0.11l1.64,1.8l1.14,0.25l1.17,-0.18l0.27,1.6l0.54,0.81l-1.2,0.5l-1.02,1.21l-0.98,0.1l-1.84,-0.51l-0.38,0.17l-0.33,0.69l-0.03,2.0l0.9,1.74l4.83,1.38l1.12,0.9l1.17,0.45l1.49,1.54l-2.87,2.82l-0.17,0.89l0.34,0.48l0.86,0.17l0.99,-0.3l1.57,0.46l3.34,-0.37l0.94,-0.61l-0.36,1.61l0.94,1.09l0.8,2.1l0.59,0.57l-1.64,-0.24l-0.64,0.35l-0.59,1.61l0.2,1.28l0.98,1.23l3.74,1.55l0.74,1.63l1.03,0.92l-0.41,2.95l-1.35,0.7l-0.35,0.83l0.17,2.6l-0.55,3.61l0.93,2.08l0.11,1.93l2.58,2.4l1.39,0.59l1.1,-0.31l2.7,-2.22l3.3,-1.4l1.27,1.82l0.4,1.65l0.73,0.77l-1.69,4.21l1.1,3.48l-1.02,2.47l0.32,2.94l-1.56,5.71l0.29,0.53l1.83,1.05l2.88,-0.69l1.58,2.31l0.11,0.81l-1.01,1.01l-0.96,2.65l-0.84,1.39l-2.5,7.28l-1.99,1.95l1.13,3.67l1.53,1.25l-0.52,1.84l-1.71,2.58l0.21,2.15l0.35,0.76l1.72,1.46l0.73,1.15l-0.92,1.3l-0.26,0.16l-0.49,-0.36l-0.56,0.34l0.28,1.93l-1.34,2.06l-0.32,1.41l-1.22,0.16l-3.21,-2.34l-3.51,-4.66l-1.64,-1.53l-0.43,-1.0l-3.63,-4.29l-1.58,-2.45l-2.39,-2.02l1.57,-0.71l0.15,-0.44l-0.37,-0.28l-1.08,0.1l0.47,-0.7l1.68,0.13l0.44,-0.23l-0.2,-0.71l0.54,-0.49l-0.28,-0.62l-0.95,-0.03l-0.85,0.6l-1.25,-0.25l-1.31,0.82l-1.58,-3.84l0.32,-0.33l0.19,-1.64l-0.19,-0.41l-0.65,0.2l-0.86,-2.3l-0.74,-0.28l-0.21,0.22l-1.05,-2.39l-1.56,-5.16l-1.24,-10.4l0.63,-0.17l0.66,4.3l0.62,0.34l0.41,-0.52l0.65,0.91l-0.63,1.46l-0.6,2.77l0.13,0.65l0.86,0.47l2.79,0.53l0.73,-0.32l0.81,-0.97l-0.14,-0.62l-1.15,-0.68l-1.47,-0.14l0.28,-0.66l-0.17,-2.85l-0.66,-1.06l-0.37,-2.02l0.45,-1.0l-0.04,-0.85l-1.08,-2.32l-1.52,-1.72l-0.77,0.08l-0.45,-1.39l0.12,-0.52l-0.61,-0.7l-0.27,-1.52l-1.31,-1.45l-0.38,0.26l-0.25,0.92l0.66,1.82l-0.66,-1.68l-0.14,-1.7l1.71,-1.2l0.21,-1.28l-0.71,-0.22l-0.54,-0.77l-0.8,-0.12l0.31,1.86l-0.42,0.47l-0.54,-0.68l-1.44,-5.09l-1.12,-1.55l-0.55,-2.53l-1.35,-1.65l-0.27,-1.2l-2.36,-4.94l0.51,-0.56l-0.14,-0.64l-0.79,-0.34l-0.43,-1.07l-1.9,-7.73l-3.14,-7.29l0.34,-0.6l-0.24,-0.72l-0.61,-0.15l-1.63,-2.78l-1.62,-0.56l-2.42,-6.52l-0.81,-1.13l-3.92,-4.33l-0.84,-0.02l-1.08,-1.51l2.17,0.47l0.48,-0.39l-0.52,-0.81l0.19,-1.18l-0.45,-0.08l-1.02,0.74l-0.61,0.02l-1.17,-1.08l1.13,-0.11l0.25,-0.56l-0.73,-0.93l0.1,-1.21l0.73,-0.02l1.61,-0.9l0.41,-0.84l-0.76,-0.53l-0.97,0.34l-0.9,-0.22l-1.68,1.27l-0.82,-0.2l-0.83,0.31l-0.37,2.56l-1.86,-5.57l0.26,-1.27l-0.48,-0.39l-0.64,0.24l-0.68,-1.84l-3.92,-7.22l-2.86,-6.72ZM250.45,836.37l-0.0,-0.01l0.01,-0.0l-0.0,0.02ZM249.88,834.43l-0.08,-0.57l-0.05,-0.2l0.67,0.8l-0.54,-0.03Z", "name": "Kerala"}}, "height": 932.9661457393942, "projection": {"type": "mill", "centralMeridian": 0.0}, "width": 900.0}); |
274056675/springboot-openai-chatgpt | 2,619 | chatgpt_pc/src/assets/icon/iconfont.css | @font-face {
font-family: "iconfont"; /* Project id 4247091 */
src: url('iconfont.woff2?t=1695350596004') format('woff2'),
url('iconfont.woff?t=1695350596004') format('woff'),
url('iconfont.ttf?t=1695350596004') format('truetype');
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-zuo:before {
content: "\e6e5";
}
.icon-you:before {
content: "\e60a";
}
.icon-gengxin:before {
content: "\e65f";
}
.icon-xiazai:before {
content: "\e606";
}
.icon-fabu:before {
content: "\e71f";
}
.icon-tianjia1:before {
content: "\e64d";
}
.icon-gengduo:before {
content: "\e670";
}
.icon-icon-common-line-list-select:before {
content: "\e6b6";
}
.icon-shanchu:before {
content: "\e852";
}
.icon-fuzhi_o:before {
content: "\eb4e";
}
.icon-shoucang1:before {
content: "\e8c6";
}
.icon-liebiaomoshi:before {
content: "\e600";
}
.icon-shoucang:before {
content: "\e614";
}
.icon-anquanlihui:before {
content: "\e608";
}
.icon-bianji:before {
content: "\e609";
}
.icon-a-jilu2:before {
content: "\e60b";
}
.icon-jianxiufangan:before {
content: "\e60c";
}
.icon-jiankongzhongxin:before {
content: "\e60d";
}
.icon-jiaoyu:before {
content: "\e60e";
}
.icon-guichengzhidu:before {
content: "\e60f";
}
.icon-fuzhukongzhi:before {
content: "\e610";
}
.icon-shujuchaolu:before {
content: "\e613";
}
.icon-wentijilu:before {
content: "\e616";
}
.icon-renyuanguanli:before {
content: "\e618";
}
.icon-a-xiushijilu2:before {
content: "\e617";
}
.icon-weixin:before {
content: "\e637";
}
.icon-zhifu-zhifubao:before {
content: "\e6bd";
}
.icon-huo:before {
content: "\e6e1";
}
.icon-tianjia:before {
content: "\e647";
}
.icon-huiyuan1:before {
content: "\e8b1";
}
.icon-jushoucanggift:before {
content: "\e684";
}
.icon-zhuti:before {
content: "\f985";
}
.icon-xunzhang:before {
content: "\f952";
}
.icon-xiaoxi1:before {
content: "\f961";
}
.icon-faxian:before {
content: "\f97e";
}
.icon-yonghu:before {
content: "\e7ea";
}
.icon-fenxiang:before {
content: "\e7f8";
}
.icon-shezhi:before {
content: "\e803";
}
.icon-cengji:before {
content: "\e805";
}
.icon-jiangcheng:before {
content: "\e806";
}
.icon-xiaoxi:before {
content: "\e642";
}
.icon-huiyuan:before {
content: "\e8c5";
}
.icon-qinghuiyuan:before {
content: "\e8b5";
}
.icon-shebeiguanli:before {
content: "\ebb7";
}
.icon-jifen:before {
content: "\e674";
}
.icon-qiandao:before {
content: "\e615";
}
|
274056675/springboot-openai-chatgpt | 4,282 | chatgpt_pc/src/views/user/rl-detail.vue | <template>
<div class="rl-detail">
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="全部" name="all">
<div class="box" ref="init1">
<div class="active-box" v-for="(item, index) in activeList" :key="index">
<div style="color:#960A0F;width:36%;">{{ item.title }}</div>
<div style="color:#0096FF;">{{ item.num }}</div>
<div style="color:#999999;width:36%;text-align:right;">{{ item.time }}</div>
</div>
</div>
</el-tab-pane>
<el-tab-pane label="收入" name="income">
<div class="box" ref="init2">
<div class="active-box" v-for="(item, index) in activeList" :key="index">
<div style="color:#960A0F;width:36%;">{{ item.title }}</div>
<div style="color:#0096FF;">{{ item.num }}</div>
<div style="color:#999999;width:36%;text-align:right;">{{ item.time }}</div>
</div>
</div>
</el-tab-pane>
<el-tab-pane label="支出" name="expend">
<div class="box" ref="init3">
<div class="active-box" v-for="(item, index) in activeList" :key="index">
<div style="color:#960A0F;width:36%;">{{ item.title }}</div>
<div style="color:#0096FF;">{{ item.num }}</div>
<div style="color:#999999;width:36%;text-align:right;">{{ item.time }}</div>
</div>
</div>
</el-tab-pane>
</el-tabs>
<el-pagination :small="true" @size-change="creditSizeChange" @current-change="creditCurrentChange"
:current-page.sync="creditPageObj.current" :page-size="creditPageObj.size" layout="prev, pager, next, jumper"
:total="creditPageObj.total"></el-pagination>
</div>
</template>
<script>
import { getCreditListApi } from '@/api/user'
export default {
name: 'rl-detail',
data() {
return {
activeName: 'all',
activeList: [
//展示列表
// { title: '时间', num: 0, time: '4008688' },
],
creditPageObj: {
current: 1, // 当前页
size: 20, // 每页的数量
total: 0,
},
}
},
mounted() {
// 默认加载全部数据
this.handleClick()
// this.$nextTick(() => {
// console.log('init>>>>>>>>>>', window.getComputedStyle(this.$refs.init1).height)
// })
},
methods: {
// 点击跳转时请求数据
handleClick(tab, event) {
this.creditPageObj.current = 1
this.getActiveList()
},
creditSizeChange(val) {
console.log(`每页 ${val} 条`)
},
// 切换分页
creditCurrentChange(val) {
this.creditPageObj.current = val
this.getActiveList()
},
// 获取数据赋值
async getActiveList() {
let data
let arr = []
let params = {
current: this.creditPageObj.current, // 当前页
size: this.creditPageObj.size, // 每页的数量
type: '', // ''全部, add收入, sub支出
}
if (this.activeName === 'all') {
data = await getCreditListApi(params)
} else if (this.activeName === 'income') {
params.type = 'add'
data = await getCreditListApi(params)
} else if (this.activeName === 'expend') {
params.type = 'sub'
data = await getCreditListApi(params)
}
this.creditPageObj.total = data.data.total
data.data.records.forEach((item) => {
arr.push({
title: item.remark,
num: item.type === 'ADD' ? `+ ${item.num}` : `- ${item.num}`,
time: item.create_time,
})
})
this.activeList = arr
}
},
}
</script>
<style lang="scss">
.el-tabs__content {
height: calc(100vh - 228px);
overflow-y: auto;
scrollbar-color: rgba(0, 0, 0, 0.1) rgba(251, 246, 246, 0.1); //滚动条轨道颜色 滚动条滑块的颜色
scrollbar-width: none;
scrollbar-width: thin; //thin模式下滚动条两端的三角按钮会消失
}
.rl-detail {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
.box {
// width: 68%;
height: 100%;
overflow-y: auto;
scrollbar-color: rgba(0, 0, 0, 0.1) rgba(251, 246, 246, 0.1); //滚动条轨道颜色 滚动条滑块的颜色
scrollbar-width: none;
scrollbar-width: thin; //thin模式下滚动条两端的三角按钮会消失
.active-box {
height: 64px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1);
font-size: 12px;
}
}
}
</style> |
274056675/springboot-openai-chatgpt | 5,955 | chatgpt_pc/src/views/user/setting.vue | <template>
<div class="setting">
<el-tabs tab-position="left" style="height: 400px; margin-top: 20px" stretch>
<el-tab-pane label="更换手机号">
<div class="phone-box">
<div class="phone_title">绑定新手机号</div>
<div class="phone_new">
<el-form
label-position="top"
label-width="80px"
:model="phoneinfo"
:rules="rules"
>
<el-form-item label="新手机号" prop="phone">
<el-input v-model="phoneinfo.phone"></el-input>
</el-form-item>
<el-form-item label="验证码" prop="authCode">
<el-input v-model="phoneinfo.authCode">
<template slot="append">
<el-button
style="width: 142px"
@click="getCode"
:disabled="codeTime > 0"
>{{ codeTitle }}</el-button
>
</template>
</el-input>
</el-form-item>
</el-form>
<div style="font-size: 12px; color: #960a0f">
更改后将使用该手机号接收验证码
</div>
<el-button class="qrgg" @click="editInfoData">确认更改</el-button>
</div>
</div>
</el-tab-pane>
</el-tabs>
<Vcode :show="dialogVisible" @success="codeSuccess" :imgs="[img2, img1]"></Vcode>
</div>
</template>
<script>
import { sendMessageCode, getSlideCode } from "@/api/system.js";
import Vcode from "vue-puzzle-vcode";
import { editInfoDataApi } from "@/api/user";
import { mapActions, mapGetters } from "vuex";
export default {
name: "setting",
components: {
Vcode,
},
data() {
return {
timer: null,
codeTitle: "获取验证码",
codeTime: 0, //验证码定时
phoneinfo: {
phone: "",
authCode: "",
random: "",
},
rules: {
// 校验
phone: [
{ required: true, message: "请输入手机号码", trigger: "blur" },
{
validator: function (rule, value, callback) {
if (/^1[34578]\d{9}$/.test(value) == false) {
callback(new Error("请输入正确的手机号"));
} else {
callback();
}
},
trigger: "blur",
},
],
authCode: [
{ required: true, message: "请输入验证码", trigger: "blur" },
{ min: 6, max: 6, message: "请输入正确的验证码" },
],
},
zfbImageUrl: "",
zfbVisible: false,
img2: "",
img1: "",
dialogVisible: false,
};
},
computed: {
...mapGetters(["isLogin", "settingObj"]),
},
mounted() {},
methods: {
...mapActions(["getUserInfoActions", "getSettingDataActions"]),
editInfoData() {
let data = {
phone: this.phoneinfo.phone,
code: this.phoneinfo.authCode,
};
this.$showLoading({
text: "更换中",
});
editInfoDataApi(data)
.then((res) => {
if (res.code == 200) {
this.getUserInfoActions();
clearInterval(this.timer);
this.codeTime = 0;
this.codeTitle = "获取验证码";
this.phoneinfo.phone = "";
this.phoneinfo.authCode = "";
this.$hideLoading({
message: "更换成功",
type: "success",
});
} else {
this.$hideLoading({
message: res.msg,
type: "success",
});
}
})
.catch((err) => {
this.$hideLoading({
message: "更换失败",
type: "error",
});
});
},
codeSuccess() {
this.dialogVisible = false;
let params = {
phone: this.phoneinfo.phone,
random: this.phoneinfo.random,
};
this.$showLoading({
text: "校验中",
});
sendMessageCode(params)
.then((res) => {
this.$hideLoading({
message: "校验成功",
type: "success",
});
// 验证码定时
this.codeTime = 60;
this.codeTitle = this.codeTime + "秒后重新获取";
this.timer = setInterval(() => {
if (this.codeTime > 0) {
this.codeTime--;
this.codeTitle = this.codeTime + "秒后重新获取";
} else {
clearInterval(this.timer);
this.codeTime = 0;
this.codeTitle = "获取验证码";
}
}, 1000);
})
.catch((err) => {
this.$hideLoading({
message: "校验失败",
type: "error",
});
});
},
// 获取验证码
getCode() {
let check = this.formCheck(this.phoneinfo.phone);
if (!check.flag) {
return this.$message.error(check.info);
}
let params = {
index: 3,
phone: this.phoneinfo.phone,
type: "pc",
};
getSlideCode(params).then((res) => {
this.img1 = "data:image/png;base64," + res.data.image1;
this.img2 = "data:image/png;base64," + res.data.image2;
this.phoneinfo.random = res.data.random;
this.dialogVisible = true;
});
},
// 验证手机号
formCheck(value) {
let reg = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
if (!value) {
return {
info: "请输入手机号!",
flag: false,
};
} else if (!reg.test(value)) {
return {
info: "请输入正确的手机号!",
flag: false,
};
} else {
return {
flag: true,
};
}
},
},
};
</script>
<style lang="scss">
.phone-box {
display: flex;
margin-left: 60px;
.phone_title {
margin-right: 40px;
font-size: 16px;
}
}
.qrgg {
width: 200px;
margin-top: 40px;
background: #960a0f;
color: #fff;
border-radius: 10px;
}
.qrgg:hover,
.qrgg:focus {
background: #960a0f;
color: #fff;
}
</style>
|
274056675/springboot-openai-chatgpt | 1,974 | chatgpt_pc/src/views/user/share.vue | <template>
<div class="share-box">
<div class="share-header">
<div class="share-header_title">邀好友,享推荐收益</div>
<div class="share-header_rule">邀请规则</div>
</div>
<div class="share-main">
<div class="img-box">
<img style="width:50px;height:50px;" src="../../static/df_avatar_nan.png" />
<span class="iconfont icon-tianjia icon" style="margin: 0 36px;"></span>
<span class="iconfont icon-tianjia icon"></span>
</div>
<div class="share_title" @click="generateQrCode">复制链接邀请好友</div>
</div>
</div>
</template>
<script>
import { share } from '@/utils/share'
export default {
name: 'share',
data() {
return {}
},
methods: {
// 邀请
generateQrCode() {
share()
},
}
}
</script>
<style lang="scss" scoped>
.share-box {
height: 90%;
padding: 24px;
background-color: #faf4ec;
.share-header {
display: flex;
justify-content: space-between;
align-items: center;
.share-header_title {
color: #970d12;
font-size: 32px;
font-weight: 800;
}
.share-header_rule {
width: 96px;
height: 36px;
line-height: 36px;
font-size: 16px;
text-align: center;
background-color: #970d12;
border-radius: 20px;
color: #fff;
cursor: pointer;
}
}
.share-main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 226px;
margin-top: 40px;
background: url('../../static/index/bg2.png') no-repeat;
.img-box {
display: flex;
margin-top: 60px;
.icon {
font-size: 48px;
color: #970d12;
}
}
.share_title {
width: 198px;
height: 36px;
margin-top: 36px;
line-height: 36px;
text-align: center;
background: #960a0f;
border-radius: 18px;
font-size: 14px;
color: #fff;
cursor: pointer;
}
}
}
</style> |
233zzh/TitanDataOperationSystem | 104,822 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/jvector/jquery-jvectormap-2.0.2.min.js | /**
* jVectorMap version 2.0.2
*
* Copyright 2011-2014, Kirill Lebedev
*
*/
(function( $ ){
var apiParams = {
set: {
colors: 1,
values: 1,
backgroundColor: 1,
scaleColors: 1,
normalizeFunction: 1,
focus: 1
},
get: {
selectedRegions: 1,
selectedMarkers: 1,
mapObject: 1,
regionName: 1
}
};
$.fn.vectorMap = function(options) {
var map,
methodName,
map = this.children('.jvectormap-container').data('mapObject');
if (options === 'addMap') {
jvm.Map.maps[arguments[1]] = arguments[2];
} else if ((options === 'set' || options === 'get') && apiParams[options][arguments[1]]) {
methodName = arguments[1].charAt(0).toUpperCase()+arguments[1].substr(1);
return map[options+methodName].apply(map, Array.prototype.slice.call(arguments, 2));
} else {
options = options || {};
options.container = this;
map = new jvm.Map(options);
}
return this;
};
})( jQuery );
/*! Copyright (c) 2013 Brandon Aaron (http://brandon.aaron.sh)
* Licensed under the MIT License (LICENSE.txt).
*
* Version: 3.1.9
*
* Requires: jQuery 1.2.2+
*/
(function (factory) {
if ( typeof define === 'function' && define.amd ) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS style for Browserify
module.exports = factory;
} else {
// Browser globals
factory(jQuery);
}
}(function ($) {
var toFix = ['wheel', 'mousewheel', 'DOMMouseScroll', 'MozMousePixelScroll'],
toBind = ( 'onwheel' in document || document.documentMode >= 9 ) ?
['wheel'] : ['mousewheel', 'DomMouseScroll', 'MozMousePixelScroll'],
slice = Array.prototype.slice,
nullLowestDeltaTimeout, lowestDelta;
if ( $.event.fixHooks ) {
for ( var i = toFix.length; i; ) {
$.event.fixHooks[ toFix[--i] ] = $.event.mouseHooks;
}
}
var special = $.event.special.mousewheel = {
version: '3.1.9',
setup: function() {
if ( this.addEventListener ) {
for ( var i = toBind.length; i; ) {
this.addEventListener( toBind[--i], handler, false );
}
} else {
this.onmousewheel = handler;
}
// Store the line height and page height for this particular element
$.data(this, 'mousewheel-line-height', special.getLineHeight(this));
$.data(this, 'mousewheel-page-height', special.getPageHeight(this));
},
teardown: function() {
if ( this.removeEventListener ) {
for ( var i = toBind.length; i; ) {
this.removeEventListener( toBind[--i], handler, false );
}
} else {
this.onmousewheel = null;
}
},
getLineHeight: function(elem) {
return parseInt($(elem)['offsetParent' in $.fn ? 'offsetParent' : 'parent']().css('fontSize'), 10);
},
getPageHeight: function(elem) {
return $(elem).height();
},
settings: {
adjustOldDeltas: true
}
};
$.fn.extend({
mousewheel: function(fn) {
return fn ? this.bind('mousewheel', fn) : this.trigger('mousewheel');
},
unmousewheel: function(fn) {
return this.unbind('mousewheel', fn);
}
});
function handler(event) {
var orgEvent = event || window.event,
args = slice.call(arguments, 1),
delta = 0,
deltaX = 0,
deltaY = 0,
absDelta = 0;
event = $.event.fix(orgEvent);
event.type = 'mousewheel';
// Old school scrollwheel delta
if ( 'detail' in orgEvent ) { deltaY = orgEvent.detail * -1; }
if ( 'wheelDelta' in orgEvent ) { deltaY = orgEvent.wheelDelta; }
if ( 'wheelDeltaY' in orgEvent ) { deltaY = orgEvent.wheelDeltaY; }
if ( 'wheelDeltaX' in orgEvent ) { deltaX = orgEvent.wheelDeltaX * -1; }
// Firefox < 17 horizontal scrolling related to DOMMouseScroll event
if ( 'axis' in orgEvent && orgEvent.axis === orgEvent.HORIZONTAL_AXIS ) {
deltaX = deltaY * -1;
deltaY = 0;
}
// Set delta to be deltaY or deltaX if deltaY is 0 for backwards compatabilitiy
delta = deltaY === 0 ? deltaX : deltaY;
// New school wheel delta (wheel event)
if ( 'deltaY' in orgEvent ) {
deltaY = orgEvent.deltaY * -1;
delta = deltaY;
}
if ( 'deltaX' in orgEvent ) {
deltaX = orgEvent.deltaX;
if ( deltaY === 0 ) { delta = deltaX * -1; }
}
// No change actually happened, no reason to go any further
if ( deltaY === 0 && deltaX === 0 ) { return; }
// Need to convert lines and pages to pixels if we aren't already in pixels
// There are three delta modes:
// * deltaMode 0 is by pixels, nothing to do
// * deltaMode 1 is by lines
// * deltaMode 2 is by pages
if ( orgEvent.deltaMode === 1 ) {
var lineHeight = $.data(this, 'mousewheel-line-height');
delta *= lineHeight;
deltaY *= lineHeight;
deltaX *= lineHeight;
} else if ( orgEvent.deltaMode === 2 ) {
var pageHeight = $.data(this, 'mousewheel-page-height');
delta *= pageHeight;
deltaY *= pageHeight;
deltaX *= pageHeight;
}
// Store lowest absolute delta to normalize the delta values
absDelta = Math.max( Math.abs(deltaY), Math.abs(deltaX) );
if ( !lowestDelta || absDelta < lowestDelta ) {
lowestDelta = absDelta;
// Adjust older deltas if necessary
if ( shouldAdjustOldDeltas(orgEvent, absDelta) ) {
lowestDelta /= 40;
}
}
// Adjust older deltas if necessary
if ( shouldAdjustOldDeltas(orgEvent, absDelta) ) {
// Divide all the things by 40!
delta /= 40;
deltaX /= 40;
deltaY /= 40;
}
// Get a whole, normalized value for the deltas
delta = Math[ delta >= 1 ? 'floor' : 'ceil' ](delta / lowestDelta);
deltaX = Math[ deltaX >= 1 ? 'floor' : 'ceil' ](deltaX / lowestDelta);
deltaY = Math[ deltaY >= 1 ? 'floor' : 'ceil' ](deltaY / lowestDelta);
// Add information to the event object
event.deltaX = deltaX;
event.deltaY = deltaY;
event.deltaFactor = lowestDelta;
// Go ahead and set deltaMode to 0 since we converted to pixels
// Although this is a little odd since we overwrite the deltaX/Y
// properties with normalized deltas.
event.deltaMode = 0;
// Add event and delta to the front of the arguments
args.unshift(event, delta, deltaX, deltaY);
// Clearout lowestDelta after sometime to better
// handle multiple device types that give different
// a different lowestDelta
// Ex: trackpad = 3 and mouse wheel = 120
if (nullLowestDeltaTimeout) { clearTimeout(nullLowestDeltaTimeout); }
nullLowestDeltaTimeout = setTimeout(nullLowestDelta, 200);
return ($.event.dispatch || $.event.handle).apply(this, args);
}
function nullLowestDelta() {
lowestDelta = null;
}
function shouldAdjustOldDeltas(orgEvent, absDelta) {
// If this is an older event and the delta is divisable by 120,
// then we are assuming that the browser is treating this as an
// older mouse wheel event and that we should divide the deltas
// by 40 to try and get a more usable deltaFactor.
// Side note, this actually impacts the reported scroll distance
// in older browsers and can cause scrolling to be slower than native.
// Turn this off by setting $.event.special.mousewheel.settings.adjustOldDeltas to false.
return special.settings.adjustOldDeltas && orgEvent.type === 'mousewheel' && absDelta % 120 === 0;
}
}));/**
* @namespace jvm Holds core methods and classes used by jVectorMap.
*/
var jvm = {
/**
* Inherits child's prototype from the parent's one.
* @param {Function} child
* @param {Function} parent
*/
inherits: function(child, parent) {
function temp() {}
temp.prototype = parent.prototype;
child.prototype = new temp();
child.prototype.constructor = child;
child.parentClass = parent;
},
/**
* Mixes in methods from the source constructor to the target one.
* @param {Function} target
* @param {Function} source
*/
mixin: function(target, source){
var prop;
for (prop in source.prototype) {
if (source.prototype.hasOwnProperty(prop)) {
target.prototype[prop] = source.prototype[prop];
}
}
},
min: function(values){
var min = Number.MAX_VALUE,
i;
if (values instanceof Array) {
for (i = 0; i < values.length; i++) {
if (values[i] < min) {
min = values[i];
}
}
} else {
for (i in values) {
if (values[i] < min) {
min = values[i];
}
}
}
return min;
},
max: function(values){
var max = Number.MIN_VALUE,
i;
if (values instanceof Array) {
for (i = 0; i < values.length; i++) {
if (values[i] > max) {
max = values[i];
}
}
} else {
for (i in values) {
if (values[i] > max) {
max = values[i];
}
}
}
return max;
},
keys: function(object){
var keys = [],
key;
for (key in object) {
keys.push(key);
}
return keys;
},
values: function(object){
var values = [],
key,
i;
for (i = 0; i < arguments.length; i++) {
object = arguments[i];
for (key in object) {
values.push(object[key]);
}
}
return values;
},
whenImageLoaded: function(url){
var deferred = new jvm.$.Deferred(),
img = jvm.$('<img/>');
img.error(function(){
deferred.reject();
}).load(function(){
deferred.resolve(img);
});
img.attr('src', url);
return deferred;
},
isImageUrl: function(s){
return /\.\w{3,4}$/.test(s);
}
};
jvm.$ = jQuery;
/**
* indexOf polyfill for IE < 9
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf
*/
if (!Array.prototype.indexOf) {
Array.prototype.indexOf = function (searchElement, fromIndex) {
var k;
// 1. Let O be the result of calling ToObject passing
// the this value as the argument.
if (this == null) {
throw new TypeError('"this" is null or not defined');
}
var O = Object(this);
// 2. Let lenValue be the result of calling the Get
// internal method of O with the argument "length".
// 3. Let len be ToUint32(lenValue).
var len = O.length >>> 0;
// 4. If len is 0, return -1.
if (len === 0) {
return -1;
}
// 5. If argument fromIndex was passed let n be
// ToInteger(fromIndex); else let n be 0.
var n = +fromIndex || 0;
if (Math.abs(n) === Infinity) {
n = 0;
}
// 6. If n >= len, return -1.
if (n >= len) {
return -1;
}
// 7. If n >= 0, then Let k be n.
// 8. Else, n<0, Let k be len - abs(n).
// If k is less than 0, then let k be 0.
k = Math.max(n >= 0 ? n : len - Math.abs(n), 0);
// 9. Repeat, while k < len
while (k < len) {
// a. Let Pk be ToString(k).
// This is implicit for LHS operands of the in operator
// b. Let kPresent be the result of calling the
// HasProperty internal method of O with argument Pk.
// This step can be combined with c
// c. If kPresent is true, then
// i. Let elementK be the result of calling the Get
// internal method of O with the argument ToString(k).
// ii. Let same be the result of applying the
// Strict Equality Comparison Algorithm to
// searchElement and elementK.
// iii. If same is true, return k.
if (k in O && O[k] === searchElement) {
return k;
}
k++;
}
return -1;
};
}/**
* Basic wrapper for DOM element.
* @constructor
* @param {String} name Tag name of the element
* @param {Object} config Set of parameters to initialize element with
*/
jvm.AbstractElement = function(name, config){
/**
* Underlying DOM element
* @type {DOMElement}
* @private
*/
this.node = this.createElement(name);
/**
* Name of underlying element
* @type {String}
* @private
*/
this.name = name;
/**
* Internal store of attributes
* @type {Object}
* @private
*/
this.properties = {};
if (config) {
this.set(config);
}
};
/**
* Set attribute of the underlying DOM element.
* @param {String} name Name of attribute
* @param {Number|String} config Set of parameters to initialize element with
*/
jvm.AbstractElement.prototype.set = function(property, value){
var key;
if (typeof property === 'object') {
for (key in property) {
this.properties[key] = property[key];
this.applyAttr(key, property[key]);
}
} else {
this.properties[property] = value;
this.applyAttr(property, value);
}
};
/**
* Returns value of attribute.
* @param {String} name Name of attribute
*/
jvm.AbstractElement.prototype.get = function(property){
return this.properties[property];
};
/**
* Applies attribute value to the underlying DOM element.
* @param {String} name Name of attribute
* @param {Number|String} config Value of attribute to apply
* @private
*/
jvm.AbstractElement.prototype.applyAttr = function(property, value){
this.node.setAttribute(property, value);
};
jvm.AbstractElement.prototype.remove = function(){
jvm.$(this.node).remove();
};/**
* Implements abstract vector canvas.
* @constructor
* @param {HTMLElement} container Container to put element to.
* @param {Number} width Width of canvas.
* @param {Number} height Height of canvas.
*/
jvm.AbstractCanvasElement = function(container, width, height){
this.container = container;
this.setSize(width, height);
this.rootElement = new jvm[this.classPrefix+'GroupElement']();
this.node.appendChild( this.rootElement.node );
this.container.appendChild(this.node);
}
/**
* Add element to the certain group inside of the canvas.
* @param {HTMLElement} element Element to add to canvas.
* @param {HTMLElement} group Group to add element into or into root group if not provided.
*/
jvm.AbstractCanvasElement.prototype.add = function(element, group){
group = group || this.rootElement;
group.add(element);
element.canvas = this;
}
/**
* Create path and add it to the canvas.
* @param {Object} config Parameters of path to create.
* @param {Object} style Styles of the path to create.
* @param {HTMLElement} group Group to add path into.
*/
jvm.AbstractCanvasElement.prototype.addPath = function(config, style, group){
var el = new jvm[this.classPrefix+'PathElement'](config, style);
this.add(el, group);
return el;
};
/**
* Create circle and add it to the canvas.
* @param {Object} config Parameters of path to create.
* @param {Object} style Styles of the path to create.
* @param {HTMLElement} group Group to add circle into.
*/
jvm.AbstractCanvasElement.prototype.addCircle = function(config, style, group){
var el = new jvm[this.classPrefix+'CircleElement'](config, style);
this.add(el, group);
return el;
};
/**
* Create circle and add it to the canvas.
* @param {Object} config Parameters of path to create.
* @param {Object} style Styles of the path to create.
* @param {HTMLElement} group Group to add circle into.
*/
jvm.AbstractCanvasElement.prototype.addImage = function(config, style, group){
var el = new jvm[this.classPrefix+'ImageElement'](config, style);
this.add(el, group);
return el;
};
/**
* Create text and add it to the canvas.
* @param {Object} config Parameters of path to create.
* @param {Object} style Styles of the path to create.
* @param {HTMLElement} group Group to add circle into.
*/
jvm.AbstractCanvasElement.prototype.addText = function(config, style, group){
var el = new jvm[this.classPrefix+'TextElement'](config, style);
this.add(el, group);
return el;
};
/**
* Add group to the another group inside of the canvas.
* @param {HTMLElement} group Group to add circle into or root group if not provided.
*/
jvm.AbstractCanvasElement.prototype.addGroup = function(parentGroup){
var el = new jvm[this.classPrefix+'GroupElement']();
if (parentGroup) {
parentGroup.node.appendChild(el.node);
} else {
this.node.appendChild(el.node);
}
el.canvas = this;
return el;
};/**
* Abstract shape element. Shape element represents some visual vector or raster object.
* @constructor
* @param {String} name Tag name of the element.
* @param {Object} config Set of parameters to initialize element with.
* @param {Object} style Object with styles to set on element initialization.
*/
jvm.AbstractShapeElement = function(name, config, style){
this.style = style || {};
this.style.current = this.style.current || {};
this.isHovered = false;
this.isSelected = false;
this.updateStyle();
};
/**
* Set element's style.
* @param {Object|String} property Could be string to set only one property or object to set several style properties at once.
* @param {String} value Value to set in case only one property should be set.
*/
jvm.AbstractShapeElement.prototype.setStyle = function(property, value){
var styles = {};
if (typeof property === 'object') {
styles = property;
} else {
styles[property] = value;
}
jvm.$.extend(this.style.current, styles);
this.updateStyle();
};
jvm.AbstractShapeElement.prototype.updateStyle = function(){
var attrs = {};
jvm.AbstractShapeElement.mergeStyles(attrs, this.style.initial);
jvm.AbstractShapeElement.mergeStyles(attrs, this.style.current);
if (this.isHovered) {
jvm.AbstractShapeElement.mergeStyles(attrs, this.style.hover);
}
if (this.isSelected) {
jvm.AbstractShapeElement.mergeStyles(attrs, this.style.selected);
if (this.isHovered) {
jvm.AbstractShapeElement.mergeStyles(attrs, this.style.selectedHover);
}
}
this.set(attrs);
};
jvm.AbstractShapeElement.mergeStyles = function(styles, newStyles){
var key;
newStyles = newStyles || {};
for (key in newStyles) {
if (newStyles[key] === null) {
delete styles[key];
} else {
styles[key] = newStyles[key];
}
}
}/**
* Wrapper for SVG element.
* @constructor
* @extends jvm.AbstractElement
* @param {String} name Tag name of the element
* @param {Object} config Set of parameters to initialize element with
*/
jvm.SVGElement = function(name, config){
jvm.SVGElement.parentClass.apply(this, arguments);
}
jvm.inherits(jvm.SVGElement, jvm.AbstractElement);
jvm.SVGElement.svgns = "http://www.w3.org/2000/svg";
/**
* Creates DOM element.
* @param {String} tagName Name of element
* @private
* @returns DOMElement
*/
jvm.SVGElement.prototype.createElement = function( tagName ){
return document.createElementNS( jvm.SVGElement.svgns, tagName );
};
/**
* Adds CSS class for underlying DOM element.
* @param {String} className Name of CSS class name
*/
jvm.SVGElement.prototype.addClass = function( className ){
this.node.setAttribute('class', className);
};
/**
* Returns constructor for element by name prefixed with 'VML'.
* @param {String} ctr Name of basic constructor to return
* proper implementation for.
* @returns Function
* @private
*/
jvm.SVGElement.prototype.getElementCtr = function( ctr ){
return jvm['SVG'+ctr];
};
jvm.SVGElement.prototype.getBBox = function(){
return this.node.getBBox();
};jvm.SVGGroupElement = function(){
jvm.SVGGroupElement.parentClass.call(this, 'g');
}
jvm.inherits(jvm.SVGGroupElement, jvm.SVGElement);
jvm.SVGGroupElement.prototype.add = function(element){
this.node.appendChild( element.node );
};jvm.SVGCanvasElement = function(container, width, height){
this.classPrefix = 'SVG';
jvm.SVGCanvasElement.parentClass.call(this, 'svg');
this.defsElement = new jvm.SVGElement('defs');
this.node.appendChild( this.defsElement.node );
jvm.AbstractCanvasElement.apply(this, arguments);
}
jvm.inherits(jvm.SVGCanvasElement, jvm.SVGElement);
jvm.mixin(jvm.SVGCanvasElement, jvm.AbstractCanvasElement);
jvm.SVGCanvasElement.prototype.setSize = function(width, height){
this.width = width;
this.height = height;
this.node.setAttribute('width', width);
this.node.setAttribute('height', height);
};
jvm.SVGCanvasElement.prototype.applyTransformParams = function(scale, transX, transY) {
this.scale = scale;
this.transX = transX;
this.transY = transY;
this.rootElement.node.setAttribute('transform', 'scale('+scale+') translate('+transX+', '+transY+')');
};jvm.SVGShapeElement = function(name, config, style){
jvm.SVGShapeElement.parentClass.call(this, name, config);
jvm.AbstractShapeElement.apply(this, arguments);
};
jvm.inherits(jvm.SVGShapeElement, jvm.SVGElement);
jvm.mixin(jvm.SVGShapeElement, jvm.AbstractShapeElement);
jvm.SVGShapeElement.prototype.applyAttr = function(attr, value){
var patternEl,
imageEl,
that = this;
if (attr === 'fill' && jvm.isImageUrl(value)) {
if (!jvm.SVGShapeElement.images[value]) {
jvm.whenImageLoaded(value).then(function(img){
imageEl = new jvm.SVGElement('image');
imageEl.node.setAttributeNS('http://www.w3.org/1999/xlink', 'href', value);
imageEl.applyAttr('x', '0');
imageEl.applyAttr('y', '0');
imageEl.applyAttr('width', img[0].width);
imageEl.applyAttr('height', img[0].height);
patternEl = new jvm.SVGElement('pattern');
patternEl.applyAttr('id', 'image'+jvm.SVGShapeElement.imageCounter);
patternEl.applyAttr('x', 0);
patternEl.applyAttr('y', 0);
patternEl.applyAttr('width', img[0].width / 2);
patternEl.applyAttr('height', img[0].height / 2);
patternEl.applyAttr('viewBox', '0 0 '+img[0].width+' '+img[0].height);
patternEl.applyAttr('patternUnits', 'userSpaceOnUse');
patternEl.node.appendChild( imageEl.node );
that.canvas.defsElement.node.appendChild( patternEl.node );
jvm.SVGShapeElement.images[value] = jvm.SVGShapeElement.imageCounter++;
that.applyAttr('fill', 'url(#image'+jvm.SVGShapeElement.images[value]+')');
});
} else {
this.applyAttr('fill', 'url(#image'+jvm.SVGShapeElement.images[value]+')');
}
} else {
jvm.SVGShapeElement.parentClass.prototype.applyAttr.apply(this, arguments);
}
};
jvm.SVGShapeElement.imageCounter = 1;
jvm.SVGShapeElement.images = {};jvm.SVGPathElement = function(config, style){
jvm.SVGPathElement.parentClass.call(this, 'path', config, style);
this.node.setAttribute('fill-rule', 'evenodd');
}
jvm.inherits(jvm.SVGPathElement, jvm.SVGShapeElement);jvm.SVGCircleElement = function(config, style){
jvm.SVGCircleElement.parentClass.call(this, 'circle', config, style);
};
jvm.inherits(jvm.SVGCircleElement, jvm.SVGShapeElement);jvm.SVGImageElement = function(config, style){
jvm.SVGImageElement.parentClass.call(this, 'image', config, style);
};
jvm.inherits(jvm.SVGImageElement, jvm.SVGShapeElement);
jvm.SVGImageElement.prototype.applyAttr = function(attr, value){
var that = this;
if (attr == 'image') {
jvm.whenImageLoaded(value).then(function(img){
that.node.setAttributeNS('http://www.w3.org/1999/xlink', 'href', value);
that.width = img[0].width;
that.height = img[0].height;
that.applyAttr('width', that.width);
that.applyAttr('height', that.height);
that.applyAttr('x', that.cx - that.width / 2);
that.applyAttr('y', that.cy - that.height / 2);
jvm.$(that.node).trigger('imageloaded', [img]);
});
} else if(attr == 'cx') {
this.cx = value;
if (this.width) {
this.applyAttr('x', value - this.width / 2);
}
} else if(attr == 'cy') {
this.cy = value;
if (this.height) {
this.applyAttr('y', value - this.height / 2);
}
} else {
jvm.SVGImageElement.parentClass.prototype.applyAttr.apply(this, arguments);
}
};jvm.SVGTextElement = function(config, style){
jvm.SVGTextElement.parentClass.call(this, 'text', config, style);
}
jvm.inherits(jvm.SVGTextElement, jvm.SVGShapeElement);
jvm.SVGTextElement.prototype.applyAttr = function(attr, value){
if (attr === 'text') {
this.node.textContent = value;
} else {
jvm.SVGTextElement.parentClass.prototype.applyAttr.apply(this, arguments);
}
};/**
* Wrapper for VML element.
* @constructor
* @extends jvm.AbstractElement
* @param {String} name Tag name of the element
* @param {Object} config Set of parameters to initialize element with
*/
jvm.VMLElement = function(name, config){
if (!jvm.VMLElement.VMLInitialized) {
jvm.VMLElement.initializeVML();
}
jvm.VMLElement.parentClass.apply(this, arguments);
};
jvm.inherits(jvm.VMLElement, jvm.AbstractElement);
/**
* Shows if VML was already initialized for the current document or not.
* @static
* @private
* @type {Boolean}
*/
jvm.VMLElement.VMLInitialized = false;
/**
* Initializes VML handling before creating the first element
* (adds CSS class and creates namespace). Adds one of two forms
* of createElement method depending of support by browser.
* @static
* @private
*/
// The following method of VML handling is borrowed from the
// Raphael library by Dmitry Baranovsky.
jvm.VMLElement.initializeVML = function(){
try {
if (!document.namespaces.rvml) {
document.namespaces.add("rvml","urn:schemas-microsoft-com:vml");
}
/**
* Creates DOM element.
* @param {String} tagName Name of element
* @private
* @returns DOMElement
*/
jvm.VMLElement.prototype.createElement = function (tagName) {
return document.createElement('<rvml:' + tagName + ' class="rvml">');
};
} catch (e) {
/**
* @private
*/
jvm.VMLElement.prototype.createElement = function (tagName) {
return document.createElement('<' + tagName + ' xmlns="urn:schemas-microsoft.com:vml" class="rvml">');
};
}
document.createStyleSheet().addRule(".rvml", "behavior:url(#default#VML)");
jvm.VMLElement.VMLInitialized = true;
};
/**
* Returns constructor for element by name prefixed with 'VML'.
* @param {String} ctr Name of basic constructor to return
* proper implementation for.
* @returns Function
* @private
*/
jvm.VMLElement.prototype.getElementCtr = function( ctr ){
return jvm['VML'+ctr];
};
/**
* Adds CSS class for underlying DOM element.
* @param {String} className Name of CSS class name
*/
jvm.VMLElement.prototype.addClass = function( className ){
jvm.$(this.node).addClass(className);
};
/**
* Applies attribute value to the underlying DOM element.
* @param {String} name Name of attribute
* @param {Number|String} config Value of attribute to apply
* @private
*/
jvm.VMLElement.prototype.applyAttr = function( attr, value ){
this.node[attr] = value;
};
/**
* Returns boundary box for the element.
* @returns {Object} Boundary box with numeric fields: x, y, width, height
* @override
*/
jvm.VMLElement.prototype.getBBox = function(){
var node = jvm.$(this.node);
return {
x: node.position().left / this.canvas.scale,
y: node.position().top / this.canvas.scale,
width: node.width() / this.canvas.scale,
height: node.height() / this.canvas.scale
};
};jvm.VMLGroupElement = function(){
jvm.VMLGroupElement.parentClass.call(this, 'group');
this.node.style.left = '0px';
this.node.style.top = '0px';
this.node.coordorigin = "0 0";
};
jvm.inherits(jvm.VMLGroupElement, jvm.VMLElement);
jvm.VMLGroupElement.prototype.add = function(element){
this.node.appendChild( element.node );
};jvm.VMLCanvasElement = function(container, width, height){
this.classPrefix = 'VML';
jvm.VMLCanvasElement.parentClass.call(this, 'group');
jvm.AbstractCanvasElement.apply(this, arguments);
this.node.style.position = 'absolute';
};
jvm.inherits(jvm.VMLCanvasElement, jvm.VMLElement);
jvm.mixin(jvm.VMLCanvasElement, jvm.AbstractCanvasElement);
jvm.VMLCanvasElement.prototype.setSize = function(width, height){
var paths,
groups,
i,
l;
this.width = width;
this.height = height;
this.node.style.width = width + "px";
this.node.style.height = height + "px";
this.node.coordsize = width+' '+height;
this.node.coordorigin = "0 0";
if (this.rootElement) {
paths = this.rootElement.node.getElementsByTagName('shape');
for(i = 0, l = paths.length; i < l; i++) {
paths[i].coordsize = width+' '+height;
paths[i].style.width = width+'px';
paths[i].style.height = height+'px';
}
groups = this.node.getElementsByTagName('group');
for(i = 0, l = groups.length; i < l; i++) {
groups[i].coordsize = width+' '+height;
groups[i].style.width = width+'px';
groups[i].style.height = height+'px';
}
}
};
jvm.VMLCanvasElement.prototype.applyTransformParams = function(scale, transX, transY) {
this.scale = scale;
this.transX = transX;
this.transY = transY;
this.rootElement.node.coordorigin = (this.width-transX-this.width/100)+','+(this.height-transY-this.height/100);
this.rootElement.node.coordsize = this.width/scale+','+this.height/scale;
};jvm.VMLShapeElement = function(name, config){
jvm.VMLShapeElement.parentClass.call(this, name, config);
this.fillElement = new jvm.VMLElement('fill');
this.strokeElement = new jvm.VMLElement('stroke');
this.node.appendChild(this.fillElement.node);
this.node.appendChild(this.strokeElement.node);
this.node.stroked = false;
jvm.AbstractShapeElement.apply(this, arguments);
};
jvm.inherits(jvm.VMLShapeElement, jvm.VMLElement);
jvm.mixin(jvm.VMLShapeElement, jvm.AbstractShapeElement);
jvm.VMLShapeElement.prototype.applyAttr = function(attr, value){
switch (attr) {
case 'fill':
this.node.fillcolor = value;
break;
case 'fill-opacity':
this.fillElement.node.opacity = Math.round(value*100)+'%';
break;
case 'stroke':
if (value === 'none') {
this.node.stroked = false;
} else {
this.node.stroked = true;
}
this.node.strokecolor = value;
break;
case 'stroke-opacity':
this.strokeElement.node.opacity = Math.round(value*100)+'%';
break;
case 'stroke-width':
if (parseInt(value, 10) === 0) {
this.node.stroked = false;
} else {
this.node.stroked = true;
}
this.node.strokeweight = value;
break;
case 'd':
this.node.path = jvm.VMLPathElement.pathSvgToVml(value);
break;
default:
jvm.VMLShapeElement.parentClass.prototype.applyAttr.apply(this, arguments);
}
};jvm.VMLPathElement = function(config, style){
var scale = new jvm.VMLElement('skew');
jvm.VMLPathElement.parentClass.call(this, 'shape', config, style);
this.node.coordorigin = "0 0";
scale.node.on = true;
scale.node.matrix = '0.01,0,0,0.01,0,0';
scale.node.offset = '0,0';
this.node.appendChild(scale.node);
};
jvm.inherits(jvm.VMLPathElement, jvm.VMLShapeElement);
jvm.VMLPathElement.prototype.applyAttr = function(attr, value){
if (attr === 'd') {
this.node.path = jvm.VMLPathElement.pathSvgToVml(value);
} else {
jvm.VMLShapeElement.prototype.applyAttr.call(this, attr, value);
}
};
jvm.VMLPathElement.pathSvgToVml = function(path) {
var cx = 0, cy = 0, ctrlx, ctrly;
path = path.replace(/(-?\d+)e(-?\d+)/g, '0');
return path.replace(/([MmLlHhVvCcSs])\s*((?:-?\d*(?:\.\d+)?\s*,?\s*)+)/g, function(segment, letter, coords, index){
coords = coords.replace(/(\d)-/g, '$1,-')
.replace(/^\s+/g, '')
.replace(/\s+$/g, '')
.replace(/\s+/g, ',').split(',');
if (!coords[0]) coords.shift();
for (var i=0, l=coords.length; i<l; i++) {
coords[i] = Math.round(100*coords[i]);
}
switch (letter) {
case 'm':
cx += coords[0];
cy += coords[1];
return 't'+coords.join(',');
case 'M':
cx = coords[0];
cy = coords[1];
return 'm'+coords.join(',');
case 'l':
cx += coords[0];
cy += coords[1];
return 'r'+coords.join(',');
case 'L':
cx = coords[0];
cy = coords[1];
return 'l'+coords.join(',');
case 'h':
cx += coords[0];
return 'r'+coords[0]+',0';
case 'H':
cx = coords[0];
return 'l'+cx+','+cy;
case 'v':
cy += coords[0];
return 'r0,'+coords[0];
case 'V':
cy = coords[0];
return 'l'+cx+','+cy;
case 'c':
ctrlx = cx + coords[coords.length-4];
ctrly = cy + coords[coords.length-3];
cx += coords[coords.length-2];
cy += coords[coords.length-1];
return 'v'+coords.join(',');
case 'C':
ctrlx = coords[coords.length-4];
ctrly = coords[coords.length-3];
cx = coords[coords.length-2];
cy = coords[coords.length-1];
return 'c'+coords.join(',');
case 's':
coords.unshift(cy-ctrly);
coords.unshift(cx-ctrlx);
ctrlx = cx + coords[coords.length-4];
ctrly = cy + coords[coords.length-3];
cx += coords[coords.length-2];
cy += coords[coords.length-1];
return 'v'+coords.join(',');
case 'S':
coords.unshift(cy+cy-ctrly);
coords.unshift(cx+cx-ctrlx);
ctrlx = coords[coords.length-4];
ctrly = coords[coords.length-3];
cx = coords[coords.length-2];
cy = coords[coords.length-1];
return 'c'+coords.join(',');
}
return '';
}).replace(/z/g, 'e');
};jvm.VMLCircleElement = function(config, style){
jvm.VMLCircleElement.parentClass.call(this, 'oval', config, style);
};
jvm.inherits(jvm.VMLCircleElement, jvm.VMLShapeElement);
jvm.VMLCircleElement.prototype.applyAttr = function(attr, value){
switch (attr) {
case 'r':
this.node.style.width = value*2+'px';
this.node.style.height = value*2+'px';
this.applyAttr('cx', this.get('cx') || 0);
this.applyAttr('cy', this.get('cy') || 0);
break;
case 'cx':
if (!value) return;
this.node.style.left = value - (this.get('r') || 0) + 'px';
break;
case 'cy':
if (!value) return;
this.node.style.top = value - (this.get('r') || 0) + 'px';
break;
default:
jvm.VMLCircleElement.parentClass.prototype.applyAttr.call(this, attr, value);
}
};/**
* Class for vector images manipulations.
* @constructor
* @param {DOMElement} container to place canvas to
* @param {Number} width
* @param {Number} height
*/
jvm.VectorCanvas = function(container, width, height) {
this.mode = window.SVGAngle ? 'svg' : 'vml';
if (this.mode == 'svg') {
this.impl = new jvm.SVGCanvasElement(container, width, height);
} else {
this.impl = new jvm.VMLCanvasElement(container, width, height);
}
this.impl.mode = this.mode;
return this.impl;
};jvm.SimpleScale = function(scale){
this.scale = scale;
};
jvm.SimpleScale.prototype.getValue = function(value){
return value;
};jvm.OrdinalScale = function(scale){
this.scale = scale;
};
jvm.OrdinalScale.prototype.getValue = function(value){
return this.scale[value];
};
jvm.OrdinalScale.prototype.getTicks = function(){
var ticks = [],
key;
for (key in this.scale) {
ticks.push({
label: key,
value: this.scale[key]
});
}
return ticks;
};jvm.NumericScale = function(scale, normalizeFunction, minValue, maxValue) {
this.scale = [];
normalizeFunction = normalizeFunction || 'linear';
if (scale) this.setScale(scale);
if (normalizeFunction) this.setNormalizeFunction(normalizeFunction);
if (typeof minValue !== 'undefined' ) this.setMin(minValue);
if (typeof maxValue !== 'undefined' ) this.setMax(maxValue);
};
jvm.NumericScale.prototype = {
setMin: function(min) {
this.clearMinValue = min;
if (typeof this.normalize === 'function') {
this.minValue = this.normalize(min);
} else {
this.minValue = min;
}
},
setMax: function(max) {
this.clearMaxValue = max;
if (typeof this.normalize === 'function') {
this.maxValue = this.normalize(max);
} else {
this.maxValue = max;
}
},
setScale: function(scale) {
var i;
this.scale = [];
for (i = 0; i < scale.length; i++) {
this.scale[i] = [scale[i]];
}
},
setNormalizeFunction: function(f) {
if (f === 'polynomial') {
this.normalize = function(value) {
return Math.pow(value, 0.2);
}
} else if (f === 'linear') {
delete this.normalize;
} else {
this.normalize = f;
}
this.setMin(this.clearMinValue);
this.setMax(this.clearMaxValue);
},
getValue: function(value) {
var lengthes = [],
fullLength = 0,
l,
i = 0,
c;
if (typeof this.normalize === 'function') {
value = this.normalize(value);
}
for (i = 0; i < this.scale.length-1; i++) {
l = this.vectorLength(this.vectorSubtract(this.scale[i+1], this.scale[i]));
lengthes.push(l);
fullLength += l;
}
c = (this.maxValue - this.minValue) / fullLength;
for (i=0; i<lengthes.length; i++) {
lengthes[i] *= c;
}
i = 0;
value -= this.minValue;
while (value - lengthes[i] >= 0) {
value -= lengthes[i];
i++;
}
if (i == this.scale.length - 1) {
value = this.vectorToNum(this.scale[i])
} else {
value = (
this.vectorToNum(
this.vectorAdd(this.scale[i],
this.vectorMult(
this.vectorSubtract(this.scale[i+1], this.scale[i]),
(value) / (lengthes[i])
)
)
)
);
}
return value;
},
vectorToNum: function(vector) {
var num = 0,
i;
for (i = 0; i < vector.length; i++) {
num += Math.round(vector[i])*Math.pow(256, vector.length-i-1);
}
return num;
},
vectorSubtract: function(vector1, vector2) {
var vector = [],
i;
for (i = 0; i < vector1.length; i++) {
vector[i] = vector1[i] - vector2[i];
}
return vector;
},
vectorAdd: function(vector1, vector2) {
var vector = [],
i;
for (i = 0; i < vector1.length; i++) {
vector[i] = vector1[i] + vector2[i];
}
return vector;
},
vectorMult: function(vector, num) {
var result = [],
i;
for (i = 0; i < vector.length; i++) {
result[i] = vector[i] * num;
}
return result;
},
vectorLength: function(vector) {
var result = 0,
i;
for (i = 0; i < vector.length; i++) {
result += vector[i] * vector[i];
}
return Math.sqrt(result);
},
/* Derived from d3 implementation https://github.com/mbostock/d3/blob/master/src/scale/linear.js#L94 */
getTicks: function(){
var m = 5,
extent = [this.clearMinValue, this.clearMaxValue],
span = extent[1] - extent[0],
step = Math.pow(10, Math.floor(Math.log(span / m) / Math.LN10)),
err = m / span * step,
ticks = [],
tick,
v;
if (err <= .15) step *= 10;
else if (err <= .35) step *= 5;
else if (err <= .75) step *= 2;
extent[0] = Math.floor(extent[0] / step) * step;
extent[1] = Math.ceil(extent[1] / step) * step;
tick = extent[0];
while (tick <= extent[1]) {
if (tick == extent[0]) {
v = this.clearMinValue;
} else if (tick == extent[1]) {
v = this.clearMaxValue;
} else {
v = tick;
}
ticks.push({
label: tick,
value: this.getValue(v)
});
tick += step;
}
return ticks;
}
};
jvm.ColorScale = function(colors, normalizeFunction, minValue, maxValue) {
jvm.ColorScale.parentClass.apply(this, arguments);
}
jvm.inherits(jvm.ColorScale, jvm.NumericScale);
jvm.ColorScale.prototype.setScale = function(scale) {
var i;
for (i = 0; i < scale.length; i++) {
this.scale[i] = jvm.ColorScale.rgbToArray(scale[i]);
}
};
jvm.ColorScale.prototype.getValue = function(value) {
return jvm.ColorScale.numToRgb(jvm.ColorScale.parentClass.prototype.getValue.call(this, value));
};
jvm.ColorScale.arrayToRgb = function(ar) {
var rgb = '#',
d,
i;
for (i = 0; i < ar.length; i++) {
d = ar[i].toString(16);
rgb += d.length == 1 ? '0'+d : d;
}
return rgb;
};
jvm.ColorScale.numToRgb = function(num) {
num = num.toString(16);
while (num.length < 6) {
num = '0' + num;
}
return '#'+num;
};
jvm.ColorScale.rgbToArray = function(rgb) {
rgb = rgb.substr(1);
return [parseInt(rgb.substr(0, 2), 16), parseInt(rgb.substr(2, 2), 16), parseInt(rgb.substr(4, 2), 16)];
};/**
* Represents map legend.
* @constructor
* @param {Object} params Configuration parameters.
* @param {String} params.cssClass Additional CSS class to apply to legend element.
* @param {Boolean} params.vertical If <code>true</code> legend will be rendered as vertical.
* @param {String} params.title Legend title.
* @param {Function} params.labelRender Method to convert series values to legend labels.
*/
jvm.Legend = function(params) {
this.params = params || {};
this.map = this.params.map;
this.series = this.params.series;
this.body = jvm.$('<div/>');
this.body.addClass('jvectormap-legend');
if (this.params.cssClass) {
this.body.addClass(this.params.cssClass);
}
if (params.vertical) {
this.map.legendCntVertical.append( this.body );
} else {
this.map.legendCntHorizontal.append( this.body );
}
this.render();
}
jvm.Legend.prototype.render = function(){
var ticks = this.series.scale.getTicks(),
i,
inner = jvm.$('<div/>').addClass('jvectormap-legend-inner'),
tick,
sample,
label;
this.body.html('');
if (this.params.title) {
this.body.append(
jvm.$('<div/>').addClass('jvectormap-legend-title').html(this.params.title)
);
}
this.body.append(inner);
for (i = 0; i < ticks.length; i++) {
tick = jvm.$('<div/>').addClass('jvectormap-legend-tick');
sample = jvm.$('<div/>').addClass('jvectormap-legend-tick-sample');
switch (this.series.params.attribute) {
case 'fill':
if (jvm.isImageUrl(ticks[i].value)) {
sample.css('background', 'url('+ticks[i].value+')');
} else {
sample.css('background', ticks[i].value);
}
break;
case 'stroke':
sample.css('background', ticks[i].value);
break;
case 'image':
sample.css('background', 'url('+ticks[i].value+') no-repeat center center');
break;
case 'r':
jvm.$('<div/>').css({
'border-radius': ticks[i].value,
border: this.map.params.markerStyle.initial['stroke-width']+'px '+
this.map.params.markerStyle.initial['stroke']+' solid',
width: ticks[i].value * 2 + 'px',
height: ticks[i].value * 2 + 'px',
background: this.map.params.markerStyle.initial['fill']
}).appendTo(sample);
break;
}
tick.append( sample );
label = ticks[i].label;
if (this.params.labelRender) {
label = this.params.labelRender(label);
}
tick.append( jvm.$('<div>'+label+' </div>').addClass('jvectormap-legend-tick-text') );
inner.append(tick);
}
inner.append( jvm.$('<div/>').css('clear', 'both') );
}/**
* Creates data series.
* @constructor
* @param {Object} params Parameters to initialize series with.
* @param {Array} params.values The data set to visualize.
* @param {String} params.attribute Numberic or color attribute to use for data visualization. This could be: <code>fill</code>, <code>stroke</code>, <code>fill-opacity</code>, <code>stroke-opacity</code> for markers and regions and <code>r</code> (radius) for markers only.
* @param {Array} params.scale Values used to map a dimension of data to a visual representation. The first value sets visualization for minimum value from the data set and the last value sets visualization for the maximum value. There also could be intermidiate values. Default value is <code>['#C8EEFF', '#0071A4']</code>
* @param {Function|String} params.normalizeFunction The function used to map input values to the provided scale. This parameter could be provided as function or one of the strings: <code>'linear'</code> or <code>'polynomial'</code>, while <code>'linear'</code> is used by default. The function provided takes value from the data set as an input and returns corresponding value from the scale.
* @param {Number} params.min Minimum value of the data set. Could be calculated automatically if not provided.
* @param {Number} params.min Maximum value of the data set. Could be calculated automatically if not provided.
*/
jvm.DataSeries = function(params, elements, map) {
var scaleConstructor;
params = params || {};
params.attribute = params.attribute || 'fill';
this.elements = elements;
this.params = params;
this.map = map;
if (params.attributes) {
this.setAttributes(params.attributes);
}
if (jvm.$.isArray(params.scale)) {
scaleConstructor = (params.attribute === 'fill' || params.attribute === 'stroke') ? jvm.ColorScale : jvm.NumericScale;
this.scale = new scaleConstructor(params.scale, params.normalizeFunction, params.min, params.max);
} else if (params.scale) {
this.scale = new jvm.OrdinalScale(params.scale);
} else {
this.scale = new jvm.SimpleScale(params.scale);
}
this.values = params.values || {};
this.setValues(this.values);
if (this.params.legend) {
this.legend = new jvm.Legend($.extend({
map: this.map,
series: this
}, this.params.legend))
}
};
jvm.DataSeries.prototype = {
setAttributes: function(key, attr){
var attrs = key,
code;
if (typeof key == 'string') {
if (this.elements[key]) {
this.elements[key].setStyle(this.params.attribute, attr);
}
} else {
for (code in attrs) {
if (this.elements[code]) {
this.elements[code].element.setStyle(this.params.attribute, attrs[code]);
}
}
}
},
/**
* Set values for the data set.
* @param {Object} values Object which maps codes of regions or markers to values.
*/
setValues: function(values) {
var max = -Number.MAX_VALUE,
min = Number.MAX_VALUE,
val,
cc,
attrs = {};
if (!(this.scale instanceof jvm.OrdinalScale) && !(this.scale instanceof jvm.SimpleScale)) {
// we have a color scale as an array
if (typeof this.params.min === 'undefined' || typeof this.params.max === 'undefined') {
// min and/or max are not defined, so calculate them
for (cc in values) {
val = parseFloat(values[cc]);
if (val > max) max = val;
if (val < min) min = val;
}
}
if (typeof this.params.min === 'undefined') {
this.scale.setMin(min);
this.params.min = min;
} else {
this.scale.setMin(this.params.min);
}
if (typeof this.params.max === 'undefined') {
this.scale.setMax(max);
this.params.max = max;
} else {
this.scale.setMax(this.params.max);
}
for (cc in values) {
if (cc != 'indexOf') {
val = parseFloat(values[cc]);
if (!isNaN(val)) {
attrs[cc] = this.scale.getValue(val);
} else {
attrs[cc] = this.elements[cc].element.style.initial[this.params.attribute];
}
}
}
} else {
for (cc in values) {
if (values[cc]) {
attrs[cc] = this.scale.getValue(values[cc]);
} else {
attrs[cc] = this.elements[cc].element.style.initial[this.params.attribute];
}
}
}
this.setAttributes(attrs);
jvm.$.extend(this.values, values);
},
clear: function(){
var key,
attrs = {};
for (key in this.values) {
if (this.elements[key]) {
attrs[key] = this.elements[key].element.shape.style.initial[this.params.attribute];
}
}
this.setAttributes(attrs);
this.values = {};
},
/**
* Set scale of the data series.
* @param {Array} scale Values representing scale.
*/
setScale: function(scale) {
this.scale.setScale(scale);
if (this.values) {
this.setValues(this.values);
}
},
/**
* Set normalize function of the data series.
* @param {Function|String} normilizeFunction.
*/
setNormalizeFunction: function(f) {
this.scale.setNormalizeFunction(f);
if (this.values) {
this.setValues(this.values);
}
}
};
/**
* Contains methods for transforming point on sphere to
* Cartesian coordinates using various projections.
* @class
*/
jvm.Proj = {
degRad: 180 / Math.PI,
radDeg: Math.PI / 180,
radius: 6381372,
sgn: function(n){
if (n > 0) {
return 1;
} else if (n < 0) {
return -1;
} else {
return n;
}
},
/**
* Converts point on sphere to the Cartesian coordinates using Miller projection
* @param {Number} lat Latitude in degrees
* @param {Number} lng Longitude in degrees
* @param {Number} c Central meridian in degrees
*/
mill: function(lat, lng, c){
return {
x: this.radius * (lng - c) * this.radDeg,
y: - this.radius * Math.log(Math.tan((45 + 0.4 * lat) * this.radDeg)) / 0.8
};
},
/**
* Inverse function of mill()
* Converts Cartesian coordinates to point on sphere using Miller projection
* @param {Number} x X of point in Cartesian system as integer
* @param {Number} y Y of point in Cartesian system as integer
* @param {Number} c Central meridian in degrees
*/
mill_inv: function(x, y, c){
return {
lat: (2.5 * Math.atan(Math.exp(0.8 * y / this.radius)) - 5 * Math.PI / 8) * this.degRad,
lng: (c * this.radDeg + x / this.radius) * this.degRad
};
},
/**
* Converts point on sphere to the Cartesian coordinates using Mercator projection
* @param {Number} lat Latitude in degrees
* @param {Number} lng Longitude in degrees
* @param {Number} c Central meridian in degrees
*/
merc: function(lat, lng, c){
return {
x: this.radius * (lng - c) * this.radDeg,
y: - this.radius * Math.log(Math.tan(Math.PI / 4 + lat * Math.PI / 360))
};
},
/**
* Inverse function of merc()
* Converts Cartesian coordinates to point on sphere using Mercator projection
* @param {Number} x X of point in Cartesian system as integer
* @param {Number} y Y of point in Cartesian system as integer
* @param {Number} c Central meridian in degrees
*/
merc_inv: function(x, y, c){
return {
lat: (2 * Math.atan(Math.exp(y / this.radius)) - Math.PI / 2) * this.degRad,
lng: (c * this.radDeg + x / this.radius) * this.degRad
};
},
/**
* Converts point on sphere to the Cartesian coordinates using Albers Equal-Area Conic
* projection
* @see <a href="http://mathworld.wolfram.com/AlbersEqual-AreaConicProjection.html">Albers Equal-Area Conic projection</a>
* @param {Number} lat Latitude in degrees
* @param {Number} lng Longitude in degrees
* @param {Number} c Central meridian in degrees
*/
aea: function(lat, lng, c){
var fi0 = 0,
lambda0 = c * this.radDeg,
fi1 = 29.5 * this.radDeg,
fi2 = 45.5 * this.radDeg,
fi = lat * this.radDeg,
lambda = lng * this.radDeg,
n = (Math.sin(fi1)+Math.sin(fi2)) / 2,
C = Math.cos(fi1)*Math.cos(fi1)+2*n*Math.sin(fi1),
theta = n*(lambda-lambda0),
ro = Math.sqrt(C-2*n*Math.sin(fi))/n,
ro0 = Math.sqrt(C-2*n*Math.sin(fi0))/n;
return {
x: ro * Math.sin(theta) * this.radius,
y: - (ro0 - ro * Math.cos(theta)) * this.radius
};
},
/**
* Converts Cartesian coordinates to the point on sphere using Albers Equal-Area Conic
* projection
* @see <a href="http://mathworld.wolfram.com/AlbersEqual-AreaConicProjection.html">Albers Equal-Area Conic projection</a>
* @param {Number} x X of point in Cartesian system as integer
* @param {Number} y Y of point in Cartesian system as integer
* @param {Number} c Central meridian in degrees
*/
aea_inv: function(xCoord, yCoord, c){
var x = xCoord / this.radius,
y = yCoord / this.radius,
fi0 = 0,
lambda0 = c * this.radDeg,
fi1 = 29.5 * this.radDeg,
fi2 = 45.5 * this.radDeg,
n = (Math.sin(fi1)+Math.sin(fi2)) / 2,
C = Math.cos(fi1)*Math.cos(fi1)+2*n*Math.sin(fi1),
ro0 = Math.sqrt(C-2*n*Math.sin(fi0))/n,
ro = Math.sqrt(x*x+(ro0-y)*(ro0-y)),
theta = Math.atan( x / (ro0 - y) );
return {
lat: (Math.asin((C - ro * ro * n * n) / (2 * n))) * this.degRad,
lng: (lambda0 + theta / n) * this.degRad
};
},
/**
* Converts point on sphere to the Cartesian coordinates using Lambert conformal
* conic projection
* @see <a href="http://mathworld.wolfram.com/LambertConformalConicProjection.html">Lambert Conformal Conic Projection</a>
* @param {Number} lat Latitude in degrees
* @param {Number} lng Longitude in degrees
* @param {Number} c Central meridian in degrees
*/
lcc: function(lat, lng, c){
var fi0 = 0,
lambda0 = c * this.radDeg,
lambda = lng * this.radDeg,
fi1 = 33 * this.radDeg,
fi2 = 45 * this.radDeg,
fi = lat * this.radDeg,
n = Math.log( Math.cos(fi1) * (1 / Math.cos(fi2)) ) / Math.log( Math.tan( Math.PI / 4 + fi2 / 2) * (1 / Math.tan( Math.PI / 4 + fi1 / 2) ) ),
F = ( Math.cos(fi1) * Math.pow( Math.tan( Math.PI / 4 + fi1 / 2 ), n ) ) / n,
ro = F * Math.pow( 1 / Math.tan( Math.PI / 4 + fi / 2 ), n ),
ro0 = F * Math.pow( 1 / Math.tan( Math.PI / 4 + fi0 / 2 ), n );
return {
x: ro * Math.sin( n * (lambda - lambda0) ) * this.radius,
y: - (ro0 - ro * Math.cos( n * (lambda - lambda0) ) ) * this.radius
};
},
/**
* Converts Cartesian coordinates to the point on sphere using Lambert conformal conic
* projection
* @see <a href="http://mathworld.wolfram.com/LambertConformalConicProjection.html">Lambert Conformal Conic Projection</a>
* @param {Number} x X of point in Cartesian system as integer
* @param {Number} y Y of point in Cartesian system as integer
* @param {Number} c Central meridian in degrees
*/
lcc_inv: function(xCoord, yCoord, c){
var x = xCoord / this.radius,
y = yCoord / this.radius,
fi0 = 0,
lambda0 = c * this.radDeg,
fi1 = 33 * this.radDeg,
fi2 = 45 * this.radDeg,
n = Math.log( Math.cos(fi1) * (1 / Math.cos(fi2)) ) / Math.log( Math.tan( Math.PI / 4 + fi2 / 2) * (1 / Math.tan( Math.PI / 4 + fi1 / 2) ) ),
F = ( Math.cos(fi1) * Math.pow( Math.tan( Math.PI / 4 + fi1 / 2 ), n ) ) / n,
ro0 = F * Math.pow( 1 / Math.tan( Math.PI / 4 + fi0 / 2 ), n ),
ro = this.sgn(n) * Math.sqrt(x*x+(ro0-y)*(ro0-y)),
theta = Math.atan( x / (ro0 - y) );
return {
lat: (2 * Math.atan(Math.pow(F/ro, 1/n)) - Math.PI / 2) * this.degRad,
lng: (lambda0 + theta / n) * this.degRad
};
}
};jvm.MapObject = function(config){};
jvm.MapObject.prototype.getLabelText = function(key){
var text;
if (this.config.label) {
if (typeof this.config.label.render === 'function') {
text = this.config.label.render(key);
} else {
text = key;
}
} else {
text = null;
}
return text;
}
jvm.MapObject.prototype.getLabelOffsets = function(key){
var offsets;
if (this.config.label) {
if (typeof this.config.label.offsets === 'function') {
offsets = this.config.label.offsets(key);
} else if (typeof this.config.label.offsets === 'object') {
offsets = this.config.label.offsets[key];
}
}
return offsets || [0, 0];
}
/**
* Set hovered state to the element. Hovered state means mouse cursor is over element. Styles will be updates respectively.
* @param {Boolean} isHovered <code>true</code> to make element hovered, <code>false</code> otherwise.
*/
jvm.MapObject.prototype.setHovered = function(isHovered){
if (this.isHovered !== isHovered) {
this.isHovered = isHovered;
this.shape.isHovered = isHovered;
this.shape.updateStyle();
if (this.label) {
this.label.isHovered = isHovered;
this.label.updateStyle();
}
}
};
/**
* Set selected state to the element. Styles will be updates respectively.
* @param {Boolean} isSelected <code>true</code> to make element selected, <code>false</code> otherwise.
*/
jvm.MapObject.prototype.setSelected = function(isSelected){
if (this.isSelected !== isSelected) {
this.isSelected = isSelected;
this.shape.isSelected = isSelected;
this.shape.updateStyle();
if (this.label) {
this.label.isSelected = isSelected;
this.label.updateStyle();
}
jvm.$(this.shape).trigger('selected', [isSelected]);
}
};
jvm.MapObject.prototype.setStyle = function(){
this.shape.setStyle.apply(this.shape, arguments);
};
jvm.MapObject.prototype.remove = function(){
this.shape.remove();
if (this.label) {
this.label.remove();
}
};jvm.Region = function(config){
var bbox,
text,
offsets,
labelDx,
labelDy;
this.config = config;
this.map = this.config.map;
this.shape = config.canvas.addPath({
d: config.path,
'data-code': config.code
}, config.style, config.canvas.rootElement);
this.shape.addClass('jvectormap-region jvectormap-element');
bbox = this.shape.getBBox();
text = this.getLabelText(config.code);
if (this.config.label && text) {
offsets = this.getLabelOffsets(config.code);
this.labelX = bbox.x + bbox.width / 2 + offsets[0];
this.labelY = bbox.y + bbox.height / 2 + offsets[1];
this.label = config.canvas.addText({
text: text,
'text-anchor': 'middle',
'alignment-baseline': 'central',
x: this.labelX,
y: this.labelY,
'data-code': config.code
}, config.labelStyle, config.labelsGroup);
this.label.addClass('jvectormap-region jvectormap-element');
}
};
jvm.inherits(jvm.Region, jvm.MapObject);
jvm.Region.prototype.updateLabelPosition = function(){
if (this.label) {
this.label.set({
x: this.labelX * this.map.scale + this.map.transX * this.map.scale,
y: this.labelY * this.map.scale + this.map.transY * this.map.scale
});
}
};jvm.Marker = function(config){
var text,
offsets;
this.config = config;
this.map = this.config.map;
this.isImage = !!this.config.style.initial.image;
this.createShape();
text = this.getLabelText(config.index);
if (this.config.label && text) {
this.offsets = this.getLabelOffsets(config.index);
this.labelX = config.cx / this.map.scale - this.map.transX;
this.labelY = config.cy / this.map.scale - this.map.transY;
this.label = config.canvas.addText({
text: text,
'data-index': config.index,
dy: "0.6ex",
x: this.labelX,
y: this.labelY
}, config.labelStyle, config.labelsGroup);
this.label.addClass('jvectormap-marker jvectormap-element');
}
};
jvm.inherits(jvm.Marker, jvm.MapObject);
jvm.Marker.prototype.createShape = function(){
var that = this;
if (this.shape) {
this.shape.remove();
}
this.shape = this.config.canvas[this.isImage ? 'addImage' : 'addCircle']({
"data-index": this.config.index,
cx: this.config.cx,
cy: this.config.cy
}, this.config.style, this.config.group);
this.shape.addClass('jvectormap-marker jvectormap-element');
if (this.isImage) {
jvm.$(this.shape.node).on('imageloaded', function(){
that.updateLabelPosition();
});
}
};
jvm.Marker.prototype.updateLabelPosition = function(){
if (this.label) {
this.label.set({
x: this.labelX * this.map.scale + this.offsets[0] +
this.map.transX * this.map.scale + 5 + (this.isImage ? (this.shape.width || 0) / 2 : this.shape.properties.r),
y: this.labelY * this.map.scale + this.map.transY * this.map.scale + this.offsets[1]
});
}
};
jvm.Marker.prototype.setStyle = function(property, value){
var isImage;
jvm.Marker.parentClass.prototype.setStyle.apply(this, arguments);
if (property === 'r') {
this.updateLabelPosition();
}
isImage = !!this.shape.get('image');
if (isImage != this.isImage) {
this.isImage = isImage;
this.config.style = jvm.$.extend(true, {}, this.shape.style);
this.createShape();
}
};/**
* Creates map, draws paths, binds events.
* @constructor
* @param {Object} params Parameters to initialize map with.
* @param {String} params.map Name of the map in the format <code>territory_proj_lang</code> where <code>territory</code> is a unique code or name of the territory which the map represents (ISO 3166 standard is used where possible), <code>proj</code> is a name of projection used to generate representation of the map on the plane (projections are named according to the conventions of proj4 utility) and <code>lang</code> is a code of the language, used for the names of regions.
* @param {String} params.backgroundColor Background color of the map in CSS format.
* @param {Boolean} params.zoomOnScroll When set to true map could be zoomed using mouse scroll. Default value is <code>true</code>.
* @param {Boolean} params.zoomOnScrollSpeed Mouse scroll speed. Number from 1 to 10. Default value is <code>3</code>.
* @param {Boolean} params.panOnDrag When set to true, the map pans when being dragged. Default value is <code>true</code>.
* @param {Number} params.zoomMax Indicates the maximum zoom ratio which could be reached zooming the map. Default value is <code>8</code>.
* @param {Number} params.zoomMin Indicates the minimum zoom ratio which could be reached zooming the map. Default value is <code>1</code>.
* @param {Number} params.zoomStep Indicates the multiplier used to zoom map with +/- buttons. Default value is <code>1.6</code>.
* @param {Boolean} params.zoomAnimate Indicates whether or not to animate changing of map zoom with zoom buttons.
* @param {Boolean} params.regionsSelectable When set to true regions of the map could be selected. Default value is <code>false</code>.
* @param {Boolean} params.regionsSelectableOne Allow only one region to be selected at the moment. Default value is <code>false</code>.
* @param {Boolean} params.markersSelectable When set to true markers on the map could be selected. Default value is <code>false</code>.
* @param {Boolean} params.markersSelectableOne Allow only one marker to be selected at the moment. Default value is <code>false</code>.
* @param {Object} params.regionStyle Set the styles for the map's regions. Each region or marker has four states: <code>initial</code> (default state), <code>hover</code> (when the mouse cursor is over the region or marker), <code>selected</code> (when region or marker is selected), <code>selectedHover</code> (when the mouse cursor is over the region or marker and it's selected simultaneously). Styles could be set for each of this states. Default value for that parameter is:
<pre>{
initial: {
fill: 'white',
"fill-opacity": 1,
stroke: 'none',
"stroke-width": 0,
"stroke-opacity": 1
},
hover: {
"fill-opacity": 0.8,
cursor: 'pointer'
},
selected: {
fill: 'yellow'
},
selectedHover: {
}
}</pre>
* @param {Object} params.regionLabelStyle Set the styles for the regions' labels. Each region or marker has four states: <code>initial</code> (default state), <code>hover</code> (when the mouse cursor is over the region or marker), <code>selected</code> (when region or marker is selected), <code>selectedHover</code> (when the mouse cursor is over the region or marker and it's selected simultaneously). Styles could be set for each of this states. Default value for that parameter is:
<pre>{
initial: {
'font-family': 'Verdana',
'font-size': '12',
'font-weight': 'bold',
cursor: 'default',
fill: 'black'
},
hover: {
cursor: 'pointer'
}
}</pre>
* @param {Object} params.markerStyle Set the styles for the map's markers. Any parameter suitable for <code>regionStyle</code> could be used as well as numeric parameter <code>r</code> to set the marker's radius. Default value for that parameter is:
<pre>{
initial: {
fill: 'grey',
stroke: '#505050',
"fill-opacity": 1,
"stroke-width": 1,
"stroke-opacity": 1,
r: 5
},
hover: {
stroke: 'black',
"stroke-width": 2,
cursor: 'pointer'
},
selected: {
fill: 'blue'
},
selectedHover: {
}
}</pre>
* @param {Object} params.markerLabelStyle Set the styles for the markers' labels. Default value for that parameter is:
<pre>{
initial: {
'font-family': 'Verdana',
'font-size': '12',
'font-weight': 'bold',
cursor: 'default',
fill: 'black'
},
hover: {
cursor: 'pointer'
}
}</pre>
* @param {Object|Array} params.markers Set of markers to add to the map during initialization. In case of array is provided, codes of markers will be set as string representations of array indexes. Each marker is represented by <code>latLng</code> (array of two numeric values), <code>name</code> (string which will be show on marker's tip) and any marker styles.
* @param {Object} params.series Object with two keys: <code>markers</code> and <code>regions</code>. Each of which is an array of series configs to be applied to the respective map elements. See <a href="jvm.DataSeries.html">DataSeries</a> description for a list of parameters available.
* @param {Object|String} params.focusOn This parameter sets the initial position and scale of the map viewport. See <code>setFocus</code> docuemntation for possible parameters.
* @param {Object} params.labels Defines parameters for rendering static labels. Object could contain two keys: <code>regions</code> and <code>markers</code>. Each key value defines configuration object with the following possible options:
<ul>
<li><code>render {Function}</code> - defines method for converting region code or marker index to actual label value.</li>
<li><code>offsets {Object|Function}</code> - provides method or object which could be used to define label offset by region code or marker index.</li>
</ul>
<b>Plase note: static labels feature is not supported in Internet Explorer 8 and below.</b>
* @param {Array|Object|String} params.selectedRegions Set initially selected regions.
* @param {Array|Object|String} params.selectedMarkers Set initially selected markers.
* @param {Function} params.onRegionTipShow <code>(Event e, Object tip, String code)</code> Will be called right before the region tip is going to be shown.
* @param {Function} params.onRegionOver <code>(Event e, String code)</code> Will be called on region mouse over event.
* @param {Function} params.onRegionOut <code>(Event e, String code)</code> Will be called on region mouse out event.
* @param {Function} params.onRegionClick <code>(Event e, String code)</code> Will be called on region click event.
* @param {Function} params.onRegionSelected <code>(Event e, String code, Boolean isSelected, Array selectedRegions)</code> Will be called when region is (de)selected. <code>isSelected</code> parameter of the callback indicates whether region is selected or not. <code>selectedRegions</code> contains codes of all currently selected regions.
* @param {Function} params.onMarkerTipShow <code>(Event e, Object tip, String code)</code> Will be called right before the marker tip is going to be shown.
* @param {Function} params.onMarkerOver <code>(Event e, String code)</code> Will be called on marker mouse over event.
* @param {Function} params.onMarkerOut <code>(Event e, String code)</code> Will be called on marker mouse out event.
* @param {Function} params.onMarkerClick <code>(Event e, String code)</code> Will be called on marker click event.
* @param {Function} params.onMarkerSelected <code>(Event e, String code, Boolean isSelected, Array selectedMarkers)</code> Will be called when marker is (de)selected. <code>isSelected</code> parameter of the callback indicates whether marker is selected or not. <code>selectedMarkers</code> contains codes of all currently selected markers.
* @param {Function} params.onViewportChange <code>(Event e, Number scale)</code> Triggered when the map's viewport is changed (map was panned or zoomed).
*/
jvm.Map = function(params) {
var map = this,
e;
this.params = jvm.$.extend(true, {}, jvm.Map.defaultParams, params);
if (!jvm.Map.maps[this.params.map]) {
throw new Error('Attempt to use map which was not loaded: '+this.params.map);
}
this.mapData = jvm.Map.maps[this.params.map];
this.markers = {};
this.regions = {};
this.regionsColors = {};
this.regionsData = {};
this.container = jvm.$('<div>').addClass('jvectormap-container');
if (this.params.container) {
this.params.container.append( this.container );
}
this.container.data('mapObject', this);
this.defaultWidth = this.mapData.width;
this.defaultHeight = this.mapData.height;
this.setBackgroundColor(this.params.backgroundColor);
this.onResize = function(){
map.updateSize();
}
jvm.$(window).resize(this.onResize);
for (e in jvm.Map.apiEvents) {
if (this.params[e]) {
this.container.bind(jvm.Map.apiEvents[e]+'.jvectormap', this.params[e]);
}
}
this.canvas = new jvm.VectorCanvas(this.container[0], this.width, this.height);
if ( ('ontouchstart' in window) || (window.DocumentTouch && document instanceof DocumentTouch) ) {
if (this.params.bindTouchEvents) {
this.bindContainerTouchEvents();
}
}
this.bindContainerEvents();
this.bindElementEvents();
this.createTip();
if (this.params.zoomButtons) {
this.bindZoomButtons();
}
this.createRegions();
this.createMarkers(this.params.markers || {});
this.updateSize();
if (this.params.focusOn) {
if (typeof this.params.focusOn === 'string') {
this.params.focusOn = {region: this.params.focusOn};
} else if (jvm.$.isArray(this.params.focusOn)) {
this.params.focusOn = {regions: this.params.focusOn};
}
this.setFocus(this.params.focusOn);
}
if (this.params.selectedRegions) {
this.setSelectedRegions(this.params.selectedRegions);
}
if (this.params.selectedMarkers) {
this.setSelectedMarkers(this.params.selectedMarkers);
}
this.legendCntHorizontal = jvm.$('<div/>').addClass('jvectormap-legend-cnt jvectormap-legend-cnt-h');
this.legendCntVertical = jvm.$('<div/>').addClass('jvectormap-legend-cnt jvectormap-legend-cnt-v');
this.container.append(this.legendCntHorizontal);
this.container.append(this.legendCntVertical);
if (this.params.series) {
this.createSeries();
}
};
jvm.Map.prototype = {
transX: 0,
transY: 0,
scale: 1,
baseTransX: 0,
baseTransY: 0,
baseScale: 1,
width: 0,
height: 0,
/**
* Set background color of the map.
* @param {String} backgroundColor Background color in CSS format.
*/
setBackgroundColor: function(backgroundColor) {
this.container.css('background-color', backgroundColor);
},
resize: function() {
var curBaseScale = this.baseScale;
if (this.width / this.height > this.defaultWidth / this.defaultHeight) {
this.baseScale = this.height / this.defaultHeight;
this.baseTransX = Math.abs(this.width - this.defaultWidth * this.baseScale) / (2 * this.baseScale);
} else {
this.baseScale = this.width / this.defaultWidth;
this.baseTransY = Math.abs(this.height - this.defaultHeight * this.baseScale) / (2 * this.baseScale);
}
this.scale *= this.baseScale / curBaseScale;
this.transX *= this.baseScale / curBaseScale;
this.transY *= this.baseScale / curBaseScale;
},
/**
* Synchronize the size of the map with the size of the container. Suitable in situations where the size of the container is changed programmatically or container is shown after it became visible.
*/
updateSize: function(){
this.width = this.container.width();
this.height = this.container.height();
this.resize();
this.canvas.setSize(this.width, this.height);
this.applyTransform();
},
/**
* Reset all the series and show the map with the initial zoom.
*/
reset: function() {
var key,
i;
for (key in this.series) {
for (i = 0; i < this.series[key].length; i++) {
this.series[key][i].clear();
}
}
this.scale = this.baseScale;
this.transX = this.baseTransX;
this.transY = this.baseTransY;
this.applyTransform();
},
applyTransform: function() {
var maxTransX,
maxTransY,
minTransX,
minTransY;
if (this.defaultWidth * this.scale <= this.width) {
maxTransX = (this.width - this.defaultWidth * this.scale) / (2 * this.scale);
minTransX = (this.width - this.defaultWidth * this.scale) / (2 * this.scale);
} else {
maxTransX = 0;
minTransX = (this.width - this.defaultWidth * this.scale) / this.scale;
}
if (this.defaultHeight * this.scale <= this.height) {
maxTransY = (this.height - this.defaultHeight * this.scale) / (2 * this.scale);
minTransY = (this.height - this.defaultHeight * this.scale) / (2 * this.scale);
} else {
maxTransY = 0;
minTransY = (this.height - this.defaultHeight * this.scale) / this.scale;
}
if (this.transY > maxTransY) {
this.transY = maxTransY;
} else if (this.transY < minTransY) {
this.transY = minTransY;
}
if (this.transX > maxTransX) {
this.transX = maxTransX;
} else if (this.transX < minTransX) {
this.transX = minTransX;
}
this.canvas.applyTransformParams(this.scale, this.transX, this.transY);
if (this.markers) {
this.repositionMarkers();
}
this.repositionLabels();
this.container.trigger('viewportChange', [this.scale/this.baseScale, this.transX, this.transY]);
},
bindContainerEvents: function(){
var mouseDown = false,
oldPageX,
oldPageY,
map = this;
if (this.params.panOnDrag) {
this.container.mousemove(function(e){
if (mouseDown) {
map.transX -= (oldPageX - e.pageX) / map.scale;
map.transY -= (oldPageY - e.pageY) / map.scale;
map.applyTransform();
oldPageX = e.pageX;
oldPageY = e.pageY;
}
return false;
}).mousedown(function(e){
mouseDown = true;
oldPageX = e.pageX;
oldPageY = e.pageY;
return false;
});
this.onContainerMouseUp = function(){
mouseDown = false;
};
jvm.$('body').mouseup(this.onContainerMouseUp);
}
if (this.params.zoomOnScroll) {
this.container.mousewheel(function(event, delta, deltaX, deltaY) {
var offset = jvm.$(map.container).offset(),
centerX = event.pageX - offset.left,
centerY = event.pageY - offset.top,
zoomStep = Math.pow(1 + map.params.zoomOnScrollSpeed / 1000, event.deltaFactor * event.deltaY);
map.tip.hide();
map.setScale(map.scale * zoomStep, centerX, centerY);
event.preventDefault();
});
}
},
bindContainerTouchEvents: function(){
var touchStartScale,
touchStartDistance,
map = this,
touchX,
touchY,
centerTouchX,
centerTouchY,
lastTouchesLength,
handleTouchEvent = function(e){
var touches = e.originalEvent.touches,
offset,
scale,
transXOld,
transYOld;
if (e.type == 'touchstart') {
lastTouchesLength = 0;
}
if (touches.length == 1) {
if (lastTouchesLength == 1) {
transXOld = map.transX;
transYOld = map.transY;
map.transX -= (touchX - touches[0].pageX) / map.scale;
map.transY -= (touchY - touches[0].pageY) / map.scale;
map.applyTransform();
map.tip.hide();
if (transXOld != map.transX || transYOld != map.transY) {
e.preventDefault();
}
}
touchX = touches[0].pageX;
touchY = touches[0].pageY;
} else if (touches.length == 2) {
if (lastTouchesLength == 2) {
scale = Math.sqrt(
Math.pow(touches[0].pageX - touches[1].pageX, 2) +
Math.pow(touches[0].pageY - touches[1].pageY, 2)
) / touchStartDistance;
map.setScale(
touchStartScale * scale,
centerTouchX,
centerTouchY
)
map.tip.hide();
e.preventDefault();
} else {
offset = jvm.$(map.container).offset();
if (touches[0].pageX > touches[1].pageX) {
centerTouchX = touches[1].pageX + (touches[0].pageX - touches[1].pageX) / 2;
} else {
centerTouchX = touches[0].pageX + (touches[1].pageX - touches[0].pageX) / 2;
}
if (touches[0].pageY > touches[1].pageY) {
centerTouchY = touches[1].pageY + (touches[0].pageY - touches[1].pageY) / 2;
} else {
centerTouchY = touches[0].pageY + (touches[1].pageY - touches[0].pageY) / 2;
}
centerTouchX -= offset.left;
centerTouchY -= offset.top;
touchStartScale = map.scale;
touchStartDistance = Math.sqrt(
Math.pow(touches[0].pageX - touches[1].pageX, 2) +
Math.pow(touches[0].pageY - touches[1].pageY, 2)
);
}
}
lastTouchesLength = touches.length;
};
jvm.$(this.container).bind('touchstart', handleTouchEvent);
jvm.$(this.container).bind('touchmove', handleTouchEvent);
},
bindElementEvents: function(){
var map = this,
mouseMoved;
this.container.mousemove(function(){
mouseMoved = true;
});
/* Can not use common class selectors here because of the bug in jQuery
SVG handling, use with caution. */
this.container.delegate("[class~='jvectormap-element']", 'mouseover mouseout', function(e){
var baseVal = jvm.$(this).attr('class').baseVal || jvm.$(this).attr('class'),
type = baseVal.indexOf('jvectormap-region') === -1 ? 'marker' : 'region',
code = type == 'region' ? jvm.$(this).attr('data-code') : jvm.$(this).attr('data-index'),
element = type == 'region' ? map.regions[code].element : map.markers[code].element,
tipText = type == 'region' ? map.mapData.paths[code].name : (map.markers[code].config.name || ''),
tipShowEvent = jvm.$.Event(type+'TipShow.jvectormap'),
overEvent = jvm.$.Event(type+'Over.jvectormap');
if (e.type == 'mouseover') {
map.container.trigger(overEvent, [code]);
if (!overEvent.isDefaultPrevented()) {
element.setHovered(true);
}
map.tip.text(tipText);
map.container.trigger(tipShowEvent, [map.tip, code]);
if (!tipShowEvent.isDefaultPrevented()) {
map.tip.show();
map.tipWidth = map.tip.width();
map.tipHeight = map.tip.height();
}
} else {
element.setHovered(false);
map.tip.hide();
map.container.trigger(type+'Out.jvectormap', [code]);
}
});
/* Can not use common class selectors here because of the bug in jQuery
SVG handling, use with caution. */
this.container.delegate("[class~='jvectormap-element']", 'mousedown', function(){
mouseMoved = false;
});
/* Can not use common class selectors here because of the bug in jQuery
SVG handling, use with caution. */
this.container.delegate("[class~='jvectormap-element']", 'mouseup', function(){
var baseVal = jvm.$(this).attr('class').baseVal ? jvm.$(this).attr('class').baseVal : jvm.$(this).attr('class'),
type = baseVal.indexOf('jvectormap-region') === -1 ? 'marker' : 'region',
code = type == 'region' ? jvm.$(this).attr('data-code') : jvm.$(this).attr('data-index'),
clickEvent = jvm.$.Event(type+'Click.jvectormap'),
element = type == 'region' ? map.regions[code].element : map.markers[code].element;
if (!mouseMoved) {
map.container.trigger(clickEvent, [code]);
if ((type === 'region' && map.params.regionsSelectable) || (type === 'marker' && map.params.markersSelectable)) {
if (!clickEvent.isDefaultPrevented()) {
if (map.params[type+'sSelectableOne']) {
map.clearSelected(type+'s');
}
element.setSelected(!element.isSelected);
}
}
}
});
},
bindZoomButtons: function() {
var map = this;
jvm.$('<div/>').addClass('jvectormap-zoomin').text('+').appendTo(this.container);
jvm.$('<div/>').addClass('jvectormap-zoomout').html('−').appendTo(this.container);
this.container.find('.jvectormap-zoomin').click(function(){
map.setScale(map.scale * map.params.zoomStep, map.width / 2, map.height / 2, false, map.params.zoomAnimate);
});
this.container.find('.jvectormap-zoomout').click(function(){
map.setScale(map.scale / map.params.zoomStep, map.width / 2, map.height / 2, false, map.params.zoomAnimate);
});
},
createTip: function(){
var map = this;
this.tip = jvm.$('<div/>').addClass('jvectormap-tip').appendTo(jvm.$('body'));
this.container.mousemove(function(e){
var left = e.pageX-15-map.tipWidth,
top = e.pageY-15-map.tipHeight;
if (left < 5) {
left = e.pageX + 15;
}
if (top < 5) {
top = e.pageY + 15;
}
map.tip.css({
left: left,
top: top
});
});
},
setScale: function(scale, anchorX, anchorY, isCentered, animate) {
var viewportChangeEvent = jvm.$.Event('zoom.jvectormap'),
interval,
that = this,
i = 0,
count = Math.abs(Math.round((scale - this.scale) * 60 / Math.max(scale, this.scale))),
scaleStart,
scaleDiff,
transXStart,
transXDiff,
transYStart,
transYDiff,
transX,
transY,
deferred = new jvm.$.Deferred();
if (scale > this.params.zoomMax * this.baseScale) {
scale = this.params.zoomMax * this.baseScale;
} else if (scale < this.params.zoomMin * this.baseScale) {
scale = this.params.zoomMin * this.baseScale;
}
if (typeof anchorX != 'undefined' && typeof anchorY != 'undefined') {
zoomStep = scale / this.scale;
if (isCentered) {
transX = anchorX + this.defaultWidth * (this.width / (this.defaultWidth * scale)) / 2;
transY = anchorY + this.defaultHeight * (this.height / (this.defaultHeight * scale)) / 2;
} else {
transX = this.transX - (zoomStep - 1) / scale * anchorX;
transY = this.transY - (zoomStep - 1) / scale * anchorY;
}
}
if (animate && count > 0) {
scaleStart = this.scale;
scaleDiff = (scale - scaleStart) / count;
transXStart = this.transX * this.scale;
transYStart = this.transY * this.scale;
transXDiff = (transX * scale - transXStart) / count;
transYDiff = (transY * scale - transYStart) / count;
interval = setInterval(function(){
i += 1;
that.scale = scaleStart + scaleDiff * i;
that.transX = (transXStart + transXDiff * i) / that.scale;
that.transY = (transYStart + transYDiff * i) / that.scale;
that.applyTransform();
if (i == count) {
clearInterval(interval);
that.container.trigger(viewportChangeEvent, [scale/that.baseScale]);
deferred.resolve();
}
}, 10);
} else {
this.transX = transX;
this.transY = transY;
this.scale = scale;
this.applyTransform();
this.container.trigger(viewportChangeEvent, [scale/this.baseScale]);
deferred.resolve();
}
return deferred;
},
/**
* Set the map's viewport to the specific point and set zoom of the map to the specific level. Point and zoom level could be defined in two ways: using the code of some region to focus on or a central point and zoom level as numbers.
* @param This method takes a configuration object as the single argument. The options passed to it are the following:
* @param {Array} params.regions Array of region codes to zoom to.
* @param {String} params.region Region code to zoom to.
* @param {Number} params.scale Map scale to set.
* @param {Number} params.lat Latitude to set viewport to.
* @param {Number} params.lng Longitude to set viewport to.
* @param {Number} params.x Number from 0 to 1 specifying the horizontal coordinate of the central point of the viewport.
* @param {Number} params.y Number from 0 to 1 specifying the vertical coordinate of the central point of the viewport.
* @param {Boolean} params.animate Indicates whether or not to animate the scale change and transition.
*/
setFocus: function(config){
var bbox,
itemBbox,
newBbox,
codes,
i,
point;
config = config || {};
if (config.region) {
codes = [config.region];
} else if (config.regions) {
codes = config.regions;
}
if (codes) {
for (i = 0; i < codes.length; i++) {
if (this.regions[codes[i]]) {
itemBbox = this.regions[codes[i]].element.shape.getBBox();
if (itemBbox) {
if (typeof bbox == 'undefined') {
bbox = itemBbox;
} else {
newBbox = {
x: Math.min(bbox.x, itemBbox.x),
y: Math.min(bbox.y, itemBbox.y),
width: Math.max(bbox.x + bbox.width, itemBbox.x + itemBbox.width) - Math.min(bbox.x, itemBbox.x),
height: Math.max(bbox.y + bbox.height, itemBbox.y + itemBbox.height) - Math.min(bbox.y, itemBbox.y)
}
bbox = newBbox;
}
}
}
}
return this.setScale(
Math.min(this.width / bbox.width, this.height / bbox.height),
- (bbox.x + bbox.width / 2),
- (bbox.y + bbox.height / 2),
true,
config.animate
);
} else {
if (config.lat && config.lng) {
point = this.latLngToPoint(config.lat, config.lng);
config.x = this.transX - point.x / this.scale;
config.y = this.transY - point.y / this.scale;
} else if (config.x && config.y) {
config.x *= -this.defaultWidth;
config.y *= -this.defaultHeight;
}
return this.setScale(config.scale * this.baseScale, config.x, config.y, true, config.animate);
}
},
getSelected: function(type){
var key,
selected = [];
for (key in this[type]) {
if (this[type][key].element.isSelected) {
selected.push(key);
}
}
return selected;
},
/**
* Return the codes of currently selected regions.
* @returns {Array}
*/
getSelectedRegions: function(){
return this.getSelected('regions');
},
/**
* Return the codes of currently selected markers.
* @returns {Array}
*/
getSelectedMarkers: function(){
return this.getSelected('markers');
},
setSelected: function(type, keys){
var i;
if (typeof keys != 'object') {
keys = [keys];
}
if (jvm.$.isArray(keys)) {
for (i = 0; i < keys.length; i++) {
this[type][keys[i]].element.setSelected(true);
}
} else {
for (i in keys) {
this[type][i].element.setSelected(!!keys[i]);
}
}
},
/**
* Set or remove selected state for the regions.
* @param {String|Array|Object} keys If <code>String</code> or <code>Array</code> the region(s) with the corresponding code(s) will be selected. If <code>Object</code> was provided its keys are codes of regions, state of which should be changed. Selected state will be set if value is true, removed otherwise.
*/
setSelectedRegions: function(keys){
this.setSelected('regions', keys);
},
/**
* Set or remove selected state for the markers.
* @param {String|Array|Object} keys If <code>String</code> or <code>Array</code> the marker(s) with the corresponding code(s) will be selected. If <code>Object</code> was provided its keys are codes of markers, state of which should be changed. Selected state will be set if value is true, removed otherwise.
*/
setSelectedMarkers: function(keys){
this.setSelected('markers', keys);
},
clearSelected: function(type){
var select = {},
selected = this.getSelected(type),
i;
for (i = 0; i < selected.length; i++) {
select[selected[i]] = false;
};
this.setSelected(type, select);
},
/**
* Remove the selected state from all the currently selected regions.
*/
clearSelectedRegions: function(){
this.clearSelected('regions');
},
/**
* Remove the selected state from all the currently selected markers.
*/
clearSelectedMarkers: function(){
this.clearSelected('markers');
},
/**
* Return the instance of Map. Useful when instantiated as a jQuery plug-in.
* @returns {Map}
*/
getMapObject: function(){
return this;
},
/**
* Return the name of the region by region code.
* @returns {String}
*/
getRegionName: function(code){
return this.mapData.paths[code].name;
},
createRegions: function(){
var key,
region,
map = this;
this.regionLabelsGroup = this.regionLabelsGroup || this.canvas.addGroup();
for (key in this.mapData.paths) {
region = new jvm.Region({
map: this,
path: this.mapData.paths[key].path,
code: key,
style: jvm.$.extend(true, {}, this.params.regionStyle),
labelStyle: jvm.$.extend(true, {}, this.params.regionLabelStyle),
canvas: this.canvas,
labelsGroup: this.regionLabelsGroup,
label: this.canvas.mode != 'vml' ? (this.params.labels && this.params.labels.regions) : null
});
jvm.$(region.shape).bind('selected', function(e, isSelected){
map.container.trigger('regionSelected.jvectormap', [jvm.$(this.node).attr('data-code'), isSelected, map.getSelectedRegions()]);
});
this.regions[key] = {
element: region,
config: this.mapData.paths[key]
};
}
},
createMarkers: function(markers) {
var i,
marker,
point,
markerConfig,
markersArray,
map = this;
this.markersGroup = this.markersGroup || this.canvas.addGroup();
this.markerLabelsGroup = this.markerLabelsGroup || this.canvas.addGroup();
if (jvm.$.isArray(markers)) {
markersArray = markers.slice();
markers = {};
for (i = 0; i < markersArray.length; i++) {
markers[i] = markersArray[i];
}
}
for (i in markers) {
markerConfig = markers[i] instanceof Array ? {latLng: markers[i]} : markers[i];
point = this.getMarkerPosition( markerConfig );
if (point !== false) {
marker = new jvm.Marker({
map: this,
style: jvm.$.extend(true, {}, this.params.markerStyle, {initial: markerConfig.style || {}}),
labelStyle: jvm.$.extend(true, {}, this.params.markerLabelStyle),
index: i,
cx: point.x,
cy: point.y,
group: this.markersGroup,
canvas: this.canvas,
labelsGroup: this.markerLabelsGroup,
label: this.canvas.mode != 'vml' ? (this.params.labels && this.params.labels.markers) : null
});
jvm.$(marker.shape).bind('selected', function(e, isSelected){
map.container.trigger('markerSelected.jvectormap', [jvm.$(this.node).attr('data-index'), isSelected, map.getSelectedMarkers()]);
});
if (this.markers[i]) {
this.removeMarkers([i]);
}
this.markers[i] = {element: marker, config: markerConfig};
}
}
},
repositionMarkers: function() {
var i,
point;
for (i in this.markers) {
point = this.getMarkerPosition( this.markers[i].config );
if (point !== false) {
this.markers[i].element.setStyle({cx: point.x, cy: point.y});
}
}
},
repositionLabels: function() {
var key;
for (key in this.regions) {
this.regions[key].element.updateLabelPosition();
}
for (key in this.markers) {
this.markers[key].element.updateLabelPosition();
}
},
getMarkerPosition: function(markerConfig) {
if (jvm.Map.maps[this.params.map].projection) {
return this.latLngToPoint.apply(this, markerConfig.latLng || [0, 0]);
} else {
return {
x: markerConfig.coords[0]*this.scale + this.transX*this.scale,
y: markerConfig.coords[1]*this.scale + this.transY*this.scale
};
}
},
/**
* Add one marker to the map.
* @param {String} key Marker unique code.
* @param {Object} marker Marker configuration parameters.
* @param {Array} seriesData Values to add to the data series.
*/
addMarker: function(key, marker, seriesData){
var markers = {},
data = [],
values,
i,
seriesData = seriesData || [];
markers[key] = marker;
for (i = 0; i < seriesData.length; i++) {
values = {};
if (typeof seriesData[i] !== 'undefined') {
values[key] = seriesData[i];
}
data.push(values);
}
this.addMarkers(markers, data);
},
/**
* Add set of marker to the map.
* @param {Object|Array} markers Markers to add to the map. In case of array is provided, codes of markers will be set as string representations of array indexes.
* @param {Array} seriesData Values to add to the data series.
*/
addMarkers: function(markers, seriesData){
var i;
seriesData = seriesData || [];
this.createMarkers(markers);
for (i = 0; i < seriesData.length; i++) {
this.series.markers[i].setValues(seriesData[i] || {});
};
},
/**
* Remove some markers from the map.
* @param {Array} markers Array of marker codes to be removed.
*/
removeMarkers: function(markers){
var i;
for (i = 0; i < markers.length; i++) {
this.markers[ markers[i] ].element.remove();
delete this.markers[ markers[i] ];
};
},
/**
* Remove all markers from the map.
*/
removeAllMarkers: function(){
var i,
markers = [];
for (i in this.markers) {
markers.push(i);
}
this.removeMarkers(markers)
},
/**
* Converts coordinates expressed as latitude and longitude to the coordinates in pixels on the map.
* @param {Number} lat Latitide of point in degrees.
* @param {Number} lng Longitude of point in degrees.
*/
latLngToPoint: function(lat, lng) {
var point,
proj = jvm.Map.maps[this.params.map].projection,
centralMeridian = proj.centralMeridian,
inset,
bbox;
if (lng < (-180 + centralMeridian)) {
lng += 360;
}
point = jvm.Proj[proj.type](lat, lng, centralMeridian);
inset = this.getInsetForPoint(point.x, point.y);
if (inset) {
bbox = inset.bbox;
point.x = (point.x - bbox[0].x) / (bbox[1].x - bbox[0].x) * inset.width * this.scale;
point.y = (point.y - bbox[0].y) / (bbox[1].y - bbox[0].y) * inset.height * this.scale;
return {
x: point.x + this.transX*this.scale + inset.left*this.scale,
y: point.y + this.transY*this.scale + inset.top*this.scale
};
} else {
return false;
}
},
/**
* Converts cartesian coordinates into coordinates expressed as latitude and longitude.
* @param {Number} x X-axis of point on map in pixels.
* @param {Number} y Y-axis of point on map in pixels.
*/
pointToLatLng: function(x, y) {
var proj = jvm.Map.maps[this.params.map].projection,
centralMeridian = proj.centralMeridian,
insets = jvm.Map.maps[this.params.map].insets,
i,
inset,
bbox,
nx,
ny;
for (i = 0; i < insets.length; i++) {
inset = insets[i];
bbox = inset.bbox;
nx = x - (this.transX*this.scale + inset.left*this.scale);
ny = y - (this.transY*this.scale + inset.top*this.scale);
nx = (nx / (inset.width * this.scale)) * (bbox[1].x - bbox[0].x) + bbox[0].x;
ny = (ny / (inset.height * this.scale)) * (bbox[1].y - bbox[0].y) + bbox[0].y;
if (nx > bbox[0].x && nx < bbox[1].x && ny > bbox[0].y && ny < bbox[1].y) {
return jvm.Proj[proj.type + '_inv'](nx, -ny, centralMeridian);
}
}
return false;
},
getInsetForPoint: function(x, y){
var insets = jvm.Map.maps[this.params.map].insets,
i,
bbox;
for (i = 0; i < insets.length; i++) {
bbox = insets[i].bbox;
if (x > bbox[0].x && x < bbox[1].x && y > bbox[0].y && y < bbox[1].y) {
return insets[i];
}
}
},
createSeries: function(){
var i,
key;
this.series = {
markers: [],
regions: []
};
for (key in this.params.series) {
for (i = 0; i < this.params.series[key].length; i++) {
this.series[key][i] = new jvm.DataSeries(
this.params.series[key][i],
this[key],
this
);
}
}
},
/**
* Gracefully remove the map and and all its accessories, unbind event handlers.
*/
remove: function(){
this.tip.remove();
this.container.remove();
jvm.$(window).unbind('resize', this.onResize);
jvm.$('body').unbind('mouseup', this.onContainerMouseUp);
}
};
jvm.Map.maps = {};
jvm.Map.defaultParams = {
map: 'world_mill_en',
backgroundColor: '#505050',
zoomButtons: true,
zoomOnScroll: true,
zoomOnScrollSpeed: 3,
panOnDrag: true,
zoomMax: 8,
zoomMin: 1,
zoomStep: 1.6,
zoomAnimate: true,
regionsSelectable: false,
markersSelectable: false,
bindTouchEvents: true,
regionStyle: {
initial: {
fill: 'white',
"fill-opacity": 1,
stroke: 'none',
"stroke-width": 0,
"stroke-opacity": 1
},
hover: {
"fill-opacity": 0.8,
cursor: 'pointer'
},
selected: {
fill: 'yellow'
},
selectedHover: {
}
},
regionLabelStyle: {
initial: {
'font-family': 'Verdana',
'font-size': '12',
'font-weight': 'bold',
cursor: 'default',
fill: 'black'
},
hover: {
cursor: 'pointer'
}
},
markerStyle: {
initial: {
fill: 'grey',
stroke: '#505050',
"fill-opacity": 1,
"stroke-width": 1,
"stroke-opacity": 1,
r: 5
},
hover: {
stroke: 'black',
"stroke-width": 2,
cursor: 'pointer'
},
selected: {
fill: 'blue'
},
selectedHover: {
}
},
markerLabelStyle: {
initial: {
'font-family': 'Verdana',
'font-size': '12',
'font-weight': 'bold',
cursor: 'default',
fill: 'black'
},
hover: {
cursor: 'pointer'
}
}
};
jvm.Map.apiEvents = {
onRegionTipShow: 'regionTipShow',
onRegionOver: 'regionOver',
onRegionOut: 'regionOut',
onRegionClick: 'regionClick',
onRegionSelected: 'regionSelected',
onMarkerTipShow: 'markerTipShow',
onMarkerOver: 'markerOver',
onMarkerOut: 'markerOut',
onMarkerClick: 'markerClick',
onMarkerSelected: 'markerSelected',
onViewportChange: 'viewportChange'
};
/**
* Creates map with drill-down functionality.
* @constructor
* @param {Object} params Parameters to initialize map with.
* @param {Number} params.maxLevel Maximum number of levels user can go through
* @param {Object} params.main Config of the main map. See <a href="./jvm-map/">jvm.Map</a> for more information.
* @param {Function} params.mapNameByCode Function go generate map name by region code. Default value is:
<pre>
function(code, multiMap) {
return code.toLowerCase()+'_'+
multiMap.defaultProjection+'_en';
}
</pre>
* @param {Function} params.mapUrlByCode Function to generate map url by region code. Default value is:
<pre>
function(code, multiMap){
return 'jquery-jvectormap-data-'+
code.toLowerCase()+'-'+
multiMap.defaultProjection+'-en.js';
}
</pre>
*/
jvm.MultiMap = function(params) {
var that = this;
this.maps = {};
this.params = jvm.$.extend(true, {}, jvm.MultiMap.defaultParams, params);
this.params.maxLevel = this.params.maxLevel || Number.MAX_VALUE;
this.params.main = this.params.main || {};
this.params.main.multiMapLevel = 0;
this.history = [ this.addMap(this.params.main.map, this.params.main) ];
this.defaultProjection = this.history[0].mapData.projection.type;
this.mapsLoaded = {};
this.params.container.css({position: 'relative'});
this.backButton = jvm.$('<div/>').addClass('jvectormap-goback').text('Back').appendTo(this.params.container);
this.backButton.hide();
this.backButton.click(function(){
that.goBack();
});
this.spinner = jvm.$('<div/>').addClass('jvectormap-spinner').appendTo(this.params.container);
this.spinner.hide();
};
jvm.MultiMap.prototype = {
addMap: function(name, config){
var cnt = jvm.$('<div/>').css({
width: '100%',
height: '100%'
});
this.params.container.append(cnt);
this.maps[name] = new jvm.Map(jvm.$.extend(config, {container: cnt}));
if (this.params.maxLevel > config.multiMapLevel) {
this.maps[name].container.on('regionClick.jvectormap', {scope: this}, function(e, code){
var multimap = e.data.scope,
mapName = multimap.params.mapNameByCode(code, multimap);
if (!multimap.drillDownPromise || multimap.drillDownPromise.state() !== 'pending') {
multimap.drillDown(mapName, code);
}
});
}
return this.maps[name];
},
downloadMap: function(code){
var that = this,
deferred = jvm.$.Deferred();
if (!this.mapsLoaded[code]) {
jvm.$.get(this.params.mapUrlByCode(code, this)).then(function(){
that.mapsLoaded[code] = true;
deferred.resolve();
}, function(){
deferred.reject();
});
} else {
deferred.resolve();
}
return deferred;
},
drillDown: function(name, code){
var currentMap = this.history[this.history.length - 1],
that = this,
focusPromise = currentMap.setFocus({region: code, animate: true}),
downloadPromise = this.downloadMap(code);
focusPromise.then(function(){
if (downloadPromise.state() === 'pending') {
that.spinner.show();
}
});
downloadPromise.always(function(){
that.spinner.hide();
});
this.drillDownPromise = jvm.$.when(downloadPromise, focusPromise);
this.drillDownPromise.then(function(){
currentMap.params.container.hide();
if (!that.maps[name]) {
that.addMap(name, {map: name, multiMapLevel: currentMap.params.multiMapLevel + 1});
} else {
that.maps[name].params.container.show();
}
that.history.push( that.maps[name] );
that.backButton.show();
});
},
goBack: function(){
var currentMap = this.history.pop(),
prevMap = this.history[this.history.length - 1],
that = this;
currentMap.setFocus({scale: 1, x: 0.5, y: 0.5, animate: true}).then(function(){
currentMap.params.container.hide();
prevMap.params.container.show();
prevMap.updateSize();
if (that.history.length === 1) {
that.backButton.hide();
}
prevMap.setFocus({scale: 1, x: 0.5, y: 0.5, animate: true});
});
}
};
jvm.MultiMap.defaultParams = {
mapNameByCode: function(code, multiMap){
return code.toLowerCase()+'_'+multiMap.defaultProjection+'_en';
},
mapUrlByCode: function(code, multiMap){
return 'jquery-jvectormap-data-'+code.toLowerCase()+'-'+multiMap.defaultProjection+'-en.js';
}
}
|
274056675/springboot-openai-chatgpt | 8,703 | chatgpt_pc/src/views/user/userinfo.vue | <template>
<div class="userinfo">
<div class="box">
<div class="title-box">个人信息</div>
<div class="info">
<el-avatar
:size="50"
:src="userInfo.wxAvatar != '' ? userInfo.wxAvatar : require('@/static/df_avatar_nan.png')"
></el-avatar>
<div class="info-other">
<div style="font-weight:700;">
头像
<label class="gh" for="upload">上传</label>
<input
type="file"
ref="upload"
id="upload"
style="position:absolute; clip:rect(0 0 0 0);"
accept="image/png, image/jpeg, image/gif, image/jpg"
@change="uploadImg($event)"
/>
</div>
<div style="font-size:12px;margin-top:6px;">您可以使用AI作品,版权作品为头像</div>
</div>
</div>
</div>
<div class="box">
<div class="title-box">*用户名称</div>
<el-input
type="textarea"
clearable
:maxlength="20"
:show-word-limit="true"
placeholder="请输入名称"
v-model="name"
resize="none"
></el-input>
</div>
<div class="box">
<div class="title-box">个性签名</div>
<el-input
type="textarea"
clearable
:maxlength="40"
:show-word-limit="true"
placeholder="请输入个性签名"
v-model="signatureText"
></el-input>
</div>
<div class="qrgh" @click="editInfoData">确认更换</div>
<el-dialog :visible.sync="cropperShow" width="30%">
<div class="show-info">
<div class="test">
<vueCropper
ref="cropper"
:img="option.img "
:outputSize="option.size"
:info="option.info"
:canScale="option.canScale"
:autoCrop="option.autoCrop"
:autoCropWidth="option.autoCropWidth"
:autoCropHeight="option.autoCropHeight"
:fixed="option.fixed"
:fixedNumber="option.fixedNumber"
:enlarge="4"
></vueCropper>
</div>
<div class="qrgh-box">
<div class="qrgh" @click="finish2">裁剪</div>
<div class="qrgh" @click="editTopData">确认更换</div>
</div>
</div>
</el-dialog>
</div>
</template>
<script>
import { mapGetters, mapActions } from 'vuex'
import { editInfoDataApi } from '@/api/user'
import { uploadImage } from '@/api/system'
import { VueCropper } from 'vue-cropper'
export default {
name: 'userinfo',
components: {
VueCropper,
},
data() {
return {
name: '', // 名字
signatureText: '', //用户签名
cropperShow: false, // 是否开启剪切
option: {
//img的路径自行修改
img: '',
info: true,
size: 1,
canScale: true,
autoCrop: true,
// 只有自动截图开启 宽度高度才生效
autoCropWidth: 300,
autoCropHeight: 300,
fixed: true,
// 真实的输出宽高
infoTrue: true,
fixedNumber: [4, 4],
},
}
},
computed: {
...mapGetters(['isLogin', 'userInfo']),
},
mounted() {
if (this.isLogin) {
this.name = this.userInfo.wxName
this.signatureText = this.userInfo.sign
}
},
methods: {
...mapActions(['getUserInfoActions']),
async editTopData() {
this.$showLoading({
text: '更换中',
})
const imgBlob = await fetch(this.option.img).then((r) => r.blob())
const imgFile = new File([imgBlob], 'avatar', { type: imgBlob.type })
const formData = new FormData()
formData.append('file', imgFile)
formData.append('type', 'avatar')
uploadImage(formData)
.then((res) => {
let data = {
wxAvatar: res.data.link,
}
editInfoDataApi(data)
.then((res) => {
this.cropperShow = false
this.option.img = ''
this.getUserInfoActions()
this.$hideLoading({
message: '更换成功',
type: 'success',
})
})
.catch((err) => {
this.cropperShow = false
this.$hideLoading({
message: '更换失败',
type: 'error',
})
})
})
.catch(() => {
this.cropperShow = false
this.$hideLoading({
message: '更换失败',
type: 'error',
})
})
},
editInfoData() {
let data = {
wxName: this.name,
sign: this.signatureText,
}
this.$showLoading({
text: '正在修改',
})
editInfoDataApi(data)
.then((res) => {
this.getUserInfoActions()
this.$hideLoading({
message: '修改成功',
type: 'success',
})
})
.catch((err) => {
this.$hideLoading({
message: '修改失败',
type: 'error',
})
})
},
finish2() {
this.$refs.cropper.getCropBlob((data) => {
//裁剪后的图片显示
this.option.img = window.URL.createObjectURL(new Blob([data]))
})
},
uploadImg(e) {
//上传图片
this.option.img = ''
var file = e.target.files[0]
if (!/\.(gif|jpg|jpeg|png|bmp|GIF|JPG|PNG)$/.test(e.target.value)) {
alert('图片类型必须是.gif,jpeg,jpg,png,bmp中的一种')
return false
}
var reader = new FileReader()
reader.onload = (e) => {
let data
data = e.target.result
if (typeof e.target.result === 'object') {
// 把Array Buffer转化为blob 如果是base64不需要
data = window.URL.createObjectURL(new Blob([e.target.result]))
}
this.option.img = data
this.cropperShow = true
}
e.target.value = ''
// 转化为base64
// reader.readAsDataURL(file)
// 转化为blobcs
reader.readAsArrayBuffer(file)
},
},
}
</script>
<style lang="scss" scoped>
.el-textarea__inner {
max-height: 100px;
}
// 公共
.box {
display: flex;
flex-direction: column;
}
.userinfo {
// height: 100%;
}
.title-box {
padding: 24px 0;
font-size: 16px;
font-weight: 700;
}
.info {
display: flex;
align-items: center;
.info-other {
margin-left: 10px;
display: flex;
flex-direction: column;
justify-content: space-between;
.gh {
display: inline-block;
width: 60px;
height: 26px;
margin-left: 10px;
line-height: 26px;
text-align: center;
background: #ffffff;
border: 1px solid #666666;
border-radius: 16px;
font-size: 12px;
cursor: pointer;
}
}
}
.qrgh {
width: 198px;
height: 44px;
margin-top: 40px;
line-height: 44px;
text-align: center;
border-radius: 10px;
background-color: #960a0f;
color: #ffffff;
cursor: pointer;
}
.show-info {
// margin-bottom: 50px;
}
.show-info h2 {
margin: 0;
}
/*.title, .title:hover, .title-focus, .title:visited {
color: black;
}*/
.title {
display: block;
text-decoration: none;
text-align: center;
line-height: 1.5;
margin: 20px 0px;
background-image: -webkit-linear-gradient(left, #3498db, #f47920 10%, #d71345 20%, #f7acbc 30%, #ffd400 40%, #3498db 50%, #f47920 60%, #d71345 70%, #f7acbc 80%, #ffd400 90%, #3498db);
color: transparent;
background-size: 200% 100%;
animation: slide 5s infinite linear;
font-size: 40px;
}
.test {
height: 285px;
}
.model {
position: fixed;
z-index: 10;
width: 100vw;
height: 100vh;
overflow: auto;
top: 0;
left: 0;
background: rgba(0, 0, 0, 0.8);
}
.model-show {
display: flex;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
}
.model-show {
display: flex;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
}
.model img {
display: block;
margin: auto;
max-width: 80%;
user-select: none;
background-position: 0px 0px, 10px 10px;
background-size: 20px 20px;
background-image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee 100%), linear-gradient(45deg, #eee 25%, white 25%, white 75%, #eee 75%, #eee 100%);
}
.c-item {
display: block;
padding: 10px 0;
user-select: none;
}
@keyframes slide {
0% {
background-position: 0 0;
}
100% {
background-position: -100% 0;
}
}
@media screen and (max-width: 1000px) {
.content {
max-width: 90%;
margin: auto;
}
.test {
height: 400px;
}
}
.qrgh-box {
display: flex;
justify-content: space-around;
align-content: center;
.qrgh {
width: 198px;
margin: 10px 0;
// height: 44px;
// line-height: 44px;
text-align: center;
border-radius: 10px;
background-color: #960a0f;
color: #ffffff;
cursor: pointer;
}
}
</style> |
274056675/springboot-openai-chatgpt | 33,644 | chatgpt_pc/src/views/user/platform.vue | <template>
<div class="platform">
<el-tabs>
<el-tab-pane label="服务协议">
<div class="main">
<div class="main-top" style="div-align: center;margin-bottom: 60rpx;">
<div>超级AI大脑用户服务协议</div>
</div>
<div class="box-title">
<div>1.导言</div>
</div>
<div class="box-text">
<div>欢迎您使用“超级AI大脑”软件及相关服务!</div>
</div>
<div class="box-text">
<div>“超级AI大脑”软件及相关服务,系指广州魔晶教育科技有限公司及其关联方(以下简称“公司”)合法拥有并运营的、标注名称为“超级AI大脑”的客户端应用程序(同时含其简化版等不同版本)向您提供的产品与服务,包括但不限于个性化音视频推荐、发布信息、互动交流、搜索查询等核心功能及其他功能。《“超级AI大脑”用户服务协议》(以下称“本协议”)是您与公司就您下载、安装、注册、登录、使用(以下统称“使用”)“超级AI大脑”软件,并获得“超级AI大脑”软件提供的相关服务所订立的协议。</div>
</div>
<div class="box-text">
<div>为了更好地为您提供服务,请您在开始使用“超级AI大脑”软件及相关服务之前,认真阅读并充分理解本协议,特别是涉及免除或者限制责任的条款、权利许可和信息使用的条款、同意开通和使用特殊单项服务的条款、法律适用和争议解决条款等。其中,免除或者限制责任条款等重要内容将以加粗形式提示您注意,您应重点阅读。</div>
</div>
<div class="box-text">
<div>如您未满18周岁,请您在法定监护人陪同下仔细阅读并充分理解本协议,并征得法定监护人的同意后使用“超级AI大脑”软件及相关服务。</div>
</div>
<div class="box-text">
<div>如您不同意本协议,这将导致公司无法为您提供完整的产品和服务,您也可以选择停止使用。如您自主选择同意或使用“超级AI大脑”软件及相关服务,则视为您已充分理解本协议,并同意作为本协议的一方当事人接受本协议以及其他与“超级AI大脑”软件及相关服务相关的协议和规则的约束。</div>
</div>
<div class="box-text">
<div>公司有权依“超级AI大脑”软件及相关服务或运营的需要单方决定,安排或指定其关联方、控制公司、继承公司或公司认可的第三方公司继续运营“超级AI大脑”软件。并且,就本协议项下涉及的某些服务,可能会由公司的关联方、控制公司、继承公司或公司认可的第三方公司向您提供。您知晓并同意接受相关服务内容,即视为接受相关权利义务关系亦受本协议约束。</div>
</div>
<div class="box-title">
<div>2. “超级AI大脑”软件及相关服务</div>
</div>
<div class="box-text">
<div>2.1 您使用“超级AI大脑”软件及相关服务,可以通过预装、公司已授权的第三方下载等方式获取“超级AI大脑”客户端应用程序或访问超级AI大脑相关网站。若您并非从公司或经公司授权的第三方获取“超级AI大脑”软件的,公司无法保证非官方版本的“超级AI大脑”软件能够正常使用,您因此遭受的损失与公司无关。</div>
</div>
<div class="box-text">
<div>2.2 公司可能为不同的终端设备开发不同的应用程序软件版本,您应当根据实际设备状况获取、下载、安装合适的版本。</div>
</div>
<div class="box-text">
<div>2.3 您可根据需要自行使用“超级AI大脑”软件及相关服务或更新“超级AI大脑”版本,如您不再需要使用“超级AI大脑”软件及相关服务,您也可自行卸载相应的应用程序软件。</div>
</div>
<div class="box-text">
<div>2.4 为更好的提升用户体验及服务,公司将不定期提供“超级AI大脑”软件及相关服务的更新或改变(包括但不限于软件修改、升级、功能强化、开发新服务、软件替换等),您可根据需要自行选择是否更新相应的版本。为保证“超级AI大脑”软件及相关服务安全、提升用户服务,“超级AI大脑”软件及相关服务部分或全部更新后,公司将在可行情况下以适当方式(包括但不限于系统提示、公告、站内信等)提示您,您有权选择接受更新后版本;如您选择不作更新,则“超级AI大脑”软件及相关服务的部分功能将受到限制或不能正常使用。</div>
</div>
<div class="box-text">
<div>2.5 除非得到公司明示事先书面授权,您不得以任何形式对“超级AI大脑”软件及相关服务进行包括但不限于改编、复制、传播、垂直搜索、镜像或交易等未经授权的访问或使用。</div>
</div>
<div class="box-text">
<div>2.6 您理解,您使用“超级AI大脑”软件及相关服务需自行准备与软件及相关服务有关的终端设备(如电脑、手机等装置),一旦您在您终端设备中打开“超级AI大脑”软件或访问“超级AI大脑”相关网站,即视为您使用“超级AI大脑”软件及相关服务。为充分实现“超级AI大脑”的全部功能,您可能需要将您的终端设备联网,您理解您应自行承担所需要的费用(如流量费、上网费等)。</div>
</div>
<div class="box-text">
<div>2.7 公司许可您一项个人的、可撤销的、不可转让的、非独占地和非商业的合法使用“超级AI大脑”软件及相关服务的权利。本协议未明示授权的其他一切权利仍由公司保留,您在行使该些权利前须另行获得公司的书面许可,同时公司如未行使前述任何权利,并不构成对该权利的放弃。</div>
</div>
<div class="box-text">
<div>2.8 如您发现“超级AI大脑”客户端或官方网站内存在任何侵犯您权利的内容,您可按照超级AI大脑客户端「设置」-「用户反馈」途径通知公司,并提供您有相关权利的证据,公司将会依据相关法律规定及时处理您的投诉。如您在“超级AI大脑”发布的内容被相关权利人投诉侵权并被处理,且您不认可处理结果,您可以通过向在线客服提交反通知书及相关权利证明材料进行申诉,公司同样将会依据相关法律规定及时处理您的申诉。</div>
</div>
<div class="box-title">
<div>3. 关于“帐号”</div>
</div>
<div class="box-text">
<div>3.1“超级AI大脑”软件及相关服务为您提供了注册通道,您有权选择合法的字符组合作为自己的帐号,并自行设置符合安全要求的密码。用户设置的帐号、密码是用户用以登录并以注册用户身份使用“超级AI大脑”软件及相关服务的凭证。</div>
</div>
<div class="box-text">
<div>3.2 您理解并承诺,您所设置的帐号不得违反国家法律法规及“超级AI大脑”的相关规则,您的帐号名称、头像和简介等注册信息及其他个人信息中不得出现违法和不良信息,未经他人许可不得用他人名义(包括但不限于冒用他人姓名、名称、字号、头像等或采取其他足以让人引起混淆的方式)开设帐号,不得恶意注册“超级AI大脑”帐号(包括但不限于频繁注册、批量注册帐号等行为)。您在帐号注册及使用过程中需遵守相关法律法规,不得实施任何侵害国家利益、损害其他公民合法权益,有害社会道德风尚的行为。公司有权对您提交的注册信息进行审核。</div>
</div>
<div class="box-text">
<div>3.3 您在“超级AI大脑”中的注册帐号仅限于您本人使用,未经公司书面同意,禁止以任何形式赠与、借用、出租、转让、售卖或以其他方式许可他人使用该帐号。如果公司发现或者有合理理由认为使用者并非帐号初始注册人,为保障帐号安全,公司有权立即暂停或终止向该注册帐号提供服务,并有权永久禁用该帐号。</div>
</div>
<div class="box-text">
<div>3.4 您有责任维护个人帐号、密码的安全性与保密性,并对您以注册帐号名义所从事的活动承担全部法律责任,包括但不限于您在“超级AI大脑”软件及相关服务上进行的任何数据修改、言论发表、款项支付等操作行为可能引起的一切法律责任。您应高度重视对帐号与密码的保密,在任何情况下不向他人透露帐号及密码。若发现他人未经许可使用您的帐号或发生其他任何安全漏洞问题时,您应当立即通知公司。</div>
</div>
<div class="box-text">
<div>3.5 如您丢失帐号或遗忘密码,可遵照公司的申诉途径及时申诉请求找回帐号或密码。您理解并认可,密码找回机制仅需要识别申诉单上所填资料与系统记录资料具有一致性,而无法识别申诉人是否系帐号真正有权使用者。公司特别提醒您应妥善保管您的帐号和密码。当您使用完毕后,应安全退出。因您保管不当等自身原因或其他不可抗因素导致遭受盗号或密码丢失,您应自行承担相应责任。</div>
</div>
<div class="box-text">
<div>3.6 在注册、使用和管理帐号时,您应保证注册帐号时填写的身份信息的真实性,请您在注册、管理帐号时使用真实、准确、合法、有效的相关身份证明材料及必要信息(包括您的姓名及电子邮件地址、联系电话、联系地址等)。依照国家法律法规的规定,为使用“超级AI大脑”软件及相关服务的部分功能,您需要填写真实的身份信息,请您按照相关法律规定完成实名认证,并注意及时更新上述相关信息。若您提交的材料或提供的信息不准确、不真实、不规范、不合法或者公司有理由怀疑为错误、不实或不合法的资料,则公司有权拒绝为您提供相关服务,您可能无法使用“超级AI大脑”软件及相关服务或在使用过程中部分功能受到限制。</div>
</div>
<div class="box-text">
<div>3.7 除自行注册“超级AI大脑”帐号外,您也可选择通过授权使用您合法拥有的包括但不限于公司和/或其关联方其他软件或平台用户帐号,以及实名注册的第三方软件或平台用户帐号登录使用“超级AI大脑”软件及相关服务,但第三方软件或平台对此有限制或禁止的除外。当您以前述已有帐号登录使用的,应保证相应帐号已进行实名注册登记,并同样适用本协议中的相关条款。</div>
</div>
<div class="box-text">
<div>3.8 您理解并同意,除您登录、使用“超级AI大脑”软件及相关服务外,您还可以用“超级AI大脑”帐号登录使用公司及其关联方或其他合作方提供的其他软件、服务。您以“超级AI大脑”帐号登录并使用前述服务的,同样应受其他软件、服务实际提供方的用户协议及其他协议条款约束。</div>
</div>
<div class="box-text">
<div>您通过已注册或者已同步的帐号登录公司及/或关联方运营的系列客户端软件产品及网站时(如有),应遵守该软件产品及网站自身的用户协议及其他协议条款的规定。</div>
</div>
<div class="box-text">
<div>3.9 当您完成“超级AI大脑”的帐号注册、登录并进行合理和必要的身份验证后,您可随时浏览、修改自己提交的个人身份信息。您理解并同意,出于安全性和身份识别(如帐号或密码找回申诉服务等)的考虑,您可能无法修改注册时提供的初始注册信息及其他验证信息。您也可以申请注销帐号,公司会在完成个人身份、安全状态、设备信息、侵权投诉等方面的合理和必要的验证后协助您注销帐号,并依照您的要求删除有关您帐号的一切信息,法律法规另有规定的除外。</div>
</div>
<div class="box-text">
<div>3.10 您理解并同意,为了充分使用帐号资源,如您在注册后未及时进行初次登录使用或连续超过二个月未登录帐号并使用,公司有权收回您的帐号。如您的帐号被收回,您可能无法通过您此前持有的帐号登录并使用“超级AI大脑”软件及相关服务,您该帐号下保存的任何个性化设置和使用记录将无法恢复。在收回您的帐号之前,公司将以适当的方式向您作出提示,如您在收到相关提示后一定期限内仍未登录、使用帐号,公司将进行帐号收回。</div>
</div>
<div class="box-text">
<div>如您的帐号被收回,您可以通过注册新的帐号登录、使用“超级AI大脑”软件及相关服务。您注册新帐号并登录、使用的行为仍受到本协议相关条款的约束。</div>
</div>
<div class="box-text">
<div>3.11 首次登录默认创建新账户。</div>
</div>
<div class="box-title">
<div>4. 用户个人信息保护</div>
</div>
<div class="box-text">
<div>公司与您一同致力于您个人信息(即能够独立或与其他信息结合后识别您身份的信息)的保护。</div>
</div>
<div class="box-text">
<div>保护用户个人信息是公司的基本原则之一,在使用“超级AI大脑”软件及相关服务的过程中,您可能需要提供您的个人信息(包括但不限于您的姓名、电话号码、位置信息、设备信息等),以便公司向您提供更好的服务和相应的技术支持。公司将依法保护您浏览、修改、删除相关个人信息以及撤回授权的权利,并将运用加密技术、匿名化处理等其他与“超级AI大脑”软件及相关服务相匹配的技术措施及其他安全措施保护您的个人信息。</div>
</div>
<div class="box-text">
<div>更多关于您个人信息保护的内容,请参看《超级AI大脑APP隐私权政策》。</div>
</div>
<div class="box-title">
<div>5.用户行为规范</div>
</div>
<div class="box-text">
<div>5.1用户行为要求</div>
</div>
<div class="box-text">
<div>您应对您使用“超级AI大脑”软件及相关服务的行为负责,除非法律允许或者经公司事先书面许可,您使用“超级AI大脑”软件及相关服务不得具有下列行为:</div>
</div>
<div class="box-text">
<div>5.1.1使用未经公司授权或许可的任何插件、外挂、系统或第三方工具对“超级AI大脑”软件及相关服务的正常运行进行干扰、破坏、修改或施加其他影响。</div>
</div>
<div class="box-text">
<div>5.1.2利用或针对“超级AI大脑”软件及相关服务进行任何危害计算机网络安全的行为,包括但不限于:</div>
</div>
<div class="box-text">
<div>(1)非法侵入网络、干扰网络正常功能、窃取网络数据等危害网络安全的活动;</div>
</div>
<div class="box-text">
<div>(2)提供专门用于从事侵入网络、干扰网络正常功能及防护措施、窃取网络数据等危害网络安全活动的程序、工具;</div>
</div>
<div class="box-text">
<div>(3)明知他人从事危害网络安全的活动的,为其提供技术支持、广告推广、支付结算等帮助;</div>
</div>
<div class="box-text">
<div>(4)使用未经许可的数据或进入未经许可的服务器/帐号;</div>
</div>
<div class="box-text">
<div>(5)未经允许进入公众计算机网络或者他人计算机系统并删除、修改、增加存储信息;</div>
</div>
<div class="box-text">
<div>(6)未经许可,企图探查、扫描、测试“超级AI大脑”系统或网络的弱点或其它实施破坏网络安全的行为;</div>
</div>
<div class="box-text">
<div>(7)企图干涉、破坏“超级AI大脑”系统或网站的正常运行,故意传播恶意程序或病毒以及其他破坏干扰正常网络信息服务的行为;</div>
</div>
<div class="box-text">
<div>(8)伪造TCP/IP数据包名称或部分名称;</div>
</div>
<div class="box-text">
<div>(9)对“超级AI大脑”软件及相关服务进行反向工程、反向汇编、编译或者以其他方式尝试发现“超级AI大脑”软件及相关服务的源代码;</div>
</div>
<div class="box-text">
<div>(10)恶意注册“超级AI大脑”帐号,包括但不限于频繁、批量注册帐号;</div>
</div>
<div class="box-text">
<div>(11)违反法律法规、本协议、公司的相关规则及侵犯他人合法权益的其他行为。</div>
</div>
<div class="box-text">
<div>5.1.3 如果公司有理由认为您的行为违反或可能违反上述约定的,公司可独立进行判断并处理,且在任何时候有权在不事先通知的情况下终止向您提供服务,并依法追究相关责任。</div>
</div>
<div class="box-text">
<div>5.2 信息内容展示及规范</div>
</div>
<div class="box-text">
<div>5.2.1 您按规定完成实名认证后,可以以注册帐号或“超级AI大脑”合作平台帐号登录“超级AI大脑”发布信息、互动交流、评论等。</div>
</div>
<div class="box-text">
<div>5.2.2 公司致力使发布信息、互动交流、评论成为文明、理性、友善、高质量的意见交流。在推动发布信息、互动交流、评论业务发展的同时,不断加强相应的信息安全管理能力,完善发布信息、互动交流、评论自律,切实履行社会责任,遵守国家法律法规,尊重公民合法权益,尊重社会公序良俗。</div>
</div>
<div class="box-text">
<div>5.2.3 您制作、评论、发布、传播的信息(包括但不限于随拍或上传至“超级AI大脑”平台的未公开的私密视频)应自觉遵守法律法规、社会主义制度、国家利益、公民合法权益、社会公共秩序、道德风尚和信息真实性等“七条底线”要求,否则公司有权立即采取相应处理措施。您同意并承诺不制作、复制、发布、传播下列信息:</div>
</div>
<div class="box-text">
<div>(1)反对宪法确定的基本原则的;</div>
</div>
<div class="box-text">
<div>(2)危害国家安全,泄露国家秘密的;</div>
</div>
<div class="box-text">
<div>(3)颠覆国家政权,推翻社会主义制度,煽动分裂国家,破坏国家统一的;</div>
</div>
<div class="box-text">
<div>(4)损害国家荣誉和利益的;</div>
</div>
<div class="box-text">
<div>(5)宣扬恐怖主义、极端主义的;</div>
</div>
<div class="box-text">
<div>(6)宣扬民族仇恨、民族歧视,破坏民族团结的;</div>
</div>
<div class="box-text">
<div>(7)煽动地域歧视、地域仇恨的;</div>
</div>
<div class="box-text">
<div>(8)破坏国家宗教政策,宣扬邪教和封建迷信的;</div>
</div>
<div class="box-text">
<div>(9)编造、散布谣言、虚假信息,扰乱经济秩序和社会秩序、破坏社会稳定的;</div>
</div>
<div class="box-text">
<div>(10)散布、传播淫秽、色情、赌博、暴力、凶杀、恐怖或者教唆犯罪的;</div>
</div>
<div class="box-text">
<div>(11)危害网络安全、利用网络从事危害国家安全、荣誉和利益的;</div>
</div>
<div class="box-text">
<div>(12)侮辱或者诽谤他人,侵害他人合法权益的;</div>
</div>
<div class="box-text">
<div>(13)对他人进行暴力恐吓、威胁,实施人肉搜索的;</div>
</div>
<div class="box-text">
<div>(14)涉及他人隐私、个人信息或资料的;</div>
</div>
<div class="box-text">
<div>(15)散布污言秽语,损害社会公序良俗的;</div>
</div>
<div class="box-text">
<div>(16)侵犯他人隐私权、名誉权、肖像权、知识产权等合法权益内容的;</div>
</div>
<div class="box-text">
<div>(17)散布商业广告,或类似的商业招揽信息、过度营销信息及垃圾信息;</div>
</div>
<div class="box-text">
<div>(18)使用本网站常用语言文字以外的其他语言文字评论的;</div>
</div>
<div class="box-text">
<div>(19)与所评论的信息毫无关系的;</div>
</div>
<div class="box-text">
<div>(20)所发表的信息毫无意义的,或刻意使用字符组合以逃避技术审核的;</div>
</div>
<div class="box-text">
<div>(21)侵害未成年人合法权益或者损害未成年人身心健康的;</div>
</div>
<div class="box-text">
<div>(22)未获他人允许,偷拍、偷录他人,侵害他人合法权利的;</div>
</div>
<div class="box-text">
<div>(23)包含恐怖、暴力血腥、高危险性、危害表演者自身或他人身心健康内容的,包括但不限于以下情形:</div>
</div>
<div class="box-text">
<div>任何暴力和/或自残行为内容;</div>
</div>
<div class="box-text">
<div>任何威胁生命健康、利用刀具等危险器械表演的危及自身或他人人身及/或财产权利的内容;</div>
</div>
<div class="box-text">
<div>怂恿、诱导他人参与可能会造成人身伤害或导致死亡的危险或违法活动的内容;</div>
</div>
<div class="box-text">
<div>(24)其他含有违反法律法规、政策及公序良俗、干扰“超级AI大脑”正常运营或侵犯其他用户或第三方合法权益内容的信息。</div>
</div>
<div class="box-text">
<div>5.2.4 您制作、发布、传播的内容需遵守《网络音视频信息服务管理规定》及相关法律法规规定,不得利用基于深度学习、虚拟现实等的新技术新应用制作、发布、传播虚假新闻信息。您在发布或传播利用基于深度学习、虚拟现实等的新技术新应用制作的非真实音视频信息时,应当以显著方式予以标识。</div>
</div>
<div class="box-text">
<div>5.3 公司设立公众投诉、举报平台,您可按照公司公示的投诉举报制度向公司投诉、举报各类违法违规行为、违法传播活动、违法有害信息等内容,公司将及时受理和处理您的投诉举报,以共同营造风清气正的网络空间。</div>
</div>
<div class="box-title">
<div>6.“超级AI大脑”信息内容使用规范</div>
</div>
<div class="box-text">
<div>6.1 未经公司书面许可,任何用户、第三方均不得自行或授权、允许、协助他人对“超级AI大脑”软件及相关服务中信息内容进行如下行为:</div>
</div>
<div class="box-text">
<div>(1)复制、读取、采用“超级AI大脑”软件及相关服务的信息内容,用于包括但不限于宣传、增加阅读量、浏览量等商业用途;</div>
</div>
<div class="box-text">
<div>(2)擅自编辑、整理、编排“超级AI大脑”软件及相关服务的信息内容后在“超级AI大脑”软件及相关服务的源页面以外的渠道进行展示;</div>
</div>
<div class="box-text">
<div>(3)采用包括但不限于特殊标识、特殊代码等任何形式的识别方法,自行或协助第三人对“超级AI大脑”软件及相关服务的信息内容产生流量、阅读量引导、转移、劫持等不利影响;</div>
</div>
<div class="box-text">
<div>(4)其他非法获取或使用“超级AI大脑”软件及相关服务的信息内容的行为。</div>
</div>
<div class="box-text">
<div>6.2 未经公司书面许可,任何用户、第三方不得以任何方式(包括但不限于盗链、冗余盗取、非法抓取、模拟下载、深度链接、假冒注册等)直接或间接盗取“超级AI大脑”软件及相关服务的视频、图文,音频等信息内容,或以任何方式(包括但不限于隐藏或者修改域名、平台特有标识、用户名等)删除或改变相关信息内容的权利管理电子信息。</div>
</div>
<div class="box-text">
<div>6.3 经公司书面许可后,用户、第三方对“超级AI大脑”软件及相关服务的信息内容的分享、转发等行为,还应符合以下规范:</div>
</div>
<div class="box-text">
<div>(1)对抓取、统计、获得的相关搜索热词、命中率、分类、搜索量、点击率、阅读量等相关数据,未经公司事先书面同意,不得将上述数据以任何方式公示、提供、泄露给任何第三人;</div>
</div>
<div class="box-text">
<div>(2)不得对“超级AI大脑”软件及相关服务的源网页进行任何形式的任何改动,包括但不限于“超级AI大脑”软件及相关服务的首页链接、广告系统链接等入口,也不得对“超级AI大脑”软件及相关服务的源页面的展示进行任何形式的遮挡、插入、弹窗等妨碍;</div>
</div>
<div class="box-text">
<div>(3)应当采取安全、有效、严密的措施,防止“超级AI大脑”软件及相关服务的信息内容被第三方通过包括但不限于“蜘蛛”(spider)程序等任何形式进行非法获取;</div>
</div>
<div class="box-text">
<div>(4)不得把相关数据内容用于公司书面许可范围之外的目的,进行任何形式的销售和商业使用,或向第三方泄露、提供或允许第三方为任何方式的使用。</div>
</div>
<div class="box-text">
<div>(5)用户向任何第三人分享、转发、复制“超级AI大脑”软件及相关服务信息内容的行为,还应遵守公司为此制定的其他规范和标准。</div>
</div>
<div class="box-title">
<div>7. 违约处理</div>
</div>
<div class="box-text">
<div>7.1 针对您违反本协议或其他服务条款的行为,公司有权独立判断并视情况采取预先警示、拒绝发布、立即停止传输信息、删除内容或评论、短期禁止发布内容或评论、限制帐号部分或者全部功能直至终止提供服务、永久关闭帐号等措施,对于因此而造成您无法正常使用帐号及相关服务、无法正常获取您帐号内资产或其他权益等后果,公司不承担任何责任。公司有权公告处理结果,且有权根据实际情况决定是否恢复相关帐号的使用。对涉嫌违反法律法规、涉嫌违法犯罪的行为,公司将保存有关记录,并有权依法向有关主管部门报告、配合有关主管部门调查、向公安机关报案等。对已删除内容公司有权不予恢复。</div>
</div>
<div class="box-text">
<div>7.2 因您违反本协议或其他服务条款规定,引起第三方投诉或诉讼索赔的,您应当自行处理并承担可能因此产生的全部法律责任。因您的违法或违约等行为导致公司及其关联方、控制公司、继承公司向任何第三方赔偿或遭受国家机关处罚的,您还应足额赔偿公司及其关联方、控制公司、继承公司因此遭受的全部损失。</div>
</div>
<div class="box-text">
<div>7.3 公司尊重并保护用户及他人的知识产权、名誉权、姓名权、隐私权等合法权益。您保证,在使用“超级AI大脑”软件及相关服务时上传的文字、图片、视频、音频、链接等不侵犯任何第三方的知识产权、名誉权、姓名权、隐私权等权利及合法权益。否则,公司有权在收到权利方或者相关方通知的情况下移除该涉嫌侵权内容。针对第三方提出的全部权利主张,您应自行处理并承担可能因此产生的全部法律责任;如因您的侵权行为导致公司及其关联方、控制公司、继承公司遭受损失的(包括但不限于经济、商誉等损失),您还应足额赔偿公司及其关联方、控制公司、继承公司遭受的全部损失。</div>
</div>
<div class="box-title">
<div>8. 服务的变更、中断和终止</div>
</div>
<div class="box-text">
<div>8.1 您理解并同意,公司提供的“超级AI大脑”软件及相关服务是按照现有技术和条件所能达到的现状提供的。公司会尽最大努力向您提供服务,确保服务的连贯性和安全性。您理解,公司不能随时或始终预见和防范法律、技术以及其他风险,包括但不限于不可抗力、网络原因、第三方服务瑕疵、第三方网站等原因可能导致的服务中断、不能正常使用“超级AI大脑”软件及相关服务以及其他的损失和风险。</div>
</div>
<div class="box-text">
<div>8.2 您理解并同意,公司为了整体服务运营、平台运营安全的需要,有权视具体情况决定服务/功能的设置及其范围修改、中断、中止或终止“超级AI大脑”软件及相关服务。</div>
</div>
<div class="box-title">
<div>9.广告</div>
</div>
<div class="box-text">
<div>9.1 您理解并同意,在您使用“超级AI大脑”软件及相关服务过程中,公司可能会向您推送具有相关性的信息、广告发布或品牌推广服务,且公司将在“超级AI大脑”软件及相关服务中展示“超级AI大脑”软件及相关服务和/或第三方供应商、合作伙伴的商业广告、推广或信息(包括商业或非商业信息)。</div>
</div>
<div class="box-text">
<div>9.2 如您不愿意接收具有相关性的广告,您有权对该广告信息选择“不感兴趣”,该广告同类广告的推送将会减少。</div>
</div>
<div class="box-text">
<div>9.3 如您不愿意接收“超级AI大脑”推送通知服务的,您有权在手机系统通知管理中自行关闭该服务。</div>
</div>
<div class="box-text">
<div>9.4 公司依照法律规定履行广告及推广相关义务,您应当自行判断该广告或推广信息的真实性和可靠性并为自己的判断行为负责。除法律法规明确规定外,您因该广告或推广信息进行的购买、交易或因前述内容遭受的损害或损失,您应自行承担,公司不予承担责任。</div>
</div>
<div class="box-title">
<div>10. 知识产权</div>
</div>
<div class="box-text">
<div>10.1 公司在“超级AI大脑”软件及相关服务中提供的内容(包括但不限于软件、技术、程序、网页、文字、图片、图像、音频、视频、图表、版面设计、电子文档等)的知识产权属于公司所有。公司提供“超级AI大脑”及相关服务时所依托的软件的著作权、专利权及其他知识产权均归公司所有。未经公司许可,任何人不得擅自使用(包括但不限于通过任何机器人、“蜘蛛”等程序或设备监视、复制、传播、展示、镜像、上载、下载)“超级AI大脑”软件及相关服务中的内容。</div>
</div>
<div class="box-text">
<div>10.2 您理解并承诺,您在使用“超级AI大脑”软件及相关服务时发布上传的内容(包括但不限于文字、图片、视频、音频等各种形式的内容及其中包含的音乐、声音、台词、视觉设计等所有组成部分)均由您原创或已获合法授权(且含转授权)。您通过“超级AI大脑”上传、发布所产生内容的知识产权归属您或原始著作权人所有。</div>
</div>
<div class="box-text">
<div>10.3 除非有相反证明,您知悉、理解并同意,为使您的作品得到更好的分享及推广,提高其传播价值及影响力,您通过“超级AI大脑”软件及相关服务上传、发布或传输的内容(包括但不限文字,图像,音频,视频、直播内容等各种形式的内容及其中包括的音乐、声音、台词、视觉设计、对话等所有组成部分),您授予公司及其关联方、控制公司、继承公司一项全球范围内、免费、非独家、可再许可(通过多层次)的权利(包括但不限于复制权、翻译权、汇编权、信息网络传播权、改编权及制作衍生品、表演和展示的权利等),上述权利的使用范围包括但不限于在当前或其他网站、应用程序、产品或终端设备等使用。您在此确认并同意,公司有权自行或许可第三方在与上述内容、“超级AI大脑”软件及相关服务、公司和/或公司品牌有关的任何宣传、推广、广告、营销和/或研究中使用和以其他方式开发内容(全部或部分)。为避免疑义,您理解并同意,上述授予的权利包括使用、复制和展示您拥有或被许可使用并植入内容中的个人形象、肖像、姓名、商标、服务标志、品牌、名称、标识和公司标记(如有)以及任何其他品牌、营销或推广资产、物料、素材等的权利和许可。基于部分功能的特性,您通过“超级AI大脑”软件及相关服务发布的内容(包括但不限于内容中包含的声音、音频或对话等)可供其他用户使用“超级AI大脑”软件创作及发布相关内容时使用。</div>
</div>
<div class="box-text">
<div>10.4 您确认并同意授权公司以公司自己的名义或委托专业第三方对侵犯您上传发布的享有知识产权的内容进行代维权,维权形式包括但不限于:监测侵权行为、发送维权函、提起诉讼或仲裁、调解、和解等,公司有权对维权事宜做出决策并独立实施。</div>
</div>
<div class="box-text">
<div>10.5 公司为“超级AI大脑”开发、运营提供技术支持,并对“超级AI大脑”软件及相关服务的开发和运营等过程中产生的所有数据和信息等享有法律法规允许范围内的全部权利。</div>
</div>
<div class="box-text">
<div>10.6 请您在任何情况下都不要私自使用公司的包括但不限于“起源科技”、“超级AI大脑”和等在内的任何商标、服务标记、商号、域名、网站名称或其他显著品牌特征等(以下统称为“标识”)。未经公司事先书面同意,您不得将本条款前述标识以单独或结合任何方式展示、使用或申请注册商标、进行域名注册等,也不得实施向他人明示或暗示有权展示、使用、或其他有权处理该些标识的行为。由于您违反本协议使用公司上述商标、标识等给公司或他人造成损失的,由您承担全部法律责任。</div>
</div>
<div class="box-title">
<div>11. 免责声明</div>
</div>
<div class="box-text">
<div>11.1 您理解并同意,“超级AI大脑”软件及相关服务可能会受多种因素的影响或干扰,公司不保证(包括但不限于):</div>
</div>
<div class="box-text">
<div>11.1.1 “超级AI大脑”软件及相关服务完全适合用户的使用要求;</div>
</div>
<div class="box-text">
<div>11.1.2 “超级AI大脑”软件及相关服务不受干扰,及时、安全、可靠或不出现错误;用户经由公司取得的任何软件、服务或其他材料符合用户的期望;</div>
</div>
<div class="box-text">
<div>11.1.3 “超级AI大脑”软件及相关服务中任何错误都将能得到更正。</div>
</div>
<div class="box-text">
<div>11.2 如有涉嫌借款、投融资、理财或其他涉财产的网络信息、账户密码、广告或推广等信息的,请您谨慎对待并自行进行判断,对您因此遭受的利润、商业信誉、资料损失或其他有形或无形损失,公司不承担任何直接、间接、附带、特别、衍生性或惩罚性的赔偿责任。</div>
</div>
<div class="box-text">
<div>11.3 您理解并同意,在使用“超级AI大脑”软件及相关服务过程中,可能遇到不可抗力等因素(不可抗力是指不能预见、不能克服并不能避免的客观事件),包括但不限于政府行为、自然灾害(如洪水、地震、台风等)、网络原因、战争、罢工、骚乱等。出现不可抗力情况时,公司将努力在第一时间及时修复,但因不可抗力造成的暂停、中止、终止服务或造成的任何损失,公司在法律法规允许范围内免于承担责任。</div>
</div>
<div class="box-text">
<div>11.4 公司依据本协议约定获得处理违法违规内容的权利,该权利不构成公司的义务或承诺,公司不能保证及时发现违法行为或进行相应处理。</div>
</div>
<div class="box-text">
<div>11.5 您理解并同意:关于“超级AI大脑”软件及相关服务,公司不提供任何种类的明示或暗示担保或条件,包括但不限于商业适售性、特定用途适用性等。您对“超级AI大脑”软件及相关服务的使用行为应自行承担相应风险。</div>
</div>
<div class="box-text">
<div>11.6 您理解并同意,本协议旨在保障遵守国家法律法规、维护公序良俗,保护用户和他人合法权益,公司在能力范围内尽最大的努力按照相关法律法规进行判断,但并不保证公司判断完全与司法机关、行政机关的判断一致,如因此产生的后果您已经理解并同意自行承担。</div>
</div>
<div class="box-text">
<div>11.7 在任何情况下,公司均不对任何间接性、后果性、惩罚性、偶然性、特殊性或刑罚性的损害,包括因您使用“超级AI大脑”软件及相关服务而遭受的利润损失,承担责任。除法律法规另有明确规定外,公司对您承担的全部责任,无论因何原因或何种行为方式,始终不超过您因使用“超级AI大脑”软件及相关服务期间而支付给公司的费用(如有)。</div>
</div>
<div class="box-text">
<div>11.8 您理解并同意:关于“超级AI大脑”由于AI需要大量计算资源,高峰期可能会服务波动,系统可能会降级服务或系统监测到您账号滥用AI资源,也可能对您的账号进行限制,如发布违反法律法规,不文明等不当言论系统可能会针对该账户进行降权措施等。您对“超级AI大脑”软件及相关服务的使用行为应自行承担相应风险。</div>
</div>
<div class="box-title">
<div>12. 关于单项服务与第三方服务的特殊约定</div>
</div>
<div class="box-text">
<div>12.1 “超级AI大脑”软件及相关服务中包含公司以各种合法方式获取的信息或信息内容链接,同时也包括公司及其关联方合法运营的其他单项服务。这些服务在“超级AI大脑”可能以单独板块形式存在。公司有权不时地增加、减少或改动这些特别板块的设置及服务。</div>
</div>
<div class="box-text">
<div>12.2 您可以在“超级AI大脑”软件中开启和使用上述单项服务功能。某些单项服务可能需要您同时接受就该服务特别制订的协议或者其他约束您与该项服务提供者之间的规则。必要时公司将以醒目的方式提供这些协议、规则供您查阅。一旦您开始使用上述服务,则视为您理解并接受有关单项服务的相关协议、规则的约束。如未标明使用期限、或未标明使用期限 为“永久”、“无限期”或“无限制”的,则这些服务的使用期限为自您开始使用该服务至该服务在“超级AI大脑”软件停止提供之日为止。</div>
</div>
<div class="box-text">
<div>12.3 您在“超级AI大脑”软件中使用第三方提供的软件及相关服务时,除遵守本协议及“超级AI大脑”软件中的其他相关规则外,还可能需要同意并遵守第三方的协议、相关规则。如因第三方软件及相关服务产生的争议、损失或损害,由您自行与第三方解决,公司并不就此而对您或任何第三方承担任何责任。</div>
</div>
<div class="box-title">
<div>13. 未成年人使用条款</div>
</div>
<div class="box-text">
<div>13.1 若您是未满18周岁的未成年人,您应在您的监护人监护、指导下并获得监护人同意的情况下,认真阅读并同意本协议后,方可使用“超级AI大脑”软件及相关服务。</div>
</div>
<div class="box-text">
<div>13.2 公司重视对未成年人个人信息的保护,未成年用户在填写个人信息时,请加强个人保护意识并谨慎对待,并应在取得监护人的同意以及在监护人指导下正确使用“超级AI大脑”软件及相关服务。</div>
</div>
<div class="box-text">
<div>13.3 未成年人用户及其监护人理解并确认,如您违反法律法规、本协议内容,则您及您的监护人应依照法律规定承担因此而可能导致的全部法律责任。</div>
</div>
<div class="box-text">
<div>13.4 未成年人用户特别提示</div>
</div>
<div class="box-text">
<div>13.4.1 未成年人使用“超级AI大脑”软件及相关服务应该在其监护人的监督指导下,在合理范围内正确学习使用网络,避免沉迷虚拟的网络空间,养成良好上网习惯。</div>
</div>
<div class="box-text">
<div>13.4.2 青少年用户必须遵守《全国青少年网络文明公约》:</div>
</div>
<div class="box-text">
<div>(1)要善于网上学习,不浏览不良信息;</div>
</div>
<div class="box-text">
<div>(2)要诚实友好交流,不侮辱欺诈他人;</div>
</div>
<div class="box-text">
<div>(3)要增强自护意识,不随意约会网友;</div>
</div>
<div class="box-text">
<div>(4)要维护网络安全,不破坏网络秩序;</div>
</div>
<div class="box-text">
<div>(5)要有益身心健康,不沉溺虚拟时空。</div>
</div>
<div class="box-text">
<div>13.4.3 为更好地保护未成年人隐私权益,公司特别提醒您慎重发布包含未成年人素材的内容,一经发布,即视为您已获得权利人同意在“超级AI大脑”软件及相关服务展示未成年人的肖像、声音等信息,且允许公司依据本协议使用、处理该等与未成年人相关的内容。</div>
</div>
<div class="box-text">
<div>13.5 监护人特别提示</div>
</div>
<div class="box-text">
<div>13.5.1 如您的被监护人使用“超级AI大脑”软件及相关服务的,您作为监护人应指导并监督被监护人的注册和使用行为,如您的被监护人申请注册超级AI大脑帐号,公司将有权认为其已取得您的同意。</div>
</div>
<div class="box-text">
<div>13.5.2 您的被监护人在使用“超级AI大脑”软件及相关服务时可能使用充值、打赏等功能。您作为监护人,请保管好您的支付设备、支付账户及支付密码等,以避免被监护人在未取得您同意的情况下通过您的超级AI大脑帐号使用充值、打赏等功能。</div>
</div>
<div class="box-title">
<div>14.其他</div>
</div>
<div class="box-text">
<div>14.1 本协议的成立、生效、履行、解释及争议的解决均应适用中华人民共和国法律。倘若本协议之任何规定因与中华人民共和国法律抵触而无效,则这些条款应在不违反法律的前提下按照尽可能接近本协议原条文目的之原则进行重新解释和适用,且本协议其它规定仍应具有完整的效力及效果。</div>
</div>
<div class="box-text">
<div>14.2 本协议的签署地点为中华人民共和国广州市天河区,若您与公司发生任何争议,双方应尽量友好协商解决,协商不成,您同意应将争议提交至北京市海淀区人民法院诉讼解决。</div>
</div>
<div class="box-text">
<div>14.3 为给您提供更好的服务或因国家法律法规、政策调整、技术条件、产品功能等变化需要,公司会适时对本协议进行修订,修订内容构成本协议的组成部分。本协议更新后,公司会在 “超级AI大脑”发出更新版本,并在更新后的条款生效前通过官方网站公告或其他适当的方式提醒您更新的内容,以便您及时了解本协议的最新版本,您也可以在网站首页或软件设置页面查阅最新版本的协议条款。如您继续使用“超级AI大脑”软件及相关服务,即表示您已同意接受修订后的本协议内容。</div>
</div>
<div class="box-text">
<div>如您对修订后的协议内容存有异议的,请立即停止登录或使用“超级AI大脑”软件及相关服务。若您继续登录或使用“超级AI大脑”软件及相关服务,即视为您认可并接受修订后的协议内容。</div>
</div>
<div class="box-text">
<div>14.4 本协议中的标题仅为方便阅读而设,并不影响本协议中任何规定的含义或解释。</div>
</div>
<div class="box-text">
<div>14.5 您和公司均是独立的主体,在任何情况下本协议不构成公司对您的任何形式的明示或暗示担保或条件,双方之间亦不构成代理、合伙、合营或雇佣关系。</div>
</div>
</div>
</el-tab-pane>
<el-tab-pane label="隐私政策">
<div class="privacy-head">超级AI大脑APP隐私权政策</div>
<div class="privacy-date">
<div>更新日期:2023年03月31日</div>
<div>生效日期:2023年03月31日</div>
</div>
<div
class="paragraph-title"
>超级AI大脑是一款由广州魔晶教育科技有限公司(以下简称“我们”)研发和运营的社交产品。我们将通过《超级AI大脑隐私权政策》帮助您了解超级AI大脑 APP会如何收集、使用和存储您的个人信息及您享有何种权利。其中要点如下:</div>
<div class="paragraph-list">
<div>i.我们将逐一说明我们收集的您的个人信息类型及其对应的用途,以便您了解我们针对某一特定功能所收集的具体个人信息的类别、使用理由及收集方式。</div>
<div>ii.当您使用一些功能时,我们会在获得您的同意后,收集您的一些敏感信息。除非按照相关法律法规要求必须收集,拒绝提供这些信息仅会使您无法使用相关特定功能,但不影响您正常使用超级AI大脑 APP的其他功能。</div>
<div>iii.目前,超级AI大脑 APP不会主动共享或转让您的个人信息至广州魔晶教育科技有限公司及其关联公司外的第三方,如存在其他共享或转让您的个人信息或您需要我们将您的个人信息共享或转让至广州魔晶教育科技有限公司及其关联公司外的第三方情形时,我们会直接或确认第三方征得您对上述行为的明示同意,此外,我们会对对外提供信息的行为进行风险评估。</div>
<div>iv.目前,除因使用超级AI大脑 APP账号登录第三方APP而获取相关日志信息外,超级AI大脑APP不会主动从广州魔晶教育科技有限公司以外的第三方获取您的个人信息。如未来为业务发展需要从其他第三方间接获取您的个人信息,我们会在获取前向您明示您个人信息的来源、类型及使用范围,如超级AI大脑 APP开展业务需进行的个人信息处理活动超出您原本向第三方提供个人信息时的授权同意范围,我们将在处理您的该等个人信息前,征得您的明示同意;此外,我们也将会严格遵守相关法律法规的规定,并要求第三方保障其提供的信息的合法性。</div>
<div>v.您可以通过本指引所列途径访问、更正、删除您的个人信息,也可以撤回同意以及设置隐私功能。</div>
</div>
<div class="paragraph-cate">1.我们收集的信息</div>
<div
class="paragraph-description"
>在您使用超级AI大脑 APP的过程中,超级AI大脑 APP会按照如下方式收集您在使用服务时主动提供或因为使用服务而产生的信息,用以向您提供服务、优化我们的服务以及保障您的帐号安全:</div>
<div class="paragraph-list">
<div>1.1 当您注册超级AI大脑 APP账号时,我们会收集您的昵称、头像、手机号码。收集这些信息是为了帮助您完成超级AI大脑 APP账号的注册,保护您的帐号安全。手机号码属于敏感信息,收集此类信息是为了满足相关法律、法规关于网络实名制要求。若您不提供这类信息,您可能无法正常使用我们的服务。您还可以根据自身需求选择填写性别、地区等信息。</div>
<div>1.2 当您使用超级AI大脑 APP服务时,为保障您正常使用我们的服务,维护我们服务的正常运行,改进及优化我们的服务体验以及保障您的帐号安全,我们会在前台或后台收集您的设备型号、操作系统、唯一设备标识符、应用ID、登陆IP地址、网络设备硬件地址MAC、广告标识符IDFA、软件版本号、接入网络的方式、类型和状态、操作日志、服务日志信息(如您在阅读功能下的浏览历史、服务故障信息等信息)等日志信息,这类信息是为提供服务必须收集的基础信息。</div>
<div>1.3 当您使用超级AI大脑 APP发消息(包括文字、图片、视频、音频)、拍摄或编辑图片、视频、音频时,为了向您提供该服务,我们会在获得您的明示同意后,访问您的相册、麦克风,或将您的地理位置信息和/或其对应地理位置的天气状况保存至您拍摄、编辑的照片中。上述信息属于敏感信息,拒绝提供该信息不影响您正常使用 超级AI大脑 APP的其他功能。</div>
<div>1.4当您使用超级AI大脑 APP语音功能时,我们会收集您的语音内容,因为收集是实现上述功能所必需的。</div>
<div>1.5当您使用超级AI大脑 APP功能时,您发布的文字、照片、视频、音频等信息以及互动信息会存储在我们的服务器中,因为存储是实现这一功能所必需的。我们会以加密的方式存储,您也可以随时删除这些信息。除非经您自主选择或遵从相关法律法规要求或服务协议的约定,我们不会对外提供上述信息,或者将其用于该功能以外的其他用途。</div>
<div>1.6 超级AI大脑 APP服务中的第三方服务由外部第三方主体提供,超级AI大脑 APP无法获得您在使用该类第三方服务时产生的信息。但是,如果您已明示同意该第三方获得您向我们提供的个人信息(头像、昵称、地理位置信息等),该第三方将通过超级AI大脑 APP接口获得上述信息。该地理位置信息属于敏感信息,拒绝提供该信息仅会使您无法使用上述第三方服务,但不影响您正常使用 超级AI大脑 APP的功能。</div>
</div>
<div class="paragraph-description">另外,根据相关法律法规及国家标准,以下情形中,我们可能会收集、使用您的相关个人信息无需征求您的授权同意:</div>
<div class="paragraph-list">
<div>(1) 与国家安全、国防安全等国家利益直接相关的;与公共安全、公共卫生、公众知情等重大公共利益直接相关的;</div>
<div>(2) 与犯罪侦查、起诉、审判和判决执行等直接相关的;</div>
<div>(3) 出于维护您或其他个人的生命、财产、声誉等重大合法权益但又很难得到本人同意的;</div>
<div>(4) 所收集的个人信息是您自行向社会公众公开的;</div>
<div>(5) 从合法公开披露的信息中收集个人信息的,如合法的新闻报道、政府信息公开等渠道;</div>
<div>(6) 根据您要求签订和履行合同所必需的;</div>
<div>(7) 用于维护所提供的产品或服务的安全稳定运行所必需的,例如发现、处置产品或服务的故障;</div>
<div>(8) 为开展合法的新闻报道所必需的;</div>
<div>(9) 出于公共利益开展统计或学术研究所必要,且其对外提供学术研究或描述的结果时,对结果中所包含的个人信息进行去标识化处理的;</div>
<div>(10) 法律法规规定的其他情形。</div>
</div>
<div>请您理解,我们向您提供的功能和服务是不断更新和发展的,如果某一功能或服务未在前述说明中且收集了您的信息,我们会通过页面提示、交互流程、网站公告等方式另行向您说明信息收集的内容、范围和目的,以征得您的同意。</div>
<div class="paragraph-cate">2.信息的存储</div>
<div class="paragraph-list">
<div>手机号码:若您需要使用超级AI大脑 APP服务,我们需要一直保存您的手机号码,以保证您正常使用该服务,当您注销 超级AI大脑 APP帐户后,我们将删除相应的信息;</div>
<div>图片或视频:当您使用超级AI大脑 APP功能发布了图片、视频,我们需要保存您上述信息及相关评论,以保证您正常使用;当您主动删除上述信息后,我们将删除相应的信息。当我们的产品或服务发生停止运营的情形时,我们以公告等形式告知您,并在合理的期限内删除您的个人信息或进行匿名化处理。</div>
</div>
<div class="paragraph-cate">3.信息安全</div>
<div class="paragraph-list-title">3.1 安全保护措施</div>
<div class="paragraph-list">
<div>我们努力为用户的信息安全提供保障,以防止信息的泄露、丢失、不当使用、未经授权访问和披露等。我们使用多方位的安全保护措施,以确保用户的个人信息保护处于合理的安全水平,包括技术保护手段、管理制度控制、安全体系保障等诸多方面。此外,我们还通过了国家网络安全备案。</div>
<div>我们采用业界领先的技术保护措施。我们使用的技术手段包括但不限于防火墙、加密(例如SSL)、去标识化或匿名化处理、访问控制措施等。此外,我们还会不断加强安装在您设备端的软件的安全能力。</div>
<div>我们建立了保障个人信息安全专门的管理制度、流程和组织。例如,我们严格限制访问信息的人员范围,要求他们遵守保密义务并进行审计,违反义务的人员会根据规定进行处罚。我们也会审查该管理制度、流程和组织,以防未经授权的人员擅自访问、使用或披露用户的信息。</div>
</div>
<div class="paragraph-list-title">3.2 安全事件处置措施</div>
<div class="paragraph-list">
<div>若发生个人信息泄露、损毁、丢失等安全事件,我们会启动应急预案,阻止安全事件扩大。安全事件发生后,我们会及时以公告等形式告知您安全事件的基本情况、我们即将或已经采取的处置措施和补救措施,以及我们对您的应对建议。如果难以实现逐一告知,我们将通过公告等方式发布警示。</div>
</div>
<div class="paragraph-cate">4.我们如何使用信息</div>
<div class="paragraph-description">我们严格遵守法律法规的规定以及与用户的约定,按照本隐私保护指引所述使用收集的信息,以向您提供更为优质的服务。</div>
<div class="paragraph-list-title">4.1 信息使用规则</div>
<div class="paragraph-description">我们会按照如下规则使用收集的信息:</div>
<div class="paragraph-list">
<div>(1) 我们会根据已收集的信息向您提供各项功能与服务,包括加好友、发消息</div>
<div>(2) 当您同意手机厂商读取您手机通讯录的信息并向我们传输后,我们会使用您超级AI大脑 APP帐号绑定的手机号码进行验证,以便您可以在手机通讯录中发起 超级AI大脑 APP音视频通话;</div>
<div>(3) 为了保证帐号安全,我们会使用您的地理位置信息进行安全检测,以便为您提供更安全的帐号注册服务;</div>
<div>(4) 我们会根据您使用超级AI大脑 APP的频率、故障信息、性能信息等分析我们产品的运行情况,以确保服务的安全性并优化我们的产品,提高我们的服务质量。我们不会将我们存储在分析软件中的信息与您提供的个人身份信息相结合。</div>
</div>
<div class="paragraph-list-title">4.2 告知变动目的后征得同意的方式</div>
<div class="paragraph-list">
<div>我们将会在本隐私保护指引所涵盖的用途内使用收集的信息。如我们使用您的个人信息,超出了与收集时所声称的目的及具有直接或合理关联的范围,我们将在使用您的个人信息前,再次向您告知并征得您的明示同意。</div>
</div>
<div class="paragraph-cate">5.对外提供</div>
<div class="paragraph-list">
<div>目前,我们不会主动共享或转让您的个人信息至广州魔晶教育科技有限公司及其关联公司外的第三方,如存在其他共享或转让您的个人信息或您需要我们将您的个人信息共享或转让至 广州魔晶教育科技有限公司及其关联公司外的第三方情形时,我们会直接或确认第三方征得您对上述行为的明示同意。</div>
<div>我们不会对外公开披露其收集的个人信息,如必须公开披露时,我们会向您告知此次公开披露的目的、披露信息的类型及可能涉及的敏感信息,并征得您的明示同意。</div>
<div>为提升您的用户体验,例如优化广告效果,我们需要向第三方合作伙伴等,分享已经匿名化或去标识化处理后的信息,要求其严格遵守我们关于数据隐私保护的措施与要求,包括但不限于根据数据保护协议、承诺书及相关数据处理政策进行处理,避免识别出个人身份,保障隐私安全。</div>
<div>我们不会向合作伙伴分享可用于识别您个人身份的信息(例如您的姓名或电子邮件地址),除非您明确授权。</div>
<div>随着我们业务的持续发展,我们有可能进行合并、收购、资产转让等交易,我们将告知您相关情形,按照法律法规及不低于本指引所要求的标准继续保护或要求新的控制者继续保护您的个人信息。</div>
</div>
<div
class="paragraph-description"
>另外,根据相关法律法规及国家标准,以下情形中,我们可能会共享、转让、公开披露个人信息无需事先征得个人信息主体的授权同意:</div>
<div class="paragraph-list">
<div>(1) 与国家安全、国防安全直接相关的;</div>
<div>(2) 与公共安全、公共卫生、重大公共利益直接相关的;</div>
<div>(3) 与犯罪侦查、起诉、审判和判决执行等直接相关的;</div>
<div>(4) 出于维护个人信息主体或其他个人的生命、财产等重大合法权益但又很难得到本人同意的;</div>
<div>(5) 个人信息主体自行向社会公众公开的个人信息;</div>
<div>(6) 从合法公开披露的信息中收集个人信息的,如合法的新闻报道、政府信息公开等渠道。</div>
</div>
<div class="paragraph-cate">6.移动安全联盟 OAID 和 移动智能终端补充设备标识体系与 SDK 隐私</div>
<div
class="paragraph-description"
>移动智能终端补充设备标识体系与 SDK 严格遵守我国《网络安全法》、《数据安全法》和《电信和互联网用户个人信息保护规定》等相关法律法规和《信息安全技术 个人信息安全规范》等国家标准要求。SDK 不会主动收集任何数据,只在 APP 调用时获取以下数据,用于本地判断,不会进行任何网络传输:</div>
<div class="paragraph-list">
<div>(1) 设备制造商、设备型号、设备品牌,用于判断终端调用接口</div>
<div>(2) 设备网络运营商名称,用于判断虚拟机环境</div>
<div>(3) APP 包名,用于校验签名</div>
</div>
<div class="paragraph-cate">7.您的权利</div>
<div
class="paragraph-description"
>在您使用超级AI大脑 APP期间,为了您可以更加便捷地访问、更正、删除您的个人信息,同时保障您撤回对个人信息使用的同意及注销帐号的权利,我们在产品设计中为您提供了相应的操作设置,您可以参考下面的指引进行操作。此外,我们还设置了投诉举报渠道,您的意见将会得到及时的处理。</div>
<div class="paragraph-list-title">7.1 访问个人信息</div>
<div class="paragraph-list">
<div>6.1.1注销账户:</div>
<div>(1) 进入超级AI大脑 APP后,点击“头像”;</div>
<div>(2) 点击“注销账号”;</div>
<div>(3) 点击“注销账号”;注销账号操作不可恢复,注销成功后您将无法登陆使用该程序;</div>
</div>
</el-tab-pane>
</el-tabs>
</div>
</template>
<script>
export default {
name: 'platform',
}
</script>
<style lang="scss">
.el-tabs__content {
height: calc(100vh - 226px);
overflow-y: auto;
scrollbar-color: rgba(0, 0, 0, 0.1) rgba(251, 246, 246, 0.1); //滚动条轨道颜色 滚动条滑块的颜色
scrollbar-width: none;
scrollbar-width: thin; //thin模式下滚动条两端的三角按钮会消失
}
.main {
width: 100%;
.main-top {
font-size: 40rpx;
font-weight: bold;
}
.box-title {
width: 100%;
font-weight: bold;
}
.box-text {
width: 100%;
margin: 20rpx 0;
}
}
.privacy-head {
padding: 10rpx 0;
font-size: 32rpx;
font-weight: 700;
border-bottom: 1rpx solid #dfdfdf;
}
.privacy-date {
view {
font-size: 26rpx;
margin: 20rpx 0;
}
}
.paragraph-title {
font-weight: 700;
}
.paragraph-list {
padding: 10rpx 0;
font-size: 26rpx;
view {
margin: 10rpx 0;
}
}
.paragraph-cate {
font-weight: 700;
margin: 18rpx 0;
}
.paragraph-description {
font-style: italic;
margin: 10rpx 0;
}
.paragraph-list-title {
font-size: 26rpx;
font-weight: 700;
}
</style> |
274056675/springboot-openai-chatgpt | 8,648 | chatgpt_pc/src/views/user/equity-center.vue | <template>
<div class="equity-center">
<!-- 用户信息 -->
<div class="teg-box">
<div class="user-box">
<div class="user-message">
<div class="user-message_left">
<el-avatar
size="large"
:src="
userInfo.wxAvatar != ''
? userInfo.wxAvatar
: require('@/static/df_avatar_nan.png')
"
></el-avatar>
<div class="user-item">
<div class="user-item_top"></div>
</div>
</div>
</div>
<div class="rights"></div>
</div>
<div class="brokerage-box">
<span style="margin-right: 10px">{{ userInfo.wxName }}</span>
<div class="brokerage-btn"></div>
</div>
</div>
<!-- 签到 -->
<div class="sign">
<div class="sign-title">签到领积分</div>
<div class="sign-list">
<div
class="sign-list_item"
v-for="item in signList"
:key="item.index"
:style="item.show ? 'background: #fff;' : ''"
>
<div class="yqd" v-show="item.show">已签到</div>
<div style="color: #960a0f">
<span class="iconfont icon-jifen"></span>
+{{ sysConfig.sign_day_cou }}分
</div>
<div class="title">{{ item.day }}天</div>
</div>
<div
class="sign-list_item"
style="background: #e7b77b; cursor: pointer"
v-if="!isSign"
@click="goSign"
>
<div style="color: #960a0f">签到</div>
<div style="margin-top: 6px; font-size: 12px">已签到{{ signdays }}天</div>
</div>
<div class="sign-list_item" style="background: #e7b77b; opacity: 0.7" v-else>
<div style="color: #960a0f">明天再来</div>
<div style="margin-top: 6px; font-size: 12px">已签到{{ signdays }}天</div>
</div>
</div>
</div>
</div>
</template>
<script>
import { mapGetters, mapMutations, mapActions } from "vuex";
import { getSignCouApi, getSignApi } from "@/api/user";
export default {
name: "equity-center",
data() {
return {
// 签到列表
signList: [
{ day: "1", sign: "3", index: 1, show: false },
{ day: "2", sign: "5", index: 2, show: false },
{ day: "3", sign: "3", index: 3, show: false },
{ day: "4", sign: "5", index: 4, show: false },
{ day: "5", sign: "5", index: 5, show: false },
{ day: "6", sign: "3", index: 6, show: false },
{ day: "7", sign: "5", index: 7, show: false },
],
// 签到天数
signdays: 0,
balanceList: {}, // 未提现,提现中和可提现余额
withdrawShow: false,
withdrawType: "", // 显示类型
yjObj: {
brokerage: null, // 提现金额
},
withdrawDialogStyle: {
width: 0,
height: 0,
},
recordPageObj: {
current: 1, // 当前页
size: 9, // 每页的数量
total: 0,
},
};
},
watch: {
withdrawShow(val) {
if (!val) {
this.recordPageObj.current = 1;
this.yjObj.brokerage = null;
this.withdrawType = "";
}
},
},
computed: {
...mapGetters(["isLogin", "userInfo", "sysConfig", "commissionData", "isSign"]),
},
mounted() {
this.initFun();
},
methods: {
...mapMutations(["SET_IS_SIGN"]),
...mapActions(["getSettingDataActions"]),
initFun() {
// 获取签到
this.getSignCou();
this.getSettingDataActions();
},
recordSizeChange(val) {
console.log(`每页 ${val} 条`);
},
// 切换分页
recordCurrentChange(val) {
this.recordPageObj.current = val;
if (this.withdrawType === "fyjl") {
this.getCommissionDataFun();
} else if (this.withdrawType === "txjl") {
this.getWithdrawals();
}
},
// 获取签到几次
async getSignCou() {
let arr = await getSignCouApi();
arr = arr.data;
this.signdays = arr["cou"];
delete arr["cou"];
let data = [];
for (const key in arr) {
data.push(arr[key]);
}
data.forEach((item, index) => {
if (item === 0) {
this.signList[index].show = false;
} else {
this.signList[index].show = true;
}
});
if (this.signList[new Date().getDay() - 1].show) {
this.SET_IS_SIGN(true);
// this.isSign = true
}
},
async goSign() {
let data = await getSignApi();
if (data.code === 200) {
this.SET_IS_SIGN(true);
this.getSignCou();
// this.isSign = true
}
},
},
};
</script>
<style lang="scss" scoped>
/deep/.el-dialog {
margin: 50px auto 0 !important;
}
.el-dialog__headerbtn {
padding: 4px;
color: #fff !important;
background-color: #cccccc;
border-radius: 50%;
}
.el-form-item__label {
padding: 0 !important;
}
.equity-center {
width: 100%;
.teg-box {
display: flex;
justify-content: space-between;
.user-box {
padding: 24px;
margin-right: 20px;
display: flex;
flex-direction: column;
background-color: #faf4ec;
border-radius: 10px;
.user-message {
display: flex;
justify-content: space-between;
align-items: center;
.user-message_left {
display: flex;
align-items: center;
.user-item {
margin-left: 10px;
.user-item_top {
display: flex;
align-items: center;
}
}
}
}
.rights {
.rights-list {
display: grid;
grid-template-columns: auto auto auto auto;
grid-column-gap: 10px;
.rights-list_item {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 172px;
height: 96px;
border-radius: 10px;
background-color: #ffffff;
overflow: hidden;
.hyzx {
position: absolute;
left: 0;
top: 0;
width: 80px;
height: 24px;
line-height: 24px;
font-size: 12px;
text-align: center;
background-color: #e7b679;
color: #ffffff;
border-bottom-right-radius: 10px;
}
.title {
padding-top: 8px;
font-size: 12px;
color: #960a0f;
}
}
}
}
}
.brokerage-box {
display: flex;
flex-direction: column;
// align-items: center;
justify-content: space-between;
width: 100%;
padding: 24px 16px;
box-sizing: border-box;
border-radius: 10px;
background-color: #faf4ec;
}
}
.sign {
margin-top: 10px;
padding: 24px;
border-radius: 10px;
background-color: #faf4ec;
.sign-title {
color: #960a0f;
padding-bottom: 16px;
}
.sign-list {
display: grid;
grid-template-columns: auto auto auto auto;
grid-column-gap: 10px;
grid-row-gap: 10px;
.sign-list_item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
height: 90px;
background-color: #f8f8f8;
border-radius: 10px;
overflow: hidden;
.yqd {
position: absolute;
left: 0;
top: 0;
width: 60px;
height: 24px;
line-height: 24px;
font-size: 12px;
text-align: center;
background-color: #960a0f;
color: #ffffff;
border-bottom-right-radius: 10px;
}
.title {
padding-top: 8px;
font-size: 12px;
}
}
}
}
.withdraw-box {
width: 100%;
height: 500px;
padding: 16px;
box-sizing: border-box;
.withdraw-teg {
width: 100%;
height: 100%;
overflow-y: auto;
scrollbar-color: rgba(0, 0, 0, 0.1) rgba(251, 246, 246, 0.1); //滚动条轨道颜色 滚动条滑块的颜色
scrollbar-width: none;
scrollbar-width: thin; //thin模式下滚动条两端的三角按钮会消失
}
.withdraw-fyjl {
display: flex;
flex-direction: column;
}
.txsm-content {
margin-left: 8px;
padding: 12px;
}
.yj-submit {
width: 100%;
height: 44px;
line-height: 44px;
margin-top: 16px;
border-radius: 20px;
text-align: center;
color: #fff;
background-color: #960a0f;
cursor: pointer;
}
}
}
</style>
|
233zzh/TitanDataOperationSystem | 80,573 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/jvector/jquery-jvectormap-de-mill.js | jQuery.fn.vectorMap('addMap', 'de_mill',{"insets": [{"width": 900, "top": 0, "height": 1013.8952766123396, "bbox": [{"y": -6845388.062206638, "x": 651826.6317576179}, {"y": -5694876.55460837, "x": 1673096.1659230748}], "left": 0}], "paths": {"DE-BE": {"path": "M710.94,355.66l1.16,-1.31l0.31,-1.0l0.98,-0.97l-0.74,-2.05l0.47,-2.19l1.42,-0.94l2.79,-2.88l-0.08,-0.98l-1.47,-2.18l0.73,-6.66l-0.34,-1.33l0.64,-1.38l4.96,1.6l1.09,-0.07l0.35,-0.78l-0.73,-1.75l1.04,-2.7l2.87,-0.39l1.06,-0.5l1.18,-0.91l1.37,-2.19l0.63,0.01l0.3,2.64l0.85,0.92l1.79,0.65l3.7,0.21l1.86,-0.49l0.87,-1.38l2.02,-1.38l1.68,0.91l0.97,-0.04l0.86,-1.18l2.39,-1.71l0.8,1.09l1.68,1.32l-0.23,3.06l0.52,1.47l6.52,6.23l4.25,2.44l3.3,0.77l0.05,0.57l-2.28,4.44l-0.17,0.98l0.34,0.75l0.38,0.19l3.64,-0.35l1.11,0.49l1.94,1.99l3.86,1.43l1.24,1.07l-1.08,1.15l-0.45,2.45l-2.59,2.1l-0.44,1.05l0.23,1.98l-0.26,1.22l-0.52,0.43l-2.57,0.78l-1.68,2.53l-0.48,-0.04l-0.58,-4.22l-1.2,-1.24l-1.76,0.03l-2.4,-0.66l-5.7,-2.14l-1.45,0.18l-1.06,0.71l-1.67,-0.06l-1.51,-1.94l-1.09,-0.45l-2.61,0.59l-0.84,0.51l-0.39,0.91l0.23,2.67l-2.7,-0.01l-1.66,-0.65l-2.96,-2.75l-3.67,0.8l-1.15,-1.62l-0.5,-0.23l-4.07,1.35l-2.3,-1.43l-1.43,-0.19l-4.21,1.59l-1.43,1.07l-3.65,-0.65l-2.32,-1.38Z", "name": "Berlin"}, "DE-ST": {"path": "M511.75,377.7l-0.19,-1.91l-0.72,-0.39l-1.04,0.12l-2.74,-3.18l1.67,-1.48l0.22,-0.86l-1.19,-2.29l-1.94,-0.96l-0.25,-1.3l1.62,-0.63l4.58,-0.76l0.66,-0.85l0.34,-2.05l-0.72,-1.15l-2.88,-1.99l-1.7,-0.49l-0.89,-0.61l-6.9,-7.59l0.2,-1.63l0.97,-2.19l1.6,-0.58l2.71,0.33l0.63,-0.68l-0.8,-1.54l-3.95,-4.79l-0.65,-2.15l0.15,-3.19l2.52,-2.52l0.37,-0.71l-0.07,-0.65l-0.59,-0.69l-1.69,-0.45l-1.06,0.31l-1.12,0.88l-0.5,-0.05l-4.12,-4.8l-4.69,-7.76l-1.68,-0.93l-1.1,-0.03l-0.74,-0.64l-0.72,-3.4l-1.93,-1.84l-1.63,-3.11l0.32,-1.91l-0.33,-2.2l0.36,-1.11l-0.14,-1.09l3.24,-1.17l4.55,-0.28l4.29,0.17l5.6,-1.61l1.86,-0.81l1.06,-1.12l1.88,-1.23l0.47,-0.71l0.51,-2.5l1.3,-0.62l3.41,-0.05l5.48,1.55l5.8,-0.35l4.62,0.71l1.08,0.85l1.26,0.44l0.9,1.23l0.82,0.36l1.17,-0.2l1.85,-1.0l0.81,0.26l2.14,-0.1l5.95,-2.08l3.49,-0.77l6.06,-4.61l2.59,-0.21l0.65,-0.44l-0.46,-3.58l0.53,-2.9l0.67,-1.42l1.25,-0.47l1.34,0.35l1.48,-0.07l1.14,-0.76l1.83,-4.18l4.01,-0.91l0.66,0.36l0.03,0.89l-0.49,1.1l-0.74,0.63l0.1,0.67l1.49,0.6l3.15,0.11l0.93,0.56l0.82,2.89l0.78,0.98l1.88,0.24l3.52,-1.46l1.24,-0.22l2.83,3.53l1.47,0.99l3.2,0.18l0.8,0.39l-0.39,1.13l-1.2,1.54l0.04,1.04l6.37,3.52l2.86,0.5l3.91,1.7l1.79,0.32l1.6,-0.49l2.44,0.06l7.12,-0.65l1.23,1.43l-0.1,1.4l0.36,0.43l2.52,0.11l3.74,-0.88l2.6,0.83l0.88,1.31l1.94,5.74l-0.37,1.25l-3.08,2.11l-0.33,0.54l0.12,1.74l1.16,1.92l-1.63,1.6l-0.18,0.67l0.35,1.19l1.01,1.4l0.66,2.01l1.7,1.56l-0.22,2.11l-0.95,2.48l-0.99,1.47l-1.64,0.62l-1.93,-0.09l-0.74,0.32l-0.52,2.14l-0.57,5.23l-2.55,3.23l-0.17,0.61l0.33,0.55l0.59,0.18l2.86,-0.07l-1.32,1.38l-0.23,0.64l0.35,1.76l0.9,0.76l1.4,0.29l2.26,-0.57l1.13,-1.04l0.55,-1.93l0.31,-0.22l1.44,0.6l1.93,2.54l0.8,0.55l3.31,-0.37l-0.45,1.01l-0.12,2.75l-2.0,3.63l-1.86,1.68l-0.03,0.56l0.98,1.84l-0.76,2.32l-1.74,3.01l0.16,1.04l-0.4,1.46l0.55,2.31l-1.32,2.13l-1.56,4.21l0.39,3.28l1.16,1.2l1.26,0.31l1.26,1.89l-2.46,2.36l-2.25,5.35l1.74,3.68l2.91,2.5l1.02,2.21l2.48,1.24l1.76,1.58l6.03,6.74l0.45,2.41l1.41,1.2l4.18,2.62l1.15,0.31l1.94,-0.2l1.12,-1.25l0.72,0.02l2.52,2.54l6.33,3.8l4.95,0.78l1.34,-1.09l2.5,-1.17l0.81,-1.47l0.8,0.01l12.49,6.29l4.9,0.63l1.31,0.76l1.17,2.76l0.67,0.48l5.45,0.26l2.91,0.68l2.89,2.9l5.51,3.2l1.89,0.62l6.6,-0.62l2.67,1.69l0.47,-0.13l1.62,-2.09l3.58,0.12l1.37,0.49l-0.61,1.17l-3.36,3.14l-3.61,5.02l0.11,5.5l2.2,4.24l-0.27,1.33l-2.63,2.98l-6.68,4.5l-1.95,2.91l-1.38,-0.29l-2.04,-1.77l-1.47,-0.69l-3.02,1.13l-1.33,-1.29l-2.19,-0.93l-2.66,-0.63l-1.11,-0.64l-1.4,-2.03l-2.85,0.23l-1.12,1.22l-5.05,3.48l-1.7,0.67l-2.83,-1.01l-3.84,-0.38l-1.6,0.82l-1.73,2.63l-1.87,1.34l-0.75,0.06l-0.41,-0.49l-0.79,-0.24l-9.31,1.35l-1.31,-0.74l-7.91,-0.26l-1.23,0.64l-0.39,2.49l-0.58,0.97l-7.21,0.61l-5.74,2.15l-2.88,-0.27l-3.12,-1.14l-0.61,0.23l-0.85,2.22l-2.97,2.3l0.0,6.04l-0.39,1.31l-1.64,1.66l-1.61,1.1l-0.2,0.6l0.24,2.8l0.87,1.54l0.25,5.08l1.44,3.13l-0.02,2.43l-0.59,1.0l-1.79,0.18l-1.27,0.88l-1.0,1.56l-0.47,1.62l0.78,2.41l0.13,2.63l1.93,2.3l0.33,1.19l0.33,3.69l-0.41,1.19l-0.97,1.12l-0.06,1.28l0.27,0.36l2.72,0.71l-0.36,3.43l1.04,1.66l2.05,1.61l0.34,2.07l0.4,0.6l0.69,0.46l3.84,0.63l0.12,0.58l-1.66,2.49l-0.51,2.75l0.48,0.84l2.2,1.1l0.4,1.34l-2.24,3.48l-3.39,3.59l-0.3,1.27l0.3,1.03l-1.41,0.98l-0.47,-0.03l-0.73,-1.06l-2.49,-1.93l-0.83,-0.28l-2.78,1.17l-5.63,-1.52l-6.69,0.89l-0.46,-1.34l-3.15,-1.42l-0.72,-0.72l-0.68,-1.61l-1.48,-1.16l-4.85,-1.85l-2.26,-1.41l-1.28,-0.19l-8.75,0.64l-1.28,0.77l-0.49,-0.17l-1.14,-0.87l-0.49,-1.71l-2.27,-3.62l-0.38,-3.14l-0.61,-0.65l-2.18,-1.18l-4.08,0.63l-4.52,-0.07l-4.62,-0.52l-2.95,1.42l-5.76,-0.36l-1.48,-0.74l-0.67,-1.44l-0.29,-1.31l0.88,-0.48l0.21,-1.0l-0.82,-3.64l-2.1,-3.0l-1.06,-0.99l-2.23,-0.75l-2.12,-1.15l-0.92,-1.2l1.06,-1.26l4.82,-0.76l2.6,-1.21l1.3,-1.0l1.78,-2.78l-0.04,-0.44l-5.62,-6.96l-2.67,-4.19l-5.25,-3.49l-2.66,-0.77l-9.16,-1.13l-4.19,0.07l-15.09,-1.54l-2.43,-1.15l-0.67,-1.06l0.66,-5.07l-2.54,-4.24l0.09,-3.13l-2.01,-2.26l-1.36,-3.22l-0.05,-0.57l0.43,-0.34l2.32,0.5l1.1,-0.74l-0.05,-1.59l-0.9,-1.75l-0.74,-0.44l-1.25,-0.03l-3.13,-1.09l-1.44,-1.06l-2.81,-0.05l-4.44,-1.92l-8.84,0.18l-1.37,-0.72l-2.68,-4.06l-0.08,-3.65l-0.75,-1.81l-1.67,-1.39l-1.38,-2.21l-1.09,-2.65l-1.67,-1.02l-1.66,-1.53l-0.2,-0.68l-0.45,-2.63l0.23,-5.1l0.49,-0.55l1.7,-0.71l1.03,-1.32l1.38,-0.67l1.26,-1.81l0.13,-1.21l-0.61,-2.73l-2.14,-1.55l0.46,-2.26l2.22,-1.17l0.47,-0.99l-0.41,-0.45l-1.4,0.06l-1.36,-1.31l-2.26,-0.93l-0.26,-1.14l-1.7,-2.38l0.64,-0.28l2.89,0.27l1.38,-0.38l2.94,-2.56l0.12,-1.6l0.65,-0.27l5.49,-0.71l13.01,-0.0l2.63,-0.85l1.89,-0.24l5.82,0.07l0.95,-0.32l0.84,-1.41l0.02,-1.82l-0.42,-0.7l-1.69,-1.11l-0.01,-0.35l0.69,-0.48l3.37,-0.88l2.18,-1.02l2.45,-1.72l1.9,-2.44l0.15,-1.3l-0.45,-1.63l-0.96,-0.73l-1.5,-0.32l-0.88,-1.48l0.88,-1.92l0.69,-0.6l3.37,-0.95l1.23,-0.98l0.29,-2.18l-0.33,-1.2l-0.96,-0.68l-0.59,0.22l-0.37,0.6Z", "name": "Sachsen-Anhalt"}, "DE-RP": {"path": "M24.7,661.09l1.01,-4.92l0.64,-1.76l0.83,-0.82l0.38,-1.02l-0.36,-1.07l-0.88,-0.68l0.56,-2.05l0.64,-0.33l1.87,-0.13l0.89,-0.45l0.8,-1.55l0.04,-1.6l-0.55,-1.46l-1.12,-1.1l0.71,-0.78l2.17,-1.29l1.01,-1.26l1.91,-0.76l4.19,-0.99l1.96,-1.44l0.13,-0.46l-0.4,-1.06l0.18,-1.13l1.48,-2.03l1.17,-0.57l3.39,0.63l2.73,-0.4l1.43,-1.19l0.07,-0.88l2.15,-0.04l2.75,-1.22l0.26,-0.53l-0.14,-0.58l-3.3,-4.51l0.21,-0.78l0.67,0.02l0.63,0.43l0.83,1.31l2.25,1.19l0.81,1.92l0.82,0.49l2.38,-0.73l4.61,-2.84l4.25,-0.62l1.26,-0.47l3.26,1.3l-0.47,1.61l0.43,0.48l0.55,0.08l1.22,-0.02l2.7,-1.49l0.56,-0.02l1.58,0.98l1.21,1.29l1.85,0.39l7.79,-1.85l0.63,-0.64l0.18,-0.79l-0.35,-1.34l-1.6,-2.52l-0.39,-4.03l-0.58,-0.71l-1.84,-0.88l0.81,-2.09l-0.08,-1.91l5.26,-1.85l1.3,2.03l1.31,0.92l1.52,0.34l1.44,-0.2l0.96,-0.9l0.76,-1.32l0.23,-2.63l-0.46,-3.09l2.61,-0.83l1.55,-1.58l0.97,-1.64l5.73,-1.48l6.08,-3.37l3.16,0.86l1.4,-0.54l1.08,-1.76l2.26,0.63l1.29,-0.27l2.46,-2.13l0.85,-0.38l1.1,-2.19l1.41,0.53l0.57,1.23l0.52,0.34l5.6,0.33l5.78,-1.33l3.39,-2.17l0.2,-1.77l0.88,-1.5l0.09,-3.33l-0.32,-0.56l0.36,-0.33l2.21,-0.55l3.74,0.25l8.22,-1.92l3.88,-1.81l2.82,0.16l1.83,-2.44l4.31,-1.56l1.43,-1.83l1.04,0.55l1.03,-0.5l0.37,-1.1l-0.11,-1.22l-1.9,-2.05l3.19,-1.64l2.37,-2.16l2.49,0.71l0.86,-0.57l0.06,-2.37l-1.22,-2.58l-0.36,-3.12l0.28,-1.24l2.88,-2.32l1.1,-0.27l5.23,1.22l-1.35,4.44l0.11,1.04l1.47,1.02l2.59,0.75l3.7,3.3l1.88,1.21l2.66,-0.65l1.19,4.08l-0.21,3.99l1.05,1.68l4.13,4.5l1.6,2.36l0.67,2.23l1.11,0.27l2.96,-0.98l3.41,1.51l-0.33,1.81l-1.02,2.5l2.01,4.18l0.37,1.99l0.67,1.17l1.16,0.89l-2.47,5.41l-2.08,1.52l-1.78,0.13l-2.49,-2.33l-1.61,-0.07l-1.86,0.64l-1.53,1.74l-1.72,1.16l-0.43,1.63l-0.09,5.6l0.44,0.71l1.39,0.79l-1.7,1.6l-1.22,3.55l-1.13,0.8l-0.32,0.85l0.96,1.07l4.36,0.93l0.5,1.36l1.78,0.8l2.91,5.16l2.07,1.46l0.59,0.97l1.41,3.87l-0.08,1.13l-2.1,0.73l-5.08,-0.12l-0.86,0.67l-0.57,1.56l0.12,0.66l0.84,0.9l-1.7,2.25l-0.83,-0.2l-1.56,-1.3l-0.62,-0.04l-1.31,1.16l-5.75,2.53l-1.27,1.54l-1.17,2.26l-0.26,1.37l0.16,1.15l0.76,0.85l2.47,1.42l-0.8,3.06l-2.12,-1.58l-3.93,0.35l-1.32,1.69l-0.7,2.73l-6.56,3.92l-0.04,0.64l1.41,0.69l6.26,4.76l0.64,0.92l0.36,1.7l2.08,2.34l4.06,-0.13l4.26,-1.18l4.75,-2.1l3.81,-2.44l12.19,-3.48l3.65,0.15l1.38,0.75l10.44,9.97l1.84,4.14l-1.41,4.58l0.79,1.68l2.23,2.78l0.94,1.72l0.91,3.46l1.88,2.97l0.7,1.92l1.15,1.53l3.75,-0.47l0.94,0.31l-0.18,0.85l-1.21,1.66l-2.02,2.09l-3.21,0.55l-2.81,1.66l-1.73,2.69l-0.17,3.38l1.52,3.21l2.4,3.89l1.58,3.79l-0.74,3.29l1.87,2.64l2.18,5.43l1.29,2.32l0.0,0.5l-1.82,0.77l-0.24,1.24l0.27,0.38l1.67,0.56l3.25,0.62l0.75,1.05l-1.25,2.64l0.73,4.29l-3.48,6.65l-0.23,1.19l0.28,0.45l1.96,0.59l-0.25,1.12l-6.64,6.64l-1.28,0.59l-1.18,1.11l-0.67,2.23l-1.87,12.05l-0.41,1.21l-7.19,12.57l-2.03,2.67l-3.08,2.82l-2.62,0.81l-1.18,-0.88l-9.6,-1.69l-15.64,-7.06l-1.85,-0.17l-5.52,0.49l-8.1,-1.99l-4.7,1.56l-4.03,-0.89l-3.62,0.88l-1.19,-0.23l-0.77,-0.56l-1.82,-2.5l-2.28,-0.99l-4.22,-0.63l-2.02,-1.09l-3.43,-4.36l-1.23,-1.1l1.05,-1.13l-0.91,-2.08l-1.87,-0.57l-3.96,-0.23l-0.7,-1.43l-1.91,-0.14l-1.76,0.43l-0.43,-0.31l-1.83,0.04l-5.12,-4.44l-0.72,-3.11l0.1,-0.97l0.63,-1.08l2.04,-0.24l1.38,-1.65l0.75,-2.82l1.47,-1.42l0.58,-2.29l1.93,-1.43l0.92,-1.29l0.11,-0.76l-0.41,-0.97l0.64,-1.69l-0.53,-1.14l-1.2,-0.68l-2.44,-0.77l-5.36,-0.97l0.23,-0.69l-0.31,-0.68l-3.97,-4.06l-0.52,-1.64l0.26,-0.34l0.94,-0.54l1.88,-2.04l2.63,-1.5l0.44,-1.24l-0.36,-1.78l-1.18,-0.55l-0.24,-3.37l-1.16,-1.98l-0.56,-1.53l-0.01,-1.85l-0.47,-0.49l-0.69,-0.08l-2.81,1.53l-2.73,0.22l-4.63,-2.83l-2.24,-1.82l-7.08,-0.5l-6.52,-3.12l-2.78,1.32l-0.84,-0.58l-2.17,-0.57l-8.19,4.3l-14.41,5.61l-1.73,0.29l-2.48,-0.16l-6.27,2.41l-11.26,-0.46l-13.35,1.03l0.12,-4.73l0.51,-1.28l3.97,-4.55l2.07,-3.33l-0.2,-1.32l-1.19,-0.9l1.32,-1.56l7.15,-3.91l0.14,-0.58l-0.7,-0.78l0.12,-0.23l1.36,-0.0l-1.32,-3.0l0.06,-0.9l0.96,-0.88l-0.21,-1.96l0.73,-4.43l-0.78,-0.59l-3.33,-0.76l-4.76,-0.01l-1.62,-0.37l-1.58,-0.85l-2.85,-2.28l-1.84,-0.93l-1.05,0.02l-1.76,0.67l-1.68,-3.31l-4.74,-2.03l-1.42,-1.21l-3.23,-6.53l-1.68,-2.3l-0.67,0.03l-0.74,1.23l-1.88,-4.14l-1.71,-2.22l-0.36,-0.88l0.25,-1.47l-0.61,-2.68l-0.69,-1.17l-0.84,-0.48l1.01,-1.48l-0.25,-0.66l-0.57,-0.01Z", "name": "Rheinland-Pfalz"}, "DE-BB": {"path": "M532.83,262.93l6.91,0.27l2.22,0.8l1.92,0.23l0.44,-0.36l0.41,-3.06l1.26,-0.51l3.04,0.0l5.26,2.45l2.98,-0.23l1.98,-1.24l0.85,-2.35l-0.99,-4.37l-1.3,-1.51l-0.19,-0.75l0.51,-1.09l4.24,-3.19l1.87,-1.0l5.26,-1.62l3.25,-0.16l1.03,0.3l2.97,2.0l1.17,2.19l0.54,0.17l1.95,-1.02l2.04,-0.6l5.11,0.21l0.42,-0.46l-0.31,-1.87l-1.57,-1.18l0.96,-0.35l2.95,0.42l2.23,-2.22l5.22,-1.82l2.14,0.54l3.55,-2.62l1.44,-0.2l1.23,-2.31l0.17,-1.79l2.41,-1.35l1.44,-2.09l3.01,-1.03l2.53,-0.42l1.88,1.46l0.8,0.19l3.07,-1.7l1.07,-0.25l0.91,0.3l2.34,3.19l6.9,1.55l4.13,1.99l2.89,1.84l1.73,1.54l2.81,1.31l1.58,1.72l1.67,0.3l3.5,-0.21l2.97,-0.63l10.88,2.19l1.22,0.48l2.77,2.25l7.11,1.35l0.38,3.34l1.27,0.92l1.33,0.11l4.27,-0.77l1.3,0.08l1.24,0.36l1.45,0.99l1.62,0.34l3.88,-0.72l2.7,-0.03l1.77,-0.58l0.24,0.59l-1.32,1.13l0.25,1.02l3.0,1.28l2.7,-0.34l4.68,-4.1l2.85,-1.48l2.25,-1.6l0.85,-0.96l0.63,-1.75l2.1,-1.21l0.96,-0.92l0.67,-0.19l1.12,0.29l2.25,2.71l1.35,0.48l2.75,-0.0l0.39,-0.3l0.58,-2.63l1.22,-2.32l1.51,-1.43l1.48,-0.61l2.46,-0.19l1.97,0.33l3.98,1.73l1.99,0.37l1.84,-0.55l5.11,-3.36l1.11,-0.34l2.54,-2.43l3.16,-6.27l0.57,-2.58l0.68,-1.37l1.26,-0.97l1.71,-0.74l3.64,-0.2l2.31,-1.78l1.79,-2.64l5.81,-4.06l3.38,-0.4l3.32,0.21l3.06,-1.06l0.25,-0.48l-0.46,-1.66l-2.44,-3.76l0.14,-1.93l1.1,0.14l2.53,3.13l4.32,1.37l0.21,2.84l2.8,4.16l0.58,1.9l1.86,2.02l6.85,-0.41l5.77,0.34l4.55,1.1l2.26,-2.31l2.19,-0.37l3.58,1.44l4.08,-0.21l1.93,0.35l0.14,3.17l-0.44,2.39l-1.48,2.82l-3.44,4.48l-8.18,4.5l-0.3,2.96l0.35,0.39l7.84,1.28l6.71,0.45l1.55,-1.05l0.55,-1.69l2.56,-1.06l2.7,-2.85l6.15,-3.1l0.53,2.01l0.52,4.87l0.66,0.99l2.96,2.61l-2.35,3.78l-0.64,0.78l-1.1,0.53l-0.97,1.19l-0.76,1.72l-0.3,2.0l1.13,5.86l-3.18,8.56l-1.26,2.29l-2.94,2.52l-5.73,3.73l-5.94,2.54l-4.8,2.91l-0.19,1.17l0.61,1.47l1.4,6.23l-0.38,2.37l-0.93,1.47l-2.54,1.81l-0.11,0.53l1.13,1.86l1.83,1.23l2.18,0.58l2.2,0.14l1.83,0.66l3.26,3.12l2.65,1.16l10.37,6.27l1.45,1.4l3.42,5.49l1.13,0.87l1.78,0.68l2.93,3.21l5.79,1.88l6.19,5.72l2.79,1.89l-2.56,4.42l-0.8,3.17l0.15,0.42l1.72,1.3l0.37,1.13l-1.53,2.92l-2.32,3.03l-5.2,4.02l0.57,5.35l2.33,5.75l2.0,3.74l-0.44,2.64l2.32,2.11l3.33,1.41l2.84,0.55l2.59,0.93l1.38,2.1l-0.03,2.42l-1.92,2.25l0.08,1.06l1.31,1.69l-0.33,1.66l-1.07,2.44l-0.56,3.66l1.13,2.04l5.96,3.68l-2.25,2.67l-0.94,3.67l-2.09,3.13l-0.56,1.34l-0.37,8.09l-0.8,2.46l-1.47,2.29l-1.77,1.96l-5.61,4.73l-1.43,2.62l0.38,2.98l1.61,2.04l1.83,1.09l1.23,1.37l0.39,3.4l1.12,3.5l2.26,2.19l4.69,3.23l1.2,2.14l0.94,3.23l0.16,3.3l-1.1,2.49l-1.94,2.59l-0.8,2.54l0.09,0.64l-3.68,-0.14l-4.14,-1.43l-2.43,-1.19l-2.34,-0.38l-2.13,0.08l-4.25,1.0l-12.98,5.4l-3.61,0.69l-3.27,-1.81l-3.59,-1.09l-4.83,-0.51l-6.2,1.26l-3.95,1.81l-1.29,0.97l-3.89,4.23l-0.68,1.23l-0.17,1.94l-1.45,2.85l-7.14,8.87l-0.65,0.19l-2.27,-0.54l-16.84,1.74l-14.86,-0.95l-5.83,-1.43l-2.12,0.31l-0.98,-0.34l-1.65,-2.02l-2.5,-1.41l-2.15,-1.77l-4.82,-1.95l-2.41,0.23l-1.05,0.89l-1.37,0.6l-10.59,2.94l-1.25,-1.65l-2.07,-0.6l-0.75,0.79l-1.16,0.02l-1.41,1.38l-0.62,-1.08l-0.19,-1.14l1.62,-1.55l0.77,-1.93l0.17,-3.34l-0.18,-1.13l-0.84,-1.12l1.62,-1.1l0.44,-0.88l-0.76,-3.69l-0.72,-1.45l-2.14,-1.14l-0.81,-0.96l0.6,-2.51l-0.62,-1.27l-2.96,-1.84l-1.61,0.4l-0.6,-0.2l-1.27,-0.72l-2.7,-2.76l-0.78,-0.3l1.7,-2.55l6.61,-4.44l2.82,-3.17l0.38,-2.0l-1.67,-2.84l-0.69,-2.27l0.05,-4.22l3.44,-4.71l3.42,-3.22l0.85,-1.63l-0.22,-0.56l-1.97,-0.69l-3.9,-0.1l-0.87,0.57l-0.99,1.56l-1.68,-1.39l-0.92,-0.24l-6.51,0.63l-1.69,-0.55l-5.44,-3.16l-1.64,-1.95l-1.34,-1.0l-3.16,-0.75l-5.2,-0.19l-1.54,-3.01l-1.62,-1.0l-4.91,-0.63l-12.52,-6.31l-1.37,-0.04l-1.02,1.63l-2.4,1.11l-1.29,1.05l-4.29,-0.78l-1.62,-0.78l-4.54,-2.93l-1.94,-2.14l-1.2,-0.68l-1.05,0.26l-0.91,1.14l-1.57,0.16l-0.91,-0.24l-5.29,-3.58l-0.45,-2.39l-6.14,-6.86l-1.83,-1.64l-2.35,-1.12l-1.04,-2.24l-2.57,-2.1l-1.1,-1.78l-0.78,-1.94l0.18,-0.53l0.75,-1.03l1.24,-3.22l2.18,-1.89l0.42,-0.85l-1.58,-2.49l-1.43,-0.44l-0.82,-0.87l-0.22,-3.42l1.41,-3.34l1.39,-2.35l-0.54,-2.49l0.4,-1.41l-0.17,-0.9l1.67,-2.79l0.84,-2.57l-0.06,-0.8l-0.92,-1.47l1.04,-0.59l0.71,-0.89l2.03,-3.68l0.29,-1.11l-0.07,-1.93l0.62,-1.6l-0.69,-0.46l-1.22,0.42l-2.11,0.12l-2.5,-2.97l-0.82,-0.54l-1.17,-0.23l-0.88,0.53l-0.57,1.95l-0.64,0.66l-2.14,0.61l-1.09,-0.25l-0.6,-0.7l-0.12,-0.96l1.52,-1.8l-0.03,-0.65l-1.0,-0.56l-2.71,0.1l2.65,-3.43l1.0,-7.16l2.12,0.06l2.08,-0.84l1.13,-1.67l1.02,-2.67l0.18,-2.6l-1.77,-1.68l-0.61,-1.91l-1.27,-1.95l0.04,-0.55l1.77,-1.93l-0.24,-0.97l-0.97,-1.29l-0.14,-1.2l3.23,-2.38l0.6,-1.83l-0.1,-0.97l-2.51,-6.15l-0.71,-0.68l-2.9,-0.88l-3.81,0.88l-1.98,-0.07l0.04,-1.32l-0.51,-0.97l-0.8,-0.75l-0.87,-0.31l-6.99,0.71l-2.43,-0.07l-1.52,0.49l-1.52,-0.26l-4.0,-1.73l-2.72,-0.45l-6.05,-3.35l1.24,-1.7l0.53,-1.54l-0.2,-0.49l-1.36,-0.62l-2.96,-0.11l-1.23,-0.81l-2.94,-3.67l-1.9,0.13l-3.46,1.45l-1.45,-0.21l-1.37,-3.72l-1.32,-0.74l-3.18,-0.11l-0.68,-0.29l0.99,-1.68l-0.01,-1.39l-1.2,-0.88l-4.52,0.93l-4.71,-1.53l-4.01,-0.79l-2.86,-2.43l-2.42,-0.67l-2.37,0.43l-3.15,1.8l-1.69,0.39l-1.97,-0.29l-1.51,-0.76l-3.52,-3.4l-1.27,-1.94ZM712.51,352.17l-2.13,2.83l-0.24,0.84l0.49,0.59l2.72,1.47l3.86,0.55l1.44,-1.1l3.96,-1.53l1.03,0.13l2.59,1.49l4.07,-1.29l0.78,1.4l0.65,0.35l0.6,0.08l3.06,-0.87l2.86,2.7l1.94,0.73l3.1,0.02l0.39,-0.32l0.19,-1.0l-0.28,-2.36l0.63,-0.46l2.24,-0.55l0.71,0.29l1.11,1.71l0.74,0.37l1.99,0.05l1.22,-0.76l1.06,-0.11l5.52,2.1l2.54,0.69l1.57,-0.07l0.77,0.85l0.5,3.96l0.6,0.76l1.26,-0.25l1.55,-2.46l2.57,-0.77l0.7,-0.63l0.4,-1.04l-0.21,-2.54l0.65,-1.13l2.22,-1.63l0.44,-0.98l0.1,-1.6l0.96,-0.76l0.18,-0.9l-1.61,-1.58l-3.92,-1.47l-1.78,-1.88l-1.41,-0.65l-3.7,0.31l0.05,-0.91l2.27,-4.37l-0.05,-1.23l-0.35,-0.36l-2.02,-0.24l-1.35,-0.5l-4.13,-2.37l-6.4,-6.13l-0.3,-0.98l0.18,-3.28l-3.1,-2.94l-0.74,0.12l-2.3,1.8l-0.69,1.04l-2.54,-0.92l-2.28,1.57l-0.89,1.39l-1.32,0.29l-3.59,-0.21l-1.51,-0.55l-0.47,-0.46l-0.28,-3.06l-1.65,-0.12l-0.75,0.48l-1.01,1.99l-0.99,0.74l-0.78,0.37l-2.79,0.34l-0.59,0.41l-1.16,3.09l0.7,1.81l-5.25,-1.72l-0.67,0.17l-1.1,2.14l0.34,1.33l-0.73,6.75l1.54,2.43l0.01,0.51l-4.11,3.6l-0.55,2.59l0.67,1.81Z", "name": "Brandenburg"}, "DE-NI": {"path": "M115.46,378.55l-1.27,-3.35l0.06,-2.28l2.67,-5.76l0.81,-5.02l-1.43,-3.48l-5.97,-7.99l-1.08,0.11l-1.56,1.6l-2.34,0.56l-2.5,0.14l-2.7,-0.36l-5.11,-1.6l-7.72,-0.9l-2.47,-0.99l-1.81,-1.73l-0.55,-1.82l-0.49,-4.67l-0.94,-1.66l1.11,-0.1l5.45,-2.26l0.07,-0.7l-3.17,-2.2l-0.57,-0.7l0.61,-3.17l-0.67,-1.31l3.07,-1.83l3.18,-0.81l9.21,-0.12l5.15,1.28l4.89,-0.57l4.92,1.39l0.44,-0.17l1.79,-2.83l0.78,-4.85l0.91,-14.28l0.84,-4.36l1.72,-3.95l8.07,-10.41l2.13,-4.45l0.93,-4.33l0.16,-4.89l-0.91,-9.52l-1.22,-2.76l-0.07,-1.46l2.3,-6.28l0.31,-2.15l-0.36,-5.66l1.96,-1.4l1.78,-2.46l0.39,-1.72l-0.65,-1.5l2.25,-2.78l1.17,-0.49l2.15,-0.03l2.03,0.44l3.4,1.75l1.85,0.61l0.46,-0.16l-0.02,-0.48l-2.36,-2.83l-4.08,-1.29l-22.38,-0.66l-3.4,-1.37l-1.35,-3.49l-0.03,-9.79l0.41,-2.17l1.88,-4.01l0.44,-2.0l0.65,-0.98l5.6,0.72l0.43,-0.22l0.46,-0.95l0.99,-0.52l0.71,-1.31l-0.23,-2.15l-1.01,-1.06l-2.81,-1.15l-1.11,-0.93l-0.17,-1.42l1.22,-1.3l3.18,-1.82l3.53,-3.21l1.94,-1.1l3.58,-3.03l7.63,-2.42l14.93,-1.37l2.11,1.74l2.47,0.45l14.46,-2.45l29.37,-3.34l7.48,1.77l-0.59,4.64l2.75,4.86l4.1,4.31l3.18,1.83l-0.79,2.11l0.21,0.55l3.61,1.09l0.91,1.16l-0.27,2.14l-0.82,1.08l-2.03,1.25l-1.68,0.71l-3.8,0.28l-1.88,0.92l-0.19,0.51l1.79,4.46l0.92,1.72l1.42,1.28l2.69,-0.78l1.49,0.05l1.02,0.45l3.3,2.65l1.97,2.6l1.57,0.6l1.65,-0.04l2.49,-0.83l1.28,-1.04l2.07,-2.81l2.26,-4.79l0.53,-4.59l-2.97,-3.03l-4.15,0.72l-1.61,-0.22l0.15,-1.52l0.84,-2.23l0.69,-4.5l0.77,-1.77l1.18,-1.02l1.53,-0.5l3.96,-0.16l1.71,0.64l3.93,4.81l4.05,1.68l8.34,1.33l3.5,1.38l0.0,0.51l-2.23,1.57l-2.16,2.13l-1.7,3.11l-0.6,3.95l0.12,7.57l0.62,3.43l1.33,2.46l0.43,0.2l0.32,-0.36l0.29,-3.39l-1.03,-8.32l0.08,-3.82l1.4,-2.72l4.03,-2.71l1.35,2.04l0.82,0.41l0.67,-0.14l0.87,1.2l0.75,0.15l2.39,-1.76l1.52,-1.93l0.36,-1.37l0.0,-1.94l-0.66,-2.81l-1.46,-3.59l1.02,-1.68l0.0,-0.68l-0.94,-0.41l-3.99,0.14l-2.08,-0.3l-4.64,-1.39l-1.09,-3.47l-1.37,-3.0l-0.3,-2.13l0.21,-2.17l0.58,-1.91l3.68,-7.48l2.6,-8.07l1.65,-3.52l1.35,-1.64l1.85,-1.44l2.09,-1.01l2.12,-0.4l1.94,0.11l1.04,0.37l2.4,2.2l3.55,2.43l3.79,1.59l7.76,1.55l4.28,-0.11l7.08,-1.43l3.88,0.25l2.06,-1.78l7.65,-1.52l7.72,0.06l1.68,-0.91l1.28,0.74l1.61,0.24l3.29,-0.12l2.8,2.62l9.59,13.75l3.95,3.77l2.77,1.85l1.26,1.32l1.39,4.1l6.74,8.07l1.67,1.23l5.35,1.36l5.81,3.25l6.45,1.19l0.53,5.24l0.83,0.75l0.54,1.1l1.04,0.79l1.06,2.44l1.22,1.71l4.04,3.28l1.17,-0.02l1.34,-1.59l1.38,-0.43l0.72,0.77l0.36,2.98l0.47,0.57l1.03,0.08l2.4,-0.92l2.11,1.06l0.92,0.1l3.61,-1.01l1.68,-0.82l0.46,-0.52l0.05,-1.32l4.58,-1.24l2.69,2.2l2.0,0.47l2.17,2.24l1.6,0.94l1.86,0.35l5.4,-0.3l2.63,-2.81l1.7,-0.67l6.27,0.08l3.44,1.07l13.9,6.86l4.11,1.16l3.3,-1.05l7.18,-0.24l3.19,0.68l1.97,2.0l0.29,3.96l0.69,2.03l1.7,0.76l1.8,0.34l3.11,3.24l3.13,2.07l8.94,4.23l10.75,8.24l4.89,2.99l1.4,-0.58l0.98,-0.99l3.25,-2.19l1.04,-0.13l0.63,0.31l3.15,4.06l0.99,-0.04l1.99,-1.5l1.34,1.35l1.51,0.74l3.41,4.98l3.6,3.47l1.72,0.88l2.23,0.35l1.97,-0.42l3.25,-1.84l1.92,-0.36l2.08,0.54l2.99,2.5l4.12,0.82l4.35,1.42l-1.68,3.84l-0.77,0.46l-2.47,-0.34l-1.12,0.2l-1.04,0.89l-0.56,1.38l-0.56,3.09l0.53,3.24l-2.91,0.34l-5.93,4.56l-3.45,0.76l-5.91,2.07l-3.37,-0.06l-1.5,0.92l-0.84,0.15l-1.33,-1.47l-1.3,-0.46l-1.27,-0.93l-4.82,-0.73l-5.72,0.35l-2.46,-0.91l-2.96,-0.63l-3.66,0.05l-1.29,0.44l-0.55,0.51l-0.87,3.09l-1.82,1.17l-0.98,1.06l-1.75,0.76l-5.41,1.56l-4.22,-0.17l-4.63,0.28l-3.37,1.07l-0.53,0.57l0.1,1.29l-0.37,1.23l0.33,2.15l-0.3,2.12l1.73,3.36l1.89,1.78l0.78,3.5l1.13,0.95l1.14,0.05l1.28,0.66l4.69,7.75l4.3,4.98l0.94,0.24l2.18,-1.25l1.53,0.6l-0.19,0.62l-2.61,2.68l-0.2,3.61l0.79,2.52l1.27,1.25l3.25,4.51l-2.52,-0.34l-2.02,0.75l-1.23,2.54l-0.26,2.01l7.18,8.09l1.1,0.74l1.63,0.46l2.76,1.91l0.46,0.76l-0.67,1.99l-5.37,0.98l-1.02,0.57l-0.16,0.6l0.42,1.71l1.99,1.01l0.29,0.99l0.68,0.86l-1.72,1.63l-0.06,1.01l2.97,3.43l1.55,0.07l0.12,1.84l0.44,0.57l0.57,-0.08l0.71,-0.9l0.41,0.68l0.05,1.57l-0.5,0.99l-4.02,1.27l-0.93,0.84l-0.85,1.67l-0.1,1.23l0.83,1.31l2.6,1.13l0.31,1.8l-0.86,1.53l-3.27,2.63l-1.99,0.93l-3.46,0.91l-1.05,0.78l0.03,1.25l1.94,1.35l0.02,1.63l-0.49,0.91l-6.4,0.12l-2.04,0.26l-2.48,0.82l-12.98,0.0l-5.61,0.73l-1.14,0.51l-0.11,1.63l-2.74,2.39l-1.03,0.26l-2.99,-0.26l-1.25,0.79l0.09,0.97l1.68,2.07l0.45,1.4l2.39,0.99l1.4,1.33l0.88,0.11l-1.44,0.6l-0.63,0.61l-0.61,2.7l0.4,0.91l1.85,1.1l0.42,3.24l-1.01,1.48l-1.41,0.7l-0.96,1.26l-2.27,1.25l-0.47,5.79l0.76,3.7l1.88,1.76l1.54,0.91l0.81,2.15l1.56,2.58l1.95,1.85l0.47,1.72l0.05,3.22l2.55,3.87l-4.37,2.1l-1.93,1.89l-0.17,1.13l2.41,2.9l-0.28,1.58l-0.66,-0.13l-1.34,-1.22l-0.91,-0.14l-5.99,2.2l-4.05,0.05l-3.45,-2.38l-4.79,-2.12l-1.12,-0.13l-4.61,0.8l-0.33,0.78l0.52,1.1l-0.13,0.92l-1.26,3.01l-2.25,1.73l-0.56,0.95l-3.3,1.84l-0.96,2.03l-5.65,2.71l-1.08,-0.06l-1.01,-1.16l-2.25,0.27l-0.95,0.96l-0.19,0.79l0.23,0.63l-0.88,1.42l-2.15,0.83l-0.44,0.51l0.07,0.79l-4.27,-0.14l-1.56,0.26l-1.43,1.41l-2.09,-1.47l-0.61,-0.1l-1.18,1.11l-2.01,0.97l-1.17,1.15l-4.75,3.28l-3.87,-2.56l-0.25,-1.82l-1.11,-0.36l-1.26,1.02l-1.8,0.12l-0.56,0.44l0.01,1.23l1.21,2.13l-1.09,1.14l-0.79,-0.44l-1.69,-2.82l-2.48,-1.28l-1.37,-0.18l-0.39,0.67l0.45,1.17l-0.62,0.54l-2.41,0.65l-5.53,3.1l-0.02,0.88l0.65,1.14l3.25,2.63l0.78,0.04l1.49,-1.24l0.85,0.04l-1.09,1.29l-0.31,1.41l-4.09,3.01l-1.1,-0.09l-2.86,-3.04l-1.29,-0.6l-1.4,-0.02l-8.42,-2.95l-2.76,-2.13l1.84,0.52l1.0,-0.1l0.41,-0.79l-0.87,-2.39l1.42,-1.62l1.48,0.17l3.54,-0.51l0.61,-0.48l0.32,-0.8l-0.35,-3.43l0.22,-1.72l-0.67,-1.45l0.79,-1.08l-0.0,-0.55l-2.2,-1.92l-2.03,-4.2l1.15,-0.18l0.53,-0.45l0.52,-3.49l1.48,0.51l1.18,-0.55l-0.94,-1.81l0.05,-0.77l3.23,1.7l0.81,-0.37l0.85,-1.46l-0.08,-0.5l-1.86,-1.65l-1.21,-3.05l-0.5,-0.51l-1.86,-0.75l-0.72,-1.56l-0.56,-0.31l-3.39,0.67l-1.85,-0.52l-0.82,-1.0l-0.88,-0.35l-2.24,1.51l-2.53,-0.16l-0.61,-0.59l-0.1,-1.76l-1.06,-0.89l-1.84,0.04l-1.55,1.24l-0.93,-0.53l-4.49,1.16l-1.27,-0.04l-0.33,-0.6l0.14,-2.05l1.1,-0.82l0.42,-0.92l-0.26,-1.61l0.62,-1.44l-0.35,-2.27l0.09,-1.97l0.97,-1.1l0.45,-1.29l1.54,-0.82l1.19,-1.09l1.83,-4.09l0.1,-3.07l0.87,-1.01l-0.0,-0.49l-2.09,-1.12l1.52,-1.85l0.52,-1.31l-0.12,-0.43l-0.96,-0.45l-2.14,0.73l-2.17,0.28l-4.42,-0.14l-3.68,0.78l1.21,-2.96l0.24,-1.56l-0.82,-2.63l-0.65,-0.77l-2.46,-0.96l-3.71,0.26l1.38,-1.61l1.11,-3.64l-0.01,-1.25l-4.14,-1.68l-1.96,0.4l-0.87,1.33l-4.09,-1.65l0.35,-1.29l1.55,-1.13l0.61,-1.57l-2.17,-5.31l1.26,-2.23l-0.13,-1.54l-1.36,-1.61l-2.66,-0.94l-0.67,-0.58l0.56,-2.1l-0.42,-0.74l-0.99,-0.53l-7.02,-0.81l-3.33,0.12l-2.84,0.49l0.93,-1.56l0.05,-1.05l-1.75,-3.98l2.55,-0.61l2.71,-0.03l0.42,-0.72l-0.88,-2.83l0.24,-0.48l3.03,-2.05l-0.37,-0.75l-2.65,-0.59l-5.42,-1.94l-0.31,-0.92l1.2,-6.89l1.09,-1.98l3.88,-0.02l2.7,-1.32l2.14,-3.59l3.22,-4.3l-1.8,-5.79l1.98,-1.61l0.46,-1.66l-0.36,-0.48l-1.9,-0.68l-1.64,-1.87l-1.76,-0.31l-5.64,2.47l-3.2,2.9l-2.43,5.57l-0.6,0.76l-6.47,1.19l-3.46,1.17l-3.1,0.29l-11.05,-1.16l-0.34,-1.5l0.39,-2.62l-0.58,-1.49l0.25,-2.87l-0.36,-2.11l-2.87,-4.32l-1.71,-1.2l-1.77,-0.58l-1.21,0.05l-4.82,1.94l-1.5,0.25l-4.82,-0.13l-2.27,0.32l-3.29,2.31l-1.15,4.18l-0.92,0.77l-1.62,0.63l-5.46,0.59l-1.93,-0.59l-2.26,-0.0l-2.14,-0.66l-0.49,0.52l1.95,5.39l1.3,1.69l6.51,2.58l2.76,1.65l1.18,1.57l0.83,2.02l1.01,4.38l0.09,11.88l0.43,1.49l3.2,1.97l-0.55,1.26l-1.48,1.81l-4.92,2.75l-0.82,1.03l-1.0,2.34l-0.51,0.29l-0.57,0.12l-12.68,-2.85l-3.2,2.34l-2.29,2.56l-2.84,1.69l-6.78,2.13l-3.58,-1.05l-3.66,0.55l-1.61,0.66l-4.65,3.55l-2.3,-1.12l-3.31,-1.03l-1.95,-4.25l0.09,-0.44l1.01,-0.92l1.66,-1.09l2.38,-0.91l4.44,-0.76l1.34,-3.69l1.36,-2.54l-0.13,-1.03l-2.75,-1.05l-4.25,0.24l-0.58,-0.37l-0.63,-1.57l-2.6,-0.46l-0.47,-0.59l1.57,-1.68l0.83,-1.43l0.02,-0.69l-0.9,-1.99l2.07,-1.89l0.88,-1.35l-0.05,-0.6l-1.31,-1.82l-0.28,-1.23l3.7,-0.71l0.46,-0.33l0.02,-0.85l-3.03,-4.39l-3.79,-4.04l-1.29,-0.17l-6.88,2.01l-1.96,-1.62l-6.64,-3.45l-2.38,-0.72l-0.49,-0.57l-1.06,-5.25l-0.47,-0.81l-0.94,-0.61l-7.02,-1.79l-1.14,0.23l-0.82,1.0l-1.19,4.42l0.45,1.23l1.48,1.15l-1.05,0.79l-1.37,3.44l-1.33,1.45l-2.55,-0.26l-2.1,0.49l-4.64,3.18l-4.97,4.25l-1.66,0.81l-3.05,0.66l-6.57,4.03l-3.97,0.72l-13.48,0.46l-2.82,1.87l-3.94,1.38l-2.32,-0.08ZM267.32,254.66l3.32,0.02l0.42,0.3l1.31,2.15l0.22,2.67l0.49,1.35l1.59,1.98l4.61,4.16l0.05,4.06l0.58,0.68l1.55,0.22l5.01,-0.89l5.07,2.57l2.07,0.29l2.05,-0.57l0.52,-1.0l4.53,2.68l4.27,-2.41l1.66,-1.57l0.62,-3.85l1.06,-1.85l-0.49,-1.03l-2.34,-2.04l-0.27,-0.6l1.56,-1.38l0.07,-0.82l-3.71,-3.45l-0.75,-0.19l-0.77,0.38l-1.49,2.82l-1.38,0.03l-3.32,-1.36l-3.71,-2.54l-4.35,-0.27l-2.53,-1.4l-0.19,-0.99l-0.64,-0.48l-3.51,-0.02l-1.93,0.44l-6.98,-2.15l-2.86,-1.43l-2.49,0.47l-3.4,-1.71l-1.19,-0.2l-2.22,0.28l-0.3,0.59l1.66,3.23l4.26,1.53l2.28,1.29ZM227.51,180.96l-1.99,1.47l-1.87,-0.53l-0.68,0.29l1.08,-1.64l1.72,-0.61l2.03,0.27l0.75,0.44l-1.04,0.33ZM203.67,172.73l0.94,0.46l-4.32,-0.76l-1.77,0.08l-0.38,0.36l-0.09,0.99l-1.02,-0.6l0.18,-0.36l1.55,-0.47l1.98,-0.18l2.93,0.48ZM191.01,174.13l-5.02,2.07l-2.65,0.13l-2.31,-1.24l-0.49,0.09l-1.57,1.43l-0.87,-0.22l2.08,-2.12l3.95,-0.72l7.87,0.44l-1.0,0.13ZM173.77,177.67l-7.37,-0.07l-3.4,0.67l-0.32,0.35l-0.23,2.01l-2.39,0.1l-0.64,-0.46l-0.29,-1.55l0.41,-1.29l0.99,-0.5l11.55,-0.15l1.69,0.9ZM150.2,180.57l2.02,-0.32l1.74,0.31l0.88,0.58l-0.86,0.38l-3.78,-0.95ZM146.19,181.41l-4.62,1.49l-11.88,1.28l-2.78,-0.63l3.4,-1.62l5.2,-0.71l10.68,0.19ZM118.67,186.33l-15.74,1.45l1.05,-0.42l13.24,-1.39l1.45,0.37ZM104.4,192.52l-2.3,2.1l-1.24,-0.42l-1.0,-0.75l0.02,-1.31l0.81,-0.46l1.59,0.01l2.12,0.83ZM86.49,201.05l-1.79,-0.07l-1.97,0.75l-1.55,-0.63l-1.22,-1.42l-0.29,-1.2l0.84,-0.53l7.38,-1.84l3.39,-0.21l0.85,1.36l-1.66,0.21l-5.17,1.55l-0.32,0.39l0.0,0.82l0.28,0.38l1.22,0.43ZM87.0,201.35l0.07,0.04l0.19,0.21l-0.26,-0.25Z", "name": "Niedersachsen"}, "DE-MV": {"path": "M481.88,178.09l1.27,-5.8l-0.83,-3.75l-1.13,-2.45l0.29,-1.56l0.83,-1.66l4.68,-2.26l4.85,-3.67l2.24,-1.2l1.72,0.43l-0.12,1.14l0.99,0.72l3.24,-0.41l1.7,-0.93l0.16,-0.56l-0.33,-0.33l-3.9,-1.01l-0.81,-0.48l-0.52,-0.73l0.03,-3.3l1.59,-0.26l4.11,-3.22l3.45,-0.82l5.17,-2.25l11.79,-1.27l0.68,0.21l0.55,0.62l0.61,1.82l0.75,1.05l3.59,0.9l0.34,0.43l-0.43,2.9l0.44,1.82l1.39,0.62l3.84,-0.01l3.92,-2.68l0.43,0.23l0.95,1.8l0.72,0.58l3.97,0.08l3.88,4.15l1.03,0.52l1.12,0.0l0.4,-0.36l0.12,-1.35l1.74,-4.84l-0.39,-2.18l0.58,-0.78l1.57,-0.67l0.3,-0.51l-0.53,-2.5l3.15,-2.59l0.06,-1.4l2.37,0.48l2.19,-1.25l1.85,-3.64l2.07,-0.97l1.22,-1.54l0.55,-1.83l-0.73,-0.73l0.25,-0.95l3.14,-4.29l2.97,-1.67l3.7,-0.43l8.27,1.17l23.4,-4.06l3.29,-1.69l0.42,3.25l-0.36,3.7l0.21,3.25l2.42,2.44l0.52,0.02l0.1,-0.51l-0.91,-1.57l-0.48,-3.42l-0.47,-1.21l0.85,-1.3l2.72,-1.25l1.04,-2.02l-0.33,-0.57l-1.1,-0.09l-1.94,0.39l3.27,-3.47l2.05,-1.51l2.28,-3.09l9.96,-4.23l3.84,-2.6l1.52,-1.45l3.52,-5.52l1.05,-1.22l-0.59,1.13l0.6,1.49l-0.41,1.37l-1.07,1.02l-1.5,0.28l-0.3,0.53l1.67,4.2l-0.96,0.92l0.08,0.64l4.28,2.4l2.76,0.51l2.1,-1.06l0.21,-0.46l-0.4,-0.3l-1.44,0.05l-1.04,-0.41l-1.72,-1.22l0.5,-1.24l0.86,-1.09l2.41,-1.89l2.2,-1.01l0.58,-2.84l1.52,-1.04l6.33,-2.46l0.06,-0.72l-1.75,-0.91l0.0,-0.3l1.47,-0.44l1.21,0.48l0.61,-0.48l1.52,0.93l3.01,-0.65l5.35,-2.46l0.19,-0.54l-0.53,-1.6l1.75,-0.75l1.13,-0.12l0.84,0.07l0.0,0.31l-1.37,0.36l-1.07,1.21l-0.6,1.63l-0.24,1.69l0.25,0.43l0.47,-0.14l1.82,-3.02l1.44,1.83l1.27,0.53l1.27,-0.9l0.88,0.63l1.3,0.04l1.61,-1.19l1.23,2.28l2.15,2.08l3.54,-0.17l1.13,-0.3l1.19,-0.87l2.71,-4.6l2.43,-1.94l3.83,-2.0l3.76,-1.13l1.58,0.38l-0.75,0.77l-0.02,1.78l0.74,1.72l1.22,1.43l4.35,1.86l0.83,0.64l-1.7,2.66l0.47,2.25l2.74,3.57l0.27,2.86l0.51,1.42l1.24,0.49l3.99,0.0l-2.46,1.08l-0.2,0.46l0.41,0.29l3.11,-0.24l5.03,2.31l3.47,0.68l2.36,1.04l3.17,5.26l2.26,1.65l-2.2,1.58l-0.12,0.44l0.38,0.26l2.45,-0.02l3.67,-1.49l1.35,0.42l-0.96,1.68l-0.73,0.52l0.06,0.68l1.5,0.58l1.28,-0.7l0.58,0.13l3.09,5.62l1.6,1.75l2.0,1.01l2.31,0.03l0.41,-0.4l-0.16,-1.24l-2.58,-2.64l0.0,-0.38l11.86,-1.89l2.96,-1.11l4.97,-2.74l2.47,-0.67l0.11,0.58l-1.67,0.89l0.25,1.2l2.96,1.24l7.58,5.14l0.0,0.58l-1.4,1.99l-0.8,2.57l-1.13,2.22l-2.54,1.27l-0.03,0.7l1.14,0.71l3.92,4.35l3.93,1.64l0.96,2.37l0.13,1.83l0.62,0.29l1.32,-0.1l3.52,1.43l0.11,0.95l-0.54,1.35l-1.02,1.17l-7.11,4.79l-1.03,2.12l1.08,1.82l4.32,1.47l0.64,1.45l1.44,1.69l1.65,1.21l1.2,-0.08l7.09,4.81l3.28,0.64l2.2,1.94l2.93,-0.02l3.77,1.62l7.89,0.48l2.88,-0.69l1.36,-1.95l0.53,-0.3l1.33,0.21l1.2,0.95l0.24,1.85l-0.62,0.81l-4.53,2.63l0.03,0.71l2.74,1.01l2.06,0.16l0.11,3.31l-0.35,2.31l1.47,2.6l2.03,5.14l-0.01,9.18l0.78,2.91l2.34,2.95l1.05,2.83l2.0,2.75l1.02,6.87l1.97,7.47l-6.36,3.2l-2.8,2.92l-2.51,1.0l-0.8,1.97l-1.14,0.69l-6.32,-0.5l-7.49,-1.23l0.07,-1.99l8.07,-4.44l3.64,-4.68l1.56,-2.97l0.5,-2.61l-0.15,-3.62l-0.33,-0.38l-2.38,-0.42l-4.03,0.2l-3.65,-1.45l-2.68,0.55l-1.84,2.12l-4.36,-1.07l-5.89,-0.35l-6.67,0.4l-1.35,-1.65l-0.55,-1.85l-2.78,-4.12l-0.15,-2.8l-0.28,-0.36l-4.46,-1.42l-2.37,-3.03l-1.95,-0.36l-0.45,0.37l-0.11,2.73l2.43,3.71l0.34,1.25l-2.47,0.89l-3.35,-0.2l-3.69,0.49l-5.95,4.16l-1.9,2.75l-2.07,1.57l-3.36,0.12l-2.06,0.87l-1.49,1.2l-0.78,1.6l-0.52,2.46l-3.14,6.23l-2.25,2.12l-1.08,0.32l-5.11,3.37l-1.58,0.46l-1.65,-0.34l-4.03,-1.74l-2.16,-0.35l-2.69,0.23l-1.67,0.7l-1.73,1.64l-1.31,2.48l-0.54,2.42l-2.37,0.0l-1.05,-0.39l-2.24,-2.7l-1.49,-0.38l-0.95,0.24l-3.38,2.33l-0.75,1.93l-0.63,0.7l-5.62,3.47l-3.89,3.57l-2.31,0.33l-2.6,-1.06l1.35,-1.58l-0.23,-0.9l-0.71,-0.49l-2.07,0.58l-2.65,0.02l-3.83,0.71l-1.26,-0.27l-1.45,-0.99l-1.48,-0.42l-1.47,-0.08l-4.28,0.77l-1.03,-0.09l-0.84,-0.76l-0.44,-3.33l-1.02,-0.5l-2.4,-0.1l-3.98,-0.9l-2.57,-2.14l-1.45,-0.6l-11.0,-2.21l-3.17,0.63l-3.42,0.2l-1.36,-0.24l-1.39,-1.6l-2.87,-1.35l-1.69,-1.51l-3.01,-1.91l-4.27,-2.04l-6.72,-1.48l-2.18,-3.07l-1.48,-0.52l-1.36,0.31l-2.9,1.65l-1.67,-1.38l-0.83,-0.27l-2.73,0.44l-3.4,1.19l-1.37,2.07l-2.51,1.41l-0.35,2.12l-0.8,1.81l-1.46,0.23l-3.54,2.59l-1.86,-0.59l-5.53,1.92l-2.27,2.22l-2.68,-0.5l-1.8,0.75l-0.04,0.69l1.83,1.19l0.2,1.19l-4.83,-0.16l-3.84,1.51l-1.16,-2.07l-3.11,-2.09l-1.4,-0.41l-3.47,0.18l-5.42,1.68l-1.98,1.07l-4.34,3.27l-0.73,1.46l0.23,1.27l1.3,1.5l0.92,3.96l-0.59,1.85l-1.78,1.11l-2.39,0.19l-5.25,-2.44l-3.37,-0.04l-1.92,0.94l-0.43,2.95l-1.38,-0.16l-2.38,-0.84l-3.17,0.0l-2.36,-0.41l-1.94,0.19l-1.7,-2.33l-1.63,-0.83l-1.49,-1.47l-0.43,-0.03l-2.56,1.58l-2.84,-3.85l-0.96,-0.51l-1.64,0.19l-5.08,3.67l-4.62,-2.83l-10.76,-8.25l-8.97,-4.25l-3.06,-2.02l-3.18,-3.29l-3.42,-1.07l-0.41,-1.54l-0.3,-4.04l-2.26,-2.41l-3.66,-0.83l-6.36,0.22l1.87,-2.81l0.96,-6.46l0.4,-0.57l2.56,-1.02l2.21,0.2l0.63,-0.57l0.84,-2.19l5.35,-1.32l6.28,-3.89l0.24,-2.17l0.93,-2.22l-0.43,-2.79l0.74,-0.1l1.67,0.49l5.12,-0.46l0.7,0.9l0.38,1.6l0.94,0.58l1.03,-0.62l1.68,-1.92l-0.45,-0.76l0.36,-0.4l-0.03,-1.53l-1.19,-3.64l-0.06,-1.97l1.42,-1.15l0.2,-2.07l-1.01,-2.08l-0.06,-1.48l-0.36,-0.71l-1.78,-1.65l-1.19,-0.66l-2.83,-0.7l-2.05,0.25l-0.63,-0.29l-5.03,-5.16l-4.54,-0.84ZM642.03,96.75l2.68,-3.13l-0.63,2.04l0.39,1.75l-1.9,-0.76l-0.53,0.09ZM646.29,91.77l5.12,-7.49l1.57,-3.56l1.02,-1.06l0.94,-0.38l-0.15,0.3l2.09,2.72l4.42,1.54l22.39,0.02l3.61,1.41l2.46,-1.0l2.55,0.51l0.89,1.08l-2.02,1.51l-2.37,0.42l-10.42,-0.72l-4.15,-1.26l-2.84,-0.27l-0.94,0.39l-1.41,1.42l-4.37,-0.38l-1.18,0.46l-0.54,1.22l-0.68,-0.41l-1.93,0.97l-0.31,0.45l0.18,1.16l0.46,0.67l-0.88,-0.33l-2.27,0.21l-1.77,0.96l-0.78,1.25l-1.36,-1.34l-2.06,-0.82l-3.55,-0.27l-1.75,0.64ZM798.18,135.23l2.91,1.47l17.21,15.3l1.48,0.9l-1.46,3.17l-1.53,0.57l-0.19,0.67l1.65,1.65l0.58,1.53l-10.57,0.99l-2.07,-0.25l-1.58,-0.9l-0.47,0.05l-2.24,2.05l-2.77,1.31l-5.55,1.2l-6.12,0.08l-3.28,-0.8l-1.29,-1.44l2.73,-1.47l3.19,-0.58l3.4,-1.59l1.13,-1.09l0.66,-4.18l-3.57,-5.48l0.22,-2.93l4.5,0.22l1.2,0.4l-0.38,0.56l0.15,0.98l-0.76,2.6l-0.13,2.14l0.27,0.4l0.46,-0.15l1.47,-2.12l1.08,-0.47l2.68,0.0l-0.52,1.44l0.29,0.47l3.34,0.84l0.46,-0.55l-0.72,-1.6l1.22,-3.31l-0.18,-3.59l-1.42,-2.43l-0.47,-0.17l-1.9,0.64l-1.77,-3.7l-1.46,-1.56l-1.7,-1.06l-1.94,-0.38l-2.1,0.34l-1.22,1.15l0.76,2.71l-1.6,1.17l-1.07,2.06l-0.41,0.19l-2.81,0.86l0.13,-1.11l1.42,-1.77l0.37,-1.03l-0.51,-1.88l-1.02,-0.45l-4.22,1.64l-2.77,2.59l-1.39,-0.44l0.66,-2.18l2.64,-4.4l0.59,-3.89l-0.97,-2.23l-3.98,-3.38l-1.02,-1.27l0.73,-1.23l1.4,-1.19l1.62,-0.51l1.59,0.54l2.75,5.55l1.2,1.8l2.68,2.23l6.55,3.11l3.73,1.16ZM717.1,70.94l0.86,-0.33l7.41,-0.88l1.4,0.26l0.65,0.83l2.08,0.95l0.91,2.64l0.59,0.17l0.92,-0.75l0.37,-1.54l-0.73,-2.11l2.98,-2.84l2.59,-1.34l-0.78,1.96l-1.6,2.28l1.38,0.3l0.56,0.55l-1.27,2.45l0.34,0.57l1.55,0.06l1.3,-0.43l0.97,-0.99l0.59,-1.5l-0.15,-0.28l2.04,2.68l-0.5,2.26l1.94,2.26l2.76,0.85l5.06,-0.1l0.32,-0.63l-0.58,-0.81l0.81,-1.53l1.19,-1.21l0.0,-1.0l-0.82,-2.08l-1.25,-1.71l0.0,-0.53l2.07,-1.24l0.0,-0.83l-0.42,-0.4l-1.44,0.13l-2.04,1.73l-4.14,-0.01l-1.71,-2.32l-2.38,-0.69l-2.79,-4.19l-0.59,-0.19l-2.12,1.56l-1.57,1.74l-2.23,1.09l-3.33,2.46l-1.56,-0.4l-0.27,-1.27l0.66,-2.36l1.21,-2.17l1.43,-1.1l0.74,-1.91l0.19,-1.57l-0.73,-0.79l-4.39,0.92l-1.58,0.74l0.04,-1.14l0.47,-0.77l2.06,-1.48l13.37,-3.12l2.61,-0.03l2.27,0.99l0.0,0.36l-5.15,3.06l-0.91,2.1l0.3,2.72l0.9,2.03l1.37,1.57l1.77,1.18l4.26,1.13l12.66,-1.96l4.19,0.74l2.78,2.47l0.59,3.18l-2.4,3.07l-4.28,2.3l-2.21,1.72l-1.07,2.36l0.38,2.35l0.86,2.37l2.2,3.34l2.24,0.98l4.58,0.9l1.91,1.1l2.56,3.78l1.72,1.82l1.71,0.59l-1.88,1.65l-1.04,1.84l-0.61,4.97l-1.03,-0.15l0.56,-0.37l0.42,-1.18l-0.4,-1.44l-0.39,-0.29l-0.93,0.1l-0.94,0.82l-1.37,0.42l-1.45,0.02l-0.87,-0.32l0.0,-0.35l3.37,-1.17l1.59,-1.01l0.95,-1.69l-0.38,-0.59l-4.86,0.27l2.95,-1.26l0.27,-0.38l0.0,-0.92l-0.37,-0.4l-2.64,-0.2l-1.61,0.16l-2.18,1.69l-1.33,-1.1l-1.32,-0.55l-9.78,0.92l-1.95,0.97l-5.19,3.7l-2.26,3.44l-2.3,0.4l-2.4,1.24l-0.38,3.61l0.62,0.37l1.34,-0.92l0.17,-1.07l4.01,-0.37l0.65,2.8l-0.16,1.11l-1.24,0.49l-2.67,-0.34l-3.04,-0.87l-2.94,-1.56l0.47,-0.5l1.52,-3.61l-0.08,-0.46l-0.46,-0.08l-1.52,0.75l-1.29,1.29l0.11,0.63l-2.2,0.09l-1.51,0.81l-2.31,-1.61l-3.15,-0.9l-0.85,-0.92l0.48,-1.51l-0.29,-0.51l-1.67,-0.33l-3.63,1.23l-0.4,-0.62l0.38,-0.57l1.05,-0.32l1.37,0.46l0.53,-0.38l0.0,-0.85l-5.97,-3.92l1.18,-2.54l1.83,-2.27l2.22,-0.81l2.84,1.5l0.51,-0.12l0.43,-0.59l1.12,0.72l1.49,-0.24l2.92,-1.61l0.2,-0.43l-0.36,-0.32l-1.42,-0.13l-0.98,-0.77l-0.39,-1.08l0.43,-2.25l-0.37,-0.4l-1.21,-0.09l-1.21,-1.26l-1.17,-0.47l-3.67,0.72l1.81,-2.6l2.61,-0.53l2.92,-1.24l1.96,-0.29l0.34,-0.4l0.0,-0.64l1.22,-0.93l-0.17,-0.66l-3.75,-1.4l-0.54,-0.84l0.67,-0.9l-0.06,-1.13l-0.52,-0.34l-2.85,0.91l-1.55,0.14l-1.67,-1.29l-0.34,-2.16l-0.75,-0.98ZM739.74,70.67l-2.16,-0.9l0.0,-0.41l0.82,-0.62l1.34,1.93ZM708.19,76.74l0.04,-0.44l3.06,-8.86l0.66,-3.4l0.57,-0.76l1.43,-0.3l2.19,0.07l0.42,1.09l-0.55,0.2l0.0,-0.75l-0.62,-0.33l-2.57,1.82l-0.58,2.3l-0.09,2.57l-0.9,2.68l-2.11,1.75l-0.95,2.35ZM557.96,136.39l-0.46,-2.08l0.42,-0.96l5.48,-2.14l-4.16,3.09l-1.28,2.09ZM553.57,141.62l-2.73,6.57l-0.88,1.07l-0.66,0.02l0.62,-2.98l-0.43,-1.56l-0.38,-0.29l-1.19,0.21l-0.56,1.41l0.38,1.58l-1.1,0.75l-1.36,-0.06l-2.68,-1.57l1.26,-2.66l3.41,-2.37l3.87,-1.03l2.42,0.91Z", "name": "Mecklenburg-Vorpommern"}, "DE-TH": {"path": "M402.19,500.97l-0.34,-2.77l-0.3,-0.79l-0.99,-0.96l-0.56,-2.07l0.55,-1.65l6.77,-4.71l1.13,-1.12l2.04,-0.99l0.85,-0.94l2.62,1.57l0.6,-0.21l1.05,-1.24l1.28,-0.22l4.86,0.16l0.38,-0.56l-0.28,-0.79l1.43,-0.39l1.04,-0.73l0.98,-1.6l-0.07,-1.35l0.65,-0.63l1.64,-0.18l0.79,1.07l1.57,0.18l6.05,-2.87l1.05,-2.11l3.21,-1.76l0.66,-1.04l1.54,-0.93l0.78,-0.87l1.55,-4.04l-0.52,-1.57l4.31,-0.69l0.76,0.13l4.61,2.05l3.63,2.45l4.38,-0.05l5.91,-2.19l0.4,0.03l1.34,1.21l1.03,0.34l0.96,-0.74l0.27,-1.47l-0.34,-0.93l-2.2,-2.53l0.14,-0.48l1.6,-1.55l4.54,-2.19l1.57,0.77l8.78,-0.19l4.35,1.9l2.91,0.08l1.24,1.0l3.26,1.13l1.32,0.05l0.57,0.58l0.58,1.96l-0.87,0.4l-1.43,-0.5l-1.0,0.14l-0.62,0.69l0.01,0.96l1.46,3.53l1.96,2.16l-0.13,3.01l1.55,2.97l1.0,1.28l-0.69,4.97l1.02,1.61l2.73,1.27l15.19,1.55l4.18,-0.07l9.05,1.11l2.46,0.7l5.01,3.28l2.66,4.18l5.47,6.78l-1.54,2.38l-1.08,0.84l-2.39,1.13l-4.99,0.81l-1.09,1.07l-0.46,1.08l1.3,1.73l2.21,1.21l2.1,0.68l2.95,3.75l0.58,1.98l0.11,1.7l-0.76,0.33l-0.32,0.76l0.72,2.5l1.11,1.21l1.82,0.66l5.38,0.23l3.04,-1.43l4.46,0.52l4.62,0.07l3.81,-0.66l2.3,1.43l0.38,3.14l2.26,3.58l0.55,1.81l1.51,1.17l1.05,0.21l1.16,-0.75l8.67,-0.64l1.0,0.16l2.15,1.36l4.75,1.79l1.31,1.02l1.12,2.12l3.5,1.74l0.3,1.17l0.5,0.32l4.04,-0.32l2.76,-0.57l5.71,1.52l2.69,-1.18l2.88,2.04l0.67,1.03l1.11,0.24l2.04,-1.3l-0.04,-2.32l3.36,-3.56l2.39,-3.77l0.0,-1.02l-0.57,-1.06l-2.48,-1.48l0.46,-2.42l1.68,-2.53l-0.08,-0.8l5.81,-0.49l14.88,3.75l0.76,3.76l3.0,4.34l1.01,1.97l1.5,1.27l5.45,2.39l2.27,2.99l2.01,3.61l-0.01,0.58l-1.47,0.71l-1.8,2.03l-1.16,-0.94l-1.6,0.27l-3.12,-0.36l-2.17,0.21l-1.81,-0.61l-0.53,0.3l-0.51,1.26l-3.79,1.75l-3.72,4.11l-1.56,-0.62l-3.6,0.37l-3.95,2.55l-7.1,1.78l-0.3,0.35l0.0,1.64l1.2,1.13l1.63,0.6l0.19,0.36l-1.43,1.5l-1.21,0.18l-1.11,0.78l-1.02,2.57l0.45,0.77l1.65,-0.12l0.77,0.47l-0.39,2.08l0.66,1.89l0.83,1.11l1.25,0.51l2.56,0.08l-1.69,2.45l-1.06,0.98l-3.48,2.13l-2.33,0.11l-1.91,-0.31l-2.41,0.29l-2.8,2.95l0.04,2.82l-0.63,1.84l-0.58,0.56l-2.5,0.69l-1.98,-0.8l-1.73,0.25l-2.42,3.17l-0.87,0.66l-1.37,-0.15l-1.26,-1.39l-0.83,-0.39l-1.1,-0.22l-1.39,0.41l-2.02,2.36l-2.37,1.54l-1.75,2.54l-0.15,1.46l1.69,1.39l0.34,0.72l0.04,0.98l-1.0,1.15l-0.21,1.27l-2.17,0.76l-1.15,0.83l-0.38,1.07l0.56,0.9l-2.8,1.41l-4.3,1.44l0.13,-0.82l-0.29,-0.38l-1.85,-0.74l-0.87,-0.92l-1.28,-0.1l-2.37,0.36l-0.59,0.74l-1.51,0.38l-11.5,2.04l-2.9,-0.97l-2.23,-0.02l-0.59,0.29l-0.89,1.32l-2.68,0.4l-3.61,-2.17l-0.41,-3.07l-0.58,-0.88l-0.89,-0.36l-1.59,0.22l-2.97,-1.89l-0.23,-0.91l0.23,-4.07l1.39,-0.87l0.39,-0.74l-1.2,-2.34l-1.95,-0.62l-6.26,-0.29l-1.14,0.98l-1.37,0.65l-0.75,1.83l-1.9,1.04l-1.91,0.37l-2.72,1.1l-0.23,0.5l0.76,2.05l-0.2,0.97l0.79,2.65l-0.32,3.29l0.49,0.89l0.15,1.3l1.12,1.57l0.29,1.85l-1.11,0.62l0.16,1.51l-1.11,2.58l0.66,2.07l-1.03,2.08l0.1,1.55l-0.77,0.14l-2.12,-0.55l-1.66,-0.95l-0.7,0.37l-0.74,1.15l-4.43,-3.51l-0.53,-0.72l1.74,-1.68l0.17,-1.07l-1.9,-2.81l-0.85,-0.47l-0.79,-0.03l-0.44,-1.11l-0.51,-0.41l-1.68,0.2l-1.36,1.17l-3.38,0.82l-2.23,-1.68l-2.91,-0.35l-0.56,0.27l-0.37,1.38l-4.23,-4.7l-1.66,-0.09l-3.02,0.73l-1.15,-1.23l-1.0,-0.32l-1.56,0.61l-2.29,-0.2l-2.55,1.14l-1.97,-0.51l-1.29,0.82l-2.04,2.91l-2.43,-0.51l-1.13,0.6l-0.51,0.98l-0.29,3.91l0.92,1.07l2.66,1.32l1.94,1.68l2.96,0.17l1.26,1.79l2.78,0.9l0.48,1.34l-0.13,1.2l-0.37,0.4l-0.87,0.11l-2.93,-0.93l-4.01,0.63l-1.94,-0.58l-1.1,1.02l-0.69,4.16l-3.21,-1.63l-2.42,-0.56l-4.35,0.01l-1.01,-1.19l0.26,-1.78l-1.24,-2.29l0.56,-3.11l-0.96,-4.55l-2.51,-1.79l-1.27,-2.36l-0.4,-0.21l-1.63,0.19l-1.03,0.67l-2.44,-0.21l-0.35,-1.35l-2.71,-1.97l-1.63,-2.41l-2.71,0.46l-1.78,-0.14l-0.59,-0.35l-0.4,-0.87l0.92,-1.29l-0.27,-0.77l-2.71,-1.88l-1.71,-1.89l-1.39,-0.95l-0.29,-2.27l-0.56,-1.23l-0.59,-0.48l-9.35,-2.99l-1.01,-2.63l-1.92,-1.77l-1.6,-0.4l-5.19,0.34l-0.36,-0.42l-0.04,-1.3l-0.69,-0.32l-1.69,1.01l-5.23,4.9l-0.39,-0.03l1.12,-4.39l-0.84,-2.13l0.09,-3.09l-0.34,-1.33l1.08,-1.22l1.45,-0.22l0.44,-0.82l-0.26,-3.13l-1.09,-2.35l-0.69,-0.73l-4.95,-1.16l-1.23,0.01l-4.98,2.12l-0.22,1.34l1.26,1.57l-0.67,1.18l-1.42,0.01l-2.79,-1.22l-1.93,0.53l-0.34,-0.26l-0.11,-2.38l0.27,-1.16l1.07,-1.52l2.01,-1.69l0.03,-1.7l2.03,-3.64l0.22,-2.52l-1.38,-1.69l0.34,-0.79l0.93,-0.33l0.62,0.24l0.49,-0.5l-0.35,-2.72l0.73,-2.34l1.94,-0.9l2.0,-0.22l3.05,-0.99l0.51,-0.82l-0.05,-2.64l2.87,-3.0l-0.0,-0.57l-1.08,-1.18l-0.85,-1.76l-1.5,-1.31l-1.4,-0.75l-0.98,-0.04l-0.98,0.49l-1.32,1.37l-0.26,-2.69l-0.89,-0.28l-0.75,0.57l0.01,-1.24l0.99,-0.34l0.99,0.48l3.6,0.32l3.02,-0.64l0.54,-1.23l-0.29,-1.78l-1.9,-2.62l0.22,-1.48l2.22,-1.33l3.94,-0.18l1.16,0.34l1.46,-0.39l0.02,1.12l1.77,0.81l4.9,-0.22l0.64,-0.26l1.77,-3.22l0.11,-0.78l-1.85,-2.88l-2.06,-0.27l-1.26,-0.8l-1.49,-0.22l0.54,-2.9l1.76,-2.79l0.4,-1.79l-0.68,-0.65l-2.26,-0.47l-1.06,-1.66l2.43,-0.68l1.45,0.0l0.97,1.08l0.0,1.01l0.79,0.65l0.29,0.84l0.68,0.13l0.69,-0.82l0.56,-3.98l0.5,-1.2l1.43,-1.46l0.47,-1.12l-0.53,-1.03l-3.17,-1.31l-2.4,-1.49l-2.48,-0.15l-1.5,-0.78l-2.08,-0.34l-3.25,-1.14l-0.67,-2.29l-2.01,-1.77l0.5,-1.75l-0.55,-0.88l-4.8,-1.34l-1.77,0.02l-1.79,-1.79l-1.64,-0.49Z", "name": "Th\u00fcringen"}, "DE-BW": {"path": "M174.35,977.77l0.94,-0.09l1.04,-0.87l1.4,-3.28l-0.41,-0.55l-2.22,0.2l-4.37,1.12l0.43,-1.22l-0.29,-1.37l-1.72,-1.74l-2.19,-3.76l-1.37,-1.65l-1.49,-0.71l-0.28,-0.42l-0.55,-3.8l2.54,-3.12l0.04,-2.16l-1.19,-4.29l0.25,-1.61l1.36,-3.94l1.92,-1.37l0.21,-1.54l-0.52,-3.81l1.96,-2.97l0.08,-2.67l0.47,-1.5l2.54,-2.3l1.06,-1.83l-0.28,-4.11l-4.18,-6.31l-0.29,-5.0l0.6,-2.37l0.64,-1.85l1.87,-2.86l0.23,-1.89l0.6,-1.42l6.17,-7.39l1.08,-1.88l1.5,-7.27l3.36,-1.95l1.43,-2.06l0.11,-1.9l-1.14,-3.28l-0.3,-1.43l0.11,-1.57l1.19,-4.65l1.82,-3.25l0.23,-2.45l0.44,-1.0l3.7,-2.92l-0.03,-1.02l-1.12,-2.6l0.01,-4.26l0.81,-3.99l4.04,-5.37l2.73,-1.12l1.5,-1.11l2.7,-2.74l2.48,-1.74l1.1,-1.24l0.5,-1.1l0.15,-2.47l0.41,-0.89l4.58,-0.59l0.7,-0.62l0.42,-1.85l0.96,-1.12l0.81,-0.06l4.36,-2.22l1.26,-1.82l4.44,-10.4l3.02,-4.86l1.91,-1.87l3.04,-0.98l3.22,-2.96l2.09,-2.77l7.22,-12.62l0.48,-1.41l1.87,-12.06l0.61,-2.04l2.24,-1.43l6.88,-6.97l0.35,-1.6l-0.28,-0.47l-1.97,-0.59l3.62,-7.35l0.04,-1.46l-0.71,-3.04l1.32,-2.87l-1.26,-1.62l-4.76,-1.12l0.0,-0.31l1.82,-0.77l0.24,-1.24l-1.36,-2.54l-2.19,-5.45l-1.84,-2.6l0.73,-2.7l2.97,-1.04l2.18,0.3l2.26,1.53l7.02,5.94l4.3,-1.55l0.92,-0.98l0.02,-1.21l-1.85,-6.88l7.12,-1.49l0.11,0.81l1.31,2.01l-0.6,1.53l0.48,1.6l1.45,2.99l1.28,1.26l4.79,2.38l1.73,0.23l2.4,-0.19l1.16,1.97l0.98,0.67l5.86,-0.39l-0.1,1.47l-1.21,1.67l-0.7,-0.17l-0.89,-0.93l-0.58,-0.14l-2.19,1.89l-0.55,1.38l0.33,3.57l-1.88,1.43l-0.23,1.76l0.53,1.07l3.21,0.91l0.87,-0.12l1.04,-0.64l2.98,-3.01l0.87,-2.61l0.41,0.93l0.75,0.22l2.83,-1.41l0.56,-1.31l-0.67,-1.77l-1.09,-1.36l2.51,-2.51l5.29,-0.11l2.5,0.35l1.07,-0.38l2.19,-1.78l0.64,-0.05l2.42,0.05l1.28,1.23l1.37,0.08l0.34,-0.7l-0.27,-0.91l-2.56,-3.92l-2.42,-2.72l1.27,0.87l0.87,0.15l0.51,-0.21l0.65,-0.94l1.08,0.39l5.51,-1.02l1.46,0.22l6.52,-0.22l1.17,-1.17l0.67,-1.78l1.37,-1.24l-0.23,-2.22l0.53,-0.57l2.02,-0.87l3.16,-0.22l2.78,-1.04l1.67,1.25l1.06,0.06l2.01,-1.51l0.12,-0.46l-0.71,-1.51l1.15,-5.53l-0.13,-0.44l-0.7,-0.62l-2.58,-0.69l-0.78,0.55l-0.77,1.84l-0.89,0.17l0.35,-1.91l-0.59,-0.97l-4.04,-0.75l-1.03,-0.49l-0.04,-0.61l0.69,-1.6l-0.71,-1.85l1.35,-1.35l2.12,-0.87l4.72,0.28l3.66,-1.1l5.15,-0.4l5.34,2.11l1.32,0.08l1.6,-0.49l2.78,1.41l2.75,-0.74l1.57,-0.88l0.24,0.13l0.13,0.5l-0.7,1.2l0.32,1.94l-0.55,1.29l0.2,1.35l-0.81,0.71l0.07,1.15l-0.88,2.04l0.69,1.02l1.74,0.8l1.59,0.16l1.24,-0.5l0.55,-2.17l1.24,-0.56l0.76,-1.11l0.29,1.95l0.94,1.81l0.7,0.53l0.88,-0.26l3.12,-2.95l2.71,-1.0l3.42,3.79l-0.03,3.37l0.31,1.69l3.91,3.76l0.64,1.01l-0.31,0.88l-1.67,1.84l-0.28,0.94l0.08,1.66l-1.98,2.03l0.01,0.88l1.23,0.86l0.82,0.05l0.85,-0.38l0.55,-0.64l0.51,-1.5l1.26,-0.44l1.21,-1.44l0.91,-0.32l0.4,0.54l-0.6,1.42l1.68,1.44l0.42,2.72l-0.21,2.83l0.43,3.16l0.42,0.43l1.1,0.21l7.07,-0.13l0.97,-0.4l3.91,-3.5l0.15,-1.23l-0.84,-1.28l0.17,-0.27l2.11,-1.41l1.27,0.67l-0.61,1.34l0.09,0.66l1.04,0.84l1.49,0.2l0.57,0.44l-0.81,2.13l1.08,2.45l-0.68,1.9l-1.08,1.37l-0.03,0.82l2.74,1.19l2.9,5.97l-1.57,-0.51l-1.19,0.15l-2.06,2.16l-0.26,3.55l0.28,0.98l1.14,1.35l2.01,0.94l-0.71,2.21l1.08,2.44l0.14,1.21l-0.42,0.11l-1.89,-0.85l-0.61,0.29l-0.25,0.8l0.37,1.08l1.37,1.29l0.09,2.58l0.53,1.04l0.99,0.99l-1.22,0.55l-0.06,0.68l1.22,1.14l2.14,1.28l2.35,2.75l1.39,1.16l0.78,0.12l1.66,-0.72l1.83,1.44l0.04,2.34l-0.95,1.98l-0.46,0.34l-1.51,0.1l-0.4,0.9l0.69,0.69l2.45,0.87l-0.21,1.54l1.79,1.53l-0.39,1.61l0.15,0.54l2.69,1.1l1.9,0.12l1.91,0.96l1.45,0.05l1.11,2.72l4.69,3.56l0.78,1.3l1.62,1.6l0.61,1.39l1.23,1.13l0.83,2.66l-1.94,0.8l-0.27,0.67l1.04,0.98l-0.28,4.6l-0.48,1.5l1.08,2.33l-0.47,1.99l-1.17,1.07l-0.28,0.72l0.02,3.22l-0.71,1.13l-0.08,1.39l0.26,1.1l0.77,0.88l2.06,0.96l0.86,0.03l0.58,1.51l1.57,2.49l-5.03,3.67l-0.19,-0.91l0.5,-0.96l-0.02,-0.89l0.57,-0.43l0.07,-0.58l-0.7,-0.76l-1.15,-0.1l-5.56,5.04l-1.96,-3.02l-3.03,-0.16l-2.05,-1.63l-0.93,0.08l-2.24,2.61l-0.28,1.89l1.85,3.16l4.41,2.87l-0.26,0.73l-1.5,0.64l-0.4,0.64l0.12,1.11l0.98,1.84l0.19,1.19l-0.14,1.29l-1.13,2.82l0.19,0.81l-4.23,0.38l-1.51,1.42l-0.39,1.58l-9.25,4.8l-0.75,-0.36l-0.51,-1.82l-0.62,-0.49l-0.81,-0.12l-2.79,1.54l-3.46,0.66l-1.4,1.2l-1.01,1.61l0.17,1.69l-6.03,6.88l-0.03,0.47l0.88,1.4l1.4,0.27l1.82,3.45l3.09,4.45l1.54,4.46l3.86,15.17l2.64,5.14l0.29,1.53l-0.17,4.59l-0.71,2.69l-2.83,6.77l-1.22,0.8l-0.36,0.66l0.2,1.44l2.23,3.13l-0.36,4.33l-0.43,0.61l-0.46,2.19l-0.97,0.93l-0.14,0.54l0.45,0.71l1.34,0.14l2.31,5.03l-0.66,0.29l-0.88,1.27l-2.25,0.27l-0.98,1.58l0.2,0.77l1.27,1.05l0.59,1.08l1.44,0.35l0.21,0.37l0.54,6.42l0.83,2.5l-0.49,1.58l-3.29,-0.55l-0.57,1.1l-0.13,1.76l-0.51,0.56l-1.24,-2.81l-1.02,-0.68l-1.91,-0.04l-2.51,0.59l-2.18,1.03l-3.26,0.94l-2.28,0.02l-2.3,-0.48l-4.2,-1.44l-3.11,1.28l-7.24,5.55l-4.24,1.86l-3.56,-0.78l-1.54,0.64l-0.96,1.29l-3.38,0.68l-1.16,0.76l-1.15,-0.49l-4.02,-0.65l-1.38,-0.64l-1.47,-1.59l-1.45,-3.71l-0.9,-0.99l-1.1,-0.57l-3.16,-0.36l-5.3,-2.32l-6.08,-0.37l-1.75,-0.45l-9.28,-5.3l-1.64,-4.39l-0.84,-0.41l-2.61,-0.39l-10.32,-6.38l-3.9,-0.52l-0.39,0.61l0.85,1.29l3.3,2.99l7.36,3.46l1.19,1.48l2.06,5.28l2.2,2.82l0.05,0.63l-7.24,0.21l-10.93,-1.06l-2.02,0.65l-1.63,1.48l-3.44,0.94l-3.75,0.3l-2.28,-0.51l-4.07,-2.89l-0.0,-0.35l1.48,-0.3l0.17,-0.7l-2.61,-2.11l-3.21,-1.6l-2.8,-0.15l-0.39,0.26l-0.88,2.45l0.2,0.52l-3.89,0.05l-0.36,-1.46l-1.15,-1.75l1.81,-2.78l-0.64,-1.64l-1.25,-0.37l-1.94,0.03l-2.36,-3.55l-1.48,-0.5l-1.27,0.89l-0.6,2.77l-0.84,0.47l-0.62,-0.4l-0.8,-4.17l-1.94,-0.73l-2.44,-0.12l-1.76,0.81l-0.19,0.53l0.74,1.6l-1.06,0.46l-6.26,0.86l-1.09,0.55l-1.37,1.75l-1.19,3.35l-3.35,1.88l-1.07,1.02l-0.23,1.16l0.64,1.98l-0.57,1.23l0.24,0.55l2.01,0.55l4.7,2.66l1.89,-0.1l4.23,-2.09l4.66,-0.68l3.36,0.79l-0.35,1.88l-0.15,-0.7l-0.38,-0.23l-1.05,0.2l-0.61,0.52l-0.23,0.92l0.39,1.05l-0.04,2.04l-0.6,1.57l-0.94,0.27l-2.12,-2.69l-1.8,-1.31l-3.1,0.31l-3.0,1.71l-1.41,2.72l-2.72,0.39l-6.21,-0.03l-3.62,-0.83l-0.82,-0.46l-1.14,-2.27l-0.86,-0.78l-3.62,-0.76l-1.88,-0.01l-5.49,0.82l-1.66,1.49l-1.77,0.46l-2.99,1.55l-1.71,2.02l-0.83,0.49l-4.31,0.83l-12.49,0.0l-0.63,-2.57l-0.72,-0.73l-6.5,-0.43l-1.31,-0.58l-0.48,0.13l-3.26,3.92l-1.73,0.85l-8.06,1.44l-2.04,-0.23l-3.3,-1.5Z", "name": "Baden-W\u00fcrttemberg"}, "DE-HH": {"path": "M382.17,201.49l1.03,-4.25l1.01,-1.1l0.43,-1.53l1.53,0.25l1.9,1.12l-0.31,2.69l0.56,0.58l0.89,0.21l1.29,-0.59l9.63,-6.45l2.35,-0.59l3.23,0.43l1.08,-0.69l1.02,-2.14l0.79,-0.68l1.76,-0.41l1.82,0.19l1.03,-0.46l0.68,-0.62l1.26,-4.23l0.66,-0.65l5.87,0.76l2.92,-1.83l1.14,0.05l-0.19,0.95l-2.1,2.91l-0.53,1.56l0.61,0.99l3.39,2.06l0.35,2.25l1.08,0.81l0.23,0.58l-0.72,2.55l-0.38,3.79l-3.08,0.95l-0.69,0.69l0.75,3.35l0.24,2.74l0.57,0.79l2.65,0.87l3.34,4.02l2.89,1.46l3.39,3.0l0.77,-0.01l0.52,2.29l-3.7,0.0l-1.1,0.29l-1.09,0.58l-2.35,2.62l-5.14,0.28l-1.52,-0.28l-1.48,-0.87l-2.17,-2.25l-2.1,-0.52l-2.94,-2.3l-5.11,1.36l-0.52,0.74l0.02,1.1l-4.04,1.6l-1.45,0.08l-2.33,-1.12l-3.08,0.96l-0.5,-3.1l-0.71,-0.98l-1.08,-0.39l-0.95,0.26l-1.87,1.9l-0.36,0.03l-3.85,-3.12l-1.12,-1.56l-1.12,-2.55l-1.1,-0.86l-0.5,-1.05l-0.81,-0.75l-0.35,-4.61l4.86,0.88l1.48,-0.45l0.2,-0.61l-1.22,-1.74l-3.84,-1.89l-3.7,-0.37Z", "name": "Hamburg"}, "DE-SH": {"path": "M521.78,88.19l-2.9,0.15l-2.4,-0.32l-0.89,-0.89l0.18,-2.57l-0.74,-1.47l-1.51,-0.44l-2.57,-0.07l-1.16,0.28l-1.07,0.79l-0.94,-1.55l-1.39,0.36l-0.17,-1.2l2.65,-5.28l3.69,-2.91l4.54,-0.62l8.23,2.86l3.15,2.45l6.78,10.31l-11.47,-1.56l-2.02,0.86l0.01,0.81ZM297.93,104.64l0.36,-1.02l-0.4,-0.57l-2.98,0.29l-5.15,1.27l-2.94,0.28l-3.64,-0.47l-1.64,0.55l-3.2,2.49l-0.96,0.26l-2.44,-0.71l-2.68,-1.98l-1.93,-2.83l-0.26,-3.23l1.2,-1.2l2.57,-0.94l2.93,-0.48l2.27,0.09l0.42,-0.4l0.0,-0.92l-0.33,-0.39l-1.67,-0.32l-1.27,-0.98l-1.44,-0.4l-1.58,1.41l-0.5,-0.88l0.25,-1.31l1.64,-2.22l2.06,0.68l7.91,-1.75l10.74,0.0l2.58,-0.55l2.22,-1.11l4.11,-2.93l3.74,-1.49l1.7,-1.04l0.85,-2.54l-0.08,-3.53l-2.55,-3.16l-7.98,-6.94l-1.08,-1.36l-0.61,-1.58l-1.14,-0.7l-2.02,0.05l-3.03,0.96l-0.23,-0.34l2.98,-1.65l0.17,-0.52l-3.43,-7.38l-1.3,-1.95l-2.95,-1.54l-5.28,-3.73l-3.16,-1.27l0.51,-3.29l-1.28,-2.77l-3.21,-5.04l-0.54,-3.45l0.43,-3.06l1.2,-3.56l3.17,0.78l3.62,0.13l6.78,-2.02l2.21,-0.27l7.75,1.07l7.73,2.54l20.73,3.93l1.46,1.04l0.71,3.18l0.72,1.62l2.1,0.8l8.69,-0.2l1.08,-0.82l1.3,-0.29l1.15,-0.79l1.51,-0.28l2.04,1.47l1.66,0.15l3.06,-0.45l5.85,-2.38l1.92,-1.88l2.51,-0.89l1.19,-1.71l0.64,-0.42l0.28,4.22l0.29,0.36l4.85,1.43l5.97,0.25l3.99,1.42l6.45,3.17l1.04,2.34l1.49,1.4l2.63,-0.37l4.47,-1.38l0.28,-0.44l-0.33,-2.4l1.78,-0.1l3.03,1.51l2.13,2.18l1.31,4.55l0.66,1.17l2.4,2.37l-0.68,0.42l-3.25,-0.76l-2.58,1.84l-1.55,0.47l-0.33,0.53l-0.05,1.25l0.38,0.41l1.44,0.08l2.64,-0.63l2.34,-0.11l1.35,1.46l0.52,0.06l0.96,-0.67l0.78,-0.05l0.31,0.47l-0.63,1.72l0.47,2.08l0.06,2.62l-1.04,7.93l-1.55,3.35l-1.19,1.39l-3.09,2.32l-3.88,1.74l-4.19,1.1l-4.08,0.37l-0.36,0.4l0.0,0.93l0.24,0.37l4.47,1.81l23.6,-4.54l1.68,0.48l5.45,3.83l-1.69,1.55l0.03,1.65l1.24,3.65l-0.51,1.63l-1.3,1.58l-1.67,1.14l-1.62,0.4l-0.21,0.65l0.53,0.59l-0.55,0.77l0.06,0.53l0.96,0.84l0.24,0.91l-0.33,1.1l-0.92,1.24l-0.01,0.47l0.44,0.15l2.32,-0.74l1.7,-1.71l2.31,-4.21l1.32,-4.52l0.63,-1.0l0.82,-0.44l3.76,-0.35l1.47,-0.73l1.95,-2.12l0.98,-0.26l4.04,0.29l2.06,0.82l5.99,3.86l15.42,5.52l8.7,6.62l4.2,0.89l4.76,-0.7l3.37,-1.69l5.58,-4.2l3.18,-1.66l3.31,-1.13l3.58,-0.38l0.18,0.51l1.7,0.62l1.78,-0.4l2.53,1.22l6.75,-3.35l2.25,0.69l-3.98,3.91l-1.86,-0.76l-0.43,0.11l-0.06,0.44l1.04,2.16l0.89,5.33l0.74,2.47l-0.7,1.74l0.07,2.35l0.65,3.82l-0.39,2.14l-1.78,1.95l-0.49,1.18l-11.26,5.92l-3.99,4.11l-1.62,0.85l-4.58,1.06l-0.87,0.53l-1.3,-0.92l-0.88,-0.07l-0.99,0.45l-5.4,6.39l0.04,1.02l1.34,2.69l1.43,1.94l1.98,1.36l2.8,0.75l3.85,-0.3l0.74,0.24l0.58,1.17l0.48,2.85l1.69,0.61l0.03,3.92l0.76,0.99l0.95,0.56l3.23,0.85l-0.73,0.48l-2.99,0.39l-0.34,-0.34l0.07,-1.26l-1.81,-0.67l-0.89,0.03l-2.4,1.29l-4.79,3.63l-4.49,2.09l-1.24,1.91l-0.47,1.93l1.17,2.93l0.79,3.5l-1.22,5.47l0.1,0.82l0.48,0.35l4.31,0.71l3.87,4.28l1.12,0.84l0.86,0.41l2.17,-0.23l2.65,0.66l2.18,1.53l0.62,0.86l0.1,1.61l0.97,1.86l-0.24,1.9l-1.39,1.01l0.1,2.43l1.27,4.35l-0.04,0.34l-0.84,0.4l-0.14,0.63l0.84,0.33l-1.79,1.8l-0.86,-2.34l-1.15,-0.78l-5.04,0.52l-1.59,-0.49l-1.38,0.31l-0.31,0.71l0.5,2.57l-0.9,2.1l-0.2,2.0l-5.86,3.54l-5.51,1.41l-1.3,2.66l-1.42,-0.26l-1.38,0.17l-2.21,1.08l-0.64,0.97l-0.81,4.25l-0.01,1.64l-0.43,1.23l-1.94,2.42l-2.9,0.99l-3.88,-1.09l-13.96,-6.88l-3.53,-1.09l-2.0,-0.09l-0.67,-2.82l-1.09,-0.23l-3.27,-2.89l-2.93,-1.5l-3.3,-3.99l-2.68,-0.89l-1.2,-5.99l2.97,-0.89l0.67,-0.51l0.5,-4.11l0.73,-2.63l-0.2,-0.87l-1.19,-0.93l-0.42,-2.39l-3.56,-2.2l-0.3,-0.51l1.39,-2.57l1.34,-1.74l0.2,-0.88l-0.56,-0.81l-1.75,-0.07l-2.78,1.79l-5.89,-0.78l-1.24,1.16l-1.24,4.18l-0.36,0.28l-0.63,0.34l-1.89,-0.17l-2.03,0.49l-1.08,0.92l-0.97,2.08l-0.72,0.45l-3.1,-0.46l-2.63,0.69l-10.73,6.95l-0.54,-0.41l0.41,-2.01l-0.17,-0.77l-2.24,-1.36l-1.88,-0.31l-0.6,0.29l-0.47,1.62l-0.96,0.96l-1.21,4.74l-4.38,-0.41l-3.52,-1.14l-7.0,-3.69l-3.1,-2.85l-1.11,-4.13l-0.67,-5.99l-1.21,-1.03l-6.07,-2.52l-2.27,-1.69l-2.23,-3.93l-1.52,-4.25l-0.14,-2.63l-0.28,-0.36l-3.52,-1.13l-6.15,-4.31l-3.86,-1.9l-3.73,-0.71l-12.4,-0.23l-3.67,-1.38l-2.55,-0.58l-1.41,0.63l-1.0,1.28l-1.96,-0.53l-3.36,-2.08l-3.22,-3.23l-7.84,-12.88l3.27,-1.22l1.73,-0.11l2.24,0.5l3.81,2.07l2.2,0.6l2.4,-0.84l0.96,-1.67l0.83,-2.74l0.55,-2.93l-0.02,-2.16l-1.23,-1.63l-3.04,-2.57l0.25,-2.25l-0.3,-0.39l-2.55,-0.6l-3.43,0.51l-3.28,1.27l-2.08,1.57l-4.26,-6.58l-0.21,-0.51l0.74,-2.51l2.52,-4.46l-0.66,-2.92l0.96,-0.59l5.72,-1.08l1.23,-0.75l3.16,-3.93l1.02,-2.09l-0.42,-0.57l-2.24,0.35l-3.82,2.63l-1.25,0.45ZM505.27,92.96l1.41,-0.15l0.0,0.09l-1.41,0.06ZM297.84,80.79l-4.13,0.26l-1.82,-0.53l-0.72,-1.01l0.85,-0.54l0.14,-1.05l-0.95,-1.26l2.66,-2.06l3.33,-1.23l3.77,-0.18l3.41,0.73l-0.11,1.55l-1.7,1.34l-2.58,3.1l-2.15,0.89ZM276.26,76.33l-2.63,1.21l-1.99,-0.03l-1.07,-0.76l-0.89,-1.73l0.52,-1.88l3.0,-1.63l5.83,-2.0l0.12,0.91l-0.75,3.16l-2.15,2.75ZM278.04,137.9l-0.16,0.39l-0.79,-0.21l-1.19,-1.75l0.24,-1.51l0.94,-0.79l0.28,-0.0l0.13,1.76l0.87,0.87l-0.32,1.25ZM248.66,23.66l4.99,1.03l5.58,-0.23l-3.34,1.97l-1.38,0.32l-6.64,0.0l-1.42,-1.42l-1.93,-0.32l-4.34,2.32l-0.85,4.57l0.33,7.4l-0.75,4.1l-0.46,-1.36l-0.08,-3.51l1.13,-14.71l0.91,-2.83l7.39,-16.61l1.52,-1.52l0.16,0.48l2.49,0.21l0.62,1.29l-0.73,1.57l-4.0,1.85l-1.92,2.34l-1.02,2.74l0.83,2.71l-0.56,4.74l3.48,2.89ZM250.3,1.86l1.38,-1.39l2.81,1.2l-4.19,0.18ZM264.77,24.24l8.78,-0.35l-1.1,0.7l-7.68,-0.34ZM266.78,50.31l-0.69,0.79l-1.15,0.3l-1.55,-0.15l-2.54,-1.02l-2.45,0.75l-3.03,-0.75l-5.27,-2.63l1.64,-2.42l2.11,-1.64l2.57,-0.82l3.21,-0.22l5.36,0.26l2.06,1.01l1.62,2.25l0.0,0.67l-0.78,1.07l-1.09,2.55ZM245.09,48.48l-1.98,1.85l-0.04,0.5l4.9,7.42l1.39,0.69l-0.71,0.49l-3.09,0.9l-2.09,-1.53l-1.81,-2.65l-1.77,-1.95l2.64,-4.0l1.65,-1.46l0.9,-0.27ZM203.59,118.61l-0.73,0.18l-0.01,-0.01l0.73,-0.17ZM200.05,118.64l0.62,0.33l0.13,0.51l-0.19,-0.05l-0.56,-0.79Z", "name": "Schleswig-Holstein"}, "DE-NW": {"path": "M55.93,626.7l-2.43,1.05l-2.02,0.01l-0.12,-0.64l-3.35,-4.89l-0.11,-1.32l1.36,-4.73l0.08,-2.23l-0.47,-0.71l-0.78,-0.22l-0.72,-0.99l-0.76,-2.27l0.19,-0.81l1.12,-1.25l-0.36,-0.27l-5.94,-0.89l-1.95,-0.84l-3.93,1.09l-0.8,-0.03l-2.0,-2.3l0.56,-0.8l-0.3,-0.63l-1.62,-0.26l0.61,-1.03l-0.03,-0.52l-1.4,-1.48l1.56,-2.05l3.02,-2.1l2.17,-1.08l1.97,-2.9l-0.18,-1.09l-0.38,-0.29l-6.7,-0.14l-1.83,-0.8l-0.86,-1.39l0.93,-0.5l0.13,-0.6l-5.97,-7.63l-1.95,-1.64l-1.98,-0.21l-3.82,0.88l-0.98,-0.1l-0.26,-0.73l0.3,-2.6l-1.78,-1.06l0.34,-2.53l-1.65,-1.41l-0.9,-1.92l1.19,0.11l1.54,-1.29l0.53,-1.74l-0.29,-2.13l0.72,-1.09l1.15,-0.55l2.11,0.15l1.49,-1.33l0.63,-1.48l0.01,-1.16l-0.8,-2.56l0.85,-1.92l-0.26,-0.52l-3.17,-0.92l-2.85,-1.74l-0.35,-2.63l0.95,-2.34l-0.63,-0.96l-3.45,0.35l-4.06,-0.85l-4.74,1.51l-0.12,-2.95l-1.5,-3.69l-0.49,-2.68l2.29,-1.01l1.12,0.53l2.47,2.25l2.32,-0.18l1.28,-1.2l1.86,-3.25l1.25,-1.2l9.02,-5.89l5.56,-2.51l1.59,-1.71l-0.05,-0.58l-1.63,-1.26l2.52,-1.57l0.22,-0.39l-0.29,-0.35l-2.56,-0.61l-4.71,2.69l-1.95,-0.9l-0.63,-2.15l0.27,-2.78l0.81,-2.49l3.05,-3.5l5.0,-7.67l3.42,-2.21l1.08,-1.23l0.62,-1.84l0.3,-2.78l0.54,-1.08l-0.08,-0.46l-1.35,-1.34l0.12,-2.18l1.1,-5.36l-1.18,-6.76l-4.06,-4.01l-6.46,-7.37l-0.37,-1.41l1.63,-4.65l-0.24,-0.52l-6.56,-2.39l-2.02,-2.13l1.24,-3.47l-1.09,-1.27l-3.43,-1.89l-3.55,-0.18l0.05,-0.93l2.19,-1.97l0.17,-2.64l-1.35,-2.74l-2.12,-1.41l0.21,-0.73l1.43,-0.84l3.93,-0.58l1.97,-0.69l3.43,-1.87l3.87,-0.86l7.0,1.5l0.42,-0.18l-0.02,-0.46l-1.37,-1.78l-4.3,-3.59l2.5,-1.12l2.97,1.16l3.21,2.14l3.32,1.13l3.85,-0.47l2.11,2.52l3.93,0.58l1.34,0.65l0.26,1.83l0.49,0.33l3.97,-1.12l0.41,-1.53l-0.62,-2.3l5.63,1.38l2.23,-0.01l1.7,-0.65l4.78,-3.04l9.66,-2.73l8.64,-0.23l2.81,-1.22l2.45,-2.4l2.21,-3.32l1.99,-1.19l0.24,-1.89l-0.26,-1.01l-3.26,-3.11l-9.91,-4.28l-0.17,-1.68l0.56,-1.13l3.09,-0.94l0.86,-0.93l1.26,-2.32l1.58,-1.36l1.46,-0.67l6.5,-0.66l1.34,-1.05l2.14,-3.6l1.8,-1.56l4.24,-1.55l2.04,-1.52l3.27,-4.01l4.31,-2.16l0.46,-0.99l2.13,0.05l4.05,-1.42l2.66,-1.82l13.4,-0.46l4.12,-0.75l6.73,-4.09l2.95,-0.61l1.84,-0.9l5.03,-4.3l4.49,-3.08l1.76,-0.41l2.87,0.2l1.62,-1.66l1.44,-3.57l1.19,-0.82l-0.18,-0.83l-1.47,-1.15l-0.31,-0.85l1.14,-4.04l0.83,-0.74l7.55,2.02l0.72,1.36l0.83,4.52l0.4,0.68l2.91,1.13l6.57,3.41l1.49,1.44l1.55,0.32l6.37,-2.07l0.76,0.12l3.51,3.8l2.76,3.96l0.09,0.4l-3.29,0.46l-0.78,0.57l-0.12,0.76l0.36,1.19l1.3,1.98l-2.86,2.97l-0.04,0.87l0.86,1.97l-0.7,1.17l-1.65,1.64l-0.05,0.79l0.94,1.08l2.43,0.39l0.46,1.39l0.97,0.63l4.31,-0.22l2.16,0.72l0.15,0.34l-1.33,2.47l-1.17,3.41l-4.06,0.57l-2.52,0.96l-2.97,2.23l-0.27,0.92l2.18,4.83l6.27,2.39l0.81,-0.34l4.22,-3.35l1.41,-0.56l3.43,-0.5l3.67,1.05l6.98,-2.19l3.06,-1.83l2.3,-2.57l2.98,-2.17l12.26,2.9l0.96,-0.18l0.88,-0.59l1.67,-3.2l4.88,-2.72l1.7,-2.05l0.55,-1.04l0.05,-0.96l-3.34,-2.18l-0.25,-1.08l-0.08,-11.85l-1.04,-4.5l-0.89,-2.15l-1.37,-1.81l-2.9,-1.75l-6.35,-2.47l-1.11,-1.42l-1.66,-4.59l1.55,0.46l2.19,-0.01l2.08,0.6l5.68,-0.63l2.55,-1.25l0.65,-1.03l0.93,-3.65l3.06,-2.06l6.74,-0.07l1.67,-0.29l4.8,-1.93l0.89,-0.01l1.52,0.51l1.54,1.11l2.61,3.94l0.32,1.87l-0.24,2.96l0.57,1.39l-0.38,3.23l0.55,1.42l1.51,0.5l10.16,0.9l3.26,-0.31l3.47,-1.18l6.68,-1.27l0.88,-1.06l1.47,-3.79l1.4,-2.26l2.54,-2.16l5.36,-2.34l1.15,0.22l1.6,1.84l1.89,0.68l-0.64,1.47l-1.45,0.96l-0.33,0.56l0.21,1.35l1.64,4.23l-3.1,4.14l-1.73,3.09l-2.63,1.5l-2.96,-0.18l-1.1,0.27l-0.85,1.0l-0.65,1.5l-1.24,7.23l0.46,1.22l0.86,0.67l7.25,2.04l-2.58,1.61l-0.45,0.82l0.82,3.08l-2.42,-0.06l-3.08,0.73l-0.27,0.55l1.88,4.18l-0.01,0.68l-1.06,2.04l0.64,0.61l6.37,-0.63l6.9,0.79l0.59,0.31l0.09,0.59l-0.49,1.24l0.2,0.95l0.95,0.8l2.63,0.93l0.95,1.12l0.1,0.66l-1.26,2.95l2.16,5.18l-0.45,1.13l-1.6,1.2l-0.52,2.01l1.43,0.94l3.48,1.21l0.64,-0.15l0.73,-1.32l1.1,-0.28l3.87,1.35l-1.17,4.15l-1.82,1.87l0.06,0.61l0.98,0.23l3.76,-0.28l2.16,0.87l0.73,1.16l0.34,1.49l-0.2,1.35l-1.37,3.36l0.29,0.54l1.15,0.2l3.23,-0.87l4.42,0.14l4.48,-0.92l-2.0,3.15l0.49,0.92l1.58,0.46l-0.82,1.1l-0.09,3.0l-1.71,3.84l-2.65,1.82l-0.57,1.45l-0.99,1.14l-0.21,1.53l0.39,3.02l-0.62,1.5l0.26,1.49l-1.42,1.45l-0.29,1.32l0.22,1.73l0.79,0.79l1.58,0.03l3.52,-0.91l-1.46,1.85l-6.96,1.91l-1.4,0.8l0.05,0.8l1.94,1.48l-1.81,4.72l-2.41,2.34l-1.13,2.03l-3.45,2.21l-2.98,1.29l-0.92,0.77l-1.12,3.88l-1.78,0.03l-3.78,2.34l-4.23,-0.58l-1.75,-1.22l-0.39,-0.49l0.21,-1.95l-0.2,-1.25l-0.68,-0.91l-0.54,-0.45l-1.13,-0.09l-1.28,-0.55l-2.82,-1.58l-0.89,-0.15l-1.53,0.67l-4.08,0.89l-5.1,2.13l-0.71,0.78l-0.32,0.99l0.13,0.92l1.31,1.81l0.43,3.76l0.57,0.43l2.07,0.26l0.53,0.46l-0.92,2.1l-4.29,0.32l-3.68,1.96l-4.52,-0.9l-3.64,0.83l-4.4,0.3l-4.62,1.48l-0.91,1.32l-1.85,1.04l-0.61,1.29l-3.19,2.69l-2.19,2.38l-1.57,2.64l-0.29,1.01l0.37,0.76l1.55,1.08l0.72,1.81l1.85,0.58l1.2,-0.27l1.16,-1.42l4.44,-0.76l2.24,-1.35l0.97,-0.06l-0.32,1.61l1.16,0.77l1.92,7.63l0.05,1.51l-0.13,0.47l-3.13,2.91l-2.22,2.6l-0.02,0.84l0.96,1.42l0.08,0.89l-4.12,2.16l-3.3,-0.7l-10.05,0.04l-0.37,0.26l-0.38,1.43l1.62,2.74l-0.25,1.65l0.95,3.65l-1.63,1.87l-1.69,3.16l-1.23,0.36l-0.72,0.72l-2.1,3.88l-0.3,3.39l-1.85,-0.11l-1.89,1.03l-3.03,2.64l-0.16,1.73l-2.81,1.64l-2.63,0.22l-1.48,-0.23l-1.64,-2.29l-2.24,0.01l-5.82,4.69l-0.86,1.01l-1.94,1.17l-1.02,2.04l-5.33,4.17l0.01,0.86l0.82,0.66l0.15,0.95l2.49,1.68l0.6,0.89l-0.77,4.27l-1.87,0.89l-1.11,1.82l-2.37,-1.24l-1.31,-0.31l-3.45,0.99l-0.58,-2.08l-1.67,-2.47l-4.17,-4.54l-0.94,-1.51l0.28,-3.74l-0.72,-3.13l-0.67,-1.41l-0.97,-0.23l-2.0,0.68l-1.67,-1.08l-3.78,-3.35l-2.68,-0.79l-1.08,-0.66l0.12,-1.17l0.94,-2.34l0.32,-1.85l-0.3,-0.46l-5.7,-1.33l-1.46,0.32l-3.2,2.53l-0.33,0.85l-0.16,0.97l0.37,3.2l1.24,2.68l-0.11,1.93l-2.86,-0.64l-2.5,2.24l-3.62,1.85l-0.08,0.66l2.14,2.17l-0.19,1.53l-0.5,0.14l-0.47,-0.49l-0.78,0.01l-1.51,1.89l-4.36,1.59l-1.46,2.23l-2.87,-0.08l-3.94,1.83l-8.12,1.89l-3.63,-0.26l-2.5,0.6l-0.95,1.15l0.41,0.64l-0.09,3.01l-0.85,1.41l-0.16,1.67l-2.95,1.78l-5.57,1.28l-5.38,-0.32l-0.92,-1.54l-1.91,-0.55l-0.55,0.4l-1.0,2.06l-0.69,0.25l-2.29,2.03l-0.86,0.22l-2.56,-0.62l-0.61,0.43l-0.88,1.56l-0.88,0.29l-1.85,-0.75l-1.42,-0.09l-6.19,3.41l-5.82,1.52l-1.24,1.89l-1.38,1.39l-2.22,0.55l-0.62,0.52l0.38,3.52l-0.22,2.44l-1.21,1.62l-1.13,0.16l-1.73,-0.55l-2.11,-2.71l-0.75,-0.03l-3.73,1.23l-1.67,0.82l-0.25,0.48l0.11,1.88l-0.83,2.32l0.33,0.6l2.15,1.22l0.36,3.93l1.67,2.69l0.26,1.05l-0.22,0.56l-7.54,1.84l-1.41,-0.24l-1.2,-1.27l-2.0,-1.16l-0.97,0.09l-2.6,1.46l-0.91,0.0l-0.24,-0.03l0.54,-1.3l-0.35,-0.63l-2.4,-1.2l-1.42,-0.31l-1.39,0.49l-4.43,0.67l-4.67,2.88l-2.0,0.62l-1.1,-2.2l-2.26,-1.19l-0.74,-1.22l-0.82,-0.6l-1.29,-0.14l-0.81,0.92l0.05,0.93l3.4,4.77Z", "name": "Nordrhein-Westfalen"}, "DE-SN": {"path": "M613.55,628.95l-0.88,-1.11l-2.79,-0.68l-2.12,0.03l-5.21,-2.72l-0.56,-2.5l0.23,-1.42l-0.35,-0.59l-2.13,-1.24l-2.07,-2.7l-1.04,-0.33l-2.37,0.21l-0.57,-0.77l1.09,-1.06l2.37,-0.89l0.4,-1.53l1.03,-1.22l-0.26,-2.05l-1.83,-1.59l0.74,-1.97l0.98,-1.16l2.32,-1.5l2.34,-2.48l1.81,0.24l1.6,1.61l1.88,0.2l1.29,-0.93l2.1,-2.93l1.3,-0.22l2.18,0.8l2.82,-0.78l0.93,-0.93l0.69,-2.02l-0.13,-2.55l2.56,-2.72l6.43,0.02l3.7,-2.24l1.2,-1.11l2.03,-2.95l-0.19,-0.6l-1.1,-0.37l-2.13,0.07l-0.86,-0.36l-1.17,-2.45l0.48,-1.71l-0.19,-0.66l-0.87,-0.75l-1.92,-0.08l0.8,-1.92l0.8,-0.57l1.42,-0.29l1.72,-1.87l-0.37,-1.2l-1.73,-0.68l-1.0,-0.94l0.08,-0.84l6.95,-1.75l3.87,-2.52l3.34,-0.33l1.12,0.65l0.76,-0.09l3.91,-4.23l3.73,-1.71l0.52,-0.45l0.24,-0.86l1.56,0.49l2.21,-0.21l3.23,0.36l1.42,-0.28l0.89,0.87l0.5,0.1l1.04,-0.77l1.12,-1.44l1.51,-0.7l0.31,-0.91l-0.06,-0.64l-2.07,-3.72l-2.37,-3.13l-5.65,-2.53l-1.2,-1.0l-3.96,-6.22l-0.75,-3.81l-0.29,-0.31l-15.19,-3.83l-6.4,0.51l-3.97,-0.65l-0.55,-0.56l-0.44,-2.26l-2.18,-1.75l-0.81,-1.35l0.44,-3.4l-0.31,-0.44l-2.72,-0.67l-0.03,-0.55l0.97,-1.14l0.45,-1.13l-0.27,-4.27l-0.46,-1.54l-1.79,-2.02l-0.13,-2.54l-0.78,-2.33l0.4,-1.27l1.39,-1.81l2.24,-0.4l0.73,-0.59l0.54,-2.67l-0.19,-1.2l-1.41,-3.02l-0.25,-5.06l-0.88,-1.57l-0.22,-2.52l3.36,-3.03l0.47,-1.66l0.0,-5.89l2.77,-1.98l0.82,-2.16l2.95,1.1l3.18,0.29l5.79,-2.16l7.22,-0.61l0.73,-0.41l0.85,-3.47l0.61,-0.21l7.64,0.27l1.43,0.76l9.37,-1.36l0.83,0.68l1.29,-0.04l2.24,-1.57l1.73,-2.62l1.25,-0.6l3.46,0.4l3.12,1.02l1.97,-0.78l5.13,-3.55l0.86,-1.06l2.42,-0.19l0.95,1.69l1.4,0.87l2.76,0.67l2.07,0.88l1.63,1.4l1.25,-0.19l1.72,-0.96l0.48,0.16l2.71,2.18l2.92,0.78l2.67,2.73l1.44,0.84l1.07,0.29l1.24,-0.44l2.87,1.9l-0.34,3.35l1.09,1.24l1.96,0.98l1.28,3.93l-0.21,1.01l-1.82,1.38l1.0,2.59l-0.17,3.23l-0.63,1.53l-1.33,1.1l-0.42,0.82l0.24,1.5l0.99,1.5l0.84,0.06l1.39,-1.45l0.88,0.11l0.74,-0.78l1.46,0.43l1.22,1.68l0.42,0.15l10.91,-3.01l1.5,-0.66l0.96,-0.85l2.02,-0.19l4.49,1.83l2.18,1.79l2.41,1.35l1.59,1.98l1.37,0.54l2.21,-0.3l5.81,1.42l14.92,0.95l16.88,-1.74l2.3,0.55l1.01,-0.3l7.43,-9.17l1.51,-2.95l0.22,-2.1l0.51,-0.86l3.79,-4.12l1.15,-0.88l3.86,-1.78l6.0,-1.21l4.61,0.5l3.44,1.06l3.56,1.87l3.87,-0.75l12.93,-5.38l4.18,-0.98l4.02,0.25l2.45,1.2l4.22,1.46l4.07,0.17l0.38,1.3l2.33,1.96l6.36,1.78l4.3,2.3l4.65,1.15l2.16,0.86l3.22,2.48l0.87,1.55l-0.78,1.66l1.39,11.49l0.33,1.01l1.82,2.65l2.23,2.2l1.34,2.38l-0.49,3.64l0.64,0.9l-1.54,2.53l-1.35,3.52l-0.8,3.65l-0.31,4.88l-1.95,2.47l-0.47,5.19l-9.27,18.97l-3.44,3.19l-1.44,1.97l-0.09,2.56l-1.51,3.37l-1.73,2.24l-1.42,0.32l-2.05,-0.06l-3.54,-0.66l-5.13,-3.01l-3.3,-0.79l-0.34,-0.69l0.32,-2.13l2.23,-4.98l-0.53,-1.73l-0.37,-0.26l-1.32,0.0l-5.24,1.82l-0.7,-0.46l2.4,-4.8l0.18,-1.95l-0.31,-1.4l-2.04,-2.41l-1.27,-0.84l-2.72,-0.6l-1.1,-0.64l-0.84,-0.97l-1.1,-2.63l-0.72,0.01l-0.79,1.66l-0.89,0.39l-3.47,-0.16l-2.84,1.01l-1.84,-0.43l-2.03,-2.05l-3.65,-1.0l-3.28,0.4l-2.68,2.26l-1.36,3.67l-1.05,1.27l0.12,0.61l1.3,0.68l3.27,0.36l1.27,0.43l-0.61,0.56l0.05,1.69l2.51,2.07l3.74,0.96l2.31,1.11l-0.5,2.77l-2.63,1.86l-7.56,-0.5l-3.63,0.62l-4.19,4.12l-15.18,5.82l-5.35,-0.28l-2.16,0.4l-3.49,2.82l-3.17,0.05l-1.0,1.08l-0.42,1.26l0.29,2.65l-0.51,0.61l-1.12,0.18l-2.78,1.45l-1.65,0.28l-4.52,-0.42l-2.2,0.2l-5.54,1.45l-8.78,-0.04l-4.64,0.74l-4.02,2.03l-0.17,0.56l1.06,1.85l-0.33,1.49l-1.2,1.3l-1.59,1.01l-0.14,0.53l0.51,0.92l-0.06,0.52l-4.72,3.92l-1.62,0.34l-2.0,-0.82l-2.51,-3.07l-1.67,-0.42l-0.96,1.18l-3.78,2.29l-1.57,3.35l-1.76,0.75l-3.18,-1.51l-1.91,-0.15l-0.4,0.24l-3.25,7.28l-1.34,2.04l-2.23,1.4l-5.05,-0.25l-4.63,1.08l-3.43,-0.9l-1.76,0.69l-1.43,7.74l-4.1,3.6l-3.12,-0.15l-9.01,-4.6l-1.07,-0.24l-2.84,1.1l-3.31,-0.12l-1.7,0.5l-1.46,1.18l-2.14,2.78l-0.96,0.78l-1.11,0.1l-5.28,-0.79l-7.34,0.46l-4.03,0.99l-3.7,2.69l-0.82,1.89l0.06,1.54l-1.51,0.27l-1.2,0.89l-2.84,1.34l-1.14,0.93l-3.09,4.69l-2.22,1.64l-0.8,1.0l-0.33,2.11l-1.85,1.99l-0.63,1.43l-0.3,2.41l0.86,3.81l-1.06,0.65l-1.37,-0.15l-0.85,-1.11l-1.85,-5.77l-2.4,-2.27l1.22,-1.33l0.11,-0.76l-0.4,-0.73l-1.02,-0.5l-2.77,-0.06l-1.31,-0.34l-0.94,-0.69l-0.32,-0.82l0.03,-2.13l-0.62,-1.37l-2.04,-1.29l-4.69,-0.34Z", "name": "Sachsen"}, "DE-HB": {"path": "M265.62,250.29l0.77,0.14l2.23,-0.47l2.69,1.38l7.16,2.2l2.11,-0.44l3.26,0.01l0.47,1.29l2.72,1.52l4.48,0.32l3.54,2.47l4.4,1.6l1.36,-0.49l1.23,-2.55l0.76,-0.22l3.33,3.07l-1.4,1.14l-0.28,0.91l0.47,0.95l2.35,2.05l0.26,0.56l-1.01,1.53l-0.59,3.76l-1.36,1.22l-3.97,2.26l-4.58,-2.93l-0.59,0.2l-0.14,1.16l-1.67,0.47l-1.73,-0.22l-5.32,-2.63l-5.13,0.89l-1.22,-0.18l-0.19,-4.35l-4.75,-4.35l-1.5,-1.88l-0.64,-3.9l-1.4,-2.3l-0.98,-0.62l-3.09,0.05l-2.31,-1.3l-3.92,-1.3l-1.3,-2.58l2.51,-0.02l2.99,1.58ZM261.84,196.51l4.03,1.21l2.2,0.32l4.13,-0.11l-0.95,1.95l0.35,1.49l1.13,2.28l0.64,2.7l-0.11,2.44l-1.57,2.18l-1.95,1.5l-1.06,-1.31l-1.38,-0.15l-1.41,-2.21l0.74,-3.74l-2.97,-5.84l-1.83,-2.72Z", "name": "Bremen"}, "DE-SL": {"path": "M65.93,746.0l-0.23,-1.93l-0.65,-1.16l-1.78,-1.49l-9.11,-3.87l-1.37,-0.17l-2.68,1.35l-1.34,0.11l-0.3,-4.41l0.59,-3.76l13.51,-1.05l11.44,0.43l6.27,-2.41l2.29,0.18l1.97,-0.33l14.47,-5.63l7.96,-4.23l2.89,1.17l0.89,-0.17l1.79,-1.14l7.05,3.24l6.38,0.31l2.11,1.74l4.12,2.71l0.79,0.23l1.21,0.11l1.89,-0.35l2.95,-1.49l0.05,1.82l1.71,3.48l0.25,3.41l0.57,0.68l0.74,0.13l0.16,1.73l-2.72,1.68l-1.93,2.1l-0.92,0.5l-0.54,0.98l0.61,1.93l4.08,4.23l-0.04,1.37l1.09,0.55l4.87,0.7l2.32,0.74l0.81,0.39l0.38,0.81l-0.64,1.56l0.39,1.37l-0.74,1.05l-2.08,1.61l-0.56,2.26l-1.52,1.52l-0.72,2.75l-1.14,1.4l-2.18,0.34l-0.95,1.98l0.91,4.25l5.38,4.66l1.21,0.05l-1.12,0.59l-1.6,3.08l-3.65,0.82l-2.07,2.79l-3.13,-1.11l-8.41,-0.07l-2.96,-1.08l-3.73,-2.3l-0.7,-0.12l-1.33,1.19l0.29,1.69l-2.64,1.41l-1.85,-1.23l-1.07,-3.29l0.05,-4.41l-0.38,-0.4l-2.04,-0.09l-6.05,-2.9l-1.21,-0.17l-2.89,0.23l-4.04,-0.78l-1.14,0.2l-0.86,2.29l1.06,3.9l-1.48,1.66l-1.02,0.2l-3.73,-1.17l-4.42,-0.05l-0.97,-0.35l-1.09,-1.54l0.73,-2.95l-0.62,-2.25l-0.78,-0.28l-1.53,0.75l-1.61,-4.5l-2.21,-1.07l0.12,-1.66l-0.28,-0.74l-6.51,-5.32l-1.57,-1.62l-0.52,-1.25l0.36,-0.78l1.85,-0.31l0.42,-1.34l-0.43,-0.9l-5.19,-4.82Z", "name": "Saarland"}, "DE-BY": {"path": "M307.24,662.75l0.86,-0.85l0.92,0.01l0.77,-0.48l0.41,-3.68l0.81,-1.04l3.72,-0.82l5.12,-2.0l2.55,1.34l1.32,0.36l-0.83,1.47l0.4,0.46l0.46,-0.03l2.16,-1.19l1.78,-1.75l0.49,-2.09l3.29,-0.87l9.69,0.58l4.61,1.99l0.68,0.67l0.77,1.74l1.59,1.62l2.33,0.32l1.62,-0.2l6.17,-2.23l0.81,-0.71l0.31,-0.73l-0.49,-3.2l1.7,-3.26l-0.64,-0.92l-2.32,-0.46l0.95,-3.62l-0.18,-3.43l1.88,0.4l1.07,-0.46l1.62,1.38l2.27,-0.43l1.71,0.66l1.51,-0.04l4.99,-1.4l0.46,-0.63l-0.67,-1.37l0.04,-0.77l0.65,-1.65l0.73,-0.82l0.6,-0.5l4.05,-1.4l1.68,-0.95l1.08,-1.11l0.12,-1.5l-0.59,-4.05l2.29,-6.91l1.08,-1.41l1.88,-0.6l2.59,2.37l1.15,0.36l2.03,-0.12l5.96,-1.94l6.14,-3.03l2.02,-1.47l1.25,-1.69l3.15,-4.7l1.02,-2.47l5.27,-4.94l1.17,-0.69l0.08,1.25l0.81,0.65l5.41,-0.31l1.16,0.29l1.63,1.47l0.74,2.27l0.54,0.65l9.39,3.01l0.77,1.25l0.03,1.8l0.44,0.78l1.44,1.0l1.71,1.89l2.58,1.75l-0.8,1.6l0.11,0.62l0.93,1.11l2.6,0.42l2.27,-0.53l0.56,1.24l0.9,1.03l2.62,1.88l0.23,1.17l0.56,0.48l2.81,0.21l1.06,-0.67l1.25,-0.14l1.25,2.28l2.44,1.7l0.83,4.11l-0.62,2.8l1.31,2.75l-0.33,1.46l0.63,1.21l1.07,0.93l4.39,-0.02l2.31,0.54l3.38,1.67l0.63,-0.1l0.41,-0.53l0.49,-4.06l0.51,-0.49l1.78,0.58l3.89,-0.64l3.02,0.94l1.19,-0.17l0.81,-0.86l0.12,-1.97l-0.74,-1.51l-2.78,-0.9l-0.75,-1.34l-0.65,-0.53l-2.94,-0.17l-1.83,-1.61l-2.67,-1.32l-0.59,-0.61l0.29,-3.55l0.33,-0.63l0.53,-0.32l1.93,0.55l0.91,-0.15l2.26,-3.1l0.7,-0.52l2.07,0.49l2.62,-1.16l2.08,0.23l1.63,-0.61l1.98,1.54l3.25,-0.73l1.24,0.05l3.26,4.0l1.12,0.8l0.76,-0.31l0.41,-1.39l2.52,0.3l1.03,0.66l0.58,0.81l0.94,0.27l3.67,-0.89l1.28,-1.14l1.14,-0.21l0.8,1.45l1.46,0.33l1.75,2.56l-1.95,2.16l-0.04,0.53l0.85,1.12l4.81,3.81l0.59,-0.1l1.09,-1.49l1.27,0.86l2.3,0.6l1.35,-0.24l0.41,-0.8l-0.17,-1.28l1.04,-2.16l-0.67,-2.01l1.11,-2.55l-0.17,-1.39l0.9,-0.32l0.25,-0.59l-0.33,-2.13l-1.14,-1.63l-0.11,-1.2l-0.5,-0.91l0.35,-3.12l-0.78,-2.67l0.16,-1.09l-0.65,-1.75l2.34,-0.94l1.98,-0.4l2.01,-1.11l0.52,-0.59l0.42,-1.4l1.23,-0.51l0.79,-0.82l6.04,0.28l1.44,0.39l0.99,1.7l-1.77,1.46l-0.24,4.31l0.32,1.33l3.45,2.23l1.36,-0.2l0.85,0.2l0.31,0.45l0.24,2.83l0.33,0.58l3.94,2.39l0.86,0.11l2.4,-0.52l1.34,-1.56l1.94,0.02l3.06,0.99l11.65,-2.06l1.71,-0.43l0.59,-0.74l2.05,-0.29l0.95,0.07l0.72,0.83l1.73,0.68l0.04,1.1l0.84,0.31l4.45,-1.52l3.2,-1.58l2.44,-0.21l0.65,0.23l2.01,2.64l1.96,1.08l0.37,4.11l0.46,0.54l5.42,2.83l2.27,0.01l2.57,0.63l0.21,0.31l-1.66,-0.1l-0.39,0.25l0.11,0.45l2.22,1.95l0.72,1.03l0.34,1.69l-0.16,1.44l-1.61,1.1l-1.23,1.55l-0.02,0.47l1.16,1.66l4.8,2.52l3.4,3.53l0.71,1.43l0.26,1.79l-0.67,2.84l0.08,2.18l0.97,2.1l4.34,2.83l0.78,1.13l0.55,3.29l15.17,6.93l1.41,1.16l3.71,0.4l1.43,1.15l0.22,1.61l-0.67,1.74l0.11,1.78l5.34,2.42l0.45,0.69l-0.28,2.29l-0.76,1.87l-2.24,3.49l-0.64,1.71l-1.62,-0.42l-0.48,0.26l-0.62,1.92l-0.34,4.58l-1.39,1.19l-3.99,1.43l-1.4,2.43l1.54,3.06l2.13,2.57l2.95,1.97l4.55,1.89l0.69,1.16l0.06,1.48l-0.78,1.47l0.13,0.52l0.72,0.37l-0.28,1.38l1.12,1.11l2.29,1.06l0.94,0.87l0.63,1.26l0.87,4.35l1.27,2.71l0.81,1.02l1.28,1.08l2.14,0.19l0.44,0.3l0.41,6.2l0.53,2.18l1.12,1.84l2.11,1.51l4.46,1.78l1.87,1.64l3.18,6.03l1.79,1.56l2.02,0.61l5.88,0.72l1.84,-0.21l0.34,-0.5l-0.33,-1.25l0.87,-0.23l3.62,0.84l1.6,0.72l4.11,3.4l1.69,0.63l1.12,3.4l3.2,3.22l1.21,0.59l9.1,10.48l1.3,2.51l1.71,2.25l2.78,1.38l6.04,0.27l1.85,0.61l1.11,0.81l2.99,3.39l4.11,3.55l1.02,2.05l0.06,3.46l1.49,2.17l2.89,2.32l3.15,1.92l2.35,0.96l0.51,-0.2l1.85,-3.44l1.14,-0.44l2.08,0.37l5.02,2.79l1.6,-0.1l0.24,2.12l1.04,2.3l1.58,2.05l1.73,1.48l1.97,0.81l3.69,0.51l1.23,0.58l2.21,2.93l4.73,8.01l1.76,1.57l-2.77,4.98l-0.27,1.32l0.72,0.39l0.98,1.59l1.19,0.69l-0.93,0.88l-0.25,1.51l0.51,4.16l-0.36,3.82l-0.59,1.59l-2.07,3.59l-1.4,0.86l-2.62,0.4l-0.87,1.54l-0.73,2.83l-3.74,-1.44l-1.54,-1.97l-3.43,-1.85l-10.31,-2.43l-3.36,0.39l-3.33,1.09l-0.98,0.8l-0.59,1.14l0.75,3.31l0.93,1.31l0.18,0.93l-0.24,1.09l-1.8,3.62l-0.19,5.97l-0.88,1.53l-0.74,3.27l-1.29,1.84l-9.51,7.1l-3.21,1.53l-13.46,2.01l-10.24,3.47l-1.71,1.03l-3.61,2.97l-3.18,1.52l-1.61,1.35l-5.06,0.84l-1.58,0.71l-4.05,4.56l-3.86,2.32l-1.84,2.3l-1.73,0.34l-0.82,1.06l-0.24,2.03l0.53,1.74l0.9,1.55l0.97,1.3l6.85,6.14l1.41,2.68l0.83,2.85l0.85,1.09l2.44,1.29l4.33,3.43l3.29,6.55l2.39,2.99l-6.14,8.46l-0.58,1.08l-0.38,2.35l-2.42,3.25l0.06,0.54l1.8,1.49l5.47,0.87l1.68,-0.24l2.39,-0.9l1.33,0.18l2.26,1.91l1.88,2.76l0.75,1.73l0.26,1.51l-0.25,2.82l-1.47,3.08l-1.87,1.89l0.16,2.88l-1.16,2.39l0.08,2.98l0.81,2.91l-3.21,3.13l-0.82,0.03l-2.2,-1.25l-1.18,0.06l-1.46,0.57l-5.65,-3.39l-5.34,-4.83l-2.51,-0.56l-2.21,-1.53l-0.47,-2.8l1.09,-2.63l2.53,-1.08l0.1,-0.68l-2.01,-1.66l-2.49,-1.41l-1.31,-1.38l0.9,-1.93l-0.41,-0.57l-1.62,0.18l-5.53,-1.21l-3.58,0.01l-3.5,0.72l-1.94,0.83l-4.41,3.37l-1.44,0.55l-3.9,0.29l-1.27,-0.54l-3.58,-2.72l-1.52,-3.59l-0.76,-0.97l-1.8,-0.26l-3.82,1.26l-1.56,0.22l-5.73,-1.03l-2.14,0.26l-3.1,1.1l-0.75,-0.58l-0.44,-1.13l0.9,-1.48l0.88,-2.83l-0.42,-0.58l-2.65,1.08l-2.36,1.68l-1.5,0.52l-0.26,0.45l0.6,1.9l2.2,2.3l0.16,3.24l-0.39,1.75l-2.66,2.94l-23.2,-0.73l-8.35,1.48l-1.11,0.57l-1.09,2.14l-0.75,0.21l-5.44,-0.96l-8.03,-0.03l-6.12,-0.79l-3.44,2.62l-1.92,5.31l-1.66,1.59l-2.01,0.69l-4.49,0.64l-4.61,-0.88l-2.36,0.46l-4.83,4.69l0.19,0.67l2.05,0.77l0.24,0.6l-0.65,0.95l-1.41,0.52l-4.19,0.09l-1.92,0.52l-2.04,1.59l-2.66,2.76l-1.98,0.78l-1.87,-0.18l0.19,-3.0l-0.27,-0.4l-2.32,-0.75l-2.59,0.63l-6.36,3.79l-1.81,0.48l-10.09,-0.13l-1.18,-0.59l-0.71,-1.19l0.59,-1.65l-0.45,-1.68l-4.9,-4.54l-5.06,-2.05l-0.36,-0.53l2.8,-1.64l0.91,-0.92l-0.07,-0.61l-3.34,-1.99l-1.63,-0.11l-5.35,1.9l-2.77,0.29l-0.65,-0.17l-1.31,-1.65l-12.95,-4.21l-2.49,-0.05l-1.67,0.96l-1.95,2.34l-1.13,0.78l-1.01,0.15l-4.07,-0.53l-1.45,-0.57l-1.12,-0.88l-0.13,-0.83l0.94,-1.84l-0.6,-1.59l-0.7,-0.28l-2.39,0.51l-1.47,0.5l-0.27,0.43l0.2,1.23l1.43,2.63l-1.1,5.97l0.22,0.44l2.06,1.33l0.48,1.0l0.38,1.46l0.02,2.56l-0.86,2.7l-1.39,2.45l-1.56,1.79l-3.99,1.77l-2.78,4.56l-1.72,1.99l-1.86,1.46l-4.33,2.29l-2.07,0.69l-7.6,0.8l1.04,-1.69l1.51,-0.48l0.76,-0.68l0.26,-0.97l-0.25,-1.51l1.75,-4.61l0.07,-2.24l-0.23,-0.38l-2.04,-0.87l-4.31,0.67l-1.64,1.38l-1.84,-0.58l-2.6,1.03l-0.76,-0.64l-0.46,-1.04l-0.36,-2.61l-0.84,-0.94l1.83,-1.22l0.61,-1.51l-0.9,-1.8l-4.86,-6.13l-0.46,-0.12l-2.68,1.35l-0.75,-0.39l-0.18,-1.4l-0.89,-1.68l-2.22,-2.21l-0.26,-1.94l-0.62,-0.28l-1.11,0.77l-1.35,0.23l-2.83,-0.19l-3.12,-0.93l-2.33,0.82l-1.74,-0.77l-0.3,-1.06l0.18,-1.57l-0.44,-1.68l-1.15,-1.08l-1.54,-0.52l-1.76,0.16l-1.54,0.73l-2.14,2.14l-1.14,2.09l-3.79,-0.83l-4.02,-2.5l-2.2,-0.96l4.11,-1.04l1.04,-1.33l1.35,-0.56l3.53,0.8l4.42,-1.94l7.33,-5.6l2.8,-1.14l3.86,1.42l2.37,0.49l2.45,-0.02l3.49,-0.99l2.12,-1.01l2.36,-0.56l1.69,0.03l0.49,0.32l1.53,3.25l0.63,0.05l1.06,-1.28l0.32,-2.33l2.77,0.72l0.95,-0.65l0.45,-1.9l-0.84,-2.57l-0.57,-6.54l-0.51,-0.77l-1.25,-0.17l-0.63,-1.11l-1.28,-1.18l0.73,-1.09l2.32,-0.31l0.78,-1.2l0.87,-0.35l0.19,-0.55l-2.55,-5.48l-0.46,-0.42l-1.19,-0.07l0.99,-0.98l0.52,-2.31l0.43,-0.62l0.41,-4.61l-0.21,-0.8l-1.3,-1.23l-0.94,-2.04l0.15,-0.59l1.32,-0.92l2.91,-6.98l0.74,-2.83l0.16,-4.81l-0.34,-1.72l-2.62,-5.07l-3.85,-15.14l-1.57,-4.54l-3.15,-4.58l-1.91,-3.58l-0.58,-0.34l-0.85,0.02l-0.61,-0.97l5.26,-6.27l0.65,-0.36l0.18,-0.49l-0.29,-1.44l0.86,-1.38l1.22,-1.05l3.32,-0.59l2.26,-1.41l0.64,-0.05l0.52,0.41l0.5,1.82l0.68,0.43l0.85,0.06l9.54,-4.95l0.53,-1.77l1.16,-1.12l5.1,-0.59l-0.07,-0.71l-0.53,-0.48l1.09,-2.68l0.18,-1.6l-0.23,-1.4l-0.9,-1.6l-0.18,-0.94l1.66,-0.87l0.43,-0.45l0.1,-0.83l-0.62,-0.92l-4.02,-2.53l-1.63,-2.66l0.12,-1.36l2.05,-2.42l2.29,1.65l2.94,0.13l1.54,2.66l0.82,0.44l0.86,-0.45l4.95,-4.66l0.73,0.33l-0.54,0.39l-0.02,1.02l-0.58,1.71l0.38,0.92l0.51,0.34l1.7,-0.72l4.25,-3.37l0.09,-0.53l-1.73,-2.74l-0.67,-1.65l-2.99,-1.08l-0.6,-0.67l-0.17,-0.81l0.06,-1.09l0.73,-1.24l-0.03,-3.13l1.39,-1.63l0.55,-2.26l-1.07,-2.44l0.47,-1.36l0.33,-4.38l-0.19,-0.8l-0.75,-0.6l1.86,-0.82l0.18,-1.17l-0.92,-2.48l-1.26,-1.18l-0.71,-1.52l-1.57,-1.53l-0.85,-1.38l-4.06,-2.83l-0.5,-0.58l-1.1,-2.75l-0.54,-0.32l-1.35,-0.01l-2.3,-1.07l-1.55,-0.02l-2.24,-0.82l0.39,-1.87l-1.89,-1.74l0.2,-1.55l-3.01,-1.34l1.83,-0.24l1.04,-1.59l0.6,-2.59l-0.35,-1.51l-2.28,-1.74l-0.95,0.09l-1.23,0.62l-3.67,-3.85l-3.02,-1.98l0.92,-0.35l0.31,-0.87l-1.55,-2.1l-0.17,-2.79l-1.4,-1.31l-0.23,-0.65l0.06,-0.21l2.18,0.83l0.87,-0.6l0.1,-1.15l-1.24,-2.85l0.7,-2.29l-0.29,-0.62l-2.05,-0.88l-0.86,-1.0l-0.22,-0.72l0.25,-3.33l1.56,-1.58l0.84,-0.1l1.86,0.55l0.62,-0.68l-3.12,-6.63l-2.65,-1.08l1.1,-1.43l0.77,-2.15l-1.08,-2.6l0.77,-1.6l-0.13,-1.06l-0.64,-0.52l-1.45,-0.17l-0.84,-0.48l0.52,-1.56l-0.13,-0.62l-1.08,-0.74l-1.14,-0.28l-2.36,1.58l-0.49,0.71l0.01,0.44l0.8,0.92l0.02,0.91l-3.59,3.2l-0.7,0.32l-7.69,0.0l-0.45,-3.4l0.24,-2.35l-0.43,-2.82l-0.44,-0.74l-1.19,-0.83l0.57,-1.19l-0.7,-1.14l-1.22,-0.12l-1.73,1.79l-1.44,0.57l-0.95,2.06l-0.66,0.3l-1.11,-0.51l1.98,-2.18l0.04,-2.29l1.77,-2.05l0.43,-1.48l-0.83,-1.39l-3.8,-3.59l-0.24,-4.98l-3.88,-4.3l-0.65,-0.13l-2.79,1.25l-3.39,3.08l-1.09,-1.87l-0.26,-1.92l-0.37,-0.42l-0.69,-0.04l-0.95,1.22l-1.44,0.77l-0.45,2.03l-0.73,0.27l-1.28,-0.13l-1.86,-1.01l0.85,-1.87l-0.08,-1.09l0.84,-0.79l-0.2,-1.41l0.56,-1.34l-0.32,-1.95l0.7,-1.47l-0.22,-0.68l-0.62,-0.5l-0.52,-0.04l-1.67,0.91l-2.47,0.68l-2.58,-1.4l-1.93,0.5l-1.07,-0.08l-5.23,-2.09l-1.95,-0.07l-3.63,0.46l-3.49,1.08l-4.71,-0.28l-1.32,0.34l-1.28,0.7l-1.63,1.68l0.67,2.26l-0.68,1.36l0.15,1.16l1.52,0.85l3.77,0.63l0.26,0.43l-0.4,1.79l0.49,0.74l0.92,0.08l0.9,-0.42l1.16,-2.18l2.28,0.8l-1.01,5.79l0.66,1.44l-1.49,1.17l-0.6,-0.04l-1.11,-1.02l-0.8,-0.27l-2.96,1.06l-3.2,0.23l-2.21,0.94l-0.91,1.03l0.29,2.08l-1.32,1.17l-0.69,1.82l-0.76,0.83l-6.21,0.17l-1.56,-0.21l-5.51,1.02l-0.81,-0.43l-1.36,-1.97l-1.97,-1.61l-0.28,-0.55l3.13,-2.68l0.61,-0.96l-1.14,-5.85l2.13,-0.38l1.38,-1.37l-0.23,-2.35l1.6,-3.44l-0.49,-0.75l-2.19,-0.91l-0.2,-0.63l1.53,-1.91l0.54,-1.57l-1.04,-1.29l-2.07,0.2l-1.03,-0.66l-0.76,-1.74l0.22,-3.05l-0.25,-0.72l-1.03,-0.1l-1.19,1.58l-0.64,-0.99l-3.46,-8.98l0.19,-8.9l1.56,0.51l0.63,-0.19l0.26,-0.5l-1.22,-2.34l0.03,-1.65l-0.89,-1.16l-0.52,-2.77l-0.62,-0.81l-1.3,-0.26l-1.47,0.54l-1.3,-0.69Z", "name": "Bayern"}, "DE-HE": {"path": "M189.06,662.8l6.22,-3.72l0.46,-0.72l0.37,-2.21l1.03,-1.35l1.72,0.1l1.59,-0.34l1.56,1.35l0.71,0.28l0.56,-0.14l1.0,-3.2l0.01,-0.9l-0.54,-0.58l-2.12,-1.09l-0.61,-0.67l-0.06,-0.76l0.19,-1.05l1.13,-2.19l1.06,-1.29l5.64,-2.46l1.19,-1.1l1.97,1.5l1.1,0.01l2.15,-2.8l-0.16,-0.7l-0.79,-0.83l0.65,-1.58l5.18,0.04l1.71,-0.39l1.12,-1.08l0.01,-1.4l-1.48,-4.04l-0.77,-1.2l-1.95,-1.33l-2.99,-5.25l-1.77,-0.79l-0.33,-1.2l-0.43,-0.34l-4.82,-1.27l1.32,-1.24l1.23,-3.58l1.88,-1.97l-0.26,-0.58l-1.68,-1.09l0.1,-5.36l0.34,-1.28l1.56,-1.0l1.46,-1.69l1.46,-0.49l1.42,0.13l2.34,2.22l1.53,0.16l0.9,-0.33l2.37,-1.77l2.65,-5.78l-0.4,-0.95l-0.99,-0.56l-0.54,-0.95l-0.35,-1.95l-1.97,-4.04l0.97,-2.07l0.42,-2.19l0.87,-1.67l0.55,-0.5l1.34,-0.37l0.43,-0.57l0.8,-4.78l-0.87,-1.26l-2.35,-1.53l-0.08,-0.85l-0.76,-0.58l0.0,-0.35l5.11,-3.82l0.98,-2.01l1.94,-1.17l0.84,-1.0l5.61,-4.56l1.55,-0.06l0.97,1.8l0.86,0.57l1.74,0.25l2.76,-0.24l3.21,-1.88l0.37,-0.79l-0.07,-1.12l2.78,-2.36l1.56,-0.88l2.12,0.06l0.52,-1.07l0.13,-2.84l2.01,-3.69l0.51,-0.49l1.34,-0.46l1.66,-3.08l1.9,-2.43l-0.97,-3.82l0.23,-1.74l-1.61,-2.78l0.25,-0.65l9.73,-0.04l3.41,0.7l4.7,-2.49l0.13,-1.34l-1.08,-1.92l2.08,-2.41l3.15,-2.93l0.33,-0.95l-0.07,-1.74l-1.95,-7.73l-1.12,-0.81l0.39,-1.08l-0.17,-0.64l-0.62,-0.46l-0.83,0.01l-2.71,1.53l-4.44,0.76l-1.35,1.51l-0.75,0.14l-1.38,-0.44l-0.54,-1.6l-1.74,-1.31l0.16,-0.72l1.5,-2.53l2.08,-2.26l3.23,-2.73l0.6,-1.27l1.72,-0.95l1.16,-1.45l4.72,-1.37l3.75,-0.17l3.54,-0.82l4.62,0.89l3.74,-1.97l4.02,-0.17l0.55,-0.29l1.0,-1.67l0.25,-1.18l-1.05,-1.11l-2.21,-0.32l-0.38,-3.62l-1.42,-2.11l0.62,-1.45l5.0,-2.08l4.02,-0.87l1.52,-0.65l3.17,1.66l2.7,0.9l0.5,0.61l0.17,1.06l-0.15,2.25l2.49,2.08l3.82,0.67l1.33,-0.08l3.58,-2.32l1.97,-0.15l0.56,-1.04l0.64,-2.92l7.03,-3.95l1.49,-2.4l2.0,-1.81l0.9,-1.62l1.49,-4.22l-0.27,-0.71l-1.68,-1.12l7.81,-2.32l0.86,-0.74l1.31,-1.93l0.99,0.39l1.68,-1.34l1.57,0.14l0.46,2.42l1.75,0.9l2.24,-0.07l1.99,-1.46l1.18,1.16l1.43,0.54l1.66,0.17l2.57,-0.67l0.82,1.66l2.26,1.14l1.16,2.98l1.77,1.61l-0.91,1.14l-2.57,-1.6l-0.99,0.03l-0.47,0.52l-0.05,0.71l0.99,1.75l-1.64,-0.47l-0.7,0.14l-0.31,0.51l-0.39,3.23l-1.24,0.25l-0.51,0.49l0.18,1.27l1.92,3.63l1.22,1.37l0.91,0.41l-0.82,1.44l0.67,1.4l-0.22,1.74l0.37,3.21l-0.37,0.67l-5.26,0.47l-1.71,1.99l0.1,1.18l0.7,1.56l-3.19,-0.74l-0.45,0.48l0.72,1.25l2.98,2.22l8.44,2.96l1.4,0.03l1.12,0.52l2.78,2.99l1.71,0.24l0.99,-0.41l3.57,-2.85l0.4,-0.61l0.05,-1.02l0.91,-0.92l0.25,-0.83l-0.71,-0.75l-0.63,-0.06l-2.27,1.39l-2.96,-2.41l-0.52,-1.13l5.21,-2.78l2.45,-0.67l0.99,-0.94l-0.43,-1.37l2.91,1.36l1.54,2.67l0.81,0.67l1.3,-0.11l0.91,-0.89l0.29,-0.97l-1.31,-2.87l1.9,-0.18l1.4,-1.02l0.32,1.9l3.81,2.58l-1.46,1.07l-0.75,1.73l0.64,2.78l1.28,1.69l0.21,2.45l0.43,0.75l1.62,0.46l0.82,1.1l1.15,0.78l1.9,0.02l4.46,1.18l0.25,0.35l-0.49,1.09l0.04,0.85l0.56,0.87l1.52,1.05l0.38,1.85l0.52,0.68l3.5,1.25l2.03,0.33l1.52,0.78l2.41,0.13l2.32,1.45l3.23,1.4l-0.24,0.85l-1.43,1.46l-0.63,1.44l-0.64,4.09l-0.9,-1.05l-0.05,-1.06l-1.42,-1.4l-1.74,-0.02l-2.24,0.52l-1.07,0.82l1.54,2.44l2.61,0.65l-0.33,1.29l-1.77,2.83l-0.63,3.16l0.4,0.72l1.69,0.29l1.23,0.8l1.93,0.22l1.12,1.6l0.27,1.05l-1.58,2.94l-5.34,0.22l-0.77,-0.42l0.07,-1.0l-0.63,-0.47l-1.56,0.41l-1.13,-0.34l-4.22,0.2l-2.58,1.51l-0.45,2.05l0.29,0.98l1.64,1.88l0.26,1.48l-0.27,0.7l-2.54,0.46l-3.39,-0.3l-1.58,-0.48l-0.99,0.34l-0.44,0.87l0.21,1.67l0.93,0.27l0.72,-0.49l-0.07,1.56l0.45,1.2l0.86,0.09l1.69,-1.65l1.02,-0.15l2.22,1.43l1.99,3.1l-2.73,2.91l-0.27,0.57l0.31,1.21l-0.24,1.38l-2.81,0.88l-2.01,0.22l-1.52,0.55l-0.92,0.75l-0.79,2.63l0.37,2.31l-1.66,0.35l-0.79,1.45l1.44,1.95l-0.21,2.08l-2.03,3.63l0.06,1.51l-1.9,1.56l-1.21,1.72l-0.4,3.33l0.25,0.99l0.53,0.55l0.64,0.09l1.67,-0.53l2.71,1.2l1.5,0.1l0.86,-0.45l0.74,-1.59l-1.3,-1.8l0.22,-0.79l4.97,-1.71l4.58,0.88l0.84,0.67l1.02,2.21l0.21,2.8l-1.57,0.46l-1.0,0.94l-0.37,0.8l0.33,1.49l-0.08,3.19l0.81,1.99l-1.2,4.17l0.37,0.84l0.48,0.17l-0.79,1.94l-4.23,6.19l-1.88,1.37l-6.08,3.01l-5.77,1.88l-1.85,0.11l-0.86,-0.29l-2.75,-2.43l-2.62,0.79l-1.26,1.68l-2.34,7.08l0.55,5.34l-2.41,1.72l-4.04,1.39l-0.82,0.67l-0.87,1.02l-0.73,1.9l-0.03,1.05l0.51,1.18l-4.68,1.27l-1.31,0.02l-1.71,-0.66l-2.15,0.43l-1.62,-1.37l-1.32,0.45l-1.62,-0.4l-0.79,0.27l-0.3,1.28l0.31,2.57l-0.98,3.73l0.55,0.82l2.43,0.55l-1.67,3.05l-0.14,0.8l0.59,2.64l-0.76,0.76l-5.86,2.1l-1.42,0.19l-2.14,-0.3l-1.19,-1.32l-0.89,-1.92l-0.71,-0.64l-4.87,-2.13l-10.04,-0.61l-3.71,1.06l-0.56,2.17l-1.63,1.62l-1.41,0.86l0.51,-0.78l-0.2,-0.69l-4.5,-1.94l-5.38,2.04l-3.79,0.85l-0.88,0.74l-0.36,0.83l-0.26,3.37l-1.59,0.36l-1.25,1.35l0.13,0.59l1.66,0.94l0.5,0.1l1.48,-0.57l0.77,0.12l0.34,0.4l0.51,2.75l0.93,1.28l-0.09,1.47l1.05,1.97l-1.77,-0.58l-0.52,0.37l-0.2,9.52l3.53,9.26l0.81,1.24l0.73,0.23l1.47,-1.73l-0.18,3.35l0.87,2.03l1.2,0.94l2.28,-0.17l0.56,0.73l-2.08,3.19l0.05,0.77l0.48,0.63l2.33,1.07l-1.56,3.17l-0.13,1.17l0.33,1.26l-0.96,0.79l-1.87,0.26l-0.66,0.5l0.08,1.81l1.07,4.11l-0.39,0.63l-2.41,1.88l-0.97,1.27l0.48,1.19l1.95,1.59l1.21,1.76l-0.66,0.9l-2.0,-1.11l-0.72,0.41l-0.06,0.94l2.49,2.72l2.67,4.35l-0.53,-0.08l-1.27,-1.24l-2.83,-0.14l-1.03,0.15l-2.22,1.81l-0.82,0.27l-2.29,-0.37l-5.77,0.21l-2.88,3.09l1.56,2.62l0.21,0.73l-0.38,0.71l-2.29,1.12l-0.74,-1.11l-0.8,0.1l-1.03,2.77l-3.65,3.39l-3.34,-0.68l-0.21,-0.48l0.2,-1.48l1.57,-0.92l0.38,-0.8l-0.38,-3.0l0.18,-1.13l1.84,-1.85l1.51,1.25l1.11,-0.21l1.61,-2.44l0.13,-1.04l-0.34,-0.85l-0.4,-0.23l-5.94,0.42l-1.96,-2.58l-4.29,-0.09l-4.48,-2.24l-1.09,-1.05l-1.37,-2.83l-0.42,-1.33l0.56,-1.04l-0.1,-1.22l-1.11,-1.39l-0.19,-0.98l-0.45,-0.46l-0.7,-0.06l-7.39,1.79l-0.14,0.84l1.89,7.33l-0.58,0.7l-3.94,1.43l-6.51,-5.73l-2.49,-1.66l-2.58,-0.34l-2.96,1.03l-1.5,-3.6l-3.84,-6.83l0.16,-3.16l1.55,-2.32l2.53,-1.45l3.36,-0.63l3.44,-3.99l0.34,-1.44l-0.27,-0.46l-1.38,-0.46l-3.7,0.45l-1.35,-3.01l-1.84,-2.89l-0.93,-3.51l-1.02,-1.85l-2.22,-2.77l-0.65,-1.41l1.41,-4.57l-1.93,-4.35l-10.62,-10.19l-1.57,-0.86l-1.32,-0.28l-2.83,0.07l-12.29,3.51l-3.89,2.47l-4.64,2.05l-4.18,1.16l-3.72,0.11l-1.57,-1.95l-0.28,-1.51l-0.88,-1.29l-6.36,-4.84l-0.86,-0.31Z", "name": "Hessen"}}, "height": 1013.8952766123396, "projection": {"type": "mill", "centralMeridian": 0.0}, "width": 900.0}); |
274056675/springboot-openai-chatgpt | 5,767 | chatgpt-boot/src/test/resources/templates/controller.java.vm | /**
* Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
* <p>
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE 3.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.gnu.org/licenses/lgpl.html
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package $!{package.Controller};
import io.swagger.annotations.Api;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import javax.validation.Valid;
import org.springblade.core.mp.support.Condition;
import org.springblade.core.mp.support.Query;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.Func;
import org.springframework.web.bind.annotation.*;
#if($!{superEntityClass})
import org.springframework.web.bind.annotation.RequestParam;
#end
import com.baomidou.mybatisplus.core.metadata.IPage;
import $!{package.Entity}.$!{entity};
#set($voPackage=$package.Entity.replace("entity","vo"))
import $!{voPackage}.$!{entity}VO;
#set($wrapperPackage=$package.Entity.replace("entity","wrapper"))
#if($!{cfg.hasWrapper})
import $!{wrapperPackage}.$!{entity}Wrapper;
#end
import $!{package.Service}.$!{table.serviceName};
#if($!{superControllerClassPackage})
import $!{superControllerClassPackage};
#end
#if(!$!{superEntityClass})
#end
/**
* $!{table.comment} 控制器
*
* @author $!{author}
* @since $!{date}
*/
@RestController
@AllArgsConstructor
@RequestMapping("$!{cfg.serviceName}/$!{cfg.entityKey}")
@Api(value = "$!{table.comment}", tags = "$!{table.comment}接口")
#if($!{superControllerClass})
public class $!{table.controllerName} extends $!{superControllerClass} {
#else
public class $!{table.controllerName} {
#end
private $!{table.serviceName} $!{table.entityPath}Service;
#if($!{cfg.hasWrapper})
/**
* 详情
*/
@GetMapping("/detail")
@ApiOperationSupport(order = 1)
@ApiOperation(value = "详情", notes = "传入$!{table.entityPath}")
public R<$!{entity}VO> detail($!{entity} $!{table.entityPath}) {
$!{entity} detail = $!{table.entityPath}Service.getOne(Condition.getQueryWrapper($!{table.entityPath}));
return R.data($!{entity}Wrapper.build().entityVO(detail));
}
/**
* 分页 $!{table.comment}
*/
@GetMapping("/list")
@ApiOperationSupport(order = 2)
@ApiOperation(value = "分页", notes = "传入$!{table.entityPath}")
public R<IPage<$!{entity}VO>> list($!{entity} $!{table.entityPath}, Query query) {
IPage<$!{entity}> pages = $!{table.entityPath}Service.page(Condition.getPage(query), Condition.getQueryWrapper($!{table.entityPath}));
return R.data($!{entity}Wrapper.build().pageVO(pages));
}
#else
/**
* 详情
*/
@GetMapping("/detail")
@ApiOperationSupport(order = 1)
@ApiOperation(value = "详情", notes = "传入$!{table.entityPath}")
public R<$!{entity}> detail($!{entity} $!{table.entityPath}) {
$!{entity} detail = $!{table.entityPath}Service.getOne(Condition.getQueryWrapper($!{table.entityPath}));
return R.data(detail);
}
/**
* 分页 $!{table.comment}
*/
@GetMapping("/list")
@ApiOperationSupport(order = 2)
@ApiOperation(value = "分页", notes = "传入$!{table.entityPath}")
public R<IPage<$!{entity}>> list($!{entity} $!{table.entityPath}, Query query) {
IPage<$!{entity}> pages = $!{table.entityPath}Service.page(Condition.getPage(query), Condition.getQueryWrapper($!{table.entityPath}));
return R.data(pages);
}
#end
/**
* 自定义分页 $!{table.comment}
*/
@GetMapping("/page")
@ApiOperationSupport(order = 3)
@ApiOperation(value = "分页", notes = "传入$!{table.entityPath}")
public R<IPage<$!{entity}VO>> page($!{entity}VO $!{table.entityPath}, Query query) {
IPage<$!{entity}VO> pages = $!{table.entityPath}Service.select$!{entity}Page(Condition.getPage(query), $!{table.entityPath});
return R.data(pages);
}
/**
* 新增 $!{table.comment}
*/
@PostMapping("/save")
@ApiOperationSupport(order = 4)
@ApiOperation(value = "新增", notes = "传入$!{table.entityPath}")
public R save(@Valid @RequestBody $!{entity} $!{table.entityPath}) {
return R.status($!{table.entityPath}Service.save($!{table.entityPath}));
}
/**
* 修改 $!{table.comment}
*/
@PostMapping("/update")
@ApiOperationSupport(order = 5)
@ApiOperation(value = "修改", notes = "传入$!{table.entityPath}")
public R update(@Valid @RequestBody $!{entity} $!{table.entityPath}) {
return R.status($!{table.entityPath}Service.updateById($!{table.entityPath}));
}
/**
* 新增或修改 $!{table.comment}
*/
@PostMapping("/submit")
@ApiOperationSupport(order = 6)
@ApiOperation(value = "新增或修改", notes = "传入$!{table.entityPath}")
public R submit(@Valid @RequestBody $!{entity} $!{table.entityPath}) {
return R.status($!{table.entityPath}Service.saveOrUpdate($!{table.entityPath}));
}
#if($!{superEntityClass})
/**
* 删除 $!{table.comment}
*/
@PostMapping("/remove")
@ApiOperationSupport(order = 7)
@ApiOperation(value = "逻辑删除", notes = "传入ids")
public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
return R.status($!{table.entityPath}Service.deleteLogic(Func.toLongList(ids)));
}
#else
/**
* 删除 $!{table.comment}
*/
@PostMapping("/remove")
@ApiOperationSupport(order = 8)
@ApiOperation(value = "删除", notes = "传入ids")
public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
return R.status($!{table.entityPath}Service.removeByIds(Func.toLongList(ids)));
}
#end
}
|
274056675/springboot-openai-chatgpt | 2,267 | chatgpt-boot/src/test/java/org/springblade/test/CodeGenerator.java | /**
* Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springblade.test;
import org.springblade.develop.support.BladeCodeGenerator;
/**
* 代码生成器
*
* @author Chill
*/
public class CodeGenerator {
/**
* 代码生成的模块名
*/
public static String CODE_NAME = "自定义模块";
/**
* 代码所在服务名
*/
public static String SERVICE_NAME = "blade-desk";
/**
* 代码生成的包名
*/
public static String PACKAGE_NAME = "org.springblade.desk";
/**
* 前端代码生成所属系统
*/
public static String SYSTEM_NAME = "sword";
/**
* 前端代码生成地址
*/
public static String PACKAGE_WEB_DIR = "/Users/chill/Workspaces/product/Sword";
/**
* 需要去掉的表前缀
*/
public static String[] TABLE_PREFIX = {"blade_"};
/**
* 需要生成的表名(两者只能取其一)
*/
public static String[] INCLUDE_TABLES = {"blade_notice"};
/**
* 需要排除的表名(两者只能取其一)
*/
public static String[] EXCLUDE_TABLES = {};
/**
* 是否包含基础业务字段
*/
public static Boolean HAS_SUPER_ENTITY = Boolean.TRUE;
/**
* 基础业务字段
*/
public static String[] SUPER_ENTITY_COLUMNS = {"create_time", "create_user", "update_time", "update_user", "status", "is_deleted"};
/**
* RUN THIS
*/
public static void main(String[] args) {
BladeCodeGenerator generator = new BladeCodeGenerator();
generator.setCodeName(CODE_NAME);
generator.setServiceName(SERVICE_NAME);
generator.setSystemName(SYSTEM_NAME);
generator.setPackageName(PACKAGE_NAME);
generator.setPackageWebDir(PACKAGE_WEB_DIR);
generator.setTablePrefix(TABLE_PREFIX);
generator.setIncludeTables(INCLUDE_TABLES);
generator.setExcludeTables(EXCLUDE_TABLES);
generator.setHasSuperEntity(HAS_SUPER_ENTITY);
generator.setSuperEntityColumns(SUPER_ENTITY_COLUMNS);
generator.run();
}
}
|
233zzh/TitanDataOperationSystem | 2,751 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/jvector/gdp-data.js | var gdpData = {
"AF": 16.63,
"AL": 11.58,
"DZ": 158.97,
"AO": 85.81,
"AG": 1.1,
"AR": 351.02,
"AM": 8.83,
"AU": 1219.72,
"AT": 366.26,
"AZ": 52.17,
"BS": 7.54,
"BH": 21.73,
"BD": 105.4,
"BB": 3.96,
"BY": 52.89,
"BE": 461.33,
"BZ": 1.43,
"BJ": 6.49,
"BT": 1.4,
"BO": 19.18,
"BA": 16.2,
"BW": 12.5,
"BR": 2023.53,
"BN": 11.96,
"BG": 44.84,
"BF": 8.67,
"BI": 1.47,
"KH": 11.36,
"CM": 21.88,
"CA": 1563.66,
"CV": 1.57,
"CF": 2.11,
"TD": 7.59,
"CL": 199.18,
"CN": 5745.13,
"CO": 283.11,
"KM": 0.56,
"CD": 12.6,
"CG": 11.88,
"CR": 35.02,
"CI": 22.38,
"HR": 59.92,
"CY": 22.75,
"CZ": 195.23,
"DK": 304.56,
"DJ": 1.14,
"DM": 0.38,
"DO": 50.87,
"EC": 61.49,
"EG": 216.83,
"SV": 21.8,
"GQ": 14.55,
"ER": 2.25,
"EE": 19.22,
"ET": 30.94,
"FJ": 3.15,
"FI": 231.98,
"FR": 2555.44,
"GA": 12.56,
"GM": 1.04,
"GE": 11.23,
"DE": 3305.9,
"GH": 18.06,
"GR": 305.01,
"GD": 0.65,
"GT": 40.77,
"GN": 4.34,
"GW": 0.83,
"GY": 2.2,
"HT": 6.5,
"HN": 15.34,
"HK": 226.49,
"HU": 132.28,
"IS": 12.77,
"IN": 1430.02,
"ID": 695.06,
"IR": 337.9,
"IQ": 84.14,
"IE": 204.14,
"IL": 201.25,
"IT": 2036.69,
"JM": 13.74,
"JP": 5390.9,
"JO": 27.13,
"KZ": 129.76,
"KE": 32.42,
"KI": 0.15,
"KR": 986.26,
"UNDEFINED": 5.73,
"KW": 117.32,
"KG": 4.44,
"LA": 6.34,
"LV": 23.39,
"LB": 39.15,
"LS": 1.8,
"LR": 0.98,
"LY": 77.91,
"LT": 35.73,
"LU": 52.43,
"MK": 9.58,
"MG": 8.33,
"MW": 5.04,
"MY": 218.95,
"MV": 1.43,
"ML": 9.08,
"MT": 7.8,
"MR": 3.49,
"MU": 9.43,
"MX": 1004.04,
"MD": 5.36,
"MN": 5.81,
"ME": 3.88,
"MA": 91.7,
"MZ": 10.21,
"MM": 35.65,
"NA": 11.45,
"NP": 15.11,
"NL": 770.31,
"NZ": 138,
"NI": 6.38,
"NE": 5.6,
"NG": 206.66,
"NO": 413.51,
"OM": 53.78,
"PK": 174.79,
"PA": 27.2,
"PG": 8.81,
"PY": 17.17,
"PE": 153.55,
"PH": 189.06,
"PL": 438.88,
"PT": 223.7,
"QA": 126.52,
"RO": 158.39,
"RU": 1476.91,
"RW": 5.69,
"WS": 0.55,
"ST": 0.19,
"SA": 434.44,
"SN": 12.66,
"RS": 38.92,
"SC": 0.92,
"SL": 1.9,
"SG": 217.38,
"SK": 86.26,
"SI": 46.44,
"SB": 0.67,
"ZA": 354.41,
"ES": 1374.78,
"LK": 48.24,
"KN": 0.56,
"LC": 1,
"VC": 0.58,
"SD": 65.93,
"SR": 3.3,
"SZ": 3.17,
"SE": 444.59,
"CH": 522.44,
"SY": 59.63,
"TW": 426.98,
"TJ": 5.58,
"TZ": 22.43,
"TH": 312.61,
"TL": 0.62,
"TG": 3.07,
"TO": 0.3,
"TT": 21.2,
"TN": 43.86,
"TR": 729.05,
"TM": 0,
"UG": 17.12,
"UA": 136.56,
"AE": 239.65,
"GB": 2258.57,
"US": 14624.18,
"UY": 40.71,
"UZ": 37.72,
"VU": 0.72,
"VE": 285.21,
"VN": 101.99,
"YE": 30.02,
"ZM": 15.69,
"ZW": 5.57
}; |
274056675/springboot-openai-chatgpt | 5,380 | chatgpt-boot/src/main/resources/application.yml | #服务器配置
server:
port: 9872
undertow:
# 以下的配置会影响buffer,这些buffer会用于服务器连接的IO操作,有点类似netty的池化内存管理
buffer-size: 1024
# 是否分配的直接内存
direct-buffers: true
# 线程配置
threads:
# 设置IO线程数, 它主要执行非阻塞的任务,它们会负责多个连接, 默认设置每个CPU核心一个线程
io: 16
# 阻塞任务线程池, 当执行类似servlet请求阻塞操作, undertow会从这个线程池中取得线程,它的值设置取决于系统的负载
worker: 400
servlet:
# 编码配置
encoding:
charset: UTF-8
force: true
#spring配置
spring:
cache:
ehcache:
config: classpath:config/ehcache.xml
servlet:
multipart:
max-file-size: 256MB
max-request-size: 1024MB
web:
resources:
add-mappings: false
mvc:
throw-exception-if-no-handler-found: true
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
#配置日志地址
logging:
config: classpath:log/logback_${blade.env}.xml
# mybatis
mybatis-plus:
mapper-locations: classpath:org/springblade/**/mapper/*Mapper.xml
#实体扫描,多个package用逗号或者分号分隔
typeAliasesPackage: org.springblade.**.entity
#typeEnumsPackage: org.springblade.dashboard.entity.enums
global-config:
# 关闭MP3.0自带的banner
banner: false
db-config:
#主键类型 0:"数据库ID自增", 1:"不操作", 2:"用户输入ID",3:"数字型snowflake", 4:"全局唯一ID UUID", 5:"字符串型snowflake";
id-type: assign_id
#字段策略
insert-strategy: not_null
update-strategy: not_null
where-strategy: not_null
#驼峰下划线转换
table-underline: true
# 逻辑删除配置
# 逻辑删除全局值(1表示已删除,这也是Mybatis Plus的默认配置)
logic-delete-value: 1
# 逻辑未删除全局值(0表示未删除,这也是Mybatis Plus的默认配置)
logic-not-delete-value: 0
configuration:
map-underscore-to-camel-case: true
cache-enabled: false
#报表配置
report:
enabled: false
database:
provider:
prefix: blade-
#knife4j配置
knife4j:
#启用
enable: true
#基础认证
basic:
enable: false
username: blade
password: blade
#增强配置
setting:
enableSwaggerModels: true
enableDocumentManage: true
enableHost: false
enableHostText: http://localhost
enableRequestCache: true
enableFilterMultipartApis: false
enableFilterMultipartApiMethodType: POST
language: zh_cn
enableFooter: false
enableFooterCustom: true
footerCustomContent: Copyright © 2023 SpringBlade All Rights Reserved
#swagger配置信息
swagger:
title: SpringBlade 接口文档系统
description: SpringBlade 接口文档系统
version: 3.7.1
license: Powered By SpringBlade
licenseUrl: https://bladex.cn
terms-of-service-url: https://bladex.cn
contact:
name: smallchill
email: smallchill@163.com
url: https://gitee.com/smallc
#第三方登陆配置
social:
enabled: false
domain: http://127.0.0.1:1888
oauth:
GITHUB:
client-id: 233************
client-secret: 233************************************
redirect-uri: ${social.domain}/oauth/redirect/github
GITEE:
client-id: 233************
client-secret: 233************************************
redirect-uri: ${social.domain}/oauth/redirect/gitee
WECHAT_OPEN:
client-id: 233************
client-secret: 233************************************
redirect-uri: ${social.domain}/oauth/redirect/wechat
QQ:
client-id: 233************
client-secret: 233************************************
redirect-uri: ${social.domain}/oauth/redirect/qq
DINGTALK:
client-id: 233************
client-secret: 233************************************
redirect-uri: ${social.domain}/oauth/redirect/dingtalk
#blade配置
blade:
context:
headers:
allowed:
- X-Real-IP
- x-real-ip
- x-forwarded-for
- authorization
- Authorization
- User-Agent
- user-agent
- Hosthost
- mj-lang
- blade-auth
token:
#使用 @org.springblade.test.SignKeyGenerator 获取
sign-key: DGNKKhxwzUT4vW3pIHX7TZO2v9NvZDNi
#使用 @org.springblade.test.AesKeyGenerator 获取
aes-key: O2BEeIv399qHQNhD6aGW8R8DEj4bqHXm
xss:
enabled: true
skip-url:
- /blade-test/**
- /mjkj-chat/cgform-api/editData/**
- /mjkj-chat/cgform-api/save/**
- /mjkj-chat/chat/open/wxPay/**
secure:
skip-url:
- /mjkj-chat/chat/open/**
- /mjkj-chat/sys/sys/dict/getDictItems/**
- /mjkj-chat/cgform-api/getData/**
- /mjkj-chat/cgform-api/detailData/**
- /mjkj-chat/desform-api/desform/**
- /mjkj-chat/chat/ai/message/**
client:
- client-id: sword
path-patterns:
- /blade-sword/**
- client-id: saber
path-patterns:
- /blade-saber/**
tenant:
column: tenant_id
tables:
- blade_notice
prop:
upload-domain: http://localhost:8888
remote-mode: true
remote-path: /usr/share/nginx/html
remote-path-iis: D://iis/html
log-mode: true
# *************** 下面是超级AI特有,不常修改的 ******************************
chatgpt:
debug: 'true'
chatgptModel: 'gpt-3.5-turbo-16k'
chatgptUrl: 'https://api.openai.com/v1/chat/completions'
# 文本长度
chatgptMaxToken: 4096
chatgptRequestMaxToken: 4096
# 文本的多样性 默认是1
chatgptTopP: 1
#海报背景
posterBgUrl: https://ai-chat-gpt.oss-cn-guangzhou.aliyuncs.com/poster/shareTemplate.png
# 移除头部
startTitleRemove: '。,;,:,:,?, ,,,\n'
# 画图指令
imagePromptStart: '画,帮我画,制作,帮我制作,生成,帮我生成'
imagePromptEnd: '图片-512x512,海报-432x768,头像-200x200'
imageStyle: 'MJ风格'
|
274056675/springboot-openai-chatgpt | 1,117 | chatgpt-boot/src/main/resources/application-prod.yml | #数据源配置
spring:
redis:
##redis 单机环境配置
host: 192.168.5.120
port: 6379
password:
database: 2
ssl: false
# 数据库脚本请使用我们提供的版本,不要使用blade的
datasource:
url: jdbc:mysql://192.168.5.120:3306/mjkj_chatgpt_2_0?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8
username: root
password:
driver-class-name: com.mysql.cj.jdbc.Driver
# ***************** 下面需要改为个人的 ********************
#短信验证码
mjkjsms:
templateId: SMS_
signName: 超级AI大脑
accessKey:
secretKey:
chatgpt:
debug: 'false'
chatgptModel: 'gpt-3.5-turbo-16k'
httpUrl: 'http://运行chat_hppt的服务地址:9885/chatgpt/api/getContent'
#上传
uploadUrl: D:/upload/image
#logo
logoUrl: D:/upload/image/logo.png
# 机器人个人提问信息
wechatRotGeRenTip: 温馨提示:更多好玩请关注《超级AI大脑》公众号,即可体验
# 机器人名称
wechatRotGeRenName: '超级AI大脑'
# 图片模型 chatgpt
imageModel: ChatGPT
imageModelWechatRot: chatgpt
# 默认头像
defaultLogo: https://oss.mj.ink/chatgpt/upload/2023-05-30/1663433665026666498_1685428465871.png
# 默认名字
defaultUserName: '超级AI大脑'
|
274056675/springboot-openai-chatgpt | 1,136 | chatgpt-boot/src/main/resources/application-dev.yml | #数据源配置
spring:
redis:
##redis 单机环境配置
host: 192.168.5.120
port: 6379
password:
database: 2
ssl: false
# 数据库脚本请使用我们提供的版本,不要使用blade的
datasource:
url: jdbc:mysql://192.168.5.120:3306/mjkj_chatgpt_2_0?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8
username: root
password:
driver-class-name: com.mysql.cj.jdbc.Driver
# ***************** 下面需要改为个人的 ********************
#短信验证码 线下环境可以不用配置 验证码为123456
mjkjsms:
templateId: SMS_
signName: 超级AI大脑
accessKey:
secretKey:
chatgpt:
debug: 'true'
chatgptModel: 'gpt-3.5-turbo-16k'
httpUrl: 'http://运行chat_hppt的服务地址:9885/chatgpt/api/getContent'
#上传
uploadUrl: D:/upload/image
#logo
logoUrl: D:/upload/image/logo.png
# 机器人个人提问信息
wechatRotGeRenTip: 温馨提示:更多好玩请关注《超级AI大脑》公众号,即可体验
# 机器人名称
wechatRotGeRenName: '超级AI大脑'
# 图片模型 chatgpt
imageModel: ChatGPT
imageModelWechatRot: chatgpt
# 默认头像
defaultLogo: https://oss.mj.ink/chatgpt/upload/2023-05-30/1663433665026666498_1685428465871.png
# 默认名字
defaultUserName: '超级AI大脑'
|
233zzh/TitanDataOperationSystem | 2,341 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/jvector/jvectormap.custom.js | $(function() {
"use strict";
jQuery('#world-map-markers').vectorMap(
{
map: 'world_mill_en',
backgroundColor: 'transparent',
borderColor: '#818181',
borderOpacity: 0.25,
borderWidth: 1,
zoomOnScroll: false,
color: '#1e88e5',
regionStyle : {
initial : {
fill : '#1e88e5'
}
},
markerStyle: {
initial: {
r: 9,
'fill': '#fff',
'fill-opacity':1,
'stroke': '#000',
'stroke-width' : 5,
'stroke-opacity': 0.4
},
},
enableZoom: true,
hoverColor: '#1e88e5',
markers : [{
latLng : [21.00, 78.00],
name : 'I Love My India'
}],
hoverOpacity: null,
normalizeFunction: 'linear',
scaleColors: ['#b6d6ff', '#005ace'],
selectedColor: '#c9dfaf',
selectedRegions: [],
showTooltip: true,
onRegionClick: function(element, code, region)
{
var message = 'You clicked "'
+ region
+ '" which has the code: '
+ code.toUpperCase();
alert(message);
}
});
$('#india').vectorMap({
map : 'in_mill',
backgroundColor : 'transparent',
zoomOnScroll: false,
regionStyle : {
initial : {
fill : '#00acc1'
}
}
});
$('#usa').vectorMap({
map : 'us_aea_en',
backgroundColor : 'transparent',
zoomOnScroll: false,
regionStyle : {
initial : {
fill : '#7460ee'
}
}
});
$('#australia').vectorMap({
map : 'au_mill',
backgroundColor : 'transparent',
zoomOnScroll: false,
regionStyle : {
initial : {
fill : '#ffca4a'
}
}
});
$('#uk').vectorMap({
map : 'uk_mill_en',
backgroundColor : 'transparent',
zoomOnScroll: false,
regionStyle : {
initial : {
fill : '#fc4b6c'
}
}
});
});
|
274056675/springboot-openai-chatgpt | 5,778 | chatgpt-boot/src/main/resources/templates/controller.java.vm | /**
* Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
* <p>
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE 3.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.gnu.org/licenses/lgpl.html
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package $!{package.Controller};
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import lombok.AllArgsConstructor;
import javax.validation.Valid;
import org.springblade.core.mp.support.Condition;
import org.springblade.core.mp.support.Query;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.Func;
import org.springframework.web.bind.annotation.*;
#if($!{superEntityClass})
import org.springframework.web.bind.annotation.RequestParam;
#end
import com.baomidou.mybatisplus.core.metadata.IPage;
import $!{package.Entity}.$!{entity};
#set($voPackage=$package.Entity.replace("entity","vo"))
import $!{voPackage}.$!{entity}VO;
#set($wrapperPackage=$package.Entity.replace("entity","wrapper"))
#if($!{hasWrapper})
import $!{wrapperPackage}.$!{entity}Wrapper;
#end
import $!{package.Service}.$!{table.serviceName};
#if($!{superControllerClassPackage})
import $!{superControllerClassPackage};
#end
#if(!$!{superEntityClass})
#end
/**
* $!{table.comment} 控制器
*
* @author $!{author}
* @since $!{date}
*/
@RestController
@AllArgsConstructor
@RequestMapping("#if($!{hasServiceName})/$!{serviceName}#end/$!{entityKey}")
@Api(value = "$!{table.comment}", tags = "$!{table.comment}接口")
#if($!{superControllerClass})
public class $!{table.controllerName} extends $!{superControllerClass} {
#else
public class $!{table.controllerName} {
#end
private $!{table.serviceName} $!{table.entityPath}Service;
#if($!{hasWrapper})
/**
* 详情
*/
@GetMapping("/detail")
@ApiOperationSupport(order = 1)
@ApiOperation(value = "详情", notes = "传入$!{table.entityPath}")
public R<$!{entity}VO> detail($!{entity} $!{table.entityPath}) {
$!{entity} detail = $!{table.entityPath}Service.getOne(Condition.getQueryWrapper($!{table.entityPath}));
return R.data($!{entity}Wrapper.build().entityVO(detail));
}
/**
* 分页 $!{table.comment}
*/
@GetMapping("/list")
@ApiOperationSupport(order = 2)
@ApiOperation(value = "分页", notes = "传入$!{table.entityPath}")
public R<IPage<$!{entity}VO>> list($!{entity} $!{table.entityPath}, Query query) {
IPage<$!{entity}> pages = $!{table.entityPath}Service.page(Condition.getPage(query), Condition.getQueryWrapper($!{table.entityPath}));
return R.data($!{entity}Wrapper.build().pageVO(pages));
}
#else
/**
* 详情
*/
@GetMapping("/detail")
@ApiOperationSupport(order = 1)
@ApiOperation(value = "详情", notes = "传入$!{table.entityPath}")
public R<$!{entity}> detail($!{entity} $!{table.entityPath}) {
$!{entity} detail = $!{table.entityPath}Service.getOne(Condition.getQueryWrapper($!{table.entityPath}));
return R.data(detail);
}
/**
* 分页 $!{table.comment}
*/
@GetMapping("/list")
@ApiOperationSupport(order = 2)
@ApiOperation(value = "分页", notes = "传入$!{table.entityPath}")
public R<IPage<$!{entity}>> list($!{entity} $!{table.entityPath}, Query query) {
IPage<$!{entity}> pages = $!{table.entityPath}Service.page(Condition.getPage(query), Condition.getQueryWrapper($!{table.entityPath}));
return R.data(pages);
}
#end
/**
* 自定义分页 $!{table.comment}
*/
@GetMapping("/page")
@ApiOperationSupport(order = 3)
@ApiOperation(value = "分页", notes = "传入$!{table.entityPath}")
public R<IPage<$!{entity}VO>> page($!{entity}VO $!{table.entityPath}, Query query) {
IPage<$!{entity}VO> pages = $!{table.entityPath}Service.select$!{entity}Page(Condition.getPage(query), $!{table.entityPath});
return R.data(pages);
}
/**
* 新增 $!{table.comment}
*/
@PostMapping("/save")
@ApiOperationSupport(order = 4)
@ApiOperation(value = "新增", notes = "传入$!{table.entityPath}")
public R save(@Valid @RequestBody $!{entity} $!{table.entityPath}) {
return R.status($!{table.entityPath}Service.save($!{table.entityPath}));
}
/**
* 修改 $!{table.comment}
*/
@PostMapping("/update")
@ApiOperationSupport(order = 5)
@ApiOperation(value = "修改", notes = "传入$!{table.entityPath}")
public R update(@Valid @RequestBody $!{entity} $!{table.entityPath}) {
return R.status($!{table.entityPath}Service.updateById($!{table.entityPath}));
}
/**
* 新增或修改 $!{table.comment}
*/
@PostMapping("/submit")
@ApiOperationSupport(order = 6)
@ApiOperation(value = "新增或修改", notes = "传入$!{table.entityPath}")
public R submit(@Valid @RequestBody $!{entity} $!{table.entityPath}) {
return R.status($!{table.entityPath}Service.saveOrUpdate($!{table.entityPath}));
}
#if($!{superEntityClass})
/**
* 删除 $!{table.comment}
*/
@PostMapping("/remove")
@ApiOperationSupport(order = 7)
@ApiOperation(value = "逻辑删除", notes = "传入ids")
public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
return R.status($!{table.entityPath}Service.deleteLogic(Func.toLongList(ids)));
}
#else
/**
* 删除 $!{table.comment}
*/
@PostMapping("/remove")
@ApiOperationSupport(order = 8)
@ApiOperation(value = "删除", notes = "传入ids")
public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
return R.status($!{table.entityPath}Service.removeByIds(Func.toLongList(ids)));
}
#end
}
|
233zzh/TitanDataOperationSystem | 48,213 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/jqbootstrapvalidation/validation.js | /* jqBootstrapValidation
* A plugin for automating validation on Twitter Bootstrap formatted forms.
*
* v1.3.6
*
* License: MIT <http://opensource.org/licenses/mit-license.php> - see LICENSE file
*
* http://ReactiveRaven.github.com/jqBootstrapValidation/
*/
(function ($) {
var createdElements = [];
var defaults = {
options: {
prependExistingHelpBlock: false
, sniffHtml: true, // sniff for 'required', 'maxlength', etc
preventSubmit: true, // stop the form submit event from firing if validation fails
submitError: false, // function called if there is an error when trying to submit
submitSuccess: false, // function called just before a successful submit event is sent to the server
semanticallyStrict: false, // set to true to tidy up generated HTML output
bindEvents: [],
autoAdd: {
helpBlocks: true
}
, filter: function () {
// return $(this).is(":visible"); // only validate elements you can see
return true; // validate everything
}
}
, methods: {
init: function (options) {
var settings = $.extend(true, {}, defaults);
settings.options = $.extend(true, settings.options, options);
var $siblingElements = this;
var uniqueForms = $.unique($siblingElements.map(function () {
return $(this).parents("form")[0];
}).toArray());
$(uniqueForms).bind("submit.validationSubmit", function (e) {
var $form = $(this);
var warningsFound = 0;
var $allInputs = $form.find("input,textarea,select").not("[type=submit],[type=image]").filter(settings.options.filter);
var $allControlGroups = $form.find(".form-group");
var $inputsWithValidators = $allInputs.filter(function () {
return $(this).triggerHandler("getValidatorCount.validation") > 0;
});
$inputsWithValidators.trigger("submit.validation");
$allInputs.trigger("validationLostFocus.validation");
$allControlGroups.each(function (i, el) {
var $controlGroup = $(el);
if ($controlGroup.hasClass("issue") || $controlGroup.hasClass("error")) {
$controlGroup.removeClass("issue").addClass("error");
warningsFound++;
}
});
if (warningsFound) {
if (settings.options.preventSubmit) {
e.preventDefault();
e.stopImmediatePropagation();
}
$form.addClass("error");
if ($.isFunction(settings.options.submitError)) {
settings.options.submitError($form, e, $inputsWithValidators.jqBootstrapValidation("collectErrors", true));
}
}
else {
$form.removeClass("error");
if ($.isFunction(settings.options.submitSuccess)) {
settings.options.submitSuccess($form, e);
}
}
});
return this.each(function () {
var $this = $(this)
, $controlGroup = $this.parents(".form-group").first()
, $helpBlock = $controlGroup.find(".help-block").first()
, $form = $this.parents("form").first()
, validatorNames = [];
if (!$helpBlock.length && settings.options.autoAdd && settings.options.autoAdd.helpBlocks) {
$helpBlock = $('<div class="help-block" />');
$controlGroup.find('.controls').append($helpBlock);
createdElements.push($helpBlock[0]);
}
if (settings.options.sniffHtml) {
var message;
if ($this.data("validationPatternPattern")) {
$this.attr("pattern", $this.data("validationPatternPattern"));
}
if ($this.attr("pattern") !== undefined) {
message = "Not in the expected format<!-- data-validation-pattern-message to override -->";
if ($this.data("validationPatternMessage")) {
message = $this.data("validationPatternMessage");
}
$this.data("validationPatternMessage", message);
$this.data("validationPatternRegex", $this.attr("pattern"));
}
if ($this.attr("max") !== undefined || $this.attr("aria-valuemax") !== undefined) {
var max = ($this.attr("max") !== undefined ? $this.attr("max") : $this.attr("aria-valuemax"));
message = "Too high: Maximum of '" + max + "'<!-- data-validation-max-message to override -->";
if ($this.data("validationMaxMessage")) {
message = $this.data("validationMaxMessage");
}
$this.data("validationMaxMessage", message);
$this.data("validationMaxMax", max);
}
if ($this.attr("min") !== undefined || $this.attr("aria-valuemin") !== undefined) {
var min = ($this.attr("min") !== undefined ? $this.attr("min") : $this.attr("aria-valuemin"));
message = "Too low: Minimum of '" + min + "'<!-- data-validation-min-message to override -->";
if ($this.data("validationMinMessage")) {
message = $this.data("validationMinMessage");
}
$this.data("validationMinMessage", message);
$this.data("validationMinMin", min);
}
if ($this.attr("maxlength") !== undefined) {
message = "Too long: Maximum of '" + $this.attr("maxlength") + "' characters<!-- data-validation-maxlength-message to override -->";
if ($this.data("validationMaxlengthMessage")) {
message = $this.data("validationMaxlengthMessage");
}
$this.data("validationMaxlengthMessage", message);
$this.data("validationMaxlengthMaxlength", $this.attr("maxlength"));
}
if ($this.attr("minlength") !== undefined) {
message = "Too short: Minimum of '" + $this.attr("minlength") + "' characters<!-- data-validation-minlength-message to override -->";
if ($this.data("validationMinlengthMessage")) {
message = $this.data("validationMinlengthMessage");
}
$this.data("validationMinlengthMessage", message);
$this.data("validationMinlengthMinlength", $this.attr("minlength"));
}
if ($this.attr("required") !== undefined || $this.attr("aria-required") !== undefined) {
message = settings.builtInValidators.required.message;
if ($this.data("validationRequiredMessage")) {
message = $this.data("validationRequiredMessage");
}
$this.data("validationRequiredMessage", message);
}
if ($this.attr("type") !== undefined && $this.attr("type").toLowerCase() === "number") {
message = settings.validatorTypes.number.message;
if ($this.data("validationNumberMessage")) {
message = $this.data("validationNumberMessage");
}
$this.data("validationNumberMessage", message);
var step = settings.validatorTypes.number.step;
if ($this.data("validationNumberStep")) {
step = $this.data("validationNumberStep");
}
$this.data("validationNumberStep", step);
var decimal = settings.validatorTypes.number.decimal;
if ($this.data("validationNumberDecimal")) {
decimal = $this.data("validationNumberDecimal");
}
$this.data("validationNumberDecimal", decimal);
}
if ($this.attr("type") !== undefined && $this.attr("type").toLowerCase() === "email") {
message = "Not a valid email address<!-- data-validation-email-message to override -->";
if ($this.data("validationEmailMessage")) {
message = $this.data("validationEmailMessage");
}
$this.data("validationEmailMessage", message);
}
if ($this.attr("minchecked") !== undefined) {
message = "Not enough options checked; Minimum of '" + $this.attr("minchecked") + "' required<!-- data-validation-minchecked-message to override -->";
if ($this.data("validationMincheckedMessage")) {
message = $this.data("validationMincheckedMessage");
}
$this.data("validationMincheckedMessage", message);
$this.data("validationMincheckedMinchecked", $this.attr("minchecked"));
}
if ($this.attr("maxchecked") !== undefined) {
message = "Too many options checked; Maximum of '" + $this.attr("maxchecked") + "' required<!-- data-validation-maxchecked-message to override -->";
if ($this.data("validationMaxcheckedMessage")) {
message = $this.data("validationMaxcheckedMessage");
}
$this.data("validationMaxcheckedMessage", message);
$this.data("validationMaxcheckedMaxchecked", $this.attr("maxchecked"));
}
}
if ($this.data("validation") !== undefined) {
validatorNames = $this.data("validation").split(",");
}
$.each($this.data(), function (i, el) {
var parts = i.replace(/([A-Z])/g, ",$1").split(",");
if (parts[0] === "validation" && parts[1]) {
validatorNames.push(parts[1]);
}
});
var validatorNamesToInspect = validatorNames;
var newValidatorNamesToInspect = [];
var uppercaseEachValidatorName = function (i, el) {
validatorNames[i] = formatValidatorName(el);
};
var inspectValidators = function (i, el) {
if ($this.data("validation" + el + "Shortcut") !== undefined) {
$.each($this.data("validation" + el + "Shortcut").split(","), function (i2, el2) {
newValidatorNamesToInspect.push(el2);
});
}
else if (settings.builtInValidators[el.toLowerCase()]) {
var validator = settings.builtInValidators[el.toLowerCase()];
if (validator.type.toLowerCase() === "shortcut") {
$.each(validator.shortcut.split(","), function (i, el) {
el = formatValidatorName(el);
newValidatorNamesToInspect.push(el);
validatorNames.push(el);
});
}
}
};
do {
$.each(validatorNames, uppercaseEachValidatorName);
validatorNames = $.unique(validatorNames);
newValidatorNamesToInspect = [];
$.each(validatorNamesToInspect, inspectValidators);
validatorNamesToInspect = newValidatorNamesToInspect;
} while (validatorNamesToInspect.length > 0);
var validators = {};
$.each(validatorNames, function (i, el) {
var message = $this.data("validation" + el + "Message");
var hasOverrideMessage = !!message;
var foundValidator = false;
if (!message) {
message = "'" + el + "' validation failed <!-- Add attribute 'data-validation-" + el.toLowerCase() + "-message' to input to change this message -->";
}
$.each(settings.validatorTypes, function (validatorType, validatorTemplate) {
if (validators[validatorType] === undefined) {
validators[validatorType] = [];
}
if (!foundValidator && $this.data("validation" + el + formatValidatorName(validatorTemplate.name)) !== undefined) {
var initted = validatorTemplate.init($this, el);
if (hasOverrideMessage) {
initted.message = message;
}
validators[validatorType].push($.extend(true, {
name: formatValidatorName(validatorTemplate.name)
, message: message
}, initted));
foundValidator = true;
}
});
if (!foundValidator && settings.builtInValidators[el.toLowerCase()]) {
var validator = $.extend(true, {}, settings.builtInValidators[el.toLowerCase()]);
if (hasOverrideMessage) {
validator.message = message;
}
var validatorType = validator.type.toLowerCase();
if (validatorType === "shortcut") {
foundValidator = true;
}
else {
$.each(settings.validatorTypes, function (validatorTemplateType, validatorTemplate) {
if (validators[validatorTemplateType] === undefined) {
validators[validatorTemplateType] = [];
}
if (!foundValidator && validatorType === validatorTemplateType.toLowerCase()) {
$this.data("validation" + el + formatValidatorName(validatorTemplate.name), validator[validatorTemplate.name.toLowerCase()]);
validators[validatorType].push($.extend(validator, validatorTemplate.init($this, el)));
foundValidator = true;
}
});
}
}
if (!foundValidator) {
$.error("Cannot find validation info for '" + el + "'");
}
});
$helpBlock.data("original-contents", ($helpBlock.data("original-contents") ? $helpBlock.data("original-contents") : $helpBlock.html()));
$helpBlock.data("original-role", ($helpBlock.data("original-role") ? $helpBlock.data("original-role") : $helpBlock.attr("role")));
$controlGroup.data("original-classes", ($controlGroup.data("original-clases") ? $controlGroup.data("original-classes") : $controlGroup.attr("class")));
$this.data("original-aria-invalid", ($this.data("original-aria-invalid") ? $this.data("original-aria-invalid") : $this.attr("aria-invalid")));
$this.bind("validation.validation", function (event, params) {
var value = getValue($this);
var errorsFound = [];
$.each(validators, function (validatorType, validatorTypeArray) {
if (value || value.length || ((params && params.includeEmpty) || !!settings.validatorTypes[validatorType].includeEmpty) || (!!settings.validatorTypes[validatorType].blockSubmit && params && !!params.submitting)) {
$.each(validatorTypeArray, function (i, validator) {
if (settings.validatorTypes[validatorType].validate($this, value, validator)) {
errorsFound.push(validator.message);
}
});
}
});
return errorsFound;
});
$this.bind("getValidators.validation", function () {
return validators;
});
var numValidators = 0;
$.each(validators, function (i, el) {
numValidators += el.length;
});
$this.bind("getValidatorCount.validation", function () {
return numValidators;
});
$this.bind("submit.validation", function () {
return $this.triggerHandler("change.validation", {
submitting: true
});
});
$this.bind((settings.options.bindEvents.length > 0 ? settings.options.bindEvents : ["keyup", "focus", "blur", "click", "keydown", "keypress", "change"]).concat(["revalidate"]).join(".validation ") + ".validation", function (e, params) {
var value = getValue($this);
var errorsFound = [];
if (params && !!params.submitting) {
$controlGroup.data("jqbvIsSubmitting", true);
}
else if (e.type !== "revalidate") {
$controlGroup.data("jqbvIsSubmitting", false);
}
var formIsSubmitting = !!$controlGroup.data("jqbvIsSubmitting");
$controlGroup.find("input,textarea,select").not('[type=submit]').each(function (i, el) {
var oldCount = errorsFound.length;
$.each($(el).triggerHandler("validation.validation", params) || [], function (j, message) {
errorsFound.push(message);
});
if (errorsFound.length > oldCount) {
$(el).attr("aria-invalid", "true");
}
else {
var original = $this.data("original-aria-invalid");
$(el).attr("aria-invalid", (original !== undefined ? original : false));
}
});
$form.find("input,select,textarea").not($this).not("[name=\"" + $this.attr("name") + "\"]").trigger("validationLostFocus.validation");
errorsFound = $.unique(errorsFound.sort());
if (errorsFound.length) {
$controlGroup.removeClass("validate error issue").addClass(formIsSubmitting ? "error" : "issue");
if (settings.options.semanticallyStrict && errorsFound.length === 1) {
$helpBlock.html(errorsFound[0] + (settings.options.prependExistingHelpBlock ? $helpBlock.data("original-contents") : ""));
}
else {
$helpBlock.html("<ul role=\"alert\"><li>" + errorsFound.join("</li><li>") + "</li></ul>" + (settings.options.prependExistingHelpBlock ? $helpBlock.data("original-contents") : ""));
}
}
else {
$controlGroup.removeClass("issue error validate");
if (value.length > 0) {
$controlGroup.addClass("validate");
}
$helpBlock.html($helpBlock.data("original-contents"));
}
if (e.type === "blur") {
if (settings.options.removeSuccess) {}
}
});
$this.bind("validationLostFocus.validation", function () {
if (settings.options.removeSuccess) {}
});
});
}
, destroy: function () {
return this.each(function () {
var $this = $(this)
, $controlGroup = $this.parents(".form-group").first()
, $helpBlock = $controlGroup.find(".help-block").first()
, $form = $this.parents("form").first();
$this.unbind('.validation');
$form.unbind(".validationSubmit");
$helpBlock.html($helpBlock.data("original-contents"));
$controlGroup.attr("class", $controlGroup.data("original-classes"));
$this.attr("aria-invalid", $this.data("original-aria-invalid"));
$helpBlock.attr("role", $this.data("original-role"));
if ($.inArray($helpBlock[0], createdElements) > -1) {
$helpBlock.remove();
}
});
}
, collectErrors: function (includeEmpty) {
var errorMessages = {};
this.each(function (i, el) {
var $el = $(el);
var name = $el.attr("name");
var errors = $el.triggerHandler("validation.validation", {
includeEmpty: true
});
errorMessages[name] = $.extend(true, errors, errorMessages[name]);
});
$.each(errorMessages, function (i, el) {
if (el.length === 0) {
delete errorMessages[i];
}
});
return errorMessages;
}
, hasErrors: function () {
var errorMessages = [];
this.find('input,select,textarea').add(this).each(function (i, el) {
errorMessages = errorMessages.concat($(el).triggerHandler("getValidators.validation") ? $(el).triggerHandler("validation.validation", {
submitting: true
}) : []);
});
return (errorMessages.length > 0);
}
, override: function (newDefaults) {
defaults = $.extend(true, defaults, newDefaults);
}
}
, validatorTypes: {
callback: {
name: "callback"
, init: function ($this, name) {
var result = {
validatorName: name
, callback: $this.data("validation" + name + "Callback")
, lastValue: $this.val()
, lastValid: true
, lastFinished: true
};
var message = "Not valid";
if ($this.data("validation" + name + "Message")) {
message = $this.data("validation" + name + "Message");
}
result.message = message;
return result;
}
, validate: function ($this, value, validator) {
if (validator.lastValue === value && validator.lastFinished) {
return !validator.lastValid;
}
if (validator.lastFinished === true) {
validator.lastValue = value;
validator.lastValid = true;
validator.lastFinished = false;
var rrjqbvValidator = validator;
var rrjqbvThis = $this;
executeFunctionByName(validator.callback, window, $this, value, function (data) {
if (rrjqbvValidator.lastValue === data.value) {
rrjqbvValidator.lastValid = data.valid;
if (data.message) {
rrjqbvValidator.message = data.message;
}
rrjqbvValidator.lastFinished = true;
rrjqbvThis.data("validation" + rrjqbvValidator.validatorName + "Message", rrjqbvValidator.message);
setTimeout(function () {
if (!$this.is(":focus") && $this.parents("form").first().data("jqbvIsSubmitting")) {
rrjqbvThis.trigger("blur.validation");
}
else {
rrjqbvThis.trigger("revalidate.validation");
}
}, 1);
}
});
}
return false;
}
}
, ajax: {
name: "ajax"
, init: function ($this, name) {
return {
validatorName: name
, url: $this.data("validation" + name + "Ajax")
, lastValue: $this.val()
, lastValid: true
, lastFinished: true
};
}
, validate: function ($this, value, validator) {
if ("" + validator.lastValue === "" + value && validator.lastFinished === true) {
return validator.lastValid === false;
}
if (validator.lastFinished === true) {
validator.lastValue = value;
validator.lastValid = true;
validator.lastFinished = false;
$.ajax({
url: validator.url
, data: "value=" + encodeURIComponent(value) + "&field=" + $this.attr("name")
, dataType: "json"
, success: function (data) {
if ("" + validator.lastValue === "" + data.value) {
validator.lastValid = !!(data.valid);
if (data.message) {
validator.message = data.message;
}
validator.lastFinished = true;
$this.data("validation" + validator.validatorName + "Message", validator.message);
setTimeout(function () {
$this.trigger("revalidate.validation");
}, 1);
}
}
, failure: function () {
validator.lastValid = true;
validator.message = "ajax call failed";
validator.lastFinished = true;
$this.data("validation" + validator.validatorName + "Message", validator.message);
setTimeout(function () {
$this.trigger("revalidate.validation");
}, 1);
}
});
}
return false;
}
}
, regex: {
name: "regex"
, init: function ($this, name) {
var result = {};
var regexString = $this.data("validation" + name + "Regex");
result.regex = regexFromString(regexString);
if (regexString === undefined) {
$.error("Can't find regex for '" + name + "' validator on '" + $this.attr("name") + "'");
}
var message = "Not in the expected format";
if ($this.data("validation" + name + "Message")) {
message = $this.data("validation" + name + "Message");
}
result.message = message;
result.originalName = name;
return result;
}
, validate: function ($this, value, validator) {
return (!validator.regex.test(value) && !validator.negative) || (validator.regex.test(value) && validator.negative);
}
}
, email: {
name: "email"
, init: function ($this, name) {
var result = {};
result.regex = regexFromString('[a-zA-Z0-9.!#$%&\u2019*+/=?^_`{|}~-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}');
var message = "Not a valid email address";
if ($this.data("validation" + name + "Message")) {
message = $this.data("validation" + name + "Message");
}
result.message = message;
result.originalName = name;
return result;
}
, validate: function ($this, value, validator) {
return (!validator.regex.test(value) && !validator.negative) || (validator.regex.test(value) && validator.negative);
}
}
, required: {
name: "required"
, init: function ($this, name) {
var message = "This is required";
if ($this.data("validation" + name + "Message")) {
message = $this.data("validation" + name + "Message");
}
return {
message: message
, includeEmpty: true
};
}
, validate: function ($this, value, validator) {
return !!((value.length === 0 && !validator.negative) || (value.length > 0 && validator.negative));
}
, blockSubmit: true
}
, match: {
name: "match"
, init: function ($this, name) {
var elementName = $this.data("validation" + name + "Match");
var $form = $this.parents("form").first();
var $element = $form.find("[name=\"" + elementName + "\"]").first();
$element.bind("validation.validation", function () {
$this.trigger("revalidate.validation", {
submitting: true
});
});
var result = {};
result.element = $element;
if ($element.length === 0) {
$.error("Can't find field '" + elementName + "' to match '" + $this.attr("name") + "' against in '" + name + "' validator");
}
var message = "Must match";
var $label = null;
if (($label = $form.find("label[for=\"" + elementName + "\"]")).length) {
message += " '" + $label.text() + "'";
}
else if (($label = $element.parents(".form-group").first().find("label")).length) {
message += " '" + $label.first().text() + "'";
}
if ($this.data("validation" + name + "Message")) {
message = $this.data("validation" + name + "Message");
}
result.message = message;
return result;
}
, validate: function ($this, value, validator) {
return (value !== validator.element.val() && !validator.negative) || (value === validator.element.val() && validator.negative);
}
, blockSubmit: true
, includeEmpty: true
}
, max: {
name: "max"
, init: function ($this, name) {
var result = {};
result.max = $this.data("validation" + name + "Max");
result.message = "Too high: Maximum of '" + result.max + "'";
if ($this.data("validation" + name + "Message")) {
result.message = $this.data("validation" + name + "Message");
}
return result;
}
, validate: function ($this, value, validator) {
return (parseFloat(value, 10) > parseFloat(validator.max, 10) && !validator.negative) || (parseFloat(value, 10) <= parseFloat(validator.max, 10) && validator.negative);
}
}
, min: {
name: "min"
, init: function ($this, name) {
var result = {};
result.min = $this.data("validation" + name + "Min");
result.message = "Too low: Minimum of '" + result.min + "'";
if ($this.data("validation" + name + "Message")) {
result.message = $this.data("validation" + name + "Message");
}
return result;
}
, validate: function ($this, value, validator) {
return (parseFloat(value) < parseFloat(validator.min) && !validator.negative) || (parseFloat(value) >= parseFloat(validator.min) && validator.negative);
}
}
, maxlength: {
name: "maxlength"
, init: function ($this, name) {
var result = {};
result.maxlength = $this.data("validation" + name + "Maxlength");
result.message = "Too long: Maximum of '" + result.maxlength + "' characters";
if ($this.data("validation" + name + "Message")) {
result.message = $this.data("validation" + name + "Message");
}
return result;
}
, validate: function ($this, value, validator) {
return ((value.length > validator.maxlength) && !validator.negative) || ((value.length <= validator.maxlength) && validator.negative);
}
}
, minlength: {
name: "minlength"
, init: function ($this, name) {
var result = {};
result.minlength = $this.data("validation" + name + "Minlength");
result.message = "Too short: Minimum of '" + result.minlength + "' characters";
if ($this.data("validation" + name + "Message")) {
result.message = $this.data("validation" + name + "Message");
}
return result;
}
, validate: function ($this, value, validator) {
return ((value.length < validator.minlength) && !validator.negative) || ((value.length >= validator.minlength) && validator.negative);
}
}
, maxchecked: {
name: "maxchecked"
, init: function ($this, name) {
var result = {};
var elements = $this.parents("form").first().find("[name=\"" + $this.attr("name") + "\"]");
elements.bind("change.validation click.validation", function () {
$this.trigger("revalidate.validation", {
includeEmpty: true
});
});
result.elements = elements;
result.maxchecked = $this.data("validation" + name + "Maxchecked");
var message = "Too many: Max '" + result.maxchecked + "' checked";
if ($this.data("validation" + name + "Message")) {
message = $this.data("validation" + name + "Message");
}
result.message = message;
return result;
}
, validate: function ($this, value, validator) {
return (validator.elements.filter(":checked").length > validator.maxchecked && !validator.negative) || (validator.elements.filter(":checked").length <= validator.maxchecked && validator.negative);
}
, blockSubmit: true
}
, minchecked: {
name: "minchecked"
, init: function ($this, name) {
var result = {};
var elements = $this.parents("form").first().find("[name=\"" + $this.attr("name") + "\"]");
elements.bind("change.validation click.validation", function () {
$this.trigger("revalidate.validation", {
includeEmpty: true
});
});
result.elements = elements;
result.minchecked = $this.data("validation" + name + "Minchecked");
var message = "Too few: Min '" + result.minchecked + "' checked";
if ($this.data("validation" + name + "Message")) {
message = $this.data("validation" + name + "Message");
}
result.message = message;
return result;
}
, validate: function ($this, value, validator) {
return (validator.elements.filter(":checked").length < validator.minchecked && !validator.negative) || (validator.elements.filter(":checked").length >= validator.minchecked && validator.negative);
}
, blockSubmit: true
, includeEmpty: true
}
, number: {
name: "number"
, init: function ($this, name) {
var result = {};
result.step = 1;
if ($this.attr("step")) {
result.step = $this.attr("step");
}
if ($this.data("validation" + name + "Step")) {
result.step = $this.data("validation" + name + "Step");
}
result.decimal = ".";
if ($this.data("validation" + name + "Decimal")) {
result.decimal = $this.data("validation" + name + "Decimal");
}
result.thousands = "";
if ($this.data("validation" + name + "Thousands")) {
result.thousands = $this.data("validation" + name + "Thousands");
}
result.regex = regexFromString("([+-]?\\d+(\\" + result.decimal + "\\d+)?)?");
result.message = "Must be a number";
var dataMessage = $this.data("validation" + name + "Message");
if (dataMessage) {
result.message = dataMessage;
}
return result;
}
, validate: function ($this, value, validator) {
var globalValue = value.replace(validator.decimal, ".").replace(validator.thousands, "");
var multipliedValue = parseFloat(globalValue);
var multipliedStep = parseFloat(validator.step);
while (multipliedStep % 1 !== 0) {
multipliedStep = parseFloat(multipliedStep.toPrecision(12)) * 10;
multipliedValue = parseFloat(multipliedValue.toPrecision(12)) * 10;
}
var regexResult = validator.regex.test(value);
var stepResult = parseFloat(multipliedValue) % parseFloat(multipliedStep) === 0;
var typeResult = !isNaN(parseFloat(globalValue)) && isFinite(globalValue);
var result = !(regexResult && stepResult && typeResult);
return result;
}
, message: "Must be a number"
}
}
, builtInValidators: {
email: {
name: "Email"
, type: "email"
}
, passwordagain: {
name: "Passwordagain"
, type: "match"
, match: "password"
, message: "Does not match the given password<!-- data-validator-paswordagain-message to override -->"
}
, positive: {
name: "Positive"
, type: "shortcut"
, shortcut: "number,positivenumber"
}
, negative: {
name: "Negative"
, type: "shortcut"
, shortcut: "number,negativenumber"
}
, integer: {
name: "Integer"
, type: "regex"
, regex: "[+-]?\\d+"
, message: "No decimal places allowed<!-- data-validator-integer-message to override -->"
}
, positivenumber: {
name: "Positivenumber"
, type: "min"
, min: 0
, message: "Must be a positive number<!-- data-validator-positivenumber-message to override -->"
}
, negativenumber: {
name: "Negativenumber"
, type: "max"
, max: 0
, message: "Must be a negative number<!-- data-validator-negativenumber-message to override -->"
}
, required: {
name: "Required"
, type: "required"
, message: "This is required<!-- data-validator-required-message to override -->"
}
, checkone: {
name: "Checkone"
, type: "minchecked"
, minchecked: 1
, message: "Check at least one option<!-- data-validation-checkone-message to override -->"
}
, number: {
name: "Number"
, type: "number"
, decimal: "."
, step: "1"
}
, pattern: {
name: "Pattern"
, type: "regex"
, message: "Not in expected format"
}
}
};
var formatValidatorName = function (name) {
return name.toLowerCase().replace(/(^|\s)([a-z])/g, function (m, p1, p2) {
return p1 + p2.toUpperCase();
});
};
var getValue = function ($this) {
var value = null;
var type = $this.attr("type");
if (type === "checkbox") {
value = ($this.is(":checked") ? value : "");
var checkboxParent = $this.parents("form").first() || $this.parents(".form-group").first();
if (checkboxParent) {
value = checkboxParent.find("input[name='" + $this.attr("name") + "']:checked").map(function (i, el) {
return $(el).val();
}).toArray().join(",");
}
}
else if (type === "radio") {
value = ($('input[name="' + $this.attr("name") + '"]:checked').length > 0 ? $this.val() : "");
var radioParent = $this.parents("form").first() || $this.parents(".form-group").first();
if (radioParent) {
value = radioParent.find("input[name='" + $this.attr("name") + "']:checked").map(function (i, el) {
return $(el).val();
}).toArray().join(",");
}
}
else if (type === "number") {
if ($this[0].validity.valid) {
value = $this.val();
}
else {
if ($this[0].validity.badInput || $this[0].validity.stepMismatch) {
value = "NaN";
}
else {
value = "";
}
}
}
else {
value = $this.val();
}
return value;
};
function regexFromString(inputstring) {
return new RegExp("^" + inputstring + "$");
}
/**
* Thanks to Jason Bunting via StackOverflow.com
*
* http://stackoverflow.com/questions/359788/how-to-execute-a-javascript-function-when-i-have-its-name-as-a-string#answer-359910
* Short link: http://tinyurl.com/executeFunctionByName
**/
function executeFunctionByName(functionName, context) {
var args = Array.prototype.slice.call(arguments, 2);
var namespaces = functionName.split(".");
var func = namespaces.pop();
for (var i = 0; i < namespaces.length; i++) {
context = context[namespaces[i]];
}
return context[func].apply(context, args);
}
$.fn.jqBootstrapValidation = function (method) {
if (defaults.methods[method]) {
return defaults.methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
}
else if (typeof method === 'object' || !method) {
return defaults.methods.init.apply(this, arguments);
}
else {
$.error('Method ' + method + ' does not exist on jQuery.jqBootstrapValidation');
return null;
}
};
$.jqBootstrapValidation = function (options) {
$(":input").not("[type=image],[type=submit]").jqBootstrapValidation.apply(this, arguments);
};
})(jQuery);
|
274056675/springboot-openai-chatgpt | 1,150 | chatgpt-boot/src/main/java/org/springblade/Application.java | /**
* Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springblade;
import org.springblade.common.constant.LauncherConstant;
import org.springblade.core.launch.BladeApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
/**
* 启动器
*
* @author Chill
*/
@EnableScheduling
@SpringBootApplication
public class Application {
public static void main(String[] args) {
BladeApplication.run(LauncherConstant.APPLICATION_NAME, Application.class, args);
}
}
|
274056675/springboot-openai-chatgpt | 4,138 | chatgpt-boot/src/main/java/org/springblade/modules/resource/OssEndpoint.java | /**
* Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springblade.modules.resource;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import lombok.SneakyThrows;
import org.springblade.core.oss.QiniuTemplate;
import org.springblade.core.oss.model.BladeFile;
import org.springblade.core.oss.model.OssFile;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.Func;
import org.springframework.context.annotation.Lazy;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
/**
* 对象存储端点
*
* @author Chill
*/
@Lazy
@RestController
@AllArgsConstructor
@RequestMapping("/blade-resource/oss/endpoint")
@Api(value = "对象存储端点", tags = "对象存储端点")
public class OssEndpoint {
@Lazy
private QiniuTemplate qiniuTemplate;
/**
* 创建存储桶
*
* @param bucketName 存储桶名称
* @return Bucket
*/
@SneakyThrows
@PostMapping("/make-bucket")
public R makeBucket(@RequestParam String bucketName) {
qiniuTemplate.makeBucket(bucketName);
return R.success("创建成功");
}
/**
* 创建存储桶
*
* @param bucketName 存储桶名称
* @return R
*/
@SneakyThrows
@PostMapping("/remove-bucket")
public R removeBucket(@RequestParam String bucketName) {
qiniuTemplate.removeBucket(bucketName);
return R.success("删除成功");
}
/**
* 拷贝文件
*
* @param fileName 存储桶对象名称
* @param destBucketName 目标存储桶名称
* @param destFileName 目标存储桶对象名称
* @return R
*/
@SneakyThrows
@PostMapping("/copy-file")
public R copyFile(@RequestParam String fileName, @RequestParam String destBucketName, String destFileName) {
qiniuTemplate.copyFile(fileName, destBucketName, destFileName);
return R.success("操作成功");
}
/**
* 获取文件信息
*
* @param fileName 存储桶对象名称
* @return InputStream
*/
@SneakyThrows
@GetMapping("/stat-file")
public R<OssFile> statFile(@RequestParam String fileName) {
return R.data(qiniuTemplate.statFile(fileName));
}
/**
* 获取文件相对路径
*
* @param fileName 存储桶对象名称
* @return String
*/
@SneakyThrows
@GetMapping("/file-path")
public R<String> filePath(@RequestParam String fileName) {
return R.data(qiniuTemplate.filePath(fileName));
}
/**
* 获取文件外链
*
* @param fileName 存储桶对象名称
* @return String
*/
@SneakyThrows
@GetMapping("/file-link")
public R<String> fileLink(@RequestParam String fileName) {
return R.data(qiniuTemplate.fileLink(fileName));
}
/**
* 上传文件
*
* @param file 文件
* @return ObjectStat
*/
@SneakyThrows
@PostMapping("/put-file")
public R<BladeFile> putFile(@RequestParam MultipartFile file) {
BladeFile bladeFile = qiniuTemplate.putFile(file.getOriginalFilename(), file.getInputStream());
return R.data(bladeFile);
}
/**
* 上传文件
*
* @param fileName 存储桶对象名称
* @param file 文件
* @return ObjectStat
*/
@SneakyThrows
@PostMapping("/put-file-by-name")
public R<BladeFile> putFile(@RequestParam String fileName, @RequestParam MultipartFile file) {
BladeFile bladeFile = qiniuTemplate.putFile(fileName, file.getInputStream());
return R.data(bladeFile);
}
/**
* 删除文件
*
* @param fileName 存储桶对象名称
* @return R
*/
@SneakyThrows
@PostMapping("/remove-file")
public R removeFile(@RequestParam String fileName) {
qiniuTemplate.removeFile(fileName);
return R.success("操作成功");
}
/**
* 批量删除文件
*
* @param fileNames 存储桶对象名称集合
* @return R
*/
@SneakyThrows
@PostMapping("/remove-files")
public R removeFiles(@RequestParam String fileNames) {
qiniuTemplate.removeFiles(Func.toStrList(fileNames));
return R.success("操作成功");
}
}
|
274056675/springboot-openai-chatgpt | 1,079 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/mapper/ImageMapper.java | /*
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the dreamlu.net developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: Chill 庄骞 (smallchill@163.com)
*/
package org.springblade.modules.mjkj.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.Map;
/**
*图片相关相关
*/
public interface ImageMapper {
IPage<Map<String, Object>> getMyStarHistoryPage(IPage page, String wxuserId);
}
|
233zzh/TitanDataOperationSystem | 13,607 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/prism/prism.js | /* PrismJS 1.14.0
http://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript&plugins=normalize-whitespace */
var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var e=/\blang(?:uage)?-([\w-]+)\b/i,t=0,n=_self.Prism={manual:_self.Prism&&_self.Prism.manual,disableWorkerMessageHandler:_self.Prism&&_self.Prism.disableWorkerMessageHandler,util:{encode:function(e){return e instanceof r?new r(e.type,n.util.encode(e.content),e.alias):"Array"===n.util.type(e)?e.map(n.util.encode):e.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).match(/\[object (\w+)\]/)[1]},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function(e,t){var r=n.util.type(e);switch(t=t||{},r){case"Object":if(t[n.util.objId(e)])return t[n.util.objId(e)];var a={};t[n.util.objId(e)]=a;for(var l in e)e.hasOwnProperty(l)&&(a[l]=n.util.clone(e[l],t));return a;case"Array":if(t[n.util.objId(e)])return t[n.util.objId(e)];var a=[];return t[n.util.objId(e)]=a,e.forEach(function(e,r){a[r]=n.util.clone(e,t)}),a}return e}},languages:{extend:function(e,t){var r=n.util.clone(n.languages[e]);for(var a in t)r[a]=t[a];return r},insertBefore:function(e,t,r,a){a=a||n.languages;var l=a[e];if(2==arguments.length){r=arguments[1];for(var i in r)r.hasOwnProperty(i)&&(l[i]=r[i]);return l}var o={};for(var s in l)if(l.hasOwnProperty(s)){if(s==t)for(var i in r)r.hasOwnProperty(i)&&(o[i]=r[i]);o[s]=l[s]}return n.languages.DFS(n.languages,function(t,n){n===a[e]&&t!=e&&(this[t]=o)}),a[e]=o},DFS:function(e,t,r,a){a=a||{};for(var l in e)e.hasOwnProperty(l)&&(t.call(e,l,e[l],r||l),"Object"!==n.util.type(e[l])||a[n.util.objId(e[l])]?"Array"!==n.util.type(e[l])||a[n.util.objId(e[l])]||(a[n.util.objId(e[l])]=!0,n.languages.DFS(e[l],t,l,a)):(a[n.util.objId(e[l])]=!0,n.languages.DFS(e[l],t,null,a)))}},plugins:{},highlightAll:function(e,t){n.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,r){var a={callback:r,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};n.hooks.run("before-highlightall",a);for(var l,i=a.elements||e.querySelectorAll(a.selector),o=0;l=i[o++];)n.highlightElement(l,t===!0,a.callback)},highlightElement:function(t,r,a){for(var l,i,o=t;o&&!e.test(o.className);)o=o.parentNode;o&&(l=(o.className.match(e)||[,""])[1].toLowerCase(),i=n.languages[l]),t.className=t.className.replace(e,"").replace(/\s+/g," ")+" language-"+l,t.parentNode&&(o=t.parentNode,/pre/i.test(o.nodeName)&&(o.className=o.className.replace(e,"").replace(/\s+/g," ")+" language-"+l));var s=t.textContent,u={element:t,language:l,grammar:i,code:s};if(n.hooks.run("before-sanity-check",u),!u.code||!u.grammar)return u.code&&(n.hooks.run("before-highlight",u),u.element.textContent=u.code,n.hooks.run("after-highlight",u)),n.hooks.run("complete",u),void 0;if(n.hooks.run("before-highlight",u),r&&_self.Worker){var g=new Worker(n.filename);g.onmessage=function(e){u.highlightedCode=e.data,n.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,a&&a.call(u.element),n.hooks.run("after-highlight",u),n.hooks.run("complete",u)},g.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else u.highlightedCode=n.highlight(u.code,u.grammar,u.language),n.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,a&&a.call(t),n.hooks.run("after-highlight",u),n.hooks.run("complete",u)},highlight:function(e,t,a){var l={code:e,grammar:t,language:a};return n.hooks.run("before-tokenize",l),l.tokens=n.tokenize(l.code,l.grammar),n.hooks.run("after-tokenize",l),r.stringify(n.util.encode(l.tokens),l.language)},matchGrammar:function(e,t,r,a,l,i,o){var s=n.Token;for(var u in r)if(r.hasOwnProperty(u)&&r[u]){if(u==o)return;var g=r[u];g="Array"===n.util.type(g)?g:[g];for(var c=0;c<g.length;++c){var h=g[c],f=h.inside,d=!!h.lookbehind,m=!!h.greedy,p=0,y=h.alias;if(m&&!h.pattern.global){var v=h.pattern.toString().match(/[imuy]*$/)[0];h.pattern=RegExp(h.pattern.source,v+"g")}h=h.pattern||h;for(var b=a,k=l;b<t.length;k+=t[b].length,++b){var w=t[b];if(t.length>e.length)return;if(!(w instanceof s)){if(m&&b!=t.length-1){h.lastIndex=k;var _=h.exec(e);if(!_)break;for(var j=_.index+(d?_[1].length:0),P=_.index+_[0].length,A=b,x=k,O=t.length;O>A&&(P>x||!t[A].type&&!t[A-1].greedy);++A)x+=t[A].length,j>=x&&(++b,k=x);if(t[b]instanceof s)continue;I=A-b,w=e.slice(k,x),_.index-=k}else{h.lastIndex=0;var _=h.exec(w),I=1}if(_){d&&(p=_[1]?_[1].length:0);var j=_.index+p,_=_[0].slice(p),P=j+_.length,N=w.slice(0,j),S=w.slice(P),C=[b,I];N&&(++b,k+=N.length,C.push(N));var E=new s(u,f?n.tokenize(_,f):_,y,_,m);if(C.push(E),S&&C.push(S),Array.prototype.splice.apply(t,C),1!=I&&n.matchGrammar(e,t,r,b,k,!0,u),i)break}else if(i)break}}}}},tokenize:function(e,t){var r=[e],a=t.rest;if(a){for(var l in a)t[l]=a[l];delete t.rest}return n.matchGrammar(e,r,t,0,0,!1),r},hooks:{all:{},add:function(e,t){var r=n.hooks.all;r[e]=r[e]||[],r[e].push(t)},run:function(e,t){var r=n.hooks.all[e];if(r&&r.length)for(var a,l=0;a=r[l++];)a(t)}}},r=n.Token=function(e,t,n,r,a){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length,this.greedy=!!a};if(r.stringify=function(e,t,a){if("string"==typeof e)return e;if("Array"===n.util.type(e))return e.map(function(n){return r.stringify(n,t,e)}).join("");var l={type:e.type,content:r.stringify(e.content,t,a),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:a};if(e.alias){var i="Array"===n.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(l.classes,i)}n.hooks.run("wrap",l);var o=Object.keys(l.attributes).map(function(e){return e+'="'+(l.attributes[e]||"").replace(/"/g,""")+'"'}).join(" ");return"<"+l.tag+' class="'+l.classes.join(" ")+'"'+(o?" "+o:"")+">"+l.content+"</"+l.tag+">"},!_self.document)return _self.addEventListener?(n.disableWorkerMessageHandler||_self.addEventListener("message",function(e){var t=JSON.parse(e.data),r=t.language,a=t.code,l=t.immediateClose;_self.postMessage(n.highlight(a,n.languages[r],r)),l&&_self.close()},!1),_self.Prism):_self.Prism;var a=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return a&&(n.filename=a.src,n.manual||a.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(n.highlightAll):window.setTimeout(n.highlightAll,16):document.addEventListener("DOMContentLoaded",n.highlightAll))),_self.Prism}();"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism);
Prism.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:/<!DOCTYPE[\s\S]+?>/i,cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/(^|[^\\])["']/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.hooks.add("wrap",function(a){"entity"===a.type&&(a.attributes.title=a.content.replace(/&/,"&"))}),Prism.languages.xml=Prism.languages.markup,Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup;
Prism.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(?:;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^{}\s][^{};]*?(?=\s*\{)/,string:{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/\B!important\b/i,"function":/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.languages.css,Prism.languages.markup&&(Prism.languages.insertBefore("markup","tag",{style:{pattern:/(<style[\s\S]*?>)[\s\S]*?(?=<\/style>)/i,lookbehind:!0,inside:Prism.languages.css,alias:"language-css",greedy:!0}}),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:Prism.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:Prism.languages.css}},alias:"language-css"}},Prism.languages.markup.tag));
Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,"boolean":/\b(?:true|false)\b/,"function":/[a-z0-9_]+(?=\()/i,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/};
Prism.languages.javascript=Prism.languages.extend("clike",{keyword:/\b(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/,number:/\b(?:0[xX][\dA-Fa-f]+|0[bB][01]+|0[oO][0-7]+|NaN|Infinity)\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee][+-]?\d+)?/,"function":/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*\()/i,operator:/-[-=]?|\+[+=]?|!=?=?|<<?=?|>>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/}),Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[[^\]\r\n]+]|\\.|[^\/\\\[\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})\]]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=\s*(?:function\b|(?:\([^()]*\)|[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/i,alias:"function"},constant:/\b[A-Z][A-Z\d_]*\b/}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^}]+\}/,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{script:{pattern:/(<script[\s\S]*?>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,inside:Prism.languages.javascript,alias:"language-javascript",greedy:!0}}),Prism.languages.js=Prism.languages.javascript;
!function(){function e(e){this.defaults=r({},e)}function n(e){return e.replace(/-(\w)/g,function(e,n){return n.toUpperCase()})}function t(e){for(var n=0,t=0;t<e.length;++t)e.charCodeAt(t)==" ".charCodeAt(0)&&(n+=3);return e.length+n}var r=Object.assign||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e};e.prototype={setDefaults:function(e){this.defaults=r(this.defaults,e)},normalize:function(e,t){t=r(this.defaults,t);for(var i in t){var o=n(i);"normalize"!==i&&"setDefaults"!==o&&t[i]&&this[o]&&(e=this[o].call(this,e,t[i]))}return e},leftTrim:function(e){return e.replace(/^\s+/,"")},rightTrim:function(e){return e.replace(/\s+$/,"")},tabsToSpaces:function(e,n){return n=0|n||4,e.replace(/\t/g,new Array(++n).join(" "))},spacesToTabs:function(e,n){return n=0|n||4,e.replace(new RegExp(" {"+n+"}","g")," ")},removeTrailing:function(e){return e.replace(/\s*?$/gm,"")},removeInitialLineFeed:function(e){return e.replace(/^(?:\r?\n|\r)/,"")},removeIndent:function(e){var n=e.match(/^[^\S\n\r]*(?=\S)/gm);return n&&n[0].length?(n.sort(function(e,n){return e.length-n.length}),n[0].length?e.replace(new RegExp("^"+n[0],"gm"),""):e):e},indent:function(e,n){return e.replace(/^[^\S\n\r]*(?=\S)/gm,new Array(++n).join(" ")+"$&")},breakLines:function(e,n){n=n===!0?80:0|n||80;for(var r=e.split("\n"),i=0;i<r.length;++i)if(!(t(r[i])<=n)){for(var o=r[i].split(/(\s+)/g),a=0,s=0;s<o.length;++s){var l=t(o[s]);a+=l,a>n&&(o[s]="\n"+o[s],a=l)}r[i]=o.join("")}return r.join("\n")}},"undefined"!=typeof module&&module.exports&&(module.exports=e),"undefined"!=typeof Prism&&(Prism.plugins.NormalizeWhitespace=new e({"remove-trailing":!0,"remove-indent":!0,"left-trim":!0,"right-trim":!0}),Prism.hooks.add("before-sanity-check",function(e){var n=Prism.plugins.NormalizeWhitespace;if(!e.settings||e.settings["whitespace-normalization"]!==!1){if((!e.element||!e.element.parentNode)&&e.code)return e.code=n.normalize(e.code,e.settings),void 0;var t=e.element.parentNode,r=/\bno-whitespace-normalization\b/;if(e.code&&t&&"pre"===t.nodeName.toLowerCase()&&!r.test(t.className)&&!r.test(e.element.className)){for(var i=t.childNodes,o="",a="",s=!1,l=0;l<i.length;++l){var c=i[l];c==e.element?s=!0:"#text"===c.nodeName&&(s?a+=c.nodeValue:o+=c.nodeValue,t.removeChild(c),--l)}if(e.element.children.length&&Prism.plugins.KeepMarkup){var u=o+e.element.innerHTML+a;e.element.innerHTML=n.normalize(u,e.settings),e.code=e.element.textContent}else e.code=o+e.code+a,e.code=n.normalize(e.code,e.settings)}}}))}();
|
274056675/springboot-openai-chatgpt | 2,463 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/mapper/WebMapper.xml | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.modules.mjkj.mapper.WebMapper">
<select id="getMinAccountCou" resultType="map">
SELECT
api_account_id,
IFNULL( count( 1 ), 0 ) cou
FROM
chat_wxuser
WHERE
is_deleted = 0
AND api_account_id IS NOT NULL
GROUP BY
api_account_id
ORDER BY
cou ASC
</select>
<select id="getMessageCou" resultType="Integer">
select
sum(cou)
from (
SELECT
count( 1 ) AS cou
FROM
chat_log_message
WHERE
message_type = 'q'
and wxuser_id=#{wxuserId}
UNION
SELECT
count( 1 ) AS cou
FROM
chat_log_message_fun
where wxuser_id=#{wxuserId}
UNION
select
sum(use_point) as cou
from
chat_image_info
where wxuser_id=#{wxuserId}
) t
</select>
<select id="getMessageHotList" resultType="map">
SELECT
lm_q.id,
wx.wx_name,
wx.wx_avatar,
lm_q.message_content message_q,
lm_a.message_content message_a,
ifnull(lm_q.hot_time,lm_a.hot_time) hot_time,
(select ifnull(count(id),0) from chat_hot_message_star ms where ms.is_deleted=0 and ms.log_message_id=lm_q.id) as star_num
FROM
chat_log_message lm_q
INNER JOIN chat_log_message lm_a on lm_q.id =lm_a.pid
INNER JOIN chat_wxuser wx on lm_q.wxuser_id =wx.id
where
lm_q.is_deleted=0
and lm_a.is_deleted =0
and wx.is_deleted =0
and (lm_q.is_hot=1 or lm_a.is_hot =1)
order by hot_time desc
</select>
<select id="getSubCouList" resultType="map">
SELECT
id,
wx_name,
register_time,
view_sub_member,
(select count(id) from chat_wxuser where is_deleted =0 and pid=wx.id) as cou
FROM
chat_wxuser wx
where wx.pid=#{wxuserId}
and wx.is_deleted =0
-- order by cou desc,id+0 desc
order by id+0 desc
</select>
</mapper>
|
274056675/springboot-openai-chatgpt | 3,449 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/mapper/MngMapper.java | /*
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the dreamlu.net developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: Chill 庄骞 (smallchill@163.com)
*/
package org.springblade.modules.mjkj.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
/**
*后台相关
*/
public interface MngMapper {
/**
* 聊天记录
* @return
*/
IPage<Map<String, Object>> getMessageHistoryList(@Param("page") IPage<Map<String, Object>> page, @Param("params") Map<String, Object> params);
/**
* 更多好玩-聊天记录
* @return
*/
IPage<Map<String, Object>> getMessageMoreFunHistoryList(@Param("page") IPage<Map<String, Object>> page, @Param("params") Map<String, Object> params);
/**
* 获取用户列表
* @return
*/
IPage<Map<String, Object>> getWxUserList(@Param("page") IPage<Map<String, Object>> page, @Param("params") Map<String, Object> params);
//获取最近三十天的数据-提问次数
List<Map<String,Object>> getMessageCouList();
//获取最近三十天的数据-注册人数
List<Map<String,Object>> getRegisterCouList();
//获取最近三十天的数据-使用人数
List<Map<String,Object>> getUseWuserCouList();
//获取最近三十天的数据-分享次数
List<Map<String,Object>> getShareCouList();
//获取最近三十天的数据-签到次数
List<Map<String,Object>> getSignCouList();
//获取最近三十天的数据-文件下载次数
List<Map<String,Object>> getFileCouList();
/**
* 分享记录
* @return
*/
IPage<Map<String, Object>> getShareHistoryList(@Param("page") IPage<Map<String, Object>> page, @Param("params") Map<String, Object> params);
/**
* 消息次数详情
* @return
*/
IPage<Map<String, Object>> getNumLogList(@Param("page") IPage<Map<String, Object>> page, @Param("params") Map<String, Object> params);
/**
* 今日统计
* @return
*/
IPage<Map<String, Object>> getTodayCountList(@Param("page") IPage<Map<String, Object>> page, @Param("params") Map<String, Object> params);
/**
* 佣金记录
* @return
*/
IPage<Map<String, Object>> getCommissionLogList(@Param("page") IPage<Map<String, Object>> page, @Param("params") Map<String, Object> params);
/**
* 钱包记录
* @return
*/
IPage<Map<String, Object>> getWalletHistoryLogList(@Param("page") IPage<Map<String, Object>> page, @Param("params") Map<String, Object> params);
/**
* 订单列表
* @return
*/
IPage<Map<String, Object>> getOrderList(@Param("page") IPage<Map<String, Object>> page, @Param("params") Map<String, Object> params);
/**
* 绘图记录
* @return
*/
IPage<Map<String, Object>> getViewImageList(@Param("page") IPage<Map<String, Object>> page, @Param("params") Map<String, Object> params);
/**
* 绘图记录-待审核
* @return
*/
IPage<Map<String, Object>> getViewImageTodoList(@Param("page") IPage<Map<String, Object>> page, @Param("params") Map<String, Object> params);
}
|
274056675/springboot-openai-chatgpt | 2,227 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/mapper/IndexMapper.java | /*
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the dreamlu.net developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: Chill 庄骞 (smallchill@163.com)
*/
package org.springblade.modules.mjkj.mapper;
import java.util.List;
import java.util.Map;
/**
*首页相关
*/
public interface IndexMapper {
//普通用户数
Integer getCommonUserCou();
//群机器人用户数
Integer getRobotUserCou();
//付费用户数
Integer getPayUserCou();
//会员信息
List<Map<String, Object>> grtMember();
//今日新增会员
Integer getNewMemberTodayCou();
//今日新增付费会员
Integer getNewPayMemberTodayCou();
//今日活跃用户
Integer getActiveUserTodayCou();
//本年收入汇总
Map<String,Object> getCurrentYearTotalIncomeCou();
//本季度收入汇总
Map<String,Object> getTotalQuarterlyRevenueCou();
//本月收入汇总
Map<String,Object> getTotalMonthlyIncomeCou();
//本年充值会员数
Integer getCurrentYearMemberCou();
//本季度充值会员数
Integer getQuarterMemberCou();
//本月充值会员数
Integer getMonthMemberCou();
//总提问数
Integer getTotalQuestions();
//总画图数
Integer getTotalNumberDrawings();
//机器人提问数
Integer getSwarmRobotsTotalQuestions();
//今日问题数
Integer getTodayQuestions();
//今日画图数
Integer getTodayNumberDrawings();
//今日群提问数
Integer getTodayGroupQuestions();
//今日所收入佣金
Map<String,Long> getTodayCommissionsEarned();
//今日实收入
Map<String,Long> getTodayRevenue();
//总提现金额
Map<String,Object> getTotalWithdrawals();
//提现次数
Integer getTotalQuantity();
//总收入佣金
Map<String,Object> getTotalCommissions();
//会员数
Integer getTotalNumberMembers();
//总收入
Map<String,Object> getGrossIncome();
//总付费会员数
Integer getNumberPaidMembers();
}
|
233zzh/TitanDataOperationSystem | 7,218 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/prism/prism.css | /* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+ruby+css-extras+git+jade+json+php+php-extras+sass+scss+sql&plugins=line-highlight+line-numbers+show-invisibles+autolinker+file-highlight+show-language+jsonp-highlight+highlight-keywords+remove-initial-line-feed+autoloader+unescaped-markup+command-line+normalize-whitespace+keep-markup */
/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/
code[class*="language-"],
pre[class*="language-"] {
color: #8a8484;
background: none;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
font-size: 100%;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
pre[class*="language-"]::-moz-selection,
pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection,
code[class*="language-"] ::-moz-selection {
text-shadow: none;
background: #b3d4fc;
}
pre[class*="language-"]::selection,
pre[class*="language-"] ::selection,
code[class*="language-"]::selection,
code[class*="language-"] ::selection {
text-shadow: none;
background: #b3d4fc;
}
@media print {
code[class*="language-"],
pre[class*="language-"] {
text-shadow: none;
}
}
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
max-height: 250px;
position: relative;
}
:not(pre)>code[class*="language-"],
pre[class*="language-"] {
background: #FFF;
border: 1px solid #F0F0F0;
border-left: 2px solid #3BAFDA;
border-radius: 4px;
}
/* Inline code */
:not(pre)>code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: slategray;
}
.token.punctuation {
color: #999;
}
.namespace {
opacity: .7;
}
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
color: #905;
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
color: #690;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
color: #a67f59;
background: hsla(0, 0%, 100%, .5);
}
.token.atrule,
.token.attr-value,
.token.keyword {
color: #07a;
}
.token.function {
color: #DD4A68;
}
.token.regex,
.token.important,
.token.variable {
color: #e90;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}
pre[data-line] {
position: relative;
padding: 1em 0 1em 3em;
}
pre[data-file]::before {
content: attr(data-file);
position: absolute;
top: 0;
right: 0;
}
.line-highlight {
position: absolute;
left: 0;
right: 0;
padding: inherit 0;
margin-top: 1em;
/* Same as .prism’s padding-top */
background: hsla(24, 20%, 50%, .08);
background: -moz-linear-gradient(to right, hsla(186, 83%, 68%, 0.11) 70%, hsla(186, 33%, 82%, 0));
background: -webkit-linear-gradient(to right, hsla(186, 83%, 68%, 0.11) 70%, hsla(186, 33%, 82%, 0));
background: -o-linear-gradient(to right, hsla(186, 83%, 68%, 0.11) 70%, hsla(186, 33%, 82%, 0));
background: linear-gradient(to right, hsla(186, 83%, 68%, 0.11) 70%, hsla(186, 33%, 82%, 0));
pointer-events: none;
line-height: inherit;
white-space: pre;
}
.line-highlight:before,
.line-highlight[data-end]:after {
content: attr(data-start);
position: absolute;
top: .4em;
left: .6em;
min-width: 1em;
padding: 0 .5em;
color: #187798;
font: 75%/1.5 sans-serif;
text-align: center;
vertical-align: .3em;
border-radius: 999px;
text-shadow: none;
box-shadow: 0 1px white;
}
.line-highlight[data-end]:after {
content: attr(data-end);
top: auto;
bottom: .4em;
}
pre.line-numbers {
position: relative;
padding-left: 3.8em;
counter-reset: linenumber;
}
pre.line-numbers>code {
position: relative;
}
.line-numbers .line-numbers-rows {
position: absolute;
pointer-events: none;
top: 0;
font-size: 100%;
left: -3.8em;
width: 3em;
/* works for line-numbers below 1000 lines */
letter-spacing: -1px;
border-right: 1px solid #999;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.line-numbers-rows>span {
pointer-events: none;
display: block;
counter-increment: linenumber;
}
.line-numbers-rows>span:before {
content: counter(linenumber);
color: #999;
display: block;
padding-right: 0.8em;
text-align: right;
}
.token.tab:not(:empty),
.token.cr,
.token.lf,
.token.space {
position: relative;
}
.token.tab:not(:empty):before,
.token.cr:before,
.token.lf:before,
.token.space:before {
color: hsl(24, 20%, 85%);
position: absolute;
}
.token.tab:not(:empty):before {
content: '\21E5';
}
.token.cr:before {
content: '\240D';
}
.token.crlf:before {
content: '\240D\240A';
}
.token.lf:before {
content: '\240A';
}
.token.space:before {
content: '\00B7';
}
.token a {
color: inherit;
}
div.prism-show-language {
position: relative;
}
div.prism-show-language>div.prism-show-language-label {
color: #555;
background-color: #E5E5E5;
display: inline-block;
position: absolute;
bottom: auto;
left: auto;
top: 0;
right: 0;
width: auto;
height: auto;
font-size: 0.9em;
border-radius: 0 4px 0 0;
padding: 0 0.5em;
text-shadow: none;
z-index: 1;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
-webkit-transform: none;
-moz-transform: none;
-ms-transform: none;
-o-transform: none;
transform: none;
}
/* Fallback, in case JS does not run, to ensure the code is at least visible */
.lang-markup script[type='text/plain'],
.language-markup script[type='text/plain'],
script[type='text/plain'].lang-markup,
script[type='text/plain'].language-markup {
display: block;
font: 100% Consolas, Monaco, monospace;
white-space: pre;
overflow: auto;
}
.command-line-prompt {
border-right: 1px solid #999;
display: block;
float: left;
font-size: 100%;
letter-spacing: -1px;
margin-right: 1em;
pointer-events: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.command-line-prompt>span:before {
color: #999;
content: ' ';
display: block;
padding-right: 0.8em;
}
.command-line-prompt>span[data-user]:before {
content: "[" attr(data-user) "@" attr(data-host) "] $";
}
.command-line-prompt>span[data-user="root"]:before {
content: "[" attr(data-user) "@" attr(data-host) "] #";
}
.command-line-prompt>span[data-prompt]:before {
content: attr(data-prompt);
} |
274056675/springboot-openai-chatgpt | 1,263 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/mapper/WebMapper.java | /*
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the dreamlu.net developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: Chill 庄骞 (smallchill@163.com)
*/
package org.springblade.modules.mjkj.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.Map;
/**
*后台相关
*/
public interface WebMapper {
//获使用最小次数
Map<String,Object> getMinAccountCou();
//获取消息次数
Integer getMessageCou(String wxuserId);
//获取热门消息
IPage<Map<String, Object>> getMessageHotList(IPage page);
//获取历史聊天记录
IPage<Map<String, Object>> getSubCouList(String wxuserId, IPage<Object> page);
}
|
274056675/springboot-openai-chatgpt | 15,621 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/mapper/MngMapper.xml | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.modules.mjkj.mapper.MngMapper">
<select id="getMessageHistoryList" resultType="map">
SELECT
lm.id as id,
wx.wx_name,
lm.message_content as message_q,
lma.message_content as message_a,
lm.message_time,
lma.message_time as answer_time
FROM
chat_log_message lm
INNER JOIN chat_wxuser wx on lm.wxuser_id =wx.id
LEFT JOIN chat_log_message lma on lma.pid=lm.id and lma.message_type ='a'
WHERE
lm.is_deleted =0
and wx.is_deleted =0
and lm.message_type ='q'
<if test="params.id!=null and params.id!=''">
and lm.id =#{params.id}
</if>
<if test="params.wx_name!=null and params.wx_name!=''">
and wx.wx_name like concat('%', #{params.wx_name}, '%')
</if>
<if test="params.blade_user_id!=null and params.blade_user_id!=''">
and lm.blade_user_id =#{params.blade_user_id}
</if>
<if test="params.view_type!=null and params.view_type!=''">
and lm.view_type =#{params.view_type}
</if>
<if test="params !=null and params.message_time != null and params.message_time != ''">
<![CDATA[
and SUBSTRING_INDEX(#{params.message_time}, ',', 1) <= DATE_FORMAT(lm.message_time, '%Y-%m-%d')
and SUBSTRING_INDEX(#{params.message_time}, ',', -1) >= DATE_FORMAT(lm.message_time, '%Y-%m-%d')
]]>
</if>
order by lm.id+0 desc
</select>
<select id="getMessageMoreFunHistoryList" resultType="map">
SELECT
lm.id as id,
wx.wx_name as view_wxname,
lm.fun_name,
lm.message_q,
lm.message_a,
lm.message_q_time,
lm.message_a_time
FROM
chat_log_message_fun lm
INNER JOIN chat_wxuser wx on lm.wxuser_id =wx.id
WHERE
lm.is_deleted =0
and wx.is_deleted =0
<if test="params.fun_name!=null and params.fun_name!=''">
and lm.fun_name =#{params.fun_name}
</if>
<if test="params.view_wxname!=null and params.view_wxname!=''">
and wx.wx_name like concat('%', #{params.view_wxname}, '%')
</if>
order by lm.id+0 desc
</select>
<select id="getWxUserList" resultType="map">
SELECT
*
FROM
(
SELECT
wuser.id as id,
IFNULL(wuser.wx_name,'匿名用户') AS wx_name,
wuser.wx_avatar,
wuser.last_login_time,
wuser.register_time,
wuser.phone,
wuser.expire_time,
wuser.stop_send_time,
(select ifnull(count(id),0) from chat_log_message where is_deleted =0 and wxuser_id=wuser.id and message_type
='q' ) as view_cou,
wuser.question_cou,
wuser.invite_code,
(select ifnull(count(id),'0') from chat_wxuser where is_deleted =0 and pid=wuser.id ) as view_sub_member,
(select ifnull(count(id),'0') from chat_log_share where is_deleted =0 and wxuser_id=wuser.id ) as view_share_cou,
p_wuser.wx_name as view_p_wx_name,
ifnull(wal.amount,0) as view_amount,
wuser.is_agent,
wuser.source,
wuser.rl_cou,
wuser.rl_used_cou,
wuser.last_login_ip
FROM
chat_wxuser wuser
left join chat_wxuser p_wuser on wuser.pid =p_wuser.id
left join chat_wxuser_wallet wal on wal.wxuser_id =wuser.id
WHERE
wuser.is_deleted =0
<if test="params.wx_name!=null and params.wx_name!=''">
and wuser.wx_name like concat('%', #{params.wx_name},'%')
</if>
<if test="params.view_p_wx_name!=null and params.view_p_wx_name!=''">
and p_wuser.wx_name = #{params.view_p_wx_name}
</if>
<if test="params.phone!=null and params.phone!=''">
and wuser.phone like concat('%', #{params.phone},'%')
</if>
<if test="params.question_cou!=null and params.question_cou!=''">
<![CDATA[
and wuser.question_cou <= #{params.question_cou}
]]>
</if>
<if test="params !=null and params.register_time != null and params.register_time != ''">
<![CDATA[
and SUBSTRING_INDEX(#{params.register_time}, ',', 1) <= DATE_FORMAT(wuser.register_time, '%Y-%m-%d')
and SUBSTRING_INDEX(#{params.register_time}, ',', -1) >= DATE_FORMAT(wuser.register_time, '%Y-%m-%d')
]]>
</if>
) t where 1=1
<if test="params.column!=null and params.column=='id'">
<![CDATA[ order by id+0 ${params.order} ]]>
</if>
<if test="params.column!=null and params.column=='view_cou'">
<![CDATA[ order by view_cou+0 ${params.order} ]]>
</if>
<if test="params.column!=null and params.column=='question_cou'">
<![CDATA[ order by question_cou+0 ${params.order} ]]>
</if>
<if test="params.column!=null and params.column=='view_sub_member'">
<![CDATA[ order by view_sub_member+0 ${params.order} ]]>
</if>
<if test="params.column!=null and params.column=='view_share_cou'">
<![CDATA[ order by view_share_cou+0 ${params.order} ]]>
</if>
</select>
<select id="getMessageCouList" resultType="map">
SELECT
DATE_FORMAT(message_time, '%Y-%m-%d') as timeStr,
count(1) as cou
FROM
chat_log_message
where is_deleted =0
and message_type='q'
group by timeStr
</select>
<select id="getRegisterCouList" resultType="map">
SELECT
DATE_FORMAT(create_time, '%Y-%m-%d') as timeStr,
count(1) as cou
FROM
chat_wxuser
where is_deleted =0
group by timeStr
</select>
<select id="getUseWuserCouList" resultType="map">
SELECT
DATE_FORMAT(message_time, '%Y-%m-%d') as timeStr,
count(distinct wxuser_id) as cou
FROM
chat_log_message
where is_deleted =0
and message_type='q'
group by timeStr
</select>
<select id="getShareCouList" resultType="map">
SELECT
DATE_FORMAT(share_time, '%Y-%m-%d') as timeStr,
count(id) as cou
FROM
chat_log_share
where is_deleted =0
group by timeStr
</select>
<select id="getSignCouList" resultType="map">
SELECT
DATE_FORMAT(sign_time, '%Y-%m-%d') as timeStr,
count(id) as cou
FROM
chat_log_sign
where is_deleted =0
group by timeStr
</select>
<select id="getFileCouList" resultType="map">
SELECT
DATE_FORMAT(create_time, '%Y-%m-%d') as timeStr,
count(id) as cou
FROM
chat_log_file_download
where is_deleted =0
group by timeStr
</select>
<select id="getShareHistoryList" resultType="map">
SELECT
ls.id as id,
wuser.wx_name AS wx_name,
ls.share_time
FROM
chat_wxuser wuser
inner join chat_log_share ls ON wuser.id = ls.wxuser_id
WHERE
wuser.is_deleted =0
<if test="params.wx_name!=null and params.wx_name!=''">
and wuser.wx_name like concat('%', #{params.wx_name}, '%')
</if>
<if test="params !=null and params.share_time != null and params.share_time != ''">
<![CDATA[
and SUBSTRING_INDEX(#{params.message_time}, ',', 1) <= DATE_FORMAT(ls.share_time, '%Y-%m-%d')
and SUBSTRING_INDEX(#{params.message_time}, ',', -1) >= DATE_FORMAT(ls.share_time, '%Y-%m-%d')
]]>
</if>
order by ls.id+0 desc
</select>
<select id="getNumLogList" resultType="map">
SELECT
wx.wx_name as view_wx_name,
lm.message_content as view_question_title,
ln.*
FROM
chat_log_num ln
left join chat_wxuser wx on ln.wxuser_id =wx.id
left join chat_log_message lm on ln.question_id = lm.id
WHERE
ln.is_deleted =0
<if test="params.view_wx_name!=null and params.view_wx_name!=''">
and wx.wx_name like concat('%', #{params.view_wx_name}, '%')
</if>
<if test="params.service_type!=null and params.service_type!=''">
and ln.service_type = #{params.service_type}
</if>
<if test="params.type!=null and params.type!=''">
and ln.type = #{params.type}
</if>
order by ln.id+0 desc
</select>
<select id="getTodayCountList" resultType="map">
SELECT
*
from (
SELECT
wxuser.wx_name,
(select ifnull(count(id),0) from chat_wxuser where pid=wxuser.id and is_deleted =0 and #{params.view_time}=DATE_FORMAT(create_time, '%Y-%m-%d')) as yq_cou,
(select ifnull(count(id),0) from chat_log_share where wxuser_id=wxuser.id and is_deleted =0 and #{params.view_time}=DATE_FORMAT(create_time, '%Y-%m-%d')) as fx_cou,
(select ifnull(count(id),0) from chat_log_message where wxuser_id=wxuser.id and is_deleted =0 and #{params.view_time}=DATE_FORMAT(create_time, '%Y-%m-%d')) as sy_cou
FROM
chat_wxuser wxuser
where is_deleted=0
) t where 1=1
<if test="params.wx_name!=null and params.wx_name!=''">
and wx_name like concat('%', #{params.wx_name}, '%')
</if>
<if test="params.column!=null and params.column=='yq_cou'">
<![CDATA[ and yq_cou >0 order by yq_cou ${params.order} ]]>
</if>
<if test="params.column!=null and params.column=='fx_cou'">
<![CDATA[ and fx_cou >0 order by fx_cou ${params.order} ]]>
</if>
<if test="params.column!=null and params.column=='sy_cou'">
<![CDATA[ and sy_cou >0 order by sy_cou ${params.order} ]]>
</if>
</select>
<select id="getCommissionLogList" resultType="map">
SELECT
log.id,
log.order_code,
log.order_amount,
log.create_time as order_time,
log.fy_level,
wxuser.wx_name as fy_wxname,
wxuser.phone as fy_phone,
log.fy_rate,
log.fy_amount
FROM
chat_commission_log log
INNER JOIN chat_wxuser wxuser on log.fy_wxuserid =wxuser.id
where
log.is_deleted =0
and wxuser.is_deleted =0
<if test="params.order_code!=null and params.order_code!=''">
and log.order_code = #{params.order_code}
</if>
<if test="params.fy_level!=null and params.fy_level!=''">
and log.order_code = #{params.fy_level}
</if>
<if test="params.fy_wxname!=null and params.fy_wxname!=''">
and wxuser.wx_name like concat('%', #{params.fy_wxname}, '%')
</if>
<if test="params.fy_phone!=null and params.fy_phone!=''">
and wxuser.phone like concat('%', #{params.fy_phone}, '%')
</if>
<if test="params !=null and params.order_time != null and params.order_time != ''">
<![CDATA[
and SUBSTRING_INDEX(#{params.order_time}, ',', 1) <= DATE_FORMAT(log.order_time, '%Y-%m-%d')
and SUBSTRING_INDEX(#{params.order_time}, ',', -1) >= DATE_FORMAT(log.order_time, '%Y-%m-%d')
]]>
</if>
order by log.id+0 desc
</select>
<select id="getWalletHistoryLogList" resultType="map">
SELECT
wh.id as id,
wx.wx_name,
wx.phone,
wh.type as wallet_type,
wh.service_type,
wh.before_amount,
wh.amount,
wh.after_amount,
wh.remark,
wh.create_time as wallet_time
FROM
chat_wxuser_wallet_history wh
INNER JOIN chat_wxuser wx ON wh.wxuser_id = wx.id
WHERE
wh.is_deleted = 0
AND wx.is_deleted =0
<if test="params.wx_name!=null and params.wx_name!=''">
and wx.wx_name like concat('%', #{params.wx_name}, '%')
</if>
<if test="params.phone!=null and params.phone!=''">
and wx.phone like concat('%', #{params.phone}, '%')
</if>
<if test="params.wallet_type!=null and params.wallet_type!=''">
and wh.wallet_type = #{params.wallet_type}
</if>
<if test="params.service_type!=null and params.service_type!=''">
and wh.service_type = #{params.service_type}
</if>
order by wh.id+0 desc
</select>
<select id="getOrderList" resultType="map">
SELECT
wx.phone as view_phone,
gor.*
FROM
chat_goods_order gor
INNER JOIN chat_wxuser wx on gor.wxuser_id = wx.id
where
gor.is_deleted = 0
AND wx.is_deleted =0
<if test="params.wxuser_name!=null and params.wxuser_name!=''">
and gor.wxuser_name like concat('%', #{params.wxuser_name}, '%')
</if>
<if test="params.phone!=null and params.phone!=''">
and wx.phone like concat('%', #{params.phone}, '%')
</if>
<if test="params.goods_title!=null and params.goods_title!=''">
and gor.goods_title like concat('%', #{params.goods_title}, '%')
</if>
<if test="params.order_code!=null and params.order_code!=''">
and gor.order_code like concat('%', #{params.order_code}, '%')
</if>
<if test="params.pay_type!=null and params.pay_type!=''">
and gor.pay_type = #{params.pay_type}
</if>
<if test="params.pay_status!=null and params.pay_status!=''">
and gor.pay_status = #{params.pay_status}
</if>
order by gor.id+0 desc
</select>
<select id="getViewImageList" resultType="map">
SELECT
id,
wxuser_name,
image_title,
use_point,
use_gas,
view_cou,
star as star_cou,
open_flag,
image_url1,
image_url2,
image_url3,
image_url4,
create_time as send_time
FROM
chat_image_info
where
is_deleted=0
<if test="params.wxuser_name!=null and params.wxuser_name!=''">
and wxuser_name like concat('%', #{params.wxuser_name}, '%')
</if>
<if test="params.image_title!=null and params.image_title!=''">
and image_title like concat('%', #{params.image_title}, '%')
</if>
order by id+0 desc
</select>
<select id="getViewImageTodoList" resultType="map">
SELECT
id,
wxuser_name,
image_title,
use_point,
image_url1,
image_url2,
image_url3,
image_url4,
create_time as send_time
FROM
chat_image_info
where
is_deleted=0
and open_flag=1
<if test="params.id!=null and params.id!=''">
and id =#{params.id}
</if>
<if test="params.wxuser_name!=null and params.wxuser_name!=''">
and wxuser_name like concat('%', #{params.wxuser_name}, '%')
</if>
<if test="params.image_title!=null and params.image_title!=''">
and image_title like concat('%', #{params.image_title}, '%')
</if>
order by id+0 asc
</select>
</mapper>
|
233zzh/TitanDataOperationSystem | 9,886 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/prism/prism-old.js | /* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript */
var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var e=/\blang(?:uage)?-(\w+)\b/i,t=0,n=_self.Prism={manual:_self.Prism&&_self.Prism.manual,util:{encode:function(e){return e instanceof a?new a(e.type,n.util.encode(e.content),e.alias):"Array"===n.util.type(e)?e.map(n.util.encode):e.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).match(/\[object (\w+)\]/)[1]},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function(e){var t=n.util.type(e);switch(t){case"Object":var a={};for(var r in e)e.hasOwnProperty(r)&&(a[r]=n.util.clone(e[r]));return a;case"Array":return e.map&&e.map(function(e){return n.util.clone(e)})}return e}},languages:{extend:function(e,t){var a=n.util.clone(n.languages[e]);for(var r in t)a[r]=t[r];return a},insertBefore:function(e,t,a,r){r=r||n.languages;var l=r[e];if(2==arguments.length){a=arguments[1];for(var i in a)a.hasOwnProperty(i)&&(l[i]=a[i]);return l}var o={};for(var s in l)if(l.hasOwnProperty(s)){if(s==t)for(var i in a)a.hasOwnProperty(i)&&(o[i]=a[i]);o[s]=l[s]}return n.languages.DFS(n.languages,function(t,n){n===r[e]&&t!=e&&(this[t]=o)}),r[e]=o},DFS:function(e,t,a,r){r=r||{};for(var l in e)e.hasOwnProperty(l)&&(t.call(e,l,e[l],a||l),"Object"!==n.util.type(e[l])||r[n.util.objId(e[l])]?"Array"!==n.util.type(e[l])||r[n.util.objId(e[l])]||(r[n.util.objId(e[l])]=!0,n.languages.DFS(e[l],t,l,r)):(r[n.util.objId(e[l])]=!0,n.languages.DFS(e[l],t,null,r)))}},plugins:{},highlightAll:function(e,t){var a={callback:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};n.hooks.run("before-highlightall",a);for(var r,l=a.elements||document.querySelectorAll(a.selector),i=0;r=l[i++];)n.highlightElement(r,e===!0,a.callback)},highlightElement:function(t,a,r){for(var l,i,o=t;o&&!e.test(o.className);)o=o.parentNode;o&&(l=(o.className.match(e)||[,""])[1].toLowerCase(),i=n.languages[l]),t.className=t.className.replace(e,"").replace(/\s+/g," ")+" language-"+l,o=t.parentNode,/pre/i.test(o.nodeName)&&(o.className=o.className.replace(e,"").replace(/\s+/g," ")+" language-"+l);var s=t.textContent,u={element:t,language:l,grammar:i,code:s};if(n.hooks.run("before-sanity-check",u),!u.code||!u.grammar)return u.code&&(u.element.textContent=u.code),n.hooks.run("complete",u),void 0;if(n.hooks.run("before-highlight",u),a&&_self.Worker){var g=new Worker(n.filename);g.onmessage=function(e){u.highlightedCode=e.data,n.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,r&&r.call(u.element),n.hooks.run("after-highlight",u),n.hooks.run("complete",u)},g.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else u.highlightedCode=n.highlight(u.code,u.grammar,u.language),n.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,r&&r.call(t),n.hooks.run("after-highlight",u),n.hooks.run("complete",u)},highlight:function(e,t,r){var l=n.tokenize(e,t);return a.stringify(n.util.encode(l),r)},tokenize:function(e,t){var a=n.Token,r=[e],l=t.rest;if(l){for(var i in l)t[i]=l[i];delete t.rest}e:for(var i in t)if(t.hasOwnProperty(i)&&t[i]){var o=t[i];o="Array"===n.util.type(o)?o:[o];for(var s=0;s<o.length;++s){var u=o[s],g=u.inside,c=!!u.lookbehind,h=!!u.greedy,f=0,d=u.alias;if(h&&!u.pattern.global){var p=u.pattern.toString().match(/[imuy]*$/)[0];u.pattern=RegExp(u.pattern.source,p+"g")}u=u.pattern||u;for(var m=0,y=0;m<r.length;y+=r[m].length,++m){var v=r[m];if(r.length>e.length)break e;if(!(v instanceof a)){u.lastIndex=0;var b=u.exec(v),k=1;if(!b&&h&&m!=r.length-1){if(u.lastIndex=y,b=u.exec(e),!b)break;for(var w=b.index+(c?b[1].length:0),_=b.index+b[0].length,P=m,A=y,j=r.length;j>P&&_>A;++P)A+=r[P].length,w>=A&&(++m,y=A);if(r[m]instanceof a||r[P-1].greedy)continue;k=P-m,v=e.slice(y,A),b.index-=y}if(b){c&&(f=b[1].length);var w=b.index+f,b=b[0].slice(f),_=w+b.length,x=v.slice(0,w),O=v.slice(_),S=[m,k];x&&S.push(x);var N=new a(i,g?n.tokenize(b,g):b,d,b,h);S.push(N),O&&S.push(O),Array.prototype.splice.apply(r,S)}}}}}return r},hooks:{all:{},add:function(e,t){var a=n.hooks.all;a[e]=a[e]||[],a[e].push(t)},run:function(e,t){var a=n.hooks.all[e];if(a&&a.length)for(var r,l=0;r=a[l++];)r(t)}}},a=n.Token=function(e,t,n,a,r){this.type=e,this.content=t,this.alias=n,this.length=0|(a||"").length,this.greedy=!!r};if(a.stringify=function(e,t,r){if("string"==typeof e)return e;if("Array"===n.util.type(e))return e.map(function(n){return a.stringify(n,t,e)}).join("");var l={type:e.type,content:a.stringify(e.content,t,r),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:r};if("comment"==l.type&&(l.attributes.spellcheck="true"),e.alias){var i="Array"===n.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(l.classes,i)}n.hooks.run("wrap",l);var o=Object.keys(l.attributes).map(function(e){return e+'="'+(l.attributes[e]||"").replace(/"/g,""")+'"'}).join(" ");return"<"+l.tag+' class="'+l.classes.join(" ")+'"'+(o?" "+o:"")+">"+l.content+"</"+l.tag+">"},!_self.document)return _self.addEventListener?(_self.addEventListener("message",function(e){var t=JSON.parse(e.data),a=t.language,r=t.code,l=t.immediateClose;_self.postMessage(n.highlight(r,n.languages[a],a)),l&&_self.close()},!1),_self.Prism):_self.Prism;var r=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return r&&(n.filename=r.src,!document.addEventListener||n.manual||r.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(n.highlightAll):window.setTimeout(n.highlightAll,16):document.addEventListener("DOMContentLoaded",n.highlightAll))),_self.Prism}();"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism);
Prism.languages.markup={comment:/<!--[\w\W]*?-->/,prolog:/<\?[\w\W]+?\?>/,doctype:/<!DOCTYPE[\w\W]+?>/i,cdata:/<!\[CDATA\[[\w\W]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\\1|\\?(?!\1)[\w\W])*\1|[^\s'">=]+))?)*\s*\/?>/i,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:('|")[\w\W]*?(\1)|[^\s>]+)/i,inside:{punctuation:/[=>"']/}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},Prism.hooks.add("wrap",function(a){"entity"===a.type&&(a.attributes.title=a.content.replace(/&/,"&"))}),Prism.languages.xml=Prism.languages.markup,Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup;
Prism.languages.css={comment:/\/\*[\w\W]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^\{\}\s][^\{\};]*?(?=\s*\{)/,string:{pattern:/("|')(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1/,greedy:!0},property:/(\b|\B)[\w-]+(?=\s*:)/i,important:/\B!important\b/i,"function":/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.util.clone(Prism.languages.css),Prism.languages.markup&&(Prism.languages.insertBefore("markup","tag",{style:{pattern:/(<style[\w\W]*?>)[\w\W]*?(?=<\/style>)/i,lookbehind:!0,inside:Prism.languages.css,alias:"language-css"}}),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|').*?\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:Prism.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:Prism.languages.css}},alias:"language-css"}},Prism.languages.markup.tag));
Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\w\W]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],string:{pattern:/(["'])(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[a-z0-9_\.\\]+/i,lookbehind:!0,inside:{punctuation:/(\.|\\)/}},keyword:/\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,"boolean":/\b(true|false)\b/,"function":/[a-z0-9_]+(?=\()/i,number:/\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)\b/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/};
Prism.languages.javascript=Prism.languages.extend("clike",{keyword:/\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/,number:/\b-?(0x[\dA-Fa-f]+|0b[01]+|0o[0-7]+|\d*\.?\d+([Ee][+-]?\d+)?|NaN|Infinity)\b/,"function":/[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*(?=\()/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*\*?|\/|~|\^|%|\.{3}/}),Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/(^|[^\/])\/(?!\/)(\[.+?]|\\.|[^\/\\\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0,greedy:!0}}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\\\|\\?[^\\])*?`/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^}]+\}/,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{script:{pattern:/(<script[\w\W]*?>)[\w\W]*?(?=<\/script>)/i,lookbehind:!0,inside:Prism.languages.javascript,alias:"language-javascript"}}),Prism.languages.js=Prism.languages.javascript;
|
274056675/springboot-openai-chatgpt | 6,672 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/mapper/IndexMapper.xml | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.modules.mjkj.mapper.IndexMapper">
<!--普通用户数-->
<select id="getCommonUserCou" resultType="java.lang.Integer">
SELECT COUNT(*) FROM chat_wxuser where id not in (
SELECT DISTINCT wxuser_id FROM chat_goods_order where pay_status=1
)
</select>
<!--群机器人用户数-->
<select id="getRobotUserCou" resultType="java.lang.Integer">
SELECT COUNT(*) from chat_wechatbot_user
</select>
<!--付费用户数-->
<select id="getPayUserCou" resultType="java.lang.Integer">
SELECT COUNT(DISTINCT wxuser_id) FROM chat_goods_order where pay_status=1
</select>
<!--会员信息-->
<select id="grtMember" resultType="map">
SELECT phone ,register_time , id in
(
SELECT DISTINCT wxuser_id FROM chat_goods_order where pay_status=1
) as pay ,view_p_wx_name
FROM chat_wxuser where TO_DAYS(register_time)=TO_DAYS(NOW())
</select>
<!--今日新增会员-->
<select id="getNewMemberTodayCou" resultType="java.lang.Integer">
SELECT COUNT(*) FROM chat_wxuser where TO_DAYS(create_time)=TO_DAYS(NOW())
</select>
<!--今日新增付费会员-->
<select id="getNewPayMemberTodayCou" resultType="java.lang.Integer">
SELECT COUNT(DISTINCT wxuser_id) FROM chat_goods_order
where TO_DAYS(pay_time)=TO_DAYS(NOW()) and pay_status=1
</select>
<!--今日活跃用户-->
<select id="getActiveUserTodayCou" resultType="java.lang.Integer">
SELECT COUNT(DISTINCT wxuser_id) FROM chat_log_message WHERE TO_DAYS(create_time)=TO_DAYS(NOW())
</select>
<!--本年收入汇总-->
<select id="getCurrentYearTotalIncomeCou" resultType="map">
SELECT ifnull(SUM(amount),0) as yearMoney FROM chat_goods_order WHERE
YEAR(pay_time)=YEAR(NOW()) and pay_status=1
</select>
<!--本季度收入汇总-->
<select id="getTotalQuarterlyRevenueCou" resultType="map">
SELECT ifnull(SUM(amount),0) as QuarterlyMoney FROM chat_goods_order WHERE
QUARTER(pay_time)=QUARTER(now()) and pay_status=1
</select>
<!--本月收入汇总-->
<select id="getTotalMonthlyIncomeCou" resultType="map">
SELECT ifnull(SUM(amount),0) as Monthly FROM chat_goods_order WHERE
DATE_FORMAT( pay_time, '%Y%m' ) = DATE_FORMAT( CURDATE( ) , '%Y%m' )
and pay_status=1
</select>
<!--本年充值会员数-->
<select id="getCurrentYearMemberCou" resultType="java.lang.Integer">
select COUNT(DISTINCT wxuser_id) from chat_log_wxuser_time
where YEAR(start_time)=YEAR(NOW())
</select>
<!--本季度充值会员数-->
<select id="getQuarterMemberCou" resultType="java.lang.Integer">
select COUNT(DISTINCT wxuser_id) from chat_log_wxuser_time
where QUARTER(start_time)=QUARTER(now())
</select>
<!--本月充值会员数-->
<select id="getMonthMemberCou" resultType="java.lang.Integer">
SELECT COUNT(DISTINCT wxuser_id) FROM chat_log_wxuser_time WHERE
DATE_FORMAT( start_time, '%Y%m' ) = DATE_FORMAT( CURDATE( ) , '%Y%m' )
</select>
<select id="getTotalQuestions" resultType="Integer">
SELECT COUNT(message_content) FROM `chat_log_message`e WHERE e.message_type='q'
</select>
<select id="getTotalNumberDrawings" resultType="Integer">
SELECT
COUNT( message_content )
FROM
`chat_log_message`
WHERE
message_content LIKE '画%'
OR message_content LIKE '生成%'
OR message_content LIKE '制作%';
</select>
<select id="getSwarmRobotsTotalQuestions" resultType="Integer">
SELECT COUNT(message_content_q) FROM `chat_wechatbot_message`
</select>
<select id="getTodayQuestions" resultType="int">
SELECT COUNT(message_content) FROM `chat_log_message` where TO_DAYS(message_time) = TO_DAYS(CURDATE());
</select>
<select id="getTodayNumberDrawings" resultType="int">
SELECT
COUNT( message_content )
FROM
`chat_log_message`
WHERE
TO_DAYS( message_time ) = TO_DAYS(
CURDATE())
AND ( message_content LIKE '画%' OR message_content LIKE '生成%' OR message_content LIKE '制作%' );
</select>
<select id="getTodayCommissionsEarned" resultType="map">
SELECT
ifnull( SUM( fy_amount ), 0 ) AS TodayCommissionsEarned
FROM
`chat_commission_log`
WHERE
TO_DAYS( fy_time ) = TO_DAYS(
CURDATE())
AND fy_time;
</select>
<select id="getTodayRevenue" resultType="map">
SELECT
ifnull( SUM( amount ), 0 ) AS TodayRevenue
FROM
chat_goods_order
WHERE
to_days( pay_time ) = to_days(
now());
</select>
<select id="getTodayGroupQuestions" resultType="int">
SELECT
COUNT( message_content_q )
FROM
`chat_wechatbot_message`
WHERE
TO_DAYS( message_time_q ) = TO_DAYS(
CURDATE())
</select>
<select id="getTotalWithdrawals" resultType="map">
SELECT sum(withdrawal_amount) as totalWithdrawals FROM `chat_withdrawal_log` WHERE withdrawal_state='1'
</select>
<select id="getTotalQuantity" resultType="int">
SELECT COUNT(wxuser_id) as totalQuantity FROM `chat_withdrawal_log` WHERE withdrawal_state='1'
</select>
<select id="getTotalCommissions" resultType="map">
SELECT
sum( e.fy_amount ) AS totalCommissions
FROM
`chat_commission_log` e
LEFT JOIN `chat_wxuser` d ON e.fy_wxuserid = d.id
AND TO_DAYS( d.expire_time ) >= TO_DAYS(
NOW())
WHERE
NOT ISNULL( order_code );
</select>
<select id="getTotalNumberMembers" resultType="int">
SELECT
COUNT( d.expire_time ) totalNumberMembers
FROM
`chat_commission_log` e
LEFT JOIN `chat_wxuser` d ON e.fy_wxuserid = d.id
AND TO_DAYS( d.expire_time ) >= TO_DAYS(
NOW())
WHERE
NOT ISNULL( order_code );
</select>
<select id="getGrossIncome" resultType="map">
SELECT SUM(amount) as cou FROM chat_goods_order where pay_status=1
</select>
<select id="getNumberPaidMembers" resultType="int">
SELECT COUNT(DISTINCT wxuser_id) as NumberPaidMembers FROM chat_goods_order where pay_status=1
</select>
</mapper>
|
274056675/springboot-openai-chatgpt | 3,080 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/service/IWebService.java | package org.springblade.modules.mjkj.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.modules.mjkj.model.ChatGptMsgModel;
import org.springblade.modules.mjkj.model.WxUserInfoModel;
import org.springblade.modules.mjkj.param.MoreFunParam;
import java.util.Date;
import java.util.List;
import java.util.Map;
public interface IWebService {
//删除用户
void delWuserInfo(String wxuserId);
//获取用户详情
WxUserInfoModel getWxUsrInfo();
WxUserInfoModel getWxUsrInfo(String type);
//获取openId
String getOpenId();
//获取聊天码
String getChatCode();
//获取微信id
String getWxuserId();
//获取各类次数
Integer getWuserQuestionCou(Long bladeUserId, String numType);
//获取提问一次消耗多少次
Integer getOneQuestionUseNum();
//发送问题
List<ChatGptMsgModel> sendQuestion(String question, Long startMessageId, Integer useNum, String textType, Long chatListIdL);
//获取历史聊天记录
IPage<Map<String, Object>> getMessageHistoryList(Long startNum, String modelType, IPage<Object> page, String chatListId, String type);
//获取我的最新消息
List<Map<String, Object>> getMessageLastList(Long startNum, String modelType, String type, String chatListId);
//获取消息次数
Integer getMessageCou(String wxuserId);
//获取等级列表
List<Map<String,Object>> getLevelList();
//获取等级名称
String getLevelTitle(int cou);
//获取参数设置
String getCsszVal(String code, String defaultVal);
//增加用户次数
void addWxuserQuestionNum(Long bladeUserId, String wxuserId, Integer serviceType, Integer num, String questionId, String remark, String numType);
//减用户次数
void subWxuserQuestionNum(Long bladeUserId, String wxuserId, Integer serviceType, Integer num, String questionId, String remark, String numType);
//获取新邀请码
String getNewInviteCode();
//根据邀请码获取用户id
String getWxuseridByInvitecode(String invitecode);
Map<String,Object> getWxuserMapByInvitecode(String invitecode);
Map<String,Object> getWxuseridByUUID(String uuid);
//获取用户自定义设置
Map<String,Object> getWxUserSetting(String wxUserId);
//获取热门消息
IPage<Map<String, Object>> getMessageHotList(IPage<Object> page);
//发送更多好玩
void sendMoreFun(String wxuserId, Long bladeUserId, Integer oneUseNum, MoreFunParam param);
//签到
void sign(String wxuserId, Date date);
//获取历史聊天记录
IPage<Map<String, Object>> getSubCouList(String wxuserId, IPage<Object> page);
//判断模型是否需要燃料
Integer judgeModel(String modelName);
//获取收藏列表
IPage<Map<String,Object>> getStoreMessage(IPage<Object> page);
//获取聊天列表
IPage<Map<String,Object>> getChatList(IPage<Object> page);
//创建聊天列表
void createNewChatList(Long id, String type, String name, String content, String fundataId, String funJson);
//获取积分列表
IPage<Map<String,Object>> getCreditList(IPage<Object> page);
//获取加分列表
IPage<Map<String,Object>> getAddCreditList(IPage<Object> page);
//获取减分列表
IPage<Map<String,Object>> getSubCreditList(IPage<Object> page);
//收藏功能
String chatStore(String messageId, String type);
//获取被你邀请的用户
IPage<Map<String,Object>> getInvitedUsers(IPage<Object> page);
//获取fun历史记录
IPage<Map<String,Object>> getFunHistory(IPage<Object> page, String funDataId);
}
|
274056675/springboot-openai-chatgpt | 21,091 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/controller/OpenController.java | /*
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the dreamlu.net developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: Chill 庄骞 (smallchill@163.com)
*/
package org.springblade.modules.mjkj.controller;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springblade.core.mp.support.Condition;
import org.springblade.core.mp.support.Query;
import org.springblade.core.secure.utils.AuthUtil;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.Func;
import org.springblade.core.tool.utils.RandomType;
import org.springblade.core.tool.utils.RedisUtil;
import org.springblade.modules.mjkj.common.cgform.service.IMjkjBaseSqlService;
import org.springblade.modules.mjkj.common.config.constant.ChatgptConfig;
import org.springblade.modules.mjkj.common.utils.MjkjUtils;
import org.springblade.modules.mjkj.model.AiModel;
import org.springblade.modules.mjkj.model.WxUserInfoModel;
import org.springblade.modules.mjkj.service.ISmsService;
import org.springblade.modules.mjkj.service.IWebService;
import org.springblade.modules.mjkj.utils.imagecode.SlidePuzzleUtil;
import org.springblade.modules.mjkj.utils.imagecode.SliderPuzzleInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileInputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@Slf4j
@CrossOrigin
@RestController
@AllArgsConstructor
@RequestMapping("mjkj-chat/chat/open")
@Api(value = "公共开放接口", tags = "公共开放接口")
public class OpenController {
@Autowired
private IMjkjBaseSqlService baseSqlService;
@Autowired
private IWebService webService;
@Autowired
private RedisUtil redisUtil;
@Autowired
private ISmsService smsService;
@ApiOperationSupport(order = 1)
@GetMapping({"/test"})
@ApiOperation(value = "测试", notes = "测试")
public R test() {
return R.data("测试成功");
}
@ApiOperationSupport(order = 2)
@GetMapping({"/cssz/list"})
@ApiOperation(value = "获取参数设置列表", notes = "获取参数设置列表")
public R getCsszMapList() {
List<Map<String, Object>> dataMapList = baseSqlService.getDataByTable("chat_system_cssz");
return R.data(dataMapList);
}
@ApiOperationSupport(order = 10)
@PostMapping({"/send/sms"})
@ApiOperation(value = "发送短信验证码", notes = "发送短信验证码与滑块效验")
public R sendSms(String phone, Integer movePosX,String random) {
if (Func.isEmpty(phone)) {
return R.fail("手机号码不允许为空");
}
if (phone.length() != 11) {
return R.fail("手机号码不正确");
}
String code = "";
if (!Func.equals(phone, "13800138000")) {
String redisKey = "imagecode:" + phone;
try {
if (!redisUtil.hasKey(redisKey)) {
return R.fail("验证过期,请重试");
}
if (Func.isEmpty(random)) {
Integer posX = (Integer) redisUtil.get(redisKey);
if ((Func.isEmpty(posX) || Func.isEmpty(movePosX))) {
return R.fail("验证过期,请重试");
}
if (Math.abs(posX - movePosX) > 10) { //偏差大于10
return R.fail("验证不通过");
}
}else {
String token = (String) redisUtil.get(redisKey);
if (!Func.equals(random,token)){
return R.fail("验证不通过校验失败");
}
}
} finally {
redisUtil.del(redisKey);
}
code = Func.random(6, RandomType.INT);
if (Func.equals(ChatgptConfig.getDebug(), "true")) {
code = "123456";
}
} else {
code = "888888";
}
boolean flag = smsService.sendSms(phone, code);
if (flag) {
return R.data("成功");
}
return R.fail("失败");
}
@ApiOperation(value = "生成图片")
@ApiOperationSupport(order = 12)
@GetMapping(value = "/get/getImageCode")
public R getImageCode(String phone,String type) throws Exception {
if (Func.isEmpty(phone)) {
return R.fail("请输入手机号码");
}
File file = new File(ChatgptConfig.getUploadUrl() + "/image.png");
if (Func.equals(type,"pc")){
String random = Func.random(32, RandomType.ALL);
File file1 = new File(ChatgptConfig.getUploadUrl()+"/photo.png");
FileInputStream fileInputStream1 = new FileInputStream(file);
FileInputStream fileInputStream2 = new FileInputStream(file1);
BufferedImage originalImage = ImageIO.read(fileInputStream1);
BufferedImage originalImage1 = ImageIO.read(fileInputStream2);
String image1 = SlidePuzzleUtil.getImageBASE64(originalImage);
String image2 = SlidePuzzleUtil.getImageBASE64(originalImage1);
String redisKey = "imagecode:" + phone;
Map<String,Object> map = new HashMap<>();
map.put("image1",image1);
map.put("image2",image2);
map.put("random",random);
redisUtil.set(redisKey, random);
return R.data(map);
}
SliderPuzzleInfo sliderPuzzleInfo = SlidePuzzleUtil.createImage(new FileInputStream(file));
if (Func.isEmpty(sliderPuzzleInfo)) {
return R.fail("图片验证码生成失败");
}
String redisKey = "imagecode:" + phone;
redisUtil.set(redisKey, sliderPuzzleInfo.getPosX());
sliderPuzzleInfo.setToken(phone);
sliderPuzzleInfo.setBigImage(null);
sliderPuzzleInfo.setSmallImage(null);
return R.data(sliderPuzzleInfo);
}
@ApiOperationSupport(order = 14)
@GetMapping({"/get/inviteCode"})
@ApiOperation(value = "获取当前用户的邀请码", notes = "获取当前用户的邀请码")
public R InviteCode() {
WxUserInfoModel wxUsrInfo = webService.getWxUsrInfo();
if (Func.isEmpty(wxUsrInfo)) {
return null;
}
String inviteCode = wxUsrInfo.getInviteCode();
return R.data(inviteCode);
}
@ApiOperationSupport(order = 15)
@GetMapping({"/delete/message"})
@ApiOperation(value = "删除聊天信息", notes = "删除聊天信息")
public R DeleteMessage() {
String wxUserId = webService.getWxuserId();
if (Func.isEmpty(wxUserId)) {
return R.fail("请先登录");
}
HashMap<String, Object> deleteMap = new HashMap<>();
deleteMap.put("is_deleted", -1);
baseSqlService.baseUpdateDataWhere("chat_log_message", deleteMap, "wxuser_id", wxUserId);
return R.data("删除成功");
}
@ApiOperationSupport(order = 18)
@GetMapping({"/tool/getAllList"})
@ApiOperation(value = "获取所有工具(ok)", notes = "获取所有工具")
public R getAllToolList() {
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("is_deleted", 0);
wrapper.eq("view_status", 1);
wrapper.orderByAsc("pid");
wrapper.orderByAsc("fun_sort");
List<Map<String, Object>> dataMapList = baseSqlService.getDataListByFieldParams("chat_gjgl_fun_data", wrapper);
if (Func.isEmpty(dataMapList)) {
return R.data(dataMapList);
}
//获取所有类型
Map<String, Map<String, Object>> typeMaps = baseSqlService.getData2Map("chat_gjgl_type", "id", false);
for (Map<String, Object> map : dataMapList) {
String funTypeId = MjkjUtils.getMap2Str(map, "fun_type");//类型
if (Func.isEmpty(funTypeId)) {
continue;
}
if (!typeMaps.containsKey(funTypeId)) {//不存在
continue;
}
Map<String, Object> typeMap = typeMaps.get(funTypeId);
String funTypeTitle = MjkjUtils.getMap2Str(typeMap, "fun_type");
map.put("typeId", funTypeId);//id
map.put("type", funTypeTitle);//标题
}
return R.data(dataMapList);
}
@ApiOperationSupport(order = 19)
@GetMapping({"/tool/gethotList"})
@ApiOperation(value = "获取热门工具", notes = "获取热门工具")
public R getHotTool() {
//查询热门工具类型下面的所有工具
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("is_deleted", 0);
wrapper.eq("view_status", 1);
wrapper.eq("fun_hot", 1);
List<Map<String, Object>> hotList = baseSqlService.getDataListByFieldParams("chat_gjgl_fun_data", wrapper);
return R.data(hotList);
}
@ApiOperationSupport(order = 20)
@GetMapping({"/tool/getSearch"})
@ApiOperation(value = "搜索功能", notes = "搜索功能")
public R getSearch(String id, String funName, String time) {
//所有的四级工具
List<Map<String, Object>> dataMapList = new ArrayList<>();
//id为4代表查询所有四级工具
if (id.equals("4")) {
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("is_deleted", 0);
wrapper.eq("haschildren", 1);//只查询具体的工具
wrapper.eq("view_status", 1);
if ("0".equals(time)) {
wrapper.orderByAsc("create_time");//为0代表用户没有点击最新,按照创建时间升序
} else {
wrapper.orderByDesc("create_time");//按照时间降序
}
dataMapList = baseSqlService.getDataListByFieldParams("chat_gjgl_fun_data", wrapper);
} else {
//查找该二级分类下的三级分类
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("pid", id);
wrapper.eq("is_deleted", 0);
wrapper.eq("view_status", 1);
List<Map<String, Object>> threeMapList = baseSqlService.getDataListByFieldParams("chat_gjgl_fun_data", wrapper);
//该三级分类下的四级工具
for (Map<String, Object> map : threeMapList) {
String idThree = MjkjUtils.getMap2Str(map, "id");
QueryWrapper<Object> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("pid", idThree);
queryWrapper.eq("is_deleted", 0);
queryWrapper.eq("view_status", 1);
List<Map<String, Object>> fourMapList=baseSqlService.getDataListByFieldParams("chat_gjgl_fun_data", queryWrapper);
dataMapList.addAll(fourMapList);
}
}
if (Func.isEmpty(funName)) {//没有搜索
return R.data(dataMapList);
}
//funName不为空代表用户输入了搜索关键字
//id为4则循环所有的四级工具,否则循环所属三级分类下的四级工具
//搜索的模糊查询
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.like("fun_name", funName);
wrapper.eq("is_deleted", 0);
wrapper.eq("haschildren", 1);//只查询具体的工具
wrapper.eq("view_status", 1);
//在所有的四级工具中查询
if ("4".equals(id)) {
wrapper.isNotNull("fun_type");
} else {
List<String> idsList=new ArrayList<>();
for (Map<String, Object> map : dataMapList) {
String ids = MjkjUtils.getMap2Str(map, "id");
idsList.add(ids);//该二级分类下所有的四级工具id
}
wrapper.in("id", idsList);
if ("0".equals(time)) {
wrapper.orderByAsc("create_time");
} else {
wrapper.orderByDesc("create_time");
}
}
List<Map<String, Object>> fourDataMapList = baseSqlService.getDataListByFieldParams("chat_gjgl_fun_data", wrapper);
return R.data(fourDataMapList);
}
@ApiOperationSupport(order = 1)
@GetMapping({"/indexMenu"})
@ApiOperation(value = "首页公共菜单(ok)", notes = "首页公共菜单(ok)")
public R getIndexMenu() {
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("is_deleted", 0);
wrapper.eq("view_status", 1);//已启用
wrapper.eq("fun_menu", 1);//默认在首页展示
List<Map<String, Object>> indexMenuList = baseSqlService.getDataListByFieldParams("chat_gjgl_fun_data", wrapper);
String wxuserId="";
try {
//拿不到证明没登录,直接走默认
wxuserId = webService.getWxuserId();
}catch (Exception e){
return R.data(indexMenuList);
}
//获取我的自定义菜单
Map<String, Object> myMenuMap = baseSqlService.getDataOneByField("chat_index_menu_wxuser", "wxuser_id", wxuserId);
if (Func.isEmpty(myMenuMap)) {//没有定制过,则返回公共
return R.data(indexMenuList);
}
//获取我的自定义菜单
String menuId = MjkjUtils.getMap2Str(myMenuMap, "menu_id");
if(Func.isEmpty(menuId)){
return R.data(indexMenuList);
}
List<String> menuIdList = JSONArray.parseArray(menuId, String.class);
if(Func.isEmpty(menuIdList)){
return R.data(indexMenuList);
}
List<Map<String,Object>> myMenuList = new ArrayList<>();
for (String id : menuIdList) {
QueryWrapper<Object> wrapperList = new QueryWrapper<>();
wrapperList.eq("id", id);
wrapperList.eq("view_status", 1);
wrapperList.eq("is_deleted", 0);
Map<String, Object> myMenu = baseSqlService.getDataOneByFieldParams("chat_gjgl_fun_data", wrapperList);
if(Func.isNotEmpty(myMenu)){
myMenuList.add(myMenu);
}
}
return R.data(myMenuList);
}
@ApiOperationSupport(order = 9)
@GetMapping({"/get/community/image"})
@ApiOperation(value = "收集社区图片", notes = "收集社区图片")
public R getCommunityImage(Integer current, Integer size, String type,String name) {
QueryWrapper<Object> wrapper = MjkjUtils.getQueryWrapper();
wrapper.eq("open_flag", "2");//已经发布
if (Func.equals(type,"new")){
wrapper.orderByDesc("create_time");
}else {
wrapper.orderByDesc("star");
wrapper.orderByDesc("view_cou");
}
if (Func.isNotEmpty(name)){
wrapper.like("image_title",name);
}
IPage<Object> page = MjkjUtils.getPage(current, size);
IPage<Map<String, Object>> pages = baseSqlService.getDataIPageByFieldParams("chat_image_info", page, wrapper);
List<Map<String, Object>> dataMapList = pages.getRecords();
Long userId = AuthUtil.getUserId();
if(Func.isNotEmpty(userId) && userId!=-1){//用户有登录
String wxuserId = webService.getWxuserId();
for (Map<String, Object> dataMap : dataMapList) {
String imageInfoId = MjkjUtils.getMap2Str(dataMap, "id");
QueryWrapper<Object> wrapperStar = MjkjUtils.getQueryWrapper();
wrapperStar.eq("image_info_id",imageInfoId);
wrapperStar.eq("wxuser_id",wxuserId);
wrapperStar.select("id");
List<Map<String, Object>> starMapList = baseSqlService.getDataListByFieldParams("chat_image_info_star", wrapperStar);
boolean be=Func.isNotEmpty(starMapList);
dataMap.put("be", be);
}
}else{
for (Map<String, Object> dataMap : dataMapList) {
dataMap.put("be", false);//没有点赞
}
}
return R.data(pages);
}
@ApiOperationSupport(order = 22)
@GetMapping({"/get/notice"})
@ApiOperation(value = "消息通知", notes = "消息通知")
public R getMessage(String id) {
//id有值
Map<String, Object> dialogueNotice=new HashMap<>();
//id为all走默认查询
List<Map<String, Object>> dialogueNoticeList=new ArrayList<>();
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("is_deleted", 0);
wrapper.eq("view_status", 1);
if(Func.equals("all",id)){
//默认查询
wrapper.select("id", "title");
dialogueNoticeList = baseSqlService.getDataListByFieldParams("chat_dialogue_notice", wrapper);
if(Func.isEmpty(dialogueNoticeList)){
return R.data(false);
}
return R.data(dialogueNoticeList);
}
wrapper.eq("id", id);
wrapper.select("id","title","detail","create_time");
dialogueNotice = baseSqlService.getDataOneByFieldParams("chat_dialogue_notice", wrapper);
if(Func.isEmpty(dialogueNotice)){
return R.data(false);
}
return R.data(dialogueNotice);
}
@ApiOperationSupport(order = 23)
@GetMapping({"/view/image"})
@ApiOperation(value = "点击作品图片浏览,浏览+1 ok", notes = "点击作品图片浏览,浏览+1")
public R viewImage(String tpId) {
if (Func.isEmpty(tpId)) {
return R.fail("参数不准为空");
}
QueryWrapper<Object> wrapper = MjkjUtils.getQueryWrapper();
wrapper.eq("id", tpId);
wrapper.select("id,view_cou");
Map<String, Object> imageMap = baseSqlService.getDataOneByFieldParams("chat_image_info", wrapper);
if (Func.isEmpty(imageMap)) {
return R.fail("作品不存在");
}
Integer viewCou = MjkjUtils.getMap2Integer(imageMap, "view_cou");
if (Func.isEmpty(viewCou) || viewCou < 0) {
viewCou = 0;
}
Map<String, Object> updateMap = new HashMap<>();
updateMap.put("view_cou", ++viewCou);
baseSqlService.baseUpdateData("chat_image_info", updateMap, tpId);
return R.data(viewCou);
}
@ApiOperationSupport(order = 24)
@GetMapping({"/getAllModel"})
@ApiOperation(value = "获取所有的模型", notes = "获取所有的模型")
public R getAllModel(){
QueryWrapper<Object> queryWrapper = new QueryWrapper<>();
queryWrapper.select("mx_lx","is_use_rl","use_num","show_name","model_type","image_size");
queryWrapper.ne("model_status",0);
List<Map<String, Object>> modellist = baseSqlService.getDataListByFieldParams("chat_model", queryWrapper);
String jsonString = JSON.toJSONString(modellist);
List<AiModel> models = JSON.parseArray(jsonString, AiModel.class);
List<AiModel> chatModel = new ArrayList<>();
List<AiModel> imageModel = new ArrayList<>();
for (AiModel model : models) {
if (model.getModel_type()==0){
chatModel.add(model);
}else {
imageModel.add(model);
}
}
Map<String,Object> modelMap = new HashMap<>();
modelMap.put("chat",chatModel);
modelMap.put("image",imageModel);
return R.data(modelMap);
}
@ApiOperationSupport(order = 24)
@GetMapping({"/get/Content"})
@ApiOperation(value = "获取新手指南", notes = "获取新手指南")
public R getContent(){
Map<String, Object> chatContent = baseSqlService.getDataOneByField("chat_content", "type", "新手指南");
String content = MjkjUtils.getMap2Str(chatContent, "content");
return R.data(content);
}
@ApiOperationSupport(order = 25)
@PostMapping("/get/notice")
@ApiOperation(value = "获取全部公告列表",notes = "获取全部公告列表")
public R getNotices(@RequestBody Query query){
IPage<Object> page = Condition.getPage(query);
QueryWrapper<Object> qw = new QueryWrapper<>();
qw.eq("is_deleted",0);
qw.select("id,title,create_time,content_part");
qw.orderByDesc("id");
IPage<Map<String, Object>> chatNotice = baseSqlService.getDataIPageByFieldParams("chat_notice", page, qw);
return R.data(chatNotice);
}
@ApiOperationSupport(order = 26)
@GetMapping("/get/noticeContent")
@ApiOperation(value = "获取公告内容",notes = "获取公告内容")
public R getNoticeContent(String id){
Map<String, Object> chatNotice = baseSqlService.getTableById("chat_notice", id);
//判断用户有没有登录
Long userId = AuthUtil.getUserId();
if(Func.isNotEmpty(userId) && userId!=-1){
String wxuserId = webService.getWxuserId();
QueryWrapper<Object> qw = new QueryWrapper<>();
qw.eq("wxuser_id",wxuserId);
qw.eq("notice_id",id);
qw.eq("is_deleted",0);
Map<String, Object> chatNoticeState = baseSqlService.getDataOneByFieldParams("chat_notice_state", qw);
if (Func.isEmpty(chatNoticeState)){
Map<String,Object> insertMap = new HashMap<>();
insertMap.put("id",IdWorker.getIdStr());
insertMap.put("notice_id",id);
insertMap.put("wxuser_id",wxuserId);
baseSqlService.baseInsertData("chat_notice_state",insertMap);
}
}
return R.data(chatNotice);
}
@ApiOperationSupport(order =27 )
@PostMapping("/get/noticeNocheck")
@ApiOperation(value = "获取未查看的公告列表",notes = "获取未查看的公告列表")
public R getNoticeNoCheck(@RequestBody Query query){
//先获取已经查看公告的id
QueryWrapper<Object> qw = new QueryWrapper<>();
qw.eq("wxuser_id",webService.getWxuserId());
qw.eq("is_deleted",0);
qw.select("notice_id");
List<Map<String, Object>> chatNoticeStates = baseSqlService.getDataListByFieldParams("chat_notice_state", qw);
List<String> notices = new ArrayList<>();
for (Map<String,Object> dataMap : chatNoticeStates){
String noticeId = MjkjUtils.getMap2Str(dataMap, "notice_id");
notices.add(noticeId);
}
//开始查询未查看的公告
IPage<Object> page = Condition.getPage(query);
QueryWrapper<Object> notice_qw = new QueryWrapper<>();
notice_qw.orderByDesc("id");
if(Func.isNotEmpty(notices)){
notice_qw.notIn("id",notices);
}
notice_qw.eq("is_deleted",0);
notice_qw.select("id,title,create_time,content_part");
IPage<Map<String, Object>> chatNotice = baseSqlService.getDataIPageByFieldParams("chat_notice", page, notice_qw);
return R.data(chatNotice);
}
@ApiOperationSupport(order = 28)
@GetMapping("/get/allcheck")
@ApiOperation(value = "全部已读",notes = "全部已读")
public R allCheck(){
//先获取已经查看公告的id
String wxuserId = webService.getWxuserId();
QueryWrapper<Object> qw = new QueryWrapper<>();
qw.eq("wxuser_id",wxuserId);
qw.eq("is_deleted",0);
qw.select("notice_id");
List<Map<String, Object>> chatNoticeStates = baseSqlService.getDataListByFieldParams("chat_notice_state", qw);
List<String> notices = new ArrayList<>();
for (Map<String,Object> dataMap : chatNoticeStates){
String noticeId = MjkjUtils.getMap2Str(dataMap, "notice_id");
notices.add(noticeId);
}
//开始查询未查看的公告id
QueryWrapper<Object> notice_qw = new QueryWrapper<>();
notice_qw.orderByDesc("id");
if(Func.isNotEmpty(notices)){
notice_qw.notIn("id",notices);
}
notice_qw.eq("is_deleted",0);
notice_qw.select("id");
List<Map<String, Object>> chatNotice = baseSqlService.getDataListByFieldParams("chat_notice", notice_qw);
if (Func.isEmpty(chatNotice)){
return R.success("全部已读执行成功");
}
for (Map<String,Object> dataMap : chatNotice){
String noticeId = MjkjUtils.getMap2Str(dataMap, "id");
Map<String,Object> insertMap = new HashMap<>();
insertMap.put("id",IdWorker.getIdStr());
insertMap.put("notice_id",noticeId);
insertMap.put("wxuser_id",wxuserId);
baseSqlService.baseInsertData("chat_notice_state",insertMap);
}
return R.success("全部已读执行成功");
}
}
|
233zzh/TitanDataOperationSystem | 41,943 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/flot/excanvas.js | // Copyright 2006 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Known Issues:
//
// * Patterns only support repeat.
// * Radial gradient are not implemented. The VML version of these look very
// different from the canvas one.
// * Clipping paths are not implemented.
// * Coordsize. The width and height attribute have higher priority than the
// width and height style values which isn't correct.
// * Painting mode isn't implemented.
// * Canvas width/height should is using content-box by default. IE in
// Quirks mode will draw the canvas using border-box. Either change your
// doctype to HTML5
// (http://www.whatwg.org/specs/web-apps/current-work/#the-doctype)
// or use Box Sizing Behavior from WebFX
// (http://webfx.eae.net/dhtml/boxsizing/boxsizing.html)
// * Non uniform scaling does not correctly scale strokes.
// * Filling very large shapes (above 5000 points) is buggy.
// * Optimize. There is always room for speed improvements.
// Only add this code if we do not already have a canvas implementation
if (!document.createElement('canvas').getContext) {
(function() {
// alias some functions to make (compiled) code shorter
var m = Math;
var mr = m.round;
var ms = m.sin;
var mc = m.cos;
var abs = m.abs;
var sqrt = m.sqrt;
// this is used for sub pixel precision
var Z = 10;
var Z2 = Z / 2;
var IE_VERSION = +navigator.userAgent.match(/MSIE ([\d.]+)?/)[1];
/**
* This funtion is assigned to the <canvas> elements as element.getContext().
* @this {HTMLElement}
* @return {CanvasRenderingContext2D_}
*/
function getContext() {
return this.context_ ||
(this.context_ = new CanvasRenderingContext2D_(this));
}
var slice = Array.prototype.slice;
/**
* Binds a function to an object. The returned function will always use the
* passed in {@code obj} as {@code this}.
*
* Example:
*
* g = bind(f, obj, a, b)
* g(c, d) // will do f.call(obj, a, b, c, d)
*
* @param {Function} f The function to bind the object to
* @param {Object} obj The object that should act as this when the function
* is called
* @param {*} var_args Rest arguments that will be used as the initial
* arguments when the function is called
* @return {Function} A new function that has bound this
*/
function bind(f, obj, var_args) {
var a = slice.call(arguments, 2);
return function() {
return f.apply(obj, a.concat(slice.call(arguments)));
};
}
function encodeHtmlAttribute(s) {
return String(s).replace(/&/g, '&').replace(/"/g, '"');
}
function addNamespace(doc, prefix, urn) {
if (!doc.namespaces[prefix]) {
doc.namespaces.add(prefix, urn, '#default#VML');
}
}
function addNamespacesAndStylesheet(doc) {
addNamespace(doc, 'g_vml_', 'urn:schemas-microsoft-com:vml');
addNamespace(doc, 'g_o_', 'urn:schemas-microsoft-com:office:office');
// Setup default CSS. Only add one style sheet per document
if (!doc.styleSheets['ex_canvas_']) {
var ss = doc.createStyleSheet();
ss.owningElement.id = 'ex_canvas_';
ss.cssText = 'canvas{display:inline-block;overflow:hidden;' +
// default size is 300x150 in Gecko and Opera
'text-align:left;width:300px;height:150px}';
}
}
// Add namespaces and stylesheet at startup.
addNamespacesAndStylesheet(document);
var G_vmlCanvasManager_ = {
init: function(opt_doc) {
var doc = opt_doc || document;
// Create a dummy element so that IE will allow canvas elements to be
// recognized.
doc.createElement('canvas');
doc.attachEvent('onreadystatechange', bind(this.init_, this, doc));
},
init_: function(doc) {
// find all canvas elements
var els = doc.getElementsByTagName('canvas');
for (var i = 0; i < els.length; i++) {
this.initElement(els[i]);
}
},
/**
* Public initializes a canvas element so that it can be used as canvas
* element from now on. This is called automatically before the page is
* loaded but if you are creating elements using createElement you need to
* make sure this is called on the element.
* @param {HTMLElement} el The canvas element to initialize.
* @return {HTMLElement} the element that was created.
*/
initElement: function(el) {
if (!el.getContext) {
el.getContext = getContext;
// Add namespaces and stylesheet to document of the element.
addNamespacesAndStylesheet(el.ownerDocument);
// Remove fallback content. There is no way to hide text nodes so we
// just remove all childNodes. We could hide all elements and remove
// text nodes but who really cares about the fallback content.
el.innerHTML = '';
// do not use inline function because that will leak memory
el.attachEvent('onpropertychange', onPropertyChange);
el.attachEvent('onresize', onResize);
var attrs = el.attributes;
if (attrs.width && attrs.width.specified) {
// TODO: use runtimeStyle and coordsize
// el.getContext().setWidth_(attrs.width.nodeValue);
el.style.width = attrs.width.nodeValue + 'px';
} else {
el.width = el.clientWidth;
}
if (attrs.height && attrs.height.specified) {
// TODO: use runtimeStyle and coordsize
// el.getContext().setHeight_(attrs.height.nodeValue);
el.style.height = attrs.height.nodeValue + 'px';
} else {
el.height = el.clientHeight;
}
//el.getContext().setCoordsize_()
}
return el;
}
};
function onPropertyChange(e) {
var el = e.srcElement;
switch (e.propertyName) {
case 'width':
el.getContext().clearRect();
el.style.width = el.attributes.width.nodeValue + 'px';
// In IE8 this does not trigger onresize.
el.firstChild.style.width = el.clientWidth + 'px';
break;
case 'height':
el.getContext().clearRect();
el.style.height = el.attributes.height.nodeValue + 'px';
el.firstChild.style.height = el.clientHeight + 'px';
break;
}
}
function onResize(e) {
var el = e.srcElement;
if (el.firstChild) {
el.firstChild.style.width = el.clientWidth + 'px';
el.firstChild.style.height = el.clientHeight + 'px';
}
}
G_vmlCanvasManager_.init();
// precompute "00" to "FF"
var decToHex = [];
for (var i = 0; i < 16; i++) {
for (var j = 0; j < 16; j++) {
decToHex[i * 16 + j] = i.toString(16) + j.toString(16);
}
}
function createMatrixIdentity() {
return [
[1, 0, 0],
[0, 1, 0],
[0, 0, 1]
];
}
function matrixMultiply(m1, m2) {
var result = createMatrixIdentity();
for (var x = 0; x < 3; x++) {
for (var y = 0; y < 3; y++) {
var sum = 0;
for (var z = 0; z < 3; z++) {
sum += m1[x][z] * m2[z][y];
}
result[x][y] = sum;
}
}
return result;
}
function copyState(o1, o2) {
o2.fillStyle = o1.fillStyle;
o2.lineCap = o1.lineCap;
o2.lineJoin = o1.lineJoin;
o2.lineWidth = o1.lineWidth;
o2.miterLimit = o1.miterLimit;
o2.shadowBlur = o1.shadowBlur;
o2.shadowColor = o1.shadowColor;
o2.shadowOffsetX = o1.shadowOffsetX;
o2.shadowOffsetY = o1.shadowOffsetY;
o2.strokeStyle = o1.strokeStyle;
o2.globalAlpha = o1.globalAlpha;
o2.font = o1.font;
o2.textAlign = o1.textAlign;
o2.textBaseline = o1.textBaseline;
o2.arcScaleX_ = o1.arcScaleX_;
o2.arcScaleY_ = o1.arcScaleY_;
o2.lineScale_ = o1.lineScale_;
}
var colorData = {
aliceblue: '#F0F8FF',
antiquewhite: '#FAEBD7',
aquamarine: '#7FFFD4',
azure: '#F0FFFF',
beige: '#F5F5DC',
bisque: '#FFE4C4',
black: '#000000',
blanchedalmond: '#FFEBCD',
blueviolet: '#8A2BE2',
brown: '#A52A2A',
burlywood: '#DEB887',
cadetblue: '#5F9EA0',
chartreuse: '#7FFF00',
chocolate: '#D2691E',
coral: '#FF7F50',
cornflowerblue: '#6495ED',
cornsilk: '#FFF8DC',
crimson: '#DC143C',
cyan: '#00FFFF',
darkblue: '#00008B',
darkcyan: '#008B8B',
darkgoldenrod: '#B8860B',
darkgray: '#A9A9A9',
darkgreen: '#006400',
darkgrey: '#A9A9A9',
darkkhaki: '#BDB76B',
darkmagenta: '#8B008B',
darkolivegreen: '#556B2F',
darkorange: '#FF8C00',
darkorchid: '#9932CC',
darkred: '#8B0000',
darksalmon: '#E9967A',
darkseagreen: '#8FBC8F',
darkslateblue: '#483D8B',
darkslategray: '#2F4F4F',
darkslategrey: '#2F4F4F',
darkturquoise: '#00CED1',
darkviolet: '#9400D3',
deeppink: '#FF1493',
deepskyblue: '#00BFFF',
dimgray: '#696969',
dimgrey: '#696969',
dodgerblue: '#1E90FF',
firebrick: '#B22222',
floralwhite: '#FFFAF0',
forestgreen: '#228B22',
gainsboro: '#DCDCDC',
ghostwhite: '#F8F8FF',
gold: '#FFD700',
goldenrod: '#DAA520',
grey: '#808080',
greenyellow: '#ADFF2F',
honeydew: '#F0FFF0',
hotpink: '#FF69B4',
indianred: '#CD5C5C',
indigo: '#4B0082',
ivory: '#FFFFF0',
khaki: '#F0E68C',
lavender: '#E6E6FA',
lavenderblush: '#FFF0F5',
lawngreen: '#7CFC00',
lemonchiffon: '#FFFACD',
lightblue: '#ADD8E6',
lightcoral: '#F08080',
lightcyan: '#E0FFFF',
lightgoldenrodyellow: '#FAFAD2',
lightgreen: '#90EE90',
lightgrey: '#D3D3D3',
lightpink: '#FFB6C1',
lightsalmon: '#FFA07A',
lightseagreen: '#20B2AA',
lightskyblue: '#87CEFA',
lightslategray: '#778899',
lightslategrey: '#778899',
lightsteelblue: '#B0C4DE',
lightyellow: '#FFFFE0',
limegreen: '#32CD32',
linen: '#FAF0E6',
magenta: '#FF00FF',
mediumaquamarine: '#66CDAA',
mediumblue: '#0000CD',
mediumorchid: '#BA55D3',
mediumpurple: '#9370DB',
mediumseagreen: '#3CB371',
mediumslateblue: '#7B68EE',
mediumspringgreen: '#00FA9A',
mediumturquoise: '#48D1CC',
mediumvioletred: '#C71585',
midnightblue: '#191970',
mintcream: '#F5FFFA',
mistyrose: '#FFE4E1',
moccasin: '#FFE4B5',
navajowhite: '#FFDEAD',
oldlace: '#FDF5E6',
olivedrab: '#6B8E23',
orange: '#FFA500',
orangered: '#FF4500',
orchid: '#DA70D6',
palegoldenrod: '#EEE8AA',
palegreen: '#98FB98',
paleturquoise: '#AFEEEE',
palevioletred: '#DB7093',
papayawhip: '#FFEFD5',
peachpuff: '#FFDAB9',
peru: '#CD853F',
pink: '#FFC0CB',
plum: '#DDA0DD',
powderblue: '#B0E0E6',
rosybrown: '#BC8F8F',
royalblue: '#4169E1',
saddlebrown: '#8B4513',
salmon: '#FA8072',
sandybrown: '#F4A460',
seagreen: '#2E8B57',
seashell: '#FFF5EE',
sienna: '#A0522D',
skyblue: '#87CEEB',
slateblue: '#6A5ACD',
slategray: '#708090',
slategrey: '#708090',
snow: '#FFFAFA',
springgreen: '#00FF7F',
steelblue: '#4682B4',
tan: '#D2B48C',
thistle: '#D8BFD8',
tomato: '#FF6347',
turquoise: '#40E0D0',
violet: '#EE82EE',
wheat: '#F5DEB3',
whitesmoke: '#F5F5F5',
yellowgreen: '#9ACD32'
};
function getRgbHslContent(styleString) {
var start = styleString.indexOf('(', 3);
var end = styleString.indexOf(')', start + 1);
var parts = styleString.substring(start + 1, end).split(',');
// add alpha if needed
if (parts.length != 4 || styleString.charAt(3) != 'a') {
parts[3] = 1;
}
return parts;
}
function percent(s) {
return parseFloat(s) / 100;
}
function clamp(v, min, max) {
return Math.min(max, Math.max(min, v));
}
function hslToRgb(parts){
var r, g, b, h, s, l;
h = parseFloat(parts[0]) / 360 % 360;
if (h < 0)
h++;
s = clamp(percent(parts[1]), 0, 1);
l = clamp(percent(parts[2]), 0, 1);
if (s == 0) {
r = g = b = l; // achromatic
} else {
var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
var p = 2 * l - q;
r = hueToRgb(p, q, h + 1 / 3);
g = hueToRgb(p, q, h);
b = hueToRgb(p, q, h - 1 / 3);
}
return '#' + decToHex[Math.floor(r * 255)] +
decToHex[Math.floor(g * 255)] +
decToHex[Math.floor(b * 255)];
}
function hueToRgb(m1, m2, h) {
if (h < 0)
h++;
if (h > 1)
h--;
if (6 * h < 1)
return m1 + (m2 - m1) * 6 * h;
else if (2 * h < 1)
return m2;
else if (3 * h < 2)
return m1 + (m2 - m1) * (2 / 3 - h) * 6;
else
return m1;
}
var processStyleCache = {};
function processStyle(styleString) {
if (styleString in processStyleCache) {
return processStyleCache[styleString];
}
var str, alpha = 1;
styleString = String(styleString);
if (styleString.charAt(0) == '#') {
str = styleString;
} else if (/^rgb/.test(styleString)) {
var parts = getRgbHslContent(styleString);
var str = '#', n;
for (var i = 0; i < 3; i++) {
if (parts[i].indexOf('%') != -1) {
n = Math.floor(percent(parts[i]) * 255);
} else {
n = +parts[i];
}
str += decToHex[clamp(n, 0, 255)];
}
alpha = +parts[3];
} else if (/^hsl/.test(styleString)) {
var parts = getRgbHslContent(styleString);
str = hslToRgb(parts);
alpha = parts[3];
} else {
str = colorData[styleString] || styleString;
}
return processStyleCache[styleString] = {color: str, alpha: alpha};
}
var DEFAULT_STYLE = {
style: 'normal',
variant: 'normal',
weight: 'normal',
size: 10,
family: 'sans-serif'
};
// Internal text style cache
var fontStyleCache = {};
function processFontStyle(styleString) {
if (fontStyleCache[styleString]) {
return fontStyleCache[styleString];
}
var el = document.createElement('div');
var style = el.style;
try {
style.font = styleString;
} catch (ex) {
// Ignore failures to set to invalid font.
}
return fontStyleCache[styleString] = {
style: style.fontStyle || DEFAULT_STYLE.style,
variant: style.fontVariant || DEFAULT_STYLE.variant,
weight: style.fontWeight || DEFAULT_STYLE.weight,
size: style.fontSize || DEFAULT_STYLE.size,
family: style.fontFamily || DEFAULT_STYLE.family
};
}
function getComputedStyle(style, element) {
var computedStyle = {};
for (var p in style) {
computedStyle[p] = style[p];
}
// Compute the size
var canvasFontSize = parseFloat(element.currentStyle.fontSize),
fontSize = parseFloat(style.size);
if (typeof style.size == 'number') {
computedStyle.size = style.size;
} else if (style.size.indexOf('px') != -1) {
computedStyle.size = fontSize;
} else if (style.size.indexOf('em') != -1) {
computedStyle.size = canvasFontSize * fontSize;
} else if(style.size.indexOf('%') != -1) {
computedStyle.size = (canvasFontSize / 100) * fontSize;
} else if (style.size.indexOf('pt') != -1) {
computedStyle.size = fontSize / .75;
} else {
computedStyle.size = canvasFontSize;
}
// Different scaling between normal text and VML text. This was found using
// trial and error to get the same size as non VML text.
computedStyle.size *= 0.981;
return computedStyle;
}
function buildStyle(style) {
return style.style + ' ' + style.variant + ' ' + style.weight + ' ' +
style.size + 'px ' + style.family;
}
var lineCapMap = {
'butt': 'flat',
'round': 'round'
};
function processLineCap(lineCap) {
return lineCapMap[lineCap] || 'square';
}
/**
* This class implements CanvasRenderingContext2D interface as described by
* the WHATWG.
* @param {HTMLElement} canvasElement The element that the 2D context should
* be associated with
*/
function CanvasRenderingContext2D_(canvasElement) {
this.m_ = createMatrixIdentity();
this.mStack_ = [];
this.aStack_ = [];
this.currentPath_ = [];
// Canvas context properties
this.strokeStyle = '#000';
this.fillStyle = '#000';
this.lineWidth = 1;
this.lineJoin = 'miter';
this.lineCap = 'butt';
this.miterLimit = Z * 1;
this.globalAlpha = 1;
this.font = '10px sans-serif';
this.textAlign = 'left';
this.textBaseline = 'alphabetic';
this.canvas = canvasElement;
var cssText = 'width:' + canvasElement.clientWidth + 'px;height:' +
canvasElement.clientHeight + 'px;overflow:hidden;position:absolute';
var el = canvasElement.ownerDocument.createElement('div');
el.style.cssText = cssText;
canvasElement.appendChild(el);
var overlayEl = el.cloneNode(false);
// Use a non transparent background.
overlayEl.style.backgroundColor = 'red';
overlayEl.style.filter = 'alpha(opacity=0)';
canvasElement.appendChild(overlayEl);
this.element_ = el;
this.arcScaleX_ = 1;
this.arcScaleY_ = 1;
this.lineScale_ = 1;
}
var contextPrototype = CanvasRenderingContext2D_.prototype;
contextPrototype.clearRect = function() {
if (this.textMeasureEl_) {
this.textMeasureEl_.removeNode(true);
this.textMeasureEl_ = null;
}
this.element_.innerHTML = '';
};
contextPrototype.beginPath = function() {
// TODO: Branch current matrix so that save/restore has no effect
// as per safari docs.
this.currentPath_ = [];
};
contextPrototype.moveTo = function(aX, aY) {
var p = getCoords(this, aX, aY);
this.currentPath_.push({type: 'moveTo', x: p.x, y: p.y});
this.currentX_ = p.x;
this.currentY_ = p.y;
};
contextPrototype.lineTo = function(aX, aY) {
var p = getCoords(this, aX, aY);
this.currentPath_.push({type: 'lineTo', x: p.x, y: p.y});
this.currentX_ = p.x;
this.currentY_ = p.y;
};
contextPrototype.bezierCurveTo = function(aCP1x, aCP1y,
aCP2x, aCP2y,
aX, aY) {
var p = getCoords(this, aX, aY);
var cp1 = getCoords(this, aCP1x, aCP1y);
var cp2 = getCoords(this, aCP2x, aCP2y);
bezierCurveTo(this, cp1, cp2, p);
};
// Helper function that takes the already fixed cordinates.
function bezierCurveTo(self, cp1, cp2, p) {
self.currentPath_.push({
type: 'bezierCurveTo',
cp1x: cp1.x,
cp1y: cp1.y,
cp2x: cp2.x,
cp2y: cp2.y,
x: p.x,
y: p.y
});
self.currentX_ = p.x;
self.currentY_ = p.y;
}
contextPrototype.quadraticCurveTo = function(aCPx, aCPy, aX, aY) {
// the following is lifted almost directly from
// http://developer.mozilla.org/en/docs/Canvas_tutorial:Drawing_shapes
var cp = getCoords(this, aCPx, aCPy);
var p = getCoords(this, aX, aY);
var cp1 = {
x: this.currentX_ + 2.0 / 3.0 * (cp.x - this.currentX_),
y: this.currentY_ + 2.0 / 3.0 * (cp.y - this.currentY_)
};
var cp2 = {
x: cp1.x + (p.x - this.currentX_) / 3.0,
y: cp1.y + (p.y - this.currentY_) / 3.0
};
bezierCurveTo(this, cp1, cp2, p);
};
contextPrototype.arc = function(aX, aY, aRadius,
aStartAngle, aEndAngle, aClockwise) {
aRadius *= Z;
var arcType = aClockwise ? 'at' : 'wa';
var xStart = aX + mc(aStartAngle) * aRadius - Z2;
var yStart = aY + ms(aStartAngle) * aRadius - Z2;
var xEnd = aX + mc(aEndAngle) * aRadius - Z2;
var yEnd = aY + ms(aEndAngle) * aRadius - Z2;
// IE won't render arches drawn counter clockwise if xStart == xEnd.
if (xStart == xEnd && !aClockwise) {
xStart += 0.125; // Offset xStart by 1/80 of a pixel. Use something
// that can be represented in binary
}
var p = getCoords(this, aX, aY);
var pStart = getCoords(this, xStart, yStart);
var pEnd = getCoords(this, xEnd, yEnd);
this.currentPath_.push({type: arcType,
x: p.x,
y: p.y,
radius: aRadius,
xStart: pStart.x,
yStart: pStart.y,
xEnd: pEnd.x,
yEnd: pEnd.y});
};
contextPrototype.rect = function(aX, aY, aWidth, aHeight) {
this.moveTo(aX, aY);
this.lineTo(aX + aWidth, aY);
this.lineTo(aX + aWidth, aY + aHeight);
this.lineTo(aX, aY + aHeight);
this.closePath();
};
contextPrototype.strokeRect = function(aX, aY, aWidth, aHeight) {
var oldPath = this.currentPath_;
this.beginPath();
this.moveTo(aX, aY);
this.lineTo(aX + aWidth, aY);
this.lineTo(aX + aWidth, aY + aHeight);
this.lineTo(aX, aY + aHeight);
this.closePath();
this.stroke();
this.currentPath_ = oldPath;
};
contextPrototype.fillRect = function(aX, aY, aWidth, aHeight) {
var oldPath = this.currentPath_;
this.beginPath();
this.moveTo(aX, aY);
this.lineTo(aX + aWidth, aY);
this.lineTo(aX + aWidth, aY + aHeight);
this.lineTo(aX, aY + aHeight);
this.closePath();
this.fill();
this.currentPath_ = oldPath;
};
contextPrototype.createLinearGradient = function(aX0, aY0, aX1, aY1) {
var gradient = new CanvasGradient_('gradient');
gradient.x0_ = aX0;
gradient.y0_ = aY0;
gradient.x1_ = aX1;
gradient.y1_ = aY1;
return gradient;
};
contextPrototype.createRadialGradient = function(aX0, aY0, aR0,
aX1, aY1, aR1) {
var gradient = new CanvasGradient_('gradientradial');
gradient.x0_ = aX0;
gradient.y0_ = aY0;
gradient.r0_ = aR0;
gradient.x1_ = aX1;
gradient.y1_ = aY1;
gradient.r1_ = aR1;
return gradient;
};
contextPrototype.drawImage = function(image, var_args) {
var dx, dy, dw, dh, sx, sy, sw, sh;
// to find the original width we overide the width and height
var oldRuntimeWidth = image.runtimeStyle.width;
var oldRuntimeHeight = image.runtimeStyle.height;
image.runtimeStyle.width = 'auto';
image.runtimeStyle.height = 'auto';
// get the original size
var w = image.width;
var h = image.height;
// and remove overides
image.runtimeStyle.width = oldRuntimeWidth;
image.runtimeStyle.height = oldRuntimeHeight;
if (arguments.length == 3) {
dx = arguments[1];
dy = arguments[2];
sx = sy = 0;
sw = dw = w;
sh = dh = h;
} else if (arguments.length == 5) {
dx = arguments[1];
dy = arguments[2];
dw = arguments[3];
dh = arguments[4];
sx = sy = 0;
sw = w;
sh = h;
} else if (arguments.length == 9) {
sx = arguments[1];
sy = arguments[2];
sw = arguments[3];
sh = arguments[4];
dx = arguments[5];
dy = arguments[6];
dw = arguments[7];
dh = arguments[8];
} else {
throw Error('Invalid number of arguments');
}
var d = getCoords(this, dx, dy);
var w2 = sw / 2;
var h2 = sh / 2;
var vmlStr = [];
var W = 10;
var H = 10;
// For some reason that I've now forgotten, using divs didn't work
vmlStr.push(' <g_vml_:group',
' coordsize="', Z * W, ',', Z * H, '"',
' coordorigin="0,0"' ,
' style="width:', W, 'px;height:', H, 'px;position:absolute;');
// If filters are necessary (rotation exists), create them
// filters are bog-slow, so only create them if abbsolutely necessary
// The following check doesn't account for skews (which don't exist
// in the canvas spec (yet) anyway.
if (this.m_[0][0] != 1 || this.m_[0][1] ||
this.m_[1][1] != 1 || this.m_[1][0]) {
var filter = [];
// Note the 12/21 reversal
filter.push('M11=', this.m_[0][0], ',',
'M12=', this.m_[1][0], ',',
'M21=', this.m_[0][1], ',',
'M22=', this.m_[1][1], ',',
'Dx=', mr(d.x / Z), ',',
'Dy=', mr(d.y / Z), '');
// Bounding box calculation (need to minimize displayed area so that
// filters don't waste time on unused pixels.
var max = d;
var c2 = getCoords(this, dx + dw, dy);
var c3 = getCoords(this, dx, dy + dh);
var c4 = getCoords(this, dx + dw, dy + dh);
max.x = m.max(max.x, c2.x, c3.x, c4.x);
max.y = m.max(max.y, c2.y, c3.y, c4.y);
vmlStr.push('padding:0 ', mr(max.x / Z), 'px ', mr(max.y / Z),
'px 0;filter:progid:DXImageTransform.Microsoft.Matrix(',
filter.join(''), ", sizingmethod='clip');");
} else {
vmlStr.push('top:', mr(d.y / Z), 'px;left:', mr(d.x / Z), 'px;');
}
vmlStr.push(' ">' ,
'<g_vml_:image src="', image.src, '"',
' style="width:', Z * dw, 'px;',
' height:', Z * dh, 'px"',
' cropleft="', sx / w, '"',
' croptop="', sy / h, '"',
' cropright="', (w - sx - sw) / w, '"',
' cropbottom="', (h - sy - sh) / h, '"',
' />',
'</g_vml_:group>');
this.element_.insertAdjacentHTML('BeforeEnd', vmlStr.join(''));
};
contextPrototype.stroke = function(aFill) {
var W = 10;
var H = 10;
// Divide the shape into chunks if it's too long because IE has a limit
// somewhere for how long a VML shape can be. This simple division does
// not work with fills, only strokes, unfortunately.
var chunkSize = 5000;
var min = {x: null, y: null};
var max = {x: null, y: null};
for (var j = 0; j < this.currentPath_.length; j += chunkSize) {
var lineStr = [];
var lineOpen = false;
lineStr.push('<g_vml_:shape',
' filled="', !!aFill, '"',
' style="position:absolute;width:', W, 'px;height:', H, 'px;"',
' coordorigin="0,0"',
' coordsize="', Z * W, ',', Z * H, '"',
' stroked="', !aFill, '"',
' path="');
var newSeq = false;
for (var i = j; i < Math.min(j + chunkSize, this.currentPath_.length); i++) {
if (i % chunkSize == 0 && i > 0) { // move into position for next chunk
lineStr.push(' m ', mr(this.currentPath_[i-1].x), ',', mr(this.currentPath_[i-1].y));
}
var p = this.currentPath_[i];
var c;
switch (p.type) {
case 'moveTo':
c = p;
lineStr.push(' m ', mr(p.x), ',', mr(p.y));
break;
case 'lineTo':
lineStr.push(' l ', mr(p.x), ',', mr(p.y));
break;
case 'close':
lineStr.push(' x ');
p = null;
break;
case 'bezierCurveTo':
lineStr.push(' c ',
mr(p.cp1x), ',', mr(p.cp1y), ',',
mr(p.cp2x), ',', mr(p.cp2y), ',',
mr(p.x), ',', mr(p.y));
break;
case 'at':
case 'wa':
lineStr.push(' ', p.type, ' ',
mr(p.x - this.arcScaleX_ * p.radius), ',',
mr(p.y - this.arcScaleY_ * p.radius), ' ',
mr(p.x + this.arcScaleX_ * p.radius), ',',
mr(p.y + this.arcScaleY_ * p.radius), ' ',
mr(p.xStart), ',', mr(p.yStart), ' ',
mr(p.xEnd), ',', mr(p.yEnd));
break;
}
// TODO: Following is broken for curves due to
// move to proper paths.
// Figure out dimensions so we can do gradient fills
// properly
if (p) {
if (min.x == null || p.x < min.x) {
min.x = p.x;
}
if (max.x == null || p.x > max.x) {
max.x = p.x;
}
if (min.y == null || p.y < min.y) {
min.y = p.y;
}
if (max.y == null || p.y > max.y) {
max.y = p.y;
}
}
}
lineStr.push(' ">');
if (!aFill) {
appendStroke(this, lineStr);
} else {
appendFill(this, lineStr, min, max);
}
lineStr.push('</g_vml_:shape>');
this.element_.insertAdjacentHTML('beforeEnd', lineStr.join(''));
}
};
function appendStroke(ctx, lineStr) {
var a = processStyle(ctx.strokeStyle);
var color = a.color;
var opacity = a.alpha * ctx.globalAlpha;
var lineWidth = ctx.lineScale_ * ctx.lineWidth;
// VML cannot correctly render a line if the width is less than 1px.
// In that case, we dilute the color to make the line look thinner.
if (lineWidth < 1) {
opacity *= lineWidth;
}
lineStr.push(
'<g_vml_:stroke',
' opacity="', opacity, '"',
' joinstyle="', ctx.lineJoin, '"',
' miterlimit="', ctx.miterLimit, '"',
' endcap="', processLineCap(ctx.lineCap), '"',
' weight="', lineWidth, 'px"',
' color="', color, '" />'
);
}
function appendFill(ctx, lineStr, min, max) {
var fillStyle = ctx.fillStyle;
var arcScaleX = ctx.arcScaleX_;
var arcScaleY = ctx.arcScaleY_;
var width = max.x - min.x;
var height = max.y - min.y;
if (fillStyle instanceof CanvasGradient_) {
// TODO: Gradients transformed with the transformation matrix.
var angle = 0;
var focus = {x: 0, y: 0};
// additional offset
var shift = 0;
// scale factor for offset
var expansion = 1;
if (fillStyle.type_ == 'gradient') {
var x0 = fillStyle.x0_ / arcScaleX;
var y0 = fillStyle.y0_ / arcScaleY;
var x1 = fillStyle.x1_ / arcScaleX;
var y1 = fillStyle.y1_ / arcScaleY;
var p0 = getCoords(ctx, x0, y0);
var p1 = getCoords(ctx, x1, y1);
var dx = p1.x - p0.x;
var dy = p1.y - p0.y;
angle = Math.atan2(dx, dy) * 180 / Math.PI;
// The angle should be a non-negative number.
if (angle < 0) {
angle += 360;
}
// Very small angles produce an unexpected result because they are
// converted to a scientific notation string.
if (angle < 1e-6) {
angle = 0;
}
} else {
var p0 = getCoords(ctx, fillStyle.x0_, fillStyle.y0_);
focus = {
x: (p0.x - min.x) / width,
y: (p0.y - min.y) / height
};
width /= arcScaleX * Z;
height /= arcScaleY * Z;
var dimension = m.max(width, height);
shift = 2 * fillStyle.r0_ / dimension;
expansion = 2 * fillStyle.r1_ / dimension - shift;
}
// We need to sort the color stops in ascending order by offset,
// otherwise IE won't interpret it correctly.
var stops = fillStyle.colors_;
stops.sort(function(cs1, cs2) {
return cs1.offset - cs2.offset;
});
var length = stops.length;
var color1 = stops[0].color;
var color2 = stops[length - 1].color;
var opacity1 = stops[0].alpha * ctx.globalAlpha;
var opacity2 = stops[length - 1].alpha * ctx.globalAlpha;
var colors = [];
for (var i = 0; i < length; i++) {
var stop = stops[i];
colors.push(stop.offset * expansion + shift + ' ' + stop.color);
}
// When colors attribute is used, the meanings of opacity and o:opacity2
// are reversed.
lineStr.push('<g_vml_:fill type="', fillStyle.type_, '"',
' method="none" focus="100%"',
' color="', color1, '"',
' color2="', color2, '"',
' colors="', colors.join(','), '"',
' opacity="', opacity2, '"',
' g_o_:opacity2="', opacity1, '"',
' angle="', angle, '"',
' focusposition="', focus.x, ',', focus.y, '" />');
} else if (fillStyle instanceof CanvasPattern_) {
if (width && height) {
var deltaLeft = -min.x;
var deltaTop = -min.y;
lineStr.push('<g_vml_:fill',
' position="',
deltaLeft / width * arcScaleX * arcScaleX, ',',
deltaTop / height * arcScaleY * arcScaleY, '"',
' type="tile"',
// TODO: Figure out the correct size to fit the scale.
//' size="', w, 'px ', h, 'px"',
' src="', fillStyle.src_, '" />');
}
} else {
var a = processStyle(ctx.fillStyle);
var color = a.color;
var opacity = a.alpha * ctx.globalAlpha;
lineStr.push('<g_vml_:fill color="', color, '" opacity="', opacity,
'" />');
}
}
contextPrototype.fill = function() {
this.stroke(true);
};
contextPrototype.closePath = function() {
this.currentPath_.push({type: 'close'});
};
function getCoords(ctx, aX, aY) {
var m = ctx.m_;
return {
x: Z * (aX * m[0][0] + aY * m[1][0] + m[2][0]) - Z2,
y: Z * (aX * m[0][1] + aY * m[1][1] + m[2][1]) - Z2
};
};
contextPrototype.save = function() {
var o = {};
copyState(this, o);
this.aStack_.push(o);
this.mStack_.push(this.m_);
this.m_ = matrixMultiply(createMatrixIdentity(), this.m_);
};
contextPrototype.restore = function() {
if (this.aStack_.length) {
copyState(this.aStack_.pop(), this);
this.m_ = this.mStack_.pop();
}
};
function matrixIsFinite(m) {
return isFinite(m[0][0]) && isFinite(m[0][1]) &&
isFinite(m[1][0]) && isFinite(m[1][1]) &&
isFinite(m[2][0]) && isFinite(m[2][1]);
}
function setM(ctx, m, updateLineScale) {
if (!matrixIsFinite(m)) {
return;
}
ctx.m_ = m;
if (updateLineScale) {
// Get the line scale.
// Determinant of this.m_ means how much the area is enlarged by the
// transformation. So its square root can be used as a scale factor
// for width.
var det = m[0][0] * m[1][1] - m[0][1] * m[1][0];
ctx.lineScale_ = sqrt(abs(det));
}
}
contextPrototype.translate = function(aX, aY) {
var m1 = [
[1, 0, 0],
[0, 1, 0],
[aX, aY, 1]
];
setM(this, matrixMultiply(m1, this.m_), false);
};
contextPrototype.rotate = function(aRot) {
var c = mc(aRot);
var s = ms(aRot);
var m1 = [
[c, s, 0],
[-s, c, 0],
[0, 0, 1]
];
setM(this, matrixMultiply(m1, this.m_), false);
};
contextPrototype.scale = function(aX, aY) {
this.arcScaleX_ *= aX;
this.arcScaleY_ *= aY;
var m1 = [
[aX, 0, 0],
[0, aY, 0],
[0, 0, 1]
];
setM(this, matrixMultiply(m1, this.m_), true);
};
contextPrototype.transform = function(m11, m12, m21, m22, dx, dy) {
var m1 = [
[m11, m12, 0],
[m21, m22, 0],
[dx, dy, 1]
];
setM(this, matrixMultiply(m1, this.m_), true);
};
contextPrototype.setTransform = function(m11, m12, m21, m22, dx, dy) {
var m = [
[m11, m12, 0],
[m21, m22, 0],
[dx, dy, 1]
];
setM(this, m, true);
};
/**
* The text drawing function.
* The maxWidth argument isn't taken in account, since no browser supports
* it yet.
*/
contextPrototype.drawText_ = function(text, x, y, maxWidth, stroke) {
var m = this.m_,
delta = 1000,
left = 0,
right = delta,
offset = {x: 0, y: 0},
lineStr = [];
var fontStyle = getComputedStyle(processFontStyle(this.font),
this.element_);
var fontStyleString = buildStyle(fontStyle);
var elementStyle = this.element_.currentStyle;
var textAlign = this.textAlign.toLowerCase();
switch (textAlign) {
case 'left':
case 'center':
case 'right':
break;
case 'end':
textAlign = elementStyle.direction == 'ltr' ? 'right' : 'left';
break;
case 'start':
textAlign = elementStyle.direction == 'rtl' ? 'right' : 'left';
break;
default:
textAlign = 'left';
}
// 1.75 is an arbitrary number, as there is no info about the text baseline
switch (this.textBaseline) {
case 'hanging':
case 'top':
offset.y = fontStyle.size / 1.75;
break;
case 'middle':
break;
default:
case null:
case 'alphabetic':
case 'ideographic':
case 'bottom':
offset.y = -fontStyle.size / 2.25;
break;
}
switch(textAlign) {
case 'right':
left = delta;
right = 0.05;
break;
case 'center':
left = right = delta / 2;
break;
}
var d = getCoords(this, x + offset.x, y + offset.y);
lineStr.push('<g_vml_:line from="', -left ,' 0" to="', right ,' 0.05" ',
' coordsize="100 100" coordorigin="0 0"',
' filled="', !stroke, '" stroked="', !!stroke,
'" style="position:absolute;width:1px;height:1px;">');
if (stroke) {
appendStroke(this, lineStr);
} else {
// TODO: Fix the min and max params.
appendFill(this, lineStr, {x: -left, y: 0},
{x: right, y: fontStyle.size});
}
var skewM = m[0][0].toFixed(3) + ',' + m[1][0].toFixed(3) + ',' +
m[0][1].toFixed(3) + ',' + m[1][1].toFixed(3) + ',0,0';
var skewOffset = mr(d.x / Z) + ',' + mr(d.y / Z);
lineStr.push('<g_vml_:skew on="t" matrix="', skewM ,'" ',
' offset="', skewOffset, '" origin="', left ,' 0" />',
'<g_vml_:path textpathok="true" />',
'<g_vml_:textpath on="true" string="',
encodeHtmlAttribute(text),
'" style="v-text-align:', textAlign,
';font:', encodeHtmlAttribute(fontStyleString),
'" /></g_vml_:line>');
this.element_.insertAdjacentHTML('beforeEnd', lineStr.join(''));
};
contextPrototype.fillText = function(text, x, y, maxWidth) {
this.drawText_(text, x, y, maxWidth, false);
};
contextPrototype.strokeText = function(text, x, y, maxWidth) {
this.drawText_(text, x, y, maxWidth, true);
};
contextPrototype.measureText = function(text) {
if (!this.textMeasureEl_) {
var s = '<span style="position:absolute;' +
'top:-20000px;left:0;padding:0;margin:0;border:none;' +
'white-space:pre;"></span>';
this.element_.insertAdjacentHTML('beforeEnd', s);
this.textMeasureEl_ = this.element_.lastChild;
}
var doc = this.element_.ownerDocument;
this.textMeasureEl_.innerHTML = '';
this.textMeasureEl_.style.font = this.font;
// Don't use innerHTML or innerText because they allow markup/whitespace.
this.textMeasureEl_.appendChild(doc.createTextNode(text));
return {width: this.textMeasureEl_.offsetWidth};
};
/******** STUBS ********/
contextPrototype.clip = function() {
// TODO: Implement
};
contextPrototype.arcTo = function() {
// TODO: Implement
};
contextPrototype.createPattern = function(image, repetition) {
return new CanvasPattern_(image, repetition);
};
// Gradient / Pattern Stubs
function CanvasGradient_(aType) {
this.type_ = aType;
this.x0_ = 0;
this.y0_ = 0;
this.r0_ = 0;
this.x1_ = 0;
this.y1_ = 0;
this.r1_ = 0;
this.colors_ = [];
}
CanvasGradient_.prototype.addColorStop = function(aOffset, aColor) {
aColor = processStyle(aColor);
this.colors_.push({offset: aOffset,
color: aColor.color,
alpha: aColor.alpha});
};
function CanvasPattern_(image, repetition) {
assertImageIsValid(image);
switch (repetition) {
case 'repeat':
case null:
case '':
this.repetition_ = 'repeat';
break
case 'repeat-x':
case 'repeat-y':
case 'no-repeat':
this.repetition_ = repetition;
break;
default:
throwException('SYNTAX_ERR');
}
this.src_ = image.src;
this.width_ = image.width;
this.height_ = image.height;
}
function throwException(s) {
throw new DOMException_(s);
}
function assertImageIsValid(img) {
if (!img || img.nodeType != 1 || img.tagName != 'IMG') {
throwException('TYPE_MISMATCH_ERR');
}
if (img.readyState != 'complete') {
throwException('INVALID_STATE_ERR');
}
}
function DOMException_(s) {
this.code = this[s];
this.message = s +': DOM Exception ' + this.code;
}
var p = DOMException_.prototype = new Error;
p.INDEX_SIZE_ERR = 1;
p.DOMSTRING_SIZE_ERR = 2;
p.HIERARCHY_REQUEST_ERR = 3;
p.WRONG_DOCUMENT_ERR = 4;
p.INVALID_CHARACTER_ERR = 5;
p.NO_DATA_ALLOWED_ERR = 6;
p.NO_MODIFICATION_ALLOWED_ERR = 7;
p.NOT_FOUND_ERR = 8;
p.NOT_SUPPORTED_ERR = 9;
p.INUSE_ATTRIBUTE_ERR = 10;
p.INVALID_STATE_ERR = 11;
p.SYNTAX_ERR = 12;
p.INVALID_MODIFICATION_ERR = 13;
p.NAMESPACE_ERR = 14;
p.INVALID_ACCESS_ERR = 15;
p.VALIDATION_ERR = 16;
p.TYPE_MISMATCH_ERR = 17;
// set up externs
G_vmlCanvasManager = G_vmlCanvasManager_;
CanvasRenderingContext2D = CanvasRenderingContext2D_;
CanvasGradient = CanvasGradient_;
CanvasPattern = CanvasPattern_;
DOMException = DOMException_;
})();
} // if
|
274056675/springboot-openai-chatgpt | 26,279 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/controller/ChatController.java | /*
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the dreamlu.net developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: Chill 庄骞 (smallchill@163.com)
*/
package org.springblade.modules.mjkj.controller;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springblade.core.mp.support.Condition;
import org.springblade.core.mp.support.Query;
import org.springblade.core.secure.utils.AuthUtil;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.DateUtil;
import org.springblade.core.tool.utils.Func;
import org.springblade.core.tool.utils.RedisUtil;
import org.springblade.modules.mjkj.common.cgform.service.IMjkjBaseSqlService;
import org.springblade.modules.mjkj.common.config.constant.ChatgptConfig;
import org.springblade.modules.mjkj.common.constant.AiModelConstant;
import org.springblade.modules.mjkj.common.utils.MjkjUtils;
import org.springblade.modules.mjkj.model.ChatGptMsgModel;
import org.springblade.modules.mjkj.model.MessageModel;
import org.springblade.modules.mjkj.model.MessageModelRoleType;
import org.springblade.modules.mjkj.model.WxUserInfoModel;
import org.springblade.modules.mjkj.param.*;
import org.springblade.modules.mjkj.service.IChatGPTService;
import org.springblade.modules.mjkj.service.IWebService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.*;
@Slf4j
@CrossOrigin
@RestController
@AllArgsConstructor
@RequestMapping("mjkj-chat/chat/ai")
@Api(value = "超级AI智能助手开放接口", tags = "超级AI智能助手开放接口")
public class ChatController {
@Autowired
private IWebService webService;
@Autowired
private IMjkjBaseSqlService baseSqlService;
@Autowired
private IChatGPTService chatGPTService;
@Autowired
private RedisUtil redisUtil;
@ApiOperationSupport(order = 1)
@PostMapping({"/del/wxuser"})
@ApiOperation(value = "注销用户", notes = "注销用户")
public R delWxuser() {
String wxuserId = webService.getWxuserId();
webService.delWuserInfo(wxuserId);
return R.data("成功");
}
@ApiOperationSupport(order = 1)
@GetMapping({"/getWxUserInfo"})
@ApiOperation(value = "获取用户详情", notes = "获取用户详情")
public R getWxUserInfo() {
WxUserInfoModel wxUsrInfo = webService.getWxUsrInfo();
return R.data(wxUsrInfo);
}
@ApiOperationSupport(order = 3)
@PostMapping({"/send/question"})
@ApiOperation(value = "发送问题", notes = "发送问题")
public R sendQuestion(@RequestBody QuestionParam param) {
if (Func.isEmpty(param) || Func.isEmpty(param.getQuestion())) {
return R.fail("问题不允许为空");
}
String startMessageId = param.getStartMessageId();//上下文id
Long startMessageIdL = Func.isEmpty(startMessageId) ? 0L : Func.toLong(startMessageId);
//校验次数-------开始----------
WxUserInfoModel wxUsrInfo = webService.getWxUsrInfo();
String type = param.getType();
String chatListId = "";
if(Func.equals(type,"pc")){
chatListId = Func.isEmpty(param.getChatListId()) ? IdWorker.getIdStr():param.getChatListId();
}
boolean memberFlag = wxUsrInfo.isMemberFlag();
Integer useNum=0;
Integer rlcou = wxUsrInfo.getRl_cou();
if (!memberFlag) {//当前不是会员 有开启消耗次数
useNum = webService.getOneQuestionUseNum();//一次消耗多少次
Integer wuserQuestionCou = webService.getWuserQuestionCou(AuthUtil.getUserId(),"question");//用户总次数
if (useNum.intValue() > wuserQuestionCou.intValue() && rlcou==0) {
return R.fail("可提问次数不足,可通过分享增加可用次数");
}
}
Long chatListIdL = Func.toLong(chatListId);
//校验次数-------结束----------
//新建聊天列表
Date now = DateUtil.now();
String dateNow = DateUtil.format(now, "yyyy-MM-dd");
if ( Func.isEmpty(param.getChatListId()) && Func.equals(param.getType(),"pc") ){
webService.createNewChatList(chatListIdL,"chat",dateNow+" AI问答", param.getQuestion(),"","");
}
if(Func.isNotEmpty(param.getChatListId())){
Map<String,Object> updateMap = new HashMap<>();
updateMap.put("chat_content",param.getQuestion());
baseSqlService.baseUpdateData("chat_list",updateMap,param.getChatListId());
}
// 创建 HTTP 请求对
String question = param.getQuestion();
List<ChatGptMsgModel> list = webService.sendQuestion(question, startMessageIdL, useNum, param.getText_type(),chatListIdL);
if(Func.isNotEmpty(list)){
ChatGptMsgModel chatGptMsgModel = list.get(0);
chatGptMsgModel.setUuid(param.getUuid());
}
System.gc();//手动回收垃圾
return R.data(list);
}
@ApiOperationSupport(order = 4)
@PostMapping({"/message/last"})
@ApiOperation(value = "获取我的最新消息", notes = "获取我的历史消息")
public R getMessageLastList(@RequestBody MessageHistoryParam param) {
Long startNum = param.getStartNum();
if (Func.isEmpty(startNum)) {
return R.fail("参数为空");
}
String modelType = param.getModelType();
if (Func.isEmpty(modelType)) {
modelType = "0";
}
String type = param.getType();
String chatListId = param.getChatListId();
List<Map<String, Object>> dataList = webService.getMessageLastList(startNum, modelType,type,chatListId);
return R.data(dataList);
}
/**
* 第一个动作,微信勾选后存到数据库chat_log_share_message表中
*
* @param param
* @return
*/
@ApiOperationSupport(order = 5)
@PostMapping({"/message/history"})
@ApiOperation(value = "获取我的历史消息", notes = "获取我的历史消息")
public R getMessageHistoryList(@RequestBody MessageHistoryParam param) {
Long startNum = param.getStartNum();
String modelType = param.getModelType();
String chatListId = param.getChatListId();
String type = param.getType();
if (Func.isEmpty(modelType)) {
modelType = "0";
}
IPage<Object> page = Condition.getPage(param);
IPage<Map<String, Object>> pages = webService.getMessageHistoryList(startNum, modelType, page, chatListId,type);
return R.data(pages);
}
@ApiOperationSupport(order = 6)
@PostMapping({"/update/wuserInfo"})
@ApiOperation(value = "修改用户信息", notes = "修改用户信息")
public R updateWuserInfo(@RequestBody WuserInfoUpdateParam param) {
String wxName = param.getWxName();
String wxAvatar = param.getWxAvatar();
String phone = param.getPhone();
String sign = param.getSign();
if (Func.isEmpty(wxName) && Func.isEmpty(wxAvatar) && Func.isEmpty(phone) && Func.isEmpty(sign)) {
return R.fail("参数不允许为空");
}
String wxuserId = webService.getWxuserId();
Map<String, Object> updateMap = new HashMap<>();
if (Func.isNotEmpty(wxName)) {
updateMap.put("wx_name", wxName);
WxUserInfoModel oldWxUsrInfo = webService.getWxUsrInfo();
String oldWxName = oldWxUsrInfo.getWxName();
if (Func.isEmpty(oldWxName) || !Func.equals(oldWxName, wxName)) {//名称已改变
updateMap.put("poster_url", "");//需要重新生成海报
}
}
if (Func.isNotEmpty(wxAvatar)) {
updateMap.put("wx_avatar", wxAvatar);
}
if (Func.isNotEmpty(phone)) {
if(phone.length()!=11){
return R.fail("请检查手机号");
}
String code = param.getCode();
String redisKeySms = "SMS_PHONE:" + phone;
if (!redisUtil.hasKey(redisKeySms)) {
return R.fail("验证码已过期");
}
String redisCode = (String) redisUtil.get(redisKeySms);
if (!Func.equals(code, redisCode)) {
return R.fail("验证码不正确");
}
redisUtil.del(redisKeySms);
updateMap.put("phone", phone);
}
if (Func.isNotEmpty(sign)) {
updateMap.put("sign",sign);
}
baseSqlService.baseUpdateData("chat_wxuser", updateMap, wxuserId);
WxUserInfoModel wxUsrInfo = webService.getWxUsrInfo();
return R.data(wxUsrInfo);
}
@ApiOperation("获取我的下级用户")
@ApiOperationSupport(order = 9)
@PostMapping(value = "/get/subWxUser")
public R getSubWxUser(@RequestBody WebQueryParam param) {
String wxuserId = param.getWxuserId();
if (Func.isEmpty(wxuserId)) {
//如果传参过来有wxuserId则使用传参的,如果没有就使用下面的
wxuserId = webService.getWxuserId();
}
IPage<Object> page = Condition.getPage(param);//这里的作用主要就是传入了当前页码和页数,然后返回一个page对象
IPage<Map<String, Object>> pages = webService.getSubCouList(wxuserId, page);
//数据脱敏
List<Map<String, Object>> dataMapList = pages.getRecords();
if (Func.isNotEmpty(dataMapList)) {
for (Map<String, Object> dataMap : dataMapList) {
String wxName = MjkjUtils.getMap2Str(dataMap, "wx_name");
String cou = MjkjUtils.getMap2Str(dataMap, "cou");
wxName = MjkjUtils.desensitizeStr(wxName, "匿名用户");
dataMap.put("wx_name", wxName);
dataMap.put("view_sub_member", cou);//下级
}
}
return R.data(pages);
}
@ApiOperation("翻译")
@ApiOperationSupport(order = 10)
@PostMapping(value = "/translate")
public R translate(String messageId, @RequestBody TargetLangModel paramModel) {
if (Func.isEmpty(messageId)) {
return R.fail("翻译失败");
}
Date now = DateUtil.now();
String wxuserId = webService.getWxuserId();
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("is_deleted", 0);
wrapper.eq("wxuser_id", wxuserId);
wrapper.eq("id", messageId);
wrapper.select("message_content");
Map<String, Object> messageMap = baseSqlService.getDataOneByFieldParams("chat_log_message", wrapper);
if (Func.isEmpty(messageMap)) {
return R.data("翻译失败");
}
String messageContent = MjkjUtils.getMap2Str(messageMap, "message_content");
if (Func.isEmpty(messageContent)) {
return R.data("翻译失败");
}
//获取个人设置
String targetLang = paramModel.getTargetLang();
if (Func.isEmpty(targetLang)) {
targetLang = "英文";
}
//先从数据库里面获取,没有的话,则到ai那边获取
QueryWrapper<Object> translateWrapper = new QueryWrapper<>();
translateWrapper.eq("is_deleted", 0);
translateWrapper.eq("wxuser_id", wxuserId);
translateWrapper.eq("target_lang", targetLang);
translateWrapper.eq("log_message_id", messageId);
Map<String, Object> translateMap = baseSqlService.getDataOneByFieldParams("chat_log_translate", translateWrapper);
if (Func.isNotEmpty(translateMap)) {//存在缓存
translateMap.remove("translate_before");
return R.data(translateMap);
}
List<MessageModel> messagesList = new ArrayList<>();
MessageModel model0 = new MessageModel();
model0.setRole(MessageModelRoleType.SYSTEM);
model0.setContent("角色扮演,你现在是翻译大师,我需要你协助我完成如下工作。");
messagesList.add(model0);//封装参数
MessageModel model = new MessageModel();
model.setRole(MessageModelRoleType.USER);
model.setContent(messageContent);
messagesList.add(model);//封装参数
MessageModel model2 = new MessageModel();
model2.setRole(MessageModelRoleType.USER);
model2.setContent("将上面一段话翻译成:" + targetLang);
messagesList.add(model2);//封装参数
//开始翻译,实时,不走异步
String result = chatGPTService.sendNowTimeChatGptTurboMessage(messagesList, AiModelConstant.gpt_3_0);
//插入到数据库
if (Func.isNotEmpty(result)) {
Map<String, Object> logMap = new HashMap<>();
logMap.put("wxuser_id", wxuserId);
logMap.put("target_lang", targetLang);//目标语言
logMap.put("log_message_id", messageId);
logMap.put("translate_before", messageContent);
logMap.put("translate_after", result);
logMap.put("translate_time", now);
baseSqlService.baseInsertData("chat_log_translate", logMap);
return R.data(logMap);
}
return R.fail("翻译失败");
}
@ApiOperation("点赞热门消息(新版本丢弃)")
@ApiOperationSupport(order = 10)
@PostMapping(value = "/hot/saveStar")
public R hotSaveStar(String messageId) {
if (Func.isEmpty(messageId)) {
return R.fail("点赞失败");
}
String wxuserId = webService.getWxuserId();
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("is_deleted", 0);
wrapper.eq("wxuser_id", wxuserId);
wrapper.eq("log_message_id", messageId);
Map<String, Object> messageMap = baseSqlService.getDataOneByFieldParams("chat_hot_message_star", wrapper);
if (Func.isNotEmpty(messageMap)) {
return R.data("成功");
}
Map<String, Object> addMap = new HashMap<>();
addMap.put("log_message_id", messageId);
addMap.put("wxuser_id", wxuserId);
addMap.put("star_time", DateUtil.now());
baseSqlService.baseInsertData("chat_hot_message_star", addMap);
return R.data("成功");
}
@ApiOperationSupport(order = 12)
@GetMapping({"/getWxUserSetting"})
@ApiOperation(value = "获取用户自定义设置", notes = "获取用户自定义设置")
public R getWxUserSetting() {
String wxuserId = webService.getWxuserId();
Long userId = AuthUtil.getUserId();
//获取个人设置
Map<String, Object> settingMap = baseSqlService.getDataOneByField("chat_wxuser_setting", "wxuser_id", wxuserId);
String aiModel = ChatgptConfig.getChatgptModel();
String imageModel = ChatgptConfig.getImageModel();
if (Func.isEmpty(settingMap)) {
settingMap = new HashMap<>();
settingMap.put("id", IdWorker.getIdStr());
settingMap.put("wxuser_id", wxuserId);
settingMap.put("blade_user_id", userId);
settingMap.put("translate_lang", "中文");
settingMap.put("ai_model",aiModel);
settingMap.put("image_model",imageModel);
baseSqlService.baseInsertData("chat_wxuser_setting", settingMap);
}
QueryWrapper<Object> queryWrapper = new QueryWrapper<>();
queryWrapper.select("mx_lx");
queryWrapper.ne("model_status",1);
List<Map<String,Object>> modellist = baseSqlService.getDataListByFieldParams("chat_model", queryWrapper);
for (Map<String, Object> map : modellist) {
String mxLx = MjkjUtils.getMap2Str(map, "mx_lx");
if (Func.equals(mxLx,MjkjUtils.getMap2Str(settingMap, "ai_model"))){
settingMap.replace("ai_model",aiModel);
Map<String,Object> updateMap = new HashMap<>();
updateMap.put("ai_model",aiModel);
baseSqlService.baseUpdateDataWhere("chat_wxuser_setting", updateMap, "wxuser_id", wxuserId);
}
if (Func.equals(mxLx,MjkjUtils.getMap2Str(settingMap, "image_model"))){
settingMap.replace("image_model",imageModel);
Map<String,Object> updateMap = new HashMap<>();
updateMap.put("image_model",imageModel);
baseSqlService.baseUpdateDataWhere("chat_wxuser_setting", updateMap, "wxuser_id", wxuserId);
}
}
Integer chatRl = webService.judgeModel(MjkjUtils.getMap2Str(settingMap, "ai_model"));
Integer imageRl = webService.judgeModel(MjkjUtils.getMap2Str(settingMap, "image_model"));
settingMap.put("chatUseRl",chatRl>0?1:0);
settingMap.put("imageUseRl",imageRl>0?1:0);
return R.data(settingMap);
}
@ApiOperationSupport(order = 13)
@PostMapping({"/update/wuserSetting"})
@ApiOperation(value = "修改用户自定义设置", notes = "修改用户信息")
public R updateWuserSetting(@RequestBody WuserInfoUpdateParam param) {
String translateLang = param.getTranslateLang();//默认翻译语言
String withdrawalQrcode = param.getWithdrawalQrcode();
String aiModel = param.getAiModel();
String imgaeModel = param.getImageModel();
if (Func.isEmpty(translateLang) && Func.isEmpty(withdrawalQrcode) && Func.isEmpty(aiModel) && Func.isEmpty(imgaeModel)) {
return R.fail("参数不允许为空");
}
String wxuserId = webService.getWxuserId();
Map<String, Object> updateMap = new HashMap<>();
if (Func.isNotEmpty(translateLang)) {
updateMap.put("translate_lang", translateLang);
}
if (Func.isNotEmpty(withdrawalQrcode)) {
updateMap.put("withdrawal_qrcode", withdrawalQrcode);
}
if(Func.isNotEmpty(aiModel)) {
updateMap.put("ai_model", aiModel);
}
if(Func.isNotEmpty(imgaeModel)) {
updateMap.put("image_model", imgaeModel );
}
baseSqlService.baseUpdateDataWhere("chat_wxuser_setting", updateMap, "wxuser_id", wxuserId);
WxUserInfoModel wxUsrInfo = webService.getWxUsrInfo();
return R.data(wxUsrInfo);
}
@ApiOperationSupport(order = 14)
@PostMapping({"/send/moreFun"})
@ApiOperation(value = "发送更多好玩", notes = "发送更多好玩")
public R sendMoreFun(@RequestBody MoreFunParam param) {
String systemTitle = param.getSystemTitle();
String content = param.getContent();
if (Func.isEmpty(systemTitle)) {
return R.fail("参数有误");
}
if (Func.isEmpty(content)) {
return R.fail("内容为空");
}
String wxuserId = webService.getWxuserId();
//判断是否是手机端 手机端没有做聊天列表给他设置默认聊天id
//校验次数-------开始----------
WxUserInfoModel wxUsrInfo = webService.getWxUsrInfo();
boolean memberFlag = wxUsrInfo.isMemberFlag();
Integer rlCou =wxUsrInfo.getRl_cou();
Integer useNum=0;
if (!memberFlag ) {//当前不是会员 有开启消耗次数
useNum = webService.getOneQuestionUseNum();//一次消耗多少次
Integer wuserQuestionCou = webService.getWuserQuestionCou(AuthUtil.getUserId(),"question");//用户总次数
if (useNum.intValue() > wuserQuestionCou.intValue() && rlCou==0 ) {
return R.fail("可提问积分不足");
}
}
if(Func.equals(param.getType(),"pc")&&Func.isEmpty(param.getChat_list_id())){
QueryWrapper<Object> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("fundata_id",param.getFunFataId());
queryWrapper.eq("is_deleted",0);
queryWrapper.eq("wxuser_id",wxuserId);
Map<String, Object> chatList = baseSqlService.getDataOneByFieldParams("chat_list", queryWrapper);
if (Func.isEmpty(chatList)){
param.setChat_list_id(IdWorker.getIdStr());
Map<String, Object> chatGjglFunData = baseSqlService.getTableById("chat_gjgl_fun_data", param.getFunFataId());
String funJson = MjkjUtils.getMap2Str(chatGjglFunData, "fun_json");
String funName = MjkjUtils.getMap2Str(chatGjglFunData, "fun_name");
Date now = DateUtil.now();
String dateNow = DateUtil.format(now, "yyyy-MM-dd");
webService.createNewChatList(Func.toLong(param.getChat_list_id()),"tools",dateNow+" "+funName,param.getContent(),param.getFunFataId(),funJson);
}else {
Map<String,Object> updateMap = new HashMap<>();
updateMap.put("chat_content",param.getContent());
baseSqlService.baseUpdateData("chat_list",updateMap,MjkjUtils.getMap2Str(chatList,"id"));
}
}
//校验次数-------结束----------
Long userId = AuthUtil.getUserId();
webService.sendMoreFun(wxuserId, userId, useNum, param);
return R.data("成功");
}
@ApiOperationSupport(order = 15)
@GetMapping({"/get/lastMoreFunLog"})
@ApiOperation(value = "获取上一次更多的好玩记录", notes = "获取上一次更多的好玩")
public R getLastMoreFunLog(String funFataId) {
String wxuserId = webService.getWxuserId();
String redisKey = MjkjUtils.getRedisKeyMoreFun(wxuserId, funFataId);
if (redisUtil.hasKey(redisKey)) {
QueryWrapper<Object> qw = new QueryWrapper<>();
qw.eq("fun_data_id",funFataId);
qw.eq("wxuser_id",wxuserId);
qw.isNotNull("message_a");
qw.orderByDesc("id");
qw.eq("is_deleted",0);
qw.last("limit 1");
Map<String, Object> chatMessageFun = baseSqlService.getDataOneByFieldParams("chat_log_message_fun", qw);
return R.data(chatMessageFun);
}
return R.data(null);
}
@ApiOperationSupport(order = 16)
@PostMapping({"/sign"})
@ApiOperation(value = "签到", notes = "签到")
public R sign() {
Long userId = AuthUtil.getUserId();
Date now = DateUtil.now();
String redisKeySign = MjkjUtils.getRedisKeySign(userId, now);
if (redisUtil.hasKey(redisKeySign)) {
return R.fail("签到失败,您今天已经签到过了");
}
String wxuserId = webService.getWxuserId();
webService.sign(wxuserId, now);
return R.data("成功");
}
@ApiOperationSupport(order = 17)
@GetMapping({"/get/signCou"})
@ApiOperation(value = "获取我的签到总数", notes = "获取我的签到总数")
public R bladeUserId() {
Map<String, Object> resultMap = new HashMap<>();
Long userId = AuthUtil.getUserId();
List<String> dateWeek = MjkjUtils.getDateWeek();
int week = 0;
//最近一周
for (String yyyyMMdd : dateWeek) {
week++;
String redisKey = "WXUSER:SIGN:" + userId + ":yyyyMMdd_" + yyyyMMdd;
int cou = 0;
if (redisUtil.hasKey(redisKey)) {
cou = 1;
}
resultMap.put("week" + week, cou);
}
//获取总数
String wxuserId = webService.getWxuserId();
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("is_deleted", 0);
wrapper.eq("wxuser_id", wxuserId);
wrapper.select("count(id) as cou");
Map<String, Object> signMap = baseSqlService.getDataOneByFieldParams("chat_log_sign", wrapper);
String cou = MjkjUtils.getMap2Str(signMap, "cou");
if (Func.isEmpty(cou)) {
cou = "0";
}
resultMap.put("cou", cou);
return R.data(resultMap);
}
@ApiOperationSupport(order = 26)
@GetMapping(value = "/store")
@ApiOperation(value = "收藏", notes = "收藏")
public R store(String messageId,String type){
String store = webService.chatStore(messageId,type);
return R.data(store);
}
@ApiOperationSupport(order = 27)
@PostMapping(value = "/store/list")
@ApiOperation(value = "收藏列表", notes ="收藏列表")
public R storelist(@RequestBody MessageHistoryParam param) {
IPage<Object> page = Condition.getPage(param);
IPage<Map<String, Object>> pages = webService.getStoreMessage( page);
return R.data(pages);
}
@ApiOperationSupport(order = 28)
@PostMapping(value = "/get/chat")
@ApiOperation(value = "获取聊天列表", notes ="获取聊天列表")
public R getChatList(@RequestBody Query param) {
IPage<Object> page = Condition.getPage(param);
IPage<Map<String, Object>> pages = webService.getChatList(page);
return R.data(pages);
}
@ApiOperationSupport(order = 29)
@GetMapping(value = "/delete/chat")
@ApiOperation(value = "删除聊天列表" , notes = "删除聊天列表")
public R deleteChat(String chatListId){
if (Func.isEmpty(chatListId)){
return R.data("聊天列表id为空");
}
Map<String, Object> chatList = baseSqlService.getTableById("chat_list", chatListId);
baseSqlService.baseDeleteSqlStr("chat_list",chatListId);
String chatType = MjkjUtils.getMap2Str(chatList, "chat_type");
if(Func.equals(chatType,"chat")){
QueryWrapper<Object> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("chat_list_id",chatListId);
List<Map<String, Object>> messages = baseSqlService.getDataListByFieldParams("chat_log_message", queryWrapper);
//批量删除
for (Map<String, Object> dataMap : messages) {
String id = MjkjUtils.getMap2Str(dataMap, "id");
baseSqlService.baseDeleteSqlStr("chat_log_message", id);
Map<String,Object> updateMap = new HashMap<>();
updateMap.put("is_deleted",-1);
baseSqlService.baseUpdateDataWhere("chat_store",updateMap,"message_id",id);
}
}
if(Func.equals(chatType,"tools")){
String wxuserId = webService.getWxuserId();
QueryWrapper<Object> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("chat_list_id",chatListId);
List<Map<String, Object>> messages = baseSqlService.getDataListByFieldParams("chat_log_message_fun", queryWrapper);
for (Map<String, Object> dataMap : messages) {
String id = MjkjUtils.getMap2Str(dataMap, "id");
String funFataId = MjkjUtils.getMap2Str(dataMap,"fun_data_id");
baseSqlService.baseDeleteSqlStr("chat_log_message_fun", id);
String redisKey = MjkjUtils.getRedisKeyMoreFun(wxuserId, funFataId);
redisUtil.del(redisKey);
Map<String,Object> updateMap = new HashMap<>();
updateMap.put("is_deleted",-1);
baseSqlService.baseUpdateDataWhere("chat_store",updateMap,"message_id",id);
}
}
return R.success("删除聊天列表成功");
}
@ApiOperationSupport(order = 32)
@GetMapping(value = "/delete/allchatList")
@ApiOperation(value = "清空聊天列表",notes = "清空聊天列表")
public R deleteAllChatlist(){
String wxuserId = webService.getWxuserId();
Map<String,Object> updateMap = new HashMap<>();
updateMap.put("is_deleted",-1);
baseSqlService.baseUpdateDataWhere("chat_log_message",updateMap,"wxuser_id",wxuserId);
Map<String,Object> updateMap2 = new HashMap<>();
updateMap2.put("is_deleted",-1);
baseSqlService.baseUpdateDataWhere("chat_log_message_fun",updateMap2,"wxuser_id",wxuserId);
Map<String,Object> updateMap3 = new HashMap<>();
updateMap3.put("is_deleted",-1);
baseSqlService.baseUpdateDataWhere("chat_list",updateMap3,"wxuser_id",wxuserId);
Map<String,Object> updateMap4 = new HashMap<>();
updateMap4.put("is_deleted",-1);
baseSqlService.baseUpdateDataWhere("chat_store",updateMap4,"wxuser_id",wxuserId);
return R.success("清空聊天列表成功");
}
@ApiOperationSupport(order = 33)
@PostMapping(value = "/get/creditList")
@ApiOperation(value = "积分列表",notes = "积分列表")
public R creditList(@RequestBody CreditListParam creditListParam){
String type = creditListParam.getType();
IPage<Object> page = Condition.getPage(creditListParam);
if (Func.equals("sub",type)){
IPage<Map<String, Object>> creditList = webService.getSubCreditList(page);
return R.data(creditList);
}else if(Func.equals("add",type)){
IPage<Map<String, Object>> creditList = webService.getAddCreditList(page);
return R.data(creditList);
}else{
IPage<Map<String, Object>> creditList = webService.getCreditList(page);
return R.data(creditList);
}
}
@ApiOperationSupport(order = 37)
@PostMapping(value = "/get/invited")
@ApiOperation(value = "展示已经邀请的人数",notes = "展示已经邀请的人数")
public R getInvited(@RequestBody Query query){
IPage<Object> page = Condition.getPage(query);
IPage<Map<String, Object>> invitedUsers = webService.getInvitedUsers(page);
return R.data(invitedUsers);
}
@ApiOperationSupport(order = 38)
@PostMapping(value = "/get/funhistory" )
@ApiOperation(value = "获取工具历史记录",notes = "获取工具历史记录")
public R getFunHistory(@RequestBody FunHistoryParam param){
String funDataId = param.getFunDataId();
IPage<Object> page = Condition.getPage(param);
IPage<Map<String,Object>> funHistory = webService.getFunHistory(page,funDataId);
return R.data(funHistory);
}
@ApiOperationSupport(order = 40)
@GetMapping(value = "/get/inviteurl" )
@ApiOperation(value = "获取邀请链接",notes = "获取邀请链接")
public R getInviteUrl(){
WxUserInfoModel wxUsrInfo = webService.getWxUsrInfo();
String inviteCode = wxUsrInfo.getInviteCode();
Map<String, Object> shareData = baseSqlService.getDataOneByField("chat_share_data","is_deleted",0);
String url = MjkjUtils.getMap2Str(shareData, "url");
String content = MjkjUtils.getMap2Str(shareData,"content");
url =content+" "+ url+"?invite_code="+inviteCode;
return R.success(url);
}
}
|
274056675/springboot-openai-chatgpt | 3,162 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/controller/MngController.java | /*
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the dreamlu.net developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: Chill 庄骞 (smallchill@163.com)
*/
package org.springblade.modules.mjkj.controller;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.Func;
import org.springblade.modules.mjkj.common.cgform.service.IMjkjBaseSqlService;
import org.springblade.modules.mjkj.param.mng.MngMemberParam;
import org.springblade.modules.mjkj.param.mng.MngQuestionCouParam;
import org.springblade.modules.mjkj.service.IMngService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
import java.util.Map;
@Slf4j
@RestController
@AllArgsConstructor
@RequestMapping("mjkj-chat/chat/mng")
@Api(value = "超级AI智能助手开放接口", tags = "超级AI智能助手开放接口")
public class MngController {
@Autowired
private IMjkjBaseSqlService baseSqlService;
@Autowired
private IMngService mngService;
@ApiOperationSupport(order = 1)
@PostMapping({"/update/questionCou"})
@ApiOperation(value = "更新可提问问题次数", notes = "更新可提问问题次数")
public R updateQuestionCou(@RequestBody MngQuestionCouParam param) {
List<String> ids = param.getIds();
if(Func.isEmpty(ids)){
return R.fail("请勾选要更改的用户");
}
Integer num = param.getNum();
if(num<0){
return R.fail("次数不允许小于0");
}
mngService.updateQuestionCou(param);
return R.data("成功");
}
@ApiOperationSupport(order = 2)
@PostMapping({"/add/goodsOrder"})
@ApiOperation(value = "人工充值会员", notes = "人工充值会员")
public R addGoodsOrder(@RequestBody MngMemberParam param) {
String phone = param.getPhone();
QueryWrapper<Object> wxuserWrapper=new QueryWrapper<>();
wxuserWrapper.eq("phone",phone);
wxuserWrapper.eq("is_deleted",0);
Map<String, Object> wxuserMap = baseSqlService.getDataOneByFieldParams("chat_wxuser", wxuserWrapper);
if(Func.isEmpty(wxuserMap)){
return R.fail("用户不存在");
}
mngService.addGoodsOrder(wxuserMap,param);
return R.data("成功");
}
}
|
274056675/springboot-openai-chatgpt | 2,005 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/model/Poster.java | package org.springblade.modules.mjkj.model;
import lombok.Data;
import java.awt.*;
import java.io.Serializable;
@Data
public class Poster implements Serializable {
private int width;//海报的宽(像素为单位)
private int height;//海报的高
//头像
private String avatarUrl;//头像url
private int avatarX;//头像左上角横坐标
private int avatarY;//头像左上角纵坐标
private int avatarWidth;//头像宽
private int avatarHeight;//头像高
private boolean isCircle;//是否圆形头像
//名字
private String name;
private Font nameFont;
private Color nameColor;
private int nameX;
private int nameY;
//商品
private String goodsUrl;
private int goodsX;
private int goodsY;
private int goodsWidth;
private int goodsHeight;
//商品描述
private String desc;
private Font descFont;
private Color descColor;
private int descX;
private int descY;
//商品价格
private String price;
private Font priceFont;
private Color priceColor;
private int priceX;
private int priceY;
//测评结果标题
private String result;
private Font resultFont;
private Color resultColor;
private int resultX;
private int resultY;
//测评结果描述
private String result_content;
private Font result_contentFont;
private Color result_contentColor;
private int result_contentX;
private int result_contentY;
//小程序码
private String qrCodeUrl;
private int qrCodeX;
private int qrCodeY;
private int qrCodeWidth;
private int qrCodeHeight;
//空白
private String blankUrl;
private int blankX;
private int blankY;
private int blankWidth;
private int blankHeight;
//提示1
private String tip1;
private Font tip1Font;
private Color tip1Color;
private int tip1X;
private int tip1Y;
//提示2
private String tip2;
private Font tip2Font;
private Color tip2Color;
private int tip2X;
private int tip2Y;
//底部栏
private Color footerColor;
private int footerWidth;
private int footerHeight;
private int footerX;
private int footerY;
//底部栏提示字
private String footerTip;
private Font footerTipFont;
private Color footerTipColor;
private int footerTipX;
private int footerTipY;
}
|
233zzh/TitanDataOperationSystem | 19,314 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/flot/excanvas.min.js | if(!document.createElement("canvas").getContext){(function(){var ab=Math;var n=ab.round;var l=ab.sin;var A=ab.cos;var H=ab.abs;var N=ab.sqrt;var d=10;var f=d/2;var z=+navigator.userAgent.match(/MSIE ([\d.]+)?/)[1];function y(){return this.context_||(this.context_=new D(this))}var t=Array.prototype.slice;function g(j,m,p){var i=t.call(arguments,2);return function(){return j.apply(m,i.concat(t.call(arguments)))}}function af(i){return String(i).replace(/&/g,"&").replace(/"/g,""")}function Y(m,j,i){if(!m.namespaces[j]){m.namespaces.add(j,i,"#default#VML")}}function R(j){Y(j,"g_vml_","urn:schemas-microsoft-com:vml");Y(j,"g_o_","urn:schemas-microsoft-com:office:office");if(!j.styleSheets.ex_canvas_){var i=j.createStyleSheet();i.owningElement.id="ex_canvas_";i.cssText="canvas{display:inline-block;overflow:hidden;text-align:left;width:300px;height:150px}"}}R(document);var e={init:function(i){var j=i||document;j.createElement("canvas");j.attachEvent("onreadystatechange",g(this.init_,this,j))},init_:function(p){var m=p.getElementsByTagName("canvas");for(var j=0;j<m.length;j++){this.initElement(m[j])}},initElement:function(j){if(!j.getContext){j.getContext=y;R(j.ownerDocument);j.innerHTML="";j.attachEvent("onpropertychange",x);j.attachEvent("onresize",W);var i=j.attributes;if(i.width&&i.width.specified){j.style.width=i.width.nodeValue+"px"}else{j.width=j.clientWidth}if(i.height&&i.height.specified){j.style.height=i.height.nodeValue+"px"}else{j.height=j.clientHeight}}return j}};function x(j){var i=j.srcElement;switch(j.propertyName){case"width":i.getContext().clearRect();i.style.width=i.attributes.width.nodeValue+"px";i.firstChild.style.width=i.clientWidth+"px";break;case"height":i.getContext().clearRect();i.style.height=i.attributes.height.nodeValue+"px";i.firstChild.style.height=i.clientHeight+"px";break}}function W(j){var i=j.srcElement;if(i.firstChild){i.firstChild.style.width=i.clientWidth+"px";i.firstChild.style.height=i.clientHeight+"px"}}e.init();var k=[];for(var ae=0;ae<16;ae++){for(var ad=0;ad<16;ad++){k[ae*16+ad]=ae.toString(16)+ad.toString(16)}}function B(){return[[1,0,0],[0,1,0],[0,0,1]]}function J(p,m){var j=B();for(var i=0;i<3;i++){for(var ah=0;ah<3;ah++){var Z=0;for(var ag=0;ag<3;ag++){Z+=p[i][ag]*m[ag][ah]}j[i][ah]=Z}}return j}function v(j,i){i.fillStyle=j.fillStyle;i.lineCap=j.lineCap;i.lineJoin=j.lineJoin;i.lineWidth=j.lineWidth;i.miterLimit=j.miterLimit;i.shadowBlur=j.shadowBlur;i.shadowColor=j.shadowColor;i.shadowOffsetX=j.shadowOffsetX;i.shadowOffsetY=j.shadowOffsetY;i.strokeStyle=j.strokeStyle;i.globalAlpha=j.globalAlpha;i.font=j.font;i.textAlign=j.textAlign;i.textBaseline=j.textBaseline;i.arcScaleX_=j.arcScaleX_;i.arcScaleY_=j.arcScaleY_;i.lineScale_=j.lineScale_}var b={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgreen:"#006400",darkgrey:"#A9A9A9",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",grey:"#808080",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgreen:"#90EE90",lightgrey:"#D3D3D3",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",oldlace:"#FDF5E6",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",whitesmoke:"#F5F5F5",yellowgreen:"#9ACD32"};function M(j){var p=j.indexOf("(",3);var i=j.indexOf(")",p+1);var m=j.substring(p+1,i).split(",");if(m.length!=4||j.charAt(3)!="a"){m[3]=1}return m}function c(i){return parseFloat(i)/100}function r(j,m,i){return Math.min(i,Math.max(m,j))}function I(ag){var i,ai,aj,ah,ak,Z;ah=parseFloat(ag[0])/360%360;if(ah<0){ah++}ak=r(c(ag[1]),0,1);Z=r(c(ag[2]),0,1);if(ak==0){i=ai=aj=Z}else{var j=Z<0.5?Z*(1+ak):Z+ak-Z*ak;var m=2*Z-j;i=a(m,j,ah+1/3);ai=a(m,j,ah);aj=a(m,j,ah-1/3)}return"#"+k[Math.floor(i*255)]+k[Math.floor(ai*255)]+k[Math.floor(aj*255)]}function a(j,i,m){if(m<0){m++}if(m>1){m--}if(6*m<1){return j+(i-j)*6*m}else{if(2*m<1){return i}else{if(3*m<2){return j+(i-j)*(2/3-m)*6}else{return j}}}}var C={};function F(j){if(j in C){return C[j]}var ag,Z=1;j=String(j);if(j.charAt(0)=="#"){ag=j}else{if(/^rgb/.test(j)){var p=M(j);var ag="#",ah;for(var m=0;m<3;m++){if(p[m].indexOf("%")!=-1){ah=Math.floor(c(p[m])*255)}else{ah=+p[m]}ag+=k[r(ah,0,255)]}Z=+p[3]}else{if(/^hsl/.test(j)){var p=M(j);ag=I(p);Z=p[3]}else{ag=b[j]||j}}}return C[j]={color:ag,alpha:Z}}var o={style:"normal",variant:"normal",weight:"normal",size:10,family:"sans-serif"};var L={};function E(i){if(L[i]){return L[i]}var p=document.createElement("div");var m=p.style;try{m.font=i}catch(j){}return L[i]={style:m.fontStyle||o.style,variant:m.fontVariant||o.variant,weight:m.fontWeight||o.weight,size:m.fontSize||o.size,family:m.fontFamily||o.family}}function u(m,j){var i={};for(var ah in m){i[ah]=m[ah]}var ag=parseFloat(j.currentStyle.fontSize),Z=parseFloat(m.size);if(typeof m.size=="number"){i.size=m.size}else{if(m.size.indexOf("px")!=-1){i.size=Z}else{if(m.size.indexOf("em")!=-1){i.size=ag*Z}else{if(m.size.indexOf("%")!=-1){i.size=(ag/100)*Z}else{if(m.size.indexOf("pt")!=-1){i.size=Z/0.75}else{i.size=ag}}}}}i.size*=0.981;return i}function ac(i){return i.style+" "+i.variant+" "+i.weight+" "+i.size+"px "+i.family}var s={butt:"flat",round:"round"};function S(i){return s[i]||"square"}function D(i){this.m_=B();this.mStack_=[];this.aStack_=[];this.currentPath_=[];this.strokeStyle="#000";this.fillStyle="#000";this.lineWidth=1;this.lineJoin="miter";this.lineCap="butt";this.miterLimit=d*1;this.globalAlpha=1;this.font="10px sans-serif";this.textAlign="left";this.textBaseline="alphabetic";this.canvas=i;var m="width:"+i.clientWidth+"px;height:"+i.clientHeight+"px;overflow:hidden;position:absolute";var j=i.ownerDocument.createElement("div");j.style.cssText=m;i.appendChild(j);var p=j.cloneNode(false);p.style.backgroundColor="red";p.style.filter="alpha(opacity=0)";i.appendChild(p);this.element_=j;this.arcScaleX_=1;this.arcScaleY_=1;this.lineScale_=1}var q=D.prototype;q.clearRect=function(){if(this.textMeasureEl_){this.textMeasureEl_.removeNode(true);this.textMeasureEl_=null}this.element_.innerHTML=""};q.beginPath=function(){this.currentPath_=[]};q.moveTo=function(j,i){var m=V(this,j,i);this.currentPath_.push({type:"moveTo",x:m.x,y:m.y});this.currentX_=m.x;this.currentY_=m.y};q.lineTo=function(j,i){var m=V(this,j,i);this.currentPath_.push({type:"lineTo",x:m.x,y:m.y});this.currentX_=m.x;this.currentY_=m.y};q.bezierCurveTo=function(m,j,ak,aj,ai,ag){var i=V(this,ai,ag);var ah=V(this,m,j);var Z=V(this,ak,aj);K(this,ah,Z,i)};function K(i,Z,m,j){i.currentPath_.push({type:"bezierCurveTo",cp1x:Z.x,cp1y:Z.y,cp2x:m.x,cp2y:m.y,x:j.x,y:j.y});i.currentX_=j.x;i.currentY_=j.y}q.quadraticCurveTo=function(ai,m,j,i){var ah=V(this,ai,m);var ag=V(this,j,i);var aj={x:this.currentX_+2/3*(ah.x-this.currentX_),y:this.currentY_+2/3*(ah.y-this.currentY_)};var Z={x:aj.x+(ag.x-this.currentX_)/3,y:aj.y+(ag.y-this.currentY_)/3};K(this,aj,Z,ag)};q.arc=function(al,aj,ak,ag,j,m){ak*=d;var ap=m?"at":"wa";var am=al+A(ag)*ak-f;var ao=aj+l(ag)*ak-f;var i=al+A(j)*ak-f;var an=aj+l(j)*ak-f;if(am==i&&!m){am+=0.125}var Z=V(this,al,aj);var ai=V(this,am,ao);var ah=V(this,i,an);this.currentPath_.push({type:ap,x:Z.x,y:Z.y,radius:ak,xStart:ai.x,yStart:ai.y,xEnd:ah.x,yEnd:ah.y})};q.rect=function(m,j,i,p){this.moveTo(m,j);this.lineTo(m+i,j);this.lineTo(m+i,j+p);this.lineTo(m,j+p);this.closePath()};q.strokeRect=function(m,j,i,p){var Z=this.currentPath_;this.beginPath();this.moveTo(m,j);this.lineTo(m+i,j);this.lineTo(m+i,j+p);this.lineTo(m,j+p);this.closePath();this.stroke();this.currentPath_=Z};q.fillRect=function(m,j,i,p){var Z=this.currentPath_;this.beginPath();this.moveTo(m,j);this.lineTo(m+i,j);this.lineTo(m+i,j+p);this.lineTo(m,j+p);this.closePath();this.fill();this.currentPath_=Z};q.createLinearGradient=function(j,p,i,m){var Z=new U("gradient");Z.x0_=j;Z.y0_=p;Z.x1_=i;Z.y1_=m;return Z};q.createRadialGradient=function(p,ag,m,j,Z,i){var ah=new U("gradientradial");ah.x0_=p;ah.y0_=ag;ah.r0_=m;ah.x1_=j;ah.y1_=Z;ah.r1_=i;return ah};q.drawImage=function(aq,m){var aj,ah,al,ay,ao,am,at,aA;var ak=aq.runtimeStyle.width;var ap=aq.runtimeStyle.height;aq.runtimeStyle.width="auto";aq.runtimeStyle.height="auto";var ai=aq.width;var aw=aq.height;aq.runtimeStyle.width=ak;aq.runtimeStyle.height=ap;if(arguments.length==3){aj=arguments[1];ah=arguments[2];ao=am=0;at=al=ai;aA=ay=aw}else{if(arguments.length==5){aj=arguments[1];ah=arguments[2];al=arguments[3];ay=arguments[4];ao=am=0;at=ai;aA=aw}else{if(arguments.length==9){ao=arguments[1];am=arguments[2];at=arguments[3];aA=arguments[4];aj=arguments[5];ah=arguments[6];al=arguments[7];ay=arguments[8]}else{throw Error("Invalid number of arguments")}}}var az=V(this,aj,ah);var p=at/2;var j=aA/2;var ax=[];var i=10;var ag=10;ax.push(" <g_vml_:group",' coordsize="',d*i,",",d*ag,'"',' coordorigin="0,0"',' style="width:',i,"px;height:",ag,"px;position:absolute;");if(this.m_[0][0]!=1||this.m_[0][1]||this.m_[1][1]!=1||this.m_[1][0]){var Z=[];Z.push("M11=",this.m_[0][0],",","M12=",this.m_[1][0],",","M21=",this.m_[0][1],",","M22=",this.m_[1][1],",","Dx=",n(az.x/d),",","Dy=",n(az.y/d),"");var av=az;var au=V(this,aj+al,ah);var ar=V(this,aj,ah+ay);var an=V(this,aj+al,ah+ay);av.x=ab.max(av.x,au.x,ar.x,an.x);av.y=ab.max(av.y,au.y,ar.y,an.y);ax.push("padding:0 ",n(av.x/d),"px ",n(av.y/d),"px 0;filter:progid:DXImageTransform.Microsoft.Matrix(",Z.join(""),", sizingmethod='clip');")}else{ax.push("top:",n(az.y/d),"px;left:",n(az.x/d),"px;")}ax.push(' ">','<g_vml_:image src="',aq.src,'"',' style="width:',d*al,"px;"," height:",d*ay,'px"',' cropleft="',ao/ai,'"',' croptop="',am/aw,'"',' cropright="',(ai-ao-at)/ai,'"',' cropbottom="',(aw-am-aA)/aw,'"'," />","</g_vml_:group>");this.element_.insertAdjacentHTML("BeforeEnd",ax.join(""))};q.stroke=function(ao){var Z=10;var ap=10;var ag=5000;var ai={x:null,y:null};var an={x:null,y:null};for(var aj=0;aj<this.currentPath_.length;aj+=ag){var am=[];var ah=false;am.push("<g_vml_:shape",' filled="',!!ao,'"',' style="position:absolute;width:',Z,"px;height:",ap,'px;"',' coordorigin="0,0"',' coordsize="',d*Z,",",d*ap,'"',' stroked="',!ao,'"',' path="');var aq=false;for(var ak=aj;ak<Math.min(aj+ag,this.currentPath_.length);ak++){if(ak%ag==0&&ak>0){am.push(" m ",n(this.currentPath_[ak-1].x),",",n(this.currentPath_[ak-1].y))}var m=this.currentPath_[ak];var al;switch(m.type){case"moveTo":al=m;am.push(" m ",n(m.x),",",n(m.y));break;case"lineTo":am.push(" l ",n(m.x),",",n(m.y));break;case"close":am.push(" x ");m=null;break;case"bezierCurveTo":am.push(" c ",n(m.cp1x),",",n(m.cp1y),",",n(m.cp2x),",",n(m.cp2y),",",n(m.x),",",n(m.y));break;case"at":case"wa":am.push(" ",m.type," ",n(m.x-this.arcScaleX_*m.radius),",",n(m.y-this.arcScaleY_*m.radius)," ",n(m.x+this.arcScaleX_*m.radius),",",n(m.y+this.arcScaleY_*m.radius)," ",n(m.xStart),",",n(m.yStart)," ",n(m.xEnd),",",n(m.yEnd));break}if(m){if(ai.x==null||m.x<ai.x){ai.x=m.x}if(an.x==null||m.x>an.x){an.x=m.x}if(ai.y==null||m.y<ai.y){ai.y=m.y}if(an.y==null||m.y>an.y){an.y=m.y}}}am.push(' ">');if(!ao){w(this,am)}else{G(this,am,ai,an)}am.push("</g_vml_:shape>");this.element_.insertAdjacentHTML("beforeEnd",am.join(""))}};function w(m,ag){var j=F(m.strokeStyle);var p=j.color;var Z=j.alpha*m.globalAlpha;var i=m.lineScale_*m.lineWidth;if(i<1){Z*=i}ag.push("<g_vml_:stroke",' opacity="',Z,'"',' joinstyle="',m.lineJoin,'"',' miterlimit="',m.miterLimit,'"',' endcap="',S(m.lineCap),'"',' weight="',i,'px"',' color="',p,'" />')}function G(aq,ai,aK,ar){var aj=aq.fillStyle;var aB=aq.arcScaleX_;var aA=aq.arcScaleY_;var j=ar.x-aK.x;var p=ar.y-aK.y;if(aj instanceof U){var an=0;var aF={x:0,y:0};var ax=0;var am=1;if(aj.type_=="gradient"){var al=aj.x0_/aB;var m=aj.y0_/aA;var ak=aj.x1_/aB;var aM=aj.y1_/aA;var aJ=V(aq,al,m);var aI=V(aq,ak,aM);var ag=aI.x-aJ.x;var Z=aI.y-aJ.y;an=Math.atan2(ag,Z)*180/Math.PI;if(an<0){an+=360}if(an<0.000001){an=0}}else{var aJ=V(aq,aj.x0_,aj.y0_);aF={x:(aJ.x-aK.x)/j,y:(aJ.y-aK.y)/p};j/=aB*d;p/=aA*d;var aD=ab.max(j,p);ax=2*aj.r0_/aD;am=2*aj.r1_/aD-ax}var av=aj.colors_;av.sort(function(aN,i){return aN.offset-i.offset});var ap=av.length;var au=av[0].color;var at=av[ap-1].color;var az=av[0].alpha*aq.globalAlpha;var ay=av[ap-1].alpha*aq.globalAlpha;var aE=[];for(var aH=0;aH<ap;aH++){var ao=av[aH];aE.push(ao.offset*am+ax+" "+ao.color)}ai.push('<g_vml_:fill type="',aj.type_,'"',' method="none" focus="100%"',' color="',au,'"',' color2="',at,'"',' colors="',aE.join(","),'"',' opacity="',ay,'"',' g_o_:opacity2="',az,'"',' angle="',an,'"',' focusposition="',aF.x,",",aF.y,'" />')}else{if(aj instanceof T){if(j&&p){var ah=-aK.x;var aC=-aK.y;ai.push("<g_vml_:fill",' position="',ah/j*aB*aB,",",aC/p*aA*aA,'"',' type="tile"',' src="',aj.src_,'" />')}}else{var aL=F(aq.fillStyle);var aw=aL.color;var aG=aL.alpha*aq.globalAlpha;ai.push('<g_vml_:fill color="',aw,'" opacity="',aG,'" />')}}}q.fill=function(){this.stroke(true)};q.closePath=function(){this.currentPath_.push({type:"close"})};function V(j,Z,p){var i=j.m_;return{x:d*(Z*i[0][0]+p*i[1][0]+i[2][0])-f,y:d*(Z*i[0][1]+p*i[1][1]+i[2][1])-f}}q.save=function(){var i={};v(this,i);this.aStack_.push(i);this.mStack_.push(this.m_);this.m_=J(B(),this.m_)};q.restore=function(){if(this.aStack_.length){v(this.aStack_.pop(),this);this.m_=this.mStack_.pop()}};function h(i){return isFinite(i[0][0])&&isFinite(i[0][1])&&isFinite(i[1][0])&&isFinite(i[1][1])&&isFinite(i[2][0])&&isFinite(i[2][1])}function aa(j,i,p){if(!h(i)){return}j.m_=i;if(p){var Z=i[0][0]*i[1][1]-i[0][1]*i[1][0];j.lineScale_=N(H(Z))}}q.translate=function(m,j){var i=[[1,0,0],[0,1,0],[m,j,1]];aa(this,J(i,this.m_),false)};q.rotate=function(j){var p=A(j);var m=l(j);var i=[[p,m,0],[-m,p,0],[0,0,1]];aa(this,J(i,this.m_),false)};q.scale=function(m,j){this.arcScaleX_*=m;this.arcScaleY_*=j;var i=[[m,0,0],[0,j,0],[0,0,1]];aa(this,J(i,this.m_),true)};q.transform=function(Z,p,ah,ag,j,i){var m=[[Z,p,0],[ah,ag,0],[j,i,1]];aa(this,J(m,this.m_),true)};q.setTransform=function(ag,Z,ai,ah,p,j){var i=[[ag,Z,0],[ai,ah,0],[p,j,1]];aa(this,i,true)};q.drawText_=function(am,ak,aj,ap,ai){var ao=this.m_,at=1000,j=0,ar=at,ah={x:0,y:0},ag=[];var i=u(E(this.font),this.element_);var p=ac(i);var au=this.element_.currentStyle;var Z=this.textAlign.toLowerCase();switch(Z){case"left":case"center":case"right":break;case"end":Z=au.direction=="ltr"?"right":"left";break;case"start":Z=au.direction=="rtl"?"right":"left";break;default:Z="left"}switch(this.textBaseline){case"hanging":case"top":ah.y=i.size/1.75;break;case"middle":break;default:case null:case"alphabetic":case"ideographic":case"bottom":ah.y=-i.size/2.25;break}switch(Z){case"right":j=at;ar=0.05;break;case"center":j=ar=at/2;break}var aq=V(this,ak+ah.x,aj+ah.y);ag.push('<g_vml_:line from="',-j,' 0" to="',ar,' 0.05" ',' coordsize="100 100" coordorigin="0 0"',' filled="',!ai,'" stroked="',!!ai,'" style="position:absolute;width:1px;height:1px;">');if(ai){w(this,ag)}else{G(this,ag,{x:-j,y:0},{x:ar,y:i.size})}var an=ao[0][0].toFixed(3)+","+ao[1][0].toFixed(3)+","+ao[0][1].toFixed(3)+","+ao[1][1].toFixed(3)+",0,0";var al=n(aq.x/d)+","+n(aq.y/d);ag.push('<g_vml_:skew on="t" matrix="',an,'" ',' offset="',al,'" origin="',j,' 0" />','<g_vml_:path textpathok="true" />','<g_vml_:textpath on="true" string="',af(am),'" style="v-text-align:',Z,";font:",af(p),'" /></g_vml_:line>');this.element_.insertAdjacentHTML("beforeEnd",ag.join(""))};q.fillText=function(m,i,p,j){this.drawText_(m,i,p,j,false)};q.strokeText=function(m,i,p,j){this.drawText_(m,i,p,j,true)};q.measureText=function(m){if(!this.textMeasureEl_){var i='<span style="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;"></span>';this.element_.insertAdjacentHTML("beforeEnd",i);this.textMeasureEl_=this.element_.lastChild}var j=this.element_.ownerDocument;this.textMeasureEl_.innerHTML="";this.textMeasureEl_.style.font=this.font;this.textMeasureEl_.appendChild(j.createTextNode(m));return{width:this.textMeasureEl_.offsetWidth}};q.clip=function(){};q.arcTo=function(){};q.createPattern=function(j,i){return new T(j,i)};function U(i){this.type_=i;this.x0_=0;this.y0_=0;this.r0_=0;this.x1_=0;this.y1_=0;this.r1_=0;this.colors_=[]}U.prototype.addColorStop=function(j,i){i=F(i);this.colors_.push({offset:j,color:i.color,alpha:i.alpha})};function T(j,i){Q(j);switch(i){case"repeat":case null:case"":this.repetition_="repeat";break;case"repeat-x":case"repeat-y":case"no-repeat":this.repetition_=i;break;default:O("SYNTAX_ERR")}this.src_=j.src;this.width_=j.width;this.height_=j.height}function O(i){throw new P(i)}function Q(i){if(!i||i.nodeType!=1||i.tagName!="IMG"){O("TYPE_MISMATCH_ERR")}if(i.readyState!="complete"){O("INVALID_STATE_ERR")}}function P(i){this.code=this[i];this.message=i+": DOM Exception "+this.code}var X=P.prototype=new Error;X.INDEX_SIZE_ERR=1;X.DOMSTRING_SIZE_ERR=2;X.HIERARCHY_REQUEST_ERR=3;X.WRONG_DOCUMENT_ERR=4;X.INVALID_CHARACTER_ERR=5;X.NO_DATA_ALLOWED_ERR=6;X.NO_MODIFICATION_ALLOWED_ERR=7;X.NOT_FOUND_ERR=8;X.NOT_SUPPORTED_ERR=9;X.INUSE_ATTRIBUTE_ERR=10;X.INVALID_STATE_ERR=11;X.SYNTAX_ERR=12;X.INVALID_MODIFICATION_ERR=13;X.NAMESPACE_ERR=14;X.INVALID_ACCESS_ERR=15;X.VALIDATION_ERR=16;X.TYPE_MISMATCH_ERR=17;G_vmlCanvasManager=e;CanvasRenderingContext2D=D;CanvasGradient=U;CanvasPattern=T;DOMException=P})()}; |
274056675/springboot-openai-chatgpt | 1,158 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/model/WxUserInfoModel.java | package org.springblade.modules.mjkj.model;
import lombok.Data;
import java.util.Date;
/**
* 用户详情
*/
@Data
public class WxUserInfoModel {
private String id;//微信用户id
private Long bladeUserId;//用户id
private String wxName;//名称
private String wxName_Dim;//名称脱敏
private String wxAvatar;//头像
private String chatCode;//聊天号
private String openId;
private Integer messageCou;//消息次数,已用
private String leveTitler;//等级
private String viewModel;//消息显示模式
private Date expireTime;//到期时间
private String phone;//手机号码
private boolean memberFlag;//是否是会议
private Date lastChatTime;//最新聊天时间
private Date exprotMinDate;//最新聊天时间
private Integer questionCou;//问题次数 剩余可用
private String questionCouStr;//问题次数 剩余可用
private boolean buyFlag;//是否可以购买
private String inviteCode;//邀请码
private String posterUrl;//其他端海报地址
private String posterWxUrl;//微信海报地址
private Date stopSendTime;//禁言截至时间
private Integer viewRewardAdvertCou;//今天观看视频总次数
private String wxShareUrl;//微信专属连接
private String isAgent;//是否代理商
private String userCode;//用户好
private Integer rl_cou; //燃料次数
private Integer rl_used_cou; //燃料已使用次数
private String sign; //个性签名
}
|
233zzh/TitanDataOperationSystem | 14,216 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/flot/jquery.flot.navigate.js | /* Flot plugin for adding the ability to pan and zoom the plot.
Copyright (c) 2007-2014 IOLA and Ole Laursen.
Licensed under the MIT license.
The default behaviour is double click and scrollwheel up/down to zoom in, drag
to pan. The plugin defines plot.zoom({ center }), plot.zoomOut() and
plot.pan( offset ) so you easily can add custom controls. It also fires
"plotpan" and "plotzoom" events, useful for synchronizing plots.
The plugin supports these options:
zoom: {
interactive: false
trigger: "dblclick" // or "click" for single click
amount: 1.5 // 2 = 200% (zoom in), 0.5 = 50% (zoom out)
}
pan: {
interactive: false
cursor: "move" // CSS mouse cursor value used when dragging, e.g. "pointer"
frameRate: 20
}
xaxis, yaxis, x2axis, y2axis: {
zoomRange: null // or [ number, number ] (min range, max range) or false
panRange: null // or [ number, number ] (min, max) or false
}
"interactive" enables the built-in drag/click behaviour. If you enable
interactive for pan, then you'll have a basic plot that supports moving
around; the same for zoom.
"amount" specifies the default amount to zoom in (so 1.5 = 150%) relative to
the current viewport.
"cursor" is a standard CSS mouse cursor string used for visual feedback to the
user when dragging.
"frameRate" specifies the maximum number of times per second the plot will
update itself while the user is panning around on it (set to null to disable
intermediate pans, the plot will then not update until the mouse button is
released).
"zoomRange" is the interval in which zooming can happen, e.g. with zoomRange:
[1, 100] the zoom will never scale the axis so that the difference between min
and max is smaller than 1 or larger than 100. You can set either end to null
to ignore, e.g. [1, null]. If you set zoomRange to false, zooming on that axis
will be disabled.
"panRange" confines the panning to stay within a range, e.g. with panRange:
[-10, 20] panning stops at -10 in one end and at 20 in the other. Either can
be null, e.g. [-10, null]. If you set panRange to false, panning on that axis
will be disabled.
Example API usage:
plot = $.plot(...);
// zoom default amount in on the pixel ( 10, 20 )
plot.zoom({ center: { left: 10, top: 20 } });
// zoom out again
plot.zoomOut({ center: { left: 10, top: 20 } });
// zoom 200% in on the pixel (10, 20)
plot.zoom({ amount: 2, center: { left: 10, top: 20 } });
// pan 100 pixels to the left and 20 down
plot.pan({ left: -100, top: 20 })
Here, "center" specifies where the center of the zooming should happen. Note
that this is defined in pixel space, not the space of the data points (you can
use the p2c helpers on the axes in Flot to help you convert between these).
"amount" is the amount to zoom the viewport relative to the current range, so
1 is 100% (i.e. no change), 1.5 is 150% (zoom in), 0.7 is 70% (zoom out). You
can set the default in the options.
*/
// First two dependencies, jquery.event.drag.js and
// jquery.mousewheel.js, we put them inline here to save people the
// effort of downloading them.
/*
jquery.event.drag.js ~ v1.5 ~ Copyright (c) 2008, Three Dub Media (http://threedubmedia.com)
Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-LICENSE.txt
*/
(function(a){function e(h){var k,j=this,l=h.data||{};if(l.elem)j=h.dragTarget=l.elem,h.dragProxy=d.proxy||j,h.cursorOffsetX=l.pageX-l.left,h.cursorOffsetY=l.pageY-l.top,h.offsetX=h.pageX-h.cursorOffsetX,h.offsetY=h.pageY-h.cursorOffsetY;else if(d.dragging||l.which>0&&h.which!=l.which||a(h.target).is(l.not))return;switch(h.type){case"mousedown":return a.extend(l,a(j).offset(),{elem:j,target:h.target,pageX:h.pageX,pageY:h.pageY}),b.add(document,"mousemove mouseup",e,l),i(j,!1),d.dragging=null,!1;case!d.dragging&&"mousemove":if(g(h.pageX-l.pageX)+g(h.pageY-l.pageY)<l.distance)break;h.target=l.target,k=f(h,"dragstart",j),k!==!1&&(d.dragging=j,d.proxy=h.dragProxy=a(k||j)[0]);case"mousemove":if(d.dragging){if(k=f(h,"drag",j),c.drop&&(c.drop.allowed=k!==!1,c.drop.handler(h)),k!==!1)break;h.type="mouseup"}case"mouseup":b.remove(document,"mousemove mouseup",e),d.dragging&&(c.drop&&c.drop.handler(h),f(h,"dragend",j)),i(j,!0),d.dragging=d.proxy=l.elem=!1}return!0}function f(b,c,d){b.type=c;var e=a.event.dispatch.call(d,b);return e===!1?!1:e||b.result}function g(a){return Math.pow(a,2)}function h(){return d.dragging===!1}function i(a,b){a&&(a.unselectable=b?"off":"on",a.onselectstart=function(){return b},a.style&&(a.style.MozUserSelect=b?"":"none"))}a.fn.drag=function(a,b,c){return b&&this.bind("dragstart",a),c&&this.bind("dragend",c),a?this.bind("drag",b?b:a):this.trigger("drag")};var b=a.event,c=b.special,d=c.drag={not:":input",distance:0,which:1,dragging:!1,setup:function(c){c=a.extend({distance:d.distance,which:d.which,not:d.not},c||{}),c.distance=g(c.distance),b.add(this,"mousedown",e,c),this.attachEvent&&this.attachEvent("ondragstart",h)},teardown:function(){b.remove(this,"mousedown",e),this===d.dragging&&(d.dragging=d.proxy=!1),i(this,!0),this.detachEvent&&this.detachEvent("ondragstart",h)}};c.dragstart=c.dragend={setup:function(){},teardown:function(){}}})(jQuery);
/* jquery.mousewheel.min.js
* Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net)
* Licensed under the MIT License (LICENSE.txt).
* Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
* Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
* Thanks to: Seamus Leahy for adding deltaX and deltaY
*
* Version: 3.0.6
*
* Requires: 1.2.2+
*/
(function(d){function e(a){var b=a||window.event,c=[].slice.call(arguments,1),f=0,e=0,g=0,a=d.event.fix(b);a.type="mousewheel";b.wheelDelta&&(f=b.wheelDelta/120);b.detail&&(f=-b.detail/3);g=f;void 0!==b.axis&&b.axis===b.HORIZONTAL_AXIS&&(g=0,e=-1*f);void 0!==b.wheelDeltaY&&(g=b.wheelDeltaY/120);void 0!==b.wheelDeltaX&&(e=-1*b.wheelDeltaX/120);c.unshift(a,f,e,g);return(d.event.dispatch||d.event.handle).apply(this,c)}var c=["DOMMouseScroll","mousewheel"];if(d.event.fixHooks)for(var h=c.length;h;)d.event.fixHooks[c[--h]]=d.event.mouseHooks;d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=c.length;a;)this.addEventListener(c[--a],e,!1);else this.onmousewheel=e},teardown:function(){if(this.removeEventListener)for(var a=c.length;a;)this.removeEventListener(c[--a],e,!1);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);
(function ($) {
var options = {
xaxis: {
zoomRange: null, // or [number, number] (min range, max range)
panRange: null // or [number, number] (min, max)
},
zoom: {
interactive: false,
trigger: "dblclick", // or "click" for single click
amount: 1.5 // how much to zoom relative to current position, 2 = 200% (zoom in), 0.5 = 50% (zoom out)
},
pan: {
interactive: false,
cursor: "move",
frameRate: 20
}
};
function init(plot) {
function onZoomClick(e, zoomOut) {
var c = plot.offset();
c.left = e.pageX - c.left;
c.top = e.pageY - c.top;
if (zoomOut)
plot.zoomOut({ center: c });
else
plot.zoom({ center: c });
}
function onMouseWheel(e, delta) {
e.preventDefault();
onZoomClick(e, delta < 0);
return false;
}
var prevCursor = 'default', prevPageX = 0, prevPageY = 0,
panTimeout = null;
function onDragStart(e) {
if (e.which != 1) // only accept left-click
return false;
var c = plot.getPlaceholder().css('cursor');
if (c)
prevCursor = c;
plot.getPlaceholder().css('cursor', plot.getOptions().pan.cursor);
prevPageX = e.pageX;
prevPageY = e.pageY;
}
function onDrag(e) {
var frameRate = plot.getOptions().pan.frameRate;
if (panTimeout || !frameRate)
return;
panTimeout = setTimeout(function () {
plot.pan({ left: prevPageX - e.pageX,
top: prevPageY - e.pageY });
prevPageX = e.pageX;
prevPageY = e.pageY;
panTimeout = null;
}, 1 / frameRate * 1000);
}
function onDragEnd(e) {
if (panTimeout) {
clearTimeout(panTimeout);
panTimeout = null;
}
plot.getPlaceholder().css('cursor', prevCursor);
plot.pan({ left: prevPageX - e.pageX,
top: prevPageY - e.pageY });
}
function bindEvents(plot, eventHolder) {
var o = plot.getOptions();
if (o.zoom.interactive) {
eventHolder[o.zoom.trigger](onZoomClick);
eventHolder.mousewheel(onMouseWheel);
}
if (o.pan.interactive) {
eventHolder.bind("dragstart", { distance: 10 }, onDragStart);
eventHolder.bind("drag", onDrag);
eventHolder.bind("dragend", onDragEnd);
}
}
plot.zoomOut = function (args) {
if (!args)
args = {};
if (!args.amount)
args.amount = plot.getOptions().zoom.amount;
args.amount = 1 / args.amount;
plot.zoom(args);
};
plot.zoom = function (args) {
if (!args)
args = {};
var c = args.center,
amount = args.amount || plot.getOptions().zoom.amount,
w = plot.width(), h = plot.height();
if (!c)
c = { left: w / 2, top: h / 2 };
var xf = c.left / w,
yf = c.top / h,
minmax = {
x: {
min: c.left - xf * w / amount,
max: c.left + (1 - xf) * w / amount
},
y: {
min: c.top - yf * h / amount,
max: c.top + (1 - yf) * h / amount
}
};
$.each(plot.getAxes(), function(_, axis) {
var opts = axis.options,
min = minmax[axis.direction].min,
max = minmax[axis.direction].max,
zr = opts.zoomRange,
pr = opts.panRange;
if (zr === false) // no zooming on this axis
return;
min = axis.c2p(min);
max = axis.c2p(max);
if (min > max) {
// make sure min < max
var tmp = min;
min = max;
max = tmp;
}
//Check that we are in panRange
if (pr) {
if (pr[0] != null && min < pr[0]) {
min = pr[0];
}
if (pr[1] != null && max > pr[1]) {
max = pr[1];
}
}
var range = max - min;
if (zr &&
((zr[0] != null && range < zr[0] && amount >1) ||
(zr[1] != null && range > zr[1] && amount <1)))
return;
opts.min = min;
opts.max = max;
});
plot.setupGrid();
plot.draw();
if (!args.preventEvent)
plot.getPlaceholder().trigger("plotzoom", [ plot, args ]);
};
plot.pan = function (args) {
var delta = {
x: +args.left,
y: +args.top
};
if (isNaN(delta.x))
delta.x = 0;
if (isNaN(delta.y))
delta.y = 0;
$.each(plot.getAxes(), function (_, axis) {
var opts = axis.options,
min, max, d = delta[axis.direction];
min = axis.c2p(axis.p2c(axis.min) + d),
max = axis.c2p(axis.p2c(axis.max) + d);
var pr = opts.panRange;
if (pr === false) // no panning on this axis
return;
if (pr) {
// check whether we hit the wall
if (pr[0] != null && pr[0] > min) {
d = pr[0] - min;
min += d;
max += d;
}
if (pr[1] != null && pr[1] < max) {
d = pr[1] - max;
min += d;
max += d;
}
}
opts.min = min;
opts.max = max;
});
plot.setupGrid();
plot.draw();
if (!args.preventEvent)
plot.getPlaceholder().trigger("plotpan", [ plot, args ]);
};
function shutdown(plot, eventHolder) {
eventHolder.unbind(plot.getOptions().zoom.trigger, onZoomClick);
eventHolder.unbind("mousewheel", onMouseWheel);
eventHolder.unbind("dragstart", onDragStart);
eventHolder.unbind("drag", onDrag);
eventHolder.unbind("dragend", onDragEnd);
if (panTimeout)
clearTimeout(panTimeout);
}
plot.hooks.bindEvents.push(bindEvents);
plot.hooks.shutdown.push(shutdown);
}
$.plot.plugins.push({
init: init,
options: options,
name: 'navigate',
version: '1.3'
});
})(jQuery);
|
274056675/springboot-openai-chatgpt | 1,180 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/enhance/wxuser/WxUserListEnhance.java | package org.springblade.modules.mjkj.enhance.wxuser;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springblade.modules.mjkj.common.cgform.model.CgformEnhanceJavaListInter;
import org.springblade.modules.mjkj.common.config.exception.BusinessException;
import org.springblade.modules.mjkj.common.utils.MjkjUtils;
import org.springblade.modules.mjkj.mapper.MngMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;
/**
*用户列表
*
*/
@Component("wxUserListEnhance")
public class WxUserListEnhance implements CgformEnhanceJavaListInter {
@Autowired
private MngMapper mngMapper;
/**
* 人员数量 查询增强
* @param tableName
* @param list
*/
public void execute(String tableName, String tenantId, List<Map<String, Object>> list, Map<String, Object> params)
throws BusinessException {
MjkjUtils.clearList(list);
Page page = MjkjUtils.getPage(params);
IPage pages = mngMapper.getWxUserList(page, params);
MjkjUtils.setPageResult(params,pages);
}
}
|
274056675/springboot-openai-chatgpt | 1,744 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/enhance/statistics/TodayCountEnhance.java | package org.springblade.modules.mjkj.enhance.statistics;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springblade.core.tool.utils.DateUtil;
import org.springblade.core.tool.utils.Func;
import org.springblade.modules.mjkj.common.cgform.model.CgformEnhanceJavaListInter;
import org.springblade.modules.mjkj.common.config.exception.BusinessException;
import org.springblade.modules.mjkj.common.utils.MjkjUtils;
import org.springblade.modules.mjkj.mapper.MngMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.Date;
import java.util.List;
import java.util.Map;
/**
* 今日统计-往日数据
*/
@Component("todayCountEnhance")
public class TodayCountEnhance implements CgformEnhanceJavaListInter {
@Autowired
private MngMapper mngMapper;
/**
* 人员数量 查询增强
*
* @param tableName
* @param list
*/
public void execute(String tableName, String tenantId, List<Map<String, Object>> list, Map<String, Object> params)
throws BusinessException {
MjkjUtils.clearList(list);
Page page = MjkjUtils.getPage(params);
String view_time = MjkjUtils.getMap2Str(params, "view_time");
if(Func.isEmpty(view_time)){
Date now = DateUtil.now();
String yyyyMMdd = DateUtil.format(now, DateUtil.PATTERN_DATE);
params.put("view_time",yyyyMMdd);
}else{
String yyyyMMdd = view_time.substring(0, 10);
params.put("view_time",yyyyMMdd);
}
String column = MjkjUtils.getMap2Str(params, "column");
if(Func.equals(column,"id")){
params.put("column","yq_cou");
}
IPage pages = mngMapper.getTodayCountList(page, params);
MjkjUtils.setPageResult(params,pages);
}
}
|
274056675/springboot-openai-chatgpt | 4,662 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/enhance/statistics/MessageCountEnhance.java | package org.springblade.modules.mjkj.enhance.statistics;
import org.springblade.core.tool.utils.DateUtil;
import org.springblade.core.tool.utils.Func;
import org.springblade.modules.mjkj.common.cgform.model.CgformEnhanceJavaListInter;
import org.springblade.modules.mjkj.common.cgform.service.IMjkjBaseSqlService;
import org.springblade.modules.mjkj.common.config.exception.BusinessException;
import org.springblade.modules.mjkj.common.utils.MjkjUtils;
import org.springblade.modules.mjkj.mapper.MngMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.math.BigDecimal;
import java.util.*;
/**
* 消息统计
*/
@Component("messageCountEnhance")
public class MessageCountEnhance implements CgformEnhanceJavaListInter {
@Autowired
private MngMapper mngMapper;
@Autowired
private IMjkjBaseSqlService baseSqlService;
/**
* 人员数量 查询增强
*
* @param tableName
* @param list
*/
public void execute(String tableName, String tenantId, List<Map<String, Object>> list, Map<String, Object> params)
throws BusinessException {
MjkjUtils.clearList(list);
List<String> dateList = this.getNext30Day();
//使用次数
List<Map<String, Object>> messageCouList = mngMapper.getMessageCouList();
//使用人数
List<Map<String, Object>> registerCouList = mngMapper.getRegisterCouList();
//注册人数
List<Map<String, Object>> useWuserCouList = mngMapper.getUseWuserCouList();
//分享人数
List<Map<String, Object>> shareCouList = mngMapper.getShareCouList();
//签到次数
List<Map<String, Object>> signCouList = mngMapper.getSignCouList();
//文件下载数
List<Map<String, Object>> fileCouList = mngMapper.getFileCouList();
//获取收款总额
List<Map<String, Object>> orderMapList = baseSqlService.getDataListByField("chat_goods_order", "pay_status", "1");//已支付
Map<String, Object> payMap =new HashMap<>();
if(Func.isNotEmpty(orderMapList)){
for (Map<String, Object> orderMap:orderMapList){
try{
BigDecimal amount = MjkjUtils.getMap2BigD(orderMap, "amount");
Date orderTime = MjkjUtils.getMap2DateTime(orderMap, "order_time");
String timeStr = DateUtil.format(orderTime, DateUtil.PATTERN_DATE);
BigDecimal amountTmp = MjkjUtils.getMap2BigD(payMap, timeStr);
if(Func.isNotEmpty(amountTmp)){
amountTmp=amountTmp.add(amount);
}else{
amountTmp=amount;
}
payMap.put(timeStr,amountTmp);
}catch (Exception ignored){}
}
}
Map<String, Map<String, Object>> messageCouMap = MjkjUtils.list2Map(messageCouList, "timeStr");
Map<String, Map<String, Object>> registerCouMap = MjkjUtils.list2Map(registerCouList, "timeStr");
Map<String, Map<String, Object>> useWuserCouMap = MjkjUtils.list2Map(useWuserCouList, "timeStr");
Map<String, Map<String, Object>> shareCouMap = MjkjUtils.list2Map(shareCouList, "timeStr");
Map<String, Map<String, Object>> signCouMap = MjkjUtils.list2Map(signCouList, "timeStr");
Map<String, Map<String, Object>> fileCouMap = MjkjUtils.list2Map(fileCouList, "timeStr");
for (String dateStr : dateList) {
String twCou = MjkjUtils.getMap2Str(messageCouMap.get(dateStr), "cou");
String zcCou = MjkjUtils.getMap2Str(registerCouMap.get(dateStr), "cou");
String useCou = MjkjUtils.getMap2Str(useWuserCouMap.get(dateStr), "cou");
String fxCou = MjkjUtils.getMap2Str(shareCouMap.get(dateStr), "cou");
String qdCou = MjkjUtils.getMap2Str(signCouMap.get(dateStr), "cou");
String wjCou = MjkjUtils.getMap2Str(fileCouMap.get(dateStr), "cou");
BigDecimal amountCou = MjkjUtils.getMap2BigD(payMap, dateStr);
String amountCouStr=Func.isEmpty(amountCou)||amountCou.compareTo(BigDecimal.ZERO)!=1?"-":amountCou.setScale(2).stripTrailingZeros().toPlainString();
twCou= Func.isEmpty(twCou)?"-":twCou;
zcCou= Func.isEmpty(zcCou)?"-":zcCou;
useCou= Func.isEmpty(useCou)?"-":useCou;
fxCou= Func.isEmpty(fxCou)?"-":fxCou;
qdCou= Func.isEmpty(qdCou)?"-":qdCou;
wjCou= Func.isEmpty(wjCou)?"-":wjCou;
Map<String, Object> resultMap = new HashMap<>();
resultMap.put("time", dateStr);
resultMap.put("tw_cou", twCou);
resultMap.put("zc_cou", zcCou);
resultMap.put("use_cou", useCou);
resultMap.put("sk_cou",amountCouStr);
resultMap.put("fx_cou",fxCou);
resultMap.put("qd_cou",qdCou);
resultMap.put("wj_cou",wjCou);
list.add(resultMap);
}
}
//获取最近30天
private List<String> getNext30Day() {
Date now = DateUtil.now();
List<String> dateList = new ArrayList<>();
for (int i = 0; i < 30; i++) {
Date date = DateUtil.plusDays(now, -i);
String yyyyMMdd = DateUtil.format(date, DateUtil.PATTERN_DATE);
dateList.add(yyyyMMdd);
}
return dateList;
}
}
|
274056675/springboot-openai-chatgpt | 1,904 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/enhance/message/MessageListEnhance.java | package org.springblade.modules.mjkj.enhance.message;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springblade.core.tool.utils.Func;
import org.springblade.modules.mjkj.common.cgform.model.CgformEnhanceJavaListInter;
import org.springblade.modules.mjkj.common.config.exception.BusinessException;
import org.springblade.modules.mjkj.common.utils.MjkjUtils;
import org.springblade.modules.mjkj.mapper.MngMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;
/**
* 消息列表
*
*/
@Component("messageListEnhance")
public class MessageListEnhance implements CgformEnhanceJavaListInter {
@Autowired
private MngMapper mngMapper;
/**
* 人员数量 查询增强
* @param tableName
* @param list
*/
public void execute(String tableName, String tenantId, List<Map<String, Object>> list, Map<String, Object> params)
throws BusinessException {
MjkjUtils.clearList(list);
Page page = MjkjUtils.getPage(params);
IPage pages = mngMapper.getMessageHistoryList(page, params);
if(Func.isNotEmpty(pages)){
List<Map<String,Object>> dataMapList = pages.getRecords();
if(Func.isNotEmpty(dataMapList)){
for(Map<String,Object> dataMap:dataMapList){
try{
Date startTime = MjkjUtils.getMap2DateTime(dataMap, "message_time");
Date endTime = MjkjUtils.getMap2DateTime(dataMap, "answer_time");
Long useTime = endTime.getTime()-startTime.getTime();
BigDecimal divide = BigDecimal.valueOf(useTime).divide(BigDecimal.valueOf(1000));
dataMap.put("use_time",divide.stripTrailingZeros().toPlainString()+" 秒");
}catch (Exception e){
}
}
}
}
MjkjUtils.setPageResult(params,pages);
}
}
|
274056675/springboot-openai-chatgpt | 1,938 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/enhance/morefun/MessageMoreFunListEnhance.java | package org.springblade.modules.mjkj.enhance.morefun;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springblade.core.tool.utils.Func;
import org.springblade.modules.mjkj.common.cgform.model.CgformEnhanceJavaListInter;
import org.springblade.modules.mjkj.common.config.exception.BusinessException;
import org.springblade.modules.mjkj.common.utils.MjkjUtils;
import org.springblade.modules.mjkj.mapper.MngMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;
/**
* 更多好玩记录
*
*/
@Component("messageMoreFunListEnhance")
public class MessageMoreFunListEnhance implements CgformEnhanceJavaListInter {
@Autowired
private MngMapper mngMapper;
/**
* 人员数量 查询增强
* @param tableName
* @param list
*/
public void execute(String tableName, String tenantId, List<Map<String, Object>> list, Map<String, Object> params)
throws BusinessException {
MjkjUtils.clearList(list);
Page page = MjkjUtils.getPage(params);
IPage pages = mngMapper.getMessageMoreFunHistoryList(page, params);
if(Func.isNotEmpty(pages)){
List<Map<String,Object>> dataMapList = pages.getRecords();
if(Func.isNotEmpty(dataMapList)){
for(Map<String,Object> dataMap:dataMapList){
try{
Date startTime = MjkjUtils.getMap2DateTime(dataMap, "message_q_time");
Date endTime = MjkjUtils.getMap2DateTime(dataMap, "message_a_time");
Long useTime = endTime.getTime()-startTime.getTime();
BigDecimal divide = BigDecimal.valueOf(useTime).divide(BigDecimal.valueOf(1000));
dataMap.put("view_use_time",divide.stripTrailingZeros().toPlainString()+" 秒");
}catch (Exception e){
}
}
}
}
MjkjUtils.setPageResult(params,pages);
}
}
|
274056675/springboot-openai-chatgpt | 1,375 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/enhance/excel/ExcelMessageListEnhance.java | package org.springblade.modules.mjkj.enhance.excel;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springblade.core.secure.utils.AuthUtil;
import org.springblade.modules.mjkj.common.cgform.model.CgformEnhanceJavaListInter;
import org.springblade.modules.mjkj.common.config.exception.BusinessException;
import org.springblade.modules.mjkj.common.utils.MjkjUtils;
import org.springblade.modules.mjkj.mapper.MngMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;
/**
* 消息列表
*
*/
@Component("excelMessageListEnhance")
public class ExcelMessageListEnhance implements CgformEnhanceJavaListInter {
@Autowired
private MngMapper mngMapper;
/**
* 人员数量 查询增强
* @param tableName
* @param list
*/
public void execute(String tableName, String tenantId, List<Map<String, Object>> list, Map<String, Object> params)
throws BusinessException {
MjkjUtils.clearList(list);
Page<Map<String, Object>> page = new Page<>(1, -1);
Long bladeUserId = AuthUtil.getUserId();
params.put("blade_user_id",bladeUserId);
IPage<Map<String, Object>> pages = mngMapper.getMessageHistoryList(page, params);
MjkjUtils.setPageResult(params,pages);
}
}
|
274056675/springboot-openai-chatgpt | 1,646 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/enhance/images/ViewImageHandleEditEnhance.java | package org.springblade.modules.mjkj.enhance.images;
import com.alibaba.fastjson.JSONObject;
import org.springblade.core.secure.utils.AuthUtil;
import org.springblade.core.tool.utils.DateUtil;
import org.springblade.core.tool.utils.Func;
import org.springblade.modules.mjkj.common.cgform.entity.CgformHead;
import org.springblade.modules.mjkj.common.cgform.model.CgformEnhanceJavaInter;
import org.springblade.modules.mjkj.common.cgform.service.IMjkjBaseSqlService;
import org.springblade.modules.mjkj.common.config.exception.BusinessException;
import org.springblade.modules.mjkj.common.utils.MjkjUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.HashMap;
import java.util.Map;
/**
*view_image_list
*/
@Component("viewImageHandleEditEnhance")
public class ViewImageHandleEditEnhance implements CgformEnhanceJavaInter {
@Autowired
private IMjkjBaseSqlService mjkjBaseSqlService;
/**
*/
public int execute(CgformHead head, JSONObject jsonobject)
throws BusinessException {
String id = MjkjUtils.getMap2Str(jsonobject, "id");
String shzt = MjkjUtils.getMap2Str(jsonobject, "shzt");
Map<String,Object> updateMap=new HashMap<>();
updateMap.put("examine_blade_user_id", AuthUtil.getUserId());
updateMap.put("examine_time", DateUtil.now());
if(Func.equals(shzt,"0")){
updateMap.put("open_flag",0);
mjkjBaseSqlService.baseUpdateData("chat_image_info",updateMap,id);
}else if(Func.equals(shzt,"2")){
updateMap.put("open_flag",2);
mjkjBaseSqlService.baseUpdateData("chat_image_info",updateMap,id);
}
return -1;
}
}
|
233zzh/TitanDataOperationSystem | 53,572 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/flot/API.md | # Flot Reference #
**Table of Contents**
[Introduction](#introduction)
| [Data Format](#data-format)
| [Plot Options](#plot-options)
| [Customizing the legend](#customizing-the-legend)
| [Customizing the axes](#customizing-the-axes)
| [Multiple axes](#multiple-axes)
| [Time series data](#time-series-data)
| [Customizing the data series](#customizing-the-data-series)
| [Customizing the grid](#customizing-the-grid)
| [Specifying gradients](#specifying-gradients)
| [Plot Methods](#plot-methods)
| [Hooks](#hooks)
| [Plugins](#plugins)
| [Version number](#version-number)
---
## Introduction ##
Consider a call to the plot function:
```js
var plot = $.plot(placeholder, data, options)
```
The placeholder is a jQuery object or DOM element or jQuery expression
that the plot will be put into. This placeholder needs to have its
width and height set as explained in the [README](README.md) (go read that now if
you haven't, it's short). The plot will modify some properties of the
placeholder so it's recommended you simply pass in a div that you
don't use for anything else. Make sure you check any fancy styling
you apply to the div, e.g. background images have been reported to be a
problem on IE 7.
The plot function can also be used as a jQuery chainable property. This form
naturally can't return the plot object directly, but you can still access it
via the 'plot' data key, like this:
```js
var plot = $("#placeholder").plot(data, options).data("plot");
```
The format of the data is documented below, as is the available
options. The plot object returned from the call has some methods you
can call. These are documented separately below.
Note that in general Flot gives no guarantees if you change any of the
objects you pass in to the plot function or get out of it since
they're not necessarily deep-copied.
## Data Format ##
The data is an array of data series:
```js
[ series1, series2, ... ]
```
A series can either be raw data or an object with properties. The raw
data format is an array of points:
```js
[ [x1, y1], [x2, y2], ... ]
```
E.g.
```js
[ [1, 3], [2, 14.01], [3.5, 3.14] ]
```
Note that to simplify the internal logic in Flot both the x and y
values must be numbers (even if specifying time series, see below for
how to do this). This is a common problem because you might retrieve
data from the database and serialize them directly to JSON without
noticing the wrong type. If you're getting mysterious errors, double
check that you're inputting numbers and not strings.
If a null is specified as a point or if one of the coordinates is null
or couldn't be converted to a number, the point is ignored when
drawing. As a special case, a null value for lines is interpreted as a
line segment end, i.e. the points before and after the null value are
not connected.
Lines and points take two coordinates. For filled lines and bars, you
can specify a third coordinate which is the bottom of the filled
area/bar (defaults to 0).
The format of a single series object is as follows:
```js
{
color: color or number
data: rawdata
label: string
lines: specific lines options
bars: specific bars options
points: specific points options
xaxis: number
yaxis: number
clickable: boolean
hoverable: boolean
shadowSize: number
highlightColor: color or number
}
```
You don't have to specify any of them except the data, the rest are
options that will get default values. Typically you'd only specify
label and data, like this:
```js
{
label: "y = 3",
data: [[0, 3], [10, 3]]
}
```
The label is used for the legend, if you don't specify one, the series
will not show up in the legend.
If you don't specify color, the series will get a color from the
auto-generated colors. The color is either a CSS color specification
(like "rgb(255, 100, 123)") or an integer that specifies which of
auto-generated colors to select, e.g. 0 will get color no. 0, etc.
The latter is mostly useful if you let the user add and remove series,
in which case you can hard-code the color index to prevent the colors
from jumping around between the series.
The "xaxis" and "yaxis" options specify which axis to use. The axes
are numbered from 1 (default), so { yaxis: 2} means that the series
should be plotted against the second y axis.
"clickable" and "hoverable" can be set to false to disable
interactivity for specific series if interactivity is turned on in
the plot, see below.
The rest of the options are all documented below as they are the same
as the default options passed in via the options parameter in the plot
commmand. When you specify them for a specific data series, they will
override the default options for the plot for that data series.
Here's a complete example of a simple data specification:
```js
[ { label: "Foo", data: [ [10, 1], [17, -14], [30, 5] ] },
{ label: "Bar", data: [ [11, 13], [19, 11], [30, -7] ] }
]
```
## Plot Options ##
All options are completely optional. They are documented individually
below, to change them you just specify them in an object, e.g.
```js
var options = {
series: {
lines: { show: true },
points: { show: true }
}
};
$.plot(placeholder, data, options);
```
## Customizing the legend ##
```js
legend: {
show: boolean
labelFormatter: null or (fn: string, series object -> string)
labelBoxBorderColor: color
noColumns: number
position: "ne" or "nw" or "se" or "sw"
margin: number of pixels or [x margin, y margin]
backgroundColor: null or color
backgroundOpacity: number between 0 and 1
container: null or jQuery object/DOM element/jQuery expression
sorted: null/false, true, "ascending", "descending", "reverse", or a comparator
}
```
The legend is generated as a table with the data series labels and
small label boxes with the color of the series. If you want to format
the labels in some way, e.g. make them to links, you can pass in a
function for "labelFormatter". Here's an example that makes them
clickable:
```js
labelFormatter: function(label, series) {
// series is the series object for the label
return '<a href="#' + label + '">' + label + '</a>';
}
```
To prevent a series from showing up in the legend, simply have the function
return null.
"noColumns" is the number of columns to divide the legend table into.
"position" specifies the overall placement of the legend within the
plot (top-right, top-left, etc.) and margin the distance to the plot
edge (this can be either a number or an array of two numbers like [x,
y]). "backgroundColor" and "backgroundOpacity" specifies the
background. The default is a partly transparent auto-detected
background.
If you want the legend to appear somewhere else in the DOM, you can
specify "container" as a jQuery object/expression to put the legend
table into. The "position" and "margin" etc. options will then be
ignored. Note that Flot will overwrite the contents of the container.
Legend entries appear in the same order as their series by default. If "sorted"
is "reverse" then they appear in the opposite order from their series. To sort
them alphabetically, you can specify true, "ascending" or "descending", where
true and "ascending" are equivalent.
You can also provide your own comparator function that accepts two
objects with "label" and "color" properties, and returns zero if they
are equal, a positive value if the first is greater than the second,
and a negative value if the first is less than the second.
```js
sorted: function(a, b) {
// sort alphabetically in ascending order
return a.label == b.label ? 0 : (
a.label > b.label ? 1 : -1
)
}
```
## Customizing the axes ##
```js
xaxis, yaxis: {
show: null or true/false
position: "bottom" or "top" or "left" or "right"
mode: null or "time" ("time" requires jquery.flot.time.js plugin)
timezone: null, "browser" or timezone (only makes sense for mode: "time")
color: null or color spec
tickColor: null or color spec
font: null or font spec object
min: null or number
max: null or number
autoscaleMargin: null or number
transform: null or fn: number -> number
inverseTransform: null or fn: number -> number
ticks: null or number or ticks array or (fn: axis -> ticks array)
tickSize: number or array
minTickSize: number or array
tickFormatter: (fn: number, object -> string) or string
tickDecimals: null or number
labelWidth: null or number
labelHeight: null or number
reserveSpace: null or true
tickLength: null or number
alignTicksWithAxis: null or number
}
```
All axes have the same kind of options. The following describes how to
configure one axis, see below for what to do if you've got more than
one x axis or y axis.
If you don't set the "show" option (i.e. it is null), visibility is
auto-detected, i.e. the axis will show up if there's data associated
with it. You can override this by setting the "show" option to true or
false.
The "position" option specifies where the axis is placed, bottom or
top for x axes, left or right for y axes. The "mode" option determines
how the data is interpreted, the default of null means as decimal
numbers. Use "time" for time series data; see the time series data
section. The time plugin (jquery.flot.time.js) is required for time
series support.
The "color" option determines the color of the line and ticks for the axis, and
defaults to the grid color with transparency. For more fine-grained control you
can also set the color of the ticks separately with "tickColor".
You can customize the font and color used to draw the axis tick labels with CSS
or directly via the "font" option. When "font" is null - the default - each
tick label is given the 'flot-tick-label' class. For compatibility with Flot
0.7 and earlier the labels are also given the 'tickLabel' class, but this is
deprecated and scheduled to be removed with the release of version 1.0.0.
To enable more granular control over styles, labels are divided between a set
of text containers, with each holding the labels for one axis. These containers
are given the classes 'flot-[x|y]-axis', and 'flot-[x|y]#-axis', where '#' is
the number of the axis when there are multiple axes. For example, the x-axis
labels for a simple plot with only a single x-axis might look like this:
```html
<div class='flot-x-axis flot-x1-axis'>
<div class='flot-tick-label'>January 2013</div>
...
</div>
```
For direct control over label styles you can also provide "font" as an object
with this format:
```js
{
size: 11,
lineHeight: 13,
style: "italic",
weight: "bold",
family: "sans-serif",
variant: "small-caps",
color: "#545454"
}
```
The size and lineHeight must be expressed in pixels; CSS units such as 'em'
or 'smaller' are not allowed.
The options "min"/"max" are the precise minimum/maximum value on the
scale. If you don't specify either of them, a value will automatically
be chosen based on the minimum/maximum data values. Note that Flot
always examines all the data values you feed to it, even if a
restriction on another axis may make some of them invisible (this
makes interactive use more stable).
The "autoscaleMargin" is a bit esoteric: it's the fraction of margin
that the scaling algorithm will add to avoid that the outermost points
ends up on the grid border. Note that this margin is only applied when
a min or max value is not explicitly set. If a margin is specified,
the plot will furthermore extend the axis end-point to the nearest
whole tick. The default value is "null" for the x axes and 0.02 for y
axes which seems appropriate for most cases.
"transform" and "inverseTransform" are callbacks you can put in to
change the way the data is drawn. You can design a function to
compress or expand certain parts of the axis non-linearly, e.g.
suppress weekends or compress far away points with a logarithm or some
other means. When Flot draws the plot, each value is first put through
the transform function. Here's an example, the x axis can be turned
into a natural logarithm axis with the following code:
```js
xaxis: {
transform: function (v) { return Math.log(v); },
inverseTransform: function (v) { return Math.exp(v); }
}
```
Similarly, for reversing the y axis so the values appear in inverse
order:
```js
yaxis: {
transform: function (v) { return -v; },
inverseTransform: function (v) { return -v; }
}
```
Note that for finding extrema, Flot assumes that the transform
function does not reorder values (it should be monotone).
The inverseTransform is simply the inverse of the transform function
(so v == inverseTransform(transform(v)) for all relevant v). It is
required for converting from canvas coordinates to data coordinates,
e.g. for a mouse interaction where a certain pixel is clicked. If you
don't use any interactive features of Flot, you may not need it.
The rest of the options deal with the ticks.
If you don't specify any ticks, a tick generator algorithm will make
some for you. The algorithm has two passes. It first estimates how
many ticks would be reasonable and uses this number to compute a nice
round tick interval size. Then it generates the ticks.
You can specify how many ticks the algorithm aims for by setting
"ticks" to a number. The algorithm always tries to generate reasonably
round tick values so even if you ask for three ticks, you might get
five if that fits better with the rounding. If you don't want any
ticks at all, set "ticks" to 0 or an empty array.
Another option is to skip the rounding part and directly set the tick
interval size with "tickSize". If you set it to 2, you'll get ticks at
2, 4, 6, etc. Alternatively, you can specify that you just don't want
ticks at a size less than a specific tick size with "minTickSize".
Note that for time series, the format is an array like [2, "month"],
see the next section.
If you want to completely override the tick algorithm, you can specify
an array for "ticks", either like this:
```js
ticks: [0, 1.2, 2.4]
```
Or like this where the labels are also customized:
```js
ticks: [[0, "zero"], [1.2, "one mark"], [2.4, "two marks"]]
```
You can mix the two if you like.
For extra flexibility you can specify a function as the "ticks"
parameter. The function will be called with an object with the axis
min and max and should return a ticks array. Here's a simplistic tick
generator that spits out intervals of pi, suitable for use on the x
axis for trigonometric functions:
```js
function piTickGenerator(axis) {
var res = [], i = Math.floor(axis.min / Math.PI);
do {
var v = i * Math.PI;
res.push([v, i + "\u03c0"]);
++i;
} while (v < axis.max);
return res;
}
```
You can control how the ticks look like with "tickDecimals", the
number of decimals to display (default is auto-detected).
Alternatively, for ultimate control over how ticks are formatted you can
provide a function to "tickFormatter". The function is passed two
parameters, the tick value and an axis object with information, and
should return a string. The default formatter looks like this:
```js
function formatter(val, axis) {
return val.toFixed(axis.tickDecimals);
}
```
The axis object has "min" and "max" with the range of the axis,
"tickDecimals" with the number of decimals to round the value to and
"tickSize" with the size of the interval between ticks as calculated
by the automatic axis scaling algorithm (or specified by you). Here's
an example of a custom formatter:
```js
function suffixFormatter(val, axis) {
if (val > 1000000)
return (val / 1000000).toFixed(axis.tickDecimals) + " MB";
else if (val > 1000)
return (val / 1000).toFixed(axis.tickDecimals) + " kB";
else
return val.toFixed(axis.tickDecimals) + " B";
}
```
"labelWidth" and "labelHeight" specifies a fixed size of the tick
labels in pixels. They're useful in case you need to align several
plots. "reserveSpace" means that even if an axis isn't shown, Flot
should reserve space for it - it is useful in combination with
labelWidth and labelHeight for aligning multi-axis charts.
"tickLength" is the length of the tick lines in pixels. By default, the
innermost axes will have ticks that extend all across the plot, while
any extra axes use small ticks. A value of null means use the default,
while a number means small ticks of that length - set it to 0 to hide
the lines completely.
If you set "alignTicksWithAxis" to the number of another axis, e.g.
alignTicksWithAxis: 1, Flot will ensure that the autogenerated ticks
of this axis are aligned with the ticks of the other axis. This may
improve the looks, e.g. if you have one y axis to the left and one to
the right, because the grid lines will then match the ticks in both
ends. The trade-off is that the forced ticks won't necessarily be at
natural places.
## Multiple axes ##
If you need more than one x axis or y axis, you need to specify for
each data series which axis they are to use, as described under the
format of the data series, e.g. { data: [...], yaxis: 2 } specifies
that a series should be plotted against the second y axis.
To actually configure that axis, you can't use the xaxis/yaxis options
directly - instead there are two arrays in the options:
```js
xaxes: []
yaxes: []
```
Here's an example of configuring a single x axis and two y axes (we
can leave options of the first y axis empty as the defaults are fine):
```js
{
xaxes: [ { position: "top" } ],
yaxes: [ { }, { position: "right", min: 20 } ]
}
```
The arrays get their default values from the xaxis/yaxis settings, so
say you want to have all y axes start at zero, you can simply specify
yaxis: { min: 0 } instead of adding a min parameter to all the axes.
Generally, the various interfaces in Flot dealing with data points
either accept an xaxis/yaxis parameter to specify which axis number to
use (starting from 1), or lets you specify the coordinate directly as
x2/x3/... or x2axis/x3axis/... instead of "x" or "xaxis".
## Time series data ##
Please note that it is now required to include the time plugin,
jquery.flot.time.js, for time series support.
Time series are a bit more difficult than scalar data because
calendars don't follow a simple base 10 system. For many cases, Flot
abstracts most of this away, but it can still be a bit difficult to
get the data into Flot. So we'll first discuss the data format.
The time series support in Flot is based on Javascript timestamps,
i.e. everywhere a time value is expected or handed over, a Javascript
timestamp number is used. This is a number, not a Date object. A
Javascript timestamp is the number of milliseconds since January 1,
1970 00:00:00 UTC. This is almost the same as Unix timestamps, except it's
in milliseconds, so remember to multiply by 1000!
You can see a timestamp like this
```js
alert((new Date()).getTime())
```
There are different schools of thought when it comes to display of
timestamps. Many will want the timestamps to be displayed according to
a certain time zone, usually the time zone in which the data has been
produced. Some want the localized experience, where the timestamps are
displayed according to the local time of the visitor. Flot supports
both. Optionally you can include a third-party library to get
additional timezone support.
Default behavior is that Flot always displays timestamps according to
UTC. The reason being that the core Javascript Date object does not
support other fixed time zones. Often your data is at another time
zone, so it may take a little bit of tweaking to work around this
limitation.
The easiest way to think about it is to pretend that the data
production time zone is UTC, even if it isn't. So if you have a
datapoint at 2002-02-20 08:00, you can generate a timestamp for eight
o'clock UTC even if it really happened eight o'clock UTC+0200.
In PHP you can get an appropriate timestamp with:
```php
strtotime("2002-02-20 UTC") * 1000
```
In Python you can get it with something like:
```python
calendar.timegm(datetime_object.timetuple()) * 1000
```
In Ruby you can get it using the `#to_i` method on the
[`Time`](http://apidock.com/ruby/Time/to_i) object. If you're using the
`active_support` gem (default for Ruby on Rails applications) `#to_i` is also
available on the `DateTime` and `ActiveSupport::TimeWithZone` objects. You
simply need to multiply the result by 1000:
```ruby
Time.now.to_i * 1000 # => 1383582043000
# ActiveSupport examples:
DateTime.now.to_i * 1000 # => 1383582043000
ActiveSupport::TimeZone.new('Asia/Shanghai').now.to_i * 1000
# => 1383582043000
```
In .NET you can get it with something like:
```aspx
public static int GetJavascriptTimestamp(System.DateTime input)
{
System.TimeSpan span = new System.TimeSpan(System.DateTime.Parse("1/1/1970").Ticks);
System.DateTime time = input.Subtract(span);
return (long)(time.Ticks / 10000);
}
```
Javascript also has some support for parsing date strings, so it is
possible to generate the timestamps manually client-side.
If you've already got the real UTC timestamp, it's too late to use the
pretend trick described above. But you can fix up the timestamps by
adding the time zone offset, e.g. for UTC+0200 you would add 2 hours
to the UTC timestamp you got. Then it'll look right on the plot. Most
programming environments have some means of getting the timezone
offset for a specific date (note that you need to get the offset for
each individual timestamp to account for daylight savings).
The alternative with core Javascript is to interpret the timestamps
according to the time zone that the visitor is in, which means that
the ticks will shift with the time zone and daylight savings of each
visitor. This behavior is enabled by setting the axis option
"timezone" to the value "browser".
If you need more time zone functionality than this, there is still
another option. If you include the "timezone-js" library
<https://github.com/mde/timezone-js> in the page and set axis.timezone
to a value recognized by said library, Flot will use timezone-js to
interpret the timestamps according to that time zone.
Once you've gotten the timestamps into the data and specified "time"
as the axis mode, Flot will automatically generate relevant ticks and
format them. As always, you can tweak the ticks via the "ticks" option
- just remember that the values should be timestamps (numbers), not
Date objects.
Tick generation and formatting can also be controlled separately
through the following axis options:
```js
minTickSize: array
timeformat: null or format string
monthNames: null or array of size 12 of strings
dayNames: null or array of size 7 of strings
twelveHourClock: boolean
```
Here "timeformat" is a format string to use. You might use it like
this:
```js
xaxis: {
mode: "time",
timeformat: "%Y/%m/%d"
}
```
This will result in tick labels like "2000/12/24". A subset of the
standard strftime specifiers are supported (plus the nonstandard %q):
```js
%a: weekday name (customizable)
%b: month name (customizable)
%d: day of month, zero-padded (01-31)
%e: day of month, space-padded ( 1-31)
%H: hours, 24-hour time, zero-padded (00-23)
%I: hours, 12-hour time, zero-padded (01-12)
%m: month, zero-padded (01-12)
%M: minutes, zero-padded (00-59)
%q: quarter (1-4)
%S: seconds, zero-padded (00-59)
%y: year (two digits)
%Y: year (four digits)
%p: am/pm
%P: AM/PM (uppercase version of %p)
%w: weekday as number (0-6, 0 being Sunday)
```
Flot 0.8 switched from %h to the standard %H hours specifier. The %h specifier
is still available, for backwards-compatibility, but is deprecated and
scheduled to be removed permanently with the release of version 1.0.
You can customize the month names with the "monthNames" option. For
instance, for Danish you might specify:
```js
monthNames: ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec"]
```
Similarly you can customize the weekday names with the "dayNames"
option. An example in French:
```js
dayNames: ["dim", "lun", "mar", "mer", "jeu", "ven", "sam"]
```
If you set "twelveHourClock" to true, the autogenerated timestamps
will use 12 hour AM/PM timestamps instead of 24 hour. This only
applies if you have not set "timeformat". Use the "%I" and "%p" or
"%P" options if you want to build your own format string with 12-hour
times.
If the Date object has a strftime property (and it is a function), it
will be used instead of the built-in formatter. Thus you can include
a strftime library such as http://hacks.bluesmoon.info/strftime/ for
more powerful date/time formatting.
If everything else fails, you can control the formatting by specifying
a custom tick formatter function as usual. Here's a simple example
which will format December 24 as 24/12:
```js
tickFormatter: function (val, axis) {
var d = new Date(val);
return d.getUTCDate() + "/" + (d.getUTCMonth() + 1);
}
```
Note that for the time mode "tickSize" and "minTickSize" are a bit
special in that they are arrays on the form "[value, unit]" where unit
is one of "second", "minute", "hour", "day", "month" and "year". So
you can specify
```js
minTickSize: [1, "month"]
```
to get a tick interval size of at least 1 month and correspondingly,
if axis.tickSize is [2, "day"] in the tick formatter, the ticks have
been produced with two days in-between.
## Customizing the data series ##
```js
series: {
lines, points, bars: {
show: boolean
lineWidth: number
fill: boolean or number
fillColor: null or color/gradient
}
lines, bars: {
zero: boolean
}
points: {
radius: number
symbol: "circle" or function
}
bars: {
barWidth: number
align: "left", "right" or "center"
horizontal: boolean
}
lines: {
steps: boolean
}
shadowSize: number
highlightColor: color or number
}
colors: [ color1, color2, ... ]
```
The options inside "series: {}" are copied to each of the series. So
you can specify that all series should have bars by putting it in the
global options, or override it for individual series by specifying
bars in a particular the series object in the array of data.
The most important options are "lines", "points" and "bars" that
specify whether and how lines, points and bars should be shown for
each data series. In case you don't specify anything at all, Flot will
default to showing lines (you can turn this off with
lines: { show: false }). You can specify the various types
independently of each other, and Flot will happily draw each of them
in turn (this is probably only useful for lines and points), e.g.
```js
var options = {
series: {
lines: { show: true, fill: true, fillColor: "rgba(255, 255, 255, 0.8)" },
points: { show: true, fill: false }
}
};
```
"lineWidth" is the thickness of the line or outline in pixels. You can
set it to 0 to prevent a line or outline from being drawn; this will
also hide the shadow.
"fill" is whether the shape should be filled. For lines, this produces
area graphs. You can use "fillColor" to specify the color of the fill.
If "fillColor" evaluates to false (default for everything except
points which are filled with white), the fill color is auto-set to the
color of the data series. You can adjust the opacity of the fill by
setting fill to a number between 0 (fully transparent) and 1 (fully
opaque).
For bars, fillColor can be a gradient, see the gradient documentation
below. "barWidth" is the width of the bars in units of the x axis (or
the y axis if "horizontal" is true), contrary to most other measures
that are specified in pixels. For instance, for time series the unit
is milliseconds so 24 * 60 * 60 * 1000 produces bars with the width of
a day. "align" specifies whether a bar should be left-aligned
(default), right-aligned or centered on top of the value it represents.
When "horizontal" is on, the bars are drawn horizontally, i.e. from the
y axis instead of the x axis; note that the bar end points are still
defined in the same way so you'll probably want to swap the
coordinates if you've been plotting vertical bars first.
Area and bar charts normally start from zero, regardless of the data's range.
This is because they convey information through size, and starting from a
different value would distort their meaning. In cases where the fill is purely
for decorative purposes, however, "zero" allows you to override this behavior.
It defaults to true for filled lines and bars; setting it to false tells the
series to use the same automatic scaling as an un-filled line.
For lines, "steps" specifies whether two adjacent data points are
connected with a straight (possibly diagonal) line or with first a
horizontal and then a vertical line. Note that this transforms the
data by adding extra points.
For points, you can specify the radius and the symbol. The only
built-in symbol type is circles, for other types you can use a plugin
or define them yourself by specifying a callback:
```js
function cross(ctx, x, y, radius, shadow) {
var size = radius * Math.sqrt(Math.PI) / 2;
ctx.moveTo(x - size, y - size);
ctx.lineTo(x + size, y + size);
ctx.moveTo(x - size, y + size);
ctx.lineTo(x + size, y - size);
}
```
The parameters are the drawing context, x and y coordinates of the
center of the point, a radius which corresponds to what the circle
would have used and whether the call is to draw a shadow (due to
limited canvas support, shadows are currently faked through extra
draws). It's good practice to ensure that the area covered by the
symbol is the same as for the circle with the given radius, this
ensures that all symbols have approximately the same visual weight.
"shadowSize" is the default size of shadows in pixels. Set it to 0 to
remove shadows.
"highlightColor" is the default color of the translucent overlay used
to highlight the series when the mouse hovers over it.
The "colors" array specifies a default color theme to get colors for
the data series from. You can specify as many colors as you like, like
this:
```js
colors: ["#d18b2c", "#dba255", "#919733"]
```
If there are more data series than colors, Flot will try to generate
extra colors by lightening and darkening colors in the theme.
## Customizing the grid ##
```js
grid: {
show: boolean
aboveData: boolean
color: color
backgroundColor: color/gradient or null
margin: number or margin object
labelMargin: number
axisMargin: number
markings: array of markings or (fn: axes -> array of markings)
borderWidth: number or object with "top", "right", "bottom" and "left" properties with different widths
borderColor: color or null or object with "top", "right", "bottom" and "left" properties with different colors
minBorderMargin: number or null
clickable: boolean
hoverable: boolean
autoHighlight: boolean
mouseActiveRadius: number
}
interaction: {
redrawOverlayInterval: number or -1
}
```
The grid is the thing with the axes and a number of ticks. Many of the
things in the grid are configured under the individual axes, but not
all. "color" is the color of the grid itself whereas "backgroundColor"
specifies the background color inside the grid area, here null means
that the background is transparent. You can also set a gradient, see
the gradient documentation below.
You can turn off the whole grid including tick labels by setting
"show" to false. "aboveData" determines whether the grid is drawn
above the data or below (below is default).
"margin" is the space in pixels between the canvas edge and the grid,
which can be either a number or an object with individual margins for
each side, in the form:
```js
margin: {
top: top margin in pixels
left: left margin in pixels
bottom: bottom margin in pixels
right: right margin in pixels
}
```
"labelMargin" is the space in pixels between tick labels and axis
line, and "axisMargin" is the space in pixels between axes when there
are two next to each other.
"borderWidth" is the width of the border around the plot. Set it to 0
to disable the border. Set it to an object with "top", "right",
"bottom" and "left" properties to use different widths. You can
also set "borderColor" if you want the border to have a different color
than the grid lines. Set it to an object with "top", "right", "bottom"
and "left" properties to use different colors. "minBorderMargin" controls
the default minimum margin around the border - it's used to make sure
that points aren't accidentally clipped by the canvas edge so by default
the value is computed from the point radius.
"markings" is used to draw simple lines and rectangular areas in the
background of the plot. You can either specify an array of ranges on
the form { xaxis: { from, to }, yaxis: { from, to } } (with multiple
axes, you can specify coordinates for other axes instead, e.g. as
x2axis/x3axis/...) or with a function that returns such an array given
the axes for the plot in an object as the first parameter.
You can set the color of markings by specifying "color" in the ranges
object. Here's an example array:
```js
markings: [ { xaxis: { from: 0, to: 2 }, yaxis: { from: 10, to: 10 }, color: "#bb0000" }, ... ]
```
If you leave out one of the values, that value is assumed to go to the
border of the plot. So for example if you only specify { xaxis: {
from: 0, to: 2 } } it means an area that extends from the top to the
bottom of the plot in the x range 0-2.
A line is drawn if from and to are the same, e.g.
```js
markings: [ { yaxis: { from: 1, to: 1 } }, ... ]
```
would draw a line parallel to the x axis at y = 1. You can control the
line width with "lineWidth" in the range object.
An example function that makes vertical stripes might look like this:
```js
markings: function (axes) {
var markings = [];
for (var x = Math.floor(axes.xaxis.min); x < axes.xaxis.max; x += 2)
markings.push({ xaxis: { from: x, to: x + 1 } });
return markings;
}
```
If you set "clickable" to true, the plot will listen for click events
on the plot area and fire a "plotclick" event on the placeholder with
a position and a nearby data item object as parameters. The coordinates
are available both in the unit of the axes (not in pixels) and in
global screen coordinates.
Likewise, if you set "hoverable" to true, the plot will listen for
mouse move events on the plot area and fire a "plothover" event with
the same parameters as the "plotclick" event. If "autoHighlight" is
true (the default), nearby data items are highlighted automatically.
If needed, you can disable highlighting and control it yourself with
the highlight/unhighlight plot methods described elsewhere.
You can use "plotclick" and "plothover" events like this:
```js
$.plot($("#placeholder"), [ d ], { grid: { clickable: true } });
$("#placeholder").bind("plotclick", function (event, pos, item) {
alert("You clicked at " + pos.x + ", " + pos.y);
// axis coordinates for other axes, if present, are in pos.x2, pos.x3, ...
// if you need global screen coordinates, they are pos.pageX, pos.pageY
if (item) {
highlight(item.series, item.datapoint);
alert("You clicked a point!");
}
});
```
The item object in this example is either null or a nearby object on the form:
```js
item: {
datapoint: the point, e.g. [0, 2]
dataIndex: the index of the point in the data array
series: the series object
seriesIndex: the index of the series
pageX, pageY: the global screen coordinates of the point
}
```
For instance, if you have specified the data like this
```js
$.plot($("#placeholder"), [ { label: "Foo", data: [[0, 10], [7, 3]] } ], ...);
```
and the mouse is near the point (7, 3), "datapoint" is [7, 3],
"dataIndex" will be 1, "series" is a normalized series object with
among other things the "Foo" label in series.label and the color in
series.color, and "seriesIndex" is 0. Note that plugins and options
that transform the data can shift the indexes from what you specified
in the original data array.
If you use the above events to update some other information and want
to clear out that info in case the mouse goes away, you'll probably
also need to listen to "mouseout" events on the placeholder div.
"mouseActiveRadius" specifies how far the mouse can be from an item
and still activate it. If there are two or more points within this
radius, Flot chooses the closest item. For bars, the top-most bar
(from the latest specified data series) is chosen.
If you want to disable interactivity for a specific data series, you
can set "hoverable" and "clickable" to false in the options for that
series, like this:
```js
{ data: [...], label: "Foo", clickable: false }
```
"redrawOverlayInterval" specifies the maximum time to delay a redraw
of interactive things (this works as a rate limiting device). The
default is capped to 60 frames per second. You can set it to -1 to
disable the rate limiting.
## Specifying gradients ##
A gradient is specified like this:
```js
{ colors: [ color1, color2, ... ] }
```
For instance, you might specify a background on the grid going from
black to gray like this:
```js
grid: {
backgroundColor: { colors: ["#000", "#999"] }
}
```
For the series you can specify the gradient as an object that
specifies the scaling of the brightness and the opacity of the series
color, e.g.
```js
{ colors: [{ opacity: 0.8 }, { brightness: 0.6, opacity: 0.8 } ] }
```
where the first color simply has its alpha scaled, whereas the second
is also darkened. For instance, for bars the following makes the bars
gradually disappear, without outline:
```js
bars: {
show: true,
lineWidth: 0,
fill: true,
fillColor: { colors: [ { opacity: 0.8 }, { opacity: 0.1 } ] }
}
```
Flot currently only supports vertical gradients drawn from top to
bottom because that's what works with IE.
## Plot Methods ##
The Plot object returned from the plot function has some methods you
can call:
- highlight(series, datapoint)
Highlight a specific datapoint in the data series. You can either
specify the actual objects, e.g. if you got them from a
"plotclick" event, or you can specify the indices, e.g.
highlight(1, 3) to highlight the fourth point in the second series
(remember, zero-based indexing).
- unhighlight(series, datapoint) or unhighlight()
Remove the highlighting of the point, same parameters as
highlight.
If you call unhighlight with no parameters, e.g. as
plot.unhighlight(), all current highlights are removed.
- setData(data)
You can use this to reset the data used. Note that axis scaling,
ticks, legend etc. will not be recomputed (use setupGrid() to do
that). You'll probably want to call draw() afterwards.
You can use this function to speed up redrawing a small plot if
you know that the axes won't change. Put in the new data with
setData(newdata), call draw(), and you're good to go. Note that
for large datasets, almost all the time is consumed in draw()
plotting the data so in this case don't bother.
- setupGrid()
Recalculate and set axis scaling, ticks, legend etc.
Note that because of the drawing model of the canvas, this
function will immediately redraw (actually reinsert in the DOM)
the labels and the legend, but not the actual tick lines because
they're drawn on the canvas. You need to call draw() to get the
canvas redrawn.
- draw()
Redraws the plot canvas.
- triggerRedrawOverlay()
Schedules an update of an overlay canvas used for drawing
interactive things like a selection and point highlights. This
is mostly useful for writing plugins. The redraw doesn't happen
immediately, instead a timer is set to catch multiple successive
redraws (e.g. from a mousemove). You can get to the overlay by
setting up a drawOverlay hook.
- width()/height()
Gets the width and height of the plotting area inside the grid.
This is smaller than the canvas or placeholder dimensions as some
extra space is needed (e.g. for labels).
- offset()
Returns the offset of the plotting area inside the grid relative
to the document, useful for instance for calculating mouse
positions (event.pageX/Y minus this offset is the pixel position
inside the plot).
- pointOffset({ x: xpos, y: ypos })
Returns the calculated offset of the data point at (x, y) in data
space within the placeholder div. If you are working with multiple
axes, you can specify the x and y axis references, e.g.
```js
o = pointOffset({ x: xpos, y: ypos, xaxis: 2, yaxis: 3 })
// o.left and o.top now contains the offset within the div
````
- resize()
Tells Flot to resize the drawing canvas to the size of the
placeholder. You need to run setupGrid() and draw() afterwards as
canvas resizing is a destructive operation. This is used
internally by the resize plugin.
- shutdown()
Cleans up any event handlers Flot has currently registered. This
is used internally.
There are also some members that let you peek inside the internal
workings of Flot which is useful in some cases. Note that if you change
something in the objects returned, you're changing the objects used by
Flot to keep track of its state, so be careful.
- getData()
Returns an array of the data series currently used in normalized
form with missing settings filled in according to the global
options. So for instance to find out what color Flot has assigned
to the data series, you could do this:
```js
var series = plot.getData();
for (var i = 0; i < series.length; ++i)
alert(series[i].color);
```
A notable other interesting field besides color is datapoints
which has a field "points" with the normalized data points in a
flat array (the field "pointsize" is the increment in the flat
array to get to the next point so for a dataset consisting only of
(x,y) pairs it would be 2).
- getAxes()
Gets an object with the axes. The axes are returned as the
attributes of the object, so for instance getAxes().xaxis is the
x axis.
Various things are stuffed inside an axis object, e.g. you could
use getAxes().xaxis.ticks to find out what the ticks are for the
xaxis. Two other useful attributes are p2c and c2p, functions for
transforming from data point space to the canvas plot space and
back. Both returns values that are offset with the plot offset.
Check the Flot source code for the complete set of attributes (or
output an axis with console.log() and inspect it).
With multiple axes, the extra axes are returned as x2axis, x3axis,
etc., e.g. getAxes().y2axis is the second y axis. You can check
y2axis.used to see whether the axis is associated with any data
points and y2axis.show to see if it is currently shown.
- getPlaceholder()
Returns placeholder that the plot was put into. This can be useful
for plugins for adding DOM elements or firing events.
- getCanvas()
Returns the canvas used for drawing in case you need to hack on it
yourself. You'll probably need to get the plot offset too.
- getPlotOffset()
Gets the offset that the grid has within the canvas as an object
with distances from the canvas edges as "left", "right", "top",
"bottom". I.e., if you draw a circle on the canvas with the center
placed at (left, top), its center will be at the top-most, left
corner of the grid.
- getOptions()
Gets the options for the plot, normalized, with default values
filled in. You get a reference to actual values used by Flot, so
if you modify the values in here, Flot will use the new values.
If you change something, you probably have to call draw() or
setupGrid() or triggerRedrawOverlay() to see the change.
## Hooks ##
In addition to the public methods, the Plot object also has some hooks
that can be used to modify the plotting process. You can install a
callback function at various points in the process, the function then
gets access to the internal data structures in Flot.
Here's an overview of the phases Flot goes through:
1. Plugin initialization, parsing options
2. Constructing the canvases used for drawing
3. Set data: parsing data specification, calculating colors,
copying raw data points into internal format,
normalizing them, finding max/min for axis auto-scaling
4. Grid setup: calculating axis spacing, ticks, inserting tick
labels, the legend
5. Draw: drawing the grid, drawing each of the series in turn
6. Setting up event handling for interactive features
7. Responding to events, if any
8. Shutdown: this mostly happens in case a plot is overwritten
Each hook is simply a function which is put in the appropriate array.
You can add them through the "hooks" option, and they are also available
after the plot is constructed as the "hooks" attribute on the returned
plot object, e.g.
```js
// define a simple draw hook
function hellohook(plot, canvascontext) { alert("hello!"); };
// pass it in, in an array since we might want to specify several
var plot = $.plot(placeholder, data, { hooks: { draw: [hellohook] } });
// we can now find it again in plot.hooks.draw[0] unless a plugin
// has added other hooks
```
The available hooks are described below. All hook callbacks get the
plot object as first parameter. You can find some examples of defined
hooks in the plugins bundled with Flot.
- processOptions [phase 1]
```function(plot, options)```
Called after Flot has parsed and merged options. Useful in the
instance where customizations beyond simple merging of default
values is needed. A plugin might use it to detect that it has been
enabled and then turn on or off other options.
- processRawData [phase 3]
```function(plot, series, data, datapoints)```
Called before Flot copies and normalizes the raw data for the given
series. If the function fills in datapoints.points with normalized
points and sets datapoints.pointsize to the size of the points,
Flot will skip the copying/normalization step for this series.
In any case, you might be interested in setting datapoints.format,
an array of objects for specifying how a point is normalized and
how it interferes with axis scaling. It accepts the following options:
```js
{
x, y: boolean,
number: boolean,
required: boolean,
defaultValue: value,
autoscale: boolean
}
```
"x" and "y" specify whether the value is plotted against the x or y axis,
and is currently used only to calculate axis min-max ranges. The default
format array, for example, looks like this:
```js
[
{ x: true, number: true, required: true },
{ y: true, number: true, required: true }
]
```
This indicates that a point, i.e. [0, 25], consists of two values, with the
first being plotted on the x axis and the second on the y axis.
If "number" is true, then the value must be numeric, and is set to null if
it cannot be converted to a number.
"defaultValue" provides a fallback in case the original value is null. This
is for instance handy for bars, where one can omit the third coordinate
(the bottom of the bar), which then defaults to zero.
If "required" is true, then the value must exist (be non-null) for the
point as a whole to be valid. If no value is provided, then the entire
point is cleared out with nulls, turning it into a gap in the series.
"autoscale" determines whether the value is considered when calculating an
automatic min-max range for the axes that the value is plotted against.
- processDatapoints [phase 3]
```function(plot, series, datapoints)```
Called after normalization of the given series but before finding
min/max of the data points. This hook is useful for implementing data
transformations. "datapoints" contains the normalized data points in
a flat array as datapoints.points with the size of a single point
given in datapoints.pointsize. Here's a simple transform that
multiplies all y coordinates by 2:
```js
function multiply(plot, series, datapoints) {
var points = datapoints.points, ps = datapoints.pointsize;
for (var i = 0; i < points.length; i += ps)
points[i + 1] *= 2;
}
```
Note that you must leave datapoints in a good condition as Flot
doesn't check it or do any normalization on it afterwards.
- processOffset [phase 4]
```function(plot, offset)```
Called after Flot has initialized the plot's offset, but before it
draws any axes or plot elements. This hook is useful for customizing
the margins between the grid and the edge of the canvas. "offset" is
an object with attributes "top", "bottom", "left" and "right",
corresponding to the margins on the four sides of the plot.
- drawBackground [phase 5]
```function(plot, canvascontext)```
Called before all other drawing operations. Used to draw backgrounds
or other custom elements before the plot or axes have been drawn.
- drawSeries [phase 5]
```function(plot, canvascontext, series)```
Hook for custom drawing of a single series. Called just before the
standard drawing routine has been called in the loop that draws
each series.
- draw [phase 5]
```function(plot, canvascontext)```
Hook for drawing on the canvas. Called after the grid is drawn
(unless it's disabled or grid.aboveData is set) and the series have
been plotted (in case any points, lines or bars have been turned
on). For examples of how to draw things, look at the source code.
- bindEvents [phase 6]
```function(plot, eventHolder)```
Called after Flot has setup its event handlers. Should set any
necessary event handlers on eventHolder, a jQuery object with the
canvas, e.g.
```js
function (plot, eventHolder) {
eventHolder.mousedown(function (e) {
alert("You pressed the mouse at " + e.pageX + " " + e.pageY);
});
}
```
Interesting events include click, mousemove, mouseup/down. You can
use all jQuery events. Usually, the event handlers will update the
state by drawing something (add a drawOverlay hook and call
triggerRedrawOverlay) or firing an externally visible event for
user code. See the crosshair plugin for an example.
Currently, eventHolder actually contains both the static canvas
used for the plot itself and the overlay canvas used for
interactive features because some versions of IE get the stacking
order wrong. The hook only gets one event, though (either for the
overlay or for the static canvas).
Note that custom plot events generated by Flot are not generated on
eventHolder, but on the div placeholder supplied as the first
argument to the plot call. You can get that with
plot.getPlaceholder() - that's probably also the one you should use
if you need to fire a custom event.
- drawOverlay [phase 7]
```function (plot, canvascontext)```
The drawOverlay hook is used for interactive things that need a
canvas to draw on. The model currently used by Flot works the way
that an extra overlay canvas is positioned on top of the static
canvas. This overlay is cleared and then completely redrawn
whenever something interesting happens. This hook is called when
the overlay canvas is to be redrawn.
"canvascontext" is the 2D context of the overlay canvas. You can
use this to draw things. You'll most likely need some of the
metrics computed by Flot, e.g. plot.width()/plot.height(). See the
crosshair plugin for an example.
- shutdown [phase 8]
```function (plot, eventHolder)```
Run when plot.shutdown() is called, which usually only happens in
case a plot is overwritten by a new plot. If you're writing a
plugin that adds extra DOM elements or event handlers, you should
add a callback to clean up after you. Take a look at the section in
the [PLUGINS](PLUGINS.md) document for more info.
## Plugins ##
Plugins extend the functionality of Flot. To use a plugin, simply
include its Javascript file after Flot in the HTML page.
If you're worried about download size/latency, you can concatenate all
the plugins you use, and Flot itself for that matter, into one big file
(make sure you get the order right), then optionally run it through a
Javascript minifier such as YUI Compressor.
Here's a brief explanation of how the plugin plumbings work:
Each plugin registers itself in the global array $.plot.plugins. When
you make a new plot object with $.plot, Flot goes through this array
calling the "init" function of each plugin and merging default options
from the "option" attribute of the plugin. The init function gets a
reference to the plot object created and uses this to register hooks
and add new public methods if needed.
See the [PLUGINS](PLUGINS.md) document for details on how to write a plugin. As the
above description hints, it's actually pretty easy.
## Version number ##
The version number of Flot is available in ```$.plot.version```.
|
274056675/springboot-openai-chatgpt | 1,207 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/enhance/images/ViewImageHandleListEnhance.java | package org.springblade.modules.mjkj.enhance.images;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springblade.modules.mjkj.common.cgform.model.CgformEnhanceJavaListInter;
import org.springblade.modules.mjkj.common.config.exception.BusinessException;
import org.springblade.modules.mjkj.common.utils.MjkjUtils;
import org.springblade.modules.mjkj.mapper.MngMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;
/**
* 图片审核
*view_image_handle
*/
@Component("viewImageHandleListEnhance")
public class ViewImageHandleListEnhance implements CgformEnhanceJavaListInter {
@Autowired
private MngMapper mngMapper;
/**
* @param tableName
* @param list
*/
public void execute(String tableName, String tenantId, List<Map<String, Object>> list, Map<String, Object> params)
throws BusinessException {
MjkjUtils.clearList(list);
Page page = MjkjUtils.getPage(params);
IPage pages = mngMapper.getViewImageTodoList(page, params);
MjkjUtils.setPageResult(params,pages);
}
}
|
274056675/springboot-openai-chatgpt | 1,260 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/enhance/images/ViewImageHandleDetailEnhance.java | package org.springblade.modules.mjkj.enhance.images;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springblade.modules.mjkj.common.cgform.model.CgformEnhanceJavaListInter;
import org.springblade.modules.mjkj.common.config.exception.BusinessException;
import org.springblade.modules.mjkj.common.utils.MjkjUtils;
import org.springblade.modules.mjkj.mapper.MngMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;
/**
* 图片审核
*view_image_handle
*/
@Component("viewImageHandleDetailEnhance")
public class ViewImageHandleDetailEnhance implements CgformEnhanceJavaListInter {
@Autowired
private MngMapper mngMapper;
/**
* @param tableName
* @param list
*/
public void execute(String tableName, String tenantId, List<Map<String, Object>> list, Map<String, Object> params)
throws BusinessException {
MjkjUtils.clearList(list);
Page page = MjkjUtils.getPage(params);
IPage pages = mngMapper.getViewImageTodoList(page, params);
List<Map<String,Object>> dataMapList = pages.getRecords();
list.addAll(dataMapList);
}
}
|
274056675/springboot-openai-chatgpt | 37,424 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/service/impl/WebServiceImpl.java | package org.springblade.modules.mjkj.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import lombok.extern.slf4j.Slf4j;
import org.springblade.core.log.exception.ServiceException;
import org.springblade.core.secure.utils.AuthUtil;
import org.springblade.core.tool.utils.DateUtil;
import org.springblade.core.tool.utils.Func;
import org.springblade.core.tool.utils.RandomType;
import org.springblade.core.tool.utils.RedisUtil;
import org.springblade.modules.mjkj.common.cgform.service.IMjkjBaseSqlService;
import org.springblade.modules.mjkj.common.config.constant.ChatgptConfig;
import org.springblade.modules.mjkj.common.constant.AiModelConstant;
import org.springblade.modules.mjkj.common.constant.ServiceTypeConstant;
import org.springblade.modules.mjkj.common.utils.MjkjUtils;
import org.springblade.modules.mjkj.mapper.WebMapper;
import org.springblade.modules.mjkj.model.*;
import org.springblade.modules.mjkj.param.MoreFunParam;
import org.springblade.modules.mjkj.service.IChatGPTService;
import org.springblade.modules.mjkj.service.IWebService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.util.List;
import java.util.*;
/**
* 前台相关
*/
@Slf4j
@Service
public class WebServiceImpl implements IWebService {
@Resource
private IMjkjBaseSqlService baseSqlService;
@Autowired
private IChatGPTService chatGPTService;
@Autowired
private RedisUtil redisUtil;
@Autowired
private WebMapper webMapper;
//删除用户
@Override
public void delWuserInfo(String wxuserId) {
Map<String, Object> wxuserMap = baseSqlService.getTableById("chat_wxuser", wxuserId);
if (Func.isEmpty(wxuserMap)) {
throw new ServiceException("用户不存在");
}
baseSqlService.baseDeleteSqlStr("chat_wxuser", wxuserId);
}
//获取用户详情
@Override
public WxUserInfoModel getWxUsrInfo() {
return this.getWxUsrInfo(null);
}
//获取用户详情
@Override
public WxUserInfoModel getWxUsrInfo(String type) {
Long userId = AuthUtil.getUserId();
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("is_deleted", 0);
wrapper.eq("blade_user_id", userId);
Map<String, Object> dataMap = baseSqlService.getDataOneByFieldParams("chat_wxuser", wrapper);
if (Func.isEmpty(dataMap)) {
throw new RuntimeException("数据不存在");
}
String wxuserId = MjkjUtils.getMap2Str(dataMap, "id");
//获取次数
Integer messageCou = 0;
messageCou = this.getMessageCou(wxuserId);
//获取等级
String levelTitle = this.getLevelTitle(messageCou);
//代理商
String isAgent = MjkjUtils.getMap2Str(dataMap, "is_agent");
Date expireTime = MjkjUtils.getMap2DateTime(dataMap, "expire_time");
//处理会员--------开始---------
boolean memberFlag = false;
Date now = DateUtil.now();
if (Func.isNotEmpty(expireTime) && expireTime.getTime() >= now.getTime()) {
memberFlag = true;
}
//处理会员--------结束---------
//禁言截至时间--------开始---------
Date stopSendTime = MjkjUtils.getMap2DateTime(dataMap, "stop_send_time");
if (Func.isNotEmpty(stopSendTime)) {
if (now.getTime() > stopSendTime.getTime()) {//当前时间已经超过,说明可以放开了
Map<String, Object> updateMap = new HashMap<>();
updateMap.put("stop_send_time", null);
baseSqlService.baseUpdateData("chat_wxuser", updateMap, wxuserId);
stopSendTime = null;//返回前端改为空
}
}
//禁言截至时间--------结束---------
QueryWrapper<Object> lastChatWrapper = new QueryWrapper<>();
lastChatWrapper.eq("is_deleted", 0);
lastChatWrapper.eq("blade_user_id", userId);
lastChatWrapper.select("message_time");
lastChatWrapper.orderByAsc("id+0");
Map<String, Object> messageMap = baseSqlService.getDataOneByFieldParams("chat_log_message", lastChatWrapper);
Date messageTime = MjkjUtils.getMap2DateTime(messageMap, "message_time");
//获取当前的数量
boolean buyFlag = true;
if (Func.isNotEmpty(expireTime)) {
String expireYYYY = DateUtil.format(expireTime, "yyyy");
String nowYYYY = DateUtil.format(now, "yyyy");
if ((Func.toInt(expireYYYY) - Func.toInt(nowYYYY)) > 100) {//大于100年就是永久
String allTime = "9999-12-31 23:59:59";
buyFlag = false;
expireTime = DateUtil.parse(allTime, DateUtil.PATTERN_DATETIME);
}
}
String wxName = MjkjUtils.getMap2Str(dataMap, "wx_name");
//微信专属连接
String wxShareUrl = MjkjUtils.getMap2Str(dataMap, "wx_share_url");
String inviteCode = MjkjUtils.getMap2Str(dataMap, "invite_code");
//用户信息里的邀请码为空,生成新的邀请码
if (Func.isEmpty(inviteCode)){
inviteCode = this.getNewInviteCode();
Map<String,Object> updateMap = new HashMap<>();
updateMap.put("invite_code",inviteCode);
baseSqlService.baseUpdateData("chat_wxuser",updateMap,wxuserId);
}
String phone = MjkjUtils.getMap2Str(dataMap, "phone");
if (Func.isEmpty(wxName)) {
wxName = "匿名用户";
} else if (Func.isNotEmpty(phone) && Func.equals(phone, wxName)) {//如果手机号码和名称一样,则强制改为匿名用户
wxName = "匿名用户";
}
String userCode = MjkjUtils.getMap2Str(dataMap, "user_code");
if (Func.isEmpty(userCode)) {//重新生成 用户号
while (true) {
userCode = Func.random(10, RandomType.INT);
Map<String, Object> userCodeMap = baseSqlService.getDataOneByField("chat_wxuser", "user_code", userCode);
if (Func.isEmpty(userCodeMap)) {
String id = MjkjUtils.getMap2Str(dataMap, "id");
Map<String,Object> updateMap=new HashMap<>();
updateMap.put("user_code",userCode);
baseSqlService.baseUpdateData("chat_wxuser",updateMap,id);
break;
}
}
}
WxUserInfoModel model = new WxUserInfoModel();
model.setId(MjkjUtils.getMap2Str(dataMap, "id"));
model.setBladeUserId(userId);
model.setWxName(wxName);
model.setWxName_Dim(MjkjUtils.desensitizeStr(wxName, "匿名用户"));
model.setWxAvatar(MjkjUtils.getMap2Str(dataMap, "wx_avatar"));
model.setChatCode(MjkjUtils.getMap2Str(dataMap, "chat_code"));
model.setOpenId(MjkjUtils.getMap2Str(dataMap, "open_id"));
model.setMessageCou(messageCou);
model.setLeveTitler(levelTitle);
model.setViewModel("1");//动态模式
model.setExpireTime(expireTime);//到期时间
model.setBuyFlag(buyFlag);
model.setMemberFlag(memberFlag);
model.setLastChatTime(messageTime);
model.setExprotMinDate(messageTime);
model.setPhone(phone);//
model.setQuestionCou(MjkjUtils.getMap2Integer(dataMap, "question_cou"));
if (memberFlag) {//会员无限制
model.setQuestionCouStr("无限次");
}
model.setInviteCode(inviteCode);
model.setPosterUrl(MjkjUtils.getMap2Str(dataMap, "poster_url"));//海报地址
model.setPosterWxUrl(MjkjUtils.getMap2Str(dataMap, "poster_wx_url"));//微信端海报地址
model.setStopSendTime(stopSendTime);//禁言截至时间
// model.setViewRewardAdvertCou(viewRewardAdvertCou);//观看视频次数
model.setWxShareUrl(wxShareUrl);
model.setUserCode(userCode);//用户号
model.setIsAgent(isAgent);//是否代理商
model.setRl_cou(MjkjUtils.getMap2Integer(dataMap,"rl_cou"));
model.setRl_used_cou(MjkjUtils.getMap2Integer(dataMap,"rl_used_cou"));
model.setSign(Func.isNotEmpty(dataMap.get("sign"))?MjkjUtils.getMap2Str(dataMap,"sign"):null);
return model;
}
//获取openId
@Override
public String getOpenId() {
Long userId = AuthUtil.getUserId();
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("is_deleted", 0);
wrapper.eq("blade_user_id", userId);
wrapper.select("open_id");
Map<String, Object> dataMap = baseSqlService.getDataOneByFieldParams("chat_wxuser", wrapper);
if (Func.isEmpty(dataMap)) {
throw new ServiceException("数据不存在");
}
return MjkjUtils.getMap2Str(dataMap, "open_id");
}
//获取微信id----走缓存
@Override
public String getChatCode() {
//走缓存
Long userId = AuthUtil.getUserId();
String redisKey = MjkjUtils.getRedisKeyWuserId(userId);
if (redisUtil.hasKey(redisKey)) {
return (String) redisUtil.get(redisKey);
}
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("is_deleted", 0);
wrapper.eq("blade_user_id", userId);
wrapper.select("chat_code");
Map<String, Object> dataMap = baseSqlService.getDataOneByFieldParams("chat_wxuser", wrapper);
if (Func.isEmpty(dataMap)) {
throw new ServiceException("数据不存在");
}
String chatCode = MjkjUtils.getMap2Str(dataMap, "chat_code");
redisUtil.set(redisKey, chatCode);
return chatCode;
}
//获取微信id ---- 走缓存
@Override
public String getWxuserId() {
//走缓存
Long userId = AuthUtil.getUserId();
String redisKey = MjkjUtils.getRedisKeyWuserId(userId);
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("is_deleted", 0);
wrapper.eq("blade_user_id", userId);
wrapper.select("id");
Map<String, Object> dataMap = baseSqlService.getDataOneByFieldParams("chat_wxuser", wrapper);
if (Func.isEmpty(dataMap)) {
throw new ServiceException("数据不存在");
}
String wuserId = MjkjUtils.getMap2Str(dataMap, "id");
redisUtil.set(redisKey, wuserId);
return wuserId;
}
//获取问题可提问次数
@Override
public Integer getWuserQuestionCou(Long bladeUserId , String numType) {
if (Func.isEmpty(bladeUserId)) {
bladeUserId = AuthUtil.getUserId();
}
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("is_deleted", 0);
wrapper.eq("blade_user_id", bladeUserId);
switch (numType){
case "question" :
wrapper.select("question_cou");//问题次数
break;
case "rl" :
wrapper.select("rl_cou");
break;
}
Map<String, Object> dataMap = baseSqlService.getDataOneByFieldParams("chat_wxuser", wrapper);
if (Func.isEmpty(dataMap)) {
return 0;
}
switch (numType) {
case "question" :
return MjkjUtils.getMap2Integer(dataMap, "question_cou");
case "rl" :
return MjkjUtils.getMap2Integer(dataMap, "rl_cou");
}
return MjkjUtils.getMap2Integer(dataMap, "question_cou");
}
//获取提问一次消耗多少次
@Override
public Integer getOneQuestionUseNum() {
try {
String val = this.getCsszVal("question_use_num", "1");//1
if (Func.isEmpty(val)) {
return 1;
}
return Func.toInt(val);
} catch (Exception e) {
}
return 1;
}
//发送问题
@Transactional(rollbackFor = Exception.class)
@Override
public List<ChatGptMsgModel> sendQuestion(String question, Long startMessageId, Integer useNum, String textType, Long chatListIdL) {
Long bladeUserId = AuthUtil.getUserId();
String wxuserId = this.getWxuserId();
String chatCode = this.getChatCode();
Date qMessageTime = DateUtil.now();
String qMessageId = IdWorker.getIdStr();
WxUserInfoModel wxUserInfoModel = this.getWxUsrInfo();
//查询用户有没有设置模型
Map<String, Object> settingMap = baseSqlService.getDataOneByField("chat_wxuser_setting", "wxuser_id", wxuserId);
if (Func.isEmpty(settingMap)) { //用户没有设置模型,给他默认设置
settingMap = new HashMap<>();
settingMap.put("id", IdWorker.getIdStr());
settingMap.put("wxuser_id", wxuserId);
settingMap.put("blade_user_id", bladeUserId);
settingMap.put("translate_lang", "中文");
settingMap.put("ai_model", ChatgptConfig.getChatgptModel());
settingMap.put("image_model", ChatgptConfig.getImageModel());
baseSqlService.baseInsertData("chat_wxuser_setting", settingMap);
}
List<Map<String, Object>> accountMapList = baseSqlService.getDataListByField("chat_api_account", "gpt_state", 0);//1
if (Func.isEmpty(accountMapList)) {
throw new ServiceException("账户配置有误,请联系客服处理");
}
ChatGptMsgModel questionMsgModel = new ChatGptMsgModel();
questionMsgModel.setId(qMessageId);
questionMsgModel.setPid("-1");
questionMsgModel.setChatCode(chatCode);
questionMsgModel.setMessage_type(MessageType.Q);//q =问题 a=答案
questionMsgModel.setMessage_content(question);
questionMsgModel.setMessage_time(qMessageTime);
questionMsgModel.setView_type(ViewType.TEXT);
questionMsgModel.setChat_list_id(String.valueOf(chatListIdL));
//返回结果,如果有敏感字的话,直接返回
Map<String, Object> insertMap = new HashMap<>();
insertMap.put("id", qMessageId);
insertMap.put("wxuser_id", wxuserId);
insertMap.put("message_type", MessageType.Q);//q =问题 a=答案
insertMap.put("message_content", question);
insertMap.put("message_time", qMessageTime);
insertMap.put("blade_user_id", bladeUserId);
insertMap.put("view_type", ViewType.TEXT);
insertMap.put("model_type", 0);
insertMap.put("context_flag", 1);//支持上下文
if (chatListIdL != 0L) {
insertMap.put("chat_list_id", String.valueOf(chatListIdL));
}
//校验是否有敏感词
List<ChatGptMsgModel> resultModelList = new ArrayList<>();
resultModelList.add(questionMsgModel);
//判断模型需要消耗的燃料,如果剩余燃料数不够用,就切换为默认的模型
String aiModel = MjkjUtils.getMap2Str(settingMap, "ai_model");
Integer rl = 0;
Integer nowRl = wxUserInfoModel.getRl_cou();
if (rl > 0 && nowRl < rl) {
aiModel = ChatgptConfig.getChatgptModel();
Map<String, Object> updateMap = new HashMap<>();
updateMap.put("ai_model", aiModel);
baseSqlService.baseUpdateDataWhere("chat_wxuser_setting", updateMap, "wxuser_id", wxuserId);
rl = 0;
}
if (rl != 0) {
Map<String, Object> updateMap = new HashMap<>();
updateMap.put("rl_used_cou", wxUserInfoModel.getRl_used_cou() + rl);
baseSqlService.baseUpdateData("chat_wxuser", updateMap, wxuserId);
this.subWxuserQuestionNum(bladeUserId, wxuserId, ServiceTypeConstant.tw, rl, qMessageId, "AI问答->消耗燃料", "rl");
} else {
this.subWxuserQuestionNum(bladeUserId, wxuserId, ServiceTypeConstant.tw, useNum, qMessageId, "AI问答->消耗积分", "question");
}
baseSqlService.baseInsertData("chat_log_message", insertMap);
if (Func.equals(aiModel, AiModelConstant.gpt_3_0)) {
chatGPTService.sendChatGptMessage(wxuserId, qMessageId, question, startMessageId, chatListIdL);
} else if (Func.equals(aiModel, AiModelConstant.gpt_3_5)) {
chatGPTService.sendChatGptTurboMessage(wxuserId, qMessageId, question, startMessageId, qMessageTime, chatListIdL);
}
return resultModelList;
}
//获取历史聊天记录
@Override
public IPage<Map<String, Object>> getMessageHistoryList(Long startNum, String modelType, IPage<Object> page, String chatListId,String type) {
Long userId = AuthUtil.getUserId();
//获取总数
QueryWrapper<Object> totalWrapper = new QueryWrapper<Object>();
totalWrapper.eq("blade_user_id", userId);
totalWrapper.eq("model_type", modelType);
totalWrapper.eq("is_deleted", 0);
if ( Func.isNotEmpty(chatListId) && Func.equals(type,"pc") ) {
totalWrapper.eq("chat_list_id",chatListId);
}
totalWrapper.select("count(1) as cou");
Map<String, Object> totalMap = baseSqlService.getDataOneByFieldParams("chat_log_message", totalWrapper);
Long totalCou = MjkjUtils.getMap2Long(totalMap, "cou");
QueryWrapper<Object> wrapper = new QueryWrapper<Object>();
wrapper.eq("blade_user_id", userId);
wrapper.eq("model_type", modelType);
wrapper.eq("is_deleted", 0);
if ( Func.isNotEmpty(chatListId) && Func.equals(type,"pc") ) {
wrapper.eq("chat_list_id",chatListId);
}
if (Func.isNotEmpty(startNum)) {
wrapper.le("id+0", startNum);// <=
}
wrapper.orderByDesc("id+0");
IPage<Map<String, Object>> pages = baseSqlService.getDataIPageByFieldParams("chat_log_message", page, wrapper);
List<Map<String, Object>> records = pages.getRecords();
if (Func.isNotEmpty(records)) {
Collections.reverse(records);
pages.setRecords(records);
}
pages.setTotal(totalCou);//重置总数
return pages;
}
//获取历史聊天记录
@Override
public List<Map<String, Object>> getMessageLastList(Long startNum, String modelType,String type,String chatListId) {
Long userId = AuthUtil.getUserId();
QueryWrapper<Object> wrapper = new QueryWrapper<Object>();
wrapper.eq("blade_user_id", userId);
wrapper.eq("model_type", modelType);
wrapper.eq("is_deleted", 0);
wrapper.eq("message_type", "a");//回答
if (Func.equals(type,"pc")){
wrapper.eq("chat_list_id",chatListId);
}
if (Func.isNotEmpty(startNum)) {
wrapper.gt("id+0", startNum);// >
}
wrapper.orderByDesc("id+0");
List<Map<String, Object>> resultList = baseSqlService.getDataListByFieldParams("chat_log_message", wrapper);
Collections.reverse(resultList);
return resultList;
}
//获取消息次数
@Override
public Integer getMessageCou(String wxuserId) {
Integer cou = webMapper.getMessageCou(wxuserId);
if (Func.isEmpty(cou)) {
cou = 0;
}
return cou;
}
//获取等级列表
@Override
public List<Map<String, Object>> getLevelList() {
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("is_deleted", "0");
wrapper.orderByDesc("ind");
List<Map<String, Object>> dataList = baseSqlService.getDataListByFieldParams("chat_level", wrapper);
return dataList;
}
//获取等级名称
@Override
public String getLevelTitle(int cou) {
List<Map<String, Object>> dataMapList = this.getLevelList();
if (Func.isEmpty(dataMapList)) {
return "";
}
for (Map<String, Object> dataMap : dataMapList) {
Integer start_num = MjkjUtils.getMap2Integer(dataMap, "start_num");
Integer end_num = MjkjUtils.getMap2Integer(dataMap, "end_num");
String title = MjkjUtils.getMap2Str(dataMap, "title");
if (cou >= start_num && cou <= end_num) {
return title;
}
}
return "";
}
//获取参数设置
@Override
public String getCsszVal(String code, String defaultVal) {
Map<String, Object> dataMap = baseSqlService.getDataOneByField("chat_system_cssz", "code", code);
if (Func.isEmpty(dataMap)) {
return defaultVal;
}
String val = MjkjUtils.getMap2Str(dataMap, "val");
if (Func.isEmpty(val)) {
return defaultVal;
}
return val;
}
//获取参数设置
//增加用户次数
@Transactional
@Override
public void addWxuserQuestionNum(Long bladeUserId, String wxuserId, Integer serviceType, Integer num, String questionId, String remark ,String numType) {
if(num<=0){
return;
}
this.wxuserQuestionNum(bladeUserId, "ADD", serviceType, wxuserId, num, questionId, remark, numType);
}
//减用户次数
@Transactional
@Override
public void subWxuserQuestionNum(Long bladeUserId, String wxuserId, Integer serviceType, Integer num, String questionId, String remark,String numType) {
if(num<=0){
return;
}
this.wxuserQuestionNum(bladeUserId, "SUB", serviceType, wxuserId, num, questionId, remark,numType);
}
//加锁
private synchronized void wxuserQuestionNum(Long bladeUserId, String type, Integer serviceType, String wxuserId, Integer num, String questionId, String remark ,String numType) {
Integer before_num = this.getWuserQuestionCou(bladeUserId,numType);//用户各类可用次数
Integer after_num = 0;
if (Func.equals(type, "ADD")) {//增加
after_num = before_num + num;
} else if (Func.equals(type, "SUB")) {//减少
after_num = before_num - num;
}
//更新用户使用后的次数
Map<String, Object> wuserUpdateMap = new HashMap<>();
switch (numType) {
case "question":
wuserUpdateMap.put("question_cou" , after_num);
break;
case "rl":
wuserUpdateMap.put("rl_cou" , after_num);
break;
}
baseSqlService.baseUpdateData("chat_wxuser", wuserUpdateMap, wxuserId);
Date now = DateUtil.now();
//插入使用记录
Map<String, Object> detailMap = new HashMap<>();
detailMap.put("wxuser_id", wxuserId);
detailMap.put("service_type", serviceType);
detailMap.put("type", type);
detailMap.put("num", num);
detailMap.put("before_num", before_num);
detailMap.put("after_num", after_num);
detailMap.put("operate_time", now);
detailMap.put("question_id", questionId);
detailMap.put("remark", remark);
baseSqlService.baseInsertData("chat_log_num", detailMap);
}
//获取新邀请码
@Override
public String getNewInviteCode() {
String inviteCode = "";
while (true) {
inviteCode = Func.random(8, RandomType.ALL);
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("is_deleted", 0);
wrapper.eq("invite_code", inviteCode);
wrapper.select("id");
Map<String, Object> dataMap = baseSqlService.getDataOneByFieldParams("chat_wxuser", wrapper);
if (Func.isEmpty(dataMap)) {
return inviteCode;
}
}
}
//根据邀请码获取用户id
@Override
public String getWxuseridByInvitecode(String invitecode) {
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("is_deleted", 0);
wrapper.eq("invite_code", invitecode);
wrapper.select("id");
Map<String, Object> dataMap = baseSqlService.getDataOneByFieldParams("chat_wxuser", wrapper);
return MjkjUtils.getMap2Str(dataMap, "id");
}
//根据邀请码获取用户id
@Override
public Map<String, Object> getWxuserMapByInvitecode(String invitecode) {
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("is_deleted", 0);
wrapper.eq("invite_code", invitecode);
Map<String, Object> dataMap = baseSqlService.getDataOneByFieldParams("chat_wxuser", wrapper);
return dataMap;
}
//根据邀请码获取用户id
@Override
public Map<String, Object> getWxuseridByUUID(String uuid) {
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("is_deleted", 0);
wrapper.eq("uuid", uuid);
Map<String, Object> dataMap = baseSqlService.getDataOneByFieldParams("chat_wxuser", wrapper);
return dataMap;
}
/**
* 生成文件下载码
*
* @return
*/
//获取用户自定义设置
@Override
public Map<String, Object> getWxUserSetting(String wxUserId) {
Map<String, Object> settingMap = baseSqlService.getDataOneByField("chat_wxuser_setting", "wxuser_id", wxUserId);
if (Func.isEmpty(settingMap)) {
settingMap = new HashMap<>();
settingMap.put("translate_lang", "中文");
settingMap.put("wxuser_id", wxUserId);
settingMap.put("blade_user_id", AuthUtil.getUserId());
settingMap.put("ai_model",ChatgptConfig.getChatgptModel());
settingMap.put("image_model",ChatgptConfig.getImageModel());
baseSqlService.baseInsertData("chat_wxuser_setting", settingMap);
}
return settingMap;
}
//获取热门消息
@Override
public IPage<Map<String, Object>> getMessageHotList(IPage<Object> page) {
return webMapper.getMessageHotList(page);
}
//发送更多好玩
@Async("asyncPoolTaskExecutor")
@Override
public void sendMoreFun(String wxuserId, Long bladeUserId, Integer useNum, MoreFunParam param) {
String systemTitle = param.getSystemTitle();
String content = param.getContent();
String textType = param.getText_type();
content = content + " 请以MarkDown格式回复";
String funFataId = param.getFunFataId();
Map<String, Object> funDataMap = baseSqlService.getTableById("chat_fun_data", funFataId);
String funName = MjkjUtils.getMap2Str(funDataMap, "fun_name");//更多好玩名称
Map<String, Object> wxUserSetting = this.getWxUserSetting(wxuserId);
String aiModel = MjkjUtils.getMap2Str(wxUserSetting,"ai_model");
Map<String, Object> wxuserMap = baseSqlService.getTableById("chat_wxuser", wxuserId);
Integer rl = MjkjUtils.getMap2Integer(wxuserMap,"rl_cou");
Integer useRl = this.judgeModel(aiModel);
if( rl < useRl ){
aiModel = ChatgptConfig.getChatgptModel();
Map<String,Object> updateMap = new HashMap<>();
updateMap.put("ai_model",aiModel);
baseSqlService.baseUpdateDataWhere("chat_wxuser_setting",updateMap,"wxuser_id",wxuserId);
useRl = 0;
}
//需要减掉次数
if( ( useRl>0 ) && ( (rl> useRl)|| (rl == useRl) )) {
this.subWxuserQuestionNum(bladeUserId,wxuserId,ServiceTypeConstant.gdhw,useRl,null,"指令库->消耗燃料"+ funName,"rl");
}//扣除燃料次数
else {
this.subWxuserQuestionNum(bladeUserId, wxuserId, ServiceTypeConstant.gdhw, useNum, null, "指令库->消耗积分" + funName,"question");
}//扣除次数
Date requestTime = DateUtil.now();//请求时间
//敏感词
String result = "";
String id = IdWorker.getIdStr();
List<MessageModel> messagesList = new ArrayList<>();
MessageModel sysModel = new MessageModel();
sysModel.setRole(MessageModelRoleType.SYSTEM);
sysModel.setContent(systemTitle);
messagesList.add(sysModel);//封装参数
MessageModel userModel = new MessageModel();
userModel.setRole(MessageModelRoleType.USER);
userModel.setContent(content);
messagesList.add(userModel);//封装参数
if ( Func.isEmpty( aiModel)){
aiModel = "ernie-bot-turbo";
}
result = chatGPTService.sendNowTimeChatGptTurboMessage(messagesList , aiModel);
Date responseTime = DateUtil.now();//响应时间
// String id = IdWorker.getIdStr();
Map<String, Object> addLogMap = new HashMap<>();
addLogMap.put("id", id);
addLogMap.put("wxuser_id", wxuserId);
addLogMap.put("fun_data_id", param.getFunFataId());
addLogMap.put("fun_name", funName);
addLogMap.put("system_title", systemTitle);
addLogMap.put("message_q", content);
addLogMap.put("message_a", result);
addLogMap.put("message_q_time", requestTime);
addLogMap.put("message_a_time", responseTime);
addLogMap.put("param_json", param.getParamJson());
addLogMap.put("store_status",1);
if (Func.isNotEmpty(param.getChat_list_id())){
addLogMap.put("chat_list_id",param.getChat_list_id());
}
baseSqlService.baseInsertData("chat_log_message_fun", addLogMap);
//存储到redis
String redisKey = MjkjUtils.getRedisKeyMoreFun(wxuserId, param.getFunFataId());
redisUtil.set(redisKey, addLogMap);
String chatCode = MjkjUtils.getMap2Str(wxuserMap, "chat_code");
}
//签到
@Override
public void sign(String wxuserId, Date date) {
Map<String, Object> wxuserMap = baseSqlService.getTableById("chat_wxuser", wxuserId);
String wx_name = MjkjUtils.getMap2Str(wxuserMap, "wx_name");
Long bladeUserId = MjkjUtils.getMap2Long(wxuserMap, "blade_user_id");
//校验最近7天是否签到
String week = MjkjUtils.getWeek(date);
Integer awardCou = 0;
if (Func.equals(week, "星期日")) {
//如果是周日,要检验前面6次是否连续签到
boolean lxFlag = true;
for (int i = 1; i < 7; i++) {
Date date1 = DateUtil.plusDays(date, -i);
String redisKeySign = MjkjUtils.getRedisKeySign(bladeUserId, date1);
if (!redisUtil.hasKey(redisKeySign)) {
lxFlag = false;
break;
}
}
if (lxFlag) {//连续
String val = this.getCsszVal("sign_week_cou", "0");//1
awardCou = Func.toInt(val);//每天奖励次数
} else {
String val = this.getCsszVal("sign_day_cou", "0");//1
awardCou = Func.toInt(val);//每天奖励次数
}
} else {
String val = this.getCsszVal("sign_day_cou", "0");//1
awardCou = Func.toInt(val);//每天奖励次数
}
//进行签到
Map<String, Object> addMap = new HashMap<>();
addMap.put("wxuser_id", wxuserId);
addMap.put("wxuser_name", wx_name);
addMap.put("award_cou", awardCou);
addMap.put("sign_time", date);
baseSqlService.baseInsertData("chat_log_sign", addMap);
this.addWxuserQuestionNum(bladeUserId, wxuserId, ServiceTypeConstant.qd, awardCou, null, "签到奖励积分","question");
//写入到缓存
String redisKey = MjkjUtils.getRedisKeySign(bladeUserId, date);
redisUtil.set(redisKey, awardCou);
}
//获取下级要求数量
public IPage<Map<String, Object>> getSubCouList(String wxuserId, IPage<Object> page) {
return webMapper.getSubCouList(wxuserId, page);
}
//判断模型是否需要燃料
@Override
public Integer judgeModel(String modelName) {
Map<String,Object> modelMap = baseSqlService.getDataOneByField("chat_model","mx_lx",modelName);
if (Func.isNotEmpty(modelMap)) {
Integer isUseRl = MjkjUtils.getMap2Integer(modelMap,"is_use_rl");
if (isUseRl == 0){
return 0;
}
else {
return MjkjUtils.getMap2Integer(modelMap,"use_num");
}
}
return 0;
}
//获取收藏的消息
@Override
public IPage<Map<String, Object>> getStoreMessage(IPage<Object> page){
String wxuserId = this.getWxuserId();
//获取总数
QueryWrapper<Object> totalWrapper = new QueryWrapper<Object>();
totalWrapper.eq("wxuser_id", wxuserId);
totalWrapper.eq("store_status",0);
totalWrapper.eq("is_deleted", 0);
totalWrapper.select("count(1) as cou");
Map<String, Object> totalMap = baseSqlService.getDataOneByFieldParams("chat_store", totalWrapper);
Long totalCou = MjkjUtils.getMap2Long(totalMap, "cou");
QueryWrapper<Object> wrapper = new QueryWrapper<Object>();
wrapper.eq("wxuser_id", wxuserId);
wrapper.eq("is_deleted", 0);
wrapper.eq("store_status",0);
wrapper.orderByDesc("id+0");
IPage<Map<String, Object>> pages = baseSqlService.getDataIPageByFieldParams("chat_store", page, wrapper);
// List<Map<String, Object>> records = pages.getRecords();
pages.setTotal(totalCou);//重置总数
return pages;
}
//获取聊天列表
@Override
public IPage<Map<String, Object>> getChatList(IPage<Object> page){
String userId = this.getWxuserId();
//获取总数
QueryWrapper<Object> totalWrapper = new QueryWrapper<Object>();
totalWrapper.eq("wxuser_id", userId);
totalWrapper.eq("is_deleted", 0);
totalWrapper.orderByDesc("id");
totalWrapper.select("count(*) as cou");
Map<String,Object> totalMap = baseSqlService.getDataOneByFieldParams("chat_list", totalWrapper);
Integer totalCou = MjkjUtils.getMap2Integer(totalMap,"cou");
QueryWrapper<Object> wrapper = new QueryWrapper<Object>();
wrapper.eq("wxuser_id", userId);
wrapper.eq("is_deleted",0);
wrapper.orderByDesc("id");
IPage<Map<String, Object>> pages = baseSqlService.getDataIPageByFieldParams("chat_list", page, wrapper);
pages.setTotal(totalCou);//重置总数
return pages;
}
//新建聊天列表
@Override
public void createNewChatList(Long id,String type,String name,String content,String fundataId,String funJson){
if (id==0L){
return;
}
Map<String, Object> chatList = baseSqlService.getTableById("chat_list", String.valueOf(id));
if(Func.isNotEmpty(chatList)){
return;
}
Map<String,Object> insertMap = new HashMap<>();
insertMap.put("id",id);
insertMap.put("chat_type",type);
insertMap.put("chat_name",name);
insertMap.put("chat_content",content);
String wxuserId = this.getWxuserId();
insertMap.put("wxuser_id",wxuserId);
insertMap.put("fundata_id",fundataId);
insertMap.put("fun_json",funJson);
baseSqlService.baseInsertData("chat_list", insertMap);
}
@Override
public IPage<Map<String,Object>> getCreditList(IPage<Object> page){
String wxuserId = this.getWxuserId();
QueryWrapper<Object> totalWrapper = new QueryWrapper<Object>();
totalWrapper.eq("wxuser_id", wxuserId);
totalWrapper.eq("is_deleted", 0);
totalWrapper.select("count(*) as cou");
Map<String,Object> totalMap = baseSqlService.getDataOneByFieldParams("chat_log_num", totalWrapper);
Integer totalCou = MjkjUtils.getMap2Integer(totalMap,"cou");
QueryWrapper<Object> wrapper = new QueryWrapper<Object>();
wrapper.eq("wxuser_id", wxuserId);
wrapper.eq("is_deleted",0);
wrapper.orderByDesc("id");
IPage<Map<String, Object>> pages = baseSqlService.getDataIPageByFieldParams("chat_log_num", page, wrapper);
pages.setTotal(totalCou);//重置总数
return pages;
}
@Override
public IPage<Map<String,Object>> getAddCreditList(IPage<Object> page){
String wxuserId = this.getWxuserId();
QueryWrapper<Object> totalWrapper = new QueryWrapper<Object>();
totalWrapper.eq("wxuser_id", wxuserId);
totalWrapper.eq("is_deleted", 0);
totalWrapper.eq("type","ADD");
totalWrapper.select("count(*) as cou");
Map<String,Object> totalMap = baseSqlService.getDataOneByFieldParams("chat_log_num", totalWrapper);
Integer totalCou = MjkjUtils.getMap2Integer(totalMap,"cou");
QueryWrapper<Object> wrapper = new QueryWrapper<Object>();
wrapper.eq("wxuser_id", wxuserId);
wrapper.eq("is_deleted",0);
wrapper.eq("type","ADD");
wrapper.orderByDesc("id");
IPage<Map<String, Object>> pages = baseSqlService.getDataIPageByFieldParams("chat_log_num", page, wrapper);
pages.setTotal(totalCou);//重置总数
return pages;
}
@Override
public IPage<Map<String,Object>> getSubCreditList(IPage<Object> page){
String wxuserId = this.getWxuserId();
QueryWrapper<Object> totalWrapper = new QueryWrapper<Object>();
totalWrapper.eq("wxuser_id", wxuserId);
totalWrapper.eq("is_deleted", 0);
totalWrapper.eq("type","SUB");
totalWrapper.select("count(*) as cou");
Map<String,Object> totalMap = baseSqlService.getDataOneByFieldParams("chat_log_num", totalWrapper);
Integer totalCou = MjkjUtils.getMap2Integer(totalMap,"cou");
QueryWrapper<Object> wrapper = new QueryWrapper<Object>();
wrapper.eq("wxuser_id", wxuserId);
wrapper.eq("is_deleted",0);
wrapper.eq("type","SUB");
wrapper.orderByDesc("id");
IPage<Map<String, Object>> pages = baseSqlService.getDataIPageByFieldParams("chat_log_num", page, wrapper);
pages.setTotal(totalCou);//重置总数
return pages;
}
@Override
@Transactional(rollbackFor = Exception.class )
public String chatStore(String messageId,String type){
String wxuserId = this.getWxuserId();
if( Func.equals(type,"chat")){
Map<String, Object> chatLogMessage = baseSqlService.getTableById("chat_log_message", messageId);
String chatSotreId = MjkjUtils.getMap2Str(chatLogMessage,"chat_store_id");
if ((!Func.equals(chatSotreId,"0"))&&(Func.isNotEmpty(chatSotreId))){
Map<String, Object> chatStore = baseSqlService.getTableById("chat_store", chatSotreId);
Integer storeStatus = MjkjUtils.getMap2Integer(chatStore,"store_status");
storeStatus = storeStatus==0?1:0;
Map<String,Object> updateMap = new HashMap<>();
updateMap.put("store_status",storeStatus);
Map<String,Object> logMessagedateMap = new HashMap<>();
logMessagedateMap.put("store_status",storeStatus);
baseSqlService.baseUpdateData("chat_store",updateMap,chatSotreId);
baseSqlService.baseUpdateData("chat_log_message",logMessagedateMap,messageId);
return storeStatus.toString();
}else {
//插入收藏记录表
chatSotreId = IdWorker.getIdStr();
String chatType = "chat";
Integer storeStatus = 0;
String storeContent = MjkjUtils.getMap2Str(chatLogMessage,"message_content");
Map<String,Object> insertMap = new HashMap<>();
insertMap.put("chat_type",chatType);
insertMap.put("chat_content",storeContent);
insertMap.put("store_status",storeStatus);
insertMap.put("wxuser_id",wxuserId);
insertMap.put("id",chatSotreId);
insertMap.put("message_id",messageId);
insertMap.put("message_type","chat");
baseSqlService.baseInsertData("chat_store",insertMap);
//更新聊天记录表
Map<String,Object> updateMap = new HashMap<>();
updateMap.put("chat_store_id",chatSotreId);
updateMap.put("store_status",storeStatus);
baseSqlService.baseUpdateData("chat_log_message",updateMap,messageId);
return storeStatus.toString();
}
}else {
Map<String, Object> chatLogMessageFun = baseSqlService.getTableById("chat_log_message_fun", messageId);
String chatSotreId = MjkjUtils.getMap2Str(chatLogMessageFun,"chat_store_id");
if ((!Func.equals("0",chatSotreId)) && (Func.isNotEmpty(chatSotreId))){
Map<String, Object> chatStore = baseSqlService.getTableById("chat_store", chatSotreId);
Integer storeStatus = MjkjUtils.getMap2Integer(chatStore,"store_status");
storeStatus = storeStatus==0?1:0;
Map<String,Object> updateMap = new HashMap<>();
updateMap.put("store_status",storeStatus);
Map<String,Object> logMessagedateMap = new HashMap<>();
logMessagedateMap.put("store_status",storeStatus);
baseSqlService.baseUpdateData("chat_store",updateMap,chatSotreId);
baseSqlService.baseUpdateData("chat_log_message",logMessagedateMap,messageId);
return storeStatus.toString();
}
else {
//插入收藏记录表
chatSotreId = IdWorker.getIdStr();
String chatType = "tools";
Integer storeStatus = 0;
String storeContent = MjkjUtils.getMap2Str(chatLogMessageFun,"message_a");
Map<String,Object> insertMap = new HashMap<>();
insertMap.put("chat_type",chatType);
insertMap.put("chat_content",storeContent);
insertMap.put("store_status",storeStatus);
insertMap.put("wxuser_id",wxuserId);
insertMap.put("id",chatSotreId);
insertMap.put("message_id",messageId);
insertMap.put("message_type","tools");
baseSqlService.baseInsertData("chat_store",insertMap);
//更新聊天记录表
Map<String,Object> updateMap = new HashMap<>();
updateMap.put("chat_store_id",chatSotreId);
updateMap.put("store_status",storeStatus);
baseSqlService.baseUpdateData("chat_log_message_fun",updateMap,messageId);
return storeStatus.toString();
}
}
}
@Override
public IPage<Map<String,Object>> getInvitedUsers(IPage<Object> page){
String wxuserId = this.getWxuserId();
QueryWrapper<Object> totalWrapper = new QueryWrapper<>();
totalWrapper.eq("pid", wxuserId);
totalWrapper.eq("is_deleted", 0);
totalWrapper.select("count(*) as cou");
Map<String,Object> totalMap = baseSqlService.getDataOneByFieldParams("chat_wxuser", totalWrapper);
Integer totalCou = MjkjUtils.getMap2Integer(totalMap,"cou");
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("pid", wxuserId);
wrapper.eq("is_deleted",0);
IPage<Map<String, Object>> pages = baseSqlService.getDataIPageByFieldParams("chat_wxuser", page, wrapper);
List<Map<String, Object>> records = pages.getRecords();
if (Func.isNotEmpty(records)) {
Collections.reverse(records);
pages.setRecords(records);
}
pages.setTotal(totalCou);//重置总数
return pages;
}
@Override
public IPage<Map<String,Object>> getFunHistory(IPage<Object> page,String funDataId){
String wxuserId = this.getWxuserId();
QueryWrapper<Object> totalWrapper = new QueryWrapper<Object>();
totalWrapper.eq("wxuser_id", wxuserId);
totalWrapper.eq("is_deleted", 0);
totalWrapper.eq("fun_data_id",funDataId);
totalWrapper.select("count(*) as cou");
Map<String,Object> totalMap = baseSqlService.getDataOneByFieldParams("chat_log_message_fun", totalWrapper);
Integer totalCou = MjkjUtils.getMap2Integer(totalMap,"cou");
QueryWrapper<Object> wrapper = new QueryWrapper<Object>();
wrapper.eq("wxuser_id", wxuserId);
wrapper.eq("is_deleted",0);
wrapper.eq("fun_data_id",funDataId);
IPage<Map<String, Object>> pages = baseSqlService.getDataIPageByFieldParams("chat_log_message_fun", page, wrapper);
pages.setTotal(totalCou);//重置总数
return pages;
}
}
|
274056675/springboot-openai-chatgpt | 21,236 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/service/impl/ChatGPTServiceImpl.java | package org.springblade.modules.mjkj.service.impl;
import cn.hutool.crypto.SecureUtil;
import cn.hutool.crypto.symmetric.AES;
import cn.hutool.http.HttpRequest;
import cn.hutool.json.JSONUtil;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import lombok.extern.slf4j.Slf4j;
import org.springblade.core.log.exception.ServiceException;
import org.springblade.core.tool.jackson.JsonUtil;
import org.springblade.core.tool.utils.DateUtil;
import org.springblade.core.tool.utils.Func;
import org.springblade.core.tool.utils.RedisUtil;
import org.springblade.modules.mjkj.common.cgform.service.IMjkjBaseSqlService;
import org.springblade.modules.mjkj.common.config.constant.ChatgptConfig;
import org.springblade.modules.mjkj.common.constant.AiModelConstant;
import org.springblade.modules.mjkj.common.utils.MjkjUtils;
import org.springblade.modules.mjkj.model.*;
import org.springblade.modules.mjkj.param.ChatGptParam;
import org.springblade.modules.mjkj.param.ChatGptPublicParam;
import org.springblade.modules.mjkj.service.IChatGPTService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import java.util.*;
import java.util.concurrent.TimeUnit;
/**
* CHATGPT相关
*/
@Slf4j
@Service
public class ChatGPTServiceImpl implements IChatGPTService {
String MJKJ_USER = "魔晶人工智能: ";//提问者
String CHATGPT_USER = "CHATGPT人工智能: ";//回答者
String MJKJ_USER2 = "魔晶人工智能:";//提问者
String CHATGPT_USER2 = "CHATGPT人工智能:";//回答者
String MJKJ_USER3 = "魔晶人工智能";//提问者
String CHATGPT_USER3 = "CHATGPT人工智能";//回答者
@Autowired
private IMjkjBaseSqlService baseSqlService;
@Autowired
private RedisUtil redisUtil;
private static String aesKey = "EgzdVGYalHE1pUNMO3CeIKatKmuocz07";
/**
* 异步处理
*
* @param wxUserId
* @param q_logMessageId
* @param chatListIdL
*/
@Async("asyncPoolTaskExecutor")
@Override
public void sendChatGptMessage(String wxUserId, String q_logMessageId, String question, Long startMessageId, Long chatListIdL) {
//处理上下文
String sendChatGptQuestion = this.handleContext(wxUserId, question, q_logMessageId, startMessageId,chatListIdL);
AccountUseCouModel accountModel = this.getChatGptKey();
if (Func.isEmpty(accountModel)) {
return;
}
//使用的模型是GPT3
ChatGptParam param = new ChatGptParam();
param.setUrl(ChatgptConfig.getChatgptUrl());
param.setKey(accountModel.getApiKey());
param.setModel(AiModelConstant.gpt_3_0); //发送的model参数值为gpt3的值
param.setMax_tokens(ChatgptConfig.getChatgptMaxToken());
param.setTop_p(ChatgptConfig.getChatgptTopP());
param.setPrompt(sendChatGptQuestion);
String jsonStr = JsonUtil.toJson(param);
AES aes = SecureUtil.aes(aesKey.getBytes());
String body = aes.encryptHex(jsonStr);// 加密为16进制表示
try {
String result = "";
try {
result = HttpRequest.post(ChatgptConfig.getHttpUrl())
.header("Content-Type", "application/json;charset:utf-8")
.body(body).execute().body();
} catch (Exception e) {
e.printStackTrace();
}
ResultModel resultModel = JsonUtil.parse(result, ResultModel.class);
if (Func.isEmpty(resultModel) || resultModel.getCode() != 200) {
return;
}
Map<String, Object> wxUserMap = baseSqlService.getTableById("chat_wxuser", wxUserId);
Long bladeUserId = MjkjUtils.getMap2Long(wxUserMap, "blade_user_id");
ChatGptResult chatGptResult = JsonUtil.parse(resultModel.getResultStr(), ChatGptResult.class);
String object = chatGptResult.getObject();
if (Func.isEmpty(object) || !Func.equals(object, "text_completion")) {
return;
}
List<ChatGptResult.choiceModel> choices = chatGptResult.getChoices();
for (ChatGptResult.choiceModel choice : choices) {//推送给用户
String choiceText = choice.getText();
choiceText = choiceText.replaceAll(MJKJ_USER, "").replaceAll(CHATGPT_USER, "");
choiceText = choiceText.replaceAll(MJKJ_USER2, "").replaceAll(CHATGPT_USER2, "");
choiceText = choiceText.replaceAll(MJKJ_USER3, "").replaceAll(CHATGPT_USER3, "");
choiceText = this.handleChatgptResult(choiceText);
//保存消息
Map<String, Object> insertMap = new HashMap<>();
insertMap.put("id", IdWorker.getIdStr());
insertMap.put("pid", q_logMessageId);
insertMap.put("wxuser_id", wxUserId);
insertMap.put("message_type", MessageType.A);//q =问题 a=答案
insertMap.put("message_content", choiceText);//回答内容
insertMap.put("message_time", DateUtil.now());
insertMap.put("blade_user_id", bladeUserId);
insertMap.put("view_type", ViewType.TEXT);
insertMap.put("model_type", 0);//分类
insertMap.put("api_account_id", accountModel.getId());//账户id
insertMap.put("chat_list_id",String.valueOf(chatListIdL));
baseSqlService.baseInsertData("chat_log_message", insertMap);
}
} catch (Exception e) {
e.printStackTrace();
}
}
/**
* 异步处理
*
* @param wxUserId
* @param q_logMessageId
* @param chatListIdL
*/
@Async("asyncPoolTaskExecutor")
@Override
public void sendChatGptTurboMessage(String wxUserId, String q_logMessageId, String question, Long startMessageId, Date sendTime, Long chatListIdL) {
Map<String, Object> wxUserMap = baseSqlService.getTableById("chat_wxuser", wxUserId);
Long bladeUserId = MjkjUtils.getMap2Long(wxUserMap, "blade_user_id");
// 获取用户选择的模型
Map<String, Object> settingMap = baseSqlService.getDataOneByField("chat_wxuser_setting", "wxuser_id", wxUserId);
String aiModel = MjkjUtils.getMap2Str(settingMap,"ai_model");
if( Func.isEmpty(aiModel)){ //拿不到,设为默认模型
aiModel = ChatgptConfig.getChatgptModel();
Map<String,Object> updateMap = new HashMap<>();
updateMap.put("ai_model",aiModel);
baseSqlService.baseUpdateDataWhere("chat_wxuser_setting",updateMap,"wxuser_id",wxUserId);
}
AccountUseCouModel accountModel = this.getChatGptKey();
if (Func.isEmpty(accountModel)) {
return;
}
//处理上下文
String errorTip = "";
List<MessageModel> messagesList = null;
try {
messagesList = this.handleTurboContext(wxUserId, question, q_logMessageId, startMessageId,chatListIdL);
} catch (Exception e) {
errorTip = e.getMessage();
}
List<ChatGptTurboResult.ChoiceModel> choices = null;
try {
if (Func.isEmpty(errorTip)) {//前面没有错误
choices = this.getChatGptTurboResponse(messagesList, accountModel, aiModel); //此方法添加了一个参数:选择的模型
}
} catch (Exception e) {
String error_message = e.getMessage();
if (Func.isNotEmpty(error_message) && Func.equals(error_message, "余额不足")) {//说明账号没有余额了
errorTip = "账户额度已用完,请联系客服";
String id = accountModel.getId();
Map<String, Object> apiAccountMap = baseSqlService.getTableById("chat_api_account", id);
if (Func.isNotEmpty(apiAccountMap)) {
String remark = MjkjUtils.getMap2Str(apiAccountMap, "remark");
if (Func.isNotEmpty(remark) && !remark.startsWith("【账户可用额度已用完】")) {
remark = "【账户可用额度已用完】" + remark;
}
Map<String, Object> updateMap = new HashMap<>();
updateMap.put("gpt_state", 1);
updateMap.put("remark", remark);
baseSqlService.baseUpdateData("chat_api_account", updateMap, id);
}
}else{
errorTip = "网络走过太平洋,没有游回来";
}
}
String view_type = ViewType.TEXT;
if (Func.isNotEmpty(errorTip)) {//存在错误
view_type = ViewType.ERROR;
choices = new ArrayList<>();
ChatGptTurboResult.MessageModel messageModel = new ChatGptTurboResult.MessageModel();
String errTip = errorTip;
messageModel.setContent(errTip);
ChatGptTurboResult.ChoiceModel choiceModel = new ChatGptTurboResult.ChoiceModel();
choiceModel.setMessage(messageModel);
choices.add(choiceModel);
} else if (Func.isEmpty(choices)) {//其他原因
view_type = ViewType.ERROR;
choices = new ArrayList<>();
ChatGptTurboResult.MessageModel messageModel = new ChatGptTurboResult.MessageModel();
String errTip = "非常抱歉,我是AI语言模型,我回答的长度有限制。请退出重新进入继续提问";
messageModel.setContent(errTip);
ChatGptTurboResult.ChoiceModel choiceModel = new ChatGptTurboResult.ChoiceModel();
choiceModel.setMessage(messageModel);
choices.add(choiceModel);
}
String totalContent = "";
for (ChatGptTurboResult.ChoiceModel choice : choices) {//推送给用户
ChatGptTurboResult.MessageModel message = choice.getMessage();
String content = message.getContent();
content = this.handleChatgptResult(content);
totalContent += content;
}
//保存消息
Map<String, Object> insertMap = new HashMap<>();
insertMap.put("id", IdWorker.getIdStr());
insertMap.put("pid", q_logMessageId);
insertMap.put("wxuser_id", wxUserId);
insertMap.put("message_type", MessageType.A);//q =问题 a=答案
insertMap.put("message_content", totalContent);//回答内容
insertMap.put("message_time", DateUtil.now());
insertMap.put("blade_user_id", bladeUserId);
insertMap.put("view_type", view_type);
insertMap.put("model_type", 0);//分类
insertMap.put("api_account_id", accountModel.getId());//账户id
insertMap.put("context_flag", 1);//支持上下文
insertMap.put("chat_list_id",String.valueOf(chatListIdL));
baseSqlService.baseInsertData("chat_log_message", insertMap);
}
/**
* 发送实时消息,长连接等着返回
*
* @param
* @return
*/
@Override
public String sendNowTimeChatGptTurboMessage(List<MessageModel> messagesList , String model) {
List<ChatGptTurboResult.ChoiceModel> choices = null;
try {
choices = this.getChatGptTurboResponse(messagesList, null, model);
} catch (Exception e) {
return "出现异常,请您重新提问";
}
if (Func.isEmpty(choices)) {
return "出现错误,请您重新提问";
}
StringBuilder result = new StringBuilder();
for (ChatGptTurboResult.ChoiceModel choice : choices) {//推送给用户
ChatGptTurboResult.MessageModel message = choice.getMessage();
String content = message.getContent();
content = this.handleChatgptResult(content);
result.append(content);
}
return result.toString();
}
/**
* 获取chatgpt 返回内容
*
* @param messagesList
* @return
*/
public List<ChatGptTurboResult.ChoiceModel> getChatGptTurboResponse(List<MessageModel> messagesList, AccountUseCouModel accountModel, String aiModel) {
try {//获取chatgpt 参数
if (Func.isEmpty(accountModel)) {
accountModel = this.getChatGptKey();
if (Func.isEmpty(accountModel)) {
return null;
}
}
ChatGptPublicParam publicParam = new ChatGptPublicParam();
publicParam.setKey(accountModel.getApiKey());
publicParam.setUrl(ChatgptConfig.getChatgptUrl());
Map<String, Object> bodyMap = new HashMap<>();
bodyMap.put("model", aiModel);
bodyMap.put("messages", messagesList);
bodyMap.put("max_tokens", ChatgptConfig.getChatgptMaxToken());
publicParam.setBody(JSONUtil.toJsonStr(bodyMap));
String jsonStr = JsonUtil.toJson(publicParam);
AES aes = SecureUtil.aes(aesKey.getBytes());
String body = aes.encryptHex(jsonStr);// 加密为16进制表示
String resultStr = "";
String errorTip = "";
//最多发送5次
for (int i = 0; i < 10; i++) {
resultStr = "";
errorTip = "";
try {
String result = HttpRequest.post(ChatgptConfig.getHttpUrl())
.header("Content-Type", "application/json;charset:utf-8")
.body(body).execute().body();
if(!result.contains("choices")) {
log.error("-------------gpt返回错误"+result+"--------------");
}
if (result.contains("This model's maximum context length")) {//说明token太长
List<MessageModel> messagesNewList = new ArrayList<>();
messagesNewList.add(messagesList.get(messagesList.size() - 1));//最后一条
//重新封装body
bodyMap = new HashMap<>();
bodyMap.put("model", aiModel);
bodyMap.put("messages", messagesNewList);
bodyMap.put("max_tokens", ChatgptConfig.getChatgptMaxToken());
publicParam.setBody(JSONUtil.toJsonStr(bodyMap));
jsonStr = JsonUtil.toJson(publicParam);
body = aes.encryptHex(jsonStr);// 加密为16进制表示
continue;
} else if (result.contains("You exceeded your current quota")) {//余额不足
errorTip = "余额不足";
break;
} else if (result.contains("Rate limit reached for")) {//被限制
log.error("被限制"+messagesList);
List<MessageModel> messagesNewList = new ArrayList<>();
messagesNewList.add(messagesList.get(messagesList.size() - 1));//最后一条
//重新封装body
bodyMap = new HashMap<>();
bodyMap.put("model", aiModel);
bodyMap.put("messages", messagesNewList);
bodyMap.put("max_tokens", ChatgptConfig.getChatgptMaxToken());
publicParam.setBody(JSONUtil.toJsonStr(bodyMap));
jsonStr = JsonUtil.toJson(publicParam);
body = aes.encryptHex(jsonStr);// 加密为16进制表示
Thread.sleep(2000);
continue;
}
if (Func.isEmpty(result)) {//为空,重新发送
Thread.sleep(1000);
continue;
}
ResultModel resultModel = JsonUtil.parse(result, ResultModel.class);
if (Func.isEmpty(resultModel) || resultModel.getCode() != 200) {
Thread.sleep(1000);
continue;//中途失败
}
resultStr = resultModel.getResultStr();
if (Func.isEmpty(resultStr)) {
Thread.sleep(2000);
continue;//中途失败
}
break;
} catch (Exception e) {
e.printStackTrace();
}
}
if (Func.isNotEmpty(errorTip)) {//有错误
throw new ServiceException(errorTip);
}
//为空
if (Func.isEmpty(resultStr)) {
return null;
}
ChatGptTurboResult chatGptTurboResult = JsonUtil.parse(resultStr, ChatGptTurboResult.class);
List<ChatGptTurboResult.ChoiceModel> choices = chatGptTurboResult.getChoices();
return choices;
} catch (Exception e) {
throw new ServiceException(e.getMessage());
}
}
//获取账号
private String handleChatgptResult(String result) {
result = result.trim();
String startTitleListStr = ChatgptConfig.getStartTitleRemove();
if (Func.isEmpty(startTitleListStr)) {
return result;
}
List<String> startTitleList = Func.toStrList(startTitleListStr);
while (true) {
boolean whileFlag = true;
for (String str : startTitleList) {
boolean flag = result.startsWith(str);
if (!flag) {
continue;
}
whileFlag = false;
result.replaceFirst(str, "");
}
if (whileFlag) {
break;
}
}
return result;
}
public synchronized AccountUseCouModel getChatGptKey() {
List<Map<String, Object>> accountMapList = baseSqlService.getDataListByField("chat_api_account", "gpt_state", 0);//1
if (Func.isEmpty(accountMapList)) {
return null;
}
String nowStr = DateUtil.format(DateUtil.now(), "yyyyMMddHH");//每小时次数应该要一样
Map<String, AccountUseCouModel> modelMap = new HashMap<>();
for (Map<String, Object> accountMap : accountMapList) {
String id = MjkjUtils.getMap2Str(accountMap, "id");
String apiKey = MjkjUtils.getMap2Str(accountMap, "api_key");
String redisKey = "CHAT_GPT:" + nowStr + ":ACCOUNT_ID_" + id;
Integer cou = 0;
if (redisUtil.hasKey(redisKey)) {
cou = (Integer) redisUtil.get(redisKey);
}
//使用次数
AccountUseCouModel couModel = new AccountUseCouModel();
couModel.setId(id);
couModel.setApiKey(apiKey);
couModel.setCou(cou);
modelMap.put(id, couModel);
}
//获取最小值
Set<Map.Entry<String, AccountUseCouModel>> en = modelMap.entrySet();
Integer mincou = null;
for (Map.Entry<String, AccountUseCouModel> entry : en) {
AccountUseCouModel model = entry.getValue();
int cou = model.getCou();
if (cou == 0) {//新数据
String redisKey = "CHAT_GPT:" + nowStr + ":ACCOUNT_ID_" + model.getId();
redisUtil.set(redisKey, ++cou, 7200L,TimeUnit.SECONDS);//2小时
return model;
}
if (Func.isEmpty(mincou)) {//第一个
mincou = cou;
continue;
}
if (mincou > cou) {
mincou = cou;//新的最小值
}
}
//根据最小值,获取最新的key
for (Map.Entry<String, AccountUseCouModel> entry : en) {
AccountUseCouModel model = entry.getValue();
int cou = model.getCou();
if (mincou == cou) {
String redisKey = "CHAT_GPT:" + nowStr + ":ACCOUNT_ID_" + model.getId();
redisUtil.set(redisKey, ++cou, 7200L,TimeUnit.DAYS);//2小时
return model;
}
}
return null;
}
/**
* 处理上下文
*
* @param wxUserId
* @param question
* @param logMessageId 不保护该条id
* @param startMessageId
* @param chatListIdL
* @return
*/
private String handleContext(String wxUserId, String question, String logMessageId, Long startMessageId, Long chatListIdL) {
QueryWrapper<Object> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("wxuser_id", wxUserId);
queryWrapper.eq("is_deleted", 0);
queryWrapper.eq("view_type", "text");//文本类型
queryWrapper.ne("id", logMessageId);//不等于
if(chatListIdL!=0L){
queryWrapper.eq("chat_list_id",String.valueOf(chatListIdL));
}
queryWrapper.gt("id+0", startMessageId);//大于
queryWrapper.orderByAsc("id+0");
List<Map<String, Object>> dataMapList = baseSqlService.getDataListByFieldParams("chat_log_message", queryWrapper);
if (Func.isEmpty(dataMapList)) {
return question;
}
StringBuilder sendChatGptQuestion = new StringBuilder();
//最大数量不能大于
while (true) {
Integer lengthTmp = question.length();
sendChatGptQuestion = new StringBuilder();
for (Map<String, Object> dataMap : dataMapList) {
String message_content = MjkjUtils.getMap2Str(dataMap, "message_content");
String message_type = MjkjUtils.getMap2Str(dataMap, "message_type");
if (Func.equals(message_type, "q")) {//我提的问题
if (message_content.endsWith("?") || message_content.endsWith("?")) {
sendChatGptQuestion.append(MJKJ_USER).append(message_content).append("\n");
} else {
sendChatGptQuestion.append(MJKJ_USER).append(message_content).append("?\n");
}
} else {
sendChatGptQuestion.append(CHATGPT_USER).append(message_content).append("\n");
}
lengthTmp += sendChatGptQuestion.length();
}
if (lengthTmp < ChatgptConfig.getChatgptMaxToken()) {
break;//跳出死循环
} else {
dataMapList.remove(0);//移除第一位
}
}
//上次,加上本次
if (question.endsWith("?") || question.endsWith("?")) {
sendChatGptQuestion.append(MJKJ_USER).append(question).append("\n");
} else {
sendChatGptQuestion.append(MJKJ_USER).append(question).append("?\n");
}
return sendChatGptQuestion.toString();
}
/**
* 3.5版本
* 处理上下文
*
* @param wxUserId
* @param question
* @param logMessageId 不保护该条id
* @param startMessageId
* @param chatListIdL
* @return
*/
private List<MessageModel> handleTurboContext(String wxUserId, String question, String logMessageId, Long startMessageId, Long chatListIdL) {
List<MessageModel> resultModelList = new ArrayList<>();
if (question.length() > ChatgptConfig.getChatgptRequestMaxToken()) {
throw new ServiceException("你发送的内容过长");
}
QueryWrapper<Object> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("wxuser_id", wxUserId);
queryWrapper.eq("is_deleted", 0);
queryWrapper.eq("view_type", "text");//文本类型
queryWrapper.eq("context_flag", 1);//仅支持上下文
queryWrapper.ne("id", logMessageId);//不等于
if(chatListIdL!=0L){
queryWrapper.eq("chat_list_id",String.valueOf(chatListIdL));
}
queryWrapper.gt("id+0", startMessageId);//大于
queryWrapper.orderByAsc("id+0");
List<Map<String, Object>> dataMapList = baseSqlService.getDataListByFieldParams("chat_log_message", queryWrapper);
if (Func.isEmpty(dataMapList)) {
MessageModel model0 = new MessageModel();
model0.setRole(MessageModelRoleType.SYSTEM);
model0.setContent("。请你使用MarkDown格式回答");
MessageModel model = new MessageModel();
model.setRole(MessageModelRoleType.USER);
model.setContent(question);
resultModelList.add(model0);
resultModelList.add(model);
return resultModelList;
}
//最大数量不能大于
while (true) {
Integer lengthTmp = question.length();
resultModelList = new ArrayList<>();
List<MessageModel> tmpModelList = new ArrayList<>();
for (int i = 0; i < dataMapList.size(); i++) {
Map<String, Object> dataMap = dataMapList.get(i);
String message_content = MjkjUtils.getMap2Str(dataMap, "message_content");
String message_type = MjkjUtils.getMap2Str(dataMap, "message_type");
if (Func.equals(message_type, "q")) {//我提的问题
MessageModel model = new MessageModel();
model.setRole(MessageModelRoleType.USER);
model.setContent(message_content);
resultModelList.add(model);
tmpModelList.add(model);
} else {
MessageModel model = new MessageModel();
model.setRole(MessageModelRoleType.CHATGPT);
model.setContent(message_content);
resultModelList.add(model);
tmpModelList.add(model);
}
if (i == dataMapList.size() - 1) {//把本次的加上
//上次,加上本次
MessageModel model = new MessageModel();
model.setRole(MessageModelRoleType.USER);
model.setContent(question);
tmpModelList.add(model);
}
lengthTmp += JsonUtil.toJson(tmpModelList).length();
}
if (lengthTmp < ChatgptConfig.getChatgptRequestMaxToken()) {
break;//跳出死循环
} else {
if (dataMapList.size() == 1) {//只剩一条
resultModelList = new ArrayList<>();
break;
}
dataMapList.remove(0);//移除第一位
}
}
//上次,加上本次
MessageModel model = new MessageModel();
model.setRole(MessageModelRoleType.USER);
model.setContent(question);
resultModelList.add(model);
MessageModel model0 = new MessageModel();
model0.setRole(MessageModelRoleType.SYSTEM);
model0.setContent("。请你使用MarkDown格式回答");
resultModelList.add(model0);
return resultModelList;
}
}
|
233zzh/TitanDataOperationSystem | 6,033 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/flot/jquery.flot.categories.js | /* Flot plugin for plotting textual data or categories.
Copyright (c) 2007-2014 IOLA and Ole Laursen.
Licensed under the MIT license.
Consider a dataset like [["February", 34], ["March", 20], ...]. This plugin
allows you to plot such a dataset directly.
To enable it, you must specify mode: "categories" on the axis with the textual
labels, e.g.
$.plot("#placeholder", data, { xaxis: { mode: "categories" } });
By default, the labels are ordered as they are met in the data series. If you
need a different ordering, you can specify "categories" on the axis options
and list the categories there:
xaxis: {
mode: "categories",
categories: ["February", "March", "April"]
}
If you need to customize the distances between the categories, you can specify
"categories" as an object mapping labels to values
xaxis: {
mode: "categories",
categories: { "February": 1, "March": 3, "April": 4 }
}
If you don't specify all categories, the remaining categories will be numbered
from the max value plus 1 (with a spacing of 1 between each).
Internally, the plugin works by transforming the input data through an auto-
generated mapping where the first category becomes 0, the second 1, etc.
Hence, a point like ["February", 34] becomes [0, 34] internally in Flot (this
is visible in hover and click events that return numbers rather than the
category labels). The plugin also overrides the tick generator to spit out the
categories as ticks instead of the values.
If you need to map a value back to its label, the mapping is always accessible
as "categories" on the axis object, e.g. plot.getAxes().xaxis.categories.
*/
(function ($) {
var options = {
xaxis: {
categories: null
},
yaxis: {
categories: null
}
};
function processRawData(plot, series, data, datapoints) {
// if categories are enabled, we need to disable
// auto-transformation to numbers so the strings are intact
// for later processing
var xCategories = series.xaxis.options.mode == "categories",
yCategories = series.yaxis.options.mode == "categories";
if (!(xCategories || yCategories))
return;
var format = datapoints.format;
if (!format) {
// FIXME: auto-detection should really not be defined here
var s = series;
format = [];
format.push({ x: true, number: true, required: true });
format.push({ y: true, number: true, required: true });
if (s.bars.show || (s.lines.show && s.lines.fill)) {
var autoscale = !!((s.bars.show && s.bars.zero) || (s.lines.show && s.lines.zero));
format.push({ y: true, number: true, required: false, defaultValue: 0, autoscale: autoscale });
if (s.bars.horizontal) {
delete format[format.length - 1].y;
format[format.length - 1].x = true;
}
}
datapoints.format = format;
}
for (var m = 0; m < format.length; ++m) {
if (format[m].x && xCategories)
format[m].number = false;
if (format[m].y && yCategories)
format[m].number = false;
}
}
function getNextIndex(categories) {
var index = -1;
for (var v in categories)
if (categories[v] > index)
index = categories[v];
return index + 1;
}
function categoriesTickGenerator(axis) {
var res = [];
for (var label in axis.categories) {
var v = axis.categories[label];
if (v >= axis.min && v <= axis.max)
res.push([v, label]);
}
res.sort(function (a, b) { return a[0] - b[0]; });
return res;
}
function setupCategoriesForAxis(series, axis, datapoints) {
if (series[axis].options.mode != "categories")
return;
if (!series[axis].categories) {
// parse options
var c = {}, o = series[axis].options.categories || {};
if ($.isArray(o)) {
for (var i = 0; i < o.length; ++i)
c[o[i]] = i;
}
else {
for (var v in o)
c[v] = o[v];
}
series[axis].categories = c;
}
// fix ticks
if (!series[axis].options.ticks)
series[axis].options.ticks = categoriesTickGenerator;
transformPointsOnAxis(datapoints, axis, series[axis].categories);
}
function transformPointsOnAxis(datapoints, axis, categories) {
// go through the points, transforming them
var points = datapoints.points,
ps = datapoints.pointsize,
format = datapoints.format,
formatColumn = axis.charAt(0),
index = getNextIndex(categories);
for (var i = 0; i < points.length; i += ps) {
if (points[i] == null)
continue;
for (var m = 0; m < ps; ++m) {
var val = points[i + m];
if (val == null || !format[m][formatColumn])
continue;
if (!(val in categories)) {
categories[val] = index;
++index;
}
points[i + m] = categories[val];
}
}
}
function processDatapoints(plot, series, datapoints) {
setupCategoriesForAxis(series, "xaxis", datapoints);
setupCategoriesForAxis(series, "yaxis", datapoints);
}
function init(plot) {
plot.hooks.processRawData.push(processRawData);
plot.hooks.processDatapoints.push(processDatapoints);
}
$.plot.plugins.push({
init: init,
options: options,
name: 'categories',
version: '1.0'
});
})(jQuery);
|
233zzh/TitanDataOperationSystem | 13,141 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/flot/jquery.flot.selection.js | /* Flot plugin for selecting regions of a plot.
Copyright (c) 2007-2014 IOLA and Ole Laursen.
Licensed under the MIT license.
The plugin supports these options:
selection: {
mode: null or "x" or "y" or "xy",
color: color,
shape: "round" or "miter" or "bevel",
minSize: number of pixels
}
Selection support is enabled by setting the mode to one of "x", "y" or "xy".
In "x" mode, the user will only be able to specify the x range, similarly for
"y" mode. For "xy", the selection becomes a rectangle where both ranges can be
specified. "color" is color of the selection (if you need to change the color
later on, you can get to it with plot.getOptions().selection.color). "shape"
is the shape of the corners of the selection.
"minSize" is the minimum size a selection can be in pixels. This value can
be customized to determine the smallest size a selection can be and still
have the selection rectangle be displayed. When customizing this value, the
fact that it refers to pixels, not axis units must be taken into account.
Thus, for example, if there is a bar graph in time mode with BarWidth set to 1
minute, setting "minSize" to 1 will not make the minimum selection size 1
minute, but rather 1 pixel. Note also that setting "minSize" to 0 will prevent
"plotunselected" events from being fired when the user clicks the mouse without
dragging.
When selection support is enabled, a "plotselected" event will be emitted on
the DOM element you passed into the plot function. The event handler gets a
parameter with the ranges selected on the axes, like this:
placeholder.bind( "plotselected", function( event, ranges ) {
alert("You selected " + ranges.xaxis.from + " to " + ranges.xaxis.to)
// similar for yaxis - with multiple axes, the extra ones are in
// x2axis, x3axis, ...
});
The "plotselected" event is only fired when the user has finished making the
selection. A "plotselecting" event is fired during the process with the same
parameters as the "plotselected" event, in case you want to know what's
happening while it's happening,
A "plotunselected" event with no arguments is emitted when the user clicks the
mouse to remove the selection. As stated above, setting "minSize" to 0 will
destroy this behavior.
The plugin allso adds the following methods to the plot object:
- setSelection( ranges, preventEvent )
Set the selection rectangle. The passed in ranges is on the same form as
returned in the "plotselected" event. If the selection mode is "x", you
should put in either an xaxis range, if the mode is "y" you need to put in
an yaxis range and both xaxis and yaxis if the selection mode is "xy", like
this:
setSelection({ xaxis: { from: 0, to: 10 }, yaxis: { from: 40, to: 60 } });
setSelection will trigger the "plotselected" event when called. If you don't
want that to happen, e.g. if you're inside a "plotselected" handler, pass
true as the second parameter. If you are using multiple axes, you can
specify the ranges on any of those, e.g. as x2axis/x3axis/... instead of
xaxis, the plugin picks the first one it sees.
- clearSelection( preventEvent )
Clear the selection rectangle. Pass in true to avoid getting a
"plotunselected" event.
- getSelection()
Returns the current selection in the same format as the "plotselected"
event. If there's currently no selection, the function returns null.
*/
(function ($) {
function init(plot) {
var selection = {
first: { x: -1, y: -1}, second: { x: -1, y: -1},
show: false,
active: false
};
// FIXME: The drag handling implemented here should be
// abstracted out, there's some similar code from a library in
// the navigation plugin, this should be massaged a bit to fit
// the Flot cases here better and reused. Doing this would
// make this plugin much slimmer.
var savedhandlers = {};
var mouseUpHandler = null;
function onMouseMove(e) {
if (selection.active) {
updateSelection(e);
plot.getPlaceholder().trigger("plotselecting", [ getSelection() ]);
}
}
function onMouseDown(e) {
if (e.which != 1) // only accept left-click
return;
// cancel out any text selections
document.body.focus();
// prevent text selection and drag in old-school browsers
if (document.onselectstart !== undefined && savedhandlers.onselectstart == null) {
savedhandlers.onselectstart = document.onselectstart;
document.onselectstart = function () { return false; };
}
if (document.ondrag !== undefined && savedhandlers.ondrag == null) {
savedhandlers.ondrag = document.ondrag;
document.ondrag = function () { return false; };
}
setSelectionPos(selection.first, e);
selection.active = true;
// this is a bit silly, but we have to use a closure to be
// able to whack the same handler again
mouseUpHandler = function (e) { onMouseUp(e); };
$(document).one("mouseup", mouseUpHandler);
}
function onMouseUp(e) {
mouseUpHandler = null;
// revert drag stuff for old-school browsers
if (document.onselectstart !== undefined)
document.onselectstart = savedhandlers.onselectstart;
if (document.ondrag !== undefined)
document.ondrag = savedhandlers.ondrag;
// no more dragging
selection.active = false;
updateSelection(e);
if (selectionIsSane())
triggerSelectedEvent();
else {
// this counts as a clear
plot.getPlaceholder().trigger("plotunselected", [ ]);
plot.getPlaceholder().trigger("plotselecting", [ null ]);
}
return false;
}
function getSelection() {
if (!selectionIsSane())
return null;
if (!selection.show) return null;
var r = {}, c1 = selection.first, c2 = selection.second;
$.each(plot.getAxes(), function (name, axis) {
if (axis.used) {
var p1 = axis.c2p(c1[axis.direction]), p2 = axis.c2p(c2[axis.direction]);
r[name] = { from: Math.min(p1, p2), to: Math.max(p1, p2) };
}
});
return r;
}
function triggerSelectedEvent() {
var r = getSelection();
plot.getPlaceholder().trigger("plotselected", [ r ]);
// backwards-compat stuff, to be removed in future
if (r.xaxis && r.yaxis)
plot.getPlaceholder().trigger("selected", [ { x1: r.xaxis.from, y1: r.yaxis.from, x2: r.xaxis.to, y2: r.yaxis.to } ]);
}
function clamp(min, value, max) {
return value < min ? min: (value > max ? max: value);
}
function setSelectionPos(pos, e) {
var o = plot.getOptions();
var offset = plot.getPlaceholder().offset();
var plotOffset = plot.getPlotOffset();
pos.x = clamp(0, e.pageX - offset.left - plotOffset.left, plot.width());
pos.y = clamp(0, e.pageY - offset.top - plotOffset.top, plot.height());
if (o.selection.mode == "y")
pos.x = pos == selection.first ? 0 : plot.width();
if (o.selection.mode == "x")
pos.y = pos == selection.first ? 0 : plot.height();
}
function updateSelection(pos) {
if (pos.pageX == null)
return;
setSelectionPos(selection.second, pos);
if (selectionIsSane()) {
selection.show = true;
plot.triggerRedrawOverlay();
}
else
clearSelection(true);
}
function clearSelection(preventEvent) {
if (selection.show) {
selection.show = false;
plot.triggerRedrawOverlay();
if (!preventEvent)
plot.getPlaceholder().trigger("plotunselected", [ ]);
}
}
// function taken from markings support in Flot
function extractRange(ranges, coord) {
var axis, from, to, key, axes = plot.getAxes();
for (var k in axes) {
axis = axes[k];
if (axis.direction == coord) {
key = coord + axis.n + "axis";
if (!ranges[key] && axis.n == 1)
key = coord + "axis"; // support x1axis as xaxis
if (ranges[key]) {
from = ranges[key].from;
to = ranges[key].to;
break;
}
}
}
// backwards-compat stuff - to be removed in future
if (!ranges[key]) {
axis = coord == "x" ? plot.getXAxes()[0] : plot.getYAxes()[0];
from = ranges[coord + "1"];
to = ranges[coord + "2"];
}
// auto-reverse as an added bonus
if (from != null && to != null && from > to) {
var tmp = from;
from = to;
to = tmp;
}
return { from: from, to: to, axis: axis };
}
function setSelection(ranges, preventEvent) {
var axis, range, o = plot.getOptions();
if (o.selection.mode == "y") {
selection.first.x = 0;
selection.second.x = plot.width();
}
else {
range = extractRange(ranges, "x");
selection.first.x = range.axis.p2c(range.from);
selection.second.x = range.axis.p2c(range.to);
}
if (o.selection.mode == "x") {
selection.first.y = 0;
selection.second.y = plot.height();
}
else {
range = extractRange(ranges, "y");
selection.first.y = range.axis.p2c(range.from);
selection.second.y = range.axis.p2c(range.to);
}
selection.show = true;
plot.triggerRedrawOverlay();
if (!preventEvent && selectionIsSane())
triggerSelectedEvent();
}
function selectionIsSane() {
var minSize = plot.getOptions().selection.minSize;
return Math.abs(selection.second.x - selection.first.x) >= minSize &&
Math.abs(selection.second.y - selection.first.y) >= minSize;
}
plot.clearSelection = clearSelection;
plot.setSelection = setSelection;
plot.getSelection = getSelection;
plot.hooks.bindEvents.push(function(plot, eventHolder) {
var o = plot.getOptions();
if (o.selection.mode != null) {
eventHolder.mousemove(onMouseMove);
eventHolder.mousedown(onMouseDown);
}
});
plot.hooks.drawOverlay.push(function (plot, ctx) {
// draw selection
if (selection.show && selectionIsSane()) {
var plotOffset = plot.getPlotOffset();
var o = plot.getOptions();
ctx.save();
ctx.translate(plotOffset.left, plotOffset.top);
var c = $.color.parse(o.selection.color);
ctx.strokeStyle = c.scale('a', 0.8).toString();
ctx.lineWidth = 1;
ctx.lineJoin = o.selection.shape;
ctx.fillStyle = c.scale('a', 0.4).toString();
var x = Math.min(selection.first.x, selection.second.x) + 0.5,
y = Math.min(selection.first.y, selection.second.y) + 0.5,
w = Math.abs(selection.second.x - selection.first.x) - 1,
h = Math.abs(selection.second.y - selection.first.y) - 1;
ctx.fillRect(x, y, w, h);
ctx.strokeRect(x, y, w, h);
ctx.restore();
}
});
plot.hooks.shutdown.push(function (plot, eventHolder) {
eventHolder.unbind("mousemove", onMouseMove);
eventHolder.unbind("mousedown", onMouseDown);
if (mouseUpHandler)
$(document).unbind("mouseup", mouseUpHandler);
});
}
$.plot.plugins.push({
init: init,
options: {
selection: {
mode: null, // one of null, "x", "y" or "xy"
color: "#e8cfac",
shape: "round", // one of "round", "miter", or "bevel"
minSize: 5 // minimum number of pixels
}
},
name: 'selection',
version: '1.1'
});
})(jQuery);
|
233zzh/TitanDataOperationSystem | 7,360 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/flot/jquery.flot.image.js | /* Flot plugin for plotting images.
Copyright (c) 2007-2014 IOLA and Ole Laursen.
Licensed under the MIT license.
The data syntax is [ [ image, x1, y1, x2, y2 ], ... ] where (x1, y1) and
(x2, y2) are where you intend the two opposite corners of the image to end up
in the plot. Image must be a fully loaded Javascript image (you can make one
with new Image()). If the image is not complete, it's skipped when plotting.
There are two helpers included for retrieving images. The easiest work the way
that you put in URLs instead of images in the data, like this:
[ "myimage.png", 0, 0, 10, 10 ]
Then call $.plot.image.loadData( data, options, callback ) where data and
options are the same as you pass in to $.plot. This loads the images, replaces
the URLs in the data with the corresponding images and calls "callback" when
all images are loaded (or failed loading). In the callback, you can then call
$.plot with the data set. See the included example.
A more low-level helper, $.plot.image.load(urls, callback) is also included.
Given a list of URLs, it calls callback with an object mapping from URL to
Image object when all images are loaded or have failed loading.
The plugin supports these options:
series: {
images: {
show: boolean
anchor: "corner" or "center"
alpha: [ 0, 1 ]
}
}
They can be specified for a specific series:
$.plot( $("#placeholder"), [{
data: [ ... ],
images: { ... }
])
Note that because the data format is different from usual data points, you
can't use images with anything else in a specific data series.
Setting "anchor" to "center" causes the pixels in the image to be anchored at
the corner pixel centers inside of at the pixel corners, effectively letting
half a pixel stick out to each side in the plot.
A possible future direction could be support for tiling for large images (like
Google Maps).
*/
(function ($) {
var options = {
series: {
images: {
show: false,
alpha: 1,
anchor: "corner" // or "center"
}
}
};
$.plot.image = {};
$.plot.image.loadDataImages = function (series, options, callback) {
var urls = [], points = [];
var defaultShow = options.series.images.show;
$.each(series, function (i, s) {
if (!(defaultShow || s.images.show))
return;
if (s.data)
s = s.data;
$.each(s, function (i, p) {
if (typeof p[0] == "string") {
urls.push(p[0]);
points.push(p);
}
});
});
$.plot.image.load(urls, function (loadedImages) {
$.each(points, function (i, p) {
var url = p[0];
if (loadedImages[url])
p[0] = loadedImages[url];
});
callback();
});
}
$.plot.image.load = function (urls, callback) {
var missing = urls.length, loaded = {};
if (missing == 0)
callback({});
$.each(urls, function (i, url) {
var handler = function () {
--missing;
loaded[url] = this;
if (missing == 0)
callback(loaded);
};
$('<img />').load(handler).error(handler).attr('src', url);
});
};
function drawSeries(plot, ctx, series) {
var plotOffset = plot.getPlotOffset();
if (!series.images || !series.images.show)
return;
var points = series.datapoints.points,
ps = series.datapoints.pointsize;
for (var i = 0; i < points.length; i += ps) {
var img = points[i],
x1 = points[i + 1], y1 = points[i + 2],
x2 = points[i + 3], y2 = points[i + 4],
xaxis = series.xaxis, yaxis = series.yaxis,
tmp;
// actually we should check img.complete, but it
// appears to be a somewhat unreliable indicator in
// IE6 (false even after load event)
if (!img || img.width <= 0 || img.height <= 0)
continue;
if (x1 > x2) {
tmp = x2;
x2 = x1;
x1 = tmp;
}
if (y1 > y2) {
tmp = y2;
y2 = y1;
y1 = tmp;
}
// if the anchor is at the center of the pixel, expand the
// image by 1/2 pixel in each direction
if (series.images.anchor == "center") {
tmp = 0.5 * (x2-x1) / (img.width - 1);
x1 -= tmp;
x2 += tmp;
tmp = 0.5 * (y2-y1) / (img.height - 1);
y1 -= tmp;
y2 += tmp;
}
// clip
if (x1 == x2 || y1 == y2 ||
x1 >= xaxis.max || x2 <= xaxis.min ||
y1 >= yaxis.max || y2 <= yaxis.min)
continue;
var sx1 = 0, sy1 = 0, sx2 = img.width, sy2 = img.height;
if (x1 < xaxis.min) {
sx1 += (sx2 - sx1) * (xaxis.min - x1) / (x2 - x1);
x1 = xaxis.min;
}
if (x2 > xaxis.max) {
sx2 += (sx2 - sx1) * (xaxis.max - x2) / (x2 - x1);
x2 = xaxis.max;
}
if (y1 < yaxis.min) {
sy2 += (sy1 - sy2) * (yaxis.min - y1) / (y2 - y1);
y1 = yaxis.min;
}
if (y2 > yaxis.max) {
sy1 += (sy1 - sy2) * (yaxis.max - y2) / (y2 - y1);
y2 = yaxis.max;
}
x1 = xaxis.p2c(x1);
x2 = xaxis.p2c(x2);
y1 = yaxis.p2c(y1);
y2 = yaxis.p2c(y2);
// the transformation may have swapped us
if (x1 > x2) {
tmp = x2;
x2 = x1;
x1 = tmp;
}
if (y1 > y2) {
tmp = y2;
y2 = y1;
y1 = tmp;
}
tmp = ctx.globalAlpha;
ctx.globalAlpha *= series.images.alpha;
ctx.drawImage(img,
sx1, sy1, sx2 - sx1, sy2 - sy1,
x1 + plotOffset.left, y1 + plotOffset.top,
x2 - x1, y2 - y1);
ctx.globalAlpha = tmp;
}
}
function processRawData(plot, series, data, datapoints) {
if (!series.images.show)
return;
// format is Image, x1, y1, x2, y2 (opposite corners)
datapoints.format = [
{ required: true },
{ x: true, number: true, required: true },
{ y: true, number: true, required: true },
{ x: true, number: true, required: true },
{ y: true, number: true, required: true }
];
}
function init(plot) {
plot.hooks.processRawData.push(processRawData);
plot.hooks.drawSeries.push(drawSeries);
}
$.plot.plugins.push({
init: init,
options: options,
name: 'image',
version: '1.1'
});
})(jQuery);
|
274056675/springboot-openai-chatgpt | 4,407 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/service/impl/MngServiceImpl.java | package org.springblade.modules.mjkj.service.impl;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import lombok.extern.slf4j.Slf4j;
import org.springblade.core.secure.utils.AuthUtil;
import org.springblade.core.tool.utils.DateUtil;
import org.springblade.core.tool.utils.Func;
import org.springblade.modules.mjkj.common.cgform.service.IMjkjBaseSqlService;
import org.springblade.modules.mjkj.common.constant.ServiceTypeConstant;
import org.springblade.modules.mjkj.common.utils.MjkjUtils;
import org.springblade.modules.mjkj.param.mng.MngMemberParam;
import org.springblade.modules.mjkj.param.mng.MngQuestionCouParam;
import org.springblade.modules.mjkj.service.IMngService;
import org.springblade.modules.mjkj.service.IWebService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* 后台相关
*/
@Slf4j
@Service
public class MngServiceImpl implements IMngService {
@Autowired
private IMjkjBaseSqlService baseSqlService;
@Autowired
private IWebService webService;
//修改可提问问题次数
@Transactional
@Override
public void updateQuestionCou(MngQuestionCouParam param){
List<String> ids = param.getIds();
String type = param.getType();
Integer num = param.getNum();
String remark = param.getRemark();
String manageType = param.getManageType(); //question 就是修改积分,rl 就是修改燃料
for (String id:ids) {
Map<String, Object> wxuserMap = baseSqlService.getTableById("chat_wxuser", id);
if(Func.isEmpty(wxuserMap)){
continue;
}
Long bladeUserId = MjkjUtils.getMap2Long(wxuserMap, "blade_user_id");
String remarkStr="【"+ AuthUtil.getUserName() +"】"+remark;
if(Func.equals(type,"add")){
webService.addWxuserQuestionNum(bladeUserId,id, ServiceTypeConstant.rg,num,null,remarkStr,manageType);
}else{//减少
webService.subWxuserQuestionNum(bladeUserId,id,ServiceTypeConstant.rg,num,null,remarkStr,manageType);
}
}
}
//人工充值
@Transactional(rollbackFor = Exception.class)
@Override
public void addGoodsOrder(Map<String, Object> wxuserMap , MngMemberParam param){
////add=增加 sub=减少
String type=Func.equals(param.getType(),"add")?"增加":"减少";
String title="人工【"+type+"】 "+param.getDay()+" 天 "+ param.getRlCou() + "燃料";
String wxuserId = MjkjUtils.getMap2Str(wxuserMap, "id");
String wxName = MjkjUtils.getMap2Str(wxuserMap, "wx_name");
String orderCode="ORD_"+ IdWorker.getIdStr();
Integer day = param.getDay();
Integer rlCou = param.getRlCou();
Date now = DateUtil.now();
String goodsId="-1";
//下单
Map<String,Object> orderMap=new HashMap<>();
orderMap.put("goods_title",title);
orderMap.put("wxuser_id",wxuserId);
orderMap.put("wxuser_name",wxName);
orderMap.put("order_code",orderCode);
orderMap.put("amount",param.getAmount());
orderMap.put("day",day);
orderMap.put("rl_num",rlCou);
orderMap.put("order_time",now);
orderMap.put("chat_goods_id",goodsId);
orderMap.put("pay_type",1);//人工
orderMap.put("pay_code",IdWorker.getIdStr());
orderMap.put("pay_time",now);
orderMap.put("pay_status",1);//已付款
orderMap.put("remark","【"+AuthUtil.getUserName()+"】"+param.getRemark());
baseSqlService.baseInsertData("chat_goods_order",orderMap);
//加入到用户时长里面
Date expireTime = MjkjUtils.getMap2DateTime(wxuserMap, "expire_time");
if(Func.isEmpty(expireTime) || expireTime.getTime()<=now.getTime()){//如果已经过期了的话,则从现在开始
expireTime=now;
}
//添加用户的燃料次数
Integer oldRlNum = MjkjUtils.getMap2Integer(wxuserMap,"rl_cou");
if (oldRlNum>=0) {
rlCou = oldRlNum+rlCou;
}
//写入历史记录
Date newExpireTime = null;
if(Func.equals(param.getType(),"add")){//增加
newExpireTime = DateUtil.plusDays(expireTime, day);
}else{//减少
newExpireTime = DateUtil.plusDays(expireTime, -day);
}
//写充值记录
Map<String,Object> logMap=new HashMap<>();
logMap.put("wxuser_id",wxuserId);
logMap.put("order_code",orderCode);
logMap.put("start_time",expireTime);
logMap.put("end_time",newExpireTime);
baseSqlService.baseInsertData("chat_log_wxuser_time",logMap);
//更新用户
Map<String,Object> wuserUpateMap=new HashMap<>();
wuserUpateMap.put("expire_time",newExpireTime);//新的到期时间
wuserUpateMap.put("rl_cou",rlCou); //添加燃料
baseSqlService.baseUpdateData("chat_wxuser",wuserUpateMap,wxuserId);
}
}
|
274056675/springboot-openai-chatgpt | 3,062 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/service/impl/SmsServiceImpl.java | package org.springblade.modules.mjkj.service.impl;
import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.IAcsClient;
import com.aliyuncs.dysmsapi.model.v20170525.SendSmsRequest;
import com.aliyuncs.dysmsapi.model.v20170525.SendSmsResponse;
import com.aliyuncs.profile.DefaultProfile;
import com.aliyuncs.profile.IClientProfile;
import lombok.extern.slf4j.Slf4j;
import org.springblade.core.tool.jackson.JsonUtil;
import org.springblade.core.tool.utils.DateUtil;
import org.springblade.core.tool.utils.Func;
import org.springblade.core.tool.utils.RedisUtil;
import org.springblade.modules.mjkj.common.cgform.service.IMjkjBaseSqlService;
import org.springblade.modules.mjkj.common.config.constant.ChatgptConfig;
import org.springblade.modules.mjkj.common.config.constant.MjkjSmsConfig;
import org.springblade.modules.mjkj.service.ISmsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.TimeUnit;
/**
* 短信相关 相关
*/
@Service
@Slf4j
public class SmsServiceImpl implements ISmsService {
@Autowired
private IMjkjBaseSqlService baseSqlService;
@Autowired
private RedisUtil redisUtil;
private String getRedisKey(String phone){
String redisKey="SMS_PHONE:"+phone;
return redisKey;
}
//发送短信验证码
@Override
public boolean sendSms(String phone,String code){
try {
Map<String, String> params = new HashMap<>();
params.put("code", code);
IClientProfile profile = DefaultProfile.getProfile("cn-hangzhou", MjkjSmsConfig.getAccessKey(), MjkjSmsConfig.getSecretKey());
IAcsClient acsClient = new DefaultAcsClient(profile);
SendSmsRequest request = new SendSmsRequest();
request.setPhoneNumbers(phone);
request.setSignName(MjkjSmsConfig.getSignName());
request.setTemplateCode(MjkjSmsConfig.getTemplateId());
request.setTemplateParam(JsonUtil.toJson(params));
SendSmsResponse sendSmsResponse = null;
String sendResult="";
boolean flag =false;
if(Func.equals(ChatgptConfig.getDebug(),"true")){//调试
sendSmsResponse = new SendSmsResponse();
sendSmsResponse.setCode("OK");
sendSmsResponse.setMessage("test");
flag = true;
sendResult=flag?"成功":"失败";
}else{
sendSmsResponse = acsClient.getAcsResponse(request);
if ((sendSmsResponse.getCode() != null) && (sendSmsResponse.getCode().equals("OK"))) {
flag = true;
} else {
flag = false;
}
}
//保存日志
Date now = DateUtil.now();
Map<String,Object> addMap=new HashMap<>();
addMap.put("phone",phone);
addMap.put("code",code);
addMap.put("send_time",now);
addMap.put("send_result",sendResult);
addMap.put("remark",sendSmsResponse.getMessage());
baseSqlService.baseInsertData("chat_log_sms",addMap);
//写入redis
String redisKey = this.getRedisKey(phone);
if(flag){
redisUtil.set(redisKey,code,300L, TimeUnit.SECONDS);//5分钟
}
return flag;
} catch (Exception e) {
e.printStackTrace();
}
return false;
}
}
|
233zzh/TitanDataOperationSystem | 3,237 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/flot/FAQ.md | ## Frequently asked questions ##
#### How much data can Flot cope with? ####
Flot will happily draw everything you send to it so the answer
depends on the browser. The excanvas emulation used for IE (built with
VML) makes IE by far the slowest browser so be sure to test with that
if IE users are in your target group (for large plots in IE, you can
also check out Flashcanvas which may be faster).
1000 points is not a problem, but as soon as you start having more
points than the pixel width, you should probably start thinking about
downsampling/aggregation as this is near the resolution limit of the
chart anyway. If you downsample server-side, you also save bandwidth.
#### Flot isn't working when I'm using JSON data as source! ####
Actually, Flot loves JSON data, you just got the format wrong.
Double check that you're not inputting strings instead of numbers,
like [["0", "-2.13"], ["5", "4.3"]]. This is most common mistake, and
the error might not show up immediately because Javascript can do some
conversion automatically.
#### Can I export the graph? ####
You can grab the image rendered by the canvas element used by Flot
as a PNG or JPEG (remember to set a background). Note that it won't
include anything not drawn in the canvas (such as the legend). And it
doesn't work with excanvas which uses VML, but you could try
Flashcanvas.
#### The bars are all tiny in time mode? ####
It's not really possible to determine the bar width automatically.
So you have to set the width with the barWidth option which is NOT in
pixels, but in the units of the x axis (or the y axis for horizontal
bars). For time mode that's milliseconds so the default value of 1
makes the bars 1 millisecond wide.
#### Can I use Flot with libraries like Mootools or Prototype? ####
Yes, Flot supports it out of the box and it's easy! Just use jQuery
instead of $, e.g. call jQuery.plot instead of $.plot and use
jQuery(something) instead of $(something). As a convenience, you can
put in a DOM element for the graph placeholder where the examples and
the API documentation are using jQuery objects.
Depending on how you include jQuery, you may have to add one line of
code to prevent jQuery from overwriting functions from the other
libraries, see the documentation in jQuery ("Using jQuery with other
libraries") for details.
#### Flot doesn't work with [insert name of Javascript UI framework]! ####
Flot is using standard HTML to make charts. If this is not working,
it's probably because the framework you're using is doing something
weird with the DOM or with the CSS that is interfering with Flot.
A common problem is that there's display:none on a container until the
user does something. Many tab widgets work this way, and there's
nothing wrong with it - you just can't call Flot inside a display:none
container as explained in the README so you need to hold off the Flot
call until the container is actually displayed (or use
visibility:hidden instead of display:none or move the container
off-screen).
If you find there's a specific thing we can do to Flot to help, feel
free to submit a bug report. Otherwise, you're welcome to ask for help
on the forum/mailing list, but please don't submit a bug report to
Flot.
|
274056675/springboot-openai-chatgpt | 22,761 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/utils/MjkjUtils.java | package org.springblade.modules.mjkj.common.utils;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Maps;
import me.zhyd.oauth.config.AuthConfig;
import me.zhyd.oauth.request.AuthRequest;
import me.zhyd.oauth.request.AuthWeChatOpenRequest;
import org.springblade.modules.mjkj.common.cgform.enums.MjkjAeskey;
import org.springblade.modules.mjkj.common.cgform.model.ImageSizeModel;
import org.springblade.modules.mjkj.common.config.constant.ChatgptConfig;
import org.springblade.core.tool.jackson.JsonUtil;
import org.springblade.core.tool.utils.*;
import sun.misc.BASE64Decoder;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.math.BigDecimal;
import java.sql.Time;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.util.*;
import java.util.stream.Collectors;
public class MjkjUtils {
public static Map<String, String> syncUbwTradeMap = new HashMap<>();
public static String WAV=".wav";
/**
* 获取map值
* (map的value是单个的数据时使用)
*
* @param map 查询封装的一条数据
* @param key 高查条件的key
* @return
*/
public static String getMap2Str(Map<String, Object> map, String key) {
// 参数校验:
if (Func.isEmpty(key) || Func.isEmpty(map)) {
return "";
}
// 根据高查条件的key获取value
Object o = map.get(key);
if (Func.isEmpty(o)) {
return "";
}
// object -> String
String value = Func.toStr(o);
// 返回
return value;
}
/**
* 获取map值
*
* @param map 查询封装的一条数据
* @param key 高查条件的key
* @return
*/
public static <T> List<T> getMapAll2List(Map<String, Object> map, String key) {
// 参数校验:
if (Func.isEmpty(key) || Func.isEmpty(map)) {
return Collections.emptyList();
}
Object o = map.get(key);
// 根据高查条件的key获取value
if (o instanceof List)
return (List<T>) o;
T[] arr = (T[]) Func.toStr(o).replaceAll("[\\[\\]()]", "").split(",");
return Arrays.asList(arr);
}
/**
* 获取map值
* (map的value是单个的数据时使用)
*
* @param map 查询封装的一条数据
* @param key 高查条件的key
* @return
*/
public static Date getMap2DateTime(Map<String, Object> map, String key) {
// 参数校验:
if (Func.isEmpty(key) || Func.isEmpty(map)) {
return null;
}
// 根据高查条件的key获取value
Object o = map.get(key);
if (Func.isEmpty(o)) {
return null;
}
if (o instanceof Date) {
if (o instanceof java.sql.Date || o instanceof Time) {
return new Date(((Date) o).getTime());
}
return (Date) o;
}
if (o instanceof LocalDateTime) {
LocalDateTime localDateTime = (LocalDateTime) o;
Date date = Date.from(localDateTime.atZone( ZoneId.systemDefault()).toInstant());
return date;
}
// object -> String
String value = Func.toStr(o);
return DateUtil.parse(value, DateUtil.DATETIME_FORMAT);
}
/**
* 是否为昨天
*
* @param map 查询封装的一条数据
* @param key 高查条件的key
* @return
*/
public static boolean isYesterday(Map<String, Object> map, String key) {
// 参数校验:
if (Func.isEmpty(key) || Func.isEmpty(map)) {
return false;
}
// 根据高查条件的key获取value
Object o = map.get(key);
if (Func.isEmpty(o)) {
return false;
}
if (o instanceof Date)
return cn.hutool.core.date.DateUtil.isSameDay(cn.hutool.core.date.DateUtil.yesterday(), (Date) o);
// object -> String
String value = Func.toStr(o);
return cn.hutool.core.date.DateUtil.isSameDay(cn.hutool.core.date.DateUtil.yesterday(), DateUtil.parse(value, DateUtil.DATETIME_FORMAT));
}
/**
* 指定日期是否为三天内
*
* @param map 查询封装的一条数据
* @param key 高查条件的key
* @return
*/
public static boolean isBetweenThirdDays(Map<String, Object> map, String key) {
// 参数校验:
if (Func.isEmpty(key) || Func.isEmpty(map)) {
return false;
}
// 根据高查条件的key获取value
Object o = map.get(key);
if (Func.isEmpty(o)) {
return false;
}
if (o instanceof Date)
return cn.hutool.core.date.DateUtil.betweenDay(cn.hutool.core.date.DateUtil.date(), (Date) o, false) < 3;
// object -> String
String value = Func.toStr(o);
return cn.hutool.core.date.DateUtil.betweenDay(cn.hutool.core.date.DateUtil.date(), DateUtil.parse(value, DateUtil.DATETIME_FORMAT), false) < 3;
}
/**
* 指定日期是否为一周内
*
* @param map 查询封装的一条数据
* @param key 高查条件的key
* @return
*/
public static boolean isBetweenWeek(Map<String, Object> map, String key) {
// 参数校验:
if (Func.isEmpty(key) || Func.isEmpty(map)) {
return false;
}
// 根据高查条件的key获取value
Object o = map.get(key);
if (Func.isEmpty(o)) {
return false;
}
if (o instanceof Date)
return cn.hutool.core.date.DateUtil.betweenWeek(cn.hutool.core.date.DateUtil.date(), (Date) o, false) == 0;
// object -> String
String value = Func.toStr(o);
return cn.hutool.core.date.DateUtil.betweenWeek(cn.hutool.core.date.DateUtil.date(), DateUtil.parse(value, DateUtil.DATETIME_FORMAT), false) == 0;
}
/**
* 指定日期是否为一月内
*
* @param map 查询封装的一条数据
* @param key 高查条件的key
* @return
*/
public static boolean isBetweenMonth(Map<String, Object> map, String key) {
// 参数校验:
if (Func.isEmpty(key) || Func.isEmpty(map)) {
return false;
}
// 根据高查条件的key获取value
Object o = map.get(key);
if (Func.isEmpty(o)) {
return false;
}
if (o instanceof Date)
return cn.hutool.core.date.DateUtil.betweenMonth(cn.hutool.core.date.DateUtil.date(), (Date) o, false) == 0;
// object -> String
String value = Func.toStr(o);
return cn.hutool.core.date.DateUtil.betweenMonth(cn.hutool.core.date.DateUtil.date(), DateUtil.parse(value, DateUtil.DATETIME_FORMAT), false) == 0;
}
/**
* 获取map值
* (map的value是单个的数据时使用)
*
* @param map 查询封装的一条数据
* @param key 高查条件的key
* @return
*/
public static boolean contains(Map<String, Object> map, String key) {
// 参数校验:
if (Func.isEmpty(key) || Func.isEmpty(map)) {
return false;
}
if (map.containsKey(key) && !Func.toStr(map.get(key)).equals(""))
return true;
return false;
}
/**
* 获取map值
* (map的value是单个的数据时使用)
*
* @param map 查询封装的一条数据
* @param key 高查条件的key
* @return
*/
public static BigDecimal getMap2BigD(Map<String, Object> map, String key) {
// 参数校验:
if (Func.isEmpty(key) || Func.isEmpty(map)) {
return BigDecimal.ZERO;
}
Object o = map.get(key);
if (Func.isEmpty(o)) {
return BigDecimal.ZERO;
}
// object -> BigDecimal
BigDecimal bigDecimal = new BigDecimal(Func.toStr(o));
// 返回
return bigDecimal;
}
public static BigDecimal getBigDSafe(Map<?, BigDecimal> map, Object key) {
// 参数校验:
if (Func.isEmpty(key) || Func.isEmpty(map)) {
return BigDecimal.ZERO;
}
Object o = map.get(key);
if (Func.isEmpty(o)) {
return BigDecimal.ZERO;
}
return map.get(key);
}
public static BigDecimal getBigDecimalDefaultOne(Map<?, Object> map, Object key) {
if (Func.isEmpty(key) || Func.isEmpty(map)) {
return BigDecimal.ONE;
}
Object o = map.get(key);
if (Func.isEmpty(o)) {
return BigDecimal.ONE;
}
// object -> BigDecimal
BigDecimal bigDecimal = new BigDecimal(Func.toStr(o));
// 返回
return bigDecimal;
}
/**
* 获取map值
*
* @param map
* @param key
* @return
*/
public static Long getMap2Long(Map<String, Object> map, String key) {
String str = getMap2Str(map, key);
if (Func.isEmpty(str)) {
return -1L;
}
return Func.toLong(str);
}
/**
* 获取map值
*
* @param map
* @param key
* @return
*/
public static Double getMap2Double(Map<String, Object> map, String key) {
String str = getMap2Str(map, key);
if (Func.isEmpty(str)) {
return -1D;
}
return Func.toDouble(str);
}
/**
* 获取map值
*
* @param map
* @param key
* @return
*/
public static Integer getMap2Integer(Map<String, Object> map, String key) {
String str = getMap2Str(map, key);
if (Func.isEmpty(str)) {
return -1;
}
return Func.toInt(str);
}
/**
* 获取map值
*
* @param map
* @param key
* @return
*/
public static Map<String, Object> getMap2Map(Map<String, Object> map, String key) {
Map<String, Object> map2 = new HashMap<>();
// 参数校验:
if (Func.isEmpty(key) || Func.isEmpty(map) || Func.isEmpty(map.get(key))) {
return map2;
}
map2 = (Map<String, Object>) map.get(key);
return map2;
}
/**
* 获取map值
*
* @param map
* @param key
* @return
*/
public static Map<String, Object> getMapJson2Map(Map<String, Object> map, String key) {
if (Func.isEmpty(key) || Func.isEmpty(map) || Func.isEmpty(map.get(key))) {
return new HashMap<String, Object>();
}
return JsonUtil.parse(getMap2Str(map, key), Map.class);
// 参数校验:
}
public static List<Map<String, Object>> getMapJson2List(Map<String, Object> map, String key) {
if (Func.isEmpty(key) || Func.isEmpty(map) || Func.isEmpty(map.get(key))) {
return new ArrayList<>();
}
return JsonUtil.parse(getMap2Str(map, key), ArrayList.class);
// 参数校验:
}
/**
* 获取map值
*
* @param map
* @param key
* @return
*/
public static List<Map<String, Object>> getMap2List1(Map<String, Object> map, String key) {
List<Map<String, Object>> list = new ArrayList<>();
// 参数校验:
if (Func.isEmpty(key) || Func.isEmpty(map) || Func.isEmpty(map.get(key))) {
return list;
}
list = (List<Map<String, Object>>) map.get(key);
return list;
}
/**
* 获取分页信息
*
* @param params
* @return 为空则不分页
*/
public static Page getPage(Map<String, Object> params) {
Integer pageNo = params.get("pageNo") == null ? 1 : Integer.parseInt(params.get("pageNo").toString());
Integer pageSzie = params.get("pageSize") == null ? 10 : Integer.parseInt(params.get("pageSize").toString());
if (pageSzie == -521) {
Page<Map<String, Object>> page = new Page<>(pageNo, pageSzie);
return page;
}
Page<Map<String, Object>> page = new Page<>(pageNo, pageSzie);
return page;
}
/**
* 获取分页信息
*
* @return 为空则不分页
*/
public static Page getPage(Integer pageNo,Integer pageSize) {
if(Func.isEmpty(pageNo)){
pageNo=1;
}
if(Func.isEmpty(pageSize)){
pageSize=10;
}
if (pageSize == -521) {
Page<Map<String, Object>> page = new Page<>(pageNo, pageSize);
return page;
}
Page<Map<String, Object>> page = new Page<>(pageNo, pageSize);
return page;
}
/**
* 设置分页返回结果
*
* @param params
* @param ipage
*/
public static void setPageResult(Map<String, Object> params, IPage ipage) {
params.put("dataTotal", ipage.getTotal());
params.put("dataRecords", ipage.getRecords());
}
public static void setPageResult(Map<String, Object> params, IPage ipage, Map<String, Object> otherMap) {
params.put("dataTotal", ipage.getTotal());
params.put("dataRecords", ipage.getRecords());
params.put("dataOther", otherMap);
}
/**
* 封装查询条件
*
* @param obj 字段,值 ...
* @return
*/
public static QueryWrapper queryWrapper(Object... obj) {
if (obj.length % 2 != 0)
throw new RuntimeException("参数个数错误!");
QueryWrapper queryWrapper = new QueryWrapper();
for (int i = 0; i < obj.length / 2; i++) {
queryWrapper.eq(obj[i * 2], obj[(i * 2 + 1)]);
}
return queryWrapper;
}
/**
* 使用stream流去比较两个数组是否相等
* 方法5
*/
public static boolean checkDiffrent4(List<String> list, List<String> list1) {
long st = System.nanoTime();
/** 先将集合转成stream流进行排序然后转成字符串进行比较 */
return list.stream().sorted().collect(Collectors.joining())
.equals(list1.stream().sorted().collect(Collectors.joining()));
}
/**
* 计算价格
*
* @param quoteSetting
* @return
*/
public static BigDecimal calcAmount(JSONArray quoteSetting, BigDecimal amount) {
if (null == quoteSetting) {
return amount;
}
BigDecimal coefficient = quoteSetting.getBigDecimal(1);
if (null == coefficient) {
return amount;
}
BigDecimal calcAmount = amount.multiply(coefficient).setScale(6, BigDecimal.ROUND_UP);
if (calcAmount.compareTo(new BigDecimal("0")) == 0) {
return amount;
}
return calcAmount.stripTrailingZeros();
}
public static String getId(JSONObject jsonObject) {
String id = "";
if (jsonObject.containsKey("ch")) {
id = jsonObject.getString("ch");
if (id == null || id.split("\\.").length < 3) {
return null;
}
}
if (jsonObject.containsKey("rep")) {
id = jsonObject.getString("rep");
if (id == null || id.split("\\.").length < 3) {
return null;
}
}
if (id.equals("")) {
return null;
}
return id;
}
public static long getSecond(String period) {
long second = 0;
if (period.equals("1min")) {
second = 1 * 60L;
} else if (period.equals("5min")) {
second = 5 * 60L;
} else if (period.equals("15min")) {
second = 15 * 60L;
} else if (period.equals("30min")) {
second = 30 * 60L;
} else if (period.equals("60min")) {
second = 60 * 60L;
} else if (period.equals("4hour")) {
second = 4 * 3600L;
} else if (period.equals("1day")) {
second = 24 * 3600L;
} else if (period.equals("1mon")) {
second = 30 * 24 * 3600L;
} else if (period.equals("1week")) {
second = 7 * 24 * 3600L;
}
return second;
}
//获取7天后
public static Date get7Day(Date now) {
String format = DateUtil.format(now, "yyyy-MM-dd HH");
format = format + ":00:00";
Date newDate = DateUtil.parse(format, DateUtil.PATTERN_DATETIME);
Date result = DateUtil.plusDays(newDate, 7);
return result;
}
public static long getTimeSubHour(Date startDate, Date endDate) {
//String startDateStr = DateUtil.format(startDate, "yyyy-MM-dd HH");
//startDateStr=startDateStr+":00:00";
//startDate = DateUtil.parse(startDateStr, "yyyy-MM-dd HH:mm:ss");
long diff = endDate.getTime() - startDate.getTime();
long hours = diff / 60 / 60 / 1000;
hours = hours + 1;//向上取整
return hours;
}
/**
* 转为树形结构
*
* @param items
* @param idKey 转换id键名
* @param parentIdKey 父id键名
* @return
*/
public static List<Map<String, Object>> forestNodeManager(List<Map<String, Object>> items, String idKey, String parentIdKey) {
ImmutableMap<Long, Map<String, Object>> nodeMap = Maps.uniqueIndex(items, m -> getMap2Long(m, "id"));
Map<Long, Object> parentIdMap = Maps.newHashMap();
items.forEach((forestNode) -> {
if (getMap2Long(forestNode, parentIdKey) != 0L) {
Map<String, Object> node = nodeMap.get(getMap2Long(forestNode, parentIdKey));
if (node != null) {
List<Map<String, Object>> list = (List<Map<String, Object>>) node.get("children");
if (Func.isEmpty(list)) {
list = new ArrayList<>();
list.add(forestNode);
node.put("children", list);
} else
list.add(forestNode);
} else {
parentIdMap.put(getMap2Long(forestNode, idKey), "");
}
}
});
List<Map<String, Object>> roots = new ArrayList();
nodeMap.forEach((key, node) -> {
if (getMap2Long(node, parentIdKey) == 0L || parentIdMap.containsKey(getMap2Long(node, idKey))) {
roots.add(node);
}
});
return roots;
}
public static Map<String, Map<String, Object>> list2Map(List<Map<String, Object>> dataList, String key) {
Map<String, Map<String, Object>> resultMap = new HashMap<>();
if (Func.isNotEmpty(dataList)) {
dataList.forEach(map -> {
resultMap.put(Func.toStr(map.get(key)), map);
});
}
return resultMap;
}
public static Map<String, Map<String, Object>> list2Map2UpperCase(List<Map<String, Object>> dataList, String key) {
Map<String, Map<String, Object>> resultMap = new HashMap<>();
if (Func.isNotEmpty(dataList)) {
dataList.forEach(map -> {
resultMap.put(Func.toStr(map.get(key)).toUpperCase(), map);
});
}
return resultMap;
}
/**
* 获取加密key
*
* @return
*/
public static String getSalt() {
String key = AesUtil.genAesKey();
System.out.println(key);
return key;
}
//数据库加密
public static String getDbJiaMi(String str) {
String encrypt = AesUtil.encryptToHex(str, MjkjAeskey.db_aes_key);
return encrypt;
}
//数据库解密
public static String getDbJieMi(String str) {
String encrypt = AesUtil.decryptFormHexToString(str, MjkjAeskey.db_aes_key);
return encrypt;
}
//获取手机缓存Key
public static String getPhoneRedisKey(String type, String phone, String areaCode) {
String redisKey = "SMS:PHONE_" + type + "_areaCode_" + areaCode + "_phone_" + phone;
return redisKey;
}
//获取验证码key
public static String getEmailRedisKey(String type, String email) {
String redisKey = "SMS:EMAIL_" + type + "_email_" + email;
return redisKey;
}
public static boolean getMap2Boolean(Map<String, Object> map, String key) {
if (Func.isEmpty(map))
return false;
if (!map.containsKey(key))
return false;
return Func.toBoolean(map.get(key));
}
public static <T> List<T> mergeList(List<T> dataList, List<T> dataList2) {
ArrayList<T> list = new ArrayList<>();
if (Func.isNotEmpty(dataList))
list.addAll(dataList);
if (Func.isNotEmpty(dataList2))
list.addAll(dataList2);
return list;
}
/**
* 获取小数位
*
* @param num
* @return
*/
public static Integer getDecimalNum(BigDecimal num) {
String str = num.stripTrailingZeros().toPlainString();
if (str.indexOf(".") != -1) {//是小数
String subStr = str.split("\\.")[1];
return subStr.length();
} else {
return 0;
}
}
/**
* 清空列表
*
* @param list
*/
public static void clearList(List<Map<String, Object>> list) {
if (Func.isNotEmpty(list)) {
list.clear();
}
}
/**
* 数据脱敏
* @return
*/
public static String desensitizeStr(String str,String nullDfStr){
if(Func.isEmpty(str)){
return nullDfStr;
}
if(str.length()==1){
return nullDfStr;
}else if(str.length()==2){
return str.substring(0,1)+"*";
}else if(str.length()==3){
return str.substring(0,1)+"*"+str.substring(2,3);
}else{
return str.substring(0,1)+"**"+str.substring(str.length()-1,str.length());
}
}
//缓存
public static String getRewardAdvertRedisKey(Long bladeUserId,boolean isLikeFlag){
Date now = DateUtil.now();
String yyyyMMdd = DateUtil.format(now, DateUtil.PATTERN_DATE);
String redisKey="";
if(isLikeFlag){
redisKey="REWARD_ADVERT:"+yyyyMMdd+":"+bladeUserId+":*";
}else{
redisKey="REWARD_ADVERT:"+yyyyMMdd+":"+bladeUserId+":"+ IdWorker.getIdStr();
}
return redisKey;
}
//缓存
public static String getRedisKeyMoreFun(String wxuserId,String type){
String redisKey="MORE_FUN:WXUSER_ID_"+wxuserId+":TYPE_"+type;
return redisKey;
}
//获取key
public static String getRedisKeyWuserId(Long bladeUserId){
String redisKey="WXUSER:WUSER_ID:"+bladeUserId;
return redisKey;
}
//获取key
public static String getRedisKeyChatCode(Long bladeUserId){
String redisKey="WXUSER:CHAT_CODE:"+bladeUserId;
return redisKey;
}
//获取签到
public static String getRedisKeySign(Long bladeUserId,Date date){
String yyyyMMdd = DateUtil.format(date, DateUtil.PATTERN_DATE);
String redisKey="WXUSER:SIGN:"+bladeUserId+":yyyyMMdd_"+yyyyMMdd;
return redisKey;
}
/**
* 获取周几
* @param date
* @return
*/
public static String getWeek(Date date){
Calendar calendar = Calendar.getInstance();
calendar.setTime(date);
int weekIdx = calendar.get(Calendar.DAY_OF_WEEK) - 1;
switch (weekIdx) {
case 1:
return "星期一";
case 2:
return "星期二";
case 3:
return "星期三";
case 4:
return "星期四";
case 5:
return "星期五";
case 6:
return "星期六";
default:
return "星期日";
}
}
public static List<String> getDateWeek() {
Date now = DateUtil.now();
Calendar cal = Calendar.getInstance();
cal.setTime(now);
int b = cal.get(Calendar.DAY_OF_WEEK) - 1;
if (b == 0) {
b = 7;
}
Date fdate;
List<String> list = new ArrayList();
Long fTime = now.getTime() - b * 24 * 3600000;
for (int a = 1; a <= 7; a++) {
fdate = new Date();
fdate.setTime(fTime + (a * 24 * 3600000));
String fdateStr = DateUtil.format(fdate, DateUtil.PATTERN_DATE);
list.add(a - 1,fdateStr );
}
return list;
}
static AuthRequest authRequest =null;
public static AuthRequest getAuthRequest(String redirectUri){
if(Func.isEmpty(authRequest) || Func.isNotEmpty(redirectUri)){
authRequest = new AuthWeChatOpenRequest(AuthConfig.builder()
.clientId(ChatgptConfig.getOpenWxClientId())
.clientSecret(ChatgptConfig.getOpenWxClientSecret())
.redirectUri(UrlUtil.encode(redirectUri, Charsets.UTF_8))
.build());
}
return authRequest;
}
/**
* base64 转 input流
* @param
* @return 输入流
*/
public static InputStream base2InputStream(String base64string) {
ByteArrayInputStream stream = null;
try {
BASE64Decoder decoder = new BASE64Decoder();
byte[] bytes1 = decoder.decodeBuffer(base64string);
stream = new ByteArrayInputStream(bytes1);
} catch (Exception e) {
e.printStackTrace();
}
return stream;
}
//指令是否是图片
public static boolean promptIsImage(String prompt){
String imagePromptListStr = ChatgptConfig.getImagePromptStart();
List<String> imagePromptList = Func.toStrList(imagePromptListStr);
for(String imagePrompt:imagePromptList){
if(prompt.startsWith(imagePrompt)){//图片
return true;
}
}
return false;
}
//指令是否是图片
public static ImageSizeModel getIMageSize(String prompt){
ImageSizeModel sizeModel=new ImageSizeModel();
if(prompt.contains("9:16")){
sizeModel.setWidth(432);
sizeModel.setHeight(768);
sizeModel.setProportion("9:16");
return sizeModel;
}else if(prompt.contains("16:9")){
sizeModel.setWidth(768);
sizeModel.setHeight(432);
sizeModel.setProportion("9:16");
return sizeModel;
}else if(prompt.contains("1:1")){
sizeModel.setWidth(512);
sizeModel.setHeight(512);
sizeModel.setProportion("1:1");
return sizeModel;
}else if(prompt.contains("3:2")){
sizeModel.setWidth(432);
sizeModel.setHeight(288);
sizeModel.setProportion("3:2");
return sizeModel;
}else if(prompt.contains("4:3")){
sizeModel.setWidth(576);
sizeModel.setHeight(432);
sizeModel.setProportion("4:3");
return sizeModel;
}
String imagePromptListStr = ChatgptConfig.getImagePromptEnd();
List<String> imagePromptList = Func.toStrList(imagePromptListStr);
for(String imagePrompt:imagePromptList){
try{
//图片-512x512
String[] split = imagePrompt.split("-");
String endStr =split[0];
String sizeStr = split[1];
String[] sizes = sizeStr.split("x");
String width = sizes[0];
String height = sizes[1];
if(prompt.endsWith(endStr)){//图片
sizeModel.setHeight(Func.toInt(height));
sizeModel.setWidth(Func.toInt(width));
return sizeModel;
}
}catch (Exception e){
}
}
if(Func.isEmpty(sizeModel)){
sizeModel.setWidth(512);
sizeModel.setHeight(512);
}
return sizeModel;
}
//获取查询数据
public static QueryWrapper getQueryWrapper(){
QueryWrapper<Object> wrapper = new QueryWrapper<>();
wrapper.eq("is_deleted", 0);
return wrapper;
}
}
|
233zzh/TitanDataOperationSystem | 7,090 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/flot/jquery.flot.stack.js | /* Flot plugin for stacking data sets rather than overlyaing them.
Copyright (c) 2007-2014 IOLA and Ole Laursen.
Licensed under the MIT license.
The plugin assumes the data is sorted on x (or y if stacking horizontally).
For line charts, it is assumed that if a line has an undefined gap (from a
null point), then the line above it should have the same gap - insert zeros
instead of "null" if you want another behaviour. This also holds for the start
and end of the chart. Note that stacking a mix of positive and negative values
in most instances doesn't make sense (so it looks weird).
Two or more series are stacked when their "stack" attribute is set to the same
key (which can be any number or string or just "true"). To specify the default
stack, you can set the stack option like this:
series: {
stack: null/false, true, or a key (number/string)
}
You can also specify it for a single series, like this:
$.plot( $("#placeholder"), [{
data: [ ... ],
stack: true
}])
The stacking order is determined by the order of the data series in the array
(later series end up on top of the previous).
Internally, the plugin modifies the datapoints in each series, adding an
offset to the y value. For line series, extra data points are inserted through
interpolation. If there's a second y value, it's also adjusted (e.g for bar
charts or filled areas).
*/
(function ($) {
var options = {
series: { stack: null } // or number/string
};
function init(plot) {
function findMatchingSeries(s, allseries) {
var res = null;
for (var i = 0; i < allseries.length; ++i) {
if (s == allseries[i])
break;
if (allseries[i].stack == s.stack)
res = allseries[i];
}
return res;
}
function stackData(plot, s, datapoints) {
if (s.stack == null || s.stack === false)
return;
var other = findMatchingSeries(s, plot.getData());
if (!other)
return;
var ps = datapoints.pointsize,
points = datapoints.points,
otherps = other.datapoints.pointsize,
otherpoints = other.datapoints.points,
newpoints = [],
px, py, intery, qx, qy, bottom,
withlines = s.lines.show,
horizontal = s.bars.horizontal,
withbottom = ps > 2 && (horizontal ? datapoints.format[2].x : datapoints.format[2].y),
withsteps = withlines && s.lines.steps,
fromgap = true,
keyOffset = horizontal ? 1 : 0,
accumulateOffset = horizontal ? 0 : 1,
i = 0, j = 0, l, m;
while (true) {
if (i >= points.length)
break;
l = newpoints.length;
if (points[i] == null) {
// copy gaps
for (m = 0; m < ps; ++m)
newpoints.push(points[i + m]);
i += ps;
}
else if (j >= otherpoints.length) {
// for lines, we can't use the rest of the points
if (!withlines) {
for (m = 0; m < ps; ++m)
newpoints.push(points[i + m]);
}
i += ps;
}
else if (otherpoints[j] == null) {
// oops, got a gap
for (m = 0; m < ps; ++m)
newpoints.push(null);
fromgap = true;
j += otherps;
}
else {
// cases where we actually got two points
px = points[i + keyOffset];
py = points[i + accumulateOffset];
qx = otherpoints[j + keyOffset];
qy = otherpoints[j + accumulateOffset];
bottom = 0;
if (px == qx) {
for (m = 0; m < ps; ++m)
newpoints.push(points[i + m]);
newpoints[l + accumulateOffset] += qy;
bottom = qy;
i += ps;
j += otherps;
}
else if (px > qx) {
// we got past point below, might need to
// insert interpolated extra point
if (withlines && i > 0 && points[i - ps] != null) {
intery = py + (points[i - ps + accumulateOffset] - py) * (qx - px) / (points[i - ps + keyOffset] - px);
newpoints.push(qx);
newpoints.push(intery + qy);
for (m = 2; m < ps; ++m)
newpoints.push(points[i + m]);
bottom = qy;
}
j += otherps;
}
else { // px < qx
if (fromgap && withlines) {
// if we come from a gap, we just skip this point
i += ps;
continue;
}
for (m = 0; m < ps; ++m)
newpoints.push(points[i + m]);
// we might be able to interpolate a point below,
// this can give us a better y
if (withlines && j > 0 && otherpoints[j - otherps] != null)
bottom = qy + (otherpoints[j - otherps + accumulateOffset] - qy) * (px - qx) / (otherpoints[j - otherps + keyOffset] - qx);
newpoints[l + accumulateOffset] += bottom;
i += ps;
}
fromgap = false;
if (l != newpoints.length && withbottom)
newpoints[l + 2] += bottom;
}
// maintain the line steps invariant
if (withsteps && l != newpoints.length && l > 0
&& newpoints[l] != null
&& newpoints[l] != newpoints[l - ps]
&& newpoints[l + 1] != newpoints[l - ps + 1]) {
for (m = 0; m < ps; ++m)
newpoints[l + ps + m] = newpoints[l + m];
newpoints[l + 1] = newpoints[l - ps + 1];
}
}
datapoints.points = newpoints;
}
plot.hooks.processDatapoints.push(stackData);
}
$.plot.plugins.push({
init: init,
options: options,
name: 'stack',
version: '1.2'
});
})(jQuery);
|
274056675/springboot-openai-chatgpt | 2,910 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/enums/CgformEnum.java | package org.springblade.modules.mjkj.common.cgform.enums;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* online表单枚举 代码生成器用到
*/
public enum CgformEnum {
/**
* 单表
*/
ONE(1, "one", "/mjkj/code-template-online", "default.one", "经典风格"),
/**
* 多表
*/
MANY(2, "many", "/mjkj/code-template-online", "default.onetomany", "经典风格"),
/**
* 多表
*/
ERP(2, "erp", "/mjkj/code-template-online", "erp.onetomany", "ERP风格"),
/**
* 多表(内嵌子表风格)
*/
INNER_TABLE(2, "innerTable", "/mjkj/code-template-online", "inner-table.onetomany", "内嵌子表风格"),
/**
* 树形列表
*/
TREE(3, "tree", "/mjkj/code-template-online", "default.tree", "树形列表");
/**
* 类型 1/单表 2/一对多 3/树
*/
int type;
/**
* 编码标识
*/
String code;
/**
* 代码生成器模板路径
*/
String templatePath;
/**
* 代码生成器模板路径
*/
String stylePath;
/**
* 模板风格名称
*/
String note;
/**
* 构造器
*
* @param type
* @param code
* @param templatePath
* @param note
*/
CgformEnum(int type, String code, String templatePath, String stylePath, String note) {
this.type = type;
this.code = code;
this.templatePath = templatePath;
this.stylePath = stylePath;
this.note = note;
}
/**
* 根据code获取模板路径
*
* @param code
* @return
*/
public static String getTemplatePathByConfig(String code) {
return getCgformEnumByConfig(code).templatePath;
}
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
public String getTemplatePath() {
return templatePath;
}
public void setTemplatePath(String templatePath) {
this.templatePath = templatePath;
}
public String getStylePath() {
return stylePath;
}
public void setStylePath(String stylePath) {
this.stylePath = stylePath;
}
/**
* 根据code找枚举
*
* @param code
* @return
*/
public static CgformEnum getCgformEnumByConfig(String code) {
for (CgformEnum e : CgformEnum.values()) {
if (e.code.equals(code)) {
return e;
}
}
return null;
}
/**
* 根据类型找所有
*
* @param type
* @return
*/
public static List<Map<String, Object>> getJspModelList(int type) {
List<Map<String, Object>> ls = new ArrayList<Map<String, Object>>();
for (CgformEnum e : CgformEnum.values()) {
if (e.type == type) {
Map<String, Object> map = new HashMap<String, Object>();
map.put("code", e.code);
map.put("note", e.note);
ls.add(map);
}
}
return ls;
}
}
|
274056675/springboot-openai-chatgpt | 1,887 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/enums/CgformValidPatternEnum.java | package org.springblade.modules.mjkj.common.cgform.enums;
public enum CgformValidPatternEnum {
ONLY("only", "only", ""),
NUM6_16("n6-16", "^\\d{6,18}$", "请输入6-16位的数字"),
STRING6_16("*6-16", "^.{6,16}$", "请输入6-16位任意字符"),
LETTER6_18("s6-18", "^[a-z|A-Z]{6,18}$", "请输入6-18位字母"),
URL("url", "^((ht|f)tps?):\\/\\/[\\w\\-]+(\\.[\\w\\-]+)+([\\w\\-.,@?^=%&:\\/~+#]*[\\w\\-@?^=%&\\/~+#])?$", "请输入正规的网址"),
MOBILE("m", "^1[3456789]\\d{9}$", "请输入正规的手机号码"),
POSTAL("p", "^[1-9]\\d{5}$", "请输入正规的邮政编码"),
LETTER("s", "[A-Z|a-z]+$", "请输入字母"),
NUMBER("n", "^-?\\d+(\\.?\\d+|\\d?)$", "请输入数字"),
INTEGER("z", "z", "请输入整数"),
NOTNULL("*", "^.+$", "该字段不能为空"),
EMAIL("e", "^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)+$", "请输入正确格式的邮箱地址"),
MONEY("money", "^(([1-9][0-9]*)|([0]\\.\\d{0,2}|[1-9][0-9]*\\.\\d{0,5}))$", "请输入正确的金额");
String type;
String pattern;
String msg;
private CgformValidPatternEnum(String type, String pattern, String msg) {
this.pattern = pattern;
this.msg = msg;
this.type = type;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getPattern() {
return this.pattern;
}
public void setPattern(String pattern) {
this.pattern = pattern;
}
public String getMsg() {
return this.msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
public static CgformValidPatternEnum getPatternInfoByType(String type) {
CgformValidPatternEnum[] var1 = values();
int var2 = var1.length;
for(int var3 = 0; var3 < var2; ++var3) {
CgformValidPatternEnum var4 = var1[var3];
if (var4.type.equals(type)) {
return var4;
}
}
return null;
}
}
|
233zzh/TitanDataOperationSystem | 9,599 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/flot/jquery.flot.canvas.js | /* Flot plugin for drawing all elements of a plot on the canvas.
Copyright (c) 2007-2014 IOLA and Ole Laursen.
Licensed under the MIT license.
Flot normally produces certain elements, like axis labels and the legend, using
HTML elements. This permits greater interactivity and customization, and often
looks better, due to cross-browser canvas text inconsistencies and limitations.
It can also be desirable to render the plot entirely in canvas, particularly
if the goal is to save it as an image, or if Flot is being used in a context
where the HTML DOM does not exist, as is the case within Node.js. This plugin
switches out Flot's standard drawing operations for canvas-only replacements.
Currently the plugin supports only axis labels, but it will eventually allow
every element of the plot to be rendered directly to canvas.
The plugin supports these options:
{
canvas: boolean
}
The "canvas" option controls whether full canvas drawing is enabled, making it
possible to toggle on and off. This is useful when a plot uses HTML text in the
browser, but needs to redraw with canvas text when exporting as an image.
*/
(function($) {
var options = {
canvas: true
};
var render, getTextInfo, addText;
// Cache the prototype hasOwnProperty for faster access
var hasOwnProperty = Object.prototype.hasOwnProperty;
function init(plot, classes) {
var Canvas = classes.Canvas;
// We only want to replace the functions once; the second time around
// we would just get our new function back. This whole replacing of
// prototype functions is a disaster, and needs to be changed ASAP.
if (render == null) {
getTextInfo = Canvas.prototype.getTextInfo,
addText = Canvas.prototype.addText,
render = Canvas.prototype.render;
}
// Finishes rendering the canvas, including overlaid text
Canvas.prototype.render = function() {
if (!plot.getOptions().canvas) {
return render.call(this);
}
var context = this.context,
cache = this._textCache;
// For each text layer, render elements marked as active
context.save();
context.textBaseline = "middle";
for (var layerKey in cache) {
if (hasOwnProperty.call(cache, layerKey)) {
var layerCache = cache[layerKey];
for (var styleKey in layerCache) {
if (hasOwnProperty.call(layerCache, styleKey)) {
var styleCache = layerCache[styleKey],
updateStyles = true;
for (var key in styleCache) {
if (hasOwnProperty.call(styleCache, key)) {
var info = styleCache[key],
positions = info.positions,
lines = info.lines;
// Since every element at this level of the cache have the
// same font and fill styles, we can just change them once
// using the values from the first element.
if (updateStyles) {
context.fillStyle = info.font.color;
context.font = info.font.definition;
updateStyles = false;
}
for (var i = 0, position; position = positions[i]; i++) {
if (position.active) {
for (var j = 0, line; line = position.lines[j]; j++) {
context.fillText(lines[j].text, line[0], line[1]);
}
} else {
positions.splice(i--, 1);
}
}
if (positions.length == 0) {
delete styleCache[key];
}
}
}
}
}
}
}
context.restore();
};
// Creates (if necessary) and returns a text info object.
//
// When the canvas option is set, the object looks like this:
//
// {
// width: Width of the text's bounding box.
// height: Height of the text's bounding box.
// positions: Array of positions at which this text is drawn.
// lines: [{
// height: Height of this line.
// widths: Width of this line.
// text: Text on this line.
// }],
// font: {
// definition: Canvas font property string.
// color: Color of the text.
// },
// }
//
// The positions array contains objects that look like this:
//
// {
// active: Flag indicating whether the text should be visible.
// lines: Array of [x, y] coordinates at which to draw the line.
// x: X coordinate at which to draw the text.
// y: Y coordinate at which to draw the text.
// }
Canvas.prototype.getTextInfo = function(layer, text, font, angle, width) {
if (!plot.getOptions().canvas) {
return getTextInfo.call(this, layer, text, font, angle, width);
}
var textStyle, layerCache, styleCache, info;
// Cast the value to a string, in case we were given a number
text = "" + text;
// If the font is a font-spec object, generate a CSS definition
if (typeof font === "object") {
textStyle = font.style + " " + font.variant + " " + font.weight + " " + font.size + "px " + font.family;
} else {
textStyle = font;
}
// Retrieve (or create) the cache for the text's layer and styles
layerCache = this._textCache[layer];
if (layerCache == null) {
layerCache = this._textCache[layer] = {};
}
styleCache = layerCache[textStyle];
if (styleCache == null) {
styleCache = layerCache[textStyle] = {};
}
info = styleCache[text];
if (info == null) {
var context = this.context;
// If the font was provided as CSS, create a div with those
// classes and examine it to generate a canvas font spec.
if (typeof font !== "object") {
var element = $("<div> </div>")
.css("position", "absolute")
.addClass(typeof font === "string" ? font : null)
.appendTo(this.getTextLayer(layer));
font = {
lineHeight: element.height(),
style: element.css("font-style"),
variant: element.css("font-variant"),
weight: element.css("font-weight"),
family: element.css("font-family"),
color: element.css("color")
};
// Setting line-height to 1, without units, sets it equal
// to the font-size, even if the font-size is abstract,
// like 'smaller'. This enables us to read the real size
// via the element's height, working around browsers that
// return the literal 'smaller' value.
font.size = element.css("line-height", 1).height();
element.remove();
}
textStyle = font.style + " " + font.variant + " " + font.weight + " " + font.size + "px " + font.family;
// Create a new info object, initializing the dimensions to
// zero so we can count them up line-by-line.
info = styleCache[text] = {
width: 0,
height: 0,
positions: [],
lines: [],
font: {
definition: textStyle,
color: font.color
}
};
context.save();
context.font = textStyle;
// Canvas can't handle multi-line strings; break on various
// newlines, including HTML brs, to build a list of lines.
// Note that we could split directly on regexps, but IE < 9 is
// broken; revisit when we drop IE 7/8 support.
var lines = (text + "").replace(/<br ?\/?>|\r\n|\r/g, "\n").split("\n");
for (var i = 0; i < lines.length; ++i) {
var lineText = lines[i],
measured = context.measureText(lineText);
info.width = Math.max(measured.width, info.width);
info.height += font.lineHeight;
info.lines.push({
text: lineText,
width: measured.width,
height: font.lineHeight
});
}
context.restore();
}
return info;
};
// Adds a text string to the canvas text overlay.
Canvas.prototype.addText = function(layer, x, y, text, font, angle, width, halign, valign) {
if (!plot.getOptions().canvas) {
return addText.call(this, layer, x, y, text, font, angle, width, halign, valign);
}
var info = this.getTextInfo(layer, text, font, angle, width),
positions = info.positions,
lines = info.lines;
// Text is drawn with baseline 'middle', which we need to account
// for by adding half a line's height to the y position.
y += info.height / lines.length / 2;
// Tweak the initial y-position to match vertical alignment
if (valign == "middle") {
y = Math.round(y - info.height / 2);
} else if (valign == "bottom") {
y = Math.round(y - info.height);
} else {
y = Math.round(y);
}
// FIXME: LEGACY BROWSER FIX
// AFFECTS: Opera < 12.00
// Offset the y coordinate, since Opera is off pretty
// consistently compared to the other browsers.
if (!!(window.opera && window.opera.version().split(".")[0] < 12)) {
y -= 2;
}
// Determine whether this text already exists at this position.
// If so, mark it for inclusion in the next render pass.
for (var i = 0, position; position = positions[i]; i++) {
if (position.x == x && position.y == y) {
position.active = true;
return;
}
}
// If the text doesn't exist at this position, create a new entry
position = {
active: true,
lines: [],
x: x,
y: y
};
positions.push(position);
// Fill in the x & y positions of each line, adjusting them
// individually for horizontal alignment.
for (var i = 0, line; line = lines[i]; i++) {
if (halign == "center") {
position.lines.push([Math.round(x - line.width / 2), y]);
} else if (halign == "right") {
position.lines.push([Math.round(x - line.width), y]);
} else {
position.lines.push([Math.round(x), y]);
}
y += line.height;
}
};
}
$.plot.plugins.push({
init: init,
options: options,
name: "canvas",
version: "1.0"
});
})(jQuery);
|
274056675/springboot-openai-chatgpt | 1,166 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/mapper/CgformEnhanceJsMapper.java | /*
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the dreamlu.net developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: Chill 庄骞 (smallchill@163.com)
*/
package org.springblade.modules.mjkj.common.cgform.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springblade.modules.mjkj.common.cgform.entity.CgformEnhanceJs;
/**
* js增强 Mapper 接口
*
* @author BladeX
* @since 2021-05-22
*/
public interface CgformEnhanceJsMapper extends BaseMapper<CgformEnhanceJs> {
}
|
274056675/springboot-openai-chatgpt | 1,248 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/mapper/CgformIndexMapper.java | /*
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the dreamlu.net developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: Chill 庄骞 (smallchill@163.com)
*/
package org.springblade.modules.mjkj.common.cgform.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springblade.modules.mjkj.common.cgform.entity.CgformIndex;
import org.apache.ibatis.annotations.Param;
/**
* Mapper 接口
*
* @author BladeX
* @since 2021-05-20
*/
public interface CgformIndexMapper extends BaseMapper<CgformIndex> {
int queryIndexCount(@Param("sqlStr") String var1);
}
|
233zzh/TitanDataOperationSystem | 23,809 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/flot/jquery.flot.pie.js | /* Flot plugin for rendering pie charts.
Copyright (c) 2007-2014 IOLA and Ole Laursen.
Licensed under the MIT license.
The plugin assumes that each series has a single data value, and that each
value is a positive integer or zero. Negative numbers don't make sense for a
pie chart, and have unpredictable results. The values do NOT need to be
passed in as percentages; the plugin will calculate the total and per-slice
percentages internally.
* Created by Brian Medendorp
* Updated with contributions from btburnett3, Anthony Aragues and Xavi Ivars
The plugin supports these options:
series: {
pie: {
show: true/false
radius: 0-1 for percentage of fullsize, or a specified pixel length, or 'auto'
innerRadius: 0-1 for percentage of fullsize or a specified pixel length, for creating a donut effect
startAngle: 0-2 factor of PI used for starting angle (in radians) i.e 3/2 starts at the top, 0 and 2 have the same result
tilt: 0-1 for percentage to tilt the pie, where 1 is no tilt, and 0 is completely flat (nothing will show)
offset: {
top: integer value to move the pie up or down
left: integer value to move the pie left or right, or 'auto'
},
stroke: {
color: any hexidecimal color value (other formats may or may not work, so best to stick with something like '#FFF')
width: integer pixel width of the stroke
},
label: {
show: true/false, or 'auto'
formatter: a user-defined function that modifies the text/style of the label text
radius: 0-1 for percentage of fullsize, or a specified pixel length
background: {
color: any hexidecimal color value (other formats may or may not work, so best to stick with something like '#000')
opacity: 0-1
},
threshold: 0-1 for the percentage value at which to hide labels (if they're too small)
},
combine: {
threshold: 0-1 for the percentage value at which to combine slices (if they're too small)
color: any hexidecimal color value (other formats may or may not work, so best to stick with something like '#CCC'), if null, the plugin will automatically use the color of the first slice to be combined
label: any text value of what the combined slice should be labeled
}
highlight: {
opacity: 0-1
}
}
}
More detail and specific examples can be found in the included HTML file.
*/
(function($) {
// Maximum redraw attempts when fitting labels within the plot
var REDRAW_ATTEMPTS = 10;
// Factor by which to shrink the pie when fitting labels within the plot
var REDRAW_SHRINK = 0.95;
function init(plot) {
var canvas = null,
target = null,
options = null,
maxRadius = null,
centerLeft = null,
centerTop = null,
processed = false,
ctx = null;
// interactive variables
var highlights = [];
// add hook to determine if pie plugin in enabled, and then perform necessary operations
plot.hooks.processOptions.push(function(plot, options) {
if (options.series.pie.show) {
options.grid.show = false;
// set labels.show
if (options.series.pie.label.show == "auto") {
if (options.legend.show) {
options.series.pie.label.show = false;
} else {
options.series.pie.label.show = true;
}
}
// set radius
if (options.series.pie.radius == "auto") {
if (options.series.pie.label.show) {
options.series.pie.radius = 3/4;
} else {
options.series.pie.radius = 1;
}
}
// ensure sane tilt
if (options.series.pie.tilt > 1) {
options.series.pie.tilt = 1;
} else if (options.series.pie.tilt < 0) {
options.series.pie.tilt = 0;
}
}
});
plot.hooks.bindEvents.push(function(plot, eventHolder) {
var options = plot.getOptions();
if (options.series.pie.show) {
if (options.grid.hoverable) {
eventHolder.unbind("mousemove").mousemove(onMouseMove);
}
if (options.grid.clickable) {
eventHolder.unbind("click").click(onClick);
}
}
});
plot.hooks.processDatapoints.push(function(plot, series, data, datapoints) {
var options = plot.getOptions();
if (options.series.pie.show) {
processDatapoints(plot, series, data, datapoints);
}
});
plot.hooks.drawOverlay.push(function(plot, octx) {
var options = plot.getOptions();
if (options.series.pie.show) {
drawOverlay(plot, octx);
}
});
plot.hooks.draw.push(function(plot, newCtx) {
var options = plot.getOptions();
if (options.series.pie.show) {
draw(plot, newCtx);
}
});
function processDatapoints(plot, series, datapoints) {
if (!processed) {
processed = true;
canvas = plot.getCanvas();
target = $(canvas).parent();
options = plot.getOptions();
plot.setData(combine(plot.getData()));
}
}
function combine(data) {
var total = 0,
combined = 0,
numCombined = 0,
color = options.series.pie.combine.color,
newdata = [];
// Fix up the raw data from Flot, ensuring the data is numeric
for (var i = 0; i < data.length; ++i) {
var value = data[i].data;
// If the data is an array, we'll assume that it's a standard
// Flot x-y pair, and are concerned only with the second value.
// Note how we use the original array, rather than creating a
// new one; this is more efficient and preserves any extra data
// that the user may have stored in higher indexes.
if ($.isArray(value) && value.length == 1) {
value = value[0];
}
if ($.isArray(value)) {
// Equivalent to $.isNumeric() but compatible with jQuery < 1.7
if (!isNaN(parseFloat(value[1])) && isFinite(value[1])) {
value[1] = +value[1];
} else {
value[1] = 0;
}
} else if (!isNaN(parseFloat(value)) && isFinite(value)) {
value = [1, +value];
} else {
value = [1, 0];
}
data[i].data = [value];
}
// Sum up all the slices, so we can calculate percentages for each
for (var i = 0; i < data.length; ++i) {
total += data[i].data[0][1];
}
// Count the number of slices with percentages below the combine
// threshold; if it turns out to be just one, we won't combine.
for (var i = 0; i < data.length; ++i) {
var value = data[i].data[0][1];
if (value / total <= options.series.pie.combine.threshold) {
combined += value;
numCombined++;
if (!color) {
color = data[i].color;
}
}
}
for (var i = 0; i < data.length; ++i) {
var value = data[i].data[0][1];
if (numCombined < 2 || value / total > options.series.pie.combine.threshold) {
newdata.push(
$.extend(data[i], { /* extend to allow keeping all other original data values
and using them e.g. in labelFormatter. */
data: [[1, value]],
color: data[i].color,
label: data[i].label,
angle: value * Math.PI * 2 / total,
percent: value / (total / 100)
})
);
}
}
if (numCombined > 1) {
newdata.push({
data: [[1, combined]],
color: color,
label: options.series.pie.combine.label,
angle: combined * Math.PI * 2 / total,
percent: combined / (total / 100)
});
}
return newdata;
}
function draw(plot, newCtx) {
if (!target) {
return; // if no series were passed
}
var canvasWidth = plot.getPlaceholder().width(),
canvasHeight = plot.getPlaceholder().height(),
legendWidth = target.children().filter(".legend").children().width() || 0;
ctx = newCtx;
// WARNING: HACK! REWRITE THIS CODE AS SOON AS POSSIBLE!
// When combining smaller slices into an 'other' slice, we need to
// add a new series. Since Flot gives plugins no way to modify the
// list of series, the pie plugin uses a hack where the first call
// to processDatapoints results in a call to setData with the new
// list of series, then subsequent processDatapoints do nothing.
// The plugin-global 'processed' flag is used to control this hack;
// it starts out false, and is set to true after the first call to
// processDatapoints.
// Unfortunately this turns future setData calls into no-ops; they
// call processDatapoints, the flag is true, and nothing happens.
// To fix this we'll set the flag back to false here in draw, when
// all series have been processed, so the next sequence of calls to
// processDatapoints once again starts out with a slice-combine.
// This is really a hack; in 0.9 we need to give plugins a proper
// way to modify series before any processing begins.
processed = false;
// calculate maximum radius and center point
maxRadius = Math.min(canvasWidth, canvasHeight / options.series.pie.tilt) / 2;
centerTop = canvasHeight / 2 + options.series.pie.offset.top;
centerLeft = canvasWidth / 2;
if (options.series.pie.offset.left == "auto") {
if (options.legend.position.match("w")) {
centerLeft += legendWidth / 2;
} else {
centerLeft -= legendWidth / 2;
}
if (centerLeft < maxRadius) {
centerLeft = maxRadius;
} else if (centerLeft > canvasWidth - maxRadius) {
centerLeft = canvasWidth - maxRadius;
}
} else {
centerLeft += options.series.pie.offset.left;
}
var slices = plot.getData(),
attempts = 0;
// Keep shrinking the pie's radius until drawPie returns true,
// indicating that all the labels fit, or we try too many times.
do {
if (attempts > 0) {
maxRadius *= REDRAW_SHRINK;
}
attempts += 1;
clear();
if (options.series.pie.tilt <= 0.8) {
drawShadow();
}
} while (!drawPie() && attempts < REDRAW_ATTEMPTS)
if (attempts >= REDRAW_ATTEMPTS) {
clear();
target.prepend("<div class='error'>Could not draw pie with labels contained inside canvas</div>");
}
if (plot.setSeries && plot.insertLegend) {
plot.setSeries(slices);
plot.insertLegend();
}
// we're actually done at this point, just defining internal functions at this point
function clear() {
ctx.clearRect(0, 0, canvasWidth, canvasHeight);
target.children().filter(".pieLabel, .pieLabelBackground").remove();
}
function drawShadow() {
var shadowLeft = options.series.pie.shadow.left;
var shadowTop = options.series.pie.shadow.top;
var edge = 10;
var alpha = options.series.pie.shadow.alpha;
var radius = options.series.pie.radius > 1 ? options.series.pie.radius : maxRadius * options.series.pie.radius;
if (radius >= canvasWidth / 2 - shadowLeft || radius * options.series.pie.tilt >= canvasHeight / 2 - shadowTop || radius <= edge) {
return; // shadow would be outside canvas, so don't draw it
}
ctx.save();
ctx.translate(shadowLeft,shadowTop);
ctx.globalAlpha = alpha;
ctx.fillStyle = "#000";
// center and rotate to starting position
ctx.translate(centerLeft,centerTop);
ctx.scale(1, options.series.pie.tilt);
//radius -= edge;
for (var i = 1; i <= edge; i++) {
ctx.beginPath();
ctx.arc(0, 0, radius, 0, Math.PI * 2, false);
ctx.fill();
radius -= i;
}
ctx.restore();
}
function drawPie() {
var startAngle = Math.PI * options.series.pie.startAngle;
var radius = options.series.pie.radius > 1 ? options.series.pie.radius : maxRadius * options.series.pie.radius;
// center and rotate to starting position
ctx.save();
ctx.translate(centerLeft,centerTop);
ctx.scale(1, options.series.pie.tilt);
//ctx.rotate(startAngle); // start at top; -- This doesn't work properly in Opera
// draw slices
ctx.save();
var currentAngle = startAngle;
for (var i = 0; i < slices.length; ++i) {
slices[i].startAngle = currentAngle;
drawSlice(slices[i].angle, slices[i].color, true);
}
ctx.restore();
// draw slice outlines
if (options.series.pie.stroke.width > 0) {
ctx.save();
ctx.lineWidth = options.series.pie.stroke.width;
currentAngle = startAngle;
for (var i = 0; i < slices.length; ++i) {
drawSlice(slices[i].angle, options.series.pie.stroke.color, false);
}
ctx.restore();
}
// draw donut hole
drawDonutHole(ctx);
ctx.restore();
// Draw the labels, returning true if they fit within the plot
if (options.series.pie.label.show) {
return drawLabels();
} else return true;
function drawSlice(angle, color, fill) {
if (angle <= 0 || isNaN(angle)) {
return;
}
if (fill) {
ctx.fillStyle = color;
} else {
ctx.strokeStyle = color;
ctx.lineJoin = "round";
}
ctx.beginPath();
if (Math.abs(angle - Math.PI * 2) > 0.000000001) {
ctx.moveTo(0, 0); // Center of the pie
}
//ctx.arc(0, 0, radius, 0, angle, false); // This doesn't work properly in Opera
ctx.arc(0, 0, radius,currentAngle, currentAngle + angle / 2, false);
ctx.arc(0, 0, radius,currentAngle + angle / 2, currentAngle + angle, false);
ctx.closePath();
//ctx.rotate(angle); // This doesn't work properly in Opera
currentAngle += angle;
if (fill) {
ctx.fill();
} else {
ctx.stroke();
}
}
function drawLabels() {
var currentAngle = startAngle;
var radius = options.series.pie.label.radius > 1 ? options.series.pie.label.radius : maxRadius * options.series.pie.label.radius;
for (var i = 0; i < slices.length; ++i) {
if (slices[i].percent >= options.series.pie.label.threshold * 100) {
if (!drawLabel(slices[i], currentAngle, i)) {
return false;
}
}
currentAngle += slices[i].angle;
}
return true;
function drawLabel(slice, startAngle, index) {
if (slice.data[0][1] == 0) {
return true;
}
// format label text
var lf = options.legend.labelFormatter, text, plf = options.series.pie.label.formatter;
if (lf) {
text = lf(slice.label, slice);
} else {
text = slice.label;
}
if (plf) {
text = plf(text, slice);
}
var halfAngle = ((startAngle + slice.angle) + startAngle) / 2;
var x = centerLeft + Math.round(Math.cos(halfAngle) * radius);
var y = centerTop + Math.round(Math.sin(halfAngle) * radius) * options.series.pie.tilt;
var html = "<span class='pieLabel' id='pieLabel" + index + "' style='position:absolute;top:" + y + "px;left:" + x + "px;'>" + text + "</span>";
target.append(html);
var label = target.children("#pieLabel" + index);
var labelTop = (y - label.height() / 2);
var labelLeft = (x - label.width() / 2);
label.css("top", labelTop);
label.css("left", labelLeft);
// check to make sure that the label is not outside the canvas
if (0 - labelTop > 0 || 0 - labelLeft > 0 || canvasHeight - (labelTop + label.height()) < 0 || canvasWidth - (labelLeft + label.width()) < 0) {
return false;
}
if (options.series.pie.label.background.opacity != 0) {
// put in the transparent background separately to avoid blended labels and label boxes
var c = options.series.pie.label.background.color;
if (c == null) {
c = slice.color;
}
var pos = "top:" + labelTop + "px;left:" + labelLeft + "px;";
$("<div class='pieLabelBackground' style='position:absolute;width:" + label.width() + "px;height:" + label.height() + "px;" + pos + "background-color:" + c + ";'></div>")
.css("opacity", options.series.pie.label.background.opacity)
.insertBefore(label);
}
return true;
} // end individual label function
} // end drawLabels function
} // end drawPie function
} // end draw function
// Placed here because it needs to be accessed from multiple locations
function drawDonutHole(layer) {
if (options.series.pie.innerRadius > 0) {
// subtract the center
layer.save();
var innerRadius = options.series.pie.innerRadius > 1 ? options.series.pie.innerRadius : maxRadius * options.series.pie.innerRadius;
layer.globalCompositeOperation = "destination-out"; // this does not work with excanvas, but it will fall back to using the stroke color
layer.beginPath();
layer.fillStyle = options.series.pie.stroke.color;
layer.arc(0, 0, innerRadius, 0, Math.PI * 2, false);
layer.fill();
layer.closePath();
layer.restore();
// add inner stroke
layer.save();
layer.beginPath();
layer.strokeStyle = options.series.pie.stroke.color;
layer.arc(0, 0, innerRadius, 0, Math.PI * 2, false);
layer.stroke();
layer.closePath();
layer.restore();
// TODO: add extra shadow inside hole (with a mask) if the pie is tilted.
}
}
//-- Additional Interactive related functions --
function isPointInPoly(poly, pt) {
for(var c = false, i = -1, l = poly.length, j = l - 1; ++i < l; j = i)
((poly[i][1] <= pt[1] && pt[1] < poly[j][1]) || (poly[j][1] <= pt[1] && pt[1]< poly[i][1]))
&& (pt[0] < (poly[j][0] - poly[i][0]) * (pt[1] - poly[i][1]) / (poly[j][1] - poly[i][1]) + poly[i][0])
&& (c = !c);
return c;
}
function findNearbySlice(mouseX, mouseY) {
var slices = plot.getData(),
options = plot.getOptions(),
radius = options.series.pie.radius > 1 ? options.series.pie.radius : maxRadius * options.series.pie.radius,
x, y;
for (var i = 0; i < slices.length; ++i) {
var s = slices[i];
if (s.pie.show) {
ctx.save();
ctx.beginPath();
ctx.moveTo(0, 0); // Center of the pie
//ctx.scale(1, options.series.pie.tilt); // this actually seems to break everything when here.
ctx.arc(0, 0, radius, s.startAngle, s.startAngle + s.angle / 2, false);
ctx.arc(0, 0, radius, s.startAngle + s.angle / 2, s.startAngle + s.angle, false);
ctx.closePath();
x = mouseX - centerLeft;
y = mouseY - centerTop;
if (ctx.isPointInPath) {
if (ctx.isPointInPath(mouseX - centerLeft, mouseY - centerTop)) {
ctx.restore();
return {
datapoint: [s.percent, s.data],
dataIndex: 0,
series: s,
seriesIndex: i
};
}
} else {
// excanvas for IE doesn;t support isPointInPath, this is a workaround.
var p1X = radius * Math.cos(s.startAngle),
p1Y = radius * Math.sin(s.startAngle),
p2X = radius * Math.cos(s.startAngle + s.angle / 4),
p2Y = radius * Math.sin(s.startAngle + s.angle / 4),
p3X = radius * Math.cos(s.startAngle + s.angle / 2),
p3Y = radius * Math.sin(s.startAngle + s.angle / 2),
p4X = radius * Math.cos(s.startAngle + s.angle / 1.5),
p4Y = radius * Math.sin(s.startAngle + s.angle / 1.5),
p5X = radius * Math.cos(s.startAngle + s.angle),
p5Y = radius * Math.sin(s.startAngle + s.angle),
arrPoly = [[0, 0], [p1X, p1Y], [p2X, p2Y], [p3X, p3Y], [p4X, p4Y], [p5X, p5Y]],
arrPoint = [x, y];
// TODO: perhaps do some mathmatical trickery here with the Y-coordinate to compensate for pie tilt?
if (isPointInPoly(arrPoly, arrPoint)) {
ctx.restore();
return {
datapoint: [s.percent, s.data],
dataIndex: 0,
series: s,
seriesIndex: i
};
}
}
ctx.restore();
}
}
return null;
}
function onMouseMove(e) {
triggerClickHoverEvent("plothover", e);
}
function onClick(e) {
triggerClickHoverEvent("plotclick", e);
}
// trigger click or hover event (they send the same parameters so we share their code)
function triggerClickHoverEvent(eventname, e) {
var offset = plot.offset();
var canvasX = parseInt(e.pageX - offset.left);
var canvasY = parseInt(e.pageY - offset.top);
var item = findNearbySlice(canvasX, canvasY);
if (options.grid.autoHighlight) {
// clear auto-highlights
for (var i = 0; i < highlights.length; ++i) {
var h = highlights[i];
if (h.auto == eventname && !(item && h.series == item.series)) {
unhighlight(h.series);
}
}
}
// highlight the slice
if (item) {
highlight(item.series, eventname);
}
// trigger any hover bind events
var pos = { pageX: e.pageX, pageY: e.pageY };
target.trigger(eventname, [pos, item]);
}
function highlight(s, auto) {
//if (typeof s == "number") {
// s = series[s];
//}
var i = indexOfHighlight(s);
if (i == -1) {
highlights.push({ series: s, auto: auto });
plot.triggerRedrawOverlay();
} else if (!auto) {
highlights[i].auto = false;
}
}
function unhighlight(s) {
if (s == null) {
highlights = [];
plot.triggerRedrawOverlay();
}
//if (typeof s == "number") {
// s = series[s];
//}
var i = indexOfHighlight(s);
if (i != -1) {
highlights.splice(i, 1);
plot.triggerRedrawOverlay();
}
}
function indexOfHighlight(s) {
for (var i = 0; i < highlights.length; ++i) {
var h = highlights[i];
if (h.series == s)
return i;
}
return -1;
}
function drawOverlay(plot, octx) {
var options = plot.getOptions();
var radius = options.series.pie.radius > 1 ? options.series.pie.radius : maxRadius * options.series.pie.radius;
octx.save();
octx.translate(centerLeft, centerTop);
octx.scale(1, options.series.pie.tilt);
for (var i = 0; i < highlights.length; ++i) {
drawHighlight(highlights[i].series);
}
drawDonutHole(octx);
octx.restore();
function drawHighlight(series) {
if (series.angle <= 0 || isNaN(series.angle)) {
return;
}
//octx.fillStyle = parseColor(options.series.pie.highlight.color).scale(null, null, null, options.series.pie.highlight.opacity).toString();
octx.fillStyle = "rgba(255, 255, 255, " + options.series.pie.highlight.opacity + ")"; // this is temporary until we have access to parseColor
octx.beginPath();
if (Math.abs(series.angle - Math.PI * 2) > 0.000000001) {
octx.moveTo(0, 0); // Center of the pie
}
octx.arc(0, 0, radius, series.startAngle, series.startAngle + series.angle / 2, false);
octx.arc(0, 0, radius, series.startAngle + series.angle / 2, series.startAngle + series.angle, false);
octx.closePath();
octx.fill();
}
}
} // end init (plugin body)
// define pie specific options and their default values
var options = {
series: {
pie: {
show: false,
radius: "auto", // actual radius of the visible pie (based on full calculated radius if <=1, or hard pixel value)
innerRadius: 0, /* for donut */
startAngle: 3/2,
tilt: 1,
shadow: {
left: 5, // shadow left offset
top: 15, // shadow top offset
alpha: 0.02 // shadow alpha
},
offset: {
top: 0,
left: "auto"
},
stroke: {
color: "#fff",
width: 1
},
label: {
show: "auto",
formatter: function(label, slice) {
return "<div style='font-size:x-small;text-align:center;padding:2px;color:" + slice.color + ";'>" + label + "<br/>" + Math.round(slice.percent) + "%</div>";
}, // formatter function
radius: 1, // radius at which to place the labels (based on full calculated radius if <=1, or hard pixel value)
background: {
color: null,
opacity: 0
},
threshold: 0 // percentage at which to hide the label (i.e. the slice is too narrow)
},
combine: {
threshold: -1, // percentage at which to combine little slices into one larger slice
color: null, // color to give the new slice (auto-generated if null)
label: "Other" // label to give the new slice
},
highlight: {
//color: "#fff", // will add this functionality once parseColor is available
opacity: 0.5
}
}
}
};
$.plot.plugins.push({
init: init,
options: options,
name: "pie",
version: "1.1"
});
})(jQuery);
|
274056675/springboot-openai-chatgpt | 1,149 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/mapper/CheckRuleMapper.java | /*
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the dreamlu.net developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: Chill 庄骞 (smallchill@163.com)
*/
package org.springblade.modules.mjkj.common.cgform.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springblade.modules.mjkj.common.cgform.entity.CheckRule;
/**
* 编码校验规则 Mapper 接口
*
* @author BladeX
* @since 2021-07-03
*/
public interface CheckRuleMapper extends BaseMapper<CheckRule> {
}
|
274056675/springboot-openai-chatgpt | 1,611 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/mapper/BaseSqlMapper.java | /*
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the dreamlu.net developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: Chill 庄骞 (smallchill@163.com)
*/
package org.springblade.modules.mjkj.common.cgform.mapper;
import org.springblade.modules.mjkj.common.cgform.model.KvModel;
import java.util.List;
import java.util.Map;
/**
* 公共sql
*/
public interface BaseSqlMapper {
int getProcessingProgressTotal(String tableName,String batchCode);
List<Long> getAdminIdList();
//查询公共接口
List<Map<String, Object>> baseSelectSqlList(Map<String, Object> map);
//公共新增接口
Long baseIntegerSql(Map<String, Object> map);
//公共修改接口
void baseUpdateSql(Map<String, Object> map);
//公共删除接口
void baseDeleteSql(Map<String, Object> map);
//查询一列
List<String> baseSelectByOneColumnSql(Map<String, Object> map);
//获取模型列表
List<KvModel> getKvModelList(Map<String, Object> map);
//查询数据字典
String getSysDictItem(Long sysDictId, Integer type);
}
|
274056675/springboot-openai-chatgpt | 1,246 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/mapper/CgformEnhanceJavaMapper.xml | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.modules.mjkj.common.cgform.mapper.CgformEnhanceJavaMapper">
<!-- 通用查询映射结果 -->
<resultMap id="cgformEnhanceJavaResultMap" type="org.springblade.modules.mjkj.common.cgform.entity.CgformEnhanceJava">
<result column="id" property="id"/>
<result column="create_user" property="createUser"/>
<result column="create_dept" property="createDept"/>
<result column="create_time" property="createTime"/>
<result column="update_user" property="updateUser"/>
<result column="update_time" property="updateTime"/>
<result column="status" property="status"/>
<result column="is_deleted" property="isDeleted"/>
<result column="button_code" property="buttonCode"/>
<result column="cg_java_type" property="cgJavaType"/>
<result column="cg_java_value" property="cgJavaValue"/>
<result column="cgform_head_id" property="cgformHeadId"/>
<result column="active_status" property="activeStatus"/>
<result column="event" property="event"/>
</resultMap>
</mapper>
|
233zzh/TitanDataOperationSystem | 6,151 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/flot/jquery.colorhelpers.js | /* Plugin for jQuery for working with colors.
*
* Version 1.1.
*
* Inspiration from jQuery color animation plugin by John Resig.
*
* Released under the MIT license by Ole Laursen, October 2009.
*
* Examples:
*
* $.color.parse("#fff").scale('rgb', 0.25).add('a', -0.5).toString()
* var c = $.color.extract($("#mydiv"), 'background-color');
* console.log(c.r, c.g, c.b, c.a);
* $.color.make(100, 50, 25, 0.4).toString() // returns "rgba(100,50,25,0.4)"
*
* Note that .scale() and .add() return the same modified object
* instead of making a new one.
*
* V. 1.1: Fix error handling so e.g. parsing an empty string does
* produce a color rather than just crashing.
*/
(function($) {
$.color = {};
// construct color object with some convenient chainable helpers
$.color.make = function (r, g, b, a) {
var o = {};
o.r = r || 0;
o.g = g || 0;
o.b = b || 0;
o.a = a != null ? a : 1;
o.add = function (c, d) {
for (var i = 0; i < c.length; ++i)
o[c.charAt(i)] += d;
return o.normalize();
};
o.scale = function (c, f) {
for (var i = 0; i < c.length; ++i)
o[c.charAt(i)] *= f;
return o.normalize();
};
o.toString = function () {
if (o.a >= 1.0) {
return "rgb("+[o.r, o.g, o.b].join(",")+")";
} else {
return "rgba("+[o.r, o.g, o.b, o.a].join(",")+")";
}
};
o.normalize = function () {
function clamp(min, value, max) {
return value < min ? min: (value > max ? max: value);
}
o.r = clamp(0, parseInt(o.r), 255);
o.g = clamp(0, parseInt(o.g), 255);
o.b = clamp(0, parseInt(o.b), 255);
o.a = clamp(0, o.a, 1);
return o;
};
o.clone = function () {
return $.color.make(o.r, o.b, o.g, o.a);
};
return o.normalize();
}
// extract CSS color property from element, going up in the DOM
// if it's "transparent"
$.color.extract = function (elem, css) {
var c;
do {
c = elem.css(css).toLowerCase();
// keep going until we find an element that has color, or
// we hit the body or root (have no parent)
if (c != '' && c != 'transparent')
break;
elem = elem.parent();
} while (elem.length && !$.nodeName(elem.get(0), "body"));
// catch Safari's way of signalling transparent
if (c == "rgba(0, 0, 0, 0)")
c = "transparent";
return $.color.parse(c);
}
// parse CSS color string (like "rgb(10, 32, 43)" or "#fff"),
// returns color object, if parsing failed, you get black (0, 0,
// 0) out
$.color.parse = function (str) {
var res, m = $.color.make;
// Look for rgb(num,num,num)
if (res = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(str))
return m(parseInt(res[1], 10), parseInt(res[2], 10), parseInt(res[3], 10));
// Look for rgba(num,num,num,num)
if (res = /rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(str))
return m(parseInt(res[1], 10), parseInt(res[2], 10), parseInt(res[3], 10), parseFloat(res[4]));
// Look for rgb(num%,num%,num%)
if (res = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(str))
return m(parseFloat(res[1])*2.55, parseFloat(res[2])*2.55, parseFloat(res[3])*2.55);
// Look for rgba(num%,num%,num%,num)
if (res = /rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(str))
return m(parseFloat(res[1])*2.55, parseFloat(res[2])*2.55, parseFloat(res[3])*2.55, parseFloat(res[4]));
// Look for #a0b1c2
if (res = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(str))
return m(parseInt(res[1], 16), parseInt(res[2], 16), parseInt(res[3], 16));
// Look for #fff
if (res = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(str))
return m(parseInt(res[1]+res[1], 16), parseInt(res[2]+res[2], 16), parseInt(res[3]+res[3], 16));
// Otherwise, we're most likely dealing with a named color
var name = $.trim(str).toLowerCase();
if (name == "transparent")
return m(255, 255, 255, 0);
else {
// default to black
res = lookupColors[name] || [0, 0, 0];
return m(res[0], res[1], res[2]);
}
}
var lookupColors = {
aqua:[0,255,255],
azure:[240,255,255],
beige:[245,245,220],
black:[0,0,0],
blue:[0,0,255],
brown:[165,42,42],
cyan:[0,255,255],
darkblue:[0,0,139],
darkcyan:[0,139,139],
darkgrey:[169,169,169],
darkgreen:[0,100,0],
darkkhaki:[189,183,107],
darkmagenta:[139,0,139],
darkolivegreen:[85,107,47],
darkorange:[255,140,0],
darkorchid:[153,50,204],
darkred:[139,0,0],
darksalmon:[233,150,122],
darkviolet:[148,0,211],
fuchsia:[255,0,255],
gold:[255,215,0],
green:[0,128,0],
indigo:[75,0,130],
khaki:[240,230,140],
lightblue:[173,216,230],
lightcyan:[224,255,255],
lightgreen:[144,238,144],
lightgrey:[211,211,211],
lightpink:[255,182,193],
lightyellow:[255,255,224],
lime:[0,255,0],
magenta:[255,0,255],
maroon:[128,0,0],
navy:[0,0,128],
olive:[128,128,0],
orange:[255,165,0],
pink:[255,192,203],
purple:[128,0,128],
violet:[128,0,128],
red:[255,0,0],
silver:[192,192,192],
white:[255,255,255],
yellow:[255,255,0]
};
})(jQuery);
|
274056675/springboot-openai-chatgpt | 1,145 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/mapper/FillRuleMapper.java | /*
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the dreamlu.net developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: Chill 庄骞 (smallchill@163.com)
*/
package org.springblade.modules.mjkj.common.cgform.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springblade.modules.mjkj.common.cgform.entity.FillRule;
/**
* 填值规则 Mapper 接口
*
* @author BladeX
* @since 2021-07-03
*/
public interface FillRuleMapper extends BaseMapper<FillRule> {
}
|
274056675/springboot-openai-chatgpt | 1,055 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/mapper/CgformValidMapper.xml | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.modules.mjkj.common.cgform.mapper.CgformValidMapper">
<!-- 通用查询映射结果 -->
<resultMap id="cgformValidResultMap" type="org.springblade.modules.mjkj.common.cgform.entity.CgformValid">
<result column="id" property="id"/>
<result column="create_user" property="createUser"/>
<result column="create_dept" property="createDept"/>
<result column="create_time" property="createTime"/>
<result column="update_user" property="updateUser"/>
<result column="update_time" property="updateTime"/>
<result column="status" property="status"/>
<result column="is_deleted" property="isDeleted"/>
<result column="type" property="type"/>
<result column="pattern" property="pattern"/>
<result column="msg" property="msg"/>
<result column="name" property="name"/>
</resultMap>
</mapper>
|
274056675/springboot-openai-chatgpt | 1,803 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/mapper/CgformEnhanceSqlMapper.java | /*
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the dreamlu.net developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: Chill 庄骞 (smallchill@163.com)
*/
package org.springblade.modules.mjkj.common.cgform.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springblade.modules.mjkj.common.cgform.entity.CgformEnhanceSql;
import java.util.List;
import java.util.Map;
/**
* sql增强 Mapper 接口
*
* @author BladeX
* @since 2021-05-22
*/
public interface CgformEnhanceSqlMapper extends BaseMapper<CgformEnhanceSql> {
void executeDDL(@Param("sqlStr") String sqlStr);
//查询多条语句
List<Map<String,Object>> getListData(@Param("sqlStr") String sqlStr);
//查询多条语句
Page<Map<String, Object>> getListDataPage(@Param("page") Page<Map<String, Object>> page,Map<String, Object> params, @Param("sqlStr") String sqlStr);
//执行sql
Page<Map<String, Object>> executeSql(@Param("page") Page<Map<String, Object>> page,@Param("executeSql") String executeSql,@Param("params")Map<String, Object> params);
}
|
274056675/springboot-openai-chatgpt | 1,573 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/mapper/CgformEnhanceSqlMapper.xml | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.modules.mjkj.common.cgform.mapper.CgformEnhanceSqlMapper">
<!-- 通用查询映射结果 -->
<resultMap id="cgformEnhanceSqlResultMap" type="org.springblade.modules.mjkj.common.cgform.entity.CgformEnhanceSql">
<result column="id" property="id"/>
<result column="create_user" property="createUser"/>
<result column="create_dept" property="createDept"/>
<result column="create_time" property="createTime"/>
<result column="update_user" property="updateUser"/>
<result column="update_time" property="updateTime"/>
<result column="status" property="status"/>
<result column="is_deleted" property="isDeleted"/>
<result column="button_code" property="buttonCode"/>
<result column="cgb_sql" property="cgbSql"/>
<result column="cgb_sql_name" property="cgbSqlName"/>
<result column="content" property="content"/>
<result column="cgform_head_id" property="cgformHeadId"/>
</resultMap>
<!-- 执行ddl语句 -->
<update id="executeDDL" parameterType="java.lang.String">
${sqlStr}
</update>
<!-- 查询多条语句 -->
<select id="getListData" resultType="map">
${sqlStr}
</select>
<select id="getListDataPage" resultType="map">
${sqlStr}
</select>
<select id="executeSql" parameterType="java.util.Map" resultType="map">
${executeSql}
</select>
</mapper>
|
274056675/springboot-openai-chatgpt | 1,085 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/mapper/FillRuleMapper.xml | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.modules.mjkj.common.cgform.mapper.FillRuleMapper">
<!-- 通用查询映射结果 -->
<resultMap id="fillRuleResultMap" type="org.springblade.modules.mjkj.common.cgform.entity.FillRule">
<result column="id" property="id"/>
<result column="create_user" property="createUser"/>
<result column="create_dept" property="createDept"/>
<result column="create_time" property="createTime"/>
<result column="update_user" property="updateUser"/>
<result column="update_time" property="updateTime"/>
<result column="status" property="status"/>
<result column="is_deleted" property="isDeleted"/>
<result column="rule_name" property="ruleName"/>
<result column="rule_code" property="ruleCode"/>
<result column="rule_class" property="ruleClass"/>
<result column="rule_params" property="ruleParams"/>
</resultMap>
</mapper>
|
233zzh/TitanDataOperationSystem | 4,340 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/flot/PLUGINS.md | ## Writing plugins ##
All you need to do to make a new plugin is creating an init function
and a set of options (if needed), stuffing it into an object and
putting it in the $.plot.plugins array. For example:
```js
function myCoolPluginInit(plot) {
plot.coolstring = "Hello!";
};
$.plot.plugins.push({ init: myCoolPluginInit, options: { ... } });
// if $.plot is called, it will return a plot object with the
// attribute "coolstring"
```
Now, given that the plugin might run in many different places, it's
a good idea to avoid leaking names. The usual trick here is wrap the
above lines in an anonymous function which is called immediately, like
this: (function () { inner code ... })(). To make it even more robust
in case $ is not bound to jQuery but some other Javascript library, we
can write it as
```js
(function ($) {
// plugin definition
// ...
})(jQuery);
```
There's a complete example below, but you should also check out the
plugins bundled with Flot.
## Complete example ##
Here is a simple debug plugin which alerts each of the series in the
plot. It has a single option that control whether it is enabled and
how much info to output:
```js
(function ($) {
function init(plot) {
var debugLevel = 1;
function checkDebugEnabled(plot, options) {
if (options.debug) {
debugLevel = options.debug;
plot.hooks.processDatapoints.push(alertSeries);
}
}
function alertSeries(plot, series, datapoints) {
var msg = "series " + series.label;
if (debugLevel > 1) {
msg += " with " + series.data.length + " points";
alert(msg);
}
}
plot.hooks.processOptions.push(checkDebugEnabled);
}
var options = { debug: 0 };
$.plot.plugins.push({
init: init,
options: options,
name: "simpledebug",
version: "0.1"
});
})(jQuery);
```
We also define "name" and "version". It's not used by Flot, but might
be helpful for other plugins in resolving dependencies.
Put the above in a file named "jquery.flot.debug.js", include it in an
HTML page and then it can be used with:
```js
$.plot($("#placeholder"), [...], { debug: 2 });
```
This simple plugin illustrates a couple of points:
- It uses the anonymous function trick to avoid name pollution.
- It can be enabled/disabled through an option.
- Variables in the init function can be used to store plot-specific
state between the hooks.
The two last points are important because there may be multiple plots
on the same page, and you'd want to make sure they are not mixed up.
## Shutting down a plugin ##
Each plot object has a shutdown hook which is run when plot.shutdown()
is called. This usually mostly happens in case another plot is made on
top of an existing one.
The purpose of the hook is to give you a chance to unbind any event
handlers you've registered and remove any extra DOM things you've
inserted.
The problem with event handlers is that you can have registered a
handler which is run in some point in the future, e.g. with
setTimeout(). Meanwhile, the plot may have been shutdown and removed,
but because your event handler is still referencing it, it can't be
garbage collected yet, and worse, if your handler eventually runs, it
may overwrite stuff on a completely different plot.
## Some hints on the options ##
Plugins should always support appropriate options to enable/disable
them because the plugin user may have several plots on the same page
where only one should use the plugin. In most cases it's probably a
good idea if the plugin is turned off rather than on per default, just
like most of the powerful features in Flot.
If the plugin needs options that are specific to each series, like the
points or lines options in core Flot, you can put them in "series" in
the options object, e.g.
```js
var options = {
series: {
downsample: {
algorithm: null,
maxpoints: 1000
}
}
}
```
Then they will be copied by Flot into each series, providing default
values in case none are specified.
Think hard and long about naming the options. These names are going to
be public API, and code is going to depend on them if the plugin is
successful.
|
274056675/springboot-openai-chatgpt | 1,581 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/mapper/DesformHeadMapper.xml | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.modules.mjkj.common.cgform.mapper.DesformHeadMapper">
<!-- 通用查询映射结果 -->
<resultMap id="desformHeadResultMap" type="org.springblade.modules.mjkj.common.cgform.entity.DesformHead">
<result column="id" property="id"/>
<result column="create_user" property="createUser"/>
<result column="create_dept" property="createDept"/>
<result column="create_time" property="createTime"/>
<result column="update_user" property="updateUser"/>
<result column="update_time" property="updateTime"/>
<result column="status" property="status"/>
<result column="is_deleted" property="isDeleted"/>
<result column="cgform_head_id" property="cgformHeadId"/>
<result column="form_name" property="formName"/>
<result column="form_code" property="formCode"/>
<result column="form_icon" property="formIcon"/>
<result column="form_design_json" property="formDesignJson"/>
<result column="form_type" property="formType"/>
<result column="parent_id" property="parentId"/>
<result column="parent_code" property="parentCode"/>
<result column="mobile_view" property="mobileView"/>
</resultMap>
<select id="openList" resultMap="desformHeadResultMap">
select * from design_desform_head where is_deleted = 0 and tenant_id ='000000' order by id desc
</select>
</mapper>
|
233zzh/TitanDataOperationSystem | 11,768 | 代码/web代码/titanApp/src/main/resources/static/src/assets/extra-libs/flot/jquery.flot.time.js | /* Pretty handling of time axes.
Copyright (c) 2007-2014 IOLA and Ole Laursen.
Licensed under the MIT license.
Set axis.mode to "time" to enable. See the section "Time series data" in
API.txt for details.
*/
(function($) {
var options = {
xaxis: {
timezone: null, // "browser" for local to the client or timezone for timezone-js
timeformat: null, // format string to use
twelveHourClock: false, // 12 or 24 time in time mode
monthNames: null // list of names of months
}
};
// round to nearby lower multiple of base
function floorInBase(n, base) {
return base * Math.floor(n / base);
}
// Returns a string with the date d formatted according to fmt.
// A subset of the Open Group's strftime format is supported.
function formatDate(d, fmt, monthNames, dayNames) {
if (typeof d.strftime == "function") {
return d.strftime(fmt);
}
var leftPad = function(n, pad) {
n = "" + n;
pad = "" + (pad == null ? "0" : pad);
return n.length == 1 ? pad + n : n;
};
var r = [];
var escape = false;
var hours = d.getHours();
var isAM = hours < 12;
if (monthNames == null) {
monthNames = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
}
if (dayNames == null) {
dayNames = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
}
var hours12;
if (hours > 12) {
hours12 = hours - 12;
} else if (hours == 0) {
hours12 = 12;
} else {
hours12 = hours;
}
for (var i = 0; i < fmt.length; ++i) {
var c = fmt.charAt(i);
if (escape) {
switch (c) {
case 'a': c = "" + dayNames[d.getDay()]; break;
case 'b': c = "" + monthNames[d.getMonth()]; break;
case 'd': c = leftPad(d.getDate()); break;
case 'e': c = leftPad(d.getDate(), " "); break;
case 'h': // For back-compat with 0.7; remove in 1.0
case 'H': c = leftPad(hours); break;
case 'I': c = leftPad(hours12); break;
case 'l': c = leftPad(hours12, " "); break;
case 'm': c = leftPad(d.getMonth() + 1); break;
case 'M': c = leftPad(d.getMinutes()); break;
// quarters not in Open Group's strftime specification
case 'q':
c = "" + (Math.floor(d.getMonth() / 3) + 1); break;
case 'S': c = leftPad(d.getSeconds()); break;
case 'y': c = leftPad(d.getFullYear() % 100); break;
case 'Y': c = "" + d.getFullYear(); break;
case 'p': c = (isAM) ? ("" + "am") : ("" + "pm"); break;
case 'P': c = (isAM) ? ("" + "AM") : ("" + "PM"); break;
case 'w': c = "" + d.getDay(); break;
}
r.push(c);
escape = false;
} else {
if (c == "%") {
escape = true;
} else {
r.push(c);
}
}
}
return r.join("");
}
// To have a consistent view of time-based data independent of which time
// zone the client happens to be in we need a date-like object independent
// of time zones. This is done through a wrapper that only calls the UTC
// versions of the accessor methods.
function makeUtcWrapper(d) {
function addProxyMethod(sourceObj, sourceMethod, targetObj, targetMethod) {
sourceObj[sourceMethod] = function() {
return targetObj[targetMethod].apply(targetObj, arguments);
};
};
var utc = {
date: d
};
// support strftime, if found
if (d.strftime != undefined) {
addProxyMethod(utc, "strftime", d, "strftime");
}
addProxyMethod(utc, "getTime", d, "getTime");
addProxyMethod(utc, "setTime", d, "setTime");
var props = ["Date", "Day", "FullYear", "Hours", "Milliseconds", "Minutes", "Month", "Seconds"];
for (var p = 0; p < props.length; p++) {
addProxyMethod(utc, "get" + props[p], d, "getUTC" + props[p]);
addProxyMethod(utc, "set" + props[p], d, "setUTC" + props[p]);
}
return utc;
};
// select time zone strategy. This returns a date-like object tied to the
// desired timezone
function dateGenerator(ts, opts) {
if (opts.timezone == "browser") {
return new Date(ts);
} else if (!opts.timezone || opts.timezone == "utc") {
return makeUtcWrapper(new Date(ts));
} else if (typeof timezoneJS != "undefined" && typeof timezoneJS.Date != "undefined") {
var d = new timezoneJS.Date();
// timezone-js is fickle, so be sure to set the time zone before
// setting the time.
d.setTimezone(opts.timezone);
d.setTime(ts);
return d;
} else {
return makeUtcWrapper(new Date(ts));
}
}
// map of app. size of time units in milliseconds
var timeUnitSize = {
"second": 1000,
"minute": 60 * 1000,
"hour": 60 * 60 * 1000,
"day": 24 * 60 * 60 * 1000,
"month": 30 * 24 * 60 * 60 * 1000,
"quarter": 3 * 30 * 24 * 60 * 60 * 1000,
"year": 365.2425 * 24 * 60 * 60 * 1000
};
// the allowed tick sizes, after 1 year we use
// an integer algorithm
var baseSpec = [
[1, "second"], [2, "second"], [5, "second"], [10, "second"],
[30, "second"],
[1, "minute"], [2, "minute"], [5, "minute"], [10, "minute"],
[30, "minute"],
[1, "hour"], [2, "hour"], [4, "hour"],
[8, "hour"], [12, "hour"],
[1, "day"], [2, "day"], [3, "day"],
[0.25, "month"], [0.5, "month"], [1, "month"],
[2, "month"]
];
// we don't know which variant(s) we'll need yet, but generating both is
// cheap
var specMonths = baseSpec.concat([[3, "month"], [6, "month"],
[1, "year"]]);
var specQuarters = baseSpec.concat([[1, "quarter"], [2, "quarter"],
[1, "year"]]);
function init(plot) {
plot.hooks.processOptions.push(function (plot, options) {
$.each(plot.getAxes(), function(axisName, axis) {
var opts = axis.options;
if (opts.mode == "time") {
axis.tickGenerator = function(axis) {
var ticks = [];
var d = dateGenerator(axis.min, opts);
var minSize = 0;
// make quarter use a possibility if quarters are
// mentioned in either of these options
var spec = (opts.tickSize && opts.tickSize[1] ===
"quarter") ||
(opts.minTickSize && opts.minTickSize[1] ===
"quarter") ? specQuarters : specMonths;
if (opts.minTickSize != null) {
if (typeof opts.tickSize == "number") {
minSize = opts.tickSize;
} else {
minSize = opts.minTickSize[0] * timeUnitSize[opts.minTickSize[1]];
}
}
for (var i = 0; i < spec.length - 1; ++i) {
if (axis.delta < (spec[i][0] * timeUnitSize[spec[i][1]]
+ spec[i + 1][0] * timeUnitSize[spec[i + 1][1]]) / 2
&& spec[i][0] * timeUnitSize[spec[i][1]] >= minSize) {
break;
}
}
var size = spec[i][0];
var unit = spec[i][1];
// special-case the possibility of several years
if (unit == "year") {
// if given a minTickSize in years, just use it,
// ensuring that it's an integer
if (opts.minTickSize != null && opts.minTickSize[1] == "year") {
size = Math.floor(opts.minTickSize[0]);
} else {
var magn = Math.pow(10, Math.floor(Math.log(axis.delta / timeUnitSize.year) / Math.LN10));
var norm = (axis.delta / timeUnitSize.year) / magn;
if (norm < 1.5) {
size = 1;
} else if (norm < 3) {
size = 2;
} else if (norm < 7.5) {
size = 5;
} else {
size = 10;
}
size *= magn;
}
// minimum size for years is 1
if (size < 1) {
size = 1;
}
}
axis.tickSize = opts.tickSize || [size, unit];
var tickSize = axis.tickSize[0];
unit = axis.tickSize[1];
var step = tickSize * timeUnitSize[unit];
if (unit == "second") {
d.setSeconds(floorInBase(d.getSeconds(), tickSize));
} else if (unit == "minute") {
d.setMinutes(floorInBase(d.getMinutes(), tickSize));
} else if (unit == "hour") {
d.setHours(floorInBase(d.getHours(), tickSize));
} else if (unit == "month") {
d.setMonth(floorInBase(d.getMonth(), tickSize));
} else if (unit == "quarter") {
d.setMonth(3 * floorInBase(d.getMonth() / 3,
tickSize));
} else if (unit == "year") {
d.setFullYear(floorInBase(d.getFullYear(), tickSize));
}
// reset smaller components
d.setMilliseconds(0);
if (step >= timeUnitSize.minute) {
d.setSeconds(0);
}
if (step >= timeUnitSize.hour) {
d.setMinutes(0);
}
if (step >= timeUnitSize.day) {
d.setHours(0);
}
if (step >= timeUnitSize.day * 4) {
d.setDate(1);
}
if (step >= timeUnitSize.month * 2) {
d.setMonth(floorInBase(d.getMonth(), 3));
}
if (step >= timeUnitSize.quarter * 2) {
d.setMonth(floorInBase(d.getMonth(), 6));
}
if (step >= timeUnitSize.year) {
d.setMonth(0);
}
var carry = 0;
var v = Number.NaN;
var prev;
do {
prev = v;
v = d.getTime();
ticks.push(v);
if (unit == "month" || unit == "quarter") {
if (tickSize < 1) {
// a bit complicated - we'll divide the
// month/quarter up but we need to take
// care of fractions so we don't end up in
// the middle of a day
d.setDate(1);
var start = d.getTime();
d.setMonth(d.getMonth() +
(unit == "quarter" ? 3 : 1));
var end = d.getTime();
d.setTime(v + carry * timeUnitSize.hour + (end - start) * tickSize);
carry = d.getHours();
d.setHours(0);
} else {
d.setMonth(d.getMonth() +
tickSize * (unit == "quarter" ? 3 : 1));
}
} else if (unit == "year") {
d.setFullYear(d.getFullYear() + tickSize);
} else {
d.setTime(v + step);
}
} while (v < axis.max && v != prev);
return ticks;
};
axis.tickFormatter = function (v, axis) {
var d = dateGenerator(v, axis.options);
// first check global format
if (opts.timeformat != null) {
return formatDate(d, opts.timeformat, opts.monthNames, opts.dayNames);
}
// possibly use quarters if quarters are mentioned in
// any of these places
var useQuarters = (axis.options.tickSize &&
axis.options.tickSize[1] == "quarter") ||
(axis.options.minTickSize &&
axis.options.minTickSize[1] == "quarter");
var t = axis.tickSize[0] * timeUnitSize[axis.tickSize[1]];
var span = axis.max - axis.min;
var suffix = (opts.twelveHourClock) ? " %p" : "";
var hourCode = (opts.twelveHourClock) ? "%I" : "%H";
var fmt;
if (t < timeUnitSize.minute) {
fmt = hourCode + ":%M:%S" + suffix;
} else if (t < timeUnitSize.day) {
if (span < 2 * timeUnitSize.day) {
fmt = hourCode + ":%M" + suffix;
} else {
fmt = "%b %d " + hourCode + ":%M" + suffix;
}
} else if (t < timeUnitSize.month) {
fmt = "%b %d";
} else if ((useQuarters && t < timeUnitSize.quarter) ||
(!useQuarters && t < timeUnitSize.year)) {
if (span < timeUnitSize.year) {
fmt = "%b";
} else {
fmt = "%b %Y";
}
} else if (useQuarters && t < timeUnitSize.year) {
if (span < timeUnitSize.year) {
fmt = "Q%q";
} else {
fmt = "Q%q %Y";
}
} else {
fmt = "%Y";
}
var rt = formatDate(d, fmt, opts.monthNames, opts.dayNames);
return rt;
};
}
});
});
}
$.plot.plugins.push({
init: init,
options: options,
name: 'time',
version: '1.0'
});
// Time-axis support used to be in Flot core, which exposed the
// formatDate function on the plot object. Various plugins depend
// on the function, so we need to re-expose it here.
$.plot.formatDate = formatDate;
$.plot.dateGenerator = dateGenerator;
})(jQuery);
|
274056675/springboot-openai-chatgpt | 1,363 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/mapper/CgformFieldMapper.java | /*
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the dreamlu.net developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: Chill 庄骞 (smallchill@163.com)
*/
package org.springblade.modules.mjkj.common.cgform.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springblade.modules.mjkj.common.cgform.entity.CgformField;
import org.apache.ibatis.annotations.Param;
import java.util.Map;
/**
* Mapper 接口
*
* @author BladeX
* @since 2021-05-20
*/
public interface CgformFieldMapper extends BaseMapper<CgformField> {
Map<String, Object> queryOneByTableNameAndId(@Param("tbname") String tbname, @Param("dataId") Long dataId);
Integer getBlobCou(Long headId);
}
|
274056675/springboot-openai-chatgpt | 1,097 | chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/mapper/CheckRuleMapper.xml | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.modules.mjkj.common.cgform.mapper.CheckRuleMapper">
<!-- 通用查询映射结果 -->
<resultMap id="checkRuleResultMap" type="org.springblade.modules.mjkj.common.cgform.entity.CheckRule">
<result column="id" property="id"/>
<result column="create_user" property="createUser"/>
<result column="create_dept" property="createDept"/>
<result column="create_time" property="createTime"/>
<result column="update_user" property="updateUser"/>
<result column="update_time" property="updateTime"/>
<result column="status" property="status"/>
<result column="is_deleted" property="isDeleted"/>
<result column="rule_name" property="ruleName"/>
<result column="rule_code" property="ruleCode"/>
<result column="rule_json" property="ruleJson"/>
<result column="rule_description" property="ruleDescription"/>
</resultMap>
</mapper>
|
Subsets and Splits
PyTorch Neural Network Imports
This query filters for code examples containing a specific PyTorch import pattern, which is useful for finding code snippets that use PyTorch's neural network module but doesn't provide deeper analytical insights about the dataset.
HTML Files in Train Set
Retrieves all records from the dataset where the file path ends with .html or .htm, providing a basic filter for HTML files.
SQL Console for nick007x/github-code-2025
Retrieves 200 file paths that end with '.html' or '.htm', providing a basic overview of HTML files in the dataset.
Top HTML Files
The query retrieves a sample of HTML file paths, providing basic filtering but limited analytical value.
CSharp Repositories Excluding Unity
Retrieves all records for repositories that contain C# files but are not related to Unity, providing a basic filter of the dataset.
C# File Count per Repository
Counts the total number of C# files across distinct repositories, providing a basic measure of C# file presence.
SQL Console for nick007x/github-code-2025
Lists unique repository IDs containing C# files, providing basic filtering to understand which repositories have C# code.
Select Groovy Files: Train Set
Retrieves the first 1000 entries from the 'train' dataset where the file path ends with '.groovy', providing a basic sample of Groovy files.
GitHub Repos with WiFiClientSecure
Finds specific file paths in repositories that contain particular code snippets related to WiFiClientSecure and ChatGPT, providing basic filtering of relevant files.