12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-74c7207a","chunk-a5768400","chunk-2ca51a62","chunk-345dd7f2","chunk-4117a386","chunk-08486bce","chunk-d19c1a98","chunk-2d0a2db2","chunk-2d0f012d"],{"0062":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:t.queryParams,inline:!0,"label-width":"68px"}},[n("el-form-item",{attrs:{label:"任务名称",prop:"jobName"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入任务名称",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.jobName,callback:function(e){t.$set(t.queryParams,"jobName",e)},expression:"queryParams.jobName"}})],1),n("el-form-item",{attrs:{label:"任务组名",prop:"jobGroup"}},[n("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"请任务组名",clearable:"",size:"small"},model:{value:t.queryParams.jobGroup,callback:function(e){t.$set(t.queryParams,"jobGroup",e)},expression:"queryParams.jobGroup"}},t._l(t.jobGroupOptions,(function(t){return n("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:t.dictValue}})})),1)],1),n("el-form-item",{attrs:{label:"执行状态",prop:"status"}},[n("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"请选择执行状态",clearable:"",size:"small"},model:{value:t.queryParams.status,callback:function(e){t.$set(t.queryParams,"status",e)},expression:"queryParams.status"}},t._l(t.statusOptions,(function(t){return n("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:t.dictValue}})})),1)],1),n("el-form-item",{attrs:{label:"执行时间"}},[n("el-date-picker",{staticStyle:{width:"240px"},attrs:{size:"small","value-format":"yyyy-MM-dd",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:t.dateRange,callback:function(e){t.dateRange=e},expression:"dateRange"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"cyan",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1),n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:remove"],expression:"['monitor:job:remove']"}],attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:t.multiple},on:{click:t.handleDelete}},[t._v("删除")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:remove"],expression:"['monitor:job:remove']"}],attrs:{type:"danger",icon:"el-icon-delete",size:"mini"},on:{click:t.handleClean}},[t._v("清空")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:export"],expression:"['monitor:job:export']"}],attrs:{type:"warning",icon:"el-icon-download",size:"mini"},on:{click:t.handleExport}},[t._v("导出")])],1),n("right-toolbar",{attrs:{showSearch:t.showSearch},on:{"update:showSearch":function(e){t.showSearch=e},"update:show-search":function(e){t.showSearch=e},queryTable:t.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.jobLogList},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),n("el-table-column",{attrs:{label:"日志编号",width:"80",align:"center",prop:"jobLogId"}}),n("el-table-column",{attrs:{label:"任务名称",align:"center",prop:"jobName","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"任务组名",align:"center",prop:"jobGroup",formatter:t.jobGroupFormat,"show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"调用目标字符串",align:"center",prop:"invokeTarget","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"日志信息",align:"center",prop:"jobMessage","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"执行状态",align:"center",prop:"status",formatter:t.statusFormat}}),n("el-table-column",{attrs:{label:"执行时间",align:"center",prop:"createTime",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.parseTime(e.row.createTime)))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:query"],expression:"['monitor:job:query']"}],attrs:{size:"mini",type:"text",icon:"el-icon-view"},on:{click:function(n){return t.handleView(e.row)}}},[t._v("详细")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(e){return t.$set(t.queryParams,"pageNum",e)},"update:limit":function(e){return t.$set(t.queryParams,"pageSize",e)},pagination:t.getList}}),n("el-dialog",{attrs:{title:"调度日志详细",visible:t.open,width:"700px","append-to-body":""},on:{"update:visible":function(e){t.open=e}}},[n("el-form",{ref:"form",attrs:{model:t.form,"label-width":"100px",size:"mini"}},[n("el-row",[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"日志序号:"}},[t._v(t._s(t.form.jobLogId))]),n("el-form-item",{attrs:{label:"任务名称:"}},[t._v(t._s(t.form.jobName))])],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"任务分组:"}},[t._v(t._s(t.form.jobGroup))]),n("el-form-item",{attrs:{label:"执行时间:"}},[t._v(t._s(t.form.createTime))])],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"调用方法:"}},[t._v(t._s(t.form.invokeTarget))])],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"日志信息:"}},[t._v(t._s(t.form.jobMessage))])],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"执行状态:"}},[0==t.form.status?n("div",[t._v("正常")]):1==t.form.status?n("div",[t._v("失败")]):t._e()])],1),n("el-col",{attrs:{span:24}},[1==t.form.status?n("el-form-item",{attrs:{label:"异常信息:"}},[t._v(t._s(t.form.exceptionInfo))]):t._e()],1)],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(e){t.open=!1}}},[t._v("关 闭")])],1)],1)],1)},i=[],a=n("5530"),o=(n("d81d"),n("b775"));function A(t){return Object(o["a"])({url:"/schedule/job/log/list",method:"get",params:t})}function s(t){return Object(o["a"])({url:"/schedule/job/log/"+t,method:"delete"})}function l(){return Object(o["a"])({url:"/schedule/job/log/clean",method:"delete"})}var c={name:"JobLog",data:function(){return{loading:!0,ids:[],multiple:!0,showSearch:!0,total:0,jobLogList:[],open:!1,dateRange:[],form:{},statusOptions:[],jobGroupOptions:[],queryParams:{pageNum:1,pageSize:10,jobName:void 0,jobGroup:void 0,status:void 0}}},created:function(){var t=this;this.getList(),this.getDicts("sys_job_status").then((function(e){t.statusOptions=e.data})),this.getDicts("sys_job_group").then((function(e){t.jobGroupOptions=e.data}))},methods:{getList:function(){var t=this;this.loading=!0,A(this.addDateRange(this.queryParams,this.dateRange)).then((function(e){t.jobLogList=e.rows,t.total=e.total,t.loading=!1}))},statusFormat:function(t,e){return this.selectDictLabel(this.statusOptions,t.status)},jobGroupFormat:function(t,e){return this.selectDictLabel(this.jobGroupOptions,t.jobGroup)},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(t){this.ids=t.map((function(t){return t.jobLogId})),this.multiple=!t.length},handleView:function(t){this.open=!0,this.form=t},handleDelete:function(t){var e=this,n=this.ids;this.$confirm('是否确认删除调度日志编号为"'+n+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return s(n)})).then((function(){e.getList(),e.msgSuccess("删除成功")}))},handleClean:function(){var t=this;this.$confirm("是否确认清空所有调度日志数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return l()})).then((function(){t.getList(),t.msgSuccess("清空成功")}))},handleExport:function(){this.download("schedule/job/log/export",Object(a["a"])({},this.queryParams),"log_".concat((new Date).getTime(),".xlsx"))}}},u=c,d=n("2877"),h=Object(d["a"])(u,r,i,!1,null,null,null);e["default"]=h.exports},"046a":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:t.queryParams,inline:!0,"label-width":"68px"}},[n("el-form-item",{attrs:{label:"字典名称",prop:"dictName"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入字典名称",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.dictName,callback:function(e){t.$set(t.queryParams,"dictName",e)},expression:"queryParams.dictName"}})],1),n("el-form-item",{attrs:{label:"字典类型",prop:"dictType"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入字典类型",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.dictType,callback:function(e){t.$set(t.queryParams,"dictType",e)},expression:"queryParams.dictType"}})],1),n("el-form-item",{attrs:{label:"状态",prop:"status"}},[n("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"字典状态",clearable:"",size:"small"},model:{value:t.queryParams.status,callback:function(e){t.$set(t.queryParams,"status",e)},expression:"queryParams.status"}},t._l(t.statusOptions,(function(t){return n("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:t.dictValue}})})),1)],1),n("el-form-item",{attrs:{label:"创建时间"}},[n("el-date-picker",{staticStyle:{width:"240px"},attrs:{size:"small","value-format":"yyyy-MM-dd",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:t.dateRange,callback:function(e){t.dateRange=e},expression:"dateRange"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"cyan",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1),n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:add"],expression:"['system:dict:add']"}],attrs:{type:"primary",icon:"el-icon-plus",size:"mini"},on:{click:t.handleAdd}},[t._v("新增")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:edit"],expression:"['system:dict:edit']"}],attrs:{type:"success",icon:"el-icon-edit",size:"mini",disabled:t.single},on:{click:t.handleUpdate}},[t._v("修改")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:remove"],expression:"['system:dict:remove']"}],attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:t.multiple},on:{click:t.handleDelete}},[t._v("删除")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:export"],expression:"['system:dict:export']"}],attrs:{type:"warning",icon:"el-icon-download",size:"mini"},on:{click:t.handleExport}},[t._v("导出")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:remove"],expression:"['system:dict:remove']"}],attrs:{type:"danger",icon:"el-icon-refresh",size:"mini"},on:{click:t.handleClearCache}},[t._v("清理缓存")])],1),n("right-toolbar",{attrs:{showSearch:t.showSearch},on:{"update:showSearch":function(e){t.showSearch=e},"update:show-search":function(e){t.showSearch=e},queryTable:t.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.typeList},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),n("el-table-column",{attrs:{label:"字典编号",align:"center",prop:"dictId"}}),n("el-table-column",{attrs:{label:"字典名称",align:"center",prop:"dictName","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"字典类型",align:"center","show-overflow-tooltip":!0},scopedSlots:t._u([{key:"default",fn:function(e){return[n("router-link",{staticClass:"link-type",attrs:{to:"/dict/type/data/"+e.row.dictId}},[n("span",[t._v(t._s(e.row.dictType))])])]}}])}),n("el-table-column",{attrs:{label:"状态",align:"center",prop:"status",formatter:t.statusFormat}}),n("el-table-column",{attrs:{label:"备注",align:"center",prop:"remark","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"创建时间",align:"center",prop:"createTime",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.parseTime(e.row.createTime)))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:edit"],expression:"['system:dict:edit']"}],attrs:{size:"mini",type:"text",icon:"el-icon-edit"},on:{click:function(n){return t.handleUpdate(e.row)}}},[t._v("修改")]),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:remove"],expression:"['system:dict:remove']"}],attrs:{size:"mini",type:"text",icon:"el-icon-delete"},on:{click:function(n){return t.handleDelete(e.row)}}},[t._v("删除")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(e){return t.$set(t.queryParams,"pageNum",e)},"update:limit":function(e){return t.$set(t.queryParams,"pageSize",e)},pagination:t.getList}}),n("el-dialog",{attrs:{title:t.title,visible:t.open,width:"500px","append-to-body":""},on:{"update:visible":function(e){t.open=e}}},[n("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"80px"}},[n("el-form-item",{attrs:{label:"字典名称",prop:"dictName"}},[n("el-input",{attrs:{placeholder:"请输入字典名称"},model:{value:t.form.dictName,callback:function(e){t.$set(t.form,"dictName",e)},expression:"form.dictName"}})],1),n("el-form-item",{attrs:{label:"字典类型",prop:"dictType"}},[n("el-input",{attrs:{placeholder:"请输入字典类型"},model:{value:t.form.dictType,callback:function(e){t.$set(t.form,"dictType",e)},expression:"form.dictType"}})],1),n("el-form-item",{attrs:{label:"状态",prop:"status"}},[n("el-radio-group",{model:{value:t.form.status,callback:function(e){t.$set(t.form,"status",e)},expression:"form.status"}},t._l(t.statusOptions,(function(e){return n("el-radio",{key:e.dictValue,attrs:{label:e.dictValue}},[t._v(t._s(e.dictLabel))])})),1)],1),n("el-form-item",{attrs:{label:"备注",prop:"remark"}},[n("el-input",{attrs:{type:"textarea",placeholder:"请输入内容"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("确 定")]),n("el-button",{on:{click:t.cancel}},[t._v("取 消")])],1)],1)],1)},i=[],a=n("5530"),o=(n("d81d"),n("ed45")),A={name:"Dict",data:function(){return{loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,typeList:[],title:"",open:!1,statusOptions:[],dateRange:[],queryParams:{pageNum:1,pageSize:10,dictName:void 0,dictType:void 0,status:void 0},form:{},rules:{dictName:[{required:!0,message:"字典名称不能为空",trigger:"blur"}],dictType:[{required:!0,message:"字典类型不能为空",trigger:"blur"}]}}},created:function(){var t=this;this.getList(),this.getDicts("sys_normal_disable").then((function(e){t.statusOptions=e.data}))},methods:{getList:function(){var t=this;this.loading=!0,Object(o["e"])(this.addDateRange(this.queryParams,this.dateRange)).then((function(e){t.typeList=e.rows,t.total=e.total,t.loading=!1}))},statusFormat:function(t,e){return this.selectDictLabel(this.statusOptions,t.status)},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={dictId:void 0,dictName:void 0,dictType:void 0,status:"0",remark:void 0},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.resetForm("queryForm"),this.handleQuery()},handleAdd:function(){this.reset(),this.open=!0,this.title="添加字典类型"},handleSelectionChange:function(t){this.ids=t.map((function(t){return t.dictId})),this.single=1!=t.length,this.multiple=!t.length},handleUpdate:function(t){var e=this;this.reset();var n=t.dictId||this.ids;Object(o["d"])(n).then((function(t){e.form=t.data,e.open=!0,e.title="修改字典类型"}))},submitForm:function(){var t=this;this.$refs["form"].validate((function(e){e&&(void 0!=t.form.dictId?Object(o["g"])(t.form).then((function(e){t.msgSuccess("修改成功"),t.open=!1,t.getList()})):Object(o["a"])(t.form).then((function(e){t.msgSuccess("新增成功"),t.open=!1,t.getList()})))}))},handleDelete:function(t){var e=this,n=t.dictId||this.ids;this.$confirm('是否确认删除字典编号为"'+n+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(o["c"])(n)})).then((function(){e.getList(),e.msgSuccess("删除成功")}))},handleExport:function(){this.download("system/dict/type/export",Object(a["a"])({},this.queryParams),"type_".concat((new Date).getTime(),".xlsx"))},handleClearCache:function(){var t=this;Object(o["b"])().then((function(e){t.msgSuccess("清理成功")}))}}},s=A,l=n("2877"),c=Object(l["a"])(s,r,i,!1,null,null,null);e["default"]=c.exports},"050f":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAAHCAYAAABdqo5mAAABMElEQVQ4jc2UzUoDUQyFv+lMW7X+QAUR3PgA7n3/pbj1FUSRKqidqvProok9hpl2dho4JJO5hHOSm5tc3q4YYMmQQ39g7a4DmcQJMLLcWODfqf3vQyI1CHW78o0RjCQ132xBDVRAGVBJjR+BE+AMOAfmwAlwaDgCZsCenVPxU4m9Od4IFZiFZmJEqiBQiTdC+iuIKIBPIAfegaXhFXgBHoEnoMiMwAy4Aq6BCxN2AOwLJkLUMZbYhfg0o8CuCUaBbch7E0qJHS5yBXyYXwL3wI2hzKxQDtwBC+AUOGb7BNW78JTNVVYbsZlwFFiaV6st75MsDGXwXRN8A55ZTzAHWr82hSl/MLJOWvewbwdTfu9ZfJD68j6tuIOab03okB30ZnTuIFKsZn3nI8n/aDtf0W8KX4E8RhM5bgAAAABJRU5ErkJggg=="},"06a7":function(t,e,n){},"0986":function(t,e,n){},"0a31":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"sameCustomerPanel"},[n("el-row",{staticClass:"btnDiv"},[n("el-col",{attrs:{span:20}},[n("el-button",{attrs:{type:"cyan"}},[t._v("四要素疑似相同客户")]),n("span",{staticClass:"info"},[n("i",{staticClass:"el-icon-info"}),t._v("四要素疑似相同指姓名、性别、证件类型、手机号一致")])],1),n("el-col",{staticClass:"export",attrs:{span:4}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:sameCustomer"],expression:"['business:sameCustomer']"}],attrs:{type:"warning",icon:"el-icon-download",size:"mini",loading:t.exportLoadingZero},on:{click:t.handleExportZero}},[t._v("导出")])],1)],1),n("el-row",{staticClass:"btnDiv"},[n("el-col",{attrs:{span:20}},[n("el-button",{attrs:{type:"cyan"}},[t._v("三要素疑似相同客户")]),n("span",{staticClass:"info"},[n("i",{staticClass:"el-icon-info"}),t._v("三要素疑似相同指姓名、性别、出生日期一致")])],1),n("el-col",{staticClass:"export",attrs:{span:4}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:sameCustomer"],expression:"['business:sameCustomer']"}],attrs:{type:"warning",icon:"el-icon-download",size:"mini",loading:t.exportLoadingOne},on:{click:t.handleExportOne}},[t._v("导出")])],1)],1),n("el-row",{staticClass:"btnDiv"},[n("el-col",{attrs:{span:20}},[n("el-button",{attrs:{type:"cyan"}},[t._v("两要素疑似相同客户")]),n("span",{staticClass:"info"},[n("i",{staticClass:"el-icon-info"}),t._v("两要素疑似相同指姓名、证件号码一致")])],1),n("el-col",{staticClass:"export",attrs:{span:4}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:sameCustomer"],expression:"['business:sameCustomer']"}],attrs:{type:"warning",icon:"el-icon-download",size:"mini",loading:t.exportLoadingTwo},on:{click:t.handleExportTwo}},[t._v("导出")])],1)],1)],1),n("div",{staticClass:"sameCustomerPanel mt10"},[n("el-row",[n("el-col",{staticClass:"l-ht40",attrs:{span:24}},t._l(t.btnArr,(function(e,r){return n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:sameCustomer"],expression:"['business:sameCustomer']"}],key:e.id,attrs:{type:"warning",icon:"el-icon-download",size:"mini",loading:e.loading},on:{click:function(n){return t.handleExportBtn(e,r)}}},[t._v(t._s(e.name))])})),1)],1)],1)])},i=[],a=n("c871"),o={name:"sameCustomer",components:{},data:function(){return{exportLoadingZero:!1,exportLoadingOne:!1,exportLoadingTwo:!1,btnArr:[{name:"姓名异常数据",id:3,loading:!1},{name:"性别异常数据",id:4,loading:!1},{name:"证件类型异常数据",id:5,loading:!1},{name:"证件号码异常数据",id:6},{name:"出生日期异常数据",id:7,loading:!1},{name:"手机号码异常数据",id:8,loading:!1},{name:"邮政编码异常数据",id:9,loading:!1},{name:"主被保险人性别异常数据",id:11,loading:!1},{name:"学历异常数据",id:12,loading:!1},{name:"邮箱异常数据",id:14,loading:!1},{name:"起保日期异常数据",id:15,loading:!1},{name:"主被保险人手机异常数据",id:16,loading:!1},{name:"主被保险人证件号码异常数据",id:17,loading:!1},{name:"业务员名称异常数据",id:18,loading:!1},{name:"业绩归属异常数据",id:19,loading:!1}]}},created:function(){},mounted:function(){},methods:{getCustomerByIdData:function(){var t=this;this.loading=!0;var e=this.$route.query.id;Object(a["a"])({id:e}).then((function(e){console.log(e),t.custInfo=e.data.custInfo,t.loading=!1}))},handleExportZero:function(){var t=this;t.exportLoadingZero=!0,this.downloadNew("data/customer/exportSameZero",{},"customer_".concat((new Date).getTime(),".csv")).then((function(e){console.log(e),e&&(t.exportLoadingZero=!1)}))},handleExportOne:function(){var t=this;t.exportLoadingOne=!0,this.downloadNew("data/customer/exportSameOne",{},"customer_".concat((new Date).getTime(),".csv")).then((function(e){console.log(e),e&&(t.exportLoadingOne=!1)}))},handleExportTwo:function(){var t=this;t.exportLoadingTwo=!0,this.downloadNew("data/customer/exportSameTwo",{},"customer_".concat((new Date).getTime(),".csv")).then((function(e){console.log(e),e&&(t.exportLoadingTwo=!1)}))},handleExportBtn:function(t,e){var n=this;n.btnArr[e].loading=!0,this.downloadNew("data/customer/dataCleaning",{sameType:t.id},"customer_".concat((new Date).getTime(),".csv")).then((function(t){console.log(t),t&&(n.btnArr[e].loading=!1)}))}}},A=o,s=(n("7285"),n("2877")),l=Object(s["a"])(A,r,i,!1,null,null,null);e["default"]=l.exports},"0a5c":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className,style:{height:t.height,width:t.width}})},i=[],a=n("313e"),o=n.n(a),A=n("feb2");n("817d");var s=3e3,l={mixins:[A["default"]],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"300px"}},data:function(){return{chart:null}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=o.a.init(this.$el,"macarons"),this.chart.setOption({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},radar:{radius:"66%",center:["50%","42%"],splitNumber:8,splitArea:{areaStyle:{color:"rgba(127,95,132,.3)",opacity:1,shadowBlur:45,shadowColor:"rgba(0,0,0,.5)",shadowOffsetX:0,shadowOffsetY:15}},indicator:[{name:"Sales",max:1e4},{name:"Administration",max:2e4},{name:"Information Techology",max:2e4},{name:"Customer Support",max:2e4},{name:"Development",max:2e4},{name:"Marketing",max:2e4}]},legend:{left:"center",bottom:"10",data:["Allocated Budget","Expected Spending","Actual Spending"]},series:[{type:"radar",symbolSize:0,areaStyle:{normal:{shadowBlur:13,shadowColor:"rgba(0,0,0,.2)",shadowOffsetX:0,shadowOffsetY:10,opacity:1}},data:[{value:[5e3,7e3,12e3,11e3,15e3,14e3],name:"Allocated Budget"},{value:[4e3,9e3,15e3,15e3,13e3,11e3],name:"Expected Spending"},{value:[5500,11e3,12e3,15e3,12e3,12e3],name:"Actual Spending"}],animationDuration:s}]})}}},c=l,u=n("2877"),d=Object(u["a"])(c,r,i,!1,null,null,null);e["default"]=d.exports},"0b25":function(t,e,n){var r=n("a691"),i=n("50c4");t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length or index");return n}},1035:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className,style:{height:t.height,width:t.width},attrs:{id:t.id}})},i=[],a=(n("b0c0"),n("313e")),o=n.n(a),A=n("feb2"),s={mixins:[A["default"]],props:{className:{type:String,default:"chart"},id:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"400px"},data:{type:Object,default:{}}},data:function(){return{chart:null}},watch:{data:{handler:function(t,e){t&&this.initChart()},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){var t=this;this.chart=o.a.init(document.getElementById(this.id));var e={tooltip:{trigger:"axis",formatter:"时间:{b}月<br>金额:{c}元"},grid:{left:"20%"},xAxis:[{type:"category",name:t.data.lineData.xAxisName,nameLocation:"end",nameTextStyle:{color:"#333",padding:[30,0,-40,-50]},data:t.data.xAxisData,axisPointer:{type:"shadow"},axisLabel:{color:"#333"},axisLine:{lineStyle:{color:"#EDEDED"}}}],yAxis:[{type:"value",name:t.data.lineData.yAxisName,axisLabel:{},axisLine:{show:!1},axisTick:{show:!1}}],series:[{name:t.data.lineData.name,type:"line",smooth:!0,itemStyle:{color:"#5AAFF9",borderColor:"#CFAF19"},data:t.data.lineData.data}]};this.chart.setOption(e)}}},l=s,c=n("2877"),u=Object(c["a"])(l,r,i,!1,null,null,null);e["default"]=u.exports},1157:function(t,e,n){var r,i;
- /*!
- * jQuery JavaScript Library v3.6.0
- * https://jquery.com/
- *
- * Includes Sizzle.js
- * https://sizzlejs.com/
- *
- * Copyright OpenJS Foundation and other contributors
- * Released under the MIT license
- * https://jquery.org/license
- *
- * Date: 2021-03-02T17:08Z
- */(function(e,n){"use strict";"object"===typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)})("undefined"!==typeof window?window:this,(function(n,a){"use strict";var o=[],A=Object.getPrototypeOf,s=o.slice,l=o.flat?function(t){return o.flat.call(t)}:function(t){return o.concat.apply([],t)},c=o.push,u=o.indexOf,d={},h=d.toString,f=d.hasOwnProperty,p=f.toString,m=p.call(Object),g={},v=function(t){return"function"===typeof t&&"number"!==typeof t.nodeType&&"function"!==typeof t.item},_=function(t){return null!=t&&t===t.window},y=n.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,n){n=n||y;var r,i,a=n.createElement("script");if(a.text=t,e)for(r in b)i=e[r]||e.getAttribute&&e.getAttribute(r),i&&a.setAttribute(r,i);n.head.appendChild(a).parentNode.removeChild(a)}function B(t){return null==t?t+"":"object"===typeof t||"function"===typeof t?d[h.call(t)]||"object":typeof t}var x="3.6.0",C=function(t,e){return new C.fn.init(t,e)};function k(t){var e=!!t&&"length"in t&&t.length,n=B(t);return!v(t)&&!_(t)&&("array"===n||0===e||"number"===typeof e&&e>0&&e-1 in t)}C.fn=C.prototype={jquery:x,constructor:C,length:0,toArray:function(){return s.call(this)},get:function(t){return null==t?s.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=C.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return C.each(this,t)},map:function(t){return this.pushStack(C.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(C.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice},C.extend=C.fn.extend=function(){var t,e,n,r,i,a,o=arguments[0]||{},A=1,s=arguments.length,l=!1;for("boolean"===typeof o&&(l=o,o=arguments[A]||{},A++),"object"===typeof o||v(o)||(o={}),A===s&&(o=this,A--);A<s;A++)if(null!=(t=arguments[A]))for(e in t)r=t[e],"__proto__"!==e&&o!==r&&(l&&r&&(C.isPlainObject(r)||(i=Array.isArray(r)))?(n=o[e],a=i&&!Array.isArray(n)?[]:i||C.isPlainObject(n)?n:{},i=!1,o[e]=C.extend(l,a,r)):void 0!==r&&(o[e]=r));return o},C.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==h.call(t))&&(e=A(t),!e||(n=f.call(e,"constructor")&&e.constructor,"function"===typeof n&&p.call(n)===m))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){w(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,r=0;if(k(t)){for(n=t.length;r<n;r++)if(!1===e.call(t[r],r,t[r]))break}else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&(k(Object(t))?C.merge(n,"string"===typeof t?[t]:t):c.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:u.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r,i=[],a=0,o=t.length,A=!n;a<o;a++)r=!e(t[a],a),r!==A&&i.push(t[a]);return i},map:function(t,e,n){var r,i,a=0,o=[];if(k(t))for(r=t.length;a<r;a++)i=e(t[a],a,n),null!=i&&o.push(i);else for(a in t)i=e(t[a],a,n),null!=i&&o.push(i);return l(o)},guid:1,support:g}),"function"===typeof Symbol&&(C.fn[Symbol.iterator]=o[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){d["[object "+e+"]"]=e.toLowerCase()}));var Q=
- /*!
- * Sizzle CSS Selector Engine v2.3.6
- * https://sizzlejs.com/
- *
- * Copyright JS Foundation and other contributors
- * Released under the MIT license
- * https://js.foundation/
- *
- * Date: 2021-02-16
- */
- function(t){var e,n,r,i,a,o,A,s,l,c,u,d,h,f,p,m,g,v,_,y="sizzle"+1*new Date,b=t.document,w=0,B=0,x=st(),C=st(),k=st(),Q=st(),E=function(t,e){return t===e&&(u=!0),0},F={}.hasOwnProperty,U=[],O=U.pop,S=U.push,T=U.push,I=U.slice,D=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",N="(?:\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",H="\\["+P+"*("+N+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+P+"*\\]",M=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+H+")*)|.*)\\)|)",j=new RegExp(P+"+","g"),R=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),K=new RegExp("^"+P+"*,"+P+"*"),q=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),V=new RegExp(P+"|>"),z=new RegExp(M),G=new RegExp("^"+N+"$"),W={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+M),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},$=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},rt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,it=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},at=function(){d()},ot=yt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{T.apply(U=I.call(b.childNodes),b.childNodes),U[b.childNodes.length].nodeType}catch(Qt){T={apply:U.length?function(t,e){S.apply(t,I.call(e))}:function(t,e){var n=t.length,r=0;while(t[n++]=e[r++]);t.length=n-1}}}function At(t,e,r,i){var a,A,l,c,u,f,g,v=e&&e.ownerDocument,b=e?e.nodeType:9;if(r=r||[],"string"!==typeof t||!t||1!==b&&9!==b&&11!==b)return r;if(!i&&(d(e),e=e||h,p)){if(11!==b&&(u=Z.exec(t)))if(a=u[1]){if(9===b){if(!(l=e.getElementById(a)))return r;if(l.id===a)return r.push(l),r}else if(v&&(l=v.getElementById(a))&&_(e,l)&&l.id===a)return r.push(l),r}else{if(u[2])return T.apply(r,e.getElementsByTagName(t)),r;if((a=u[3])&&n.getElementsByClassName&&e.getElementsByClassName)return T.apply(r,e.getElementsByClassName(a)),r}if(n.qsa&&!Q[t+" "]&&(!m||!m.test(t))&&(1!==b||"object"!==e.nodeName.toLowerCase())){if(g=t,v=e,1===b&&(V.test(t)||q.test(t))){v=tt.test(t)&>(e.parentNode)||e,v===e&&n.scope||((c=e.getAttribute("id"))?c=c.replace(rt,it):e.setAttribute("id",c=y)),f=o(t),A=f.length;while(A--)f[A]=(c?"#"+c:":scope")+" "+_t(f[A]);g=f.join(",")}try{return T.apply(r,v.querySelectorAll(g)),r}catch(w){Q(t,!0)}finally{c===y&&e.removeAttribute("id")}}}return s(t.replace(R,"$1"),e,r,i)}function st(){var t=[];function e(n,i){return t.push(n+" ")>r.cacheLength&&delete e[t.shift()],e[n+" "]=i}return e}function lt(t){return t[y]=!0,t}function ct(t){var e=h.createElement("fieldset");try{return!!t(e)}catch(Qt){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ut(t,e){var n=t.split("|"),i=n.length;while(i--)r.attrHandle[n[i]]=e}function dt(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===e)return-1;return t?1:-1}function ht(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function ft(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function pt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ot(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function mt(t){return lt((function(e){return e=+e,lt((function(n,r){var i,a=t([],n.length,e),o=a.length;while(o--)n[i=a[o]]&&(n[i]=!(r[i]=n[i]))}))}))}function gt(t){return t&&"undefined"!==typeof t.getElementsByTagName&&t}for(e in n=At.support={},a=At.isXML=function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!$.test(e||n&&n.nodeName||"HTML")},d=At.setDocument=function(t){var e,i,o=t?t.ownerDocument||t:b;return o!=h&&9===o.nodeType&&o.documentElement?(h=o,f=h.documentElement,p=!a(h),b!=h&&(i=h.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",at,!1):i.attachEvent&&i.attachEvent("onunload",at)),n.scope=ct((function(t){return f.appendChild(t).appendChild(h.createElement("div")),"undefined"!==typeof t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),n.attributes=ct((function(t){return t.className="i",!t.getAttribute("className")})),n.getElementsByTagName=ct((function(t){return t.appendChild(h.createComment("")),!t.getElementsByTagName("*").length})),n.getElementsByClassName=J.test(h.getElementsByClassName),n.getById=ct((function(t){return f.appendChild(t).id=y,!h.getElementsByName||!h.getElementsByName(y).length})),n.getById?(r.filter["ID"]=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},r.find["ID"]=function(t,e){if("undefined"!==typeof e.getElementById&&p){var n=e.getElementById(t);return n?[n]:[]}}):(r.filter["ID"]=function(t){var e=t.replace(et,nt);return function(t){var n="undefined"!==typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},r.find["ID"]=function(t,e){if("undefined"!==typeof e.getElementById&&p){var n,r,i,a=e.getElementById(t);if(a){if(n=a.getAttributeNode("id"),n&&n.value===t)return[a];i=e.getElementsByName(t),r=0;while(a=i[r++])if(n=a.getAttributeNode("id"),n&&n.value===t)return[a]}return[]}}),r.find["TAG"]=n.getElementsByTagName?function(t,e){return"undefined"!==typeof e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,a=e.getElementsByTagName(t);if("*"===t){while(n=a[i++])1===n.nodeType&&r.push(n);return r}return a},r.find["CLASS"]=n.getElementsByClassName&&function(t,e){if("undefined"!==typeof e.getElementsByClassName&&p)return e.getElementsByClassName(t)},g=[],m=[],(n.qsa=J.test(h.querySelectorAll))&&(ct((function(t){var e;f.appendChild(t).innerHTML="<a id='"+y+"'></a><select id='"+y+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+P+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+P+"*(?:value|"+L+")"),t.querySelectorAll("[id~="+y+"-]").length||m.push("~="),e=h.createElement("input"),e.setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||m.push("\\["+P+"*name"+P+"*="+P+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+y+"+*").length||m.push(".#.+[+~]"),t.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),ct((function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=h.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+P+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),f.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")}))),(n.matchesSelector=J.test(v=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ct((function(t){n.disconnectedMatch=v.call(t,"*"),v.call(t,"[s!='']:x"),g.push("!=",M)})),m=m.length&&new RegExp(m.join("|")),g=g.length&&new RegExp(g.join("|")),e=J.test(f.compareDocumentPosition),_=e||J.test(f.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)while(e=e.parentNode)if(e===t)return!0;return!1},E=e?function(t,e){if(t===e)return u=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(r=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&r||!n.sortDetached&&e.compareDocumentPosition(t)===r?t==h||t.ownerDocument==b&&_(b,t)?-1:e==h||e.ownerDocument==b&&_(b,e)?1:c?D(c,t)-D(c,e):0:4&r?-1:1)}:function(t,e){if(t===e)return u=!0,0;var n,r=0,i=t.parentNode,a=e.parentNode,o=[t],A=[e];if(!i||!a)return t==h?-1:e==h?1:i?-1:a?1:c?D(c,t)-D(c,e):0;if(i===a)return dt(t,e);n=t;while(n=n.parentNode)o.unshift(n);n=e;while(n=n.parentNode)A.unshift(n);while(o[r]===A[r])r++;return r?dt(o[r],A[r]):o[r]==b?-1:A[r]==b?1:0},h):h},At.matches=function(t,e){return At(t,null,null,e)},At.matchesSelector=function(t,e){if(d(t),n.matchesSelector&&p&&!Q[e+" "]&&(!g||!g.test(e))&&(!m||!m.test(e)))try{var r=v.call(t,e);if(r||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(Qt){Q(e,!0)}return At(e,h,null,[t]).length>0},At.contains=function(t,e){return(t.ownerDocument||t)!=h&&d(t),_(t,e)},At.attr=function(t,e){(t.ownerDocument||t)!=h&&d(t);var i=r.attrHandle[e.toLowerCase()],a=i&&F.call(r.attrHandle,e.toLowerCase())?i(t,e,!p):void 0;return void 0!==a?a:n.attributes||!p?t.getAttribute(e):(a=t.getAttributeNode(e))&&a.specified?a.value:null},At.escape=function(t){return(t+"").replace(rt,it)},At.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},At.uniqueSort=function(t){var e,r=[],i=0,a=0;if(u=!n.detectDuplicates,c=!n.sortStable&&t.slice(0),t.sort(E),u){while(e=t[a++])e===t[a]&&(i=r.push(a));while(i--)t.splice(r[i],1)}return c=null,t},i=At.getText=function(t){var e,n="",r=0,a=t.nodeType;if(a){if(1===a||9===a||11===a){if("string"===typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=i(t)}else if(3===a||4===a)return t.nodeValue}else while(e=t[r++])n+=i(e);return n},r=At.selectors={cacheLength:50,createPseudo:lt,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||At.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&At.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return W["CHILD"].test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&z.test(n)&&(e=o(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=x[t+" "];return e||(e=new RegExp("(^|"+P+")"+t+"("+P+"|$)"))&&x(t,(function(t){return e.test("string"===typeof t.className&&t.className||"undefined"!==typeof t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(r){var i=At.attr(r,t);return null==i?"!="===e:!e||(i+="","="===e?i===n:"!="===e?i!==n:"^="===e?n&&0===i.indexOf(n):"*="===e?n&&i.indexOf(n)>-1:"$="===e?n&&i.slice(-n.length)===n:"~="===e?(" "+i.replace(j," ")+" ").indexOf(n)>-1:"|="===e&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,i){var a="nth"!==t.slice(0,3),o="last"!==t.slice(-4),A="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,s){var l,c,u,d,h,f,p=a!==o?"nextSibling":"previousSibling",m=e.parentNode,g=A&&e.nodeName.toLowerCase(),v=!s&&!A,_=!1;if(m){if(a){while(p){d=e;while(d=d[p])if(A?d.nodeName.toLowerCase()===g:1===d.nodeType)return!1;f=p="only"===t&&!f&&"nextSibling"}return!0}if(f=[o?m.firstChild:m.lastChild],o&&v){d=m,u=d[y]||(d[y]={}),c=u[d.uniqueID]||(u[d.uniqueID]={}),l=c[t]||[],h=l[0]===w&&l[1],_=h&&l[2],d=h&&m.childNodes[h];while(d=++h&&d&&d[p]||(_=h=0)||f.pop())if(1===d.nodeType&&++_&&d===e){c[t]=[w,h,_];break}}else if(v&&(d=e,u=d[y]||(d[y]={}),c=u[d.uniqueID]||(u[d.uniqueID]={}),l=c[t]||[],h=l[0]===w&&l[1],_=h),!1===_)while(d=++h&&d&&d[p]||(_=h=0)||f.pop())if((A?d.nodeName.toLowerCase()===g:1===d.nodeType)&&++_&&(v&&(u=d[y]||(d[y]={}),c=u[d.uniqueID]||(u[d.uniqueID]={}),c[t]=[w,_]),d===e))break;return _-=i,_===r||_%r===0&&_/r>=0}}},PSEUDO:function(t,e){var n,i=r.pseudos[t]||r.setFilters[t.toLowerCase()]||At.error("unsupported pseudo: "+t);return i[y]?i(e):i.length>1?(n=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?lt((function(t,n){var r,a=i(t,e),o=a.length;while(o--)r=D(t,a[o]),t[r]=!(n[r]=a[o])})):function(t){return i(t,0,n)}):i}},pseudos:{not:lt((function(t){var e=[],n=[],r=A(t.replace(R,"$1"));return r[y]?lt((function(t,e,n,i){var a,o=r(t,null,i,[]),A=t.length;while(A--)(a=o[A])&&(t[A]=!(e[A]=a))})):function(t,i,a){return e[0]=t,r(e,null,a,n),e[0]=null,!n.pop()}})),has:lt((function(t){return function(e){return At(t,e).length>0}})),contains:lt((function(t){return t=t.replace(et,nt),function(e){return(e.textContent||i(e)).indexOf(t)>-1}})),lang:lt((function(t){return G.test(t||"")||At.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=p?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===f},focus:function(t){return t===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:pt(!1),disabled:pt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos["empty"](t)},header:function(t){return X.test(t.nodeName)},input:function(t){return Y.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:mt((function(){return[0]})),last:mt((function(t,e){return[e-1]})),eq:mt((function(t,e,n){return[n<0?n+e:n]})),even:mt((function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t})),odd:mt((function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t})),lt:mt((function(t,e,n){for(var r=n<0?n+e:n>e?e:n;--r>=0;)t.push(r);return t})),gt:mt((function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t}))}},r.pseudos["nth"]=r.pseudos["eq"],{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[e]=ht(e);for(e in{submit:!0,reset:!0})r.pseudos[e]=ft(e);function vt(){}function _t(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function yt(t,e,n){var r=e.dir,i=e.next,a=i||r,o=n&&"parentNode"===a,A=B++;return e.first?function(e,n,i){while(e=e[r])if(1===e.nodeType||o)return t(e,n,i);return!1}:function(e,n,s){var l,c,u,d=[w,A];if(s){while(e=e[r])if((1===e.nodeType||o)&&t(e,n,s))return!0}else while(e=e[r])if(1===e.nodeType||o)if(u=e[y]||(e[y]={}),c=u[e.uniqueID]||(u[e.uniqueID]={}),i&&i===e.nodeName.toLowerCase())e=e[r]||e;else{if((l=c[a])&&l[0]===w&&l[1]===A)return d[2]=l[2];if(c[a]=d,d[2]=t(e,n,s))return!0}return!1}}function bt(t){return t.length>1?function(e,n,r){var i=t.length;while(i--)if(!t[i](e,n,r))return!1;return!0}:t[0]}function wt(t,e,n){for(var r=0,i=e.length;r<i;r++)At(t,e[r],n);return n}function Bt(t,e,n,r,i){for(var a,o=[],A=0,s=t.length,l=null!=e;A<s;A++)(a=t[A])&&(n&&!n(a,r,i)||(o.push(a),l&&e.push(A)));return o}function xt(t,e,n,r,i,a){return r&&!r[y]&&(r=xt(r)),i&&!i[y]&&(i=xt(i,a)),lt((function(a,o,A,s){var l,c,u,d=[],h=[],f=o.length,p=a||wt(e||"*",A.nodeType?[A]:A,[]),m=!t||!a&&e?p:Bt(p,d,t,A,s),g=n?i||(a?t:f||r)?[]:o:m;if(n&&n(m,g,A,s),r){l=Bt(g,h),r(l,[],A,s),c=l.length;while(c--)(u=l[c])&&(g[h[c]]=!(m[h[c]]=u))}if(a){if(i||t){if(i){l=[],c=g.length;while(c--)(u=g[c])&&l.push(m[c]=u);i(null,g=[],l,s)}c=g.length;while(c--)(u=g[c])&&(l=i?D(a,u):d[c])>-1&&(a[l]=!(o[l]=u))}}else g=Bt(g===o?g.splice(f,g.length):g),i?i(null,o,g,s):T.apply(o,g)}))}function Ct(t){for(var e,n,i,a=t.length,o=r.relative[t[0].type],A=o||r.relative[" "],s=o?1:0,c=yt((function(t){return t===e}),A,!0),u=yt((function(t){return D(e,t)>-1}),A,!0),d=[function(t,n,r){var i=!o&&(r||n!==l)||((e=n).nodeType?c(t,n,r):u(t,n,r));return e=null,i}];s<a;s++)if(n=r.relative[t[s].type])d=[yt(bt(d),n)];else{if(n=r.filter[t[s].type].apply(null,t[s].matches),n[y]){for(i=++s;i<a;i++)if(r.relative[t[i].type])break;return xt(s>1&&bt(d),s>1&&_t(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(R,"$1"),n,s<i&&Ct(t.slice(s,i)),i<a&&Ct(t=t.slice(i)),i<a&&_t(t))}d.push(n)}return bt(d)}function kt(t,e){var n=e.length>0,i=t.length>0,a=function(a,o,A,s,c){var u,f,m,g=0,v="0",_=a&&[],y=[],b=l,B=a||i&&r.find["TAG"]("*",c),x=w+=null==b?1:Math.random()||.1,C=B.length;for(c&&(l=o==h||o||c);v!==C&&null!=(u=B[v]);v++){if(i&&u){f=0,o||u.ownerDocument==h||(d(u),A=!p);while(m=t[f++])if(m(u,o||h,A)){s.push(u);break}c&&(w=x)}n&&((u=!m&&u)&&g--,a&&_.push(u))}if(g+=v,n&&v!==g){f=0;while(m=e[f++])m(_,y,o,A);if(a){if(g>0)while(v--)_[v]||y[v]||(y[v]=O.call(s));y=Bt(y)}T.apply(s,y),c&&!a&&y.length>0&&g+e.length>1&&At.uniqueSort(s)}return c&&(w=x,l=b),_};return n?lt(a):a}return vt.prototype=r.filters=r.pseudos,r.setFilters=new vt,o=At.tokenize=function(t,e){var n,i,a,o,A,s,l,c=C[t+" "];if(c)return e?0:c.slice(0);A=t,s=[],l=r.preFilter;while(A){for(o in n&&!(i=K.exec(A))||(i&&(A=A.slice(i[0].length)||A),s.push(a=[])),n=!1,(i=q.exec(A))&&(n=i.shift(),a.push({value:n,type:i[0].replace(R," ")}),A=A.slice(n.length)),r.filter)!(i=W[o].exec(A))||l[o]&&!(i=l[o](i))||(n=i.shift(),a.push({value:n,type:o,matches:i}),A=A.slice(n.length));if(!n)break}return e?A.length:A?At.error(t):C(t,s).slice(0)},A=At.compile=function(t,e){var n,r=[],i=[],a=k[t+" "];if(!a){e||(e=o(t)),n=e.length;while(n--)a=Ct(e[n]),a[y]?r.push(a):i.push(a);a=k(t,kt(i,r)),a.selector=t}return a},s=At.select=function(t,e,n,i){var a,s,l,c,u,d="function"===typeof t&&t,h=!i&&o(t=d.selector||t);if(n=n||[],1===h.length){if(s=h[0]=h[0].slice(0),s.length>2&&"ID"===(l=s[0]).type&&9===e.nodeType&&p&&r.relative[s[1].type]){if(e=(r.find["ID"](l.matches[0].replace(et,nt),e)||[])[0],!e)return n;d&&(e=e.parentNode),t=t.slice(s.shift().value.length)}a=W["needsContext"].test(t)?0:s.length;while(a--){if(l=s[a],r.relative[c=l.type])break;if((u=r.find[c])&&(i=u(l.matches[0].replace(et,nt),tt.test(s[0].type)&>(e.parentNode)||e))){if(s.splice(a,1),t=i.length&&_t(s),!t)return T.apply(n,i),n;break}}}return(d||A(t,h))(i,e,!p,n,!e||tt.test(t)&>(e.parentNode)||e),n},n.sortStable=y.split("").sort(E).join("")===y,n.detectDuplicates=!!u,d(),n.sortDetached=ct((function(t){return 1&t.compareDocumentPosition(h.createElement("fieldset"))})),ct((function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")}))||ut("type|href|height|width",(function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),n.attributes&&ct((function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||ut("value",(function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),ct((function(t){return null==t.getAttribute("disabled")}))||ut(L,(function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null})),At}(n);C.find=Q,C.expr=Q.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=Q.uniqueSort,C.text=Q.getText,C.isXMLDoc=Q.isXML,C.contains=Q.contains,C.escapeSelector=Q.escape;var E=function(t,e,n){var r=[],i=void 0!==n;while((t=t[e])&&9!==t.nodeType)if(1===t.nodeType){if(i&&C(t).is(n))break;r.push(t)}return r},F=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},U=C.expr.match.needsContext;function O(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var S=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(t,e,n){return v(e)?C.grep(t,(function(t,r){return!!e.call(t,r,t)!==n})):e.nodeType?C.grep(t,(function(t){return t===e!==n})):"string"!==typeof e?C.grep(t,(function(t){return u.call(e,t)>-1!==n})):C.filter(e,t,n)}C.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?C.find.matchesSelector(r,t)?[r]:[]:C.find.matches(t,C.grep(e,(function(t){return 1===t.nodeType})))},C.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!==typeof t)return this.pushStack(C(t).filter((function(){for(e=0;e<r;e++)if(C.contains(i[e],this))return!0})));for(n=this.pushStack([]),e=0;e<r;e++)C.find(t,i[e],n);return r>1?C.uniqueSort(n):n},filter:function(t){return this.pushStack(T(this,t||[],!1))},not:function(t){return this.pushStack(T(this,t||[],!0))},is:function(t){return!!T(this,"string"===typeof t&&U.test(t)?C(t):t||[],!1).length}});var I,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,L=C.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||I,"string"===typeof t){if(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:D.exec(t),!r||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof C?e[0]:e,C.merge(this,C.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:y,!0)),S.test(r[1])&&C.isPlainObject(e))for(r in e)v(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return i=y.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):v(t)?void 0!==n.ready?n.ready(t):t(C):C.makeArray(t,this)};L.prototype=C.fn,I=C(y);var P=/^(?:parents|prev(?:Until|All))/,N={children:!0,contents:!0,next:!0,prev:!0};function H(t,e){while((t=t[e])&&1!==t.nodeType);return t}C.fn.extend({has:function(t){var e=C(t,this),n=e.length;return this.filter((function(){for(var t=0;t<n;t++)if(C.contains(this,e[t]))return!0}))},closest:function(t,e){var n,r=0,i=this.length,a=[],o="string"!==typeof t&&C(t);if(!U.test(t))for(;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&C.find.matchesSelector(n,t))){a.push(n);break}return this.pushStack(a.length>1?C.uniqueSort(a):a)},index:function(t){return t?"string"===typeof t?u.call(C(t),this[0]):u.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),C.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return E(t,"parentNode")},parentsUntil:function(t,e,n){return E(t,"parentNode",n)},next:function(t){return H(t,"nextSibling")},prev:function(t){return H(t,"previousSibling")},nextAll:function(t){return E(t,"nextSibling")},prevAll:function(t){return E(t,"previousSibling")},nextUntil:function(t,e,n){return E(t,"nextSibling",n)},prevUntil:function(t,e,n){return E(t,"previousSibling",n)},siblings:function(t){return F((t.parentNode||{}).firstChild,t)},children:function(t){return F(t.firstChild)},contents:function(t){return null!=t.contentDocument&&A(t.contentDocument)?t.contentDocument:(O(t,"template")&&(t=t.content||t),C.merge([],t.childNodes))}},(function(t,e){C.fn[t]=function(n,r){var i=C.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"===typeof r&&(i=C.filter(r,i)),this.length>1&&(N[t]||C.uniqueSort(i),P.test(t)&&i.reverse()),this.pushStack(i)}}));var M=/[^\x20\t\r\n\f]+/g;function j(t){var e={};return C.each(t.match(M)||[],(function(t,n){e[n]=!0})),e}function R(t){return t}function K(t){throw t}function q(t,e,n,r){var i;try{t&&v(i=t.promise)?i.call(t).done(e).fail(n):t&&v(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}C.Callbacks=function(t){t="string"===typeof t?j(t):C.extend({},t);var e,n,r,i,a=[],o=[],A=-1,s=function(){for(i=i||t.once,r=e=!0;o.length;A=-1){n=o.shift();while(++A<a.length)!1===a[A].apply(n[0],n[1])&&t.stopOnFalse&&(A=a.length,n=!1)}t.memory||(n=!1),e=!1,i&&(a=n?[]:"")},l={add:function(){return a&&(n&&!e&&(A=a.length-1,o.push(n)),function e(n){C.each(n,(function(n,r){v(r)?t.unique&&l.has(r)||a.push(r):r&&r.length&&"string"!==B(r)&&e(r)}))}(arguments),n&&!e&&s()),this},remove:function(){return C.each(arguments,(function(t,e){var n;while((n=C.inArray(e,a,n))>-1)a.splice(n,1),n<=A&&A--})),this},has:function(t){return t?C.inArray(t,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return i=o=[],a=n="",this},disabled:function(){return!a},lock:function(){return i=o=[],n||e||(a=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=n||[],n=[t,n.slice?n.slice():n],o.push(n),e||s()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},C.extend({Deferred:function(t){var e=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return C.Deferred((function(n){C.each(e,(function(e,r){var i=v(t[r[4]])&&t[r[4]];a[r[1]]((function(){var t=i&&i.apply(this,arguments);t&&v(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)}))})),t=null})).promise()},then:function(t,r,i){var a=0;function o(t,e,r,i){return function(){var A=this,s=arguments,l=function(){var n,l;if(!(t<a)){if(n=r.apply(A,s),n===e.promise())throw new TypeError("Thenable self-resolution");l=n&&("object"===typeof n||"function"===typeof n)&&n.then,v(l)?i?l.call(n,o(a,e,R,i),o(a,e,K,i)):(a++,l.call(n,o(a,e,R,i),o(a,e,K,i),o(a,e,R,e.notifyWith))):(r!==R&&(A=void 0,s=[n]),(i||e.resolveWith)(A,s))}},c=i?l:function(){try{l()}catch(n){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(n,c.stackTrace),t+1>=a&&(r!==K&&(A=void 0,s=[n]),e.rejectWith(A,s))}};t?c():(C.Deferred.getStackHook&&(c.stackTrace=C.Deferred.getStackHook()),n.setTimeout(c))}}return C.Deferred((function(n){e[0][3].add(o(0,n,v(i)?i:R,n.notifyWith)),e[1][3].add(o(0,n,v(t)?t:R)),e[2][3].add(o(0,n,v(r)?r:K))})).promise()},promise:function(t){return null!=t?C.extend(t,i):i}},a={};return C.each(e,(function(t,n){var o=n[2],A=n[5];i[n[1]]=o.add,A&&o.add((function(){r=A}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),o.add(n[3].fire),a[n[0]]=function(){return a[n[0]+"With"](this===a?void 0:this,arguments),this},a[n[0]+"With"]=o.fireWith})),i.promise(a),t&&t.call(a,a),a},when:function(t){var e=arguments.length,n=e,r=Array(n),i=s.call(arguments),a=C.Deferred(),o=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?s.call(arguments):n,--e||a.resolveWith(r,i)}};if(e<=1&&(q(t,a.done(o(n)).resolve,a.reject,!e),"pending"===a.state()||v(i[n]&&i[n].then)))return a.then();while(n--)q(i[n],o(n),a.reject);return a.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&V.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},C.readyException=function(t){n.setTimeout((function(){throw t}))};var z=C.Deferred();function G(){y.removeEventListener("DOMContentLoaded",G),n.removeEventListener("load",G),C.ready()}C.fn.ready=function(t){return z.then(t).catch((function(t){C.readyException(t)})),this},C.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==t&&--C.readyWait>0||z.resolveWith(y,[C]))}}),C.ready.then=z.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?n.setTimeout(C.ready):(y.addEventListener("DOMContentLoaded",G),n.addEventListener("load",G));var W=function(t,e,n,r,i,a,o){var A=0,s=t.length,l=null==n;if("object"===B(n))for(A in i=!0,n)W(t,e,A,n[A],!0,a,o);else if(void 0!==r&&(i=!0,v(r)||(o=!0),l&&(o?(e.call(t,r),e=null):(l=e,e=function(t,e,n){return l.call(C(t),n)})),e))for(;A<s;A++)e(t[A],n,o?r:r.call(t[A],A,e(t[A],n)));return i?t:l?e.call(t):s?e(t[0],n):a},$=/^-ms-/,Y=/-([a-z])/g;function X(t,e){return e.toUpperCase()}function J(t){return t.replace($,"ms-").replace(Y,X)}var Z=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function tt(){this.expando=C.expando+tt.uid++}tt.uid=1,tt.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Z(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"===typeof e)i[J(e)]=n;else for(r in e)i[J(r)]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][J(e)]},access:function(t,e,n){return void 0===e||e&&"string"===typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){Array.isArray(e)?e=e.map(J):(e=J(e),e=e in r?[e]:e.match(M)||[]),n=e.length;while(n--)delete r[e[n]]}(void 0===e||C.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!C.isEmptyObject(e)}};var et=new tt,nt=new tt,rt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,it=/[A-Z]/g;function at(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:rt.test(t)?JSON.parse(t):t)}function ot(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(it,"-$&").toLowerCase(),n=t.getAttribute(r),"string"===typeof n){try{n=at(n)}catch(i){}nt.set(t,e,n)}else n=void 0;return n}C.extend({hasData:function(t){return nt.hasData(t)||et.hasData(t)},data:function(t,e,n){return nt.access(t,e,n)},removeData:function(t,e){nt.remove(t,e)},_data:function(t,e,n){return et.access(t,e,n)},_removeData:function(t,e){et.remove(t,e)}}),C.fn.extend({data:function(t,e){var n,r,i,a=this[0],o=a&&a.attributes;if(void 0===t){if(this.length&&(i=nt.get(a),1===a.nodeType&&!et.get(a,"hasDataAttrs"))){n=o.length;while(n--)o[n]&&(r=o[n].name,0===r.indexOf("data-")&&(r=J(r.slice(5)),ot(a,r,i[r])));et.set(a,"hasDataAttrs",!0)}return i}return"object"===typeof t?this.each((function(){nt.set(this,t)})):W(this,(function(e){var n;if(a&&void 0===e)return n=nt.get(a,t),void 0!==n?n:(n=ot(a,t),void 0!==n?n:void 0);this.each((function(){nt.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){nt.remove(this,t)}))}}),C.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=et.get(t,e),n&&(!r||Array.isArray(n)?r=et.access(t,e,C.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=C.queue(t,e),r=n.length,i=n.shift(),a=C._queueHooks(t,e),o=function(){C.dequeue(t,e)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete a.stop,i.call(t,o,a)),!r&&a&&a.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return et.get(t,n)||et.access(t,n,{empty:C.Callbacks("once memory").add((function(){et.remove(t,[e+"queue",n])}))})}}),C.fn.extend({queue:function(t,e){var n=2;return"string"!==typeof t&&(e=t,t="fx",n--),arguments.length<n?C.queue(this[0],t):void 0===e?this:this.each((function(){var n=C.queue(this,t,e);C._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&C.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){C.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=C.Deferred(),a=this,o=this.length,A=function(){--r||i.resolveWith(a,[a])};"string"!==typeof t&&(e=t,t=void 0),t=t||"fx";while(o--)n=et.get(a[o],t+"queueHooks"),n&&n.empty&&(r++,n.empty.add(A));return A(),i.promise(e)}});var At=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,st=new RegExp("^(?:([+-])=|)("+At+")([a-z%]*)$","i"),lt=["Top","Right","Bottom","Left"],ct=y.documentElement,ut=function(t){return C.contains(t.ownerDocument,t)},dt={composed:!0};ct.getRootNode&&(ut=function(t){return C.contains(t.ownerDocument,t)||t.getRootNode(dt)===t.ownerDocument});var ht=function(t,e){return t=e||t,"none"===t.style.display||""===t.style.display&&ut(t)&&"none"===C.css(t,"display")};function ft(t,e,n,r){var i,a,o=20,A=r?function(){return r.cur()}:function(){return C.css(t,e,"")},s=A(),l=n&&n[3]||(C.cssNumber[e]?"":"px"),c=t.nodeType&&(C.cssNumber[e]||"px"!==l&&+s)&&st.exec(C.css(t,e));if(c&&c[3]!==l){s/=2,l=l||c[3],c=+s||1;while(o--)C.style(t,e,c+l),(1-a)*(1-(a=A()/s||.5))<=0&&(o=0),c/=a;c*=2,C.style(t,e,c+l),n=n||[]}return n&&(c=+c||+s||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var pt={};function mt(t){var e,n=t.ownerDocument,r=t.nodeName,i=pt[r];return i||(e=n.body.appendChild(n.createElement(r)),i=C.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),pt[r]=i,i)}function gt(t,e){for(var n,r,i=[],a=0,o=t.length;a<o;a++)r=t[a],r.style&&(n=r.style.display,e?("none"===n&&(i[a]=et.get(r,"display")||null,i[a]||(r.style.display="")),""===r.style.display&&ht(r)&&(i[a]=mt(r))):"none"!==n&&(i[a]="none",et.set(r,"display",n)));for(a=0;a<o;a++)null!=i[a]&&(t[a].style.display=i[a]);return t}C.fn.extend({show:function(){return gt(this,!0)},hide:function(){return gt(this)},toggle:function(t){return"boolean"===typeof t?t?this.show():this.hide():this.each((function(){ht(this)?C(this).show():C(this).hide()}))}});var vt=/^(?:checkbox|radio)$/i,_t=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,yt=/^$|^module$|\/(?:java|ecma)script/i;(function(){var t=y.createDocumentFragment(),e=t.appendChild(y.createElement("div")),n=y.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),g.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,e.innerHTML="<option></option>",g.option=!!e.lastChild})();var bt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function wt(t,e){var n;return n="undefined"!==typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!==typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&O(t,e)?C.merge([t],n):n}function Bt(t,e){for(var n=0,r=t.length;n<r;n++)et.set(t[n],"globalEval",!e||et.get(e[n],"globalEval"))}bt.tbody=bt.tfoot=bt.colgroup=bt.caption=bt.thead,bt.th=bt.td,g.option||(bt.optgroup=bt.option=[1,"<select multiple='multiple'>","</select>"]);var xt=/<|&#?\w+;/;function Ct(t,e,n,r,i){for(var a,o,A,s,l,c,u=e.createDocumentFragment(),d=[],h=0,f=t.length;h<f;h++)if(a=t[h],a||0===a)if("object"===B(a))C.merge(d,a.nodeType?[a]:a);else if(xt.test(a)){o=o||u.appendChild(e.createElement("div")),A=(_t.exec(a)||["",""])[1].toLowerCase(),s=bt[A]||bt._default,o.innerHTML=s[1]+C.htmlPrefilter(a)+s[2],c=s[0];while(c--)o=o.lastChild;C.merge(d,o.childNodes),o=u.firstChild,o.textContent=""}else d.push(e.createTextNode(a));u.textContent="",h=0;while(a=d[h++])if(r&&C.inArray(a,r)>-1)i&&i.push(a);else if(l=ut(a),o=wt(u.appendChild(a),"script"),l&&Bt(o),n){c=0;while(a=o[c++])yt.test(a.type||"")&&n.push(a)}return u}var kt=/^([^.]*)(?:\.(.+)|)/;function Qt(){return!0}function Et(){return!1}function Ft(t,e){return t===Ut()===("focus"===e)}function Ut(){try{return y.activeElement}catch(t){}}function Ot(t,e,n,r,i,a){var o,A;if("object"===typeof e){for(A in"string"!==typeof n&&(r=r||n,n=void 0),e)Ot(t,A,n,r,e[A],a);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"===typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Et;else if(!i)return t;return 1===a&&(o=i,i=function(t){return C().off(t),o.apply(this,arguments)},i.guid=o.guid||(o.guid=C.guid++)),t.each((function(){C.event.add(this,e,i,r,n)}))}function St(t,e,n){n?(et.set(t,e,!1),C.event.add(t,e,{namespace:!1,handler:function(t){var r,i,a=et.get(this,e);if(1&t.isTrigger&&this[e]){if(a.length)(C.event.special[e]||{}).delegateType&&t.stopPropagation();else if(a=s.call(arguments),et.set(this,e,a),r=n(this,e),this[e](),i=et.get(this,e),a!==i||r?et.set(this,e,!1):i={},a!==i)return t.stopImmediatePropagation(),t.preventDefault(),i&&i.value}else a.length&&(et.set(this,e,{value:C.event.trigger(C.extend(a[0],C.Event.prototype),a.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===et.get(t,e)&&C.event.add(t,e,Qt)}C.event={global:{},add:function(t,e,n,r,i){var a,o,A,s,l,c,u,d,h,f,p,m=et.get(t);if(Z(t)){n.handler&&(a=n,n=a.handler,i=a.selector),i&&C.find.matchesSelector(ct,i),n.guid||(n.guid=C.guid++),(s=m.events)||(s=m.events=Object.create(null)),(o=m.handle)||(o=m.handle=function(e){return"undefined"!==typeof C&&C.event.triggered!==e.type?C.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(M)||[""],l=e.length;while(l--)A=kt.exec(e[l])||[],h=p=A[1],f=(A[2]||"").split(".").sort(),h&&(u=C.event.special[h]||{},h=(i?u.delegateType:u.bindType)||h,u=C.event.special[h]||{},c=C.extend({type:h,origType:p,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&C.expr.match.needsContext.test(i),namespace:f.join(".")},a),(d=s[h])||(d=s[h]=[],d.delegateCount=0,u.setup&&!1!==u.setup.call(t,r,f,o)||t.addEventListener&&t.addEventListener(h,o)),u.add&&(u.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),C.event.global[h]=!0)}},remove:function(t,e,n,r,i){var a,o,A,s,l,c,u,d,h,f,p,m=et.hasData(t)&&et.get(t);if(m&&(s=m.events)){e=(e||"").match(M)||[""],l=e.length;while(l--)if(A=kt.exec(e[l])||[],h=p=A[1],f=(A[2]||"").split(".").sort(),h){u=C.event.special[h]||{},h=(r?u.delegateType:u.bindType)||h,d=s[h]||[],A=A[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=d.length;while(a--)c=d[a],!i&&p!==c.origType||n&&n.guid!==c.guid||A&&!A.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(a,1),c.selector&&d.delegateCount--,u.remove&&u.remove.call(t,c));o&&!d.length&&(u.teardown&&!1!==u.teardown.call(t,f,m.handle)||C.removeEvent(t,h,m.handle),delete s[h])}else for(h in s)C.event.remove(t,h+e[l],n,r,!0);C.isEmptyObject(s)&&et.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,a,o,A=new Array(arguments.length),s=C.event.fix(t),l=(et.get(this,"events")||Object.create(null))[s.type]||[],c=C.event.special[s.type]||{};for(A[0]=s,e=1;e<arguments.length;e++)A[e]=arguments[e];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){o=C.event.handlers.call(this,s,l),e=0;while((i=o[e++])&&!s.isPropagationStopped()){s.currentTarget=i.elem,n=0;while((a=i.handlers[n++])&&!s.isImmediatePropagationStopped())s.rnamespace&&!1!==a.namespace&&!s.rnamespace.test(a.namespace)||(s.handleObj=a,s.data=a.data,r=((C.event.special[a.origType]||{}).handle||a.handler).apply(i.elem,A),void 0!==r&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(t,e){var n,r,i,a,o,A=[],s=e.delegateCount,l=t.target;if(s&&l.nodeType&&!("click"===t.type&&t.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==t.type||!0!==l.disabled)){for(a=[],o={},n=0;n<s;n++)r=e[n],i=r.selector+" ",void 0===o[i]&&(o[i]=r.needsContext?C(i,this).index(l)>-1:C.find(i,this,null,[l]).length),o[i]&&a.push(r);a.length&&A.push({elem:l,handlers:a})}return l=this,s<e.length&&A.push({elem:l,handlers:e.slice(s)}),A},addProp:function(t,e){Object.defineProperty(C.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[C.expando]?t:new C.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return vt.test(e.type)&&e.click&&O(e,"input")&&St(e,"click",Qt),!1},trigger:function(t){var e=this||t;return vt.test(e.type)&&e.click&&O(e,"input")&&St(e,"click"),!0},_default:function(t){var e=t.target;return vt.test(e.type)&&e.click&&O(e,"input")&&et.get(e,"click")||O(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},C.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},C.Event=function(t,e){if(!(this instanceof C.Event))return new C.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Qt:Et,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&C.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:Et,isPropagationStopped:Et,isImmediatePropagationStopped:Et,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Qt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Qt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Qt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},C.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},(function(t,e){C.event.special[t]={setup:function(){return St(this,t,Ft),!1},trigger:function(){return St(this,t),!0},_default:function(){return!0},delegateType:e}})),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){C.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=this,i=t.relatedTarget,a=t.handleObj;return i&&(i===r||C.contains(r,i))||(t.type=a.origType,n=a.handler.apply(this,arguments),t.type=e),n}}})),C.fn.extend({on:function(t,e,n,r){return Ot(this,t,e,n,r)},one:function(t,e,n,r){return Ot(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,C(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"===typeof t){for(i in t)this.off(i,e,t[i]);return this}return!1!==e&&"function"!==typeof e||(n=e,e=void 0),!1===n&&(n=Et),this.each((function(){C.event.remove(this,t,n,e)}))}});var Tt=/<script|<style|<link/i,It=/checked\s*(?:[^=]|=\s*.checked.)/i,Dt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Lt(t,e){return O(t,"table")&&O(11!==e.nodeType?e:e.firstChild,"tr")&&C(t).children("tbody")[0]||t}function Pt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Nt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Ht(t,e){var n,r,i,a,o,A,s;if(1===e.nodeType){if(et.hasData(t)&&(a=et.get(t),s=a.events,s))for(i in et.remove(e,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)C.event.add(e,i,s[i][n]);nt.hasData(t)&&(o=nt.access(t),A=C.extend({},o),nt.set(e,A))}}function Mt(t,e){var n=e.nodeName.toLowerCase();"input"===n&&vt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function jt(t,e,n,r){e=l(e);var i,a,o,A,s,c,u=0,d=t.length,h=d-1,f=e[0],p=v(f);if(p||d>1&&"string"===typeof f&&!g.checkClone&&It.test(f))return t.each((function(i){var a=t.eq(i);p&&(e[0]=f.call(this,i,a.html())),jt(a,e,n,r)}));if(d&&(i=Ct(e,t[0].ownerDocument,!1,t,r),a=i.firstChild,1===i.childNodes.length&&(i=a),a||r)){for(o=C.map(wt(i,"script"),Pt),A=o.length;u<d;u++)s=i,u!==h&&(s=C.clone(s,!0,!0),A&&C.merge(o,wt(s,"script"))),n.call(t[u],s,u);if(A)for(c=o[o.length-1].ownerDocument,C.map(o,Nt),u=0;u<A;u++)s=o[u],yt.test(s.type||"")&&!et.access(s,"globalEval")&&C.contains(c,s)&&(s.src&&"module"!==(s.type||"").toLowerCase()?C._evalUrl&&!s.noModule&&C._evalUrl(s.src,{nonce:s.nonce||s.getAttribute("nonce")},c):w(s.textContent.replace(Dt,""),s,c))}return t}function Rt(t,e,n){for(var r,i=e?C.filter(e,t):t,a=0;null!=(r=i[a]);a++)n||1!==r.nodeType||C.cleanData(wt(r)),r.parentNode&&(n&&ut(r)&&Bt(wt(r,"script")),r.parentNode.removeChild(r));return t}C.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var r,i,a,o,A=t.cloneNode(!0),s=ut(t);if(!g.noCloneChecked&&(1===t.nodeType||11===t.nodeType)&&!C.isXMLDoc(t))for(o=wt(A),a=wt(t),r=0,i=a.length;r<i;r++)Mt(a[r],o[r]);if(e)if(n)for(a=a||wt(t),o=o||wt(A),r=0,i=a.length;r<i;r++)Ht(a[r],o[r]);else Ht(t,A);return o=wt(A,"script"),o.length>0&&Bt(o,!s&&wt(t,"script")),A},cleanData:function(t){for(var e,n,r,i=C.event.special,a=0;void 0!==(n=t[a]);a++)if(Z(n)){if(e=n[et.expando]){if(e.events)for(r in e.events)i[r]?C.event.remove(n,r):C.removeEvent(n,r,e.handle);n[et.expando]=void 0}n[nt.expando]&&(n[nt.expando]=void 0)}}}),C.fn.extend({detach:function(t){return Rt(this,t,!0)},remove:function(t){return Rt(this,t)},text:function(t){return W(this,(function(t){return void 0===t?C.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return jt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Lt(this,t);e.appendChild(t)}}))},prepend:function(){return jt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Lt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return jt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return jt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(C.cleanData(wt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return C.clone(this,t,e)}))},html:function(t){return W(this,(function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"===typeof t&&!Tt.test(t)&&!bt[(_t.exec(t)||["",""])[1].toLowerCase()]){t=C.htmlPrefilter(t);try{for(;n<r;n++)e=this[n]||{},1===e.nodeType&&(C.cleanData(wt(e,!1)),e.innerHTML=t);e=0}catch(i){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return jt(this,arguments,(function(e){var n=this.parentNode;C.inArray(this,t)<0&&(C.cleanData(wt(this)),n&&n.replaceChild(e,this))}),t)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){C.fn[t]=function(t){for(var n,r=[],i=C(t),a=i.length-1,o=0;o<=a;o++)n=o===a?this:this.clone(!0),C(i[o])[e](n),c.apply(r,n.get());return this.pushStack(r)}}));var Kt=new RegExp("^("+At+")(?!px)[a-z%]+$","i"),qt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},Vt=function(t,e,n){var r,i,a={};for(i in e)a[i]=t.style[i],t.style[i]=e[i];for(i in r=n.call(t),e)t.style[i]=a[i];return r},zt=new RegExp(lt.join("|"),"i");function Gt(t,e,n){var r,i,a,o,A=t.style;return n=n||qt(t),n&&(o=n.getPropertyValue(e)||n[e],""!==o||ut(t)||(o=C.style(t,e)),!g.pixelBoxStyles()&&Kt.test(o)&&zt.test(e)&&(r=A.width,i=A.minWidth,a=A.maxWidth,A.minWidth=A.maxWidth=A.width=o,o=n.width,A.width=r,A.minWidth=i,A.maxWidth=a)),void 0!==o?o+"":o}function Wt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}(function(){function t(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ct.appendChild(l).appendChild(c);var t=n.getComputedStyle(c);r="1%"!==t.top,s=12===e(t.marginLeft),c.style.right="60%",o=36===e(t.right),i=36===e(t.width),c.style.position="absolute",a=12===e(c.offsetWidth/3),ct.removeChild(l),c=null}}function e(t){return Math.round(parseFloat(t))}var r,i,a,o,A,s,l=y.createElement("div"),c=y.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===c.style.backgroundClip,C.extend(g,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),o},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),s},scrollboxSize:function(){return t(),a},reliableTrDimensions:function(){var t,e,r,i;return null==A&&(t=y.createElement("table"),e=y.createElement("tr"),r=y.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="border:1px solid",e.style.height="1px",r.style.height="9px",r.style.display="block",ct.appendChild(t).appendChild(e).appendChild(r),i=n.getComputedStyle(e),A=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===e.offsetHeight,ct.removeChild(t)),A}}))})();var $t=["Webkit","Moz","ms"],Yt=y.createElement("div").style,Xt={};function Jt(t){var e=t[0].toUpperCase()+t.slice(1),n=$t.length;while(n--)if(t=$t[n]+e,t in Yt)return t}function Zt(t){var e=C.cssProps[t]||Xt[t];return e||(t in Yt?t:Xt[t]=Jt(t)||t)}var te=/^(none|table(?!-c[ea]).+)/,ee=/^--/,ne={position:"absolute",visibility:"hidden",display:"block"},re={letterSpacing:"0",fontWeight:"400"};function ie(t,e,n){var r=st.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function ae(t,e,n,r,i,a){var o="width"===e?1:0,A=0,s=0;if(n===(r?"border":"content"))return 0;for(;o<4;o+=2)"margin"===n&&(s+=C.css(t,n+lt[o],!0,i)),r?("content"===n&&(s-=C.css(t,"padding"+lt[o],!0,i)),"margin"!==n&&(s-=C.css(t,"border"+lt[o]+"Width",!0,i))):(s+=C.css(t,"padding"+lt[o],!0,i),"padding"!==n?s+=C.css(t,"border"+lt[o]+"Width",!0,i):A+=C.css(t,"border"+lt[o]+"Width",!0,i));return!r&&a>=0&&(s+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-a-s-A-.5))||0),s}function oe(t,e,n){var r=qt(t),i=!g.boxSizingReliable()||n,a=i&&"border-box"===C.css(t,"boxSizing",!1,r),o=a,A=Gt(t,e,r),s="offset"+e[0].toUpperCase()+e.slice(1);if(Kt.test(A)){if(!n)return A;A="auto"}return(!g.boxSizingReliable()&&a||!g.reliableTrDimensions()&&O(t,"tr")||"auto"===A||!parseFloat(A)&&"inline"===C.css(t,"display",!1,r))&&t.getClientRects().length&&(a="border-box"===C.css(t,"boxSizing",!1,r),o=s in t,o&&(A=t[s])),A=parseFloat(A)||0,A+ae(t,e,n||(a?"border":"content"),o,r,A)+"px"}function Ae(t,e,n,r,i){return new Ae.prototype.init(t,e,n,r,i)}C.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Gt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,a,o,A=J(e),s=ee.test(e),l=t.style;if(s||(e=Zt(A)),o=C.cssHooks[e]||C.cssHooks[A],void 0===n)return o&&"get"in o&&void 0!==(i=o.get(t,!1,r))?i:l[e];a=typeof n,"string"===a&&(i=st.exec(n))&&i[1]&&(n=ft(t,e,i),a="number"),null!=n&&n===n&&("number"!==a||s||(n+=i&&i[3]||(C.cssNumber[A]?"":"px")),g.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),o&&"set"in o&&void 0===(n=o.set(t,n,r))||(s?l.setProperty(e,n):l[e]=n))}},css:function(t,e,n,r){var i,a,o,A=J(e),s=ee.test(e);return s||(e=Zt(A)),o=C.cssHooks[e]||C.cssHooks[A],o&&"get"in o&&(i=o.get(t,!0,n)),void 0===i&&(i=Gt(t,e,r)),"normal"===i&&e in re&&(i=re[e]),""===n||n?(a=parseFloat(i),!0===n||isFinite(a)?a||0:i):i}}),C.each(["height","width"],(function(t,e){C.cssHooks[e]={get:function(t,n,r){if(n)return!te.test(C.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?oe(t,e,r):Vt(t,ne,(function(){return oe(t,e,r)}))},set:function(t,n,r){var i,a=qt(t),o=!g.scrollboxSize()&&"absolute"===a.position,A=o||r,s=A&&"border-box"===C.css(t,"boxSizing",!1,a),l=r?ae(t,e,r,s,a):0;return s&&o&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(a[e])-ae(t,e,"border",!1,a)-.5)),l&&(i=st.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=C.css(t,e)),ie(t,n,l)}}})),C.cssHooks.marginLeft=Wt(g.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Gt(t,"marginLeft"))||t.getBoundingClientRect().left-Vt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),C.each({margin:"",padding:"",border:"Width"},(function(t,e){C.cssHooks[t+e]={expand:function(n){for(var r=0,i={},a="string"===typeof n?n.split(" "):[n];r<4;r++)i[t+lt[r]+e]=a[r]||a[r-2]||a[0];return i}},"margin"!==t&&(C.cssHooks[t+e].set=ie)})),C.fn.extend({css:function(t,e){return W(this,(function(t,e,n){var r,i,a={},o=0;if(Array.isArray(e)){for(r=qt(t),i=e.length;o<i;o++)a[e[o]]=C.css(t,e[o],!1,r);return a}return void 0!==n?C.style(t,e,n):C.css(t,e)}),t,e,arguments.length>1)}}),C.Tween=Ae,Ae.prototype={constructor:Ae,init:function(t,e,n,r,i,a){this.elem=t,this.prop=n,this.easing=i||C.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=a||(C.cssNumber[n]?"":"px")},cur:function(){var t=Ae.propHooks[this.prop];return t&&t.get?t.get(this):Ae.propHooks._default.get(this)},run:function(t){var e,n=Ae.propHooks[this.prop];return this.options.duration?this.pos=e=C.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Ae.propHooks._default.set(this),this}},Ae.prototype.init.prototype=Ae.prototype,Ae.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=C.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){C.fx.step[t.prop]?C.fx.step[t.prop](t):1!==t.elem.nodeType||!C.cssHooks[t.prop]&&null==t.elem.style[Zt(t.prop)]?t.elem[t.prop]=t.now:C.style(t.elem,t.prop,t.now+t.unit)}}},Ae.propHooks.scrollTop=Ae.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},C.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},C.fx=Ae.prototype.init,C.fx.step={};var se,le,ce=/^(?:toggle|show|hide)$/,ue=/queueHooks$/;function de(){le&&(!1===y.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(de):n.setTimeout(de,C.fx.interval),C.fx.tick())}function he(){return n.setTimeout((function(){se=void 0})),se=Date.now()}function fe(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)n=lt[r],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function pe(t,e,n){for(var r,i=(ve.tweeners[e]||[]).concat(ve.tweeners["*"]),a=0,o=i.length;a<o;a++)if(r=i[a].call(n,e,t))return r}function me(t,e,n){var r,i,a,o,A,s,l,c,u="width"in e||"height"in e,d=this,h={},f=t.style,p=t.nodeType&&ht(t),m=et.get(t,"fxshow");for(r in n.queue||(o=C._queueHooks(t,"fx"),null==o.unqueued&&(o.unqueued=0,A=o.empty.fire,o.empty.fire=function(){o.unqueued||A()}),o.unqueued++,d.always((function(){d.always((function(){o.unqueued--,C.queue(t,"fx").length||o.empty.fire()}))}))),e)if(i=e[r],ce.test(i)){if(delete e[r],a=a||"toggle"===i,i===(p?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;p=!0}h[r]=m&&m[r]||C.style(t,r)}if(s=!C.isEmptyObject(e),s||!C.isEmptyObject(h))for(r in u&&1===t.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],l=m&&m.display,null==l&&(l=et.get(t,"display")),c=C.css(t,"display"),"none"===c&&(l?c=l:(gt([t],!0),l=t.style.display||l,c=C.css(t,"display"),gt([t]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===C.css(t,"float")&&(s||(d.done((function(){f.display=l})),null==l&&(c=f.display,l="none"===c?"":c)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",d.always((function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}))),s=!1,h)s||(m?"hidden"in m&&(p=m.hidden):m=et.access(t,"fxshow",{display:l}),a&&(m.hidden=!p),p&>([t],!0),d.done((function(){for(r in p||gt([t]),et.remove(t,"fxshow"),h)C.style(t,r,h[r])}))),s=pe(p?m[r]:0,r,d),r in m||(m[r]=s.start,p&&(s.end=s.start,s.start=0))}function ge(t,e){var n,r,i,a,o;for(n in t)if(r=J(n),i=e[r],a=t[n],Array.isArray(a)&&(i=a[1],a=t[n]=a[0]),n!==r&&(t[r]=a,delete t[n]),o=C.cssHooks[r],o&&"expand"in o)for(n in a=o.expand(a),delete t[r],a)n in t||(t[n]=a[n],e[n]=i);else e[r]=i}function ve(t,e,n){var r,i,a=0,o=ve.prefilters.length,A=C.Deferred().always((function(){delete s.elem})),s=function(){if(i)return!1;for(var e=se||he(),n=Math.max(0,l.startTime+l.duration-e),r=n/l.duration||0,a=1-r,o=0,s=l.tweens.length;o<s;o++)l.tweens[o].run(a);return A.notifyWith(t,[l,a,n]),a<1&&s?n:(s||A.notifyWith(t,[l,1,0]),A.resolveWith(t,[l]),!1)},l=A.promise({elem:t,props:C.extend({},e),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},n),originalProperties:e,originalOptions:n,startTime:se||he(),duration:n.duration,tweens:[],createTween:function(e,n){var r=C.Tween(t,l.opts,e,n,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(r),r},stop:function(e){var n=0,r=e?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return e?(A.notifyWith(t,[l,1,0]),A.resolveWith(t,[l,e])):A.rejectWith(t,[l,e]),this}}),c=l.props;for(ge(c,l.opts.specialEasing);a<o;a++)if(r=ve.prefilters[a].call(l,t,c,l.opts),r)return v(r.stop)&&(C._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return C.map(c,pe,l),v(l.opts.start)&&l.opts.start.call(t,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),C.fx.timer(C.extend(s,{elem:t,anim:l,queue:l.opts.queue})),l}C.Animation=C.extend(ve,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return ft(n.elem,t,st.exec(e),n),n}]},tweener:function(t,e){v(t)?(e=t,t=["*"]):t=t.match(M);for(var n,r=0,i=t.length;r<i;r++)n=t[r],ve.tweeners[n]=ve.tweeners[n]||[],ve.tweeners[n].unshift(e)},prefilters:[me],prefilter:function(t,e){e?ve.prefilters.unshift(t):ve.prefilters.push(t)}}),C.speed=function(t,e,n){var r=t&&"object"===typeof t?C.extend({},t):{complete:n||!n&&e||v(t)&&t,duration:t,easing:n&&e||e&&!v(e)&&e};return C.fx.off?r.duration=0:"number"!==typeof r.duration&&(r.duration in C.fx.speeds?r.duration=C.fx.speeds[r.duration]:r.duration=C.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&C.dequeue(this,r.queue)},r},C.fn.extend({fadeTo:function(t,e,n,r){return this.filter(ht).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=C.isEmptyObject(t),a=C.speed(e,n,r),o=function(){var e=ve(this,C.extend({},t),a);(i||et.get(this,"finish"))&&e.stop(!0)};return o.finish=o,i||!1===a.queue?this.each(o):this.queue(a.queue,o)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!==typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,i=null!=t&&t+"queueHooks",a=C.timers,o=et.get(this);if(i)o[i]&&o[i].stop&&r(o[i]);else for(i in o)o[i]&&o[i].stop&&ue.test(i)&&r(o[i]);for(i=a.length;i--;)a[i].elem!==this||null!=t&&a[i].queue!==t||(a[i].anim.stop(n),e=!1,a.splice(i,1));!e&&n||C.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,n=et.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],a=C.timers,o=r?r.length:0;for(n.finish=!0,C.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=a.length;e--;)a[e].elem===this&&a[e].queue===t&&(a[e].anim.stop(!0),a.splice(e,1));for(e=0;e<o;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish}))}}),C.each(["toggle","show","hide"],(function(t,e){var n=C.fn[e];C.fn[e]=function(t,r,i){return null==t||"boolean"===typeof t?n.apply(this,arguments):this.animate(fe(e,!0),t,r,i)}})),C.each({slideDown:fe("show"),slideUp:fe("hide"),slideToggle:fe("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){C.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}})),C.timers=[],C.fx.tick=function(){var t,e=0,n=C.timers;for(se=Date.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||C.fx.stop(),se=void 0},C.fx.timer=function(t){C.timers.push(t),C.fx.start()},C.fx.interval=13,C.fx.start=function(){le||(le=!0,de())},C.fx.stop=function(){le=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(t,e){return t=C.fx&&C.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,r){var i=n.setTimeout(e,t);r.stop=function(){n.clearTimeout(i)}}))},function(){var t=y.createElement("input"),e=y.createElement("select"),n=e.appendChild(y.createElement("option"));t.type="checkbox",g.checkOn=""!==t.value,g.optSelected=n.selected,t=y.createElement("input"),t.value="t",t.type="radio",g.radioValue="t"===t.value}();var _e,ye=C.expr.attrHandle;C.fn.extend({attr:function(t,e){return W(this,C.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){C.removeAttr(this,t)}))}}),C.extend({attr:function(t,e,n){var r,i,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return"undefined"===typeof t.getAttribute?C.prop(t,e,n):(1===a&&C.isXMLDoc(t)||(i=C.attrHooks[e.toLowerCase()]||(C.expr.match.bool.test(e)?_e:void 0)),void 0!==n?null===n?void C.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:(r=C.find.attr(t,e),null==r?void 0:r))},attrHooks:{type:{set:function(t,e){if(!g.radioValue&&"radio"===e&&O(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(M);if(i&&1===t.nodeType)while(n=i[r++])t.removeAttribute(n)}}),_e={set:function(t,e,n){return!1===e?C.removeAttr(t,n):t.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=ye[e]||C.find.attr;ye[e]=function(t,e,r){var i,a,o=e.toLowerCase();return r||(a=ye[o],ye[o]=i,i=null!=n(t,e,r)?o:null,ye[o]=a),i}}));var be=/^(?:input|select|textarea|button)$/i,we=/^(?:a|area)$/i;function Be(t){var e=t.match(M)||[];return e.join(" ")}function xe(t){return t.getAttribute&&t.getAttribute("class")||""}function Ce(t){return Array.isArray(t)?t:"string"===typeof t&&t.match(M)||[]}C.fn.extend({prop:function(t,e){return W(this,C.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[C.propFix[t]||t]}))}}),C.extend({prop:function(t,e,n){var r,i,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&C.isXMLDoc(t)||(e=C.propFix[e]||e,i=C.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=C.find.attr(t,"tabindex");return e?parseInt(e,10):be.test(t.nodeName)||we.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(C.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){C.propFix[this.toLowerCase()]=this})),C.fn.extend({addClass:function(t){var e,n,r,i,a,o,A,s=0;if(v(t))return this.each((function(e){C(this).addClass(t.call(this,e,xe(this)))}));if(e=Ce(t),e.length)while(n=this[s++])if(i=xe(n),r=1===n.nodeType&&" "+Be(i)+" ",r){o=0;while(a=e[o++])r.indexOf(" "+a+" ")<0&&(r+=a+" ");A=Be(r),i!==A&&n.setAttribute("class",A)}return this},removeClass:function(t){var e,n,r,i,a,o,A,s=0;if(v(t))return this.each((function(e){C(this).removeClass(t.call(this,e,xe(this)))}));if(!arguments.length)return this.attr("class","");if(e=Ce(t),e.length)while(n=this[s++])if(i=xe(n),r=1===n.nodeType&&" "+Be(i)+" ",r){o=0;while(a=e[o++])while(r.indexOf(" "+a+" ")>-1)r=r.replace(" "+a+" "," ");A=Be(r),i!==A&&n.setAttribute("class",A)}return this},toggleClass:function(t,e){var n=typeof t,r="string"===n||Array.isArray(t);return"boolean"===typeof e&&r?e?this.addClass(t):this.removeClass(t):v(t)?this.each((function(n){C(this).toggleClass(t.call(this,n,xe(this),e),e)})):this.each((function(){var e,i,a,o;if(r){i=0,a=C(this),o=Ce(t);while(e=o[i++])a.hasClass(e)?a.removeClass(e):a.addClass(e)}else void 0!==t&&"boolean"!==n||(e=xe(this),e&&et.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":et.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,r=0;e=" "+t+" ";while(n=this[r++])if(1===n.nodeType&&(" "+Be(xe(n))+" ").indexOf(e)>-1)return!0;return!1}});var ke=/\r/g;C.fn.extend({val:function(t){var e,n,r,i=this[0];return arguments.length?(r=v(t),this.each((function(n){var i;1===this.nodeType&&(i=r?t.call(this,n,C(this).val()):t,null==i?i="":"number"===typeof i?i+="":Array.isArray(i)&&(i=C.map(i,(function(t){return null==t?"":t+""}))),e=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))}))):i?(e=C.valHooks[i.type]||C.valHooks[i.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:(n=i.value,"string"===typeof n?n.replace(ke,""):null==n?"":n)):void 0}}),C.extend({valHooks:{option:{get:function(t){var e=C.find.attr(t,"value");return null!=e?e:Be(C.text(t))}},select:{get:function(t){var e,n,r,i=t.options,a=t.selectedIndex,o="select-one"===t.type,A=o?null:[],s=o?a+1:i.length;for(r=a<0?s:o?a:0;r<s;r++)if(n=i[r],(n.selected||r===a)&&!n.disabled&&(!n.parentNode.disabled||!O(n.parentNode,"optgroup"))){if(e=C(n).val(),o)return e;A.push(e)}return A},set:function(t,e){var n,r,i=t.options,a=C.makeArray(e),o=i.length;while(o--)r=i[o],(r.selected=C.inArray(C.valHooks.option.get(r),a)>-1)&&(n=!0);return n||(t.selectedIndex=-1),a}}}}),C.each(["radio","checkbox"],(function(){C.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=C.inArray(C(t).val(),e)>-1}},g.checkOn||(C.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),g.focusin="onfocusin"in n;var Qe=/^(?:focusinfocus|focusoutblur)$/,Ee=function(t){t.stopPropagation()};C.extend(C.event,{trigger:function(t,e,r,i){var a,o,A,s,l,c,u,d,h=[r||y],p=f.call(t,"type")?t.type:t,m=f.call(t,"namespace")?t.namespace.split("."):[];if(o=d=A=r=r||y,3!==r.nodeType&&8!==r.nodeType&&!Qe.test(p+C.event.triggered)&&(p.indexOf(".")>-1&&(m=p.split("."),p=m.shift(),m.sort()),l=p.indexOf(":")<0&&"on"+p,t=t[C.expando]?t:new C.Event(p,"object"===typeof t&&t),t.isTrigger=i?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:C.makeArray(e,[t]),u=C.event.special[p]||{},i||!u.trigger||!1!==u.trigger.apply(r,e))){if(!i&&!u.noBubble&&!_(r)){for(s=u.delegateType||p,Qe.test(s+p)||(o=o.parentNode);o;o=o.parentNode)h.push(o),A=o;A===(r.ownerDocument||y)&&h.push(A.defaultView||A.parentWindow||n)}a=0;while((o=h[a++])&&!t.isPropagationStopped())d=o,t.type=a>1?s:u.bindType||p,c=(et.get(o,"events")||Object.create(null))[t.type]&&et.get(o,"handle"),c&&c.apply(o,e),c=l&&o[l],c&&c.apply&&Z(o)&&(t.result=c.apply(o,e),!1===t.result&&t.preventDefault());return t.type=p,i||t.isDefaultPrevented()||u._default&&!1!==u._default.apply(h.pop(),e)||!Z(r)||l&&v(r[p])&&!_(r)&&(A=r[l],A&&(r[l]=null),C.event.triggered=p,t.isPropagationStopped()&&d.addEventListener(p,Ee),r[p](),t.isPropagationStopped()&&d.removeEventListener(p,Ee),C.event.triggered=void 0,A&&(r[l]=A)),t.result}},simulate:function(t,e,n){var r=C.extend(new C.Event,n,{type:t,isSimulated:!0});C.event.trigger(r,null,e)}}),C.fn.extend({trigger:function(t,e){return this.each((function(){C.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return C.event.trigger(t,e,n,!0)}}),g.focusin||C.each({focus:"focusin",blur:"focusout"},(function(t,e){var n=function(t){C.event.simulate(e,t.target,C.event.fix(t))};C.event.special[e]={setup:function(){var r=this.ownerDocument||this.document||this,i=et.access(r,e);i||r.addEventListener(t,n,!0),et.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=et.access(r,e)-1;i?et.access(r,e,i):(r.removeEventListener(t,n,!0),et.remove(r,e))}}}));var Fe=n.location,Ue={guid:Date.now()},Oe=/\?/;C.parseXML=function(t){var e,r;if(!t||"string"!==typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(i){}return r=e&&e.getElementsByTagName("parsererror")[0],e&&!r||C.error("Invalid XML: "+(r?C.map(r.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var Se=/\[\]$/,Te=/\r?\n/g,Ie=/^(?:submit|button|image|reset|file)$/i,De=/^(?:input|select|textarea|keygen)/i;function Le(t,e,n,r){var i;if(Array.isArray(e))C.each(e,(function(e,i){n||Se.test(t)?r(t,i):Le(t+"["+("object"===typeof i&&null!=i?e:"")+"]",i,n,r)}));else if(n||"object"!==B(e))r(t,e);else for(i in e)Le(t+"["+i+"]",e[i],n,r)}C.param=function(t,e){var n,r=[],i=function(t,e){var n=v(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!C.isPlainObject(t))C.each(t,(function(){i(this.name,this.value)}));else for(n in t)Le(n,t[n],e,i);return r.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=C.prop(this,"elements");return t?C.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!C(this).is(":disabled")&&De.test(this.nodeName)&&!Ie.test(t)&&(this.checked||!vt.test(t))})).map((function(t,e){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,(function(t){return{name:e.name,value:t.replace(Te,"\r\n")}})):{name:e.name,value:n.replace(Te,"\r\n")}})).get()}});var Pe=/%20/g,Ne=/#.*$/,He=/([?&])_=[^&]*/,Me=/^(.*?):[ \t]*([^\r\n]*)$/gm,je=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Re=/^(?:GET|HEAD)$/,Ke=/^\/\//,qe={},Ve={},ze="*/".concat("*"),Ge=y.createElement("a");function We(t){return function(e,n){"string"!==typeof e&&(n=e,e="*");var r,i=0,a=e.toLowerCase().match(M)||[];if(v(n))while(r=a[i++])"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function $e(t,e,n,r){var i={},a=t===Ve;function o(A){var s;return i[A]=!0,C.each(t[A]||[],(function(t,A){var l=A(e,n,r);return"string"!==typeof l||a||i[l]?a?!(s=l):void 0:(e.dataTypes.unshift(l),o(l),!1)})),s}return o(e.dataTypes[0])||!i["*"]&&o("*")}function Ye(t,e){var n,r,i=C.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&C.extend(!0,t,r),t}function Xe(t,e,n){var r,i,a,o,A=t.contents,s=t.dataTypes;while("*"===s[0])s.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in A)if(A[i]&&A[i].test(r)){s.unshift(i);break}if(s[0]in n)a=s[0];else{for(i in n){if(!s[0]||t.converters[i+" "+s[0]]){a=i;break}o||(o=i)}a=a||o}if(a)return a!==s[0]&&s.unshift(a),n[a]}function Je(t,e,n,r){var i,a,o,A,s,l={},c=t.dataTypes.slice();if(c[1])for(o in t.converters)l[o.toLowerCase()]=t.converters[o];a=c.shift();while(a)if(t.responseFields[a]&&(n[t.responseFields[a]]=e),!s&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),s=a,a=c.shift(),a)if("*"===a)a=s;else if("*"!==s&&s!==a){if(o=l[s+" "+a]||l["* "+a],!o)for(i in l)if(A=i.split(" "),A[1]===a&&(o=l[s+" "+A[0]]||l["* "+A[0]],o)){!0===o?o=l[i]:!0!==l[i]&&(a=A[0],c.unshift(A[1]));break}if(!0!==o)if(o&&t.throws)e=o(e);else try{e=o(e)}catch(u){return{state:"parsererror",error:o?u:"No conversion from "+s+" to "+a}}}return{state:"success",data:e}}Ge.href=Fe.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Fe.href,type:"GET",isLocal:je.test(Fe.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ze,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ye(Ye(t,C.ajaxSettings),e):Ye(C.ajaxSettings,t)},ajaxPrefilter:We(qe),ajaxTransport:We(Ve),ajax:function(t,e){"object"===typeof t&&(e=t,t=void 0),e=e||{};var r,i,a,o,A,s,l,c,u,d,h=C.ajaxSetup({},e),f=h.context||h,p=h.context&&(f.nodeType||f.jquery)?C(f):C.event,m=C.Deferred(),g=C.Callbacks("once memory"),v=h.statusCode||{},_={},b={},w="canceled",B={readyState:0,getResponseHeader:function(t){var e;if(l){if(!o){o={};while(e=Me.exec(a))o[e[1].toLowerCase()+" "]=(o[e[1].toLowerCase()+" "]||[]).concat(e[2])}e=o[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return l?a:null},setRequestHeader:function(t,e){return null==l&&(t=b[t.toLowerCase()]=b[t.toLowerCase()]||t,_[t]=e),this},overrideMimeType:function(t){return null==l&&(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(l)B.always(t[B.status]);else for(e in t)v[e]=[v[e],t[e]];return this},abort:function(t){var e=t||w;return r&&r.abort(e),x(0,e),this}};if(m.promise(B),h.url=((t||h.url||Fe.href)+"").replace(Ke,Fe.protocol+"//"),h.type=e.method||e.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(M)||[""],null==h.crossDomain){s=y.createElement("a");try{s.href=h.url,s.href=s.href,h.crossDomain=Ge.protocol+"//"+Ge.host!==s.protocol+"//"+s.host}catch(k){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!==typeof h.data&&(h.data=C.param(h.data,h.traditional)),$e(qe,h,e,B),l)return B;for(u in c=C.event&&h.global,c&&0===C.active++&&C.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Re.test(h.type),i=h.url.replace(Ne,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Pe,"+")):(d=h.url.slice(i.length),h.data&&(h.processData||"string"===typeof h.data)&&(i+=(Oe.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(He,"$1"),d=(Oe.test(i)?"&":"?")+"_="+Ue.guid+++d),h.url=i+d),h.ifModified&&(C.lastModified[i]&&B.setRequestHeader("If-Modified-Since",C.lastModified[i]),C.etag[i]&&B.setRequestHeader("If-None-Match",C.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||e.contentType)&&B.setRequestHeader("Content-Type",h.contentType),B.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+ze+"; q=0.01":""):h.accepts["*"]),h.headers)B.setRequestHeader(u,h.headers[u]);if(h.beforeSend&&(!1===h.beforeSend.call(f,B,h)||l))return B.abort();if(w="abort",g.add(h.complete),B.done(h.success),B.fail(h.error),r=$e(Ve,h,e,B),r){if(B.readyState=1,c&&p.trigger("ajaxSend",[B,h]),l)return B;h.async&&h.timeout>0&&(A=n.setTimeout((function(){B.abort("timeout")}),h.timeout));try{l=!1,r.send(_,x)}catch(k){if(l)throw k;x(-1,k)}}else x(-1,"No Transport");function x(t,e,o,s){var u,d,_,y,b,w=e;l||(l=!0,A&&n.clearTimeout(A),r=void 0,a=s||"",B.readyState=t>0?4:0,u=t>=200&&t<300||304===t,o&&(y=Xe(h,B,o)),!u&&C.inArray("script",h.dataTypes)>-1&&C.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),y=Je(h,y,B,u),u?(h.ifModified&&(b=B.getResponseHeader("Last-Modified"),b&&(C.lastModified[i]=b),b=B.getResponseHeader("etag"),b&&(C.etag[i]=b)),204===t||"HEAD"===h.type?w="nocontent":304===t?w="notmodified":(w=y.state,d=y.data,_=y.error,u=!_)):(_=w,!t&&w||(w="error",t<0&&(t=0))),B.status=t,B.statusText=(e||w)+"",u?m.resolveWith(f,[d,w,B]):m.rejectWith(f,[B,w,_]),B.statusCode(v),v=void 0,c&&p.trigger(u?"ajaxSuccess":"ajaxError",[B,h,u?d:_]),g.fireWith(f,[B,w]),c&&(p.trigger("ajaxComplete",[B,h]),--C.active||C.event.trigger("ajaxStop")))}return B},getJSON:function(t,e,n){return C.get(t,e,n,"json")},getScript:function(t,e){return C.get(t,void 0,e,"script")}}),C.each(["get","post"],(function(t,e){C[e]=function(t,n,r,i){return v(n)&&(i=i||r,r=n,n=void 0),C.ajax(C.extend({url:t,type:e,dataType:i,data:n,success:r},C.isPlainObject(t)&&t))}})),C.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),C._evalUrl=function(t,e,n){return C.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){C.globalEval(t,e,n)}})},C.fn.extend({wrapAll:function(t){var e;return this[0]&&(v(t)&&(t=t.call(this[0])),e=C(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){var t=this;while(t.firstElementChild)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return v(t)?this.each((function(e){C(this).wrapInner(t.call(this,e))})):this.each((function(){var e=C(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=v(t);return this.each((function(n){C(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){C(this).replaceWith(this.childNodes)})),this}}),C.expr.pseudos.hidden=function(t){return!C.expr.pseudos.visible(t)},C.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Ze={0:200,1223:204},tn=C.ajaxSettings.xhr();g.cors=!!tn&&"withCredentials"in tn,g.ajax=tn=!!tn,C.ajaxTransport((function(t){var e,r;if(g.cors||tn&&!t.crossDomain)return{send:function(i,a){var o,A=t.xhr();if(A.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)A[o]=t.xhrFields[o];for(o in t.mimeType&&A.overrideMimeType&&A.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)A.setRequestHeader(o,i[o]);e=function(t){return function(){e&&(e=r=A.onload=A.onerror=A.onabort=A.ontimeout=A.onreadystatechange=null,"abort"===t?A.abort():"error"===t?"number"!==typeof A.status?a(0,"error"):a(A.status,A.statusText):a(Ze[A.status]||A.status,A.statusText,"text"!==(A.responseType||"text")||"string"!==typeof A.responseText?{binary:A.response}:{text:A.responseText},A.getAllResponseHeaders()))}},A.onload=e(),r=A.onerror=A.ontimeout=e("error"),void 0!==A.onabort?A.onabort=r:A.onreadystatechange=function(){4===A.readyState&&n.setTimeout((function(){e&&r()}))},e=e("abort");try{A.send(t.hasContent&&t.data||null)}catch(s){if(e)throw s}},abort:function(){e&&e()}}})),C.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return C.globalEval(t),t}}}),C.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),C.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(r,i){e=C("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),y.head.appendChild(e[0])},abort:function(){n&&n()}}}));var en=[],nn=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=en.pop()||C.expando+"_"+Ue.guid++;return this[t]=!0,t}}),C.ajaxPrefilter("json jsonp",(function(t,e,r){var i,a,o,A=!1!==t.jsonp&&(nn.test(t.url)?"url":"string"===typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(t.data)&&"data");if(A||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=v(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,A?t[A]=t[A].replace(nn,"$1"+i):!1!==t.jsonp&&(t.url+=(Oe.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return o||C.error(i+" was not called"),o[0]},t.dataTypes[0]="json",a=n[i],n[i]=function(){o=arguments},r.always((function(){void 0===a?C(n).removeProp(i):n[i]=a,t[i]&&(t.jsonpCallback=e.jsonpCallback,en.push(i)),o&&v(a)&&a(o[0]),o=a=void 0})),"script"})),g.createHTMLDocument=function(){var t=y.implementation.createHTMLDocument("").body;return t.innerHTML="<form></form><form></form>",2===t.childNodes.length}(),C.parseHTML=function(t,e,n){return"string"!==typeof t?[]:("boolean"===typeof e&&(n=e,e=!1),e||(g.createHTMLDocument?(e=y.implementation.createHTMLDocument(""),r=e.createElement("base"),r.href=y.location.href,e.head.appendChild(r)):e=y),i=S.exec(t),a=!n&&[],i?[e.createElement(i[1])]:(i=Ct([t],e,a),a&&a.length&&C(a).remove(),C.merge([],i.childNodes)));var r,i,a},C.fn.load=function(t,e,n){var r,i,a,o=this,A=t.indexOf(" ");return A>-1&&(r=Be(t.slice(A)),t=t.slice(0,A)),v(e)?(n=e,e=void 0):e&&"object"===typeof e&&(i="POST"),o.length>0&&C.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done((function(t){a=arguments,o.html(r?C("<div>").append(C.parseHTML(t)).find(r):t)})).always(n&&function(t,e){o.each((function(){n.apply(this,a||[t.responseText,e,t])}))}),this},C.expr.pseudos.animated=function(t){return C.grep(C.timers,(function(e){return t===e.elem})).length},C.offset={setOffset:function(t,e,n){var r,i,a,o,A,s,l,c=C.css(t,"position"),u=C(t),d={};"static"===c&&(t.style.position="relative"),A=u.offset(),a=C.css(t,"top"),s=C.css(t,"left"),l=("absolute"===c||"fixed"===c)&&(a+s).indexOf("auto")>-1,l?(r=u.position(),o=r.top,i=r.left):(o=parseFloat(a)||0,i=parseFloat(s)||0),v(e)&&(e=e.call(t,n,C.extend({},A))),null!=e.top&&(d.top=e.top-A.top+o),null!=e.left&&(d.left=e.left-A.left+i),"using"in e?e.using.call(t,d):u.css(d)}},C.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){C.offset.setOffset(this,t,e)}));var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,r=this[0],i={top:0,left:0};if("fixed"===C.css(r,"position"))e=r.getBoundingClientRect();else{e=this.offset(),n=r.ownerDocument,t=r.offsetParent||n.documentElement;while(t&&(t===n.body||t===n.documentElement)&&"static"===C.css(t,"position"))t=t.parentNode;t&&t!==r&&1===t.nodeType&&(i=C(t).offset(),i.top+=C.css(t,"borderTopWidth",!0),i.left+=C.css(t,"borderLeftWidth",!0))}return{top:e.top-i.top-C.css(r,"marginTop",!0),left:e.left-i.left-C.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){var t=this.offsetParent;while(t&&"static"===C.css(t,"position"))t=t.offsetParent;return t||ct}))}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var n="pageYOffset"===e;C.fn[t]=function(r){return W(this,(function(t,r,i){var a;if(_(t)?a=t:9===t.nodeType&&(a=t.defaultView),void 0===i)return a?a[e]:t[r];a?a.scrollTo(n?a.pageXOffset:i,n?i:a.pageYOffset):t[r]=i}),t,r,arguments.length)}})),C.each(["top","left"],(function(t,e){C.cssHooks[e]=Wt(g.pixelPosition,(function(t,n){if(n)return n=Gt(t,e),Kt.test(n)?C(t).position()[e]+"px":n}))})),C.each({Height:"height",Width:"width"},(function(t,e){C.each({padding:"inner"+t,content:e,"":"outer"+t},(function(n,r){C.fn[r]=function(i,a){var o=arguments.length&&(n||"boolean"!==typeof i),A=n||(!0===i||!0===a?"margin":"border");return W(this,(function(e,n,i){var a;return _(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(a=e.documentElement,Math.max(e.body["scroll"+t],a["scroll"+t],e.body["offset"+t],a["offset"+t],a["client"+t])):void 0===i?C.css(e,n,A):C.style(e,n,i,A)}),e,o?i:void 0,o)}}))})),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){C.fn[e]=function(t){return this.on(e,t)}})),C.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(t,e){C.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}));var rn=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;C.proxy=function(t,e){var n,r,i;if("string"===typeof e&&(n=t[e],e=t,t=n),v(t))return r=s.call(arguments,2),i=function(){return t.apply(e||this,r.concat(s.call(arguments)))},i.guid=t.guid=t.guid||C.guid++,i},C.holdReady=function(t){t?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=O,C.isFunction=v,C.isWindow=_,C.camelCase=J,C.type=B,C.now=Date.now,C.isNumeric=function(t){var e=C.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},C.trim=function(t){return null==t?"":(t+"").replace(rn,"")},r=[],i=function(){return C}.apply(e,r),void 0===i||(t.exports=i);var an=n.jQuery,on=n.$;return C.noConflict=function(t){return n.$===C&&(n.$=on),t&&n.jQuery===C&&(n.jQuery=an),C},"undefined"===typeof a&&(n.jQuery=n.$=C),C}))},"130f":function(t,e,n){var r=n("23e7"),i=n("da84"),a=n("2cf4"),o=!i.setImmediate||!i.clearImmediate;r({global:!0,bind:!0,enumerable:!0,forced:o},{setImmediate:a.set,clearImmediate:a.clear})},"145e":function(t,e,n){"use strict";var r=n("7b0b"),i=n("23cb"),a=n("50c4"),o=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),A=a(n.length),s=i(t,A),l=i(e,A),c=arguments.length>2?arguments[2]:void 0,u=o((void 0===c?A:i(c,A))-l,A-s),d=1;l<s&&s<l+u&&(d=-1,l+=u-1,s+=u-1);while(u-- >0)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},"14e1":function(t,e,n){},"157a":function(t,e,n){},"170b":function(t,e,n){"use strict";var r=n("ebb5"),i=n("50c4"),a=n("23cb"),o=n("4840"),A=r.aTypedArray,s=r.exportTypedArrayMethod;s("subarray",(function(t,e){var n=A(this),r=n.length,s=a(t,r);return new(o(n,n.constructor))(n.buffer,n.byteOffset+s*n.BYTES_PER_ELEMENT,i((void 0===e?r:a(e,r))-s))}))},"182d":function(t,e,n){var r=n("f8cd");t.exports=function(t,e){var n=r(t);if(n%e)throw RangeError("Wrong offset");return n}},1980:function(t,e,n){(function(e,r){t.exports=r(n("53fe"))})("undefined"!==typeof self&&self,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"02f4":function(t,e,n){var r=n("4588"),i=n("be13");t.exports=function(t){return function(e,n){var a,o,A=String(i(e)),s=r(n),l=A.length;return s<0||s>=l?t?"":void 0:(a=A.charCodeAt(s),a<55296||a>56319||s+1===l||(o=A.charCodeAt(s+1))<56320||o>57343?t?A.charAt(s):a:t?A.slice(s,s+2):o-56320+(a-55296<<10)+65536)}}},"0390":function(t,e,n){"use strict";var r=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"0bfb":function(t,e,n){"use strict";var r=n("cb7c");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0fc9":function(t,e,n){var r=n("3a38"),i=Math.max,a=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):a(t,e)}},1654:function(t,e,n){"use strict";var r=n("71c1")(!0);n("30f1")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"1af6":function(t,e,n){var r=n("63b6");r(r.S,"Array",{isArray:n("9003")})},"1bc3":function(t,e,n){var r=n("f772");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"1ec9":function(t,e,n){var r=n("f772"),i=n("e53d").document,a=r(i)&&r(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},"20fd":function(t,e,n){"use strict";var r=n("d9f6"),i=n("aebd");t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},"214f":function(t,e,n){"use strict";n("b0c5");var r=n("2aba"),i=n("32e9"),a=n("79e5"),o=n("be13"),A=n("2b4c"),s=n("520a"),l=A("species"),c=!a((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),u=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var d=A(t),h=!a((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),f=h?!a((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[l]=function(){return n}),n[d](""),!e})):void 0;if(!h||!f||"replace"===t&&!c||"split"===t&&!u){var p=/./[d],m=n(o,d,""[t],(function(t,e,n,r,i){return e.exec===s?h&&!i?{done:!0,value:p.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),g=m[0],v=m[1];r(String.prototype,t,g),i(RegExp.prototype,d,2==e?function(t,e){return v.call(t,this,e)}:function(t){return v.call(t,this)})}}},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,a=r(i)&&r(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},"23c6":function(t,e,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),a="Arguments"==r(function(){return arguments}()),o=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,A;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=o(e=Object(t),i))?n:a?r(e):"Object"==(A=r(e))&&"function"==typeof e.callee?"Arguments":A}},"241e":function(t,e,n){var r=n("25eb");t.exports=function(t){return Object(r(t))}},"25eb":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"294c":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"2aba":function(t,e,n){var r=n("7726"),i=n("32e9"),a=n("69a8"),o=n("ca5a")("src"),A=n("fa5b"),s="toString",l=(""+A).split(s);n("8378").inspectSource=function(t){return A.call(t)},(t.exports=function(t,e,n,A){var s="function"==typeof n;s&&(a(n,"name")||i(n,"name",e)),t[e]!==n&&(s&&(a(n,o)||i(n,o,t[e]?""+t[e]:l.join(String(e)))),t===r?t[e]=n:A?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,s,(function(){return"function"==typeof this&&this[o]||A.call(this)}))},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),a=n("7726").Symbol,o="function"==typeof a,A=t.exports=function(t){return r[t]||(r[t]=o&&a[t]||(o?a:i)("Symbol."+t))};A.store=r},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2fdb":function(t,e,n){"use strict";var r=n("5ca1"),i=n("d2c8"),a="includes";r(r.P+r.F*n("5147")(a),"String",{includes:function(t){return!!~i(this,t,a).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"30f1":function(t,e,n){"use strict";var r=n("b8e3"),i=n("63b6"),a=n("9138"),o=n("35e8"),A=n("481b"),s=n("8f60"),l=n("45f2"),c=n("53e2"),u=n("5168")("iterator"),d=!([].keys&&"next"in[].keys()),h="@@iterator",f="keys",p="values",m=function(){return this};t.exports=function(t,e,n,g,v,_,y){s(n,e,g);var b,w,B,x=function(t){if(!d&&t in E)return E[t];switch(t){case f:return function(){return new n(this,t)};case p:return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",k=v==p,Q=!1,E=t.prototype,F=E[u]||E[h]||v&&E[v],U=F||x(v),O=v?k?x("entries"):U:void 0,S="Array"==e&&E.entries||F;if(S&&(B=c(S.call(new t)),B!==Object.prototype&&B.next&&(l(B,C,!0),r||"function"==typeof B[u]||o(B,u,m))),k&&F&&F.name!==p&&(Q=!0,U=function(){return F.call(this)}),r&&!y||!d&&!Q&&E[u]||o(E,u,U),A[e]=U,A[C]=m,v)if(b={values:k?U:x(p),keys:_?U:x(f),entries:O},y)for(w in b)w in E||a(E,w,b[w]);else i(i.P+i.F*(d||Q),e,b);return b}},"32a6":function(t,e,n){var r=n("241e"),i=n("c3a1");n("ce7e")("keys",(function(){return function(t){return i(r(t))}}))},"32e9":function(t,e,n){var r=n("86cc"),i=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"32fc":function(t,e,n){var r=n("e53d").document;t.exports=r&&r.documentElement},"335c":function(t,e,n){var r=n("6b4c");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"355d":function(t,e){e.f={}.propertyIsEnumerable},"35e8":function(t,e,n){var r=n("d9f6"),i=n("aebd");t.exports=n("8e60")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"36c3":function(t,e,n){var r=n("335c"),i=n("25eb");t.exports=function(t){return r(i(t))}},3702:function(t,e,n){var r=n("481b"),i=n("5168")("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[i]===t)}},"3a38":function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"40c3":function(t,e,n){var r=n("6b4c"),i=n("5168")("toStringTag"),a="Arguments"==r(function(){return arguments}()),o=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,A;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=o(e=Object(t),i))?n:a?r(e):"Object"==(A=r(e))&&"function"==typeof e.callee?"Arguments":A}},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"45f2":function(t,e,n){var r=n("d9f6").f,i=n("07e3"),a=n("5168")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,a)&&r(t,a,{configurable:!0,value:e})}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"469f":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("7d7b")},"481b":function(t,e){t.exports={}},"4aa6":function(t,e,n){t.exports=n("dc62")},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"4ee1":function(t,e,n){var r=n("5168")("iterator"),i=!1;try{var a=[7][r]();a["return"]=function(){i=!0},Array.from(a,(function(){throw 2}))}catch(o){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var a=[7],A=a[r]();A.next=function(){return{done:n=!0}},a[r]=function(){return A},t(a)}catch(o){}return n}},"50ed":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},5147:function(t,e,n){var r=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(i){}}return!0}},5168:function(t,e,n){var r=n("dbdb")("wks"),i=n("62a0"),a=n("e53d").Symbol,o="function"==typeof a,A=t.exports=function(t){return r[t]||(r[t]=o&&a[t]||(o?a:i)("Symbol."+t))};A.store=r},5176:function(t,e,n){t.exports=n("51b6")},"51b6":function(t,e,n){n("a3c3"),t.exports=n("584a").Object.assign},"520a":function(t,e,n){"use strict";var r=n("0bfb"),i=RegExp.prototype.exec,a=String.prototype.replace,o=i,A="lastIndex",s=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t[A]||0!==e[A]}(),l=void 0!==/()??/.exec("")[1],c=s||l;c&&(o=function(t){var e,n,o,c,u=this;return l&&(n=new RegExp("^"+u.source+"$(?!\\s)",r.call(u))),s&&(e=u[A]),o=i.call(u,t),s&&o&&(u[A]=u.global?o.index+o[0].length:e),l&&o&&o.length>1&&a.call(o[0],n,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(o[c]=void 0)})),o}),t.exports=o},"53e2":function(t,e,n){var r=n("07e3"),i=n("241e"),a=n("5559")("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},"549b":function(t,e,n){"use strict";var r=n("d864"),i=n("63b6"),a=n("241e"),o=n("b0dc"),A=n("3702"),s=n("b447"),l=n("20fd"),c=n("7cd6");i(i.S+i.F*!n("4ee1")((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,i,u,d=a(t),h="function"==typeof this?this:Array,f=arguments.length,p=f>1?arguments[1]:void 0,m=void 0!==p,g=0,v=c(d);if(m&&(p=r(p,f>2?arguments[2]:void 0,2)),void 0==v||h==Array&&A(v))for(e=s(d.length),n=new h(e);e>g;g++)l(n,g,m?p(d[g],g):d[g]);else for(u=v.call(d),n=new h;!(i=u.next()).done;g++)l(n,g,m?o(u,p,[i.value,g],!0):i.value);return n.length=g,n}})},"54a1":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("95d5")},5537:function(t,e,n){var r=n("8378"),i=n("7726"),a="__core-js_shared__",o=i[a]||(i[a]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,n){var r=n("dbdb")("keys"),i=n("62a0");t.exports=function(t){return r[t]||(r[t]=i(t))}},"584a":function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"5b4e":function(t,e,n){var r=n("36c3"),i=n("b447"),a=n("0fc9");t.exports=function(t){return function(e,n,o){var A,s=r(e),l=i(s.length),c=a(o,l);if(t&&n!=n){while(l>c)if(A=s[c++],A!=A)return!0}else for(;l>c;c++)if((t||c in s)&&s[c]===n)return t||c||0;return!t&&-1}}},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),a=n("32e9"),o=n("2aba"),A=n("9b43"),s="prototype",l=function(t,e,n){var c,u,d,h,f=t&l.F,p=t&l.G,m=t&l.S,g=t&l.P,v=t&l.B,_=p?r:m?r[e]||(r[e]={}):(r[e]||{})[s],y=p?i:i[e]||(i[e]={}),b=y[s]||(y[s]={});for(c in p&&(n=e),n)u=!f&&_&&void 0!==_[c],d=(u?_:n)[c],h=v&&u?A(d,r):g&&"function"==typeof d?A(Function.call,d):d,_&&o(_,c,d,t&l.U),y[c]!=d&&a(y,c,h),g&&b[c]!=d&&(b[c]=d)};r.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},"5d73":function(t,e,n){t.exports=n("469f")},"5f1b":function(t,e,n){"use strict";var r=n("23c6"),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var a=n.call(t,e);if("object"!==typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"62a0":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},"63b6":function(t,e,n){var r=n("e53d"),i=n("584a"),a=n("d864"),o=n("35e8"),A=n("07e3"),s="prototype",l=function(t,e,n){var c,u,d,h=t&l.F,f=t&l.G,p=t&l.S,m=t&l.P,g=t&l.B,v=t&l.W,_=f?i:i[e]||(i[e]={}),y=_[s],b=f?r:p?r[e]:(r[e]||{})[s];for(c in f&&(n=e),n)u=!h&&b&&void 0!==b[c],u&&A(_,c)||(d=u?b[c]:n[c],_[c]=f&&"function"!=typeof b[c]?n[c]:g&&u?a(d,r):v&&b[c]==d?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[s]=t[s],e}(d):m&&"function"==typeof d?a(Function.call,d):d,m&&((_.virtual||(_.virtual={}))[c]=d,t&l.R&&y&&!y[c]&&o(y,c,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},6762:function(t,e,n){"use strict";var r=n("5ca1"),i=n("c366")(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"6b4c":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"6c1c":function(t,e,n){n("c367");for(var r=n("e53d"),i=n("35e8"),a=n("481b"),o=n("5168")("toStringTag"),A="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<A.length;s++){var l=A[s],c=r[l],u=c&&c.prototype;u&&!u[o]&&i(u,o,l),a[l]=a.Array}},"71c1":function(t,e,n){var r=n("3a38"),i=n("25eb");t.exports=function(t){return function(e,n){var a,o,A=String(i(e)),s=r(n),l=A.length;return s<0||s>=l?t?"":void 0:(a=A.charCodeAt(s),a<55296||a>56319||s+1===l||(o=A.charCodeAt(s+1))<56320||o>57343?t?A.charAt(s):a:t?A.slice(s,s+2):o-56320+(a-55296<<10)+65536)}}},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"774e":function(t,e,n){t.exports=n("d2d5")},"77f1":function(t,e,n){var r=n("4588"),i=Math.max,a=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):a(t,e)}},"794b":function(t,e,n){t.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7cd6":function(t,e,n){var r=n("40c3"),i=n("5168")("iterator"),a=n("481b");t.exports=n("584a").getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||a[r(t)]}},"7d7b":function(t,e,n){var r=n("e4ae"),i=n("7cd6");t.exports=n("584a").getIterator=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},"7e90":function(t,e,n){var r=n("d9f6"),i=n("e4ae"),a=n("c3a1");t.exports=n("8e60")?Object.defineProperties:function(t,e){i(t);var n,o=a(e),A=o.length,s=0;while(A>s)r.f(t,n=o[s++],e[n]);return t}},8378:function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},8436:function(t,e){t.exports=function(){}},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),a=n("6a99"),o=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=a(e,!0),r(n),i)try{return o(t,e,n)}catch(A){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8aae":function(t,e,n){n("32a6"),t.exports=n("584a").Object.keys},"8e60":function(t,e,n){t.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8f60":function(t,e,n){"use strict";var r=n("a159"),i=n("aebd"),a=n("45f2"),o={};n("35e8")(o,n("5168")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(o,{next:i(1,n)}),a(t,e+" Iterator")}},9003:function(t,e,n){var r=n("6b4c");t.exports=Array.isArray||function(t){return"Array"==r(t)}},9138:function(t,e,n){t.exports=n("35e8")},9306:function(t,e,n){"use strict";var r=n("c3a1"),i=n("9aa9"),a=n("355d"),o=n("241e"),A=n("335c"),s=Object.assign;t.exports=!s||n("294c")((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=s({},t)[n]||Object.keys(s({},e)).join("")!=r}))?function(t,e){var n=o(t),s=arguments.length,l=1,c=i.f,u=a.f;while(s>l){var d,h=A(arguments[l++]),f=c?r(h).concat(c(h)):r(h),p=f.length,m=0;while(p>m)u.call(h,d=f[m++])&&(n[d]=h[d])}return n}:s},9427:function(t,e,n){var r=n("63b6");r(r.S,"Object",{create:n("a159")})},"95d5":function(t,e,n){var r=n("40c3"),i=n("5168")("iterator"),a=n("481b");t.exports=n("584a").isIterable=function(t){var e=Object(t);return void 0!==e[i]||"@@iterator"in e||a.hasOwnProperty(r(e))}},"9aa9":function(t,e){e.f=Object.getOwnPropertySymbols},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a159:function(t,e,n){var r=n("e4ae"),i=n("7e90"),a=n("1691"),o=n("5559")("IE_PROTO"),A=function(){},s="prototype",l=function(){var t,e=n("1ec9")("iframe"),r=a.length,i="<",o=">";e.style.display="none",n("32fc").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+o+"document.F=Object"+i+"/script"+o),t.close(),l=t.F;while(r--)delete l[s][a[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(A[s]=r(t),n=new A,A[s]=null,n[o]=t):n=l(),void 0===e?n:i(n,e)}},a352:function(e,n){e.exports=t},a3c3:function(t,e,n){var r=n("63b6");r(r.S+r.F,"Object",{assign:n("9306")})},a481:function(t,e,n){"use strict";var r=n("cb7c"),i=n("4bf8"),a=n("9def"),o=n("4588"),A=n("0390"),s=n("5f1b"),l=Math.max,c=Math.min,u=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g,f=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,(function(t,e,n,p){return[function(r,i){var a=t(this),o=void 0==r?void 0:r[e];return void 0!==o?o.call(r,a,i):n.call(String(a),r,i)},function(t,e){var i=p(n,t,this,e);if(i.done)return i.value;var u=r(t),d=String(this),h="function"===typeof e;h||(e=String(e));var g=u.global;if(g){var v=u.unicode;u.lastIndex=0}var _=[];while(1){var y=s(u,d);if(null===y)break;if(_.push(y),!g)break;var b=String(y[0]);""===b&&(u.lastIndex=A(d,a(u.lastIndex),v))}for(var w="",B=0,x=0;x<_.length;x++){y=_[x];for(var C=String(y[0]),k=l(c(o(y.index),d.length),0),Q=[],E=1;E<y.length;E++)Q.push(f(y[E]));var F=y.groups;if(h){var U=[C].concat(Q,k,d);void 0!==F&&U.push(F);var O=String(e.apply(void 0,U))}else O=m(C,d,k,Q,F,e);k>=B&&(w+=d.slice(B,k)+O,B=k+C.length)}return w+d.slice(B)}];function m(t,e,r,a,o,A){var s=r+t.length,l=a.length,c=h;return void 0!==o&&(o=i(o),c=d),n.call(A,c,(function(n,i){var A;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(s);case"<":A=o[i.slice(1,-1)];break;default:var c=+i;if(0===c)return n;if(c>l){var d=u(c/10);return 0===d?n:d<=l?void 0===a[d-1]?i.charAt(1):a[d-1]+i.charAt(1):n}A=a[c-1]}return void 0===A?"":A}))}}))},a4bb:function(t,e,n){t.exports=n("8aae")},a745:function(t,e,n){t.exports=n("f410")},aae3:function(t,e,n){var r=n("d3f4"),i=n("2d95"),a=n("2b4c")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==i(t))}},aebd:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},b0c5:function(t,e,n){"use strict";var r=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},b0dc:function(t,e,n){var r=n("e4ae");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(o){var a=t["return"];throw void 0!==a&&r(a.call(t)),o}}},b447:function(t,e,n){var r=n("3a38"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},b8e3:function(t,e){t.exports=!0},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c366:function(t,e,n){var r=n("6821"),i=n("9def"),a=n("77f1");t.exports=function(t){return function(e,n,o){var A,s=r(e),l=i(s.length),c=a(o,l);if(t&&n!=n){while(l>c)if(A=s[c++],A!=A)return!0}else for(;l>c;c++)if((t||c in s)&&s[c]===n)return t||c||0;return!t&&-1}}},c367:function(t,e,n){"use strict";var r=n("8436"),i=n("50ed"),a=n("481b"),o=n("36c3");t.exports=n("30f1")(Array,"Array",(function(t,e){this._t=o(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},c3a1:function(t,e,n){var r=n("e6f3"),i=n("1691");t.exports=Object.keys||function(t){return r(t,i)}},c649:function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return o})),n.d(e,"d",(function(){return c})),n("a481");var r=n("4aa6"),i=n.n(r);function a(){return"undefined"!==typeof window?window.console:t.console}var o=a();function A(t){var e=i()(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var s=/-(\w)/g,l=A((function(t){return t.replace(s,(function(t,e){return e?e.toUpperCase():""}))}));function c(t){null!==t.parentElement&&t.parentElement.removeChild(t)}function u(t,e,n){var r=0===n?t.children[0]:t.children[n-1].nextSibling;t.insertBefore(e,r)}}).call(this,n("c8ba"))},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},c8bb:function(t,e,n){t.exports=n("54a1")},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},ce7e:function(t,e,n){var r=n("63b6"),i=n("584a"),a=n("294c");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],o={};o[t]=e(n),r(r.S+r.F*a((function(){n(1)})),"Object",o)}},d2c8:function(t,e,n){var r=n("aae3"),i=n("be13");t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},d2d5:function(t,e,n){n("1654"),n("549b"),t.exports=n("584a").Array.from},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d864:function(t,e,n){var r=n("79aa");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},d9f6:function(t,e,n){var r=n("e4ae"),i=n("794b"),a=n("1bc3"),o=Object.defineProperty;e.f=n("8e60")?Object.defineProperty:function(t,e,n){if(r(t),e=a(e,!0),r(n),i)try{return o(t,e,n)}catch(A){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},dbdb:function(t,e,n){var r=n("584a"),i=n("e53d"),a="__core-js_shared__",o=i[a]||(i[a]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("b8e3")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},dc62:function(t,e,n){n("9427");var r=n("584a").Object;t.exports=function(t,e){return r.create(t,e)}},e4ae:function(t,e,n){var r=n("f772");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},e53d:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e6f3:function(t,e,n){var r=n("07e3"),i=n("36c3"),a=n("5b4e")(!1),o=n("5559")("IE_PROTO");t.exports=function(t,e){var n,A=i(t),s=0,l=[];for(n in A)n!=o&&r(A,n)&&l.push(n);while(e.length>s)r(A,n=e[s++])&&(~a(l,n)||l.push(n));return l}},f410:function(t,e,n){n("1af6"),t.exports=n("584a").Array.isArray},f559:function(t,e,n){"use strict";var r=n("5ca1"),i=n("9def"),a=n("d2c8"),o="startsWith",A=""[o];r(r.P+r.F*n("5147")(o),"String",{startsWith:function(t){var e=a(this,t,o),n=i(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return A?A.call(e,r,n):e.slice(n,n+r.length)===r}})},f772:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fb15:function(t,e,n){"use strict";var r;n.r(e),"undefined"!==typeof window&&(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^\/]+\.js(\?.*)?$/))&&(n.p=r[1]);var i=n("5176"),a=n.n(i),o=(n("f559"),n("a4bb")),A=n.n(o),s=(n("6762"),n("2fdb"),n("a745")),l=n.n(s);function c(t){if(l()(t))return t}var u=n("5d73"),d=n.n(u);function h(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var o,A=d()(t);!(r=(o=A.next()).done);r=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){i=!0,a=s}finally{try{r||null==A["return"]||A["return"]()}finally{if(i)throw a}}return n}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function p(t,e){return c(t)||h(t,e)||f()}function m(t){if(l()(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}var g=n("774e"),v=n.n(g),_=n("c8bb"),y=n.n(_);function b(t){if(y()(Object(t))||"[object Arguments]"===Object.prototype.toString.call(t))return v()(t)}function w(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function B(t){return m(t)||b(t)||w()}var x=n("a352"),C=n.n(x),k=n("c649");function Q(t,e,n){return void 0===n||(t=t||{},t[e]=n),t}function E(t,e){return t.map((function(t){return t.elm})).indexOf(e)}function F(t,e,n,r){if(!t)return[];var i=t.map((function(t){return t.elm})),a=e.length-r,o=B(e).map((function(t,e){return e>=a?i.length:i.indexOf(t)}));return n?o.filter((function(t){return-1!==t})):o}function U(t,e){var n=this;this.$nextTick((function(){return n.$emit(t.toLowerCase(),e)}))}function O(t){var e=this;return function(n){null!==e.realList&&e["onDrag"+t](n),U.call(e,t,n)}}function S(t){if(!t||1!==t.length)return!1;var e=p(t,1),n=e[0].componentOptions;return!!n&&["transition-group","TransitionGroup"].includes(n.tag)}function T(t,e){var n=e.header,r=e.footer,i=0,a=0;return n&&(i=n.length,t=t?[].concat(B(n),B(t)):B(n)),r&&(a=r.length,t=t?[].concat(B(t),B(r)):B(r)),{children:t,headerOffset:i,footerOffset:a}}function I(t,e){var n=null,r=function(t,e){n=Q(n,t,e)},i=A()(t).filter((function(t){return"id"===t||t.startsWith("data-")})).reduce((function(e,n){return e[n]=t[n],e}),{});if(r("attrs",i),!e)return n;var o=e.on,s=e.props,l=e.attrs;return r("on",o),r("props",s),a()(n.attrs,l),n}var D=["Start","Add","Remove","Update","End"],L=["Choose","Sort","Filter","Clone"],P=["Move"].concat(D,L).map((function(t){return"on"+t})),N=null,H={options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(t){return t}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},M={name:"draggable",inheritAttrs:!1,props:H,data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1,init:!1}},render:function(t){var e=this.$slots.default;this.transitionMode=S(e);var n=T(e,this.$slots),r=n.children,i=n.headerOffset,a=n.footerOffset;this.headerOffset=i,this.footerOffset=a;var o=I(this.$attrs,this.componentData);return t(this.getTag(),o,r)},created:function(){null!==this.list&&null!==this.value&&k["b"].error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&k["b"].warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&k["b"].warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var t=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var e={};D.forEach((function(n){e["on"+n]=O.call(t,n)})),L.forEach((function(n){e["on"+n]=U.bind(t,n)}));var n=A()(this.$attrs).reduce((function(e,n){return e[Object(k["a"])(n)]=t.$attrs[n],e}),{}),r=a()({},this.options,n,e,{onMove:function(e,n){return t.onDragMove(e,n)}});!("draggable"in r)&&(r.draggable=">*"),this._sortable=new C.a(this.rootContainer,r),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(t){this.updateOptions(t)},deep:!0},$attrs:{handler:function(t){this.updateOptions(t)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getTag:function(){return this.tag||this.element},updateOptions:function(t){for(var e in t){var n=Object(k["a"])(e);-1===P.indexOf(n)&&this._sortable.option(n,t[e])}},getChildrenNodes:function(){if(this.init||(this.noneFunctionalComponentMode=this.noneFunctionalComponentMode&&1===this.$children.length,this.init=!0),this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var t=this.$slots.default;return this.transitionMode?t[0].child.$slots.default:t},computeIndexes:function(){var t=this;this.$nextTick((function(){t.visibleIndexes=F(t.getChildrenNodes(),t.rootContainer.children,t.transitionMode,t.footerOffset)}))},getUnderlyingVm:function(t){var e=E(this.getChildrenNodes()||[],t);if(-1===e)return null;var n=this.realList[e];return{index:e,element:n}},getUnderlyingPotencialDraggableComponent:function(t){var e=t.__vue__;return e&&e.$options&&"transition-group"===e.$options._componentTag?e.$parent:e},emitChanges:function(t){var e=this;this.$nextTick((function(){e.$emit("change",t)}))},alterList:function(t){if(this.list)t(this.list);else{var e=B(this.value);t(e),this.$emit("input",e)}},spliceList:function(){var t=arguments,e=function(e){return e.splice.apply(e,B(t))};this.alterList(e)},updatePosition:function(t,e){var n=function(n){return n.splice(e,0,n.splice(t,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(t){var e=t.to,n=t.related,r=this.getUnderlyingPotencialDraggableComponent(e);if(!r)return{component:r};var i=r.realList,o={list:i,component:r};if(e!==n&&i&&r.getUnderlyingVm){var A=r.getUnderlyingVm(n);if(A)return a()(A,o)}return o},getVmIndex:function(t){var e=this.visibleIndexes,n=e.length;return t>n-1?n:e[t]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(t){if(this.noTransitionOnDrag&&this.transitionMode){var e=this.getChildrenNodes();e[t].data=null;var n=this.getComponent();n.children=[],n.kept=void 0}},onDragStart:function(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),N=t.item},onDragAdd:function(t){var e=t.item._underlying_vm_;if(void 0!==e){Object(k["d"])(t.item);var n=this.getVmIndex(t.newIndex);this.spliceList(n,0,e),this.computeIndexes();var r={element:e,newIndex:n};this.emitChanges({added:r})}},onDragRemove:function(t){if(Object(k["c"])(this.rootContainer,t.item,t.oldIndex),"clone"!==t.pullMode){var e=this.context.index;this.spliceList(e,1);var n={element:this.context.element,oldIndex:e};this.resetTransitionData(e),this.emitChanges({removed:n})}else Object(k["d"])(t.clone)},onDragUpdate:function(t){Object(k["d"])(t.item),Object(k["c"])(t.from,t.item,t.oldIndex);var e=this.context.index,n=this.getVmIndex(t.newIndex);this.updatePosition(e,n);var r={element:this.context.element,oldIndex:e,newIndex:n};this.emitChanges({moved:r})},updateProperty:function(t,e){t.hasOwnProperty(e)&&(t[e]+=this.headerOffset)},computeFutureIndex:function(t,e){if(!t.element)return 0;var n=B(e.to.children).filter((function(t){return"none"!==t.style["display"]})),r=n.indexOf(e.related),i=t.component.getVmIndex(r),a=-1!==n.indexOf(N);return a||!e.willInsertAfter?i:i+1},onDragMove:function(t,e){var n=this.move;if(!n||!this.realList)return!0;var r=this.getRelatedContextFromMoveEvent(t),i=this.context,o=this.computeFutureIndex(r,t);a()(i,{futureIndex:o});var A=a()({},t,{relatedContext:r,draggedContext:i});return n(A,e)},onDragEnd:function(){this.computeIndexes(),N=null}}};"undefined"!==typeof window&&"Vue"in window&&window.Vue.component("draggable",M);var j=M;e["default"]=j}})["default"]}))},"1a2c":function(t,e,n){"use strict";n("dfbc")},"1aac":function(t,e,n){},"1d91":function(t,e,n){"use strict";n("da66")},"1e4b":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"app-container"},[r("div",{staticClass:"conPanel"},[r("el-row",{staticClass:"ht50p",attrs:{gutter:20}},[r("el-col",{staticClass:"ht100p",attrs:{span:7}},[r("div",{staticClass:"cardDiv"},[r("div",{staticClass:"cardTitle"},[t._v("存量客户年龄性别分布")]),r("bar-two-way-chart",{attrs:{id:"barTwoWayChart",width:t.width,height:t.height,data:t.barTwoWayChartData}})],1)]),r("el-col",{staticClass:"ht100p",attrs:{span:17}},[r("div",{staticClass:"cardDiv"},[r("div",{staticClass:"cardTitle"},[t._v("查询条件")]),r("div",{staticClass:"lunboDiv"},[r("img",{staticClass:"lineImg",attrs:{src:n("c709"),alt:""}}),r("div",{staticClass:"wrapper horizontal demo1"},[r("ul",{staticClass:"container",staticStyle:{"transform-style":"preserve-3d",transform:"rotateX(-5deg) rotateY(0deg)"}},t._l(t.lunboData,(function(e,i){return r("li",{key:i,staticClass:"cards-list"},[r("div",{staticClass:"img"},[r("img",{staticClass:"iconImg",attrs:{src:e.iconSrc,alt:""}}),r("img",{staticClass:"shadowImg",attrs:{src:n("050f"),alt:""}})]),r("div",{staticClass:"main-con"},[r("div",{staticClass:"name"},[t._v(t._s(e.name))]),r("img",{attrs:{src:n("a206"),alt:""}})])])})),0)])]),r("div",{staticClass:"infoLeft"},[r("el-button",{staticClass:"lunboSearchBtn",attrs:{circle:""},on:{click:t.toUserInfoList}},[r("img",{attrs:{src:n("6983"),alt:""}})]),0==t.lunboActiveIndex?r("el-form",{ref:"conditionData",attrs:{inline:!0,model:t.conditionData,"label-width":"96px"}},[r("el-form-item",{staticClass:"formItem",attrs:{label:"年龄:",size:"mini"}},[r("el-input",{staticClass:"age",attrs:{oninput:"value=value.replace(/[^\\d]/g,'')"},model:{value:t.conditionData.ageS,callback:function(e){t.$set(t.conditionData,"ageS",e)},expression:"conditionData.ageS"}}),t._v(" - "),r("el-input",{staticClass:"age",attrs:{oninput:"value=value.replace(/[^\\d]/g,'')"},model:{value:t.conditionData.ageE,callback:function(e){t.$set(t.conditionData,"ageE",e)},expression:"conditionData.ageE"}})],1),r("el-form-item",{staticClass:"formItem",attrs:{label:"性别:",size:"mini"}},[r("el-select",{model:{value:t.conditionData.gender,callback:function(e){t.$set(t.conditionData,"gender",e)},expression:"conditionData.gender"}},[r("el-option",{attrs:{label:"男",value:"0"}}),r("el-option",{attrs:{label:"女",value:"1"}})],1)],1),r("el-form-item",{staticClass:"formItem",attrs:{label:"省份:",size:"mini"}},[r("el-input",{model:{value:t.conditionData.sobirth,callback:function(e){t.$set(t.conditionData,"sobirth",e)},expression:"conditionData.sobirth"}})],1),r("el-form-item",{staticClass:"formItem",attrs:{label:"保单件数:",size:"mini"}},[r("el-select",{model:{value:t.conditionData.NOVPolicy,callback:function(e){t.$set(t.conditionData,"NOVPolicy",e)},expression:"conditionData.NOVPolicy"}},[r("el-option",{attrs:{label:"无保单",value:"无保单"}}),r("el-option",{attrs:{label:"1件",value:"1件"}}),r("el-option",{attrs:{label:"2件",value:"2件"}}),r("el-option",{attrs:{label:"3-5件",value:"3-5件"}}),r("el-option",{attrs:{label:"6-10件",value:"6-10件"}}),r("el-option",{attrs:{label:"11-20件",value:"11-20件"}}),r("el-option",{attrs:{label:"21-50件",value:"21-50件"}}),r("el-option",{attrs:{label:"50件以上",value:"50件保单以上"}})],1)],1),r("el-form-item",{class:{"formItemFull2 education":t.isFull,formItem:!t.isFull},attrs:{label:"客户类型:",size:"mini"}},[r("el-select",{model:{value:t.conditionData.custtype,callback:function(e){t.$set(t.conditionData,"custtype",e)},expression:"conditionData.custtype"}},[r("el-option",{attrs:{label:"投保人",value:"投保人"}}),r("el-option",{attrs:{label:"被保人",value:"被保人"}})],1)],1),r("el-form-item",{class:{"formItemFull2 education":t.isFull,formItem:!t.isFull},attrs:{label:"客户等级:",size:"mini"}},[r("el-select",{model:{value:t.conditionData.custclass,callback:function(e){t.$set(t.conditionData,"custclass",e)},expression:"conditionData.custclass"}},[r("el-option",{attrs:{label:"钻石",value:"1"}}),r("el-option",{attrs:{label:"白金",value:"2"}}),r("el-option",{attrs:{label:"黄金",value:"3"}}),r("el-option",{attrs:{label:"普通",value:"4"}}),r("el-option",{attrs:{label:"无",value:"0"}})],1)],1),r("el-form-item",{class:{"formItemFull2 education":t.isFull,formItem:!t.isFull},attrs:{label:"学历:",size:"mini"}},[r("el-select",{attrs:{multiple:"","collapse-tags":""},model:{value:t.conditionData.education,callback:function(e){t.$set(t.conditionData,"education",e)},expression:"conditionData.education"}},t._l(t.educationArr,(function(t,e){return r("el-option",{key:e,attrs:{label:t.label,value:t.value}})})),1)],1),r("el-form-item",{staticClass:"formItemFull2 labelM dateQj",staticStyle:{"margin-top":"5px"},attrs:{label:"参与方进入时间:",size:"mini"}},[r("el-date-picker",{staticStyle:{width:"44%"},attrs:{type:"date",clearable:"","value-format":"yyyy-MM-dd",placeholder:"选择日期","picker-options":t.pickerOptionsS},model:{value:t.conditionData.participantsDateS,callback:function(e){t.$set(t.conditionData,"participantsDateS",e)},expression:"conditionData.participantsDateS"}}),t._v(" - "),r("el-date-picker",{staticStyle:{width:"44%"},attrs:{type:"date",clearable:"","value-format":"yyyy-MM-dd",placeholder:"选择日期","picker-options":t.pickerOptionsE},model:{value:t.conditionData.participantsDateE,callback:function(e){t.$set(t.conditionData,"participantsDateE",e)},expression:"conditionData.participantsDateE"}})],1)],1):t._e(),1==t.lunboActiveIndex?r("el-form",{ref:"conditionData",attrs:{inline:!0,model:t.conditionData,"label-width":"96px"}},[r("el-form-item",{staticClass:"formItem",attrs:{label:"核心客户号:",size:"mini"}},[r("el-input",{model:{value:t.conditionData.SCustID,callback:function(e){t.$set(t.conditionData,"SCustID",e)},expression:"conditionData.SCustID"}})],1),r("el-form-item",{staticClass:"formItem",attrs:{label:"客户姓名:",size:"mini"}},[r("el-input",{model:{value:t.conditionData.name,callback:function(e){t.$set(t.conditionData,"name",e)},expression:"conditionData.name"}})],1),r("el-form-item",{staticClass:"formItem",attrs:{label:"业绩归属:",size:"mini"}},[r("el-select",{model:{value:t.conditionData.policybelong,callback:function(e){t.$set(t.conditionData,"policybelong",e)},expression:"conditionData.policybelong"}},t._l(t.policybelongArr,(function(t,e){return r("el-option",{key:e,attrs:{label:t.label,value:t.value}})})),1)],1),r("el-form-item",{staticClass:"formItem",attrs:{label:"投保年份:",size:"mini"}},[r("el-date-picker",{attrs:{styel:"width:178px;",type:"year",clearable:"","value-format":"yyyy",placeholder:"选择年"},model:{value:t.conditionData.fadate,callback:function(e){t.$set(t.conditionData,"fadate",e)},expression:"conditionData.fadate"}})],1),r("el-form-item",{staticClass:"formItemFull",attrs:{label:"证件号码:",size:"mini"}},[r("el-input",{model:{value:t.conditionData.idcard,callback:function(e){t.$set(t.conditionData,"idcard",e)},expression:"conditionData.idcard"}})],1),r("el-form-item",{staticClass:"formItemFull",attrs:{label:"手机号:",size:"mini"}},[r("el-input",{model:{value:t.conditionData.mobile,callback:function(e){t.$set(t.conditionData,"mobile",e)},expression:"conditionData.mobile"}})],1),r("el-form-item",{staticClass:"formItemFull2 nsr",attrs:{label:"年收入:",size:"mini"}},[r("el-input",{staticStyle:{width:"42%"},model:{value:t.conditionData.PIncomeS,callback:function(e){t.$set(t.conditionData,"PIncomeS",e)},expression:"conditionData.PIncomeS"}}),r("span",{staticStyle:{"font-size":"12px","padding-left":"4px"}},[t._v("万")]),t._v(" - "),r("el-input",{staticStyle:{width:"42%"},model:{value:t.conditionData.PIncomeE,callback:function(e){t.$set(t.conditionData,"PIncomeE",e)},expression:"conditionData.PIncomeE"}}),r("span",{staticStyle:{"font-size":"12px","padding-left":"4px"}},[t._v("万")])],1)],1):t._e(),2==t.lunboActiveIndex?r("el-form",{ref:"conditionData",attrs:{model:t.conditionData,"label-width":"196px"}},[r("el-form-item",{staticClass:"formItemFull",attrs:{label:"理赔:",size:"mini"}},[r("el-radio",{attrs:{label:"0"},model:{value:t.conditionData.lp,callback:function(e){t.$set(t.conditionData,"lp",e)},expression:"conditionData.lp"}},[t._v("是")]),r("el-radio",{attrs:{label:"1"},model:{value:t.conditionData.lp,callback:function(e){t.$set(t.conditionData,"lp",e)},expression:"conditionData.lp"}},[t._v("否")])],1),r("el-form-item",{staticClass:"formItemFull",attrs:{label:"有效:",size:"mini"}},[r("el-radio",{attrs:{label:"0"},model:{value:t.conditionData.yx,callback:function(e){t.$set(t.conditionData,"yx",e)},expression:"conditionData.yx"}},[t._v("是")]),r("el-radio",{attrs:{label:"1"},model:{value:t.conditionData.yx,callback:function(e){t.$set(t.conditionData,"yx",e)},expression:"conditionData.yx"}},[t._v("否")])],1),r("el-form-item",{staticClass:"formItemFull",attrs:{label:"注册官微:",size:"mini"}},[r("el-radio",{attrs:{label:"0"},model:{value:t.conditionData.zcgw,callback:function(e){t.$set(t.conditionData,"zcgw",e)},expression:"conditionData.zcgw"}},[t._v("是")]),r("el-radio",{attrs:{label:"1"},model:{value:t.conditionData.zcgw,callback:function(e){t.$set(t.conditionData,"zcgw",e)},expression:"conditionData.zcgw"}},[t._v("否")])],1)],1):t._e()],1)])])],1),r("el-row",{staticClass:"ht50p",attrs:{gutter:20}},[r("el-col",{staticClass:"ht100p",attrs:{span:7}},[r("div",{staticClass:"cardDiv"},[r("div",{staticClass:"cardTitle"},[t._v("险种类别")]),r("bar-chart3",{attrs:{id:"barChart",width:t.width,height:t.height,data:t.barChartData}})],1)]),r("el-col",{staticClass:"ht100p",attrs:{span:10}},[r("div",{staticClass:"cardDiv"},[r("div",{staticClass:"cardTitle"},[t._v("近10年有效客户数")]),r("bar-chart",{attrs:{id:"barChartVistors",width:t.width,height:t.height,data:t.barChartVistorsData}})],1)]),r("el-col",{staticClass:"ht100p",attrs:{span:7}},[r("div",{staticClass:"cardDiv"},[r("div",{staticClass:"cardTitle"},[t._v("拥有保单件数分布")]),r("pie-chart",{attrs:{id:"pieChart",width:t.width,height:t.height,data:t.pieChartData}})],1)])],1)],1)])},i=[],a=(n("b680"),n("a15b"),n("d3b7"),n("159b"),n("b0c0"),n("1aac"),n("89c7"),n("b5bc")),o=n("476c"),A=n("da2d"),s=n("dda6"),l=n("b775");function c(t){return Object(l["a"])({url:"/data/index/ageSexDis",method:"get",params:t})}function u(t){return Object(l["a"])({url:"/data/index/riskcode",method:"get",params:t})}function d(t){return Object(l["a"])({url:"/data/index/bdNumDis",method:"get",params:t})}function h(t){return Object(l["a"])({url:"/data/index/effectiveCustomer",method:"get",params:t})}var f={name:"Index",components:{BarTwoWayChart:a["default"],BarChart:o["default"],BarChart3:A["default"],PieChart:s["default"]},data:function(){var t=this;return{loading:!0,barTwoWayChartData:{yAxisName:"单位:万",legendData:[],xAxisData:[],seriesData:[]},barChartData:{yAxisNameL:"单位:万",yAxisNameR:"单位:元",color:["#028FF3","#F29700"],xAxisData:[],seriesData:[]},pieChartData:{color:["#0084F1","#ED475B","#F39801","#00C7FF","rgb(242,158,194)","rgb(250,216,137)","rgb(127,229,154)","rgb(33,201,205)"],seriesData:[]},barChartVistorsData:{yAxisName:"数量:个",color:["#F29EC2","#7FE59A","#FAD889","#048EF3","#00C7FF"],xAxisData:[],seriesData:[]},width:"100%",height:"80%",lunboActiveIndex:"0",lunboData:[{iconSrc:n("29fa"),name:"基本信息"},{iconSrc:n("9629"),name:"客户信息"},{iconSrc:n("da67"),name:"客户标签"}],educationArr:[{value:"幼儿园",label:"幼儿园"},{value:"小学",label:"小学"},{value:"中专",label:"中专"},{value:"职高",label:"职高"},{value:"技校",label:"技校"},{value:"初中",label:"初中"},{value:"高中",label:"高中"},{value:"大专",label:"大专"},{value:"本科",label:"本科"},{value:"硕士及以上",label:"硕士及以上"},{value:"其他",label:"其他"}],policybelongArr:[{value:"00",label:"总部团险个单业务"},{value:"01",label:"上分团险个单业务"},{value:"02",label:"个险渠道"},{value:"03",label:"银保渠道"},{value:"05",label:"网销渠道"},{value:"06",label:"健康险事业部"}],conditionData:{education:""},pickerOptionsS:{disabledDate:function(e){if(t.conditionData.participantsDateE)return e.getTime()>new Date(t.conditionData.participantsDateE).getTime()}},pickerOptionsE:{disabledDate:function(e){if(t.conditionData.participantsDateS)return e.getTime()<new Date(t.conditionData.participantsDateS).getTime()-864e5}},isFull:!1}},created:function(){},mounted:function(){var t=document.body.clientWidth;this.isFull=!(t>1400),this.lunboFn(),this.getRiskcode(),this.getAgeSexDis(),this.getBdNumDis(),this.getTenYearsCustomers()},methods:{_$:function(t){try{var e=document.querySelectorAll(t);return 1==e.length?e[0]:e}catch(n){console.log(n)}},lunboFn:function(){var t=this;new Empile(t._$(".demo1>.container"),{waitForTransition:!0,isClickSlide:!0,on:{slideChange:function(){t.lunboActiveIndex=this.activeIndex}},css:function(t,e){var n=100-e,r=Math.pow(.92,e).toFixed(3),i=(Math.pow(.9,e).toFixed(2),"translateX("+30*t+"px)"),a="translateZ(105px)",o="rotateY("+30*t+"deg)",A=[i,o,a].join(" ");return{zIndex:n,opacity:r,transform:A}}})},toUserInfoList:function(){var t=this;console.log(t.conditionData),this.$router.push({path:"/userInfoList",query:t.conditionData})},getAgeSexDis:function(){var t=this;c().then((function(e){console.log(e),e.data.seriesData.forEach((function(t,e){t.forEach((function(e,n){t[n]=((e-0)/1e4).toFixed(2)}))})),t.barTwoWayChartData.xAxisData=e.data.xaxisData,t.barTwoWayChartData.seriesData=e.data.seriesData,t.barTwoWayChartData.legendData=e.data.legendData,t.loading=!1}))},getRiskcode:function(){var t=this;u().then((function(e){console.log(e),e.data.seriesData.forEach((function(t,e){"有效客户数量"==t.name&&t.data.forEach((function(e,n){t.data[n]=((e-0)/1e4).toFixed(2)}))})),t.barChartData.xAxisData=e.data.xaxisData,t.barChartData.seriesData=e.data.seriesData,t.loading=!1}))},getTenYearsCustomers:function(){var t=this,e=this;h().then((function(n){console.log(n),e.barChartVistorsData.xAxisData=n.data.xaxisData,n.data.seriesData.forEach((function(t,e){t.stack="vistors"})),e.barChartVistorsData.seriesData=n.data.seriesData,console.log(e.barChartVistorsData),t.loading=!1}))},getBdNumDis:function(){var t=this,e=this;d().then((function(n){console.log(n),e.pieChartData.seriesData=n.data.seriesData,t.loading=!1}))}}},p=f,m=(n("4655"),n("a3d7"),n("2877")),g=Object(m["a"])(p,r,i,!1,null,"855a9298",null);e["default"]=g.exports},"1e8b":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-form",{ref:"form",attrs:{model:t.user,rules:t.rules,"label-width":"80px"}},[n("el-form-item",{attrs:{label:"用户昵称",prop:"nickName"}},[n("el-input",{model:{value:t.user.nickName,callback:function(e){t.$set(t.user,"nickName",e)},expression:"user.nickName"}})],1),n("el-form-item",{attrs:{label:"手机号码",prop:"phonenumber"}},[n("el-input",{attrs:{maxlength:"11"},model:{value:t.user.phonenumber,callback:function(e){t.$set(t.user,"phonenumber",e)},expression:"user.phonenumber"}})],1),n("el-form-item",{attrs:{label:"邮箱",prop:"email"}},[n("el-input",{attrs:{maxlength:"50"},model:{value:t.user.email,callback:function(e){t.$set(t.user,"email",e)},expression:"user.email"}})],1),n("el-form-item",{attrs:{label:"性别"}},[n("el-radio-group",{model:{value:t.user.sex,callback:function(e){t.$set(t.user,"sex",e)},expression:"user.sex"}},[n("el-radio",{attrs:{label:"0"}},[t._v("男")]),n("el-radio",{attrs:{label:"1"}},[t._v("女")])],1)],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.submit}},[t._v("保存")]),n("el-button",{attrs:{type:"danger",size:"mini"},on:{click:t.close}},[t._v("关闭")])],1)],1)},i=[],a=n("c0c7"),o={props:{user:{type:Object}},data:function(){return{rules:{nickName:[{required:!0,message:"用户昵称不能为空",trigger:"blur"}],email:[{required:!0,message:"邮箱地址不能为空",trigger:"blur"},{type:"email",message:"'请输入正确的邮箱地址",trigger:["blur","change"]}],phonenumber:[{required:!0,message:"手机号码不能为空",trigger:"blur"},{pattern:/^1[3|4|5|6|7|8|9][0-9]\d{8}$/,message:"请输入正确的手机号码",trigger:"blur"}]}}},methods:{submit:function(){var t=this;this.$refs["form"].validate((function(e){e&&Object(a["i"])(t.user).then((function(e){t.msgSuccess("修改成功")}))}))},close:function(){this.$store.dispatch("tagsView/delView",this.$route),this.$router.push({path:"/index"})}}},A=o,s=n("2877"),l=Object(s["a"])(A,r,i,!1,null,null,null);e["default"]=l.exports},"1f34":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-row",{attrs:{gutter:10}},[n("el-col",{staticClass:"deptCol",attrs:{span:t.deptCol,xs:24}},[n("div",{staticClass:"panelCol bgWhite",staticStyle:{position:"relative"}},[t.isShowDept?n("div",{staticClass:"head-container"},[n("el-input",{staticStyle:{"margin-bottom":"20px"},attrs:{placeholder:"请输入部门名称",clearable:"",size:"small","prefix-icon":"el-icon-search"},model:{value:t.deptName,callback:function(e){t.deptName=e},expression:"deptName"}})],1):t._e(),t.isShowDept?n("div",{staticClass:"head-container"},[n("el-tree",{ref:"tree",attrs:{data:t.deptOptions,props:t.defaultProps,"expand-on-click-node":!1,"filter-node-method":t.filterNode,"default-expand-all":""},on:{"node-click":t.handleNodeClick}})],1):t._e(),n("div",{class:t.isHideTreeIcon.divClass,on:{click:t.toggleDeptClick}},[n("i",{class:t.isHideTreeIcon.arrowClass})])])]),n("el-col",{attrs:{span:t.dataCol,xs:24}},[n("div",{staticClass:"panelCol"},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],ref:"queryForm",staticClass:"queryParams bgWhite",attrs:{model:t.queryParams,inline:!0,"label-width":"68px"}},[n("el-form-item",{attrs:{label:"登录名称",prop:"userName"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入用户名称",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.userName,callback:function(e){t.$set(t.queryParams,"userName",e)},expression:"queryParams.userName"}})],1),n("el-form-item",{attrs:{label:"手机号码",prop:"phonenumber"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入手机号码",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.phonenumber,callback:function(e){t.$set(t.queryParams,"phonenumber",e)},expression:"queryParams.phonenumber"}})],1),n("el-form-item",{staticClass:"mt10",attrs:{label:"用户状态",prop:"status"}},[n("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"用户状态",clearable:"",size:"small"},model:{value:t.queryParams.status,callback:function(e){t.$set(t.queryParams,"status",e)},expression:"queryParams.status"}},t._l(t.statusOptions,(function(t){return n("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:t.dictValue}})})),1)],1),n("el-form-item",{staticClass:"mt10",attrs:{label:"创建时间"}},[n("el-date-picker",{staticStyle:{width:"240px"},attrs:{size:"small","value-format":"yyyy-MM-dd",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:t.dateRange,callback:function(e){t.dateRange=e},expression:"dateRange"}})],1),n("el-form-item",{staticClass:"mt10"},[n("el-button",{attrs:{type:"cyan",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1),n("div",{staticClass:"bgWhite"},[n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:user:add"],expression:"['system:user:add']"}],attrs:{type:"cyan",icon:"el-icon-plus",size:"mini"},on:{click:t.handleAdd}},[t._v("新增")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:user:remove"],expression:"['system:user:remove']"}],attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:t.multiple},on:{click:t.handleDelete}},[t._v("删除")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:user:import"],expression:"['system:user:import']"}],attrs:{type:"info",icon:"el-icon-upload2",size:"mini"},on:{click:t.handleImport}},[t._v("导入")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:user:export"],expression:"['system:user:export']"}],attrs:{type:"warning",icon:"el-icon-download",size:"mini"},on:{click:t.handleExport}},[t._v("导出")])],1),n("right-toolbar",{attrs:{showSearch:t.showSearch},on:{"update:showSearch":function(e){t.showSearch=e},"update:show-search":function(e){t.showSearch=e},queryTable:t.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.userList},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"46",align:"center"}}),n("el-table-column",{attrs:{label:"用户ID",width:"80",align:"center",prop:"userId"}}),n("el-table-column",{attrs:{label:"用户名称",align:"center",prop:"nickName","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"登录名称",align:"center",prop:"userName","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"部门",align:"center",prop:"dept.deptName","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"手机",align:"center",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{domProps:{textContent:t._s(t.telNo(e.row.phonenumber))}})]}}])}),n("el-table-column",{attrs:{label:"用户状态",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-switch",{attrs:{"active-color":"#21C7CB","active-value":"0","inactive-value":"1"},on:{change:function(n){return t.handleStatusChange(e.row)}},model:{value:e.row.status,callback:function(n){t.$set(e.row,"status",n)},expression:"scope.row.status"}})]}}])}),n("el-table-column",{attrs:{label:"创建时间",align:"center",prop:"createTime",width:"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.parseTime(e.row.createTime)))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center",width:"270","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:user:edit"],expression:"['system:user:edit']"}],attrs:{size:"mini",icon:"el-icon-edit"},on:{click:function(n){return t.handleUpdate(e.row)}}},[t._v("修改")]),1!==e.row.userId?n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:user:remove"],expression:"['system:user:remove']"}],attrs:{size:"mini",type:"danger",icon:"el-icon-delete"},on:{click:function(n){return t.handleDelete(e.row)}}},[t._v("删除")]):t._e(),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:user:resetPwd"],expression:"['system:user:resetPwd']"}],attrs:{size:"mini",type:"warning",icon:"el-icon-key"},on:{click:function(n){return t.handleResetPwd(e.row)}}},[t._v("重置")]),n("el-button",{attrs:{size:"mini",type:"cyan",icon:"el-icon-key"}},[t._v("发送邮件")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(e){return t.$set(t.queryParams,"pageNum",e)},"update:limit":function(e){return t.$set(t.queryParams,"pageSize",e)},pagination:t.getList}})],1)],1)])],1),n("el-dialog",{attrs:{title:t.title,visible:t.open,width:"600px","append-to-body":""},on:{"update:visible":function(e){t.open=e}}},[n("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"80px"}},[n("el-row",[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"用户昵称",prop:"nickName"}},[n("el-input",{attrs:{placeholder:"请输入用户昵称"},model:{value:t.form.nickName,callback:function(e){t.$set(t.form,"nickName",e)},expression:"form.nickName"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"归属部门",prop:"deptId"}},[n("treeselect",{attrs:{options:t.deptOptions,"show-count":!0,placeholder:"请选择归属部门"},model:{value:t.form.deptId,callback:function(e){t.$set(t.form,"deptId",e)},expression:"form.deptId"}})],1)],1)],1),n("el-row",[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"手机号码",prop:"phonenumber"}},[n("el-input",{attrs:{placeholder:"请输入手机号码",maxlength:"11"},model:{value:t.form.phonenumber,callback:function(e){t.$set(t.form,"phonenumber",e)},expression:"form.phonenumber"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"邮箱",prop:"email"}},[n("el-input",{attrs:{placeholder:"请输入邮箱",maxlength:"50"},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}})],1)],1)],1),n("el-row",[n("el-col",{attrs:{span:12}},[void 0==t.form.userId?n("el-form-item",{attrs:{label:"用户名称",prop:"userName"}},[n("el-input",{attrs:{placeholder:"请输入用户名称"},model:{value:t.form.userName,callback:function(e){t.$set(t.form,"userName",e)},expression:"form.userName"}})],1):t._e()],1),n("el-col",{attrs:{span:12}},[void 0==t.form.userId?n("el-form-item",{attrs:{label:"用户密码",prop:"password"}},[n("el-input",{attrs:{placeholder:"请输入用户密码",type:"password"},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1):t._e()],1)],1),n("el-row",[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"用户性别"}},[n("el-select",{attrs:{placeholder:"请选择"},model:{value:t.form.sex,callback:function(e){t.$set(t.form,"sex",e)},expression:"form.sex"}},t._l(t.sexOptions,(function(t){return n("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:t.dictValue}})})),1)],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"状态"}},[n("el-radio-group",{model:{value:t.form.status,callback:function(e){t.$set(t.form,"status",e)},expression:"form.status"}},t._l(t.statusOptions,(function(e){return n("el-radio",{key:e.dictValue,attrs:{label:e.dictValue}},[t._v(t._s(e.dictLabel))])})),1)],1)],1)],1),n("el-row",[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"岗位"}},[n("el-select",{attrs:{multiple:"",placeholder:"请选择"},model:{value:t.form.postIds,callback:function(e){t.$set(t.form,"postIds",e)},expression:"form.postIds"}},t._l(t.postOptions,(function(t){return n("el-option",{key:t.postId,attrs:{label:t.postName,value:t.postId,disabled:1==t.status}})})),1)],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"角色"}},[n("el-select",{attrs:{multiple:"",placeholder:"请选择"},model:{value:t.form.roleIds,callback:function(e){t.$set(t.form,"roleIds",e)},expression:"form.roleIds"}},t._l(t.roleOptions,(function(t){return n("el-option",{key:t.roleId,attrs:{label:t.roleName,value:t.roleId,disabled:1==t.status}})})),1)],1)],1)],1),n("el-row",[n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"备注"}},[n("el-input",{attrs:{type:"textarea",placeholder:"请输入内容"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("确 定")]),n("el-button",{on:{click:t.cancel}},[t._v("取 消")])],1)],1),n("el-dialog",{attrs:{title:t.upload.title,visible:t.upload.open,width:"400px","append-to-body":""},on:{"update:visible":function(e){return t.$set(t.upload,"open",e)}}},[n("el-upload",{ref:"upload",attrs:{limit:1,accept:".xlsx, .xls",headers:t.upload.headers,action:t.upload.url+"?updateSupport="+t.upload.updateSupport,disabled:t.upload.isUploading,"on-progress":t.handleFileUploadProgress,"on-success":t.handleFileSuccess,"auto-upload":!1,drag:""}},[n("i",{staticClass:"el-icon-upload"}),n("div",{staticClass:"el-upload__text"},[t._v(" 将文件拖到此处,或 "),n("em",[t._v("点击上传")])]),n("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[n("el-checkbox",{model:{value:t.upload.updateSupport,callback:function(e){t.$set(t.upload,"updateSupport",e)},expression:"upload.updateSupport"}}),t._v("是否更新已经存在的用户数据 "),n("el-link",{staticStyle:{"font-size":"14px"},attrs:{type:"primary"},on:{click:t.importTemplate}},[t._v("下载模板")])],1),n("div",{staticClass:"el-upload__tip",staticStyle:{color:"red"},attrs:{slot:"tip"},slot:"tip"},[t._v("提示:仅允许导入“xls”或“xlsx”格式文件!")])]),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.submitFileForm}},[t._v("确 定")]),n("el-button",{on:{click:function(e){t.upload.open=!1}}},[t._v("取 消")])],1)],1)],1)},i=[],a=n("5530"),o=(n("4de4"),n("d3b7"),n("d81d"),n("c0c7")),A=n("5f87"),s=n("fcb7"),l=n("ca17"),c=n.n(l),u=(n("542c"),{name:"User",components:{Treeselect:c.a},data:function(){return{loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,userList:null,title:"",deptOptions:void 0,open:!1,deptName:void 0,initPassword:void 0,dateRange:[],statusOptions:[],sexOptions:[],postOptions:[],roleOptions:[],form:{},defaultProps:{children:"children",label:"label"},upload:{open:!1,title:"",isUploading:!1,updateSupport:0,headers:{Authorization:"Bearer "+Object(A["a"])()},url:"http://10.52.200.159:8080/shanghaigateway//system/user/importData"},queryParams:{pageNum:1,pageSize:10,userName:void 0,phonenumber:void 0,status:void 0,deptId:void 0},rules:{userName:[{required:!0,message:"用户名称不能为空",trigger:"blur"}],nickName:[{required:!0,message:"用户昵称不能为空",trigger:"blur"}],deptId:[{required:!0,message:"归属部门不能为空",trigger:"blur"}],password:[{required:!0,message:"用户密码不能为空",trigger:"blur"}],email:[{required:!0,message:"邮箱地址不能为空",trigger:"blur"},{type:"email",message:"'请输入正确的邮箱地址",trigger:["blur","change"]}],phonenumber:[{required:!0,message:"手机号码不能为空",trigger:"blur"},{pattern:/^1[3|4|5|6|7|8|9][0-9]\d{8}$/,message:"请输入正确的手机号码",trigger:"blur"}]},deptCol:4,dataCol:20,isHideTreeIcon:{divClass:"showTreeIcon",arrowClass:"el-icon-arrow-left"},isShowDept:!0}},watch:{deptName:function(t){this.$refs.tree.filter(t)}},created:function(){var t=this;this.getList(),this.getTreeselect(),this.getDicts("sys_normal_disable").then((function(e){t.statusOptions=e.data})),this.getDicts("sys_user_sex").then((function(e){t.sexOptions=e.data})),this.getConfigKey("sys.user.initPassword").then((function(e){t.initPassword=e.msg}))},methods:{getList:function(){var t=this;this.loading=!0,Object(o["f"])(this.addDateRange(this.queryParams,this.dateRange)).then((function(e){t.userList=e.rows,t.total=e.total,t.loading=!1}))},getTreeselect:function(){var t=this;Object(s["g"])().then((function(e){t.deptOptions=e.data}))},filterNode:function(t,e){return!t||-1!==e.label.indexOf(t)},handleNodeClick:function(t){this.queryParams.deptId=t.id,this.getList()},handleStatusChange:function(t){var e=this,n="0"===t.status?"启用":"停用";this.$confirm('确认要"'+n+'""'+t.userName+'"用户吗?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(o["b"])(t.userId,t.status)})).then((function(){e.msgSuccess(n+"成功")})).catch((function(){t.status="0"===t.status?"1":"0"}))},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={userId:void 0,deptId:void 0,userName:void 0,nickName:void 0,password:void 0,phonenumber:void 0,email:void 0,sex:void 0,status:"0",remark:void 0,postIds:[],roleIds:[]},this.resetForm("form")},handleQuery:function(){this.queryParams.page=1,this.getList()},resetQuery:function(){this.dateRange=[],this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(t){this.ids=t.map((function(t){return t.userId})),this.single=1!=t.length,this.multiple=!t.length},handleAdd:function(){var t=this;this.reset(),this.getTreeselect(),Object(o["d"])().then((function(e){t.postOptions=e.posts,t.roleOptions=e.roles,t.open=!0,t.title="添加用户",t.form.password=t.initPassword}))},handleUpdate:function(t){var e=this;this.reset(),this.getTreeselect();var n=t.userId||this.ids;Object(o["d"])(n).then((function(t){e.form=t.data,e.postOptions=t.posts,e.roleOptions=t.roles,e.form.postIds=t.postIds,e.form.roleIds=t.roleIds,e.open=!0,e.title="修改用户",e.form.password=""}))},handleResetPwd:function(t){var e=this;this.$prompt('请输入"'+t.userName+'"的新密码',"提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then((function(n){var r=n.value;Object(o["g"])(t.userId,r).then((function(t){e.msgSuccess("修改成功,新密码是:"+r)}))})).catch((function(){}))},submitForm:function(){var t=this;this.$refs["form"].validate((function(e){e&&(void 0!=t.form.userId?Object(o["h"])(t.form).then((function(e){t.msgSuccess("修改成功"),t.open=!1,t.getList()})):Object(o["a"])(t.form).then((function(e){t.msgSuccess("新增成功"),t.open=!1,t.getList()})))}))},handleDelete:function(t){var e=this,n=t.userId||this.ids;this.$confirm('是否确认删除用户编号为"'+n+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(o["c"])(n)})).then((function(){e.getList(),e.msgSuccess("删除成功")}))},handleExport:function(){this.download("system/user/export",Object(a["a"])({},this.queryParams),"user_".concat((new Date).getTime(),".xlsx"))},handleImport:function(){this.upload.title="用户导入",this.upload.open=!0},importTemplate:function(){this.download("system/user/importTemplate",Object(a["a"])({},this.queryParams),"user_".concat((new Date).getTime(),".xlsx"))},handleFileUploadProgress:function(t,e,n){this.upload.isUploading=!0},handleFileSuccess:function(t,e,n){this.upload.open=!1,this.upload.isUploading=!1,this.$refs.upload.clearFiles(),this.$alert(t.msg,"导入结果",{dangerouslyUseHTMLString:!0}),this.getList()},submitFileForm:function(){this.$refs.upload.submit()},toggleDeptClick:function(){this.isShowDept=!this.isShowDept,this.isShowDept?(this.deptCol=4,this.dataCol=20,this.isHideTreeIcon.divClass="hideTreeIcon",this.isHideTreeIcon.arrowClass="el-icon-arrow-left"):(this.deptCol=0,this.dataCol=24,this.isHideTreeIcon.divClass="showTreeIcon",this.isHideTreeIcon.arrowClass="el-icon-arrow-right")}}}),d=u,h=(n("79eb"),n("dab2"),n("2877")),f=Object(h["a"])(d,r,i,!1,null,"29215de2",null);e["default"]=f.exports},"1fb5":function(t,e,n){"use strict";e.byteLength=c,e.toByteArray=d,e.fromByteArray=p;for(var r=[],i=[],a="undefined"!==typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",A=0,s=o.length;A<s;++A)r[A]=o[A],i[o.charCodeAt(A)]=A;function l(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var r=n===e?0:4-n%4;return[n,r]}function c(t){var e=l(t),n=e[0],r=e[1];return 3*(n+r)/4-r}function u(t,e,n){return 3*(e+n)/4-n}function d(t){var e,n,r=l(t),o=r[0],A=r[1],s=new a(u(t,o,A)),c=0,d=A>0?o-4:o;for(n=0;n<d;n+=4)e=i[t.charCodeAt(n)]<<18|i[t.charCodeAt(n+1)]<<12|i[t.charCodeAt(n+2)]<<6|i[t.charCodeAt(n+3)],s[c++]=e>>16&255,s[c++]=e>>8&255,s[c++]=255&e;return 2===A&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,s[c++]=255&e),1===A&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,s[c++]=e>>8&255,s[c++]=255&e),s}function h(t){return r[t>>18&63]+r[t>>12&63]+r[t>>6&63]+r[63&t]}function f(t,e,n){for(var r,i=[],a=e;a<n;a+=3)r=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(255&t[a+2]),i.push(h(r));return i.join("")}function p(t){for(var e,n=t.length,i=n%3,a=[],o=16383,A=0,s=n-i;A<s;A+=o)a.push(f(t,A,A+o>s?s:A+o));return 1===i?(e=t[n-1],a.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],a.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},2026:function(t,e,n){},"202d":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:t.queryParams,inline:!0,"label-width":"68px"}},[n("el-form-item",{attrs:{label:"公告标题",prop:"noticeTitle"}},[n("el-input",{attrs:{placeholder:"请输入公告标题",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.noticeTitle,callback:function(e){t.$set(t.queryParams,"noticeTitle",e)},expression:"queryParams.noticeTitle"}})],1),n("el-form-item",{attrs:{label:"操作人员",prop:"createBy"}},[n("el-input",{attrs:{placeholder:"请输入操作人员",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.createBy,callback:function(e){t.$set(t.queryParams,"createBy",e)},expression:"queryParams.createBy"}})],1),n("el-form-item",{attrs:{label:"类型",prop:"noticeType"}},[n("el-select",{attrs:{placeholder:"公告类型",clearable:"",size:"small"},model:{value:t.queryParams.noticeType,callback:function(e){t.$set(t.queryParams,"noticeType",e)},expression:"queryParams.noticeType"}},t._l(t.typeOptions,(function(t){return n("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:t.dictValue}})})),1)],1),n("el-form-item",[n("el-button",{attrs:{type:"cyan",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1),n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:notice:add"],expression:"['system:notice:add']"}],attrs:{type:"primary",icon:"el-icon-plus",size:"mini"},on:{click:t.handleAdd}},[t._v("新增")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:notice:edit"],expression:"['system:notice:edit']"}],attrs:{type:"success",icon:"el-icon-edit",size:"mini",disabled:t.single},on:{click:t.handleUpdate}},[t._v("修改")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:notice:remove"],expression:"['system:notice:remove']"}],attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:t.multiple},on:{click:t.handleDelete}},[t._v("删除")])],1),n("right-toolbar",{attrs:{showSearch:t.showSearch},on:{"update:showSearch":function(e){t.showSearch=e},"update:show-search":function(e){t.showSearch=e},queryTable:t.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.noticeList},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),n("el-table-column",{attrs:{label:"序号",align:"center",prop:"noticeId",width:"100"}}),n("el-table-column",{attrs:{label:"公告标题",align:"center",prop:"noticeTitle","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"公告类型",align:"center",prop:"noticeType",formatter:t.typeFormat,width:"100"}}),n("el-table-column",{attrs:{label:"状态",align:"center",prop:"status",formatter:t.statusFormat,width:"100"}}),n("el-table-column",{attrs:{label:"创建者",align:"center",prop:"createBy",width:"100"}}),n("el-table-column",{attrs:{label:"创建时间",align:"center",prop:"createTime",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.parseTime(e.row.createTime,"{y}-{m}-{d}")))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:notice:edit"],expression:"['system:notice:edit']"}],attrs:{size:"mini",type:"text",icon:"el-icon-edit"},on:{click:function(n){return t.handleUpdate(e.row)}}},[t._v("修改")]),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:notice:remove"],expression:"['system:notice:remove']"}],attrs:{size:"mini",type:"text",icon:"el-icon-delete"},on:{click:function(n){return t.handleDelete(e.row)}}},[t._v("删除")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(e){return t.$set(t.queryParams,"pageNum",e)},"update:limit":function(e){return t.$set(t.queryParams,"pageSize",e)},pagination:t.getList}}),n("el-dialog",{attrs:{title:t.title,visible:t.open,width:"780px","append-to-body":""},on:{"update:visible":function(e){t.open=e}}},[n("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"80px"}},[n("el-row",[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"公告标题",prop:"noticeTitle"}},[n("el-input",{attrs:{placeholder:"请输入公告标题"},model:{value:t.form.noticeTitle,callback:function(e){t.$set(t.form,"noticeTitle",e)},expression:"form.noticeTitle"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"公告类型",prop:"noticeType"}},[n("el-select",{attrs:{placeholder:"请选择"},model:{value:t.form.noticeType,callback:function(e){t.$set(t.form,"noticeType",e)},expression:"form.noticeType"}},t._l(t.typeOptions,(function(t){return n("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:t.dictValue}})})),1)],1)],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"状态"}},[n("el-radio-group",{model:{value:t.form.status,callback:function(e){t.$set(t.form,"status",e)},expression:"form.status"}},t._l(t.statusOptions,(function(e){return n("el-radio",{key:e.dictValue,attrs:{label:e.dictValue}},[t._v(t._s(e.dictLabel))])})),1)],1)],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"内容"}},[n("editor",{attrs:{"min-height":192},model:{value:t.form.noticeContent,callback:function(e){t.$set(t.form,"noticeContent",e)},expression:"form.noticeContent"}})],1)],1)],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("确 定")]),n("el-button",{on:{click:t.cancel}},[t._v("取 消")])],1)],1)],1)},i=[],a=(n("d81d"),n("b775"));function o(t){return Object(a["a"])({url:"/system/notice/list",method:"get",params:t})}function A(t){return Object(a["a"])({url:"/system/notice/"+t,method:"get"})}function s(t){return Object(a["a"])({url:"/system/notice",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/system/notice",method:"put",data:t})}function c(t){return Object(a["a"])({url:"/system/notice/"+t,method:"delete"})}var u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"editor",staticClass:"editor",style:t.styles})},d=[],h=(n("a9e3"),n("99af"),n("9339")),f=n.n(h),p=(n("a7539"),n("8096"),n("14e1"),{name:"Editor",props:{value:{type:String,default:""},height:{type:Number,default:null},minHeight:{type:Number,default:null}},data:function(){return{Quill:null,currentValue:"",options:{theme:"snow",bounds:document.body,debug:"warn",modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{list:"ordered"},{list:"bullet"}],[{indent:"-1"},{indent:"+1"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"请输入内容",readOnly:!1}}},computed:{styles:function(){var t={};return this.minHeight&&(t.minHeight="".concat(this.minHeight,"px")),this.height&&(t.height="".concat(this.height,"px")),t}},watch:{value:{handler:function(t){t!==this.currentValue&&(this.currentValue=null===t?"":t,this.Quill&&this.Quill.pasteHTML(this.currentValue))},immediate:!0}},mounted:function(){this.init()},beforeDestroy:function(){this.Quill=null},methods:{init:function(){var t=this,e=this.$refs.editor;this.Quill=new f.a(e,this.options),this.Quill.pasteHTML(this.currentValue),this.Quill.on("text-change",(function(e,n,r){var i=t.$refs.editor.children[0].innerHTML,a=t.Quill.getText(),o=t.Quill;t.currentValue=i,t.$emit("input",i),t.$emit("on-change",{html:i,text:a,quill:o})})),this.Quill.on("text-change",(function(e,n,r){t.$emit("on-text-change",e,n,r)})),this.Quill.on("selection-change",(function(e,n,r){t.$emit("on-selection-change",e,n,r)})),this.Quill.on("editor-change",(function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t.$emit.apply(t,["on-editor-change",e].concat(r))}))}}}),m=p,g=(n("4ff4"),n("2877")),v=Object(g["a"])(m,u,d,!1,null,null,null),_=v.exports,y={name:"Notice",components:{Editor:_},data:function(){return{loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,noticeList:[],title:"",open:!1,statusOptions:[],typeOptions:[],queryParams:{pageNum:1,pageSize:10,noticeTitle:void 0,createBy:void 0,status:void 0},form:{},rules:{noticeTitle:[{required:!0,message:"公告标题不能为空",trigger:"blur"}],noticeType:[{required:!0,message:"公告类型不能为空",trigger:"blur"}]}}},created:function(){var t=this;this.getList(),this.getDicts("sys_notice_status").then((function(e){t.statusOptions=e.data})),this.getDicts("sys_notice_type").then((function(e){t.typeOptions=e.data}))},methods:{getList:function(){var t=this;this.loading=!0,o(this.queryParams).then((function(e){t.noticeList=e.rows,t.total=e.total,t.loading=!1}))},statusFormat:function(t,e){return this.selectDictLabel(this.statusOptions,t.status)},typeFormat:function(t,e){return this.selectDictLabel(this.typeOptions,t.noticeType)},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={noticeId:void 0,noticeTitle:void 0,noticeType:void 0,noticeContent:void 0,status:"0"},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(t){this.ids=t.map((function(t){return t.noticeId})),this.single=1!=t.length,this.multiple=!t.length},handleAdd:function(){this.reset(),this.open=!0,this.title="添加公告"},handleUpdate:function(t){var e=this;this.reset();var n=t.noticeId||this.ids;A(n).then((function(t){e.form=t.data,e.open=!0,e.title="修改公告"}))},submitForm:function(){var t=this;this.$refs["form"].validate((function(e){e&&(void 0!=t.form.noticeId?l(t.form).then((function(e){t.msgSuccess("修改成功"),t.open=!1,t.getList()})):s(t.form).then((function(e){t.msgSuccess("新增成功"),t.open=!1,t.getList()})))}))},handleDelete:function(t){var e=this,n=t.noticeId||this.ids;this.$confirm('是否确认删除公告编号为"'+n+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return c(n)})).then((function(){e.getList(),e.msgSuccess("删除成功")}))}}},b=y,w=Object(g["a"])(b,r,i,!1,null,null,null);e["default"]=w.exports},"219c":function(t,e,n){"use strict";var r=n("ebb5"),i=r.aTypedArray,a=r.exportTypedArrayMethod,o=[].sort;a("sort",(function(t){return o.call(i(this),t)}))},"21a6":function(t,e,n){(function(n){var r,i,a;(function(n,o){i=[],r=o,a="function"===typeof r?r.apply(e,i):r,void 0===a||(t.exports=a)})(0,(function(){"use strict";function e(t,e){return"undefined"==typeof e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}function r(t,e,n){var r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){A(r.response,e,n)},r.onerror=function(){console.error("could not download file")},r.send()}function i(t){var e=new XMLHttpRequest;return e.open("HEAD",t,!1),e.send(),200<=e.status&&299>=e.status}function a(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(r){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var o="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,A=o.saveAs||("object"!=typeof window||window!==o?function(){}:"download"in HTMLAnchorElement.prototype?function(t,e,n){var A=o.URL||o.webkitURL,s=document.createElement("a");e=e||t.name||"download",s.download=e,s.rel="noopener","string"==typeof t?(s.href=t,s.origin===location.origin?a(s):i(s.href)?r(t,e,n):a(s,s.target="_blank")):(s.href=A.createObjectURL(t),setTimeout((function(){A.revokeObjectURL(s.href)}),4e4),setTimeout((function(){a(s)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,n,o){if(n=n||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(e(t,o),n);else if(i(t))r(t,n,o);else{var A=document.createElement("a");A.href=t,A.target="_blank",setTimeout((function(){a(A)}))}}:function(t,e,n,i){if(i=i||open("","_blank"),i&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof t)return r(t,e,n);var a="application/octet-stream"===t.type,A=/constructor/i.test(o.HTMLElement)||o.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||a&&A)&&"object"==typeof FileReader){var l=new FileReader;l.onloadend=function(){var t=l.result;t=s?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=t:location=t,i=null},l.readAsDataURL(t)}else{var c=o.URL||o.webkitURL,u=c.createObjectURL(t);i?i.location=u:location.href=u,i=null,setTimeout((function(){c.revokeObjectURL(u)}),4e4)}});o.saveAs=A.saveAs=A,t.exports=A}))}).call(this,n("c8ba"))},2473:function(t,e,n){"use strict";n("962a")},"25a1":function(t,e,n){"use strict";var r=n("ebb5"),i=n("d58f").right,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("reduceRight",(function(t){return i(a(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},"26ab":function(t,e,n){"use strict";n("cbc2")},"26fc":function(t,e,n){t.exports=n.p+"static/img/404_cloud.0f4bc32b.png"},2754:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wscn-http404-container"},[n("div",{staticClass:"wscn-http404"},[t._m(0),n("div",{staticClass:"bullshit"},[n("div",{staticClass:"bullshit__oops"},[t._v(" 404错误! ")]),n("div",{staticClass:"bullshit__headline"},[t._v(" "+t._s(t.message)+" ")]),n("div",{staticClass:"bullshit__info"},[t._v(" 对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。 ")]),n("router-link",{staticClass:"bullshit__return-home",attrs:{to:"/"}},[t._v(" 返回首页 ")])],1)])])},i=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"pic-404"},[r("img",{staticClass:"pic-404__parent",attrs:{src:n("a36b"),alt:"404"}}),r("img",{staticClass:"pic-404__child left",attrs:{src:n("26fc"),alt:"404"}}),r("img",{staticClass:"pic-404__child mid",attrs:{src:n("26fc"),alt:"404"}}),r("img",{staticClass:"pic-404__child right",attrs:{src:n("26fc"),alt:"404"}})])}],a={name:"Page404",computed:{message:function(){return"找不到网页!"}}},o=a,A=(n("61b6"),n("2877")),s=Object(A["a"])(o,r,i,!1,null,"279ea4b2",null);e["default"]=s.exports},2855:function(t,e,n){"use strict";n.r(e);var r,i,a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("div",{staticClass:"left-board"},[n("div",{staticClass:"logo-wrapper"},[n("div",{staticClass:"logo"},[n("img",{attrs:{src:t.logo,alt:"logo"}}),t._v(" Form Generator ")])]),n("el-scrollbar",{staticClass:"left-scrollbar"},[n("div",{staticClass:"components-list"},[n("div",{staticClass:"components-title"},[n("svg-icon",{attrs:{"icon-class":"component"}}),t._v("输入型组件 ")],1),n("draggable",{staticClass:"components-draggable",attrs:{list:t.inputComponents,group:{name:"componentsGroup",pull:"clone",put:!1},clone:t.cloneComponent,draggable:".components-item",sort:!1},on:{end:t.onEnd}},t._l(t.inputComponents,(function(e,r){return n("div",{key:r,staticClass:"components-item",on:{click:function(n){return t.addComponent(e)}}},[n("div",{staticClass:"components-body"},[n("svg-icon",{attrs:{"icon-class":e.tagIcon}}),t._v(" "+t._s(e.label)+" ")],1)])})),0),n("div",{staticClass:"components-title"},[n("svg-icon",{attrs:{"icon-class":"component"}}),t._v("选择型组件 ")],1),n("draggable",{staticClass:"components-draggable",attrs:{list:t.selectComponents,group:{name:"componentsGroup",pull:"clone",put:!1},clone:t.cloneComponent,draggable:".components-item",sort:!1},on:{end:t.onEnd}},t._l(t.selectComponents,(function(e,r){return n("div",{key:r,staticClass:"components-item",on:{click:function(n){return t.addComponent(e)}}},[n("div",{staticClass:"components-body"},[n("svg-icon",{attrs:{"icon-class":e.tagIcon}}),t._v(" "+t._s(e.label)+" ")],1)])})),0),n("div",{staticClass:"components-title"},[n("svg-icon",{attrs:{"icon-class":"component"}}),t._v(" 布局型组件 ")],1),n("draggable",{staticClass:"components-draggable",attrs:{list:t.layoutComponents,group:{name:"componentsGroup",pull:"clone",put:!1},clone:t.cloneComponent,draggable:".components-item",sort:!1},on:{end:t.onEnd}},t._l(t.layoutComponents,(function(e,r){return n("div",{key:r,staticClass:"components-item",on:{click:function(n){return t.addComponent(e)}}},[n("div",{staticClass:"components-body"},[n("svg-icon",{attrs:{"icon-class":e.tagIcon}}),t._v(" "+t._s(e.label)+" ")],1)])})),0)],1)])],1),n("div",{staticClass:"center-board"},[n("div",{staticClass:"action-bar"},[n("el-button",{attrs:{icon:"el-icon-download",type:"text"},on:{click:t.download}},[t._v(" 导出vue文件 ")]),n("el-button",{staticClass:"copy-btn-main",attrs:{icon:"el-icon-document-copy",type:"text"},on:{click:t.copy}},[t._v(" 复制代码 ")]),n("el-button",{staticClass:"delete-btn",attrs:{icon:"el-icon-delete",type:"text"},on:{click:t.empty}},[t._v(" 清空 ")])],1),n("el-scrollbar",{staticClass:"center-scrollbar"},[n("el-row",{staticClass:"center-board-row",attrs:{gutter:t.formConf.gutter}},[n("el-form",{attrs:{size:t.formConf.size,"label-position":t.formConf.labelPosition,disabled:t.formConf.disabled,"label-width":t.formConf.labelWidth+"px"}},[n("draggable",{staticClass:"drawing-board",attrs:{list:t.drawingList,animation:340,group:"componentsGroup"}},t._l(t.drawingList,(function(e,r){return n("draggable-item",{key:e.renderKey,attrs:{"drawing-list":t.drawingList,element:e,index:r,"active-id":t.activeId,"form-conf":t.formConf},on:{activeItem:t.activeFormItem,copyItem:t.drawingItemCopy,deleteItem:t.drawingItemDelete}})})),1),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.drawingList.length,expression:"!drawingList.length"}],staticClass:"empty-info"},[t._v(" 从左侧拖入或点选组件进行表单设计 ")])],1)],1)],1)],1),n("right-panel",{attrs:{"active-data":t.activeData,"form-conf":t.formConf,"show-field":!!t.drawingList.length},on:{"tag-change":t.tagChange}}),n("code-type-dialog",{attrs:{visible:t.dialogVisible,title:"选择生成类型","show-file-name":t.showFileName},on:{"update:visible":function(e){t.dialogVisible=e},confirm:t.generate}}),n("input",{attrs:{id:"copyNode",type:"hidden"}})],1)},o=[],A=n("53ca"),s=n("5530"),l=(n("ac1f"),n("5319"),n("e9c4"),n("d81d"),n("a434"),n("d3b7"),n("159b"),n("b64b"),n("c740"),n("1980")),c=n.n(l),u=n("21a6"),d=n("e552"),h=n.n(d),f=n("b311"),p=n.n(f),m=n("a85b"),g=n("766b"),v=n("2e2a"),_=n("ed08");n("99af"),n("a15b"),n("b0c0");function y(t){return'<el-dialog v-bind="$attrs" v-on="$listeners" @open="onOpen" @close="onClose" title="Dialog Titile">\n '.concat(t,'\n <div slot="footer">\n <el-button @click="close">取消</el-button>\n <el-button type="primary" @click="handelConfirm">确定</el-button>\n </div>\n </el-dialog>')}function b(t){return"<template>\n <div>\n ".concat(t,"\n </div>\n </template>")}function w(t){return"<script>\n ".concat(t,"\n <\/script>")}function B(t){return"<style>\n ".concat(t,"\n </style>")}function x(t,e,n){var r="";"right"!==t.labelPosition&&(r='label-position="'.concat(t.labelPosition,'"'));var a=t.disabled?':disabled="'.concat(t.disabled,'"'):"",o='<el-form ref="'.concat(t.formRef,'" :model="').concat(t.formModel,'" :rules="').concat(t.formRules,'" size="').concat(t.size,'" ').concat(a,' label-width="').concat(t.labelWidth,'px" ').concat(r,">\n ").concat(e,"\n ").concat(C(t,n),"\n </el-form>");return i&&(o='<el-row :gutter="'.concat(t.gutter,'">\n ').concat(o,"\n </el-row>")),o}function C(t,e){var n="";return t.formBtns&&"file"===e&&(n='<el-form-item size="large">\n <el-button type="primary" @click="submitForm">提交</el-button>\n <el-button @click="resetForm">重置</el-button>\n </el-form-item>',i&&(n='<el-col :span="24">\n '.concat(n,"\n </el-col>"))),n}function k(t,e){return i||24!==t.span?'<el-col :span="'.concat(t.span,'">\n ').concat(e,"\n </el-col>"):e}var Q={colFormItem:function(t){var e="";t.labelWidth&&t.labelWidth!==r.labelWidth&&(e='label-width="'.concat(t.labelWidth,'px"'));var n=!v["e"][t.tag]&&t.required?"required":"",i=E[t.tag]?E[t.tag](t):null,a="<el-form-item ".concat(e,' label="').concat(t.label,'" prop="').concat(t.vModel,'" ').concat(n,">\n ").concat(i,"\n </el-form-item>");return a=k(t,a),a},rowFormItem:function(t){var e="default"===t.type?"":'type="'.concat(t.type,'"'),n="default"===t.type?"":'justify="'.concat(t.justify,'"'),r="default"===t.type?"":'align="'.concat(t.align,'"'),i=t.gutter?'gutter="'.concat(t.gutter,'"'):"",a=t.children.map((function(t){return Q[t.layout](t)})),o="<el-row ".concat(e," ").concat(n," ").concat(r," ").concat(i,">\n ").concat(a.join("\n"),"\n </el-row>");return o=k(t,o),o}},E={"el-button":function(t){var e=F(t),n=(e.tag,e.disabled),r=t.type?'type="'.concat(t.type,'"'):"",i=t.icon?'icon="'.concat(t.icon,'"'):"",a=t.size?'size="'.concat(t.size,'"'):"",o=U(t);return o&&(o="\n".concat(o,"\n")),"<".concat(t.tag," ").concat(r," ").concat(i," ").concat(a," ").concat(n,">").concat(o,"</").concat(t.tag,">")},"el-input":function(t){var e=F(t),n=e.disabled,r=e.vModel,i=e.clearable,a=e.placeholder,o=e.width,A=t.maxlength?':maxlength="'.concat(t.maxlength,'"'):"",s=t["show-word-limit"]?"show-word-limit":"",l=t.readonly?"readonly":"",c=t["prefix-icon"]?"prefix-icon='".concat(t["prefix-icon"],"'"):"",u=t["suffix-icon"]?"suffix-icon='".concat(t["suffix-icon"],"'"):"",d=t["show-password"]?"show-password":"",h=t.type?'type="'.concat(t.type,'"'):"",f=t.autosize&&t.autosize.minRows?':autosize="{minRows: '.concat(t.autosize.minRows,", maxRows: ").concat(t.autosize.maxRows,'}"'):"",p=O(t);return p&&(p="\n".concat(p,"\n")),"<".concat(t.tag," ").concat(r," ").concat(h," ").concat(a," ").concat(A," ").concat(s," ").concat(l," ").concat(n," ").concat(i," ").concat(c," ").concat(u," ").concat(d," ").concat(f," ").concat(o,">").concat(p,"</").concat(t.tag,">")},"el-input-number":function(t){var e=F(t),n=e.disabled,r=e.vModel,i=e.placeholder,a=t["controls-position"]?"controls-position=".concat(t["controls-position"]):"",o=t.min?":min='".concat(t.min,"'"):"",A=t.max?":max='".concat(t.max,"'"):"",s=t.step?":step='".concat(t.step,"'"):"",l=t["step-strictly"]?"step-strictly":"",c=t.precision?":precision='".concat(t.precision,"'"):"";return"<".concat(t.tag," ").concat(r," ").concat(i," ").concat(s," ").concat(l," ").concat(c," ").concat(a," ").concat(o," ").concat(A," ").concat(n,"></").concat(t.tag,">")},"el-select":function(t){var e=F(t),n=e.disabled,r=e.vModel,i=e.clearable,a=e.placeholder,o=e.width,A=t.filterable?"filterable":"",s=t.multiple?"multiple":"",l=S(t);return l&&(l="\n".concat(l,"\n")),"<".concat(t.tag," ").concat(r," ").concat(a," ").concat(n," ").concat(s," ").concat(A," ").concat(i," ").concat(o,">").concat(l,"</").concat(t.tag,">")},"el-radio-group":function(t){var e=F(t),n=e.disabled,r=e.vModel,i='size="'.concat(t.size,'"'),a=T(t);return a&&(a="\n".concat(a,"\n")),"<".concat(t.tag," ").concat(r," ").concat(i," ").concat(n,">").concat(a,"</").concat(t.tag,">")},"el-checkbox-group":function(t){var e=F(t),n=e.disabled,r=e.vModel,i='size="'.concat(t.size,'"'),a=t.min?':min="'.concat(t.min,'"'):"",o=t.max?':max="'.concat(t.max,'"'):"",A=I(t);return A&&(A="\n".concat(A,"\n")),"<".concat(t.tag," ").concat(r," ").concat(a," ").concat(o," ").concat(i," ").concat(n,">").concat(A,"</").concat(t.tag,">")},"el-switch":function(t){var e=F(t),n=e.disabled,r=e.vModel,i=t["active-text"]?'active-text="'.concat(t["active-text"],'"'):"",a=t["inactive-text"]?'inactive-text="'.concat(t["inactive-text"],'"'):"",o=t["active-color"]?'active-color="'.concat(t["active-color"],'"'):"",A=t["inactive-color"]?'inactive-color="'.concat(t["inactive-color"],'"'):"",s=!0!==t["active-value"]?":active-value='".concat(JSON.stringify(t["active-value"]),"'"):"",l=!1!==t["inactive-value"]?":inactive-value='".concat(JSON.stringify(t["inactive-value"]),"'"):"";return"<".concat(t.tag," ").concat(r," ").concat(i," ").concat(a," ").concat(o," ").concat(A," ").concat(s," ").concat(l," ").concat(n,"></").concat(t.tag,">")},"el-cascader":function(t){var e=F(t),n=e.disabled,r=e.vModel,i=e.clearable,a=e.placeholder,o=e.width,A=t.options?':options="'.concat(t.vModel,'Options"'):"",s=t.props?':props="'.concat(t.vModel,'Props"'):"",l=t["show-all-levels"]?"":':show-all-levels="false"',c=t.filterable?"filterable":"",u="/"===t.separator?"":'separator="'.concat(t.separator,'"');return"<".concat(t.tag," ").concat(r," ").concat(A," ").concat(s," ").concat(o," ").concat(l," ").concat(a," ").concat(u," ").concat(c," ").concat(i," ").concat(n,"></").concat(t.tag,">")},"el-slider":function(t){var e=F(t),n=e.disabled,r=e.vModel,i=t.min?":min='".concat(t.min,"'"):"",a=t.max?":max='".concat(t.max,"'"):"",o=t.step?":step='".concat(t.step,"'"):"",A=t.range?"range":"",s=t["show-stops"]?':show-stops="'.concat(t["show-stops"],'"'):"";return"<".concat(t.tag," ").concat(i," ").concat(a," ").concat(o," ").concat(r," ").concat(A," ").concat(s," ").concat(n,"></").concat(t.tag,">")},"el-time-picker":function(t){var e=F(t),n=e.disabled,r=e.vModel,i=e.clearable,a=e.placeholder,o=e.width,A=t["start-placeholder"]?'start-placeholder="'.concat(t["start-placeholder"],'"'):"",s=t["end-placeholder"]?'end-placeholder="'.concat(t["end-placeholder"],'"'):"",l=t["range-separator"]?'range-separator="'.concat(t["range-separator"],'"'):"",c=t["is-range"]?"is-range":"",u=t.format?'format="'.concat(t.format,'"'):"",d=t["value-format"]?'value-format="'.concat(t["value-format"],'"'):"",h=t["picker-options"]?":picker-options='".concat(JSON.stringify(t["picker-options"]),"'"):"";return"<".concat(t.tag," ").concat(r," ").concat(c," ").concat(u," ").concat(d," ").concat(h," ").concat(o," ").concat(a," ").concat(A," ").concat(s," ").concat(l," ").concat(i," ").concat(n,"></").concat(t.tag,">")},"el-date-picker":function(t){var e=F(t),n=e.disabled,r=e.vModel,i=e.clearable,a=e.placeholder,o=e.width,A=t["start-placeholder"]?'start-placeholder="'.concat(t["start-placeholder"],'"'):"",s=t["end-placeholder"]?'end-placeholder="'.concat(t["end-placeholder"],'"'):"",l=t["range-separator"]?'range-separator="'.concat(t["range-separator"],'"'):"",c=t.format?'format="'.concat(t.format,'"'):"",u=t["value-format"]?'value-format="'.concat(t["value-format"],'"'):"",d="date"===t.type?"":'type="'.concat(t.type,'"'),h=t.readonly?"readonly":"";return"<".concat(t.tag," ").concat(d," ").concat(r," ").concat(c," ").concat(u," ").concat(o," ").concat(a," ").concat(A," ").concat(s," ").concat(l," ").concat(i," ").concat(h," ").concat(n,"></").concat(t.tag,">")},"el-rate":function(t){var e=F(t),n=e.disabled,r=e.vModel,i=(t.max&&":max='".concat(t.max,"'"),t["allow-half"]?"allow-half":""),a=t["show-text"]?"show-text":"",o=t["show-score"]?"show-score":"";return"<".concat(t.tag," ").concat(r," ").concat(i," ").concat(a," ").concat(o," ").concat(n,"></").concat(t.tag,">")},"el-color-picker":function(t){var e=F(t),n=e.disabled,r=e.vModel,i='size="'.concat(t.size,'"'),a=t["show-alpha"]?"show-alpha":"",o=t["color-format"]?'color-format="'.concat(t["color-format"],'"'):"";return"<".concat(t.tag," ").concat(r," ").concat(i," ").concat(a," ").concat(o," ").concat(n,"></").concat(t.tag,">")},"el-upload":function(t){var e=t.disabled?":disabled='true'":"",n=t.action?':action="'.concat(t.vModel,'Action"'):"",r=t.multiple?"multiple":"",i="text"!==t["list-type"]?'list-type="'.concat(t["list-type"],'"'):"",a=t.accept?'accept="'.concat(t.accept,'"'):"",o="file"!==t.name?'name="'.concat(t.name,'"'):"",A=!1===t["auto-upload"]?':auto-upload="false"':"",s=':before-upload="'.concat(t.vModel,'BeforeUpload"'),l=':file-list="'.concat(t.vModel,'fileList"'),c='ref="'.concat(t.vModel,'"'),u=D(t);return u&&(u="\n".concat(u,"\n")),"<".concat(t.tag," ").concat(c," ").concat(l," ").concat(n," ").concat(A," ").concat(r," ").concat(s," ").concat(i," ").concat(a," ").concat(o," ").concat(e,">").concat(u,"</").concat(t.tag,">")}};function F(t){return{vModel:'v-model="'.concat(r.formModel,".").concat(t.vModel,'"'),clearable:t.clearable?"clearable":"",placeholder:t.placeholder?'placeholder="'.concat(t.placeholder,'"'):"",width:t.style&&t.style.width?":style=\"{width: '100%'}\"":"",disabled:t.disabled?":disabled='true'":""}}function U(t){var e=[];return t.default&&e.push(t.default),e.join("\n")}function O(t){var e=[];return t.prepend&&e.push('<template slot="prepend">'.concat(t.prepend,"</template>")),t.append&&e.push('<template slot="append">'.concat(t.append,"</template>")),e.join("\n")}function S(t){var e=[];return t.options&&t.options.length&&e.push('<el-option v-for="(item, index) in '.concat(t.vModel,'Options" :key="index" :label="item.label" :value="item.value" :disabled="item.disabled"></el-option>')),e.join("\n")}function T(t){var e=[];if(t.options&&t.options.length){var n="button"===t.optionType?"el-radio-button":"el-radio",r=t.border?"border":"";e.push("<".concat(n,' v-for="(item, index) in ').concat(t.vModel,'Options" :key="index" :label="item.value" :disabled="item.disabled" ').concat(r,">{{item.label}}</").concat(n,">"))}return e.join("\n")}function I(t){var e=[];if(t.options&&t.options.length){var n="button"===t.optionType?"el-checkbox-button":"el-checkbox",r=t.border?"border":"";e.push("<".concat(n,' v-for="(item, index) in ').concat(t.vModel,'Options" :key="index" :label="item.value" :disabled="item.disabled" ').concat(r,">{{item.label}}</").concat(n,">"))}return e.join("\n")}function D(t){var e=[];return"picture-card"===t["list-type"]?e.push('<i class="el-icon-plus"></i>'):e.push('<el-button size="small" type="primary" icon="el-icon-upload">'.concat(t.buttonText,"</el-button>")),t.showTip&&e.push('<div slot="tip" class="el-upload__tip">只能上传不超过 '.concat(t.fileSize).concat(t.sizeUnit," 的").concat(t.accept,"文件</div>")),e.join("\n")}function L(t,e){var n=[];r=t,i=t.fields.some((function(t){return 24!==t.span})),t.fields.forEach((function(t){n.push(Q[t.layout](t))}));var a=n.join("\n"),o=x(t,a,e);return"dialog"===e&&(o=y(o)),r=null,o}var P=n("80de"),N={"el-rate":".el-rate{display: inline-block; vertical-align: text-top;}","el-upload":".el-upload__tip{line-height: 1.2;}"};function H(t,e){var n=N[e.tag];n&&-1===t.indexOf(n)&&t.push(n),e.children&&e.children.forEach((function(e){return H(t,e)}))}function M(t){var e=[];return t.fields.forEach((function(t){return H(e,t)})),e.join("\n")}var j,R,K=[{layout:"colFormItem",tagIcon:"input",label:"手机号",vModel:"mobile",formId:6,tag:"el-input",placeholder:"请输入手机号",defaultValue:"",span:24,style:{width:"100%"},clearable:!0,prepend:"",append:"","prefix-icon":"el-icon-mobile","suffix-icon":"",maxlength:11,"show-word-limit":!0,readonly:!1,disabled:!1,required:!0,changeTag:!0,regList:[{pattern:"/^1(3|4|5|7|8|9)\\d{9}$/",message:"手机号格式错误"}]}],q=n("81a5"),V=n.n(q),z=n("a92a"),G=n("4923"),W={components:{draggable:c.a,render:m["a"],RightPanel:g["default"],CodeTypeDialog:z["default"],DraggableItem:G["default"]},data:function(){return{logo:V.a,idGlobal:100,formConf:v["a"],inputComponents:v["b"],selectComponents:v["d"],layoutComponents:v["c"],labelWidth:100,drawingList:K,drawingData:{},activeId:K[0].formId,drawerVisible:!1,formData:{},dialogVisible:!1,generateConf:null,showFileName:!1,activeData:K[0]}},computed:{},watch:{"activeData.label":function(t,e){void 0!==this.activeData.placeholder&&this.activeData.tag&&j===this.activeId&&(this.activeData.placeholder=this.activeData.placeholder.replace(e,"")+t)},activeId:{handler:function(t){j=t},immediate:!0}},mounted:function(){var t=this,e=new p.a("#copyNode",{text:function(e){var n=t.generateCode();return t.$notify({title:"成功",message:"代码已复制到剪切板,可粘贴。",type:"success"}),n}});e.on("error",(function(e){t.$message.error("代码复制失败")}))},methods:{activeFormItem:function(t){this.activeData=t,this.activeId=t.formId},onEnd:function(t,e){t.from!==t.to&&(this.activeData=R,this.activeId=this.idGlobal)},addComponent:function(t){var e=this.cloneComponent(t);this.drawingList.push(e),this.activeFormItem(e)},cloneComponent:function(t){var e=JSON.parse(JSON.stringify(t));return e.formId=++this.idGlobal,e.span=v["a"].span,e.renderKey=+new Date,e.layout||(e.layout="colFormItem"),"colFormItem"===e.layout?(e.vModel="field".concat(this.idGlobal),void 0!==e.placeholder&&(e.placeholder+=e.label),R=e):"rowFormItem"===e.layout&&(delete e.label,e.componentName="row".concat(this.idGlobal),e.gutter=this.formConf.gutter,R=e),R},AssembleFormData:function(){this.formData=Object(s["a"])({fields:JSON.parse(JSON.stringify(this.drawingList))},this.formConf)},generate:function(t){var e=this["exec".concat(Object(_["h"])(this.operationType))];this.generateConf=t,e&&e(t)},execRun:function(t){this.AssembleFormData(),this.drawerVisible=!0},execDownload:function(t){var e=this.generateCode(),n=new Blob([e],{type:"text/plain;charset=utf-8"});Object(u["saveAs"])(n,t.fileName)},execCopy:function(t){document.getElementById("copyNode").click()},empty:function(){var t=this;this.$confirm("确定要清空所有组件吗?","提示",{type:"warning"}).then((function(){t.drawingList=[]}))},drawingItemCopy:function(t,e){var n=JSON.parse(JSON.stringify(t));n=this.createIdAndKey(n),e.push(n),this.activeFormItem(n)},createIdAndKey:function(t){var e=this;return t.formId=++this.idGlobal,t.renderKey=+new Date,"colFormItem"===t.layout?t.vModel="field".concat(this.idGlobal):"rowFormItem"===t.layout&&(t.componentName="row".concat(this.idGlobal)),Array.isArray(t.children)&&(t.children=t.children.map((function(t){return e.createIdAndKey(t)}))),t},drawingItemDelete:function(t,e){var n=this;e.splice(t,1),this.$nextTick((function(){var t=n.drawingList.length;t&&n.activeFormItem(n.drawingList[t-1])}))},generateCode:function(){var t=this.generateConf.type;this.AssembleFormData();var e=w(Object(P["a"])(this.formData,t)),n=b(L(this.formData,t)),r=B(M(this.formData));return h.a.html(n+e+r,_["b"].html)},download:function(){this.dialogVisible=!0,this.showFileName=!0,this.operationType="download"},run:function(){this.dialogVisible=!0,this.showFileName=!1,this.operationType="run"},copy:function(){this.dialogVisible=!0,this.showFileName=!1,this.operationType="copy"},tagChange:function(t){var e=this;t=this.cloneComponent(t),t.vModel=this.activeData.vModel,t.formId=this.activeId,t.span=this.activeData.span,delete this.activeData.tag,delete this.activeData.tagIcon,delete this.activeData.document,Object.keys(t).forEach((function(n){void 0!==e.activeData[n]&&Object(A["a"])(e.activeData[n])===Object(A["a"])(t[n])&&(t[n]=e.activeData[n])})),this.activeData=t,this.updateDrawingList(t,this.drawingList)},updateDrawingList:function(t,e){var n=this,r=e.findIndex((function(t){return t.formId===n.activeId}));r>-1?e.splice(r,1,t):e.forEach((function(e){Array.isArray(e.children)&&n.updateDrawingList(t,e.children)}))}}},$=W,Y=(n("1a2c"),n("2877")),X=Object(Y["a"])($,a,o,!1,null,null,null);e["default"]=X.exports},"28a0":function(t,e){"function"===typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},2907:function(t,e,n){"use strict";n("ad51")},2912:function(t,e,n){},2954:function(t,e,n){"use strict";var r=n("ebb5"),i=n("4840"),a=n("d039"),o=r.aTypedArray,A=r.aTypedArrayConstructor,s=r.exportTypedArrayMethod,l=[].slice,c=a((function(){new Int8Array(1).slice()}));s("slice",(function(t,e){var n=l.call(o(this),t,e),r=i(this,this.constructor),a=0,s=n.length,c=new(A(r))(s);while(s>a)c[a]=n[a++];return c}),c)},"29f5":function(t,e,n){(function(e,r){t.exports=r(n("313e"))})(self,(function(t){return(()=>{"use strict";var e={"./index.js":
- /*!******************************!*\
- !*** ./index.js + 4 modules ***!
- \******************************/(t,e,n)=>{n.r(e);var r=n("echarts/lib/echarts");r.extendSeriesModel({type:"series.wordCloud",visualStyleAccessPath:"textStyle",visualStyleMapper:function(t){return{fill:t.get("color")}},visualDrawType:"fill",optionUpdated:function(){var t=this.option;t.gridSize=Math.max(Math.floor(t.gridSize),4)},getInitialData:function(t,e){var n=r.helper.createDimensions(t.data,{coordDimensions:["value"]}),i=new r.List(n,this);return i.initData(t.data),i},defaultOption:{maskImage:null,shape:"circle",left:"center",top:"center",width:"70%",height:"80%",sizeRange:[12,60],rotationRange:[-90,90],rotationStep:45,gridSize:8,drawOutOfBound:!1,textStyle:{fontWeight:"normal"}}}),r.extendChartView({type:"wordCloud",render:function(t,e,n){var i=this.group;i.removeAll();var a=t.getData(),o=t.get("gridSize");t.layoutInstance.ondraw=function(e,n,A,s){var l=a.getItemModel(A),c=l.getModel("textStyle"),u=new r.graphic.Text({style:r.helper.createTextStyle(c),scaleX:1/s.info.mu,scaleY:1/s.info.mu,x:(s.gx+s.info.gw/2)*o,y:(s.gy+s.info.gh/2)*o,rotation:s.rot});u.setStyle({x:s.info.fillTextOffsetX,y:s.info.fillTextOffsetY+.5*n,text:e,verticalAlign:"middle",fill:a.getItemVisual(A,"style").fill,fontSize:n}),i.add(u),a.setItemGraphicEl(A,u),u.ensureState("emphasis").style=r.helper.createTextStyle(l.getModel(["emphasis","textStyle"]),{state:"emphasis"}),u.ensureState("blur").style=r.helper.createTextStyle(l.getModel(["blur","textStyle"]),{state:"blur"}),r.helper.enableHoverEmphasis(u,l.get(["emphasis","focus"]),l.get(["emphasis","blurScope"])),u.stateTransition={duration:t.get("animation")?t.get(["stateAnimation","duration"]):0,easing:t.get(["stateAnimation","easing"])},u.__highDownDispatcher=!0},this._model=t},remove:function(){this.group.removeAll(),this._model.layoutInstance.dispose()},dispose:function(){this._model.layoutInstance.dispose()}}),
- /*!
- * wordcloud2.js
- * http://timdream.org/wordcloud2.js/
- *
- * Copyright 2011 - 2013 Tim Chien
- * Released under the MIT license
- */
- window.setImmediate||(window.setImmediate=function(){return window.msSetImmediate||window.webkitSetImmediate||window.mozSetImmediate||window.oSetImmediate||function(){if(!window.postMessage||!window.addEventListener)return null;var t=[void 0],e="zero-timeout-message",n=function(n){var r=t.length;return t.push(n),window.postMessage(e+r.toString(36),"*"),r};return window.addEventListener("message",(function(n){if("string"===typeof n.data&&n.data.substr(0,e.length)===e){n.stopImmediatePropagation();var r=parseInt(n.data.substr(e.length),36);t[r]&&(t[r](),t[r]=void 0)}}),!0),window.clearImmediate=function(e){t[e]&&(t[e]=void 0)},n}()||function(t){window.setTimeout(t,0)}}()),window.clearImmediate||(window.clearImmediate=function(){return window.msClearImmediate||window.webkitClearImmediate||window.mozClearImmediate||window.oClearImmediate||function(t){window.clearTimeout(t)}}());var i=function(){var t=document.createElement("canvas");if(!t||!t.getContext)return!1;var e=t.getContext("2d");return!!e.getImageData&&(!!e.fillText&&(!!Array.prototype.some&&!!Array.prototype.push))}(),a=function(){if(i){var t,e,n=document.createElement("canvas").getContext("2d"),r=20;while(r){if(n.font=r.toString(10)+"px sans-serif",n.measureText("W").width===t&&n.measureText("m").width===e)return r+1;t=n.measureText("W").width,e=n.measureText("m").width,r--}return 0}}(),o=function(t){for(var e,n,r=t.length;r;e=Math.floor(Math.random()*r),n=t[--r],t[r]=t[e],t[e]=n);return t},A=function(t,e){if(i){Array.isArray(t)||(t=[t]),t.forEach((function(e,n){if("string"===typeof e){if(t[n]=document.getElementById(e),!t[n])throw"The element id specified is not found."}else if(!e.tagName&&!e.appendChild)throw"You must pass valid HTML elements, or ID of the element."}));var n={list:[],fontFamily:'"Trebuchet MS", "Heiti TC", "微軟正黑體", "Arial Unicode MS", "Droid Fallback Sans", sans-serif',fontWeight:"normal",color:"random-dark",minSize:0,weightFactor:1,clearCanvas:!0,backgroundColor:"#fff",gridSize:8,drawOutOfBound:!1,origin:null,drawMask:!1,maskColor:"rgba(255,0,0,0.3)",maskGapWidth:.3,layoutAnimation:!0,wait:0,abortThreshold:0,abort:function(){},minRotation:-Math.PI/2,maxRotation:Math.PI/2,rotationStep:.1,shuffle:!0,rotateRatio:.1,shape:"circle",ellipticity:.65,classes:null,hover:null,click:null};if(e)for(var r in e)r in n&&(n[r]=e[r]);if("function"!==typeof n.weightFactor){var A=n.weightFactor;n.weightFactor=function(t){return t*A}}if("function"!==typeof n.shape)switch(n.shape){case"circle":default:n.shape="circle";break;case"cardioid":n.shape=function(t){return 1-Math.sin(t)};break;case"diamond":case"square":n.shape=function(t){var e=t%(2*Math.PI/4);return 1/(Math.cos(e)+Math.sin(e))};break;case"triangle-forward":n.shape=function(t){var e=t%(2*Math.PI/3);return 1/(Math.cos(e)+Math.sqrt(3)*Math.sin(e))};break;case"triangle":case"triangle-upright":n.shape=function(t){var e=(t+3*Math.PI/2)%(2*Math.PI/3);return 1/(Math.cos(e)+Math.sqrt(3)*Math.sin(e))};break;case"pentagon":n.shape=function(t){var e=(t+.955)%(2*Math.PI/5);return 1/(Math.cos(e)+.726543*Math.sin(e))};break;case"star":n.shape=function(t){var e=(t+.955)%(2*Math.PI/10);return(t+.955)%(2*Math.PI/5)-2*Math.PI/10>=0?1/(Math.cos(2*Math.PI/10-e)+3.07768*Math.sin(2*Math.PI/10-e)):1/(Math.cos(e)+3.07768*Math.sin(e))};break}n.gridSize=Math.max(Math.floor(n.gridSize),4);var s,l,c,u,d,h,f,p=n.gridSize,m=p-n.maskGapWidth,g=Math.abs(n.maxRotation-n.minRotation),v=Math.min(n.maxRotation,n.minRotation),_=n.rotationStep;switch(n.color){case"random-dark":f=function(){return H(10,50)};break;case"random-light":f=function(){return H(50,90)};break;default:"function"===typeof n.color&&(f=n.color);break}var y=null;"function"===typeof n.classes&&(y=n.classes);var b,w=!1,B=[],x=function(t){var e,n,r=t.currentTarget,i=r.getBoundingClientRect();t.touches?(e=t.touches[0].clientX,n=t.touches[0].clientY):(e=t.clientX,n=t.clientY);var a=e-i.left,o=n-i.top,A=Math.floor(a*(r.width/i.width||1)/p),s=Math.floor(o*(r.height/i.height||1)/p);return B[A][s]},C=function(t){var e=x(t);b!==e&&(b=e,e?n.hover(e.item,e.dimension,t):n.hover(void 0,void 0,t))},k=function(t){var e=x(t);e&&(n.click(e.item,e.dimension,t),t.preventDefault())},Q=[],E=function(t){if(Q[t])return Q[t];var e=8*t,r=e,i=[];0===t&&i.push([u[0],u[1],0]);while(r--){var a=1;"circle"!==n.shape&&(a=n.shape(r/e*2*Math.PI)),i.push([u[0]+t*a*Math.cos(-r/e*2*Math.PI),u[1]+t*a*Math.sin(-r/e*2*Math.PI)*n.ellipticity,r/e*2*Math.PI])}return Q[t]=i,i},F=function(){return n.abortThreshold>0&&(new Date).getTime()-h>n.abortThreshold},U=function(){return 0===n.rotateRatio||Math.random()>n.rotateRatio?0:0===g?v:v+Math.round(Math.random()*g/_)*_},O=function(t,e,r){var i=!1,o=n.weightFactor(e);if(o<=n.minSize)return!1;var A=1;o<a&&(A=function(){var t=2;while(t*o<a)t+=2;return t}());var s=document.createElement("canvas"),l=s.getContext("2d",{willReadFrequently:!0});l.font=n.fontWeight+" "+(o*A).toString(10)+"px "+n.fontFamily;var c=l.measureText(t).width/A,u=Math.max(o*A,l.measureText("m").width,l.measureText("W").width)/A,d=c+2*u,h=3*u,f=Math.ceil(d/p),m=Math.ceil(h/p);d=f*p,h=m*p;var g=-c/2,v=.4*-u,_=Math.ceil((d*Math.abs(Math.sin(r))+h*Math.abs(Math.cos(r)))/p),y=Math.ceil((d*Math.abs(Math.cos(r))+h*Math.abs(Math.sin(r)))/p),b=y*p,w=_*p;s.setAttribute("width",b),s.setAttribute("height",w),i&&(document.body.appendChild(s),l.save()),l.scale(1/A,1/A),l.translate(b*A/2,w*A/2),l.rotate(-r),l.font=n.fontWeight+" "+(o*A).toString(10)+"px "+n.fontFamily,l.fillStyle="#000",l.textBaseline="middle",l.fillText(t,g*A,(v+.5*o)*A);var B=l.getImageData(0,0,b,w).data;if(F())return!1;i&&(l.strokeRect(g*A,v,c*A,u*A),l.restore());var x,C,k,Q=[],E=y,U=[_/2,y/2,_/2,y/2];while(E--){x=_;while(x--){k=p;t:{while(k--){C=p;while(C--)if(B[4*((x*p+k)*b+(E*p+C))+3]){Q.push([E,x]),E<U[3]&&(U[3]=E),E>U[1]&&(U[1]=E),x<U[0]&&(U[0]=x),x>U[2]&&(U[2]=x),i&&(l.fillStyle="rgba(255, 0, 0, 0.5)",l.fillRect(E*p,x*p,p-.5,p-.5));break t}}i&&(l.fillStyle="rgba(0, 0, 255, 0.5)",l.fillRect(E*p,x*p,p-.5,p-.5))}}}return i&&(l.fillStyle="rgba(0, 255, 0, 0.5)",l.fillRect(U[3]*p,U[0]*p,(U[1]-U[3]+1)*p,(U[2]-U[0]+1)*p)),{mu:A,occupied:Q,bounds:U,gw:y,gh:_,fillTextOffsetX:g,fillTextOffsetY:v,fillTextWidth:c,fillTextHeight:u,fontSize:o}},S=function(t,e,r,i,a){var o=a.length;while(o--){var A=t+a[o][0],u=e+a[o][1];if(A>=l||u>=c||A<0||u<0){if(!n.drawOutOfBound)return!1}else if(!s[A][u])return!1}return!0},T=function(e,r,i,a,o,A,s,l,c){var u,d,h=i.fontSize;u=f?f(a,o,h,A,s):n.color,d=y?y(a,o,h,A,s):n.classes;var m=i.bounds;m[3],m[0],m[1],m[3],m[2],m[0],t.forEach((function(t){if(t.getContext){var o=t.getContext("2d"),A=i.mu;o.save(),o.scale(1/A,1/A),o.font=n.fontWeight+" "+(h*A).toString(10)+"px "+n.fontFamily,o.fillStyle=u,o.translate((e+i.gw/2)*p*A,(r+i.gh/2)*p*A),0!==l&&o.rotate(-l),o.textBaseline="middle",o.fillText(a,i.fillTextOffsetX*A,(i.fillTextOffsetY+.5*h)*A),o.restore()}else{var s=document.createElement("span"),f="";f="rotate("+-l/Math.PI*180+"deg) ",1!==i.mu&&(f+="translateX(-"+i.fillTextWidth/4+"px) scale("+1/i.mu+")");var m={position:"absolute",display:"block",font:n.fontWeight+" "+h*i.mu+"px "+n.fontFamily,left:(e+i.gw/2)*p+i.fillTextOffsetX+"px",top:(r+i.gh/2)*p+i.fillTextOffsetY+"px",width:i.fillTextWidth+"px",height:i.fillTextHeight+"px",lineHeight:h+"px",whiteSpace:"nowrap",transform:f,webkitTransform:f,msTransform:f,transformOrigin:"50% 40%",webkitTransformOrigin:"50% 40%",msTransformOrigin:"50% 40%"};for(var g in u&&(m.color=u),s.textContent=a,m)s.style[g]=m[g];if(c)for(var v in c)s.setAttribute(v,c[v]);d&&(s.className+=d),t.appendChild(s)}}))},I=function(e,n,r,i,a){if(!(e>=l||n>=c||e<0||n<0)){if(s[e][n]=!1,r){var o=t[0].getContext("2d");o.fillRect(e*p,n*p,m,m)}w&&(B[e][n]={item:a,dimension:i})}},D=function(e,r,i,a,o,A){var s,u,d=o.occupied,h=n.drawMask;if(h&&(s=t[0].getContext("2d"),s.save(),s.fillStyle=n.maskColor),w){var f=o.bounds;u={x:(e+f[3])*p,y:(r+f[0])*p,w:(f[1]-f[3]+1)*p,h:(f[2]-f[0]+1)*p}}var m=d.length;while(m--){var g=e+d[m][0],v=r+d[m][1];g>=l||v>=c||g<0||v<0||I(g,v,h,u,A)}h&&s.restore()},L=function(t){var e,r,i;Array.isArray(t)?(e=t[0],r=t[1]):(e=t.word,r=t.weight,i=t.attributes);var a=U(),A=O(e,r,a);if(!A)return!1;if(F())return!1;if(!n.drawOutOfBound){var s=A.bounds;if(s[1]-s[3]+1>l||s[2]-s[0]+1>c)return!1}var u=d+1,h=function(n){var o=Math.floor(n[0]-A.gw/2),s=Math.floor(n[1]-A.gh/2),l=A.gw,c=A.gh;return!!S(o,s,l,c,A.occupied)&&(T(o,s,A,e,r,d-u,n[2],a,i),D(o,s,l,c,A,t),{gx:o,gy:s,rot:a,info:A})};while(u--){var f=E(d-u);n.shuffle&&(f=[].concat(f),o(f));for(var p=0;p<f.length;p++){var m=h(f[p]);if(m)return m}}return null},P=function(e,n,r){if(n)return!t.some((function(t){var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,!0,n,r||{}),!t.dispatchEvent(i)}),this);t.forEach((function(t){var i=document.createEvent("CustomEvent");i.initCustomEvent(e,!0,n,r||{}),t.dispatchEvent(i)}),this)},N=function(){var e=t[0];if(e.getContext)l=Math.ceil(e.width/p),c=Math.ceil(e.height/p);else{var r=e.getBoundingClientRect();l=Math.ceil(r.width/p),c=Math.ceil(r.height/p)}if(P("wordcloudstart",!0)){var i,a,o,A,f;if(u=n.origin?[n.origin[0]/p,n.origin[1]/p]:[l/2,c/2],d=Math.floor(Math.sqrt(l*l+c*c)),s=[],!e.getContext||n.clearCanvas){t.forEach((function(t){if(t.getContext){var e=t.getContext("2d");e.fillStyle=n.backgroundColor,e.clearRect(0,0,l*(p+1),c*(p+1)),e.fillRect(0,0,l*(p+1),c*(p+1))}else t.textContent="",t.style.backgroundColor=n.backgroundColor,t.style.position="relative"})),i=l;while(i--){s[i]=[],a=c;while(a--)s[i][a]=!0}}else{var m=document.createElement("canvas").getContext("2d");m.fillStyle=n.backgroundColor,m.fillRect(0,0,1,1);var g,v,_=m.getImageData(0,0,1,1).data,y=e.getContext("2d").getImageData(0,0,l*p,c*p).data;i=l;while(i--){s[i]=[],a=c;while(a--){v=p;t:while(v--){g=p;while(g--){o=4;while(o--)if(y[4*((a*p+v)*l*p+(i*p+g))+o]!==_[o]){s[i][a]=!1;break t}}}!1!==s[i][a]&&(s[i][a]=!0)}}y=m=_=void 0}if(n.hover||n.click){w=!0,i=l+1;while(i--)B[i]=[];n.hover&&e.addEventListener("mousemove",C),n.click&&(e.addEventListener("click",k),e.addEventListener("touchstart",k),e.addEventListener("touchend",(function(t){t.preventDefault()})),e.style.webkitTapHighlightColor="rgba(0, 0, 0, 0)"),e.addEventListener("wordcloudstart",(function t(){e.removeEventListener("wordcloudstart",t),e.removeEventListener("mousemove",C),e.removeEventListener("click",k),b=void 0}))}o=0;var x=!0;n.layoutAnimation?0!==n.wait?(A=window.setTimeout,f=window.clearTimeout):(A=window.setImmediate,f=window.clearImmediate):(A=function(t){t()},f=function(){x=!1});var Q=function(e,n){t.forEach((function(t){t.addEventListener(e,n)}),this)},E=function(e,n){t.forEach((function(t){t.removeEventListener(e,n)}),this)},U=function t(){E("wordcloudstart",t),f(O)};Q("wordcloudstart",U);var O=(n.layoutAnimation?A:setTimeout)((function t(){if(x){if(o>=n.list.length)return f(O),P("wordcloudstop",!1),void E("wordcloudstart",U);h=(new Date).getTime();var e=L(n.list[o]),r=!P("wordclouddrawn",!0,{item:n.list[o],drawn:e});if(F()||r)return f(O),n.abort(),P("wordcloudabort",!1),P("wordcloudstop",!1),void E("wordcloudstart",U);o++,O=A(t,n.wait)}}),n.wait)}};N()}function H(t,e){return"hsl("+(360*Math.random()).toFixed()+","+(30*Math.random()+70).toFixed()+"%,"+(Math.random()*(e-t)+t).toFixed()+"%)"}};A.isSupported=i,A.minFontSize=a;const s=A;if(!s.isSupported)throw new Error("Sorry your browser not support wordCloud");function l(t){for(var e=t.getContext("2d"),n=e.getImageData(0,0,t.width,t.height),r=e.createImageData(n),i=0,a=0,o=0;o<n.data.length;o+=4){var A=n.data[o+3];if(A>128){var s=n.data[o]+n.data[o+1]+n.data[o+2];i+=s,++a}}var l=i/a;for(o=0;o<n.data.length;o+=4){s=n.data[o]+n.data[o+1]+n.data[o+2],A=n.data[o+3];A<128||s>l?(r.data[o]=0,r.data[o+1]=0,r.data[o+2]=0,r.data[o+3]=0):(r.data[o]=255,r.data[o+1]=255,r.data[o+2]=255,r.data[o+3]=255)}e.putImageData(r,0,0)}r.registerLayout((function(t,e){t.eachSeriesByType("wordCloud",(function(n){var i=r.helper.getLayoutRect(n.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),a=n.getData(),o=document.createElement("canvas");o.width=i.width,o.height=i.height;var A=o.getContext("2d"),c=n.get("maskImage");if(c)try{A.drawImage(c,0,0,o.width,o.height),l(o)}catch(g){console.error("Invalid mask image"),console.error(g.toString())}var u=n.get("sizeRange"),d=n.get("rotationRange"),h=a.getDataExtent("value"),f=Math.PI/180,p=n.get("gridSize");function m(t){var e=t.detail.item;t.detail.drawn&&n.layoutInstance.ondraw&&(t.detail.drawn.gx+=i.x/p,t.detail.drawn.gy+=i.y/p,n.layoutInstance.ondraw(e[0],e[1],e[2],t.detail.drawn))}s(o,{list:a.mapArray("value",(function(t,e){var n=a.getItemModel(e);return[a.getName(e),n.get("textStyle.fontSize",!0)||r.number.linearMap(t,h,u),e]})).sort((function(t,e){return e[1]-t[1]})),fontFamily:n.get("textStyle.fontFamily")||n.get("emphasis.textStyle.fontFamily")||t.get("textStyle.fontFamily"),fontWeight:n.get("textStyle.fontWeight")||n.get("emphasis.textStyle.fontWeight")||t.get("textStyle.fontWeight"),gridSize:p,ellipticity:i.height/i.width,minRotation:d[0]*f,maxRotation:d[1]*f,clearCanvas:!c,rotateRatio:1,rotationStep:n.get("rotationStep")*f,drawOutOfBound:n.get("drawOutOfBound"),layoutAnimation:n.get("layoutAnimation"),shuffle:!1,shape:n.get("shape")}),o.addEventListener("wordclouddrawn",m),n.layoutInstance&&n.layoutInstance.dispose(),n.layoutInstance={ondraw:null,dispose:function(){o.removeEventListener("wordclouddrawn",m),o.addEventListener("wordclouddrawn",(function(t){t.preventDefault()}))}}}))})),r.registerPreprocessor((function(t){var e=(t||{}).series;!r.util.isArray(e)&&(e=e?[e]:[]);var n=["shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function i(t){t&&r.util.each(n,(function(e){t.hasOwnProperty(e)&&(t["text"+r.format.capitalFirst(e)]=t[e])}))}r.util.each(e,(function(t){if(t&&"wordCloud"===t.type){var e=t.textStyle||{};i(e.normal),i(e.emphasis)}}))}))},"echarts/lib/echarts":
- /*!**************************!*\
- !*** external "echarts" ***!
- \**************************/e=>{e.exports=t}},n={};function r(t){if(n[t])return n[t].exports;var i=n[t]={exports:{}};return e[t](i,i.exports,r),i.exports}return(()=>{r.r=t=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}})(),r("./index.js")})()}))},"29fa":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QThCQ0MzNkYzMzc3MTFFQkE1QzJEOTY1RTE4NjhBMTgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QThCQ0MzNzAzMzc3MTFFQkE1QzJEOTY1RTE4NjhBMTgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBOEJDQzM2RDMzNzcxMUVCQTVDMkQ5NjVFMTg2OEExOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpBOEJDQzM2RTMzNzcxMUVCQTVDMkQ5NjVFMTg2OEExOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pjhy7FkAAAMMSURBVHja7JhvaE1hHMfPjnH9yyYjlNqQWtsLarwQ+bvQJFdLSpQyaS80ifIvLyghRYoSFi8kmpn/wjutbF6s/FuxWJbQNC/8Gda9vt/1Pbld99xzztx7zmn86tNzt3PPc773Oc/v+/yeJycejxthDtMIeYReYG7Ro2/W50KwE1SAcQHpeQuug72vyoZ08B85hc1f2c4DV8CIkAzcJw4URDaaGq06iaPIEjCA4v0AInrRM/nsyyCfWvB2CyhwKxgJ6sEK8AzE/B4yiIwBPrtSAzUa1FDgcn1nGwjccyCSGnbpz6ip5OgEL8OSuRD5FA2TY5KpufAlhA7zE0T6lVFz8t4HH8B7cBssCYNApv9ZcAnMV3aNAYvATXBU0yQwgTvAWvARrANjwUSwT3a0CVRnSyBXEqZ1u7I5OUaBDgkpA8+TrleBkxI/AVjrJke5Fgz3qOc8Mpj9GTBpriZ5uQ43LAaDwbEU4hinwGZQDOaCWwnrekUfBqxbP/h3seBwQ5HaBzbX47pWrNduRTOYpiXLS7T8Uc043PBD7aA034kk/Pq0D7Mx5b9Kksdq7eyEwhfq85MgsviearRVYFmK6wfBeNAKmrJSsLpYbqpVXbAMOg3ugGFgDShXhm/IVqHhZDOGTPiiVhLDJpOrHJ7DkZ7iQk8t5mSDF5vJAxdkN1al26qpUaKRXK9il2b+PUUftKkaMNCFwM+gwe0rZofXwGzwBmxRUduTkL2rwSGwEgzVPI2n8LYZad5QsmW5noPbJY612RytFonB0TqjAoIdLwUbwQkbf2vJpM3kq8KmiGgKcYnRrvnJEdjt4JkZs5mo5tc58MJFPw/BVW3AFvghcKbaeg991amd5YdAmnOXRsZt3FWWd/lh1HuEl3in7eu/d3gUU0KELegG3RT4GhSAyWFRhmWOtSQNss1UEcDYn83Njwdx3KQdsFyEAg/rZKFSVjE102brUlgETNd2tlxJd8Q6fqPv3ehDiZ6t6NTxW5OVxY2gFBzXnOwJ6KijTfvsUorrrfX+H6L3d4G/BBgAvUbBqOPQLjoAAAAASUVORK5CYII="},"2e2a":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i})),n.d(e,"d",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"e",(function(){return A}));var r={formRef:"elForm",formModel:"formData",size:"medium",labelPosition:"right",labelWidth:100,formRules:"rules",gutter:15,disabled:!1,span:24,formBtns:!0},i=[{label:"单行文本",tag:"el-input",tagIcon:"input",placeholder:"请输入",defaultValue:void 0,span:24,labelWidth:null,style:{width:"100%"},clearable:!0,prepend:"",append:"","prefix-icon":"","suffix-icon":"",maxlength:null,"show-word-limit":!1,readonly:!1,disabled:!1,required:!0,regList:[],changeTag:!0,document:"https://element.eleme.cn/#/zh-CN/component/input"},{label:"多行文本",tag:"el-input",tagIcon:"textarea",type:"textarea",placeholder:"请输入",defaultValue:void 0,span:24,labelWidth:null,autosize:{minRows:4,maxRows:4},style:{width:"100%"},maxlength:null,"show-word-limit":!1,readonly:!1,disabled:!1,required:!0,regList:[],changeTag:!0,document:"https://element.eleme.cn/#/zh-CN/component/input"},{label:"密码",tag:"el-input",tagIcon:"password",placeholder:"请输入",defaultValue:void 0,span:24,"show-password":!0,labelWidth:null,style:{width:"100%"},clearable:!0,prepend:"",append:"","prefix-icon":"","suffix-icon":"",maxlength:null,"show-word-limit":!1,readonly:!1,disabled:!1,required:!0,regList:[],changeTag:!0,document:"https://element.eleme.cn/#/zh-CN/component/input"},{label:"计数器",tag:"el-input-number",tagIcon:"number",placeholder:"",defaultValue:void 0,span:24,labelWidth:null,min:void 0,max:void 0,step:void 0,"step-strictly":!1,precision:void 0,"controls-position":"",disabled:!1,required:!0,regList:[],changeTag:!0,document:"https://element.eleme.cn/#/zh-CN/component/input-number"}],a=[{label:"下拉选择",tag:"el-select",tagIcon:"select",placeholder:"请选择",defaultValue:void 0,span:24,labelWidth:null,style:{width:"100%"},clearable:!0,disabled:!1,required:!0,filterable:!1,multiple:!1,options:[{label:"选项一",value:1},{label:"选项二",value:2}],regList:[],changeTag:!0,document:"https://element.eleme.cn/#/zh-CN/component/select"},{label:"级联选择",tag:"el-cascader",tagIcon:"cascader",placeholder:"请选择",defaultValue:[],span:24,labelWidth:null,style:{width:"100%"},props:{props:{multiple:!1}},"show-all-levels":!0,disabled:!1,clearable:!0,filterable:!1,required:!0,options:[{id:1,value:1,label:"选项1",children:[{id:2,value:2,label:"选项1-1"}]}],dataType:"dynamic",labelKey:"label",valueKey:"value",childrenKey:"children",separator:"/",regList:[],changeTag:!0,document:"https://element.eleme.cn/#/zh-CN/component/cascader"},{label:"单选框组",tag:"el-radio-group",tagIcon:"radio",defaultValue:void 0,span:24,labelWidth:null,style:{},optionType:"default",border:!1,size:"medium",disabled:!1,required:!0,options:[{label:"选项一",value:1},{label:"选项二",value:2}],regList:[],changeTag:!0,document:"https://element.eleme.cn/#/zh-CN/component/radio"},{label:"多选框组",tag:"el-checkbox-group",tagIcon:"checkbox",defaultValue:[],span:24,labelWidth:null,style:{},optionType:"default",border:!1,size:"medium",disabled:!1,required:!0,options:[{label:"选项一",value:1},{label:"选项二",value:2}],regList:[],changeTag:!0,document:"https://element.eleme.cn/#/zh-CN/component/checkbox"},{label:"开关",tag:"el-switch",tagIcon:"switch",defaultValue:!1,span:24,labelWidth:null,style:{},disabled:!1,required:!0,"active-text":"","inactive-text":"","active-color":null,"inactive-color":null,"active-value":!0,"inactive-value":!1,regList:[],changeTag:!0,document:"https://element.eleme.cn/#/zh-CN/component/switch"},{label:"滑块",tag:"el-slider",tagIcon:"slider",defaultValue:null,span:24,labelWidth:null,disabled:!1,required:!0,min:0,max:100,step:1,"show-stops":!1,range:!1,regList:[],changeTag:!0,document:"https://element.eleme.cn/#/zh-CN/component/slider"},{label:"时间选择",tag:"el-time-picker",tagIcon:"time",placeholder:"请选择",defaultValue:null,span:24,labelWidth:null,style:{width:"100%"},disabled:!1,clearable:!0,required:!0,"picker-options":{selectableRange:"00:00:00-23:59:59"},format:"HH:mm:ss","value-format":"HH:mm:ss",regList:[],changeTag:!0,document:"https://element.eleme.cn/#/zh-CN/component/time-picker"},{label:"时间范围",tag:"el-time-picker",tagIcon:"time-range",defaultValue:null,span:24,labelWidth:null,style:{width:"100%"},disabled:!1,clearable:!0,required:!0,"is-range":!0,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"HH:mm:ss","value-format":"HH:mm:ss",regList:[],changeTag:!0,document:"https://element.eleme.cn/#/zh-CN/component/time-picker"},{label:"日期选择",tag:"el-date-picker",tagIcon:"date",placeholder:"请选择",defaultValue:null,type:"date",span:24,labelWidth:null,style:{width:"100%"},disabled:!1,clearable:!0,required:!0,format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",readonly:!1,regList:[],changeTag:!0,document:"https://element.eleme.cn/#/zh-CN/component/date-picker"},{label:"日期范围",tag:"el-date-picker",tagIcon:"date-range",defaultValue:null,span:24,labelWidth:null,style:{width:"100%"},type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",disabled:!1,clearable:!0,required:!0,format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",readonly:!1,regList:[],changeTag:!0,document:"https://element.eleme.cn/#/zh-CN/component/date-picker"},{label:"评分",tag:"el-rate",tagIcon:"rate",defaultValue:0,span:24,labelWidth:null,style:{},max:5,"allow-half":!1,"show-text":!1,"show-score":!1,disabled:!1,required:!0,regList:[],changeTag:!0,document:"https://element.eleme.cn/#/zh-CN/component/rate"},{label:"颜色选择",tag:"el-color-picker",tagIcon:"color",defaultValue:null,labelWidth:null,"show-alpha":!1,"color-format":"",disabled:!1,required:!0,size:"medium",regList:[],changeTag:!0,document:"https://element.eleme.cn/#/zh-CN/component/color-picker"},{label:"上传",tag:"el-upload",tagIcon:"upload",action:"https://jsonplaceholder.typicode.com/posts/",defaultValue:null,labelWidth:null,disabled:!1,required:!0,accept:"",name:"file","auto-upload":!0,showTip:!1,buttonText:"点击上传",fileSize:2,sizeUnit:"MB","list-type":"text",multiple:!1,regList:[],changeTag:!0,document:"https://element.eleme.cn/#/zh-CN/component/upload"}],o=[{layout:"rowFormItem",tagIcon:"row",type:"default",justify:"start",align:"top",label:"行容器",layoutTree:!0,children:[],document:"https://element.eleme.cn/#/zh-CN/component/layout"},{layout:"colFormItem",label:"按钮",changeTag:!0,labelWidth:null,tag:"el-button",tagIcon:"button",span:24,default:"主要按钮",type:"primary",icon:"el-icon-search",size:"medium",disabled:!1,document:"https://element.eleme.cn/#/zh-CN/component/button"}],A={"el-input":"blur","el-input-number":"blur","el-select":"change","el-radio-group":"change","el-checkbox-group":"change","el-cascader":"change","el-time-picker":"change","el-date-picker":"change","el-rate":"change"}},3022:function(t,e,n){(function(t){var r=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++)n[e[r]]=Object.getOwnPropertyDescriptor(t,e[r]);return n},i=/%[sdj%]/g;e.format=function(t){if(!w(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(A(arguments[n]));return e.join(" ")}n=1;for(var r=arguments,a=r.length,o=String(t).replace(i,(function(t){if("%%"===t)return"%";if(n>=a)return t;switch(t){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return t}})),s=r[n];n<a;s=r[++n])_(s)||!k(s)?o+=" "+s:o+=" "+A(s);return o},e.deprecate=function(n,r){if("undefined"!==typeof t&&!0===t.noDeprecation)return n;if("undefined"===typeof t)return function(){return e.deprecate(n,r).apply(this,arguments)};var i=!1;function a(){if(!i){if(t.throwDeprecation)throw new Error(r);t.traceDeprecation?console.trace(r):console.error(r),i=!0}return n.apply(this,arguments)}return a};var a,o={};function A(t,n){var r={seen:[],stylize:l};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),v(n)?r.showHidden=n:n&&e._extend(r,n),x(r.showHidden)&&(r.showHidden=!1),x(r.depth)&&(r.depth=2),x(r.colors)&&(r.colors=!1),x(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=s),u(r,t,r.depth)}function s(t,e){var n=A.styles[e];return n?"["+A.colors[n][0]+"m"+t+"["+A.colors[n][1]+"m":t}function l(t,e){return t}function c(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}function u(t,n,r){if(t.customInspect&&n&&F(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,t);return w(i)||(i=u(t,i,r)),i}var a=d(t,n);if(a)return a;var o=Object.keys(n),A=c(o);if(t.showHidden&&(o=Object.getOwnPropertyNames(n)),E(n)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return h(n);if(0===o.length){if(F(n)){var s=n.name?": "+n.name:"";return t.stylize("[Function"+s+"]","special")}if(C(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(Q(n))return t.stylize(Date.prototype.toString.call(n),"date");if(E(n))return h(n)}var l,v="",_=!1,y=["{","}"];if(g(n)&&(_=!0,y=["[","]"]),F(n)){var b=n.name?": "+n.name:"";v=" [Function"+b+"]"}return C(n)&&(v=" "+RegExp.prototype.toString.call(n)),Q(n)&&(v=" "+Date.prototype.toUTCString.call(n)),E(n)&&(v=" "+h(n)),0!==o.length||_&&0!=n.length?r<0?C(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special"):(t.seen.push(n),l=_?f(t,n,r,A,o):o.map((function(e){return p(t,n,r,A,e,_)})),t.seen.pop(),m(l,v,y)):y[0]+v+y[1]}function d(t,e){if(x(e))return t.stylize("undefined","undefined");if(w(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return b(e)?t.stylize(""+e,"number"):v(e)?t.stylize(""+e,"boolean"):_(e)?t.stylize("null","null"):void 0}function h(t){return"["+Error.prototype.toString.call(t)+"]"}function f(t,e,n,r,i){for(var a=[],o=0,A=e.length;o<A;++o)D(e,String(o))?a.push(p(t,e,n,r,String(o),!0)):a.push("");return i.forEach((function(i){i.match(/^\d+$/)||a.push(p(t,e,n,r,i,!0))})),a}function p(t,e,n,r,i,a){var o,A,s;if(s=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]},s.get?A=s.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):s.set&&(A=t.stylize("[Setter]","special")),D(r,i)||(o="["+i+"]"),A||(t.seen.indexOf(s.value)<0?(A=_(n)?u(t,s.value,null):u(t,s.value,n-1),A.indexOf("\n")>-1&&(A=a?A.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+A.split("\n").map((function(t){return" "+t})).join("\n"))):A=t.stylize("[Circular]","special")),x(o)){if(a&&i.match(/^\d+$/))return A;o=JSON.stringify(""+i),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+A}function m(t,e,n){var r=t.reduce((function(t,e){return e.indexOf("\n")>=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return r>60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}function g(t){return Array.isArray(t)}function v(t){return"boolean"===typeof t}function _(t){return null===t}function y(t){return null==t}function b(t){return"number"===typeof t}function w(t){return"string"===typeof t}function B(t){return"symbol"===typeof t}function x(t){return void 0===t}function C(t){return k(t)&&"[object RegExp]"===O(t)}function k(t){return"object"===typeof t&&null!==t}function Q(t){return k(t)&&"[object Date]"===O(t)}function E(t){return k(t)&&("[object Error]"===O(t)||t instanceof Error)}function F(t){return"function"===typeof t}function U(t){return null===t||"boolean"===typeof t||"number"===typeof t||"string"===typeof t||"symbol"===typeof t||"undefined"===typeof t}function O(t){return Object.prototype.toString.call(t)}function S(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(n){if(x(a)&&(a=Object({NODE_ENV:"production",VUE_APP_BASE_API:"http://10.52.200.159:8080/shanghaigateway/",BASE_URL:"/shanghaiecif/"}).NODE_DEBUG||""),n=n.toUpperCase(),!o[n])if(new RegExp("\\b"+n+"\\b","i").test(a)){var r=t.pid;o[n]=function(){var t=e.format.apply(e,arguments);console.error("%s %d: %s",n,r,t)}}else o[n]=function(){};return o[n]},e.inspect=A,A.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},A.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=g,e.isBoolean=v,e.isNull=_,e.isNullOrUndefined=y,e.isNumber=b,e.isString=w,e.isSymbol=B,e.isUndefined=x,e.isRegExp=C,e.isObject=k,e.isDate=Q,e.isError=E,e.isFunction=F,e.isPrimitive=U,e.isBuffer=n("d60a");var T=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function I(){var t=new Date,e=[S(t.getHours()),S(t.getMinutes()),S(t.getSeconds())].join(":");return[t.getDate(),T[t.getMonth()],e].join(" ")}function D(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){console.log("%s - %s",I(),e.format.apply(e,arguments))},e.inherits=n("28a0"),e._extend=function(t,e){if(!e||!k(e))return t;var n=Object.keys(e),r=n.length;while(r--)t[n[r]]=e[n[r]];return t};var L="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function P(t,e){if(!t){var n=new Error("Promise was rejected with a falsy value");n.reason=t,t=n}return e(t)}function N(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],r=0;r<arguments.length;r++)n.push(arguments[r]);var i=n.pop();if("function"!==typeof i)throw new TypeError("The last argument must be of type Function");var a=this,o=function(){return i.apply(a,arguments)};e.apply(this,n).then((function(e){t.nextTick(o,null,e)}),(function(e){t.nextTick(P,e,o)}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),Object.defineProperties(n,r(e)),n}e.promisify=function(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');if(L&&t[L]){var e=t[L];if("function"!==typeof e)throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,L,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,n,r=new Promise((function(t,r){e=t,n=r})),i=[],a=0;a<arguments.length;a++)i.push(arguments[a]);i.push((function(t,r){t?n(t):e(r)}));try{t.apply(this,i)}catch(o){n(o)}return r}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),L&&Object.defineProperty(e,L,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,r(t))},e.promisify.custom=L,e.callbackify=N}).call(this,n("4362"))},3280:function(t,e,n){"use strict";var r=n("ebb5"),i=n("e58c"),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("lastIndexOf",(function(t){return i.apply(a(this),arguments)}))},"38cf":function(t,e,n){var r=n("23e7"),i=n("1148");r({target:"String",proto:!0},{repeat:i})},"3a7b":function(t,e,n){"use strict";var r=n("ebb5"),i=n("b727").findIndex,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("findIndex",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},"3a7e":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"icons-container"},[t._m(0),n("el-tabs",{attrs:{type:"border-card"}},[n("el-tab-pane",{attrs:{label:"Icons"}},t._l(t.svgIcons,(function(e){return n("div",{key:e},[n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v(" "+t._s(t.generateIconCode(e))+" ")]),n("div",{staticClass:"icon-item"},[n("svg-icon",{attrs:{"icon-class":e,"class-name":"disabled"}}),n("span",[t._v(t._s(e))])],1)])],1)})),0),n("el-tab-pane",{attrs:{label:"Element-UI Icons"}},t._l(t.elementIcons,(function(e){return n("div",{key:e},[n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v(" "+t._s(t.generateElementIconCode(e))+" ")]),n("div",{staticClass:"icon-item"},[n("i",{class:"el-icon-"+e}),n("span",[t._v(t._s(e))])])])],1)})),0)],1)],1)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",[n("a",{attrs:{href:"#",target:"_blank"}},[t._v("Add and use ")])])}],a=n("c7e9"),o=n("bb49"),A={name:"Icons",data:function(){return{svgIcons:a["default"],elementIcons:o["default"]}},methods:{generateIconCode:function(t){return'<svg-icon icon-class="'.concat(t,'" />')},generateElementIconCode:function(t){return'<i class="el-icon-'.concat(t,'" />')}}},s=A,l=(n("4099"),n("2877")),c=Object(l["a"])(s,r,i,!1,null,"101db740",null);e["default"]=c.exports},"3c51":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:t.queryParams,inline:!0,"label-width":"68px"}},[n("el-form-item",{attrs:{label:"登录地址",prop:"ipaddr"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入登录地址",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.ipaddr,callback:function(e){t.$set(t.queryParams,"ipaddr",e)},expression:"queryParams.ipaddr"}})],1),n("el-form-item",{attrs:{label:"用户名称",prop:"userName"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入用户名称",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.userName,callback:function(e){t.$set(t.queryParams,"userName",e)},expression:"queryParams.userName"}})],1),n("el-form-item",{attrs:{label:"状态",prop:"status"}},[n("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"登录状态",clearable:"",size:"small"},model:{value:t.queryParams.status,callback:function(e){t.$set(t.queryParams,"status",e)},expression:"queryParams.status"}},t._l(t.statusOptions,(function(t){return n("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:t.dictValue}})})),1)],1),n("el-form-item",{attrs:{label:"登录时间"}},[n("el-date-picker",{staticStyle:{width:"240px"},attrs:{size:"small","value-format":"yyyy-MM-dd",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:t.dateRange,callback:function(e){t.dateRange=e},expression:"dateRange"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"cyan",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1),n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:logininfor:remove"],expression:"['system:logininfor:remove']"}],attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:t.multiple},on:{click:t.handleDelete}},[t._v("删除")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:logininfor:remove"],expression:"['system:logininfor:remove']"}],attrs:{type:"danger",icon:"el-icon-delete",size:"mini"},on:{click:t.handleClean}},[t._v("清空")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:logininfor:export"],expression:"['system:logininfor:export']"}],attrs:{type:"warning",icon:"el-icon-download",size:"mini"},on:{click:t.handleExport}},[t._v("导出")])],1),n("right-toolbar",{attrs:{showSearch:t.showSearch},on:{"update:showSearch":function(e){t.showSearch=e},"update:show-search":function(e){t.showSearch=e},queryTable:t.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.list},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),n("el-table-column",{attrs:{label:"访问编号",align:"center",prop:"infoId"}}),n("el-table-column",{attrs:{label:"用户名称",align:"center",prop:"userName"}}),n("el-table-column",{attrs:{label:"地址",align:"center",prop:"ipaddr",width:"130","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"状态",align:"center",prop:"status",formatter:t.statusFormat}}),n("el-table-column",{attrs:{label:"描述",align:"center",prop:"msg"}}),n("el-table-column",{attrs:{label:"访问时间",align:"center",prop:"accessTime",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.parseTime(e.row.accessTime)))])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(e){return t.$set(t.queryParams,"pageNum",e)},"update:limit":function(e){return t.$set(t.queryParams,"pageSize",e)},pagination:t.getList}})],1)},i=[],a=n("5530"),o=(n("d81d"),n("b775"));function A(t){return Object(o["a"])({url:"/system/logininfor/list",method:"get",params:t})}function s(t){return Object(o["a"])({url:"/system/logininfor/"+t,method:"delete"})}function l(){return Object(o["a"])({url:"/system/logininfor/clean",method:"delete"})}var c={name:"Logininfor",data:function(){return{loading:!0,ids:[],multiple:!0,showSearch:!0,total:0,list:[],statusOptions:[],dateRange:[],queryParams:{pageNum:1,pageSize:10,ipaddr:void 0,userName:void 0,status:void 0}}},created:function(){var t=this;this.getList(),this.getDicts("sys_common_status").then((function(e){t.statusOptions=e.data}))},methods:{getList:function(){var t=this;this.loading=!0,A(this.addDateRange(this.queryParams,this.dateRange)).then((function(e){t.list=e.rows,t.total=e.total,t.loading=!1}))},statusFormat:function(t,e){return this.selectDictLabel(this.statusOptions,t.status)},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(t){this.ids=t.map((function(t){return t.infoId})),this.multiple=!t.length},handleDelete:function(t){var e=this,n=t.infoId||this.ids;this.$confirm('是否确认删除访问编号为"'+n+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return s(n)})).then((function(){e.getList(),e.msgSuccess("删除成功")}))},handleClean:function(){var t=this;this.$confirm("是否确认清空所有登录日志数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return l()})).then((function(){t.getList(),t.msgSuccess("清空成功")}))},handleExport:function(){this.download("system/logininfor/export",Object(a["a"])({},this.queryParams),"logininfor_".concat((new Date).getTime(),".xlsx"))}}},u=c,d=n("2877"),h=Object(d["a"])(u,r,i,!1,null,null,null);e["default"]=h.exports},"3c5d":function(t,e,n){"use strict";var r=n("ebb5"),i=n("50c4"),a=n("182d"),o=n("7b0b"),A=n("d039"),s=r.aTypedArray,l=r.exportTypedArrayMethod,c=A((function(){new Int8Array(1).set({})}));l("set",(function(t){s(this);var e=a(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=o(t),A=i(r.length),l=0;if(A+e>n)throw RangeError("Wrong length");while(l<A)this[e+l]=r[l++]}),c)},"3eac":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:t.queryParams,inline:!0,"label-width":"68px"}},[n("el-form-item",{attrs:{label:"任务名称",prop:"jobName"}},[n("el-input",{attrs:{placeholder:"请输入任务名称",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.jobName,callback:function(e){t.$set(t.queryParams,"jobName",e)},expression:"queryParams.jobName"}})],1),n("el-form-item",{attrs:{label:"任务组名",prop:"jobGroup"}},[n("el-select",{attrs:{placeholder:"请选择任务组名",clearable:"",size:"small"},model:{value:t.queryParams.jobGroup,callback:function(e){t.$set(t.queryParams,"jobGroup",e)},expression:"queryParams.jobGroup"}},t._l(t.jobGroupOptions,(function(t){return n("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:t.dictValue}})})),1)],1),n("el-form-item",{attrs:{label:"任务状态",prop:"status"}},[n("el-select",{attrs:{placeholder:"请选择任务状态",clearable:"",size:"small"},model:{value:t.queryParams.status,callback:function(e){t.$set(t.queryParams,"status",e)},expression:"queryParams.status"}},t._l(t.statusOptions,(function(t){return n("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:t.dictValue}})})),1)],1),n("el-form-item",[n("el-button",{attrs:{type:"cyan",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1),n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:add"],expression:"['monitor:job:add']"}],attrs:{type:"primary",icon:"el-icon-plus",size:"mini"},on:{click:t.handleAdd}},[t._v("新增")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:edit"],expression:"['monitor:job:edit']"}],attrs:{type:"success",icon:"el-icon-edit",size:"mini",disabled:t.single},on:{click:t.handleUpdate}},[t._v("修改")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:remove"],expression:"['monitor:job:remove']"}],attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:t.multiple},on:{click:t.handleDelete}},[t._v("删除")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:export"],expression:"['monitor:job:export']"}],attrs:{type:"warning",icon:"el-icon-download",size:"mini"},on:{click:t.handleExport}},[t._v("导出")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:query"],expression:"['monitor:job:query']"}],attrs:{type:"info",icon:"el-icon-s-operation",size:"mini"},on:{click:t.handleJobLog}},[t._v("日志")])],1),n("right-toolbar",{attrs:{showSearch:t.showSearch},on:{"update:showSearch":function(e){t.showSearch=e},"update:show-search":function(e){t.showSearch=e},queryTable:t.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.jobList},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),n("el-table-column",{attrs:{label:"任务编号",align:"center",prop:"jobId"}}),n("el-table-column",{attrs:{label:"任务名称",align:"center",prop:"jobName","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"任务组名",align:"center",prop:"jobGroup",formatter:t.jobGroupFormat}}),n("el-table-column",{attrs:{label:"调用目标字符串",align:"center",prop:"invokeTarget","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"cron执行表达式",align:"center",prop:"cronExpression","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"状态",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-switch",{attrs:{"active-value":"0","inactive-value":"1"},on:{change:function(n){return t.handleStatusChange(e.row)}},model:{value:e.row.status,callback:function(n){t.$set(e.row,"status",n)},expression:"scope.row.status"}})]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:changeStatus"],expression:"['monitor:job:changeStatus']"}],attrs:{size:"mini",type:"text",icon:"el-icon-caret-right"},on:{click:function(n){return t.handleRun(e.row)}}},[t._v("执行一次")]),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:query"],expression:"['monitor:job:query']"}],attrs:{size:"mini",type:"text",icon:"el-icon-view"},on:{click:function(n){return t.handleView(e.row)}}},[t._v("详细")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(e){return t.$set(t.queryParams,"pageNum",e)},"update:limit":function(e){return t.$set(t.queryParams,"pageSize",e)},pagination:t.getList}}),n("el-dialog",{attrs:{title:t.title,visible:t.open,width:"700px","append-to-body":""},on:{"update:visible":function(e){t.open=e}}},[n("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"120px"}},[n("el-row",[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"任务名称",prop:"jobName"}},[n("el-input",{attrs:{placeholder:"请输入任务名称"},model:{value:t.form.jobName,callback:function(e){t.$set(t.form,"jobName",e)},expression:"form.jobName"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"任务分组",prop:"jobGroup"}},[n("el-select",{attrs:{placeholder:"请选择"},model:{value:t.form.jobGroup,callback:function(e){t.$set(t.form,"jobGroup",e)},expression:"form.jobGroup"}},t._l(t.jobGroupOptions,(function(t){return n("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:t.dictValue}})})),1)],1)],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{prop:"invokeTarget"}},[n("span",{attrs:{slot:"label"},slot:"label"},[t._v(" 调用方法 "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v(" Bean调用示例:ryTask.ryParams('ry') "),n("br"),t._v("Class类调用示例:com.ruoyi.quartz.task.RyTask.ryParams('ry') "),n("br"),t._v("参数说明:支持字符串,布尔类型,长整型,浮点型,整型 ")]),n("i",{staticClass:"el-icon-question"})])],1),n("el-input",{attrs:{placeholder:"请输入调用目标字符串"},model:{value:t.form.invokeTarget,callback:function(e){t.$set(t.form,"invokeTarget",e)},expression:"form.invokeTarget"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"cron表达式",prop:"cronExpression"}},[n("el-input",{attrs:{placeholder:"请输入cron执行表达式"},model:{value:t.form.cronExpression,callback:function(e){t.$set(t.form,"cronExpression",e)},expression:"form.cronExpression"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"是否并发",prop:"concurrent"}},[n("el-radio-group",{attrs:{size:"small"},model:{value:t.form.concurrent,callback:function(e){t.$set(t.form,"concurrent",e)},expression:"form.concurrent"}},[n("el-radio-button",{attrs:{label:"0"}},[t._v("允许")]),n("el-radio-button",{attrs:{label:"1"}},[t._v("禁止")])],1)],1)],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"错误策略",prop:"misfirePolicy"}},[n("el-radio-group",{attrs:{size:"small"},model:{value:t.form.misfirePolicy,callback:function(e){t.$set(t.form,"misfirePolicy",e)},expression:"form.misfirePolicy"}},[n("el-radio-button",{attrs:{label:"1"}},[t._v("立即执行")]),n("el-radio-button",{attrs:{label:"2"}},[t._v("执行一次")]),n("el-radio-button",{attrs:{label:"3"}},[t._v("放弃执行")])],1)],1)],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"状态"}},[n("el-radio-group",{model:{value:t.form.status,callback:function(e){t.$set(t.form,"status",e)},expression:"form.status"}},t._l(t.statusOptions,(function(e){return n("el-radio",{key:e.dictValue,attrs:{label:e.dictValue}},[t._v(t._s(e.dictLabel))])})),1)],1)],1)],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("确 定")]),n("el-button",{on:{click:t.cancel}},[t._v("取 消")])],1)],1),n("el-dialog",{attrs:{title:"任务详细",visible:t.openView,width:"700px","append-to-body":""},on:{"update:visible":function(e){t.openView=e}}},[n("el-form",{ref:"form",attrs:{model:t.form,"label-width":"120px",size:"mini"}},[n("el-row",[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"任务编号:"}},[t._v(t._s(t.form.jobId))]),n("el-form-item",{attrs:{label:"任务名称:"}},[t._v(t._s(t.form.jobName))])],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"任务分组:"}},[t._v(t._s(t.jobGroupFormat(t.form)))]),n("el-form-item",{attrs:{label:"创建时间:"}},[t._v(t._s(t.form.createTime))])],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"cron表达式:"}},[t._v(t._s(t.form.cronExpression))])],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"下次执行时间:"}},[t._v(t._s(t.parseTime(t.form.nextValidTime)))])],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"调用目标方法:"}},[t._v(t._s(t.form.invokeTarget))])],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"任务状态:"}},[0==t.form.status?n("div",[t._v("正常")]):1==t.form.status?n("div",[t._v("失败")]):t._e()])],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"是否并发:"}},[0==t.form.concurrent?n("div",[t._v("允许")]):1==t.form.concurrent?n("div",[t._v("禁止")]):t._e()])],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"执行策略:"}},[0==t.form.misfirePolicy?n("div",[t._v("默认策略")]):1==t.form.misfirePolicy?n("div",[t._v("立即执行")]):2==t.form.misfirePolicy?n("div",[t._v("执行一次")]):3==t.form.misfirePolicy?n("div",[t._v("放弃执行")]):t._e()])],1)],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(e){t.openView=!1}}},[t._v("关 闭")])],1)],1)],1)},i=[],a=n("5530"),o=(n("d81d"),n("b775"));function A(t){return Object(o["a"])({url:"/schedule/job/list",method:"get",params:t})}function s(t){return Object(o["a"])({url:"/schedule/job/"+t,method:"get"})}function l(t){return Object(o["a"])({url:"/schedule/job",method:"post",data:t})}function c(t){return Object(o["a"])({url:"/schedule/job",method:"put",data:t})}function u(t){return Object(o["a"])({url:"/schedule/job/"+t,method:"delete"})}function d(t,e){var n={jobId:t,status:e};return Object(o["a"])({url:"/schedule/job/changeStatus",method:"put",data:n})}function h(t,e){var n={jobId:t,jobGroup:e};return Object(o["a"])({url:"/schedule/job/run",method:"put",data:n})}var f={name:"Job",data:function(){return{loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,jobList:[],title:"",open:!1,openView:!1,jobGroupOptions:[],statusOptions:[],queryParams:{pageNum:1,pageSize:10,jobName:void 0,jobGroup:void 0,status:void 0},form:{},rules:{jobName:[{required:!0,message:"任务名称不能为空",trigger:"blur"}],invokeTarget:[{required:!0,message:"调用目标字符串不能为空",trigger:"blur"}],cronExpression:[{required:!0,message:"cron执行表达式不能为空",trigger:"blur"}]}}},created:function(){var t=this;this.getList(),this.getDicts("sys_job_group").then((function(e){t.jobGroupOptions=e.data})),this.getDicts("sys_job_status").then((function(e){t.statusOptions=e.data}))},methods:{getList:function(){var t=this;this.loading=!0,A(this.queryParams).then((function(e){t.jobList=e.rows,t.total=e.total,t.loading=!1}))},jobGroupFormat:function(t,e){return this.selectDictLabel(this.jobGroupOptions,t.jobGroup)},statusFormat:function(t,e){return this.selectDictLabel(this.statusOptions,t.status)},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={jobId:void 0,jobName:void 0,jobGroup:void 0,invokeTarget:void 0,cronExpression:void 0,misfirePolicy:1,concurrent:1,status:"0"},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(t){this.ids=t.map((function(t){return t.jobId})),this.single=1!=t.length,this.multiple=!t.length},handleStatusChange:function(t){var e=this,n="0"===t.status?"启用":"停用";this.$confirm('确认要"'+n+'""'+t.jobName+'"任务吗?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return d(t.jobId,t.status)})).then((function(){e.msgSuccess(n+"成功")})).catch((function(){t.status="0"===t.status?"1":"0"}))},handleRun:function(t){var e=this;this.$confirm('确认要立即执行一次"'+t.jobName+'"任务吗?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return h(t.jobId,t.jobGroup)})).then((function(){e.msgSuccess("执行成功")}))},handleView:function(t){var e=this;s(t.jobId).then((function(t){e.form=t.data,e.openView=!0}))},handleJobLog:function(){this.$router.push("/job/log")},handleAdd:function(){this.reset(),this.open=!0,this.title="添加任务"},handleUpdate:function(t){var e=this;this.reset();var n=t.jobId||this.ids;s(n).then((function(t){e.form=t.data,e.open=!0,e.title="修改任务"}))},submitForm:function(){var t=this;this.$refs["form"].validate((function(e){e&&(void 0!=t.form.jobId?c(t.form).then((function(e){t.msgSuccess("修改成功"),t.open=!1,t.getList()})):l(t.form).then((function(e){t.msgSuccess("新增成功"),t.open=!1,t.getList()})))}))},handleDelete:function(t){var e=this,n=t.jobId||this.ids;this.$confirm('是否确认删除定时任务编号为"'+n+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return u(n)})).then((function(){e.getList(),e.msgSuccess("删除成功")}))},handleExport:function(){this.download("schedule/job/export",Object(a["a"])({},this.queryParams),"job_".concat((new Date).getTime(),".xlsx"))}}},p=f,m=n("2877"),g=Object(m["a"])(p,r,i,!1,null,null,null);e["default"]=g.exports},"3fcc":function(t,e,n){"use strict";var r=n("ebb5"),i=n("b727").map,a=n("4840"),o=r.aTypedArray,A=r.aTypedArrayConstructor,s=r.exportTypedArrayMethod;s("map",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(A(a(t,t.constructor)))(e)}))}))},4099:function(t,e,n){"use strict";n("ea55")},4655:function(t,e,n){"use strict";n("da6b")},"471b":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"userInfoPanel mt10"},[n("el-row",{staticClass:"userInfo"},[n("div",{staticClass:"noData"},[t._v("暂无数据")])])],1)},i=[],a={data:function(){return{}},mounted:function(){},methods:{}},o=a,A=(n("f612"),n("2877")),s=Object(A["a"])(o,r,i,!1,null,null,null);e["default"]=s.exports},"476c":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className,style:{height:t.height,width:t.width},attrs:{id:t.id}})},i=[],a=(n("d3b7"),n("159b"),n("99af"),n("b0c0"),n("313e")),o=n.n(a),A=n("feb2"),s={mixins:[A["default"]],props:{className:{type:String,default:"chart"},id:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"400px"},data:{type:Object,default:{}}},watch:{data:{handler:function(t,e){t&&this.initChart()},deep:!0}},data:function(){return{chart:null}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){var t=this;this.chart=o.a.init(document.getElementById(this.id));var e=[],n=[];t.data.seriesData.forEach((function(t,r){var i={name:"",type:"bar",barWidth:"40%",data:[]};t.stack&&(i.stack=t.stack),t.data&&(i.data=[].concat(t.data)),t.name&&(i.name=t.name,n.push(t.name)),e.push(i)}));var r={tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},color:t.data.color,legend:{right:"10%",top:10,data:n},grid:{top:"25%",left:"2%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",data:t.data.xAxisData,axisTick:{show:!1},axisLine:{show:!1}}],yAxis:[{type:"value",name:t.data.yAxisName,axisTick:{show:!1},axisLine:{show:!1},splitLine:{lineStyle:{color:"#EFEFEF"}}}],series:e};this.chart.setOption(r)}}},l=s,c=n("2877"),u=Object(c["a"])(l,r,i,!1,null,null,null);e["default"]=u.exports},4923:function(t,e,n){"use strict";n.r(e);n("d81d");var r=n("1980"),i=n.n(r),a=n("a85b"),o={itemBtns:function(t,e,n,r){var i=this.$listeners,a=i.copyItem,o=i.deleteItem;return[t("span",{class:"drawing-item-copy",attrs:{title:"复制"},on:{click:function(t){a(e,r),t.stopPropagation()}}},[t("i",{class:"el-icon-copy-document"})]),t("span",{class:"drawing-item-delete",attrs:{title:"删除"},on:{click:function(t){o(n,r),t.stopPropagation()}}},[t("i",{class:"el-icon-delete"})])]}},A={colFormItem:function(t,e,n,r){var i=this,A=this.$listeners.activeItem,s=this.activeId===e.formId?"drawing-item active-from-item":"drawing-item";return this.formConf.unFocusedComponentBorder&&(s+=" unfocus-bordered"),t("el-col",{attrs:{span:e.span},class:s,nativeOn:{click:function(t){A(e),t.stopPropagation()}}},[t("el-form-item",{attrs:{"label-width":e.labelWidth?"".concat(e.labelWidth,"px"):null,label:e.label,required:e.required}},[t(a["a"],{key:e.renderKey,attrs:{conf:e},on:{input:function(t){i.$set(e,"defaultValue",t)}}})]),o.itemBtns.apply(this,arguments)])},rowFormItem:function(t,e,n,r){var a=this.$listeners.activeItem,A=this.activeId===e.formId?"drawing-row-item active-from-item":"drawing-row-item",l=s.apply(this,arguments);return"flex"===e.type&&(l=t("el-row",{attrs:{type:e.type,justify:e.justify,align:e.align}},[l])),t("el-col",{attrs:{span:e.span}},[t("el-row",{attrs:{gutter:e.gutter},class:A,nativeOn:{click:function(t){a(e),t.stopPropagation()}}},[t("span",{class:"component-name"},[e.componentName]),t(i.a,{attrs:{list:e.children,animation:340,group:"componentsGroup"},class:"drag-wrapper"},[l]),o.itemBtns.apply(this,arguments)])])}};function s(t,e,n,r){var i=this;return Array.isArray(e.children)?e.children.map((function(n,r){var a=A[n.layout];return a?a.call(i,t,n,r,e.children):l()})):null}function l(){throw new Error("没有与".concat(this.element.layout,"匹配的layout"))}var c,u,d={components:{render:a["a"],draggable:i.a},props:["element","index","drawingList","activeId","formConf"],render:function(t){var e=A[this.element.layout];return e?e.call(this,t,this.element,this.index,this.drawingList):l()}},h=d,f=n("2877"),p=Object(f["a"])(h,c,u,!1,null,null,null);e["default"]=p.exports},"4b3b":function(t,e,n){var r={"./":"1e4b","./components/icons":"3a7e","./components/icons/":"3a7e","./components/icons/element-icons":"bb49","./components/icons/element-icons.js":"bb49","./components/icons/index":"3a7e","./components/icons/index.vue":"3a7e","./components/icons/svg-icons":"c7e9","./components/icons/svg-icons.js":"c7e9","./dashboard/BarChart":"9488","./dashboard/BarChart.vue":"9488","./dashboard/BarChart2":"476c","./dashboard/BarChart2.vue":"476c","./dashboard/BarChart3":"da2d","./dashboard/BarChart3.vue":"da2d","./dashboard/BarTwoWayChart":"b5bc","./dashboard/BarTwoWayChart.vue":"b5bc","./dashboard/LineBarChart":"1035","./dashboard/LineBarChart.vue":"1035","./dashboard/LineChart":"eab4","./dashboard/LineChart.vue":"eab4","./dashboard/PanelGroup":"fbc4","./dashboard/PanelGroup.vue":"fbc4","./dashboard/PieChart":"d153","./dashboard/PieChart.vue":"d153","./dashboard/PieChart2":"dda6","./dashboard/PieChart2.vue":"dda6","./dashboard/PieChartHalf":"f10d","./dashboard/PieChartHalf.vue":"f10d","./dashboard/RaddarChart":"0a5c","./dashboard/RaddarChart.vue":"0a5c","./dashboard/WordCloudChart":"4cf1","./dashboard/WordCloudChart.vue":"4cf1","./dashboard/mixins/resize":"feb2","./dashboard/mixins/resize.js":"feb2","./error/401":"ec55","./error/401.vue":"ec55","./error/404":"2754","./error/404.vue":"2754","./index":"1e4b","./index.vue":"1e4b","./login":"dd7b","./login.vue":"dd7b","./monitor/druid":"5194","./monitor/druid/":"5194","./monitor/druid/index":"5194","./monitor/druid/index.vue":"5194","./monitor/job":"3eac","./monitor/job/":"3eac","./monitor/job/index":"3eac","./monitor/job/index.vue":"3eac","./monitor/job/log":"0062","./monitor/job/log.vue":"0062","./monitor/online":"6b08","./monitor/online/":"6b08","./monitor/online/index":"6b08","./monitor/online/index.vue":"6b08","./redirect":"9b8f","./redirect.vue":"9b8f","./system/config":"cdb7","./system/config/":"cdb7","./system/config/index":"cdb7","./system/config/index.vue":"cdb7","./system/dept":"5cfa","./system/dept/":"5cfa","./system/dept/index":"5cfa","./system/dept/index.vue":"5cfa","./system/dict":"046a","./system/dict/":"046a","./system/dict/data":"bfc4","./system/dict/data.vue":"bfc4","./system/dict/index":"046a","./system/dict/index.vue":"046a","./system/log":"b380","./system/log/":"b380","./system/log/index":"b380","./system/log/index.vue":"b380","./system/logininfor":"3c51","./system/logininfor/":"3c51","./system/logininfor/index":"3c51","./system/logininfor/index.vue":"3c51","./system/menu":"f794","./system/menu/":"f794","./system/menu/index":"f794","./system/menu/index.vue":"f794","./system/notice":"202d","./system/notice/":"202d","./system/notice/index":"202d","./system/notice/index.vue":"202d","./system/operlog":"fed5b","./system/operlog/":"fed5b","./system/operlog/index":"fed5b","./system/operlog/index.vue":"fed5b","./system/post":"5788","./system/post/":"5788","./system/post/index":"5788","./system/post/index.vue":"5788","./system/role":"70eb","./system/role/":"70eb","./system/role/index":"70eb","./system/role/index.vue":"70eb","./system/sameCustomer":"0a31","./system/sameCustomer/":"0a31","./system/sameCustomer/index":"0a31","./system/sameCustomer/index.vue":"0a31","./system/user":"1f34","./system/user/":"1f34","./system/user/index":"1f34","./system/user/index.vue":"1f34","./system/user/profile":"4c1b","./system/user/profile/":"4c1b","./system/user/profile/index":"4c1b","./system/user/profile/index.vue":"4c1b","./system/user/profile/resetPwd":"ee46","./system/user/profile/resetPwd.vue":"ee46","./system/user/profile/userAvatar":"9429","./system/user/profile/userAvatar.vue":"9429","./system/user/profile/userInfo":"1e8b","./system/user/profile/userInfo.vue":"1e8b","./system/userInfo":"4c5f","./system/userInfo/":"4c5f","./system/userInfo/components/claim":"5736","./system/userInfo/components/claim.vue":"5736","./system/userInfo/components/contact":"ea91","./system/userInfo/components/contact.vue":"ea91","./system/userInfo/components/contractInformation":"8382","./system/userInfo/components/contractInformation.vue":"8382","./system/userInfo/components/habit":"6ec6","./system/userInfo/components/habit.vue":"6ec6","./system/userInfo/components/health":"50d7","./system/userInfo/components/health.vue":"50d7","./system/userInfo/components/nodata":"471b","./system/userInfo/components/nodata.vue":"471b","./system/userInfo/components/relationship":"61d0","./system/userInfo/components/relationship.vue":"61d0","./system/userInfo/components/tags":"5778","./system/userInfo/components/tags.vue":"5778","./system/userInfo/components/touched":"5a58","./system/userInfo/components/touched.vue":"5a58","./system/userInfo/index":"4c5f","./system/userInfo/index.vue":"4c5f","./system/userInfoDetails":"9ba5","./system/userInfoDetails/":"9ba5","./system/userInfoDetails/index":"9ba5","./system/userInfoDetails/index.vue":"9ba5","./system/userInfoList":"653f","./system/userInfoList/":"653f","./system/userInfoList/index":"653f","./system/userInfoList/index.vue":"653f","./tool/build":"2855","./tool/build/":"2855","./tool/build/CodeTypeDialog":"a92a","./tool/build/CodeTypeDialog.vue":"a92a","./tool/build/DraggableItem":"4923","./tool/build/DraggableItem.vue":"4923","./tool/build/IconsDialog":"d0b2","./tool/build/IconsDialog.vue":"d0b2","./tool/build/RightPanel":"766b","./tool/build/RightPanel.vue":"766b","./tool/build/TreeNodeDialog":"c81a","./tool/build/TreeNodeDialog.vue":"c81a","./tool/build/index":"2855","./tool/build/index.vue":"2855","./tool/gen":"82c8","./tool/gen/":"82c8","./tool/gen/basicInfoForm":"ed69","./tool/gen/basicInfoForm.vue":"ed69","./tool/gen/editTable":"76f8","./tool/gen/editTable.vue":"76f8","./tool/gen/genInfoForm":"8586","./tool/gen/genInfoForm.vue":"8586","./tool/gen/importTable":"6f72","./tool/gen/importTable.vue":"6f72","./tool/gen/index":"82c8","./tool/gen/index.vue":"82c8"};function i(t){var e=a(t);return n(e)}function a(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=a,t.exports=i,i.id="4b3b"},"4b43":function(t,e,n){},"4b72":function(t,e,n){"use strict";n.d(e,"f",(function(){return i})),n.d(e,"e",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"i",(function(){return A})),n.d(e,"d",(function(){return s})),n.d(e,"g",(function(){return l})),n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return u})),n.d(e,"h",(function(){return d}));var r=n("b775");function i(t){return Object(r["a"])({url:"/code/gen/list",method:"get",params:t})}function a(t){return Object(r["a"])({url:"/code/gen/db/list",method:"get",params:t})}function o(t){return Object(r["a"])({url:"/code/gen/"+t,method:"get"})}function A(t){return Object(r["a"])({url:"/code/gen",method:"put",data:t})}function s(t){return Object(r["a"])({url:"/code/gen/importTable",method:"post",params:t})}function l(t){return Object(r["a"])({url:"/code/gen/preview/"+t,method:"get"})}function c(t){return Object(r["a"])({url:"/code/gen/"+t,method:"delete"})}function u(t){return Object(r["a"])({url:"/code/gen/genCode/"+t,method:"get"})}function d(t){return Object(r["a"])({url:"/code/gen/synchDb/"+t,method:"get"})}},"4c1b":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{span:6,xs:24}},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",[t._v("个人信息")])]),n("div",[n("div",{staticClass:"text-center"},[n("userAvatar",{attrs:{user:t.user}})],1),n("ul",{staticClass:"list-group list-group-striped"},[n("li",{staticClass:"list-group-item"},[n("svg-icon",{attrs:{"icon-class":"user"}}),t._v("用户名称 "),n("div",{staticClass:"pull-right"},[t._v(t._s(t.user.userName))])],1),n("li",{staticClass:"list-group-item"},[n("svg-icon",{attrs:{"icon-class":"phone"}}),t._v("手机号码 "),n("div",{staticClass:"pull-right"},[t._v(t._s(t.user.phonenumber))])],1),n("li",{staticClass:"list-group-item"},[n("svg-icon",{attrs:{"icon-class":"email"}}),t._v("用户邮箱 "),n("div",{staticClass:"pull-right"},[t._v(t._s(t.user.email))])],1),n("li",{staticClass:"list-group-item"},[n("svg-icon",{attrs:{"icon-class":"tree"}}),t._v("所属部门 "),t.user.dept?n("div",{staticClass:"pull-right"},[t._v(t._s(t.user.dept.deptName)+" / "+t._s(t.postGroup))]):t._e()],1),n("li",{staticClass:"list-group-item"},[n("svg-icon",{attrs:{"icon-class":"peoples"}}),t._v("所属角色 "),n("div",{staticClass:"pull-right"},[t._v(t._s(t.roleGroup))])],1),n("li",{staticClass:"list-group-item"},[n("svg-icon",{attrs:{"icon-class":"date"}}),t._v("创建日期 "),n("div",{staticClass:"pull-right"},[t._v(t._s(t.user.createTime))])],1)])])])],1),n("el-col",{attrs:{span:18,xs:24}},[n("el-card",[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",[t._v("基本资料")])]),n("el-tabs",{model:{value:t.activeTab,callback:function(e){t.activeTab=e},expression:"activeTab"}},[n("el-tab-pane",{attrs:{label:"基本资料",name:"userinfo"}},[n("userInfo",{attrs:{user:t.user}})],1),n("el-tab-pane",{attrs:{label:"修改密码",name:"resetPwd"}},[n("resetPwd",{attrs:{user:t.user}})],1)],1)],1)],1)],1)],1)},i=[],a=n("9429"),o=n("1e8b"),A=n("ee46"),s=n("c0c7"),l={name:"Profile",components:{userAvatar:a["default"],userInfo:o["default"],resetPwd:A["default"]},data:function(){return{user:{},roleGroup:{},postGroup:{},activeTab:"userinfo"}},created:function(){this.getUser()},methods:{getUser:function(){var t=this;Object(s["e"])().then((function(e){t.user=e.data,t.roleGroup=e.roleGroup,t.postGroup=e.postGroup}))}}},c=l,u=n("2877"),d=Object(u["a"])(c,r,i,!1,null,null,null);e["default"]=d.exports},"4c53":function(t,e,n){"use strict";var r=n("23e7"),i=n("857a"),a=n("af03");r({target:"String",proto:!0,forced:a("sub")},{sub:function(){return i(this,"sub","","")}})},"4c5f":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"conPanel"},[n("div",{staticClass:"userInfoPanel"},[n("div",{staticClass:"title"},[t._v(t._s(t.custInfo.name)),n("span",{staticClass:"num"},[t._v("("+t._s(t.custInfo.custid)+")")]),t.custInfo.label10&&""!=t.custInfo.label10?n("span",{staticClass:"tag",domProps:{textContent:t._s(t.custInfo.label10)}}):t._e(),t.custInfo.label25&&""!=t.custInfo.label25?n("span",{staticClass:"tag",domProps:{textContent:t._s(t.custInfo.label25)}}):t._e(),t.custInfo.label73&&""!=t.custInfo.label73?n("span",{staticClass:"tag",domProps:{textContent:t._s(t.custInfo.label73)}}):t._e(),t.custInfo.label74&&""!=t.custInfo.label74?n("span",{staticClass:"tag",domProps:{textContent:t._s(t.custInfo.label74)}}):t._e(),t.custInfo.label100&&""!=t.custInfo.label100?n("span",{staticClass:"tag",domProps:{textContent:t._s(t.custInfo.label100)}}):t._e()]),n("el-row",{staticClass:"userInfo"},[n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("性别")]),0==t.custInfo.gender?n("span",{staticClass:"value"},[t._v("男")]):n("span",{staticClass:"value"},[t._v("女")])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("民族")]),n("span",{staticClass:"value"},[t._v(t._s(t.custInfo.ethnic))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("出生日期")]),n("span",{staticClass:"value"},[t._v(t._s(t.parseTime(t.custInfo.birthday,"{yy}-{mm}-{dd}")))]),t.custInfo.label3&&""!=t.custInfo.label3?n("el-tag",{staticStyle:{"margin-right":"6px"},attrs:{type:"warning",effect:"dark",size:"mini"}},[t._v(t._s(t.custInfo.label3))]):t._e(),t.custInfo.label96&&""!=t.custInfo.label96?n("el-tag",{staticStyle:{"margin-right":"6px"},attrs:{type:"warning",effect:"dark",size:"mini"}},[t._v(t._s(t.custInfo.label96))]):t._e(),t.custInfo.label97&&""!=t.custInfo.label97?n("el-tag",{staticStyle:{"margin-right":"6px"},attrs:{type:"warning",effect:"dark",size:"mini"}},[t._v(t._s(t.custInfo.label97))]):t._e()],1),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("国籍")]),n("span",{staticClass:"value"},[t._v(t._s(t.custInfo.nation))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("婚姻状况")]),n("span",{staticClass:"value"},[t._v(t._s(t.custInfo.maritalstat))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("职业")]),n("span",{staticClass:"value"},[t._v(t._s(t.custInfo.occupation))]),t.custInfo.label98&&""!=t.custInfo.label98?n("el-tag",{attrs:{type:"warning",effect:"dark",size:"mini"}},[t._v(t._s(t.custInfo.label98))]):t._e()],1),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("工作单位")]),n("span",{staticClass:"value"},[t._v(t._s(t.custInfo.employer))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("最高学历")]),n("span",{staticClass:"value"},[t._v(t._s(t.custInfo.education))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("客户类型")]),n("span",{staticClass:"value"},[t._v(t._s(t.custInfo.custtype))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("客户等级")]),n("span",{staticClass:"value",domProps:{textContent:t._s(t.levelText(t.custInfo.custclass))}})]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("社保情况")]),n("span",{staticClass:"value"},[t._v(t._s(t.custInfo.sistatus))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("官微积分")]),n("span",{staticClass:"value"},[t._v(t._s(t.custInfo.officialcalculus))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("户籍类型")]),n("span",{staticClass:"value"},[t._v(t._s(t.custInfo.regtype))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("个人年收入")]),n("span",{staticClass:"value"},[t._v(t._s(t.custInfo.pincome)+"万")]),t.custInfo.label21&&""!=t.custInfo.label21?n("el-tag",{attrs:{type:"warning",effect:"dark",size:"mini"}},[t._v(t._s(t.custInfo.label21))]):t._e()],1),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("收入来源")]),n("span",{staticClass:"value"},[t._v(t._s(t.custInfo.incomesource))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("联系地址")]),n("span",{staticClass:"value",staticStyle:{width:"70%",display:"inline-block","vertical-align":"top"}},[t._v(t._s(t.custInfo.ral))])])],1)],1),n("div",[n("el-tabs",{staticClass:"userInfoTab",on:{"tab-click":t.tabChange},model:{value:t.tabActive,callback:function(e){t.tabActive=e},expression:"tabActive"}},[n("el-tab-pane",{attrs:{label:"联系信息",name:"lxxx"}},[n("contact",{attrs:{data:t.contactData}})],1),n("el-tab-pane",{attrs:{label:"习惯偏好",name:"pzgl"}},[n("habit",{attrs:{data:t.habitData}})],1),n("el-tab-pane",{attrs:{label:"健康状况",name:"jsgl"}},[void 0!=t.healthData.height?n("health",{attrs:{data:t.healthData}}):t._e()],1),n("el-tab-pane",{attrs:{label:"关系信息",name:"gxxx"}},[n("relationship",{attrs:{data:t.relationshipData}})],1),n("el-tab-pane",{attrs:{label:"合约信息",name:"hyxx"}},[n("contract-information",{attrs:{data:t.contractInformationData,tagsData:t.tagsDataHY}})],1),n("el-tab-pane",{attrs:{label:"理赔信息",name:"lpxx"}},[n("claim",{attrs:{data:t.claimData}})],1),n("el-tab-pane",{attrs:{label:"接触信息",name:"jcxx"}},[t.touchedData.data.length>0?n("touched",{attrs:{data:t.touchedData}}):n("nodata")],1),n("el-tab-pane",{attrs:{label:"标签信息",name:"bqxx"}},[t.tagsData&&t.tagsData.length>0?n("tags",{attrs:{data:t.tagsData}}):n("nodata")],1)],1)],1)])])},i=[],a=(n("e9c4"),n("d3b7"),n("159b"),n("99af"),n("c871")),o=n("6ec6"),A=n("50d7"),s=n("8382"),l=n("5736"),c=n("ea91"),u=n("61d0"),d=n("5a58"),h=n("5778"),f=n("471b"),p={name:"UserInfoDetails",components:{habit:o["default"],health:A["default"],contractInformation:s["default"],claim:l["default"],contact:c["default"],relationship:u["default"],touched:d["default"],tags:h["default"],nodata:f["default"]},data:function(){return{loading:!0,custInfo:{},tabActive:"hyxx",habitData:{},healthData:{},contractInformationData:[],tagsDataHY:[],labelHyNum:[24,28,31,35,37,43,44,46,65,88,89,107,116,120],claimData:[],contactData:[],relationshipData:[],touchedData:{data:[],dowload:!1},tagsData:[]}},created:function(){},mounted:function(){this.getCustomerByIdData()},methods:{getCustomerByIdData:function(){this.loading=!0;var t=this,e=t.$route.query.id;Object(a["a"])({id:e}).then((function(e){console.log(e),t.loading=!1,t.custInfo=e.data.custInfo,console.log(t.custInfo.ral),t.relationshipData=e.data.relationship,t.habitData.ctype=e.data.custInfo.ctype,void 0!=e.data.custInfo.hobby1?e.data.custInfo.hobby1=e.data.custInfo.hobby1+"、":e.data.custInfo.hobby1="",void 0!=e.data.custInfo.hobby2?e.data.custInfo.hobby2=e.data.custInfo.hobby2+"、":e.data.custInfo.hobby2="",void 0!=e.data.custInfo.hobby3?e.data.custInfo.hobby3=e.data.custInfo.hobby3:e.data.custInfo.hobby3="",t.habitData.hobby=e.data.custInfo.hobby1+e.data.custInfo.hobby2+e.data.custInfo.hobby3,void 0!=e.data.custInfo.evadate?t.healthData.evadate=e.data.custInfo.evadate:t.healthData.evadate="",void 0!=e.data.custInfo.height?t.healthData.height=e.data.custInfo.height:t.healthData.height="",void 0!=e.data.custInfo.weight?t.healthData.weight=e.data.custInfo.weight:t.healthData.weight="",void 0!=e.data.custInfo.bmi?t.healthData.bmi=e.data.custInfo.bmi:t.healthData.bmi="",console.log(t.healthData),t.labelAll(),t.labelHy(),void 0!=e.data.insuranceclaimthread?t.claimData=e.data.insuranceclaimthread:t.claimData=[],void 0!=e.data.insurancearrangement?t.contractInformationData=e.data.insurancearrangement:t.contractInformationData=[];var n={};void 0!=e.data.custInfo.nation&&(n.nation=e.data.custInfo.nation),void 0!=e.data.custInfo.sobirth&&(n.province=e.data.custInfo.sobirth),void 0!=e.data.custInfo.raid&&(n.raid=e.data.custInfo.raid),void 0!=e.data.custInfo.qq&&(n.qq=e.data.custInfo.qq),void 0!=e.data.custInfo.email!=void 0&&(n.email=e.data.custInfo.email),void 0!=e.data.custInfo.wechat&&(n.wechat=e.data.custInfo.wechat),void 0!=e.data.custInfo.pmphone&&(n.pmphone=e.data.custInfo.pmphone),void 0!=e.data.custInfo.ral&&(n.ral=e.data.custInfo.ral),void 0!=e.data.custInfo.zipcode&&(n.zipcode=e.data.custInfo.zipcode),"{}"==JSON.stringify(n)?t.contactData=[]:t.contactData.push(n),t.touchedData.data=[],void 0!=e.data.partytimeline&&e.data.partytimeline.length>0&&e.data.partytimeline.forEach((function(n,r){var i,a,o,A,s="";s=r<e.data.partytimeline.length/2?"#DCE4F7":"#FEE2B0",i=void 0!=n.policyno?n.policyno:"",a=void 0!=n.scenario?n.scenario:"",o=void 0!=n.prole?n.prole:"",A=void 0!=n.describe?n.describe:"";var l={label:"接触类型:".concat(a,"<br>接触原因:").concat(A,"<br>接触角色:").concat(o,"<br>保险单号:").concat(i),date:t.parseTime(n.sdate,"{yy}-{mm}-{dd}"),backgroundColor:s};t.touchedData.data.push(l)}))}))},labelAll:function(){var t=this;t.tagsData=[];for(var e=0;e<120;e++){var n="label"+e;t.custInfo[n]&&""!=t.custInfo[n]&&t.tagsData.push(t.custInfo[n])}},labelHy:function(){var t=this;t.tagsDataHY=[],t.labelHyNum.forEach((function(e,n){var r="label"+e;t.custInfo[r]&&""!=t.custInfo[r]&&t.tagsDataHY.push(t.custInfo[r])}))},hasHealthData:function(){return console.log(this.healthData),void 0!=this.healthData.evadate||(void 0!=this.healthData.height||(void 0!=this.healthData.weight||void 0!=this.healthData.bmi))},tabChange:function(t,e){console.log(t,e)}}},m=p,g=(n("ebe1"),n("a259"),n("2877")),v=Object(g["a"])(m,r,i,!1,null,null,null);e["default"]=v.exports},"4cf1":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className,style:{height:t.height,width:t.width},attrs:{id:t.id}})},i=[],a=n("313e"),o=n.n(a),A=n("feb2"),s=(n("29f5"),n("da0d"),n("76fc"),{mixins:[A["default"]],props:{className:{type:String,default:"chart"},id:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"400px"},data:{type:Array,default:[]},title:{type:String,default:""}},data:function(){return{chart:null}},watch:{data:{handler:function(t,e){t&&this.initChart()},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=o.a.init(document.getElementById(this.id));var t={title:{text:this.title,x:"center"},series:[{type:"wordCloud",shape:"circle",gridSize:6,sizeRange:[14,20],rotationRange:[0,90],rotationStep:90,textStyle:{normal:{color:function(){var t=["#f39800","#007de7","#63d5f8","#b7e2fe"];return t[parseInt(4*Math.random())]}}},left:"center",top:"center",right:null,bottom:null,width:"200%",height:"200%",data:this.data}]};this.chart.setOption(t)}}}),l=s,c=n("2877"),u=Object(c["a"])(l,r,i,!1,null,null,null);e["default"]=u.exports},"4d7c":function(t,e,n){var r,i;(function(){var n=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=15)}([,,function(t,e,n){"use strict";function r(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function i(t,e){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),e=e||"",t.indent_level>0&&(e=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=e,this.__base_string_length=e.length}function a(t,e){this.__indent_cache=new i(t,e),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new r(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}r.prototype.clone_empty=function(){var t=new r(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},r.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},r.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1},r.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},r.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},r.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},r.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===t.__items[0]&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},r.prototype.is_empty=function(){return 0===this.__items.length},r.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},r.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},r.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},r.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},r.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},r.prototype.trim=function(){while(" "===this.last())this.__items.pop(),this.__character_count-=1},r.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t},i.prototype.get_indent_size=function(t,e){var n=this.__base_string_length;return e=e||0,t<0&&(n=0),n+=t*this.__indent_size,n+=e,n},i.prototype.get_indent_string=function(t,e){var n=this.__base_string;return e=e||0,t<0&&(t=0,n=""),e+=t*this.__indent_size,this.__ensure_cache(e),n+=this.__cache[e],n},i.prototype.__ensure_cache=function(t){while(t>=this.__cache.length)this.__add_column()},i.prototype.__add_column=function(){var t=this.__cache.length,e=0,n="";this.__indent_size&&t>=this.__indent_size&&(e=Math.floor(t/this.__indent_size),t-=e*this.__indent_size,n=new Array(e+1).join(this.__indent_string)),t&&(n+=new Array(t+1).join(" ")),this.__cache.push(n)},a.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},a.prototype.get_line_number=function(){return this.__lines.length},a.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)},a.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(t){return!(this.is_empty()||!t&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},a.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(t,e){return t=t||0,e=e||0,this.next_line.set_indent(t,e),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(t){for(var e=0;e<t.newlines;e++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},a.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},a.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},a.prototype.remove_indent=function(t){var e=this.__lines.length;while(t<e)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()},a.prototype.trim=function(t){t=void 0!==t&&t,this.current_line.trim();while(t&&this.__lines.length>1&&this.current_line.is_empty())this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},a.prototype.just_added_newline=function(){return this.current_line.is_empty()},a.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},a.prototype.ensure_empty_line_above=function(t,e){var n=this.__lines.length-2;while(n>=0){var i=this.__lines[n];if(i.is_empty())break;if(0!==i.item(0).indexOf(t)&&i.item(-1)!==e){this.__lines.splice(n+1,0,new r(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},t.exports.Output=a},,,,function(t,e,n){"use strict";function r(t,e){this.raw_options=i(t,e),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function i(t,e){var n,r={};for(n in t=a(t),t)n!==e&&(r[n]=t[n]);if(e&&t[e])for(n in t[e])r[n]=t[e][n];return r}function a(t){var e,n={};for(e in t){var r=e.replace(/-/g,"_");n[r]=t[e]}return n}r.prototype._get_array=function(t,e){var n=this.raw_options[t],r=e||[];return"object"===typeof n?null!==n&&"function"===typeof n.concat&&(r=n.concat()):"string"===typeof n&&(r=n.split(/[^a-zA-Z0-9_\/\-]+/)),r},r.prototype._get_boolean=function(t,e){var n=this.raw_options[t],r=void 0===n?!!e:!!n;return r},r.prototype._get_characters=function(t,e){var n=this.raw_options[t],r=e||"";return"string"===typeof n&&(r=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),r},r.prototype._get_number=function(t,e){var n=this.raw_options[t];e=parseInt(e,10),isNaN(e)&&(e=0);var r=parseInt(n,10);return isNaN(r)&&(r=e),r},r.prototype._get_selection=function(t,e,n){var r=this._get_selection_list(t,e,n);if(1!==r.length)throw new Error("Invalid Option Value: The option '"+t+"' can only be one of the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return r[0]},r.prototype._get_selection_list=function(t,e,n){if(!e||0===e.length)throw new Error("Selection list cannot be empty.");if(n=n||[e[0]],!this._is_valid_selection(n,e))throw new Error("Invalid Default Value!");var r=this._get_array(t,n);if(!this._is_valid_selection(r,e))throw new Error("Invalid Option Value: The option '"+t+"' can contain only the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return r},r.prototype._is_valid_selection=function(t,e){return t.length&&e.length&&!t.some((function(t){return-1===e.indexOf(t)}))},t.exports.Options=r,t.exports.normalizeOpts=a,t.exports.mergeOpts=i},,function(t,e,n){"use strict";var r=RegExp.prototype.hasOwnProperty("sticky");function i(t){this.__input=t||"",this.__input_length=this.__input.length,this.__position=0}i.prototype.restart=function(){this.__position=0},i.prototype.back=function(){this.__position>0&&(this.__position-=1)},i.prototype.hasNext=function(){return this.__position<this.__input_length},i.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__input.charAt(this.__position),this.__position+=1),t},i.prototype.peek=function(t){var e=null;return t=t||0,t+=this.__position,t>=0&&t<this.__input_length&&(e=this.__input.charAt(t)),e},i.prototype.__match=function(t,e){t.lastIndex=e;var n=t.exec(this.__input);return!n||r&&t.sticky||n.index!==e&&(n=null),n},i.prototype.test=function(t,e){return e=e||0,e+=this.__position,e>=0&&e<this.__input_length&&!!this.__match(t,e)},i.prototype.testChar=function(t,e){var n=this.peek(e);return t.lastIndex=0,null!==n&&t.test(n)},i.prototype.match=function(t){var e=this.__match(t,this.__position);return e?this.__position+=e[0].length:e=null,e},i.prototype.read=function(t,e,n){var r,i="";return t&&(r=this.match(t),r&&(i+=r[0])),!e||!r&&t||(i+=this.readUntil(e,n)),i},i.prototype.readUntil=function(t,e){var n="",r=this.__position;t.lastIndex=this.__position;var i=t.exec(this.__input);return i?(r=i.index,e&&(r+=i[0].length)):r=this.__input_length,n=this.__input.substring(this.__position,r),this.__position=r,n},i.prototype.readUntilAfter=function(t){return this.readUntil(t,!0)},i.prototype.get_regexp=function(t,e){var n=null,i="g";return e&&r&&(i="y"),"string"===typeof t&&""!==t?n=new RegExp(t,i):t&&(n=new RegExp(t.source,i)),n},i.prototype.get_literal_regexp=function(t){return RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},i.prototype.peekUntilAfter=function(t){var e=this.__position,n=this.readUntilAfter(t);return this.__position=e,n},i.prototype.lookBack=function(t){var e=this.__position-1;return e>=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=i},,,,,function(t,e,n){"use strict";function r(t,e){t="string"===typeof t?t:t.source,e="string"===typeof e?e:e.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+e,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+e,"g")}r.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var e={};this.__directive_pattern.lastIndex=0;var n=this.__directive_pattern.exec(t);while(n)e[n[1]]=n[2],n=this.__directive_pattern.exec(t);return e},r.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)},t.exports.Directives=r},,function(t,e,n){"use strict";var r=n(16).Beautifier,i=n(17).Options;function a(t,e){var n=new r(t,e);return n.beautify()}t.exports=a,t.exports.defaultOptions=function(){return new i}},function(t,e,n){"use strict";var r=n(17).Options,i=n(2).Output,a=n(8).InputScanner,o=n(13).Directives,A=new o(/\/\*/,/\*\//),s=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,c=/\s/,u=/(?:\s|\n)+/g,d=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,h=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function f(t,e){this._source_text=t||"",this._options=new r(e),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}f.prototype.eatString=function(t){var e="";this._ch=this._input.next();while(this._ch){if(e+=this._ch,"\\"===this._ch)e+=this._input.next();else if(-1!==t.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return e},f.prototype.eatWhitespace=function(t){var e=c.test(this._input.peek()),n=!0;while(c.test(this._input.peek()))this._ch=this._input.next(),t&&"\n"===this._ch&&(this._options.preserve_newlines||n)&&(n=!1,this._output.add_new_line(!0));return e},f.prototype.foundNestedPseudoClass=function(){var t=0,e=1,n=this._input.peek(e);while(n){if("{"===n)return!0;if("("===n)t+=1;else if(")"===n){if(0===t)return!1;t-=1}else if(";"===n||"}"===n)return!1;e++,n=this._input.peek(e)}return!1},f.prototype.print_string=function(t){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(t)},f.prototype.preserveSingleSpace=function(t){t&&(this._output.space_before_token=!0)},f.prototype.indent=function(){this._indentLevel++},f.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},f.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._source_text,e=this._options.eol;"auto"===e&&(e="\n",t&&s.test(t||"")&&(e=t.match(s)[0])),t=t.replace(l,"\n");var n=t.match(/^[\t ]*/)[0];this._output=new i(this._options,n),this._input=new a(t),this._indentLevel=0,this._nestedLevel=0,this._ch=null;var r,o,f,p=0,m=!1,g=!1,v=!1,_=!1,y=!1,b=this._ch;while(1){if(r=this._input.read(u),o=""!==r,f=b,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),b=this._ch,!this._ch)break;if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var w=this._input.read(d),B=A.get_directives(w);B&&"start"===B.ignore&&(w+=A.readIgnored(this._input)),this.print_string(w),this.eatWhitespace(!0),this._output.add_new_line()}else if("/"===this._ch&&"/"===this._input.peek())this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(h)),this.eatWhitespace(!0);else if("@"===this._ch)if(this.preserveSingleSpace(o),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var x=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);x.match(/[ :]$/)&&(x=this.eatString(": ").replace(/\s$/,""),this.print_string(x),this._output.space_before_token=!0),x=x.replace(/\s$/,""),"extend"===x?_=!0:"import"===x&&(y=!0),x in this.NESTED_AT_RULE?(this._nestedLevel+=1,x in this.CONDITIONAL_GROUP_RULE&&(v=!0)):m||0!==p||-1===x.indexOf(":")||(g=!0,this.indent())}else"#"===this._ch&&"{"===this._input.peek()?(this.preserveSingleSpace(o),this.print_string(this._ch+this.eatString("}"))):"{"===this._ch?(g&&(g=!1,this.outdent()),this.indent(),this._output.space_before_token=!0,this.print_string(this._ch),v?(v=!1,m=this._indentLevel>this._nestedLevel):m=this._indentLevel>=this._nestedLevel,this._options.newline_between_rules&&m&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this.eatWhitespace(!0),this._output.add_new_line()):"}"===this._ch?(this.outdent(),this._output.add_new_line(),"{"===f&&this._output.trim(!0),y=!1,_=!1,g&&(this.outdent(),g=!1),this.print_string(this._ch),m=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&"}"!==this._input.peek()&&this._output.add_new_line(!0)):":"===this._ch?!m&&!v||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||_||0!==p?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),":"===this._input.peek()?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),g||(g=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):'"'===this._ch||"'"===this._ch?(this.preserveSingleSpace(o),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):";"===this._ch?0===p?(g&&(this.outdent(),g=!1),_=!1,y=!1,this.print_string(this._ch),this.eatWhitespace(!0),"/"!==this._input.peek()&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0):"("===this._ch?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),p++,this.indent(),this._ch=this._input.next(),")"===this._ch||'"'===this._ch||"'"===this._ch?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),p&&(p--,this.outdent()))):(this.preserveSingleSpace(o),this.print_string(this._ch),this.eatWhitespace(),p++,this.indent()):")"===this._ch?(p&&(p--,this.outdent()),this.print_string(this._ch)):","===this._ch?(this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||g||0!==p||y?this._output.space_before_token=!0:this._output.add_new_line()):">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||g||0!==p?"]"===this._ch?this.print_string(this._ch):"["===this._ch?(this.preserveSingleSpace(o),this.print_string(this._ch)):"="===this._ch?(this.eatWhitespace(),this.print_string("="),c.test(this._ch)&&(this._ch="")):"!"!==this._ch||this._input.lookBack("\\")?(this.preserveSingleSpace(o),this.print_string(this._ch)):(this.print_string(" "),this.print_string(this._ch)):this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&c.test(this._ch)&&(this._ch=""))}var C=this._output.get_code(e);return C},t.exports.Beautifier=f},function(t,e,n){"use strict";var r=n(6).Options;function i(t){r.call(this,t,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var e=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||e}i.prototype=new r,t.exports.Options=i}]),a=n;r=[],i=function(){return{css_beautify:a}}.apply(e,r),void 0===i||(t.exports=i)})()},"4ff4":function(t,e,n){"use strict";n("8243")},"50d7":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"userInfoPanel mt10"},[n("el-row",{staticClass:"userInfo"},[n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("身高")]),n("span",{staticClass:"value"},[t._v(t._s(t.data.height)+"cm")])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("体重")]),n("span",{staticClass:"value"},[t._v(t._s(t.data.weight)+"kg")])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("BMI体质指数")]),n("span",{staticClass:"value"},[t._v(t._s(t.data.bmi))])])],1)],1)},i=[],a={props:{data:{type:Object,default:function(){return{}}}},data:function(){return{}},mounted:function(){},methods:{}},o=a,A=n("2877"),s=Object(A["a"])(o,r,i,!1,null,null,null);e["default"]=s.exports},5194:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],style:"height:"+t.height},[n("iframe",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.src,frameborder:"no",scrolling:"auto"}})])},i=[],a={name:"Druid",data:function(){return{src:"http://10.52.200.159:8080/shanghaigateway//druid/index.html",height:document.documentElement.clientHeight-94.5+"px;",loading:!0}},mounted:function(){var t=this;setTimeout((function(){t.loading=!1}),230);var e=this;window.onresize=function(){e.height=document.documentElement.clientHeight-94.5+"px;"}}},o=a,A=n("2877"),s=Object(A["a"])(o,r,i,!1,null,null,null);e["default"]=s.exports},5722:function(t,e,n){"use strict";n("7a32")},5736:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"userInfoPanel mt10"},[t._l(t.data,(function(e,r){return t.data&&t.data.length>0?n("el-row",{key:r,staticClass:"userInfo"},[n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("立案号")]),n("span",{staticClass:"value"},[t._v(t._s(e.crno))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("保险单号")]),n("span",{staticClass:"value"},[t._v(t._s(e.policyno))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("损失发生时间")]),n("span",{staticClass:"value"},[t._v(t._s(t.parseTime(e.losstime,"{yy}-{mm}-{dd}")))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("报案人名称")]),n("span",{staticClass:"value"},[t._v(t._s(e.rpname))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("出险人名称")]),n("span",{staticClass:"value"},[t._v(t._s(e.lpname))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("报案日期")]),n("span",{staticClass:"value"},[t._v(t._s(t.parseTime(e.cndate,"{yy}-{mm}-{dd}")))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("损失原因")]),n("span",{staticClass:"value"},[t._v(t._s(e.lossdescribe))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("立案日期")]),n("span",{staticClass:"value"},[t._v(t._s(t.parseTime(e.crdate,"{yy}-{mm}-{dd}")))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("报案人与出险人关系")]),n("span",{staticClass:"value"},[t._v(t._s(e.relationship))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("险种名称")]),n("span",{staticClass:"value"},[t._v(t._s(e.productname))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("赔付金额")]),n("span",{staticClass:"value"},[t._v(t._s(e.ccamt)+"元")])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("案件状态")]),n("span",{staticClass:"value"},[t._v(t._s(e.claimcasestatus))])]),n("el-col",{attrs:{span:24}},[n("span",{staticClass:"name"},[t._v("报案描述")]),n("span",{staticClass:"value bxms"},[t._v(t._s(e.cndescribe))])]),n("el-col",{attrs:{span:24}},[r!=t.data.length-1?n("div",{staticClass:"line"}):t._e()])],1):t._e()})),0==t.data.length?n("el-row",{staticClass:"userInfo"},[n("div",{staticClass:"noData"},[t._v("暂无数据")])]):t._e()],2)},i=[],a={props:{data:{type:Array,default:function(){return[]}}},data:function(){return{}},mounted:function(){},methods:{}},o=a,A=(n("2473"),n("2877")),s=Object(A["a"])(o,r,i,!1,null,null,null);e["default"]=s.exports},5778:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tagDiv"},t._l(t.data,(function(e,r){return n("el-tag",{key:r,staticClass:"tag",attrs:{type:"warning",effect:"dark",size:"mini"}},[t._v(t._s(e))])})),1)},i=[],a={props:{data:{type:Array,default:function(){return[]}}},data:function(){return{}},mounted:function(){this.initChart()},methods:{initChart:function(){}}},o=a,A=n("2877"),s=Object(A["a"])(o,r,i,!1,null,null,null);e["default"]=s.exports},5788:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],ref:"queryForm",staticClass:"queryParams bgWhite",attrs:{model:t.queryParams,inline:!0,"label-width":"68px"}},[n("el-form-item",{attrs:{label:"岗位编码",prop:"postCode"}},[n("el-input",{attrs:{placeholder:"请输入岗位编码",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.postCode,callback:function(e){t.$set(t.queryParams,"postCode",e)},expression:"queryParams.postCode"}})],1),n("el-form-item",{attrs:{label:"岗位名称",prop:"postName"}},[n("el-input",{attrs:{placeholder:"请输入岗位名称",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.postName,callback:function(e){t.$set(t.queryParams,"postName",e)},expression:"queryParams.postName"}})],1),n("el-form-item",{attrs:{label:"状态",prop:"status"}},[n("el-select",{attrs:{placeholder:"岗位状态",clearable:"",size:"small"},model:{value:t.queryParams.status,callback:function(e){t.$set(t.queryParams,"status",e)},expression:"queryParams.status"}},t._l(t.statusOptions,(function(t){return n("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:t.dictValue}})})),1)],1),n("el-form-item",[n("el-button",{attrs:{type:"cyan",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1),n("div",{staticClass:"bgWhite"},[n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:post:add"],expression:"['system:post:add']"}],attrs:{type:"cyan",icon:"el-icon-plus",size:"mini"},on:{click:t.handleAdd}},[t._v("新增")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:post:edit"],expression:"['system:post:edit']"}],attrs:{icon:"el-icon-edit",size:"mini",disabled:t.single},on:{click:t.handleUpdate}},[t._v("修改")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:post:remove"],expression:"['system:post:remove']"}],attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:t.multiple},on:{click:t.handleDelete}},[t._v("删除")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:post:export"],expression:"['system:post:export']"}],attrs:{type:"warning",icon:"el-icon-download",size:"mini"},on:{click:t.handleExport}},[t._v("导出")])],1),n("right-toolbar",{attrs:{showSearch:t.showSearch},on:{"update:showSearch":function(e){t.showSearch=e},"update:show-search":function(e){t.showSearch=e},queryTable:t.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.postList},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),n("el-table-column",{attrs:{label:"岗位编号",align:"center",prop:"postId"}}),n("el-table-column",{attrs:{label:"岗位编码",align:"center",prop:"postCode"}}),n("el-table-column",{attrs:{label:"岗位名称",align:"center",prop:"postName"}}),n("el-table-column",{attrs:{label:"岗位排序",align:"center",prop:"postSort"}}),n("el-table-column",{attrs:{label:"状态",align:"center",prop:"status",formatter:t.statusFormat}}),n("el-table-column",{attrs:{label:"创建时间",align:"center",prop:"createTime",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.parseTime(e.row.createTime)))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:post:edit"],expression:"['system:post:edit']"}],attrs:{size:"mini",type:"text",icon:"el-icon-edit"},on:{click:function(n){return t.handleUpdate(e.row)}}},[t._v("修改")]),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:post:remove"],expression:"['system:post:remove']"}],attrs:{size:"mini",type:"text",icon:"el-icon-delete"},on:{click:function(n){return t.handleDelete(e.row)}}},[t._v("删除")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(e){return t.$set(t.queryParams,"pageNum",e)},"update:limit":function(e){return t.$set(t.queryParams,"pageSize",e)},pagination:t.getList}}),n("el-dialog",{attrs:{title:t.title,visible:t.open,width:"500px","append-to-body":""},on:{"update:visible":function(e){t.open=e}}},[n("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"80px"}},[n("el-form-item",{attrs:{label:"岗位名称",prop:"postName"}},[n("el-input",{attrs:{placeholder:"请输入岗位名称"},model:{value:t.form.postName,callback:function(e){t.$set(t.form,"postName",e)},expression:"form.postName"}})],1),n("el-form-item",{attrs:{label:"岗位编码",prop:"postCode"}},[n("el-input",{attrs:{placeholder:"请输入编码名称"},model:{value:t.form.postCode,callback:function(e){t.$set(t.form,"postCode",e)},expression:"form.postCode"}})],1),n("el-form-item",{attrs:{label:"岗位顺序",prop:"postSort"}},[n("el-input-number",{attrs:{"controls-position":"right",min:0},model:{value:t.form.postSort,callback:function(e){t.$set(t.form,"postSort",e)},expression:"form.postSort"}})],1),n("el-form-item",{attrs:{label:"岗位状态",prop:"status"}},[n("el-radio-group",{model:{value:t.form.status,callback:function(e){t.$set(t.form,"status",e)},expression:"form.status"}},t._l(t.statusOptions,(function(e){return n("el-radio",{key:e.dictValue,attrs:{label:e.dictValue}},[t._v(t._s(e.dictLabel))])})),1)],1),n("el-form-item",{attrs:{label:"备注",prop:"remark"}},[n("el-input",{attrs:{type:"textarea",placeholder:"请输入内容"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("确 定")]),n("el-button",{on:{click:t.cancel}},[t._v("取 消")])],1)],1)],1)],1)},i=[],a=n("5530"),o=(n("d81d"),n("b775"));function A(t){return Object(o["a"])({url:"/system/post/list",method:"get",params:t})}function s(t){return Object(o["a"])({url:"/system/post/"+t,method:"get"})}function l(t){return Object(o["a"])({url:"/system/post",method:"post",data:t})}function c(t){return Object(o["a"])({url:"/system/post",method:"put",data:t})}function u(t){return Object(o["a"])({url:"/system/post/"+t,method:"delete"})}var d={name:"Post",data:function(){return{loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,postList:[],title:"",open:!1,statusOptions:[],queryParams:{pageNum:1,pageSize:10,postCode:void 0,postName:void 0,status:void 0},form:{},rules:{postName:[{required:!0,message:"岗位名称不能为空",trigger:"blur"}],postCode:[{required:!0,message:"岗位编码不能为空",trigger:"blur"}],postSort:[{required:!0,message:"岗位顺序不能为空",trigger:"blur"}]}}},created:function(){var t=this;this.getList(),this.getDicts("sys_normal_disable").then((function(e){t.statusOptions=e.data}))},methods:{getList:function(){var t=this;this.loading=!0,A(this.queryParams).then((function(e){t.postList=e.rows,t.total=e.total,t.loading=!1}))},statusFormat:function(t,e){return this.selectDictLabel(this.statusOptions,t.status)},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={postId:void 0,postCode:void 0,postName:void 0,postSort:0,status:"0",remark:void 0},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(t){this.ids=t.map((function(t){return t.postId})),this.single=1!=t.length,this.multiple=!t.length},handleAdd:function(){this.reset(),this.open=!0,this.title="添加岗位"},handleUpdate:function(t){var e=this;this.reset();var n=t.postId||this.ids;s(n).then((function(t){e.form=t.data,e.open=!0,e.title="修改岗位"}))},submitForm:function(){var t=this;this.$refs["form"].validate((function(e){e&&(void 0!=t.form.postId?c(t.form).then((function(e){t.msgSuccess("修改成功"),t.open=!1,t.getList()})):l(t.form).then((function(e){t.msgSuccess("新增成功"),t.open=!1,t.getList()})))}))},handleDelete:function(t){var e=this,n=t.postId||this.ids;this.$confirm('是否确认删除岗位编号为"'+n+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return u(n)})).then((function(){e.getList(),e.msgSuccess("删除成功")}))},handleExport:function(){this.download("system/post/export",Object(a["a"])({},this.queryParams),"post_".concat((new Date).getTime(),".xlsx"))}}},h=d,f=n("2877"),p=Object(f["a"])(h,r,i,!1,null,null,null);e["default"]=p.exports},"58b0":function(t,e,n){"use strict";n("f375")},"5a58":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"userInfoPanel pd15"},[n("div",{staticClass:"wrapper"},[n("div",{staticClass:"fish-bone"})])])}],a=(n("f635"),n("7db0"),n("d3b7"),n("c0e9")),o=n.n(a),A=n("1157"),s=n.n(A);(function(t,e,n){var r={gapStep:250,style:"#013C8A",option:{},dowload:!0,axisTpl:'<div class="fish-bone-axis"></div><div class="fish-bone-node dateNodeEnd"></div><div class="zhanwei"></div>',blockTpl:'\n <div class="fish-bone-block">\n\n <div class="fish-bone-line upper-line"></div>\n <div class="fish-bone-line lower-line"></div>\n <div class="fish-bone-node active-node"></div>\n <div class="fish-bone-content active-content label-content">\n\n </div>\n <div class="fish-bone-content date-conent active-content">\n\n </div>\n </div>\n '},i={},a=147,o=140,A=36,s=108,l=206,c=211,u=195,d=230,h=210;function f(t){var r=e(t).get(0),i=e(t).clone();n&&($width=e(".fish-bone-axis").width(),i.width($width),e("body").append(i),r=i.get(0),n(r,{onrendered:function(t){var n=t.toDataURL(),r=e("<a>").attr("href",n).attr("download","下载.png").appendTo("body");r[0].click(),r.remove(),i.remove()}}))}r.init=function(t,n){this.style=n.color?n.color:this.style,this.dowload=n.dowload?n.dowload:this.dowload,i=n;var r=n.data,f=r.length,p="";p+=this.axisTpl;for(var m=0;m<f;m++){if(p+='<div class="fish-bone-block">',m%2==0)var g="top",v="bottom";else g="bottom",v="top";p+='<div class="fish-bone-content label-content" style="left:'+(A+this.gapStep*m)+"px;"+g+":"+d+"px;background-color:"+r[m].backgroundColor+'">',p+=r[m].label,p+="</div>",p+='<div class="fish-bone-node labelNode" style="top:'+u+"px;left:"+(o+this.gapStep*m)+"px;border-color:"+r[m].lineColor+'"></div>',p+=m%2==0?'<div class="fish-bone-line fish-bone-line1 lower-line" style="left:'+(a+this.gapStep*m)+"px;top:"+c+"px;background-color:"+r[m].lineColor+'"></div>':'<div class="fish-bone-line fish-bone-line2 upper-line" style="left:'+(a+this.gapStep*m)+"px;bottom:"+l+"px;background-color:"+r[m].lineColor+'"></div>',p+='<div class=" date-conent" style="left:'+(s+this.gapStep*m)+"px;"+v+":"+h+'px;">',p+=r[m].date,p+="</div>",p+="</div>"}p+='<div class="fish-bone-node dateNode"></div>',p+='<div class="start">Start</div>',e(t).html(p);var _=Math.ceil(f/3);f%3==0&&(_+=.5),console.log(_),e(".fish-bone-axis").css({width:740*_+"px"}),e(".dateNodeEnd").css({left:740*_+44+"px"}),e(".zhanwei").css({left:740*_+60+"px"});this.style;this.attachClickEvent(t)},r.attachClickEvent=function(t){var n=this.style;e(".fish-bone-block").on("click",(function(){i.data.length;e(".fish-bone-block").each((function(t,n){e(".fish-bone-block").eq(t).find(".fish-bone-content").css({"background-color":i.data[t].backgroundColor,color:"#3965a6"})})),e(".fish-bone-node").removeClass("active-node"),e(this).find(".fish-bone-content").css({"background-color":n,color:"#FFF"}),e(this).find(".fish-bone-node").addClass("active-node")})),e(t+" .fish-bone-download").on("click",(function(){e(t+" .fish-bone-content").removeClass("active-content").css({"background-color":"#f5f5f5"}),e(t+" .fish-bone-node").removeClass("active-node"),f(t)}))},t.fishBone=r})(window,s.a,o.a);var l={props:{data:{type:Object,default:{}}},data:function(){return{}},mounted:function(){this.initChart()},methods:{initChart:function(){fishBone.init(".fish-bone",this.data)}}},c=l,u=n("2877"),d=Object(u["a"])(c,r,i,!1,null,null,null);e["default"]=d.exports},"5b21":function(t,e,n){},"5cfa":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],ref:"queryForm",staticClass:"queryParams bgWhite",attrs:{model:t.queryParams,inline:!0}},[n("el-form-item",{attrs:{label:"部门名称:",prop:"deptName"}},[n("el-input",{attrs:{placeholder:"请输入部门名称",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.deptName,callback:function(e){t.$set(t.queryParams,"deptName",e)},expression:"queryParams.deptName"}})],1),n("el-form-item",{attrs:{label:"状态:",prop:"status"}},[n("el-select",{attrs:{placeholder:"部门状态",clearable:"",size:"small"},model:{value:t.queryParams.status,callback:function(e){t.$set(t.queryParams,"status",e)},expression:"queryParams.status"}},t._l(t.statusOptions,(function(t){return n("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:t.dictValue}})})),1)],1),n("el-form-item",[n("el-button",{attrs:{type:"cyan",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1),n("div",{staticClass:"bgWhite"},[n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dept:add"],expression:"['system:dept:add']"}],attrs:{type:"cyan",icon:"el-icon-plus",size:"mini"},on:{click:t.handleAdd}},[t._v("新增")]),n("el-button",{attrs:{type:"warning",icon:"el-icon-plus",size:"mini"},on:{click:t.isExpandAll}},[t._v("展开/折叠")])],1),n("right-toolbar",{attrs:{showSearch:t.showSearch},on:{"update:showSearch":function(e){t.showSearch=e},"update:show-search":function(e){t.showSearch=e},queryTable:t.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"treeTable",attrs:{data:t.deptList,"row-key":"deptId","default-expand-all":"","tree-props":{children:"children",hasChildren:"hasChildren"}}},[n("el-table-column",{attrs:{prop:"deptName",label:"部门名称",width:"260"}}),n("el-table-column",{attrs:{prop:"orderNum",label:"排序",width:"200"}}),n("el-table-column",{attrs:{label:"状态",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{staticClass:"statusTag"},[t._v(t._s(t.statusFormat(e.row)))])]}}])}),n("el-table-column",{attrs:{label:"创建时间",align:"center",prop:"createTime",width:"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.parseTime(e.row.createTime)))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dept:edit"],expression:"['system:dept:edit']"}],attrs:{size:"mini",icon:"el-icon-edit"},on:{click:function(n){return t.handleUpdate(e.row)}}},[t._v("修改")]),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dept:add"],expression:"['system:dept:add']"}],attrs:{size:"mini",type:"cyan",icon:"el-icon-plus"},on:{click:function(n){return t.handleAdd(e.row)}}},[t._v("新增")]),0!=e.row.parentId?n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dept:remove"],expression:"['system:dept:remove']"}],attrs:{size:"mini",type:"danger",icon:"el-icon-delete"},on:{click:function(n){return t.handleDelete(e.row)}}},[t._v("删除")]):t._e()]}}])})],1)],1),n("el-dialog",{attrs:{title:t.title,visible:t.open,width:"600px","append-to-body":""},on:{"update:visible":function(e){t.open=e}}},[n("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"80px"}},[n("el-row",[0!==t.form.parentId?n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"上级部门",prop:"parentId"}},[n("treeselect",{attrs:{options:t.deptOptions,normalizer:t.normalizer,placeholder:"选择上级部门"},model:{value:t.form.parentId,callback:function(e){t.$set(t.form,"parentId",e)},expression:"form.parentId"}})],1)],1):t._e(),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"部门名称",prop:"deptName"}},[n("el-input",{attrs:{placeholder:"请输入部门名称"},model:{value:t.form.deptName,callback:function(e){t.$set(t.form,"deptName",e)},expression:"form.deptName"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"显示排序",prop:"orderNum"}},[n("el-input-number",{attrs:{"controls-position":"right",min:0},model:{value:t.form.orderNum,callback:function(e){t.$set(t.form,"orderNum",e)},expression:"form.orderNum"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"负责人",prop:"leader"}},[n("el-input",{attrs:{placeholder:"请输入负责人",maxlength:"20"},model:{value:t.form.leader,callback:function(e){t.$set(t.form,"leader",e)},expression:"form.leader"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"联系电话",prop:"phone"}},[n("el-input",{attrs:{placeholder:"请输入联系电话",maxlength:"11"},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"邮箱",prop:"email"}},[n("el-input",{attrs:{placeholder:"请输入邮箱",maxlength:"50"},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"部门状态"}},[n("el-radio-group",{model:{value:t.form.status,callback:function(e){t.$set(t.form,"status",e)},expression:"form.status"}},t._l(t.statusOptions,(function(e){return n("el-radio",{key:e.dictValue,attrs:{label:e.dictValue}},[t._v(t._s(e.dictLabel))])})),1)],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"部门编码"}},[n("el-input",{attrs:{placeholder:"部门编码"},model:{value:t.form.deptCode,callback:function(e){t.$set(t.form,"deptCode",e)},expression:"form.deptCode"}})],1)],1)],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("确 定")]),n("el-button",{on:{click:t.cancel}},[t._v("取 消")])],1)],1)],1)},i=[],a=(n("d3b7"),n("159b"),n("fcb7")),o=n("ca17"),A=n.n(o),s=(n("542c"),{name:"Dept",components:{Treeselect:A.a},data:function(){return{loading:!0,showSearch:!0,deptList:[],deptOptions:[],title:"",open:!1,statusOptions:[],queryParams:{deptName:void 0,status:void 0},form:{},rules:{parentId:[{required:!0,message:"上级部门不能为空",trigger:"blur"}],deptName:[{required:!0,message:"部门名称不能为空",trigger:"blur"}],orderNum:[{required:!0,message:"菜单顺序不能为空",trigger:"blur"}],email:[{type:"email",message:"'请输入正确的邮箱地址",trigger:["blur","change"]}],phone:[{pattern:/^1[3|4|5|6|7|8|9][0-9]\d{8}$/,message:"请输入正确的手机号码",trigger:"blur"}]},isExpand:!0}},created:function(){var t=this;this.getList(),this.getDicts("sys_normal_disable").then((function(e){t.statusOptions=e.data}))},methods:{getList:function(){var t=this;this.loading=!0,Object(a["d"])(this.queryParams).then((function(e){t.deptList=t.handleTree(e.data,"deptId"),t.loading=!1}))},normalizer:function(t){return t.children&&!t.children.length&&delete t.children,{id:t.deptId,label:t.deptName,children:t.children}},statusFormat:function(t){return this.selectDictLabel(this.statusOptions,t.status)},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={deptId:void 0,parentId:void 0,deptName:void 0,orderNum:void 0,leader:void 0,phone:void 0,email:void 0,status:"0"},this.resetForm("form")},handleQuery:function(){this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.handleQuery()},handleAdd:function(t){var e=this;this.reset(),void 0!=t&&(this.form.parentId=t.deptId),this.open=!0,this.title="添加部门",Object(a["d"])().then((function(t){e.deptOptions=e.handleTree(t.data,"deptId")}))},handleUpdate:function(t){var e=this;this.reset(),Object(a["c"])(t.deptId).then((function(t){e.form=t.data,e.open=!0,e.title="修改部门"})),Object(a["e"])(t.deptId).then((function(t){e.deptOptions=e.handleTree(t.data,"deptId")}))},submitForm:function(){var t=this;this.$refs["form"].validate((function(e){e&&(void 0!=t.form.deptId?Object(a["h"])(t.form).then((function(e){t.msgSuccess("修改成功"),t.open=!1,t.getList()})):Object(a["a"])(t.form).then((function(e){t.msgSuccess("新增成功"),t.open=!1,t.getList()})))}))},handleDelete:function(t){var e=this;this.$confirm('是否确认删除名称为"'+t.deptName+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(a["b"])(t.deptId)})).then((function(){e.getList(),e.msgSuccess("删除成功")}))},forArr:function(t,e){var n=this;t.forEach((function(t){n.$refs.treeTable.toggleRowExpansion(t,e),t.children&&n.forArr(t.children,e)}))},isExpandAll:function(){this.isExpand=!this.isExpand,this.isExpand?this.forArr(this.deptList,!0):this.forArr(this.deptList,!1)}}}),l=s,c=(n("5722"),n("2877")),u=Object(c["a"])(l,r,i,!1,null,null,null);e["default"]=u.exports},"5f96":function(t,e,n){"use strict";var r=n("ebb5"),i=r.aTypedArray,a=r.exportTypedArrayMethod,o=[].join;a("join",(function(t){return o.apply(i(this),arguments)}))},"60bd":function(t,e,n){"use strict";var r=n("da84"),i=n("ebb5"),a=n("e260"),o=n("b622"),A=o("iterator"),s=r.Uint8Array,l=a.values,c=a.keys,u=a.entries,d=i.aTypedArray,h=i.exportTypedArrayMethod,f=s&&s.prototype[A],p=!!f&&("values"==f.name||void 0==f.name),m=function(){return l.call(d(this))};h("entries",(function(){return u.call(d(this))})),h("keys",(function(){return c.call(d(this))})),h("values",m,!p),h(A,m,!p)},"61b6":function(t,e,n){"use strict";n("0986")},"61d0":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"userInfoPanel mt10 pd15"},[n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.data}},[n("el-table-column",{attrs:{label:"关系类型",width:"90",align:"center",prop:"rstype"}}),n("el-table-column",{attrs:{label:"甲方客户号",align:"center",prop:"indid1"}}),n("el-table-column",{attrs:{label:"参与方甲姓名",align:"center",prop:"name1"}}),n("el-table-column",{attrs:{label:"参与方甲角色",align:"center",prop:"role1"}}),n("el-table-column",{attrs:{label:"乙方客户号",align:"center",prop:"indid2"}}),n("el-table-column",{attrs:{label:"参与方乙姓名",align:"center",prop:"name2"}}),n("el-table-column",{attrs:{label:"参与方乙角色",align:"center",prop:"role2"}})],1)],1)},i=[],a={props:{data:{type:Array,default:function(){return[]}}},data:function(){return{loading:!1}},mounted:function(){},methods:{}},o=a,A=n("2877"),s=Object(A["a"])(o,r,i,!1,null,null,null);e["default"]=s.exports},"621a":function(t,e,n){"use strict";var r=n("da84"),i=n("83ab"),a=n("a981"),o=n("9112"),A=n("e2cc"),s=n("d039"),l=n("19aa"),c=n("a691"),u=n("50c4"),d=n("0b25"),h=n("77a7"),f=n("e163"),p=n("d2bb"),m=n("241c").f,g=n("9bf2").f,v=n("81d5"),_=n("d44e"),y=n("69f3"),b=y.get,w=y.set,B="ArrayBuffer",x="DataView",C="prototype",k="Wrong length",Q="Wrong index",E=r[B],F=E,U=r[x],O=U&&U[C],S=Object.prototype,T=r.RangeError,I=h.pack,D=h.unpack,L=function(t){return[255&t]},P=function(t){return[255&t,t>>8&255]},N=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},H=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},M=function(t){return I(t,23,4)},j=function(t){return I(t,52,8)},R=function(t,e){g(t[C],e,{get:function(){return b(this)[e]}})},K=function(t,e,n,r){var i=d(n),a=b(t);if(i+e>a.byteLength)throw T(Q);var o=b(a.buffer).bytes,A=i+a.byteOffset,s=o.slice(A,A+e);return r?s:s.reverse()},q=function(t,e,n,r,i,a){var o=d(n),A=b(t);if(o+e>A.byteLength)throw T(Q);for(var s=b(A.buffer).bytes,l=o+A.byteOffset,c=r(+i),u=0;u<e;u++)s[l+u]=c[a?u:e-u-1]};if(a){if(!s((function(){E(1)}))||!s((function(){new E(-1)}))||s((function(){return new E,new E(1.5),new E(NaN),E.name!=B}))){F=function(t){return l(this,F),new E(d(t))};for(var V,z=F[C]=E[C],G=m(E),W=0;G.length>W;)(V=G[W++])in F||o(F,V,E[V]);z.constructor=F}p&&f(O)!==S&&p(O,S);var $=new U(new F(2)),Y=O.setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||A(O,{setInt8:function(t,e){Y.call(this,t,e<<24>>24)},setUint8:function(t,e){Y.call(this,t,e<<24>>24)}},{unsafe:!0})}else F=function(t){l(this,F,B);var e=d(t);w(this,{bytes:v.call(new Array(e),0),byteLength:e}),i||(this.byteLength=e)},U=function(t,e,n){l(this,U,x),l(t,F,x);var r=b(t).byteLength,a=c(e);if(a<0||a>r)throw T("Wrong offset");if(n=void 0===n?r-a:u(n),a+n>r)throw T(k);w(this,{buffer:t,byteLength:n,byteOffset:a}),i||(this.buffer=t,this.byteLength=n,this.byteOffset=a)},i&&(R(F,"byteLength"),R(U,"buffer"),R(U,"byteLength"),R(U,"byteOffset")),A(U[C],{getInt8:function(t){return K(this,1,t)[0]<<24>>24},getUint8:function(t){return K(this,1,t)[0]},getInt16:function(t){var e=K(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=K(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return H(K(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return H(K(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return D(K(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return D(K(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){q(this,1,t,L,e)},setUint8:function(t,e){q(this,1,t,L,e)},setInt16:function(t,e){q(this,2,t,P,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){q(this,2,t,P,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){q(this,4,t,N,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){q(this,4,t,N,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){q(this,4,t,M,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){q(this,8,t,j,e,arguments.length>2?arguments[2]:void 0)}});_(F,B),_(U,x),t.exports={ArrayBuffer:F,DataView:U}},"62e4":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"649e":function(t,e,n){"use strict";var r=n("ebb5"),i=n("b727").some,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("some",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},"653f":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-row",{attrs:{gutter:10}},[n("el-col",{attrs:{span:24,xs:24}},[n("div",{staticClass:"panelCol"},[n("div",{staticClass:"bgWhite"},[n("div",{staticClass:"titleDiv"},[n("span",{staticClass:"line"}),n("span",{staticClass:"title"},[t._v("客户信息列表")]),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:customerInformation:list"],expression:"['business:customerInformation:list']"}],staticClass:"exportBtn",attrs:{type:"warning",icon:"el-icon-download",size:"mini",loading:t.exportLoading},on:{click:t.handleExport}},[t._v("导出")])],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.customerList}},[n("el-table-column",{attrs:{label:"客户号",width:t.cellWidth,align:"center",prop:"custid"}}),n("el-table-column",{attrs:{label:"姓名",width:t.cellWidth,align:"center",prop:"name","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"证件类型",width:t.cellWidth,align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[void 0!=e.row.idcard&&""!=e.row.idcard?n("span",[t._v("身份证")]):void 0!=e.row.passport&&""!=e.row.passport?n("span",[t._v("护照")]):void 0!=e.row.dlicense&&""!=e.row.dlicense?n("span",[t._v("驾驶证")]):void 0!=e.row.otheridnumber&&""!=e.row.otheridnumber?n("span",[t._v("其它证件类型")]):t._e()]}}])}),n("el-table-column",{attrs:{label:"证件号码",align:"center","show-overflow-tooltip":!0},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.idcard&&""!=e.row.idcard?n("span",[t._v(t._s(t.cardNo(e.row.idcard)))]):e.row.passport&&""!=e.row.passport?n("span",[t._v(t._s(t.cardNo(e.row.passport)))]):e.row.dlicense&&""!=e.row.dlicense?n("span",[t._v(t._s(t.cardNo(e.row.dlicense)))]):e.row.otheridnumber&&""!=e.row.otheridnumber?n("span",[t._v(t._s(t.cardNo(e.row.otheridnumber)))]):n("span")]}}])}),n("el-table-column",{attrs:{label:"性别",align:"center",prop:"gender",width:t.cellWidthS},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.gender?n("span",[t._v("男")]):n("span",[t._v("女")])]}}])}),n("el-table-column",{attrs:{label:"出生日期",align:"center",width:t.cellWidth},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.parseTime(e.row.birthday,"{yy}-{mm}-{dd}")))])]}}])}),n("el-table-column",{attrs:{label:"年龄",align:"center",prop:"age",width:t.cellWidthS}}),n("el-table-column",{attrs:{label:"客户等级",align:"center",prop:"level",width:t.cellWidthS},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.levelText(e.row.custclass)))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center",width:t.cellWidthB,"class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:customerInformation:overview"],expression:"['business:customerInformation:overview']"}],attrs:{size:"mini",icon:"el-icon-copy-document"},on:{click:function(n){return t.toOverview(e.row)}}},[t._v("概览")]),1!==e.row.userId?n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:customerInformation:detail"],expression:"['business:customerInformation:detail']"}],attrs:{size:"mini",type:"cyan",icon:"el-icon-warning-outline"},on:{click:function(n){return t.toDetail(e.row)}}},[t._v("详情")]):t._e()]}}])})],1),n("div",{staticStyle:{overflow:"hidden","margin-top":"20px"}},[n("div",{staticStyle:{width:"330px",float:"right"}},[n("van-pagination",{attrs:{"total-items":t.total,"show-page-size":7,"force-ellipses":""},on:{change:t.currentChange},scopedSlots:t._u([{key:"prev-text",fn:function(){return[n("i",{staticClass:"el-icon-arrow-left"})]},proxy:!0},{key:"next-text",fn:function(){return[n("i",{staticClass:"el-icon-arrow-right"})]},proxy:!0}]),model:{value:t.queryParams.pageNum,callback:function(e){t.$set(t.queryParams,"pageNum",e)},expression:"queryParams.pageNum"}})],1)])],1)])])],1)],1)},i=[],a=n("5530"),o=n("ade3"),A=(n("b0c0"),n("a15b"),n("d3b7"),n("3ca3"),n("ddb0"),n("2b3d"),n("9861"),n("c871")),s=(n("bc3a"),n("c38a"),n("2b0e"));function l(t,e){return e?"string"===typeof e?" "+t+"--"+e:Array.isArray(e)?e.reduce((function(e,n){return e+l(t,n)}),""):Object.keys(e).reduce((function(n,r){return n+(e[r]?l(t,r):"")}),""):""}function c(t){return function(e,n){return e&&"string"!==typeof e&&(n=e,e=""),e=e?t+"__"+e:t,""+e+l(e,n)}}s["default"].prototype.$isServer;function u(t){return void 0!==t&&null!==t}function d(t){return"function"===typeof t}function h(t){return null!==t&&"object"===typeof t}function f(t,e){var n=e.split("."),r=t;return n.forEach((function(t){var e;r=null!=(e=r[t])?e:""})),r}var p=/-(\w)/g;function m(t){return t.replace(p,(function(t,e){return e.toUpperCase()}))}var g={methods:{slots:function(t,e){void 0===t&&(t="default");var n=this.$slots,r=this.$scopedSlots,i=r[t];return i?i(e):n[t]}}};function v(t){var e=this.name;t.component(e,this),t.component(m("-"+e),this)}function _(t){var e=t.scopedSlots||t.data.scopedSlots||{},n=t.slots();return Object.keys(n).forEach((function(t){e[t]||(e[t]=function(){return n[t]})})),e}function y(t){return{functional:!0,props:t.props,model:t.model,render:function(e,n){return t(e,n.props,_(n),n)}}}function b(t){return function(e){return d(e)&&(e=y(e)),e.functional||(e.mixins=e.mixins||[],e.mixins.push(g)),e.name=t,e.install=v,e}}var w=Object.prototype.hasOwnProperty;function B(t,e,n){var r=e[n];u(r)&&(w.call(t,n)&&h(r)?t[n]=x(Object(t[n]),e[n]):t[n]=r)}function x(t,e){return Object.keys(e).forEach((function(n){B(t,e,n)})),t}var C={name:"姓名",tel:"电话",save:"保存",confirm:"确认",cancel:"取消",delete:"删除",complete:"完成",loading:"加载中...",telEmpty:"请填写电话",nameEmpty:"请填写姓名",nameInvalid:"请输入正确的姓名",confirmDelete:"确定要删除吗",telInvalid:"请输入正确的手机号",vanCalendar:{end:"结束",start:"开始",title:"日期选择",confirm:"确定",startEnd:"开始/结束",weekdays:["日","一","二","三","四","五","六"],monthTitle:function(t,e){return t+"年"+e+"月"},rangePrompt:function(t){return"选择天数不能超过 "+t+" 天"}},vanCascader:{select:"请选择"},vanContactCard:{addText:"添加联系人"},vanContactList:{addText:"新建联系人"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无使用门槛",discount:function(t){return t+"折"},condition:function(t){return"满"+t+"元可用"}},vanCouponCell:{title:"优惠券",tips:"暂无可用",count:function(t){return t+"张可用"}},vanCouponList:{empty:"暂无优惠券",exchange:"兑换",close:"不使用优惠券",enable:"可用",disabled:"不可用",placeholder:"请输入优惠码"},vanAddressEdit:{area:"地区",postal:"邮政编码",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",postalEmpty:"邮政编码格式不正确",defaultAddress:"设为默认收货地址",telPlaceholder:"收货人手机号",namePlaceholder:"收货人姓名",areaPlaceholder:"选择省 / 市 / 区"},vanAddressEditDetail:{label:"详细地址",placeholder:"街道门牌、楼层房间号等信息"},vanAddressList:{add:"新增地址"}},k=s["default"].prototype,Q=s["default"].util.defineReactive;Q(k,"$vantLang","zh-CN"),Q(k,"$vantMessages",{"zh-CN":C});var E={messages:function(){return k.$vantMessages[k.$vantLang]},use:function(t,e){var n;k.$vantLang=t,this.add((n={},n[t]=e,n))},add:function(t){void 0===t&&(t={}),x(k.$vantMessages,t)}};function F(t){var e=m(t)+".";return function(t){for(var n=E.messages(),r=f(n,e+t)||f(n,t),i=arguments.length,a=new Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];return d(r)?r.apply(void 0,a):r}}function U(t){return t="van-"+t,[b(t),c(t),F(t)]}var O="van-hairline",S=U("pagination"),T=S[0],I=S[1],D=S[2];function L(t,e,n){return{number:t,text:e,active:n}}var P=T({props:{prevText:String,nextText:String,forceEllipses:Boolean,mode:{type:String,default:"multi"},value:{type:Number,default:0},pageCount:{type:[Number,String],default:0},totalItems:{type:[Number,String],default:0},itemsPerPage:{type:[Number,String],default:10},showPageSize:{type:[Number,String],default:5}},computed:{count:function(){var t=this.pageCount||Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(1,t)},pages:function(){var t=[],e=this.count,n=+this.showPageSize;if("multi"!==this.mode)return t;var r=1,i=e,a=n<e;a&&(r=Math.max(this.value-Math.floor(n/2),1),i=r+n-1,i>e&&(i=e,r=i-n+1));for(var o=r;o<=i;o++){var A=L(o,o,o===this.value);t.push(A)}if(a&&n>0&&this.forceEllipses){if(r>1){var s=L(r-1,"...",!1);t.unshift(s)}if(i<e){var l=L(i+1,"...",!1);t.push(l)}}return t}},watch:{value:{handler:function(t){this.select(t||this.value)},immediate:!0}},methods:{select:function(t,e){t=Math.min(this.count,Math.max(1,t)),this.value!==t&&(this.$emit("input",t),e&&this.$emit("change",t))}},render:function(){var t,e,n=this,r=arguments[0],i=this.value,a="multi"!==this.mode,o=function(t){return function(){n.select(t,!0)}};return r("ul",{class:I({simple:a})},[r("li",{class:[I("item",{disabled:1===i}),I("prev"),O],on:{click:o(i-1)}},[(null!=(t=this.slots("prev-text"))?t:this.prevText)||D("prev")]),this.pages.map((function(t){var e;return r("li",{class:[I("item",{active:t.active}),I("page"),O],on:{click:o(t.number)}},[null!=(e=n.slots("page",t))?e:t.text])})),a&&r("li",{class:I("page-desc")},[this.slots("pageDesc")||i+"/"+this.count]),r("li",{class:[I("item",{disabled:i===this.count}),I("next"),O],on:{click:o(i+1)}},[(null!=(e=this.slots("next-text"))?e:this.nextText)||D("next")])])}});n("157a");s["default"].use(P);var N={name:"UserInfoList",components:Object(o["a"])({},P.name,P),data:function(){return{loading:!1,total:0,customerList:[],queryParams:{pageSize:10,pageNum:1},params:{},newQueryParams:{},cellWidth:"130",cellWidthS:"90",cellWidthB:"260",hidden:!1,layout:"total, sizes, prev,pager,next",pageSizes:[10,20,30,50],exportLoading:!1}},beforeRouteEnter:function(t,e,n){console.log(e),"Index"===e.name?n((function(t){t.queryParams.pageNum=1,t.getList()})):(e.name,n((function(t){t.getList()})))},created:function(){},mounted:function(){var t=document.body.clientWidth,e=this;t<=1370?(e.cellWidth="120",e.cellWidthS="80",e.cellWidthB="160"):(e.cellWidth="160",e.cellWidthS="120",e.cellWidthB="280")},methods:{getList:function(){var t=this,e=this;e.loading=!0,e.params=e.$route.query,console.log(e.$route.params),e.newQueryParams=Object(a["a"])(Object(a["a"])({},e.queryParams),e.params),e.newQueryParams.education&&(e.newQueryParams.education=e.newQueryParams.education.join("&")),console.log(e.newQueryParams),Object(A["c"])(e.newQueryParams).then((function(e){console.log(e),t.customerList=e.data.list,t.total=e.data.total,t.loading=!1}))},currentChange:function(t){this.queryParams.pageNum=t,this.getList()},sizeChange:function(t){this.queryParams.pageSize=t,this.queryParams.pageNum=1,this.queryParams.scrollId="",this.getList()},handleExport:function(){var t=this;t.exportLoading=!0,this.downloadNew("data/customer/export",t.newQueryParams,"customer_".concat((new Date).getTime(),".csv")).then((function(e){console.log(e),e&&(t.exportLoading=!1)}))},genUrl:function(t,e){var n=new Blob(["\ufeff".concat(t)],{type:"text/plain;charset=utf-8"});return window.URL.createObjectURL(n)},toOverview:function(t){this.$router.push({path:"/userInfoOverview",query:{id:t.id}})},toDetail:function(t){this.$router.push({path:"/userInfoDetails",query:{id:t.id}})}}},H=N,M=(n("f428"),n("58b0"),n("2877")),j=Object(M["a"])(H,r,i,!1,null,"1cce03f5",null);e["default"]=j.exports},6983:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAGbElEQVRYhb2Zb2wb5R3HP/ec7+LacYNDurVLOpKMpt36Z2Rut0zaXoDGpgIqE5Uo1abNq7qVaVCxAVWpGC8AaZOFULW2GqAqAg22lgnBulmlQmIvO5FahqlFbVzVZSRrtNpz2yTO5f49e3Hn1HWc+BzSfd/57rnn97nnz+/53ddK0XZpVomsIYBNwJ3ARqAP6ASifpNJYBQYBk4BfweGMv3hWcEOPP/svLFCTYJ1Ab8AfgCsnKdpC9AOrAe2+tc+TWSNN4BDmf7wSNCYgQATWeNW4FlgJ6ADdLYofDMmuKNV0NOisEJXiKgKAGVHcsmU5KclH064nLzmMmrKlcBe4FeJrHEYeCbTHy42iq00muJE1ngQOAR0COA7cZXty1Q2REWQdwNAAh9NuLxZcHiv5OBHLACPJNOpowsCTGSNEHAAeBhgU0ywp0ujN6wEBqunC4YkNWIxND4T9yXg0WQ6ZQcGTGSNCHAUuE8X8MsvaDy4TP1MYLX6c8HhxVEL0wv/N2BbMp0qNwT0R+4tYEtbSOF3vRrrmpjOZnR60mX3BYurtgQ4BmytHcl6kQ8CW+IhhcFV+k2DA1gXFQyu0omHFIAtfuwbdEP0RNbYBuxqEbC/V6P7M663IOoOK+zv1Qh7JLtevXfP9rqAfio5CPBE582b1npaFxU83qlVfh589d49y2YBAs8DHd+ICR7oWNwNEUQPdKhsignwEvxzletK0XZJZI0vAudVBe3omhZ6/g9TW095Q7Lt7DSOxAJuT6ZT/6qcJD8HtO/F1abgbAl//a/DuyWHc1OSq7akPaSwPqqwOa5yd1ytuwvnUk9Y4bu3qBwvOZrP9JTSPVQWwCdA12CfzlcDrr3clOTJvMkn05K2kMLGVkGbCgVbkhl3mXRhfVSQ6tZYrgd/6eyEy86cCTAC3BbCq0q6OnUl8PGVm5L8JDeNK+HplRrfv1VFrWKYduEP/7F5aczmx8Mmr6/WWaYFg7yjVdCpK4yasgvYJIC7AAaWCoJ0YUl4PG/iShjs09nacSMcQIuAnctD7O/VKViSfRetQHAAis/i604BJAD6W4ON3rGiw6fTkie6NNYsmf+Zby0VJD8f4tSEy8nx4HVnFctGAawGAhcB75Yc4iGF+9uDpaIffU5FKHCi5AQGrGJZLYAVAMsDrpGzUy4bW8WsaZ1LbSGFNUsEZ8syMGAVywoBxICZYrORJhxo1xq3q1Y8BNec4IBVLLGmz7OlqkIh+JoHoGDBLaGFJX8BjINXpgfR2ojC0LiLFXBAirZkeMplbSQ44JQ70/m4AC4BjAWMeE+7yjVHcuRy3QJ4lg6P2Uhgczz4+X7JnGG5JIBz4JXiQbQ5rrJqicKBf9tkJuZPHcdLDkcuO3x7qeBrAdNYDcs5AWQAPmwQrCJVgRd7dKKqwsPnTQ6P2ZRrHr1iS14YtWcSdMn2NldQVbGcUrqHygPAyU5d4S9rWwKdJgCjpmRP3uLjsosuYH1E0BZSuGxJPi67OBIGYoKCJTlvSNZFBL+/Xae1wUxL4P4z04x60zyw4GKh0tn7VxxOlFyGp1yuOF5K2RARbG5XGYgJSrbkZzmT84bkyxHBoS9plRK/rj6adNkxfL1YqNSDvwH23tOu8txtTSa5AKqG/EpE8MZqfc62+y5alVPnt8l06qnKcB0CzBMlh3zAzdKM4iGFV1bpbIgKLDl3/3lD8p4HZ/pMXj3peyWHHQkvjDSZhZuAfK1P5801LXO2SY1YFddhMJlOjcwA+noGKP5j3OXtYhNbbpH0dtHhA6/iKQJPV67PAPpGziPgjeLpyeZtuYXq9KRbPXO7k+nUjKl0w5bN9IePAC8bLjx2weLiTViPtbpoSB67YGF44/FKMp36Y/X9ejllN3CsZEt25EzO1GbhRdSZssuOnEnpuvXxaG2bWYCZ/rAJbAeOX7UlO3Mm79yENflO0eGnObPiy6SB7cl0yqxtN5/9puHZb7sAvh4TPLkI9lvet98+uP4J8DKe/VY3fQQxMB/yQTsEcHdc5aEFGJj/nHQ5enmWgbk7mU79ab5nGwL6kB14dsQOaizg/lZBT1hhuaYQ9SvhSUcyZknyhiR73QKudGcCg8CvM/3hQiMTPRBgFWgXXir6IZ6r34xGgdeBg9Um+qK6/H7HexNZYx/eB/9deJ+tfUAX0Oo3ncA77Ifxyrn3meNviEb6H2e+mjd1kuJyAAAAAElFTkSuQmCC"},"6b08":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-form",{ref:"queryForm",attrs:{model:t.queryParams,inline:!0,"label-width":"68px"}},[n("el-form-item",{attrs:{label:"登录地址",prop:"ipaddr"}},[n("el-input",{attrs:{placeholder:"请输入登录地址",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.ipaddr,callback:function(e){t.$set(t.queryParams,"ipaddr",e)},expression:"queryParams.ipaddr"}})],1),n("el-form-item",{attrs:{label:"用户名称",prop:"userName"}},[n("el-input",{attrs:{placeholder:"请输入用户名称",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.userName,callback:function(e){t.$set(t.queryParams,"userName",e)},expression:"queryParams.userName"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"cyan",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:t.list.slice((t.pageNum-1)*t.pageSize,t.pageNum*t.pageSize)}},[n("el-table-column",{attrs:{label:"序号",type:"index",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s((t.pageNum-1)*t.pageSize+e.$index+1))])]}}])}),n("el-table-column",{attrs:{label:"会话编号",align:"center",prop:"tokenId","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"登录名称",align:"center",prop:"userName","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"主机",align:"center",prop:"ipaddr","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"登录时间",align:"center",prop:"loginTime",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.parseTime(e.row.loginTime)))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:online:forceLogout"],expression:"['monitor:online:forceLogout']"}],attrs:{size:"mini",type:"text",icon:"el-icon-delete"},on:{click:function(n){return t.handleForceLogout(e.row)}}},[t._v("强退")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.pageNum,limit:t.pageSize},on:{"update:page":function(e){t.pageNum=e},"update:limit":function(e){t.pageSize=e}}})],1)},i=[],a=n("b775");function o(t){return Object(a["a"])({url:"/system/online/list",method:"get",params:t})}function A(t){return Object(a["a"])({url:"/system/online/"+t,method:"delete"})}var s={name:"Online",data:function(){return{loading:!0,total:0,list:[],pageNum:1,pageSize:10,queryParams:{ipaddr:void 0,userName:void 0}}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.loading=!0,o(this.queryParams).then((function(e){t.list=e.rows,t.total=e.total,t.loading=!1}))},handleQuery:function(){this.pageNum=1,this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.handleQuery()},handleForceLogout:function(t){var e=this;this.$confirm('是否确认强退名称为"'+t.userName+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return A(t.tokenId)})).then((function(){e.getList(),e.msgSuccess("强退成功")}))}}},l=s,c=n("2877"),u=Object(c["a"])(l,r,i,!1,null,null,null);e["default"]=u.exports},"6ec6":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"userInfoPanel mt10"},[n("el-row",{staticClass:"userInfo"},[n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("首选联系方式")]),n("span",{staticClass:"value"},[t._v(t._s(t.data.ctype))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("兴趣爱好")]),n("span",{staticClass:"value"},[t._v(t._s(t.data.hobby))])])],1)],1)},i=[],a={props:{data:{type:Object,default:{}}},data:function(){return{}},mounted:function(){},methods:{}},o=a,A=n("2877"),s=Object(A["a"])(o,r,i,!1,null,null,null);e["default"]=s.exports},"6f72":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-dialog",{attrs:{title:"导入表",visible:t.visible,width:"800px",top:"5vh","append-to-body":""},on:{"update:visible":function(e){t.visible=e}}},[n("el-form",{ref:"queryForm",attrs:{model:t.queryParams,inline:!0}},[n("el-form-item",{attrs:{label:"表名称",prop:"tableName"}},[n("el-input",{attrs:{placeholder:"请输入表名称",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.tableName,callback:function(e){t.$set(t.queryParams,"tableName",e)},expression:"queryParams.tableName"}})],1),n("el-form-item",{attrs:{label:"表描述",prop:"tableComment"}},[n("el-input",{attrs:{placeholder:"请输入表描述",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.tableComment,callback:function(e){t.$set(t.queryParams,"tableComment",e)},expression:"queryParams.tableComment"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1),n("el-row",[n("el-table",{ref:"table",attrs:{data:t.dbTableList,height:"260px"},on:{"row-click":t.clickRow,"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55"}}),n("el-table-column",{attrs:{prop:"tableName",label:"表名称","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{prop:"tableComment",label:"表描述","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{prop:"createTime",label:"创建时间"}}),n("el-table-column",{attrs:{prop:"updateTime",label:"更新时间"}})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(e){return t.$set(t.queryParams,"pageNum",e)},"update:limit":function(e){return t.$set(t.queryParams,"pageSize",e)},pagination:t.getList}})],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.handleImportTable}},[t._v("确 定")]),n("el-button",{on:{click:function(e){t.visible=!1}}},[t._v("取 消")])],1)],1)},i=[],a=(n("d81d"),n("a15b"),n("4b72")),o={data:function(){return{visible:!1,tables:[],total:0,dbTableList:[],queryParams:{pageNum:1,pageSize:10,tableName:void 0,tableComment:void 0}}},methods:{show:function(){this.getList(),this.visible=!0},clickRow:function(t){this.$refs.table.toggleRowSelection(t)},handleSelectionChange:function(t){this.tables=t.map((function(t){return t.tableName}))},getList:function(){var t=this;Object(a["e"])(this.queryParams).then((function(e){200===e.code&&(t.dbTableList=e.rows,t.total=e.total)}))},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.handleQuery()},handleImportTable:function(){var t=this;Object(a["d"])({tables:this.tables.join(",")}).then((function(e){t.msgSuccess(e.msg),200===e.code&&(t.visible=!1,t.$emit("ok"))}))}}},A=o,s=n("2877"),l=Object(s["a"])(A,r,i,!1,null,null,null);e["default"]=l.exports},"70eb":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],ref:"queryForm",staticClass:"queryParams bgWhite",attrs:{model:t.queryParams,inline:!0}},[n("el-form-item",{attrs:{label:"角色名称",prop:"roleName"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入角色名称",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.roleName,callback:function(e){t.$set(t.queryParams,"roleName",e)},expression:"queryParams.roleName"}})],1),n("el-form-item",{attrs:{label:"权限字符",prop:"roleKey"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入权限字符",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.roleKey,callback:function(e){t.$set(t.queryParams,"roleKey",e)},expression:"queryParams.roleKey"}})],1),n("el-form-item",{attrs:{label:"角色状态",prop:"status"}},[n("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"角色状态",clearable:"",size:"small"},model:{value:t.queryParams.status,callback:function(e){t.$set(t.queryParams,"status",e)},expression:"queryParams.status"}},t._l(t.statusOptions,(function(t){return n("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:t.dictValue}})})),1)],1),n("el-form-item",{staticClass:"mt10",attrs:{label:"创建时间"}},[n("el-date-picker",{staticStyle:{width:"240px"},attrs:{size:"small","value-format":"yyyy-MM-dd",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:t.dateRange,callback:function(e){t.dateRange=e},expression:"dateRange"}})],1),n("el-form-item",{staticClass:"mt10"},[n("el-button",{attrs:{type:"cyan",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1),n("div",{staticClass:"bgWhite"},[n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:role:add"],expression:"['system:role:add']"}],attrs:{type:"cyan",icon:"el-icon-plus",size:"mini"},on:{click:t.handleAdd}},[t._v("新增")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:role:edit"],expression:"['system:role:edit']"}],attrs:{icon:"el-icon-edit",size:"mini",disabled:t.single,s:""},on:{click:t.handleUpdate}},[t._v("修改")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:role:remove"],expression:"['system:role:remove']"}],attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:t.multiple},on:{click:t.handleDelete}},[t._v("删除")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:role:export"],expression:"['system:role:export']"}],attrs:{type:"warning",icon:"el-icon-download",size:"mini"},on:{click:t.handleExport}},[t._v("导出")])],1),n("right-toolbar",{attrs:{showSearch:t.showSearch},on:{"update:showSearch":function(e){t.showSearch=e},"update:show-search":function(e){t.showSearch=e},queryTable:t.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.roleList},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),n("el-table-column",{attrs:{label:"角色编号",prop:"roleId",width:"90"}}),n("el-table-column",{attrs:{label:"角色名称",prop:"roleName","show-overflow-tooltip":!0,width:"150"}}),n("el-table-column",{attrs:{label:"权限字符",prop:"roleKey","show-overflow-tooltip":!0,width:"100"}}),n("el-table-column",{attrs:{label:"显示顺序",prop:"roleSort",width:"100"}}),n("el-table-column",{attrs:{label:"角色状态",align:"center",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-switch",{attrs:{"active-value":"0","active-color":"#25C7C8","inactive-value":"1"},on:{change:function(n){return t.handleStatusChange(e.row)}},model:{value:e.row.status,callback:function(n){t.$set(e.row,"status",n)},expression:"scope.row.status"}})]}}])}),n("el-table-column",{attrs:{label:"创建时间",align:"center",prop:"createTime",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.parseTime(e.row.createTime)))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center",width:"300","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:role:edit"],expression:"['system:role:edit']"}],attrs:{size:"mini",icon:"el-icon-edit"},on:{click:function(n){return t.handleUpdate(e.row)}}},[t._v("修改")]),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:role:edit"],expression:"['system:role:edit']"}],attrs:{size:"mini",type:"cyan",icon:"el-icon-circle-check"},on:{click:function(n){return t.handleDataScope(e.row)}}},[t._v("数据权限")]),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:role:remove"],expression:"['system:role:remove']"}],attrs:{size:"mini",type:"danger",icon:"el-icon-delete"},on:{click:function(n){return t.handleDelete(e.row)}}},[t._v("删除")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(e){return t.$set(t.queryParams,"pageNum",e)},"update:limit":function(e){return t.$set(t.queryParams,"pageSize",e)},pagination:t.getList}})],1),n("el-dialog",{attrs:{title:t.title,visible:t.open,width:"500px","append-to-body":""},on:{"update:visible":function(e){t.open=e}}},[n("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"80px"}},[n("el-form-item",{attrs:{label:"角色名称",prop:"roleName"}},[n("el-input",{attrs:{placeholder:"请输入角色名称"},model:{value:t.form.roleName,callback:function(e){t.$set(t.form,"roleName",e)},expression:"form.roleName"}})],1),n("el-form-item",{attrs:{label:"权限字符",prop:"roleKey"}},[n("el-input",{attrs:{placeholder:"请输入权限字符"},model:{value:t.form.roleKey,callback:function(e){t.$set(t.form,"roleKey",e)},expression:"form.roleKey"}})],1),n("el-form-item",{attrs:{label:"角色顺序",prop:"roleSort"}},[n("el-input-number",{attrs:{"controls-position":"right",min:0},model:{value:t.form.roleSort,callback:function(e){t.$set(t.form,"roleSort",e)},expression:"form.roleSort"}})],1),n("el-form-item",{attrs:{label:"状态"}},[n("el-radio-group",{model:{value:t.form.status,callback:function(e){t.$set(t.form,"status",e)},expression:"form.status"}},t._l(t.statusOptions,(function(e){return n("el-radio",{key:e.dictValue,attrs:{label:e.dictValue}},[t._v(t._s(e.dictLabel))])})),1)],1),n("el-form-item",{attrs:{label:"菜单权限"}},[n("el-checkbox",{on:{change:function(e){return t.handleCheckedTreeExpand(e,"menu")}},model:{value:t.menuExpand,callback:function(e){t.menuExpand=e},expression:"menuExpand"}},[t._v("展开/折叠")]),n("el-checkbox",{on:{change:function(e){return t.handleCheckedTreeNodeAll(e,"menu")}},model:{value:t.menuNodeAll,callback:function(e){t.menuNodeAll=e},expression:"menuNodeAll"}},[t._v("全选/全不选")]),n("el-checkbox",{on:{change:function(e){return t.handleCheckedTreeConnect(e,"menu")}},model:{value:t.form.menuCheckStrictly,callback:function(e){t.$set(t.form,"menuCheckStrictly",e)},expression:"form.menuCheckStrictly"}},[t._v("父子联动")]),n("el-tree",{ref:"menu",staticClass:"tree-border",attrs:{data:t.menuOptions,"show-checkbox":"","node-key":"id","check-strictly":!t.form.menuCheckStrictly,"empty-text":"加载中,请稍后",props:t.defaultProps}})],1),n("el-form-item",{attrs:{label:"备注"}},[n("el-input",{attrs:{type:"textarea",placeholder:"请输入内容"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("确 定")]),n("el-button",{on:{click:t.cancel}},[t._v("取 消")])],1)],1),n("el-dialog",{attrs:{title:t.title,visible:t.openDataScope,width:"500px","append-to-body":""},on:{"update:visible":function(e){t.openDataScope=e}}},[n("el-form",{attrs:{model:t.form,"label-width":"80px"}},[n("el-form-item",{attrs:{label:"角色名称"}},[n("el-input",{attrs:{disabled:!0},model:{value:t.form.roleName,callback:function(e){t.$set(t.form,"roleName",e)},expression:"form.roleName"}})],1),n("el-form-item",{attrs:{label:"权限字符"}},[n("el-input",{attrs:{disabled:!0},model:{value:t.form.roleKey,callback:function(e){t.$set(t.form,"roleKey",e)},expression:"form.roleKey"}})],1),n("el-form-item",{attrs:{label:"权限范围"}},[n("el-select",{model:{value:t.form.dataScope,callback:function(e){t.$set(t.form,"dataScope",e)},expression:"form.dataScope"}},t._l(t.dataScopeOptions,(function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),n("el-form-item",{directives:[{name:"show",rawName:"v-show",value:2==t.form.dataScope,expression:"form.dataScope == 2"}],attrs:{label:"数据权限"}},[n("el-checkbox",{on:{change:function(e){return t.handleCheckedTreeExpand(e,"dept")}},model:{value:t.deptExpand,callback:function(e){t.deptExpand=e},expression:"deptExpand"}},[t._v("展开/折叠")]),n("el-checkbox",{on:{change:function(e){return t.handleCheckedTreeNodeAll(e,"dept")}},model:{value:t.deptNodeAll,callback:function(e){t.deptNodeAll=e},expression:"deptNodeAll"}},[t._v("全选/全不选")]),n("el-checkbox",{on:{change:function(e){return t.handleCheckedTreeConnect(e,"dept")}},model:{value:t.form.deptCheckStrictly,callback:function(e){t.$set(t.form,"deptCheckStrictly",e)},expression:"form.deptCheckStrictly"}},[t._v("父子联动")]),n("el-tree",{ref:"dept",staticClass:"tree-border",attrs:{data:t.deptOptions,"show-checkbox":"","default-expand-all":"","node-key":"id","check-strictly":!t.form.deptCheckStrictly,"empty-text":"加载中,请稍后",props:t.defaultProps}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.submitDataScope}},[t._v("确 定")]),n("el-button",{on:{click:t.cancelDataScope}},[t._v("取 消")])],1)],1)],1)},i=[],a=n("5530"),o=(n("d81d"),n("b775"));function A(t){return Object(o["a"])({url:"/system/role/list",method:"get",params:t})}function s(t){return Object(o["a"])({url:"/system/role/"+t,method:"get"})}function l(t){return Object(o["a"])({url:"/system/role",method:"post",data:t})}function c(t){return Object(o["a"])({url:"/system/role",method:"put",data:t})}function u(t){return Object(o["a"])({url:"/system/role/dataScope",method:"put",data:t})}function d(t,e){var n={roleId:t,status:e};return Object(o["a"])({url:"/system/role/changeStatus",method:"put",data:n})}function h(t){return Object(o["a"])({url:"/system/role/"+t,method:"delete"})}var f=n("a6dc"),p=n("fcb7"),m={name:"Role",data:function(){return{loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,roleList:[],title:"",open:!1,openDataScope:!1,menuExpand:!1,menuNodeAll:!1,deptExpand:!0,deptNodeAll:!1,dateRange:[],statusOptions:[],dataScopeOptions:[{value:"1",label:"全部数据权限"},{value:"2",label:"自定数据权限"},{value:"3",label:"本部门数据权限"},{value:"4",label:"本部门及以下数据权限"},{value:"5",label:"仅本人数据权限"}],menuOptions:[],deptOptions:[],queryParams:{pageNum:1,pageSize:10,roleName:void 0,roleKey:void 0,status:void 0},form:{},defaultProps:{children:"children",label:"label"},rules:{roleName:[{required:!0,message:"角色名称不能为空",trigger:"blur"}],roleKey:[{required:!0,message:"权限字符不能为空",trigger:"blur"}],roleSort:[{required:!0,message:"角色顺序不能为空",trigger:"blur"}]}}},created:function(){var t=this;this.getList(),this.getDicts("sys_normal_disable").then((function(e){t.statusOptions=e.data}))},methods:{getList:function(){var t=this;this.loading=!0,A(this.addDateRange(this.queryParams,this.dateRange)).then((function(e){t.roleList=e.rows,t.total=e.total,t.loading=!1}))},getMenuTreeselect:function(){var t=this;Object(f["f"])().then((function(e){t.menuOptions=e.data}))},getDeptTreeselect:function(){var t=this;Object(p["g"])().then((function(e){t.deptOptions=e.data}))},getMenuAllCheckedKeys:function(){var t=this.$refs.menu.getCheckedKeys(),e=this.$refs.menu.getHalfCheckedKeys();return t.unshift.apply(t,e),t},getDeptAllCheckedKeys:function(){var t=this.$refs.dept.getCheckedKeys(),e=this.$refs.dept.getHalfCheckedKeys();return t.unshift.apply(t,e),t},getRoleMenuTreeselect:function(t){var e=this;return Object(f["e"])(t).then((function(t){return e.menuOptions=t.menus,t}))},getRoleDeptTreeselect:function(t){var e=this;return Object(p["f"])(t).then((function(t){return e.deptOptions=t.depts,t}))},handleStatusChange:function(t){var e=this,n="0"===t.status?"启用":"停用";this.$confirm('确认要"'+n+'""'+t.roleName+'"角色吗?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return d(t.roleId,t.status)})).then((function(){e.msgSuccess(n+"成功")})).catch((function(){t.status="0"===t.status?"1":"0"}))},cancel:function(){this.open=!1,this.reset()},cancelDataScope:function(){this.openDataScope=!1,this.reset()},reset:function(){void 0!=this.$refs.menu&&this.$refs.menu.setCheckedKeys([]),this.menuExpand=!1,this.menuNodeAll=!1,this.deptExpand=!0,this.deptNodeAll=!1,this.form={roleId:void 0,roleName:void 0,roleKey:void 0,roleSort:0,status:"0",menuIds:[],deptIds:[],menuCheckStrictly:!0,deptCheckStrictly:!0,remark:void 0},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(t){this.ids=t.map((function(t){return t.roleId})),this.single=1!=t.length,this.multiple=!t.length},handleCheckedTreeExpand:function(t,e){if("menu"==e)for(var n=this.menuOptions,r=0;r<n.length;r++)this.$refs.menu.store.nodesMap[n[r].id].expanded=t;else if("dept"==e)for(var i=this.deptOptions,a=0;a<i.length;a++)this.$refs.dept.store.nodesMap[i[a].id].expanded=t},handleCheckedTreeNodeAll:function(t,e){"menu"==e?this.$refs.menu.setCheckedNodes(t?this.menuOptions:[]):"dept"==e&&this.$refs.dept.setCheckedNodes(t?this.deptOptions:[])},handleCheckedTreeConnect:function(t,e){"menu"==e?this.form.menuCheckStrictly=!!t:"dept"==e&&(this.form.deptCheckStrictly=!!t)},handleAdd:function(){this.reset(),this.getMenuTreeselect(),this.open=!0,this.title="添加角色"},handleUpdate:function(t){var e=this;this.reset();var n=t.roleId||this.ids,r=this.getRoleMenuTreeselect(n);s(n).then((function(t){e.form=t.data,e.open=!0,e.$nextTick((function(){r.then((function(t){e.$refs.menu.setCheckedKeys(t.checkedKeys)}))})),e.title="修改角色"}))},handleDataScope:function(t){var e=this;this.reset();var n=this.getRoleDeptTreeselect(t.roleId);s(t.roleId).then((function(t){e.form=t.data,e.openDataScope=!0,e.$nextTick((function(){n.then((function(t){e.$refs.dept.setCheckedKeys(t.checkedKeys)}))})),e.title="分配数据权限"}))},submitForm:function(){var t=this;this.$refs["form"].validate((function(e){e&&(void 0!=t.form.roleId?(t.form.menuIds=t.getMenuAllCheckedKeys(),c(t.form).then((function(e){t.msgSuccess("修改成功"),t.open=!1,t.getList()}))):(t.form.menuIds=t.getMenuAllCheckedKeys(),l(t.form).then((function(e){t.msgSuccess("新增成功"),t.open=!1,t.getList()}))))}))},submitDataScope:function(){var t=this;void 0!=this.form.roleId&&(this.form.deptIds=this.getDeptAllCheckedKeys(),u(this.form).then((function(e){t.msgSuccess("修改成功"),t.openDataScope=!1,t.getList()})))},handleDelete:function(t){var e=this,n=t.roleId||this.ids;this.$confirm('是否确认删除角色编号为"'+n+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return h(n)})).then((function(){e.getList(),e.msgSuccess("删除成功")}))},handleExport:function(){this.download("system/role/export",Object(a["a"])({},this.queryParams),"role_".concat((new Date).getTime(),".xlsx"))}}},g=m,v=n("2877"),_=Object(v["a"])(g,r,i,!1,null,null,null);e["default"]=_.exports},7285:function(t,e,n){"use strict";n("5b21")},"72f7":function(t,e,n){"use strict";var r=n("ebb5").exportTypedArrayMethod,i=n("d039"),a=n("da84"),o=a.Uint8Array,A=o&&o.prototype||{},s=[].toString,l=[].join;i((function(){s.call({})}))&&(s=function(){return l.call(this)});var c=A.toString!=s;r("toString",s,c)},"735e":function(t,e,n){"use strict";var r=n("ebb5"),i=n("81d5"),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("fill",(function(t){return i.apply(a(this),arguments)}))},"74e8":function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),a=n("83ab"),o=n("8aa7"),A=n("ebb5"),s=n("621a"),l=n("19aa"),c=n("5c6c"),u=n("9112"),d=n("50c4"),h=n("0b25"),f=n("182d"),p=n("c04e"),m=n("5135"),g=n("f5df"),v=n("861d"),_=n("7c73"),y=n("d2bb"),b=n("241c").f,w=n("a078"),B=n("b727").forEach,x=n("2626"),C=n("9bf2"),k=n("06cf"),Q=n("69f3"),E=n("7156"),F=Q.get,U=Q.set,O=C.f,S=k.f,T=Math.round,I=i.RangeError,D=s.ArrayBuffer,L=s.DataView,P=A.NATIVE_ARRAY_BUFFER_VIEWS,N=A.TYPED_ARRAY_TAG,H=A.TypedArray,M=A.TypedArrayPrototype,j=A.aTypedArrayConstructor,R=A.isTypedArray,K="BYTES_PER_ELEMENT",q="Wrong length",V=function(t,e){var n=0,r=e.length,i=new(j(t))(r);while(r>n)i[n]=e[n++];return i},z=function(t,e){O(t,e,{get:function(){return F(this)[e]}})},G=function(t){var e;return t instanceof D||"ArrayBuffer"==(e=g(t))||"SharedArrayBuffer"==e},W=function(t,e){return R(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},$=function(t,e){return W(t,e=p(e,!0))?c(2,t[e]):S(t,e)},Y=function(t,e,n){return!(W(t,e=p(e,!0))&&v(n)&&m(n,"value"))||m(n,"get")||m(n,"set")||n.configurable||m(n,"writable")&&!n.writable||m(n,"enumerable")&&!n.enumerable?O(t,e,n):(t[e]=n.value,t)};a?(P||(k.f=$,C.f=Y,z(M,"buffer"),z(M,"byteOffset"),z(M,"byteLength"),z(M,"length")),r({target:"Object",stat:!0,forced:!P},{getOwnPropertyDescriptor:$,defineProperty:Y}),t.exports=function(t,e,n){var a=t.match(/\d+$/)[0]/8,A=t+(n?"Clamped":"")+"Array",s="get"+t,c="set"+t,p=i[A],m=p,g=m&&m.prototype,C={},k=function(t,e){var n=F(t);return n.view[s](e*a+n.byteOffset,!0)},Q=function(t,e,r){var i=F(t);n&&(r=(r=T(r))<0?0:r>255?255:255&r),i.view[c](e*a+i.byteOffset,r,!0)},S=function(t,e){O(t,e,{get:function(){return k(this,e)},set:function(t){return Q(this,e,t)},enumerable:!0})};P?o&&(m=e((function(t,e,n,r){return l(t,m,A),E(function(){return v(e)?G(e)?void 0!==r?new p(e,f(n,a),r):void 0!==n?new p(e,f(n,a)):new p(e):R(e)?V(m,e):w.call(m,e):new p(h(e))}(),t,m)})),y&&y(m,H),B(b(p),(function(t){t in m||u(m,t,p[t])})),m.prototype=g):(m=e((function(t,e,n,r){l(t,m,A);var i,o,s,c=0,u=0;if(v(e)){if(!G(e))return R(e)?V(m,e):w.call(m,e);i=e,u=f(n,a);var p=e.byteLength;if(void 0===r){if(p%a)throw I(q);if(o=p-u,o<0)throw I(q)}else if(o=d(r)*a,o+u>p)throw I(q);s=o/a}else s=h(e),o=s*a,i=new D(o);U(t,{buffer:i,byteOffset:u,byteLength:o,length:s,view:new L(i)});while(c<s)S(t,c++)})),y&&y(m,H),g=m.prototype=_(M)),g.constructor!==m&&u(g,"constructor",m),N&&u(g,N,A),C[A]=m,r({global:!0,forced:m!=p,sham:!P},C),K in m||u(m,K,a),K in g||u(g,K,a),x(A)}):t.exports=function(){}},"766b":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"right-board"},[n("el-tabs",{staticClass:"center-tabs",model:{value:t.currentTab,callback:function(e){t.currentTab=e},expression:"currentTab"}},[n("el-tab-pane",{attrs:{label:"组件属性",name:"field"}}),n("el-tab-pane",{attrs:{label:"表单属性",name:"form"}})],1),n("div",{staticClass:"field-box"},[n("a",{staticClass:"document-link",attrs:{target:"_blank",href:t.documentLink,title:"查看组件文档"}},[n("i",{staticClass:"el-icon-link"})]),n("el-scrollbar",{staticClass:"right-scrollbar"},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:"field"===t.currentTab&&t.showField,expression:"currentTab==='field' && showField"}],attrs:{size:"small","label-width":"90px"}},[t.activeData.changeTag?n("el-form-item",{attrs:{label:"组件类型"}},[n("el-select",{style:{width:"100%"},attrs:{placeholder:"请选择组件类型"},on:{change:t.tagChange},model:{value:t.activeData.tagIcon,callback:function(e){t.$set(t.activeData,"tagIcon",e)},expression:"activeData.tagIcon"}},t._l(t.tagList,(function(e){return n("el-option-group",{key:e.label,attrs:{label:e.label}},t._l(e.options,(function(e){return n("el-option",{key:e.label,attrs:{label:e.label,value:e.tagIcon}},[n("svg-icon",{staticClass:"node-icon",attrs:{"icon-class":e.tagIcon}}),n("span",[t._v(" "+t._s(e.label))])],1)})),1)})),1)],1):t._e(),void 0!==t.activeData.vModel?n("el-form-item",{attrs:{label:"字段名"}},[n("el-input",{attrs:{placeholder:"请输入字段名(v-model)"},model:{value:t.activeData.vModel,callback:function(e){t.$set(t.activeData,"vModel",e)},expression:"activeData.vModel"}})],1):t._e(),void 0!==t.activeData.componentName?n("el-form-item",{attrs:{label:"组件名"}},[t._v(" "+t._s(t.activeData.componentName)+" ")]):t._e(),void 0!==t.activeData.label?n("el-form-item",{attrs:{label:"标题"}},[n("el-input",{attrs:{placeholder:"请输入标题"},model:{value:t.activeData.label,callback:function(e){t.$set(t.activeData,"label",e)},expression:"activeData.label"}})],1):t._e(),void 0!==t.activeData.placeholder?n("el-form-item",{attrs:{label:"占位提示"}},[n("el-input",{attrs:{placeholder:"请输入占位提示"},model:{value:t.activeData.placeholder,callback:function(e){t.$set(t.activeData,"placeholder",e)},expression:"activeData.placeholder"}})],1):t._e(),void 0!==t.activeData["start-placeholder"]?n("el-form-item",{attrs:{label:"开始占位"}},[n("el-input",{attrs:{placeholder:"请输入占位提示"},model:{value:t.activeData["start-placeholder"],callback:function(e){t.$set(t.activeData,"start-placeholder",e)},expression:"activeData['start-placeholder']"}})],1):t._e(),void 0!==t.activeData["end-placeholder"]?n("el-form-item",{attrs:{label:"结束占位"}},[n("el-input",{attrs:{placeholder:"请输入占位提示"},model:{value:t.activeData["end-placeholder"],callback:function(e){t.$set(t.activeData,"end-placeholder",e)},expression:"activeData['end-placeholder']"}})],1):t._e(),void 0!==t.activeData.span?n("el-form-item",{attrs:{label:"表单栅格"}},[n("el-slider",{attrs:{max:24,min:1,marks:{12:""}},on:{change:t.spanChange},model:{value:t.activeData.span,callback:function(e){t.$set(t.activeData,"span",e)},expression:"activeData.span"}})],1):t._e(),"rowFormItem"===t.activeData.layout?n("el-form-item",{attrs:{label:"栅格间隔"}},[n("el-input-number",{attrs:{min:0,placeholder:"栅格间隔"},model:{value:t.activeData.gutter,callback:function(e){t.$set(t.activeData,"gutter",e)},expression:"activeData.gutter"}})],1):t._e(),"rowFormItem"===t.activeData.layout?n("el-form-item",{attrs:{label:"布局模式"}},[n("el-radio-group",{model:{value:t.activeData.type,callback:function(e){t.$set(t.activeData,"type",e)},expression:"activeData.type"}},[n("el-radio-button",{attrs:{label:"default"}}),n("el-radio-button",{attrs:{label:"flex"}})],1)],1):t._e(),void 0!==t.activeData.justify&&"flex"===t.activeData.type?n("el-form-item",{attrs:{label:"水平排列"}},[n("el-select",{style:{width:"100%"},attrs:{placeholder:"请选择水平排列"},model:{value:t.activeData.justify,callback:function(e){t.$set(t.activeData,"justify",e)},expression:"activeData.justify"}},t._l(t.justifyOptions,(function(t,e){return n("el-option",{key:e,attrs:{label:t.label,value:t.value}})})),1)],1):t._e(),void 0!==t.activeData.align&&"flex"===t.activeData.type?n("el-form-item",{attrs:{label:"垂直排列"}},[n("el-radio-group",{model:{value:t.activeData.align,callback:function(e){t.$set(t.activeData,"align",e)},expression:"activeData.align"}},[n("el-radio-button",{attrs:{label:"top"}}),n("el-radio-button",{attrs:{label:"middle"}}),n("el-radio-button",{attrs:{label:"bottom"}})],1)],1):t._e(),void 0!==t.activeData.labelWidth?n("el-form-item",{attrs:{label:"标签宽度"}},[n("el-input",{attrs:{type:"number",placeholder:"请输入标签宽度"},model:{value:t.activeData.labelWidth,callback:function(e){t.$set(t.activeData,"labelWidth",t._n(e))},expression:"activeData.labelWidth"}})],1):t._e(),t.activeData.style&&void 0!==t.activeData.style.width?n("el-form-item",{attrs:{label:"组件宽度"}},[n("el-input",{attrs:{placeholder:"请输入组件宽度",clearable:""},model:{value:t.activeData.style.width,callback:function(e){t.$set(t.activeData.style,"width",e)},expression:"activeData.style.width"}})],1):t._e(),void 0!==t.activeData.vModel?n("el-form-item",{attrs:{label:"默认值"}},[n("el-input",{attrs:{value:t.setDefaultValue(t.activeData.defaultValue),placeholder:"请输入默认值"},on:{input:t.onDefaultValueInput}})],1):t._e(),"el-checkbox-group"===t.activeData.tag?n("el-form-item",{attrs:{label:"至少应选"}},[n("el-input-number",{attrs:{value:t.activeData.min,min:0,placeholder:"至少应选"},on:{input:function(e){return t.$set(t.activeData,"min",e||void 0)}}})],1):t._e(),"el-checkbox-group"===t.activeData.tag?n("el-form-item",{attrs:{label:"最多可选"}},[n("el-input-number",{attrs:{value:t.activeData.max,min:0,placeholder:"最多可选"},on:{input:function(e){return t.$set(t.activeData,"max",e||void 0)}}})],1):t._e(),void 0!==t.activeData.prepend?n("el-form-item",{attrs:{label:"前缀"}},[n("el-input",{attrs:{placeholder:"请输入前缀"},model:{value:t.activeData.prepend,callback:function(e){t.$set(t.activeData,"prepend",e)},expression:"activeData.prepend"}})],1):t._e(),void 0!==t.activeData.append?n("el-form-item",{attrs:{label:"后缀"}},[n("el-input",{attrs:{placeholder:"请输入后缀"},model:{value:t.activeData.append,callback:function(e){t.$set(t.activeData,"append",e)},expression:"activeData.append"}})],1):t._e(),void 0!==t.activeData["prefix-icon"]?n("el-form-item",{attrs:{label:"前图标"}},[n("el-input",{attrs:{placeholder:"请输入前图标名称"},model:{value:t.activeData["prefix-icon"],callback:function(e){t.$set(t.activeData,"prefix-icon",e)},expression:"activeData['prefix-icon']"}},[n("el-button",{attrs:{slot:"append",icon:"el-icon-thumb"},on:{click:function(e){return t.openIconsDialog("prefix-icon")}},slot:"append"},[t._v(" 选择 ")])],1)],1):t._e(),void 0!==t.activeData["suffix-icon"]?n("el-form-item",{attrs:{label:"后图标"}},[n("el-input",{attrs:{placeholder:"请输入后图标名称"},model:{value:t.activeData["suffix-icon"],callback:function(e){t.$set(t.activeData,"suffix-icon",e)},expression:"activeData['suffix-icon']"}},[n("el-button",{attrs:{slot:"append",icon:"el-icon-thumb"},on:{click:function(e){return t.openIconsDialog("suffix-icon")}},slot:"append"},[t._v(" 选择 ")])],1)],1):t._e(),"el-cascader"===t.activeData.tag?n("el-form-item",{attrs:{label:"选项分隔符"}},[n("el-input",{attrs:{placeholder:"请输入选项分隔符"},model:{value:t.activeData.separator,callback:function(e){t.$set(t.activeData,"separator",e)},expression:"activeData.separator"}})],1):t._e(),void 0!==t.activeData.autosize?n("el-form-item",{attrs:{label:"最小行数"}},[n("el-input-number",{attrs:{min:1,placeholder:"最小行数"},model:{value:t.activeData.autosize.minRows,callback:function(e){t.$set(t.activeData.autosize,"minRows",e)},expression:"activeData.autosize.minRows"}})],1):t._e(),void 0!==t.activeData.autosize?n("el-form-item",{attrs:{label:"最大行数"}},[n("el-input-number",{attrs:{min:1,placeholder:"最大行数"},model:{value:t.activeData.autosize.maxRows,callback:function(e){t.$set(t.activeData.autosize,"maxRows",e)},expression:"activeData.autosize.maxRows"}})],1):t._e(),void 0!==t.activeData.min?n("el-form-item",{attrs:{label:"最小值"}},[n("el-input-number",{attrs:{placeholder:"最小值"},model:{value:t.activeData.min,callback:function(e){t.$set(t.activeData,"min",e)},expression:"activeData.min"}})],1):t._e(),void 0!==t.activeData.max?n("el-form-item",{attrs:{label:"最大值"}},[n("el-input-number",{attrs:{placeholder:"最大值"},model:{value:t.activeData.max,callback:function(e){t.$set(t.activeData,"max",e)},expression:"activeData.max"}})],1):t._e(),void 0!==t.activeData.step?n("el-form-item",{attrs:{label:"步长"}},[n("el-input-number",{attrs:{placeholder:"步数"},model:{value:t.activeData.step,callback:function(e){t.$set(t.activeData,"step",e)},expression:"activeData.step"}})],1):t._e(),"el-input-number"===t.activeData.tag?n("el-form-item",{attrs:{label:"精度"}},[n("el-input-number",{attrs:{min:0,placeholder:"精度"},model:{value:t.activeData.precision,callback:function(e){t.$set(t.activeData,"precision",e)},expression:"activeData.precision"}})],1):t._e(),"el-input-number"===t.activeData.tag?n("el-form-item",{attrs:{label:"按钮位置"}},[n("el-radio-group",{model:{value:t.activeData["controls-position"],callback:function(e){t.$set(t.activeData,"controls-position",e)},expression:"activeData['controls-position']"}},[n("el-radio-button",{attrs:{label:""}},[t._v(" 默认 ")]),n("el-radio-button",{attrs:{label:"right"}},[t._v(" 右侧 ")])],1)],1):t._e(),void 0!==t.activeData.maxlength?n("el-form-item",{attrs:{label:"最多输入"}},[n("el-input",{attrs:{placeholder:"请输入字符长度"},model:{value:t.activeData.maxlength,callback:function(e){t.$set(t.activeData,"maxlength",e)},expression:"activeData.maxlength"}},[n("template",{slot:"append"},[t._v(" 个字符 ")])],2)],1):t._e(),void 0!==t.activeData["active-text"]?n("el-form-item",{attrs:{label:"开启提示"}},[n("el-input",{attrs:{placeholder:"请输入开启提示"},model:{value:t.activeData["active-text"],callback:function(e){t.$set(t.activeData,"active-text",e)},expression:"activeData['active-text']"}})],1):t._e(),void 0!==t.activeData["inactive-text"]?n("el-form-item",{attrs:{label:"关闭提示"}},[n("el-input",{attrs:{placeholder:"请输入关闭提示"},model:{value:t.activeData["inactive-text"],callback:function(e){t.$set(t.activeData,"inactive-text",e)},expression:"activeData['inactive-text']"}})],1):t._e(),void 0!==t.activeData["active-value"]?n("el-form-item",{attrs:{label:"开启值"}},[n("el-input",{attrs:{value:t.setDefaultValue(t.activeData["active-value"]),placeholder:"请输入开启值"},on:{input:function(e){return t.onSwitchValueInput(e,"active-value")}}})],1):t._e(),void 0!==t.activeData["inactive-value"]?n("el-form-item",{attrs:{label:"关闭值"}},[n("el-input",{attrs:{value:t.setDefaultValue(t.activeData["inactive-value"]),placeholder:"请输入关闭值"},on:{input:function(e){return t.onSwitchValueInput(e,"inactive-value")}}})],1):t._e(),void 0!==t.activeData.type&&"el-date-picker"===t.activeData.tag?n("el-form-item",{attrs:{label:"时间类型"}},[n("el-select",{style:{width:"100%"},attrs:{placeholder:"请选择时间类型"},on:{change:t.dateTypeChange},model:{value:t.activeData.type,callback:function(e){t.$set(t.activeData,"type",e)},expression:"activeData.type"}},t._l(t.dateOptions,(function(t,e){return n("el-option",{key:e,attrs:{label:t.label,value:t.value}})})),1)],1):t._e(),void 0!==t.activeData.name?n("el-form-item",{attrs:{label:"文件字段名"}},[n("el-input",{attrs:{placeholder:"请输入上传文件字段名"},model:{value:t.activeData.name,callback:function(e){t.$set(t.activeData,"name",e)},expression:"activeData.name"}})],1):t._e(),void 0!==t.activeData.accept?n("el-form-item",{attrs:{label:"文件类型"}},[n("el-select",{style:{width:"100%"},attrs:{placeholder:"请选择文件类型",clearable:""},model:{value:t.activeData.accept,callback:function(e){t.$set(t.activeData,"accept",e)},expression:"activeData.accept"}},[n("el-option",{attrs:{label:"图片",value:"image/*"}}),n("el-option",{attrs:{label:"视频",value:"video/*"}}),n("el-option",{attrs:{label:"音频",value:"audio/*"}}),n("el-option",{attrs:{label:"excel",value:".xls,.xlsx"}}),n("el-option",{attrs:{label:"word",value:".doc,.docx"}}),n("el-option",{attrs:{label:"pdf",value:".pdf"}}),n("el-option",{attrs:{label:"txt",value:".txt"}})],1)],1):t._e(),void 0!==t.activeData.fileSize?n("el-form-item",{attrs:{label:"文件大小"}},[n("el-input",{attrs:{placeholder:"请输入文件大小"},model:{value:t.activeData.fileSize,callback:function(e){t.$set(t.activeData,"fileSize",t._n(e))},expression:"activeData.fileSize"}},[n("el-select",{style:{width:"66px"},attrs:{slot:"append"},slot:"append",model:{value:t.activeData.sizeUnit,callback:function(e){t.$set(t.activeData,"sizeUnit",e)},expression:"activeData.sizeUnit"}},[n("el-option",{attrs:{label:"KB",value:"KB"}}),n("el-option",{attrs:{label:"MB",value:"MB"}}),n("el-option",{attrs:{label:"GB",value:"GB"}})],1)],1)],1):t._e(),void 0!==t.activeData.action?n("el-form-item",{attrs:{label:"上传地址"}},[n("el-input",{attrs:{placeholder:"请输入上传地址",clearable:""},model:{value:t.activeData.action,callback:function(e){t.$set(t.activeData,"action",e)},expression:"activeData.action"}})],1):t._e(),void 0!==t.activeData["list-type"]?n("el-form-item",{attrs:{label:"列表类型"}},[n("el-radio-group",{attrs:{size:"small"},model:{value:t.activeData["list-type"],callback:function(e){t.$set(t.activeData,"list-type",e)},expression:"activeData['list-type']"}},[n("el-radio-button",{attrs:{label:"text"}},[t._v(" text ")]),n("el-radio-button",{attrs:{label:"picture"}},[t._v(" picture ")]),n("el-radio-button",{attrs:{label:"picture-card"}},[t._v(" picture-card ")])],1)],1):t._e(),void 0!==t.activeData.buttonText?n("el-form-item",{directives:[{name:"show",rawName:"v-show",value:"picture-card"!==t.activeData["list-type"],expression:"'picture-card' !== activeData['list-type']"}],attrs:{label:"按钮文字"}},[n("el-input",{attrs:{placeholder:"请输入按钮文字"},model:{value:t.activeData.buttonText,callback:function(e){t.$set(t.activeData,"buttonText",e)},expression:"activeData.buttonText"}})],1):t._e(),void 0!==t.activeData["range-separator"]?n("el-form-item",{attrs:{label:"分隔符"}},[n("el-input",{attrs:{placeholder:"请输入分隔符"},model:{value:t.activeData["range-separator"],callback:function(e){t.$set(t.activeData,"range-separator",e)},expression:"activeData['range-separator']"}})],1):t._e(),void 0!==t.activeData["picker-options"]?n("el-form-item",{attrs:{label:"时间段"}},[n("el-input",{attrs:{placeholder:"请输入时间段"},model:{value:t.activeData["picker-options"].selectableRange,callback:function(e){t.$set(t.activeData["picker-options"],"selectableRange",e)},expression:"activeData['picker-options'].selectableRange"}})],1):t._e(),void 0!==t.activeData.format?n("el-form-item",{attrs:{label:"时间格式"}},[n("el-input",{attrs:{value:t.activeData.format,placeholder:"请输入时间格式"},on:{input:function(e){return t.setTimeValue(e)}}})],1):t._e(),["el-checkbox-group","el-radio-group","el-select"].indexOf(t.activeData.tag)>-1?[n("el-divider",[t._v("选项")]),n("draggable",{attrs:{list:t.activeData.options,animation:340,group:"selectItem",handle:".option-drag"}},t._l(t.activeData.options,(function(e,r){return n("div",{key:r,staticClass:"select-item"},[n("div",{staticClass:"select-line-icon option-drag"},[n("i",{staticClass:"el-icon-s-operation"})]),n("el-input",{attrs:{placeholder:"选项名",size:"small"},model:{value:e.label,callback:function(n){t.$set(e,"label",n)},expression:"item.label"}}),n("el-input",{attrs:{placeholder:"选项值",size:"small",value:e.value},on:{input:function(n){return t.setOptionValue(e,n)}}}),n("div",{staticClass:"close-btn select-line-icon",on:{click:function(e){return t.activeData.options.splice(r,1)}}},[n("i",{staticClass:"el-icon-remove-outline"})])],1)})),0),n("div",{staticStyle:{"margin-left":"20px"}},[n("el-button",{staticStyle:{"padding-bottom":"0"},attrs:{icon:"el-icon-circle-plus-outline",type:"text"},on:{click:t.addSelectItem}},[t._v(" 添加选项 ")])],1),n("el-divider")]:t._e(),["el-cascader"].indexOf(t.activeData.tag)>-1?[n("el-divider",[t._v("选项")]),n("el-form-item",{attrs:{label:"数据类型"}},[n("el-radio-group",{attrs:{size:"small"},model:{value:t.activeData.dataType,callback:function(e){t.$set(t.activeData,"dataType",e)},expression:"activeData.dataType"}},[n("el-radio-button",{attrs:{label:"dynamic"}},[t._v(" 动态数据 ")]),n("el-radio-button",{attrs:{label:"static"}},[t._v(" 静态数据 ")])],1)],1),"dynamic"===t.activeData.dataType?[n("el-form-item",{attrs:{label:"标签键名"}},[n("el-input",{attrs:{placeholder:"请输入标签键名"},model:{value:t.activeData.labelKey,callback:function(e){t.$set(t.activeData,"labelKey",e)},expression:"activeData.labelKey"}})],1),n("el-form-item",{attrs:{label:"值键名"}},[n("el-input",{attrs:{placeholder:"请输入值键名"},model:{value:t.activeData.valueKey,callback:function(e){t.$set(t.activeData,"valueKey",e)},expression:"activeData.valueKey"}})],1),n("el-form-item",{attrs:{label:"子级键名"}},[n("el-input",{attrs:{placeholder:"请输入子级键名"},model:{value:t.activeData.childrenKey,callback:function(e){t.$set(t.activeData,"childrenKey",e)},expression:"activeData.childrenKey"}})],1)]:t._e(),"static"===t.activeData.dataType?n("el-tree",{attrs:{draggable:"",data:t.activeData.options,"node-key":"id","expand-on-click-node":!1,"render-content":t.renderContent}}):t._e(),"static"===t.activeData.dataType?n("div",{staticStyle:{"margin-left":"20px"}},[n("el-button",{staticStyle:{"padding-bottom":"0"},attrs:{icon:"el-icon-circle-plus-outline",type:"text"},on:{click:t.addTreeItem}},[t._v(" 添加父级 ")])],1):t._e(),n("el-divider")]:t._e(),void 0!==t.activeData.optionType?n("el-form-item",{attrs:{label:"选项样式"}},[n("el-radio-group",{model:{value:t.activeData.optionType,callback:function(e){t.$set(t.activeData,"optionType",e)},expression:"activeData.optionType"}},[n("el-radio-button",{attrs:{label:"default"}},[t._v(" 默认 ")]),n("el-radio-button",{attrs:{label:"button"}},[t._v(" 按钮 ")])],1)],1):t._e(),void 0!==t.activeData["active-color"]?n("el-form-item",{attrs:{label:"开启颜色"}},[n("el-color-picker",{model:{value:t.activeData["active-color"],callback:function(e){t.$set(t.activeData,"active-color",e)},expression:"activeData['active-color']"}})],1):t._e(),void 0!==t.activeData["inactive-color"]?n("el-form-item",{attrs:{label:"关闭颜色"}},[n("el-color-picker",{model:{value:t.activeData["inactive-color"],callback:function(e){t.$set(t.activeData,"inactive-color",e)},expression:"activeData['inactive-color']"}})],1):t._e(),void 0!==t.activeData["allow-half"]?n("el-form-item",{attrs:{label:"允许半选"}},[n("el-switch",{model:{value:t.activeData["allow-half"],callback:function(e){t.$set(t.activeData,"allow-half",e)},expression:"activeData['allow-half']"}})],1):t._e(),void 0!==t.activeData["show-text"]?n("el-form-item",{attrs:{label:"辅助文字"}},[n("el-switch",{on:{change:t.rateTextChange},model:{value:t.activeData["show-text"],callback:function(e){t.$set(t.activeData,"show-text",e)},expression:"activeData['show-text']"}})],1):t._e(),void 0!==t.activeData["show-score"]?n("el-form-item",{attrs:{label:"显示分数"}},[n("el-switch",{on:{change:t.rateScoreChange},model:{value:t.activeData["show-score"],callback:function(e){t.$set(t.activeData,"show-score",e)},expression:"activeData['show-score']"}})],1):t._e(),void 0!==t.activeData["show-stops"]?n("el-form-item",{attrs:{label:"显示间断点"}},[n("el-switch",{model:{value:t.activeData["show-stops"],callback:function(e){t.$set(t.activeData,"show-stops",e)},expression:"activeData['show-stops']"}})],1):t._e(),void 0!==t.activeData.range?n("el-form-item",{attrs:{label:"范围选择"}},[n("el-switch",{on:{change:t.rangeChange},model:{value:t.activeData.range,callback:function(e){t.$set(t.activeData,"range",e)},expression:"activeData.range"}})],1):t._e(),void 0!==t.activeData.border&&"default"===t.activeData.optionType?n("el-form-item",{attrs:{label:"是否带边框"}},[n("el-switch",{model:{value:t.activeData.border,callback:function(e){t.$set(t.activeData,"border",e)},expression:"activeData.border"}})],1):t._e(),"el-color-picker"===t.activeData.tag?n("el-form-item",{attrs:{label:"颜色格式"}},[n("el-select",{style:{width:"100%"},attrs:{placeholder:"请选择颜色格式"},on:{change:t.colorFormatChange},model:{value:t.activeData["color-format"],callback:function(e){t.$set(t.activeData,"color-format",e)},expression:"activeData['color-format']"}},t._l(t.colorFormatOptions,(function(t,e){return n("el-option",{key:e,attrs:{label:t.label,value:t.value}})})),1)],1):t._e(),void 0===t.activeData.size||"button"!==t.activeData.optionType&&!t.activeData.border&&"el-color-picker"!==t.activeData.tag?t._e():n("el-form-item",{attrs:{label:"选项尺寸"}},[n("el-radio-group",{model:{value:t.activeData.size,callback:function(e){t.$set(t.activeData,"size",e)},expression:"activeData.size"}},[n("el-radio-button",{attrs:{label:"medium"}},[t._v(" 中等 ")]),n("el-radio-button",{attrs:{label:"small"}},[t._v(" 较小 ")]),n("el-radio-button",{attrs:{label:"mini"}},[t._v(" 迷你 ")])],1)],1),void 0!==t.activeData["show-word-limit"]?n("el-form-item",{attrs:{label:"输入统计"}},[n("el-switch",{model:{value:t.activeData["show-word-limit"],callback:function(e){t.$set(t.activeData,"show-word-limit",e)},expression:"activeData['show-word-limit']"}})],1):t._e(),"el-input-number"===t.activeData.tag?n("el-form-item",{attrs:{label:"严格步数"}},[n("el-switch",{model:{value:t.activeData["step-strictly"],callback:function(e){t.$set(t.activeData,"step-strictly",e)},expression:"activeData['step-strictly']"}})],1):t._e(),"el-cascader"===t.activeData.tag?n("el-form-item",{attrs:{label:"是否多选"}},[n("el-switch",{model:{value:t.activeData.props.props.multiple,callback:function(e){t.$set(t.activeData.props.props,"multiple",e)},expression:"activeData.props.props.multiple"}})],1):t._e(),"el-cascader"===t.activeData.tag?n("el-form-item",{attrs:{label:"展示全路径"}},[n("el-switch",{model:{value:t.activeData["show-all-levels"],callback:function(e){t.$set(t.activeData,"show-all-levels",e)},expression:"activeData['show-all-levels']"}})],1):t._e(),"el-cascader"===t.activeData.tag?n("el-form-item",{attrs:{label:"可否筛选"}},[n("el-switch",{model:{value:t.activeData.filterable,callback:function(e){t.$set(t.activeData,"filterable",e)},expression:"activeData.filterable"}})],1):t._e(),void 0!==t.activeData.clearable?n("el-form-item",{attrs:{label:"能否清空"}},[n("el-switch",{model:{value:t.activeData.clearable,callback:function(e){t.$set(t.activeData,"clearable",e)},expression:"activeData.clearable"}})],1):t._e(),void 0!==t.activeData.showTip?n("el-form-item",{attrs:{label:"显示提示"}},[n("el-switch",{model:{value:t.activeData.showTip,callback:function(e){t.$set(t.activeData,"showTip",e)},expression:"activeData.showTip"}})],1):t._e(),void 0!==t.activeData.multiple?n("el-form-item",{attrs:{label:"多选文件"}},[n("el-switch",{model:{value:t.activeData.multiple,callback:function(e){t.$set(t.activeData,"multiple",e)},expression:"activeData.multiple"}})],1):t._e(),void 0!==t.activeData["auto-upload"]?n("el-form-item",{attrs:{label:"自动上传"}},[n("el-switch",{model:{value:t.activeData["auto-upload"],callback:function(e){t.$set(t.activeData,"auto-upload",e)},expression:"activeData['auto-upload']"}})],1):t._e(),void 0!==t.activeData.readonly?n("el-form-item",{attrs:{label:"是否只读"}},[n("el-switch",{model:{value:t.activeData.readonly,callback:function(e){t.$set(t.activeData,"readonly",e)},expression:"activeData.readonly"}})],1):t._e(),void 0!==t.activeData.disabled?n("el-form-item",{attrs:{label:"是否禁用"}},[n("el-switch",{model:{value:t.activeData.disabled,callback:function(e){t.$set(t.activeData,"disabled",e)},expression:"activeData.disabled"}})],1):t._e(),"el-select"===t.activeData.tag?n("el-form-item",{attrs:{label:"是否可搜索"}},[n("el-switch",{model:{value:t.activeData.filterable,callback:function(e){t.$set(t.activeData,"filterable",e)},expression:"activeData.filterable"}})],1):t._e(),"el-select"===t.activeData.tag?n("el-form-item",{attrs:{label:"是否多选"}},[n("el-switch",{on:{change:t.multipleChange},model:{value:t.activeData.multiple,callback:function(e){t.$set(t.activeData,"multiple",e)},expression:"activeData.multiple"}})],1):t._e(),void 0!==t.activeData.required?n("el-form-item",{attrs:{label:"是否必填"}},[n("el-switch",{model:{value:t.activeData.required,callback:function(e){t.$set(t.activeData,"required",e)},expression:"activeData.required"}})],1):t._e(),t.activeData.layoutTree?[n("el-divider",[t._v("布局结构树")]),n("el-tree",{attrs:{data:[t.activeData],props:t.layoutTreeProps,"node-key":"renderKey","default-expand-all":"",draggable:""},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.node,i=e.data;return n("span",{},[n("span",{staticClass:"node-label"},[n("svg-icon",{staticClass:"node-icon",attrs:{"icon-class":i.tagIcon}}),t._v(" "+t._s(r.label)+" ")],1)])}}],null,!1,921874089)})]:t._e(),"colFormItem"===t.activeData.layout?[n("el-divider",[t._v("正则校验")]),t._l(t.activeData.regList,(function(e,r){return n("div",{key:r,staticClass:"reg-item"},[n("span",{staticClass:"close-btn",on:{click:function(e){return t.activeData.regList.splice(r,1)}}},[n("i",{staticClass:"el-icon-close"})]),n("el-form-item",{attrs:{label:"表达式"}},[n("el-input",{attrs:{placeholder:"请输入正则"},model:{value:e.pattern,callback:function(n){t.$set(e,"pattern",n)},expression:"item.pattern"}})],1),n("el-form-item",{staticStyle:{"margin-bottom":"0"},attrs:{label:"错误提示"}},[n("el-input",{attrs:{placeholder:"请输入错误提示"},model:{value:e.message,callback:function(n){t.$set(e,"message",n)},expression:"item.message"}})],1)],1)})),n("div",{staticStyle:{"margin-left":"20px"}},[n("el-button",{attrs:{icon:"el-icon-circle-plus-outline",type:"text"},on:{click:t.addReg}},[t._v(" 添加规则 ")])],1)]:t._e()],2),n("el-form",{directives:[{name:"show",rawName:"v-show",value:"form"===t.currentTab,expression:"currentTab === 'form'"}],attrs:{size:"small","label-width":"90px"}},[n("el-form-item",{attrs:{label:"表单名"}},[n("el-input",{attrs:{placeholder:"请输入表单名(ref)"},model:{value:t.formConf.formRef,callback:function(e){t.$set(t.formConf,"formRef",e)},expression:"formConf.formRef"}})],1),n("el-form-item",{attrs:{label:"表单模型"}},[n("el-input",{attrs:{placeholder:"请输入数据模型"},model:{value:t.formConf.formModel,callback:function(e){t.$set(t.formConf,"formModel",e)},expression:"formConf.formModel"}})],1),n("el-form-item",{attrs:{label:"校验模型"}},[n("el-input",{attrs:{placeholder:"请输入校验模型"},model:{value:t.formConf.formRules,callback:function(e){t.$set(t.formConf,"formRules",e)},expression:"formConf.formRules"}})],1),n("el-form-item",{attrs:{label:"表单尺寸"}},[n("el-radio-group",{model:{value:t.formConf.size,callback:function(e){t.$set(t.formConf,"size",e)},expression:"formConf.size"}},[n("el-radio-button",{attrs:{label:"medium"}},[t._v(" 中等 ")]),n("el-radio-button",{attrs:{label:"small"}},[t._v(" 较小 ")]),n("el-radio-button",{attrs:{label:"mini"}},[t._v(" 迷你 ")])],1)],1),n("el-form-item",{attrs:{label:"标签对齐"}},[n("el-radio-group",{model:{value:t.formConf.labelPosition,callback:function(e){t.$set(t.formConf,"labelPosition",e)},expression:"formConf.labelPosition"}},[n("el-radio-button",{attrs:{label:"left"}},[t._v(" 左对齐 ")]),n("el-radio-button",{attrs:{label:"right"}},[t._v(" 右对齐 ")]),n("el-radio-button",{attrs:{label:"top"}},[t._v(" 顶部对齐 ")])],1)],1),n("el-form-item",{attrs:{label:"标签宽度"}},[n("el-input-number",{attrs:{placeholder:"标签宽度"},model:{value:t.formConf.labelWidth,callback:function(e){t.$set(t.formConf,"labelWidth",e)},expression:"formConf.labelWidth"}})],1),n("el-form-item",{attrs:{label:"栅格间隔"}},[n("el-input-number",{attrs:{min:0,placeholder:"栅格间隔"},model:{value:t.formConf.gutter,callback:function(e){t.$set(t.formConf,"gutter",e)},expression:"formConf.gutter"}})],1),n("el-form-item",{attrs:{label:"禁用表单"}},[n("el-switch",{model:{value:t.formConf.disabled,callback:function(e){t.$set(t.formConf,"disabled",e)},expression:"formConf.disabled"}})],1),n("el-form-item",{attrs:{label:"表单按钮"}},[n("el-switch",{model:{value:t.formConf.formBtns,callback:function(e){t.$set(t.formConf,"formBtns",e)},expression:"formConf.formBtns"}})],1),n("el-form-item",{attrs:{label:"显示未选中组件边框"}},[n("el-switch",{model:{value:t.formConf.unFocusedComponentBorder,callback:function(e){t.$set(t.formConf,"unFocusedComponentBorder",e)},expression:"formConf.unFocusedComponentBorder"}})],1)],1)],1)],1),n("treeNode-dialog",{attrs:{visible:t.dialogVisible,title:"添加选项"},on:{"update:visible":function(e){t.dialogVisible=e},commit:t.addNode}}),n("icons-dialog",{attrs:{visible:t.iconsVisible,current:t.activeData[t.currentIconModel]},on:{"update:visible":function(e){t.iconsVisible=e},select:t.setIcon}})],1)},i=[],a=(n("99af"),n("c740"),n("a434"),n("a15b"),n("d81d"),n("ac1f"),n("1276"),n("7db0"),n("d3b7"),n("3022")),o=n("c81a"),A=n("ed08"),s=n("d0b2"),l=n("2e2a"),c={date:"yyyy-MM-dd",week:"yyyy 第 WW 周",month:"yyyy-MM",year:"yyyy",datetime:"yyyy-MM-dd HH:mm:ss",daterange:"yyyy-MM-dd",monthrange:"yyyy-MM",datetimerange:"yyyy-MM-dd HH:mm:ss"},u={components:{TreeNodeDialog:o["default"],IconsDialog:s["default"]},props:["showField","activeData","formConf"],data:function(){return{currentTab:"field",currentNode:null,dialogVisible:!1,iconsVisible:!1,currentIconModel:null,dateTypeOptions:[{label:"日(date)",value:"date"},{label:"周(week)",value:"week"},{label:"月(month)",value:"month"},{label:"年(year)",value:"year"},{label:"日期时间(datetime)",value:"datetime"}],dateRangeTypeOptions:[{label:"日期范围(daterange)",value:"daterange"},{label:"月范围(monthrange)",value:"monthrange"},{label:"日期时间范围(datetimerange)",value:"datetimerange"}],colorFormatOptions:[{label:"hex",value:"hex"},{label:"rgb",value:"rgb"},{label:"rgba",value:"rgba"},{label:"hsv",value:"hsv"},{label:"hsl",value:"hsl"}],justifyOptions:[{label:"start",value:"start"},{label:"end",value:"end"},{label:"center",value:"center"},{label:"space-around",value:"space-around"},{label:"space-between",value:"space-between"}],layoutTreeProps:{label:function(t,e){return t.componentName||"".concat(t.label,": ").concat(t.vModel)}}}},computed:{documentLink:function(){return this.activeData.document||"https://element.eleme.cn/#/zh-CN/component/installation"},dateOptions:function(){return void 0!==this.activeData.type&&"el-date-picker"===this.activeData.tag?void 0===this.activeData["start-placeholder"]?this.dateTypeOptions:this.dateRangeTypeOptions:[]},tagList:function(){return[{label:"输入型组件",options:l["b"]},{label:"选择型组件",options:l["d"]}]}},methods:{addReg:function(){this.activeData.regList.push({pattern:"",message:""})},addSelectItem:function(){this.activeData.options.push({label:"",value:""})},addTreeItem:function(){++this.idGlobal,this.dialogVisible=!0,this.currentNode=this.activeData.options},renderContent:function(t,e){var n=this,r=e.node,i=e.data;e.store;return t("div",{class:"custom-tree-node"},[t("span",[r.label]),t("span",{class:"node-operation"},[t("i",{on:{click:function(){return n.append(i)}},class:"el-icon-plus",attrs:{title:"添加"}}),t("i",{on:{click:function(){return n.remove(r,i)}},class:"el-icon-delete",attrs:{title:"删除"}})])])},append:function(t){t.children||this.$set(t,"children",[]),this.dialogVisible=!0,this.currentNode=t.children},remove:function(t,e){var n=t.parent,r=n.data.children||n.data,i=r.findIndex((function(t){return t.id===e.id}));r.splice(i,1)},addNode:function(t){this.currentNode.push(t)},setOptionValue:function(t,e){t.value=Object(A["e"])(e)?+e:e},setDefaultValue:function(t){return Array.isArray(t)?t.join(","):["string","number"].indexOf(t)>-1?t:"boolean"===typeof t?"".concat(t):t},onDefaultValueInput:function(t){Object(a["isArray"])(this.activeData.defaultValue)?this.$set(this.activeData,"defaultValue",t.split(",").map((function(t){return Object(A["e"])(t)?+t:t}))):["true","false"].indexOf(t)>-1?this.$set(this.activeData,"defaultValue",JSON.parse(t)):this.$set(this.activeData,"defaultValue",Object(A["e"])(t)?+t:t)},onSwitchValueInput:function(t,e){["true","false"].indexOf(t)>-1?this.$set(this.activeData,e,JSON.parse(t)):this.$set(this.activeData,e,Object(A["e"])(t)?+t:t)},setTimeValue:function(t,e){var n="week"===e?c.date:t;this.$set(this.activeData,"defaultValue",null),this.$set(this.activeData,"value-format",n),this.$set(this.activeData,"format",t)},spanChange:function(t){this.formConf.span=t},multipleChange:function(t){this.$set(this.activeData,"defaultValue",t?[]:"")},dateTypeChange:function(t){this.setTimeValue(c[t],t)},rangeChange:function(t){this.$set(this.activeData,"defaultValue",t?[this.activeData.min,this.activeData.max]:this.activeData.min)},rateTextChange:function(t){t&&(this.activeData["show-score"]=!1)},rateScoreChange:function(t){t&&(this.activeData["show-text"]=!1)},colorFormatChange:function(t){this.activeData.defaultValue=null,this.activeData["show-alpha"]=t.indexOf("a")>-1,this.activeData.renderKey=+new Date},openIconsDialog:function(t){this.iconsVisible=!0,this.currentIconModel=t},setIcon:function(t){this.activeData[this.currentIconModel]=t},tagChange:function(t){var e=l["b"].find((function(e){return e.tagIcon===t}));e||(e=l["d"].find((function(e){return e.tagIcon===t}))),this.$emit("tag-change",e)}}},d=u,h=(n("e4ce"),n("2877")),f=Object(h["a"])(d,r,i,!1,null,"80832d0c",null);e["default"]=f.exports},"76f8":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-card",[n("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[n("el-tab-pane",{attrs:{label:"基本信息",name:"basic"}},[n("basic-info-form",{ref:"basicInfo",attrs:{info:t.info}})],1),n("el-tab-pane",{attrs:{label:"字段信息",name:"cloum"}},[n("el-table",{ref:"dragTable",attrs:{data:t.cloumns,"row-key":"columnId","max-height":t.tableHeight}},[n("el-table-column",{attrs:{label:"序号",type:"index","min-width":"5%","class-name":"allowDrag"}}),n("el-table-column",{attrs:{label:"字段列名",prop:"columnName","min-width":"10%","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"字段描述","min-width":"10%"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-input",{model:{value:e.row.columnComment,callback:function(n){t.$set(e.row,"columnComment",n)},expression:"scope.row.columnComment"}})]}}])}),n("el-table-column",{attrs:{label:"物理类型",prop:"columnType","min-width":"10%","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"Java类型","min-width":"11%"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-select",{model:{value:e.row.javaType,callback:function(n){t.$set(e.row,"javaType",n)},expression:"scope.row.javaType"}},[n("el-option",{attrs:{label:"Long",value:"Long"}}),n("el-option",{attrs:{label:"String",value:"String"}}),n("el-option",{attrs:{label:"Integer",value:"Integer"}}),n("el-option",{attrs:{label:"Double",value:"Double"}}),n("el-option",{attrs:{label:"BigDecimal",value:"BigDecimal"}}),n("el-option",{attrs:{label:"Date",value:"Date"}})],1)]}}])}),n("el-table-column",{attrs:{label:"java属性","min-width":"10%"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-input",{model:{value:e.row.javaField,callback:function(n){t.$set(e.row,"javaField",n)},expression:"scope.row.javaField"}})]}}])}),n("el-table-column",{attrs:{label:"插入","min-width":"5%"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-checkbox",{attrs:{"true-label":"1"},model:{value:e.row.isInsert,callback:function(n){t.$set(e.row,"isInsert",n)},expression:"scope.row.isInsert"}})]}}])}),n("el-table-column",{attrs:{label:"编辑","min-width":"5%"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-checkbox",{attrs:{"true-label":"1"},model:{value:e.row.isEdit,callback:function(n){t.$set(e.row,"isEdit",n)},expression:"scope.row.isEdit"}})]}}])}),n("el-table-column",{attrs:{label:"列表","min-width":"5%"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-checkbox",{attrs:{"true-label":"1"},model:{value:e.row.isList,callback:function(n){t.$set(e.row,"isList",n)},expression:"scope.row.isList"}})]}}])}),n("el-table-column",{attrs:{label:"查询","min-width":"5%"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-checkbox",{attrs:{"true-label":"1"},model:{value:e.row.isQuery,callback:function(n){t.$set(e.row,"isQuery",n)},expression:"scope.row.isQuery"}})]}}])}),n("el-table-column",{attrs:{label:"查询方式","min-width":"10%"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-select",{model:{value:e.row.queryType,callback:function(n){t.$set(e.row,"queryType",n)},expression:"scope.row.queryType"}},[n("el-option",{attrs:{label:"=",value:"EQ"}}),n("el-option",{attrs:{label:"!=",value:"NE"}}),n("el-option",{attrs:{label:">",value:"GT"}}),n("el-option",{attrs:{label:">=",value:"GTE"}}),n("el-option",{attrs:{label:"<",value:"LT"}}),n("el-option",{attrs:{label:"<=",value:"LTE"}}),n("el-option",{attrs:{label:"LIKE",value:"LIKE"}}),n("el-option",{attrs:{label:"BETWEEN",value:"BETWEEN"}})],1)]}}])}),n("el-table-column",{attrs:{label:"必填","min-width":"5%"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-checkbox",{attrs:{"true-label":"1"},model:{value:e.row.isRequired,callback:function(n){t.$set(e.row,"isRequired",n)},expression:"scope.row.isRequired"}})]}}])}),n("el-table-column",{attrs:{label:"显示类型","min-width":"12%"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-select",{model:{value:e.row.htmlType,callback:function(n){t.$set(e.row,"htmlType",n)},expression:"scope.row.htmlType"}},[n("el-option",{attrs:{label:"文本框",value:"input"}}),n("el-option",{attrs:{label:"文本域",value:"textarea"}}),n("el-option",{attrs:{label:"下拉框",value:"select"}}),n("el-option",{attrs:{label:"单选框",value:"radio"}}),n("el-option",{attrs:{label:"复选框",value:"checkbox"}}),n("el-option",{attrs:{label:"日期控件",value:"datetime"}}),n("el-option",{attrs:{label:"富文本控件",value:"editor"}})],1)]}}])}),n("el-table-column",{attrs:{label:"字典类型","min-width":"12%"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-select",{attrs:{clearable:"",filterable:"",placeholder:"请选择"},model:{value:e.row.dictType,callback:function(n){t.$set(e.row,"dictType",n)},expression:"scope.row.dictType"}},t._l(t.dictOptions,(function(e){return n("el-option",{key:e.dictType,attrs:{label:e.dictName,value:e.dictType}},[n("span",{staticStyle:{float:"left"}},[t._v(t._s(e.dictName))]),n("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[t._v(t._s(e.dictType))])])})),1)]}}])})],1)],1),n("el-tab-pane",{attrs:{label:"生成信息",name:"genInfo"}},[n("gen-info-form",{ref:"genInfo",attrs:{info:t.info,menus:t.menus}})],1)],1),n("el-form",{attrs:{"label-width":"100px"}},[n("el-form-item",{staticStyle:{"text-align":"center","margin-left":"-100px","margin-top":"10px"}},[n("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.submitForm()}}},[t._v("提交")]),n("el-button",{on:{click:function(e){return t.close()}}},[t._v("返回")])],1)],1)],1)},i=[],a=(n("d3b7"),n("3ca3"),n("ddb0"),n("d81d"),n("a434"),n("4e82"),n("4b72")),o=n("ed45"),A=n("a6dc"),s=n("ed69"),l=n("8586"),c=n("53fe"),u=n.n(c),d={name:"GenEdit",components:{basicInfoForm:s["default"],genInfoForm:l["default"]},data:function(){return{activeName:"cloum",tableHeight:document.documentElement.scrollHeight-245+"px",cloumns:[],dictOptions:[],menus:[],info:{}}},created:function(){var t=this,e=this.$route.params&&this.$route.params.tableId;e&&(Object(a["c"])(e).then((function(e){t.cloumns=e.data.rows,t.info=e.data.info})),Object(o["f"])().then((function(e){t.dictOptions=e.data})),Object(A["d"])().then((function(e){t.menus=t.handleTree(e.data,"menuId")})))},methods:{submitForm:function(){var t=this,e=this.$refs.basicInfo.$refs.basicInfoForm,n=this.$refs.genInfo.$refs.genInfoForm;Promise.all([e,n].map(this.getFormPromise)).then((function(r){var i=r.every((function(t){return!!t}));if(i){var o=Object.assign({},e.model,n.model);o.columns=t.cloumns,o.params={treeCode:o.treeCode,treeName:o.treeName,treeParentCode:o.treeParentCode,parentMenuId:o.parentMenuId},Object(a["i"])(o).then((function(e){t.msgSuccess(e.msg),200===e.code&&t.close()}))}else t.msgError("表单校验未通过,请重新检查提交内容")}))},getFormPromise:function(t){return new Promise((function(e){t.validate((function(t){e(t)}))}))},close:function(){this.$store.dispatch("tagsView/delView",this.$route),this.$router.push({path:"/tool/gen",query:{t:Date.now()}})}},mounted:function(){var t=this,e=this.$refs.dragTable.$el.querySelectorAll(".el-table__body-wrapper > table > tbody")[0];u.a.create(e,{handle:".allowDrag",onEnd:function(e){var n=t.cloumns.splice(e.oldIndex,1)[0];for(var r in t.cloumns.splice(e.newIndex,0,n),t.cloumns)t.cloumns[r].sort=parseInt(r)+1}})}},h=d,f=n("2877"),p=Object(f["a"])(h,r,i,!1,null,null,null);e["default"]=p.exports},"76fc":function(t,e,n){(function(t){var r,i,a,o=n("7037").default;n("d3b7"),n("159b"),n("d81d"),n("4de4"),n("99af"),n("fb6a"),n("7db0"),n("cb29"),n("ace4"),n("cfc3"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("170b"),n("b39a"),n("72f7"),n("4c53"),n("ac1f"),n("1276"),n("a15b"),n("a9e3"),n("5319"),n("466d"),n("b680"),n("4e82"),n("25f0"),n("a434"),n("00b4"),n("b0c0"),n("4d63"),n("2c3e"),n("38cf"),n("130f"),function(A,s){"object"==o(e)&&"object"==o(t)?t.exports=s(n("313e")):(i=[n("313e")],r=s,a="function"===typeof r?r.apply(e,i):r,void 0===a||(t.exports=a))}(0,(function(t){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=25)}([function(t,e){function n(t,e){W[t]=e}function r(t){if(null==t||"object"!=o(t))return t;var e=t,n=j.call(t);if("[object Array]"===n){e=[];for(var i=0,a=t.length;i<a;i++)e[i]=r(t[i])}else if(M[n]){var A=t.constructor;if(t.constructor.from)e=A.from(t);else{e=new A(t.length);for(i=0,a=t.length;i<a;i++)e[i]=r(t[i])}}else if(!H[n]&&!D(t)&&!k(t))for(var s in e={},t)t.hasOwnProperty(s)&&(e[s]=r(t[s]));return e}function i(t,e,n){if(!x(e)||!x(t))return n?r(e):t;for(var a in e)if(e.hasOwnProperty(a)){var o=t[a],A=e[a];!x(A)||!x(o)||b(A)||b(o)||k(A)||k(o)||C(A)||C(o)||D(A)||D(o)?!n&&a in t||(t[a]=r(e[a],!0)):i(o,A,n)}return t}function a(t,e){for(var n=t[0],r=1,a=t.length;r<a;r++)n=i(n,t[r],e);return n}function A(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function s(t,e,n){for(var r in e)e.hasOwnProperty(r)&&(n?null!=e[r]:null==t[r])&&(t[r]=e[r]);return t}function l(){return Y||(Y=$().getContext("2d")),Y}function c(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n}return-1}function u(t,e){function n(){}var r=t.prototype;for(var i in n.prototype=e.prototype,t.prototype=new n,r)t.prototype[i]=r[i];t.prototype.constructor=t,t.superClass=e}function d(t,e,n){t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,s(t,e,n)}function h(t){if(t)return"string"!=typeof t&&"number"==typeof t.length}function f(t,e,n){if(t&&e)if(t.forEach&&t.forEach===K)t.forEach(e,n);else if(t.length===+t.length)for(var r=0,i=t.length;r<i;r++)e.call(n,t[r],r,t);else for(var a in t)t.hasOwnProperty(a)&&e.call(n,t[a],a,t)}function p(t,e,n){if(t&&e){if(t.map&&t.map===z)return t.map(e,n);for(var r=[],i=0,a=t.length;i<a;i++)r.push(e.call(n,t[i],i,t));return r}}function m(t,e,n,r){if(t&&e){if(t.reduce&&t.reduce===G)return t.reduce(e,n,r);for(var i=0,a=t.length;i<a;i++)n=e.call(r,n,t[i],i,t);return n}}function g(t,e,n){if(t&&e){if(t.filter&&t.filter===q)return t.filter(e,n);for(var r=[],i=0,a=t.length;i<a;i++)e.call(n,t[i],i,t)&&r.push(t[i]);return r}}function v(t,e,n){if(t&&e)for(var r=0,i=t.length;r<i;r++)if(e.call(n,t[r],r,t))return t[r]}function _(t,e){var n=V.call(arguments,2);return function(){return t.apply(e,n.concat(V.call(arguments)))}}function y(t){var e=V.call(arguments,1);return function(){return t.apply(this,e.concat(V.call(arguments)))}}function b(t){return"[object Array]"===j.call(t)}function w(t){return"function"==typeof t}function B(t){return"[object String]"===j.call(t)}function x(t){var e=o(t);return"function"===e||!!t&&"object"==e}function C(t){return!!H[j.call(t)]}function k(t){return"object"==o(t)&&"number"==typeof t.nodeType&&"object"==o(t.ownerDocument)}function Q(t){return t!==t}function E(t){for(var e=0,n=arguments.length;e<n;e++)if(null!=arguments[e])return arguments[e]}function F(t,e){return null!=t?t:e}function U(t,e,n){return null!=t?t:null!=e?e:n}function O(){return Function.call.apply(V,arguments)}function S(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function T(t,e){if(!t)throw new Error(e)}function I(t){t[X]=!0}function D(t){return t[X]}function L(t){t&&f(t,(function(t,e){this.set(e,t)}),this)}function P(t){return new L(t)}function N(){}var H={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},M={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},j=Object.prototype.toString,R=Array.prototype,K=R.forEach,q=R.filter,V=R.slice,z=R.map,G=R.reduce,W={},$=function(){return W.createCanvas()};W.createCanvas=function(){return document.createElement("canvas")};var Y,X="__ec_primitive__";L.prototype={constructor:L,get:function(t){return this["_ec_"+t]},set:function(t,e){return this["_ec_"+t]=e,e},each:function(t,e){for(var n in void 0!==e&&(t=_(t,e)),this)this.hasOwnProperty(n)&&t(this[n],n.slice(4))},removeKey:function(t){delete this["_ec_"+t]}},e.$override=n,e.clone=r,e.merge=i,e.mergeAll=a,e.extend=A,e.defaults=s,e.createCanvas=$,e.getContext=l,e.indexOf=c,e.inherits=u,e.mixin=d,e.isArrayLike=h,e.each=f,e.map=p,e.reduce=m,e.filter=g,e.find=v,e.bind=_,e.curry=y,e.isArray=b,e.isFunction=w,e.isString=B,e.isObject=x,e.isBuiltInObject=C,e.isDom=k,e.eqNaN=Q,e.retrieve=E,e.retrieve2=F,e.retrieve3=U,e.slice=O,e.normalizeCssArray=S,e.assert=T,e.setAsPrimitive=I,e.isPrimitive=D,e.createHashMap=P,e.noop=N},function(t,e,n){function r(t){i.call(this,t),this.path=null}var i=n(12),a=n(0),o=n(6),A=n(50),s=n(56),l=s.prototype.getCanvasPattern,c=Math.abs,u=new o(!0);r.prototype={constructor:r,type:"path",__dirtyPath:!0,strokeContainThreshold:5,brush:function(t,e){var n,r=this.style,i=this.path||u,a=r.hasStroke(),o=r.hasFill(),A=r.fill,s=r.stroke,c=o&&!!A.colorStops,d=a&&!!s.colorStops,h=o&&!!A.image,f=a&&!!s.image;(r.bind(t,this,e),this.setTransform(t),this.__dirty)&&(c&&(n=n||this.getBoundingRect(),this._fillGradient=r.getGradient(t,A,n)),d&&(n=n||this.getBoundingRect(),this._strokeGradient=r.getGradient(t,s,n)));c?t.fillStyle=this._fillGradient:h&&(t.fillStyle=l.call(A,t)),d?t.strokeStyle=this._strokeGradient:f&&(t.strokeStyle=l.call(s,t));var p=r.lineDash,m=r.lineDashOffset,g=!!t.setLineDash,v=this.getGlobalScale();i.setScale(v[0],v[1]),this.__dirtyPath||p&&!g&&a?(i.beginPath(t),p&&!g&&(i.setLineDash(p),i.setLineDashOffset(m)),this.buildPath(i,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),o&&i.fill(t),p&&g&&(t.setLineDash(p),t.lineDashOffset=m),a&&i.stroke(t),p&&g&&t.setLineDash([]),this.restoreTransform(t),null!=r.text&&this.drawRectText(t,this.getBoundingRect())},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new o},getBoundingRect:function(){var t=this._rect,e=this.style,n=!t;if(n){var r=this.path;r||(r=this.path=new o),this.__dirtyPath&&(r.beginPath(),this.buildPath(r,this.shape,!1)),t=r.getBoundingRect()}if(this._rect=t,e.hasStroke()){var i=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){i.copy(t);var a=e.lineWidth,A=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(a=Math.max(a,this.strokeContainThreshold||4)),A>1e-10&&(i.width+=a/A,i.height+=a/A,i.x-=a/A/2,i.y-=a/A/2)}return i}return t},contain:function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect(),i=this.style;if(t=n[0],e=n[1],r.contain(t,e)){var a=this.path.data;if(i.hasStroke()){var o=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(i.hasFill()||(o=Math.max(o,this.strokeContainThreshold)),A.containStroke(a,o/s,t,e)))return!0}if(i.hasFill())return A.contain(a,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):i.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var n=this.shape;if(n){if(a.isObject(t))for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);else n[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&c(t[0]-1)>1e-10&&c(t[3]-1)>1e-10?Math.sqrt(c(t[0]*t[3]-t[2]*t[1])):1}},r.extend=function(t){var e=function(e){r.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var i=this.shape;for(var a in n)!i.hasOwnProperty(a)&&n.hasOwnProperty(a)&&(i[a]=n[a])}t.init&&t.init.call(this,e)};for(var n in a.inherits(e,r),t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},a.inherits(r,i);var d=r;t.exports=d},function(t,e){function n(t,e){var n=new B(2);return null==t&&(t=0),null==e&&(e=0),n[0]=t,n[1]=e,n}function r(t,e){return t[0]=e[0],t[1]=e[1],t}function i(t){var e=new B(2);return e[0]=t[0],e[1]=t[1],e}function a(t,e,n){return t[0]=e,t[1]=n,t}function o(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function A(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t}function s(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function l(t){return Math.sqrt(c(t))}function c(t){return t[0]*t[0]+t[1]*t[1]}function u(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t}function d(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t}function h(t,e){return t[0]*e[0]+t[1]*e[1]}function f(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function p(t,e){var n=l(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function m(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}function g(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}function v(t,e){return t[0]=-e[0],t[1]=-e[1],t}function _(t,e,n,r){return t[0]=e[0]+r*(n[0]-e[0]),t[1]=e[1]+r*(n[1]-e[1]),t}function y(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t}function b(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function w(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var B="undefined"==typeof Float32Array?Array:Float32Array,x=l,C=c,k=m,Q=g;e.create=n,e.copy=r,e.clone=i,e.set=a,e.add=o,e.scaleAndAdd=A,e.sub=s,e.len=l,e.length=x,e.lenSquare=c,e.lengthSquare=C,e.mul=u,e.div=d,e.dot=h,e.scale=f,e.normalize=p,e.distance=m,e.dist=k,e.distanceSquare=g,e.distSquare=Q,e.negate=v,e.lerp=_,e.applyTransform=y,e.min=b,e.max=w},function(t,e,n){function r(t,e,n,r){n<0&&(t+=n,n=-n),r<0&&(e+=r,r=-r),this.x=t,this.y=e,this.width=n,this.height=r}var i=n(2),a=n(8),o=i.applyTransform,A=Math.min,s=Math.max;r.prototype={constructor:r,union:function(t){var e=A(t.x,this.x),n=A(t.y,this.y);this.width=s(t.x+t.width,this.x+this.width)-e,this.height=s(t.y+t.height,this.y+this.height)-n,this.x=e,this.y=n},applyTransform:function(){var t=[],e=[],n=[],r=[];return function(i){if(i){t[0]=n[0]=this.x,t[1]=r[1]=this.y,e[0]=r[0]=this.x+this.width,e[1]=n[1]=this.y+this.height,o(t,t,i),o(e,e,i),o(n,n,i),o(r,r,i),this.x=A(t[0],e[0],n[0],r[0]),this.y=A(t[1],e[1],n[1],r[1]);var a=s(t[0],e[0],n[0],r[0]),l=s(t[1],e[1],n[1],r[1]);this.width=a-this.x,this.height=l-this.y}}}(),calculateTransform:function(t){var e=this,n=t.width/e.width,r=t.height/e.height,i=a.create();return a.translate(i,i,[-e.x,-e.y]),a.scale(i,i,[n,r]),a.translate(i,i,[t.x,t.y]),i},intersect:function(t){if(!t)return!1;t instanceof r||(t=r.create(t));var e=this,n=e.x,i=e.x+e.width,a=e.y,o=e.y+e.height,A=t.x,s=t.x+t.width,l=t.y,c=t.y+t.height;return!(i<A||s<n||o<l||c<a)},contain:function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},clone:function(){return new r(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},r.create=function(t){return new r(t.x,t.y,t.width,t.height)};var l=r;t.exports=l},function(t,e,n){function r(t){return t>-w&&t<w}function i(t){return t>w||t<-w}function a(t,e,n,r,i){var a=1-i;return a*a*(a*t+3*i*e)+i*i*(i*r+3*a*n)}function o(t,e,n,r,i){var a=1-i;return 3*(((e-t)*a+2*(n-e)*i)*a+(r-n)*i*i)}function A(t,e,n,i,a,o){var A=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),c=t-a,u=s*s-3*A*l,d=s*l-9*A*c,h=l*l-3*s*c,f=0;if(r(u)&&r(d))if(r(s))o[0]=0;else{var p=-l/s;p>=0&&p<=1&&(o[f++]=p)}else{var m=d*d-4*u*h;if(r(m)){var g=d/u,v=(p=-s/A+g,-g/2);p>=0&&p<=1&&(o[f++]=p),v>=0&&v<=1&&(o[f++]=v)}else if(m>0){var _=b(m),w=u*s+1.5*A*(-d+_),B=u*s+1.5*A*(-d-_);w=w<0?-y(-w,C):y(w,C),B=B<0?-y(-B,C):y(B,C);p=(-s-(w+B))/(3*A);p>=0&&p<=1&&(o[f++]=p)}else{var k=(2*u*s-3*A*d)/(2*b(u*u*u)),Q=Math.acos(k)/3,E=b(u),F=Math.cos(Q),U=(p=(-s-2*E*F)/(3*A),v=(-s+E*(F+x*Math.sin(Q)))/(3*A),(-s+E*(F-x*Math.sin(Q)))/(3*A));p>=0&&p<=1&&(o[f++]=p),v>=0&&v<=1&&(o[f++]=v),U>=0&&U<=1&&(o[f++]=U)}}return f}function s(t,e,n,a,o){var A=6*n-12*e+6*t,s=9*e+3*a-3*t-9*n,l=3*e-3*t,c=0;if(r(s)){if(i(A)){var u=-l/A;u>=0&&u<=1&&(o[c++]=u)}}else{var d=A*A-4*s*l;if(r(d))o[0]=-A/(2*s);else if(d>0){var h=b(d),f=(u=(-A+h)/(2*s),(-A-h)/(2*s));u>=0&&u<=1&&(o[c++]=u),f>=0&&f<=1&&(o[c++]=f)}}return c}function l(t,e,n,r,i,a){var o=(e-t)*i+t,A=(n-e)*i+e,s=(r-n)*i+n,l=(A-o)*i+o,c=(s-A)*i+A,u=(c-l)*i+l;a[0]=t,a[1]=o,a[2]=l,a[3]=u,a[4]=u,a[5]=c,a[6]=s,a[7]=r}function c(t,e,n,r,i,o,A,s,l,c,u){var d,h,f,p,m,g=.005,v=1/0;k[0]=l,k[1]=c;for(var y=0;y<1;y+=.05)Q[0]=a(t,n,i,A,y),Q[1]=a(e,r,o,s,y),(p=_(k,Q))<v&&(d=y,v=p);v=1/0;for(var w=0;w<32&&!(g<B);w++)h=d-g,f=d+g,Q[0]=a(t,n,i,A,h),Q[1]=a(e,r,o,s,h),p=_(Q,k),h>=0&&p<v?(d=h,v=p):(E[0]=a(t,n,i,A,f),E[1]=a(e,r,o,s,f),m=_(E,k),f<=1&&m<v?(d=f,v=m):g*=.5);return u&&(u[0]=a(t,n,i,A,d),u[1]=a(e,r,o,s,d)),b(v)}function u(t,e,n,r){var i=1-r;return i*(i*t+2*r*e)+r*r*n}function d(t,e,n,r){return 2*((1-r)*(e-t)+r*(n-e))}function h(t,e,n,a,o){var A=t-2*e+n,s=2*(e-t),l=t-a,c=0;if(r(A)){if(i(s)){var u=-l/s;u>=0&&u<=1&&(o[c++]=u)}}else{var d=s*s-4*A*l;if(r(d)){u=-s/(2*A);u>=0&&u<=1&&(o[c++]=u)}else if(d>0){var h=b(d),f=(u=(-s+h)/(2*A),(-s-h)/(2*A));u>=0&&u<=1&&(o[c++]=u),f>=0&&f<=1&&(o[c++]=f)}}return c}function f(t,e,n){var r=t+n-2*e;return 0===r?.5:(t-e)/r}function p(t,e,n,r,i){var a=(e-t)*r+t,o=(n-e)*r+e,A=(o-a)*r+a;i[0]=t,i[1]=a,i[2]=A,i[3]=A,i[4]=o,i[5]=n}function m(t,e,n,r,i,a,o,A,s){var l,c=.005,d=1/0;k[0]=o,k[1]=A;for(var h=0;h<1;h+=.05){Q[0]=u(t,n,i,h),Q[1]=u(e,r,a,h);var f=_(k,Q);f<d&&(l=h,d=f)}d=1/0;for(var p=0;p<32&&!(c<B);p++){var m=l-c,g=l+c;Q[0]=u(t,n,i,m),Q[1]=u(e,r,a,m);f=_(Q,k);if(m>=0&&f<d)l=m,d=f;else{E[0]=u(t,n,i,g),E[1]=u(e,r,a,g);var v=_(E,k);g<=1&&v<d?(l=g,d=v):c*=.5}}return s&&(s[0]=u(t,n,i,l),s[1]=u(e,r,a,l)),b(d)}var g=n(2),v=g.create,_=g.distSquare,y=Math.pow,b=Math.sqrt,w=1e-8,B=1e-4,x=b(3),C=1/3,k=v(),Q=v(),E=v();e.cubicAt=a,e.cubicDerivativeAt=o,e.cubicRootAt=A,e.cubicExtrema=s,e.cubicSubdivide=l,e.cubicProjectPoint=c,e.quadraticAt=u,e.quadraticDerivativeAt=d,e.quadraticRootAt=h,e.quadraticExtremum=f,e.quadraticSubdivide=p,e.quadraticProjectPoint=m},function(t,e,n){function r(t,e){T[t]=e}function i(t,e){e=e||S;var n=t+":"+e;if(E[n])return E[n];for(var r=(t+"").split("\n"),i=0,a=0,o=r.length;a<o;a++)i=Math.max(m(r[a],e).width,i);return F>U&&(F=0,E={}),F++,E[n]=i,i}function a(t,e,n,r,i,a,s){return a?A(t,e,n,r,i,a,s):o(t,e,n,r,i,s)}function o(t,e,n,r,a,o){var A=g(t,e,a,o),c=i(t,e);a&&(c+=a[1]+a[3]);var u=A.outerHeight,d=s(0,c,n),h=l(0,u,r),f=new b(d,h,c,u);return f.lineHeight=A.lineHeight,f}function A(t,e,n,r,i,a,o){var A=v(t,{rich:a,truncate:o,font:e,textAlign:n,textPadding:i}),c=A.outerWidth,u=A.outerHeight,d=s(0,c,n),h=l(0,u,r);return new b(d,h,c,u)}function s(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function l(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function c(t,e,n){var r=e.x,i=e.y,a=e.height,o=e.width,A=a/2,s="left",l="top";switch(t){case"left":r-=n,i+=A,s="right",l="middle";break;case"right":r+=n+o,i+=A,l="middle";break;case"top":r+=o/2,i-=n,s="center",l="bottom";break;case"bottom":r+=o/2,i+=a+n,s="center";break;case"inside":r+=o/2,i+=A,s="center",l="middle";break;case"insideLeft":r+=n,i+=A,l="middle";break;case"insideRight":r+=o-n,i+=A,s="right",l="middle";break;case"insideTop":r+=o/2,i+=n,s="center";break;case"insideBottom":r+=o/2,i+=a-n,s="center",l="bottom";break;case"insideTopLeft":r+=n,i+=n;break;case"insideTopRight":r+=o-n,i+=n,s="right";break;case"insideBottomLeft":r+=n,i+=a-n,l="bottom";break;case"insideBottomRight":r+=o-n,i+=a-n,s="right",l="bottom"}return{x:r,y:i,textAlign:s,textVerticalAlign:l}}function u(t,e,n,r,i){if(!e)return"";var a=(t+"").split("\n");i=d(e,n,r,i);for(var o=0,A=a.length;o<A;o++)a[o]=h(a[o],i);return a.join("\n")}function d(t,e,n,r){r=C({},r),r.font=e;n=k(n,"...");r.maxIterations=k(r.maxIterations,2);var a=r.minChar=k(r.minChar,0);r.cnCharWidth=i("国",e);var o=r.ascCharWidth=i("a",e);r.placeholder=k(r.placeholder,"");for(var A=t=Math.max(0,t-1),s=0;s<a&&A>=o;s++)A-=o;var l=i(n);return l>A&&(n="",l=0),A=t-l,r.ellipsis=n,r.ellipsisWidth=l,r.contentWidth=A,r.containerWidth=t,r}function h(t,e){var n=e.containerWidth,r=e.font,a=e.contentWidth;if(!n)return"";var o=i(t,r);if(o<=n)return t;for(var A=0;;A++){if(o<=a||A>=e.maxIterations){t+=e.ellipsis;break}var s=0===A?f(t,a,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*a/o):0;t=t.substr(0,s),o=i(t,r)}return""===t&&(t=e.placeholder),t}function f(t,e,n,r){for(var i=0,a=0,o=t.length;a<o&&i<e;a++){var A=t.charCodeAt(a);i+=0<=A&&A<=127?n:r}return a}function p(t){return i("国",t)}function m(t,e){return T.measureText(t,e)}function g(t,e,n,r){null!=t&&(t+="");var i=p(e),a=t?t.split("\n"):[],o=a.length*i,A=o;if(n&&(A+=n[0]+n[2]),t&&r){var s=r.outerHeight,l=r.outerWidth;if(null!=s&&A>s)t="",a=[];else if(null!=l)for(var c=d(l-(n?n[1]+n[3]:0),e,r.ellipsis,{minChar:r.minChar,placeholder:r.placeholder}),u=0,f=a.length;u<f;u++)a[u]=h(a[u],c)}return{lines:a,height:o,outerHeight:A,lineHeight:i}}function v(t,e){var n={lines:[],width:0,height:0};if(null!=t&&(t+=""),!t)return n;for(var r,a=O.lastIndex=0;null!=(r=O.exec(t));){var o=r.index;o>a&&_(n,t.substring(a,o)),_(n,r[2],r[1]),a=O.lastIndex}a<t.length&&_(n,t.substring(a,t.length));var A=n.lines,s=0,l=0,c=[],d=e.textPadding,h=e.truncate,f=h&&h.outerWidth,m=h&&h.outerHeight;d&&(null!=f&&(f-=d[1]+d[3]),null!=m&&(m-=d[0]+d[2]));for(var g=0;g<A.length;g++){for(var v=A[g],y=0,b=0,B=0;B<v.tokens.length;B++){var x=v.tokens[B],C=x.styleName&&e.rich[x.styleName]||{},E=x.textPadding=C.textPadding,F=x.font=C.font||e.font,U=x.textHeight=k(C.textHeight,p(F));if(E&&(U+=E[0]+E[2]),x.height=U,x.lineHeight=Q(C.textLineHeight,e.textLineHeight,U),x.textAlign=C&&C.textAlign||e.textAlign,x.textVerticalAlign=C&&C.textVerticalAlign||"middle",null!=m&&s+x.lineHeight>m)return{lines:[],width:0,height:0};x.textWidth=i(x.text,F);var S=C.textWidth,T=null==S||"auto"===S;if("string"==typeof S&&"%"===S.charAt(S.length-1))x.percentWidth=S,c.push(x),S=0;else{if(T){S=x.textWidth;var I=C.textBackgroundColor,D=I&&I.image;D&&(D=w.findExistImage(D),w.isImageReady(D)&&(S=Math.max(S,D.width*U/D.height)))}var L=E?E[1]+E[3]:0;S+=L;var P=null!=f?f-b:null;null!=P&&P<S&&(!T||P<L?(x.text="",x.textWidth=S=0):(x.text=u(x.text,P-L,F,h.ellipsis,{minChar:h.minChar}),x.textWidth=i(x.text,F),S=x.textWidth+L))}b+=x.width=S,C&&(y=Math.max(y,x.lineHeight))}v.width=b,v.lineHeight=y,s+=y,l=Math.max(l,b)}n.outerWidth=n.width=k(e.textWidth,l),n.outerHeight=n.height=k(e.textHeight,s),d&&(n.outerWidth+=d[1]+d[3],n.outerHeight+=d[0]+d[2]);for(g=0;g<c.length;g++){x=c[g];var N=x.percentWidth;x.width=parseInt(N,10)/100*l}return n}function _(t,e,n){for(var r=""===e,i=e.split("\n"),a=t.lines,o=0;o<i.length;o++){var A=i[o],s={styleName:n,text:A,isLineHolder:!A&&!r};if(o)a.push({tokens:[s]});else{var l=(a[a.length-1]||(a[0]={tokens:[]})).tokens,c=l.length;1===c&&l[0].isLineHolder?l[0]=s:(A||!c||r)&&l.push(s)}}}function y(t){return(t.fontSize||t.fontFamily)&&[t.fontStyle,t.fontWeight,(t.fontSize||12)+"px",t.fontFamily||"sans-serif"].join(" ")||t.textFont||t.font}var b=n(3),w=n(10),B=n(0),x=B.getContext,C=B.extend,k=B.retrieve2,Q=B.retrieve3,E={},F=0,U=5e3,O=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,S="12px sans-serif",T={measureText:function(t,e){var n=x();return n.font=e||S,n.measureText(t)}};e.DEFAULT_FONT=S,e.$override=r,e.getWidth=i,e.getBoundingRect=a,e.adjustTextX=s,e.adjustTextY=l,e.adjustTextPositionOnRect=c,e.truncateText=u,e.getLineHeight=p,e.measureText=m,e.parsePlainText=g,e.parseRichText=v,e.makeFont=y},function(t,e,n){var r=n(4),i=n(2),a=n(49),o=n(3),A=n(19),s=A.devicePixelRatio,l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},c=[],u=[],d=[],h=[],f=Math.min,p=Math.max,m=Math.cos,g=Math.sin,v=Math.sqrt,_=Math.abs,y="undefined"!=typeof Float32Array,b=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};b.prototype={constructor:b,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e){this._ux=_(1/s/t)||0,this._uy=_(1/s/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(l.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var n=_(t-this._xi)>this._ux||_(e-this._yi)>this._uy||this._len<5;return this.addData(l.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,r,i,a){return this.addData(l.C,t,e,n,r,i,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,r,i,a):this._ctx.bezierCurveTo(t,e,n,r,i,a)),this._xi=i,this._yi=a,this},quadraticCurveTo:function(t,e,n,r){return this.addData(l.Q,t,e,n,r),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,r):this._ctx.quadraticCurveTo(t,e,n,r)),this._xi=n,this._yi=r,this},arc:function(t,e,n,r,i,a){return this.addData(l.A,t,e,n,n,r,i-r,0,a?0:1),this._ctx&&this._ctx.arc(t,e,n,r,i,a),this._xi=m(i)*n+t,this._yi=g(i)*n+t,this},arcTo:function(t,e,n,r,i){return this._ctx&&this._ctx.arcTo(t,e,n,r,i),this},rect:function(t,e,n,r){return this._ctx&&this._ctx.rect(t,e,n,r),this.addData(l.R,t,e,n,r),this},closePath:function(){this.addData(l.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;n<t.length;n++)e+=t[n];this._dashSum=e}return this},setLineDashOffset:function(t){return this._dashOffset=t,this},len:function(){return this._len},setData:function(t){var e=t.length;this.data&&this.data.length==e||!y||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},appendPath:function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,r=this._len,i=0;i<e;i++)n+=t[i].len();y&&this.data instanceof Float32Array&&(this.data=new Float32Array(r+n));for(i=0;i<e;i++)for(var a=t[i].data,o=0;o<a.length;o++)this.data[r++]=a[o];this._len=r},addData:function(t){if(this._saveData){var e=this.data;this._len+arguments.length>e.length&&(this._expandData(),e=this.data);for(var n=0;n<arguments.length;n++)e[this._len++]=arguments[n];this._prevCmd=t}},_expandData:function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(t,e){var n,r,i=this._dashSum,a=this._dashOffset,o=this._lineDash,A=this._ctx,s=this._xi,l=this._yi,c=t-s,u=e-l,d=v(c*c+u*u),h=s,m=l,g=o.length;for(c/=d,u/=d,a<0&&(a=i+a),a%=i,h-=a*c,m-=a*u;c>0&&h<=t||c<0&&h>=t||0==c&&(u>0&&m<=e||u<0&&m>=e);)r=this._dashIdx,n=o[r],h+=c*n,m+=u*n,this._dashIdx=(r+1)%g,c>0&&h<s||c<0&&h>s||u>0&&m<l||u<0&&m>l||A[r%2?"moveTo":"lineTo"](c>=0?f(h,t):p(h,t),u>=0?f(m,e):p(m,e));c=h-t,u=m-e,this._dashOffset=-v(c*c+u*u)},_dashedBezierTo:function(t,e,n,i,a,o){var A,s,l,c,u,d=this._dashSum,h=this._dashOffset,f=this._lineDash,p=this._ctx,m=this._xi,g=this._yi,_=r.cubicAt,y=0,b=this._dashIdx,w=f.length,B=0;for(h<0&&(h=d+h),h%=d,A=0;A<1;A+=.1)s=_(m,t,n,a,A+.1)-_(m,t,n,a,A),l=_(g,e,i,o,A+.1)-_(g,e,i,o,A),y+=v(s*s+l*l);for(;b<w&&!((B+=f[b])>h);b++);for(A=(B-h)/y;A<=1;)c=_(m,t,n,a,A),u=_(g,e,i,o,A),b%2?p.moveTo(c,u):p.lineTo(c,u),A+=f[b]/y,b=(b+1)%w;b%2!=0&&p.lineTo(a,o),s=a-c,l=o-u,this._dashOffset=-v(s*s+l*l)},_dashedQuadraticTo:function(t,e,n,r){var i=n,a=r;n=(n+2*t)/3,r=(r+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,r,i,a)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,y&&(this.data=new Float32Array(t)))},getBoundingRect:function(){c[0]=c[1]=d[0]=d[1]=Number.MAX_VALUE,u[0]=u[1]=h[0]=h[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,n=0,r=0,A=0,s=0;s<t.length;){var f=t[s++];switch(1==s&&(e=t[s],n=t[s+1],r=e,A=n),f){case l.M:r=t[s++],A=t[s++],e=r,n=A,d[0]=r,d[1]=A,h[0]=r,h[1]=A;break;case l.L:a.fromLine(e,n,t[s],t[s+1],d,h),e=t[s++],n=t[s++];break;case l.C:a.fromCubic(e,n,t[s++],t[s++],t[s++],t[s++],t[s],t[s+1],d,h),e=t[s++],n=t[s++];break;case l.Q:a.fromQuadratic(e,n,t[s++],t[s++],t[s],t[s+1],d,h),e=t[s++],n=t[s++];break;case l.A:var p=t[s++],v=t[s++],_=t[s++],y=t[s++],b=t[s++],w=t[s++]+b,B=(t[s++],1-t[s++]);1==s&&(r=m(b)*_+p,A=g(b)*y+v),a.fromArc(p,v,_,y,b,w,B,d,h),e=m(w)*_+p,n=g(w)*y+v;break;case l.R:r=e=t[s++],A=n=t[s++];var x=t[s++],C=t[s++];a.fromLine(r,A,r+x,A+C,d,h);break;case l.Z:e=r,n=A}i.min(c,c,d),i.max(u,u,h)}return 0===s&&(c[0]=c[1]=u[0]=u[1]=0),new o(c[0],c[1],u[0]-c[0],u[1]-c[1])},rebuildPath:function(t){for(var e,n,r,i,a,o,A=this.data,s=this._ux,c=this._uy,u=this._len,d=0;d<u;){var h=A[d++];switch(1==d&&(r=A[d],i=A[d+1],e=r,n=i),h){case l.M:e=r=A[d++],n=i=A[d++],t.moveTo(r,i);break;case l.L:a=A[d++],o=A[d++],(_(a-r)>s||_(o-i)>c||d===u-1)&&(t.lineTo(a,o),r=a,i=o);break;case l.C:t.bezierCurveTo(A[d++],A[d++],A[d++],A[d++],A[d++],A[d++]),r=A[d-2],i=A[d-1];break;case l.Q:t.quadraticCurveTo(A[d++],A[d++],A[d++],A[d++]),r=A[d-2],i=A[d-1];break;case l.A:var f=A[d++],p=A[d++],v=A[d++],y=A[d++],b=A[d++],w=A[d++],B=A[d++],x=A[d++],C=v>y?v:y,k=v>y?1:v/y,Q=v>y?y/v:1,E=Math.abs(v-y)>.001,F=b+w;E?(t.translate(f,p),t.rotate(B),t.scale(k,Q),t.arc(0,0,C,b,F,1-x),t.scale(1/k,1/Q),t.rotate(-B),t.translate(-f,-p)):t.arc(f,p,C,b,F,1-x),1==d&&(e=m(b)*v+f,n=g(b)*y+p),r=m(F)*v+f,i=g(F)*y+p;break;case l.R:e=r=A[d],n=i=A[d+1],t.rect(A[d++],A[d++],A[d++],A[d++]);break;case l.Z:t.closePath(),r=e,i=n}}}},b.CMD=l;var w=b;t.exports=w},function(e,n){e.exports=t},function(t,e){function n(){var t=new c(6);return r(t),t}function r(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function a(t,e,n){var r=e[0]*n[0]+e[2]*n[1],i=e[1]*n[0]+e[3]*n[1],a=e[0]*n[2]+e[2]*n[3],o=e[1]*n[2]+e[3]*n[3],A=e[0]*n[4]+e[2]*n[5]+e[4],s=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=r,t[1]=i,t[2]=a,t[3]=o,t[4]=A,t[5]=s,t}function o(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function A(t,e,n){var r=e[0],i=e[2],a=e[4],o=e[1],A=e[3],s=e[5],l=Math.sin(n),c=Math.cos(n);return t[0]=r*c+o*l,t[1]=-r*l+o*c,t[2]=i*c+A*l,t[3]=-i*l+c*A,t[4]=c*a+l*s,t[5]=c*s-l*a,t}function s(t,e,n){var r=n[0],i=n[1];return t[0]=e[0]*r,t[1]=e[1]*i,t[2]=e[2]*r,t[3]=e[3]*i,t[4]=e[4]*r,t[5]=e[5]*i,t}function l(t,e){var n=e[0],r=e[2],i=e[4],a=e[1],o=e[3],A=e[5],s=n*o-a*r;return s?(s=1/s,t[0]=o*s,t[1]=-a*s,t[2]=-r*s,t[3]=n*s,t[4]=(r*A-o*i)*s,t[5]=(a*i-n*A)*s,t):null}var c="undefined"==typeof Float32Array?Array:Float32Array;e.create=n,e.identity=r,e.copy=i,e.mul=a,e.translate=o,e.rotate=A,e.scale=s,e.invert=l},function(t,e,n){function r(t){return t.replace(/^\s+/,"").replace(/\s+$/,"")}function i(t,e,n,r){var i=e[1]-e[0],a=n[1]-n[0];if(0===i)return 0===a?n[0]:(n[0]+n[1])/2;if(r)if(i>0){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/i*a+n[0]}function a(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?r(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function o(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function A(t){return t.sort((function(t,e){return t-e})),t}function s(t){if(t=+t,isNaN(t))return 0;for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}function l(t){var e=t.toString(),n=e.indexOf("e");if(n>0){var r=+e.slice(n+1);return r<0?-r:0}var i=e.indexOf(".");return i<0?0:e.length-1-i}function c(t,e){var n=Math.log,r=Math.LN10,i=Math.floor(n(t[1]-t[0])/r),a=Math.round(n(Math.abs(e[1]-e[0]))/r),o=Math.min(Math.max(-i+a,0),20);return isFinite(o)?o:20}function u(t,e,n){if(!t[e])return 0;var r=y.reduce(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===r)return 0;for(var i=Math.pow(10,n),a=y.map(t,(function(t){return(isNaN(t)?0:t)/r*i*100})),o=100*i,A=y.map(a,(function(t){return Math.floor(t)})),s=y.reduce(A,(function(t,e){return t+e}),0),l=y.map(a,(function(t,e){return t-A[e]}));s<o;){for(var c=Number.NEGATIVE_INFINITY,u=null,d=0,h=l.length;d<h;++d)l[d]>c&&(c=l[d],u=d);++A[u],l[u]=0,++s}return A[e]/i}function d(t){var e=2*Math.PI;return(t%e+e)%e}function h(t){return t>-b&&t<b}function f(t){if(t instanceof Date)return t;if("string"==typeof t){var e=w.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,+e[7]||0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,+e[7]||0)}return null==t?new Date(NaN):new Date(Math.round(t))}function p(t){return Math.pow(10,m(t))}function m(t){return Math.floor(Math.log(t)/Math.LN10)}function g(t,e){var n,r=m(t),i=Math.pow(10,r),a=t/i;return n=e?a<1.5?1:a<2.5?2:a<4?3:a<7?5:10:a<1?1:a<2?2:a<3?3:a<5?5:10,t=n*i,r>=-20?+t.toFixed(r<0?-r:0):t}function v(t){function e(t,n,r){return t.interval[r]<n.interval[r]||t.interval[r]===n.interval[r]&&(t.close[r]-n.close[r]==(r?-1:1)||!r&&e(t,n,1))}t.sort((function(t,n){return e(t,n,0)?-1:1}));for(var n=-1/0,r=1,i=0;i<t.length;){for(var a=t[i].interval,o=t[i].close,A=0;A<2;A++)a[A]<=n&&(a[A]=n,o[A]=A?1:1-r),n=a[A],r=o[A];a[0]===a[1]&&o[0]*o[1]!=1?t.splice(i,1):i++}return t}function _(t){return t-parseFloat(t)>=0}var y=n(0),b=1e-4,w=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;e.linearMap=i,e.parsePercent=a,e.round=o,e.asc=A,e.getPrecision=s,e.getPrecisionSafe=l,e.getPixelPrecision=c,e.getPercentWithPrecision=u,e.MAX_SAFE_INTEGER=9007199254740991,e.remRadian=d,e.isRadianAroundZero=h,e.parseDate=f,e.quantity=p,e.nice=g,e.reformIntervals=v,e.isNumeric=_},function(t,e,n){function r(t){if("string"==typeof t){var e=s.get(t);return e&&e.image}return t}function i(t,e,n,r,i){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var A=s.get(t),l={hostEl:n,cb:r,cbPayload:i};return A?(e=A.image,!o(e)&&A.pending.push(l)):(!e&&(e=new Image),e.onload=a,s.put(t,e.__cachedImgObj={image:e,pending:[l]}),e.src=e.__zrImageSrc=t),e}return t}return e}function a(){var t=this.__cachedImgObj;this.onload=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function o(t){return t&&t.width&&t.height}var A=n(14),s=new A(50);e.findExistImage=r,e.createOrUpdateImage=i,e.isImageReady=o},function(t,e,n){function r(t){for(var e=0;e<t.length;e++)t[e][1]||(t[e][1]=t[e][0]);return function(e,n,r){for(var a={},o=0;o<t.length;o++){var A=t[o][1];if(!(n&&i.indexOf(n,A)>=0||r&&i.indexOf(r,A)<0)){var s=e.getShallow(A);null!=s&&(a[t[o][0]]=s)}}return a}}var i=n(0);t.exports=r},function(t,e,n){function r(t){for(var e in t=t||{},o.call(this,t),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new a(t.style,this),this._rect=null,this.__clipPaths=[]}var i=n(0),a=n(40),o=n(16),A=n(48);r.prototype={constructor:r,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:-1,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},dirty:function(){this.__dirty=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?o.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new a(t,this),this.dirty(!1),this}},i.inherits(r,o),i.mixin(r,A);var s=r;t.exports=s},function(t,e,n){function r(t){return isNaN(t)?"-":(t=(t+"").split("."),t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:""))}function i(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}function a(t){return String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function o(t,e,n){u.isArray(e)||(e=[e]);var r=e.length;if(!r)return"";for(var i=e[0].$vars||[],o=0;o<i.length;o++){var A=p[o],s=m(A,0);t=t.replace(m(A),n?a(s):s)}for(var l=0;l<r;l++)for(var c=0;c<i.length;c++){s=e[l][i[c]];t=t.replace(m(p[c],l),n?a(s):s)}return t}function A(t,e,n){return u.each(e,(function(e,r){t=t.replace("{"+r+"}",n?a(e):e)})),t}function s(t,e){return t?'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:9px;height:9px;background-color:'+a(t)+";"+(e||"")+'"></span>':""}function l(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var r=h.parseDate(e),i=n?"UTC":"",a=r["get"+i+"FullYear"](),o=r["get"+i+"Month"]()+1,A=r["get"+i+"Date"](),s=r["get"+i+"Hours"](),l=r["get"+i+"Minutes"](),c=r["get"+i+"Seconds"]();return t.replace("MM",g(o)).replace("M",o).replace("yyyy",a).replace("yy",a%100).replace("dd",g(A)).replace("d",A).replace("hh",g(s)).replace("h",s).replace("mm",g(l)).replace("m",l).replace("ss",g(c)).replace("s",c)}function c(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}var u=n(0),d=n(5),h=n(9),f=u.normalizeCssArray,p=["a","b","c","d","e","f","g"],m=function(t,e){return"{"+t+(null==e?"":e)+"}"},g=function(t){return t<10?"0"+t:t},v=d.truncateText,_=d.getBoundingRect;e.addCommas=r,e.toCamelCase=i,e.normalizeCssArray=f,e.encodeHTML=a,e.formatTpl=o,e.formatTplSimple=A,e.getTooltipMarker=s,e.formatTime=l,e.capitalFirst=c,e.truncateText=v,e.getTextRect=_},function(t,e){var n=function(){this.head=null,this.tail=null,this._len=0},r=n.prototype;r.insert=function(t){var e=new i(t);return this.insertEntry(e),e},r.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},r.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},r.len=function(){return this._len},r.clear=function(){this.head=this.tail=null,this._len=0};var i=function(t){this.value=t,this.next,this.prev},a=function(t){this._list=new n,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null},o=a.prototype;o.put=function(t,e){var n=this._list,r=this._map,a=null;if(null==r[t]){var o=n.len(),A=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete r[s.key],a=s.value,this._lastRemovedEntry=s}A?A.value=e:A=new i(e),A.key=t,n.insertEntry(A),r[t]=A}return a},o.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},o.clear=function(){this._list.clear(),this._map={}};var A=a;t.exports=A},function(t,e){var n={};n="undefined"==typeof navigator?{browser:{},os:{},node:!0,canvasSupported:!0,svgSupported:!0}:function(t){var e={},n={},r=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(t);return r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[1]),a&&(n.edge=!0,n.version=a[1]),o&&(n.weChat=!0),{browser:n,os:e,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!=typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!n.ie&&!n.edge,pointerEventsSupported:"onpointerdown"in window&&(n.edge||n.ie&&n.version>=11)}}(navigator.userAgent);var r=n;t.exports=r},function(t,e,n){var r=n(41),i=n(42),a=n(17),o=n(43),A=n(0),s=function(t){a.call(this,t),i.call(this,t),o.call(this,t),this.id=t.id||r()};s.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var n=this[t];n||(n=this[t]=[]),n[0]=e[0],n[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(A.isObject(t))for(var n in t)t.hasOwnProperty(n)&&this.attrKV(n,t[n]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this.clipPath&&this.clipPath.addSelfToZr(t)},removeSelfFromZr:function(t){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this.clipPath&&this.clipPath.removeSelfFromZr(t)}},A.mixin(s,o),A.mixin(s,a),A.mixin(s,i);var l=s;t.exports=l},function(t,e,n){function r(t){return t>A||t<-A}var i=n(8),a=n(2),o=i.identity,A=5e-5,s=function(t){t=t||{},t.position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},l=s.prototype;l.transform=null,l.needLocalTransform=function(){return r(this.rotation)||r(this.position[0])||r(this.position[1])||r(this.scale[0]-1)||r(this.scale[1]-1)},l.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),r=this.transform;n||e?(r=r||i.create(),n?this.getLocalTransform(r):o(r),e&&(n?i.mul(r,t.transform,r):i.copy(r,t.transform)),this.transform=r,this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,r)):r&&o(r)},l.getLocalTransform=function(t){return s.getLocalTransform(this,t)},l.setTransform=function(t){var e=this.transform,n=t.dpr||1;e?t.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):t.setTransform(n,0,0,n,0,0)},l.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var c=[];l.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(i.mul(c,t.invTransform,e),e=c);var n=e[0]*e[0]+e[1]*e[1],a=e[2]*e[2]+e[3]*e[3],o=this.position,A=this.scale;r(n-1)&&(n=Math.sqrt(n)),r(a-1)&&(a=Math.sqrt(a)),e[0]<0&&(n=-n),e[3]<0&&(a=-a),o[0]=e[4],o[1]=e[5],A[0]=n,A[1]=a,this.rotation=Math.atan2(-e[1]/a,e[0]/n)}},l.getGlobalScale=function(){var t=this.transform;if(!t)return[1,1];var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]),n=Math.sqrt(t[2]*t[2]+t[3]*t[3]);return t[0]<0&&(e=-e),t[3]<0&&(n=-n),[e,n]},l.transformCoordToLocal=function(t,e){var n=[t,e],r=this.invTransform;return r&&a.applyTransform(n,n,r),n},l.transformCoordToGlobal=function(t,e){var n=[t,e],r=this.transform;return r&&a.applyTransform(n,n,r),n},s.getLocalTransform=function(t,e){e=e||[],o(e);var n=t.origin,r=t.scale||[1,1],a=t.rotation||0,A=t.position||[0,0];return n&&(e[4]-=n[0],e[5]-=n[1]),i.scale(e,e,r),a&&i.rotate(e,e,a),n&&(e[4]+=n[0],e[5]+=n[1]),e[4]+=A[0],e[5]+=A[1],e};var u=s;t.exports=u},function(t,e,n){function r(t){return t=Math.round(t),t<0?0:t>255?255:t}function i(t){return t=Math.round(t),t<0?0:t>360?360:t}function a(t){return t<0?0:t>1?1:t}function o(t){return r(t.length&&"%"===t.charAt(t.length-1)?parseFloat(t)/100*255:parseInt(t,10))}function A(t){return a(t.length&&"%"===t.charAt(t.length-1)?parseFloat(t)/100:parseFloat(t))}function s(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function l(t,e,n){return t+(e-t)*n}function c(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function u(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function d(t,e){k&&u(k,e),k=C.put(t,k||e.slice())}function h(t,e){if(t){e=e||[];var n=C.get(t);if(n)return u(e,n);t+="";var r=t.replace(/ /g,"").toLowerCase();if(r in x)return u(e,x[r]),d(t,e),e;if("#"!==r.charAt(0)){var i=r.indexOf("("),a=r.indexOf(")");if(-1!==i&&a+1===r.length){var s=r.substr(0,i),l=r.substr(i+1,a-(i+1)).split(","),h=1;switch(s){case"rgba":if(4!==l.length)return void c(e,0,0,0,1);h=A(l.pop());case"rgb":return 3!==l.length?void c(e,0,0,0,1):(c(e,o(l[0]),o(l[1]),o(l[2]),h),d(t,e),e);case"hsla":return 4!==l.length?void c(e,0,0,0,1):(l[3]=A(l[3]),f(l,e),d(t,e),e);case"hsl":return 3!==l.length?void c(e,0,0,0,1):(f(l,e),d(t,e),e);default:return}}c(e,0,0,0,1)}else{if(4===r.length){var p=parseInt(r.substr(1),16);return p>=0&&p<=4095?(c(e,(3840&p)>>4|(3840&p)>>8,240&p|(240&p)>>4,15&p|(15&p)<<4,1),d(t,e),e):void c(e,0,0,0,1)}if(7===r.length){p=parseInt(r.substr(1),16);return p>=0&&p<=16777215?(c(e,(16711680&p)>>16,(65280&p)>>8,255&p,1),d(t,e),e):void c(e,0,0,0,1)}}}}function f(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=A(t[1]),a=A(t[2]),o=a<=.5?a*(i+1):a+i-a*i,l=2*a-o;return e=e||[],c(e,r(255*s(l,o,n+1/3)),r(255*s(l,o,n)),r(255*s(l,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function p(t){if(t){var e,n,r=t[0]/255,i=t[1]/255,a=t[2]/255,o=Math.min(r,i,a),A=Math.max(r,i,a),s=A-o,l=(A+o)/2;if(0===s)e=0,n=0;else{n=l<.5?s/(A+o):s/(2-A-o);var c=((A-r)/6+s/2)/s,u=((A-i)/6+s/2)/s,d=((A-a)/6+s/2)/s;r===A?e=d-u:i===A?e=1/3+c-d:a===A&&(e=2/3+u-c),e<0&&(e+=1),e>1&&(e-=1)}var h=[360*e,n,l];return null!=t[3]&&h.push(t[3]),h}}function m(t,e){var n=h(t);if(n){for(var r=0;r<3;r++)n[r]=e<0?n[r]*(1-e)|0:(255-n[r])*e+n[r]|0;return w(n,4===n.length?"rgba":"rgb")}}function g(t){var e=h(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function v(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),o=Math.floor(i),A=Math.ceil(i),s=e[o],c=e[A],u=i-o;return n[0]=r(l(s[0],c[0],u)),n[1]=r(l(s[1],c[1],u)),n[2]=r(l(s[2],c[2],u)),n[3]=a(l(s[3],c[3],u)),n}}function _(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),o=Math.floor(i),A=Math.ceil(i),s=h(e[o]),c=h(e[A]),u=i-o,d=w([r(l(s[0],c[0],u)),r(l(s[1],c[1],u)),r(l(s[2],c[2],u)),a(l(s[3],c[3],u))],"rgba");return n?{color:d,leftIndex:o,rightIndex:A,value:i}:d}}function y(t,e,n,r){if(t=h(t))return t=p(t),null!=e&&(t[0]=i(e)),null!=n&&(t[1]=A(n)),null!=r&&(t[2]=A(r)),w(f(t),"rgba")}function b(t,e){if((t=h(t))&&null!=e)return t[3]=a(e),w(t,"rgba")}function w(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}var B=n(14),x={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]},C=new B(20),k=null,Q=v,E=_;e.parse=h,e.lift=m,e.toHex=g,e.fastLerp=v,e.fastMapToColor=Q,e.lerp=_,e.mapToColor=E,e.modifyHSL=y,e.modifyAlpha=b,e.stringify=w},function(t,e){var n=1;"undefined"!=typeof window&&(n=Math.max(window.devicePixelRatio||1,1));var r=n;e.debugMode=0,e.devicePixelRatio=r},function(t,e,n){function r(t){return i(t),x(t.rich,i),t}function i(t){if(t){t.font=E.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||O[e]?e:"left";var n=t.textVerticalAlign||t.textBaseline;"center"===n&&(n="middle"),t.textVerticalAlign=null==n||S[n]?n:"top",t.textPadding&&(t.textPadding=C(t.textPadding))}}function a(t,e,n,r,i){r.rich?A(t,e,n,r,i):o(t,e,n,r,i)}function o(t,e,n,r,i){var a=p(e,"font",r.font||E.DEFAULT_FONT),o=r.textPadding,A=t.__textCotentBlock;A&&!t.__dirty||(A=t.__textCotentBlock=E.parsePlainText(n,a,o,r.truncate));var s=A.outerHeight,c=A.lines,h=A.lineHeight,v=f(s,r,i),y=v.baseX,b=v.baseY,w=v.textAlign,B=v.textVerticalAlign;l(e,r,i,y,b);var x=E.adjustTextY(b,s,B),C=y,k=x,Q=u(r);if(Q||o){var F=E.getWidth(n,a),U=F;o&&(U+=o[1]+o[3]);var O=E.adjustTextX(y,U,w);Q&&d(t,e,r,O,x,U,s),o&&(C=_(y,w,o),k+=o[0])}p(e,"textAlign",w||"left"),p(e,"textBaseline","middle"),p(e,"shadowBlur",r.textShadowBlur||0),p(e,"shadowColor",r.textShadowColor||"transparent"),p(e,"shadowOffsetX",r.textShadowOffsetX||0),p(e,"shadowOffsetY",r.textShadowOffsetY||0),k+=h/2;var S=r.textStrokeWidth,T=m(r.textStroke,S),I=g(r.textFill);T&&(p(e,"lineWidth",S),p(e,"strokeStyle",T)),I&&p(e,"fillStyle",I);for(var D=0;D<c.length;D++)T&&e.strokeText(c[D],C,k),I&&e.fillText(c[D],C,k),k+=h}function A(t,e,n,r,i){var a=t.__textCotentBlock;a&&!t.__dirty||(a=t.__textCotentBlock=E.parseRichText(n,r)),s(t,e,a,r,i)}function s(t,e,n,r,i){var a=n.width,o=n.outerWidth,A=n.outerHeight,s=r.textPadding,h=f(A,r,i),p=h.baseX,m=h.baseY,g=h.textAlign,v=h.textVerticalAlign;l(e,r,i,p,m);var _=E.adjustTextX(p,o,g),y=E.adjustTextY(m,A,v),b=_,w=y;s&&(b+=s[3],w+=s[0]);var B=b+a;u(r)&&d(t,e,r,_,y,o,A);for(var x=0;x<n.lines.length;x++){for(var C,k=n.lines[x],Q=k.tokens,F=Q.length,U=k.lineHeight,O=k.width,S=0,T=b,I=B,D=F-1;S<F&&(C=Q[S],!C.textAlign||"left"===C.textAlign);)c(t,e,C,r,U,w,T,"left"),O-=C.width,T+=C.width,S++;for(;D>=0&&(C=Q[D],"right"===C.textAlign);)c(t,e,C,r,U,w,I,"right"),O-=C.width,I-=C.width,D--;for(T+=(a-(T-b)-(B-I)-O)/2;S<=D;)C=Q[S],c(t,e,C,r,U,w,T+C.width/2,"center"),T+=C.width,S++;w+=U}}function l(t,e,n,r,i){if(n&&e.textRotation){var a=e.textOrigin;"center"===a?(r=n.width/2+n.x,i=n.height/2+n.y):a&&(r=a[0]+n.x,i=a[1]+n.y),t.translate(r,i),t.rotate(-e.textRotation),t.translate(-r,-i)}}function c(t,e,n,r,i,a,o,A){var s=r.rich[n.styleName]||{},l=n.textVerticalAlign,c=a+i/2;"top"===l?c=a+n.height/2:"bottom"===l&&(c=a+i-n.height/2),!n.isLineHolder&&u(s)&&d(t,e,s,"right"===A?o-n.width:"center"===A?o-n.width/2:o,c-n.height/2,n.width,n.height);var h=n.textPadding;h&&(o=_(o,A,h),c-=n.height/2-h[2]-n.textHeight/2),p(e,"shadowBlur",B(s.textShadowBlur,r.textShadowBlur,0)),p(e,"shadowColor",s.textShadowColor||r.textShadowColor||"transparent"),p(e,"shadowOffsetX",B(s.textShadowOffsetX,r.textShadowOffsetX,0)),p(e,"shadowOffsetY",B(s.textShadowOffsetY,r.textShadowOffsetY,0)),p(e,"textAlign",A),p(e,"textBaseline","middle"),p(e,"font",n.font||E.DEFAULT_FONT);var f=m(s.textStroke||r.textStroke,y),v=g(s.textFill||r.textFill),y=w(s.textStrokeWidth,r.textStrokeWidth);f&&(p(e,"lineWidth",y),p(e,"strokeStyle",f),e.strokeText(n.text,o,c)),v&&(p(e,"fillStyle",v),e.fillText(n.text,o,c))}function u(t){return t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor}function d(t,e,n,r,i,a,o){var A=n.textBackgroundColor,s=n.textBorderWidth,l=n.textBorderColor,c=k(A);if(p(e,"shadowBlur",n.textBoxShadowBlur||0),p(e,"shadowColor",n.textBoxShadowColor||"transparent"),p(e,"shadowOffsetX",n.textBoxShadowOffsetX||0),p(e,"shadowOffsetY",n.textBoxShadowOffsetY||0),c||s&&l){e.beginPath();var u=n.textBorderRadius;u?F.buildPath(e,{x:r,y:i,width:a,height:o,r:u}):e.rect(r,i,a,o),e.closePath()}if(c)p(e,"fillStyle",A),e.fill();else if(Q(A)){var d=A.image;d=U.createOrUpdateImage(d,null,t,h,A),d&&U.isImageReady(d)&&e.drawImage(d,r,i,a,o)}s&&l&&(p(e,"lineWidth",s),p(e,"strokeStyle",l),e.stroke())}function h(t,e){e.image=t}function f(t,e,n){var r=e.x||0,i=e.y||0,a=e.textAlign,o=e.textVerticalAlign;if(n){var A=e.textPosition;if(A instanceof Array)r=n.x+v(A[0],n.width),i=n.y+v(A[1],n.height);else{var s=E.adjustTextPositionOnRect(A,n,e.textDistance);r=s.x,i=s.y,a=a||s.textAlign,o=o||s.textVerticalAlign}var l=e.textOffset;l&&(r+=l[0],i+=l[1])}return{baseX:r,baseY:i,textAlign:a,textVerticalAlign:o}}function p(t,e,n){return t[e]=n,t[e]}function m(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function g(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function v(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function _(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function y(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}var b=n(0),w=b.retrieve2,B=b.retrieve3,x=b.each,C=b.normalizeCssArray,k=b.isString,Q=b.isObject,E=n(5),F=n(21),U=n(10),O={left:1,right:1,center:1},S={top:1,bottom:1,middle:1};e.normalizeTextStyle=r,e.renderText=a,e.getStroke=m,e.getFill=g,e.needDrawText=y},function(t,e){function n(t,e){var n,r,i,a,o,A=e.x,s=e.y,l=e.width,c=e.height,u=e.r;l<0&&(A+=l,l=-l),c<0&&(s+=c,c=-c),"number"==typeof u?n=r=i=a=u:u instanceof Array?1===u.length?n=r=i=a=u[0]:2===u.length?(n=i=u[0],r=a=u[1]):3===u.length?(n=u[0],r=a=u[1],i=u[2]):(n=u[0],r=u[1],i=u[2],a=u[3]):n=r=i=a=0,n+r>l&&(o=n+r,n*=l/o,r*=l/o),i+a>l&&(o=i+a,i*=l/o,a*=l/o),r+i>c&&(o=r+i,r*=c/o,i*=c/o),n+a>c&&(o=n+a,n*=c/o,a*=c/o),t.moveTo(A+n,s),t.lineTo(A+l-r,s),0!==r&&t.quadraticCurveTo(A+l,s,A+l,s+r),t.lineTo(A+l,s+c-i),0!==i&&t.quadraticCurveTo(A+l,s+c,A+l-i,s+c),t.lineTo(A+a,s+c),0!==a&&t.quadraticCurveTo(A,s+c,A,s+c-a),t.lineTo(A,s+n),0!==n&&t.quadraticCurveTo(A,s,A+n,s)}e.buildPath=n},function(t,e){function n(t){return t%=r,t<0&&(t+=r),t}var r=2*Math.PI;e.normalizeRadian=n},function(t,e,n){function r(t,e,n){var r=e.points,o=e.smooth;if(r&&r.length>=2){if(o&&"spline"!==o){var A=a(r,o,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var s=r.length,l=0;l<(n?s:s-1);l++){var c=A[2*l],u=A[2*l+1],d=r[(l+1)%s];t.bezierCurveTo(c[0],c[1],u[0],u[1],d[0],d[1])}}else{"spline"===o&&(r=i(r,n)),t.moveTo(r[0][0],r[0][1]);l=1;for(var h=r.length;l<h;l++)t.lineTo(r[l][0],r[l][1])}n&&t.closePath()}}var i=n(66),a=n(67);e.buildPath=r},function(t,e){var n=function(t){this.colorStops=t||[]};n.prototype={constructor:n,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};var r=n;t.exports=r},function(t,e,n){t.exports=n(26)},function(t,e,n){function r(t){for(var e=t.getContext("2d"),n=e.getImageData(0,0,t.width,t.height),r=e.createImageData(n),i=0,a=0,o=0;o<n.data.length;o+=4){var A=n.data[o+3];if(A>128){var s=n.data[o]+n.data[o+1]+n.data[o+2];i+=s,++a}}var l=i/a;for(o=0;o<n.data.length;o+=4){s=n.data[o]+n.data[o+1]+n.data[o+2],A=n.data[o+3];A<128||s>l?(r.data[o]=0,r.data[o+1]=0,r.data[o+2]=0,r.data[o+3]=0):(r.data[o]=255,r.data[o+1]=255,r.data[o+2]=255,r.data[o+3]=255)}e.putImageData(r,0,0)}var i=n(7),a=n(27);n(28),n(77);var o=n(78);if(!o.isSupported)throw new Error("Sorry your browser not support wordCloud");i.registerLayout((function(t,e){t.eachSeriesByType("wordCloud",(function(n){function A(t){var e=t.detail.item;t.detail.drawn&&n.layoutInstance.ondraw&&(t.detail.drawn.gx+=s.x/g,t.detail.drawn.gy+=s.y/g,n.layoutInstance.ondraw(e[0],e[1],e[2],t.detail.drawn))}var s=a.getLayoutRect(n.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),l=n.getData(),c=document.createElement("canvas");c.width=s.width,c.height=s.height;var u=c.getContext("2d"),d=n.get("maskImage");if(d)try{u.drawImage(d,0,0,c.width,c.height),r(c)}catch(t){console.error("Invalid mask image"),console.error(t.toString())}var h=n.get("sizeRange"),f=n.get("rotationRange"),p=l.getDataExtent("value"),m=Math.PI/180,g=n.get("gridSize");o(c,{list:l.mapArray("value",(function(t,e){var n=l.getItemModel(e);return[l.getName(e),n.get("textStyle.normal.textSize",!0)||i.number.linearMap(t,p,h),e]})).sort((function(t,e){return e[1]-t[1]})),fontFamily:n.get("textStyle.normal.fontFamily")||n.get("textStyle.emphasis.fontFamily")||t.get("textStyle.fontFamily"),fontWeight:n.get("textStyle.normal.fontWeight")||n.get("textStyle.emphasis.fontWeight")||t.get("textStyle.fontWeight"),gridSize:g,ellipticity:s.height/s.width,minRotation:f[0]*m,maxRotation:f[1]*m,clearCanvas:!d,rotateRatio:1,rotationStep:n.get("rotationStep")*m,drawOutOfBound:n.get("drawOutOfBound"),shuffle:!1,shape:n.get("shape")}),c.addEventListener("wordclouddrawn",A),n.layoutInstance&&n.layoutInstance.dispose(),n.layoutInstance={ondraw:null,dispose:function(){c.removeEventListener("wordclouddrawn",A),c.addEventListener("wordclouddrawn",(function(t){t.preventDefault()}))}}}))})),i.registerPreprocessor((function(t){function e(t){t&&i.util.each(r,(function(e){t.hasOwnProperty(e)&&(t["text"+i.format.capitalFirst(e)]=t[e])}))}var n=(t||{}).series;!i.util.isArray(n)&&(n=n?[n]:[]);var r=["shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];i.util.each(n,(function(t){if(t&&"wordCloud"===t.type){var n=t.textStyle||{};e(n.normal),e(n.emphasis)}}))}))},function(t,e,n){function r(t,e,n,r,i){var a=0,o=0;null==r&&(r=1/0),null==i&&(i=1/0);var A=0;e.eachChild((function(s,l){var c,u,d=s.position,h=s.getBoundingRect(),f=e.childAt(l+1),p=f&&f.getBoundingRect();if("horizontal"===t){var m=h.width+(p?-p.x+h.x:0);c=a+m,c>r||s.newline?(a=0,c=m,o+=A+n,A=h.height):A=Math.max(A,h.height)}else{var g=h.height+(p?-p.y+h.y:0);u=o+g,u>i||s.newline?(a+=A+n,o=0,u=g,A=h.width):A=Math.max(A,h.width)}s.newline||(d[0]=a,d[1]=o,"horizontal"===t?a=c+n:o=u+n)}))}function i(t,e,n){var r=e.width,i=e.height,a=f(t.x,r),o=f(t.y,i),A=f(t.x2,r),s=f(t.y2,i);return(isNaN(a)||isNaN(parseFloat(t.x)))&&(a=0),(isNaN(A)||isNaN(parseFloat(t.x2)))&&(A=r),(isNaN(o)||isNaN(parseFloat(t.y)))&&(o=0),(isNaN(s)||isNaN(parseFloat(t.y2)))&&(s=i),n=p.normalizeCssArray(n||0),{width:Math.max(A-a-n[1]-n[3],0),height:Math.max(s-o-n[0]-n[2],0)}}function a(t,e,n){n=p.normalizeCssArray(n||0);var r=e.width,i=e.height,a=f(t.left,r),o=f(t.top,i),A=f(t.right,r),s=f(t.bottom,i),l=f(t.width,r),c=f(t.height,i),u=n[2]+n[0],h=n[1]+n[3],m=t.aspect;switch(isNaN(l)&&(l=r-A-h-a),isNaN(c)&&(c=i-s-u-o),null!=m&&(isNaN(l)&&isNaN(c)&&(m>r/i?l=.8*r:c=.8*i),isNaN(l)&&(l=m*c),isNaN(c)&&(c=l/m)),isNaN(a)&&(a=r-A-l-h),isNaN(o)&&(o=i-s-c-u),t.left||t.right){case"center":a=r/2-l/2-n[3];break;case"right":a=r-l-h}switch(t.top||t.bottom){case"middle":case"center":o=i/2-c/2-n[0];break;case"bottom":o=i-c-u}a=a||0,o=o||0,isNaN(l)&&(l=r-h-a-(A||0)),isNaN(c)&&(c=i-u-o-(s||0));var g=new d(a+n[3],o+n[0],l,c);return g.margin=n,g}function o(t,e,n,r,i){var o=!i||!i.hv||i.hv[0],A=!i||!i.hv||i.hv[1],s=i&&i.boundingMode||"all";if(o||A){var l;if("raw"===s)l="group"===t.type?new d(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(l=t.getBoundingRect(),t.needLocalTransform()){var c=t.getLocalTransform();l=l.clone(),l.applyTransform(c)}e=a(u.defaults({width:l.width,height:l.height},e),n,r);var h=t.position,f=o?e.x-l.x:0,p=A?e.y-l.y:0;t.attr("position","raw"===s?[f,p]:[h[0]+f,h[1]+p])}}function A(t,e){return null!=t[v[e][0]]||null!=t[v[e][1]]&&null!=t[v[e][2]]}function s(t,e,n){function r(n,r){var o={},s=0,l={},c=0;if(m(n,(function(e){l[e]=t[e]})),m(n,(function(t){i(e,t)&&(o[t]=l[t]=e[t]),a(o,t)&&s++,a(l,t)&&c++})),A[r])return a(e,n[1])?l[n[2]]=null:a(e,n[2])&&(l[n[1]]=null),l;if(2!==c&&s){if(s>=2)return o;for(var u=0;u<n.length;u++){var d=n[u];if(!i(o,d)&&i(t,d)){o[d]=t[d];break}}return o}return l}function i(t,e){return t.hasOwnProperty(e)}function a(t,e){return null!=t[e]&&"auto"!==t[e]}function o(t,e,n){m(t,(function(t){e[t]=n[t]}))}!u.isObject(n)&&(n={});var A=n.ignoreSize;!u.isArray(A)&&(A=[A,A]);var s=r(v[0],0),l=r(v[1],1);o(v[0],t,s),o(v[1],t,l)}function l(t){return c({},t)}function c(t,e){return e&&t&&m(g,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}var u=n(0),d=n(3),h=n(9),f=h.parsePercent,p=n(13),m=u.each,g=["left","right","top","bottom","width","height"],v=[["width","left","right"],["height","top","bottom"]],_=r,y=u.curry(r,"vertical"),b=u.curry(r,"horizontal");e.LOCATION_PARAMS=g,e.HV_NAMES=v,e.box=_,e.vbox=y,e.hbox=b,e.getAvailableSize=i,e.getLayoutRect=a,e.positionElement=o,e.sizeCalculable=A,e.mergeLayoutParam=s,e.getLayoutParams=l,e.copyLayoutParams=c},function(t,e,n){var r=n(29),i=n(7);i.extendSeriesModel({type:"series.wordCloud",visualColorAccessPath:"textStyle.normal.color",optionUpdated:function(){var t=this.option;t.gridSize=Math.max(Math.floor(t.gridSize),4)},getInitialData:function(t,e){var n=r(["value"],t.data),a=new i.List(n,this);return a.initData(t.data),a},defaultOption:{maskImage:null,shape:"circle",left:"center",top:"center",width:"70%",height:"80%",sizeRange:[12,60],rotationRange:[-90,90],rotationStep:45,gridSize:8,drawOutOfBound:!1,textStyle:{normal:{fontWeight:"normal"}}}})},function(t,e,n){function r(t,e,n){function r(t,e,n){u[e]?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,m.set(e,!0))}function o(t,e,n){if(n||null!=e.get(t)){for(var r=0;null!=e.get(t+r);)r++;t+=r}return e.set(t,!0),t}e=e||[],n=n||{},t=(t||[]).slice();var h=(n.dimsDef||[]).slice(),f=a.createHashMap(n.encodeDef),p=a.createHashMap(),m=a.createHashMap(),g=[],v=n.dimCount;if(null==v){var _=i(e[0]);v=Math.max(a.isArray(_)&&_.length||1,t.length,h.length),s(t,(function(t){var e=t.dimsDef;e&&(v=Math.max(v,e.length))}))}for(var y=0;y<v;y++){var b=l(h[y])?{name:h[y]}:h[y]||{},w=b.name,B=g[y]={otherDims:{}};null!=w&&null==p.get(w)&&(B.name=B.tooltipName=w,p.set(w,y)),null!=b.type&&(B.type=b.type)}f.each((function(t,e){t=f.set(e,A(t).slice()),s(t,(function(n,i){l(n)&&(n=p.get(n)),null!=n&&n<v&&(t[i]=n,r(g[n],e,i))}))}));var x=0;s(t,(function(t,e){var n,i,o;l(t)?(n=t,t={}):(n=t.name,t=a.clone(t),i=t.dimsDef,o=t.otherDims,t.name=t.coordDim=t.coordDimIndex=t.dimsDef=t.otherDims=null);var u=A(f.get(n));if(!u.length)for(var d=0;d<(i&&i.length||1);d++){for(;x<g.length&&null!=g[x].coordDim;)x++;x<g.length&&u.push(x++)}s(u,(function(e,a){var A=g[e];r(c(A,t),n,a),null==A.name&&i&&(A.name=A.tooltipName=i[a]),o&&c(A.otherDims,o)}))}));for(var C=n.extraPrefix||"value",k=0;k<v;k++){B=g[k]=g[k]||{};null==B.coordDim&&(B.coordDim=o(C,m,n.extraFromZero),B.coordDimIndex=0,B.isExtraCoord=!0),null==B.name&&(B.name=o(B.coordDim,p)),null==B.type&&d(e,k)&&(B.type="ordinal")}return g}function i(t){return a.isArray(t)?t:a.isObject(t)?t.value:t}var a=n(0),o=n(30),A=o.normalizeToArray,s=a.each,l=a.isString,c=a.defaults,u={tooltip:1,label:1,itemName:1},d=r.guessOrdinal=function(t,e){for(var n=0,r=t.length;n<r;n++){var o=i(t[n]);if(!a.isArray(o))return!1;o=o[e];if(null!=o&&isFinite(o)&&""!==o)return!1;if(l(o)&&"-"!==o)return!0}return!1},h=r;t.exports=h},function(t,e,n){function r(t){return t instanceof Array?t:null==t?[]:[t]}function i(t,e){if(t)for(var n=t.emphasis=t.emphasis||{},r=t.normal=t.normal||{},i=0,a=e.length;i<a;i++){var o=e[i];!n.hasOwnProperty(o)&&r.hasOwnProperty(o)&&(n[o]=r[o])}}function a(t){return t&&(null==t.value?t:t.value)}function o(t){return x(t)&&!(t instanceof Array)}function A(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"===n&&"number"!=typeof t&&null!=t&&"-"!==t&&(t=+b.parseDate(t)),null==t||""===t?NaN:+t)}function s(t,e){var n=new w;return _.mixin(n,k),n.seriesIndex=e.seriesIndex,n.name=e.name||"",n.mainType=e.mainType,n.subType=e.subType,n.getData=function(){return t},n}function l(t,e){e=(e||[]).slice();var n=_.map(t||[],(function(t,e){return{exist:t}}));return B(e,(function(t,r){if(x(t)){for(var i=0;i<n.length;i++)if(!n[i].option&&null!=t.id&&n[i].exist.id===t.id+"")return n[i].option=t,void(e[r]=null);for(i=0;i<n.length;i++){var a=n[i].exist;if(!(n[i].option||null!=a.id&&null!=t.id||null==t.name||u(t)||u(a)||a.name!==t.name+""))return n[i].option=t,void(e[r]=null)}}})),B(e,(function(t,e){if(x(t)){for(var r=0;r<n.length;r++){var i=n[r].exist;if(!n[r].option&&!u(i)&&null==t.id){n[r].option=t;break}}r>=n.length&&n.push({option:t})}})),n}function c(t){var e=_.createHashMap();B(t,(function(t,n){var r=t.exist;r&&e.set(r.id,t)})),B(t,(function(t,n){var r=t.option;_.assert(!r||null==r.id||!e.get(r.id)||e.get(r.id)===t,"id duplicates: "+(r&&r.id)),r&&null!=r.id&&e.set(r.id,t),!t.keyInfo&&(t.keyInfo={})})),B(t,(function(t,n){var r=t.exist,i=t.option,a=t.keyInfo;if(x(i)){if(a.name=null!=i.name?i.name+"":r?r.name:"\0-",r)a.id=r.id;else if(null!=i.id)a.id=i.id+"";else{var o=0;do{a.id="\0"+a.name+"\0"+o++}while(e.get(a.id))}e.set(a.id,t)}}))}function u(t){return x(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}function d(t,e){function n(t,e,n){for(var i=0,a=t.length;i<a;i++)for(var o=t[i].seriesId,A=r(t[i].dataIndex),s=n&&n[o],l=0,c=A.length;l<c;l++){var u=A[l];s&&s[u]?s[u]=null:(e[o]||(e[o]={}))[u]=1}}function i(t,e){var n=[];for(var r in t)if(t.hasOwnProperty(r)&&null!=t[r])if(e)n.push(+r);else{var a=i(t[r],!0);a.length&&n.push({seriesId:r,dataIndex:a})}return n}var a={},o={};return n(t||[],a),n(e||[],o,a),[i(a),i(o)]}function h(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?_.isArray(e.dataIndex)?_.map(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?_.isArray(e.name)?_.map(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function f(t,e,n){if(_.isString(e)){var r={};r[e+"Index"]=0,e=r}var i=n&&n.defaultMainType;!i||v(e,i+"Index")||v(e,i+"Id")||v(e,i+"Name")||(e[i+"Index"]=0);var a={};return B(e,(function(r,i){r=e[i];if("dataIndex"!==i&&"dataIndexInside"!==i){var o=i.match(/^(\w+)(Index|Id|Name)$/)||[],A=o[1],s=(o[2]||"").toLowerCase();if(!(!A||!s||null==r||"index"===s&&"none"===r||n&&n.includeMainTypes&&_.indexOf(n.includeMainTypes,A)<0)){var l={mainType:A};"index"===s&&"all"===r||(l[s]=r);var c=t.queryComponents(l);a[A+"Models"]=c,a[A+"Model"]=c[0]}}else a[i]=r})),a}function p(t,e){var n=t.dimensions;e=t.getDimension(e);for(var r=0;r<n.length;r++){var i=t.getDimensionInfo(n[r]);if(i.name===e)return i.coordDim}}function m(t,e){var n=[];return B(t.dimensions,(function(r){var i=t.getDimensionInfo(r);i.coordDim===e&&(n[i.coordDimIndex]=i.name)})),n}function g(t,e){var n=[];return B(t.dimensions,(function(r){var i=t.getDimensionInfo(r),a=i.otherDims,o=a[e];null!=o&&!1!==o&&(n[o]=i.name)})),n}function v(t,e){return t&&t.hasOwnProperty(e)}var _=n(0),y=n(13),b=n(9),w=n(31),B=_.each,x=_.isObject,C=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"],k={getDataParams:function(t,e){var n=this.getData(e),r=this.getRawValue(t,e),i=n.getRawIndex(t),a=n.getName(t,!0),o=n.getRawDataItem(t),A=n.getItemVisual(t,"color");return{componentType:this.mainType,componentSubType:this.subType,seriesType:"series"===this.mainType?this.subType:null,seriesIndex:this.seriesIndex,seriesId:this.id,seriesName:this.name,name:a,dataIndex:i,data:o,dataType:e,value:r,color:A,marker:y.getTooltipMarker(A),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,n,r,i){e=e||"normal";var a=this.getData(n),o=a.getItemModel(t),A=this.getDataParams(t,n);null!=r&&A.value instanceof Array&&(A.value=A.value[r]);var s=o.get([i||"label",e,"formatter"]);return"function"==typeof s?(A.status=e,s(A)):"string"==typeof s?y.formatTpl(s,A):void 0},getRawValue:function(t,e){var n=this.getData(e),r=n.getRawDataItem(t);if(null!=r)return!x(r)||r instanceof Array?r:r.value},formatTooltip:_.noop},Q=function(){var t=0;return function(){var e="\0__ec_prop_getter_"+t++;return function(t){return t[e]||(t[e]={})}}}();e.normalizeToArray=r,e.defaultEmphasis=i,e.TEXT_STYLE_OPTIONS=C,e.getDataItemValue=a,e.isDataItemOption=o,e.converDataValue=A,e.createDataFormatModel=s,e.dataFormatMixin=k,e.mappingToExists=l,e.makeIdAndName=c,e.isIdInner=u,e.compressBatches=d,e.queryDataIndex=h,e.makeGetter=Q,e.parseFinder=f,e.dataDimToCoordDim=p,e.coordDimToDataDim=m,e.otherDimToDataDim=g},function(t,e,n){function r(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}function i(t,e,n){for(var r=0;r<e.length&&(!e[r]||null!=(t=t&&"object"==o(t)?t[e[r]]:null));r++);return null==t&&n&&(t=n.get(e)),t}function a(t,e){var n=l.get(t,"getParent");return n?n.call(t,e):t.parentModel}var A=n(0),s=n(15),l=n(32),c=n(35),u=n(36),d=n(37),h=n(76),f=A.mixin;r.prototype={constructor:r,init:null,mergeOption:function(t){A.merge(this.option,t,!0)},get:function(t,e){return null==t?this.option:i(this.option,this.parsePath(t),!e&&a(this,t))},getShallow:function(t,e){var n=this.option,r=null==n?n:n[t],i=!e&&a(this,t);return null==r&&i&&(r=i.getShallow(t)),r},getModel:function(t,e){var n,o=null==t?this.option:i(this.option,t=this.parsePath(t));return e=e||(n=a(this,t))&&n.getModel(t),new r(o,e,this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){return new(0,this.constructor)(A.clone(this.option))},setReadOnly:function(t){l.setReadOnly(this,t)},parsePath:function(t){return"string"==typeof t&&(t=t.split(".")),t},customizeGetParent:function(t){l.set(this,"getParent",t)},isAnimationEnabled:function(){if(!s.node){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}},l.enableClassExtend(r),f(r,c),f(r,u),f(r,d),f(r,h);var p=r;t.exports=p},function(t,e,n){function r(t,e,n){return t[g+e]=n}function i(t,e){return t[g+e]}function a(t,e){return t.hasOwnProperty(g+e)}function o(t){var e={main:"",sub:""};return t&&(t=t.split(p),e.main=t[0]||"",e.sub=t[1]||""),e}function A(t){f.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function s(t,e){t.$constructor=t,t.extend=function(t){var e=this,n=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return f.extend(n.prototype,t),n.extend=this.extend,n.superCall=l,n.superApply=c,f.inherits(n,this),n.superClass=e,n}}function l(t,e){var n=f.slice(arguments,2);return this.superClass.prototype[e].apply(t,n)}function c(t,e,n){return this.superClass.prototype[e].apply(t,n)}function u(t,e){function n(t){var e=r[t.main];return e&&e[m]||(e=r[t.main]={},e[m]=!0),e}e=e||{};var r={};if(t.registerClass=function(t,e){if(e)if(A(e),e=o(e),e.sub){if(e.sub!==m){var i=n(e);i[e.sub]=t}}else r[e.main]=t;return t},t.getClass=function(t,e,n){var i=r[t];if(i&&i[m]&&(i=e?i[e]:null),n&&!i)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return i},t.getClassesByMainType=function(t){t=o(t);var e=[],n=r[t.main];return n&&n[m]?f.each(n,(function(t,n){n!==m&&e.push(t)})):e.push(n),e},t.hasClass=function(t){return t=o(t),!!r[t.main]},t.getAllClassMainTypes=function(){var t=[];return f.each(r,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){t=o(t);var e=r[t.main];return e&&e[m]},t.parseClassType=o,e.registerWhenExtend){var i=t.extend;i&&(t.extend=function(e){var n=i.call(this,e);return t.registerClass(n,e.type)})}return t}function d(t,e){}var h=n(33),f=(h.__DEV__,n(0)),p=".",m="___EC__COMPONENT__CONTAINER___",g="\0ec_\0";e.set=r,e.get=i,e.hasOwn=a,e.parseClassType=o,e.enableClassExtend=s,e.enableClassManagement=u,e.setReadOnly=d},function(t,e,n){(function(t){var n;"undefined"!=typeof window?n=window.__DEV__:void 0!==t&&(n=t.__DEV__),void 0===n&&(n=!0);var r=n;e.__DEV__=r}).call(e,n(34))},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==("undefined"===typeof window?"undefined":o(window))&&(n=window)}t.exports=n},function(t,e,n){var r=n(11),i=r([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),a={getLineStyle:function(t){var e=i(this,t),n=this.getLineDash(e.lineWidth);return n&&(e.lineDash=n),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),n=Math.max(t,2),r=4*t;return"solid"===e||null==e?null:"dashed"===e?[r,r]:[n,n]}};t.exports=a},function(t,e,n){var r=n(11),i=r([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a={getAreaStyle:function(t,e){return i(this,t,e)}};t.exports=a},function(t,e,n){var r=n(5),i=n(38),a=["textStyle","color"],o={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(a):null)},getFont:function(){return i.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return r.getBoundingRect(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("rich"),this.getShallow("truncateText"))}};t.exports=o},function(t,e,n){function r(t){return Y.extend(t)}function i(t,e){return z.extendFromString(t,e)}function a(t,e,n,r){var i=z.createFromString(t,e),a=i.getBoundingRect();return n&&("center"===r&&(n=A(n,a)),s(i,n)),i}function o(t,e,n){var r=new J({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var i={width:t.width,height:t.height};r.setStyle(A(e,i))}}});return r}function A(t,e){var n,r=e.width/e.height,i=t.height*r;return i<=t.width?n=t.height:(i=t.width,n=i/r),{x:t.x+t.width/2-i/2,y:t.y+t.height/2-n/2,width:i,height:n}}function s(t,e){if(t.applyTransform){var n=t.getBoundingRect(),r=n.calculateTransform(e);t.applyTransform(r)}}function l(t){var e=t.shape,n=t.style.lineWidth;return ft(2*e.x1)===ft(2*e.x2)&&(e.x1=e.x2=u(e.x1,n,!0)),ft(2*e.y1)===ft(2*e.y2)&&(e.y1=e.y2=u(e.y1,n,!0)),t}function c(t){var e=t.shape,n=t.style.lineWidth,r=e.x,i=e.y,a=e.width,o=e.height;return e.x=u(e.x,n,!0),e.y=u(e.y,n,!0),e.width=Math.max(u(r+a,n,!1)-e.x,0===a?0:1),e.height=Math.max(u(i+o,n,!1)-e.y,0===o?0:1),t}function u(t,e,n){var r=ft(2*t);return(r+ft(e))%2==0?r/2:(r+(n?1:-1))/2}function d(t){return null!=t&&"none"!=t}function h(t){return"string"==typeof t?G.lift(t,-.1):t}function f(t){if(t.__hoverStlDirty){var e=t.style.stroke,n=t.style.fill,r=t.__hoverStl;r.fill=r.fill||(d(n)?h(n):null),r.stroke=r.stroke||(d(e)?h(e):null);var i={};for(var a in r)null!=r[a]&&(i[a]=t.style[a]);t.__normalStl=i,t.__hoverStlDirty=!1}}function p(t){if(!t.__isHover){if(f(t),t.useHoverLayer)t.__zr&&t.__zr.addHover(t,t.__hoverStl);else{var e=t.style,n=e.insideRollbackOpt;n&&T(e),e.extendFrom(t.__hoverStl),n&&(S(e,e.insideOriginalTextPosition,n),null==e.textFill&&(e.textFill=n.autoColor)),t.dirty(!1),t.z2+=1}t.__isHover=!0}}function m(t){if(t.__isHover){var e=t.__normalStl;t.useHoverLayer?t.__zr&&t.__zr.removeHover(t):(e&&t.setStyle(e),t.z2-=1),t.__isHover=!1}}function g(t){"group"===t.type?t.traverse((function(t){"group"!==t.type&&p(t)})):p(t)}function v(t){"group"===t.type?t.traverse((function(t){"group"!==t.type&&m(t)})):m(t)}function _(t,e){t.__hoverStl=t.hoverStyle||e||{},t.__hoverStlDirty=!0,t.__isHover&&f(t)}function y(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasis&&g(this)}function b(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasis&&v(this)}function w(){this.__isEmphasis=!0,g(this)}function B(){this.__isEmphasis=!1,v(this)}function x(t,e,n){t.__hoverSilentOnTouch=n&&n.hoverSilentOnTouch,"group"===t.type?t.traverse((function(t){"group"!==t.type&&_(t,e)})):_(t,e),t.on("mouseover",y).on("mouseout",b),t.on("emphasis",w).on("normal",B)}function C(t,e,n,r,i,a,o){i=i||gt;var A=i.labelFetcher,s=i.labelDataIndex,l=i.labelDimIndex,c=n.getShallow("show"),u=r.getShallow("show"),d=c||u?V.retrieve2(A?A.getFormattedLabel(s,"normal",null,l):null,i.defaultText):null,h=c?d:null,f=u?V.retrieve2(A?A.getFormattedLabel(s,"emphasis",null,l):null,d):null;null==h&&null==f||(k(t,n,a,i),k(e,r,o,i,!0)),t.text=h,e.text=f}function k(t,e,n,r,i){return E(t,e,r,i),n&&V.extend(t,n),t.host&&t.host.dirty&&t.host.dirty(!1),t}function Q(t,e,n){var r,i={isRectText:!0};!1===n?r=!0:i.autoColor=n,E(t,e,i,r),t.host&&t.host.dirty&&t.host.dirty(!1)}function E(t,e,n,r){if(n=n||gt,n.isRectText){var i=e.getShallow("position")||(r?null:"inside");"outside"===i&&(i="top"),t.textPosition=i,t.textOffset=e.getShallow("offset");var a=e.getShallow("rotate");null!=a&&(a*=Math.PI/180),t.textRotation=a,t.textDistance=V.retrieve2(e.getShallow("distance"),r?null:5)}var o,A=e.ecModel,s=A&&A.option.textStyle,l=F(e);if(l)for(var c in o={},l)if(l.hasOwnProperty(c)){var u=e.getModel(["rich",c]);U(o[c]={},u,s,n,r)}return t.rich=o,U(t,e,s,n,r,!0),n.forceRich&&!n.textStyle&&(n.textStyle={}),t}function F(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||gt).rich;if(n)for(var r in e=e||{},n)n.hasOwnProperty(r)&&(e[r]=1);t=t.parentModel}return e}function U(t,e,n,r,i,a){if(n=!i&&n||gt,t.textFill=O(e.getShallow("color"),r)||n.color,t.textStroke=O(e.getShallow("textBorderColor"),r)||n.textBorderColor,t.textStrokeWidth=V.retrieve2(e.getShallow("textBorderWidth"),n.textBorderWidth),!i){if(a){var o=t.textPosition;t.insideRollback=S(t,o,r),t.insideOriginalTextPosition=o,t.insideRollbackOpt=r}null==t.textFill&&(t.textFill=r.autoColor)}t.fontStyle=e.getShallow("fontStyle")||n.fontStyle,t.fontWeight=e.getShallow("fontWeight")||n.fontWeight,t.fontSize=e.getShallow("fontSize")||n.fontSize,t.fontFamily=e.getShallow("fontFamily")||n.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),a&&r.disableBox||(t.textBackgroundColor=O(e.getShallow("backgroundColor"),r),t.textPadding=e.getShallow("padding"),t.textBorderColor=O(e.getShallow("borderColor"),r),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||n.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||n.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||n.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||n.textShadowOffsetY}function O(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function S(t,e,n){var r,i=n.useInsideStyle;return null==t.textFill&&!1!==i&&(!0===i||n.isRectText&&e&&"string"==typeof e&&e.indexOf("inside")>=0)&&(r={textFill:null,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth},t.textFill="#fff",null==t.textStroke&&(t.textStroke=n.autoColor,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),r}function T(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth)}function I(t,e){var n=e||e.getModel("textStyle");return[t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" ")}function D(t,e,n,r,i,a){if("function"==typeof i&&(a=i,i=null),r&&r.isAnimationEnabled()){var o=t?"Update":"",A=r.getShallow("animationDuration"+o),s=r.getShallow("animationEasing"+o),l=r.getShallow("animationDelay"+o);"function"==typeof l&&(l=l(i,r.getAnimationDelayParams?r.getAnimationDelayParams(e,i):null)),"function"==typeof A&&(A=A(i)),A>0?e.animateTo(n,A,l||0,s,a,!!a):(e.stopAnimation(),e.attr(n),a&&a())}else e.stopAnimation(),e.attr(n),a&&a()}function L(t,e,n,r,i){D(!0,t,e,n,r,i)}function P(t,e,n,r,i){D(!1,t,e,n,r,i)}function N(t,e){for(var n=W.identity([]);t&&t!==e;)W.mul(n,t.getLocalTransform(),n),t=t.parent;return n}function H(t,e,n){return e&&!V.isArrayLike(e)&&(e=X.getLocalTransform(e)),n&&(e=W.invert([],e)),$.applyTransform([],t,e)}function M(t,e,n){var r=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),i=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),a=["left"===t?-r:"right"===t?r:0,"top"===t?-i:"bottom"===t?i:0];return a=H(a,e,n),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function j(t,e,n,r){function i(t){var e={position:$.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=V.extend({},t.shape)),e}if(t&&e){var a=function(t){var e={};return t.traverse((function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)})),e}(t);e.traverse((function(t){if(!t.isGroup&&t.anid){var e=a[t.anid];if(e){var r=i(t);t.attr(i(e)),L(t,r,n,t.dataIndex)}}}))}}function R(t,e){return V.map(t,(function(t){var n=t[0];n=pt(n,e.x),n=mt(n,e.x+e.width);var r=t[1];return r=pt(r,e.y),r=mt(r,e.y+e.height),[n,r]}))}function K(t,e){var n=pt(t.x,e.x),r=mt(t.x+t.width,e.x+e.width),i=pt(t.y,e.y),a=mt(t.y+t.height,e.y+e.height);if(r>=n&&a>=i)return{x:n,y:i,width:r-n,height:a-i}}function q(t,e,n){e=V.extend({rectHover:!0},e);var r=e.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),V.defaults(r,n),new J(e)):a(t.replace("path://",""),e,n,"center")}var V=n(0),z=n(39),G=n(18),W=n(8),$=n(2),Y=n(1),X=n(17),J=n(58);e.Image=J;var Z=n(59);e.Group=Z;var tt=n(60);e.Text=tt;var et=n(61);e.Circle=et;var nt=n(62);e.Sector=nt;var rt=n(64);e.Ring=rt;var it=n(65);e.Polygon=it;var at=n(68);e.Polyline=at;var ot=n(69);e.Rect=ot;var At=n(70);e.Line=At;var st=n(71);e.BezierCurve=st;var lt=n(72);e.Arc=lt;var ct=n(73);e.CompoundPath=ct;var ut=n(74);e.LinearGradient=ut;var dt=n(75);e.RadialGradient=dt;var ht=n(3);e.BoundingRect=ht;var ft=Math.round,pt=Math.max,mt=Math.min,gt={},vt=z.mergePath;e.extendShape=r,e.extendPath=i,e.makePath=a,e.makeImage=o,e.mergePath=vt,e.resizePath=s,e.subPixelOptimizeLine=l,e.subPixelOptimizeRect=c,e.subPixelOptimize=u,e.setHoverStyle=x,e.setLabelStyle=C,e.setTextStyle=k,e.setText=Q,e.getFont=I,e.updateProps=L,e.initProps=P,e.getTransform=N,e.applyTransform=H,e.transformDirection=M,e.groupTransition=j,e.clipPointsByRect=R,e.clipRectByRect=K,e.createIcon=q},function(t,e,n){function r(t,e,n,r,i,a,o,A,s,l,c){var u=s*(m/180),d=p(u)*(t-n)/2+f(u)*(e-r)/2,g=-1*f(u)*(t-n)/2+p(u)*(e-r)/2,y=d*d/(o*o)+g*g/(A*A);y>1&&(o*=h(y),A*=h(y));var b=(i===a?-1:1)*h((o*o*(A*A)-o*o*(g*g)-A*A*(d*d))/(o*o*(g*g)+A*A*(d*d)))||0,w=b*o*g/A,B=b*-A*d/o,x=(t+n)/2+p(u)*w-f(u)*B,C=(e+r)/2+f(u)*w+p(u)*B,k=_([1,0],[(d-w)/o,(g-B)/A]),Q=[(d-w)/o,(g-B)/A],E=[(-1*d-w)/o,(-1*g-B)/A],F=_(Q,E);v(Q,E)<=-1&&(F=m),v(Q,E)>=1&&(F=0),0===a&&F>0&&(F-=2*m),1===a&&F<0&&(F+=2*m),c.addData(l,x,C,o,A,k,F,u,a)}function i(t){if(!t)return[];var e,n=t.replace(/-/g," -").replace(/ /g," ").replace(/ /g,",").replace(/,,/g,",");for(e=0;e<d.length;e++)n=n.replace(new RegExp(d[e],"g"),"|"+d[e]);var i,a=n.split("|"),o=0,A=0,s=new c,l=c.CMD;for(e=1;e<a.length;e++){var u,h=a[e],f=h.charAt(0),p=0,m=h.slice(1).replace(/e,-/g,"e-").split(",");m.length>0&&""===m[0]&&m.shift();for(var g=0;g<m.length;g++)m[g]=parseFloat(m[g]);for(;p<m.length&&!isNaN(m[p])&&!isNaN(m[0]);){var v,_,y,b,w,B,x,C=o,k=A;switch(f){case"l":o+=m[p++],A+=m[p++],u=l.L,s.addData(u,o,A);break;case"L":o=m[p++],A=m[p++],u=l.L,s.addData(u,o,A);break;case"m":o+=m[p++],A+=m[p++],u=l.M,s.addData(u,o,A),f="l";break;case"M":o=m[p++],A=m[p++],u=l.M,s.addData(u,o,A),f="L";break;case"h":o+=m[p++],u=l.L,s.addData(u,o,A);break;case"H":o=m[p++],u=l.L,s.addData(u,o,A);break;case"v":A+=m[p++],u=l.L,s.addData(u,o,A);break;case"V":A=m[p++],u=l.L,s.addData(u,o,A);break;case"C":u=l.C,s.addData(u,m[p++],m[p++],m[p++],m[p++],m[p++],m[p++]),o=m[p-2],A=m[p-1];break;case"c":u=l.C,s.addData(u,m[p++]+o,m[p++]+A,m[p++]+o,m[p++]+A,m[p++]+o,m[p++]+A),o+=m[p-2],A+=m[p-1];break;case"S":v=o,_=A;var Q=s.len(),E=s.data;i===l.C&&(v+=o-E[Q-4],_+=A-E[Q-3]),u=l.C,C=m[p++],k=m[p++],o=m[p++],A=m[p++],s.addData(u,v,_,C,k,o,A);break;case"s":v=o,_=A;Q=s.len(),E=s.data;i===l.C&&(v+=o-E[Q-4],_+=A-E[Q-3]),u=l.C,C=o+m[p++],k=A+m[p++],o+=m[p++],A+=m[p++],s.addData(u,v,_,C,k,o,A);break;case"Q":C=m[p++],k=m[p++],o=m[p++],A=m[p++],u=l.Q,s.addData(u,C,k,o,A);break;case"q":C=m[p++]+o,k=m[p++]+A,o+=m[p++],A+=m[p++],u=l.Q,s.addData(u,C,k,o,A);break;case"T":v=o,_=A;Q=s.len(),E=s.data;i===l.Q&&(v+=o-E[Q-4],_+=A-E[Q-3]),o=m[p++],A=m[p++],u=l.Q,s.addData(u,v,_,o,A);break;case"t":v=o,_=A;Q=s.len(),E=s.data;i===l.Q&&(v+=o-E[Q-4],_+=A-E[Q-3]),o+=m[p++],A+=m[p++],u=l.Q,s.addData(u,v,_,o,A);break;case"A":y=m[p++],b=m[p++],w=m[p++],B=m[p++],x=m[p++],C=o,k=A,o=m[p++],A=m[p++],u=l.A,r(C,k,o,A,B,x,y,b,w,u,s);break;case"a":y=m[p++],b=m[p++],w=m[p++],B=m[p++],x=m[p++],C=o,k=A,o+=m[p++],A+=m[p++],u=l.A,r(C,k,o,A,B,x,y,b,w,u,s)}}"z"!==f&&"Z"!==f||(u=l.Z,s.addData(u)),i=u}return s.toStatic(),s}function a(t,e){var n=i(t);return e=e||{},e.buildPath=function(t){if(t.setData){t.setData(n.data);var e=t.getContext();e&&t.rebuildPath(e)}else{e=t;n.rebuildPath(e)}},e.applyTransform=function(t){u(n,t),this.dirty(!0)},e}function o(t,e){return new l(a(t,e))}function A(t,e){return l.extend(a(t,e))}function s(t,e){for(var n=[],r=t.length,i=0;i<r;i++){var a=t[i];a.path||a.createPathProxy(),a.__dirtyPath&&a.buildPath(a.path,a.shape,!0),n.push(a.path)}var o=new l(e);return o.createPathProxy(),o.buildPath=function(t){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e)},o}var l=n(1),c=n(6),u=n(57),d=["m","M","l","L","v","V","h","H","z","Z","c","C","q","Q","t","T","s","S","a","A"],h=Math.sqrt,f=Math.sin,p=Math.cos,m=Math.PI,g=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},v=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(g(t)*g(e))},_=function(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(v(t,e))};e.createFromString=o,e.extendFromString=A,e.mergePath=s},function(t,e){function n(t,e,n){var r=null==e.x?0:e.x,i=null==e.x2?1:e.x2,a=null==e.y?0:e.y,o=null==e.y2?0:e.y2;return e.global||(r=r*n.width+n.x,i=i*n.width+n.x,a=a*n.height+n.y,o=o*n.height+n.y),t.createLinearGradient(r,a,i,o)}function r(t,e,n){var r=n.width,i=n.height,a=Math.min(r,i),o=null==e.x?.5:e.x,A=null==e.y?.5:e.y,s=null==e.r?.5:e.r;return e.global||(o=o*r+n.x,A=A*i+n.y,s*=a),t.createRadialGradient(o,A,0,o,A,s)}var i=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],a=function(t,e){this.extendFrom(t,!1),this.host=e};a.prototype={constructor:a,host:null,fill:"#000",stroke:null,opacity:1,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(t,e,n){for(var r=this,a=n&&n.style,o=!a,A=0;A<i.length;A++){var s=i[A],l=s[0];(o||r[l]!==a[l])&&(t[l]=r[l]||s[1])}if((o||r.fill!==a.fill)&&(t.fillStyle=r.fill),(o||r.stroke!==a.stroke)&&(t.strokeStyle=r.stroke),(o||r.opacity!==a.opacity)&&(t.globalAlpha=null==r.opacity?1:r.opacity),(o||r.blend!==a.blend)&&(t.globalCompositeOperation=r.blend||"source-over"),this.hasStroke()){var c=r.lineWidth;t.lineWidth=c/(this.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1)}},hasFill:function(){var t=this.fill;return null!=t&&"none"!==t},hasStroke:function(){var t=this.stroke;return null!=t&&"none"!==t&&this.lineWidth>0},extendFrom:function(t,e){if(t)for(var n in t)!t.hasOwnProperty(n)||!0!==e&&(!1===e?this.hasOwnProperty(n):null==t[n])||(this[n]=t[n])},set:function(t,e){"string"==typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,i){for(var a="radial"===e.type?r:n,o=a(t,e,i),A=e.colorStops,s=0;s<A.length;s++)o.addColorStop(A[s].offset,A[s].color);return o}};for(var o=a.prototype,A=0;A<i.length;A++){var s=i[A];s[0]in o||(o[s[0]]=s[1])}a.getGradient=o.getGradient;var l=a;t.exports=l},function(t,e){function n(){return r++}var r=2311;t.exports=n},function(t,e){var n=Array.prototype.slice,r=function(){this._$handlers={}};r.prototype={constructor:r,one:function(t,e,n){var r=this._$handlers;if(!e||!t)return this;r[t]||(r[t]=[]);for(var i=0;i<r[t].length;i++)if(r[t][i].h===e)return this;return r[t].push({h:e,one:!0,ctx:n||this}),this},on:function(t,e,n){var r=this._$handlers;if(!e||!t)return this;r[t]||(r[t]=[]);for(var i=0;i<r[t].length;i++)if(r[t][i].h===e)return this;return r[t].push({h:e,one:!1,ctx:n||this}),this},isSilent:function(t){var e=this._$handlers;return e[t]&&e[t].length},off:function(t,e){var n=this._$handlers;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var r=[],i=0,a=n[t].length;i<a;i++)n[t][i].h!=e&&r.push(n[t][i]);n[t]=r}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},trigger:function(t){if(this._$handlers[t]){var e=arguments,r=e.length;r>3&&(e=n.call(e,1));for(var i=this._$handlers[t],a=i.length,o=0;o<a;){switch(r){case 1:i[o].h.call(i[o].ctx);break;case 2:i[o].h.call(i[o].ctx,e[1]);break;case 3:i[o].h.call(i[o].ctx,e[1],e[2]);break;default:i[o].h.apply(i[o].ctx,e)}i[o].one?(i.splice(o,1),a--):o++}}return this},triggerWithContext:function(t){if(this._$handlers[t]){var e=arguments,r=e.length;r>4&&(e=n.call(e,1,e.length-1));for(var i=e[e.length-1],a=this._$handlers[t],o=a.length,A=0;A<o;){switch(r){case 1:a[A].h.call(i);break;case 2:a[A].h.call(i,e[1]);break;case 3:a[A].h.call(i,e[1],e[2]);break;default:a[A].h.apply(i,e)}a[A].one?(a.splice(A,1),o--):A++}}return this}};var i=r;t.exports=i},function(t,e,n){var r=n(44),i=n(47),a=n(0),o=a.isString,A=a.isFunction,s=a.isObject,l=a.isArrayLike,c=a.indexOf,u=function(){this.animators=[]};u.prototype={constructor:u,animate:function(t,e){var n,a=!1,o=this,A=this.__zr;if(t){var s=t.split("."),l=o;a="shape"===s[0];for(var u=0,d=s.length;u<d;u++)l&&(l=l[s[u]]);l&&(n=l)}else n=o;if(n){var h=o.animators,f=new r(n,e);return f.during((function(t){o.dirty(a)})).done((function(){h.splice(c(h,f),1)})),h.push(f),A&&A.animation.addAnimator(f),f}i('Property "'+t+'" is not existed in element '+o.id)},stopAnimation:function(t){for(var e=this.animators,n=e.length,r=0;r<n;r++)e[r].stop(t);return e.length=0,this},animateTo:function(t,e,n,r,i,a){function s(){--c||i&&i()}o(n)?(i=r,r=n,n=0):A(r)?(i=r,r="linear",n=0):A(n)?(i=n,n=0):A(e)?(i=e,e=500):e||(e=500),this.stopAnimation(),this._animateToShallow("",this,t,e,n);var l=this.animators.slice(),c=l.length;c||i&&i();for(var u=0;u<l.length;u++)l[u].done(s).start(r,a)},_animateToShallow:function(t,e,n,r,i){var a={},o=0;for(var A in n)if(n.hasOwnProperty(A))if(null!=e[A])s(n[A])&&!l(n[A])?this._animateToShallow(t?t+"."+A:A,e[A],n[A],r,i):(a[A]=n[A],o++);else if(null!=n[A])if(t){var c={};c[t]={},c[t][A]=n[A],this.attr(c)}else this.attr(A,n[A]);return o>0&&this.animate(t,!1).when(null==r?500:r,a).delay(i||0),this}};var d=u;t.exports=d},function(t,e,n){function r(t,e){return t[e]}function i(t,e,n){t[e]=n}function a(t,e,n){return(e-t)*n+t}function o(t,e,n){return n>.5?e:t}function A(t,e,n,r,i){var o=t.length;if(1==i)for(var A=0;A<o;A++)r[A]=a(t[A],e[A],n);else{var s=o&&t[0].length;for(A=0;A<o;A++)for(var l=0;l<s;l++)r[A][l]=a(t[A][l],e[A][l],n)}}function s(t,e,n){var r=t.length,i=e.length;if(r!==i)if(r>i)t.length=i;else for(var a=r;a<i;a++)t.push(1===n?e[a]:y.call(e[a]));var o=t[0]&&t[0].length;for(a=0;a<t.length;a++)if(1===n)isNaN(t[a])&&(t[a]=e[a]);else for(var A=0;A<o;A++)isNaN(t[a][A])&&(t[a][A]=e[a][A])}function l(t,e,n){if(t===e)return!0;var r=t.length;if(r!==e.length)return!1;if(1===n){for(var i=0;i<r;i++)if(t[i]!==e[i])return!1}else{var a=t[0].length;for(i=0;i<r;i++)for(var o=0;o<a;o++)if(t[i][o]!==e[i][o])return!1}return!0}function c(t,e,n,r,i,a,o,A,s){var l=t.length;if(1==s)for(var c=0;c<l;c++)A[c]=u(t[c],e[c],n[c],r[c],i,a,o);else{var d=t[0].length;for(c=0;c<l;c++)for(var h=0;h<d;h++)A[c][h]=u(t[c][h],e[c][h],n[c][h],r[c][h],i,a,o)}}function u(t,e,n,r,i,a,o){var A=.5*(n-t),s=.5*(r-e);return(2*(e-n)+A+s)*o+(-3*(e-n)-2*A-s)*a+A*i+e}function d(t){if(_(t)){var e=t.length;if(_(t[0])){for(var n=[],r=0;r<e;r++)n.push(y.call(t[r]));return n}return y.call(t)}return t}function h(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function f(t){var e=t[t.length-1].value;return _(e&&e[0])?2:1}function p(t,e,n,r,i,d){var p=t._getter,v=t._setter,y="spline"===e,b=r.length;if(b){var w,B=r[0].value,x=_(B),C=!1,k=!1,Q=x?f(r):0;r.sort((function(t,e){return t.time-e.time})),w=r[b-1].time;for(var E=[],F=[],U=r[0].value,O=!0,S=0;S<b;S++){E.push(r[S].time/w);var T=r[S].value;if(x&&l(T,U,Q)||!x&&T===U||(O=!1),U=T,"string"==typeof T){var I=g.parse(T);I?(T=I,C=!0):k=!0}F.push(T)}if(d||!O){var D=F[b-1];for(S=0;S<b-1;S++)x?s(F[S],D,Q):!isNaN(F[S])||isNaN(D)||k||C||(F[S]=D);x&&s(p(t._target,i),D,Q);var L,P,N,H,M,j,R=0,K=0;if(C)var q=[0,0,0,0];var V=function(t,e){var n;if(e<0)n=0;else if(e<K){for(L=Math.min(R+1,b-1),n=L;n>=0&&!(E[n]<=e);n--);n=Math.min(n,b-2)}else{for(n=R;n<b&&!(E[n]>e);n++);n=Math.min(n-1,b-2)}R=n,K=e;var r=E[n+1]-E[n];if(0!==r)if(P=(e-E[n])/r,y)if(H=F[n],N=F[0===n?n:n-1],M=F[n>b-2?b-1:n+1],j=F[n>b-3?b-1:n+2],x)c(N,H,M,j,P,P*P,P*P*P,p(t,i),Q);else{if(C)s=c(N,H,M,j,P,P*P,P*P*P,q,1),s=h(q);else{if(k)return o(H,M,P);s=u(N,H,M,j,P,P*P,P*P*P)}v(t,i,s)}else if(x)A(F[n],F[n+1],P,p(t,i),Q);else{var s;if(C)A(F[n],F[n+1],P,q,1),s=h(q);else{if(k)return o(F[n],F[n+1],P);s=a(F[n],F[n+1],P)}v(t,i,s)}},z=new m({target:t._target,life:w,loop:t._loop,delay:t._delay,onframe:V,ondestroy:n});return e&&"spline"!==e&&(z.easing=e),z}}}var m=n(45),g=n(18),v=n(0),_=v.isArrayLike,y=Array.prototype.slice,b=function(t,e,n,a){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||r,this._setter=a||i,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};b.prototype={when:function(t,e){var n=this._tracks;for(var r in e)if(e.hasOwnProperty(r)){if(!n[r]){n[r]=[];var i=this._getter(this._target,r);if(null==i)continue;0!==t&&n[r].push({time:0,value:d(i)})}n[r].push({time:t,value:e[r]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].pause();this._paused=!0},resume:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var t=this._doneList,e=t.length,n=0;n<e;n++)t[n].call(this)},start:function(t,e){var n,r=this,i=0,a=function(){--i||r._doneCallback()};for(var o in this._tracks)if(this._tracks.hasOwnProperty(o)){var A=p(this,t,a,this._tracks[o],o,e);A&&(this._clipList.push(A),i++,this.animation&&this.animation.addClip(A),n=A)}if(n){var s=n.onframe;n.onframe=function(t,e){s(t,e);for(var n=0;n<r._onframeList.length;n++)r._onframeList[n](t,e)}}return i||this._doneCallback(),this},stop:function(t){for(var e=this._clipList,n=this.animation,r=0;r<e.length;r++){var i=e[r];t&&i.onframe(this._target,1),n&&n.removeClip(i)}e.length=0},delay:function(t){return this._delay=t,this},done:function(t){return t&&this._doneList.push(t),this},getClips:function(){return this._clipList}};var w=b;t.exports=w},function(t,e,n){function r(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart,this._pausedTime=0,this._paused=!1}var i=n(46);r.prototype={constructor:r,step:function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)this._pausedTime+=e;else{var n=(t-this._startTime-this._pausedTime)/this._life;if(!(n<0)){n=Math.min(n,1);var r=this.easing,a="string"==typeof r?i[r]:r,o="function"==typeof a?a(n):n;return this.fire("frame",o),1==n?this.loop?(this.restart(t),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,e){t="on"+t,this[t]&&this[t](this._target,e)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var a=r;t.exports=a},function(t,e){var n={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-n.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*n.bounceIn(2*t):.5*n.bounceOut(2*t-1)+.5}},r=n;t.exports=r},function(t,e,n){var r=n(19),i=r.debugMode,a=function(){};1===i?a=function(){for(var t in arguments)throw new Error(arguments[t])}:i>1&&(a=function(){for(var t in arguments)console.log(arguments[t])});var o=a;t.exports=o},function(t,e,n){var r=n(20),i=n(3),a=new i,o=function(){};o.prototype={constructor:o,drawRectText:function(t,e){var n=this.style;e=n.textRect||e,this.__dirty&&r.normalizeTextStyle(n,!0);var i=n.text;if(null!=i&&(i+=""),r.needDrawText(i,n)){t.save();var o=this.transform;n.transformText?this.setTransform(t):o&&(a.copy(e),a.applyTransform(o),e=a),r.renderText(this,t,i,n,e),t.restore()}}};var A=o;t.exports=A},function(t,e,n){function r(t,e,n){if(0!==t.length){var r,i=t[0],a=i[0],o=i[0],A=i[1],s=i[1];for(r=1;r<t.length;r++)i=t[r],a=c(a,i[0]),o=u(o,i[0]),A=c(A,i[1]),s=u(s,i[1]);e[0]=a,e[1]=A,n[0]=o,n[1]=s}}function i(t,e,n,r,i,a){i[0]=c(t,n),i[1]=c(e,r),a[0]=u(t,n),a[1]=u(e,r)}function a(t,e,n,r,i,a,o,A,s,d){var h,f=l.cubicExtrema,p=l.cubicAt,m=f(t,n,i,o,v);for(s[0]=1/0,s[1]=1/0,d[0]=-1/0,d[1]=-1/0,h=0;h<m;h++){var g=p(t,n,i,o,v[h]);s[0]=c(g,s[0]),d[0]=u(g,d[0])}for(m=f(e,r,a,A,_),h=0;h<m;h++){var y=p(e,r,a,A,_[h]);s[1]=c(y,s[1]),d[1]=u(y,d[1])}s[0]=c(t,s[0]),d[0]=u(t,d[0]),s[0]=c(o,s[0]),d[0]=u(o,d[0]),s[1]=c(e,s[1]),d[1]=u(e,d[1]),s[1]=c(A,s[1]),d[1]=u(A,d[1])}function o(t,e,n,r,i,a,o,A){var s=l.quadraticExtremum,d=l.quadraticAt,h=u(c(s(t,n,i),1),0),f=u(c(s(e,r,a),1),0),p=d(t,n,i,h),m=d(e,r,a,f);o[0]=c(t,i,p),o[1]=c(e,a,m),A[0]=u(t,i,p),A[1]=u(e,a,m)}function A(t,e,n,r,i,a,o,A,l){var c=s.min,u=s.max,v=Math.abs(i-a);if(v%f<1e-4&&v>1e-4)return A[0]=t-n,A[1]=e-r,l[0]=t+n,void(l[1]=e+r);if(p[0]=h(i)*n+t,p[1]=d(i)*r+e,m[0]=h(a)*n+t,m[1]=d(a)*r+e,c(A,p,m),u(l,p,m),i%=f,i<0&&(i+=f),a%=f,a<0&&(a+=f),i>a&&!o?a+=f:i<a&&o&&(i+=f),o){var _=a;a=i,i=_}for(var y=0;y<a;y+=Math.PI/2)y>i&&(g[0]=h(y)*n+t,g[1]=d(y)*r+e,c(A,g,A),u(l,g,l))}var s=n(2),l=n(4),c=Math.min,u=Math.max,d=Math.sin,h=Math.cos,f=2*Math.PI,p=s.create(),m=s.create(),g=s.create(),v=[],_=[];e.fromPoints=r,e.fromLine=i,e.fromCubic=a,e.fromQuadratic=o,e.fromArc=A},function(t,e,n){function r(t,e){return Math.abs(t-e)<w}function i(){var t=x[0];x[0]=x[1],x[1]=t}function a(t,e,n,r,a,o,A,s,l,c){if(c>e&&c>r&&c>o&&c>s||c<e&&c<r&&c<o&&c<s)return 0;var u=v.cubicRootAt(e,r,o,s,c,B);if(0===u)return 0;for(var d,h,f=0,p=-1,m=0;m<u;m++){var g=B[m],_=0===g||1===g?.5:1;v.cubicAt(t,n,a,A,g)<l||(p<0&&(p=v.cubicExtrema(e,r,o,s,x),x[1]<x[0]&&p>1&&i(),d=v.cubicAt(e,r,o,s,x[0]),p>1&&(h=v.cubicAt(e,r,o,s,x[1]))),2==p?g<x[0]?f+=d<e?_:-_:g<x[1]?f+=h<d?_:-_:f+=s<h?_:-_:g<x[0]?f+=d<e?_:-_:f+=s<d?_:-_)}return f}function o(t,e,n,r,i,a,o,A){if(A>e&&A>r&&A>a||A<e&&A<r&&A<a)return 0;var s=v.quadraticRootAt(e,r,a,A,B);if(0===s)return 0;var l=v.quadraticExtremum(e,r,a);if(l>=0&&l<=1){for(var c=0,u=v.quadraticAt(e,r,a,l),d=0;d<s;d++){var h=0===B[d]||1===B[d]?.5:1,f=v.quadraticAt(t,n,i,B[d]);f<o||(B[d]<l?c+=u<e?h:-h:c+=a<u?h:-h)}return c}h=0===B[0]||1===B[0]?.5:1,f=v.quadraticAt(t,n,i,B[0]);return f<o?0:a<e?h:-h}function A(t,e,n,r,i,a,o,A){if((A-=e)>n||A<-n)return 0;var s=Math.sqrt(n*n-A*A);B[0]=-s,B[1]=s;var l=Math.abs(r-i);if(l<1e-4)return 0;if(l%b<1e-4){r=0,i=b;var c=a?1:-1;return o>=B[0]+t&&o<=B[1]+t?c:0}if(a){s=r;r=g(i),i=g(s)}else r=g(r),i=g(i);r>i&&(i+=b);for(var u=0,d=0;d<2;d++){var h=B[d];if(h+t>o){var f=Math.atan2(A,h);c=a?1:-1;f<0&&(f=b+f),(f>=r&&f<=i||f+b>=r&&f+b<=i)&&(f>Math.PI/2&&f<1.5*Math.PI&&(c=-c),u+=c)}}return u}function s(t,e,n,i,s){for(var l=0,c=0,u=0,m=0,g=0,v=0;v<t.length;){var b=t[v++];switch(b===y.M&&v>1&&(n||(l+=_(c,u,m,g,i,s))),1==v&&(c=t[v],u=t[v+1],m=c,g=u),b){case y.M:m=t[v++],g=t[v++],c=m,u=g;break;case y.L:if(n){if(d.containStroke(c,u,t[v],t[v+1],e,i,s))return!0}else l+=_(c,u,t[v],t[v+1],i,s)||0;c=t[v++],u=t[v++];break;case y.C:if(n){if(h.containStroke(c,u,t[v++],t[v++],t[v++],t[v++],t[v],t[v+1],e,i,s))return!0}else l+=a(c,u,t[v++],t[v++],t[v++],t[v++],t[v],t[v+1],i,s)||0;c=t[v++],u=t[v++];break;case y.Q:if(n){if(f.containStroke(c,u,t[v++],t[v++],t[v],t[v+1],e,i,s))return!0}else l+=o(c,u,t[v++],t[v++],t[v],t[v+1],i,s)||0;c=t[v++],u=t[v++];break;case y.A:var w=t[v++],B=t[v++],x=t[v++],C=t[v++],k=t[v++],Q=t[v++],E=(t[v++],1-t[v++]),F=Math.cos(k)*x+w,U=Math.sin(k)*C+B;v>1?l+=_(c,u,F,U,i,s):(m=F,g=U);var O=(i-w)*C/x+w;if(n){if(p.containStroke(w,B,C,k,k+Q,E,e,O,s))return!0}else l+=A(w,B,C,k,k+Q,E,O,s);c=Math.cos(k+Q)*x+w,u=Math.sin(k+Q)*C+B;break;case y.R:m=c=t[v++],g=u=t[v++];var S=t[v++],T=t[v++];F=m+S,U=g+T;if(n){if(d.containStroke(m,g,F,g,e,i,s)||d.containStroke(F,g,F,U,e,i,s)||d.containStroke(F,U,m,U,e,i,s)||d.containStroke(m,U,m,g,e,i,s))return!0}else l+=_(F,g,F,U,i,s),l+=_(m,U,m,g,i,s);break;case y.Z:if(n){if(d.containStroke(c,u,m,g,e,i,s))return!0}else l+=_(c,u,m,g,i,s);c=m,u=g}}return n||r(u,g)||(l+=_(c,u,m,g,i,s)||0),0!==l}function l(t,e,n){return s(t,0,!1,e,n)}function c(t,e,n,r){return s(t,e,!0,n,r)}var u=n(6),d=n(51),h=n(52),f=n(53),p=n(54),m=n(22),g=m.normalizeRadian,v=n(4),_=n(55),y=u.CMD,b=2*Math.PI,w=1e-4,B=[-1,-1,-1],x=[-1,-1];e.contain=l,e.containStroke=c},function(t,e){function n(t,e,n,r,i,a,o){if(0===i)return!1;var A=i,s=0,l=t;if(o>e+A&&o>r+A||o<e-A&&o<r-A||a>t+A&&a>n+A||a<t-A&&a<n-A)return!1;if(t===n)return Math.abs(a-t)<=A/2;s=(e-r)/(t-n),l=(t*r-n*e)/(t-n);var c=s*a-o+l;return c*c/(s*s+1)<=A/2*A/2}e.containStroke=n},function(t,e,n){function r(t,e,n,r,a,o,A,s,l,c,u){if(0===l)return!1;var d=l;return!(u>e+d&&u>r+d&&u>o+d&&u>s+d||u<e-d&&u<r-d&&u<o-d&&u<s-d||c>t+d&&c>n+d&&c>a+d&&c>A+d||c<t-d&&c<n-d&&c<a-d&&c<A-d)&&i.cubicProjectPoint(t,e,n,r,a,o,A,s,c,u,null)<=d/2}var i=n(4);e.containStroke=r},function(t,e,n){function r(t,e,n,r,i,o,A,s,l){if(0===A)return!1;var c=A;return!(l>e+c&&l>r+c&&l>o+c||l<e-c&&l<r-c&&l<o-c||s>t+c&&s>n+c&&s>i+c||s<t-c&&s<n-c&&s<i-c)&&a(t,e,n,r,i,o,s,l,null)<=c/2}var i=n(4),a=i.quadraticProjectPoint;e.containStroke=r},function(t,e,n){function r(t,e,n,r,i,A,s,l,c){if(0===s)return!1;var u=s;l-=t,c-=e;var d=Math.sqrt(l*l+c*c);if(d-u>n||d+u<n)return!1;if(Math.abs(r-i)%o<1e-4)return!0;if(A){var h=r;r=a(i),i=a(h)}else r=a(r),i=a(i);r>i&&(i+=o);var f=Math.atan2(c,l);return f<0&&(f+=o),f>=r&&f<=i||f+o>=r&&f+o<=i}var i=n(22),a=i.normalizeRadian,o=2*Math.PI;e.containStroke=r},function(t,e){function n(t,e,n,r,i,a){if(a>e&&a>r||a<e&&a<r)return 0;if(r===e)return 0;var o=r<e?1:-1,A=(a-e)/(r-e);return 1!==A&&0!==A||(o=r<e?.5:-.5),A*(n-t)+t>i?o:0}t.exports=n},function(t,e){var n=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};n.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};var r=n;t.exports=r},function(t,e,n){function r(t,e){var n,r,i,a,u,d=t.data,h=A.M,f=A.C,p=A.L,m=A.R,g=A.A,v=A.Q;for(i=0,a=0;i<d.length;){switch(n=d[i++],a=i,r=0,n){case h:case p:r=1;break;case f:r=3;break;case v:r=2;break;case g:var _=e[4],y=e[5],b=l(e[0]*e[0]+e[1]*e[1]),w=l(e[2]*e[2]+e[3]*e[3]),B=c(-e[1]/w,e[0]/b);d[i]*=b,d[i++]+=_,d[i]*=w,d[i++]+=y,d[i++]*=b,d[i++]*=w,d[i++]+=B,d[i++]+=B,i+=2,a=i;break;case m:x[0]=d[i++],x[1]=d[i++],o(x,x,e),d[a++]=x[0],d[a++]=x[1],x[0]+=d[i++],x[1]+=d[i++],o(x,x,e),d[a++]=x[0],d[a++]=x[1]}for(u=0;u<r;u++){var x=s[u];x[0]=d[i++],x[1]=d[i++],o(x,x,e),d[a++]=x[0],d[a++]=x[1]}}}var i=n(6),a=n(2),o=a.applyTransform,A=i.CMD,s=[[],[],[]],l=Math.sqrt,c=Math.atan2;t.exports=r},function(t,e,n){function r(t){i.call(this,t)}var i=n(12),a=n(3),o=n(0),A=n(10);r.prototype={constructor:r,type:"image",brush:function(t,e){var n=this.style,r=n.image;n.bind(t,this,e);var i=this._image=A.createOrUpdateImage(r,this._image,this,this.onload);if(i&&A.isImageReady(i)){var a=n.x||0,o=n.y||0,s=n.width,l=n.height,c=i.width/i.height;if(null==s&&null!=l?s=l*c:null==l&&null!=s?l=s/c:null==s&&null==l&&(s=i.width,l=i.height),this.setTransform(t),n.sWidth&&n.sHeight){var u=n.sx||0,d=n.sy||0;t.drawImage(i,u,d,n.sWidth,n.sHeight,a,o,s,l)}else if(n.sx&&n.sy){u=n.sx,d=n.sy;var h=s-u,f=l-d;t.drawImage(i,u,d,h,f,a,o,s,l)}else t.drawImage(i,a,o,s,l);this.restoreTransform(t),null!=n.text&&this.drawRectText(t,this.getBoundingRect())}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new a(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},o.inherits(r,i);var s=r;t.exports=s},function(t,e,n){var r=n(0),i=n(16),a=n(3),o=function(t){for(var e in t=t||{},i.call(this,t),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};o.prototype={constructor:o,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},childCount:function(){return this._children.length},add:function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},addBefore:function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,r=n.indexOf(e);r>=0&&(n.splice(r,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,n=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof o&&t.addChildrenToStorage(e)),n&&n.refresh()},remove:function(t){var e=this.__zr,n=this.__storage,i=this._children,a=r.indexOf(i,t);return a<0||(i.splice(a,1),t.parent=null,n&&(n.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(n)),e&&e.refresh()),this},removeAll:function(){var t,e,n=this._children,r=this.__storage;for(e=0;e<n.length;e++)t=n[e],r&&(r.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(r)),t.parent=null;return n.length=0,this},eachChild:function(t,e){for(var n=this._children,r=0;r<n.length;r++){var i=n[r];t.call(e,i,r)}return this},traverse:function(t,e){for(var n=0;n<this._children.length;n++){var r=this._children[n];t.call(e,r),"group"===r.type&&r.traverse(t,e)}return this},addChildrenToStorage:function(t){for(var e=0;e<this._children.length;e++){var n=this._children[e];t.addToStorage(n),n instanceof o&&n.addChildrenToStorage(t)}},delChildrenFromStorage:function(t){for(var e=0;e<this._children.length;e++){var n=this._children[e];t.delFromStorage(n),n instanceof o&&n.delChildrenFromStorage(t)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(t){for(var e=null,n=new a(0,0,0,0),r=t||this._children,i=[],o=0;o<r.length;o++){var A=r[o];if(!A.ignore&&!A.invisible){var s=A.getBoundingRect(),l=A.getLocalTransform(i);l?(n.copy(s),n.applyTransform(l),e=e||n.clone(),e.union(n)):(e=e||s.clone(),e.union(s))}}return e||n}},r.inherits(o,i);var A=o;t.exports=A},function(t,e,n){var r=n(12),i=n(0),a=n(5),o=n(20),A=function(t){r.call(this,t)};A.prototype={constructor:A,type:"text",brush:function(t,e){var n=this.style;this.__dirty&&o.normalizeTextStyle(n,!0),n.fill=n.stroke=n.shadowBlur=n.shadowColor=n.shadowOffsetX=n.shadowOffsetY=null;var r=n.text;null!=r&&(r+=""),n.bind(t,this,e),o.needDrawText(r,n)&&(this.setTransform(t),o.renderText(this,t,r,n),this.restoreTransform(t))},getBoundingRect:function(){var t=this.style;if(this.__dirty&&o.normalizeTextStyle(t,!0),!this._rect){var e=t.text;null!=e?e+="":e="";var n=a.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.rich);if(n.x+=t.x||0,n.y+=t.y||0,o.getStroke(t.textStroke,t.textStrokeWidth)){var r=t.textStrokeWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect}},i.inherits(A,r);var s=A;t.exports=s},function(t,e,n){var r=n(1),i=r.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,n){n&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}});t.exports=i},function(t,e,n){var r=n(1),i=n(63),a=r.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:i(r.prototype.brush),buildPath:function(t,e){var n=e.cx,r=e.cy,i=Math.max(e.r0||0,0),a=Math.max(e.r,0),o=e.startAngle,A=e.endAngle,s=e.clockwise,l=Math.cos(o),c=Math.sin(o);t.moveTo(l*i+n,c*i+r),t.lineTo(l*a+n,c*a+r),t.arc(n,r,a,o,A,!s),t.lineTo(Math.cos(A)*i+n,Math.sin(A)*i+r),0!==i&&t.arc(n,r,i,A,o,s),t.closePath()}});t.exports=a},function(t,e,n){function r(t){return i.browser.ie&&i.browser.version>=11?function(){var e,n=this.__clipPaths,r=this.style;if(n)for(var i=0;i<n.length;i++){var o=n[i],A=o&&o.shape,s=o&&o.type;if(A&&("sector"===s&&A.startAngle===A.endAngle||"rect"===s&&(!A.width||!A.height))){for(var l=0;l<a.length;l++)a[l][2]=r[a[l][0]],r[a[l][0]]=a[l][1];e=!0;break}}if(t.apply(this,arguments),e)for(l=0;l<a.length;l++)r[a[l][0]]=a[l][2]}:t}var i=n(15),a=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];t.exports=r},function(t,e,n){var r=n(1),i=r.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var n=e.cx,r=e.cy,i=2*Math.PI;t.moveTo(n+e.r,r),t.arc(n,r,e.r,0,i,!1),t.moveTo(n+e.r0,r),t.arc(n,r,e.r0,0,i,!0)}});t.exports=i},function(t,e,n){var r=n(1),i=n(23),a=r.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){i.buildPath(t,e,!0)}});t.exports=a},function(t,e,n){function r(t,e,n,r,i,a,o){var A=.5*(n-t),s=.5*(r-e);return(2*(e-n)+A+s)*o+(-3*(e-n)-2*A-s)*a+A*i+e}function i(t,e){for(var n=t.length,i=[],a=0,A=1;A<n;A++)a+=o(t[A-1],t[A]);var s=a/2;s=s<n?n:s;for(A=0;A<s;A++){var l,c,u,d=A/(s-1)*(e?n:n-1),h=Math.floor(d),f=d-h,p=t[h%n];e?(l=t[(h-1+n)%n],c=t[(h+1)%n],u=t[(h+2)%n]):(l=t[0===h?h:h-1],c=t[h>n-2?n-1:h+1],u=t[h>n-3?n-1:h+2]);var m=f*f,g=f*m;i.push([r(l[0],p[0],c[0],u[0],f,m,g),r(l[1],p[1],c[1],u[1],f,m,g)])}return i}var a=n(2),o=a.distance;t.exports=i},function(t,e,n){function r(t,e,n,r){var i,d,h,f,p=[],m=[],g=[],v=[];if(r){h=[1/0,1/0],f=[-1/0,-1/0];for(var _=0,y=t.length;_<y;_++)a(h,h,t[_]),o(f,f,t[_]);a(h,h,r[0]),o(f,f,r[1])}for(_=0,y=t.length;_<y;_++){var b=t[_];if(n)i=t[_?_-1:y-1],d=t[(_+1)%y];else{if(0===_||_===y-1){p.push(c(t[_]));continue}i=t[_-1],d=t[_+1]}u(m,d,i),A(m,m,e);var w=s(b,i),B=s(b,d),x=w+B;0!==x&&(w/=x,B/=x),A(g,m,-w),A(v,m,B);var C=l([],b,g),k=l([],b,v);r&&(o(C,C,h),a(C,C,f),o(k,k,h),a(k,k,f)),p.push(C),p.push(k)}return n&&p.push(p.shift()),p}var i=n(2),a=i.min,o=i.max,A=i.scale,s=i.distance,l=i.add,c=i.clone,u=i.sub;t.exports=r},function(t,e,n){var r=n(1),i=n(23),a=r.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){i.buildPath(t,e,!1)}});t.exports=a},function(t,e,n){var r=n(1),i=n(21),a=r.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,r=e.y,a=e.width,o=e.height;e.r?i.buildPath(t,e):t.rect(n,r,a,o),t.closePath()}});t.exports=a},function(t,e,n){var r=n(1),i=r.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.x1,r=e.y1,i=e.x2,a=e.y2,o=e.percent;0!==o&&(t.moveTo(n,r),o<1&&(i=n*(1-o)+i*o,a=r*(1-o)+a*o),t.lineTo(i,a))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}});t.exports=i},function(t,e,n){function r(t,e,n){var r=t.cpx2,i=t.cpy2;return null===r||null===i?[(n?d:c)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?d:c)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?u:l)(t.x1,t.cpx1,t.x2,e),(n?u:l)(t.y1,t.cpy1,t.y2,e)]}var i=n(1),a=n(2),o=n(4),A=o.quadraticSubdivide,s=o.cubicSubdivide,l=o.quadraticAt,c=o.cubicAt,u=o.quadraticDerivativeAt,d=o.cubicDerivativeAt,h=[],f=i.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.x1,r=e.y1,i=e.x2,a=e.y2,o=e.cpx1,l=e.cpy1,c=e.cpx2,u=e.cpy2,d=e.percent;0!==d&&(t.moveTo(n,r),null==c||null==u?(d<1&&(A(n,o,i,d,h),o=h[1],i=h[2],A(r,l,a,d,h),l=h[1],a=h[2]),t.quadraticCurveTo(o,l,i,a)):(d<1&&(s(n,o,c,i,d,h),o=h[1],c=h[2],i=h[3],s(r,l,u,a,d,h),l=h[1],u=h[2],a=h[3]),t.bezierCurveTo(o,l,c,u,i,a)))},pointAt:function(t){return r(this.shape,t,!1)},tangentAt:function(t){var e=r(this.shape,t,!0);return a.normalize(e,e)}});t.exports=f},function(t,e,n){var r=n(1),i=r.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.cx,r=e.cy,i=Math.max(e.r,0),a=e.startAngle,o=e.endAngle,A=e.clockwise,s=Math.cos(a),l=Math.sin(a);t.moveTo(s*i+n,l*i+r),t.arc(n,r,i,a,o,!A)}});t.exports=i},function(t,e,n){var r=n(1),i=r.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,n=0;n<e.length;n++)t=t||e[n].__dirtyPath;this.__dirtyPath=t,this.__dirty=this.__dirty||t},beforeBrush:function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1])},buildPath:function(t,e){for(var n=e.paths||[],r=0;r<n.length;r++)n[r].buildPath(t,n[r].shape,!0)},afterBrush:function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),r.prototype.getBoundingRect.call(this)}});t.exports=i},function(t,e,n){var r=n(0),i=n(24),a=function(t,e,n,r,a,o){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==n?1:n,this.y2=null==r?0:r,this.type="linear",this.global=o||!1,i.call(this,a)};a.prototype={constructor:a},r.inherits(a,i);var o=a;t.exports=o},function(t,e,n){var r=n(0),i=n(24),a=function(t,e,n,r,a){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==n?.5:n,this.type="radial",this.global=a||!1,i.call(this,r)};a.prototype={constructor:a},r.inherits(a,i);var o=a;t.exports=o},function(t,e,n){var r=n(11),i=r([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),a={getItemStyle:function(t,e){var n=i(this,t,e),r=this.getBorderLineDash();return r&&(n.lineDash=r),n},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}};t.exports=a},function(t,e,n){var r=n(7);r.extendChartView({type:"wordCloud",render:function(t,e,n){var i=this.group;i.removeAll();var a=t.getData(),o=t.get("gridSize");t.layoutInstance.ondraw=function(t,e,n,A){var s=a.getItemModel(n),l=s.getModel("textStyle.normal"),c=s.getModel("textStyle.emphasis"),u=new r.graphic.Text({style:r.graphic.setTextStyle({},l,{x:A.info.fillTextOffsetX,y:A.info.fillTextOffsetY+.5*e,text:t,textBaseline:"middle",textFill:a.getItemVisual(n,"color"),fontSize:e}),scale:[1/A.info.mu,1/A.info.mu],position:[(A.gx+A.info.gw/2)*o,(A.gy+A.info.gh/2)*o],rotation:A.rot});i.add(u),a.setItemGraphicEl(n,u),r.graphic.setHoverStyle(u,r.graphic.setTextStyle({},c,null,{forMerge:!0},!0))},this._model=t},remove:function(){this.group.removeAll(),this._model.layoutInstance.dispose()},dispose:function(){this._model.layoutInstance.dispose()}})},function(t,e,n){"use strict";var r,i;
- /*!
- * wordcloud2.js
- * http://timdream.org/wordcloud2.js/
- *
- * Copyright 2011 - 2013 Tim Chien
- * Released under the MIT license
- */window.setImmediate||(window.setImmediate=function(){return window.msSetImmediate||window.webkitSetImmediate||window.mozSetImmediate||window.oSetImmediate||function(){if(!window.postMessage||!window.addEventListener)return null;var t=[void 0],e="zero-timeout-message",n=function(n){var r=t.length;return t.push(n),window.postMessage(e+r.toString(36),"*"),r};return window.addEventListener("message",(function(n){if("string"==typeof n.data&&n.data.substr(0,e.length)===e){n.stopImmediatePropagation();var r=parseInt(n.data.substr(e.length),36);t[r]&&(t[r](),t[r]=void 0)}}),!0),window.clearImmediate=function(e){t[e]&&(t[e]=void 0)},n}()||function(t){window.setTimeout(t,0)}}()),window.clearImmediate||(window.clearImmediate=function(){return window.msClearImmediate||window.webkitClearImmediate||window.mozClearImmediate||window.oClearImmediate||function(t){window.clearTimeout(t)}}()),function(n){var a=function(){var t=document.createElement("canvas");if(!t||!t.getContext)return!1;var e=t.getContext("2d");return!!e.getImageData&&!!e.fillText&&!!Array.prototype.some&&!!Array.prototype.push}(),o=function(){if(a){for(var t,e,n=document.createElement("canvas").getContext("2d"),r=20;r;){if(n.font=r.toString(10)+"px sans-serif",n.measureText("W").width===t&&n.measureText("m").width===e)return r+1;t=n.measureText("W").width,e=n.measureText("m").width,r--}return 0}}(),A=function(t){for(var e,n,r=t.length;r;e=Math.floor(Math.random()*r),n=t[--r],t[r]=t[e],t[e]=n);return t},s=function(t,e){function n(t,e){return"hsl("+(360*Math.random()).toFixed()+","+(30*Math.random()+70).toFixed()+"%,"+(Math.random()*(e-t)+t).toFixed()+"%)"}if(a){Array.isArray(t)||(t=[t]),t.forEach((function(e,n){if("string"==typeof e){if(t[n]=document.getElementById(e),!t[n])throw"The element id specified is not found."}else if(!e.tagName&&!e.appendChild)throw"You must pass valid HTML elements, or ID of the element."}));var r={list:[],fontFamily:'"Trebuchet MS", "Heiti TC", "微軟正黑體", "Arial Unicode MS", "Droid Fallback Sans", sans-serif',fontWeight:"normal",color:"random-dark",minSize:0,weightFactor:1,clearCanvas:!0,backgroundColor:"#fff",gridSize:8,drawOutOfBound:!1,origin:null,drawMask:!1,maskColor:"rgba(255,0,0,0.3)",maskGapWidth:.3,wait:0,abortThreshold:0,abort:function(){},minRotation:-Math.PI/2,maxRotation:Math.PI/2,rotationStep:.1,shuffle:!0,rotateRatio:.1,shape:"circle",ellipticity:.65,classes:null,hover:null,click:null};if(e)for(var i in e)i in r&&(r[i]=e[i]);if("function"!=typeof r.weightFactor){var s=r.weightFactor;r.weightFactor=function(t){return t*s}}if("function"!=typeof r.shape)switch(r.shape){case"circle":default:r.shape="circle";break;case"cardioid":r.shape=function(t){return 1-Math.sin(t)};break;case"diamond":case"square":r.shape=function(t){var e=t%(2*Math.PI/4);return 1/(Math.cos(e)+Math.sin(e))};break;case"triangle-forward":r.shape=function(t){var e=t%(2*Math.PI/3);return 1/(Math.cos(e)+Math.sqrt(3)*Math.sin(e))};break;case"triangle":case"triangle-upright":r.shape=function(t){var e=(t+3*Math.PI/2)%(2*Math.PI/3);return 1/(Math.cos(e)+Math.sqrt(3)*Math.sin(e))};break;case"pentagon":r.shape=function(t){var e=(t+.955)%(2*Math.PI/5);return 1/(Math.cos(e)+.726543*Math.sin(e))};break;case"star":r.shape=function(t){var e=(t+.955)%(2*Math.PI/10);return(t+.955)%(2*Math.PI/5)-2*Math.PI/10>=0?1/(Math.cos(2*Math.PI/10-e)+3.07768*Math.sin(2*Math.PI/10-e)):1/(Math.cos(e)+3.07768*Math.sin(e))}}r.gridSize=Math.max(Math.floor(r.gridSize),4);var l,c,u,d,h,f,p,m=r.gridSize,g=m-r.maskGapWidth,v=Math.abs(r.maxRotation-r.minRotation),_=Math.min(r.maxRotation,r.minRotation),y=r.rotationStep;switch(r.color){case"random-dark":p=function(){return n(10,50)};break;case"random-light":p=function(){return n(50,90)};break;default:"function"==typeof r.color&&(p=r.color)}var b=null;"function"==typeof r.classes&&(b=r.classes);var w,B=!1,x=[],C=function(t){var e,n,r=t.currentTarget,i=r.getBoundingClientRect();t.touches?(e=t.touches[0].clientX,n=t.touches[0].clientY):(e=t.clientX,n=t.clientY);var a=e-i.left,o=n-i.top,A=Math.floor(a*(r.width/i.width||1)/m),s=Math.floor(o*(r.height/i.height||1)/m);return x[A][s]},k=function(t){var e=C(t);if(w!==e){if(w=e,!e)return void r.hover(void 0,void 0,t);r.hover(e.item,e.dimension,t)}},Q=function(t){var e=C(t);e&&(r.click(e.item,e.dimension,t),t.preventDefault())},E=[],F=function(t){if(E[t])return E[t];var e=8*t,n=e,i=[];for(0===t&&i.push([d[0],d[1],0]);n--;){var a=1;"circle"!==r.shape&&(a=r.shape(n/e*2*Math.PI)),i.push([d[0]+t*a*Math.cos(-n/e*2*Math.PI),d[1]+t*a*Math.sin(-n/e*2*Math.PI)*r.ellipticity,n/e*2*Math.PI])}return E[t]=i,i},U=function(){return r.abortThreshold>0&&(new Date).getTime()-f>r.abortThreshold},O=function(){return 0===r.rotateRatio||Math.random()>r.rotateRatio?0:0===v?_:_+Math.round(Math.random()*v/y)*y},S=function(t,e,n){var i=r.weightFactor(e);if(i<=r.minSize)return!1;var a=1;i<o&&(a=function(){for(var t=2;t*i<o;)t+=2;return t}());var A=document.createElement("canvas"),s=A.getContext("2d",{willReadFrequently:!0});s.font=r.fontWeight+" "+(i*a).toString(10)+"px "+r.fontFamily;var l=s.measureText(t).width/a,c=Math.max(i*a,s.measureText("m").width,s.measureText("W").width)/a,u=l+2*c,d=3*c,h=Math.ceil(u/m),f=Math.ceil(d/m);u=h*m,d=f*m;var p=-l/2,g=.4*-c,v=Math.ceil((u*Math.abs(Math.sin(n))+d*Math.abs(Math.cos(n)))/m),_=Math.ceil((u*Math.abs(Math.cos(n))+d*Math.abs(Math.sin(n)))/m),y=_*m,b=v*m;A.setAttribute("width",y),A.setAttribute("height",b),s.scale(1/a,1/a),s.translate(y*a/2,b*a/2),s.rotate(-n),s.font=r.fontWeight+" "+(i*a).toString(10)+"px "+r.fontFamily,s.fillStyle="#000",s.textBaseline="middle",s.fillText(t,p*a,(g+.5*i)*a);var w=s.getImageData(0,0,y,b).data;if(U())return!1;for(var B,x,C,k=[],Q=_,E=[v/2,_/2,v/2,_/2];Q--;)for(B=v;B--;){C=m;t:for(;C--;)for(x=m;x--;)if(w[4*((B*m+C)*y+(Q*m+x))+3]){k.push([Q,B]),Q<E[3]&&(E[3]=Q),Q>E[1]&&(E[1]=Q),B<E[0]&&(E[0]=B),B>E[2]&&(E[2]=B);break t}}return{mu:a,occupied:k,bounds:E,gw:_,gh:v,fillTextOffsetX:p,fillTextOffsetY:g,fillTextWidth:l,fillTextHeight:c,fontSize:i}},T=function(t,e,n,i,a){for(var o=a.length;o--;){var A=t+a[o][0],s=e+a[o][1];if(A>=c||s>=u||A<0||s<0){if(!r.drawOutOfBound)return!1}else if(!l[A][s])return!1}return!0},I=function(e,n,i,a,o,A,s,l,c){var u,d,h=i.fontSize;u=p?p(a,o,h,A,s):r.color,d=b?b(a,o,h,A,s):r.classes;var f=i.bounds;f[3],f[0],f[1],f[3],f[2],f[0],t.forEach((function(t){if(t.getContext){var o=t.getContext("2d"),A=i.mu;o.save(),o.scale(1/A,1/A),o.font=r.fontWeight+" "+(h*A).toString(10)+"px "+r.fontFamily,o.fillStyle=u,o.translate((e+i.gw/2)*m*A,(n+i.gh/2)*m*A),0!==l&&o.rotate(-l),o.textBaseline="middle",o.fillText(a,i.fillTextOffsetX*A,(i.fillTextOffsetY+.5*h)*A),o.restore()}else{var s=document.createElement("span"),f="";f="rotate("+-l/Math.PI*180+"deg) ",1!==i.mu&&(f+="translateX(-"+i.fillTextWidth/4+"px) scale("+1/i.mu+")");var p={position:"absolute",display:"block",font:r.fontWeight+" "+h*i.mu+"px "+r.fontFamily,left:(e+i.gw/2)*m+i.fillTextOffsetX+"px",top:(n+i.gh/2)*m+i.fillTextOffsetY+"px",width:i.fillTextWidth+"px",height:i.fillTextHeight+"px",lineHeight:h+"px",whiteSpace:"nowrap",transform:f,webkitTransform:f,msTransform:f,transformOrigin:"50% 40%",webkitTransformOrigin:"50% 40%",msTransformOrigin:"50% 40%"};for(var g in u&&(p.color=u),s.textContent=a,p)s.style[g]=p[g];if(c)for(var v in c)s.setAttribute(v,c[v]);d&&(s.className+=d),t.appendChild(s)}}))},D=function(e,n,r,i,a){e>=c||n>=u||e<0||n<0||(l[e][n]=!1,r&&t[0].getContext("2d").fillRect(e*m,n*m,g,g),B&&(x[e][n]={item:a,dimension:i}))},L=function(e,n,i,a,o,A){var s,l,d=o.occupied,h=r.drawMask;if(h&&(s=t[0].getContext("2d"),s.save(),s.fillStyle=r.maskColor),B){var f=o.bounds;l={x:(e+f[3])*m,y:(n+f[0])*m,w:(f[1]-f[3]+1)*m,h:(f[2]-f[0]+1)*m}}for(var p=d.length;p--;){var g=e+d[p][0],v=n+d[p][1];g>=c||v>=u||g<0||v<0||D(g,v,h,l,A)}h&&s.restore()},P=function(t){var e,n,i;Array.isArray(t)?(e=t[0],n=t[1]):(e=t.word,n=t.weight,i=t.attributes);var a=O(),o=S(e,n,a);if(!o)return!1;if(U())return!1;if(!r.drawOutOfBound){var s=o.bounds;if(s[1]-s[3]+1>c||s[2]-s[0]+1>u)return!1}for(var l=h+1;l--;){var d=F(h-l);r.shuffle&&(d=[].concat(d),A(d));for(var f=0;f<d.length;f++){var p=function(r){var A=Math.floor(r[0]-o.gw/2),s=Math.floor(r[1]-o.gh/2);return o.gw,o.gh,!!T(A,s,0,0,o.occupied)&&(I(A,s,o,e,n,h-l,r[2],a,i),L(A,s,0,0,o,t),{gx:A,gy:s,rot:a,info:o})}(d[f]);if(p)return p}}return null},N=function(e,n,r){if(n)return!t.some((function(t){var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,!0,n,r||{}),!t.dispatchEvent(i)}),this);t.forEach((function(t){var i=document.createEvent("CustomEvent");i.initCustomEvent(e,!0,n,r||{}),t.dispatchEvent(i)}),this)};!function(){var e=t[0];if(e.getContext)c=Math.ceil(e.width/m),u=Math.ceil(e.height/m);else{var n=e.getBoundingClientRect();c=Math.ceil(n.width/m),u=Math.ceil(n.height/m)}if(N("wordcloudstart",!0)){var i,a,o,A,s;if(d=r.origin?[r.origin[0]/m,r.origin[1]/m]:[c/2,u/2],h=Math.floor(Math.sqrt(c*c+u*u)),l=[],!e.getContext||r.clearCanvas)for(t.forEach((function(t){if(t.getContext){var e=t.getContext("2d");e.fillStyle=r.backgroundColor,e.clearRect(0,0,c*(m+1),u*(m+1)),e.fillRect(0,0,c*(m+1),u*(m+1))}else t.textContent="",t.style.backgroundColor=r.backgroundColor,t.style.position="relative"})),i=c;i--;)for(l[i]=[],a=u;a--;)l[i][a]=!0;else{var p=document.createElement("canvas").getContext("2d");p.fillStyle=r.backgroundColor,p.fillRect(0,0,1,1);var g,v,_=p.getImageData(0,0,1,1).data,y=e.getContext("2d").getImageData(0,0,c*m,u*m).data;for(i=c;i--;)for(l[i]=[],a=u;a--;){v=m;t:for(;v--;)for(g=m;g--;)for(o=4;o--;)if(y[4*((a*m+v)*c*m+(i*m+g))+o]!==_[o]){l[i][a]=!1;break t}!1!==l[i][a]&&(l[i][a]=!0)}y=p=_=void 0}if(r.hover||r.click){for(B=!0,i=c+1;i--;)x[i]=[];r.hover&&e.addEventListener("mousemove",k),r.click&&(e.addEventListener("click",Q),e.addEventListener("touchstart",Q),e.addEventListener("touchend",(function(t){t.preventDefault()})),e.style.webkitTapHighlightColor="rgba(0, 0, 0, 0)"),e.addEventListener("wordcloudstart",(function t(){e.removeEventListener("wordcloudstart",t),e.removeEventListener("mousemove",k),e.removeEventListener("click",Q),w=void 0}))}o=0,0!==r.wait?(A=window.setTimeout,s=window.clearTimeout):(A=window.setImmediate,s=window.clearImmediate);var b=function(e,n){t.forEach((function(t){t.removeEventListener(e,n)}),this)},C=function t(){b("wordcloudstart",t),s(E)};!function(e,n){t.forEach((function(t){t.addEventListener(e,n)}),this)}("wordcloudstart",C);var E=A((function t(){if(o>=r.list.length)return s(E),N("wordcloudstop",!1),void b("wordcloudstart",C);f=(new Date).getTime();var e=P(r.list[o]),n=!N("wordclouddrawn",!0,{item:r.list[o],drawn:e});if(U()||n)return s(E),r.abort(),N("wordcloudabort",!1),N("wordcloudstop",!1),void b("wordcloudstart",C);o++,E=A(t,r.wait)}),r.wait)}}()}};s.isSupported=a,s.minFontSize=o,r=[],void 0!==(i=function(){return s}.apply(e,r))&&(t.exports=i)}()}])}))}).call(this,n("62e4")(t))},"77a7":function(t,e){var n=1/0,r=Math.abs,i=Math.pow,a=Math.floor,o=Math.log,A=Math.LN2,s=function(t,e,s){var l,c,u,d=new Array(s),h=8*s-e-1,f=(1<<h)-1,p=f>>1,m=23===e?i(2,-24)-i(2,-77):0,g=t<0||0===t&&1/t<0?1:0,v=0;for(t=r(t),t!=t||t===n?(c=t!=t?1:0,l=f):(l=a(o(t)/A),t*(u=i(2,-l))<1&&(l--,u*=2),t+=l+p>=1?m/u:m*i(2,1-p),t*u>=2&&(l++,u/=2),l+p>=f?(c=0,l=f):l+p>=1?(c=(t*u-1)*i(2,e),l+=p):(c=t*i(2,p-1)*i(2,e),l=0));e>=8;d[v++]=255&c,c/=256,e-=8);for(l=l<<e|c,h+=e;h>0;d[v++]=255&l,l/=256,h-=8);return d[--v]|=128*g,d},l=function(t,e){var r,a=t.length,o=8*a-e-1,A=(1<<o)-1,s=A>>1,l=o-7,c=a-1,u=t[c--],d=127&u;for(u>>=7;l>0;d=256*d+t[c],c--,l-=8);for(r=d&(1<<-l)-1,d>>=-l,l+=e;l>0;r=256*r+t[c],c--,l-=8);if(0===d)d=1-s;else{if(d===A)return r?NaN:u?-n:n;r+=i(2,e),d-=s}return(u?-1:1)*r*i(2,d-e)};t.exports={pack:s,unpack:l}},"79eb":function(t,e,n){"use strict";n("a8b1")},"7a32":function(t,e,n){},"7fc8":function(t,e,n){},8096:function(t,e,n){},"80de":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return makeUpJs}));var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("e9c4"),core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_0__),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("d3b7"),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("159b"),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__),core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("a15b"),core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_3__),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("99af"),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_4__),core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("b64b"),core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_5__),util__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("3022"),util__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(util__WEBPACK_IMPORTED_MODULE_6__),_utils_index__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("ed08"),_config__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("2e2a"),units={KB:"1024",MB:"1024 / 1024",GB:"1024 / 1024 / 1024"},confGlobal,inheritAttrs={file:"",dialog:"inheritAttrs: false,"};function makeUpJs(t,e){confGlobal=t=JSON.parse(JSON.stringify(t));var n=[],r=[],i=[],a=[],o=mixinMethod(e),A=[];t.fields.forEach((function(t){buildAttributes(t,n,r,i,o,a,A)}));var s=buildexport(t,e,n.join("\n"),r.join("\n"),i.join("\n"),A.join("\n"),a.join("\n"),o.join("\n"));return confGlobal=null,s}function buildAttributes(t,e,n,r,i,a,o){if(buildData(t,e),buildRules(t,n),t.options&&t.options.length&&(buildOptions(t,r),"dynamic"===t.dataType)){var A="".concat(t.vModel,"Options"),s=Object(_utils_index__WEBPACK_IMPORTED_MODULE_7__["h"])(A);buildOptionMethod("get".concat(s),A,i)}t.props&&t.props.props&&buildProps(t,a),t.action&&"el-upload"===t.tag&&(o.push("".concat(t.vModel,"Action: '").concat(t.action,"',\n ").concat(t.vModel,"fileList: [],")),i.push(buildBeforeUpload(t)),t["auto-upload"]||i.push(buildSubmitUpload(t))),t.children&&t.children.forEach((function(t){buildAttributes(t,e,n,r,i,a,o)}))}function mixinMethod(t){var e=[],n={file:confGlobal.formBtns?{submitForm:"submitForm() {\n this.$refs['".concat(confGlobal.formRef,"'].validate(valid => {\n if(!valid) return\n // TODO 提交表单\n })\n },"),resetForm:"resetForm() {\n this.$refs['".concat(confGlobal.formRef,"'].resetFields()\n },")}:null,dialog:{onOpen:"onOpen() {},",onClose:"onClose() {\n this.$refs['".concat(confGlobal.formRef,"'].resetFields()\n },"),close:"close() {\n this.$emit('update:visible', false)\n },",handelConfirm:"handelConfirm() {\n this.$refs['".concat(confGlobal.formRef,"'].validate(valid => {\n if(!valid) return\n this.close()\n })\n },")}},r=n[t];return r&&Object.keys(r).forEach((function(t){e.push(r[t])})),e}function buildData(t,e){var n;void 0!==t.vModel&&(n="string"!==typeof t.defaultValue||t.multiple?"".concat(JSON.stringify(t.defaultValue)):"'".concat(t.defaultValue,"'"),e.push("".concat(t.vModel,": ").concat(n,",")))}function buildRules(conf,ruleList){if(void 0!==conf.vModel){var rules=[];if(_config__WEBPACK_IMPORTED_MODULE_8__["e"][conf.tag]){if(conf.required){var type=Object(util__WEBPACK_IMPORTED_MODULE_6__["isArray"])(conf.defaultValue)?"type: 'array',":"",message=Object(util__WEBPACK_IMPORTED_MODULE_6__["isArray"])(conf.defaultValue)?"请至少选择一个".concat(conf.vModel):conf.placeholder;void 0===message&&(message="".concat(conf.label,"不能为空")),rules.push("{ required: true, ".concat(type," message: '").concat(message,"', trigger: '").concat(_config__WEBPACK_IMPORTED_MODULE_8__["e"][conf.tag],"' }"))}conf.regList&&Object(util__WEBPACK_IMPORTED_MODULE_6__["isArray"])(conf.regList)&&conf.regList.forEach((function(item){item.pattern&&rules.push("{ pattern: ".concat(eval(item.pattern),", message: '").concat(item.message,"', trigger: '").concat(_config__WEBPACK_IMPORTED_MODULE_8__["e"][conf.tag],"' }"))})),ruleList.push("".concat(conf.vModel,": [").concat(rules.join(","),"],"))}}}function buildOptions(t,e){if(void 0!==t.vModel){"dynamic"===t.dataType&&(t.options=[]);var n="".concat(t.vModel,"Options: ").concat(JSON.stringify(t.options),",");e.push(n)}}function buildProps(t,e){"dynamic"===t.dataType&&("value"!==t.valueKey&&(t.props.props.value=t.valueKey),"label"!==t.labelKey&&(t.props.props.label=t.labelKey),"children"!==t.childrenKey&&(t.props.props.children=t.childrenKey));var n="".concat(t.vModel,"Props: ").concat(JSON.stringify(t.props.props),",");e.push(n)}function buildBeforeUpload(t){var e=units[t.sizeUnit],n="",r="",i=[];t.fileSize&&(n="let isRightSize = file.size / ".concat(e," < ").concat(t.fileSize,"\n if(!isRightSize){\n this.$message.error('文件大小超过 ").concat(t.fileSize).concat(t.sizeUnit,"')\n }"),i.push("isRightSize")),t.accept&&(r="let isAccept = new RegExp('".concat(t.accept,"').test(file.type)\n if(!isAccept){\n this.$message.error('应该选择").concat(t.accept,"类型的文件')\n }"),i.push("isAccept"));var a="".concat(t.vModel,"BeforeUpload(file) {\n ").concat(n,"\n ").concat(r,"\n return ").concat(i.join("&&"),"\n },");return i.length?a:""}function buildSubmitUpload(t){var e="submitUpload() {\n this.$refs['".concat(t.vModel,"'].submit()\n },");return e}function buildOptionMethod(t,e,n){var r="".concat(t,"() {\n // TODO 发起请求获取数据\n this.").concat(e,"\n },");n.push(r)}function buildexport(t,e,n,r,i,a,o,A){var s="".concat(_utils_index__WEBPACK_IMPORTED_MODULE_7__["d"],"{\n ").concat(inheritAttrs[e],"\n components: {},\n props: [],\n data () {\n return {\n ").concat(t.formModel,": {\n ").concat(n,"\n },\n ").concat(t.formRules,": {\n ").concat(r,"\n },\n ").concat(a,"\n ").concat(i,"\n ").concat(o,"\n }\n },\n computed: {},\n watch: {},\n created () {},\n mounted () {},\n methods: {\n ").concat(A,"\n }\n}");return s}},"817d":function(t,e,n){var r,i,a;(function(o,A){i=[e,n("313e")],r=A,a="function"===typeof r?r.apply(e,i):r,void 0===a||(t.exports=a)})(0,(function(t,e){var n=function(t){"undefined"!==typeof console&&console&&console.error&&console.error(t)};if(e){var r=["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],i={color:r,title:{textStyle:{fontWeight:"normal",color:"#008acd"}},visualMap:{itemWidth:15,color:["#5ab1ef","#e0ffff"]},toolbox:{iconStyle:{normal:{borderColor:r[0]}}},tooltip:{backgroundColor:"rgba(50,50,50,0.5)",axisPointer:{type:"line",lineStyle:{color:"#008acd"},crossStyle:{color:"#008acd"},shadowStyle:{color:"rgba(200,200,200,0.2)"}}},dataZoom:{dataBackgroundColor:"#efefff",fillerColor:"rgba(182,162,222,0.2)",handleColor:"#008acd"},grid:{borderColor:"#eee"},categoryAxis:{axisLine:{lineStyle:{color:"#008acd"}},splitLine:{lineStyle:{color:["#eee"]}}},valueAxis:{axisLine:{lineStyle:{color:"#008acd"}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.1)","rgba(200,200,200,0.1)"]}},splitLine:{lineStyle:{color:["#eee"]}}},timeline:{lineStyle:{color:"#008acd"},controlStyle:{normal:{color:"#008acd"},emphasis:{color:"#008acd"}},symbol:"emptyCircle",symbolSize:3},line:{smooth:!0,symbol:"emptyCircle",symbolSize:3},candlestick:{itemStyle:{normal:{color:"#d87a80",color0:"#2ec7c9",lineStyle:{color:"#d87a80",color0:"#2ec7c9"}}}},scatter:{symbol:"circle",symbolSize:4},map:{label:{normal:{textStyle:{color:"#d87a80"}}},itemStyle:{normal:{borderColor:"#eee",areaColor:"#ddd"},emphasis:{areaColor:"#fe994e"}}},graph:{color:r},gauge:{axisLine:{lineStyle:{color:[[.2,"#2ec7c9"],[.8,"#5ab1ef"],[1,"#d87a80"]],width:10}},axisTick:{splitNumber:10,length:15,lineStyle:{color:"auto"}},splitLine:{length:22,lineStyle:{color:"auto"}},pointer:{width:5}}};e.registerTheme("macarons",i)}else n("ECharts is not Loaded")}))},"81a5":function(t,e,n){t.exports=n.p+"static/img/logo.f285517b.png"},"81d5":function(t,e,n){"use strict";var r=n("7b0b"),i=n("23cb"),a=n("50c4");t.exports=function(t){var e=r(this),n=a(e.length),o=arguments.length,A=i(o>1?arguments[1]:void 0,n),s=o>2?arguments[2]:void 0,l=void 0===s?n:i(s,n);while(l>A)e[A++]=t;return e}},8243:function(t,e,n){},"82c8":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:t.queryParams,inline:!0,"label-width":"68px"}},[n("el-form-item",{attrs:{label:"表名称",prop:"tableName"}},[n("el-input",{attrs:{placeholder:"请输入表名称",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.tableName,callback:function(e){t.$set(t.queryParams,"tableName",e)},expression:"queryParams.tableName"}})],1),n("el-form-item",{attrs:{label:"表描述",prop:"tableComment"}},[n("el-input",{attrs:{placeholder:"请输入表描述",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.tableComment,callback:function(e){t.$set(t.queryParams,"tableComment",e)},expression:"queryParams.tableComment"}})],1),n("el-form-item",{attrs:{label:"创建时间"}},[n("el-date-picker",{staticStyle:{width:"240px"},attrs:{size:"small","value-format":"yyyy-MM-dd",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:t.dateRange,callback:function(e){t.dateRange=e},expression:"dateRange"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"cyan",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1),n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["tool:gen:code"],expression:"['tool:gen:code']"}],attrs:{type:"primary",icon:"el-icon-download",size:"mini"},on:{click:t.handleGenTable}},[t._v("生成")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["tool:gen:import"],expression:"['tool:gen:import']"}],attrs:{type:"info",icon:"el-icon-upload",size:"mini"},on:{click:t.openImportTable}},[t._v("导入")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["tool:gen:edit"],expression:"['tool:gen:edit']"}],attrs:{type:"success",icon:"el-icon-edit",size:"mini",disabled:t.single},on:{click:t.handleEditTable}},[t._v("修改")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["tool:gen:remove"],expression:"['tool:gen:remove']"}],attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:t.multiple},on:{click:t.handleDelete}},[t._v("删除")])],1),n("right-toolbar",{attrs:{showSearch:t.showSearch},on:{"update:showSearch":function(e){t.showSearch=e},"update:show-search":function(e){t.showSearch=e},queryTable:t.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.tableList},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55"}}),n("el-table-column",{attrs:{label:"序号",type:"index",width:"50",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s((t.queryParams.pageNum-1)*t.queryParams.pageSize+e.$index+1))])]}}])}),n("el-table-column",{attrs:{label:"表名称",align:"center",prop:"tableName","show-overflow-tooltip":!0,width:"130"}}),n("el-table-column",{attrs:{label:"表描述",align:"center",prop:"tableComment","show-overflow-tooltip":!0,width:"130"}}),n("el-table-column",{attrs:{label:"实体",align:"center",prop:"className","show-overflow-tooltip":!0,width:"130"}}),n("el-table-column",{attrs:{label:"创建时间",align:"center",prop:"createTime",width:"160"}}),n("el-table-column",{attrs:{label:"更新时间",align:"center",prop:"updateTime",width:"160"}}),n("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["tool:gen:preview"],expression:"['tool:gen:preview']"}],attrs:{type:"text",size:"small",icon:"el-icon-view"},on:{click:function(n){return t.handlePreview(e.row)}}},[t._v("预览")]),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["tool:gen:edit"],expression:"['tool:gen:edit']"}],attrs:{type:"text",size:"small",icon:"el-icon-edit"},on:{click:function(n){return t.handleEditTable(e.row)}}},[t._v("编辑")]),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["tool:gen:remove"],expression:"['tool:gen:remove']"}],attrs:{type:"text",size:"small",icon:"el-icon-delete"},on:{click:function(n){return t.handleDelete(e.row)}}},[t._v("删除")]),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["tool:gen:edit"],expression:"['tool:gen:edit']"}],attrs:{type:"text",size:"small",icon:"el-icon-refresh"},on:{click:function(n){return t.handleSynchDb(e.row)}}},[t._v("同步")]),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["tool:gen:code"],expression:"['tool:gen:code']"}],attrs:{type:"text",size:"small",icon:"el-icon-download"},on:{click:function(n){return t.handleGenTable(e.row)}}},[t._v("生成代码")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(e){return t.$set(t.queryParams,"pageNum",e)},"update:limit":function(e){return t.$set(t.queryParams,"pageSize",e)},pagination:t.getList}}),n("el-dialog",{attrs:{title:t.preview.title,visible:t.preview.open,width:"80%",top:"5vh","append-to-body":""},on:{"update:visible":function(e){return t.$set(t.preview,"open",e)}}},[n("el-tabs",{model:{value:t.preview.activeName,callback:function(e){t.$set(t.preview,"activeName",e)},expression:"preview.activeName"}},t._l(t.preview.data,(function(e,r){return n("el-tab-pane",{key:r,attrs:{label:r.substring(r.lastIndexOf("/")+1,r.indexOf(".vm")),name:r.substring(r.lastIndexOf("/")+1,r.indexOf(".vm"))}},[n("pre",[t._v(t._s(e))])])})),1)],1),n("import-table",{ref:"import",on:{ok:t.handleQuery}})],1)},i=[],a=(n("d81d"),n("4b72")),o=n("6f72"),A=(n("4d63"),n("ac1f"),n("2c3e"),n("25f0"),n("5319"),n("d3b7"),n("3ca3"),n("ddb0"),n("2b3d"),n("9861"),n("bc3a")),s=n.n(A),l=n("5f87"),c={xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",zip:"application/zip"},u="http://10.52.200.159:8080/shanghaigateway/";function d(t,e){var n=u+t;s()({method:"get",url:n,responseType:"blob",headers:{Authorization:"Bearer "+Object(l["a"])()}}).then((function(t){h(t,c.zip)}))}function h(t,e){var n=document.createElement("a"),r=new Blob([t.data],{type:e}),i=new RegExp("filename=([^;]+\\.[^\\.;]+);*"),a=decodeURI(t.headers["content-disposition"]),o=i.exec(a),A=o[1];A=A.replace(/\"/g,""),n.href=URL.createObjectURL(r),n.setAttribute("download",A),document.body.appendChild(n),n.click(),document.body.appendChild(n)}var f={name:"Gen",components:{importTable:o["default"]},data:function(){return{loading:!0,uniqueId:"",ids:[],tableNames:[],single:!0,multiple:!0,showSearch:!0,total:0,tableList:[],dateRange:"",queryParams:{pageNum:1,pageSize:10,tableName:void 0,tableComment:void 0},preview:{open:!1,title:"代码预览",data:{},activeName:"domain.java"}}},created:function(){this.getList()},activated:function(){var t=this.$route.query.t;null!=t&&t!=this.uniqueId&&(this.uniqueId=t,this.resetQuery())},methods:{getList:function(){var t=this;this.loading=!0,Object(a["f"])(this.addDateRange(this.queryParams,this.dateRange)).then((function(e){t.tableList=e.rows,t.total=e.total,t.loading=!1}))},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},handleGenTable:function(t){var e=this,n=t.tableName||this.tableNames;""!=n?"1"===t.genType?Object(a["b"])(t.tableName).then((function(n){e.msgSuccess("成功生成到自定义路径:"+t.genPath)})):d("/code/gen/batchGenCode?tables="+n,"ruoyi"):this.msgError("请选择要生成的数据")},handleSynchDb:function(t){var e=this,n=t.tableName;this.$confirm('确认要强制同步"'+n+'"表结构吗?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(a["h"])(n)})).then((function(){e.msgSuccess("同步成功")}))},openImportTable:function(){this.$refs.import.show()},resetQuery:function(){this.dateRange=[],this.resetForm("queryForm"),this.handleQuery()},handlePreview:function(t){var e=this;Object(a["g"])(t.tableId).then((function(t){e.preview.data=t.data,e.preview.open=!0}))},handleSelectionChange:function(t){this.ids=t.map((function(t){return t.tableId})),this.tableNames=t.map((function(t){return t.tableName})),this.single=1!=t.length,this.multiple=!t.length},handleEditTable:function(t){var e=t.tableId||this.ids[0];this.$router.push("/gen/edit/"+e)},handleDelete:function(t){var e=this,n=t.tableId||this.ids;this.$confirm('是否确认删除表编号为"'+n+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(a["a"])(n)})).then((function(){e.getList(),e.msgSuccess("删除成功")}))}}},p=f,m=n("2877"),g=Object(m["a"])(p,r,i,!1,null,null,null);e["default"]=g.exports},"82f8":function(t,e,n){"use strict";var r=n("ebb5"),i=n("4d64").includes,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("includes",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},8382:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.tagsData&&t.tagsData.length>0?n("tags",{attrs:{data:t.tagsData}}):t._e(),n("div",{staticClass:"userInfoPanel mt10"},[t._l(t.data,(function(e,r){return t.data&&t.data.length>0?n("el-row",{key:r,staticClass:"userInfo"},[n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("保险单号")]),n("span",{staticClass:"value"},[t._v(t._s(e.policyno))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("保险期限")]),n("span",{staticClass:"value"},[t._v(t._s(e.security))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("承保分公司")]),n("span",{staticClass:"value"},[t._v(t._s(e.pwcomp))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("起保日期")]),n("span",{staticClass:"value"},[t._v(t._s(t.parseTime(e.pindate,"{yy}-{mm}-{dd}")))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("终保日期")]),n("span",{staticClass:"value"},[t._v(t._s(t.parseTime(e.pmdate,"{yy}-{mm}-{dd}")))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("签单日期")]),n("span",{staticClass:"value"},[t._v(t._s(t.parseTime(e.pisdate,"{yy}-{mm}-{dd}")))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("投保日期")]),n("span",{staticClass:"value"},[t._v(t._s(t.parseTime(e.padate,"{yy}-{mm}-{dd}")))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("续保日期")]),"趸缴"!=e.payment?n("span",{staticClass:"value"},[t._v(t._s(t.parseTime(e.renewaldate,"{yy}-{mm}-{dd}")))]):t._e()]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("已缴期数")]),n("span",{staticClass:"value"},[t._v(t._s(e.norenewal)+"次")])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("缴费年期")]),"趸缴"!=e.payment?n("span",{staticClass:"value"},[t._v(t._s(e.payendyear)+"年")]):t._e()]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("销售渠道")]),n("span",{staticClass:"value"},[t._v(t._s(e.schannelname))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("保单状态")]),n("span",{staticClass:"value"},[t._v(t._s(e.policystate))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("缴费方式")]),n("span",{staticClass:"value"},[t._v(t._s(e.payment))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("保单保额")]),n("span",{staticClass:"value"},[t._v(t._s(e.risk))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("保单保费")]),n("span",{staticClass:"value"},[t._v(t._s(e.prem))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("下次缴费日期")]),t.isShowJFRQ(e)?n("span",{staticClass:"value"},[t._v(t._s(t.parseTime(e.npdate,"{yy}-{mm}-{dd}")))]):t._e()]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("主被保险人名称")]),n("span",{staticClass:"value"},[t._v(t._s(e.insname))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("险种名称")]),n("span",{staticClass:"value"},[t._v(t._s(e.productname))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("业务员")]),n("span",{staticClass:"value"},[t._v(t._s(e.spname))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("业绩归属")]),n("span",{staticClass:"value"},[t._v(t._s(e.salecomname))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("代理渠道")]),n("span",{staticClass:"value"},[t._v(t._s(e.agentchannel))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("代理机构")]),n("span",{staticClass:"value"},[t._v(t._s(e.agentorg))])]),n("el-col",{attrs:{span:12}},[n("span",{staticClass:"name"},[t._v("是否保全")]),"Y"==e.poservice?n("span",{staticClass:"value"},[t._v("是")]):n("span",{staticClass:"value"},[t._v("否")])]),n("el-col",{attrs:{span:24}},[r!=t.data.length-1?n("div",{staticClass:"line"}):t._e()])],1):t._e()})),0==t.data.length?n("el-row",{staticClass:"userInfo"},[n("div",{staticClass:"noData"},[t._v("暂无数据")])]):t._e()],2)],1)},i=[],a=n("5778"),o={components:{tags:a["default"]},props:{data:{type:Array,default:function(){return[]}},tagsData:{type:Array,default:function(){return[]}}},data:function(){return{}},mounted:function(){},methods:{isShowJFRQ:function(t){return"趸缴"!=t.payment&&t.norenewal!=t.payendyear}}},A=o,s=(n("2907"),n("2877")),l=Object(s["a"])(A,r,i,!1,null,null,null);e["default"]=l.exports},"857a":function(t,e,n){var r=n("1d80"),i=/"/g;t.exports=function(t,e,n,a){var o=String(r(t)),A="<"+e;return""!==n&&(A+=" "+n+'="'+String(a).replace(i,""")+'"'),A+">"+o+"</"+e+">"}},8586:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-form",{ref:"genInfoForm",attrs:{model:t.info,rules:t.rules,"label-width":"150px"}},[n("el-row",[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{prop:"tplCategory"}},[n("span",{attrs:{slot:"label"},slot:"label"},[t._v("生成模板")]),n("el-select",{model:{value:t.info.tplCategory,callback:function(e){t.$set(t.info,"tplCategory",e)},expression:"info.tplCategory"}},[n("el-option",{attrs:{label:"单表(增删改查)",value:"crud"}}),n("el-option",{attrs:{label:"树表(增删改查)",value:"tree"}})],1)],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{prop:"packageName"}},[n("span",{attrs:{slot:"label"},slot:"label"},[t._v(" 生成包路径 "),n("el-tooltip",{attrs:{content:"生成在哪个java包下,例如 com.ruoyi.system",placement:"top"}},[n("i",{staticClass:"el-icon-question"})])],1),n("el-input",{model:{value:t.info.packageName,callback:function(e){t.$set(t.info,"packageName",e)},expression:"info.packageName"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{prop:"moduleName"}},[n("span",{attrs:{slot:"label"},slot:"label"},[t._v(" 生成模块名 "),n("el-tooltip",{attrs:{content:"可理解为子系统名,例如 system",placement:"top"}},[n("i",{staticClass:"el-icon-question"})])],1),n("el-input",{model:{value:t.info.moduleName,callback:function(e){t.$set(t.info,"moduleName",e)},expression:"info.moduleName"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{prop:"businessName"}},[n("span",{attrs:{slot:"label"},slot:"label"},[t._v(" 生成业务名 "),n("el-tooltip",{attrs:{content:"可理解为功能英文名,例如 user",placement:"top"}},[n("i",{staticClass:"el-icon-question"})])],1),n("el-input",{model:{value:t.info.businessName,callback:function(e){t.$set(t.info,"businessName",e)},expression:"info.businessName"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{prop:"functionName"}},[n("span",{attrs:{slot:"label"},slot:"label"},[t._v(" 生成功能名 "),n("el-tooltip",{attrs:{content:"用作类描述,例如 用户",placement:"top"}},[n("i",{staticClass:"el-icon-question"})])],1),n("el-input",{model:{value:t.info.functionName,callback:function(e){t.$set(t.info,"functionName",e)},expression:"info.functionName"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",[n("span",{attrs:{slot:"label"},slot:"label"},[t._v(" 上级菜单 "),n("el-tooltip",{attrs:{content:"分配到指定菜单下,例如 系统管理",placement:"top"}},[n("i",{staticClass:"el-icon-question"})])],1),n("treeselect",{attrs:{"append-to-body":!0,options:t.menus,normalizer:t.normalizer,"show-count":!0,placeholder:"请选择系统菜单"},model:{value:t.info.parentMenuId,callback:function(e){t.$set(t.info,"parentMenuId",e)},expression:"info.parentMenuId"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{prop:"genType"}},[n("span",{attrs:{slot:"label"},slot:"label"},[t._v(" 生成代码方式 "),n("el-tooltip",{attrs:{content:"默认为zip压缩包下载,也可以自定义生成路径",placement:"top"}},[n("i",{staticClass:"el-icon-question"})])],1),n("el-radio",{attrs:{label:"0"},model:{value:t.info.genType,callback:function(e){t.$set(t.info,"genType",e)},expression:"info.genType"}},[t._v("zip压缩包")]),n("el-radio",{attrs:{label:"1"},model:{value:t.info.genType,callback:function(e){t.$set(t.info,"genType",e)},expression:"info.genType"}},[t._v("自定义路径")])],1)],1),"1"==t.info.genType?n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{prop:"genPath"}},[n("span",{attrs:{slot:"label"},slot:"label"},[t._v(" 自定义路径 "),n("el-tooltip",{attrs:{content:"填写磁盘绝对路径,若不填写,则生成到当前Web项目下",placement:"top"}},[n("i",{staticClass:"el-icon-question"})])],1),n("el-input",{model:{value:t.info.genPath,callback:function(e){t.$set(t.info,"genPath",e)},expression:"info.genPath"}},[n("el-dropdown",{attrs:{slot:"append"},slot:"append"},[n("el-button",{attrs:{type:"primary"}},[t._v(" 最近路径快速选择 "),n("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("el-dropdown-item",{nativeOn:{click:function(e){t.info.genPath="/"}}},[t._v("恢复默认的生成基础路径")])],1)],1)],1)],1)],1):t._e()],1),n("el-row",{directives:[{name:"show",rawName:"v-show",value:"tree"==t.info.tplCategory,expression:"info.tplCategory == 'tree'"}]},[n("h4",{staticClass:"form-header"},[t._v("其他信息")]),n("el-col",{attrs:{span:12}},[n("el-form-item",[n("span",{attrs:{slot:"label"},slot:"label"},[t._v(" 树编码字段 "),n("el-tooltip",{attrs:{content:"树显示的编码字段名, 如:dept_id",placement:"top"}},[n("i",{staticClass:"el-icon-question"})])],1),n("el-select",{attrs:{placeholder:"请选择"},model:{value:t.info.treeCode,callback:function(e){t.$set(t.info,"treeCode",e)},expression:"info.treeCode"}},t._l(t.info.columns,(function(t){return n("el-option",{key:t.columnName,attrs:{label:t.columnName+":"+t.columnComment,value:t.columnName}})})),1)],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",[n("span",{attrs:{slot:"label"},slot:"label"},[t._v(" 树父编码字段 "),n("el-tooltip",{attrs:{content:"树显示的父编码字段名, 如:parent_Id",placement:"top"}},[n("i",{staticClass:"el-icon-question"})])],1),n("el-select",{attrs:{placeholder:"请选择"},model:{value:t.info.treeParentCode,callback:function(e){t.$set(t.info,"treeParentCode",e)},expression:"info.treeParentCode"}},t._l(t.info.columns,(function(t){return n("el-option",{key:t.columnName,attrs:{label:t.columnName+":"+t.columnComment,value:t.columnName}})})),1)],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",[n("span",{attrs:{slot:"label"},slot:"label"},[t._v(" 树名称字段 "),n("el-tooltip",{attrs:{content:"树节点的显示名称字段名, 如:dept_name",placement:"top"}},[n("i",{staticClass:"el-icon-question"})])],1),n("el-select",{attrs:{placeholder:"请选择"},model:{value:t.info.treeName,callback:function(e){t.$set(t.info,"treeName",e)},expression:"info.treeName"}},t._l(t.info.columns,(function(t){return n("el-option",{key:t.columnName,attrs:{label:t.columnName+":"+t.columnComment,value:t.columnName}})})),1)],1)],1)],1)],1)},i=[],a=n("ca17"),o=n.n(a),A=(n("542c"),{name:"BasicInfoForm",components:{Treeselect:o.a},props:{info:{type:Object,default:null},menus:{type:Array,default:[]}},data:function(){return{rules:{tplCategory:[{required:!0,message:"请选择生成模板",trigger:"blur"}],packageName:[{required:!0,message:"请输入生成包路径",trigger:"blur"}],moduleName:[{required:!0,message:"请输入生成模块名",trigger:"blur"}],businessName:[{required:!0,message:"请输入生成业务名",trigger:"blur"}],functionName:[{required:!0,message:"请输入生成功能名",trigger:"blur"}]}}},created:function(){},methods:{normalizer:function(t){return t.children&&!t.children.length&&delete t.children,{id:t.menuId,label:t.menuName,children:t.children}}}}),s=A,l=n("2877"),c=Object(l["a"])(s,r,i,!1,null,null,null);e["default"]=c.exports},"865e":function(t,e,n){},"89c7":function(t,e,n){var r=n("7037").default;n("ac1f"),n("1276"),n("a15b"),n("d3b7"),n("fb6a"),n("99af"),n("0481"),n("4069"),n("d81d"),n("b64b"),n("5319"),n("159b"),n("4de4"),n("b0c0"),n("25f0"),n("00b4"),n("a434"),n("7db0"),function(t,e){var n={str:function(t){return"string"===typeof t},und:function(t){return void 0===t},bol:function(t){return"boolean"===typeof t},true:function(t){return!0===t},num:function(t){return"number"===typeof t},finite:function(t){return this.num(t)&&isFinite(t)},null:function(t){return null===t},fun:function(t){return"function"===typeof t},arr:function(t){return Array.isArray(t)},obj:function(t){return null!==t&&"object"===r(t)&&"constructor"in t&&t.constructor===Object},emptyObj:function(t){return this.obj(t)&&0===t.length},emptyArr:function(t){return this.arr(t)&&0===t.length}};function i(t,e){var n,r,i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),a=[];if(e=e||i.length,t)for(n=0;n<t;n++)a[n]=i[0|Math.random()*e];else for(a[8]=a[13]=a[18]=a[23]="-",a[14]="4",n=0;n<36;n++)a[n]||(r=0|16*Math.random(),a[n]=i[19==n?3&r|8:r]);return a.join("")}var a=Object.prototype.toString;function o(t){return a.call(t).slice(8,-1)}function A(t){return[].slice.call(t)}function s(t){var e=this.toArray(t.classList);return n.emptyArr(e)?"":"."+e.join(".")}function l(t,n){if(!Element.prototype.isPrototypeOf(t))throw new TypeError(t+"is not a Element!");var r=this,i=function(){if(n instanceof HTMLElement)return[n];try{n=e.querySelectorAll(n)}catch(a){}var t=r.typeOf(n),i=["NodeList","HTMLCollection","Array"];return i.indexOf(t)>-1?r.toArray(n):void 0}();do{if(i.indexOf(t)>-1)return t;t=t.parentElement}while(null!==t);return null}function c(t,e){var n=this;return e=e||1,e>0?t.reduce((function(t,r){return t.concat(Array.isArray(r)?n.flat(r,e-1):r)}),[]):t.slice()}function u(t){if(t!==Object(t))throw new TypeError(t+"is a non-object");return Object.keys(t).map((function(e){return t[e]}))}function d(t,e){for(var n=0,r=t.length;n<r;n++){var i=t[n];if(e(i,n,t))return i}}function h(){var t=["hidden","webkitHidden","mozHidden"],n=["visibilityState","webkitVisibilityState","mozVisibilityState"],r=[t,n].map((function(t){return d(t,(function(t){return t in e}))}));return{hidden:r[0],visibilityState:r[1]}}function f(e,n,r){return r=r||null,t.getComputedStyle(e,r)[n]}function p(t){if(!t instanceof Element)throw new TypeError(t+"is not a Element");var e=this.computedStyle(t,"transform").replace(/\(|\)/g,"").split(","),n=e[0].indexOf("3d")>-1,r=n?e.slice(12,15):e.slice(4),i={x:0,y:0,z:0};return Object.keys(i).forEach((function(t,e){i[t]=parseFloat(r[e])||0})),i}function m(t,e){var n=0;return function(){var r=this,i=(new Date).valueOf();i-n>e&&(t.apply(r,arguments),n=i)}}function g(t,e){var r=this;n.und(t)&&(t={}),n.und(e)&&(e={}),Object.keys(e).forEach((function(i){n.und(t[i])?t[i]=e[i]:n.obj(e[i])&&r.extend(t[i],e[i])}))}var v={uuid:i,flat:c,find:d,values:u,typeOf:o,extend:g,throttle:m,closest:l,toArray:A,computedStyle:f,getTranslate:p,getClassSelector:s,pageVisibility:h()},_={toConnectorForm:function(t){var e=/[A-Z]/g,n=null,r="",i=function(){return"-"+r.toLowerCase()};while(null!==(n=e.exec(t)))r=n[0],t=t.replace(r,i());return t},normalizeCssObj:function(t){var e=this;Object.keys(t).forEach((function(n){var r=e.toConnectorForm(n);r!==n&&(t[r]=t[n],delete t[n])}))},removeUselessKey:function(t){Object.keys(t).forEach((function(e){n.und(t[e])&&delete t[e]}))},obtainAvailStyles:function(){var t=v.toArray(e.styleSheets),n=t.filter((function(t){return!t.disabled&&"STYLE"===t.ownerNode.tagName}));return n},insertCssText:function(t,e){e.forEach((function(e){t.insertRule(e,t.cssRules.length)}))},cssText:function(t,e){var n=Object.keys(t).map((function(e){return e+":"+t[e]+"!important;"})).join("");return e+"{"+n+"}"}};function y(t){if(!(this instanceof y?this.constructor:void 0))throw new TypeError("The constructor "+arguments.callee.name+' cannot be invoked widthout "new"');var e=this;this.cssParam=t,this.sheets=this.obtainAvailStyles(),this.lastSheet=this.getLastStyle(),this.computeCssObj=function(){var t=["Function","Object"],n=[e.exeCssFnSelf,e.generateCssObj],r=v.typeOf(e.cssParam),i=t.indexOf(r);return function(){return n[i].apply(e,arguments)}}(),this.init()}var b=Object.create(_);b.init=function(){var t=this.cssParam;n.obj(t)?this.initCssParam():n.fun(t)&&(this.willExeCssFn=this.cssParam)},b.getLastStyle=function(){var t=null;return n.emptyArr(this.sheets)?(t=e.createElement("style"),e.head.appendChild(t),this.sheets=this.obtainAvailStyles()):t=this.sheets[this.sheets.length-1],t},b.initCssParam=function(){var t=this.cssParam;this.removeUselessKey(t),this.normalizeCssObj(t)},b.exeCssFnSelf=function(){var t=this.willExeCssFn.apply(this,arguments);return this.normalizeCssObj(t),t},b.generateCssObj=function(){var t=this,e={},r=this.cssParam,i=arguments;return Object.keys(r).forEach((function(a){var o=r[a];if(n.fun(o))return t.willExeCssFn=o,void(e[a]=t.willExeCssFn.apply(t,i));e[a]=o})),e},y.prototype=b;var w={on:function(t,e){var r=this.eventStores;return n.und(r[t])?(r[t]=[e],!0):r[t].indexOf(e)>-1&&(r[t].push(e),!0)},once:function(t){function e(e,n){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t,e){this.eventStores;var n=this;once=function(){e.call(n),n.off(t,e)},once.source=e,this.on(t,once)})),trigger:function(t){var e=this.eventStores,r=this,i=v.toArray(arguments).slice(1);return!n.und(e[t])&&(e[t].forEach((function(t){t.apply(r,i)})),!0)},off:function(t,e){var r=this.eventStores,i=r[t];return!n.und(i)&&!n.emptyArr(i)&&(r[t]=i.filter((function(t){return t!==e||t.source!==e})),!0)}};function B(){for(var t=this,e=t.params,n=t.slides,r=n.length,i=n.mediant,a=n.dataAttrArr,o=n.dataSlideId,A=new y(e.css),s=[],l=0;l<r;l++){var c=l-i,u=Math.abs(c),d=a[l].dataSlideId,h="["+o+'="'+d+'"]',f=A.computeCssObj(c,u,l),p=A.cssText(f,h);s.push(p)}var m=A.lastSheet;A.insertCssText(m,s)}function x(){var t=this,e=t.wrapper,n=t.params.isClickSlide,r=v.toArray(e.children),i=r.length,a=Math.floor((i-1)/2),o=i-a,A=r.slice(o).concat(r.slice(0,o)),s="data-empile-slide-id",l="data-empile-slide-index",c=A.map((function(t,e){return{dataSlideId:v.uuid(14,16),dataSlideIndex:e}}));this.slides={list:A,originList:r,length:i,mediant:a,dataSlideId:s,dataSlideIndex:l,clickable:n,dataAttrArr:c}}function C(){var t=this,e=t.params,r=["on","once"].map((function(t){return{type:t,value:e[t]}}));function i(e){var r=null,i=e.value,a=e.type;n.obj(i)&&(r=Object.keys(i),r.length>0&&r.forEach((function(e){t[a](e,i[e])})))}r.forEach(i)}function k(){var t=this,e=t.params,r=e.pagination,i=/^[^.]+/,a=null,o="",A="";if(n.obj(r)&&(a=r.el,o=r.bulletClass,A=r.bulletActiveClass,i.test(A)&&i.test(o)&&a instanceof Element))return r.dots=v.toArray(a.querySelectorAll("."+o)),r.enable=!0,void(r.click=!0);e.pagination={enable:!1,click:!1}}var Q={initStyleRules:B,initSlidesInfo:x,initEventHandler:C,initPagination:k},E={slideChange:"slideChange"};function F(){var t=this,e=t.slides.dataAttrArr;e.push(e.shift()),t.update(),t.trigger(E.slideChange)}function U(){var t=this,e=t.slides.dataAttrArr;e.unshift(e.pop()),t.update(),t.trigger(E.slideChange)}function O(t){var e=this,r=e.slides,i=r.mediant,a=r.dataAttrArr;n.finite(+t)&&(t=r.originList[+t]);var o=+t.getAttribute(r.dataSlideIndex),A=i-o;r.dataAttrArr=a.splice(A).concat(a),e.update(),e.trigger(E.slideChange)}var S={slideToPrev:F,slideToNext:U,slideToSlide:O};function T(){var t=this,e=t.slides,n=e.dataAttrArr;e.list.forEach((function(t,r){t.setAttribute(e.dataSlideId,n[r].dataSlideId),t.setAttribute(e.dataSlideIndex,n[r].dataSlideIndex)}))}function I(t){var e=this,r=e.slides,i=r.originList,a=r.dataSlideIndex,o=r.mediant,A=null;n.und(t)?(A=v.find(i,(function(t){return+t.getAttribute(a)===o})),e.activeIndex=i.indexOf(A)):e.activeIndex=t}var D=function(){var t=this.params.pagination;if(t.enable){var e=t.bulletActiveClass,n=t.dots,r=v.find(n,(function(t){return t.classList.contains(e)}))||n[0];r.classList.remove(e),n[this.activeIndex].classList.add(e)}};function L(){this.updateSlideDataAttr(),this.updateActiveIndex(),this.updateDotsCss()}var P={updateSlideDataAttr:T,updateActiveIndex:I,updateDotsCss:D,update:L},N={Init:Q,EventDispatcher:w,SlideTo:S,Update:P},H={init:function(){var t=this,e=t.params.autoplay,r=0;if(n.bol(e))n.true(e)&&(r=4e3);else if(n.obj(e)){if(n.und(e.delay))throw new Error("autoplay.delay is not defined!");e.delay=r=parseFloat(e.delay)}return t.params.autoplay={delay:r},n.num(r)&&0!==r?(setTimeout((function(){t.autoplay.visibilityChange()}),0),function(){t.autoplay.run()}):function(){}},run:function(){var t=this,e=t.params.autoplay.delay;t.autoplay.stop(),t.autoplay.timer=setInterval((function(){t.slideToNext()}),e)},stop:function(){var t=this,e=t.params.autoplay.delay;return e?function(){clearInterval(t.autoplay.timer),t.autoplay.timer=void 0}:function(){}},visibilityChange:function(){var t=this,r=t.params.autoplay,i=r.docHiddenOff,a=v.pageVisibility.hidden,o=0;if(n.bol(i)){if(!n.true(i))return;o=2e3}else if(n.obj(i)){if(n.und(i.delay))throw new Error("docHiddenOff.delay is not defined!");i.delay=o=parseFloat(i.delay)}return r.docHiddenOff={delay:o},function(){var n=t.autoplay,r=null,i=!1,A=0===o?function(){n.stop()}:function(){i=!0,r=setTimeout((function(){n.stop()}),o)},s=0===o?function(){clearTimeout(r),n.init()}:function(){i&&(i=!1,clearTimeout(r),n.init())};e.addEventListener("visibilitychange",(function(){var t=e[a];t?A():s()}))}}},M={init:function(){var t=this;t.click.getCanClickEles(),n.emptyArr(t.click.canClickEles)||t.click.run()},run:function(){var t=this.wrapper,e=this.click.getClickFun();t.parentElement.addEventListener("click",e)},getClickFun:function(){var t=this,e=t.slides,r=e.mediant,i=e.originList,a=e.dataSlideIndex,o=t.click.canClickEles,A=t.params,s=A.navigation,l=A.pagination,c=l.dots,u=A.waitForTransition,d=parseFloat(v.computedStyle(e.list[0],"transition-duration")),h=1e3*d,f=function(e){var A=v.find(o,(function(t){return t===v.closest(e.target,t)}));if(!n.und(A)&&A.getAttribute(a)!=r)if(t.autoplay.stop(),A===s.prevEl)t.slideToPrev();else if(A===s.nextEl)t.slideToNext();else if(i.indexOf(A)>-1)t.slideToSlide(A);else{var l=c.indexOf(A);l>-1&&t.slideToSlide(i[l])}};return n.true(u)?v.throttle(f,h):f},getCanClickEles:function(){var t=this,e=t.slides,r=t.params.navigation,i=t.click.canClickEles,a=t.params.pagination;Object.keys(r).forEach((function(t){!n.null(r[t])&&i.push(r[t])})),n.true(e.clickable)&&i.push(e.list),n.true(a.clickable)&&a.dots.forEach((function(t){i.push(t)})),t.click.canClickEles=v.flat(i,1/0)}},j={isClickSlide:!1,waitForTransition:!1,autoplay:!1,navigation:{nextEl:null,prevEl:null},pagination:{el:null,bulletClass:"",bulletActiveClass:"",clickable:!1,enable:!1,dots:[]},css:{}},R=function(t,e){v.extend(e,j),this.params=e,this.wrapper=t,v.extend(this,{eventStores:{},autoplay:{visibilityChange:H.visibilityChange.call(this),init:H.init.call(this),run:H.run.bind(this),stop:H.stop.call(this)},click:{canClickEles:[],init:M.init.bind(this),run:M.run.bind(this),getClickFun:M.getClickFun.bind(this),getCanClickEles:M.getCanClickEles.bind(this)}}),this.init()};R.prototype.init=function(){var t=this;t.initSlidesInfo(),t.initStyleRules(),t.initEventHandler(),t.initPagination(),t.update(),t.autoplay.init(),t.click.init()},Object.keys(N).forEach((function(t){Object.keys(N[t]).forEach((function(e){!R.prototype[e]&&(R.prototype[e]=N[t][e])}))})),t.EmpileCssParser=y,t.Empile=R}(window,document)},"8aa7":function(t,e,n){var r=n("da84"),i=n("d039"),a=n("1c7e"),o=n("ebb5").NATIVE_ARRAY_BUFFER_VIEWS,A=r.ArrayBuffer,s=r.Int8Array;t.exports=!o||!i((function(){s(1)}))||!i((function(){new s(-1)}))||!a((function(t){new s,new s(null),new s(1.5),new s(t)}),!0)||i((function(){return 1!==new s(new A(2),1,void 0).length}))},9152:function(t,e){
- /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
- e.read=function(t,e,n,r,i){var a,o,A=8*i-r-1,s=(1<<A)-1,l=s>>1,c=-7,u=n?i-1:0,d=n?-1:1,h=t[e+u];for(u+=d,a=h&(1<<-c)-1,h>>=-c,c+=A;c>0;a=256*a+t[e+u],u+=d,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=r;c>0;o=256*o+t[e+u],u+=d,c-=8);if(0===a)a=1-l;else{if(a===s)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,r),a-=l}return(h?-1:1)*o*Math.pow(2,a-r)},e.write=function(t,e,n,r,i,a){var o,A,s,l=8*a-i-1,c=(1<<l)-1,u=c>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:a-1,f=r?1:-1,p=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(A=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-o))<1&&(o--,s*=2),e+=o+u>=1?d/s:d*Math.pow(2,1-u),e*s>=2&&(o++,s/=2),o+u>=c?(A=0,o=c):o+u>=1?(A=(e*s-1)*Math.pow(2,i),o+=u):(A=e*Math.pow(2,u-1)*Math.pow(2,i),o=0));i>=8;t[n+h]=255&A,h+=f,A/=256,i-=8);for(o=o<<i|A,l+=i;l>0;t[n+h]=255&o,h+=f,o/=256,l-=8);t[n+h-f]|=128*p}},9339:function(t,e,n){(function(e){
- /*!
- * Quill Editor v1.3.7
- * https://quilljs.com/
- * Copyright (c) 2014, Jason Chen
- * Copyright (c) 2013, salesforce.com
- */
- (function(e,n){t.exports=n()})("undefined"!==typeof self&&self,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=109)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(17),i=n(18),a=n(19),o=n(45),A=n(46),s=n(47),l=n(48),c=n(49),u=n(12),d=n(32),h=n(33),f=n(31),p=n(1),m={Scope:p.Scope,create:p.create,find:p.find,query:p.query,register:p.register,Container:r.default,Format:i.default,Leaf:a.default,Embed:l.default,Scroll:o.default,Block:s.default,Inline:A.default,Text:c.default,Attributor:{Attribute:u.default,Class:d.default,Style:h.default,Store:f.default}};e.default=m},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){function e(e){var n=this;return e="[Parchment] "+e,n=t.call(this,e)||this,n.message=e,n.name=n.constructor.name,n}return r(e,t),e}(Error);e.ParchmentError=i;var a,o={},A={},s={},l={};function c(t,e){var n=d(t);if(null==n)throw new i("Unable to create "+t+" blot");var r=n,a=t instanceof Node||t["nodeType"]===Node.TEXT_NODE?t:r.create(e);return new r(a,e)}function u(t,n){return void 0===n&&(n=!1),null==t?null:null!=t[e.DATA_KEY]?t[e.DATA_KEY].blot:n?u(t.parentNode,n):null}function d(t,e){var n;if(void 0===e&&(e=a.ANY),"string"===typeof t)n=l[t]||o[t];else if(t instanceof Text||t["nodeType"]===Node.TEXT_NODE)n=l["text"];else if("number"===typeof t)t&a.LEVEL&a.BLOCK?n=l["block"]:t&a.LEVEL&a.INLINE&&(n=l["inline"]);else if(t instanceof HTMLElement){var r=(t.getAttribute("class")||"").split(/\s+/);for(var i in r)if(n=A[r[i]],n)break;n=n||s[t.tagName]}return null==n?null:e&a.LEVEL&n.scope&&e&a.TYPE&n.scope?n:null}function h(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(t.length>1)return t.map((function(t){return h(t)}));var n=t[0];if("string"!==typeof n.blotName&&"string"!==typeof n.attrName)throw new i("Invalid definition");if("abstract"===n.blotName)throw new i("Cannot register abstract class");if(l[n.blotName||n.attrName]=n,"string"===typeof n.keyName)o[n.keyName]=n;else if(null!=n.className&&(A[n.className]=n),null!=n.tagName){Array.isArray(n.tagName)?n.tagName=n.tagName.map((function(t){return t.toUpperCase()})):n.tagName=n.tagName.toUpperCase();var r=Array.isArray(n.tagName)?n.tagName:[n.tagName];r.forEach((function(t){null!=s[t]&&null!=n.className||(s[t]=n)}))}return n}e.DATA_KEY="__blot",function(t){t[t["TYPE"]=3]="TYPE",t[t["LEVEL"]=12]="LEVEL",t[t["ATTRIBUTE"]=13]="ATTRIBUTE",t[t["BLOT"]=14]="BLOT",t[t["INLINE"]=7]="INLINE",t[t["BLOCK"]=11]="BLOCK",t[t["BLOCK_BLOT"]=10]="BLOCK_BLOT",t[t["INLINE_BLOT"]=6]="INLINE_BLOT",t[t["BLOCK_ATTRIBUTE"]=9]="BLOCK_ATTRIBUTE",t[t["INLINE_ATTRIBUTE"]=5]="INLINE_ATTRIBUTE",t[t["ANY"]=15]="ANY"}(a=e.Scope||(e.Scope={})),e.create=c,e.find=u,e.query=d,e.register=h},function(t,e,n){var r=n(51),i=n(11),a=n(3),o=n(20),A=String.fromCharCode(0),s=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};s.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},s.prototype["delete"]=function(t){return t<=0?this:this.push({delete:t})},s.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)},s.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=a(!0,{},t),"object"===typeof n){if("number"===typeof t["delete"]&&"number"===typeof n["delete"])return this.ops[e-1]={delete:n["delete"]+t["delete"]},this;if("number"===typeof n["delete"]&&null!=t.insert&&(e-=1,n=this.ops[e-1],"object"!==typeof n))return this.ops.unshift(t),this;if(i(t.attributes,n.attributes)){if("string"===typeof t.insert&&"string"===typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"===typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"===typeof t.retain&&"number"===typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"===typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},s.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},s.prototype.filter=function(t){return this.ops.filter(t)},s.prototype.forEach=function(t){this.ops.forEach(t)},s.prototype.map=function(t){return this.ops.map(t)},s.prototype.partition=function(t){var e=[],n=[];return this.forEach((function(r){var i=t(r)?e:n;i.push(r)})),[e,n]},s.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},s.prototype.changeLength=function(){return this.reduce((function(t,e){return e.insert?t+o.length(e):e.delete?t-e.delete:t}),0)},s.prototype.length=function(){return this.reduce((function(t,e){return t+o.length(e)}),0)},s.prototype.slice=function(t,e){t=t||0,"number"!==typeof e&&(e=1/0);var n=[],r=o.iterator(this.ops),i=0;while(i<e&&r.hasNext()){var a;i<t?a=r.next(t-i):(a=r.next(e-i),n.push(a)),i+=o.length(a)}return new s(n)},s.prototype.compose=function(t){var e=o.iterator(this.ops),n=o.iterator(t.ops),r=[],a=n.peek();if(null!=a&&"number"===typeof a.retain&&null==a.attributes){var A=a.retain;while("insert"===e.peekType()&&e.peekLength()<=A)A-=e.peekLength(),r.push(e.next());a.retain-A>0&&n.next(a.retain-A)}var l=new s(r);while(e.hasNext()||n.hasNext())if("insert"===n.peekType())l.push(n.next());else if("delete"===e.peekType())l.push(e.next());else{var c=Math.min(e.peekLength(),n.peekLength()),u=e.next(c),d=n.next(c);if("number"===typeof d.retain){var h={};"number"===typeof u.retain?h.retain=c:h.insert=u.insert;var f=o.attributes.compose(u.attributes,d.attributes,"number"===typeof u.retain);if(f&&(h.attributes=f),l.push(h),!n.hasNext()&&i(l.ops[l.ops.length-1],h)){var p=new s(e.rest());return l.concat(p).chop()}}else"number"===typeof d["delete"]&&"number"===typeof u.retain&&l.push(d)}return l.chop()},s.prototype.concat=function(t){var e=new s(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},s.prototype.diff=function(t,e){if(this.ops===t.ops)return new s;var n=[this,t].map((function(e){return e.map((function(n){if(null!=n.insert)return"string"===typeof n.insert?n.insert:A;var r=e===t?"on":"with";throw new Error("diff() called "+r+" non-document")})).join("")})),a=new s,l=r(n[0],n[1],e),c=o.iterator(this.ops),u=o.iterator(t.ops);return l.forEach((function(t){var e=t[1].length;while(e>0){var n=0;switch(t[0]){case r.INSERT:n=Math.min(u.peekLength(),e),a.push(u.next(n));break;case r.DELETE:n=Math.min(e,c.peekLength()),c.next(n),a["delete"](n);break;case r.EQUAL:n=Math.min(c.peekLength(),u.peekLength(),e);var A=c.next(n),s=u.next(n);i(A.insert,s.insert)?a.retain(n,o.attributes.diff(A.attributes,s.attributes)):a.push(s)["delete"](n);break}e-=n}})),a.chop()},s.prototype.eachLine=function(t,e){e=e||"\n";var n=o.iterator(this.ops),r=new s,i=0;while(n.hasNext()){if("insert"!==n.peekType())return;var a=n.peek(),A=o.length(a)-n.peekLength(),l="string"===typeof a.insert?a.insert.indexOf(e,A)-A:-1;if(l<0)r.push(n.next());else if(l>0)r.push(n.next(l));else{if(!1===t(r,n.next(1).attributes||{},i))return;i+=1,r=new s}}r.length()>0&&t(r,{},i)},s.prototype.transform=function(t,e){if(e=!!e,"number"===typeof t)return this.transformPosition(t,e);var n=o.iterator(this.ops),r=o.iterator(t.ops),i=new s;while(n.hasNext()||r.hasNext())if("insert"!==n.peekType()||!e&&"insert"===r.peekType())if("insert"===r.peekType())i.push(r.next());else{var a=Math.min(n.peekLength(),r.peekLength()),A=n.next(a),l=r.next(a);if(A["delete"])continue;l["delete"]?i.push(l):i.retain(a,o.attributes.transform(A.attributes,l.attributes,e))}else i.retain(o.length(n.next()));return i.chop()},s.prototype.transformPosition=function(t,e){e=!!e;var n=o.iterator(this.ops),r=0;while(n.hasNext()&&r<=t){var i=n.peekLength(),a=n.peekType();n.next(),"delete"!==a?("insert"===a&&(r<t||!e)&&(t+=i),r+=i):t-=Math.min(i,t-r)}return t},t.exports=s},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(t){return"function"===typeof Array.isArray?Array.isArray(t):"[object Array]"===r.call(t)},A=function(t){if(!t||"[object Object]"!==r.call(t))return!1;var e,i=n.call(t,"constructor"),a=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!i&&!a)return!1;for(e in t);return"undefined"===typeof e||n.call(t,e)},s=function(t,e){i&&"__proto__"===e.name?i(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},l=function(t,e){if("__proto__"===e){if(!n.call(t,e))return;if(a)return a(t,e).value}return t[e]};t.exports=function t(){var e,n,r,i,a,c,u=arguments[0],d=1,h=arguments.length,f=!1;for("boolean"===typeof u&&(f=u,u=arguments[1]||{},d=2),(null==u||"object"!==typeof u&&"function"!==typeof u)&&(u={});d<h;++d)if(e=arguments[d],null!=e)for(n in e)r=l(u,n),i=l(e,n),u!==i&&(f&&i&&(A(i)||(a=o(i)))?(a?(a=!1,c=r&&o(r)?r:[]):c=r&&A(r)?r:{},s(u,{name:n,newValue:t(f,c,i)})):"undefined"!==typeof i&&s(u,{name:n,newValue:i}));return u}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=n(3),o=g(a),A=n(2),s=g(A),l=n(0),c=g(l),u=n(16),d=g(u),h=n(6),f=g(h),p=n(7),m=g(p);function g(t){return t&&t.__esModule?t:{default:t}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function y(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var b=1,w=function(t){function e(){return v(this,e),_(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return y(e,t),r(e,[{key:"attach",value:function(){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"attach",this).call(this),this.attributes=new c.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new s.default).insert(this.value(),(0,o.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(t,e){var n=c.default.query(t,c.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,e)}},{key:"formatAt",value:function(t,e,n,r){this.format(n,r)}},{key:"insertAt",value:function(t,n,r){if("string"===typeof n&&n.endsWith("\n")){var a=c.default.create(B.blotName);this.parent.insertBefore(a,0===t?this:this.next),a.insertAt(0,n.slice(0,-1))}else i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r)}}]),e}(c.default.Embed);w.scope=c.default.Scope.BLOCK_BLOT;var B=function(t){function e(t){v(this,e);var n=_(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.cache={},n}return y(e,t),r(e,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(c.default.Leaf).reduce((function(t,e){return 0===e.length()?t:t.insert(e.value(),x(e))}),new s.default).insert("\n",x(this))),this.cache.delta}},{key:"deleteAt",value:function(t,n){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),this.cache={}}},{key:"formatAt",value:function(t,n,r,a){n<=0||(c.default.query(r,c.default.Scope.BLOCK)?t+n===this.length()&&this.format(r,a):i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,Math.min(n,this.length()-t-1),r,a),this.cache={})}},{key:"insertAt",value:function(t,n,r){if(null!=r)return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r);if(0!==n.length){var a=n.split("\n"),o=a.shift();o.length>0&&(t<this.length()-1||null==this.children.tail?i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,Math.min(t,this.length()-1),o):this.children.tail.insertAt(this.children.tail.length(),o),this.cache={});var A=this;a.reduce((function(t,e){return A=A.split(t,!0),A.insertAt(0,e),e.length}),t+o.length)}}},{key:"insertBefore",value:function(t,n){var r=this.children.head;i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n),r instanceof d.default&&r.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"length",this).call(this)+b),this.cache.length}},{key:"moveChildren",value:function(t,n){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"moveChildren",this).call(this,t,n),this.cache={}}},{key:"optimize",value:function(t){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.cache={}}},{key:"path",value:function(t){return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t,!0)}},{key:"removeChild",value:function(t){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"removeChild",this).call(this,t),this.cache={}}},{key:"split",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===t||t>=this.length()-b)){var r=this.clone();return 0===t?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var a=i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,n);return this.cache={},a}}]),e}(c.default.Block);function x(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"===typeof t.formats&&(e=(0,o.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:x(t.parent,e))}B.blotName="block",B.tagName="P",B.defaultChild="break",B.allowedChildren=[f.default,c.default.Embed,m.default],e.bubbleFormats=x,e.BlockEmbed=w,e.default=B},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var o,A=t[Symbol.iterator]();!(r=(o=A.next()).done);r=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){i=!0,a=s}finally{try{!r&&A["return"]&&A["return"]()}finally{if(i)throw a}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();n(50);var o=n(2),A=x(o),s=n(14),l=x(s),c=n(8),u=x(c),d=n(9),h=x(d),f=n(0),p=x(f),m=n(15),g=x(m),v=n(3),_=x(v),y=n(10),b=x(y),w=n(34),B=x(w);function x(t){return t&&t.__esModule?t:{default:t}}function C(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function k(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Q=(0,b.default)("quill"),E=function(){function t(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(k(this,t),this.options=F(e,r),this.container=this.options.container,null==this.container)return Q.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var i=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new u.default,this.scroll=p.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new l.default(this.scroll),this.selection=new g.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(u.default.events.EDITOR_CHANGE,(function(t){t===u.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(u.default.events.SCROLL_UPDATE,(function(t,e){var r=n.selection.lastRange,i=r&&0===r.length?r.index:void 0;U.call(n,(function(){return n.editor.update(null,e,i)}),t)}));var a=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+i+"<p><br></p></div>");this.setContents(a),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return a(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),b.default.level(t)}},{key:"find",value:function(t){return t.__quill||p.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&Q.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!==typeof t){var i=t.attrName||t.blotName;"string"===typeof i?this.register("formats/"+i,t,e):Object.keys(t).forEach((function(r){n.register(r,t[r],e)}))}else null==this.imports[t]||r||Q.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?p.default.register(e):t.startsWith("modules")&&"function"===typeof e.register&&e.register()}}]),a(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof t){var n=t;t=document.createElement("div"),t.classList.add(n)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,n){var r=this,a=O(t,e,n),o=i(a,4);return t=o[0],e=o[1],n=o[3],U.call(this,(function(){return r.editor.deleteText(t,e)}),n,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.default.sources.API;return U.call(this,(function(){var r=n.getSelection(!0),i=new A.default;if(null==r)return i;if(p.default.query(t,p.default.Scope.BLOCK))i=n.editor.formatLine(r.index,r.length,C({},t,e));else{if(0===r.length)return n.selection.format(t,e),i;i=n.editor.formatText(r.index,r.length,C({},t,e))}return n.setSelection(r,u.default.sources.SILENT),i}),r)}},{key:"formatLine",value:function(t,e,n,r,a){var o=this,A=void 0,s=O(t,e,n,r,a),l=i(s,4);return t=l[0],e=l[1],A=l[2],a=l[3],U.call(this,(function(){return o.editor.formatLine(t,e,A)}),a,t,0)}},{key:"formatText",value:function(t,e,n,r,a){var o=this,A=void 0,s=O(t,e,n,r,a),l=i(s,4);return t=l[0],e=l[1],A=l[2],a=l[3],U.call(this,(function(){return o.editor.formatText(t,e,A)}),a,t,0)}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"===typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length);var r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=O(t,e),r=i(n,2);return t=r[0],e=r[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"===typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!==typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=O(t,e),r=i(n,2);return t=r[0],e=r[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,n,r){var i=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return U.call(this,(function(){return i.editor.insertEmbed(e,n,r)}),a,e)}},{key:"insertText",value:function(t,e,n,r,a){var o=this,A=void 0,s=O(t,0,n,r,a),l=i(s,4);return t=l[0],A=l[2],a=l[3],U.call(this,(function(){return o.editor.insertText(t,e,A)}),a,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,n){this.clipboard.dangerouslyPasteHTML(t,e,n)}},{key:"removeFormat",value:function(t,e,n){var r=this,a=O(t,e,n),o=i(a,4);return t=o[0],e=o[1],n=o[3],U.call(this,(function(){return r.editor.removeFormat(t,e)}),n,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.default.sources.API;return U.call(this,(function(){t=new A.default(t);var n=e.getLength(),r=e.editor.deleteText(0,n),i=e.editor.applyDelta(t),a=i.ops[i.ops.length-1];null!=a&&"string"===typeof a.insert&&"\n"===a.insert[a.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),i.delete(1));var o=r.compose(i);return o}),n)}},{key:"setSelection",value:function(e,n,r){if(null==e)this.selection.setRange(null,n||t.sources.API);else{var a=O(e,n,r),o=i(a,4);e=o[0],n=o[1],r=o[3],this.selection.setRange(new m.Range(e,n),r),r!==u.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.default.sources.API,n=(new A.default).insert(t);return this.setContents(n,e)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:"updateContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.default.sources.API;return U.call(this,(function(){return t=new A.default(t),e.editor.applyDelta(t,n)}),n,!0)}}]),t}();function F(t,e){if(e=(0,_.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e),e.theme&&e.theme!==E.DEFAULTS.theme){if(e.theme=E.import("themes/"+e.theme),null==e.theme)throw new Error("Invalid theme "+e.theme+". Did you register it?")}else e.theme=B.default;var n=(0,_.default)(!0,{},e.theme.DEFAULTS);[n,e].forEach((function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach((function(e){!0===t.modules[e]&&(t.modules[e]={})}))}));var r=Object.keys(n.modules).concat(Object.keys(e.modules)),i=r.reduce((function(t,e){var n=E.import("modules/"+e);return null==n?Q.error("Cannot load "+e+" module. Are you sure you registered it?"):t[e]=n.DEFAULTS||{},t}),{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,_.default)(!0,{},E.DEFAULTS,{modules:i},n,e),["bounds","container","scrollingContainer"].forEach((function(t){"string"===typeof e[t]&&(e[t]=document.querySelector(e[t]))})),e.modules=Object.keys(e.modules).reduce((function(t,n){return e.modules[n]&&(t[n]=e.modules[n]),t}),{}),e}function U(t,e,n,r){if(this.options.strict&&!this.isEnabled()&&e===u.default.sources.USER)return new A.default;var i=null==n?null:this.getSelection(),a=this.editor.delta,o=t();if(null!=i&&(!0===n&&(n=i.index),null==r?i=S(i,o,e):0!==r&&(i=S(i,n,r,e)),this.setSelection(i,u.default.sources.SILENT)),o.length()>0){var s,l,c=[u.default.events.TEXT_CHANGE,o,a,e];if((s=this.emitter).emit.apply(s,[u.default.events.EDITOR_CHANGE].concat(c)),e!==u.default.sources.SILENT)(l=this.emitter).emit.apply(l,c)}return o}function O(t,e,n,i,a){var o={};return"number"===typeof t.index&&"number"===typeof t.length?"number"!==typeof e?(a=i,i=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!==typeof e&&(a=i,i=n,n=e,e=0),"object"===("undefined"===typeof n?"undefined":r(n))?(o=n,a=i):"string"===typeof n&&(null!=i?o[n]=i:a=n),a=a||u.default.sources.API,[t,e,o,a]}function S(t,e,n,r){if(null==t)return null;var a=void 0,o=void 0;if(e instanceof A.default){var s=[t.index,t.index+t.length].map((function(t){return e.transformPosition(t,r!==u.default.sources.USER)})),l=i(s,2);a=l[0],o=l[1]}else{var c=[t.index,t.index+t.length].map((function(t){return t<e||t===e&&r===u.default.sources.USER?t:n>=0?t+n:Math.max(e,t+n)})),d=i(c,2);a=d[0],o=d[1]}return new m.Range(a,o-a)}E.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},E.events=u.default.events,E.sources=u.default.sources,E.version="1.3.7",E.imports={delta:A.default,parchment:p.default,"core/module":h.default,"core/theme":B.default},e.expandConfig=F,e.overload=O,e.default=E},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=n(7),o=l(a),A=n(0),s=l(A);function l(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return c(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,t),r(e,[{key:"formatAt",value:function(t,n,r,a){if(e.compare(this.statics.blotName,r)<0&&s.default.query(r,s.default.Scope.BLOT)){var o=this.isolate(t,n);a&&o.wrap(r,a)}else i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,r,a)}},{key:"optimize",value:function(t){if(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.parent instanceof e&&e.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(t,n){var r=e.order.indexOf(t),i=e.order.indexOf(n);return r>=0||i>=0?r-i:t===n?0:t<n?-1:1}}]),e}(s.default.Inline);h.allowedChildren=[h,s.default.Embed,o.default],h.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var l=function(t){function e(){return o(this,e),A(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(i.default.Text);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=n(54),o=l(a),A=n(10),s=l(A);function l(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=(0,s.default)("quill:events"),f=["selectionchange","mousedown","mouseup","click"];f.forEach((function(t){document.addEventListener(t,(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(t){var n;t.__quill&&t.__quill.emitter&&(n=t.__quill.emitter).handleDOM.apply(n,e)}))}))}));var p=function(t){function e(){c(this,e);var t=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.listeners={},t.on("error",h.error),t}return d(e,t),r(e,[{key:"emit",value:function(){h.log.apply(h,arguments),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];(this.listeners[t.type]||[]).forEach((function(e){var r=e.node,i=e.handler;(t.target===r||r.contains(t.target))&&i.apply(void 0,[t].concat(n))}))}},{key:"listenDOM",value:function(t,e,n){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push({node:e,handler:n})}}]),e}(o.default);p.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},p.sources={API:"api",SILENT:"silent",USER:"user"},e.default=p},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,t),this.quill=e,this.options=n};i.DEFAULTS={},e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=["error","warn","log","info"],i="warn";function a(t){if(r.indexOf(t)<=r.indexOf(i)){for(var e,n=arguments.length,a=Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];(e=console)[t].apply(e,a)}}function o(t){return r.reduce((function(e,n){return e[n]=a.bind(console,n,t),e}),{})}a.level=o.level=function(t){i=t},e.default=o},function(t,e,n){var r=Array.prototype.slice,i=n(52),a=n(53),o=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?n.strict?t===e:t==e:l(t,e,n))};function A(t){return null===t||void 0===t}function s(t){return!(!t||"object"!==typeof t||"number"!==typeof t.length)&&("function"===typeof t.copy&&"function"===typeof t.slice&&!(t.length>0&&"number"!==typeof t[0]))}function l(t,e,n){var l,c;if(A(t)||A(e))return!1;if(t.prototype!==e.prototype)return!1;if(a(t))return!!a(e)&&(t=r.call(t),e=r.call(e),o(t,e,n));if(s(t)){if(!s(e))return!1;if(t.length!==e.length)return!1;for(l=0;l<t.length;l++)if(t[l]!==e[l])return!1;return!0}try{var u=i(t),d=i(e)}catch(h){return!1}if(u.length!=d.length)return!1;for(u.sort(),d.sort(),l=u.length-1;l>=0;l--)if(u[l]!=d[l])return!1;for(l=u.length-1;l>=0;l--)if(c=u[l],!o(t[c],e[c],n))return!1;return typeof t===typeof e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(){function t(t,e,n){void 0===n&&(n={}),this.attrName=t,this.keyName=e;var i=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|i:this.scope=r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,(function(t){return t.name}))},t.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},t.prototype.canAdd=function(t,e){var n=r.query(t,r.Scope.BLOT&(this.scope|r.Scope.TYPE));return null!=n&&(null==this.whitelist||("string"===typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var r=function(){function t(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var o,A=t[Symbol.iterator]();!(r=(o=A.next()).done);r=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){i=!0,a=s}finally{try{!r&&A["return"]&&A["return"]()}finally{if(i)throw a}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},o=n(2),A=m(o),s=n(0),l=m(s),c=n(4),u=m(c),d=n(6),h=m(d),f=n(7),p=m(f);function m(t){return t&&t.__esModule?t:{default:t}}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function _(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=function(t){function e(){return g(this,e),v(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return _(e,t),e}(h.default);y.blotName="code",y.tagName="CODE";var b=function(t){function e(){return g(this,e),v(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return _(e,t),i(e,[{key:"delta",value:function(){var t=this,e=this.domNode.textContent;return e.endsWith("\n")&&(e=e.slice(0,-1)),e.split("\n").reduce((function(e,n){return e.insert(n).insert("\n",t.formats())}),new A.default)}},{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n){var i=this.descendant(p.default,this.length()-1),o=r(i,1),A=o[0];null!=A&&A.deleteAt(A.length()-1,1),a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}},{key:"formatAt",value:function(t,n,r,i){if(0!==n&&null!=l.default.query(r,l.default.Scope.BLOCK)&&(r!==this.statics.blotName||i!==this.statics.formats(this.domNode))){var a=this.newlineIndex(t);if(!(a<0||a>=t+n)){var o=this.newlineIndex(t,!0)+1,A=a-o+1,s=this.isolate(o,A),c=s.next;s.format(r,i),c instanceof e&&c.formatAt(0,t-o+n-A,r,i)}}}},{key:"insertAt",value:function(t,e,n){if(null==n){var i=this.descendant(p.default,t),a=r(i,2),o=a[0],A=a[1];o.insertAt(A,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var n=this.domNode.textContent.slice(t).indexOf("\n");return n>-1?t+n:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(l.default.create("text","\n")),a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(t),n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(t){var e=l.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof l.default.Embed?e.remove():e.unwrap()}))}}],[{key:"create",value:function(t){var n=a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),e}(u.default);b.blotName="code-block",b.tagName="PRE",b.TAB=" ",e.Code=y,e.default=b},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var o,A=t[Symbol.iterator]();!(r=(o=A.next()).done);r=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){i=!0,a=s}finally{try{!r&&A["return"]&&A["return"]()}finally{if(i)throw a}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n(2),A=k(o),s=n(20),l=k(s),c=n(0),u=k(c),d=n(13),h=k(d),f=n(24),p=k(f),m=n(4),g=k(m),v=n(16),_=k(v),y=n(21),b=k(y),w=n(11),B=k(w),x=n(3),C=k(x);function k(t){return t&&t.__esModule?t:{default:t}}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var F=/^[ -~]*$/,U=function(){function t(e){E(this,t),this.scroll=e,this.delta=this.getDelta()}return a(t,[{key:"applyDelta",value:function(t){var e=this,n=!1;this.scroll.update();var a=this.scroll.length();return this.scroll.batchStart(),t=S(t),t.reduce((function(t,o){var A=o.retain||o.delete||o.insert.length||1,s=o.attributes||{};if(null!=o.insert){if("string"===typeof o.insert){var c=o.insert;c.endsWith("\n")&&n&&(n=!1,c=c.slice(0,-1)),t>=a&&!c.endsWith("\n")&&(n=!0),e.scroll.insertAt(t,c);var d=e.scroll.line(t),h=i(d,2),f=h[0],p=h[1],v=(0,C.default)({},(0,m.bubbleFormats)(f));if(f instanceof g.default){var _=f.descendant(u.default.Leaf,p),y=i(_,1),b=y[0];v=(0,C.default)(v,(0,m.bubbleFormats)(b))}s=l.default.attributes.diff(v,s)||{}}else if("object"===r(o.insert)){var w=Object.keys(o.insert)[0];if(null==w)return t;e.scroll.insertAt(t,w,o.insert[w])}a+=A}return Object.keys(s).forEach((function(n){e.scroll.formatAt(t,A,n,s[n])})),t+A}),0),t.reduce((function(t,n){return"number"===typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new A.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach((function(i){if(null==n.scroll.whitelist||n.scroll.whitelist[i]){var a=n.scroll.lines(t,Math.max(e,1)),o=e;a.forEach((function(e){var a=e.length();if(e instanceof h.default){var A=t-e.offset(n.scroll),s=e.newlineIndex(A+o)-A+1;e.formatAt(A,s,i,r[i])}else e.format(i,r[i]);o-=a}))}})),this.scroll.optimize(),this.update((new A.default).retain(t).retain(e,(0,b.default)(r)))}},{key:"formatText",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach((function(i){n.scroll.formatAt(t,e,i,r[i])})),this.update((new A.default).retain(t).retain(e,(0,b.default)(r)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(t,e){return t.concat(e.delta())}),new A.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===e?this.scroll.path(t).forEach((function(t){var e=i(t,1),a=e[0];a instanceof g.default?n.push(a):a instanceof u.default.Leaf&&r.push(a)})):(n=this.scroll.lines(t,e),r=this.scroll.descendants(u.default.Leaf,t,e));var a=[n,r].map((function(t){if(0===t.length)return{};var e=(0,m.bubbleFormats)(t.shift());while(Object.keys(e).length>0){var n=t.shift();if(null==n)return e;e=O((0,m.bubbleFormats)(n),e)}return e}));return C.default.apply(C.default,a)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter((function(t){return"string"===typeof t.insert})).map((function(t){return t.insert})).join("")}},{key:"insertEmbed",value:function(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new A.default).retain(t).insert(Q({},e,n)))}},{key:"insertText",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(r).forEach((function(i){n.scroll.formatAt(t,e.length,i,r[i])})),this.update((new A.default).retain(t).insert(e,(0,b.default)(r)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===g.default.blotName&&(!(t.children.length>1)&&t.children.head instanceof _.default)}},{key:"removeFormat",value:function(t,e){var n=this.getText(t,e),r=this.scroll.line(t+e),a=i(r,2),o=a[0],s=a[1],l=0,c=new A.default;null!=o&&(l=o instanceof h.default?o.newlineIndex(s)-s+1:o.length()-s,c=o.delta().slice(s,s+l-1).insert("\n"));var u=this.getContents(t,e+l),d=u.diff((new A.default).insert(n).concat(c)),f=(new A.default).retain(t).concat(d);return this.applyDelta(f)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(F)&&u.default.find(e[0].target)){var i=u.default.find(e[0].target),a=(0,m.bubbleFormats)(i),o=i.offset(this.scroll),s=e[0].oldValue.replace(p.default.CONTENTS,""),l=(new A.default).insert(s),c=(new A.default).insert(i.value()),d=(new A.default).retain(o).concat(l.diff(c,n));t=d.reduce((function(t,e){return e.insert?t.insert(e.insert,a):t.push(e)}),new A.default),this.delta=r.compose(t)}else this.delta=this.getDelta(),t&&(0,B.default)(r.compose(t),this.delta)||(t=r.diff(this.delta,n));return t}}]),t}();function O(t,e){return Object.keys(e).reduce((function(n,r){return null==t[r]||(e[r]===t[r]?n[r]=e[r]:Array.isArray(e[r])?e[r].indexOf(t[r])<0&&(n[r]=e[r].concat([t[r]])):n[r]=[e[r],t[r]]),n}),{})}function S(t){return t.reduce((function(t,e){if(1===e.insert){var n=(0,b.default)(e.attributes);return delete n["image"],t.insert({image:e.attributes.image},n)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||(e=(0,b.default)(e),e.attributes.list?e.attributes.list="ordered":(e.attributes.list="bullet",delete e.attributes.bullet)),"string"===typeof e.insert){var r=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(r,e.attributes)}return t.push(e)}),new A.default)}e.default=U},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Range=void 0;var r=function(){function t(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var o,A=t[Symbol.iterator]();!(r=(o=A.next()).done);r=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){i=!0,a=s}finally{try{!r&&A["return"]&&A["return"]()}finally{if(i)throw a}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(0),o=p(a),A=n(21),s=p(A),l=n(11),c=p(l),u=n(8),d=p(u),h=n(10),f=p(h);function p(t){return t&&t.__esModule?t:{default:t}}function m(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var v=(0,f.default)("quill:selection"),_=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;g(this,t),this.index=e,this.length=n},y=function(){function t(e,n){var r=this;g(this,t),this.emitter=n,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=o.default.create("cursor",this),this.lastRange=this.savedRange=new _(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){r.mouseDown||setTimeout(r.update.bind(r,d.default.sources.USER),1)})),this.emitter.on(d.default.events.EDITOR_CHANGE,(function(t,e){t===d.default.events.TEXT_CHANGE&&e.length()>0&&r.update(d.default.sources.SILENT)})),this.emitter.on(d.default.events.SCROLL_BEFORE_UPDATE,(function(){if(r.hasFocus()){var t=r.getNativeRange();null!=t&&t.start.node!==r.cursor.textNode&&r.emitter.once(d.default.events.SCROLL_UPDATE,(function(){try{r.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(e){}}))}})),this.emitter.on(d.default.events.SCROLL_OPTIMIZE,(function(t,e){if(e.range){var n=e.range,i=n.startNode,a=n.startOffset,o=n.endNode,A=n.endOffset;r.setNativeRange(i,a,o,A)}})),this.update(d.default.sources.SILENT)}return i(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",(function(){t.composing=!0})),this.root.addEventListener("compositionend",(function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout((function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,(function(){t.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){t.mouseDown=!1,t.update(d.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!o.default.query(t,o.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=o.default.find(n.start.node,!1);if(null==r)return;if(r instanceof o.default.Leaf){var i=r.split(n.start.offset);r.parent.insertBefore(this.cursor,i)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;var i=void 0,a=this.scroll.leaf(t),o=r(a,2),A=o[0],s=o[1];if(null==A)return null;var l=A.position(s,!0),c=r(l,2);i=c[0],s=c[1];var u=document.createRange();if(e>0){u.setStart(i,s);var d=this.scroll.leaf(t+e),h=r(d,2);if(A=h[0],s=h[1],null==A)return null;var f=A.position(s,!0),p=r(f,2);return i=p[0],s=p[1],u.setEnd(i,s),u.getBoundingClientRect()}var m="left",g=void 0;return i instanceof Text?(s<i.data.length?(u.setStart(i,s),u.setEnd(i,s+1)):(u.setStart(i,s-1),u.setEnd(i,s),m="right"),g=u.getBoundingClientRect()):(g=A.domNode.getBoundingClientRect(),s>0&&(m="right")),{bottom:g.top+g.height,height:g.height,left:g[m],right:g[m],top:g.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return v.info("getNativeRange",n),n}},{key:"getRange",value:function(){var t=this.getNativeRange();if(null==t)return[null,null];var e=this.normalizedToRange(t);return[e,t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var i=n.map((function(t){var n=r(t,2),i=n[0],a=n[1],A=o.default.find(i,!0),s=A.offset(e.scroll);return 0===a?s:A instanceof o.default.Container?s+A.length():s+A.index(i,a)})),a=Math.min(Math.max.apply(Math,m(i)),this.scroll.length()-1),A=Math.min.apply(Math,[a].concat(m(i)));return new _(A,a-A)}},{key:"normalizeNative",value:function(t){if(!b(this.root,t.startContainer)||!t.collapsed&&!b(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach((function(t){var e=t.node,n=t.offset;while(!(e instanceof Text)&&e.childNodes.length>0)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;e=e.lastChild,n=e instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n})),e}},{key:"rangeToNative",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],i=[],a=this.scroll.length();return n.forEach((function(t,n){t=Math.min(a-1,t);var o=void 0,A=e.scroll.leaf(t),s=r(A,2),l=s[0],c=s[1],u=l.position(c,0!==n),d=r(u,2);o=d[0],c=d[1],i.push(o,c)})),i.length<2&&(i=i.concat(i)),i}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var i=this.scroll.length()-1,a=this.scroll.line(Math.min(e.index,i)),o=r(a,1),A=o[0],s=A;if(e.length>0){var l=this.scroll.line(Math.min(e.index+e.length,i)),c=r(l,1);s=c[0]}if(null!=A&&null!=s){var u=t.getBoundingClientRect();n.top<u.top?t.scrollTop-=u.top-n.top:n.bottom>u.bottom&&(t.scrollTop+=n.bottom-u.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(v.info("setNativeRange",t,e,n,r),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=n.parentNode){var a=document.getSelection();if(null!=a)if(null!=t){this.hasFocus()||this.root.focus();var o=(this.getNativeRange()||{}).native;if(null==o||i||t!==o.startContainer||e!==o.startOffset||n!==o.endContainer||r!==o.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var A=document.createRange();A.setStart(t,e),A.setEnd(n,r),a.removeAllRanges(),a.addRange(A)}}else a.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.default.sources.API;if("string"===typeof e&&(n=e,e=!1),v.info("setRange",t),null!=t){var r=this.rangeToNative(t);this.setNativeRange.apply(this,m(r).concat([e]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default.sources.USER,e=this.lastRange,n=this.getRange(),i=r(n,2),a=i[0],o=i[1];if(this.lastRange=a,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,c.default)(e,this.lastRange)){var A;!this.composing&&null!=o&&o.native.collapsed&&o.start.node!==this.cursor.textNode&&this.cursor.restore();var l,u=[d.default.events.SELECTION_CHANGE,(0,s.default)(this.lastRange),(0,s.default)(e),t];if((A=this.emitter).emit.apply(A,[d.default.events.EDITOR_CHANGE].concat(u)),t!==d.default.sources.SILENT)(l=this.emitter).emit.apply(l,u)}}}]),t}();function b(t,e){try{e.parentNode}catch(n){return!1}return e instanceof Text&&(e=e.parentNode),t.contains(e)}e.Range=_,e.default=y},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=n(0),o=A(a);function A(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),r(e,[{key:"insertInto",value:function(t,n){0===t.children.length?i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertInto",this).call(this,t,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),e}(o.default.Embed);u.blotName="break",u.tagName="BR",e.default=u},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(44),a=n(30),o=n(1),A=function(t){function e(e){var n=t.call(this,e)||this;return n.build(),n}return r(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach((function(t){t.attach()}))},e.prototype.build=function(){var t=this;this.children=new i.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(e){try{var n=s(e);t.insertBefore(n,t.children.head||void 0)}catch(r){if(r instanceof o.ParchmentError)return;throw r}}))},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,(function(t,e,n){t.deleteAt(e,n)}))},e.prototype.descendant=function(t,n){var r=this.children.find(n),i=r[0],a=r[1];return null==t.blotName&&t(i)||null!=t.blotName&&i instanceof t?[i,a]:i instanceof e?i.descendant(t,a):[null,-1]},e.prototype.descendants=function(t,n,r){void 0===n&&(n=0),void 0===r&&(r=Number.MAX_VALUE);var i=[],a=r;return this.children.forEachAt(n,r,(function(n,r,o){(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&i.push(n),n instanceof e&&(i=i.concat(n.descendants(t,r,a))),a-=o})),i},e.prototype.detach=function(){this.children.forEach((function(t){t.detach()})),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,n,r){this.children.forEachAt(t,e,(function(t,e,i){t.formatAt(e,i,n,r)}))},e.prototype.insertAt=function(t,e,n){var r=this.children.find(t),i=r[0],a=r[1];if(i)i.insertAt(a,e,n);else{var A=null==n?o.create("text",e):o.create(e,n);this.appendChild(A)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(e){return t instanceof e})))throw new o.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce((function(t,e){return t+e.length()}),0)},e.prototype.moveChildren=function(t,e){this.children.forEach((function(n){t.insertBefore(n,e)}))},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var n=o.create(this.statics.defaultChild);this.appendChild(n),n.optimize(e)}else this.remove()},e.prototype.path=function(t,n){void 0===n&&(n=!1);var r=this.children.find(t,n),i=r[0],a=r[1],o=[[this,t]];return i instanceof e?o.concat(i.path(a,n)):(null!=i&&o.push([i,a]),o)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(n){n instanceof e&&n.moveChildren(this),t.prototype.replace.call(this,n)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(t,this.length(),(function(t,r,i){t=t.split(r,e),n.appendChild(t)})),n},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var n=this,r=[],i=[];t.forEach((function(t){t.target===n.domNode&&"childList"===t.type&&(r.push.apply(r,t.addedNodes),i.push.apply(i,t.removedNodes))})),i.forEach((function(t){if(!(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=o.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==n.domNode||e.detach())}})),r.filter((function(t){return t.parentNode==n.domNode})).sort((function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(t){var e=null;null!=t.nextSibling&&(e=o.find(t.nextSibling));var r=s(t);r.next==e&&null!=r.next||(null!=r.parent&&r.parent.removeChild(n),n.insertBefore(r,e||void 0))}))},e}(a.default);function s(t){var e=o.find(t);if(null==e)try{e=o.create(t)}catch(n){e=o.create(o.Scope.INLINE),[].slice.call(t.childNodes).forEach((function(t){e.domNode.appendChild(t)})),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}e.default=A},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(12),a=n(31),o=n(17),A=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.attributes=new a.default(n.domNode),n}return r(e,t),e.formats=function(t){return"string"===typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var n=A.query(t);n instanceof i.default?this.attributes.attribute(n,e):e&&(null==n||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,n){var r=t.prototype.replaceWith.call(this,e,n);return this.attributes.copy(r),r},e.prototype.update=function(e,n){var r=this;t.prototype.update.call(this,e,n),e.some((function(t){return t.target===r.domNode&&"attributes"===t.type}))&&this.attributes.build()},e.prototype.wrap=function(n,r){var i=t.prototype.wrap.call(this,n,r);return i instanceof e&&i.statics.scope===this.statics.scope&&this.attributes.move(i),i},e}(o.default);e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(30),a=n(1),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(n+=1),[this.parent.domNode,n]},e.prototype.value=function(){var t;return t={},t[this.statics.blotName]=this.statics.value(this.domNode)||!0,t},e.scope=a.Scope.INLINE_BLOT,e}(i.default);e.default=o},function(t,e,n){var r=n(11),i=n(3),a={attributes:{compose:function(t,e,n){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});var r=i(!0,{},e);for(var a in n||(r=Object.keys(r).reduce((function(t,e){return null!=r[e]&&(t[e]=r[e]),t}),{})),t)void 0!==t[a]&&void 0===e[a]&&(r[a]=t[a]);return Object.keys(r).length>0?r:void 0},diff:function(t,e){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});var n=Object.keys(t).concat(Object.keys(e)).reduce((function(n,i){return r(t[i],e[i])||(n[i]=void 0===e[i]?null:e[i]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(t,e,n){if("object"!==typeof t)return e;if("object"===typeof e){if(!n)return e;var r=Object.keys(e).reduce((function(n,r){return void 0===t[r]&&(n[r]=e[r]),n}),{});return Object.keys(r).length>0?r:void 0}}},iterator:function(t){return new o(t)},length:function(t){return"number"===typeof t["delete"]?t["delete"]:"number"===typeof t.retain?t.retain:"string"===typeof t.insert?t.insert.length:1}};function o(t){this.ops=t,this.index=0,this.offset=0}o.prototype.hasNext=function(){return this.peekLength()<1/0},o.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var n=this.offset,r=a.length(e);if(t>=r-n?(t=r-n,this.index+=1,this.offset=0):this.offset+=t,"number"===typeof e["delete"])return{delete:t};var i={};return e.attributes&&(i.attributes=e.attributes),"number"===typeof e.retain?i.retain=t:"string"===typeof e.insert?i.insert=e.insert.substr(n,t):i.insert=e.insert,i}return{retain:1/0}},o.prototype.peek=function(){return this.ops[this.index]},o.prototype.peekLength=function(){return this.ops[this.index]?a.length(this.ops[this.index])-this.offset:1/0},o.prototype.peekType=function(){return this.ops[this.index]?"number"===typeof this.ops[this.index]["delete"]?"delete":"number"===typeof this.ops[this.index].retain?"retain":"insert":"retain"},o.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var t=this.offset,e=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=t,this.index=e,[n].concat(r)}return[]},t.exports=a},function(t,n){var r=function(){"use strict";function t(t,e){return null!=e&&t instanceof e}var n,r,i;try{n=Map}catch(u){n=function(){}}try{r=Set}catch(u){r=function(){}}try{i=Promise}catch(u){i=function(){}}function a(o,A,s,l,u){"object"===typeof A&&(s=A.depth,l=A.prototype,u=A.includeNonEnumerable,A=A.circular);var d=[],h=[],f="undefined"!=typeof e;function p(o,s){if(null===o)return null;if(0===s)return o;var m,g;if("object"!=typeof o)return o;if(t(o,n))m=new n;else if(t(o,r))m=new r;else if(t(o,i))m=new i((function(t,e){o.then((function(e){t(p(e,s-1))}),(function(t){e(p(t,s-1))}))}));else if(a.__isArray(o))m=[];else if(a.__isRegExp(o))m=new RegExp(o.source,c(o)),o.lastIndex&&(m.lastIndex=o.lastIndex);else if(a.__isDate(o))m=new Date(o.getTime());else{if(f&&e.isBuffer(o))return m=e.allocUnsafe?e.allocUnsafe(o.length):new e(o.length),o.copy(m),m;t(o,Error)?m=Object.create(o):"undefined"==typeof l?(g=Object.getPrototypeOf(o),m=Object.create(g)):(m=Object.create(l),g=l)}if(A){var v=d.indexOf(o);if(-1!=v)return h[v];d.push(o),h.push(m)}for(var _ in t(o,n)&&o.forEach((function(t,e){var n=p(e,s-1),r=p(t,s-1);m.set(n,r)})),t(o,r)&&o.forEach((function(t){var e=p(t,s-1);m.add(e)})),o){var y;g&&(y=Object.getOwnPropertyDescriptor(g,_)),y&&null==y.set||(m[_]=p(o[_],s-1))}if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(o);for(_=0;_<b.length;_++){var w=b[_],B=Object.getOwnPropertyDescriptor(o,w);(!B||B.enumerable||u)&&(m[w]=p(o[w],s-1),B.enumerable||Object.defineProperty(m,w,{enumerable:!1}))}}if(u){var x=Object.getOwnPropertyNames(o);for(_=0;_<x.length;_++){var C=x[_];B=Object.getOwnPropertyDescriptor(o,C);B&&B.enumerable||(m[C]=p(o[C],s-1),Object.defineProperty(m,C,{enumerable:!1}))}}return m}return"undefined"==typeof A&&(A=!0),"undefined"==typeof s&&(s=1/0),p(o,s)}function o(t){return Object.prototype.toString.call(t)}function A(t){return"object"===typeof t&&"[object Date]"===o(t)}function s(t){return"object"===typeof t&&"[object Array]"===o(t)}function l(t){return"object"===typeof t&&"[object RegExp]"===o(t)}function c(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),e}return a.clonePrototype=function(t){if(null===t)return null;var e=function(){};return e.prototype=t,new e},a.__objToStr=o,a.__isDate=A,a.__isArray=s,a.__isRegExp=l,a.__getRegExpFlags=c,a}();"object"===typeof t&&t.exports&&(t.exports=r)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var o,A=t[Symbol.iterator]();!(r=(o=A.next()).done);r=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){i=!0,a=s}finally{try{!r&&A["return"]&&A["return"]()}finally{if(i)throw a}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},o=n(0),A=v(o),s=n(8),l=v(s),c=n(4),u=v(c),d=n(16),h=v(d),f=n(13),p=v(f),m=n(25),g=v(m);function v(t){return t&&t.__esModule?t:{default:t}}function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function b(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function w(t){return t instanceof u.default||t instanceof c.BlockEmbed}var B=function(t){function e(t,n){_(this,e);var r=y(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.emitter=n.emitter,Array.isArray(n.whitelist)&&(r.whitelist=n.whitelist.reduce((function(t,e){return t[e]=!0,t}),{})),r.domNode.addEventListener("DOMNodeInserted",(function(){})),r.optimize(),r.enable(),r}return b(e,t),i(e,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(t,n){var i=this.line(t),o=r(i,2),A=o[0],s=o[1],l=this.line(t+n),u=r(l,1),d=u[0];if(a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),null!=d&&A!==d&&s>0){if(A instanceof c.BlockEmbed||d instanceof c.BlockEmbed)return void this.optimize();if(A instanceof p.default){var f=A.newlineIndex(A.length(),!0);if(f>-1&&(A=A.split(f+1),A===d))return void this.optimize()}else if(d instanceof p.default){var m=d.newlineIndex(0);m>-1&&d.split(m+1)}var g=d.children.head instanceof h.default?null:d.children.head;A.moveChildren(d,g),A.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,n,r,i){(null==this.whitelist||this.whitelist[r])&&(a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,r,i),this.optimize())}},{key:"insertAt",value:function(t,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(t>=this.length())if(null==r||null==A.default.query(n,A.default.Scope.BLOCK)){var i=A.default.create(this.statics.defaultChild);this.appendChild(i),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),i.insertAt(0,n,r)}else{var o=A.default.create(n,r);this.appendChild(o)}else a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r);this.optimize()}}},{key:"insertBefore",value:function(t,n){if(t.statics.scope===A.default.Scope.INLINE_BLOT){var r=A.default.create(this.statics.defaultChild);r.appendChild(t),t=r}a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(w,t)}},{key:"lines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function t(e,n,r){var i=[],a=r;return e.children.forEachAt(n,r,(function(e,n,r){w(e)?i.push(e):e instanceof A.default.Container&&(i=i.concat(t(e,n,a))),a-=r})),i};return n(this,t,e)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,n),t.length>0&&this.emitter.emit(l.default.events.SCROLL_OPTIMIZE,t,n))}},{key:"path",value:function(t){return a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var n=l.default.sources.USER;"string"===typeof t&&(n=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(l.default.events.SCROLL_BEFORE_UPDATE,n,t),a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(l.default.events.SCROLL_UPDATE,n,t)}}}]),e}(A.default.Scroll);B.blotName="scroll",B.className="ql-editor",B.tagName="DIV",B.defaultChild="block",B.allowedChildren=[u.default,c.BlockEmbed,g.default],e.default=B},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var o,A=t[Symbol.iterator]();!(r=(o=A.next()).done);r=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){i=!0,a=s}finally{try{!r&&A["return"]&&A["return"]()}finally{if(i)throw a}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n(21),A=x(o),s=n(11),l=x(s),c=n(3),u=x(c),d=n(2),h=x(d),f=n(20),p=x(f),m=n(0),g=x(m),v=n(5),_=x(v),y=n(10),b=x(y),w=n(9),B=x(w);function x(t){return t&&t.__esModule?t:{default:t}}function C(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function k(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function E(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var F=(0,b.default)("quill:keyboard"),U=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",O=function(t){function e(t,n){k(this,e);var r=Q(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.bindings={},Object.keys(r.options.bindings).forEach((function(e){("list autofill"!==e||null==t.scroll.whitelist||t.scroll.whitelist["list"])&&r.options.bindings[e]&&r.addBinding(r.options.bindings[e])})),r.addBinding({key:e.keys.ENTER,shiftKey:null},L),r.addBinding({key:e.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(r.addBinding({key:e.keys.BACKSPACE},{collapsed:!0},T),r.addBinding({key:e.keys.DELETE},{collapsed:!0},I)):(r.addBinding({key:e.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},T),r.addBinding({key:e.keys.DELETE},{collapsed:!0,suffix:/^.?$/},I)),r.addBinding({key:e.keys.BACKSPACE},{collapsed:!1},D),r.addBinding({key:e.keys.DELETE},{collapsed:!1},D),r.addBinding({key:e.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},T),r.listen(),r}return E(e,t),a(e,null,[{key:"match",value:function(t,e){return e=H(e),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!e[n]!==t[n]&&null!==e[n]}))&&e.key===(t.which||t.keyCode)}}]),a(e,[{key:"addBinding",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=H(t);if(null==r||null==r.key)return F.warn("Attempted to add invalid keyboard binding",r);"function"===typeof e&&(e={handler:e}),"function"===typeof n&&(n={handler:n}),r=(0,u.default)(r,e,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var a=n.which||n.keyCode,o=(t.bindings[a]||[]).filter((function(t){return e.match(n,t)}));if(0!==o.length){var A=t.quill.getSelection();if(null!=A&&t.quill.hasFocus()){var s=t.quill.getLine(A.index),c=i(s,2),u=c[0],d=c[1],h=t.quill.getLeaf(A.index),f=i(h,2),p=f[0],m=f[1],v=0===A.length?[p,m]:t.quill.getLeaf(A.index+A.length),_=i(v,2),y=_[0],b=_[1],w=p instanceof g.default.Text?p.value().slice(0,m):"",B=y instanceof g.default.Text?y.value().slice(b):"",x={collapsed:0===A.length,empty:0===A.length&&u.length()<=1,format:t.quill.getFormat(A),offset:d,prefix:w,suffix:B},C=o.some((function(e){if(null!=e.collapsed&&e.collapsed!==x.collapsed)return!1;if(null!=e.empty&&e.empty!==x.empty)return!1;if(null!=e.offset&&e.offset!==x.offset)return!1;if(Array.isArray(e.format)){if(e.format.every((function(t){return null==x.format[t]})))return!1}else if("object"===r(e.format)&&!Object.keys(e.format).every((function(t){return!0===e.format[t]?null!=x.format[t]:!1===e.format[t]?null==x.format[t]:(0,l.default)(e.format[t],x.format[t])})))return!1;return!(null!=e.prefix&&!e.prefix.test(x.prefix))&&(!(null!=e.suffix&&!e.suffix.test(x.suffix))&&!0!==e.handler.call(t,A,x))}));C&&n.preventDefault()}}}}))}}]),e}(B.default);function S(t,e){var n,r=t===O.keys.LEFT?"prefix":"suffix";return n={key:t,shiftKey:e,altKey:null},C(n,r,/^$/),C(n,"handler",(function(n){var r=n.index;t===O.keys.RIGHT&&(r+=n.length+1);var a=this.quill.getLeaf(r),o=i(a,1),A=o[0];return!(A instanceof g.default.Embed)||(t===O.keys.LEFT?e?this.quill.setSelection(n.index-1,n.length+1,_.default.sources.USER):this.quill.setSelection(n.index-1,_.default.sources.USER):e?this.quill.setSelection(n.index,n.length+1,_.default.sources.USER):this.quill.setSelection(n.index+n.length+1,_.default.sources.USER),!1)})),n}function T(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var n=this.quill.getLine(t.index),r=i(n,1),a=r[0],o={};if(0===e.offset){var A=this.quill.getLine(t.index-1),s=i(A,1),l=s[0];if(null!=l&&l.length()>1){var c=a.formats(),u=this.quill.getFormat(t.index-1,1);o=p.default.attributes.diff(c,u)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-d,d,_.default.sources.USER),Object.keys(o).length>0&&this.quill.formatLine(t.index-d,d,o,_.default.sources.USER),this.quill.focus()}}function I(t,e){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var r={},a=0,o=this.quill.getLine(t.index),A=i(o,1),s=A[0];if(e.offset>=s.length()-1){var l=this.quill.getLine(t.index+1),c=i(l,1),u=c[0];if(u){var d=s.formats(),h=this.quill.getFormat(t.index,1);r=p.default.attributes.diff(d,h)||{},a=u.length()}}this.quill.deleteText(t.index,n,_.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(t.index+a-1,n,r,_.default.sources.USER)}}function D(t){var e=this.quill.getLines(t),n={};if(e.length>1){var r=e[0].formats(),i=e[e.length-1].formats();n=p.default.attributes.diff(i,r)||{}}this.quill.deleteText(t,_.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index,1,n,_.default.sources.USER),this.quill.setSelection(t.index,_.default.sources.SILENT),this.quill.focus()}function L(t,e){var n=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var r=Object.keys(e.format).reduce((function(t,n){return g.default.query(n,g.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t}),{});this.quill.insertText(t.index,"\n",r,_.default.sources.USER),this.quill.setSelection(t.index+1,_.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach((function(t){null==r[t]&&(Array.isArray(e.format[t])||"link"!==t&&n.quill.format(t,e.format[t],_.default.sources.USER))}))}function P(t){return{key:O.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var n=g.default.query("code-block"),r=e.index,a=e.length,o=this.quill.scroll.descendant(n,r),A=i(o,2),s=A[0],l=A[1];if(null!=s){var c=this.quill.getIndex(s),u=s.newlineIndex(l,!0)+1,d=s.newlineIndex(c+l+a),h=s.domNode.textContent.slice(u,d).split("\n");l=0,h.forEach((function(e,i){t?(s.insertAt(u+l,n.TAB),l+=n.TAB.length,0===i?r+=n.TAB.length:a+=n.TAB.length):e.startsWith(n.TAB)&&(s.deleteAt(u+l,n.TAB.length),l-=n.TAB.length,0===i?r-=n.TAB.length:a-=n.TAB.length),l+=e.length+1})),this.quill.update(_.default.sources.USER),this.quill.setSelection(r,a,_.default.sources.SILENT)}}}}function N(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],_.default.sources.USER)}}}function H(t){if("string"===typeof t||"number"===typeof t)return H({key:t});if("object"===("undefined"===typeof t?"undefined":r(t))&&(t=(0,A.default)(t,!1)),"string"===typeof t.key)if(null!=O.keys[t.key.toUpperCase()])t.key=O.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[U]=t.shortKey,delete t.shortKey),t}O.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},O.DEFAULTS={bindings:{bold:N("bold"),italic:N("italic"),underline:N("underline"),indent:{key:O.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",_.default.sources.USER)}},outdent:{key:O.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",_.default.sources.USER)}},"outdent backspace":{key:O.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",_.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,_.default.sources.USER)}},"indent code-block":P(!0),"outdent code-block":P(!1),"remove tab":{key:O.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,_.default.sources.USER)}},tab:{key:O.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new h.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,_.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,_.default.sources.SILENT)}},"list empty enter":{key:O.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,_.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,_.default.sources.USER)}},"checklist enter":{key:O.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),n=i(e,2),r=n[0],a=n[1],o=(0,u.default)({},r.formats(),{list:"checked"}),A=(new h.default).retain(t.index).insert("\n",o).retain(r.length()-a-1).retain(1,{list:"unchecked"});this.quill.updateContents(A,_.default.sources.USER),this.quill.setSelection(t.index+1,_.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:O.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var n=this.quill.getLine(t.index),r=i(n,2),a=r[0],o=r[1],A=(new h.default).retain(t.index).insert("\n",e.format).retain(a.length()-o-1).retain(1,{header:null});this.quill.updateContents(A,_.default.sources.USER),this.quill.setSelection(t.index+1,_.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var n=e.prefix.length,r=this.quill.getLine(t.index),a=i(r,2),o=a[0],A=a[1];if(A>n)return!0;var s=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":s="unchecked";break;case"[x]":s="checked";break;case"-":case"*":s="bullet";break;default:s="ordered"}this.quill.insertText(t.index," ",_.default.sources.USER),this.quill.history.cutoff();var l=(new h.default).retain(t.index-A).delete(n+1).retain(o.length()-2-A).retain(1,{list:s});this.quill.updateContents(l,_.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,_.default.sources.SILENT)}},"code exit":{key:O.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),n=i(e,2),r=n[0],a=n[1],o=(new h.default).retain(t.index+r.length()-a-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(o,_.default.sources.USER)}},"embed left":S(O.keys.LEFT,!1),"embed left shift":S(O.keys.LEFT,!0),"embed right":S(O.keys.RIGHT,!1),"embed right shift":S(O.keys.RIGHT,!0)}},e.default=O,e.SHORTKEY=U},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var o,A=t[Symbol.iterator]();!(r=(o=A.next()).done);r=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){i=!0,a=s}finally{try{!r&&A["return"]&&A["return"]()}finally{if(i)throw a}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n(0),A=c(o),s=n(7),l=c(s);function c(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function h(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f=function(t){function e(t,n){u(this,e);var r=d(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.selection=n,r.textNode=document.createTextNode(e.CONTENTS),r.domNode.appendChild(r.textNode),r._length=0,r}return h(e,t),a(e,null,[{key:"value",value:function(){}}]),a(e,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(t,n){if(0!==this._length)return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);var r=this,a=0;while(null!=r&&r.statics.scope!==A.default.Scope.BLOCK_BLOT)a+=r.offset(r.parent),r=r.parent;null!=r&&(this._length=e.CONTENTS.length,r.optimize(),r.formatAt(a,e.CONTENTS.length,t,n),this._length=0)}},{key:"index",value:function(t,n){return t===this.textNode?0:i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var t=this.textNode,n=this.selection.getNativeRange(),i=void 0,a=void 0,o=void 0;if(null!=n&&n.start.node===t&&n.end.node===t){var s=[t,n.start.offset,n.end.offset];i=s[0],a=s[1],o=s[2]}while(null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==e.CONTENTS){var c=this.textNode.data.split(e.CONTENTS).join("");this.next instanceof l.default?(i=this.next.domNode,this.next.insertAt(0,c),this.textNode.data=e.CONTENTS):(this.textNode.data=c,this.parent.insertBefore(A.default.create(this.textNode),this),this.textNode=document.createTextNode(e.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=a){var u=[a,o].map((function(t){return Math.max(0,Math.min(i.data.length,t-1))})),d=r(u,2);return a=d[0],o=d[1],{startNode:i,startOffset:a,endNode:i,endOffset:o}}}}},{key:"update",value:function(t,e){var n=this;if(t.some((function(t){return"characterData"===t.type&&t.target===n.textNode}))){var r=this.restore();r&&(e.range=r)}}},{key:"value",value:function(){return""}}]),e}(A.default.Embed);f.blotName="cursor",f.className="ql-cursor",f.tagName="span",f.CONTENTS="\ufeff",e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=A(r),a=n(4),o=A(a);function A(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),e}(i.default.Container);u.allowedChildren=[o.default,a.BlockEmbed,u],e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=n(0),o=A(a);function A(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),r(e,[{key:"value",value:function(t){var n=i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map((function(t){return("00"+parseInt(t).toString(16)).slice(-2)})).join("")):n}}]),e}(o.default.Attributor.Style),d=new o.default.Attributor.Class("color","ql-color",{scope:o.default.Scope.INLINE}),h=new u("color","color",{scope:o.default.Scope.INLINE});e.ColorAttributor=u,e.ColorClass=d,e.ColorStyle=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=n(6),o=A(a);function A(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),r(e,[{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n)return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(t){var n=i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return t=this.sanitize(t),n.setAttribute("href",t),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(t){return t.getAttribute("href")}},{key:"sanitize",value:function(t){return d(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}}]),e}(o.default);function d(t,e){var n=document.createElement("a");n.href=t;var r=n.href.slice(0,n.href.indexOf(":"));return e.indexOf(r)>-1}u.blotName="link",u.tagName="A",u.SANITIZED_URL="about:blank",u.PROTOCOL_WHITELIST=["http","https","mailto","tel"],e.default=u,e.sanitize=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(23),o=l(a),A=n(107),s=l(A);function l(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var u=0;function d(t,e){t.setAttribute(e,!("true"===t.getAttribute(e)))}var h=function(){function t(e){var n=this;c(this,t),this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(function(){n.togglePicker()})),this.label.addEventListener("keydown",(function(t){switch(t.keyCode){case o.default.keys.ENTER:n.togglePicker();break;case o.default.keys.ESCAPE:n.escape(),t.preventDefault();break;default:}})),this.select.addEventListener("change",this.update.bind(this))}return i(t,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),d(this.label,"aria-expanded"),d(this.options,"aria-hidden")}},{key:"buildItem",value:function(t){var e=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),t.hasAttribute("value")&&n.setAttribute("data-value",t.getAttribute("value")),t.textContent&&n.setAttribute("data-label",t.textContent),n.addEventListener("click",(function(){e.selectItem(n,!0)})),n.addEventListener("keydown",(function(t){switch(t.keyCode){case o.default.keys.ENTER:e.selectItem(n,!0),t.preventDefault();break;case o.default.keys.ESCAPE:e.escape(),t.preventDefault();break;default:}})),n}},{key:"buildLabel",value:function(){var t=document.createElement("span");return t.classList.add("ql-picker-label"),t.innerHTML=s.default,t.tabIndex="0",t.setAttribute("role","button"),t.setAttribute("aria-expanded","false"),this.container.appendChild(t),t}},{key:"buildOptions",value:function(){var t=this,e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id="ql-picker-options-"+u,u+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,[].slice.call(this.select.options).forEach((function(n){var r=t.buildItem(n);e.appendChild(r),!0===n.selected&&t.selectItem(r)})),this.container.appendChild(e)}},{key:"buildPicker",value:function(){var t=this;[].slice.call(this.select.attributes).forEach((function(e){t.container.setAttribute(e.name,e.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var t=this;this.close(),setTimeout((function(){return t.label.focus()}),1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(t!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"===typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"===typeof Event?"undefined":r(Event))){var i=document.createEvent("Event");i.initEvent("change",!0,!0),this.select.dispatchEvent(i)}this.close()}}},{key:"update",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var n=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),t}();e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=F(r),a=n(5),o=F(a),A=n(4),s=F(A),l=n(16),c=F(l),u=n(25),d=F(u),h=n(24),f=F(h),p=n(35),m=F(p),g=n(6),v=F(g),_=n(22),y=F(_),b=n(7),w=F(b),B=n(55),x=F(B),C=n(42),k=F(C),Q=n(23),E=F(Q);function F(t){return t&&t.__esModule?t:{default:t}}o.default.register({"blots/block":s.default,"blots/block/embed":A.BlockEmbed,"blots/break":c.default,"blots/container":d.default,"blots/cursor":f.default,"blots/embed":m.default,"blots/inline":v.default,"blots/scroll":y.default,"blots/text":w.default,"modules/clipboard":x.default,"modules/history":k.default,"modules/keyboard":E.default}),i.default.register(s.default,c.default,f.default,v.default,y.default,w.default),e.default=o.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(){function t(t){this.domNode=t,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"===typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"===typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return r.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},t.prototype.deleteAt=function(t,e){var n=this.isolate(t,e);n.remove()},t.prototype.formatAt=function(t,e,n,i){var a=this.isolate(t,e);if(null!=r.query(n,r.Scope.BLOT)&&i)a.wrap(n,i);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var o=r.create(this.statics.scope);a.wrap(o),o.format(n,i)}},t.prototype.insertAt=function(t,e,n){var i=null==n?r.create("text",e):r.create(e,n),a=this.split(t);this.parent.insertBefore(i,a)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var n="string"===typeof t?r.create(t,e):t;return n.replace(this),n},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var n="string"===typeof t?r.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},t.blotName="abstract",t}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(12),i=n(32),a=n(33),o=n(1),A=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=r.default.keys(this.domNode),n=i.default.keys(this.domNode),A=a.default.keys(this.domNode);e.concat(n).concat(A).forEach((function(e){var n=o.query(e,o.Scope.ATTRIBUTE);n instanceof r.default&&(t.attributes[n.attrName]=n)}))},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach((function(n){var r=e.attributes[n].value(e.domNode);t.format(n,r)}))},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach((function(t){e.attributes[t].remove(e.domNode)})),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce((function(e,n){return e[n]=t.attributes[n].value(t.domNode),e}),{})},t}();e.default=A},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(12);function a(t,e){var n=t.getAttribute("class")||"";return n.split(/\s+/).filter((function(t){return 0===t.indexOf(e+"-")}))}var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map((function(t){return t.split("-").slice(0,-1).join("-")}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){var e=a(t,this.keyName);e.forEach((function(e){t.classList.remove(e)})),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=a(t,this.keyName)[0]||"",n=e.slice(this.keyName.length+1);return this.canAdd(t,n)?n:""},e}(i.default);e.default=o},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(12);function a(t){var e=t.split("-"),n=e.slice(1).map((function(t){return t[0].toUpperCase()+t.slice(1)})).join("");return e[0]+n}var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map((function(t){var e=t.split(":");return e[0].trim()}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[a(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[a(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[a(this.keyName)];return this.canAdd(t,e)?e:""},e}(i.default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(e,n){i(this,t),this.quill=e,this.options=n,this.modules={}}return r(t,[{key:"init",value:function(){var t=this;Object.keys(this.options.modules).forEach((function(e){null==t.modules[e]&&t.addModule(e)}))}},{key:"addModule",value:function(t){var e=this.quill.constructor.import("modules/"+t);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}]),t}();a.DEFAULTS={modules:{}},a.themes={default:a},e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=n(0),o=l(a),A=n(7),s=l(A);function l(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h="\ufeff",f=function(t){function e(t){c(this,e);var n=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach((function(t){n.contentNode.appendChild(t)})),n.leftGuard=document.createTextNode(h),n.rightGuard=document.createTextNode(h),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return d(e,t),r(e,[{key:"index",value:function(t,n){return t===this.leftGuard?0:t===this.rightGuard?1:i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"restore",value:function(t){var e=void 0,n=void 0,r=t.data.split(h).join("");if(t===this.leftGuard)if(this.prev instanceof s.default){var i=this.prev.length();this.prev.insertAt(i,r),e={startNode:this.prev.domNode,startOffset:i+r.length}}else n=document.createTextNode(r),this.parent.insertBefore(o.default.create(n),this),e={startNode:n,startOffset:r.length};else t===this.rightGuard&&(this.next instanceof s.default?(this.next.insertAt(0,r),e={startNode:this.next.domNode,startOffset:r.length}):(n=document.createTextNode(r),this.parent.insertBefore(o.default.create(n),this.next),e={startNode:n,startOffset:r.length}));return t.data=h,e}},{key:"update",value:function(t,e){var n=this;t.forEach((function(t){if("characterData"===t.type&&(t.target===n.leftGuard||t.target===n.rightGuard)){var r=n.restore(t.target);r&&(e.range=r)}}))}}]),e}(o.default.Embed);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlignStyle=e.AlignClass=e.AlignAttribute=void 0;var r=n(0),i=a(r);function a(t){return t&&t.__esModule?t:{default:t}}var o={scope:i.default.Scope.BLOCK,whitelist:["right","center","justify"]},A=new i.default.Attributor.Attribute("align","align",o),s=new i.default.Attributor.Class("align","ql-align",o),l=new i.default.Attributor.Style("align","text-align",o);e.AlignAttribute=A,e.AlignClass=s,e.AlignStyle=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BackgroundStyle=e.BackgroundClass=void 0;var r=n(0),i=o(r),a=n(26);function o(t){return t&&t.__esModule?t:{default:t}}var A=new i.default.Attributor.Class("background","ql-bg",{scope:i.default.Scope.INLINE}),s=new a.ColorAttributor("background","background-color",{scope:i.default.Scope.INLINE});e.BackgroundClass=A,e.BackgroundStyle=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DirectionStyle=e.DirectionClass=e.DirectionAttribute=void 0;var r=n(0),i=a(r);function a(t){return t&&t.__esModule?t:{default:t}}var o={scope:i.default.Scope.BLOCK,whitelist:["rtl"]},A=new i.default.Attributor.Attribute("direction","dir",o),s=new i.default.Attributor.Class("direction","ql-direction",o),l=new i.default.Attributor.Style("direction","direction",o);e.DirectionAttribute=A,e.DirectionClass=s,e.DirectionStyle=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FontClass=e.FontStyle=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=n(0),o=A(a);function A(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u={scope:o.default.Scope.INLINE,whitelist:["serif","monospace"]},d=new o.default.Attributor.Class("font","ql-font",u),h=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),r(e,[{key:"value",value:function(t){return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t).replace(/["']/g,"")}}]),e}(o.default.Attributor.Style),f=new h("font","font-family",u);e.FontStyle=f,e.FontClass=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SizeStyle=e.SizeClass=void 0;var r=n(0),i=a(r);function a(t){return t&&t.__esModule?t:{default:t}}var o=new i.default.Attributor.Class("size","ql-size",{scope:i.default.Scope.INLINE,whitelist:["small","large","huge"]}),A=new i.default.Attributor.Style("size","font-size",{scope:i.default.Scope.INLINE,whitelist:["10px","18px","32px"]});e.SizeClass=o,e.SizeStyle=A},function(t,e,n){"use strict";t.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n(0),a=c(i),o=n(5),A=c(o),s=n(9),l=c(s);function c(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function h(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f=function(t){function e(t,n){u(this,e);var r=d(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.lastRecorded=0,r.ignoreChange=!1,r.clear(),r.quill.on(A.default.events.EDITOR_CHANGE,(function(t,e,n,i){t!==A.default.events.TEXT_CHANGE||r.ignoreChange||(r.options.userOnly&&i!==A.default.sources.USER?r.transform(e):r.record(e,n))})),r.quill.keyboard.addBinding({key:"Z",shortKey:!0},r.undo.bind(r)),r.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},r.redo.bind(r)),/Win/i.test(navigator.platform)&&r.quill.keyboard.addBinding({key:"Y",shortKey:!0},r.redo.bind(r)),r}return h(e,t),r(e,[{key:"change",value:function(t,e){if(0!==this.stack[t].length){var n=this.stack[t].pop();this.stack[e].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[t],A.default.sources.USER),this.ignoreChange=!1;var r=m(n[t]);this.quill.setSelection(r)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(t,e){if(0!==t.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(e),r=Date.now();if(this.lastRecorded+this.options.delay>r&&this.stack.undo.length>0){var i=this.stack.undo.pop();n=n.compose(i.undo),t=i.redo.compose(t)}else this.lastRecorded=r;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})),this.stack.redo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}(l.default);function p(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"===typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some((function(t){return null!=a.default.query(t,a.default.Scope.BLOCK)})))}function m(t){var e=t.reduce((function(t,e){return t+=e.delete||0,t}),0),n=t.length()-e;return p(t)&&(n-=1),n}f.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=f,e.getLastChangeIndex=m},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=n(3),o=B(a),A=n(2),s=B(A),l=n(8),c=B(l),u=n(23),d=B(u),h=n(34),f=B(h),p=n(59),m=B(p),g=n(60),v=B(g),_=n(28),y=B(_),b=n(61),w=B(b);function B(t){return t&&t.__esModule?t:{default:t}}function x(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function C(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function k(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Q=[!1,"center","right","justify"],E=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],F=[!1,"serif","monospace"],U=["1","2","3",!1],O=["small",!1,"large","huge"],S=function(t){function e(t,n){x(this,e);var r=C(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n)),i=function e(n){if(!document.body.contains(t.root))return document.body.removeEventListener("click",e);null==r.tooltip||r.tooltip.root.contains(n.target)||document.activeElement===r.tooltip.textbox||r.quill.hasFocus()||r.tooltip.hide(),null!=r.pickers&&r.pickers.forEach((function(t){t.container.contains(n.target)||t.close()}))};return t.emitter.listenDOM("click",document.body,i),r}return k(e,t),r(e,[{key:"addModule",value:function(t){var n=i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"addModule",this).call(this,t);return"toolbar"===t&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(t,e){t.forEach((function(t){var n=t.getAttribute("class")||"";n.split(/\s+/).forEach((function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=e[n]))if("direction"===n)t.innerHTML=e[n][""]+e[n]["rtl"];else if("string"===typeof e[n])t.innerHTML=e[n];else{var r=t.value||"";null!=r&&e[n][r]&&(t.innerHTML=e[n][r])}}))}))}},{key:"buildPickers",value:function(t,e){var n=this;this.pickers=t.map((function(t){if(t.classList.contains("ql-align"))return null==t.querySelector("option")&&D(t,Q),new v.default(t,e.align);if(t.classList.contains("ql-background")||t.classList.contains("ql-color")){var n=t.classList.contains("ql-background")?"background":"color";return null==t.querySelector("option")&&D(t,E,"background"===n?"#ffffff":"#000000"),new m.default(t,e[n])}return null==t.querySelector("option")&&(t.classList.contains("ql-font")?D(t,F):t.classList.contains("ql-header")?D(t,U):t.classList.contains("ql-size")&&D(t,O)),new y.default(t)}));var r=function(){n.pickers.forEach((function(t){t.update()}))};this.quill.on(c.default.events.EDITOR_CHANGE,r)}}]),e}(f.default);S.DEFAULTS=(0,o.default)(!0,{},f.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var t=this,e=this.container.querySelector("input.ql-image[type=file]");null==e&&(e=document.createElement("input"),e.setAttribute("type","file"),e.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),e.classList.add("ql-image"),e.addEventListener("change",(function(){if(null!=e.files&&null!=e.files[0]){var n=new FileReader;n.onload=function(n){var r=t.quill.getSelection(!0);t.quill.updateContents((new s.default).retain(r.index).delete(r.length).insert({image:n.target.result}),c.default.sources.USER),t.quill.setSelection(r.index+1,c.default.sources.SILENT),e.value=""},n.readAsDataURL(e.files[0])}})),this.container.appendChild(e)),e.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var T=function(t){function e(t,n){x(this,e);var r=C(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.textbox=r.root.querySelector('input[type="text"]'),r.listen(),r}return k(e,t),r(e,[{key:"listen",value:function(){var t=this;this.textbox.addEventListener("keydown",(function(e){d.default.match(e,"enter")?(t.save(),e.preventDefault()):d.default.match(e,"escape")&&(t.cancel(),e.preventDefault())}))}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var e=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,c.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,c.default.sources.USER)),this.quill.root.scrollTop=e;break;case"video":t=I(t);case"formula":if(!t)break;var n=this.quill.getSelection(!0);if(null!=n){var r=n.index+n.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),t,c.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",c.default.sources.USER),this.quill.setSelection(r+2,c.default.sources.USER)}break;default:}this.textbox.value="",this.hide()}}]),e}(w.default);function I(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t}function D(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach((function(e){var r=document.createElement("option");e===n?r.setAttribute("selected","selected"):r.setAttribute("value",e),t.appendChild(r)}))}e.BaseTooltip=T,e.default=S},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.insertBefore(t[0],null),t.length>1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){var e,n=this.iterator();while(e=n())if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){var e=0,n=this.head;while(null!=n){if(n===t)return e;e+=n.length(),n=n.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);var n,r=this.iterator();while(n=r()){var i=n.length();if(t<i||e&&t===i&&(null==n.next||0!==n.next.length()))return[n,t];t-=i}return[null,0]},t.prototype.forEach=function(t){var e,n=this.iterator();while(e=n())t(e)},t.prototype.forEachAt=function(t,e,n){if(!(e<=0)){var r,i=this.find(t),a=i[0],o=i[1],A=t-o,s=this.iterator(a);while((r=s())&&A<t+e){var l=r.length();t>A?n(r,t-A,Math.min(e,A+l-t)):n(r,0,Math.min(l,t+e-A)),A+=l}}},t.prototype.map=function(t){return this.reduce((function(e,n){return e.push(t(n)),e}),[])},t.prototype.reduce=function(t,e){var n,r=this.iterator();while(n=r())e=t(e,n);return e},t}();e.default=r},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(17),a=n(1),o={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},A=100,s=function(t){function e(e){var n=t.call(this,e)||this;return n.scroll=n,n.observer=new MutationObserver((function(t){n.update(t)})),n.observer.observe(n.domNode,o),n.attach(),n}return r(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,n){this.update(),0===e&&n===this.length()?this.children.forEach((function(t){t.remove()})):t.prototype.deleteAt.call(this,e,n)},e.prototype.formatAt=function(e,n,r,i){this.update(),t.prototype.formatAt.call(this,e,n,r,i)},e.prototype.insertAt=function(e,n,r){this.update(),t.prototype.insertAt.call(this,e,n,r)},e.prototype.optimize=function(e,n){var r=this;void 0===e&&(e=[]),void 0===n&&(n={}),t.prototype.optimize.call(this,n);var o=[].slice.call(this.observer.takeRecords());while(o.length>0)e.push(o.pop());for(var s=function(t,e){void 0===e&&(e=!0),null!=t&&t!==r&&null!=t.domNode.parentNode&&(null==t.domNode[a.DATA_KEY].mutations&&(t.domNode[a.DATA_KEY].mutations=[]),e&&s(t.parent))},l=function(t){null!=t.domNode[a.DATA_KEY]&&null!=t.domNode[a.DATA_KEY].mutations&&(t instanceof i.default&&t.children.forEach(l),t.optimize(n))},c=e,u=0;c.length>0;u+=1){if(u>=A)throw new Error("[Parchment] Maximum optimize iterations reached");c.forEach((function(t){var e=a.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(s(a.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,(function(t){var e=a.find(t,!1);s(e,!1),e instanceof i.default&&e.children.forEach((function(t){s(t,!1)}))}))):"attributes"===t.type&&s(e.prev)),s(e))})),this.children.forEach(l),c=[].slice.call(this.observer.takeRecords()),o=c.slice();while(o.length>0)e.push(o.pop())}},e.prototype.update=function(e,n){var r=this;void 0===n&&(n={}),e=e||this.observer.takeRecords(),e.map((function(t){var e=a.find(t.target,!0);return null==e?null:null==e.domNode[a.DATA_KEY].mutations?(e.domNode[a.DATA_KEY].mutations=[t],e):(e.domNode[a.DATA_KEY].mutations.push(t),null)})).forEach((function(t){null!=t&&t!==r&&null!=t.domNode[a.DATA_KEY]&&t.update(t.domNode[a.DATA_KEY].mutations||[],n)})),null!=this.domNode[a.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[a.DATA_KEY].mutations,n),this.optimize(e,n)},e.blotName="scroll",e.defaultChild="block",e.scope=a.Scope.BLOCK_BLOT,e.tagName="DIV",e}(i.default);e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(18),a=n(1);function o(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}var A=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){if(n.tagName!==e.tagName)return t.formats.call(this,n)},e.prototype.format=function(n,r){var a=this;n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):(this.children.forEach((function(t){t instanceof i.default||(t=t.wrap(e.blotName,!0)),a.attributes.copy(t)})),this.unwrap())},e.prototype.formatAt=function(e,n,r,i){if(null!=this.formats()[r]||a.query(r,a.Scope.ATTRIBUTE)){var o=this.isolate(e,n);o.format(r,i)}else t.prototype.formatAt.call(this,e,n,r,i)},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n);var r=this.formats();if(0===Object.keys(r).length)return this.unwrap();var i=this.next;i instanceof e&&i.prev===this&&o(r,i.formats())&&(i.moveChildren(this),i.remove())},e.blotName="inline",e.scope=a.Scope.INLINE_BLOT,e.tagName="SPAN",e}(i.default);e.default=A},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(18),a=n(1),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){var r=a.query(e.blotName).tagName;if(n.tagName!==r)return t.formats.call(this,n)},e.prototype.format=function(n,r){null!=a.query(n,a.Scope.BLOCK)&&(n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,n,r,i){null!=a.query(r,a.Scope.BLOCK)?this.format(r,i):t.prototype.formatAt.call(this,e,n,r,i)},e.prototype.insertAt=function(e,n,r){if(null==r||null!=a.query(n,a.Scope.INLINE))t.prototype.insertAt.call(this,e,n,r);else{var i=this.split(e),o=a.create(n,r);i.parent.insertBefore(o,i)}},e.prototype.update=function(e,n){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,n)},e.blotName="block",e.scope=a.Scope.BLOCK_BLOT,e.tagName="P",e}(i.default);e.default=o},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(19),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(t){},e.prototype.format=function(e,n){t.prototype.formatAt.call(this,0,this.length(),e,n)},e.prototype.formatAt=function(e,n,r,i){0===e&&n===this.length()?this.format(r,i):t.prototype.formatAt.call(this,e,n,r,i)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(i.default);e.default=a},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(19),a=n(1),o=function(t){function e(e){var n=t.call(this,e)||this;return n.text=n.statics.value(n.domNode),n}return r(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e["normalize"]&&(e=e["normalize"]()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,n,r){null==r?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,n,r)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=a.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},e.prototype.update=function(t,e){var n=this;t.some((function(t){return"characterData"===t.type&&t.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=a.Scope.INLINE_BLOT,e}(i.default);e.default=o},function(t,e,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var i=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)===!e?e:i.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!==typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var r=n.indexOf(t,e);return-1!==r&&r===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!==typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),r=n.length>>>0,i=arguments[1],a=0;a<r;a++)if(e=n[a],t.call(i,e,a,n))return e}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(t,e){var n=-1,r=1,i=0;function a(t,e,n){if(t==e)return t?[[i,t]]:[];(n<0||t.length<n)&&(n=null);var r=l(t,e),a=t.substring(0,r);t=t.substring(r),e=e.substring(r),r=c(t,e);var A=t.substring(t.length-r);t=t.substring(0,t.length-r),e=e.substring(0,e.length-r);var s=o(t,e);return a&&s.unshift([i,a]),A&&s.push([i,A]),d(s),null!=n&&(s=p(s,n)),s=m(s),s}function o(t,e){var o;if(!t)return[[r,e]];if(!e)return[[n,t]];var s=t.length>e.length?t:e,l=t.length>e.length?e:t,c=s.indexOf(l);if(-1!=c)return o=[[r,s.substring(0,c)],[i,l],[r,s.substring(c+l.length)]],t.length>e.length&&(o[0][0]=o[2][0]=n),o;if(1==l.length)return[[n,t],[r,e]];var d=u(t,e);if(d){var h=d[0],f=d[1],p=d[2],m=d[3],g=d[4],v=a(h,p),_=a(f,m);return v.concat([[i,g]],_)}return A(t,e)}function A(t,e){for(var i=t.length,a=e.length,o=Math.ceil((i+a)/2),A=o,l=2*o,c=new Array(l),u=new Array(l),d=0;d<l;d++)c[d]=-1,u[d]=-1;c[A+1]=0,u[A+1]=0;for(var h=i-a,f=h%2!=0,p=0,m=0,g=0,v=0,_=0;_<o;_++){for(var y=-_+p;y<=_-m;y+=2){var b=A+y;Q=y==-_||y!=_&&c[b-1]<c[b+1]?c[b+1]:c[b-1]+1;var w=Q-y;while(Q<i&&w<a&&t.charAt(Q)==e.charAt(w))Q++,w++;if(c[b]=Q,Q>i)m+=2;else if(w>a)p+=2;else if(f){var B=A+h-y;if(B>=0&&B<l&&-1!=u[B]){var x=i-u[B];if(Q>=x)return s(t,e,Q,w)}}}for(var C=-_+g;C<=_-v;C+=2){B=A+C;x=C==-_||C!=_&&u[B-1]<u[B+1]?u[B+1]:u[B-1]+1;var k=x-C;while(x<i&&k<a&&t.charAt(i-x-1)==e.charAt(a-k-1))x++,k++;if(u[B]=x,x>i)v+=2;else if(k>a)g+=2;else if(!f){b=A+h-C;if(b>=0&&b<l&&-1!=c[b]){var Q=c[b];w=A+Q-b;if(x=i-x,Q>=x)return s(t,e,Q,w)}}}}return[[n,t],[r,e]]}function s(t,e,n,r){var i=t.substring(0,n),o=e.substring(0,r),A=t.substring(n),s=e.substring(r),l=a(i,o),c=a(A,s);return l.concat(c)}function l(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;var n=0,r=Math.min(t.length,e.length),i=r,a=0;while(n<i)t.substring(a,i)==e.substring(a,i)?(n=i,a=n):r=i,i=Math.floor((r-n)/2+n);return i}function c(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;var n=0,r=Math.min(t.length,e.length),i=r,a=0;while(n<i)t.substring(t.length-i,t.length-a)==e.substring(e.length-i,e.length-a)?(n=i,a=n):r=i,i=Math.floor((r-n)/2+n);return i}function u(t,e){var n=t.length>e.length?t:e,r=t.length>e.length?e:t;if(n.length<4||2*r.length<n.length)return null;function i(t,e,n){var r,i,a,o,A=t.substring(n,n+Math.floor(t.length/4)),s=-1,u="";while(-1!=(s=e.indexOf(A,s+1))){var d=l(t.substring(n),e.substring(s)),h=c(t.substring(0,n),e.substring(0,s));u.length<h+d&&(u=e.substring(s-h,s)+e.substring(s,s+d),r=t.substring(0,n-h),i=t.substring(n+d),a=e.substring(0,s-h),o=e.substring(s+d))}return 2*u.length>=t.length?[r,i,a,o,u]:null}var a,o,A,s,u,d=i(n,r,Math.ceil(n.length/4)),h=i(n,r,Math.ceil(n.length/2));if(!d&&!h)return null;a=h?d&&d[4].length>h[4].length?d:h:d,t.length>e.length?(o=a[0],A=a[1],s=a[2],u=a[3]):(s=a[0],u=a[1],o=a[2],A=a[3]);var f=a[4];return[o,A,s,u,f]}function d(t){t.push([i,""]);var e,a=0,o=0,A=0,s="",u="";while(a<t.length)switch(t[a][0]){case r:A++,u+=t[a][1],a++;break;case n:o++,s+=t[a][1],a++;break;case i:o+A>1?(0!==o&&0!==A&&(e=l(u,s),0!==e&&(a-o-A>0&&t[a-o-A-1][0]==i?t[a-o-A-1][1]+=u.substring(0,e):(t.splice(0,0,[i,u.substring(0,e)]),a++),u=u.substring(e),s=s.substring(e)),e=c(u,s),0!==e&&(t[a][1]=u.substring(u.length-e)+t[a][1],u=u.substring(0,u.length-e),s=s.substring(0,s.length-e))),0===o?t.splice(a-A,o+A,[r,u]):0===A?t.splice(a-o,o+A,[n,s]):t.splice(a-o-A,o+A,[n,s],[r,u]),a=a-o-A+(o?1:0)+(A?1:0)+1):0!==a&&t[a-1][0]==i?(t[a-1][1]+=t[a][1],t.splice(a,1)):a++,A=0,o=0,s="",u="";break}""===t[t.length-1][1]&&t.pop();var h=!1;a=1;while(a<t.length-1)t[a-1][0]==i&&t[a+1][0]==i&&(t[a][1].substring(t[a][1].length-t[a-1][1].length)==t[a-1][1]?(t[a][1]=t[a-1][1]+t[a][1].substring(0,t[a][1].length-t[a-1][1].length),t[a+1][1]=t[a-1][1]+t[a+1][1],t.splice(a-1,1),h=!0):t[a][1].substring(0,t[a+1][1].length)==t[a+1][1]&&(t[a-1][1]+=t[a+1][1],t[a][1]=t[a][1].substring(t[a+1][1].length)+t[a+1][1],t.splice(a+1,1),h=!0)),a++;h&&d(t)}var h=a;function f(t,e){if(0===e)return[i,t];for(var r=0,a=0;a<t.length;a++){var o=t[a];if(o[0]===n||o[0]===i){var A=r+o[1].length;if(e===A)return[a+1,t];if(e<A){t=t.slice();var s=e-r,l=[o[0],o[1].slice(0,s)],c=[o[0],o[1].slice(s)];return t.splice(a,1,l,c),[a+1,t]}r=A}}throw new Error("cursor_pos is out of bounds!")}function p(t,e){var n=f(t,e),r=n[1],a=n[0],o=r[a],A=r[a+1];if(null==o)return t;if(o[0]!==i)return t;if(null!=A&&o[1]+A[1]===A[1]+o[1])return r.splice(a,2,A,o),g(r,a,2);if(null!=A&&0===A[1].indexOf(o[1])){r.splice(a,2,[A[0],o[1]],[0,o[1]]);var s=A[1].slice(o[1].length);return s.length>0&&r.splice(a+2,0,[A[0],s]),g(r,a,3)}return t}function m(t){for(var e=!1,a=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},o=function(t){return t.charCodeAt(t.length-1)>=55296&&t.charCodeAt(t.length-1)<=56319},A=2;A<t.length;A+=1)t[A-2][0]===i&&o(t[A-2][1])&&t[A-1][0]===n&&a(t[A-1][1])&&t[A][0]===r&&a(t[A][1])&&(e=!0,t[A-1][1]=t[A-2][1].slice(-1)+t[A-1][1],t[A][1]=t[A-2][1].slice(-1)+t[A][1],t[A-2][1]=t[A-2][1].slice(0,-1));if(!e)return t;var s=[];for(A=0;A<t.length;A+=1)t[A][1].length>0&&s.push(t[A]);return s}function g(t,e,n){for(var r=e+n-1;r>=0&&r>=e-1;r--)if(r+1<t.length){var i=t[r],a=t[r+1];i[0]===a[1]&&t.splice(r,2,[i[0],i[1]+a[1]])}return t}h.INSERT=r,h.DELETE=n,h.EQUAL=i,t.exports=h},function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}e=t.exports="function"===typeof Object.keys?Object.keys:n,e.shim=n},function(t,e){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function r(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function i(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}e=t.exports=n?r:i,e.supported=r,e.unsupported=i},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,r="~";function i(){}function a(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function o(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(r=!1)),o.prototype.eventNames=function(){var t,e,i=[];if(0===this._eventsCount)return i;for(e in t=this._events)n.call(t,e)&&i.push(r?e.slice(1):e);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},o.prototype.listeners=function(t,e){var n=r?r+t:t,i=this._events[n];if(e)return!!i;if(!i)return[];if(i.fn)return[i.fn];for(var a=0,o=i.length,A=new Array(o);a<o;a++)A[a]=i[a].fn;return A},o.prototype.emit=function(t,e,n,i,a,o){var A=r?r+t:t;if(!this._events[A])return!1;var s,l,c=this._events[A],u=arguments.length;if(c.fn){switch(c.once&&this.removeListener(t,c.fn,void 0,!0),u){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,e),!0;case 3:return c.fn.call(c.context,e,n),!0;case 4:return c.fn.call(c.context,e,n,i),!0;case 5:return c.fn.call(c.context,e,n,i,a),!0;case 6:return c.fn.call(c.context,e,n,i,a,o),!0}for(l=1,s=new Array(u-1);l<u;l++)s[l-1]=arguments[l];c.fn.apply(c.context,s)}else{var d,h=c.length;for(l=0;l<h;l++)switch(c[l].once&&this.removeListener(t,c[l].fn,void 0,!0),u){case 1:c[l].fn.call(c[l].context);break;case 2:c[l].fn.call(c[l].context,e);break;case 3:c[l].fn.call(c[l].context,e,n);break;case 4:c[l].fn.call(c[l].context,e,n,i);break;default:if(!s)for(d=1,s=new Array(u-1);d<u;d++)s[d-1]=arguments[d];c[l].fn.apply(c[l].context,s)}}return!0},o.prototype.on=function(t,e,n){var i=new a(e,n||this),o=r?r+t:t;return this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],i]:this._events[o].push(i):(this._events[o]=i,this._eventsCount++),this},o.prototype.once=function(t,e,n){var i=new a(e,n||this,!0),o=r?r+t:t;return this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],i]:this._events[o].push(i):(this._events[o]=i,this._eventsCount++),this},o.prototype.removeListener=function(t,e,n,a){var o=r?r+t:t;if(!this._events[o])return this;if(!e)return 0===--this._eventsCount?this._events=new i:delete this._events[o],this;var A=this._events[o];if(A.fn)A.fn!==e||a&&!A.once||n&&A.context!==n||(0===--this._eventsCount?this._events=new i:delete this._events[o]);else{for(var s=0,l=[],c=A.length;s<c;s++)(A[s].fn!==e||a&&!A[s].once||n&&A[s].context!==n)&&l.push(A[s]);l.length?this._events[o]=1===l.length?l[0]:l:0===--this._eventsCount?this._events=new i:delete this._events[o]}return this},o.prototype.removeAllListeners=function(t){var e;return t?(e=r?r+t:t,this._events[e]&&(0===--this._eventsCount?this._events=new i:delete this._events[e])):(this._events=new i,this._eventsCount=0),this},o.prototype.off=o.prototype.removeListener,o.prototype.addListener=o.prototype.on,o.prototype.setMaxListeners=function(){return this},o.prefixed=r,o.EventEmitter=o,"undefined"!==typeof t&&(t.exports=o)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var o,A=t[Symbol.iterator]();!(r=(o=A.next()).done);r=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){i=!0,a=s}finally{try{!r&&A["return"]&&A["return"]()}finally{if(i)throw a}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n(3),A=k(o),s=n(2),l=k(s),c=n(0),u=k(c),d=n(5),h=k(d),f=n(10),p=k(f),m=n(9),g=k(m),v=n(36),_=n(37),y=n(13),b=k(y),w=n(26),B=n(38),x=n(39),C=n(40);function k(t){return t&&t.__esModule?t:{default:t}}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function U(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var O=(0,p.default)("quill:clipboard"),S="__ql-matcher",T=[[Node.TEXT_NODE,X],[Node.TEXT_NODE,W],["br",V],[Node.ELEMENT_NODE,W],[Node.ELEMENT_NODE,q],[Node.ELEMENT_NODE,$],[Node.ELEMENT_NODE,K],[Node.ELEMENT_NODE,Y],["li",G],["b",R.bind(R,"bold")],["i",R.bind(R,"italic")],["style",z]],I=[v.AlignAttribute,B.DirectionAttribute].reduce((function(t,e){return t[e.keyName]=e,t}),{}),D=[v.AlignStyle,_.BackgroundStyle,w.ColorStyle,B.DirectionStyle,x.FontStyle,C.SizeStyle].reduce((function(t,e){return t[e.keyName]=e,t}),{}),L=function(t){function e(t,n){E(this,e);var r=F(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.root.addEventListener("paste",r.onPaste.bind(r)),r.container=r.quill.addContainer("ql-clipboard"),r.container.setAttribute("contenteditable",!0),r.container.setAttribute("tabindex",-1),r.matchers=[],T.concat(r.options.matchers).forEach((function(t){var e=i(t,2),a=e[0],o=e[1];(n.matchVisual||o!==$)&&r.addMatcher(a,o)})),r}return U(e,t),a(e,[{key:"addMatcher",value:function(t,e){this.matchers.push([t,e])}},{key:"convert",value:function(t){if("string"===typeof t)return this.container.innerHTML=t.replace(/\>\r?\n +\</g,"><"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[b.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new l.default).insert(n,Q({},b.default.blotName,e[b.default.blotName]))}var r=this.prepareMatching(),a=i(r,2),o=a[0],A=a[1],s=j(this.container,o,A);return H(s,"\n")&&null==s.ops[s.ops.length-1].attributes&&(s=s.compose((new l.default).retain(s.length()-1).delete(1))),O.log("convert",this.container.innerHTML,s),this.container.innerHTML="",s}},{key:"dangerouslyPasteHTML",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.default.sources.API;if("string"===typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,h.default.sources.SILENT);else{var r=this.convert(e);this.quill.updateContents((new l.default).retain(t).concat(r),n),this.quill.setSelection(t+r.length(),h.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new l.default).retain(n.index),i=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(h.default.sources.SILENT),setTimeout((function(){r=r.concat(e.convert()).delete(n.length),e.quill.updateContents(r,h.default.sources.USER),e.quill.setSelection(r.length()-n.length,h.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=i,e.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],n=[];return this.matchers.forEach((function(r){var a=i(r,2),o=a[0],A=a[1];switch(o){case Node.TEXT_NODE:n.push(A);break;case Node.ELEMENT_NODE:e.push(A);break;default:[].forEach.call(t.container.querySelectorAll(o),(function(t){t[S]=t[S]||[],t[S].push(A)}));break}})),[e,n]}}]),e}(g.default);function P(t,e,n){return"object"===("undefined"===typeof e?"undefined":r(e))?Object.keys(e).reduce((function(t,n){return P(t,n,e[n])}),t):t.reduce((function(t,r){return r.attributes&&r.attributes[e]?t.push(r):t.insert(r.insert,(0,A.default)({},Q({},e,n),r.attributes))}),new l.default)}function N(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};var e="__ql-computed-style";return t[e]||(t[e]=window.getComputedStyle(t))}function H(t,e){for(var n="",r=t.ops.length-1;r>=0&&n.length<e.length;--r){var i=t.ops[r];if("string"!==typeof i.insert)break;n=i.insert+n}return n.slice(-1*e.length)===e}function M(t){if(0===t.childNodes.length)return!1;var e=N(t);return["block","list-item"].indexOf(e.display)>-1}function j(t,e,n){return t.nodeType===t.TEXT_NODE?n.reduce((function(e,n){return n(t,e)}),new l.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],(function(r,i){var a=j(i,e,n);return i.nodeType===t.ELEMENT_NODE&&(a=e.reduce((function(t,e){return e(i,t)}),a),a=(i[S]||[]).reduce((function(t,e){return e(i,t)}),a)),r.concat(a)}),new l.default):new l.default}function R(t,e,n){return P(n,t,!0)}function K(t,e){var n=u.default.Attributor.Attribute.keys(t),r=u.default.Attributor.Class.keys(t),i=u.default.Attributor.Style.keys(t),a={};return n.concat(r).concat(i).forEach((function(e){var n=u.default.query(e,u.default.Scope.ATTRIBUTE);null!=n&&(a[n.attrName]=n.value(t),a[n.attrName])||(n=I[e],null==n||n.attrName!==e&&n.keyName!==e||(a[n.attrName]=n.value(t)||void 0),n=D[e],null==n||n.attrName!==e&&n.keyName!==e||(n=D[e],a[n.attrName]=n.value(t)||void 0))})),Object.keys(a).length>0&&(e=P(e,a)),e}function q(t,e){var n=u.default.query(t);if(null==n)return e;if(n.prototype instanceof u.default.Embed){var r={},i=n.value(t);null!=i&&(r[n.blotName]=i,e=(new l.default).insert(r,n.formats(t)))}else"function"===typeof n.formats&&(e=P(e,n.blotName,n.formats(t)));return e}function V(t,e){return H(e,"\n")||e.insert("\n"),e}function z(){return new l.default}function G(t,e){var n=u.default.query(t);if(null==n||"list-item"!==n.blotName||!H(e,"\n"))return e;var r=-1,i=t.parentNode;while(!i.classList.contains("ql-clipboard"))"list"===(u.default.query(i)||{}).blotName&&(r+=1),i=i.parentNode;return r<=0?e:e.compose((new l.default).retain(e.length()-1).retain(1,{indent:r}))}function W(t,e){return H(e,"\n")||(M(t)||e.length()>0&&t.nextSibling&&M(t.nextSibling))&&e.insert("\n"),e}function $(t,e){if(M(t)&&null!=t.nextElementSibling&&!H(e,"\n\n")){var n=t.offsetHeight+parseFloat(N(t).marginTop)+parseFloat(N(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert("\n")}return e}function Y(t,e){var n={},r=t.style||{};return r.fontStyle&&"italic"===N(t).fontStyle&&(n.italic=!0),r.fontWeight&&(N(t).fontWeight.startsWith("bold")||parseInt(N(t).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(e=P(e,n)),parseFloat(r.textIndent||0)>0&&(e=(new l.default).insert("\t").concat(e)),e}function X(t,e){var n=t.data;if("O:P"===t.parentNode.tagName)return e.insert(n.trim());if(0===n.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!N(t.parentNode).whiteSpace.startsWith("pre")){var r=function(t,e){return e=e.replace(/[^\u00a0]/g,""),e.length<1&&t?" ":e};n=n.replace(/\r\n/g," ").replace(/\n/g," "),n=n.replace(/\s\s+/g,r.bind(r,!0)),(null==t.previousSibling&&M(t.parentNode)||null!=t.previousSibling&&M(t.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==t.nextSibling&&M(t.parentNode)||null!=t.nextSibling&&M(t.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return e.insert(n)}L.DEFAULTS={matchers:[],matchVisual:!0},e.default=L,e.matchAttributor=K,e.matchBlot=q,e.matchNewline=W,e.matchSpacing=$,e.matchText=X},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=n(6),o=A(a);function A(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),r(e,[{key:"optimize",value:function(t){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),e}(o.default);u.blotName="bold",u.tagName=["STRONG","B"],e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var r=function(){function t(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var o,A=t[Symbol.iterator]();!(r=(o=A.next()).done);r=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){i=!0,a=s}finally{try{!r&&A["return"]&&A["return"]()}finally{if(i)throw a}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(2),o=p(a),A=n(0),s=p(A),l=n(5),c=p(l),u=n(10),d=p(u),h=n(9),f=p(h);function p(t){return t&&t.__esModule?t:{default:t}}function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function _(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=(0,d.default)("quill:toolbar"),b=function(t){function e(t,n){g(this,e);var i,a=v(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(Array.isArray(a.options.container)){var o=document.createElement("div");B(o,a.options.container),t.container.parentNode.insertBefore(o,t.container),a.container=o}else"string"===typeof a.options.container?a.container=document.querySelector(a.options.container):a.container=a.options.container;return a.container instanceof HTMLElement?(a.container.classList.add("ql-toolbar"),a.controls=[],a.handlers={},Object.keys(a.options.handlers).forEach((function(t){a.addHandler(t,a.options.handlers[t])})),[].forEach.call(a.container.querySelectorAll("button, select"),(function(t){a.attach(t)})),a.quill.on(c.default.events.EDITOR_CHANGE,(function(t,e){t===c.default.events.SELECTION_CHANGE&&a.update(e)})),a.quill.on(c.default.events.SCROLL_OPTIMIZE,(function(){var t=a.quill.selection.getRange(),e=r(t,1),n=e[0];a.update(n)})),a):(i=y.error("Container required for toolbar",a.options),v(a,i))}return _(e,t),i(e,[{key:"addHandler",value:function(t,e){this.handlers[t]=e}},{key:"attach",value:function(t){var e=this,n=[].find.call(t.classList,(function(t){return 0===t.indexOf("ql-")}));if(n){if(n=n.slice("ql-".length),"BUTTON"===t.tagName&&t.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void y.warn("ignoring attaching to disabled format",n,t);if(null==s.default.query(n))return void y.warn("ignoring attaching to nonexistent format",n,t)}var i="SELECT"===t.tagName?"change":"click";t.addEventListener(i,(function(i){var a=void 0;if("SELECT"===t.tagName){if(t.selectedIndex<0)return;var A=t.options[t.selectedIndex];a=!A.hasAttribute("selected")&&(A.value||!1)}else a=!t.classList.contains("ql-active")&&(t.value||!t.hasAttribute("value")),i.preventDefault();e.quill.focus();var l=e.quill.selection.getRange(),u=r(l,1),d=u[0];if(null!=e.handlers[n])e.handlers[n].call(e,a);else if(s.default.query(n).prototype instanceof s.default.Embed){if(a=prompt("Enter "+n),!a)return;e.quill.updateContents((new o.default).retain(d.index).delete(d.length).insert(m({},n,a)),c.default.sources.USER)}else e.quill.format(n,a,c.default.sources.USER);e.update(d)})),this.controls.push([n,t])}}},{key:"update",value:function(t){var e=null==t?{}:this.quill.getFormat(t);this.controls.forEach((function(n){var i=r(n,2),a=i[0],o=i[1];if("SELECT"===o.tagName){var A=void 0;if(null==t)A=null;else if(null==e[a])A=o.querySelector("option[selected]");else if(!Array.isArray(e[a])){var s=e[a];"string"===typeof s&&(s=s.replace(/\"/g,'\\"')),A=o.querySelector('option[value="'+s+'"]')}null==A?(o.value="",o.selectedIndex=-1):A.selected=!0}else if(null==t)o.classList.remove("ql-active");else if(o.hasAttribute("value")){var l=e[a]===o.getAttribute("value")||null!=e[a]&&e[a].toString()===o.getAttribute("value")||null==e[a]&&!o.getAttribute("value");o.classList.toggle("ql-active",l)}else o.classList.toggle("ql-active",null!=e[a])}))}}]),e}(f.default);function w(t,e,n){var r=document.createElement("button");r.setAttribute("type","button"),r.classList.add("ql-"+e),null!=n&&(r.value=n),t.appendChild(r)}function B(t,e){Array.isArray(e[0])||(e=[e]),e.forEach((function(e){var n=document.createElement("span");n.classList.add("ql-formats"),e.forEach((function(t){if("string"===typeof t)w(n,t);else{var e=Object.keys(t)[0],r=t[e];Array.isArray(r)?x(n,e,r):w(n,e,r)}})),t.appendChild(n)}))}function x(t,e,n){var r=document.createElement("select");r.classList.add("ql-"+e),n.forEach((function(t){var e=document.createElement("option");!1!==t?e.setAttribute("value",t):e.setAttribute("selected","selected"),r.appendChild(e)})),t.appendChild(r)}b.DEFAULTS={},b.DEFAULTS={container:null,handlers:{clean:function(){var t=this,e=this.quill.getSelection();if(null!=e)if(0==e.length){var n=this.quill.getFormat();Object.keys(n).forEach((function(e){null!=s.default.query(e,s.default.Scope.INLINE)&&t.quill.format(e,!1)}))}else this.quill.removeFormat(e,c.default.sources.USER)},direction:function(t){var e=this.quill.getFormat()["align"];"rtl"===t&&null==e?this.quill.format("align","right",c.default.sources.USER):t||"right"!==e||this.quill.format("align",!1,c.default.sources.USER),this.quill.format("direction",t,c.default.sources.USER)},indent:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e),r=parseInt(n.indent||0);if("+1"===t||"-1"===t){var i="+1"===t?1:-1;"rtl"===n.direction&&(i*=-1),this.quill.format("indent",r+i,c.default.sources.USER)}},link:function(t){!0===t&&(t=prompt("Enter link URL:")),this.quill.format("link",t,c.default.sources.USER)},list:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e);"check"===t?"checked"===n["list"]||"unchecked"===n["list"]?this.quill.format("list",!1,c.default.sources.USER):this.quill.format("list","unchecked",c.default.sources.USER):this.quill.format("list",t,c.default.sources.USER)}}},e.default=b,e.addControls=B},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=n(28),o=A(a);function A(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=function(t){function e(t,n){s(this,e);var r=l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.label.innerHTML=n,r.container.classList.add("ql-color-picker"),[].slice.call(r.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(t){t.classList.add("ql-primary")})),r}return c(e,t),r(e,[{key:"buildItem",value:function(t){var n=i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"buildItem",this).call(this,t);return n.style.backgroundColor=t.getAttribute("value")||"",n}},{key:"selectItem",value:function(t,n){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n);var r=this.label.querySelector(".ql-color-label"),a=t&&t.getAttribute("data-value")||"";r&&("line"===r.tagName?r.style.stroke=a:r.style.fill=a)}}]),e}(o.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=n(28),o=A(a);function A(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=function(t){function e(t,n){s(this,e);var r=l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.container.classList.add("ql-icon-picker"),[].forEach.call(r.container.querySelectorAll(".ql-picker-item"),(function(t){t.innerHTML=n[t.getAttribute("data-value")||""]})),r.defaultItem=r.container.querySelector(".ql-selected"),r.selectItem(r.defaultItem),r}return c(e,t),r(e,[{key:"selectItem",value:function(t,n){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n),t=t||this.defaultItem,this.label.innerHTML=t.innerHTML}}]),e}(o.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(e,n){var r=this;i(this,t),this.quill=e,this.boundsContainer=n||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",(function(){r.root.style.marginTop=-1*r.quill.root.scrollTop+"px"})),this.hide()}return r(t,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(t){var e=t.left+t.width/2-this.root.offsetWidth/2,n=t.bottom+this.quill.root.scrollTop;this.root.style.left=e+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var r=this.boundsContainer.getBoundingClientRect(),i=this.root.getBoundingClientRect(),a=0;if(i.right>r.right&&(a=r.right-i.right,this.root.style.left=e+a+"px"),i.left<r.left&&(a=r.left-i.left,this.root.style.left=e+a+"px"),i.bottom>r.bottom){var o=i.bottom-i.top,A=t.bottom-t.top+o;this.root.style.top=n-A+"px",this.root.classList.add("ql-flip")}return a}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var o,A=t[Symbol.iterator]();!(r=(o=A.next()).done);r=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){i=!0,a=s}finally{try{!r&&A["return"]&&A["return"]()}finally{if(i)throw a}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n(3),A=g(o),s=n(8),l=g(s),c=n(43),u=g(c),d=n(27),h=g(d),f=n(15),p=n(41),m=g(p);function g(t){return t&&t.__esModule?t:{default:t}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function y(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var b=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],w=function(t){function e(t,n){v(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=b);var r=_(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.container.classList.add("ql-snow"),r}return y(e,t),a(e,[{key:"extendToolbar",value:function(t){t.container.classList.add("ql-snow"),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),m.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),m.default),this.tooltip=new B(this.quill,this.options.bounds),t.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(e,n){t.handlers["link"].call(t,!n.format.link)}))}}]),e}(u.default);w.DEFAULTS=(0,A.default)(!0,{},u.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){if(t){var e=this.quill.getSelection();if(null==e||0==e.length)return;var n=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n);var r=this.quill.theme.tooltip;r.edit("link",n)}else this.quill.format("link",!1)}}}}});var B=function(t){function e(t,n){v(this,e);var r=_(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.preview=r.root.querySelector("a.ql-preview"),r}return y(e,t),a(e,[{key:"listen",value:function(){var t=this;i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",(function(e){t.root.classList.contains("ql-editing")?t.save():t.edit("link",t.preview.textContent),e.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(function(e){if(null!=t.linkRange){var n=t.linkRange;t.restoreFocus(),t.quill.formatText(n,"link",!1,l.default.sources.USER),delete t.linkRange}e.preventDefault(),t.hide()})),this.quill.on(l.default.events.SELECTION_CHANGE,(function(e,n,i){if(null!=e){if(0===e.length&&i===l.default.sources.USER){var a=t.quill.scroll.descendant(h.default,e.index),o=r(a,2),A=o[0],s=o[1];if(null!=A){t.linkRange=new f.Range(e.index-s,A.length());var c=h.default.formats(A.domNode);return t.preview.textContent=c,t.preview.setAttribute("href",c),t.show(),void t.position(t.quill.getBounds(t.linkRange))}}else delete t.linkRange;t.hide()}}))}},{key:"show",value:function(){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),e}(c.BaseTooltip);B.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),e.default=w},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(29),i=nt(r),a=n(36),o=n(38),A=n(64),s=n(65),l=nt(s),c=n(66),u=nt(c),d=n(67),h=nt(d),f=n(37),p=n(26),m=n(39),g=n(40),v=n(56),_=nt(v),y=n(68),b=nt(y),w=n(27),B=nt(w),x=n(69),C=nt(x),k=n(70),Q=nt(k),E=n(71),F=nt(E),U=n(72),O=nt(U),S=n(73),T=nt(S),I=n(13),D=nt(I),L=n(74),P=nt(L),N=n(75),H=nt(N),M=n(57),j=nt(M),R=n(41),K=nt(R),q=n(28),V=nt(q),z=n(59),G=nt(z),W=n(60),$=nt(W),Y=n(61),X=nt(Y),J=n(108),Z=nt(J),tt=n(62),et=nt(tt);function nt(t){return t&&t.__esModule?t:{default:t}}i.default.register({"attributors/attribute/direction":o.DirectionAttribute,"attributors/class/align":a.AlignClass,"attributors/class/background":f.BackgroundClass,"attributors/class/color":p.ColorClass,"attributors/class/direction":o.DirectionClass,"attributors/class/font":m.FontClass,"attributors/class/size":g.SizeClass,"attributors/style/align":a.AlignStyle,"attributors/style/background":f.BackgroundStyle,"attributors/style/color":p.ColorStyle,"attributors/style/direction":o.DirectionStyle,"attributors/style/font":m.FontStyle,"attributors/style/size":g.SizeStyle},!0),i.default.register({"formats/align":a.AlignClass,"formats/direction":o.DirectionClass,"formats/indent":A.IndentClass,"formats/background":f.BackgroundStyle,"formats/color":p.ColorStyle,"formats/font":m.FontClass,"formats/size":g.SizeClass,"formats/blockquote":l.default,"formats/code-block":D.default,"formats/header":u.default,"formats/list":h.default,"formats/bold":_.default,"formats/code":I.Code,"formats/italic":b.default,"formats/link":B.default,"formats/script":C.default,"formats/strike":Q.default,"formats/underline":F.default,"formats/image":O.default,"formats/video":T.default,"formats/list/item":d.ListItem,"modules/formula":P.default,"modules/syntax":H.default,"modules/toolbar":j.default,"themes/bubble":Z.default,"themes/snow":et.default,"ui/icons":K.default,"ui/picker":V.default,"ui/icon-picker":$.default,"ui/color-picker":G.default,"ui/tooltip":X.default},!0),e.default=i.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=n(0),o=A(a);function A(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),r(e,[{key:"add",value:function(t,n){if("+1"===n||"-1"===n){var r=this.value(t)||0;n="+1"===n?r+1:r-1}return 0===n?(this.remove(t),!0):i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"add",this).call(this,t,n)}},{key:"canAdd",value:function(t,n){return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,n)||i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,parseInt(n))}},{key:"value",value:function(t){return parseInt(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t))||void 0}}]),e}(o.default.Attributor.Class),d=new u("indent","ql-indent",{scope:o.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});e.IndentClass=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var l=function(t){function e(){return o(this,e),A(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(i.default);l.blotName="blockquote",l.tagName="blockquote",e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n(4),a=o(i);function o(t){return t&&t.__esModule?t:{default:t}}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function l(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(){return A(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),r(e,null,[{key:"formats",value:function(t){return this.tagName.indexOf(t.tagName)+1}}]),e}(a.default);c.blotName="header",c.tagName=["H1","H2","H3","H4","H5","H6"],e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ListItem=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=n(0),o=u(a),A=n(4),s=u(A),l=n(25),c=u(l);function u(t){return t&&t.__esModule?t:{default:t}}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function p(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var m=function(t){function e(){return h(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return p(e,t),r(e,[{key:"format",value:function(t,n){t!==g.blotName||n?i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n):this.replaceWith(o.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(t,n){return this.parent.isolate(this.offset(this.parent),this.length()),t===this.parent.statics.blotName?(this.parent.replaceWith(t,n),this):(this.parent.unwrap(),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t,n))}}],[{key:"formats",value:function(t){return t.tagName===this.tagName?void 0:i(e.__proto__||Object.getPrototypeOf(e),"formats",this).call(this,t)}}]),e}(s.default);m.blotName="list-item",m.tagName="LI";var g=function(t){function e(t){h(this,e);var n=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t)),r=function(e){if(e.target.parentNode===t){var r=n.statics.formats(t),i=o.default.find(e.target);"checked"===r?i.format("list","unchecked"):"unchecked"===r&&i.format("list","checked")}};return t.addEventListener("touchstart",r),t.addEventListener("mousedown",r),n}return p(e,t),r(e,null,[{key:"create",value:function(t){var n="ordered"===t?"OL":"UL",r=i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,n);return"checked"!==t&&"unchecked"!==t||r.setAttribute("data-checked","checked"===t),r}},{key:"formats",value:function(t){return"OL"===t.tagName?"ordered":"UL"===t.tagName?t.hasAttribute("data-checked")?"true"===t.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),r(e,[{key:"format",value:function(t,e){this.children.length>0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return d({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(t,n){if(t instanceof m)i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n);else{var r=null==n?this.length():n.offset(this),a=this.split(r);a.parent.insertBefore(t,a)}}},{key:"optimize",value:function(t){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=o.default.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}(c.default);g.blotName="list",g.scope=o.default.Scope.BLOCK_BLOT,g.tagName=["OL","UL"],g.defaultChild="list-item",g.allowedChildren=[m],e.ListItem=m,e.default=g},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(56),i=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var l=function(t){function e(){return o(this,e),A(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(i.default);l.blotName="italic",l.tagName=["EM","I"],e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=n(6),o=A(a);function A(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),r(e,null,[{key:"create",value:function(t){return"super"===t?document.createElement("sup"):"sub"===t?document.createElement("sub"):i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t)}},{key:"formats",value:function(t){return"SUB"===t.tagName?"sub":"SUP"===t.tagName?"super":void 0}}]),e}(o.default);u.blotName="script",u.tagName=["SUB","SUP"],e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),i=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var l=function(t){function e(){return o(this,e),A(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(i.default);l.blotName="strike",l.tagName="S",e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),i=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var l=function(t){function e(){return o(this,e),A(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(i.default);l.blotName="underline",l.tagName="U",e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=n(0),o=s(a),A=n(27);function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=["alt","height","width"],h=function(t){function e(){return l(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return u(e,t),r(e,[{key:"format",value:function(t,n){d.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"===typeof t&&n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return d.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,A.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(o.default.Embed);h.blotName="image",h.tagName="IMG",e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=n(4),o=n(27),A=s(o);function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=["height","width"],h=function(t){function e(){return l(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return u(e,t),r(e,[{key:"format",value:function(t,n){d.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return d.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"sanitize",value:function(t){return A.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(a.BlockEmbed);h.blotName="video",h.className="ql-video",h.tagName="IFRAME",e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=n(35),o=u(a),A=n(5),s=u(A),l=n(9),c=u(l);function u(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function f(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var p=function(t){function e(){return d(this,e),h(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return f(e,t),r(e,null,[{key:"create",value:function(t){var n=i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"===typeof t&&(window.katex.render(t,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",t)),n}},{key:"value",value:function(t){return t.getAttribute("data-value")}}]),e}(o.default);p.blotName="formula",p.className="ql-formula",p.tagName="SPAN";var m=function(t){function e(){d(this,e);var t=h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return t}return f(e,t),r(e,null,[{key:"register",value:function(){s.default.register(p,!0)}}]),e}(c.default);e.FormulaBlot=p,e.default=m},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CodeToken=e.CodeBlock=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},a=n(0),o=h(a),A=n(5),s=h(A),l=n(9),c=h(l),u=n(13),d=h(u);function h(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function m(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var g=function(t){function e(){return f(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return m(e,t),r(e,[{key:"replaceWith",value:function(t){this.domNode.textContent=this.domNode.textContent,this.attach(),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t)}},{key:"highlight",value:function(t){var e=this.domNode.textContent;this.cachedText!==e&&((e.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}(d.default);g.className="ql-syntax";var v=new o.default.Attributor.Class("token","hljs",{scope:o.default.Scope.INLINE}),_=function(t){function e(t,n){f(this,e);var r=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if("function"!==typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var i=null;return r.quill.on(s.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(i),i=setTimeout((function(){r.highlight(),i=null}),r.options.interval)})),r.highlight(),r}return m(e,t),r(e,null,[{key:"register",value:function(){s.default.register(v,!0),s.default.register(g,!0)}}]),r(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(s.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(g).forEach((function(e){e.highlight(t.options.highlight)})),this.quill.update(s.default.sources.SILENT),null!=e&&this.quill.setSelection(e,s.default.sources.SILENT)}}}]),e}(c.default);_.DEFAULTS={highlight:function(){return null==window.hljs?null:function(t){var e=window.hljs.highlightAuto(t);return e.value}}(),interval:1e3},e.CodeBlock=g,e.CodeToken=v,e.default=_},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var r=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(3),o=f(a),A=n(8),s=f(A),l=n(43),c=f(l),u=n(15),d=n(41),h=f(d);function f(t){return t&&t.__esModule?t:{default:t}}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function g(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],_=function(t){function e(t,n){p(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=v);var r=m(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.container.classList.add("ql-bubble"),r}return g(e,t),i(e,[{key:"extendToolbar",value:function(t){this.tooltip=new y(this.quill,this.options.bounds),this.tooltip.root.appendChild(t.container),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),h.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),h.default)}}]),e}(c.default);_.DEFAULTS=(0,o.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){t?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var y=function(t){function e(t,n){p(this,e);var r=m(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.on(s.default.events.EDITOR_CHANGE,(function(t,e,n,i){if(t===s.default.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&i===s.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var a=r.quill.getLines(e.index,e.length);if(1===a.length)r.position(r.quill.getBounds(e));else{var o=a[a.length-1],A=r.quill.getIndex(o),l=Math.min(o.length()-1,e.index+e.length-A),c=r.quill.getBounds(new u.Range(A,l));r.position(c)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()})),r}return g(e,t),i(e,[{key:"listen",value:function(){var t=this;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){t.root.classList.remove("ql-editing")})),this.quill.on(s.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var n=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),i=this.root.querySelector(".ql-tooltip-arrow");if(i.style.marginLeft="",0===n)return n;i.style.marginLeft=-1*n-i.offsetWidth/2+"px"}}]),e}(l.BaseTooltip);y.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),e.BubbleTooltip=y,e.default=_},function(t,e,n){t.exports=n(63)}])["default"]}))}).call(this,n("b639").Buffer)},9429:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("img",{staticClass:"img-circle img-lg",attrs:{src:t.options.img,title:"点击上传头像"},on:{click:function(e){return t.editCropper()}}}),n("el-dialog",{attrs:{title:t.title,visible:t.open,width:"800px","append-to-body":""},on:{"update:visible":function(e){t.open=e},opened:t.modalOpened}},[n("el-row",[n("el-col",{style:{height:"350px"},attrs:{xs:24,md:12}},[t.visible?n("vue-cropper",{ref:"cropper",attrs:{img:t.options.img,info:!0,autoCrop:t.options.autoCrop,autoCropWidth:t.options.autoCropWidth,autoCropHeight:t.options.autoCropHeight,fixedBox:t.options.fixedBox},on:{realTime:t.realTime}}):t._e()],1),n("el-col",{style:{height:"350px"},attrs:{xs:24,md:12}},[n("div",{staticClass:"avatar-upload-preview"},[n("img",{style:t.previews.img,attrs:{src:t.previews.url}})])])],1),n("br"),n("el-row",[n("el-col",{attrs:{lg:2,md:2}},[n("el-upload",{attrs:{action:"#","http-request":t.requestUpload,"show-file-list":!1,"before-upload":t.beforeUpload}},[n("el-button",{attrs:{size:"small"}},[t._v(" 上传 "),n("i",{staticClass:"el-icon-upload el-icon--right"})])],1)],1),n("el-col",{attrs:{lg:{span:1,offset:2},md:2}},[n("el-button",{attrs:{icon:"el-icon-plus",size:"small"},on:{click:function(e){return t.changeScale(1)}}})],1),n("el-col",{attrs:{lg:{span:1,offset:1},md:2}},[n("el-button",{attrs:{icon:"el-icon-minus",size:"small"},on:{click:function(e){return t.changeScale(-1)}}})],1),n("el-col",{attrs:{lg:{span:1,offset:1},md:2}},[n("el-button",{attrs:{icon:"el-icon-refresh-left",size:"small"},on:{click:function(e){return t.rotateLeft()}}})],1),n("el-col",{attrs:{lg:{span:1,offset:1},md:2}},[n("el-button",{attrs:{icon:"el-icon-refresh-right",size:"small"},on:{click:function(e){return t.rotateRight()}}})],1),n("el-col",{attrs:{lg:{span:2,offset:6},md:2}},[n("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.uploadImg()}}},[t._v("提 交")])],1)],1)],1)],1)},i=[],a=n("4360"),o=n("7e79"),A=n("c0c7"),s={components:{VueCropper:o["VueCropper"]},props:{user:{type:Object}},data:function(){return{open:!1,visible:!1,title:"修改头像",options:{img:a["a"].getters.avatar,autoCrop:!0,autoCropWidth:200,autoCropHeight:200,fixedBox:!0},previews:{}}},methods:{editCropper:function(){this.open=!0},modalOpened:function(){this.visible=!0},requestUpload:function(){},rotateLeft:function(){this.$refs.cropper.rotateLeft()},rotateRight:function(){this.$refs.cropper.rotateRight()},changeScale:function(t){t=t||1,this.$refs.cropper.changeScale(t)},beforeUpload:function(t){var e=this;if(-1==t.type.indexOf("image/"))this.msgError("文件格式错误,请上传图片类型,如:JPG,PNG后缀的文件。");else{var n=new FileReader;n.readAsDataURL(t),n.onload=function(){e.options.img=n.result}}},uploadImg:function(){var t=this;this.$refs.cropper.getCropBlob((function(e){var n=new FormData;n.append("avatarfile",e),Object(A["k"])(n).then((function(e){t.open=!1,t.options.img="http://10.52.200.159:8080/shanghaigateway/"+e.imgUrl,a["a"].commit("SET_AVATAR",t.options.img),t.msgSuccess("修改成功"),t.visible=!1}))}))},realTime:function(t){this.previews=t}}},l=s,c=n("2877"),u=Object(c["a"])(l,r,i,!1,null,null,null);e["default"]=u.exports},9488:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className,style:{height:t.height,width:t.width}})},i=[],a=n("313e"),o=n.n(a),A=n("feb2");n("817d");var s=6e3,l={mixins:[A["default"]],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"300px"}},data:function(){return{chart:null}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=o.a.init(this.$el,"macarons"),this.chart.setOption({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{top:10,left:"2%",right:"2%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],axisTick:{alignWithLabel:!0}}],yAxis:[{type:"value",axisTick:{show:!1}}],series:[{name:"pageA",type:"bar",stack:"vistors",barWidth:"60%",data:[79,52,200,334,390,330,220],animationDuration:s},{name:"pageB",type:"bar",stack:"vistors",barWidth:"60%",data:[80,52,200,334,390,330,220],animationDuration:s},{name:"pageC",type:"bar",stack:"vistors",barWidth:"60%",data:[30,52,200,334,390,330,220],animationDuration:s}]})}}},c=l,u=n("2877"),d=Object(u["a"])(c,r,i,!1,null,null,null);e["default"]=d.exports},9629:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAADUUlEQVRYhe3YSYhcRRgH8F+3E5M4xgXRSw6DxASSKCoKMjGbTkSwkTmKA0r6IOgtkLEVF/SgqI1KJCRgQDvqwYDbQVsPRhmSoMQRwV0RFzRuIO6OC07roarTrx89r8dJ+6YF//B4tXz18a/lW6oKQ5NTeoxz8Ch+wyU4lCVcrlczlRV7RosCtuBlLMcZ2IMFR6J0IFVfgTU4YQ66LsSlqbbz8TAOptobwsq+iO+zlBbiFp+EBzA6B2JpfIfrcDtO7iL7C27DXeV69a9OAgMYxARO7wG5CVwhrM4XeKaL/CDuEHbs+k4CRYwnyL0pbNMynJrxXYzPEnr+xA0Y0TKKOnYkZJ5PjF+Frfg19lVqpcrKTgQHcHksf4ON+DZjxlDGdmH28CHG8EoH2fGoczUuwgY8FPvexeeCIRWijpvTCoqCxcHTXcgdH5U9mCC3G2fNQI7gasbwe6zvEAyxice1VjHZ3kaw6WqOzSC3Bq/jslj/QVj5Mn7OGAdvoBLLg8IkF8b6NP6I5YU6IOkHR3Fmqv8oYdn3YSi2HYhye7oQS2I7no3ls3HnbAcWhiankub9E3bivVgfE85OEoeEmf9THKPd7dwoWPpOLMZruAkHy/Xq4aOWJtgPmMb9uLZcr04lCb6NU3R3rnlhHzYlQ91ewTedJpBMh8E8sBy3YCnW4+o0iWm8H79ckMpmJmqlyl68JZzZzb3MZnqCcr36MZ6L1VV9RzCi6VsX9SvBw/if4JEiT1eyUYjJ6yTifq1UmUke+RHcirvnMjAPguu1k3tBiFpZIXaDkMblQnA8Ub4SjyQ7O107a6XKNpFgHkayNv4PCORG8Q42z2ZwHgSXxP8n8V/CSrO8QeaxxR8J6fwFWIRbhVj/1GwG57GCzcx7qUBqAe4RiHdFMh+8T3i66DWOw6talzNC5t7IGLMYR5PPFv+ITXgC58a2JTOLtyMvR/0pzhNeu0ZwYhf5tcLjQa6hriE8hbQ9h8zgB3eLBPs+WfhPESzMG4sMFLXS69XzSSSFZfH/dRH7Y2VEeNubV9RKlau04vf+wtDk1DrhktzES/ggd2YBKzAcyw0MN5+At+Be/XMOG7imXK/uahrJNuHB+0l8JTuZ/DdJfYnHMFyuV3fB33EguyhCATiOAAAAAElFTkSuQmCC"},"962a":function(t,e,n){},9643:function(t,e,n){"use strict";n("865e")},"9a8c":function(t,e,n){"use strict";var r=n("ebb5"),i=n("145e"),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("copyWithin",(function(t,e){return i.call(a(this),t,e,arguments.length>2?arguments[2]:void 0)}))},"9b8f":function(t,e,n){"use strict";n.r(e);n("ac1f"),n("5319");var r,i,a={created:function(){var t=this.$route,e=t.params,n=t.query,r=e.path;this.$router.replace({path:"/"+r,query:n})},render:function(t){return t()}},o=a,A=n("2877"),s=Object(A["a"])(o,r,i,!1,null,null,null);e["default"]=s.exports},"9ba5":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"app-container"},[n("div",{staticClass:"conPanel"},[n("el-row",{staticClass:"ht100p",attrs:{gutter:20}},[n("el-col",{staticClass:"ht100p",attrs:{span:7}},[n("div",{staticClass:"topDiv"},[n("div",{staticClass:"cardDiv"},[n("div",{staticClass:"cardTitle"},[t._v("客户标签")]),n("word-cloud-chart",{attrs:{id:"wordCloud",title:t.chartsTitle,data:t.wordCloudChartData,width:t.width,height:t.height}})],1)]),n("div",{staticClass:"bottomDiv"},[n("div",{staticClass:"cardDiv"},[n("div",{staticClass:"cardTitle"},[t._v("客户保单信息")]),n("div",{staticClass:"chart"},[n("div",{staticClass:"topNumDiv"},[n("div",{staticClass:"numTitle"},[t._v("保单总数")]),n("div",{staticClass:"num cursor",on:{click:t.toDetail}},[t._v(t._s(t.custInfo.bdTotalNum)+"张")])]),n("div",{staticClass:"bottomNumDiv"},[n("div",{staticClass:"leftNumDiv"},[n("div",{staticClass:"numTitle"},[t._v("有效保单")]),n("div",{staticClass:"num cursor",on:{click:t.toDetail}},[t._v(t._s(t.custInfo.novpolicy)+"张")])]),n("div",{staticClass:"rightNumDiv"},[n("div",{staticClass:"numTitle"},[t._v("失效保单")]),n("div",{staticClass:"num cursor",on:{click:t.toDetail}},[t._v(t._s(t.custInfo.noivpolicy)+"张")])])])])])])]),n("el-col",{staticClass:"ht100p",attrs:{span:10}},[n("div",{staticClass:"cardDiv"},[n("div",{staticClass:"cardTitle"},[t._v("客户信息")]),n("div",{staticClass:"infoDiv"},[n("div",{staticClass:"chartDiv"},[n("pie-chart-half",{attrs:{id:"pieChartHalf",title:t.chartsTitle,data:t.pieChartHalfData,width:t.width,height:t.height}})],1),n("div",{staticClass:"imgDiv"},[n("div",{class:{levelImgDiv:!0,levelImg:t.isShowlevelText(t.levelText(t.custInfo.custclass)),levelImgNull:!t.isShowlevelText(t.levelText(t.custInfo.custclass))}},[t.isShowlevelText(t.levelText(t.custInfo.custclass))?n("div",{staticClass:"level"},[t._v(t._s(t.levelText(t.custInfo.custclass))+"客户")]):t._e(),n("div",{staticClass:"isPay"},[t._v("有效保单累计保费")]),n("div",{staticClass:"payNum"},[t._v(t._s(t.custInfo.sumprem))])])]),n("el-row",{staticClass:"bottomInfoDiv",attrs:{gutter:10}},[n("el-col",{attrs:{span:24}},[n("div",{staticClass:"bxDetail",staticStyle:{padding:"10px 10px 6px"}},[n("div",{staticClass:"numTitleB"},[t._v("险种保额")]),n("el-row",{attrs:{gutter:10}},t._l(t.majorCategorie,(function(e,r,i){return n("el-col",{attrs:{span:8}},[n("div",{staticClass:"bxInfo"},[t._v(t._s(r)+":"),n("span",[t._v(t._s((Math.floor(10*e)/1e5).toFixed(1)))]),n("span",{staticClass:"unit"},[t._v("万")])])])})),1)],1)])],1),n("el-row",{staticClass:"bottomInfoDiv",attrs:{gutter:10}},[n("el-col",{attrs:{span:12}},[n("div",{staticClass:"bxDetail bxDetailHt"},[n("div",{staticClass:"numTitleB"},[t._v("续期信息")]),n("div",{staticClass:"bxInfo"},[t._v("年缴保费:"+t._s(t.custInfo.prem)+"元")]),n("div",{staticClass:"bxInfo"},[t._v("当年已缴保费:"+t._s(t.custInfo.handedinprem)+"元")]),n("div",{staticClass:"bxInfo"},[t._v("当年未缴保费:"+t._s(t.custInfo.wjbf)+"元")])])]),n("el-col",{attrs:{span:12}},[n("div",{staticClass:"bxDetail bxDetailHt"},[n("div",{staticClass:"numTitleB"},[t._v("理赔信息")]),n("div",{staticClass:"bxInfo"},[t._v("是否理赔:"+t._s(t.insuranceclaimthread.isClaim))]),n("div",{staticClass:"bxInfo"},[t._v("理赔金额:"+t._s(t.insuranceclaimthread.claimAmount)+"元")]),n("div",{staticClass:"bxInfo"},[t._v("理赔类别:"+t._s(t.insuranceclaimthread.claimType))])])])],1)],1)])]),n("el-col",{staticClass:"ht100p",attrs:{span:7}},[n("div",{staticClass:"topDiv"},[n("div",{staticClass:"cardDiv"},[n("div",{staticClass:"cardTitle"},[t._v("基本信息")]),n("div",{staticClass:"userInfo"},[n("el-row",{staticClass:"mt20",attrs:{gutter:10}},[n("el-col",{attrs:{span:12}},[n("div",[t._v("姓名:"+t._s(t.custInfo.name))])]),n("el-col",{attrs:{span:12}},[n("div",[t._v("年龄:"+t._s(t.custInfo.age)+"岁")])])],1),n("el-row",{attrs:{gutter:10}},[n("el-col",{attrs:{span:12}},[n("div",[t._v("享受保障:"),n("span",[t._v(t._s(t.custInfo.guaranteeDay))])])])],1),n("div",{staticClass:"dayDiv"},[n("div",{staticClass:"dayTitle"},[t._v("首张保单距今时长")]),n("div",{staticClass:"dayNum"},[t._v(t._s(t.custInfo.insureDay)),n("span",{staticClass:"unit"})])])],1)])]),n("div",{staticClass:"bottomDiv"},[n("div",{staticClass:"cardDiv"},[n("div",{staticClass:"cardTitle"},[t._v("客户历史投保月份分布(有效期缴保单)")]),n("line-bar-chart",{attrs:{id:"lineBarChart",width:t.width,height:t.height,data:t.lineBarChartData}})],1)])])],1)],1)])},i=[],a=(n("b680"),n("b0c0"),n("c871")),o=n("4cf1"),A=n("1035"),s=n("f10d"),l={name:"UserInfoOverview",components:{WordCloudChart:o["default"],LineBarChart:A["default"],PieChartHalf:s["default"]},data:function(){return{loading:!0,chartsTitle:"",custInfo:{},wordCloudChartData:[],lineBarChartData:{lineData:{name:"",xAxisName:"单位:月",yAxisName:"单位:元",data:[]},xAxisData:[]},pieChartHalfData:[],width:"100%",height:"80%",insuranceclaimthread:{claimType:"",claimAmount:"",isClaim:""},majorCategorie:{}}},created:function(){this.getCustomerOverViewByIdData()},mounted:function(){},methods:{getCustomerOverViewByIdData:function(){this.loading=!0;var t=this,e=this.$route.query.id;Object(a["b"])({id:e}).then((function(e){console.log(e);for(var n=0;n<120;n++){var r="label"+n;if("label48"!=r&&"label49"!=r&&"label55"!=r&&"label70"!=r&&"label71"!=r&&e.data.custInfo[r]&&""!=e.data.custInfo[r]){var i={name:e.data.custInfo[r],value:n};t.wordCloudChartData.push(i)}}t.custInfo=e.data.custInfo,t.custInfo.wjbf=(parseFloat(t.custInfo.prem)-parseFloat(t.custInfo.handedinprem)).toFixed(2),0==t.custInfo.wjbf&&(t.custInfo.wjbf="0.0"),(!t.custInfo.noivpolicy||t.custInfo.noivpolicy<=0)&&(t.custInfo.noivpolicy=0),(!t.custInfo.novpolicy||t.custInfo.novpolicy<=0)&&(t.custInfo.novpolicy=0),t.custInfo.bdTotalNum=t.custInfo.noivpolicy+t.custInfo.novpolicy,void 0==e.data.insuranceclaimthread||(t.insuranceclaimthread=e.data.insuranceclaimthread),void 0==e.data.majorCategorie||(t.majorCategorie=e.data.majorCategorie),t.lineBarChartData.xAxisData=e.data.lineBarChartData.xaxisData,t.lineBarChartData.lineData.data=e.data.lineBarChartData.actaulData.data,t.lineBarChartData.lineData.name=e.data.lineBarChartData.actaulData.name,t.loading=!1}))},toDetail:function(){var t=this.$route.query.id;this.$router.push({path:"/userInfoDetails",query:{id:t}})},isShowlevelText:function(t){return"无"!=t}}},c=l,u=(n("1d91"),n("2877")),d=Object(u["a"])(c,r,i,!1,null,"3ccc3a3c",null);e["default"]=d.exports},a078:function(t,e,n){var r=n("7b0b"),i=n("50c4"),a=n("35a1"),o=n("e95a"),A=n("0366"),s=n("ebb5").aTypedArrayConstructor;t.exports=function(t){var e,n,l,c,u,d,h=r(t),f=arguments.length,p=f>1?arguments[1]:void 0,m=void 0!==p,g=a(h);if(void 0!=g&&!o(g)){u=g.call(h),d=u.next,h=[];while(!(c=d.call(u)).done)h.push(c.value)}for(m&&f>2&&(p=A(p,arguments[2],2)),n=i(h.length),l=new(s(this))(n),e=0;n>e;e++)l[e]=m?p(h[e],e):h[e];return l}},a206:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGcAAAALCAYAAABid5PYAAADkUlEQVRYhY3XS6hVdRTH8Y8KDpzckTNp5PSOGlhQE4cNLmUYUUR4CMKMIMoKIsIKiQO9RYjsYQQ9KCOiU0lEZQ+xt0VSWVHdHnqR0upmt263wX8d9r7bvf63/+Ss3zmLvf/7u/5r/9ZZdtqBWUusFdiDqc73szgLH4Zeg3fis70+wZn4I/RUXG9FJ28ntnT05k7OAs7Dc6EnsA+TnbyjOB3ToScjb6KTtxfnYD705rhvd12LOyLOeJzE2XgvdMbjEM7AidAZj13LezbSXff1bAQu1xRmAqOejfyKDZrCrMPjPRt5C1e39A1OLQzcqinMSuWhuoX5Gxs1hVkTe+sW5htcpCnMlPKs3fUU7mzpjMcVmsJkPI7jXE1hMh77sWWp4mSQ7sZjEWeQ5pWHPxx6LZ7Hqk7ejwrMudAXY3vPPUfYFvEyPIT1PXlb8UbEGaRZ5dAcC51BOohNSseS89iBhyPOeCzgEnwROuNxBBsHo+FcrTgZpNcVANQhbcOLEa+OeHUnZ04pzE+h18f1lnXyDiuF/jf09thfdz2KeyLOIMFl+CjiDNIvSgHH7/2Mx5u4JuIaj1viPizBYzAaTkNWnAzStALzn9AZpGdxW8SrYlNre/KuwtsRTyowV3Zyfld85njozcoJ7q4PNKe6BukupUvIIY27/qvQGY8fLO76jMcLmq6v8dg6GA33jUVfcTJIfyknaSZ0BumQ5lWwQgGxrifvQdwfceYLC3GtT0NnvjBj8SnPIL2m6foapJvxUsQZj3HX/xw64/Fl7GUpHrsHo+G97S+6xckgjW/+bsQZpOMWn/LMPA8oBkruCzDE0xFnvjA+5d+29tkH6XtcEPk1SHs0r68ajyuVaYycx2/KALAUj/f1eFm7ODVIOzWGl0FawKX4PHRmnkdxvnLyar6wFzdGnPkCXI9XIs4gnbS46zNIn2m6vsZjFx6IuMZjU1yTnMcMNgxGwz+7P4yLU4PUHnNrkNpjbmae7TG35gvtMTfzBXhSM+ZmkChQxmNuBmnc9SfUeezX/B+r8bgdz0Sc8ZjHhYPR8Lue3yxXh9Qec2uQ2mNuZp4sHnMzX5hVIB1T94WDGCgndFIOaQceiTiD1B5zazyO+H88XsZNEdd4XDcYDV/t+R6lOBmk9phbg9QeczPzhN2aMTfzBcqY+7G6L7TH3LEv9EFqj7k1SO0xdyke0+o8vtZ0fY3HExb/uT1l/QeV3CjH/eA1hQAAAABJRU5ErkJggg=="},a259:function(t,e,n){"use strict";n("a85a")},a36b:function(t,e,n){t.exports=n.p+"static/img/404.a57b6f31.png"},a3d7:function(t,e,n){"use strict";n("e601")},a6c1:function(t,e,n){var r,i;(function(){var a=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=18)}([,,function(t,e,n){"use strict";function r(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function i(t,e){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),e=e||"",t.indent_level>0&&(e=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=e,this.__base_string_length=e.length}function a(t,e){this.__indent_cache=new i(t,e),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new r(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}r.prototype.clone_empty=function(){var t=new r(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},r.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},r.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1},r.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},r.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},r.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},r.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===t.__items[0]&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},r.prototype.is_empty=function(){return 0===this.__items.length},r.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},r.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},r.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},r.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},r.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},r.prototype.trim=function(){while(" "===this.last())this.__items.pop(),this.__character_count-=1},r.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t},i.prototype.get_indent_size=function(t,e){var n=this.__base_string_length;return e=e||0,t<0&&(n=0),n+=t*this.__indent_size,n+=e,n},i.prototype.get_indent_string=function(t,e){var n=this.__base_string;return e=e||0,t<0&&(t=0,n=""),e+=t*this.__indent_size,this.__ensure_cache(e),n+=this.__cache[e],n},i.prototype.__ensure_cache=function(t){while(t>=this.__cache.length)this.__add_column()},i.prototype.__add_column=function(){var t=this.__cache.length,e=0,n="";this.__indent_size&&t>=this.__indent_size&&(e=Math.floor(t/this.__indent_size),t-=e*this.__indent_size,n=new Array(e+1).join(this.__indent_string)),t&&(n+=new Array(t+1).join(" ")),this.__cache.push(n)},a.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},a.prototype.get_line_number=function(){return this.__lines.length},a.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)},a.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(t){return!(this.is_empty()||!t&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},a.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(t,e){return t=t||0,e=e||0,this.next_line.set_indent(t,e),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(t){for(var e=0;e<t.newlines;e++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},a.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},a.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},a.prototype.remove_indent=function(t){var e=this.__lines.length;while(t<e)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()},a.prototype.trim=function(t){t=void 0!==t&&t,this.current_line.trim();while(t&&this.__lines.length>1&&this.current_line.is_empty())this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},a.prototype.just_added_newline=function(){return this.current_line.is_empty()},a.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},a.prototype.ensure_empty_line_above=function(t,e){var n=this.__lines.length-2;while(n>=0){var i=this.__lines[n];if(i.is_empty())break;if(0!==i.item(0).indexOf(t)&&i.item(-1)!==e){this.__lines.splice(n+1,0,new r(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},t.exports.Output=a},function(t,e,n){"use strict";function r(t,e,n,r){this.type=t,this.text=e,this.comments_before=null,this.newlines=n||0,this.whitespace_before=r||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}t.exports.Token=r},,,function(t,e,n){"use strict";function r(t,e){this.raw_options=i(t,e),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function i(t,e){var n,r={};for(n in t=a(t),t)n!==e&&(r[n]=t[n]);if(e&&t[e])for(n in t[e])r[n]=t[e][n];return r}function a(t){var e,n={};for(e in t){var r=e.replace(/-/g,"_");n[r]=t[e]}return n}r.prototype._get_array=function(t,e){var n=this.raw_options[t],r=e||[];return"object"===typeof n?null!==n&&"function"===typeof n.concat&&(r=n.concat()):"string"===typeof n&&(r=n.split(/[^a-zA-Z0-9_\/\-]+/)),r},r.prototype._get_boolean=function(t,e){var n=this.raw_options[t],r=void 0===n?!!e:!!n;return r},r.prototype._get_characters=function(t,e){var n=this.raw_options[t],r=e||"";return"string"===typeof n&&(r=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),r},r.prototype._get_number=function(t,e){var n=this.raw_options[t];e=parseInt(e,10),isNaN(e)&&(e=0);var r=parseInt(n,10);return isNaN(r)&&(r=e),r},r.prototype._get_selection=function(t,e,n){var r=this._get_selection_list(t,e,n);if(1!==r.length)throw new Error("Invalid Option Value: The option '"+t+"' can only be one of the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return r[0]},r.prototype._get_selection_list=function(t,e,n){if(!e||0===e.length)throw new Error("Selection list cannot be empty.");if(n=n||[e[0]],!this._is_valid_selection(n,e))throw new Error("Invalid Default Value!");var r=this._get_array(t,n);if(!this._is_valid_selection(r,e))throw new Error("Invalid Option Value: The option '"+t+"' can contain only the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return r},r.prototype._is_valid_selection=function(t,e){return t.length&&e.length&&!t.some((function(t){return-1===e.indexOf(t)}))},t.exports.Options=r,t.exports.normalizeOpts=a,t.exports.mergeOpts=i},,function(t,e,n){"use strict";var r=RegExp.prototype.hasOwnProperty("sticky");function i(t){this.__input=t||"",this.__input_length=this.__input.length,this.__position=0}i.prototype.restart=function(){this.__position=0},i.prototype.back=function(){this.__position>0&&(this.__position-=1)},i.prototype.hasNext=function(){return this.__position<this.__input_length},i.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__input.charAt(this.__position),this.__position+=1),t},i.prototype.peek=function(t){var e=null;return t=t||0,t+=this.__position,t>=0&&t<this.__input_length&&(e=this.__input.charAt(t)),e},i.prototype.__match=function(t,e){t.lastIndex=e;var n=t.exec(this.__input);return!n||r&&t.sticky||n.index!==e&&(n=null),n},i.prototype.test=function(t,e){return e=e||0,e+=this.__position,e>=0&&e<this.__input_length&&!!this.__match(t,e)},i.prototype.testChar=function(t,e){var n=this.peek(e);return t.lastIndex=0,null!==n&&t.test(n)},i.prototype.match=function(t){var e=this.__match(t,this.__position);return e?this.__position+=e[0].length:e=null,e},i.prototype.read=function(t,e,n){var r,i="";return t&&(r=this.match(t),r&&(i+=r[0])),!e||!r&&t||(i+=this.readUntil(e,n)),i},i.prototype.readUntil=function(t,e){var n="",r=this.__position;t.lastIndex=this.__position;var i=t.exec(this.__input);return i?(r=i.index,e&&(r+=i[0].length)):r=this.__input_length,n=this.__input.substring(this.__position,r),this.__position=r,n},i.prototype.readUntilAfter=function(t){return this.readUntil(t,!0)},i.prototype.get_regexp=function(t,e){var n=null,i="g";return e&&r&&(i="y"),"string"===typeof t&&""!==t?n=new RegExp(t,i):t&&(n=new RegExp(t.source,i)),n},i.prototype.get_literal_regexp=function(t){return RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},i.prototype.peekUntilAfter=function(t){var e=this.__position,n=this.readUntilAfter(t);return this.__position=e,n},i.prototype.lookBack=function(t){var e=this.__position-1;return e>=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=i},function(t,e,n){"use strict";var r=n(8).InputScanner,i=n(3).Token,a=n(10).TokenStream,o=n(11).WhitespacePattern,A={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},s=function(t,e){this._input=new r(t),this._options=e||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new o(this._input)};s.prototype.tokenize=function(){var t;this._input.restart(),this.__tokens=new a,this._reset();var e=new i(A.START,""),n=null,r=[],o=new a;while(e.type!==A.EOF){t=this._get_next_token(e,n);while(this._is_comment(t))o.add(t),t=this._get_next_token(e,n);o.isEmpty()||(t.comments_before=o,o=new a),t.parent=n,this._is_opening(t)?(r.push(n),n=t):n&&this._is_closing(t,n)&&(t.opened=n,n.closed=t,n=r.pop(),t.parent=n),t.previous=e,e.next=t,this.__tokens.add(t),e=t}return this.__tokens},s.prototype._is_first_token=function(){return this.__tokens.isEmpty()},s.prototype._reset=function(){},s.prototype._get_next_token=function(t,e){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(A.RAW,n):this._create_token(A.EOF,"")},s.prototype._is_comment=function(t){return!1},s.prototype._is_opening=function(t){return!1},s.prototype._is_closing=function(t,e){return!1},s.prototype._create_token=function(t,e){var n=new i(t,e,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return n},s.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},t.exports.Tokenizer=s,t.exports.TOKEN=A},function(t,e,n){"use strict";function r(t){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=t}r.prototype.restart=function(){this.__position=0},r.prototype.isEmpty=function(){return 0===this.__tokens_length},r.prototype.hasNext=function(){return this.__position<this.__tokens_length},r.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__tokens[this.__position],this.__position+=1),t},r.prototype.peek=function(t){var e=null;return t=t||0,t+=this.__position,t>=0&&t<this.__tokens_length&&(e=this.__tokens[t]),e},r.prototype.add=function(t){this.__parent_token&&(t.parent=this.__parent_token),this.__tokens.push(t),this.__tokens_length+=1},t.exports.TokenStream=r},function(t,e,n){"use strict";var r=n(12).Pattern;function i(t,e){r.call(this,t,e),e?this._line_regexp=this._input.get_regexp(e._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}i.prototype=new r,i.prototype.__set_whitespace_patterns=function(t,e){t+="\\t ",e+="\\n\\r",this._match_pattern=this._input.get_regexp("["+t+e+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+e+"]")},i.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var t=this._input.read(this._match_pattern);if(" "===t)this.whitespace_before_token=" ";else if(t){var e=this.__split(this._newline_regexp,t);this.newline_count=e.length-1,this.whitespace_before_token=e[this.newline_count]}return t},i.prototype.matching=function(t,e){var n=this._create();return n.__set_whitespace_patterns(t,e),n._update(),n},i.prototype._create=function(){return new i(this._input,this)},i.prototype.__split=function(t,e){t.lastIndex=0;var n=0,r=[],i=t.exec(e);while(i)r.push(e.substring(n,i.index)),n=i.index+i[0].length,i=t.exec(e);return n<e.length?r.push(e.substring(n,e.length)):r.push(""),r},t.exports.WhitespacePattern=i},function(t,e,n){"use strict";function r(t,e){this._input=t,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,e&&(this._starting_pattern=this._input.get_regexp(e._starting_pattern,!0),this._match_pattern=this._input.get_regexp(e._match_pattern,!0),this._until_pattern=this._input.get_regexp(e._until_pattern),this._until_after=e._until_after)}r.prototype.read=function(){var t=this._input.read(this._starting_pattern);return this._starting_pattern&&!t||(t+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),t},r.prototype.read_match=function(){return this._input.match(this._match_pattern)},r.prototype.until_after=function(t){var e=this._create();return e._until_after=!0,e._until_pattern=this._input.get_regexp(t),e._update(),e},r.prototype.until=function(t){var e=this._create();return e._until_after=!1,e._until_pattern=this._input.get_regexp(t),e._update(),e},r.prototype.starting_with=function(t){var e=this._create();return e._starting_pattern=this._input.get_regexp(t,!0),e._update(),e},r.prototype.matching=function(t){var e=this._create();return e._match_pattern=this._input.get_regexp(t,!0),e._update(),e},r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){},t.exports.Pattern=r},function(t,e,n){"use strict";function r(t,e){t="string"===typeof t?t:t.source,e="string"===typeof e?e:e.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+e,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+e,"g")}r.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var e={};this.__directive_pattern.lastIndex=0;var n=this.__directive_pattern.exec(t);while(n)e[n[1]]=n[2],n=this.__directive_pattern.exec(t);return e},r.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)},t.exports.Directives=r},function(t,e,n){"use strict";var r=n(12).Pattern,i={django:!1,erb:!1,handlebars:!1,php:!1};function a(t,e){r.call(this,t,e),this.__template_pattern=null,this._disabled=Object.assign({},i),this._excluded=Object.assign({},i),e&&(this.__template_pattern=this._input.get_regexp(e.__template_pattern),this._excluded=Object.assign(this._excluded,e._excluded),this._disabled=Object.assign(this._disabled,e._disabled));var n=new r(t);this.__patterns={handlebars_comment:n.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:n.starting_with(/{{{/).until_after(/}}}/),handlebars:n.starting_with(/{{/).until_after(/}}/),php:n.starting_with(/<\?(?:[=]|php)/).until_after(/\?>/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/)}}a.prototype=new r,a.prototype._create=function(){return new a(this._input,this)},a.prototype._update=function(){this.__set_templated_pattern()},a.prototype.disable=function(t){var e=this._create();return e._disabled[t]=!0,e._update(),e},a.prototype.read_options=function(t){var e=this._create();for(var n in i)e._disabled[n]=-1===t.templating.indexOf(n);return e._update(),e},a.prototype.exclude=function(t){var e=this._create();return e._excluded[t]=!0,e._update(),e},a.prototype.read=function(){var t="";t=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);var e=this._read_template();while(e)this._match_pattern?e+=this._input.read(this._match_pattern):e+=this._input.readUntil(this.__template_pattern),t+=e,e=this._read_template();return this._until_after&&(t+=this._input.readUntilAfter(this._until_pattern)),t},a.prototype.__set_templated_pattern=function(){var t=[];this._disabled.php||t.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||t.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(t.push(this.__patterns.django._starting_pattern.source),t.push(this.__patterns.django_value._starting_pattern.source),t.push(this.__patterns.django_comment._starting_pattern.source)),this._until_pattern&&t.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+t.join("|")+")")},a.prototype._read_template=function(){var t="",e=this._input.peek();if("<"===e){var n=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==n||(t=t||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==n||(t=t||this.__patterns.erb.read())}else"{"===e&&(this._disabled.handlebars||this._excluded.handlebars||(t=t||this.__patterns.handlebars_comment.read(),t=t||this.__patterns.handlebars_unescaped.read(),t=t||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(t=t||this.__patterns.django_value.read()),this._excluded.django||(t=t||this.__patterns.django_comment.read(),t=t||this.__patterns.django.read())));return t},t.exports.TemplatablePattern=a},,,,function(t,e,n){"use strict";var r=n(19).Beautifier,i=n(20).Options;function a(t,e,n,i){var a=new r(t,e,n,i);return a.beautify()}t.exports=a,t.exports.defaultOptions=function(){return new i}},function(t,e,n){"use strict";var r=n(20).Options,i=n(2).Output,a=n(21).Tokenizer,o=n(21).TOKEN,A=/\r\n|[\r\n]/,s=/\r\n|[\r\n]/g,l=function(t,e){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=t.max_preserve_newlines,this.preserve_newlines=t.preserve_newlines,this._output=new i(t,e)};l.prototype.current_line_has_match=function(t){return this._output.current_line.has_match(t)},l.prototype.set_space_before_token=function(t,e){this._output.space_before_token=t,this._output.non_breaking_space=e},l.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},l.prototype.add_raw_token=function(t){this._output.add_raw_token(t)},l.prototype.print_preserved_newlines=function(t){var e=0;t.type!==o.TEXT&&t.previous.type!==o.TEXT&&(e=t.newlines?1:0),this.preserve_newlines&&(e=t.newlines<this.max_preserve_newlines+1?t.newlines:this.max_preserve_newlines+1);for(var n=0;n<e;n++)this.print_newline(n>0);return 0!==e},l.prototype.traverse_whitespace=function(t){return!(!t.whitespace_before&&!t.newlines)&&(this.print_preserved_newlines(t)||(this._output.space_before_token=!0),!0)},l.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},l.prototype.print_newline=function(t){this._output.add_new_line(t)},l.prototype.print_token=function(t){t.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(t.text))},l.prototype.indent=function(){this.indent_level++},l.prototype.get_full_indent=function(t){return t=this.indent_level+(t||0),t<1?"":this._output.get_indent_string(t)};var c=function(t){var e=null,n=t.next;while(n.type!==o.EOF&&t.closed!==n){if(n.type===o.ATTRIBUTE&&"type"===n.text){n.next&&n.next.type===o.EQUALS&&n.next.next&&n.next.next.type===o.VALUE&&(e=n.next.next.text);break}n=n.next}return e},u=function(t,e){var n=null,r=null;return e.closed?("script"===t?n="text/javascript":"style"===t&&(n="text/css"),n=c(e)||n,n.search("text/css")>-1?r="css":n.search(/(text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect)/)>-1?r="javascript":n.search(/(text|application|dojo)\/(x-)?(html)/)>-1?r="html":n.search(/test\/null/)>-1&&(r="null"),r):null};function d(t,e){return-1!==e.indexOf(t)}function h(t,e,n){this.parent=t||null,this.tag=e?e.tag_name:"",this.indent_level=n||0,this.parser_token=e||null}function f(t){this._printer=t,this._current_frame=null}function p(t,e,n,i){this._source_text=t||"",e=e||{},this._js_beautify=n,this._css_beautify=i,this._tag_stack=null;var a=new r(e,"html");this._options=a,this._is_wrap_attributes_force="force"===this._options.wrap_attributes.substr(0,"force".length),this._is_wrap_attributes_force_expand_multiline="force-expand-multiline"===this._options.wrap_attributes,this._is_wrap_attributes_force_aligned="force-aligned"===this._options.wrap_attributes,this._is_wrap_attributes_aligned_multiple="aligned-multiple"===this._options.wrap_attributes,this._is_wrap_attributes_preserve="preserve"===this._options.wrap_attributes.substr(0,"preserve".length),this._is_wrap_attributes_preserve_aligned="preserve-aligned"===this._options.wrap_attributes}f.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},f.prototype.record_tag=function(t){var e=new h(this._current_frame,t,this._printer.indent_level);this._current_frame=e},f.prototype._try_pop_frame=function(t){var e=null;return t&&(e=t.parser_token,this._printer.indent_level=t.indent_level,this._current_frame=t.parent),e},f.prototype._get_frame=function(t,e){var n=this._current_frame;while(n){if(-1!==t.indexOf(n.tag))break;if(e&&-1!==e.indexOf(n.tag)){n=null;break}n=n.parent}return n},f.prototype.try_pop=function(t,e){var n=this._get_frame([t],e);return this._try_pop_frame(n)},f.prototype.indent_to_tag=function(t){var e=this._get_frame(t);e&&(this._printer.indent_level=e.indent_level)},p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._source_text,e=this._options.eol;"auto"===this._options.eol&&(e="\n",t&&A.test(t)&&(e=t.match(A)[0])),t=t.replace(s,"\n");var n=t.match(/^[\t ]*/)[0],r={text:"",type:""},i=new m,c=new l(this._options,n),u=new a(t,this._options).tokenize();this._tag_stack=new f(c);var d=null,h=u.next();while(h.type!==o.EOF)h.type===o.TAG_OPEN||h.type===o.COMMENT?(d=this._handle_tag_open(c,h,i,r),i=d):h.type===o.ATTRIBUTE||h.type===o.EQUALS||h.type===o.VALUE||h.type===o.TEXT&&!i.tag_complete?d=this._handle_inside_tag(c,h,i,u):h.type===o.TAG_CLOSE?d=this._handle_tag_close(c,h,i):h.type===o.TEXT?d=this._handle_text(c,h,i):c.add_raw_token(h),r=d,h=u.next();var p=c._output.get_code(e);return p},p.prototype._handle_tag_close=function(t,e,n){var r={text:e.text,type:e.type};return t.alignment_size=0,n.tag_complete=!0,t.set_space_before_token(e.newlines||""!==e.whitespace_before,!0),n.is_unformatted?t.add_raw_token(e):("<"===n.tag_start_char&&(t.set_space_before_token("/"===e.text[0],!0),this._is_wrap_attributes_force_expand_multiline&&n.has_wrapped_attrs&&t.print_newline(!1)),t.print_token(e)),!n.indent_content||n.is_unformatted||n.is_content_unformatted||(t.indent(),n.indent_content=!1),n.is_inline_element||n.is_unformatted||n.is_content_unformatted||t.set_wrap_point(),r},p.prototype._handle_inside_tag=function(t,e,n,r){var i=n.has_wrapped_attrs,a={text:e.text,type:e.type};if(t.set_space_before_token(e.newlines||""!==e.whitespace_before,!0),n.is_unformatted)t.add_raw_token(e);else if("{"===n.tag_start_char&&e.type===o.TEXT)t.print_preserved_newlines(e)?(e.newlines=0,t.add_raw_token(e)):t.print_token(e);else{if(e.type===o.ATTRIBUTE?(t.set_space_before_token(!0),n.attr_count+=1):(e.type===o.EQUALS||e.type===o.VALUE&&e.previous.type===o.EQUALS)&&t.set_space_before_token(!1),e.type===o.ATTRIBUTE&&"<"===n.tag_start_char&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(t.traverse_whitespace(e),i=i||0!==e.newlines),this._is_wrap_attributes_force)){var A=n.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&1===n.attr_count){var s,l=!0,c=0;do{if(s=r.peek(c),s.type===o.ATTRIBUTE){l=!1;break}c+=1}while(c<4&&s.type!==o.EOF&&s.type!==o.TAG_CLOSE);A=!l}A&&(t.print_newline(!1),i=!0)}t.print_token(e),i=i||t.previous_token_wrapped(),n.has_wrapped_attrs=i}return a},p.prototype._handle_text=function(t,e,n){var r={text:e.text,type:"TK_CONTENT"};return n.custom_beautifier_name?this._print_custom_beatifier_text(t,e,n):n.is_unformatted||n.is_content_unformatted?t.add_raw_token(e):(t.traverse_whitespace(e),t.print_token(e)),r},p.prototype._print_custom_beatifier_text=function(t,e,n){var r=this;if(""!==e.text){var i,a=e.text,o=1,A="",s="";"javascript"===n.custom_beautifier_name&&"function"===typeof this._js_beautify?i=this._js_beautify:"css"===n.custom_beautifier_name&&"function"===typeof this._css_beautify?i=this._css_beautify:"html"===n.custom_beautifier_name&&(i=function(t,e){var n=new p(t,e,r._js_beautify,r._css_beautify);return n.beautify()}),"keep"===this._options.indent_scripts?o=0:"separate"===this._options.indent_scripts&&(o=-t.indent_level);var l=t.get_full_indent(o);if(a=a.replace(/\n[ \t]*$/,""),"html"!==n.custom_beautifier_name&&"<"===a[0]&&a.match(/^(<!--|<!\[CDATA\[)/)){var c=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(a);if(!c)return void t.add_raw_token(e);A=l+c[1]+"\n",a=c[4],c[5]&&(s=l+c[5]),a=a.replace(/\n[ \t]*$/,""),(c[2]||-1!==c[3].indexOf("\n"))&&(c=c[3].match(/[ \t]+$/),c&&(e.whitespace_before=c[0]))}if(a)if(i){var u=function(){this.eol="\n"};u.prototype=this._options.raw_options;var d=new u;a=i(l+a,d)}else{var h=e.whitespace_before;h&&(a=a.replace(new RegExp("\n("+h+")?","g"),"\n")),a=l+a.replace(/\n/g,"\n"+l)}A&&(a=a?A+a+"\n"+s:A+s),t.print_newline(!1),a&&(e.text=a,e.whitespace_before="",e.newlines=0,t.add_raw_token(e),t.print_newline(!0))}},p.prototype._handle_tag_open=function(t,e,n,r){var i=this._get_tag_open_token(e);return(n.is_unformatted||n.is_content_unformatted)&&e.type===o.TAG_OPEN&&0===e.text.indexOf("</")?t.add_raw_token(e):(t.traverse_whitespace(e),this._set_tag_position(t,e,i,n,r),i.is_inline_element||t.set_wrap_point(),t.print_token(e)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(i.alignment_size=e.text.length+1),i.tag_complete||i.is_unformatted||(t.alignment_size=i.alignment_size),i};var m=function(t,e){var n;(this.parent=t||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",e)?(this.tag_start_char=e.text[0],this.text=e.text,"<"===this.tag_start_char?(n=e.text.match(/^<([^\s>]*)/),this.tag_check=n?n[1]:""):(n=e.text.match(/^{{[#\^]?([^\s}]+)/),this.tag_check=n?n[1]:""),this.tag_check=this.tag_check.toLowerCase(),e.type===o.COMMENT&&(this.tag_complete=!0),this.is_start_tag="/"!==this.tag_check.charAt(0),this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||e.closed&&"/>"===e.closed.text,this.is_end_tag=this.is_end_tag||"{"===this.tag_start_char&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(2)))):this.tag_complete=!0};p.prototype._get_tag_open_token=function(t){var e=new m(this._tag_stack.get_parser_token(),t);return e.alignment_size=this._options.wrap_attributes_indent_size,e.is_end_tag=e.is_end_tag||d(e.tag_check,this._options.void_elements),e.is_empty_element=e.tag_complete||e.is_start_tag&&e.is_end_tag,e.is_unformatted=!e.tag_complete&&d(e.tag_check,this._options.unformatted),e.is_content_unformatted=!e.is_empty_element&&d(e.tag_check,this._options.content_unformatted),e.is_inline_element=d(e.tag_name,this._options.inline)||"{"===e.tag_start_char,e},p.prototype._set_tag_position=function(t,e,n,r,i){if(n.is_empty_element||(n.is_end_tag?n.start_tag_token=this._tag_stack.try_pop(n.tag_name):(this._do_optional_end_element(n)&&(n.is_inline_element||(n.parent&&(n.parent.multiline_content=!0),t.print_newline(!1))),this._tag_stack.record_tag(n),"script"!==n.tag_name&&"style"!==n.tag_name||n.is_unformatted||n.is_content_unformatted||(n.custom_beautifier_name=u(n.tag_check,e)))),d(n.tag_check,this._options.extra_liners)&&(t.print_newline(!1),t._output.just_added_blankline()||t.print_newline(!0)),n.is_empty_element){if("{"===n.tag_start_char&&"else"===n.tag_check){this._tag_stack.indent_to_tag(["if","unless","each"]),n.indent_content=!0;var a=t.current_line_has_match(/{{#if/);a||t.print_newline(!1)}"!--"===n.tag_name&&i.type===o.TAG_CLOSE&&r.is_end_tag&&-1===n.text.indexOf("\n")||n.is_inline_element||n.is_unformatted||t.print_newline(!1)}else n.is_unformatted||n.is_content_unformatted?n.is_inline_element||n.is_unformatted||t.print_newline(!1):n.is_end_tag?(n.start_tag_token&&n.start_tag_token.multiline_content||!(n.is_inline_element||r.is_inline_element||i.type===o.TAG_CLOSE&&n.start_tag_token===r||"TK_CONTENT"===i.type))&&t.print_newline(!1):(n.indent_content=!n.custom_beautifier_name,"<"===n.tag_start_char&&("html"===n.tag_name?n.indent_content=this._options.indent_inner_html:"head"===n.tag_name?n.indent_content=this._options.indent_head_inner_html:"body"===n.tag_name&&(n.indent_content=this._options.indent_body_inner_html)),n.is_inline_element||"TK_CONTENT"===i.type||(n.parent&&(n.parent.multiline_content=!0),t.print_newline(!1)))},p.prototype._do_optional_end_element=function(t){var e=null;if(!t.is_empty_element&&t.is_start_tag&&t.parent)return"body"===t.tag_name?e=e||this._tag_stack.try_pop("head"):"li"===t.tag_name?e=e||this._tag_stack.try_pop("li",["ol","ul"]):"dd"===t.tag_name||"dt"===t.tag_name?(e=e||this._tag_stack.try_pop("dt",["dl"]),e=e||this._tag_stack.try_pop("dd",["dl"])):"rp"===t.tag_name||"rt"===t.tag_name?(e=e||this._tag_stack.try_pop("rt",["ruby","rtc"]),e=e||this._tag_stack.try_pop("rp",["ruby","rtc"])):"optgroup"===t.tag_name?e=e||this._tag_stack.try_pop("optgroup",["select"]):"option"===t.tag_name?e=e||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):"colgroup"===t.tag_name?e=e||this._tag_stack.try_pop("caption",["table"]):"thead"===t.tag_name?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"])):"tbody"===t.tag_name||"tfoot"===t.tag_name?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("thead",["table"]),e=e||this._tag_stack.try_pop("tbody",["table"])):"tr"===t.tag_name?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):"th"!==t.tag_name&&"td"!==t.tag_name||(e=e||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),e=e||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"])),t.parent=this._tag_stack.get_parser_token(),e},t.exports.Beautifier=p},function(t,e,n){"use strict";var r=n(6).Options;function i(t){r.call(this,t,"html"),1===this.templating.length&&"auto"===this.templating[0]&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}i.prototype=new r,t.exports.Options=i},function(t,e,n){"use strict";var r=n(9).Tokenizer,i=n(9).TOKEN,a=n(13).Directives,o=n(14).TemplatablePattern,A=n(12).Pattern,s={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:i.START,RAW:i.RAW,EOF:i.EOF},l=new a(/<\!--/,/-->/),c=function(t,e){r.call(this,t,e),this._current_tag_name="";var n=new o(this._input).read_options(this._options),i=new A(this._input);if(this.__patterns={word:n.until(/[\n\r\t <]/),single_quote:n.until_after(/'/),double_quote:n.until_after(/"/),attribute:n.until(/[\n\r\t =\/>]/),element_name:n.until(/[\n\r\t >\/]/),handlebars_comment:i.starting_with(/{{!--/).until_after(/--}}/),handlebars:i.starting_with(/{{/).until_after(/}}/),handlebars_open:i.until(/[\n\r\t }]/),handlebars_raw_close:i.until(/}}/),comment:i.starting_with(/<!--/).until_after(/-->/),cdata:i.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:i.starting_with(/<!\[/).until_after(/]>/),processing:i.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var a=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=i.matching(a).until_after(a)}};c.prototype=new r,c.prototype._is_comment=function(t){return!1},c.prototype._is_opening=function(t){return t.type===s.TAG_OPEN},c.prototype._is_closing=function(t,e){return t.type===s.TAG_CLOSE&&e&&((">"===t.text||"/>"===t.text)&&"<"===e.text[0]||"}}"===t.text&&"{"===e.text[0]&&"{"===e.text[1])},c.prototype._reset=function(){this._current_tag_name=""},c.prototype._get_next_token=function(t,e){var n=null;this._readWhitespace();var r=this._input.peek();return null===r?this._create_token(s.EOF,""):(n=n||this._read_open_handlebars(r,e),n=n||this._read_attribute(r,t,e),n=n||this._read_raw_content(r,t,e),n=n||this._read_close(r,e),n=n||this._read_content_word(r),n=n||this._read_comment_or_cdata(r),n=n||this._read_processing(r),n=n||this._read_open(r,e),n=n||this._create_token(s.UNKNOWN,this._input.next()),n)},c.prototype._read_comment_or_cdata=function(t){var e=null,n=null,r=null;if("<"===t){var i=this._input.peek(1);"!"===i&&(n=this.__patterns.comment.read(),n?(r=l.get_directives(n),r&&"start"===r.ignore&&(n+=l.readIgnored(this._input))):n=this.__patterns.cdata.read()),n&&(e=this._create_token(s.COMMENT,n),e.directives=r)}return e},c.prototype._read_processing=function(t){var e=null,n=null,r=null;if("<"===t){var i=this._input.peek(1);"!"!==i&&"?"!==i||(n=this.__patterns.conditional_comment.read(),n=n||this.__patterns.processing.read()),n&&(e=this._create_token(s.COMMENT,n),e.directives=r)}return e},c.prototype._read_open=function(t,e){var n=null,r=null;return e||"<"===t&&(n=this._input.next(),"/"===this._input.peek()&&(n+=this._input.next()),n+=this.__patterns.element_name.read(),r=this._create_token(s.TAG_OPEN,n)),r},c.prototype._read_open_handlebars=function(t,e){var n=null,r=null;return e||this._options.indent_handlebars&&"{"===t&&"{"===this._input.peek(1)&&("!"===this._input.peek(2)?(n=this.__patterns.handlebars_comment.read(),n=n||this.__patterns.handlebars.read(),r=this._create_token(s.COMMENT,n)):(n=this.__patterns.handlebars_open.read(),r=this._create_token(s.TAG_OPEN,n))),r},c.prototype._read_close=function(t,e){var n=null,r=null;return e&&("<"===e.text[0]&&(">"===t||"/"===t&&">"===this._input.peek(1))?(n=this._input.next(),"/"===t&&(n+=this._input.next()),r=this._create_token(s.TAG_CLOSE,n)):"{"===e.text[0]&&"}"===t&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),r=this._create_token(s.TAG_CLOSE,"}}"))),r},c.prototype._read_attribute=function(t,e,n){var r=null,i="";if(n&&"<"===n.text[0])if("="===t)r=this._create_token(s.EQUALS,this._input.next());else if('"'===t||"'"===t){var a=this._input.next();a+='"'===t?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),r=this._create_token(s.VALUE,a)}else i=this.__patterns.attribute.read(),i&&(r=e.type===s.EQUALS?this._create_token(s.VALUE,i):this._create_token(s.ATTRIBUTE,i));return r},c.prototype._is_content_unformatted=function(t){return-1===this._options.void_elements.indexOf(t)&&(-1!==this._options.content_unformatted.indexOf(t)||-1!==this._options.unformatted.indexOf(t))},c.prototype._read_raw_content=function(t,e,n){var r="";if(n&&"{"===n.text[0])r=this.__patterns.handlebars_raw_close.read();else if(e.type===s.TAG_CLOSE&&"<"===e.opened.text[0]){var i=e.opened.text.substr(1).toLowerCase();if("script"===i||"style"===i){var a=this._read_comment_or_cdata(t);if(a)return a.type=s.TEXT,a;r=this._input.readUntil(new RegExp("</"+i+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(i)&&(r=this._input.readUntil(new RegExp("</"+i+"[\\n\\r\\t ]*?>","ig")))}return r?this._create_token(s.TEXT,r):null},c.prototype._read_content_word=function(t){var e="";if(this._options.unformatted_content_delimiter&&t===this._options.unformatted_content_delimiter[0]&&(e=this.__patterns.unformatted_content_delimiter.read()),e||(e=this.__patterns.word.read()),e)return this._create_token(s.TEXT,e)},t.exports.Tokenizer=c,t.exports.TOKEN=s}]),o=a;r=[n,n("e943"),n("4d7c")],i=function(t){var e=n("e943"),r=n("4d7c");return{html_beautify:function(t,n){return o(t,n,e.js_beautify,r.css_beautify)}}}.apply(e,r),void 0===i||(t.exports=i)})()},a6dc:function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"f",(function(){return o})),n.d(e,"e",(function(){return A})),n.d(e,"a",(function(){return s})),n.d(e,"g",(function(){return l})),n.d(e,"b",(function(){return c}));var r=n("b775");function i(t){return Object(r["a"])({url:"/system/menu/list",method:"get",params:t})}function a(t){return Object(r["a"])({url:"/system/menu/"+t,method:"get"})}function o(){return Object(r["a"])({url:"/system/menu/treeselect",method:"get"})}function A(t){return Object(r["a"])({url:"/system/menu/roleMenuTreeselect/"+t,method:"get"})}function s(t){return Object(r["a"])({url:"/system/menu",method:"post",data:t})}function l(t){return Object(r["a"])({url:"/system/menu",method:"put",data:t})}function c(t){return Object(r["a"])({url:"/system/menu/"+t,method:"delete"})}},a7539:function(t,e,n){},a85a:function(t,e,n){},a85b:function(t,e,n){"use strict";n("d3b7"),n("159b"),n("e9c4"),n("b64b");var r=n("ed08"),i=Object(r["f"])("accept,accept-charset,accesskey,action,align,alt,async,autocomplete,autofocus,autoplay,autosave,bgcolor,border,buffered,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,http-equiv,name,contenteditable,contextmenu,controls,coords,data,datetime,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,method,for,form,formaction,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,ismap,itemprop,keytype,kind,label,lang,language,list,loop,low,manifest,max,maxlength,media,method,GET,POST,min,multiple,email,file,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,seamless,selected,shape,size,type,text,password,sizes,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,type,usemap,value,width,wrap");function a(t,e,n){e.props.value=n,e.on.input=function(e){t.$emit("input",e)}}var o={"el-button":{default:function(t,e,n){return e[n]}},"el-input":{prepend:function(t,e,n){return t("template",{slot:"prepend"},[e[n]])},append:function(t,e,n){return t("template",{slot:"append"},[e[n]])}},"el-select":{options:function(t,e,n){var r=[];return e.options.forEach((function(e){r.push(t("el-option",{attrs:{label:e.label,value:e.value,disabled:e.disabled}}))})),r}},"el-radio-group":{options:function(t,e,n){var r=[];return e.options.forEach((function(n){"button"===e.optionType?r.push(t("el-radio-button",{attrs:{label:n.value}},[n.label])):r.push(t("el-radio",{attrs:{label:n.value,border:e.border}},[n.label]))})),r}},"el-checkbox-group":{options:function(t,e,n){var r=[];return e.options.forEach((function(n){"button"===e.optionType?r.push(t("el-checkbox-button",{attrs:{label:n.value}},[n.label])):r.push(t("el-checkbox",{attrs:{label:n.value,border:e.border}},[n.label]))})),r}},"el-upload":{"list-type":function(t,e,n){var r=[];return"picture-card"===e["list-type"]?r.push(t("i",{class:"el-icon-plus"})):r.push(t("el-button",{attrs:{size:"small",type:"primary",icon:"el-icon-upload"}},[e.buttonText])),e.showTip&&r.push(t("div",{slot:"tip",class:"el-upload__tip"},["只能上传不超过 ",e.fileSize,e.sizeUnit," 的",e.accept,"文件"])),r}}};e["a"]={render:function(t){var e=this,n={attrs:{},props:{},on:{},style:{}},r=JSON.parse(JSON.stringify(this.conf)),A=[],s=o[r.tag];return s&&Object.keys(s).forEach((function(e){var n=s[e];r[e]&&A.push(n(t,r,e))})),Object.keys(r).forEach((function(t){var o=r[t];"vModel"===t?a(e,n,r.defaultValue):n[t]?n[t]=o:i(t)?n.attrs[t]=o:n.props[t]=o})),t(this.conf.tag,n,A)},props:["conf"]}},a8b1:function(t,e,n){},a92a:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-dialog",t._g(t._b({attrs:{width:"500px","close-on-click-modal":!1,"modal-append-to-body":!1},on:{open:t.onOpen,close:t.onClose}},"el-dialog",t.$attrs,!1),t.$listeners),[n("el-row",{attrs:{gutter:15}},[n("el-form",{ref:"elForm",attrs:{model:t.formData,rules:t.rules,size:"medium","label-width":"100px"}},[n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"生成类型",prop:"type"}},[n("el-radio-group",{model:{value:t.formData.type,callback:function(e){t.$set(t.formData,"type",e)},expression:"formData.type"}},t._l(t.typeOptions,(function(e,r){return n("el-radio-button",{key:r,attrs:{label:e.value,disabled:e.disabled}},[t._v(" "+t._s(e.label)+" ")])})),1)],1),t.showFileName?n("el-form-item",{attrs:{label:"文件名",prop:"fileName"}},[n("el-input",{attrs:{placeholder:"请输入文件名",clearable:""},model:{value:t.formData.fileName,callback:function(e){t.$set(t.formData,"fileName",e)},expression:"formData.fileName"}})],1):t._e()],1)],1)],1),n("div",{attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:t.close}},[t._v(" 取消 ")]),n("el-button",{attrs:{type:"primary"},on:{click:t.handelConfirm}},[t._v(" 确定 ")])],1)],1)],1)},i=[],a=n("5530"),o={inheritAttrs:!1,props:["showFileName"],data:function(){return{formData:{fileName:void 0,type:"file"},rules:{fileName:[{required:!0,message:"请输入文件名",trigger:"blur"}],type:[{required:!0,message:"生成类型不能为空",trigger:"change"}]},typeOptions:[{label:"页面",value:"file"},{label:"弹窗",value:"dialog"}]}},computed:{},watch:{},mounted:function(){},methods:{onOpen:function(){this.showFileName&&(this.formData.fileName="".concat(+new Date,".vue"))},onClose:function(){},close:function(t){this.$emit("update:visible",!1)},handelConfirm:function(){var t=this;this.$refs.elForm.validate((function(e){e&&(t.$emit("confirm",Object(a["a"])({},t.formData)),t.close())}))}}},A=o,s=n("2877"),l=Object(s["a"])(A,r,i,!1,null,null,null);e["default"]=l.exports},a975:function(t,e,n){"use strict";var r=n("ebb5"),i=n("b727").every,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("every",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},a981:function(t,e){t.exports="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof DataView},ace4:function(t,e,n){"use strict";var r=n("23e7"),i=n("d039"),a=n("621a"),o=n("825a"),A=n("23cb"),s=n("50c4"),l=n("4840"),c=a.ArrayBuffer,u=a.DataView,d=c.prototype.slice,h=i((function(){return!new c(2).slice(1,void 0).byteLength}));r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:h},{slice:function(t,e){if(void 0!==d&&void 0===e)return d.call(o(this),t);var n=o(this).byteLength,r=A(t,n),i=A(void 0===e?n:e,n),a=new(l(this,c))(s(i-r)),h=new u(this),f=new u(a),p=0;while(r<i)f.setUint8(p++,h.getUint8(r++));return a}})},ad51:function(t,e,n){},af03:function(t,e,n){var r=n("d039");t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},b311:function(t,e,n){
- /*!
- * clipboard.js v2.0.4
- * https://zenorocha.github.io/clipboard.js
- *
- * Licensed MIT © Zeno Rocha
- */
- (function(e,n){t.exports=n()})(0,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(1),o=u(a),A=n(3),s=u(A),l=n(4),c=u(l);function u(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function f(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var p=function(t){function e(t,n){d(this,e);var r=h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return r.resolveOptions(n),r.listenClick(t),r}return f(e,t),i(e,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"===typeof t.action?t.action:this.defaultAction,this.target="function"===typeof t.target?t.target:this.defaultTarget,this.text="function"===typeof t.text?t.text:this.defaultText,this.container="object"===r(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,c.default)(t,"click",(function(t){return e.onClick(t)}))}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new o.default({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return m("action",t)}},{key:"defaultTarget",value:function(t){var e=m("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return m("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"===typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach((function(t){n=n&&!!document.queryCommandSupported(t)})),n}}]),e}(s.default);function m(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}t.exports=p},function(t,e,n){"use strict";var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(2),o=A(a);function A(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var l=function(){function t(e){s(this,t),this.resolveOptions(e),this.initSelection()}return i(t,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,o.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,o.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==("undefined"===typeof t?"undefined":r(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}();t.exports=l},function(t,e){function n(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(t),r.removeAllRanges(),r.addRange(i),e=r.toString()}return e}t.exports=n},function(t,e){function n(){}n.prototype={on:function(t,e,n){var r=this.e||(this.e={});return(r[t]||(r[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var r=this;function i(){r.off(t,i),e.apply(n,arguments)}return i._=e,this.on(t,i,n)},emit:function(t){var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),r=0,i=n.length;for(r;r<i;r++)n[r].fn.apply(n[r].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),r=n[t],i=[];if(r&&e)for(var a=0,o=r.length;a<o;a++)r[a].fn!==e&&r[a].fn._!==e&&i.push(r[a]);return i.length?n[t]=i:delete n[t],this}},t.exports=n},function(t,e,n){var r=n(5),i=n(6);function a(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!r.string(e))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(t))return o(t,e,n);if(r.nodeList(t))return A(t,e,n);if(r.string(t))return s(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function o(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}function A(t,e,n){return Array.prototype.forEach.call(t,(function(t){t.addEventListener(e,n)})),{destroy:function(){Array.prototype.forEach.call(t,(function(t){t.removeEventListener(e,n)}))}}}function s(t,e,n){return i(document.body,t,e,n)}t.exports=a},function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"===typeof t||t instanceof String},e.fn=function(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e}},function(t,e,n){var r=n(7);function i(t,e,n,r,i){var a=o.apply(this,arguments);return t.addEventListener(n,a,i),{destroy:function(){t.removeEventListener(n,a,i)}}}function a(t,e,n,r,a){return"function"===typeof t.addEventListener?i.apply(null,arguments):"function"===typeof n?i.bind(null,document).apply(null,arguments):("string"===typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){return i(t,e,n,r,a)})))}function o(t,e,n,i){return function(n){n.delegateTarget=r(n.target,e),n.delegateTarget&&i.call(t,n)}}t.exports=a},function(t,e){var n=9;if("undefined"!==typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}function i(t,e){while(t&&t.nodeType!==n){if("function"===typeof t.matches&&t.matches(e))return t;t=t.parentNode}}t.exports=i}])}))},b380:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("router-view")},i=[],a=n("2877"),o={},A=Object(a["a"])(o,r,i,!1,null,null,null);e["default"]=A.exports},b39a:function(t,e,n){"use strict";var r=n("da84"),i=n("ebb5"),a=n("d039"),o=r.Int8Array,A=i.aTypedArray,s=i.exportTypedArrayMethod,l=[].toLocaleString,c=[].slice,u=!!o&&a((function(){l.call(new o(1))})),d=a((function(){return[1,2].toLocaleString()!=new o([1,2]).toLocaleString()}))||!a((function(){o.prototype.toLocaleString.call([1,2])}));s("toLocaleString",(function(){return l.apply(u?c.call(A(this)):A(this),arguments)}),d)},b5bc:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className,style:{height:t.height,width:t.width},attrs:{id:t.id}})},i=[],a=n("313e"),o=n.n(a),A=n("feb2"),s={mixins:[A["default"]],props:{className:{type:String,default:"chart"},id:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"400px"},data:{type:Object,default:{}}},data:function(){return{chart:null}},watch:{data:{handler:function(t,e){t&&this.initChart()},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){var t=this;this.chart=o.a.init(document.getElementById(this.id));var e={tooltip:{show:!0,trigger:"axis",axisPointer:{type:"shadow"},formatter:"{b}<br />{a}: {c}万"},legend:{left:"center",top:3,data:t.data.legendData},grid:[{left:"17%",show:!0,containLabel:!1,bottom:"42.5%",top:"25%",backgroundColor:"#FCF0D3",borderColor:"#F5EEF1"},{left:"17%",show:!0,containLabel:!1,bottom:"10%",top:"57.5%",backgroundColor:"#DDF7FE",borderColor:"#F5EEF1"},{left:"17%",height:0,bottom:"10",top:"90%"}],xAxis:[{type:"category",axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!1},splitLine:{show:!1},data:t.data.xAxisData},{gridIndex:1,type:"category",axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!1},splitLine:{show:!1},data:t.data.xAxisData},{gridIndex:2,show:!0,axisTick:{show:!1},axisLine:{show:!1},data:t.data.xAxisData}],yAxis:[{name:t.data.yAxisName,nameTextStyle:{color:"#333",fontSize:10},axisLabel:{color:"#333333"},axisLine:{show:!0,lineStyle:{color:"#F5EEF1"}},splitLine:{lineStyle:{color:"#F5EEF1"}},type:"value",inverse:!1,axisTick:{show:!1},max:40,splitNumber:10,interval:10},{gridIndex:1,axisLabel:{color:"#333333"},axisLine:{show:!0,lineStyle:{color:"#F5EEF1"}},splitLine:{lineStyle:{color:"#F5EEF1"}},type:"value",inverse:!0,axisTick:{show:!1},max:40,splitNumber:10,interval:10},{gridIndex:2,type:"value",axisLabel:{show:!1},axisTick:{show:!1},axisLine:{show:!1}}],series:[{name:t.data.legendData[0],barWidth:"50%",type:"bar",itemStyle:{color:"#F29700"},data:t.data.seriesData[0]},{type:"bar",barWidth:"50%",xAxisIndex:1,yAxisIndex:1,name:t.data.legendData[1],itemStyle:{color:"#048EF3"},data:t.data.seriesData[1]}]};this.chart.setOption(e)}}},l=s,c=n("2877"),u=Object(c["a"])(l,r,i,!1,null,null,null);e["default"]=u.exports},b639:function(t,e,n){"use strict";(function(t){
- /*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <http://feross.org>
- * @license MIT
- */
- var r=n("1fb5"),i=n("9152"),a=n("e3db");function o(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function A(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(A()<e)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=l.prototype):(null===t&&(t=new l(e)),t.length=e),t}function l(t,e,n){if(!l.TYPED_ARRAY_SUPPORT&&!(this instanceof l))return new l(t,e,n);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return h(this,t)}return c(this,t,e,n)}function c(t,e,n,r){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?m(t,e,n,r):"string"===typeof e?f(t,e,n):g(t,e)}function u(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function d(t,e,n,r){return u(e),e<=0?s(t,e):void 0!==n?"string"===typeof r?s(t,e).fill(n,r):s(t,e).fill(n):s(t,e)}function h(t,e){if(u(e),t=s(t,e<0?0:0|v(e)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function f(t,e,n){if("string"===typeof n&&""!==n||(n="utf8"),!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|y(e,n);t=s(t,r);var i=t.write(e,n);return i!==r&&(t=t.slice(0,i)),t}function p(t,e){var n=e.length<0?0:0|v(e.length);t=s(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function m(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r),l.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=l.prototype):t=p(t,e),t}function g(t,e){if(l.isBuffer(e)){var n=0|v(e.length);return t=s(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||et(e.length)?s(t,0):p(t,e);if("Buffer"===e.type&&a(e.data))return p(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function v(t){if(t>=A())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+A().toString(16)+" bytes");return 0|t}function _(t){return+t!=t&&(t=0),l.alloc(+t)}function y(t,e){if(l.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Y(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Z(t).length;default:if(r)return Y(t).length;e=(""+e).toLowerCase(),r=!0}}function b(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return P(this,e,n);case"utf8":case"utf-8":return S(this,e,n);case"ascii":return D(this,e,n);case"latin1":case"binary":return L(this,e,n);case"base64":return O(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function w(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function B(t,e,n,r,i){if(0===t.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof e&&(e=l.from(e,r)),l.isBuffer(e))return 0===e.length?-1:x(t,e,n,r,i);if("number"===typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):x(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function x(t,e,n,r,i){var a,o=1,A=t.length,s=e.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;o=2,A/=2,s/=2,n/=2}function l(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(i){var c=-1;for(a=n;a<A;a++)if(l(t,a)===l(e,-1===c?0:a-c)){if(-1===c&&(c=a),a-c+1===s)return c*o}else-1!==c&&(a-=a-c),c=-1}else for(n+s>A&&(n=A-s),a=n;a>=0;a--){for(var u=!0,d=0;d<s;d++)if(l(t,a+d)!==l(e,d)){u=!1;break}if(u)return a}return-1}function C(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var a=e.length;if(a%2!==0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o<r;++o){var A=parseInt(e.substr(2*o,2),16);if(isNaN(A))return o;t[n+o]=A}return o}function k(t,e,n,r){return tt(Y(e,t.length-n),t,n,r)}function Q(t,e,n,r){return tt(X(e),t,n,r)}function E(t,e,n,r){return Q(t,e,n,r)}function F(t,e,n,r){return tt(Z(e),t,n,r)}function U(t,e,n,r){return tt(J(e,t.length-n),t,n,r)}function O(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function S(t,e,n){n=Math.min(t.length,n);var r=[],i=e;while(i<n){var a,o,A,s,l=t[i],c=null,u=l>239?4:l>223?3:l>191?2:1;if(i+u<=n)switch(u){case 1:l<128&&(c=l);break;case 2:a=t[i+1],128===(192&a)&&(s=(31&l)<<6|63&a,s>127&&(c=s));break;case 3:a=t[i+1],o=t[i+2],128===(192&a)&&128===(192&o)&&(s=(15&l)<<12|(63&a)<<6|63&o,s>2047&&(s<55296||s>57343)&&(c=s));break;case 4:a=t[i+1],o=t[i+2],A=t[i+3],128===(192&a)&&128===(192&o)&&128===(192&A)&&(s=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&A,s>65535&&s<1114112&&(c=s))}null===c?(c=65533,u=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=u}return I(r)}e.Buffer=l,e.SlowBuffer=_,e.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:o(),e.kMaxLength=A(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t},l.from=function(t,e,n){return c(null,t,e,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,n){return d(null,t,e,n)},l.allocUnsafe=function(t){return h(null,t)},l.allocUnsafeSlow=function(t){return h(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,a=Math.min(n,r);i<a;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},l.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(t,e){if(!a(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=l.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var o=t[n];if(!l.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},l.byteLength=y,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)w(this,e,e+1);return this},l.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)w(this,e,e+3),w(this,e+1,e+2);return this},l.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)w(this,e,e+7),w(this,e+1,e+6),w(this,e+2,e+5),w(this,e+3,e+4);return this},l.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?S(this,0,t):b.apply(this,arguments)},l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},l.prototype.compare=function(t,e,n,r,i){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var a=i-r,o=n-e,A=Math.min(a,o),s=this.slice(r,i),c=t.slice(e,n),u=0;u<A;++u)if(s[u]!==c[u]){a=s[u],o=c[u];break}return a<o?-1:o<a?1:0},l.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},l.prototype.indexOf=function(t,e,n){return B(this,t,e,n,!0)},l.prototype.lastIndexOf=function(t,e,n){return B(this,t,e,n,!1)},l.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"===typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return C(this,t,e,n);case"utf8":case"utf-8":return k(this,t,e,n);case"ascii":return Q(this,t,e,n);case"latin1":case"binary":return E(this,t,e,n);case"base64":return F(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,t,e,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var T=4096;function I(t){var e=t.length;if(e<=T)return String.fromCharCode.apply(String,t);var n="",r=0;while(r<e)n+=String.fromCharCode.apply(String,t.slice(r,r+=T));return n}function D(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function L(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function P(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",a=e;a<n;++a)i+=$(t[a]);return i}function N(t,e,n){for(var r=t.slice(e,n),i="",a=0;a<r.length;a+=2)i+=String.fromCharCode(r[a]+256*r[a+1]);return i}function H(t,e,n){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function M(t,e,n,r,i,a){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function j(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,a=Math.min(t.length-n,2);i<a;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function R(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,a=Math.min(t.length-n,4);i<a;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function K(t,e,n,r,i,a){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function q(t,e,n,r,a){return a||K(t,e,n,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,n,r,23,4),n+4}function V(t,e,n,r,a){return a||K(t,e,n,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,n,r,52,8),n+8}l.prototype.slice=function(t,e){var n,r=this.length;if(t=~~t,e=void 0===e?r:~~e,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),e<t&&(e=t),l.TYPED_ARRAY_SUPPORT)n=this.subarray(t,e),n.__proto__=l.prototype;else{var i=e-t;n=new l(i,void 0);for(var a=0;a<i;++a)n[a]=this[a+t]}return n},l.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||H(t,e,this.length);var r=this[t],i=1,a=0;while(++a<e&&(i*=256))r+=this[t+a]*i;return r},l.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||H(t,e,this.length);var r=this[t+--e],i=1;while(e>0&&(i*=256))r+=this[t+--e]*i;return r},l.prototype.readUInt8=function(t,e){return e||H(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||H(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||H(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||H(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||H(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||H(t,e,this.length);var r=this[t],i=1,a=0;while(++a<e&&(i*=256))r+=this[t+a]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*e)),r},l.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||H(t,e,this.length);var r=e,i=1,a=this[t+--r];while(r>0&&(i*=256))a+=this[t+--r]*i;return i*=128,a>=i&&(a-=Math.pow(2,8*e)),a},l.prototype.readInt8=function(t,e){return e||H(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||H(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(t,e){e||H(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(t,e){return e||H(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||H(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||H(t,4,this.length),i.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||H(t,4,this.length),i.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||H(t,8,this.length),i.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||H(t,8,this.length),i.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;M(this,t,e,n,i,0)}var a=1,o=0;this[e]=255&t;while(++o<n&&(a*=256))this[e+o]=t/a&255;return e+n},l.prototype.writeUIntBE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;M(this,t,e,n,i,0)}var a=n-1,o=1;this[e+a]=255&t;while(--a>=0&&(o*=256))this[e+a]=t/o&255;return e+n},l.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):j(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):j(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):R(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);M(this,t,e,n,i-1,-i)}var a=0,o=1,A=0;this[e]=255&t;while(++a<n&&(o*=256))t<0&&0===A&&0!==this[e+a-1]&&(A=1),this[e+a]=(t/o>>0)-A&255;return e+n},l.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);M(this,t,e,n,i-1,-i)}var a=n-1,o=1,A=0;this[e+a]=255&t;while(--a>=0&&(o*=256))t<0&&0===A&&0!==this[e+a+1]&&(A=1),this[e+a]=(t/o>>0)-A&255;return e+n},l.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):j(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):j(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):R(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,n){return q(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return q(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return V(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return V(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,a=r-n;if(this===t&&n<e&&e<r)for(i=a-1;i>=0;--i)t[i+e]=this[i+n];else if(a<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i<a;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+a),e);return a},l.prototype.fill=function(t,e,n,r){if("string"===typeof t){if("string"===typeof e?(r=e,e=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"===typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var a;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(a=e;a<n;++a)this[a]=t;else{var o=l.isBuffer(t)?t:Y(new l(t,r).toString()),A=o.length;for(a=0;a<n-e;++a)this[a+e]=o[a%A]}return this};var z=/[^+\/0-9A-Za-z-_]/g;function G(t){if(t=W(t).replace(z,""),t.length<2)return"";while(t.length%4!==0)t+="=";return t}function W(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function $(t){return t<16?"0"+t.toString(16):t.toString(16)}function Y(t,e){var n;e=e||1/0;for(var r=t.length,i=null,a=[],o=0;o<r;++o){if(n=t.charCodeAt(o),n>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(e-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;a.push(n)}else if(n<2048){if((e-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function X(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function J(t,e){for(var n,r,i,a=[],o=0;o<t.length;++o){if((e-=2)<0)break;n=t.charCodeAt(o),r=n>>8,i=n%256,a.push(i),a.push(r)}return a}function Z(t){return r.toByteArray(G(t))}function tt(t,e,n,r){for(var i=0;i<r;++i){if(i+n>=e.length||i>=t.length)break;e[i+n]=t[i]}return i}function et(t){return t!==t}}).call(this,n("c8ba"))},bb49:function(t,e,n){"use strict";n.r(e);var r=["platform-eleme","eleme","delete-solid","delete","s-tools","setting","user-solid","user","phone","phone-outline","more","more-outline","star-on","star-off","s-goods","goods","warning","warning-outline","question","info","remove","circle-plus","success","error","zoom-in","zoom-out","remove-outline","circle-plus-outline","circle-check","circle-close","s-help","help","minus","plus","check","close","picture","picture-outline","picture-outline-round","upload","upload2","download","camera-solid","camera","video-camera-solid","video-camera","message-solid","bell","s-cooperation","s-order","s-platform","s-fold","s-unfold","s-operation","s-promotion","s-home","s-release","s-ticket","s-management","s-open","s-shop","s-marketing","s-flag","s-comment","s-finance","s-claim","s-custom","s-opportunity","s-data","s-check","s-grid","menu","share","d-caret","caret-left","caret-right","caret-bottom","caret-top","bottom-left","bottom-right","back","right","bottom","top","top-left","top-right","arrow-left","arrow-right","arrow-down","arrow-up","d-arrow-left","d-arrow-right","video-pause","video-play","refresh","refresh-right","refresh-left","finished","sort","sort-up","sort-down","rank","loading","view","c-scale-to-original","date","edit","edit-outline","folder","folder-opened","folder-add","folder-remove","folder-delete","folder-checked","tickets","document-remove","document-delete","document-copy","document-checked","document","document-add","printer","paperclip","takeaway-box","search","monitor","attract","mobile","scissors","umbrella","headset","brush","mouse","coordinate","magic-stick","reading","data-line","data-board","pie-chart","data-analysis","collection-tag","film","suitcase","suitcase-1","receiving","collection","files","notebook-1","notebook-2","toilet-paper","office-building","school","table-lamp","house","no-smoking","smoking","shopping-cart-full","shopping-cart-1","shopping-cart-2","shopping-bag-1","shopping-bag-2","sold-out","sell","present","box","bank-card","money","coin","wallet","discount","price-tag","news","guide","male","female","thumb","cpu","link","connection","open","turn-off","set-up","chat-round","chat-line-round","chat-square","chat-dot-round","chat-dot-square","chat-line-square","message","postcard","position","turn-off-microphone","microphone","close-notification","bangzhu","time","odometer","crop","aim","switch-button","full-screen","copy-document","mic","stopwatch","medal-1","medal","trophy","trophy-1","first-aid-kit","discover","place","location","location-outline","location-information","add-location","delete-location","map-location","alarm-clock","timer","watch-1","watch","lock","unlock","key","service","mobile-phone","bicycle","truck","ship","basketball","football","soccer","baseball","wind-power","light-rain","lightning","heavy-rain","sunrise","sunrise-1","sunset","sunny","cloudy","partly-cloudy","cloudy-and-sunny","moon","moon-night","dish","dish-1","food","chicken","fork-spoon","knife-fork","burger","tableware","sugar","dessert","ice-cream","hot-water","water-cup","coffee-cup","cold-drink","goblet","goblet-full","goblet-square","goblet-square-full","refrigerator","grape","watermelon","cherry","apple","pear","orange","coffee","ice-tea","ice-drink","milk-tea","potato-strips","lollipop","ice-cream-square","ice-cream-round"];e["default"]=r},bce5:function(t,e,n){"use strict";n("7fc8")},bfc4:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:t.queryParams,inline:!0}},[n("el-form-item",{attrs:{label:"字典名称",prop:"dictType"}},[n("el-select",{attrs:{size:"small"},model:{value:t.queryParams.dictType,callback:function(e){t.$set(t.queryParams,"dictType",e)},expression:"queryParams.dictType"}},t._l(t.typeOptions,(function(t){return n("el-option",{key:t.dictId,attrs:{label:t.dictName,value:t.dictType}})})),1)],1),n("el-form-item",{attrs:{label:"字典标签",prop:"dictLabel"}},[n("el-input",{attrs:{placeholder:"请输入字典标签",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.dictLabel,callback:function(e){t.$set(t.queryParams,"dictLabel",e)},expression:"queryParams.dictLabel"}})],1),n("el-form-item",{attrs:{label:"状态",prop:"status"}},[n("el-select",{attrs:{placeholder:"数据状态",clearable:"",size:"small"},model:{value:t.queryParams.status,callback:function(e){t.$set(t.queryParams,"status",e)},expression:"queryParams.status"}},t._l(t.statusOptions,(function(t){return n("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:t.dictValue}})})),1)],1),n("el-form-item",[n("el-button",{attrs:{type:"cyan",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1),n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:add"],expression:"['system:dict:add']"}],attrs:{type:"primary",icon:"el-icon-plus",size:"mini"},on:{click:t.handleAdd}},[t._v("新增")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:edit"],expression:"['system:dict:edit']"}],attrs:{type:"success",icon:"el-icon-edit",size:"mini",disabled:t.single},on:{click:t.handleUpdate}},[t._v("修改")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:remove"],expression:"['system:dict:remove']"}],attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:t.multiple},on:{click:t.handleDelete}},[t._v("删除")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:export"],expression:"['system:dict:export']"}],attrs:{type:"warning",icon:"el-icon-download",size:"mini"},on:{click:t.handleExport}},[t._v("导出")])],1),n("right-toolbar",{attrs:{showSearch:t.showSearch},on:{"update:showSearch":function(e){t.showSearch=e},"update:show-search":function(e){t.showSearch=e},queryTable:t.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.dataList},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),n("el-table-column",{attrs:{label:"字典编码",align:"center",prop:"dictCode"}}),n("el-table-column",{attrs:{label:"字典标签",align:"center",prop:"dictLabel"}}),n("el-table-column",{attrs:{label:"字典键值",align:"center",prop:"dictValue"}}),n("el-table-column",{attrs:{label:"字典排序",align:"center",prop:"dictSort"}}),n("el-table-column",{attrs:{label:"状态",align:"center",prop:"status",formatter:t.statusFormat}}),n("el-table-column",{attrs:{label:"备注",align:"center",prop:"remark","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"创建时间",align:"center",prop:"createTime",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.parseTime(e.row.createTime)))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:edit"],expression:"['system:dict:edit']"}],attrs:{size:"mini",type:"text",icon:"el-icon-edit"},on:{click:function(n){return t.handleUpdate(e.row)}}},[t._v("修改")]),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:remove"],expression:"['system:dict:remove']"}],attrs:{size:"mini",type:"text",icon:"el-icon-delete"},on:{click:function(n){return t.handleDelete(e.row)}}},[t._v("删除")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(e){return t.$set(t.queryParams,"pageNum",e)},"update:limit":function(e){return t.$set(t.queryParams,"pageSize",e)},pagination:t.getList}}),n("el-dialog",{attrs:{title:t.title,visible:t.open,width:"500px","append-to-body":""},on:{"update:visible":function(e){t.open=e}}},[n("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"80px"}},[n("el-form-item",{attrs:{label:"字典类型"}},[n("el-input",{attrs:{disabled:!0},model:{value:t.form.dictType,callback:function(e){t.$set(t.form,"dictType",e)},expression:"form.dictType"}})],1),n("el-form-item",{attrs:{label:"数据标签",prop:"dictLabel"}},[n("el-input",{attrs:{placeholder:"请输入数据标签"},model:{value:t.form.dictLabel,callback:function(e){t.$set(t.form,"dictLabel",e)},expression:"form.dictLabel"}})],1),n("el-form-item",{attrs:{label:"数据键值",prop:"dictValue"}},[n("el-input",{attrs:{placeholder:"请输入数据键值"},model:{value:t.form.dictValue,callback:function(e){t.$set(t.form,"dictValue",e)},expression:"form.dictValue"}})],1),n("el-form-item",{attrs:{label:"显示排序",prop:"dictSort"}},[n("el-input-number",{attrs:{"controls-position":"right",min:0},model:{value:t.form.dictSort,callback:function(e){t.$set(t.form,"dictSort",e)},expression:"form.dictSort"}})],1),n("el-form-item",{attrs:{label:"状态",prop:"status"}},[n("el-radio-group",{model:{value:t.form.status,callback:function(e){t.$set(t.form,"status",e)},expression:"form.status"}},t._l(t.statusOptions,(function(e){return n("el-radio",{key:e.dictValue,attrs:{label:e.dictValue}},[t._v(t._s(e.dictLabel))])})),1)],1),n("el-form-item",{attrs:{label:"备注",prop:"remark"}},[n("el-input",{attrs:{type:"textarea",placeholder:"请输入内容"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("确 定")]),n("el-button",{on:{click:t.cancel}},[t._v("取 消")])],1)],1)],1)},i=[],a=n("5530"),o=(n("d81d"),n("aa3a")),A=n("ed45"),s={name:"Data",data:function(){return{loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,dataList:[],defaultDictType:"",title:"",open:!1,statusOptions:[],typeOptions:[],queryParams:{pageNum:1,pageSize:10,dictName:void 0,dictType:void 0,status:void 0},form:{},rules:{dictLabel:[{required:!0,message:"数据标签不能为空",trigger:"blur"}],dictValue:[{required:!0,message:"数据键值不能为空",trigger:"blur"}],dictSort:[{required:!0,message:"数据顺序不能为空",trigger:"blur"}]}}},created:function(){var t=this,e=this.$route.params&&this.$route.params.dictId;this.getType(e),this.getTypeList(),this.getDicts("sys_normal_disable").then((function(e){t.statusOptions=e.data}))},methods:{getType:function(t){var e=this;Object(A["d"])(t).then((function(t){e.queryParams.dictType=t.data.dictType,e.defaultDictType=t.data.dictType,e.getList()}))},getTypeList:function(){var t=this;Object(A["e"])().then((function(e){t.typeOptions=e.rows}))},getList:function(){var t=this;this.loading=!0,Object(o["e"])(this.queryParams).then((function(e){t.dataList=e.rows,t.total=e.total,t.loading=!1}))},statusFormat:function(t,e){return this.selectDictLabel(this.statusOptions,t.status)},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={dictCode:void 0,dictLabel:void 0,dictValue:void 0,dictSort:0,status:"0",remark:void 0},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.queryParams.dictType=this.defaultDictType,this.handleQuery()},handleAdd:function(){this.reset(),this.open=!0,this.title="添加字典数据",this.form.dictType=this.queryParams.dictType},handleSelectionChange:function(t){this.ids=t.map((function(t){return t.dictCode})),this.single=1!=t.length,this.multiple=!t.length},handleUpdate:function(t){var e=this;this.reset();var n=t.dictCode||this.ids;Object(o["c"])(n).then((function(t){e.form=t.data,e.open=!0,e.title="修改字典数据"}))},submitForm:function(){var t=this;this.$refs["form"].validate((function(e){e&&(void 0!=t.form.dictCode?Object(o["f"])(t.form).then((function(e){t.msgSuccess("修改成功"),t.open=!1,t.getList()})):Object(o["a"])(t.form).then((function(e){t.msgSuccess("新增成功"),t.open=!1,t.getList()})))}))},handleDelete:function(t){var e=this,n=t.dictCode||this.ids;this.$confirm('是否确认删除字典编码为"'+n+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(o["b"])(n)})).then((function(){e.getList(),e.msgSuccess("删除成功")}))},handleExport:function(){this.download("system/dict/data/export",Object(a["a"])({},this.queryParams),"data_".concat((new Date).getTime(),".xlsx"))}}},l=s,c=n("2877"),u=Object(c["a"])(l,r,i,!1,null,null,null);e["default"]=u.exports},c0c7:function(t,e,n){"use strict";n.d(e,"f",(function(){return a})),n.d(e,"d",(function(){return o})),n.d(e,"a",(function(){return A})),n.d(e,"h",(function(){return s})),n.d(e,"c",(function(){return l})),n.d(e,"g",(function(){return c})),n.d(e,"b",(function(){return u})),n.d(e,"e",(function(){return d})),n.d(e,"i",(function(){return h})),n.d(e,"j",(function(){return f})),n.d(e,"k",(function(){return p}));var r=n("b775"),i=n("c38a");function a(t){return Object(r["a"])({url:"/system/user/list",method:"get",params:t})}function o(t){return Object(r["a"])({url:"/system/user/"+Object(i["h"])(t),method:"get"})}function A(t){return Object(r["a"])({url:"/system/user",method:"post",data:t})}function s(t){return Object(r["a"])({url:"/system/user",method:"put",data:t})}function l(t){return Object(r["a"])({url:"/system/user/"+t,method:"delete"})}function c(t,e){var n={userId:t,password:e};return Object(r["a"])({url:"/system/user/resetPwd",method:"put",data:n})}function u(t,e){var n={userId:t,status:e};return Object(r["a"])({url:"/system/user/changeStatus",method:"put",data:n})}function d(){return Object(r["a"])({url:"/system/user/profile",method:"get"})}function h(t){return Object(r["a"])({url:"/system/user/profile",method:"put",data:t})}function f(t,e){var n={oldPassword:t,newPassword:e};return Object(r["a"])({url:"/system/user/profile/updatePwd",method:"put",params:n})}function p(t){return Object(r["a"])({url:"/system/user/profile/avatar",method:"post",data:t})}},c0e9:function(t,e,n){
- /*!
- * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
- * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
- * Released under MIT License
- */
- (function(e,n){t.exports=n()})(0,(function(){"use strict";
- /*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};function e(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var n=function(){return n=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},n.apply(this,arguments)};function r(t,e,n,r){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function o(t){try{s(r.next(t))}catch(Ve){a(Ve)}}function A(t){try{s(r["throw"](t))}catch(Ve){a(Ve)}}function s(t){t.done?n(t.value):i(t.value).then(o,A)}s((r=r.apply(t,e||[])).next())}))}function i(t,e){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:A(0),throw:A(1),return:A(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function A(t){return function(e){return s([t,e])}}function s(a){if(n)throw new TypeError("Generator is already executing.");while(o)try{if(n=1,r&&(i=2&a[0]?r["return"]:a[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=e.call(t,o)}catch(Ve){a=[6,Ve],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}function a(t,e,n){if(n||2===arguments.length)for(var r,i=0,a=e.length;i<a;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||e)}for(var o=function(){function t(t,e,n,r){this.left=t,this.top=e,this.width=n,this.height=r}return t.prototype.add=function(e,n,r,i){return new t(this.left+e,this.top+n,this.width+r,this.height+i)},t.fromClientRect=function(e,n){return new t(n.left+e.windowBounds.left,n.top+e.windowBounds.top,n.width,n.height)},t.fromDOMRectList=function(e,n){var r=Array.from(n).find((function(t){return 0!==t.width}));return r?new t(r.left+e.windowBounds.left,r.top+e.windowBounds.top,r.width,r.height):t.EMPTY},t.EMPTY=new t(0,0,0,0),t}(),A=function(t,e){return o.fromClientRect(t,e.getBoundingClientRect())},s=function(t){var e=t.body,n=t.documentElement;if(!e||!n)throw new Error("Unable to get document size");var r=Math.max(Math.max(e.scrollWidth,n.scrollWidth),Math.max(e.offsetWidth,n.offsetWidth),Math.max(e.clientWidth,n.clientWidth)),i=Math.max(Math.max(e.scrollHeight,n.scrollHeight),Math.max(e.offsetHeight,n.offsetHeight),Math.max(e.clientHeight,n.clientHeight));return new o(0,0,r,i)},l=function(t){var e=[],n=0,r=t.length;while(n<r){var i=t.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var a=t.charCodeAt(n++);56320===(64512&a)?e.push(((1023&i)<<10)+(1023&a)+65536):(e.push(i),n--)}else e.push(i)}return e},c=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var n=t.length;if(!n)return"";var r=[],i=-1,a="";while(++i<n){var o=t[i];o<=65535?r.push(o):(o-=65536,r.push(55296+(o>>10),o%1024+56320)),(i+1===n||r.length>16384)&&(a+=String.fromCharCode.apply(String,r),r.length=0)}return a},u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d="undefined"===typeof Uint8Array?[]:new Uint8Array(256),h=0;h<u.length;h++)d[u.charCodeAt(h)]=h;for(var f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p="undefined"===typeof Uint8Array?[]:new Uint8Array(256),m=0;m<f.length;m++)p[f.charCodeAt(m)]=m;for(var g=function(t){var e,n,r,i,a,o=.75*t.length,A=t.length,s=0;"="===t[t.length-1]&&(o--,"="===t[t.length-2]&&o--);var l="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),c=Array.isArray(l)?l:new Uint8Array(l);for(e=0;e<A;e+=4)n=p[t.charCodeAt(e)],r=p[t.charCodeAt(e+1)],i=p[t.charCodeAt(e+2)],a=p[t.charCodeAt(e+3)],c[s++]=n<<2|r>>4,c[s++]=(15&r)<<4|i>>2,c[s++]=(3&i)<<6|63&a;return l},v=function(t){for(var e=t.length,n=[],r=0;r<e;r+=2)n.push(t[r+1]<<8|t[r]);return n},_=function(t){for(var e=t.length,n=[],r=0;r<e;r+=4)n.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return n},y=5,b=11,w=2,B=b-y,x=65536>>y,C=1<<y,k=C-1,Q=1024>>y,E=x+Q,F=E,U=32,O=F+U,S=65536>>b,T=1<<B,I=T-1,D=function(t,e,n){return t.slice?t.slice(e,n):new Uint16Array(Array.prototype.slice.call(t,e,n))},L=function(t,e,n){return t.slice?t.slice(e,n):new Uint32Array(Array.prototype.slice.call(t,e,n))},P=function(t,e){var n=g(t),r=Array.isArray(n)?_(n):new Uint32Array(n),i=Array.isArray(n)?v(n):new Uint16Array(n),a=24,o=D(i,a/2,r[4]/2),A=2===r[5]?D(i,(a+r[4])/2):L(r,Math.ceil((a+r[4])/4));return new N(r[0],r[1],r[2],r[3],o,A)},N=function(){function t(t,e,n,r,i,a){this.initialValue=t,this.errorValue=e,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=a}return t.prototype.get=function(t){var e;if(t>=0){if(t<55296||t>56319&&t<=65535)return e=this.index[t>>y],e=(e<<w)+(t&k),this.data[e];if(t<=65535)return e=this.index[x+(t-55296>>y)],e=(e<<w)+(t&k),this.data[e];if(t<this.highStart)return e=O-S+(t>>b),e=this.index[e],e+=t>>y&I,e=this.index[e],e=(e<<w)+(t&k),this.data[e];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",M="undefined"===typeof Uint8Array?[]:new Uint8Array(256),j=0;j<H.length;j++)M[H.charCodeAt(j)]=j;var R="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",K=50,q=1,V=2,z=3,G=4,W=5,$=7,Y=8,X=9,J=10,Z=11,tt=12,et=13,nt=14,rt=15,it=16,at=17,ot=18,At=19,st=20,lt=21,ct=22,ut=23,dt=24,ht=25,ft=26,pt=27,mt=28,gt=29,vt=30,_t=31,yt=32,bt=33,wt=34,Bt=35,xt=36,Ct=37,kt=38,Qt=39,Et=40,Ft=41,Ut=42,Ot=43,St=[9001,65288],Tt="!",It="×",Dt="÷",Lt=P(R),Pt=[vt,xt],Nt=[q,V,z,W],Ht=[J,Y],Mt=[pt,ft],jt=Nt.concat(Ht),Rt=[kt,Qt,Et,wt,Bt],Kt=[rt,et],qt=function(t,e){void 0===e&&(e="strict");var n=[],r=[],i=[];return t.forEach((function(t,a){var o=Lt.get(t);if(o>K?(i.push(!0),o-=K):i.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(t))return r.push(a),n.push(it);if(o===G||o===Z){if(0===a)return r.push(a),n.push(vt);var A=n[a-1];return-1===jt.indexOf(A)?(r.push(r[a-1]),n.push(A)):(r.push(a),n.push(vt))}return r.push(a),o===_t?n.push("strict"===e?lt:Ct):o===Ut||o===gt?n.push(vt):o===Ot?t>=131072&&t<=196605||t>=196608&&t<=262141?n.push(Ct):n.push(vt):void n.push(o)})),[r,n,i]},Vt=function(t,e,n,r){var i=r[n];if(Array.isArray(t)?-1!==t.indexOf(i):t===i){var a=n;while(a<=r.length){a++;var o=r[a];if(o===e)return!0;if(o!==J)break}}if(i===J){a=n;while(a>0){a--;var A=r[a];if(Array.isArray(t)?-1!==t.indexOf(A):t===A){var s=n;while(s<=r.length){s++;o=r[s];if(o===e)return!0;if(o!==J)break}}if(A!==J)break}}return!1},zt=function(t,e){var n=t;while(n>=0){var r=e[n];if(r!==J)return r;n--}return 0},Gt=function(t,e,n,r,i){if(0===n[r])return It;var a=r-1;if(Array.isArray(i)&&!0===i[a])return It;var o=a-1,A=a+1,s=e[a],l=o>=0?e[o]:0,c=e[A];if(s===V&&c===z)return It;if(-1!==Nt.indexOf(s))return Tt;if(-1!==Nt.indexOf(c))return It;if(-1!==Ht.indexOf(c))return It;if(zt(a,e)===Y)return Dt;if(Lt.get(t[a])===Z)return It;if((s===yt||s===bt)&&Lt.get(t[A])===Z)return It;if(s===$||c===$)return It;if(s===X)return It;if(-1===[J,et,rt].indexOf(s)&&c===X)return It;if(-1!==[at,ot,At,dt,mt].indexOf(c))return It;if(zt(a,e)===ct)return It;if(Vt(ut,ct,a,e))return It;if(Vt([at,ot],lt,a,e))return It;if(Vt(tt,tt,a,e))return It;if(s===J)return Dt;if(s===ut||c===ut)return It;if(c===it||s===it)return Dt;if(-1!==[et,rt,lt].indexOf(c)||s===nt)return It;if(l===xt&&-1!==Kt.indexOf(s))return It;if(s===mt&&c===xt)return It;if(c===st)return It;if(-1!==Pt.indexOf(c)&&s===ht||-1!==Pt.indexOf(s)&&c===ht)return It;if(s===pt&&-1!==[Ct,yt,bt].indexOf(c)||-1!==[Ct,yt,bt].indexOf(s)&&c===ft)return It;if(-1!==Pt.indexOf(s)&&-1!==Mt.indexOf(c)||-1!==Mt.indexOf(s)&&-1!==Pt.indexOf(c))return It;if(-1!==[pt,ft].indexOf(s)&&(c===ht||-1!==[ct,rt].indexOf(c)&&e[A+1]===ht)||-1!==[ct,rt].indexOf(s)&&c===ht||s===ht&&-1!==[ht,mt,dt].indexOf(c))return It;if(-1!==[ht,mt,dt,at,ot].indexOf(c)){var u=a;while(u>=0){var d=e[u];if(d===ht)return It;if(-1===[mt,dt].indexOf(d))break;u--}}if(-1!==[pt,ft].indexOf(c)){u=-1!==[at,ot].indexOf(s)?o:a;while(u>=0){d=e[u];if(d===ht)return It;if(-1===[mt,dt].indexOf(d))break;u--}}if(kt===s&&-1!==[kt,Qt,wt,Bt].indexOf(c)||-1!==[Qt,wt].indexOf(s)&&-1!==[Qt,Et].indexOf(c)||-1!==[Et,Bt].indexOf(s)&&c===Et)return It;if(-1!==Rt.indexOf(s)&&-1!==[st,ft].indexOf(c)||-1!==Rt.indexOf(c)&&s===pt)return It;if(-1!==Pt.indexOf(s)&&-1!==Pt.indexOf(c))return It;if(s===dt&&-1!==Pt.indexOf(c))return It;if(-1!==Pt.concat(ht).indexOf(s)&&c===ct&&-1===St.indexOf(t[A])||-1!==Pt.concat(ht).indexOf(c)&&s===ot)return It;if(s===Ft&&c===Ft){var h=n[a],f=1;while(h>0){if(h--,e[h]!==Ft)break;f++}if(f%2!==0)return It}return s===yt&&c===bt?It:Dt},Wt=function(t,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var n=qt(t,e.lineBreak),r=n[0],i=n[1],a=n[2];"break-all"!==e.wordBreak&&"break-word"!==e.wordBreak||(i=i.map((function(t){return-1!==[ht,vt,Ut].indexOf(t)?Ct:t})));var o="keep-all"===e.wordBreak?a.map((function(e,n){return e&&t[n]>=19968&&t[n]<=40959})):void 0;return[r,i,o]},$t=function(){function t(t,e,n,r){this.codePoints=t,this.required=e===Tt,this.start=n,this.end=r}return t.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},t}(),Yt=function(t,e){var n=l(t),r=Wt(n,e),i=r[0],a=r[1],o=r[2],A=n.length,s=0,c=0;return{next:function(){if(c>=A)return{done:!0,value:null};var t=It;while(c<A&&(t=Gt(n,a,i,++c,o))===It);if(t!==It||c===A){var e=new $t(n,t,s,c);return s=c,{value:e,done:!1}}return{done:!0,value:null}}}},Xt=1,Jt=2,Zt=4,te=8,ee=10,ne=47,re=92,ie=9,ae=32,oe=34,Ae=61,se=35,le=36,ce=37,ue=39,de=40,he=41,fe=95,pe=45,me=33,ge=60,ve=62,_e=64,ye=91,be=93,we=61,Be=123,xe=63,Ce=125,ke=124,Qe=126,Ee=128,Fe=65533,Ue=42,Oe=43,Se=44,Te=58,Ie=59,De=46,Le=0,Pe=8,Ne=11,He=14,Me=31,je=127,Re=-1,Ke=48,qe=97,Ve=101,ze=102,Ge=117,We=122,$e=65,Ye=69,Xe=70,Je=85,Ze=90,tn=function(t){return t>=Ke&&t<=57},en=function(t){return t>=55296&&t<=57343},nn=function(t){return tn(t)||t>=$e&&t<=Xe||t>=qe&&t<=ze},rn=function(t){return t>=qe&&t<=We},an=function(t){return t>=$e&&t<=Ze},on=function(t){return rn(t)||an(t)},An=function(t){return t>=Ee},sn=function(t){return t===ee||t===ie||t===ae},ln=function(t){return on(t)||An(t)||t===fe},cn=function(t){return ln(t)||tn(t)||t===pe},un=function(t){return t>=Le&&t<=Pe||t===Ne||t>=He&&t<=Me||t===je},dn=function(t,e){return t===re&&e!==ee},hn=function(t,e,n){return t===pe?ln(e)||dn(e,n):!!ln(t)||!(t!==re||!dn(t,e))},fn=function(t,e,n){return t===Oe||t===pe?!!tn(e)||e===De&&tn(n):tn(t===De?e:t)},pn=function(t){var e=0,n=1;t[e]!==Oe&&t[e]!==pe||(t[e]===pe&&(n=-1),e++);var r=[];while(tn(t[e]))r.push(t[e++]);var i=r.length?parseInt(c.apply(void 0,r),10):0;t[e]===De&&e++;var a=[];while(tn(t[e]))a.push(t[e++]);var o=a.length,A=o?parseInt(c.apply(void 0,a),10):0;t[e]!==Ye&&t[e]!==Ve||e++;var s=1;t[e]!==Oe&&t[e]!==pe||(t[e]===pe&&(s=-1),e++);var l=[];while(tn(t[e]))l.push(t[e++]);var u=l.length?parseInt(c.apply(void 0,l),10):0;return n*(i+A*Math.pow(10,-o))*Math.pow(10,s*u)},mn={type:2},gn={type:3},vn={type:4},_n={type:13},yn={type:8},bn={type:21},wn={type:9},Bn={type:10},xn={type:11},Cn={type:12},kn={type:14},Qn={type:23},En={type:1},Fn={type:25},Un={type:24},On={type:26},Sn={type:27},Tn={type:28},In={type:29},Dn={type:31},Ln={type:32},Pn=function(){function t(){this._value=[]}return t.prototype.write=function(t){this._value=this._value.concat(l(t))},t.prototype.read=function(){var t=[],e=this.consumeToken();while(e!==Ln)t.push(e),e=this.consumeToken();return t},t.prototype.consumeToken=function(){var t=this.consumeCodePoint();switch(t){case oe:return this.consumeStringToken(oe);case se:var e=this.peekCodePoint(0),n=this.peekCodePoint(1),r=this.peekCodePoint(2);if(cn(e)||dn(n,r)){var i=hn(e,n,r)?Jt:Xt,a=this.consumeName();return{type:5,value:a,flags:i}}break;case le:if(this.peekCodePoint(0)===Ae)return this.consumeCodePoint(),_n;break;case ue:return this.consumeStringToken(ue);case de:return mn;case he:return gn;case Ue:if(this.peekCodePoint(0)===Ae)return this.consumeCodePoint(),kn;break;case Oe:if(fn(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case Se:return vn;case pe:var o=t,A=this.peekCodePoint(0),s=this.peekCodePoint(1);if(fn(o,A,s))return this.reconsumeCodePoint(t),this.consumeNumericToken();if(hn(o,A,s))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();if(A===pe&&s===ve)return this.consumeCodePoint(),this.consumeCodePoint(),Un;break;case De:if(fn(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case ne:if(this.peekCodePoint(0)===Ue){this.consumeCodePoint();while(1){var l=this.consumeCodePoint();if(l===Ue&&(l=this.consumeCodePoint(),l===ne))return this.consumeToken();if(l===Re)return this.consumeToken()}}break;case Te:return On;case Ie:return Sn;case ge:if(this.peekCodePoint(0)===me&&this.peekCodePoint(1)===pe&&this.peekCodePoint(2)===pe)return this.consumeCodePoint(),this.consumeCodePoint(),Fn;break;case _e:var u=this.peekCodePoint(0),d=this.peekCodePoint(1),h=this.peekCodePoint(2);if(hn(u,d,h)){a=this.consumeName();return{type:7,value:a}}break;case ye:return Tn;case re:if(dn(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();break;case be:return In;case we:if(this.peekCodePoint(0)===Ae)return this.consumeCodePoint(),yn;break;case Be:return xn;case Ce:return Cn;case Ge:case Je:var f=this.peekCodePoint(0),p=this.peekCodePoint(1);return f!==Oe||!nn(p)&&p!==xe||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(t),this.consumeIdentLikeToken();case ke:if(this.peekCodePoint(0)===Ae)return this.consumeCodePoint(),wn;if(this.peekCodePoint(0)===ke)return this.consumeCodePoint(),bn;break;case Qe:if(this.peekCodePoint(0)===Ae)return this.consumeCodePoint(),Bn;break;case Re:return Ln}return sn(t)?(this.consumeWhiteSpace(),Dn):tn(t)?(this.reconsumeCodePoint(t),this.consumeNumericToken()):ln(t)?(this.reconsumeCodePoint(t),this.consumeIdentLikeToken()):{type:6,value:c(t)}},t.prototype.consumeCodePoint=function(){var t=this._value.shift();return"undefined"===typeof t?-1:t},t.prototype.reconsumeCodePoint=function(t){this._value.unshift(t)},t.prototype.peekCodePoint=function(t){return t>=this._value.length?-1:this._value[t]},t.prototype.consumeUnicodeRangeToken=function(){var t=[],e=this.consumeCodePoint();while(nn(e)&&t.length<6)t.push(e),e=this.consumeCodePoint();var n=!1;while(e===xe&&t.length<6)t.push(e),e=this.consumeCodePoint(),n=!0;if(n){var r=parseInt(c.apply(void 0,t.map((function(t){return t===xe?Ke:t}))),16),i=parseInt(c.apply(void 0,t.map((function(t){return t===xe?Xe:t}))),16);return{type:30,start:r,end:i}}var a=parseInt(c.apply(void 0,t),16);if(this.peekCodePoint(0)===pe&&nn(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();var o=[];while(nn(e)&&o.length<6)o.push(e),e=this.consumeCodePoint();i=parseInt(c.apply(void 0,o),16);return{type:30,start:a,end:i}}return{type:30,start:a,end:a}},t.prototype.consumeIdentLikeToken=function(){var t=this.consumeName();return"url"===t.toLowerCase()&&this.peekCodePoint(0)===de?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===de?(this.consumeCodePoint(),{type:19,value:t}):{type:20,value:t}},t.prototype.consumeUrlToken=function(){var t=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Re)return{type:22,value:""};var e=this.peekCodePoint(0);if(e===ue||e===oe){var n=this.consumeStringToken(this.consumeCodePoint());return 0===n.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Re||this.peekCodePoint(0)===he)?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),Qn)}while(1){var r=this.consumeCodePoint();if(r===Re||r===he)return{type:22,value:c.apply(void 0,t)};if(sn(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Re||this.peekCodePoint(0)===he?(this.consumeCodePoint(),{type:22,value:c.apply(void 0,t)}):(this.consumeBadUrlRemnants(),Qn);if(r===oe||r===ue||r===de||un(r))return this.consumeBadUrlRemnants(),Qn;if(r===re){if(!dn(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Qn;t.push(this.consumeEscapedCodePoint())}else t.push(r)}},t.prototype.consumeWhiteSpace=function(){while(sn(this.peekCodePoint(0)))this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){while(1){var t=this.consumeCodePoint();if(t===he||t===Re)return;dn(t,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(t){var e=5e4,n="";while(t>0){var r=Math.min(e,t);n+=c.apply(void 0,this._value.splice(0,r)),t-=r}return this._value.shift(),n},t.prototype.consumeStringToken=function(t){var e="",n=0;do{var r=this._value[n];if(r===Re||void 0===r||r===t)return e+=this.consumeStringSlice(n),{type:0,value:e};if(r===ee)return this._value.splice(0,n),En;if(r===re){var i=this._value[n+1];i!==Re&&void 0!==i&&(i===ee?(e+=this.consumeStringSlice(n),n=-1,this._value.shift()):dn(r,i)&&(e+=this.consumeStringSlice(n),e+=c(this.consumeEscapedCodePoint()),n=-1))}n++}while(1)},t.prototype.consumeNumber=function(){var t=[],e=Zt,n=this.peekCodePoint(0);n!==Oe&&n!==pe||t.push(this.consumeCodePoint());while(tn(this.peekCodePoint(0)))t.push(this.consumeCodePoint());n=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(n===De&&tn(r)){t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=te;while(tn(this.peekCodePoint(0)))t.push(this.consumeCodePoint())}n=this.peekCodePoint(0),r=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((n===Ye||n===Ve)&&((r===Oe||r===pe)&&tn(i)||tn(r))){t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=te;while(tn(this.peekCodePoint(0)))t.push(this.consumeCodePoint())}return[pn(t),e]},t.prototype.consumeNumericToken=function(){var t=this.consumeNumber(),e=t[0],n=t[1],r=this.peekCodePoint(0),i=this.peekCodePoint(1),a=this.peekCodePoint(2);if(hn(r,i,a)){var o=this.consumeName();return{type:15,number:e,flags:n,unit:o}}return r===ce?(this.consumeCodePoint(),{type:16,number:e,flags:n}):{type:17,number:e,flags:n}},t.prototype.consumeEscapedCodePoint=function(){var t=this.consumeCodePoint();if(nn(t)){var e=c(t);while(nn(this.peekCodePoint(0))&&e.length<6)e+=c(this.consumeCodePoint());sn(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(e,16);return 0===n||en(n)||n>1114111?Fe:n}return t===Re?Fe:t},t.prototype.consumeName=function(){var t="";while(1){var e=this.consumeCodePoint();if(cn(e))t+=c(e);else{if(!dn(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),t;t+=c(this.consumeEscapedCodePoint())}}},t}(),Nn=function(){function t(t){this._tokens=t}return t.create=function(e){var n=new Pn;return n.write(e),new t(n.read())},t.parseValue=function(e){return t.create(e).parseComponentValue()},t.parseValues=function(e){return t.create(e).parseComponentValues()},t.prototype.parseComponentValue=function(){var t=this.consumeToken();while(31===t.type)t=this.consumeToken();if(32===t.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(t);var e=this.consumeComponentValue();do{t=this.consumeToken()}while(31===t.type);if(32===t.type)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){var t=[];while(1){var e=this.consumeComponentValue();if(32===e.type)return t;t.push(e),t.push()}},t.prototype.consumeComponentValue=function(){var t=this.consumeToken();switch(t.type){case 11:case 28:case 2:return this.consumeSimpleBlock(t.type);case 19:return this.consumeFunction(t)}return t},t.prototype.consumeSimpleBlock=function(t){var e={type:t,values:[]},n=this.consumeToken();while(1){if(32===n.type||Gn(n,t))return e;this.reconsumeToken(n),e.values.push(this.consumeComponentValue()),n=this.consumeToken()}},t.prototype.consumeFunction=function(t){var e={name:t.value,values:[],type:18};while(1){var n=this.consumeToken();if(32===n.type||3===n.type)return e;this.reconsumeToken(n),e.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var t=this._tokens.shift();return"undefined"===typeof t?Ln:t},t.prototype.reconsumeToken=function(t){this._tokens.unshift(t)},t}(),Hn=function(t){return 15===t.type},Mn=function(t){return 17===t.type},jn=function(t){return 20===t.type},Rn=function(t){return 0===t.type},Kn=function(t,e){return jn(t)&&t.value===e},qn=function(t){return 31!==t.type},Vn=function(t){return 31!==t.type&&4!==t.type},zn=function(t){var e=[],n=[];return t.forEach((function(t){if(4===t.type){if(0===n.length)throw new Error("Error parsing function args, zero tokens for arg");return e.push(n),void(n=[])}31!==t.type&&n.push(t)})),n.length&&e.push(n),e},Gn=function(t,e){return 11===e&&12===t.type||(28===e&&29===t.type||2===e&&3===t.type)},Wn=function(t){return 17===t.type||15===t.type},$n=function(t){return 16===t.type||Wn(t)},Yn=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},Xn={type:17,number:0,flags:Zt},Jn={type:16,number:50,flags:Zt},Zn={type:16,number:100,flags:Zt},tr=function(t,e,n){var r=t[0],i=t[1];return[er(r,e),er("undefined"!==typeof i?i:r,n)]},er=function(t,e){if(16===t.type)return t.number/100*e;if(Hn(t))switch(t.unit){case"rem":case"em":return 16*t.number;case"px":default:return t.number}return t.number},nr="deg",rr="grad",ir="rad",ar="turn",or={name:"angle",parse:function(t,e){if(15===e.type)switch(e.unit){case nr:return Math.PI*e.number/180;case rr:return Math.PI/200*e.number;case ir:return e.number;case ar:return 2*Math.PI*e.number}throw new Error("Unsupported angle type")}},Ar=function(t){return 15===t.type&&(t.unit===nr||t.unit===rr||t.unit===ir||t.unit===ar)},sr=function(t){var e=t.filter(jn).map((function(t){return t.value})).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Xn,Xn];case"to top":case"bottom":return lr(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Xn,Zn];case"to right":case"left":return lr(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Zn,Zn];case"to bottom":case"top":return lr(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Zn,Xn];case"to left":case"right":return lr(270)}return 0},lr=function(t){return Math.PI*t/180},cr={name:"color",parse:function(t,e){if(18===e.type){var n=vr[e.name];if("undefined"===typeof n)throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return n(t,e.values)}if(5===e.type){if(3===e.value.length){var r=e.value.substring(0,1),i=e.value.substring(1,2),a=e.value.substring(2,3);return hr(parseInt(r+r,16),parseInt(i+i,16),parseInt(a+a,16),1)}if(4===e.value.length){r=e.value.substring(0,1),i=e.value.substring(1,2),a=e.value.substring(2,3);var o=e.value.substring(3,4);return hr(parseInt(r+r,16),parseInt(i+i,16),parseInt(a+a,16),parseInt(o+o,16)/255)}if(6===e.value.length){r=e.value.substring(0,2),i=e.value.substring(2,4),a=e.value.substring(4,6);return hr(parseInt(r,16),parseInt(i,16),parseInt(a,16),1)}if(8===e.value.length){r=e.value.substring(0,2),i=e.value.substring(2,4),a=e.value.substring(4,6),o=e.value.substring(6,8);return hr(parseInt(r,16),parseInt(i,16),parseInt(a,16),parseInt(o,16)/255)}}if(20===e.type){var A=yr[e.value.toUpperCase()];if("undefined"!==typeof A)return A}return yr.TRANSPARENT}},ur=function(t){return 0===(255&t)},dr=function(t){var e=255&t,n=255&t>>8,r=255&t>>16,i=255&t>>24;return e<255?"rgba("+i+","+r+","+n+","+e/255+")":"rgb("+i+","+r+","+n+")"},hr=function(t,e,n,r){return(t<<24|e<<16|n<<8|Math.round(255*r)<<0)>>>0},fr=function(t,e){if(17===t.type)return t.number;if(16===t.type){var n=3===e?1:255;return 3===e?t.number/100*n:Math.round(t.number/100*n)}return 0},pr=function(t,e){var n=e.filter(Vn);if(3===n.length){var r=n.map(fr),i=r[0],a=r[1],o=r[2];return hr(i,a,o,1)}if(4===n.length){var A=n.map(fr),s=(i=A[0],a=A[1],o=A[2],A[3]);return hr(i,a,o,s)}return 0};function mr(t,e,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(e-t)*n*6+t:n<.5?e:n<2/3?6*(e-t)*(2/3-n)+t:t}var gr=function(t,e){var n=e.filter(Vn),r=n[0],i=n[1],a=n[2],o=n[3],A=(17===r.type?lr(r.number):or.parse(t,r))/(2*Math.PI),s=$n(i)?i.number/100:0,l=$n(a)?a.number/100:0,c="undefined"!==typeof o&&$n(o)?er(o,1):1;if(0===s)return hr(255*l,255*l,255*l,1);var u=l<=.5?l*(s+1):l+s-l*s,d=2*l-u,h=mr(d,u,A+1/3),f=mr(d,u,A),p=mr(d,u,A-1/3);return hr(255*h,255*f,255*p,c)},vr={hsl:gr,hsla:gr,rgb:pr,rgba:pr},_r=function(t,e){return cr.parse(t,Nn.create(e).parseComponentValue())},yr={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},br={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(t,e){return e.map((function(t){if(jn(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},wr={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Br=function(t,e){var n=cr.parse(t,e[0]),r=e[1];return r&&$n(r)?{color:n,stop:r}:{color:n,stop:null}},xr=function(t,e){var n=t[0],r=t[t.length-1];null===n.stop&&(n.stop=Xn),null===r.stop&&(r.stop=Zn);for(var i=[],a=0,o=0;o<t.length;o++){var A=t[o].stop;if(null!==A){var s=er(A,e);s>a?i.push(s):i.push(a),a=s}else i.push(null)}var l=null;for(o=0;o<i.length;o++){var c=i[o];if(null===c)null===l&&(l=o);else if(null!==l){for(var u=o-l,d=i[l-1],h=(c-d)/(u+1),f=1;f<=u;f++)i[l+f-1]=h*f;l=null}}return t.map((function(t,n){var r=t.color;return{color:r,stop:Math.max(Math.min(1,i[n]/e),0)}}))},Cr=function(t,e,n){var r=e/2,i=n/2,a=er(t[0],e)-r,o=i-er(t[1],n);return(Math.atan2(o,a)+2*Math.PI)%(2*Math.PI)},kr=function(t,e,n){var r="number"===typeof t?t:Cr(t,e,n),i=Math.abs(e*Math.sin(r))+Math.abs(n*Math.cos(r)),a=e/2,o=n/2,A=i/2,s=Math.sin(r-Math.PI/2)*A,l=Math.cos(r-Math.PI/2)*A;return[i,a-l,a+l,o-s,o+s]},Qr=function(t,e){return Math.sqrt(t*t+e*e)},Er=function(t,e,n,r,i){var a=[[0,0],[0,e],[t,0],[t,e]];return a.reduce((function(t,e){var a=e[0],o=e[1],A=Qr(n-a,r-o);return(i?A<t.optimumDistance:A>t.optimumDistance)?{optimumCorner:e,optimumDistance:A}:t}),{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},Fr=function(t,e,n,r,i){var a=0,o=0;switch(t.size){case 0:0===t.shape?a=o=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(n),Math.abs(n-i)):1===t.shape&&(a=Math.min(Math.abs(e),Math.abs(e-r)),o=Math.min(Math.abs(n),Math.abs(n-i)));break;case 2:if(0===t.shape)a=o=Math.min(Qr(e,n),Qr(e,n-i),Qr(e-r,n),Qr(e-r,n-i));else if(1===t.shape){var A=Math.min(Math.abs(n),Math.abs(n-i))/Math.min(Math.abs(e),Math.abs(e-r)),s=Er(r,i,e,n,!0),l=s[0],c=s[1];a=Qr(l-e,(c-n)/A),o=A*a}break;case 1:0===t.shape?a=o=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(n),Math.abs(n-i)):1===t.shape&&(a=Math.max(Math.abs(e),Math.abs(e-r)),o=Math.max(Math.abs(n),Math.abs(n-i)));break;case 3:if(0===t.shape)a=o=Math.max(Qr(e,n),Qr(e,n-i),Qr(e-r,n),Qr(e-r,n-i));else if(1===t.shape){A=Math.max(Math.abs(n),Math.abs(n-i))/Math.max(Math.abs(e),Math.abs(e-r));var u=Er(r,i,e,n,!1);l=u[0],c=u[1];a=Qr(l-e,(c-n)/A),o=A*a}break}return Array.isArray(t.size)&&(a=er(t.size[0],r),o=2===t.size.length?er(t.size[1],i):a),[a,o]},Ur=function(t,e){var n=lr(180),r=[];return zn(e).forEach((function(e,i){if(0===i){var a=e[0];if(20===a.type&&"to"===a.value)return void(n=sr(e));if(Ar(a))return void(n=or.parse(t,a))}var o=Br(t,e);r.push(o)})),{angle:n,stops:r,type:1}},Or=function(t,e){var n=lr(180),r=[];return zn(e).forEach((function(e,i){if(0===i){var a=e[0];if(20===a.type&&-1!==["top","left","right","bottom"].indexOf(a.value))return void(n=sr(e));if(Ar(a))return void(n=(or.parse(t,a)+lr(270))%lr(360))}var o=Br(t,e);r.push(o)})),{angle:n,stops:r,type:1}},Sr=function(t,e){var n=lr(180),r=[],i=1,a=0,o=3,A=[];return zn(e).forEach((function(e,n){var a=e[0];if(0===n){if(jn(a)&&"linear"===a.value)return void(i=1);if(jn(a)&&"radial"===a.value)return void(i=2)}if(18===a.type)if("from"===a.name){var o=cr.parse(t,a.values[0]);r.push({stop:Xn,color:o})}else if("to"===a.name){o=cr.parse(t,a.values[0]);r.push({stop:Zn,color:o})}else if("color-stop"===a.name){var A=a.values.filter(Vn);if(2===A.length){o=cr.parse(t,A[1]);var s=A[0];Mn(s)&&r.push({stop:{type:16,number:100*s.number,flags:s.flags},color:o})}}})),1===i?{angle:(n+lr(180))%lr(360),stops:r,type:i}:{size:o,shape:a,stops:r,position:A,type:i}},Tr="closest-side",Ir="farthest-side",Dr="closest-corner",Lr="farthest-corner",Pr="circle",Nr="ellipse",Hr="cover",Mr="contain",jr=function(t,e){var n=0,r=3,i=[],a=[];return zn(e).forEach((function(e,o){var A=!0;if(0===o){var s=!1;A=e.reduce((function(t,e){if(s)if(jn(e))switch(e.value){case"center":return a.push(Jn),t;case"top":case"left":return a.push(Xn),t;case"right":case"bottom":return a.push(Zn),t}else($n(e)||Wn(e))&&a.push(e);else if(jn(e))switch(e.value){case Pr:return n=0,!1;case Nr:return n=1,!1;case"at":return s=!0,!1;case Tr:return r=0,!1;case Hr:case Ir:return r=1,!1;case Mr:case Dr:return r=2,!1;case Lr:return r=3,!1}else if(Wn(e)||$n(e))return Array.isArray(r)||(r=[]),r.push(e),!1;return t}),A)}if(A){var l=Br(t,e);i.push(l)}})),{size:r,shape:n,stops:i,position:a,type:2}},Rr=function(t,e){var n=0,r=3,i=[],a=[];return zn(e).forEach((function(e,o){var A=!0;if(0===o?A=e.reduce((function(t,e){if(jn(e))switch(e.value){case"center":return a.push(Jn),!1;case"top":case"left":return a.push(Xn),!1;case"right":case"bottom":return a.push(Zn),!1}else if($n(e)||Wn(e))return a.push(e),!1;return t}),A):1===o&&(A=e.reduce((function(t,e){if(jn(e))switch(e.value){case Pr:return n=0,!1;case Nr:return n=1,!1;case Mr:case Tr:return r=0,!1;case Ir:return r=1,!1;case Dr:return r=2,!1;case Hr:case Lr:return r=3,!1}else if(Wn(e)||$n(e))return Array.isArray(r)||(r=[]),r.push(e),!1;return t}),A)),A){var s=Br(t,e);i.push(s)}})),{size:r,shape:n,stops:i,position:a,type:2}},Kr=function(t){return 1===t.type},qr=function(t){return 2===t.type},Vr={name:"image",parse:function(t,e){if(22===e.type){var n={url:e.value,type:0};return t.cache.addImage(e.value),n}if(18===e.type){var r=Wr[e.name];if("undefined"===typeof r)throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(t,e.values)}throw new Error("Unsupported image type "+e.type)}};function zr(t){return!(20===t.type&&"none"===t.value)&&(18!==t.type||!!Wr[t.name])}var Gr,Wr={"linear-gradient":Ur,"-moz-linear-gradient":Or,"-ms-linear-gradient":Or,"-o-linear-gradient":Or,"-webkit-linear-gradient":Or,"radial-gradient":jr,"-moz-radial-gradient":Rr,"-ms-radial-gradient":Rr,"-o-radial-gradient":Rr,"-webkit-radial-gradient":Rr,"-webkit-gradient":Sr},$r={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(t,e){if(0===e.length)return[];var n=e[0];return 20===n.type&&"none"===n.value?[]:e.filter((function(t){return Vn(t)&&zr(t)})).map((function(e){return Vr.parse(t,e)}))}},Yr={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(t,e){return e.map((function(t){if(jn(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Xr={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(t,e){return zn(e).map((function(t){return t.filter($n)})).map(Yn)}},Jr={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(t,e){return zn(e).map((function(t){return t.filter(jn).map((function(t){return t.value})).join(" ")})).map(Zr)}},Zr=function(t){switch(t){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}};(function(t){t["AUTO"]="auto",t["CONTAIN"]="contain",t["COVER"]="cover"})(Gr||(Gr={}));var ti,ei={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(t,e){return zn(e).map((function(t){return t.filter(ni)}))}},ni=function(t){return jn(t)||$n(t)},ri=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},ii=ri("top"),ai=ri("right"),oi=ri("bottom"),Ai=ri("left"),si=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:1,parse:function(t,e){return Yn(e.filter($n))}}},li=si("top-left"),ci=si("top-right"),ui=si("bottom-right"),di=si("bottom-left"),hi=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(t,e){switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},fi=hi("top"),pi=hi("right"),mi=hi("bottom"),gi=hi("left"),vi=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:0,prefix:!1,parse:function(t,e){return Hn(e)?e.number:0}}},_i=vi("top"),yi=vi("right"),bi=vi("bottom"),wi=vi("left"),Bi={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},xi={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(t,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},Ci={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(t,e){return e.filter(jn).reduce((function(t,e){return t|ki(e.value)}),0)}},ki=function(t){switch(t){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Qi={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Ei={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(t,e){return 20===e.type&&"normal"===e.value?0:17===e.type||15===e.type?e.number:0}};(function(t){t["NORMAL"]="normal",t["STRICT"]="strict"})(ti||(ti={}));var Fi,Ui={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"strict":return ti.STRICT;case"normal":default:return ti.NORMAL}}},Oi={name:"line-height",initialValue:"normal",prefix:!1,type:4},Si=function(t,e){return jn(t)&&"normal"===t.value?1.2*e:17===t.type?e*t.number:$n(t)?er(t,e):e},Ti={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(t,e){return 20===e.type&&"none"===e.value?null:Vr.parse(t,e)}},Ii={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(t,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},Di={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Li=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:4}},Pi=Li("top"),Ni=Li("right"),Hi=Li("bottom"),Mi=Li("left"),ji={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(t,e){return e.filter(jn).map((function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}}))}},Ri={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},Ki=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},qi=Ki("top"),Vi=Ki("right"),zi=Ki("bottom"),Gi=Ki("left"),Wi={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(t,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},$i={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(t,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Yi={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return 1===e.length&&Kn(e[0],"none")?[]:zn(e).map((function(e){for(var n={color:yr.TRANSPARENT,offsetX:Xn,offsetY:Xn,blur:Xn},r=0,i=0;i<e.length;i++){var a=e[i];Wn(a)?(0===r?n.offsetX=a:1===r?n.offsetY=a:n.blur=a,r++):n.color=cr.parse(t,a)}return n}))}},Xi={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Ji={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(t,e){if(20===e.type&&"none"===e.value)return null;if(18===e.type){var n=ea[e.name];if("undefined"===typeof n)throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return n(e.values)}return null}},Zi=function(t){var e=t.filter((function(t){return 17===t.type})).map((function(t){return t.number}));return 6===e.length?e:null},ta=function(t){var e=t.filter((function(t){return 17===t.type})).map((function(t){return t.number})),n=e[0],r=e[1];e[2],e[3];var i=e[4],a=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var o=e[12],A=e[13];return e[14],e[15],16===e.length?[n,r,i,a,o,A]:null},ea={matrix:Zi,matrix3d:ta},na={type:16,number:50,flags:Zt},ra=[na,na],ia={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(t,e){var n=e.filter($n);return 2!==n.length?ra:[n[0],n[1]]}},aa={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}};(function(t){t["NORMAL"]="normal",t["BREAK_ALL"]="break-all",t["KEEP_ALL"]="keep-all"})(Fi||(Fi={}));for(var oa={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"break-all":return Fi.BREAK_ALL;case"keep-all":return Fi.KEEP_ALL;case"normal":default:return Fi.NORMAL}}},Aa={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(t,e){if(20===e.type)return{auto:!0,order:0};if(Mn(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},sa={name:"time",parse:function(t,e){if(15===e.type)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},la={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(t,e){return Mn(e)?e.number:1}},ca={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ua={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(t,e){return e.filter(jn).map((function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0})).filter((function(t){return 0!==t}))}},da={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(t,e){var n=[],r=[];return e.forEach((function(t){switch(t.type){case 20:case 0:n.push(t.value);break;case 17:n.push(t.number.toString());break;case 4:r.push(n.join(" ")),n.length=0;break}})),n.length&&r.push(n.join(" ")),r.map((function(t){return-1===t.indexOf(" ")?t:"'"+t+"'"}))}},ha={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},fa={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(t,e){if(Mn(e))return e.number;if(jn(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},pa={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return e.filter(jn).map((function(t){return t.value}))}},ma={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},ga=function(t,e){return 0!==(t&e)},va={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(t,e){if(0===e.length)return[];var n=e[0];return 20===n.type&&"none"===n.value?[]:e}},_a={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(0===e.length)return null;var n=e[0];if(20===n.type&&"none"===n.value)return null;for(var r=[],i=e.filter(qn),a=0;a<i.length;a++){var o=i[a],A=i[a+1];if(20===o.type){var s=A&&Mn(A)?A.number:1;r.push({counter:o.value,increment:s})}}return r}},ya={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(0===e.length)return[];for(var n=[],r=e.filter(qn),i=0;i<r.length;i++){var a=r[i],o=r[i+1];if(jn(a)&&"none"!==a.value){var A=o&&Mn(o)?o.number:0;n.push({counter:a.value,reset:A})}}return n}},ba={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(t,e){return e.filter(Hn).map((function(e){return sa.parse(t,e)}))}},wa={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(0===e.length)return null;var n=e[0];if(20===n.type&&"none"===n.value)return null;var r=[],i=e.filter(Rn);if(i.length%2!==0)return null;for(var a=0;a<i.length;a+=2){var o=i[a].value,A=i[a+1].value;r.push({open:o,close:A})}return r}},Ba=function(t,e,n){if(!t)return"";var r=t[Math.min(e,t.length-1)];return r?n?r.open:r.close:""},xa={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return 1===e.length&&Kn(e[0],"none")?[]:zn(e).map((function(e){for(var n={color:255,offsetX:Xn,offsetY:Xn,blur:Xn,spread:Xn,inset:!1},r=0,i=0;i<e.length;i++){var a=e[i];Kn(a,"inset")?n.inset=!0:Wn(a)?(0===r?n.offsetX=a:1===r?n.offsetY=a:2===r?n.blur=a:n.spread=a,r++):n.color=cr.parse(t,a)}return n}))}},Ca={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(t,e){var n=[0,1,2],r=[];return e.filter(jn).forEach((function(t){switch(t.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}})),n.forEach((function(t){-1===r.indexOf(t)&&r.push(t)})),r}},ka={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Qa={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(t,e){return Hn(e)?e.number:0}},Ea=function(){function t(t,e){var n,r;this.animationDuration=Oa(t,ba,e.animationDuration),this.backgroundClip=Oa(t,br,e.backgroundClip),this.backgroundColor=Oa(t,wr,e.backgroundColor),this.backgroundImage=Oa(t,$r,e.backgroundImage),this.backgroundOrigin=Oa(t,Yr,e.backgroundOrigin),this.backgroundPosition=Oa(t,Xr,e.backgroundPosition),this.backgroundRepeat=Oa(t,Jr,e.backgroundRepeat),this.backgroundSize=Oa(t,ei,e.backgroundSize),this.borderTopColor=Oa(t,ii,e.borderTopColor),this.borderRightColor=Oa(t,ai,e.borderRightColor),this.borderBottomColor=Oa(t,oi,e.borderBottomColor),this.borderLeftColor=Oa(t,Ai,e.borderLeftColor),this.borderTopLeftRadius=Oa(t,li,e.borderTopLeftRadius),this.borderTopRightRadius=Oa(t,ci,e.borderTopRightRadius),this.borderBottomRightRadius=Oa(t,ui,e.borderBottomRightRadius),this.borderBottomLeftRadius=Oa(t,di,e.borderBottomLeftRadius),this.borderTopStyle=Oa(t,fi,e.borderTopStyle),this.borderRightStyle=Oa(t,pi,e.borderRightStyle),this.borderBottomStyle=Oa(t,mi,e.borderBottomStyle),this.borderLeftStyle=Oa(t,gi,e.borderLeftStyle),this.borderTopWidth=Oa(t,_i,e.borderTopWidth),this.borderRightWidth=Oa(t,yi,e.borderRightWidth),this.borderBottomWidth=Oa(t,bi,e.borderBottomWidth),this.borderLeftWidth=Oa(t,wi,e.borderLeftWidth),this.boxShadow=Oa(t,xa,e.boxShadow),this.color=Oa(t,Bi,e.color),this.direction=Oa(t,xi,e.direction),this.display=Oa(t,Ci,e.display),this.float=Oa(t,Qi,e.cssFloat),this.fontFamily=Oa(t,da,e.fontFamily),this.fontSize=Oa(t,ha,e.fontSize),this.fontStyle=Oa(t,ma,e.fontStyle),this.fontVariant=Oa(t,pa,e.fontVariant),this.fontWeight=Oa(t,fa,e.fontWeight),this.letterSpacing=Oa(t,Ei,e.letterSpacing),this.lineBreak=Oa(t,Ui,e.lineBreak),this.lineHeight=Oa(t,Oi,e.lineHeight),this.listStyleImage=Oa(t,Ti,e.listStyleImage),this.listStylePosition=Oa(t,Ii,e.listStylePosition),this.listStyleType=Oa(t,Di,e.listStyleType),this.marginTop=Oa(t,Pi,e.marginTop),this.marginRight=Oa(t,Ni,e.marginRight),this.marginBottom=Oa(t,Hi,e.marginBottom),this.marginLeft=Oa(t,Mi,e.marginLeft),this.opacity=Oa(t,la,e.opacity);var i=Oa(t,ji,e.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=Oa(t,Ri,e.overflowWrap),this.paddingTop=Oa(t,qi,e.paddingTop),this.paddingRight=Oa(t,Vi,e.paddingRight),this.paddingBottom=Oa(t,zi,e.paddingBottom),this.paddingLeft=Oa(t,Gi,e.paddingLeft),this.paintOrder=Oa(t,Ca,e.paintOrder),this.position=Oa(t,$i,e.position),this.textAlign=Oa(t,Wi,e.textAlign),this.textDecorationColor=Oa(t,ca,null!==(n=e.textDecorationColor)&&void 0!==n?n:e.color),this.textDecorationLine=Oa(t,ua,null!==(r=e.textDecorationLine)&&void 0!==r?r:e.textDecoration),this.textShadow=Oa(t,Yi,e.textShadow),this.textTransform=Oa(t,Xi,e.textTransform),this.transform=Oa(t,Ji,e.transform),this.transformOrigin=Oa(t,ia,e.transformOrigin),this.visibility=Oa(t,aa,e.visibility),this.webkitTextStrokeColor=Oa(t,ka,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=Oa(t,Qa,e.webkitTextStrokeWidth),this.wordBreak=Oa(t,oa,e.wordBreak),this.zIndex=Oa(t,Aa,e.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},t.prototype.isTransparent=function(){return ur(this.backgroundColor)},t.prototype.isTransformed=function(){return null!==this.transform},t.prototype.isPositioned=function(){return 0!==this.position},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return 0!==this.float},t.prototype.isInlineLevel=function(){return ga(this.display,4)||ga(this.display,33554432)||ga(this.display,268435456)||ga(this.display,536870912)||ga(this.display,67108864)||ga(this.display,134217728)},t}(),Fa=function(){function t(t,e){this.content=Oa(t,va,e.content),this.quotes=Oa(t,wa,e.quotes)}return t}(),Ua=function(){function t(t,e){this.counterIncrement=Oa(t,_a,e.counterIncrement),this.counterReset=Oa(t,ya,e.counterReset)}return t}(),Oa=function(t,e,n){var r=new Pn,i=null!==n&&"undefined"!==typeof n?n.toString():e.initialValue;r.write(i);var a=new Nn(r.read());switch(e.type){case 2:var o=a.parseComponentValue();return e.parse(t,jn(o)?o.value:e.initialValue);case 0:return e.parse(t,a.parseComponentValue());case 1:return e.parse(t,a.parseComponentValues());case 4:return a.parseComponentValue();case 3:switch(e.format){case"angle":return or.parse(t,a.parseComponentValue());case"color":return cr.parse(t,a.parseComponentValue());case"image":return Vr.parse(t,a.parseComponentValue());case"length":var A=a.parseComponentValue();return Wn(A)?A:Xn;case"length-percentage":var s=a.parseComponentValue();return $n(s)?s:Xn;case"time":return sa.parse(t,a.parseComponentValue())}break}},Sa="data-html2canvas-debug",Ta=function(t){var e=t.getAttribute(Sa);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Ia=function(t,e){var n=Ta(t);return 1===n||e===n},Da=function(){function t(t,e){this.context=t,this.textNodes=[],this.elements=[],this.flags=0,Ia(e,3),this.styles=new Ea(t,window.getComputedStyle(e,null)),UA(e)&&(this.styles.animationDuration.some((function(t){return t>0}))&&(e.style.animationDuration="0s"),null!==this.styles.transform&&(e.style.transform="none")),this.bounds=A(this.context,e),Ia(e,4)&&(this.flags|=16)}return t}(),La="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Pa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Na="undefined"===typeof Uint8Array?[]:new Uint8Array(256),Ha=0;Ha<Pa.length;Ha++)Na[Pa.charCodeAt(Ha)]=Ha;for(var Ma=function(t){var e,n,r,i,a,o=.75*t.length,A=t.length,s=0;"="===t[t.length-1]&&(o--,"="===t[t.length-2]&&o--);var l="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),c=Array.isArray(l)?l:new Uint8Array(l);for(e=0;e<A;e+=4)n=Na[t.charCodeAt(e)],r=Na[t.charCodeAt(e+1)],i=Na[t.charCodeAt(e+2)],a=Na[t.charCodeAt(e+3)],c[s++]=n<<2|r>>4,c[s++]=(15&r)<<4|i>>2,c[s++]=(3&i)<<6|63&a;return l},ja=function(t){for(var e=t.length,n=[],r=0;r<e;r+=2)n.push(t[r+1]<<8|t[r]);return n},Ra=function(t){for(var e=t.length,n=[],r=0;r<e;r+=4)n.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return n},Ka=5,qa=11,Va=2,za=qa-Ka,Ga=65536>>Ka,Wa=1<<Ka,$a=Wa-1,Ya=1024>>Ka,Xa=Ga+Ya,Ja=Xa,Za=32,to=Ja+Za,eo=65536>>qa,no=1<<za,ro=no-1,io=function(t,e,n){return t.slice?t.slice(e,n):new Uint16Array(Array.prototype.slice.call(t,e,n))},ao=function(t,e,n){return t.slice?t.slice(e,n):new Uint32Array(Array.prototype.slice.call(t,e,n))},oo=function(t,e){var n=Ma(t),r=Array.isArray(n)?Ra(n):new Uint32Array(n),i=Array.isArray(n)?ja(n):new Uint16Array(n),a=24,o=io(i,a/2,r[4]/2),A=2===r[5]?io(i,(a+r[4])/2):ao(r,Math.ceil((a+r[4])/4));return new Ao(r[0],r[1],r[2],r[3],o,A)},Ao=function(){function t(t,e,n,r,i,a){this.initialValue=t,this.errorValue=e,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=a}return t.prototype.get=function(t){var e;if(t>=0){if(t<55296||t>56319&&t<=65535)return e=this.index[t>>Ka],e=(e<<Va)+(t&$a),this.data[e];if(t<=65535)return e=this.index[Ga+(t-55296>>Ka)],e=(e<<Va)+(t&$a),this.data[e];if(t<this.highStart)return e=to-eo+(t>>qa),e=this.index[e],e+=t>>Ka&ro,e=this.index[e],e=(e<<Va)+(t&$a),this.data[e];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),so="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lo="undefined"===typeof Uint8Array?[]:new Uint8Array(256),co=0;co<so.length;co++)lo[so.charCodeAt(co)]=co;var uo,ho=1,fo=2,po=3,mo=4,go=5,vo=7,_o=8,yo=9,bo=10,wo=11,Bo=12,xo=13,Co=14,ko=15,Qo=function(t){var e=[],n=0,r=t.length;while(n<r){var i=t.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var a=t.charCodeAt(n++);56320===(64512&a)?e.push(((1023&i)<<10)+(1023&a)+65536):(e.push(i),n--)}else e.push(i)}return e},Eo=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var n=t.length;if(!n)return"";var r=[],i=-1,a="";while(++i<n){var o=t[i];o<=65535?r.push(o):(o-=65536,r.push(55296+(o>>10),o%1024+56320)),(i+1===n||r.length>16384)&&(a+=String.fromCharCode.apply(String,r),r.length=0)}return a},Fo=oo(La),Uo="×",Oo="÷",So=function(t){return Fo.get(t)},To=function(t,e,n){var r=n-2,i=e[r],a=e[n-1],o=e[n];if(a===fo&&o===po)return Uo;if(a===fo||a===po||a===mo)return Oo;if(o===fo||o===po||o===mo)return Oo;if(a===_o&&-1!==[_o,yo,wo,Bo].indexOf(o))return Uo;if((a===wo||a===yo)&&(o===yo||o===bo))return Uo;if((a===Bo||a===bo)&&o===bo)return Uo;if(o===xo||o===go)return Uo;if(o===vo)return Uo;if(a===ho)return Uo;if(a===xo&&o===Co){while(i===go)i=e[--r];if(i===Co)return Uo}if(a===ko&&o===ko){var A=0;while(i===ko)A++,i=e[--r];if(A%2===0)return Uo}return Oo},Io=function(t){var e=Qo(t),n=e.length,r=0,i=0,a=e.map(So);return{next:function(){if(r>=n)return{done:!0,value:null};var t=Uo;while(r<n&&(t=To(e,a,++r))===Uo);if(t!==Uo||r===n){var o=Eo.apply(null,e.slice(i,r));return i=r,{value:o,done:!1}}return{done:!0,value:null}}}},Do=function(t){var e,n=Io(t),r=[];while(!(e=n.next()).done)e.value&&r.push(e.value.slice());return r},Lo=function(t){var e=123;if(t.createRange){var n=t.createRange();if(n.getBoundingClientRect){var r=t.createElement("boundtest");r.style.height=e+"px",r.style.display="block",t.body.appendChild(r),n.selectNode(r);var i=n.getBoundingClientRect(),a=Math.round(i.height);if(t.body.removeChild(r),a===e)return!0}}return!1},Po=function(t){var e=t.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",t.body.appendChild(e);var n=t.createRange();e.innerHTML="function"===typeof"".repeat?"👨".repeat(10):"";var r=e.firstChild,i=l(r.data).map((function(t){return c(t)})),a=0,o={},A=i.every((function(t,e){n.setStart(r,a),n.setEnd(r,a+t.length);var i=n.getBoundingClientRect();a+=t.length;var A=i.x>o.x||i.y>o.y;return o=i,0===e||A}));return t.body.removeChild(e),A},No=function(){return"undefined"!==typeof(new Image).crossOrigin},Ho=function(){return"string"===typeof(new XMLHttpRequest).responseType},Mo=function(t){var e=new Image,n=t.createElement("canvas"),r=n.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(e,0,0),n.toDataURL()}catch(Ve){return!1}return!0},jo=function(t){return 0===t[0]&&255===t[1]&&0===t[2]&&255===t[3]},Ro=function(t){var e=t.createElement("canvas"),n=100;e.width=n,e.height=n;var r=e.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,n,n);var i=new Image,a=e.toDataURL();i.src=a;var o=Ko(n,n,0,0,i);return r.fillStyle="red",r.fillRect(0,0,n,n),qo(o).then((function(e){r.drawImage(e,0,0);var i=r.getImageData(0,0,n,n).data;r.fillStyle="red",r.fillRect(0,0,n,n);var o=t.createElement("div");return o.style.backgroundImage="url("+a+")",o.style.height=n+"px",jo(i)?qo(Ko(n,n,0,0,o)):Promise.reject(!1)})).then((function(t){return r.drawImage(t,0,0),jo(r.getImageData(0,0,n,n).data)})).catch((function(){return!1}))},Ko=function(t,e,n,r,i){var a="http://www.w3.org/2000/svg",o=document.createElementNS(a,"svg"),A=document.createElementNS(a,"foreignObject");return o.setAttributeNS(null,"width",t.toString()),o.setAttributeNS(null,"height",e.toString()),A.setAttributeNS(null,"width","100%"),A.setAttributeNS(null,"height","100%"),A.setAttributeNS(null,"x",n.toString()),A.setAttributeNS(null,"y",r.toString()),A.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(A),A.appendChild(i),o},qo=function(t){return new Promise((function(e,n){var r=new Image;r.onload=function(){return e(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(t))}))},Vo={get SUPPORT_RANGE_BOUNDS(){var t=Lo(document);return Object.defineProperty(Vo,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){var t=Vo.SUPPORT_RANGE_BOUNDS&&Po(document);return Object.defineProperty(Vo,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=Mo(document);return Object.defineProperty(Vo,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t="function"===typeof Array.from&&"function"===typeof window.fetch?Ro(document):Promise.resolve(!1);return Object.defineProperty(Vo,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=No();return Object.defineProperty(Vo,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t=Ho();return Object.defineProperty(Vo,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Vo,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var t=!("undefined"===typeof Intl||!Intl.Segmenter);return Object.defineProperty(Vo,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}},zo=function(){function t(t,e){this.text=t,this.bounds=e}return t}(),Go=function(t,e,n,r){var i=Jo(e,n),a=[],A=0;return i.forEach((function(e){if(n.textDecorationLine.length||e.trim().length>0)if(Vo.SUPPORT_RANGE_BOUNDS){var i=$o(r,A,e.length).getClientRects();if(i.length>1){var s=Yo(e),l=0;s.forEach((function(e){a.push(new zo(e,o.fromDOMRectList(t,$o(r,l+A,e.length).getClientRects()))),l+=e.length}))}else a.push(new zo(e,o.fromDOMRectList(t,i)))}else{var c=r.splitText(e.length);a.push(new zo(e,Wo(t,r))),r=c}else Vo.SUPPORT_RANGE_BOUNDS||(r=r.splitText(e.length));A+=e.length})),a},Wo=function(t,e){var n=e.ownerDocument;if(n){var r=n.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var i=e.parentNode;if(i){i.replaceChild(r,e);var a=A(t,r);return r.firstChild&&i.replaceChild(r.firstChild,r),a}}return o.EMPTY},$o=function(t,e,n){var r=t.ownerDocument;if(!r)throw new Error("Node has no owner document");var i=r.createRange();return i.setStart(t,e),i.setEnd(t,e+n),i},Yo=function(t){if(Vo.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(t)).map((function(t){return t.segment}))}return Do(t)},Xo=function(t,e){if(Vo.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(n.segment(t)).map((function(t){return t.segment}))}return tA(t,e)},Jo=function(t,e){return 0!==e.letterSpacing?Yo(t):Xo(t,e)},Zo=[32,160,4961,65792,65793,4153,4241],tA=function(t,e){var n,r=Yt(t,{lineBreak:e.lineBreak,wordBreak:"break-word"===e.overflowWrap?"break-word":e.wordBreak}),i=[],a=function(){if(n.value){var t=n.value.slice(),e=l(t),r="";e.forEach((function(t){-1===Zo.indexOf(t)?r+=c(t):(r.length&&i.push(r),i.push(c(t)),r="")})),r.length&&i.push(r)}};while(!(n=r.next()).done)a();return i},eA=function(){function t(t,e,n){this.text=nA(e.data,n.textTransform),this.textBounds=Go(t,this.text,n,e)}return t}(),nA=function(t,e){switch(e){case 1:return t.toLowerCase();case 3:return t.replace(rA,iA);case 2:return t.toUpperCase();default:return t}},rA=/(^|\s|:|-|\(|\))([a-z])/g,iA=function(t,e,n){return t.length>0?e+n.toUpperCase():t},aA=function(t){function n(e,n){var r=t.call(this,e,n)||this;return r.src=n.currentSrc||n.src,r.intrinsicWidth=n.naturalWidth,r.intrinsicHeight=n.naturalHeight,r.context.cache.addImage(r.src),r}return e(n,t),n}(Da),oA=function(t){function n(e,n){var r=t.call(this,e,n)||this;return r.canvas=n,r.intrinsicWidth=n.width,r.intrinsicHeight=n.height,r}return e(n,t),n}(Da),AA=function(t){function n(e,n){var r=t.call(this,e,n)||this,i=new XMLSerializer,a=A(e,n);return n.setAttribute("width",a.width+"px"),n.setAttribute("height",a.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(n)),r.intrinsicWidth=n.width.baseVal.value,r.intrinsicHeight=n.height.baseVal.value,r.context.cache.addImage(r.svg),r}return e(n,t),n}(Da),sA=function(t){function n(e,n){var r=t.call(this,e,n)||this;return r.value=n.value,r}return e(n,t),n}(Da),lA=function(t){function n(e,n){var r=t.call(this,e,n)||this;return r.start=n.start,r.reversed="boolean"===typeof n.reversed&&!0===n.reversed,r}return e(n,t),n}(Da),cA=[{type:15,flags:0,unit:"px",number:3}],uA=[{type:16,flags:0,number:50}],dA=function(t){return t.width>t.height?new o(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new o(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t},hA=function(t){var e=t.type===mA?new Array(t.value.length+1).join("•"):t.value;return 0===e.length?t.placeholder||"":e},fA="checkbox",pA="radio",mA="password",gA=707406591,vA=function(t){function n(e,n){var r=t.call(this,e,n)||this;switch(r.type=n.type.toLowerCase(),r.checked=n.checked,r.value=hA(n),r.type!==fA&&r.type!==pA||(r.styles.backgroundColor=3739148031,r.styles.borderTopColor=r.styles.borderRightColor=r.styles.borderBottomColor=r.styles.borderLeftColor=2779096575,r.styles.borderTopWidth=r.styles.borderRightWidth=r.styles.borderBottomWidth=r.styles.borderLeftWidth=1,r.styles.borderTopStyle=r.styles.borderRightStyle=r.styles.borderBottomStyle=r.styles.borderLeftStyle=1,r.styles.backgroundClip=[0],r.styles.backgroundOrigin=[0],r.bounds=dA(r.bounds)),r.type){case fA:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=cA;break;case pA:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=uA;break}return r}return e(n,t),n}(Da),_A=function(t){function n(e,n){var r=t.call(this,e,n)||this,i=n.options[n.selectedIndex||0];return r.value=i&&i.text||"",r}return e(n,t),n}(Da),yA=function(t){function n(e,n){var r=t.call(this,e,n)||this;return r.value=n.value,r}return e(n,t),n}(Da),bA=function(t){function n(e,n){var r=t.call(this,e,n)||this;r.src=n.src,r.width=parseInt(n.width,10)||0,r.height=parseInt(n.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){r.tree=CA(e,n.contentWindow.document.documentElement);var i=n.contentWindow.document.documentElement?_r(e,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):yr.TRANSPARENT,a=n.contentWindow.document.body?_r(e,getComputedStyle(n.contentWindow.document.body).backgroundColor):yr.TRANSPARENT;r.backgroundColor=ur(i)?ur(a)?r.styles.backgroundColor:a:i}}catch(Ve){}return r}return e(n,t),n}(Da),wA=["OL","UL","MENU"],BA=function(t,e,n,r){for(var i=e.firstChild,a=void 0;i;i=a)if(a=i.nextSibling,EA(i)&&i.data.trim().length>0)n.textNodes.push(new eA(t,i,n.styles));else if(FA(i))if(zA(i)&&i.assignedNodes)i.assignedNodes().forEach((function(e){return BA(t,e,n,r)}));else{var o=xA(t,i);o.styles.isVisible()&&(kA(i,o,r)?o.flags|=4:QA(o.styles)&&(o.flags|=2),-1!==wA.indexOf(i.tagName)&&(o.flags|=8),n.elements.push(o),i.slot,i.shadowRoot?BA(t,i.shadowRoot,o,r):qA(i)||LA(i)||VA(i)||BA(t,i,o,r))}},xA=function(t,e){return MA(e)?new aA(t,e):NA(e)?new oA(t,e):LA(e)?new AA(t,e):SA(e)?new sA(t,e):TA(e)?new lA(t,e):IA(e)?new vA(t,e):VA(e)?new _A(t,e):qA(e)?new yA(t,e):jA(e)?new bA(t,e):new Da(t,e)},CA=function(t,e){var n=xA(t,e);return n.flags|=4,BA(t,e,n,n),n},kA=function(t,e,n){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||PA(t)&&n.styles.isTransparent()},QA=function(t){return t.isPositioned()||t.isFloating()},EA=function(t){return t.nodeType===Node.TEXT_NODE},FA=function(t){return t.nodeType===Node.ELEMENT_NODE},UA=function(t){return FA(t)&&"undefined"!==typeof t.style&&!OA(t)},OA=function(t){return"object"===typeof t.className},SA=function(t){return"LI"===t.tagName},TA=function(t){return"OL"===t.tagName},IA=function(t){return"INPUT"===t.tagName},DA=function(t){return"HTML"===t.tagName},LA=function(t){return"svg"===t.tagName},PA=function(t){return"BODY"===t.tagName},NA=function(t){return"CANVAS"===t.tagName},HA=function(t){return"VIDEO"===t.tagName},MA=function(t){return"IMG"===t.tagName},jA=function(t){return"IFRAME"===t.tagName},RA=function(t){return"STYLE"===t.tagName},KA=function(t){return"SCRIPT"===t.tagName},qA=function(t){return"TEXTAREA"===t.tagName},VA=function(t){return"SELECT"===t.tagName},zA=function(t){return"SLOT"===t.tagName},GA=function(t){return t.tagName.indexOf("-")>0},WA=function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(t){var e=this.counters[t];return e&&e.length?e[e.length-1]:1},t.prototype.getCounterValues=function(t){var e=this.counters[t];return e||[]},t.prototype.pop=function(t){var e=this;t.forEach((function(t){return e.counters[t].pop()}))},t.prototype.parse=function(t){var e=this,n=t.counterIncrement,r=t.counterReset,i=!0;null!==n&&n.forEach((function(t){var n=e.counters[t.counter];n&&0!==t.increment&&(i=!1,n.length||n.push(1),n[Math.max(0,n.length-1)]+=t.increment)}));var a=[];return i&&r.forEach((function(t){var n=e.counters[t.counter];a.push(t.counter),n||(n=e.counters[t.counter]=[]),n.push(t.reset)})),a},t}(),$A={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},YA={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},XA={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},JA={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},ZA=function(t,e,n,r,i,a){return t<e||t>n?ds(t,i,a.length>0):r.integers.reduce((function(e,n,i){while(t>=n)t-=n,e+=r.values[i];return e}),"")+a},ts=function(t,e,n,r){var i="";do{n||t--,i=r(t)+i,t/=e}while(t*e>=e);return i},es=function(t,e,n,r,i){var a=n-e+1;return(t<0?"-":"")+(ts(Math.abs(t),a,r,(function(t){return c(Math.floor(t%a)+e)}))+i)},ns=function(t,e,n){void 0===n&&(n=". ");var r=e.length;return ts(Math.abs(t),r,!1,(function(t){return e[Math.floor(t%r)]}))+n},rs=1,is=2,as=4,os=8,As=function(t,e,n,r,i,a){if(t<-9999||t>9999)return ds(t,4,i.length>0);var o=Math.abs(t),A=i;if(0===o)return e[0]+A;for(var s=0;o>0&&s<=4;s++){var l=o%10;0===l&&ga(a,rs)&&""!==A?A=e[l]+A:l>1||1===l&&0===s||1===l&&1===s&&ga(a,is)||1===l&&1===s&&ga(a,as)&&t>100||1===l&&s>1&&ga(a,os)?A=e[l]+(s>0?n[s-1]:"")+A:1===l&&s>0&&(A=n[s-1]+A),o=Math.floor(o/10)}return(t<0?r:"")+A},ss="十百千萬",ls="拾佰仟萬",cs="マイナス",us="마이너스",ds=function(t,e,n){var r=n?". ":"",i=n?"、":"",a=n?", ":"",o=n?" ":"";switch(e){case 0:return"•"+o;case 1:return"◦"+o;case 2:return"◾"+o;case 5:var A=es(t,48,57,!0,r);return A.length<4?"0"+A:A;case 4:return ns(t,"〇一二三四五六七八九",i);case 6:return ZA(t,1,3999,$A,3,r).toLowerCase();case 7:return ZA(t,1,3999,$A,3,r);case 8:return es(t,945,969,!1,r);case 9:return es(t,97,122,!1,r);case 10:return es(t,65,90,!1,r);case 11:return es(t,1632,1641,!0,r);case 12:case 49:return ZA(t,1,9999,YA,3,r);case 35:return ZA(t,1,9999,YA,3,r).toLowerCase();case 13:return es(t,2534,2543,!0,r);case 14:case 30:return es(t,6112,6121,!0,r);case 15:return ns(t,"子丑寅卯辰巳午未申酉戌亥",i);case 16:return ns(t,"甲乙丙丁戊己庚辛壬癸",i);case 17:case 48:return As(t,"零一二三四五六七八九",ss,"負",i,is|as|os);case 47:return As(t,"零壹貳參肆伍陸柒捌玖",ls,"負",i,rs|is|as|os);case 42:return As(t,"零一二三四五六七八九",ss,"负",i,is|as|os);case 41:return As(t,"零壹贰叁肆伍陆柒捌玖",ls,"负",i,rs|is|as|os);case 26:return As(t,"〇一二三四五六七八九","十百千万",cs,i,0);case 25:return As(t,"零壱弐参四伍六七八九","拾百千万",cs,i,rs|is|as);case 31:return As(t,"영일이삼사오육칠팔구","십백천만",us,a,rs|is|as);case 33:return As(t,"零一二三四五六七八九","十百千萬",us,a,0);case 32:return As(t,"零壹貳參四五六七八九","拾百千",us,a,rs|is|as);case 18:return es(t,2406,2415,!0,r);case 20:return ZA(t,1,19999,JA,3,r);case 21:return es(t,2790,2799,!0,r);case 22:return es(t,2662,2671,!0,r);case 22:return ZA(t,1,10999,XA,3,r);case 23:return ns(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return ns(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return es(t,3302,3311,!0,r);case 28:return ns(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",i);case 29:return ns(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",i);case 34:return es(t,3792,3801,!0,r);case 37:return es(t,6160,6169,!0,r);case 38:return es(t,4160,4169,!0,r);case 39:return es(t,2918,2927,!0,r);case 40:return es(t,1776,1785,!0,r);case 43:return es(t,3046,3055,!0,r);case 44:return es(t,3174,3183,!0,r);case 45:return es(t,3664,3673,!0,r);case 46:return es(t,3872,3881,!0,r);case 3:default:return es(t,48,57,!0,r)}},hs="data-html2canvas-ignore",fs=function(){function t(t,e,n){if(this.context=t,this.options=n,this.scrolledElements=[],this.referenceElement=e,this.counters=new WA,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}return t.prototype.toIFrame=function(t,e){var n=this,a=ms(t,e);if(!a.contentWindow)return Promise.reject("Unable to find iframe window");var o=t.defaultView.pageXOffset,A=t.defaultView.pageYOffset,s=a.contentWindow,l=s.document,c=_s(a).then((function(){return r(n,void 0,void 0,(function(){var t,n;return i(this,(function(r){switch(r.label){case 0:return this.scrolledElements.forEach(xs),s&&(s.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||s.scrollY===e.top&&s.scrollX===e.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(s.scrollX-e.left,s.scrollY-e.top,0,0))),t=this.options.onclone,n=this.clonedReferenceElement,"undefined"===typeof n?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:r.sent(),r.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,vs(l)]:[3,4];case 3:r.sent(),r.label=4;case 4:return"function"===typeof t?[2,Promise.resolve().then((function(){return t(l,n)})).then((function(){return a}))]:[2,a]}}))}))}));return l.open(),l.write(ws(document.doctype)+"<html></html>"),Bs(this.referenceElement.ownerDocument,o,A),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),c},t.prototype.createElementClone=function(t){if(Ia(t,2),NA(t))return this.createCanvasClone(t);if(HA(t))return this.createVideoClone(t);if(RA(t))return this.createStyleClone(t);var e=t.cloneNode(!1);return MA(e)&&(MA(t)&&t.currentSrc&&t.currentSrc!==t.src&&(e.src=t.currentSrc,e.srcset=""),"lazy"===e.loading&&(e.loading="eager")),GA(e)?this.createCustomElementClone(e):e},t.prototype.createCustomElementClone=function(t){var e=document.createElement("html2canvascustomelement");return bs(t.style,e),e},t.prototype.createStyleClone=function(t){try{var e=t.sheet;if(e&&e.cssRules){var n=[].slice.call(e.cssRules,0).reduce((function(t,e){return e&&"string"===typeof e.cssText?t+e.cssText:t}),""),r=t.cloneNode(!1);return r.textContent=n,r}}catch(Ve){if(this.context.logger.error("Unable to access cssRules property",Ve),"SecurityError"!==Ve.name)throw Ve}return t.cloneNode(!1)},t.prototype.createCanvasClone=function(t){var e;if(this.options.inlineImages&&t.ownerDocument){var n=t.ownerDocument.createElement("img");try{return n.src=t.toDataURL(),n}catch(Ve){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",t)}}var r=t.cloneNode(!1);try{r.width=t.width,r.height=t.height;var i=t.getContext("2d"),a=r.getContext("2d");if(a)if(!this.options.allowTaint&&i)a.putImageData(i.getImageData(0,0,t.width,t.height),0,0);else{var o=null!==(e=t.getContext("webgl2"))&&void 0!==e?e:t.getContext("webgl");if(o){var A=o.getContextAttributes();!1===(null===A||void 0===A?void 0:A.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",t)}a.drawImage(t,0,0)}return r}catch(Ve){this.context.logger.info("Unable to clone canvas as it is tainted",t)}return r},t.prototype.createVideoClone=function(t){var e=t.ownerDocument.createElement("canvas");e.width=t.offsetWidth,e.height=t.offsetHeight;var n=e.getContext("2d");try{return n&&(n.drawImage(t,0,0,e.width,e.height),this.options.allowTaint||n.getImageData(0,0,e.width,e.height)),e}catch(Ve){this.context.logger.info("Unable to clone video as it is tainted",t)}var r=t.ownerDocument.createElement("canvas");return r.width=t.offsetWidth,r.height=t.offsetHeight,r},t.prototype.appendChildNode=function(t,e,n){FA(e)&&(KA(e)||e.hasAttribute(hs)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(e))||this.options.copyStyles&&FA(e)&&RA(e)||t.appendChild(this.cloneNode(e,n))},t.prototype.cloneChildNodes=function(t,e,n){for(var r=this,i=t.shadowRoot?t.shadowRoot.firstChild:t.firstChild;i;i=i.nextSibling)if(FA(i)&&zA(i)&&"function"===typeof i.assignedNodes){var a=i.assignedNodes();a.length&&a.forEach((function(t){return r.appendChildNode(e,t,n)}))}else this.appendChildNode(e,i,n)},t.prototype.cloneNode=function(t,e){if(EA(t))return document.createTextNode(t.data);if(!t.ownerDocument)return t.cloneNode(!1);var n=t.ownerDocument.defaultView;if(n&&FA(t)&&(UA(t)||OA(t))){var r=this.createElementClone(t);r.style.transitionProperty="none";var i=n.getComputedStyle(t),a=n.getComputedStyle(t,":before"),o=n.getComputedStyle(t,":after");this.referenceElement===t&&UA(r)&&(this.clonedReferenceElement=r),PA(r)&&Us(r);var A=this.counters.parse(new Ua(this.context,i)),s=this.resolvePseudoContent(t,r,a,uo.BEFORE);GA(t)&&(e=!0),HA(t)||this.cloneChildNodes(t,r,e),s&&r.insertBefore(s,r.firstChild);var l=this.resolvePseudoContent(t,r,o,uo.AFTER);return l&&r.appendChild(l),this.counters.pop(A),(i&&(this.options.copyStyles||OA(t))&&!jA(t)||e)&&bs(i,r),0===t.scrollTop&&0===t.scrollLeft||this.scrolledElements.push([r,t.scrollLeft,t.scrollTop]),(qA(t)||VA(t))&&(qA(r)||VA(r))&&(r.value=t.value),r}return t.cloneNode(!1)},t.prototype.resolvePseudoContent=function(t,e,n,r){var i=this;if(n){var a=n.content,o=e.ownerDocument;if(o&&a&&"none"!==a&&"-moz-alt-content"!==a&&"none"!==n.display){this.counters.parse(new Ua(this.context,n));var A=new Fa(this.context,n),s=o.createElement("html2canvaspseudoelement");bs(n,s),A.content.forEach((function(e){if(0===e.type)s.appendChild(o.createTextNode(e.value));else if(22===e.type){var n=o.createElement("img");n.src=e.value,n.style.opacity="1",s.appendChild(n)}else if(18===e.type){if("attr"===e.name){var r=e.values.filter(jn);r.length&&s.appendChild(o.createTextNode(t.getAttribute(r[0].value)||""))}else if("counter"===e.name){var a=e.values.filter(Vn),l=a[0],c=a[1];if(l&&jn(l)){var u=i.counters.getCounterValue(l.value),d=c&&jn(c)?Di.parse(i.context,c.value):3;s.appendChild(o.createTextNode(ds(u,d,!1)))}}else if("counters"===e.name){var h=e.values.filter(Vn),f=(l=h[0],h[1]);c=h[2];if(l&&jn(l)){var p=i.counters.getCounterValues(l.value),m=c&&jn(c)?Di.parse(i.context,c.value):3,g=f&&0===f.type?f.value:"",v=p.map((function(t){return ds(t,m,!1)})).join(g);s.appendChild(o.createTextNode(v))}}}else if(20===e.type)switch(e.value){case"open-quote":s.appendChild(o.createTextNode(Ba(A.quotes,i.quoteDepth++,!0)));break;case"close-quote":s.appendChild(o.createTextNode(Ba(A.quotes,--i.quoteDepth,!1)));break;default:s.appendChild(o.createTextNode(e.value))}})),s.className=Qs+" "+Es;var l=r===uo.BEFORE?" "+Qs:" "+Es;return OA(e)?e.className.baseValue+=l:e.className+=l,s}}},t.destroy=function(t){return!!t.parentNode&&(t.parentNode.removeChild(t),!0)},t}();(function(t){t[t["BEFORE"]=0]="BEFORE",t[t["AFTER"]=1]="AFTER"})(uo||(uo={}));var ps,ms=function(t,e){var n=t.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=e.width.toString(),n.height=e.height.toString(),n.scrolling="no",n.setAttribute(hs,"true"),t.body.appendChild(n),n},gs=function(t){return new Promise((function(e){t.complete?e():t.src?(t.onload=e,t.onerror=e):e()}))},vs=function(t){return Promise.all([].slice.call(t.images,0).map(gs))},_s=function(t){return new Promise((function(e,n){var r=t.contentWindow;if(!r)return n("No window assigned for iframe");var i=r.document;r.onload=t.onload=function(){r.onload=t.onload=null;var n=setInterval((function(){i.body.childNodes.length>0&&"complete"===i.readyState&&(clearInterval(n),e(t))}),50)}}))},ys=["all","d","content"],bs=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t.item(n);-1===ys.indexOf(r)&&e.style.setProperty(r,t.getPropertyValue(r))}return e},ws=function(t){var e="";return t&&(e+="<!DOCTYPE ",t.name&&(e+=t.name),t.internalSubset&&(e+=t.internalSubset),t.publicId&&(e+='"'+t.publicId+'"'),t.systemId&&(e+='"'+t.systemId+'"'),e+=">"),e},Bs=function(t,e,n){t&&t.defaultView&&(e!==t.defaultView.pageXOffset||n!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(e,n)},xs=function(t){var e=t[0],n=t[1],r=t[2];e.scrollLeft=n,e.scrollTop=r},Cs=":before",ks=":after",Qs="___html2canvas___pseudoelement_before",Es="___html2canvas___pseudoelement_after",Fs='{\n content: "" !important;\n display: none !important;\n}',Us=function(t){Os(t,"."+Qs+Cs+Fs+"\n ."+Es+ks+Fs)},Os=function(t,e){var n=t.ownerDocument;if(n){var r=n.createElement("style");r.textContent=e,t.appendChild(r)}},Ss=function(){function t(){}return t.getOrigin=function(e){var n=t._link;return n?(n.href=e,n.href=n.href,n.protocol+n.hostname+n.port):"about:blank"},t.isSameOrigin=function(e){return t.getOrigin(e)===t._origin},t.setContext=function(e){t._link=e.document.createElement("a"),t._origin=t.getOrigin(e.location.href)},t._origin="about:blank",t}(),Ts=function(){function t(t,e){this.context=t,this._options=e,this._cache={}}return t.prototype.addImage=function(t){var e=Promise.resolve();return this.has(t)?e:Ms(t)||Ps(t)?((this._cache[t]=this.loadImage(t)).catch((function(){})),e):e},t.prototype.match=function(t){return this._cache[t]},t.prototype.loadImage=function(t){return r(this,void 0,void 0,(function(){var e,n,r,a,o=this;return i(this,(function(i){switch(i.label){case 0:return e=Ss.isSameOrigin(t),n=!Ns(t)&&!0===this._options.useCORS&&Vo.SUPPORT_CORS_IMAGES&&!e,r=!Ns(t)&&!e&&!Ms(t)&&"string"===typeof this._options.proxy&&Vo.SUPPORT_CORS_XHR&&!n,e||!1!==this._options.allowTaint||Ns(t)||Ms(t)||r||n?(a=t,r?[4,this.proxy(a)]:[3,2]):[2];case 1:a=i.sent(),i.label=2;case 2:return this.context.logger.debug("Added image "+t.substring(0,256)),[4,new Promise((function(t,e){var r=new Image;r.onload=function(){return t(r)},r.onerror=e,(Hs(a)||n)&&(r.crossOrigin="anonymous"),r.src=a,!0===r.complete&&setTimeout((function(){return t(r)}),500),o._options.imageTimeout>0&&setTimeout((function(){return e("Timed out ("+o._options.imageTimeout+"ms) loading image")}),o._options.imageTimeout)}))];case 3:return[2,i.sent()]}}))}))},t.prototype.has=function(t){return"undefined"!==typeof this._cache[t]},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(t){var e=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var r=t.substring(0,256);return new Promise((function(i,a){var o=Vo.SUPPORT_RESPONSE_TYPE?"blob":"text",A=new XMLHttpRequest;A.onload=function(){if(200===A.status)if("text"===o)i(A.response);else{var t=new FileReader;t.addEventListener("load",(function(){return i(t.result)}),!1),t.addEventListener("error",(function(t){return a(t)}),!1),t.readAsDataURL(A.response)}else a("Failed to proxy resource "+r+" with status code "+A.status)},A.onerror=a;var s=n.indexOf("?")>-1?"&":"?";if(A.open("GET",""+n+s+"url="+encodeURIComponent(t)+"&responseType="+o),"text"!==o&&A instanceof XMLHttpRequest&&(A.responseType=o),e._options.imageTimeout){var l=e._options.imageTimeout;A.timeout=l,A.ontimeout=function(){return a("Timed out ("+l+"ms) proxying "+r)}}A.send()}))},t}(),Is=/^data:image\/svg\+xml/i,Ds=/^data:image\/.*;base64,/i,Ls=/^data:image\/.*/i,Ps=function(t){return Vo.SUPPORT_SVG_DRAWING||!js(t)},Ns=function(t){return Ls.test(t)},Hs=function(t){return Ds.test(t)},Ms=function(t){return"blob"===t.substr(0,4)},js=function(t){return"svg"===t.substr(-3).toLowerCase()||Is.test(t)},Rs=function(){function t(t,e){this.type=0,this.x=t,this.y=e}return t.prototype.add=function(e,n){return new t(this.x+e,this.y+n)},t}(),Ks=function(t,e,n){return new Rs(t.x+(e.x-t.x)*n,t.y+(e.y-t.y)*n)},qs=function(){function t(t,e,n,r){this.type=1,this.start=t,this.startControl=e,this.endControl=n,this.end=r}return t.prototype.subdivide=function(e,n){var r=Ks(this.start,this.startControl,e),i=Ks(this.startControl,this.endControl,e),a=Ks(this.endControl,this.end,e),o=Ks(r,i,e),A=Ks(i,a,e),s=Ks(o,A,e);return n?new t(this.start,r,o,s):new t(s,A,a,this.end)},t.prototype.add=function(e,n){return new t(this.start.add(e,n),this.startControl.add(e,n),this.endControl.add(e,n),this.end.add(e,n))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),Vs=function(t){return 1===t.type},zs=function(){function t(t){var e=t.styles,n=t.bounds,r=tr(e.borderTopLeftRadius,n.width,n.height),i=r[0],a=r[1],o=tr(e.borderTopRightRadius,n.width,n.height),A=o[0],s=o[1],l=tr(e.borderBottomRightRadius,n.width,n.height),c=l[0],u=l[1],d=tr(e.borderBottomLeftRadius,n.width,n.height),h=d[0],f=d[1],p=[];p.push((i+A)/n.width),p.push((h+c)/n.width),p.push((a+f)/n.height),p.push((s+u)/n.height);var m=Math.max.apply(Math,p);m>1&&(i/=m,a/=m,A/=m,s/=m,c/=m,u/=m,h/=m,f/=m);var g=n.width-A,v=n.height-u,_=n.width-c,y=n.height-f,b=e.borderTopWidth,w=e.borderRightWidth,B=e.borderBottomWidth,x=e.borderLeftWidth,C=er(e.paddingTop,t.bounds.width),k=er(e.paddingRight,t.bounds.width),Q=er(e.paddingBottom,t.bounds.width),E=er(e.paddingLeft,t.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||a>0?Gs(n.left+x/3,n.top+b/3,i-x/3,a-b/3,ps.TOP_LEFT):new Rs(n.left+x/3,n.top+b/3),this.topRightBorderDoubleOuterBox=i>0||a>0?Gs(n.left+g,n.top+b/3,A-w/3,s-b/3,ps.TOP_RIGHT):new Rs(n.left+n.width-w/3,n.top+b/3),this.bottomRightBorderDoubleOuterBox=c>0||u>0?Gs(n.left+_,n.top+v,c-w/3,u-B/3,ps.BOTTOM_RIGHT):new Rs(n.left+n.width-w/3,n.top+n.height-B/3),this.bottomLeftBorderDoubleOuterBox=h>0||f>0?Gs(n.left+x/3,n.top+y,h-x/3,f-B/3,ps.BOTTOM_LEFT):new Rs(n.left+x/3,n.top+n.height-B/3),this.topLeftBorderDoubleInnerBox=i>0||a>0?Gs(n.left+2*x/3,n.top+2*b/3,i-2*x/3,a-2*b/3,ps.TOP_LEFT):new Rs(n.left+2*x/3,n.top+2*b/3),this.topRightBorderDoubleInnerBox=i>0||a>0?Gs(n.left+g,n.top+2*b/3,A-2*w/3,s-2*b/3,ps.TOP_RIGHT):new Rs(n.left+n.width-2*w/3,n.top+2*b/3),this.bottomRightBorderDoubleInnerBox=c>0||u>0?Gs(n.left+_,n.top+v,c-2*w/3,u-2*B/3,ps.BOTTOM_RIGHT):new Rs(n.left+n.width-2*w/3,n.top+n.height-2*B/3),this.bottomLeftBorderDoubleInnerBox=h>0||f>0?Gs(n.left+2*x/3,n.top+y,h-2*x/3,f-2*B/3,ps.BOTTOM_LEFT):new Rs(n.left+2*x/3,n.top+n.height-2*B/3),this.topLeftBorderStroke=i>0||a>0?Gs(n.left+x/2,n.top+b/2,i-x/2,a-b/2,ps.TOP_LEFT):new Rs(n.left+x/2,n.top+b/2),this.topRightBorderStroke=i>0||a>0?Gs(n.left+g,n.top+b/2,A-w/2,s-b/2,ps.TOP_RIGHT):new Rs(n.left+n.width-w/2,n.top+b/2),this.bottomRightBorderStroke=c>0||u>0?Gs(n.left+_,n.top+v,c-w/2,u-B/2,ps.BOTTOM_RIGHT):new Rs(n.left+n.width-w/2,n.top+n.height-B/2),this.bottomLeftBorderStroke=h>0||f>0?Gs(n.left+x/2,n.top+y,h-x/2,f-B/2,ps.BOTTOM_LEFT):new Rs(n.left+x/2,n.top+n.height-B/2),this.topLeftBorderBox=i>0||a>0?Gs(n.left,n.top,i,a,ps.TOP_LEFT):new Rs(n.left,n.top),this.topRightBorderBox=A>0||s>0?Gs(n.left+g,n.top,A,s,ps.TOP_RIGHT):new Rs(n.left+n.width,n.top),this.bottomRightBorderBox=c>0||u>0?Gs(n.left+_,n.top+v,c,u,ps.BOTTOM_RIGHT):new Rs(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=h>0||f>0?Gs(n.left,n.top+y,h,f,ps.BOTTOM_LEFT):new Rs(n.left,n.top+n.height),this.topLeftPaddingBox=i>0||a>0?Gs(n.left+x,n.top+b,Math.max(0,i-x),Math.max(0,a-b),ps.TOP_LEFT):new Rs(n.left+x,n.top+b),this.topRightPaddingBox=A>0||s>0?Gs(n.left+Math.min(g,n.width-w),n.top+b,g>n.width+w?0:Math.max(0,A-w),Math.max(0,s-b),ps.TOP_RIGHT):new Rs(n.left+n.width-w,n.top+b),this.bottomRightPaddingBox=c>0||u>0?Gs(n.left+Math.min(_,n.width-x),n.top+Math.min(v,n.height-B),Math.max(0,c-w),Math.max(0,u-B),ps.BOTTOM_RIGHT):new Rs(n.left+n.width-w,n.top+n.height-B),this.bottomLeftPaddingBox=h>0||f>0?Gs(n.left+x,n.top+Math.min(y,n.height-B),Math.max(0,h-x),Math.max(0,f-B),ps.BOTTOM_LEFT):new Rs(n.left+x,n.top+n.height-B),this.topLeftContentBox=i>0||a>0?Gs(n.left+x+E,n.top+b+C,Math.max(0,i-(x+E)),Math.max(0,a-(b+C)),ps.TOP_LEFT):new Rs(n.left+x+E,n.top+b+C),this.topRightContentBox=A>0||s>0?Gs(n.left+Math.min(g,n.width+x+E),n.top+b+C,g>n.width+x+E?0:A-x+E,s-(b+C),ps.TOP_RIGHT):new Rs(n.left+n.width-(w+k),n.top+b+C),this.bottomRightContentBox=c>0||u>0?Gs(n.left+Math.min(_,n.width-(x+E)),n.top+Math.min(v,n.height+b+C),Math.max(0,c-(w+k)),u-(B+Q),ps.BOTTOM_RIGHT):new Rs(n.left+n.width-(w+k),n.top+n.height-(B+Q)),this.bottomLeftContentBox=h>0||f>0?Gs(n.left+x+E,n.top+y,Math.max(0,h-(x+E)),f-(B+Q),ps.BOTTOM_LEFT):new Rs(n.left+x+E,n.top+n.height-(B+Q))}return t}();(function(t){t[t["TOP_LEFT"]=0]="TOP_LEFT",t[t["TOP_RIGHT"]=1]="TOP_RIGHT",t[t["BOTTOM_RIGHT"]=2]="BOTTOM_RIGHT",t[t["BOTTOM_LEFT"]=3]="BOTTOM_LEFT"})(ps||(ps={}));var Gs=function(t,e,n,r,i){var a=(Math.sqrt(2)-1)/3*4,o=n*a,A=r*a,s=t+n,l=e+r;switch(i){case ps.TOP_LEFT:return new qs(new Rs(t,l),new Rs(t,l-A),new Rs(s-o,e),new Rs(s,e));case ps.TOP_RIGHT:return new qs(new Rs(t,e),new Rs(t+o,e),new Rs(s,l-A),new Rs(s,l));case ps.BOTTOM_RIGHT:return new qs(new Rs(s,e),new Rs(s,e+A),new Rs(t+o,l),new Rs(t,l));case ps.BOTTOM_LEFT:default:return new qs(new Rs(s,l),new Rs(s-o,l),new Rs(t,e+A),new Rs(t,e))}},Ws=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},$s=function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]},Ys=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},Xs=function(){function t(t,e,n){this.offsetX=t,this.offsetY=e,this.matrix=n,this.type=0,this.target=6}return t}(),Js=function(){function t(t,e){this.path=t,this.target=e,this.type=1}return t}(),Zs=function(){function t(t){this.opacity=t,this.type=2,this.target=6}return t}(),tl=function(t){return 0===t.type},el=function(t){return 1===t.type},nl=function(t){return 2===t.type},rl=function(t,e){return t.length===e.length&&t.some((function(t,n){return t===e[n]}))},il=function(t,e,n,r,i){return t.map((function(t,a){switch(a){case 0:return t.add(e,n);case 1:return t.add(e+r,n);case 2:return t.add(e+r,n+i);case 3:return t.add(e,n+i)}return t}))},al=function(){function t(t){this.element=t,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return t}(),ol=function(){function t(t,e){if(this.container=t,this.parent=e,this.effects=[],this.curves=new zs(this.container),this.container.styles.opacity<1&&this.effects.push(new Zs(this.container.styles.opacity)),null!==this.container.styles.transform){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new Xs(n,r,i))}if(0!==this.container.styles.overflowX){var a=Ws(this.curves),o=Ys(this.curves);rl(a,o)?this.effects.push(new Js(a,6)):(this.effects.push(new Js(a,2)),this.effects.push(new Js(o,4)))}}return t.prototype.getEffects=function(t){var e=-1===[2,3].indexOf(this.container.styles.position),n=this.parent,r=this.effects.slice(0);while(n){var i=n.effects.filter((function(t){return!el(t)}));if(e||0!==n.container.styles.position||!n.parent){if(r.unshift.apply(r,i),e=-1===[2,3].indexOf(n.container.styles.position),0!==n.container.styles.overflowX){var a=Ws(n.curves),o=Ys(n.curves);rl(a,o)||r.unshift(new Js(o,6))}}else r.unshift.apply(r,i);n=n.parent}return r.filter((function(e){return ga(e.target,t)}))},t}(),Al=function(t,e,n,r){t.container.elements.forEach((function(i){var a=ga(i.flags,4),o=ga(i.flags,2),A=new ol(i,t);ga(i.styles.display,2048)&&r.push(A);var s=ga(i.flags,8)?[]:r;if(a||o){var l=a||i.styles.isPositioned()?n:e,c=new al(A);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var u=i.styles.zIndex.order;if(u<0){var d=0;l.negativeZIndex.some((function(t,e){return u>t.element.container.styles.zIndex.order?(d=e,!1):d>0})),l.negativeZIndex.splice(d,0,c)}else if(u>0){var h=0;l.positiveZIndex.some((function(t,e){return u>=t.element.container.styles.zIndex.order?(h=e+1,!1):h>0})),l.positiveZIndex.splice(h,0,c)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else i.styles.isFloating()?l.nonPositionedFloats.push(c):l.nonPositionedInlineLevel.push(c);Al(A,c,a?c:n,s)}else i.styles.isInlineLevel()?e.inlineLevel.push(A):e.nonInlineLevel.push(A),Al(A,e,n,s);ga(i.flags,8)&&sl(i,s)}))},sl=function(t,e){for(var n=t instanceof lA?t.start:1,r=t instanceof lA&&t.reversed,i=0;i<e.length;i++){var a=e[i];a.container instanceof sA&&"number"===typeof a.container.value&&0!==a.container.value&&(n=a.container.value),a.listValue=ds(n,a.container.styles.listStyleType,!0),n+=r?-1:1}},ll=function(t){var e=new ol(t,null),n=new al(e),r=[];return Al(e,n,n,r),sl(e.container,r),n},cl=function(t,e){switch(e){case 0:return pl(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return pl(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return pl(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);case 3:default:return pl(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},ul=function(t,e){switch(e){case 0:return pl(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return pl(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return pl(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);case 3:default:return pl(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},dl=function(t,e){switch(e){case 0:return pl(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return pl(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return pl(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);case 3:default:return pl(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},hl=function(t,e){switch(e){case 0:return fl(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return fl(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return fl(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);case 3:default:return fl(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},fl=function(t,e){var n=[];return Vs(t)?n.push(t.subdivide(.5,!1)):n.push(t),Vs(e)?n.push(e.subdivide(.5,!0)):n.push(e),n},pl=function(t,e,n,r){var i=[];return Vs(t)?i.push(t.subdivide(.5,!1)):i.push(t),Vs(n)?i.push(n.subdivide(.5,!0)):i.push(n),Vs(r)?i.push(r.subdivide(.5,!0).reverse()):i.push(r),Vs(e)?i.push(e.subdivide(.5,!1).reverse()):i.push(e),i},ml=function(t){var e=t.bounds,n=t.styles;return e.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},gl=function(t){var e=t.styles,n=t.bounds,r=er(e.paddingLeft,n.width),i=er(e.paddingRight,n.width),a=er(e.paddingTop,n.width),o=er(e.paddingBottom,n.width);return n.add(r+e.borderLeftWidth,a+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+r+i),-(e.borderTopWidth+e.borderBottomWidth+a+o))},vl=function(t,e){return 0===t?e.bounds:2===t?gl(e):ml(e)},_l=function(t,e){return 0===t?e.bounds:2===t?gl(e):ml(e)},yl=function(t,e,n){var r=vl(xl(t.styles.backgroundOrigin,e),t),i=_l(xl(t.styles.backgroundClip,e),t),a=Bl(xl(t.styles.backgroundSize,e),n,r),o=a[0],A=a[1],s=tr(xl(t.styles.backgroundPosition,e),r.width-o,r.height-A),l=Cl(xl(t.styles.backgroundRepeat,e),s,a,r,i),c=Math.round(r.left+s[0]),u=Math.round(r.top+s[1]);return[l,c,u,o,A]},bl=function(t){return jn(t)&&t.value===Gr.AUTO},wl=function(t){return"number"===typeof t},Bl=function(t,e,n){var r=e[0],i=e[1],a=e[2],o=t[0],A=t[1];if(!o)return[0,0];if($n(o)&&A&&$n(A))return[er(o,n.width),er(A,n.height)];var s=wl(a);if(jn(o)&&(o.value===Gr.CONTAIN||o.value===Gr.COVER)){if(wl(a)){var l=n.width/n.height;return l<a!==(o.value===Gr.COVER)?[n.width,n.width/a]:[n.height*a,n.height]}return[n.width,n.height]}var c=wl(r),u=wl(i),d=c||u;if(bl(o)&&(!A||bl(A))){if(c&&u)return[r,i];if(!s&&!d)return[n.width,n.height];if(d&&s){var h=c?r:i*a,f=u?i:r/a;return[h,f]}var p=c?r:n.width,m=u?i:n.height;return[p,m]}if(s){var g=0,v=0;return $n(o)?g=er(o,n.width):$n(A)&&(v=er(A,n.height)),bl(o)?g=v*a:A&&!bl(A)||(v=g/a),[g,v]}var _=null,y=null;if($n(o)?_=er(o,n.width):A&&$n(A)&&(y=er(A,n.height)),null===_||A&&!bl(A)||(y=c&&u?_/r*i:n.height),null!==y&&bl(o)&&(_=c&&u?y/i*r:n.width),null!==_&&null!==y)return[_,y];throw new Error("Unable to calculate background-size for element")},xl=function(t,e){var n=t[e];return"undefined"===typeof n?t[0]:n},Cl=function(t,e,n,r,i){var a=e[0],o=e[1],A=n[0],s=n[1];switch(t){case 2:return[new Rs(Math.round(r.left),Math.round(r.top+o)),new Rs(Math.round(r.left+r.width),Math.round(r.top+o)),new Rs(Math.round(r.left+r.width),Math.round(s+r.top+o)),new Rs(Math.round(r.left),Math.round(s+r.top+o))];case 3:return[new Rs(Math.round(r.left+a),Math.round(r.top)),new Rs(Math.round(r.left+a+A),Math.round(r.top)),new Rs(Math.round(r.left+a+A),Math.round(r.height+r.top)),new Rs(Math.round(r.left+a),Math.round(r.height+r.top))];case 1:return[new Rs(Math.round(r.left+a),Math.round(r.top+o)),new Rs(Math.round(r.left+a+A),Math.round(r.top+o)),new Rs(Math.round(r.left+a+A),Math.round(r.top+o+s)),new Rs(Math.round(r.left+a),Math.round(r.top+o+s))];default:return[new Rs(Math.round(i.left),Math.round(i.top)),new Rs(Math.round(i.left+i.width),Math.round(i.top)),new Rs(Math.round(i.left+i.width),Math.round(i.height+i.top)),new Rs(Math.round(i.left),Math.round(i.height+i.top))]}},kl="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Ql="Hidden Text",El=function(){function t(t){this._data={},this._document=t}return t.prototype.parseMetrics=function(t,e){var n=this._document.createElement("div"),r=this._document.createElement("img"),i=this._document.createElement("span"),a=this._document.body;n.style.visibility="hidden",n.style.fontFamily=t,n.style.fontSize=e,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",a.appendChild(n),r.src=kl,r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",i.style.fontFamily=t,i.style.fontSize=e,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(Ql)),n.appendChild(i),n.appendChild(r);var o=r.offsetTop-i.offsetTop+2;n.removeChild(i),n.appendChild(this._document.createTextNode(Ql)),n.style.lineHeight="normal",r.style.verticalAlign="super";var A=r.offsetTop-n.offsetTop+2;return a.removeChild(n),{baseline:o,middle:A}},t.prototype.getMetrics=function(t,e){var n=t+" "+e;return"undefined"===typeof this._data[n]&&(this._data[n]=this.parseMetrics(t,e)),this._data[n]},t}(),Fl=function(){function t(t,e){this.context=t,this.options=e}return t}(),Ul=1e4,Ol=function(t){function n(e,n){var r=t.call(this,e,n)||this;return r._activeEffects=[],r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),n.canvas||(r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px"),r.fontMetrics=new El(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),r}return e(n,t),n.prototype.applyEffects=function(t){var e=this;while(this._activeEffects.length)this.popEffect();t.forEach((function(t){return e.applyEffect(t)}))},n.prototype.applyEffect=function(t){this.ctx.save(),nl(t)&&(this.ctx.globalAlpha=t.opacity),tl(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),el(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},n.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},n.prototype.renderStack=function(t){return r(this,void 0,void 0,(function(){var e;return i(this,(function(n){switch(n.label){case 0:return e=t.element.container.styles,e.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}}))}))},n.prototype.renderNode=function(t){return r(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return ga(t.container.flags,16),t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return e.sent(),[4,this.renderNodeContent(t)];case 2:e.sent(),e.label=3;case 3:return[2]}}))}))},n.prototype.renderTextWithLetterSpacing=function(t,e,n){var r=this;if(0===e)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var i=Yo(t.text);i.reduce((function(e,i){return r.ctx.fillText(i,e,t.bounds.top+n),e+r.ctx.measureText(i).width}),t.bounds.left)}},n.prototype.createFontStyle=function(t){var e=t.fontVariant.filter((function(t){return"normal"===t||"small-caps"===t})).join(""),n=Ll(t.fontFamily).join(", "),r=Hn(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,e,t.fontWeight,r,n].join(" "),n,r]},n.prototype.renderTextNode=function(t,e){return r(this,void 0,void 0,(function(){var n,r,a,o,A,s,l,c,u=this;return i(this,(function(i){return n=this.createFontStyle(e),r=n[0],a=n[1],o=n[2],this.ctx.font=r,this.ctx.direction=1===e.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",A=this.fontMetrics.getMetrics(a,o),s=A.baseline,l=A.middle,c=e.paintOrder,t.textBounds.forEach((function(t){c.forEach((function(n){switch(n){case 0:u.ctx.fillStyle=dr(e.color),u.renderTextWithLetterSpacing(t,e.letterSpacing,s);var r=e.textShadow;r.length&&t.text.trim().length&&(r.slice(0).reverse().forEach((function(n){u.ctx.shadowColor=dr(n.color),u.ctx.shadowOffsetX=n.offsetX.number*u.options.scale,u.ctx.shadowOffsetY=n.offsetY.number*u.options.scale,u.ctx.shadowBlur=n.blur.number,u.renderTextWithLetterSpacing(t,e.letterSpacing,s)})),u.ctx.shadowColor="",u.ctx.shadowOffsetX=0,u.ctx.shadowOffsetY=0,u.ctx.shadowBlur=0),e.textDecorationLine.length&&(u.ctx.fillStyle=dr(e.textDecorationColor||e.color),e.textDecorationLine.forEach((function(e){switch(e){case 1:u.ctx.fillRect(t.bounds.left,Math.round(t.bounds.top+s),t.bounds.width,1);break;case 2:u.ctx.fillRect(t.bounds.left,Math.round(t.bounds.top),t.bounds.width,1);break;case 3:u.ctx.fillRect(t.bounds.left,Math.ceil(t.bounds.top+l),t.bounds.width,1);break}})));break;case 1:e.webkitTextStrokeWidth&&t.text.trim().length&&(u.ctx.strokeStyle=dr(e.webkitTextStrokeColor),u.ctx.lineWidth=e.webkitTextStrokeWidth,u.ctx.lineJoin=window.chrome?"miter":"round",u.ctx.strokeText(t.text,t.bounds.left,t.bounds.top+s)),u.ctx.strokeStyle="",u.ctx.lineWidth=0,u.ctx.lineJoin="miter";break}}))})),[2]}))}))},n.prototype.renderReplacedElement=function(t,e,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var r=gl(t),i=Ys(e);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},n.prototype.renderNodeContent=function(t){return r(this,void 0,void 0,(function(){var e,r,a,A,s,l,c,u,d,h,f,p,m,g,v,_,y,b,w;return i(this,(function(i){switch(i.label){case 0:this.applyEffects(t.getEffects(4)),e=t.container,r=t.curves,a=e.styles,A=0,s=e.textNodes,i.label=1;case 1:return A<s.length?(l=s[A],[4,this.renderTextNode(l,a)]):[3,4];case 2:i.sent(),i.label=3;case 3:return A++,[3,1];case 4:if(!(e instanceof aA))return[3,8];i.label=5;case 5:return i.trys.push([5,7,,8]),[4,this.context.cache.match(e.src)];case 6:return _=i.sent(),this.renderReplacedElement(e,r,_),[3,8];case 7:return i.sent(),this.context.logger.error("Error loading image "+e.src),[3,8];case 8:if(e instanceof oA&&this.renderReplacedElement(e,r,e.canvas),!(e instanceof AA))return[3,12];i.label=9;case 9:return i.trys.push([9,11,,12]),[4,this.context.cache.match(e.svg)];case 10:return _=i.sent(),this.renderReplacedElement(e,r,_),[3,12];case 11:return i.sent(),this.context.logger.error("Error loading svg "+e.svg.substring(0,255)),[3,12];case 12:return e instanceof bA&&e.tree?(c=new n(this.context,{scale:this.options.scale,backgroundColor:e.backgroundColor,x:0,y:0,width:e.width,height:e.height}),[4,c.render(e.tree)]):[3,14];case 13:u=i.sent(),e.width&&e.height&&this.ctx.drawImage(u,0,0,e.width,e.height,e.bounds.left,e.bounds.top,e.bounds.width,e.bounds.height),i.label=14;case 14:if(e instanceof vA&&(d=Math.min(e.bounds.width,e.bounds.height),e.type===fA?e.checked&&(this.ctx.save(),this.path([new Rs(e.bounds.left+.39363*d,e.bounds.top+.79*d),new Rs(e.bounds.left+.16*d,e.bounds.top+.5549*d),new Rs(e.bounds.left+.27347*d,e.bounds.top+.44071*d),new Rs(e.bounds.left+.39694*d,e.bounds.top+.5649*d),new Rs(e.bounds.left+.72983*d,e.bounds.top+.23*d),new Rs(e.bounds.left+.84*d,e.bounds.top+.34085*d),new Rs(e.bounds.left+.39363*d,e.bounds.top+.79*d)]),this.ctx.fillStyle=dr(gA),this.ctx.fill(),this.ctx.restore()):e.type===pA&&e.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(e.bounds.left+d/2,e.bounds.top+d/2,d/4,0,2*Math.PI,!0),this.ctx.fillStyle=dr(gA),this.ctx.fill(),this.ctx.restore())),Sl(e)&&e.value.length){switch(h=this.createFontStyle(a),b=h[0],f=h[1],p=this.fontMetrics.getMetrics(b,f).baseline,this.ctx.font=b,this.ctx.fillStyle=dr(a.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Il(e.styles.textAlign),w=gl(e),m=0,e.styles.textAlign){case 1:m+=w.width/2;break;case 2:m+=w.width;break}g=w.add(m,0,0,-w.height/2+1),this.ctx.save(),this.path([new Rs(w.left,w.top),new Rs(w.left+w.width,w.top),new Rs(w.left+w.width,w.top+w.height),new Rs(w.left,w.top+w.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new zo(e.value,g),a.letterSpacing,p),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!ga(e.styles.display,2048))return[3,20];if(null===e.styles.listStyleImage)return[3,19];if(v=e.styles.listStyleImage,0!==v.type)return[3,18];_=void 0,y=v.url,i.label=15;case 15:return i.trys.push([15,17,,18]),[4,this.context.cache.match(y)];case 16:return _=i.sent(),this.ctx.drawImage(_,e.bounds.left-(_.width+10),e.bounds.top),[3,18];case 17:return i.sent(),this.context.logger.error("Error loading list-style-image "+y),[3,18];case 18:return[3,20];case 19:t.listValue&&-1!==e.styles.listStyleType&&(b=this.createFontStyle(a)[0],this.ctx.font=b,this.ctx.fillStyle=dr(a.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",w=new o(e.bounds.left,e.bounds.top+er(e.styles.paddingTop,e.bounds.width),e.bounds.width,Si(a.lineHeight,a.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new zo(t.listValue,w),a.letterSpacing,Si(a.lineHeight,a.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),i.label=20;case 20:return[2]}}))}))},n.prototype.renderStackContent=function(t){return r(this,void 0,void 0,(function(){var e,n,r,a,o,A,s,l,c,u,d,h,f,p,m;return i(this,(function(i){switch(i.label){case 0:return ga(t.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(t.element)];case 1:i.sent(),e=0,n=t.negativeZIndex,i.label=2;case 2:return e<n.length?(m=n[e],[4,this.renderStack(m)]):[3,5];case 3:i.sent(),i.label=4;case 4:return e++,[3,2];case 5:return[4,this.renderNodeContent(t.element)];case 6:i.sent(),r=0,a=t.nonInlineLevel,i.label=7;case 7:return r<a.length?(m=a[r],[4,this.renderNode(m)]):[3,10];case 8:i.sent(),i.label=9;case 9:return r++,[3,7];case 10:o=0,A=t.nonPositionedFloats,i.label=11;case 11:return o<A.length?(m=A[o],[4,this.renderStack(m)]):[3,14];case 12:i.sent(),i.label=13;case 13:return o++,[3,11];case 14:s=0,l=t.nonPositionedInlineLevel,i.label=15;case 15:return s<l.length?(m=l[s],[4,this.renderStack(m)]):[3,18];case 16:i.sent(),i.label=17;case 17:return s++,[3,15];case 18:c=0,u=t.inlineLevel,i.label=19;case 19:return c<u.length?(m=u[c],[4,this.renderNode(m)]):[3,22];case 20:i.sent(),i.label=21;case 21:return c++,[3,19];case 22:d=0,h=t.zeroOrAutoZIndexOrTransformedOrOpacity,i.label=23;case 23:return d<h.length?(m=h[d],[4,this.renderStack(m)]):[3,26];case 24:i.sent(),i.label=25;case 25:return d++,[3,23];case 26:f=0,p=t.positiveZIndex,i.label=27;case 27:return f<p.length?(m=p[f],[4,this.renderStack(m)]):[3,30];case 28:i.sent(),i.label=29;case 29:return f++,[3,27];case 30:return[2]}}))}))},n.prototype.mask=function(t){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(t.slice(0).reverse()),this.ctx.closePath()},n.prototype.path=function(t){this.ctx.beginPath(),this.formatPath(t),this.ctx.closePath()},n.prototype.formatPath=function(t){var e=this;t.forEach((function(t,n){var r=Vs(t)?t.start:t;0===n?e.ctx.moveTo(r.x,r.y):e.ctx.lineTo(r.x,r.y),Vs(t)&&e.ctx.bezierCurveTo(t.startControl.x,t.startControl.y,t.endControl.x,t.endControl.y,t.end.x,t.end.y)}))},n.prototype.renderRepeat=function(t,e,n,r){this.path(t),this.ctx.fillStyle=e,this.ctx.translate(n,r),this.ctx.fill(),this.ctx.translate(-n,-r)},n.prototype.resizeImage=function(t,e,n){var r;if(t.width===e&&t.height===n)return t;var i=null!==(r=this.canvas.ownerDocument)&&void 0!==r?r:document,a=i.createElement("canvas");a.width=Math.max(1,e),a.height=Math.max(1,n);var o=a.getContext("2d");return o.drawImage(t,0,0,t.width,t.height,0,0,e,n),a},n.prototype.renderBackgroundImage=function(t){return r(this,void 0,void 0,(function(){var e,n,r,a,o,A;return i(this,(function(s){switch(s.label){case 0:e=t.styles.backgroundImage.length-1,n=function(n){var a,o,A,s,l,c,u,d,h,f,p,m,g,v,_,y,b,w,B,x,C,k,Q,E,F,U,O,S,T,I,D;return i(this,(function(i){switch(i.label){case 0:if(0!==n.type)return[3,5];a=void 0,o=n.url,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,r.context.cache.match(o)];case 2:return a=i.sent(),[3,4];case 3:return i.sent(),r.context.logger.error("Error loading background-image "+o),[3,4];case 4:return a&&(A=yl(t,e,[a.width,a.height,a.width/a.height]),y=A[0],k=A[1],Q=A[2],B=A[3],x=A[4],v=r.ctx.createPattern(r.resizeImage(a,B,x),"repeat"),r.renderRepeat(y,v,k,Q)),[3,6];case 5:Kr(n)?(s=yl(t,e,[null,null,null]),y=s[0],k=s[1],Q=s[2],B=s[3],x=s[4],l=kr(n.angle,B,x),c=l[0],u=l[1],d=l[2],h=l[3],f=l[4],p=document.createElement("canvas"),p.width=B,p.height=x,m=p.getContext("2d"),g=m.createLinearGradient(u,h,d,f),xr(n.stops,c).forEach((function(t){return g.addColorStop(t.stop,dr(t.color))})),m.fillStyle=g,m.fillRect(0,0,B,x),B>0&&x>0&&(v=r.ctx.createPattern(p,"repeat"),r.renderRepeat(y,v,k,Q))):qr(n)&&(_=yl(t,e,[null,null,null]),y=_[0],b=_[1],w=_[2],B=_[3],x=_[4],C=0===n.position.length?[Jn]:n.position,k=er(C[0],B),Q=er(C[C.length-1],x),E=Fr(n,k,Q,B,x),F=E[0],U=E[1],F>0&&U>0&&(O=r.ctx.createRadialGradient(b+k,w+Q,0,b+k,w+Q,F),xr(n.stops,2*F).forEach((function(t){return O.addColorStop(t.stop,dr(t.color))})),r.path(y),r.ctx.fillStyle=O,F!==U?(S=t.bounds.left+.5*t.bounds.width,T=t.bounds.top+.5*t.bounds.height,I=U/F,D=1/I,r.ctx.save(),r.ctx.translate(S,T),r.ctx.transform(1,0,0,I,0,0),r.ctx.translate(-S,-T),r.ctx.fillRect(b,D*(w-T)+T,B,x*D),r.ctx.restore()):r.ctx.fill())),i.label=6;case 6:return e--,[2]}}))},r=this,a=0,o=t.styles.backgroundImage.slice(0).reverse(),s.label=1;case 1:return a<o.length?(A=o[a],[5,n(A)]):[3,4];case 2:s.sent(),s.label=3;case 3:return a++,[3,1];case 4:return[2]}}))}))},n.prototype.renderSolidBorder=function(t,e,n){return r(this,void 0,void 0,(function(){return i(this,(function(r){return this.path(cl(n,e)),this.ctx.fillStyle=dr(t),this.ctx.fill(),[2]}))}))},n.prototype.renderDoubleBorder=function(t,e,n,a){return r(this,void 0,void 0,(function(){var r,o;return i(this,(function(i){switch(i.label){case 0:return e<3?[4,this.renderSolidBorder(t,n,a)]:[3,2];case 1:return i.sent(),[2];case 2:return r=ul(a,n),this.path(r),this.ctx.fillStyle=dr(t),this.ctx.fill(),o=dl(a,n),this.path(o),this.ctx.fill(),[2]}}))}))},n.prototype.renderNodeBackgroundAndBorders=function(t){return r(this,void 0,void 0,(function(){var e,n,r,a,o,A,s,l,c=this;return i(this,(function(i){switch(i.label){case 0:return this.applyEffects(t.getEffects(2)),e=t.container.styles,n=!ur(e.backgroundColor)||e.backgroundImage.length,r=[{style:e.borderTopStyle,color:e.borderTopColor,width:e.borderTopWidth},{style:e.borderRightStyle,color:e.borderRightColor,width:e.borderRightWidth},{style:e.borderBottomStyle,color:e.borderBottomColor,width:e.borderBottomWidth},{style:e.borderLeftStyle,color:e.borderLeftColor,width:e.borderLeftWidth}],a=Tl(xl(e.backgroundClip,0),t.curves),n||e.boxShadow.length?(this.ctx.save(),this.path(a),this.ctx.clip(),ur(e.backgroundColor)||(this.ctx.fillStyle=dr(e.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(t.container)]):[3,2];case 1:i.sent(),this.ctx.restore(),e.boxShadow.slice(0).reverse().forEach((function(e){c.ctx.save();var n=Ws(t.curves),r=e.inset?0:Ul,i=il(n,-r+(e.inset?1:-1)*e.spread.number,(e.inset?1:-1)*e.spread.number,e.spread.number*(e.inset?-2:2),e.spread.number*(e.inset?-2:2));e.inset?(c.path(n),c.ctx.clip(),c.mask(i)):(c.mask(n),c.ctx.clip(),c.path(i)),c.ctx.shadowOffsetX=e.offsetX.number+r,c.ctx.shadowOffsetY=e.offsetY.number,c.ctx.shadowColor=dr(e.color),c.ctx.shadowBlur=e.blur.number,c.ctx.fillStyle=e.inset?dr(e.color):"rgba(0,0,0,1)",c.ctx.fill(),c.ctx.restore()})),i.label=2;case 2:o=0,A=0,s=r,i.label=3;case 3:return A<s.length?(l=s[A],0!==l.style&&!ur(l.color)&&l.width>0?2!==l.style?[3,5]:[4,this.renderDashedDottedBorder(l.color,l.width,o,t.curves,2)]:[3,11]):[3,13];case 4:return i.sent(),[3,11];case 5:return 3!==l.style?[3,7]:[4,this.renderDashedDottedBorder(l.color,l.width,o,t.curves,3)];case 6:return i.sent(),[3,11];case 7:return 4!==l.style?[3,9]:[4,this.renderDoubleBorder(l.color,l.width,o,t.curves)];case 8:return i.sent(),[3,11];case 9:return[4,this.renderSolidBorder(l.color,o,t.curves)];case 10:i.sent(),i.label=11;case 11:o++,i.label=12;case 12:return A++,[3,3];case 13:return[2]}}))}))},n.prototype.renderDashedDottedBorder=function(t,e,n,a,o){return r(this,void 0,void 0,(function(){var r,A,s,l,c,u,d,h,f,p,m,g,v,_,y,b;return i(this,(function(i){return this.ctx.save(),r=hl(a,n),A=cl(a,n),2===o&&(this.path(A),this.ctx.clip()),Vs(A[0])?(s=A[0].start.x,l=A[0].start.y):(s=A[0].x,l=A[0].y),Vs(A[1])?(c=A[1].end.x,u=A[1].end.y):(c=A[1].x,u=A[1].y),d=0===n||2===n?Math.abs(s-c):Math.abs(l-u),this.ctx.beginPath(),3===o?this.formatPath(r):this.formatPath(A.slice(0,2)),h=e<3?3*e:2*e,f=e<3?2*e:e,3===o&&(h=e,f=e),p=!0,d<=2*h?p=!1:d<=2*h+f?(m=d/(2*h+f),h*=m,f*=m):(g=Math.floor((d+f)/(h+f)),v=(d-g*h)/(g-1),_=(d-(g+1)*h)/g,f=_<=0||Math.abs(f-v)<Math.abs(f-_)?v:_),p&&(3===o?this.ctx.setLineDash([0,h+f]):this.ctx.setLineDash([h,f])),3===o?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=2*e+1.1,this.ctx.strokeStyle=dr(t),this.ctx.stroke(),this.ctx.setLineDash([]),2===o&&(Vs(A[0])&&(y=A[3],b=A[0],this.ctx.beginPath(),this.formatPath([new Rs(y.end.x,y.end.y),new Rs(b.start.x,b.start.y)]),this.ctx.stroke()),Vs(A[1])&&(y=A[1],b=A[2],this.ctx.beginPath(),this.formatPath([new Rs(y.end.x,y.end.y),new Rs(b.start.x,b.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]}))}))},n.prototype.render=function(t){return r(this,void 0,void 0,(function(){var e;return i(this,(function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=dr(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),e=ll(t),[4,this.renderStack(e)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}}))}))},n}(Fl),Sl=function(t){return t instanceof yA||(t instanceof _A||t instanceof vA&&t.type!==pA&&t.type!==fA)},Tl=function(t,e){switch(t){case 0:return Ws(e);case 2:return $s(e);case 1:default:return Ys(e)}},Il=function(t){switch(t){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Dl=["-apple-system","system-ui"],Ll=function(t){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?t.filter((function(t){return-1===Dl.indexOf(t)})):t},Pl=function(t){function n(e,n){var r=t.call(this,e,n)||this;return r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=n,r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+n.width+"x"+n.height+" at "+n.x+","+n.y+") with scale "+n.scale),r}return e(n,t),n.prototype.render=function(t){return r(this,void 0,void 0,(function(){var e,n;return i(this,(function(r){switch(r.label){case 0:return e=Ko(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,t),[4,Nl(e)];case 1:return n=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=dr(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}}))}))},n}(Fl),Nl=function(t){return new Promise((function(e,n){var r=new Image;r.onload=function(){e(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(t))}))},Hl=function(){function t(t){var e=t.id,n=t.enabled;this.id=e,this.enabled=n,this.start=Date.now()}return t.prototype.debug=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.debug?console.debug.apply(console,a([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},t.prototype.getTime=function(){return Date.now()-this.start},t.prototype.info=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&"undefined"!==typeof window&&window.console&&"function"===typeof console.info&&console.info.apply(console,a([this.id,this.getTime()+"ms"],t))},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.warn?console.warn.apply(console,a([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.error?console.error.apply(console,a([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},t.instances={},t}(),Ml=function(){function t(e,n){var r;this.windowBounds=n,this.instanceName="#"+t.instanceCount++,this.logger=new Hl({id:this.instanceName,enabled:e.logging}),this.cache=null!==(r=e.cache)&&void 0!==r?r:new Ts(this,e)}return t.instanceCount=1,t}(),jl=function(t,e){return void 0===e&&(e={}),Rl(t,e)};"undefined"!==typeof window&&Ss.setContext(window);var Rl=function(t,e){return r(void 0,void 0,void 0,(function(){var r,a,l,c,u,d,h,f,p,m,g,v,_,y,b,w,B,x,C,k,Q,E,F,U,O,S,T,I,D,L,P,N,H,M,j,R,K,q,V;return i(this,(function(i){switch(i.label){case 0:if(!t||"object"!==typeof t)return[2,Promise.reject("Invalid element provided as first argument")];if(r=t.ownerDocument,!r)throw new Error("Element is not attached to a Document");if(a=r.defaultView,!a)throw new Error("Document is not attached to a Window");return l={allowTaint:null!==(F=e.allowTaint)&&void 0!==F&&F,imageTimeout:null!==(U=e.imageTimeout)&&void 0!==U?U:15e3,proxy:e.proxy,useCORS:null!==(O=e.useCORS)&&void 0!==O&&O},c=n({logging:null===(S=e.logging)||void 0===S||S,cache:e.cache},l),u={windowWidth:null!==(T=e.windowWidth)&&void 0!==T?T:a.innerWidth,windowHeight:null!==(I=e.windowHeight)&&void 0!==I?I:a.innerHeight,scrollX:null!==(D=e.scrollX)&&void 0!==D?D:a.pageXOffset,scrollY:null!==(L=e.scrollY)&&void 0!==L?L:a.pageYOffset},d=new o(u.scrollX,u.scrollY,u.windowWidth,u.windowHeight),h=new Ml(c,d),f=null!==(P=e.foreignObjectRendering)&&void 0!==P&&P,p={allowTaint:null!==(N=e.allowTaint)&&void 0!==N&&N,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:f,copyStyles:f},h.logger.debug("Starting document clone with size "+d.width+"x"+d.height+" scrolled to "+-d.left+","+-d.top),m=new fs(h,t,p),g=m.clonedReferenceElement,g?[4,m.toIFrame(r,d)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return v=i.sent(),_=PA(g)||DA(g)?s(g.ownerDocument):A(h,g),y=_.width,b=_.height,w=_.left,B=_.top,x=Kl(h,g,e.backgroundColor),C={canvas:e.canvas,backgroundColor:x,scale:null!==(M=null!==(H=e.scale)&&void 0!==H?H:a.devicePixelRatio)&&void 0!==M?M:1,x:(null!==(j=e.x)&&void 0!==j?j:0)+w,y:(null!==(R=e.y)&&void 0!==R?R:0)+B,width:null!==(K=e.width)&&void 0!==K?K:Math.ceil(y),height:null!==(q=e.height)&&void 0!==q?q:Math.ceil(b)},f?(h.logger.debug("Document cloned, using foreign object rendering"),E=new Pl(h,C),[4,E.render(g)]):[3,3];case 2:return k=i.sent(),[3,5];case 3:return h.logger.debug("Document cloned, element located at "+w+","+B+" with size "+y+"x"+b+" using computed rendering"),h.logger.debug("Starting DOM parsing"),Q=CA(h,g),x===Q.styles.backgroundColor&&(Q.styles.backgroundColor=yr.TRANSPARENT),h.logger.debug("Starting renderer for element at "+C.x+","+C.y+" with size "+C.width+"x"+C.height),E=new Ol(h,C),[4,E.render(Q)];case 4:k=i.sent(),i.label=5;case 5:return(null===(V=e.removeContainer)||void 0===V||V)&&(fs.destroy(v)||h.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),h.logger.debug("Finished rendering"),[2,k]}}))}))},Kl=function(t,e,n){var r=e.ownerDocument,i=r.documentElement?_r(t,getComputedStyle(r.documentElement).backgroundColor):yr.TRANSPARENT,a=r.body?_r(t,getComputedStyle(r.body).backgroundColor):yr.TRANSPARENT,o="string"===typeof n?_r(t,n):null===n?yr.TRANSPARENT:4294967295;return e===r.documentElement?ur(i)?ur(a)?o:a:i:o};return jl}))},c0ed:function(t,e,n){},c1ac:function(t,e,n){"use strict";var r=n("ebb5"),i=n("b727").filter,a=n("4840"),o=r.aTypedArray,A=r.aTypedArrayConstructor,s=r.exportTypedArrayMethod;s("filter",(function(t){var e=i(o(this),t,arguments.length>1?arguments[1]:void 0),n=a(this,this.constructor),r=0,s=e.length,l=new(A(n))(s);while(s>r)l[r]=e[r++];return l}))},c709:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAAAsCAYAAACZmXFCAAACl0lEQVR4nO2czW5SQRiGnypCbSm0JiTGFRu7kPZivANvo7fhbbmEGk2MiYtudMGP/EeMi5mB4TAHF/2m0fI+yckZZvKdkxyeDO8ZOBy1P0yXwBiYAgtg4PcT378AhsAcmPn2EvgZ1fR938T3Lws14kCpACfAGXAKVIELvz/1/VWgCTwHjn27ClwWamrRsYo1sZQT3+7j5JyyLeUMJ+bQj4/31CyAkflVEWZUgF+4N66f8TxNnIB1yqWsAQ2clBdAu1BTA85LaoKUA5yIQcp4Rp7iZFz6fTxjh5qxbw/YzL4jYGV+RQ6EygOdZ+j33zMdP8yU5zh5y6RssJH7VaKm7tvFGtiVcl+MGPm+shiRqnmUPJRguZn5Ldcs/BQn2gkbaVNSHuNkb+AkvizU1HDi1327GdWUxYhUtv1vYsRjESw3K/LHiAZOujM2UsZ5uChliBHVPTVxHi6Tcl+MSEWPOEbENckYIcH+HcIs8yPT8cNMGW7S/nZjF8eIspog9HvgJnVSCXY4zP1mPQu/Bd6VDT4xPpk4PLrAddmgBBP35SvQwn187iDBxH35DXwGrlKDEkxY0AXepAYkmLCgNIdJMGGBBBNZ+YgEExm5w32d1ioOSDBhRfJjUoIJKySYyEoyh0kwYUVyLUyCCSu6uNX8o7hTggkrhrhfarTjTgkmLLmlkMMkmLCkRyGHSTBhyc5ShQQTlkgwkZVPwGvgWeiQYMKSOfAN97geIMGEPWE9DJBgwp6tHCbBhDVba2ESTFjTAzrhhQQT1nwBXuKeAJdgwpwVbrmiAxJM5GGdwySYyME6h0kwkYP1WpgEEzlYr4VJMJGDO9z/irUkmMhFD+hIMJGLLnAlwUQuusC1BBO56CHBREZugRd/APgqzqV9fD5DAAAAAElFTkSuQmCC"},c7e9:function(t,e,n){"use strict";n.r(e);n("d3b7"),n("ddb0"),n("d81d"),n("ac1f"),n("466d");var r=n("23f1"),i=function(t){return t.keys()},a=/\.\/(.*)\.svg/,o=i(r).map((function(t){return t.match(a)[1]}));e["default"]=o},c81a:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-dialog",t._g(t._b({attrs:{"close-on-click-modal":!1,"modal-append-to-body":!1},on:{open:t.onOpen,close:t.onClose}},"el-dialog",t.$attrs,!1),t.$listeners),[n("el-row",{attrs:{gutter:0}},[n("el-form",{ref:"elForm",attrs:{model:t.formData,rules:t.rules,size:"small","label-width":"100px"}},[n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"选项名",prop:"label"}},[n("el-input",{attrs:{placeholder:"请输入选项名",clearable:""},model:{value:t.formData.label,callback:function(e){t.$set(t.formData,"label",e)},expression:"formData.label"}})],1)],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"选项值",prop:"value"}},[n("el-input",{attrs:{placeholder:"请输入选项值",clearable:""},model:{value:t.formData.value,callback:function(e){t.$set(t.formData,"value",e)},expression:"formData.value"}},[n("el-select",{style:{width:"100px"},attrs:{slot:"append"},slot:"append",model:{value:t.dataType,callback:function(e){t.dataType=e},expression:"dataType"}},t._l(t.dataTypeOptions,(function(t,e){return n("el-option",{key:e,attrs:{label:t.label,value:t.value,disabled:t.disabled}})})),1)],1)],1)],1)],1)],1),n("div",{attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.handelConfirm}},[t._v(" 确定 ")]),n("el-button",{on:{click:t.close}},[t._v(" 取消 ")])],1)],1)],1)},i=[],a=n("ed08"),o={components:{},inheritAttrs:!1,props:[],data:function(){return{id:100,formData:{label:void 0,value:void 0},rules:{label:[{required:!0,message:"请输入选项名",trigger:"blur"}],value:[{required:!0,message:"请输入选项值",trigger:"blur"}]},dataType:"string",dataTypeOptions:[{label:"字符串",value:"string"},{label:"数字",value:"number"}]}},computed:{},watch:{"formData.value":function(t){this.dataType=Object(a["e"])(t)?"number":"string"}},created:function(){},mounted:function(){},methods:{onOpen:function(){this.formData={label:void 0,value:void 0}},onClose:function(){},close:function(){this.$emit("update:visible",!1)},handelConfirm:function(){var t=this;this.$refs.elForm.validate((function(e){e&&("number"===t.dataType&&(t.formData.value=parseFloat(t.formData.value)),t.formData.id=t.id++,t.$emit("commit",t.formData),t.close())}))}}},A=o,s=n("2877"),l=Object(s["a"])(A,r,i,!1,null,null,null);e["default"]=l.exports},c871:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return o}));var r=n("b775");function i(t){return Object(r["a"])({url:"/data/customer/getCustomerList",method:"get",params:t})}function a(t){return Object(r["a"])({url:"/data/customer/getCustomerById",method:"get",params:t})}function o(t){return Object(r["a"])({url:"/data/customer/getCustomerOverViewById",method:"get",params:t})}},ca91:function(t,e,n){"use strict";var r=n("ebb5"),i=n("d58f").left,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("reduce",(function(t){return i(a(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},cb29:function(t,e,n){var r=n("23e7"),i=n("81d5"),a=n("44d2");r({target:"Array",proto:!0},{fill:i}),a("fill")},cbc2:function(t,e,n){},cc6c:function(t,e,n){t.exports=n.p+"static/img/401.089007e7.gif"},cd26:function(t,e,n){"use strict";var r=n("ebb5"),i=r.aTypedArray,a=r.exportTypedArrayMethod,o=Math.floor;a("reverse",(function(){var t,e=this,n=i(e).length,r=o(n/2),a=0;while(a<r)t=e[a],e[a++]=e[--n],e[n]=t;return e}))},cdb7:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:t.queryParams,inline:!0,"label-width":"68px"}},[n("el-form-item",{attrs:{label:"参数名称",prop:"configName"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入参数名称",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.configName,callback:function(e){t.$set(t.queryParams,"configName",e)},expression:"queryParams.configName"}})],1),n("el-form-item",{attrs:{label:"参数键名",prop:"configKey"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入参数键名",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.configKey,callback:function(e){t.$set(t.queryParams,"configKey",e)},expression:"queryParams.configKey"}})],1),n("el-form-item",{attrs:{label:"系统内置",prop:"configType"}},[n("el-select",{attrs:{placeholder:"系统内置",clearable:"",size:"small"},model:{value:t.queryParams.configType,callback:function(e){t.$set(t.queryParams,"configType",e)},expression:"queryParams.configType"}},t._l(t.typeOptions,(function(t){return n("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:t.dictValue}})})),1)],1),n("el-form-item",{attrs:{label:"创建时间"}},[n("el-date-picker",{staticStyle:{width:"240px"},attrs:{size:"small","value-format":"yyyy-MM-dd",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:t.dateRange,callback:function(e){t.dateRange=e},expression:"dateRange"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"cyan",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1),n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:add"],expression:"['system:config:add']"}],attrs:{type:"primary",icon:"el-icon-plus",size:"mini"},on:{click:t.handleAdd}},[t._v("新增")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:edit"],expression:"['system:config:edit']"}],attrs:{type:"success",icon:"el-icon-edit",size:"mini",disabled:t.single},on:{click:t.handleUpdate}},[t._v("修改")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:remove"],expression:"['system:config:remove']"}],attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:t.multiple},on:{click:t.handleDelete}},[t._v("删除")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:export"],expression:"['system:config:export']"}],attrs:{type:"warning",icon:"el-icon-download",size:"mini"},on:{click:t.handleExport}},[t._v("导出")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:remove"],expression:"['system:config:remove']"}],attrs:{type:"danger",icon:"el-icon-refresh",size:"mini"},on:{click:t.handleClearCache}},[t._v("清理缓存")])],1),n("right-toolbar",{attrs:{showSearch:t.showSearch},on:{"update:showSearch":function(e){t.showSearch=e},"update:show-search":function(e){t.showSearch=e},queryTable:t.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.configList},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),n("el-table-column",{attrs:{label:"参数主键",align:"center",prop:"configId"}}),n("el-table-column",{attrs:{label:"参数名称",align:"center",prop:"configName","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"参数键名",align:"center",prop:"configKey","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"参数键值",align:"center",prop:"configValue"}}),n("el-table-column",{attrs:{label:"系统内置",align:"center",prop:"configType",formatter:t.typeFormat}}),n("el-table-column",{attrs:{label:"备注",align:"center",prop:"remark","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"创建时间",align:"center",prop:"createTime",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.parseTime(e.row.createTime)))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:edit"],expression:"['system:config:edit']"}],attrs:{size:"mini",type:"text",icon:"el-icon-edit"},on:{click:function(n){return t.handleUpdate(e.row)}}},[t._v("修改")]),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:remove"],expression:"['system:config:remove']"}],attrs:{size:"mini",type:"text",icon:"el-icon-delete"},on:{click:function(n){return t.handleDelete(e.row)}}},[t._v("删除")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(e){return t.$set(t.queryParams,"pageNum",e)},"update:limit":function(e){return t.$set(t.queryParams,"pageSize",e)},pagination:t.getList}}),n("el-dialog",{attrs:{title:t.title,visible:t.open,width:"500px","append-to-body":""},on:{"update:visible":function(e){t.open=e}}},[n("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"80px"}},[n("el-form-item",{attrs:{label:"参数名称",prop:"configName"}},[n("el-input",{attrs:{placeholder:"请输入参数名称"},model:{value:t.form.configName,callback:function(e){t.$set(t.form,"configName",e)},expression:"form.configName"}})],1),n("el-form-item",{attrs:{label:"参数键名",prop:"configKey"}},[n("el-input",{attrs:{placeholder:"请输入参数键名"},model:{value:t.form.configKey,callback:function(e){t.$set(t.form,"configKey",e)},expression:"form.configKey"}})],1),n("el-form-item",{attrs:{label:"参数键值",prop:"configValue"}},[n("el-input",{attrs:{placeholder:"请输入参数键值"},model:{value:t.form.configValue,callback:function(e){t.$set(t.form,"configValue",e)},expression:"form.configValue"}})],1),n("el-form-item",{attrs:{label:"系统内置",prop:"configType"}},[n("el-radio-group",{model:{value:t.form.configType,callback:function(e){t.$set(t.form,"configType",e)},expression:"form.configType"}},t._l(t.typeOptions,(function(e){return n("el-radio",{key:e.dictValue,attrs:{label:e.dictValue}},[t._v(t._s(e.dictLabel))])})),1)],1),n("el-form-item",{attrs:{label:"备注",prop:"remark"}},[n("el-input",{attrs:{type:"textarea",placeholder:"请输入内容"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("确 定")]),n("el-button",{on:{click:t.cancel}},[t._v("取 消")])],1)],1)],1)},i=[],a=n("5530"),o=(n("d81d"),n("c0c3")),A={name:"Config",data:function(){return{loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,configList:[],title:"",open:!1,typeOptions:[],dateRange:[],queryParams:{pageNum:1,pageSize:10,configName:void 0,configKey:void 0,configType:void 0},form:{},rules:{configName:[{required:!0,message:"参数名称不能为空",trigger:"blur"}],configKey:[{required:!0,message:"参数键名不能为空",trigger:"blur"}],configValue:[{required:!0,message:"参数键值不能为空",trigger:"blur"}]}}},created:function(){var t=this;this.getList(),this.getDicts("sys_yes_no").then((function(e){t.typeOptions=e.data}))},methods:{getList:function(){var t=this;this.loading=!0,Object(o["f"])(this.addDateRange(this.queryParams,this.dateRange)).then((function(e){t.configList=e.rows,t.total=e.total,t.loading=!1}))},typeFormat:function(t,e){return this.selectDictLabel(this.typeOptions,t.configType)},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={configId:void 0,configName:void 0,configKey:void 0,configValue:void 0,configType:"Y",remark:void 0},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.resetForm("queryForm"),this.handleQuery()},handleAdd:function(){this.reset(),this.open=!0,this.title="添加参数"},handleSelectionChange:function(t){this.ids=t.map((function(t){return t.configId})),this.single=1!=t.length,this.multiple=!t.length},handleUpdate:function(t){var e=this;this.reset();var n=t.configId||this.ids;Object(o["d"])(n).then((function(t){e.form=t.data,e.open=!0,e.title="修改参数"}))},submitForm:function(){var t=this;this.$refs["form"].validate((function(e){e&&(void 0!=t.form.configId?Object(o["g"])(t.form).then((function(e){t.msgSuccess("修改成功"),t.open=!1,t.getList()})):Object(o["a"])(t.form).then((function(e){t.msgSuccess("新增成功"),t.open=!1,t.getList()})))}))},handleDelete:function(t){var e=this,n=t.configId||this.ids;this.$confirm('是否确认删除参数编号为"'+n+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(o["c"])(n)})).then((function(){e.getList(),e.msgSuccess("删除成功")}))},handleExport:function(){this.download("system/config/export",Object(a["a"])({},this.queryParams),"config_".concat((new Date).getTime(),".xlsx"))},handleClearCache:function(){var t=this;Object(o["b"])().then((function(e){t.msgSuccess("清理成功")}))}}},s=A,l=n("2877"),c=Object(l["a"])(s,r,i,!1,null,null,null);e["default"]=c.exports},cfc3:function(t,e,n){var r=n("74e8");r("Float32",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},d0b2:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"icon-dialog"},[n("el-dialog",t._g(t._b({attrs:{width:"980px","modal-append-to-body":!1},on:{open:t.onOpen,close:t.onClose}},"el-dialog",t.$attrs,!1),t.$listeners),[n("div",{attrs:{slot:"title"},slot:"title"},[t._v(" 选择图标 "),n("el-input",{style:{width:"260px"},attrs:{size:"mini",placeholder:"请输入图标名称","prefix-icon":"el-icon-search",clearable:""},model:{value:t.key,callback:function(e){t.key=e},expression:"key"}})],1),n("ul",{staticClass:"icon-ul"},t._l(t.iconList,(function(e){return n("li",{key:e,class:t.active===e?"active-item":"",on:{click:function(n){return t.onSelect(e)}}},[n("i",{class:e}),n("div",[t._v(t._s(e))])])})),0)])],1)},i=[],a=(n("d81d"),n("4de4"),n("d3b7"),n("de0a")),o=a.map((function(t){return"el-icon-".concat(t)})),A={inheritAttrs:!1,props:["current"],data:function(){return{iconList:o,active:null,key:""}},watch:{key:function(t){this.iconList=t?o.filter((function(e){return e.indexOf(t)>-1})):o}},methods:{onOpen:function(){this.active=this.current,this.key=""},onClose:function(){},onSelect:function(t){this.active=t,this.$emit("select",t),this.$emit("update:visible",!1)}}},s=A,l=(n("9643"),n("2877")),c=Object(l["a"])(s,r,i,!1,null,"2fa68d6e",null);e["default"]=c.exports},d139:function(t,e,n){"use strict";var r=n("ebb5"),i=n("b727").find,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("find",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},d153:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className,style:{height:t.height,width:t.width}})},i=[],a=n("313e"),o=n.n(a),A=n("feb2");n("817d");var s={mixins:[A["default"]],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"300px"}},data:function(){return{chart:null}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=o.a.init(this.$el,"macarons"),this.chart.setOption({tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c} ({d}%)"},legend:{left:"center",bottom:"10",data:["Industries","Technology","Forex","Gold","Forecasts"]},series:[{name:"WEEKLY WRITE ARTICLES",type:"pie",roseType:"radius",radius:[15,95],center:["50%","38%"],data:[{value:320,name:"Industries"},{value:240,name:"Technology"},{value:149,name:"Forex"},{value:100,name:"Gold"},{value:59,name:"Forecasts"}],animationEasing:"cubicInOut",animationDuration:2600}]})}}},l=s,c=n("2877"),u=Object(c["a"])(l,r,i,!1,null,null,null);e["default"]=u.exports},d58f:function(t,e,n){var r=n("1c0b"),i=n("7b0b"),a=n("44ad"),o=n("50c4"),A=function(t){return function(e,n,A,s){r(n);var l=i(e),c=a(l),u=o(l.length),d=t?u-1:0,h=t?-1:1;if(A<2)while(1){if(d in c){s=c[d],d+=h;break}if(d+=h,t?d<0:u<=d)throw TypeError("Reduce of empty array with no initial value")}for(;t?d>=0:u>d;d+=h)d in c&&(s=n(s,c[d],d,l));return s}};t.exports={left:A(!1),right:A(!0)}},d5d6:function(t,e,n){"use strict";var r=n("ebb5"),i=n("b727").forEach,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("forEach",(function(t){i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},d60a:function(t,e){t.exports=function(t){return t&&"object"===typeof t&&"function"===typeof t.copy&&"function"===typeof t.fill&&"function"===typeof t.readUInt8}},da0d:function(t,e,n){
- /*! For license information please see echarts-wordcloud.min.js.LICENSE.txt */
- !function(e,r){t.exports=r(n("313e"))}(self,(function(t){return(()=>{"use strict";var e={638:(t,e,n)=>{n.r(e);var r=n(83);r.extendSeriesModel({type:"series.wordCloud",visualStyleAccessPath:"textStyle",visualStyleMapper:function(t){return{fill:t.get("color")}},visualDrawType:"fill",optionUpdated:function(){var t=this.option;t.gridSize=Math.max(Math.floor(t.gridSize),4)},getInitialData:function(t,e){var n=r.helper.createDimensions(t.data,{coordDimensions:["value"]}),i=new r.List(n,this);return i.initData(t.data),i},defaultOption:{maskImage:null,shape:"circle",left:"center",top:"center",width:"70%",height:"80%",sizeRange:[12,60],rotationRange:[-90,90],rotationStep:45,gridSize:8,drawOutOfBound:!1,textStyle:{fontWeight:"normal"}}}),r.extendChartView({type:"wordCloud",render:function(t,e,n){var i=this.group;i.removeAll();var a=t.getData(),o=t.get("gridSize");t.layoutInstance.ondraw=function(e,n,A,s){var l=a.getItemModel(A),c=l.getModel("textStyle"),u=new r.graphic.Text({style:r.helper.createTextStyle(c),scaleX:1/s.info.mu,scaleY:1/s.info.mu,x:(s.gx+s.info.gw/2)*o,y:(s.gy+s.info.gh/2)*o,rotation:s.rot});u.setStyle({x:s.info.fillTextOffsetX,y:s.info.fillTextOffsetY+.5*n,text:e,verticalAlign:"middle",fill:a.getItemVisual(A,"style").fill,fontSize:n}),i.add(u),a.setItemGraphicEl(A,u),u.ensureState("emphasis").style=r.helper.createTextStyle(l.getModel(["emphasis","textStyle"]),{state:"emphasis"}),u.ensureState("blur").style=r.helper.createTextStyle(l.getModel(["blur","textStyle"]),{state:"blur"}),r.helper.enableHoverEmphasis(u,l.get(["emphasis","focus"]),l.get(["emphasis","blurScope"])),u.stateTransition={duration:t.get("animation")?t.get(["stateAnimation","duration"]):0,easing:t.get(["stateAnimation","easing"])},u.__highDownDispatcher=!0},this._model=t},remove:function(){this.group.removeAll(),this._model.layoutInstance.dispose()},dispose:function(){this._model.layoutInstance.dispose()}}),window.setImmediate||(window.setImmediate=window.msSetImmediate||window.webkitSetImmediate||window.mozSetImmediate||window.oSetImmediate||function(){if(!window.postMessage||!window.addEventListener)return null;var t=[void 0],e="zero-timeout-message";return window.addEventListener("message",(function(n){if("string"==typeof n.data&&n.data.substr(0,e.length)===e){n.stopImmediatePropagation();var r=parseInt(n.data.substr(e.length),36);t[r]&&(t[r](),t[r]=void 0)}}),!0),window.clearImmediate=function(e){t[e]&&(t[e]=void 0)},function(n){var r=t.length;return t.push(n),window.postMessage(e+r.toString(36),"*"),r}}()||function(t){window.setTimeout(t,0)}),window.clearImmediate||(window.clearImmediate=window.msClearImmediate||window.webkitClearImmediate||window.mozClearImmediate||window.oClearImmediate||function(t){window.clearTimeout(t)});var i=function(){var t=document.createElement("canvas");if(!t||!t.getContext)return!1;var e=t.getContext("2d");return!!(e.getImageData&&e.fillText&&Array.prototype.some&&Array.prototype.push)}(),a=function(){if(i){for(var t,e,n=document.createElement("canvas").getContext("2d"),r=20;r;){if(n.font=r.toString(10)+"px sans-serif",n.measureText("W").width===t&&n.measureText("m").width===e)return r+1;t=n.measureText("W").width,e=n.measureText("m").width,r--}return 0}}(),o=function(t){for(var e,n,r=t.length;r;e=Math.floor(Math.random()*r),n=t[--r],t[r]=t[e],t[e]=n);return t},A=function(t,e){if(i){Array.isArray(t)||(t=[t]),t.forEach((function(e,n){if("string"==typeof e){if(t[n]=document.getElementById(e),!t[n])throw"The element id specified is not found."}else if(!e.tagName&&!e.appendChild)throw"You must pass valid HTML elements, or ID of the element."}));var n={list:[],fontFamily:'"Trebuchet MS", "Heiti TC", "微軟正黑體", "Arial Unicode MS", "Droid Fallback Sans", sans-serif',fontWeight:"normal",color:"random-dark",minSize:0,weightFactor:1,clearCanvas:!0,backgroundColor:"#fff",gridSize:8,drawOutOfBound:!1,origin:null,drawMask:!1,maskColor:"rgba(255,0,0,0.3)",maskGapWidth:.3,layoutAnimation:!0,wait:0,abortThreshold:0,abort:function(){},minRotation:-Math.PI/2,maxRotation:Math.PI/2,rotationStep:.1,shuffle:!0,rotateRatio:.1,shape:"circle",ellipticity:.65,classes:null,hover:null,click:null};if(e)for(var r in e)r in n&&(n[r]=e[r]);if("function"!=typeof n.weightFactor){var A=n.weightFactor;n.weightFactor=function(t){return t*A}}if("function"!=typeof n.shape)switch(n.shape){case"circle":default:n.shape="circle";break;case"cardioid":n.shape=function(t){return 1-Math.sin(t)};break;case"diamond":case"square":n.shape=function(t){var e=t%(2*Math.PI/4);return 1/(Math.cos(e)+Math.sin(e))};break;case"triangle-forward":n.shape=function(t){var e=t%(2*Math.PI/3);return 1/(Math.cos(e)+Math.sqrt(3)*Math.sin(e))};break;case"triangle":case"triangle-upright":n.shape=function(t){var e=(t+3*Math.PI/2)%(2*Math.PI/3);return 1/(Math.cos(e)+Math.sqrt(3)*Math.sin(e))};break;case"pentagon":n.shape=function(t){var e=(t+.955)%(2*Math.PI/5);return 1/(Math.cos(e)+.726543*Math.sin(e))};break;case"star":n.shape=function(t){var e=(t+.955)%(2*Math.PI/10);return(t+.955)%(2*Math.PI/5)-2*Math.PI/10>=0?1/(Math.cos(2*Math.PI/10-e)+3.07768*Math.sin(2*Math.PI/10-e)):1/(Math.cos(e)+3.07768*Math.sin(e))}}n.gridSize=Math.max(Math.floor(n.gridSize),4);var s,l,c,u,d,h,f,p=n.gridSize,m=p-n.maskGapWidth,g=Math.abs(n.maxRotation-n.minRotation),v=Math.min(n.maxRotation,n.minRotation),_=n.rotationStep;switch(n.color){case"random-dark":f=function(){return S(10,50)};break;case"random-light":f=function(){return S(50,90)};break;default:"function"==typeof n.color&&(f=n.color)}var y=null;"function"==typeof n.classes&&(y=n.classes);var b,w=!1,B=[],x=function(t){var e,n,r=t.currentTarget,i=r.getBoundingClientRect();t.touches?(e=t.touches[0].clientX,n=t.touches[0].clientY):(e=t.clientX,n=t.clientY);var a=e-i.left,o=n-i.top,A=Math.floor(a*(r.width/i.width||1)/p),s=Math.floor(o*(r.height/i.height||1)/p);return B[A][s]},C=function(t){var e=x(t);b!==e&&(b=e,e?n.hover(e.item,e.dimension,t):n.hover(void 0,void 0,t))},k=function(t){var e=x(t);e&&(n.click(e.item,e.dimension,t),t.preventDefault())},Q=[],E=function(t){if(Q[t])return Q[t];var e=8*t,r=e,i=[];for(0===t&&i.push([u[0],u[1],0]);r--;){var a=1;"circle"!==n.shape&&(a=n.shape(r/e*2*Math.PI)),i.push([u[0]+t*a*Math.cos(-r/e*2*Math.PI),u[1]+t*a*Math.sin(-r/e*2*Math.PI)*n.ellipticity,r/e*2*Math.PI])}return Q[t]=i,i},F=function(){return n.abortThreshold>0&&(new Date).getTime()-h>n.abortThreshold},U=function(e,n,r,i,a){e>=l||n>=c||e<0||n<0||(s[e][n]=!1,r&&t[0].getContext("2d").fillRect(e*p,n*p,m,m),w&&(B[e][n]={item:a,dimension:i}))},O=function(e,n,r){if(n)return!t.some((function(t){var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,!0,n,r||{}),!t.dispatchEvent(i)}),this);t.forEach((function(t){var i=document.createEvent("CustomEvent");i.initCustomEvent(e,!0,n,r||{}),t.dispatchEvent(i)}),this)};!function(){var e=t[0];if(e.getContext)l=Math.ceil(e.width/p),c=Math.ceil(e.height/p);else{var r=e.getBoundingClientRect();l=Math.ceil(r.width/p),c=Math.ceil(r.height/p)}if(O("wordcloudstart",!0)){var i,A,m,x,Q;if(u=n.origin?[n.origin[0]/p,n.origin[1]/p]:[l/2,c/2],d=Math.floor(Math.sqrt(l*l+c*c)),s=[],!e.getContext||n.clearCanvas)for(t.forEach((function(t){if(t.getContext){var e=t.getContext("2d");e.fillStyle=n.backgroundColor,e.clearRect(0,0,l*(p+1),c*(p+1)),e.fillRect(0,0,l*(p+1),c*(p+1))}else t.textContent="",t.style.backgroundColor=n.backgroundColor,t.style.position="relative"})),i=l;i--;)for(s[i]=[],A=c;A--;)s[i][A]=!0;else{var S=document.createElement("canvas").getContext("2d");S.fillStyle=n.backgroundColor,S.fillRect(0,0,1,1);var T,I,D=S.getImageData(0,0,1,1).data,L=e.getContext("2d").getImageData(0,0,l*p,c*p).data;for(i=l;i--;)for(s[i]=[],A=c;A--;){I=p;t:for(;I--;)for(T=p;T--;)for(m=4;m--;)if(L[4*((A*p+I)*l*p+(i*p+T))+m]!==D[m]){s[i][A]=!1;break t}!1!==s[i][A]&&(s[i][A]=!0)}L=S=D=void 0}if(n.hover||n.click){for(w=!0,i=l+1;i--;)B[i]=[];n.hover&&e.addEventListener("mousemove",C),n.click&&(e.addEventListener("click",k),e.addEventListener("touchstart",k),e.addEventListener("touchend",(function(t){t.preventDefault()})),e.style.webkitTapHighlightColor="rgba(0, 0, 0, 0)"),e.addEventListener("wordcloudstart",(function t(){e.removeEventListener("wordcloudstart",t),e.removeEventListener("mousemove",C),e.removeEventListener("click",k),b=void 0}))}m=0;var P=!0;n.layoutAnimation?0!==n.wait?(x=window.setTimeout,Q=window.clearTimeout):(x=window.setImmediate,Q=window.clearImmediate):(x=function(t){t()},Q=function(){P=!1});var N=function(e,n){t.forEach((function(t){t.removeEventListener(e,n)}),this)},H=function t(){N("wordcloudstart",t),Q(M)};!function(e,n){t.forEach((function(t){t.addEventListener("wordcloudstart",n)}),this)}(0,H);var M=(n.layoutAnimation?x:setTimeout)((function e(){if(P){if(m>=n.list.length)return Q(M),O("wordcloudstop",!1),void N("wordcloudstart",H);h=(new Date).getTime();var r=function(e){var r,i,A;Array.isArray(e)?(r=e[0],i=e[1]):(r=e.word,i=e.weight,A=e.attributes);var u,h,m,b=0===n.rotateRatio||Math.random()>n.rotateRatio?0:0===g?v:v+Math.round(Math.random()*g/_)*_,B=function(t,e,r){var i=n.weightFactor(e);if(i<=n.minSize)return!1;var o=1;i<a&&(o=function(){for(var t=2;t*i<a;)t+=2;return t}());var A=document.createElement("canvas"),s=A.getContext("2d",{willReadFrequently:!0});s.font=n.fontWeight+" "+(i*o).toString(10)+"px "+n.fontFamily;var l=s.measureText(t).width/o,c=Math.max(i*o,s.measureText("m").width,s.measureText("W").width)/o,u=l+2*c,d=3*c,h=Math.ceil(u/p),f=Math.ceil(d/p);u=h*p,d=f*p;var m=-l/2,g=.4*-c,v=Math.ceil((u*Math.abs(Math.sin(r))+d*Math.abs(Math.cos(r)))/p),_=Math.ceil((u*Math.abs(Math.cos(r))+d*Math.abs(Math.sin(r)))/p),y=_*p,b=v*p;A.setAttribute("width",y),A.setAttribute("height",b),s.scale(1/o,1/o),s.translate(y*o/2,b*o/2),s.rotate(-r),s.font=n.fontWeight+" "+(i*o).toString(10)+"px "+n.fontFamily,s.fillStyle="#000",s.textBaseline="middle",s.fillText(t,m*o,(g+.5*i)*o);var w=s.getImageData(0,0,y,b).data;if(F())return!1;for(var B,x,C,k=[],Q=_,E=[v/2,_/2,v/2,_/2];Q--;)for(B=v;B--;){C=p;t:for(;C--;)for(x=p;x--;)if(w[4*((B*p+C)*y+(Q*p+x))+3]){k.push([Q,B]),Q<E[3]&&(E[3]=Q),Q>E[1]&&(E[1]=Q),B<E[0]&&(E[0]=B),B>E[2]&&(E[2]=B);break t}}return{mu:o,occupied:k,bounds:E,gw:_,gh:v,fillTextOffsetX:m,fillTextOffsetY:g,fillTextWidth:l,fillTextHeight:c,fontSize:i}}(r,i,b);if(!B)return!1;if(F())return!1;if(!n.drawOutOfBound){var x=B.bounds;if(x[1]-x[3]+1>l||x[2]-x[0]+1>c)return!1}for(var C=d+1;C--;){var k=E(d-C);n.shuffle&&(k=[].concat(k),o(k));for(var Q=0;Q<k.length;Q++){var O=(u=k[Q],h=void 0,m=void 0,h=Math.floor(u[0]-B.gw/2),m=Math.floor(u[1]-B.gh/2),B.gw,B.gh,!!function(t,e,r,i,a){for(var o=a.length;o--;){var A=t+a[o][0],u=e+a[o][1];if(A>=l||u>=c||A<0||u<0){if(!n.drawOutOfBound)return!1}else if(!s[A][u])return!1}return!0}(h,m,0,0,B.occupied)&&(function(e,r,i,a,o,A,s,l,c){var u,d,h=i.fontSize;u=f?f(a,o,h,A,s):n.color,d=y?y(a,o,h,A,s):n.classes;var m=i.bounds;m[3],m[0],m[1],m[3],m[2],m[0],t.forEach((function(t){if(t.getContext){var o=t.getContext("2d"),A=i.mu;o.save(),o.scale(1/A,1/A),o.font=n.fontWeight+" "+(h*A).toString(10)+"px "+n.fontFamily,o.fillStyle=u,o.translate((e+i.gw/2)*p*A,(r+i.gh/2)*p*A),0!==l&&o.rotate(-l),o.textBaseline="middle",o.fillText(a,i.fillTextOffsetX*A,(i.fillTextOffsetY+.5*h)*A),o.restore()}else{var s=document.createElement("span"),f="";f="rotate("+-l/Math.PI*180+"deg) ",1!==i.mu&&(f+="translateX(-"+i.fillTextWidth/4+"px) scale("+1/i.mu+")");var m={position:"absolute",display:"block",font:n.fontWeight+" "+h*i.mu+"px "+n.fontFamily,left:(e+i.gw/2)*p+i.fillTextOffsetX+"px",top:(r+i.gh/2)*p+i.fillTextOffsetY+"px",width:i.fillTextWidth+"px",height:i.fillTextHeight+"px",lineHeight:h+"px",whiteSpace:"nowrap",transform:f,webkitTransform:f,msTransform:f,transformOrigin:"50% 40%",webkitTransformOrigin:"50% 40%",msTransformOrigin:"50% 40%"};for(var g in u&&(m.color=u),s.textContent=a,m)s.style[g]=m[g];if(c)for(var v in c)s.setAttribute(v,c[v]);d&&(s.className+=d),t.appendChild(s)}}))}(h,m,B,r,i,d-C,u[2],b,A),function(e,r,i,a,o,A){var s,u,d=o.occupied,h=n.drawMask;if(h&&((s=t[0].getContext("2d")).save(),s.fillStyle=n.maskColor),w){var f=o.bounds;u={x:(e+f[3])*p,y:(r+f[0])*p,w:(f[1]-f[3]+1)*p,h:(f[2]-f[0]+1)*p}}for(var m=d.length;m--;){var g=e+d[m][0],v=r+d[m][1];g>=l||v>=c||g<0||v<0||U(g,v,h,u,A)}h&&s.restore()}(h,m,0,0,B,e),{gx:h,gy:m,rot:b,info:B}));if(O)return O}}return null}(n.list[m]),i=!O("wordclouddrawn",!0,{item:n.list[m],drawn:r});if(F()||i)return Q(M),n.abort(),O("wordcloudabort",!1),O("wordcloudstop",!1),void N("wordcloudstart",H);m++,M=x(e,n.wait)}}),n.wait)}}()}function S(t,e){return"hsl("+(360*Math.random()).toFixed()+","+(30*Math.random()+70).toFixed()+"%,"+(Math.random()*(e-t)+t).toFixed()+"%)"}};A.isSupported=i,A.minFontSize=a;const s=A;if(!s.isSupported)throw new Error("Sorry your browser not support wordCloud");r.registerLayout((function(t,e){t.eachSeriesByType("wordCloud",(function(n){var i=r.helper.getLayoutRect(n.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),a=n.getData(),o=document.createElement("canvas");o.width=i.width,o.height=i.height;var A=o.getContext("2d"),l=n.get("maskImage");if(l)try{A.drawImage(l,0,0,o.width,o.height),function(t){for(var e=t.getContext("2d"),n=e.getImageData(0,0,t.width,t.height),r=e.createImageData(n),i=0,a=0,o=0;o<n.data.length;o+=4)n.data[o+3]>128&&(i+=s=n.data[o]+n.data[o+1]+n.data[o+2],++a);var A=i/a;for(o=0;o<n.data.length;o+=4){var s=n.data[o]+n.data[o+1]+n.data[o+2];n.data[o+3]<128||s>A?(r.data[o]=0,r.data[o+1]=0,r.data[o+2]=0,r.data[o+3]=0):(r.data[o]=255,r.data[o+1]=255,r.data[o+2]=255,r.data[o+3]=255)}e.putImageData(r,0,0)}(o)}catch(t){console.error("Invalid mask image"),console.error(t.toString())}var c=n.get("sizeRange"),u=n.get("rotationRange"),d=a.getDataExtent("value"),h=Math.PI/180,f=n.get("gridSize");function p(t){var e=t.detail.item;t.detail.drawn&&n.layoutInstance.ondraw&&(t.detail.drawn.gx+=i.x/f,t.detail.drawn.gy+=i.y/f,n.layoutInstance.ondraw(e[0],e[1],e[2],t.detail.drawn))}s(o,{list:a.mapArray("value",(function(t,e){var n=a.getItemModel(e);return[a.getName(e),n.get("textStyle.fontSize",!0)||r.number.linearMap(t,d,c),e]})).sort((function(t,e){return e[1]-t[1]})),fontFamily:n.get("textStyle.fontFamily")||n.get("emphasis.textStyle.fontFamily")||t.get("textStyle.fontFamily"),fontWeight:n.get("textStyle.fontWeight")||n.get("emphasis.textStyle.fontWeight")||t.get("textStyle.fontWeight"),gridSize:f,ellipticity:i.height/i.width,minRotation:u[0]*h,maxRotation:u[1]*h,clearCanvas:!l,rotateRatio:1,rotationStep:n.get("rotationStep")*h,drawOutOfBound:n.get("drawOutOfBound"),layoutAnimation:n.get("layoutAnimation"),shuffle:!1,shape:n.get("shape")}),o.addEventListener("wordclouddrawn",p),n.layoutInstance&&n.layoutInstance.dispose(),n.layoutInstance={ondraw:null,dispose:function(){o.removeEventListener("wordclouddrawn",p),o.addEventListener("wordclouddrawn",(function(t){t.preventDefault()}))}}}))})),r.registerPreprocessor((function(t){var e=(t||{}).series;!r.util.isArray(e)&&(e=e?[e]:[]);var n=["shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function i(t){t&&r.util.each(n,(function(e){t.hasOwnProperty(e)&&(t["text"+r.format.capitalFirst(e)]=t[e])}))}r.util.each(e,(function(t){if(t&&"wordCloud"===t.type){var e=t.textStyle||{};i(e.normal),i(e.emphasis)}}))}))},83:e=>{e.exports=t}},n={};function r(t){if(n[t])return n[t].exports;var i=n[t]={exports:{}};return e[t](i,i.exports,r),i.exports}return r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r(638)})()}))},da2d:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className,style:{height:t.height,width:t.width},attrs:{id:t.id}})},i=[],a=(n("d3b7"),n("159b"),n("99af"),n("b0c0"),n("313e")),o=n.n(a),A=n("feb2"),s={mixins:[A["default"]],props:{className:{type:String,default:"chart"},id:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"400px"},data:{type:Object,default:{}}},data:function(){return{chart:null}},watch:{data:{handler:function(t,e){t&&this.initChart()},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){var t=this;this.chart=o.a.init(document.getElementById(this.id));var e=[],n=[];t.data.seriesData.forEach((function(t,r){var i={name:"",type:"bar",data:[]};t.stack&&(i.stack=t.stack),t.data&&(i.data=[].concat(t.data)),t.name&&(i.name=t.name,n.push(t.name)),1==r&&(i.yAxisIndex=1),e.push(i)}));var r={tooltip:{trigger:"axis",axisPointer:{type:"shadow"},formatter:function(t){var e="";return t[0]&&(e+=t[0].axisValue+"<br />"+t[0].seriesName+":"+t[0].value+"万<br />"),t[1]&&(e+=t[1].seriesName+":"+t[1].value+"元"),e}},color:t.data.color,legend:{left:"center",top:10,data:n},grid:{top:"30%",left:"2%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",data:t.data.xAxisData,axisTick:{show:!1},axisLine:{lineStyle:{color:"#4FAAF6"}},axisLabel:{fontSize:10,color:"#333",rotate:40}}],yAxis:[{type:"value",name:t.data.yAxisNameL,nameTextStyle:{color:"#333",fontSize:10},axisTick:{show:!1},axisLine:{lineStyle:{color:"#4FAAF6"}},axisLabel:{color:"#333"},splitLine:{lineStyle:{color:"#EFEFEF"}}},{type:"value",name:t.data.yAxisNameR,nameTextStyle:{color:"#333",fontSize:10},axisTick:{show:!1},axisLine:{lineStyle:{color:"#F39801"}},axisLabel:{color:"#333"},splitLine:{lineStyle:{color:"#EFEFEF"}}}],series:e};this.chart.setOption(r)}}},l=s,c=n("2877"),u=Object(c["a"])(l,r,i,!1,null,null,null);e["default"]=u.exports},da66:function(t,e,n){},da67:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAClElEQVRYhcXYO2gUURQA0JNNRFS0UNKIn0ZBsFEQ0oqFFlEUOxshIIqCH0RiUgXEaBIsLKKgTRAsRG0ULfxWIgRRsREVK/FXWGnwh6jFzJLJ7mb37bxJ9jZz5w1z9+zdmTfztm3lk+8KiB70YxXaCqj3DqM401FAsT6cLqBONlZgBO2xwCxuApfxK7JmO3ZhCY7GALO4r9iM8WaL9NweqRob6+79i0PoLLUSVyf+lZM8wJnGTYlmgbOKg2auwRjcXKzFH7xMt0ER2sEY3AF8xlO8wEfsDgWGdDAGtxfnKsY6cQm/caVRgUYdHIzAdeBUmk9IvugAfqZjwwKeOvU6OITjOXGwRjLZSqHDab4AvZKnxVJ8qFdkug7G4ph6IyzI5PMz+d9GRWp1sAgcvMF7LJN0bBHmSK5LeIVPzQKLwpF05yiuprCDFceOhBTJ/sRF4spxDdvxOjP2AltwpxlgLdxq3MCGSORNyQ3TicVYh/uhJ3dgTw3cOK5Lrp+NiunmlzwnlTK4bxWQC+l2Ee6iK0aXN0pYnuYPTO3SSZNzV8uQJTxL8x3YX3G8T2uQ7eWkhGP4ke6f12LkWHdvl8mXic8lPMbWCuThViBT3N30M2CwPM08rECeTVGzhqyBG+65PTKanagrkadnCzkNrg/aaizcN+EW5qX7/ZKJPBtFPnWmxVH7bSa0kwNpHtPJurjpgKHIE5Lu5kU2xNUDhiKHciKDcI2AM4UMxoUAY5DrY3GhwLzIvRXHq3A1alRFMwv3MrI8BZVXe9kpaEiygtuJi7E4mv/rI6STo5K59HksLg8wFFmOKFxeIGHIaFwMkPrIQnCxQGojb+JeETjigVQjt2FhmkfhKAZIgtyIR/iOt9gnEgf/AWpU9vEmJLLEAAAAAElFTkSuQmCC"},da6b:function(t,e,n){},dab2:function(t,e,n){"use strict";n("4b43")},dd7b:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"allConDiv"},[t._m(0),n("div",{staticClass:"login"},[n("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{model:t.loginForm,rules:t.loginRules}},[n("h3",{staticClass:"title"},[n("span",{staticClass:"orangeLine"}),t._v("用户登录")]),n("el-form-item",{attrs:{prop:"username"}},[n("el-input",{attrs:{type:"text","auto-complete":"off",placeholder:"账号"},model:{value:t.loginForm.username,callback:function(e){t.$set(t.loginForm,"username",e)},expression:"loginForm.username"}},[n("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"user"},slot:"prefix"})],1)],1),n("el-form-item",{attrs:{prop:"password"}},[n("el-input",{attrs:{type:"password","auto-complete":"off",placeholder:"密码"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleLogin(e)}},model:{value:t.loginForm.password,callback:function(e){t.$set(t.loginForm,"password",e)},expression:"loginForm.password"}},[n("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"password"},slot:"prefix"})],1)],1),n("el-form-item",{attrs:{prop:"code"}},[n("el-input",{staticStyle:{width:"63%"},attrs:{"auto-complete":"off",placeholder:"验证码"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleLogin(e)}},model:{value:t.loginForm.code,callback:function(e){t.$set(t.loginForm,"code",e)},expression:"loginForm.code"}},[n("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"validCode"},slot:"prefix"})],1),n("div",{staticClass:"login-code"},[n("img",{staticClass:"login-code-img",attrs:{src:t.codeUrl},on:{click:t.getCode}})])],1),n("el-checkbox",{staticStyle:{margin:"0px 0px 25px 0px"},model:{value:t.loginForm.rememberMe,callback:function(e){t.$set(t.loginForm,"rememberMe",e)},expression:"loginForm.rememberMe"}},[t._v("记住密码")]),n("el-form-item",{staticStyle:{width:"100%"}},[n("el-button",{staticStyle:{width:"100%"},attrs:{loading:t.loading,size:"medium",type:"primary"},nativeOn:{click:function(e){return e.preventDefault(),t.handleLogin(e)}}},[t.loading?n("span",[t._v("登 录 中...")]):n("span",[t._v("登 录")])])],1)],1)],1),n("div",{staticClass:"footerDiv"},[t._v(" © 2020上海人寿保险股份有限公司")])])},i=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"headerDiv"},[r("img",{attrs:{src:n("81a5")}}),r("span",{staticClass:"line"}),r("span",{staticClass:"text"},[t._v("客户统一视图管理系统")])])}],a=n("7ded"),o=n("a78e"),A=n.n(o),s=n("720d"),l=n.n(s),c="MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKoR8mX0rGKLqzcWmOzbfj64K8ZIgOdH\nnzkXSOVOZbFu/TJhZ7rFAN+eaGkl3C4buccQd/EjEsj9ir7ijT7h96MCAwEAAQ==",u="MIIBVAIBADANBgkqhkiG9w0BAQEFAASCAT4wggE6AgEAAkEAqhHyZfSsYourNxaY\n7Nt+PrgrxkiA50efORdI5U5lsW79MmFnusUA355oaSXcLhu5xxB38SMSyP2KvuKN\nPuH3owIDAQABAkAfoiLyL+Z4lf4Myxk6xUDgLaWGximj20CUf+5BKKnlrK+Ed8gA\nkM0HqoTt2UZwA5E2MzS4EI2gjfQhz5X28uqxAiEA3wNFxfrCZlSZHb0gn2zDpWow\ncSxQAgiCstxGUoOqlW8CIQDDOerGKH5OmCJ4Z21v+F25WaHYPxCFMvwxpcw99Ecv\nDQIgIdhDTIqD2jfYjPTY8Jj3EDGPbH2HHuffvflECt3Ek60CIQCFRlCkHpi7hthh\nYhovyloRYsM+IS9h/0BzlEAuO0ktMQIgSPT3aFAgJYwKpqRYKlLDVcflZFCKY7u3\nUP8iWi1Qw0Y=";function d(t){var e=new l.a;return e.setPublicKey(c),e.encrypt(t)}function h(t){var e=new l.a;return e.setPrivateKey(u),e.decrypt(t)}var f={name:"Login",data:function(){return{codeUrl:"",cookiePassword:"",loginForm:{username:"",password:"",rememberMe:!1,code:"",uuid:""},loginRules:{username:[{required:!0,trigger:"blur",message:"用户名不能为空"}],password:[{required:!0,trigger:"blur",message:"密码不能为空"}],code:[{required:!0,trigger:"change",message:"验证码不能为空"}]},loading:!1,redirect:void 0}},watch:{$route:{handler:function(t){this.redirect=t.query&&t.query.redirect},immediate:!0}},created:function(){this.getCode(),this.getCookie()},methods:{getCode:function(){var t=this;Object(a["a"])().then((function(e){t.codeUrl="data:image/gif;base64,"+e.img,t.loginForm.uuid=e.uuid}))},getCookie:function(){var t=A.a.get("username"),e=A.a.get("password"),n=A.a.get("rememberMe");this.loginForm={username:void 0===t?this.loginForm.username:t,password:void 0===e?this.loginForm.password:h(e),rememberMe:void 0!==n&&Boolean(n)}},handleLogin:function(){var t=this;this.$refs.loginForm.validate((function(e){e&&(t.loading=!0,t.loginForm.rememberMe?(A.a.set("username",t.loginForm.username,{expires:30}),A.a.set("password",d(t.loginForm.password),{expires:30}),A.a.set("rememberMe",t.loginForm.rememberMe,{expires:30})):(A.a.remove("username"),A.a.remove("password"),A.a.remove("rememberMe")),t.$store.dispatch("Login",t.loginForm).then((function(){t.$router.push({path:t.redirect||"/"})})).catch((function(){t.loading=!1,t.getCode()})))}))}}},p=f,m=(n("eecc"),n("2877")),g=Object(m["a"])(p,r,i,!1,null,null,null);e["default"]=g.exports},dda6:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className,style:{height:t.height,width:t.width},attrs:{id:t.id}})},i=[],a=(n("d3b7"),n("159b"),n("b0c0"),n("313e")),o=n.n(a),A=n("feb2"),s={mixins:[A["default"]],props:{className:{type:String,default:"chart"},id:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"400px"},data:{type:Object,default:{}}},data:function(){return{chart:null}},watch:{data:{handler:function(t,e){t&&this.initChart()},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){var t=this;this.chart=o.a.init(document.getElementById(this.id));var e=[];t.data.seriesData.forEach((function(t,n){t.name&&e.push(t.name)}));var n={tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c} ({d}%)"},color:t.data.color,legend:{left:"right",top:"middle",orient:"vertical",data:e},series:[{name:"拥有保单件数分布",type:"pie",radius:["30%","75%"],center:["40%","55%"],label:{show:!1,formatter:"{b}:\n{d}%"},data:this.data.seriesData}]};this.chart.setOption(n)}}},l=s,c=n("2877"),u=Object(c["a"])(l,r,i,!1,null,null,null);e["default"]=u.exports},de0a:function(t){t.exports=JSON.parse('["platform-eleme","eleme","delete-solid","delete","s-tools","setting","user-solid","user","phone","phone-outline","more","more-outline","star-on","star-off","s-goods","goods","warning","warning-outline","question","info","remove","circle-plus","success","error","zoom-in","zoom-out","remove-outline","circle-plus-outline","circle-check","circle-close","s-help","help","minus","plus","check","close","picture","picture-outline","picture-outline-round","upload","upload2","download","camera-solid","camera","video-camera-solid","video-camera","message-solid","bell","s-cooperation","s-order","s-platform","s-fold","s-unfold","s-operation","s-promotion","s-home","s-release","s-ticket","s-management","s-open","s-shop","s-marketing","s-flag","s-comment","s-finance","s-claim","s-custom","s-opportunity","s-data","s-check","s-grid","menu","share","d-caret","caret-left","caret-right","caret-bottom","caret-top","bottom-left","bottom-right","back","right","bottom","top","top-left","top-right","arrow-left","arrow-right","arrow-down","arrow-up","d-arrow-left","d-arrow-right","video-pause","video-play","refresh","refresh-right","refresh-left","finished","sort","sort-up","sort-down","rank","loading","view","c-scale-to-original","date","edit","edit-outline","folder","folder-opened","folder-add","folder-remove","folder-delete","folder-checked","tickets","document-remove","document-delete","document-copy","document-checked","document","document-add","printer","paperclip","takeaway-box","search","monitor","attract","mobile","scissors","umbrella","headset","brush","mouse","coordinate","magic-stick","reading","data-line","data-board","pie-chart","data-analysis","collection-tag","film","suitcase","suitcase-1","receiving","collection","files","notebook-1","notebook-2","toilet-paper","office-building","school","table-lamp","house","no-smoking","smoking","shopping-cart-full","shopping-cart-1","shopping-cart-2","shopping-bag-1","shopping-bag-2","sold-out","sell","present","box","bank-card","money","coin","wallet","discount","price-tag","news","guide","male","female","thumb","cpu","link","connection","open","turn-off","set-up","chat-round","chat-line-round","chat-square","chat-dot-round","chat-dot-square","chat-line-square","message","postcard","position","turn-off-microphone","microphone","close-notification","bangzhu","time","odometer","crop","aim","switch-button","full-screen","copy-document","mic","stopwatch","medal-1","medal","trophy","trophy-1","first-aid-kit","discover","place","location","location-outline","location-information","add-location","delete-location","map-location","alarm-clock","timer","watch-1","watch","lock","unlock","key","service","mobile-phone","bicycle","truck","ship","basketball","football","soccer","baseball","wind-power","light-rain","lightning","heavy-rain","sunrise","sunrise-1","sunset","sunny","cloudy","partly-cloudy","cloudy-and-sunny","moon","moon-night","dish","dish-1","food","chicken","fork-spoon","knife-fork","burger","tableware","sugar","dessert","ice-cream","hot-water","water-cup","coffee-cup","cold-drink","goblet","goblet-full","goblet-square","goblet-square-full","refrigerator","grape","watermelon","cherry","apple","pear","orange","coffee","ice-tea","ice-drink","milk-tea","potato-strips","lollipop","ice-cream-square","ice-cream-round"]')},dfbc:function(t,e,n){},e3db:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},e4ce:function(t,e,n){"use strict";n("f9d8")},e552:function(t,e,n){"use strict";var r,i;function a(t,e,n){var r=function(e,n){return t.js_beautify(e,n)};return r.js=t.js_beautify,r.css=e.css_beautify,r.html=n.html_beautify,r.js_beautify=t.js_beautify,r.css_beautify=e.css_beautify,r.html_beautify=n.html_beautify,r}r=[n("e943"),n("4d7c"),n("a6c1")],i=function(t,e,n){return a(t,e,n)}.apply(e,r),void 0===i||(t.exports=i)},e58c:function(t,e,n){"use strict";var r=n("fc6a"),i=n("a691"),a=n("50c4"),o=n("a640"),A=n("ae40"),s=Math.min,l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0,u=o("lastIndexOf"),d=A("indexOf",{ACCESSORS:!0,1:0}),h=c||!u||!d;t.exports=h?function(t){if(c)return l.apply(this,arguments)||0;var e=r(this),n=a(e.length),o=n-1;for(arguments.length>1&&(o=s(o,i(arguments[1]))),o<0&&(o=n+o);o>=0;o--)if(o in e&&e[o]===t)return o||0;return-1}:l},e601:function(t,e,n){},e91f:function(t,e,n){"use strict";var r=n("ebb5"),i=n("4d64").indexOf,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("indexOf",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},e943:function(t,e,n){var r,i;(function(){var n=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";var r=n(1).Beautifier,i=n(5).Options;function a(t,e){var n=new r(t,e);return n.beautify()}t.exports=a,t.exports.defaultOptions=function(){return new i}},function(t,e,n){"use strict";var r=n(2).Output,i=n(3).Token,a=n(4),o=n(5).Options,A=n(7).Tokenizer,s=n(7).line_starters,l=n(7).positionable_operators,c=n(7).TOKEN;function u(t,e){return-1!==e.indexOf(t)}function d(t){return t.replace(/^\s+/g,"")}function h(t){for(var e={},n=0;n<t.length;n++)e[t[n].replace(/-/g,"_")]=t[n];return e}function f(t,e){return t&&t.type===c.RESERVED&&t.text===e}function p(t,e){return t&&t.type===c.RESERVED&&u(t.text,e)}var m=["case","return","do","if","throw","else","await","break","continue","async"],g=["before-newline","after-newline","preserve-newline"],v=h(g),_=[v.before_newline,v.preserve_newline],y={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function b(t,e){e.multiline_frame||e.mode===y.ForInitializer||e.mode===y.Conditional||t.remove_indent(e.start_line_index)}function w(t){t=t.replace(a.allLineBreaks,"\n");var e=[],n=t.indexOf("\n");while(-1!==n)e.push(t.substring(0,n)),t=t.substring(n+1),n=t.indexOf("\n");return t.length&&e.push(t),e}function B(t){return t===y.ArrayLiteral}function x(t){return u(t,[y.Expression,y.ForInitializer,y.Conditional])}function C(t,e){for(var n=0;n<t.length;n++){var r=t[n].trim();if(r.charAt(0)!==e)return!1}return!0}function k(t,e){for(var n,r=0,i=t.length;r<i;r++)if(n=t[r],n&&0!==n.indexOf(e))return!1;return!0}function Q(t,e){e=e||{},this._source_text=t||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new o(e)}Q.prototype.create_flags=function(t,e){var n=0;t&&(n=t.indentation_level,!this._output.just_added_newline()&&t.line_indent_level>n&&(n=t.line_indent_level));var r={mode:e,parent:t,last_token:t?t.last_token:new i(c.START_BLOCK,""),last_word:t?t.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:n,alignment:0,line_indent_level:t?t.line_indent_level:n,start_line_index:this._output.get_line_number(),ternary_depth:0};return r},Q.prototype._reset=function(t){var e=t.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new r(this._options,e),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(y.BlockStatement);var n=new A(t,this._options);return this._tokens=n.tokenize(),t},Q.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t,e=this._reset(this._source_text),n=this._options.eol;"auto"===this._options.eol&&(n="\n",e&&a.lineBreak.test(e||"")&&(n=e.match(a.lineBreak)[0]));var r=this._tokens.next();while(r)this.handle_token(r),this._last_last_text=this._flags.last_token.text,this._flags.last_token=r,r=this._tokens.next();return t=this._output.get_code(n),t},Q.prototype.handle_token=function(t,e){t.type===c.START_EXPR?this.handle_start_expr(t):t.type===c.END_EXPR?this.handle_end_expr(t):t.type===c.START_BLOCK?this.handle_start_block(t):t.type===c.END_BLOCK?this.handle_end_block(t):t.type===c.WORD||t.type===c.RESERVED?this.handle_word(t):t.type===c.SEMICOLON?this.handle_semicolon(t):t.type===c.STRING?this.handle_string(t):t.type===c.EQUALS?this.handle_equals(t):t.type===c.OPERATOR?this.handle_operator(t):t.type===c.COMMA?this.handle_comma(t):t.type===c.BLOCK_COMMENT?this.handle_block_comment(t,e):t.type===c.COMMENT?this.handle_comment(t,e):t.type===c.DOT?this.handle_dot(t):t.type===c.EOF?this.handle_eof(t):(t.type,c.UNKNOWN,this.handle_unknown(t,e))},Q.prototype.handle_whitespace_and_comments=function(t,e){var n=t.newlines,r=this._options.keep_array_indentation&&B(this._flags.mode);if(t.comments_before){var i=t.comments_before.next();while(i)this.handle_whitespace_and_comments(i,e),this.handle_token(i,e),i=t.comments_before.next()}if(r)for(var a=0;a<n;a+=1)this.print_newline(a>0,e);else if(this._options.max_preserve_newlines&&n>this._options.max_preserve_newlines&&(n=this._options.max_preserve_newlines),this._options.preserve_newlines&&n>1){this.print_newline(!1,e);for(var o=1;o<n;o+=1)this.print_newline(!0,e)}};var E=["async","break","continue","return","throw","yield"];Q.prototype.allow_wrap_or_preserved_newline=function(t,e){if(e=void 0!==e&&e,!this._output.just_added_newline()){var n=this._options.preserve_newlines&&t.newlines||e,r=u(this._flags.last_token.text,l)||u(t.text,l);if(r){var i=u(this._flags.last_token.text,l)&&u(this._options.operator_position,_)||u(t.text,l);n=n&&i}if(n)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(p(this._flags.last_token,E))return;this._output.set_wrap_point()}}},Q.prototype.print_newline=function(t,e){if(!e&&";"!==this._flags.last_token.text&&","!==this._flags.last_token.text&&"="!==this._flags.last_token.text&&(this._flags.last_token.type!==c.OPERATOR||"--"===this._flags.last_token.text||"++"===this._flags.last_token.text)){var n=this._tokens.peek();while(this._flags.mode===y.Statement&&(!this._flags.if_block||!f(n,"else"))&&!this._flags.do_block)this.restore_mode()}this._output.add_new_line(t)&&(this._flags.multiline_frame=!0)},Q.prototype.print_token_line_indentation=function(t){this._output.just_added_newline()&&(this._options.keep_array_indentation&&t.newlines&&("["===t.text||B(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(t.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},Q.prototype.print_token=function(t){if(this._output.raw)this._output.add_raw_token(t);else{if(this._options.comma_first&&t.previous&&t.previous.type===c.COMMA&&this._output.just_added_newline()&&","===this._output.previous_line.last()){var e=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(e),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(t),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(t),this._output.non_breaking_space=!0,this._output.add_token(t.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)}},Q.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},Q.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},Q.prototype.set_mode=function(t){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,t),this._flags=this.create_flags(this._previous_flags,t),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},Q.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===y.Statement&&b(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},Q.prototype.start_of_object_property=function(){return this._flags.parent.mode===y.ObjectLiteral&&this._flags.mode===y.Statement&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||p(this._flags.last_token,["get","set"]))},Q.prototype.start_of_statement=function(t){var e=!1;return e=e||p(this._flags.last_token,["var","let","const"])&&t.type===c.WORD,e=e||f(this._flags.last_token,"do"),e=e||!(this._flags.parent.mode===y.ObjectLiteral&&this._flags.mode===y.Statement)&&p(this._flags.last_token,E)&&!t.newlines,e=e||f(this._flags.last_token,"else")&&!(f(t,"if")&&!t.comments_before),e=e||this._flags.last_token.type===c.END_EXPR&&(this._previous_flags.mode===y.ForInitializer||this._previous_flags.mode===y.Conditional),e=e||this._flags.last_token.type===c.WORD&&this._flags.mode===y.BlockStatement&&!this._flags.in_case&&!("--"===t.text||"++"===t.text)&&"function"!==this._last_last_text&&t.type!==c.WORD&&t.type!==c.RESERVED,e=e||this._flags.mode===y.ObjectLiteral&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||p(this._flags.last_token,["get","set"])),!!e&&(this.set_mode(y.Statement),this.indent(),this.handle_whitespace_and_comments(t,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t,p(t,["do","for","if","while"])),!0)},Q.prototype.handle_start_expr=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t);var e=y.Expression;if("["===t.text){if(this._flags.last_token.type===c.WORD||")"===this._flags.last_token.text)return p(this._flags.last_token,s)&&(this._output.space_before_token=!0),this.print_token(t),this.set_mode(e),this.indent(),void(this._options.space_in_paren&&(this._output.space_before_token=!0));e=y.ArrayLiteral,B(this._flags.mode)&&("["!==this._flags.last_token.text&&(","!==this._flags.last_token.text||"]"!==this._last_last_text&&"}"!==this._last_last_text)||this._options.keep_array_indentation||this.print_newline()),u(this._flags.last_token.type,[c.START_EXPR,c.END_EXPR,c.WORD,c.OPERATOR])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===c.RESERVED)"for"===this._flags.last_token.text?(this._output.space_before_token=this._options.space_before_conditional,e=y.ForInitializer):u(this._flags.last_token.text,["if","while"])?(this._output.space_before_token=this._options.space_before_conditional,e=y.Conditional):u(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:"import"===this._flags.last_token.text&&""===t.whitespace_before?this._output.space_before_token=!1:(u(this._flags.last_token.text,s)||"catch"===this._flags.last_token.text)&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===c.EQUALS||this._flags.last_token.type===c.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t);else if(this._flags.last_token.type===c.WORD){this._output.space_before_token=!1;var n=this._tokens.peek(-3);if(this._options.space_after_named_function&&n){var r=this._tokens.peek(-4);p(n,["async","function"])||"*"===n.text&&p(r,["async","function"])?this._output.space_before_token=!0:this._flags.mode===y.ObjectLiteral&&("{"!==n.text&&","!==n.text&&("*"!==n.text||"{"!==r.text&&","!==r.text)||(this._output.space_before_token=!0))}}else this.allow_wrap_or_preserved_newline(t);(this._flags.last_token.type===c.RESERVED&&("function"===this._flags.last_word||"typeof"===this._flags.last_word)||"*"===this._flags.last_token.text&&(u(this._last_last_text,["function","yield"])||this._flags.mode===y.ObjectLiteral&&u(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}";"===this._flags.last_token.text||this._flags.last_token.type===c.START_BLOCK?this.print_newline():this._flags.last_token.type!==c.END_EXPR&&this._flags.last_token.type!==c.START_EXPR&&this._flags.last_token.type!==c.END_BLOCK&&"."!==this._flags.last_token.text&&this._flags.last_token.type!==c.COMMA||this.allow_wrap_or_preserved_newline(t,t.newlines),this.print_token(t),this.set_mode(e),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},Q.prototype.handle_end_expr=function(t){while(this._flags.mode===y.Statement)this.restore_mode();this.handle_whitespace_and_comments(t),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(t,"]"===t.text&&B(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type!==c.START_EXPR||this._options.space_in_empty_paren?this._output.space_before_token=!0:(this._output.trim(),this._output.space_before_token=!1)),this.deindent(),this.print_token(t),this.restore_mode(),b(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===y.Conditional&&(this._previous_flags.mode=y.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},Q.prototype.handle_start_block=function(t){this.handle_whitespace_and_comments(t);var e=this._tokens.peek(),n=this._tokens.peek(1);"switch"===this._flags.last_word&&this._flags.last_token.type===c.END_EXPR?(this.set_mode(y.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(y.BlockStatement):n&&(u(n.text,[":",","])&&u(e.type,[c.STRING,c.WORD,c.RESERVED])||u(e.text,["get","set","..."])&&u(n.type,[c.WORD,c.RESERVED]))?u(this._last_last_text,["class","interface"])?this.set_mode(y.BlockStatement):this.set_mode(y.ObjectLiteral):this._flags.last_token.type===c.OPERATOR&&"=>"===this._flags.last_token.text?this.set_mode(y.BlockStatement):u(this._flags.last_token.type,[c.EQUALS,c.START_EXPR,c.COMMA,c.OPERATOR])||p(this._flags.last_token,["return","throw","import","default"])?this.set_mode(y.ObjectLiteral):this.set_mode(y.BlockStatement);var r=!e.comments_before&&"}"===e.text,i=r&&"function"===this._flags.last_word&&this._flags.last_token.type===c.END_EXPR;if(this._options.brace_preserve_inline){var a=0,o=null;this._flags.inline_frame=!0;do{if(a+=1,o=this._tokens.peek(a-1),o.newlines){this._flags.inline_frame=!1;break}}while(o.type!==c.EOF&&(o.type!==c.END_BLOCK||o.opened!==t))}("expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==c.OPERATOR&&(i||this._flags.last_token.type===c.EQUALS||p(this._flags.last_token,m)&&"else"!==this._flags.last_token.text)?this._output.space_before_token=!0:this.print_newline(!1,!0):(!B(this._previous_flags.mode)||this._flags.last_token.type!==c.START_EXPR&&this._flags.last_token.type!==c.COMMA||((this._flags.last_token.type===c.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===c.COMMA||this._flags.last_token.type===c.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(t),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==c.OPERATOR&&this._flags.last_token.type!==c.START_EXPR&&(this._flags.last_token.type!==c.START_BLOCK||this._flags.inline_frame?this._output.space_before_token=!0:this.print_newline())),this.print_token(t),this.indent(),r||this._options.brace_preserve_inline&&this._flags.inline_frame||this.print_newline()},Q.prototype.handle_end_block=function(t){this.handle_whitespace_and_comments(t);while(this._flags.mode===y.Statement)this.restore_mode();var e=this._flags.last_token.type===c.START_BLOCK;this._flags.inline_frame&&!e?this._output.space_before_token=!0:"expand"===this._options.brace_style?e||this.print_newline():e||(B(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(t)},Q.prototype.handle_word=function(t){if(t.type===c.RESERVED)if(u(t.text,["set","get"])&&this._flags.mode!==y.ObjectLiteral)t.type=c.WORD;else if("import"===t.text&&"("===this._tokens.peek().text)t.type=c.WORD;else if(u(t.text,["as","from"])&&!this._flags.import_block)t.type=c.WORD;else if(this._flags.mode===y.ObjectLiteral){var e=this._tokens.peek();":"===e.text&&(t.type=c.WORD)}if(this.start_of_statement(t)?p(this._flags.last_token,["var","let","const"])&&t.type===c.WORD&&(this._flags.declaration_statement=!0):!t.newlines||x(this._flags.mode)||this._flags.last_token.type===c.OPERATOR&&"--"!==this._flags.last_token.text&&"++"!==this._flags.last_token.text||this._flags.last_token.type===c.EQUALS||!this._options.preserve_newlines&&p(this._flags.last_token,["var","let","const","set","get"])?this.handle_whitespace_and_comments(t):(this.handle_whitespace_and_comments(t),this.print_newline()),this._flags.do_block&&!this._flags.do_while){if(f(t,"while"))return this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0,void(this._flags.do_while=!0);this.print_newline(),this._flags.do_block=!1}if(this._flags.if_block)if(!this._flags.else_block&&f(t,"else"))this._flags.else_block=!0;else{while(this._flags.mode===y.Statement)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&p(t,["case","default"]))return this.print_newline(),this._flags.last_token.type!==c.END_BLOCK&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(t),void(this._flags.in_case=!0);if(this._flags.last_token.type!==c.COMMA&&this._flags.last_token.type!==c.START_EXPR&&this._flags.last_token.type!==c.EQUALS&&this._flags.last_token.type!==c.OPERATOR||this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t),f(t,"function"))return(u(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!u(this._flags.last_token.text,["(","[","{",":","=",","])&&this._flags.last_token.type!==c.OPERATOR)&&(this._output.just_added_blankline()||t.comments_before||(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===c.RESERVED||this._flags.last_token.type===c.WORD?p(this._flags.last_token,["get","set","new","export"])||p(this._flags.last_token,E)||f(this._flags.last_token,"default")&&"export"===this._last_last_text||"declare"===this._flags.last_token.text?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===c.OPERATOR||"="===this._flags.last_token.text?this._output.space_before_token=!0:(this._flags.multiline_frame||!x(this._flags.mode)&&!B(this._flags.mode))&&this.print_newline(),this.print_token(t),void(this._flags.last_word=t.text);var n="NONE";if(this._flags.last_token.type===c.END_BLOCK?this._previous_flags.inline_frame?n="SPACE":p(t,["else","catch","finally","from"])?"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines?n="NEWLINE":(n="SPACE",this._output.space_before_token=!0):n="NEWLINE":this._flags.last_token.type===c.SEMICOLON&&this._flags.mode===y.BlockStatement?n="NEWLINE":this._flags.last_token.type===c.SEMICOLON&&x(this._flags.mode)?n="SPACE":this._flags.last_token.type===c.STRING?n="NEWLINE":this._flags.last_token.type===c.RESERVED||this._flags.last_token.type===c.WORD||"*"===this._flags.last_token.text&&(u(this._last_last_text,["function","yield"])||this._flags.mode===y.ObjectLiteral&&u(this._last_last_text,["{",","]))?n="SPACE":this._flags.last_token.type===c.START_BLOCK?n=this._flags.inline_frame?"SPACE":"NEWLINE":this._flags.last_token.type===c.END_EXPR&&(this._output.space_before_token=!0,n="NEWLINE"),p(t,s)&&")"!==this._flags.last_token.text&&(n=this._flags.inline_frame||"else"===this._flags.last_token.text||"export"===this._flags.last_token.text?"SPACE":"NEWLINE"),p(t,["else","catch","finally"]))if((this._flags.last_token.type!==c.END_BLOCK||this._previous_flags.mode!==y.BlockStatement||"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var r=this._output.current_line;"}"!==r.last()&&this.print_newline(),this._output.space_before_token=!0}else"NEWLINE"===n?p(this._flags.last_token,m)||"declare"===this._flags.last_token.text&&p(t,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==c.END_EXPR?this._flags.last_token.type===c.START_EXPR&&p(t,["var","let","const"])||":"===this._flags.last_token.text||(f(t,"if")&&f(t.previous,"else")?this._output.space_before_token=!0:this.print_newline()):p(t,s)&&")"!==this._flags.last_token.text&&this.print_newline():this._flags.multiline_frame&&B(this._flags.mode)&&","===this._flags.last_token.text&&"}"===this._last_last_text?this.print_newline():"SPACE"===n&&(this._output.space_before_token=!0);!t.previous||t.previous.type!==c.WORD&&t.previous.type!==c.RESERVED||(this._output.space_before_token=!0),this.print_token(t),this._flags.last_word=t.text,t.type===c.RESERVED&&("do"===t.text?this._flags.do_block=!0:"if"===t.text?this._flags.if_block=!0:"import"===t.text?this._flags.import_block=!0:this._flags.import_block&&f(t,"from")&&(this._flags.import_block=!1))},Q.prototype.handle_semicolon=function(t){this.start_of_statement(t)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(t);var e=this._tokens.peek();while(this._flags.mode===y.Statement&&(!this._flags.if_block||!f(e,"else"))&&!this._flags.do_block)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(t)},Q.prototype.handle_string=function(t){this.start_of_statement(t)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(t),this._flags.last_token.type===c.RESERVED||this._flags.last_token.type===c.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===c.COMMA||this._flags.last_token.type===c.START_EXPR||this._flags.last_token.type===c.EQUALS||this._flags.last_token.type===c.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t):this.print_newline()),this.print_token(t)},Q.prototype.handle_equals=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0},Q.prototype.handle_comma=function(t){this.handle_whitespace_and_comments(t,!0),this.print_token(t),this._output.space_before_token=!0,this._flags.declaration_statement?(x(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)):this._flags.mode===y.ObjectLiteral||this._flags.mode===y.Statement&&this._flags.parent.mode===y.ObjectLiteral?(this._flags.mode===y.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)},Q.prototype.handle_operator=function(t){var e="*"===t.text&&(p(this._flags.last_token,["function","yield"])||u(this._flags.last_token.type,[c.START_BLOCK,c.COMMA,c.END_BLOCK,c.SEMICOLON])),n=u(t.text,["-","+"])&&(u(this._flags.last_token.type,[c.START_BLOCK,c.START_EXPR,c.EQUALS,c.OPERATOR])||u(this._flags.last_token.text,s)||","===this._flags.last_token.text);if(this.start_of_statement(t));else{var r=!e;this.handle_whitespace_and_comments(t,r)}if(p(this._flags.last_token,m))return this._output.space_before_token=!0,void this.print_token(t);if("*"!==t.text||this._flags.last_token.type!==c.DOT)if("::"!==t.text){if(this._flags.last_token.type===c.OPERATOR&&u(this._options.operator_position,_)&&this.allow_wrap_or_preserved_newline(t),":"===t.text&&this._flags.in_case)return this.print_token(t),this._flags.in_case=!1,this._flags.case_body=!0,void(this._tokens.peek().type!==c.START_BLOCK?(this.indent(),this.print_newline()):this._output.space_before_token=!0);var i=!0,a=!0,o=!1;if(":"===t.text?0===this._flags.ternary_depth?i=!1:(this._flags.ternary_depth-=1,o=!0):"?"===t.text&&(this._flags.ternary_depth+=1),!n&&!e&&this._options.preserve_newlines&&u(t.text,l)){var A=":"===t.text,d=A&&o,h=A&&!o;switch(this._options.operator_position){case v.before_newline:return this._output.space_before_token=!h,this.print_token(t),A&&!d||this.allow_wrap_or_preserved_newline(t),void(this._output.space_before_token=!0);case v.after_newline:return this._output.space_before_token=!0,!A||d?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(t):this._output.space_before_token=!1,this.print_token(t),void(this._output.space_before_token=!0);case v.preserve_newline:return h||this.allow_wrap_or_preserved_newline(t),i=!(this._output.just_added_newline()||h),this._output.space_before_token=i,this.print_token(t),void(this._output.space_before_token=!0)}}if(e){this.allow_wrap_or_preserved_newline(t),i=!1;var f=this._tokens.peek();a=f&&u(f.type,[c.WORD,c.RESERVED])}else"..."===t.text?(this.allow_wrap_or_preserved_newline(t),i=this._flags.last_token.type===c.START_BLOCK,a=!1):(u(t.text,["--","++","!","~"])||n)&&(this._flags.last_token.type!==c.COMMA&&this._flags.last_token.type!==c.START_EXPR||this.allow_wrap_or_preserved_newline(t),i=!1,a=!1,!t.newlines||"--"!==t.text&&"++"!==t.text||this.print_newline(!1,!0),";"===this._flags.last_token.text&&x(this._flags.mode)&&(i=!0),this._flags.last_token.type===c.RESERVED?i=!0:this._flags.last_token.type===c.END_EXPR?i=!("]"===this._flags.last_token.text&&("--"===t.text||"++"===t.text)):this._flags.last_token.type===c.OPERATOR&&(i=u(t.text,["--","-","++","+"])&&u(this._flags.last_token.text,["--","-","++","+"]),u(t.text,["+","-"])&&u(this._flags.last_token.text,["--","++"])&&(a=!0)),(this._flags.mode!==y.BlockStatement||this._flags.inline_frame)&&this._flags.mode!==y.Statement||"{"!==this._flags.last_token.text&&";"!==this._flags.last_token.text||this.print_newline());this._output.space_before_token=this._output.space_before_token||i,this.print_token(t),this._output.space_before_token=a}else this.print_token(t);else this.print_token(t)},Q.prototype.handle_block_comment=function(t,e){return this._output.raw?(this._output.add_raw_token(t),void(t.directives&&"end"===t.directives.preserve&&(this._output.raw=this._options.test_output_raw))):t.directives?(this.print_newline(!1,e),this.print_token(t),"start"===t.directives.preserve&&(this._output.raw=!0),void this.print_newline(!1,!0)):a.newline.test(t.text)||t.newlines?void this.print_block_commment(t,e):(this._output.space_before_token=!0,this.print_token(t),void(this._output.space_before_token=!0))},Q.prototype.print_block_commment=function(t,e){var n,r=w(t.text),i=!1,a=!1,o=t.whitespace_before,A=o.length;if(this.print_newline(!1,e),this.print_token_line_indentation(t),this._output.add_token(r[0]),this.print_newline(!1,e),r.length>1){for(r=r.slice(1),i=C(r,"*"),a=k(r,o),i&&(this._flags.alignment=1),n=0;n<r.length;n++)i?(this.print_token_line_indentation(t),this._output.add_token(d(r[n]))):a&&r[n]?(this.print_token_line_indentation(t),this._output.add_token(r[n].substring(A))):(this._output.current_line.set_indent(-1),this._output.add_token(r[n])),this.print_newline(!1,e);this._flags.alignment=0}},Q.prototype.handle_comment=function(t,e){t.newlines?this.print_newline(!1,e):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(t),this.print_newline(!1,e)},Q.prototype.handle_dot=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t,!0),p(this._flags.last_token,m)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(t,")"===this._flags.last_token.text&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(t)},Q.prototype.handle_unknown=function(t,e){this.print_token(t),"\n"===t.text[t.text.length-1]&&this.print_newline(!1,e)},Q.prototype.handle_eof=function(t){while(this._flags.mode===y.Statement)this.restore_mode();this.handle_whitespace_and_comments(t)},t.exports.Beautifier=Q},function(t,e,n){"use strict";function r(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function i(t,e){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),e=e||"",t.indent_level>0&&(e=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=e,this.__base_string_length=e.length}function a(t,e){this.__indent_cache=new i(t,e),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new r(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}r.prototype.clone_empty=function(){var t=new r(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},r.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},r.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1},r.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},r.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},r.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},r.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===t.__items[0]&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},r.prototype.is_empty=function(){return 0===this.__items.length},r.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},r.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},r.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},r.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},r.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},r.prototype.trim=function(){while(" "===this.last())this.__items.pop(),this.__character_count-=1},r.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t},i.prototype.get_indent_size=function(t,e){var n=this.__base_string_length;return e=e||0,t<0&&(n=0),n+=t*this.__indent_size,n+=e,n},i.prototype.get_indent_string=function(t,e){var n=this.__base_string;return e=e||0,t<0&&(t=0,n=""),e+=t*this.__indent_size,this.__ensure_cache(e),n+=this.__cache[e],n},i.prototype.__ensure_cache=function(t){while(t>=this.__cache.length)this.__add_column()},i.prototype.__add_column=function(){var t=this.__cache.length,e=0,n="";this.__indent_size&&t>=this.__indent_size&&(e=Math.floor(t/this.__indent_size),t-=e*this.__indent_size,n=new Array(e+1).join(this.__indent_string)),t&&(n+=new Array(t+1).join(" ")),this.__cache.push(n)},a.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},a.prototype.get_line_number=function(){return this.__lines.length},a.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)},a.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(t){return!(this.is_empty()||!t&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},a.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(t,e){return t=t||0,e=e||0,this.next_line.set_indent(t,e),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(t){for(var e=0;e<t.newlines;e++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},a.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},a.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},a.prototype.remove_indent=function(t){var e=this.__lines.length;while(t<e)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()},a.prototype.trim=function(t){t=void 0!==t&&t,this.current_line.trim();while(t&&this.__lines.length>1&&this.current_line.is_empty())this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},a.prototype.just_added_newline=function(){return this.current_line.is_empty()},a.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},a.prototype.ensure_empty_line_above=function(t,e){var n=this.__lines.length-2;while(n>=0){var i=this.__lines[n];if(i.is_empty())break;if(0!==i.item(0).indexOf(t)&&i.item(-1)!==e){this.__lines.splice(n+1,0,new r(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},t.exports.Output=a},function(t,e,n){"use strict";function r(t,e,n,r){this.type=t,this.text=e,this.comments_before=null,this.newlines=n||0,this.whitespace_before=r||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}t.exports.Token=r},function(t,e,n){"use strict";var r="\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",i="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",a="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",o="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",A="(?:\\\\u[0-9a-fA-F]{4}|["+r+a+"])",s="(?:\\\\u[0-9a-fA-F]{4}|["+i+a+o+"])*";e.identifier=new RegExp(A+s,"g"),e.identifierStart=new RegExp(A),e.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+i+a+o+"])+");e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp("\r\n|"+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")},function(t,e,n){"use strict";var r=n(6).Options,i=["before-newline","after-newline","preserve-newline"];function a(t){r.call(this,t,"js");var e=this.raw_options.brace_style||null;"expand-strict"===e?this.raw_options.brace_style="expand":"collapse-preserve-inline"===e?this.raw_options.brace_style="collapse,preserve-inline":void 0!==this.raw_options.braces_on_own_line&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var a=0;a<n.length;a++)"preserve-inline"===n[a]?this.brace_preserve_inline=!0:this.brace_style=n[a];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",i),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}a.prototype=new r,t.exports.Options=a},function(t,e,n){"use strict";function r(t,e){this.raw_options=i(t,e),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function i(t,e){var n,r={};for(n in t=a(t),t)n!==e&&(r[n]=t[n]);if(e&&t[e])for(n in t[e])r[n]=t[e][n];return r}function a(t){var e,n={};for(e in t){var r=e.replace(/-/g,"_");n[r]=t[e]}return n}r.prototype._get_array=function(t,e){var n=this.raw_options[t],r=e||[];return"object"===typeof n?null!==n&&"function"===typeof n.concat&&(r=n.concat()):"string"===typeof n&&(r=n.split(/[^a-zA-Z0-9_\/\-]+/)),r},r.prototype._get_boolean=function(t,e){var n=this.raw_options[t],r=void 0===n?!!e:!!n;return r},r.prototype._get_characters=function(t,e){var n=this.raw_options[t],r=e||"";return"string"===typeof n&&(r=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),r},r.prototype._get_number=function(t,e){var n=this.raw_options[t];e=parseInt(e,10),isNaN(e)&&(e=0);var r=parseInt(n,10);return isNaN(r)&&(r=e),r},r.prototype._get_selection=function(t,e,n){var r=this._get_selection_list(t,e,n);if(1!==r.length)throw new Error("Invalid Option Value: The option '"+t+"' can only be one of the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return r[0]},r.prototype._get_selection_list=function(t,e,n){if(!e||0===e.length)throw new Error("Selection list cannot be empty.");if(n=n||[e[0]],!this._is_valid_selection(n,e))throw new Error("Invalid Default Value!");var r=this._get_array(t,n);if(!this._is_valid_selection(r,e))throw new Error("Invalid Option Value: The option '"+t+"' can contain only the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return r},r.prototype._is_valid_selection=function(t,e){return t.length&&e.length&&!t.some((function(t){return-1===e.indexOf(t)}))},t.exports.Options=r,t.exports.normalizeOpts=a,t.exports.mergeOpts=i},function(t,e,n){"use strict";var r=n(8).InputScanner,i=n(9).Tokenizer,a=n(9).TOKEN,o=n(13).Directives,A=n(4),s=n(12).Pattern,l=n(14).TemplatablePattern;function c(t,e){return-1!==e.indexOf(t)}var u={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:a.START,RAW:a.RAW,EOF:a.EOF},d=new o(/\/\*/,/\*\//),h=/0[xX][0123456789abcdefABCDEF]*|0[oO][01234567]*|0[bB][01]*|\d+n|(?:\.\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?/,f=/[0-9]/,p=/[^\d\.]/,m=">>> === !== << && >= ** != == <= >> || < / - + > : & % ? ^ | *".split(" "),g=">>>= ... >>= <<= === >>> !== **= => ^= :: /= << <= == && -= >= >> != -- += ** || ++ %= &= *= |= = ! ? > < : / ^ - + * & % ~ |";g=g.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),g=g.replace(/ /g,"|");var v,_=new RegExp(g),y="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),b=y.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as"]),w=new RegExp("^(?:"+b.join("|")+")$"),B=function(t,e){i.call(this,t,e),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var n=new s(this._input),r=new l(this._input).read_options(this._options);this.__patterns={template:r,identifier:r.starting_with(A.identifier).matching(A.identifierMatch),number:n.matching(h),punct:n.matching(_),comment:n.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:n.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:n.matching(/<!--/),html_comment_end:n.matching(/-->/),include:n.starting_with(/#include/).until_after(A.lineBreak),shebang:n.starting_with(/#!/).until_after(A.lineBreak),xml:n.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/),single_quote:r.until(/['\\\n\r\u2028\u2029]/),double_quote:r.until(/["\\\n\r\u2028\u2029]/),template_text:r.until(/[`\\$]/),template_expression:r.until(/[`}\\]/)}};function x(t){var e="",n=0,i=new r(t),a=null;while(i.hasNext())if(a=i.match(/([\s]|[^\\]|\\\\)+/g),a&&(e+=a[0]),"\\"===i.peek()){if(i.next(),"x"===i.peek())a=i.match(/x([0-9A-Fa-f]{2})/g);else{if("u"!==i.peek()){e+="\\",i.hasNext()&&(e+=i.next());continue}a=i.match(/u([0-9A-Fa-f]{4})/g)}if(!a)return t;if(n=parseInt(a[1],16),n>126&&n<=255&&0===a[0].indexOf("x"))return t;if(n>=0&&n<32){e+="\\"+a[0];continue}e+=34===n||39===n||92===n?"\\"+String.fromCharCode(n):String.fromCharCode(n)}return e}B.prototype=new i,B.prototype._is_comment=function(t){return t.type===u.COMMENT||t.type===u.BLOCK_COMMENT||t.type===u.UNKNOWN},B.prototype._is_opening=function(t){return t.type===u.START_BLOCK||t.type===u.START_EXPR},B.prototype._is_closing=function(t,e){return(t.type===u.END_BLOCK||t.type===u.END_EXPR)&&e&&("]"===t.text&&"["===e.text||")"===t.text&&"("===e.text||"}"===t.text&&"{"===e.text)},B.prototype._reset=function(){v=!1},B.prototype._get_next_token=function(t,e){var n=null;this._readWhitespace();var r=this._input.peek();return null===r?this._create_token(u.EOF,""):(n=n||this._read_string(r),n=n||this._read_word(t),n=n||this._read_singles(r),n=n||this._read_comment(r),n=n||this._read_regexp(r,t),n=n||this._read_xml(r,t),n=n||this._read_non_javascript(r),n=n||this._read_punctuation(),n=n||this._create_token(u.UNKNOWN,this._input.next()),n)},B.prototype._read_word=function(t){var e;return e=this.__patterns.identifier.read(),""!==e?(e=e.replace(A.allLineBreaks,"\n"),t.type!==u.DOT&&(t.type!==u.RESERVED||"set"!==t.text&&"get"!==t.text)&&w.test(e)?"in"===e||"of"===e?this._create_token(u.OPERATOR,e):this._create_token(u.RESERVED,e):this._create_token(u.WORD,e)):(e=this.__patterns.number.read(),""!==e?this._create_token(u.WORD,e):void 0)},B.prototype._read_singles=function(t){var e=null;return"("===t||"["===t?e=this._create_token(u.START_EXPR,t):")"===t||"]"===t?e=this._create_token(u.END_EXPR,t):"{"===t?e=this._create_token(u.START_BLOCK,t):"}"===t?e=this._create_token(u.END_BLOCK,t):";"===t?e=this._create_token(u.SEMICOLON,t):"."===t&&p.test(this._input.peek(1))?e=this._create_token(u.DOT,t):","===t&&(e=this._create_token(u.COMMA,t)),e&&this._input.next(),e},B.prototype._read_punctuation=function(){var t=this.__patterns.punct.read();if(""!==t)return"="===t?this._create_token(u.EQUALS,t):this._create_token(u.OPERATOR,t)},B.prototype._read_non_javascript=function(t){var e="";if("#"===t){if(this._is_first_token()&&(e=this.__patterns.shebang.read(),e))return this._create_token(u.UNKNOWN,e.trim()+"\n");if(e=this.__patterns.include.read(),e)return this._create_token(u.UNKNOWN,e.trim()+"\n");t=this._input.next();var n="#";if(this._input.hasNext()&&this._input.testChar(f)){do{t=this._input.next(),n+=t}while(this._input.hasNext()&&"#"!==t&&"="!==t);return"#"===t||("["===this._input.peek()&&"]"===this._input.peek(1)?(n+="[]",this._input.next(),this._input.next()):"{"===this._input.peek()&&"}"===this._input.peek(1)&&(n+="{}",this._input.next(),this._input.next())),this._create_token(u.WORD,n)}this._input.back()}else if("<"===t&&this._is_first_token()){if(e=this.__patterns.html_comment_start.read(),e){while(this._input.hasNext()&&!this._input.testChar(A.newline))e+=this._input.next();return v=!0,this._create_token(u.COMMENT,e)}}else if(v&&"-"===t&&(e=this.__patterns.html_comment_end.read(),e))return v=!1,this._create_token(u.COMMENT,e);return null},B.prototype._read_comment=function(t){var e=null;if("/"===t){var n="";if("*"===this._input.peek(1)){n=this.__patterns.block_comment.read();var r=d.get_directives(n);r&&"start"===r.ignore&&(n+=d.readIgnored(this._input)),n=n.replace(A.allLineBreaks,"\n"),e=this._create_token(u.BLOCK_COMMENT,n),e.directives=r}else"/"===this._input.peek(1)&&(n=this.__patterns.comment.read(),e=this._create_token(u.COMMENT,n))}return e},B.prototype._read_string=function(t){if("`"===t||"'"===t||'"'===t){var e=this._input.next();return this.has_char_escapes=!1,e+="`"===t?this._read_string_recursive("`",!0,"${"):this._read_string_recursive(t),this.has_char_escapes&&this._options.unescape_strings&&(e=x(e)),this._input.peek()===t&&(e+=this._input.next()),e=e.replace(A.allLineBreaks,"\n"),this._create_token(u.STRING,e)}return null},B.prototype._allow_regexp_or_xml=function(t){return t.type===u.RESERVED&&c(t.text,["return","case","throw","else","do","typeof","yield"])||t.type===u.END_EXPR&&")"===t.text&&t.opened.previous.type===u.RESERVED&&c(t.opened.previous.text,["if","while","for"])||c(t.type,[u.COMMENT,u.START_EXPR,u.START_BLOCK,u.START,u.END_BLOCK,u.OPERATOR,u.EQUALS,u.EOF,u.SEMICOLON,u.COMMA])},B.prototype._read_regexp=function(t,e){if("/"===t&&this._allow_regexp_or_xml(e)){var n=this._input.next(),r=!1,i=!1;while(this._input.hasNext()&&(r||i||this._input.peek()!==t)&&!this._input.testChar(A.newline))n+=this._input.peek(),r?r=!1:(r="\\"===this._input.peek(),"["===this._input.peek()?i=!0:"]"===this._input.peek()&&(i=!1)),this._input.next();return this._input.peek()===t&&(n+=this._input.next(),n+=this._input.read(A.identifier)),this._create_token(u.STRING,n)}return null},B.prototype._read_xml=function(t,e){if(this._options.e4x&&"<"===t&&this._allow_regexp_or_xml(e)){var n="",r=this.__patterns.xml.read_match();if(r){var i=r[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),a=0===i.indexOf("{"),o=0;while(r){var s=!!r[1],l=r[2],c=!!r[r.length-1]||"![CDATA["===l.slice(0,8);if(!c&&(l===i||a&&l.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(s?--o:++o),n+=r[0],o<=0)break;r=this.__patterns.xml.read_match()}return r||(n+=this._input.match(/[\s\S]*/g)[0]),n=n.replace(A.allLineBreaks,"\n"),this._create_token(u.STRING,n)}}return null},B.prototype._read_string_recursive=function(t,e,n){var r,i;"'"===t?i=this.__patterns.single_quote:'"'===t?i=this.__patterns.double_quote:"`"===t?i=this.__patterns.template_text:"}"===t&&(i=this.__patterns.template_expression);var a=i.read(),o="";while(this._input.hasNext()){if(o=this._input.next(),o===t||!e&&A.newline.test(o)){this._input.back();break}"\\"===o&&this._input.hasNext()?(r=this._input.peek(),"x"===r||"u"===r?this.has_char_escapes=!0:"\r"===r&&"\n"===this._input.peek(1)&&this._input.next(),o+=this._input.next()):n&&("${"===n&&"$"===o&&"{"===this._input.peek()&&(o+=this._input.next()),n===o&&(o+="`"===t?this._read_string_recursive("}",e,"`"):this._read_string_recursive("`",e,"${"),this._input.hasNext()&&(o+=this._input.next()))),o+=i.read(),a+=o}return a},t.exports.Tokenizer=B,t.exports.TOKEN=u,t.exports.positionable_operators=m.slice(),t.exports.line_starters=y.slice()},function(t,e,n){"use strict";var r=RegExp.prototype.hasOwnProperty("sticky");function i(t){this.__input=t||"",this.__input_length=this.__input.length,this.__position=0}i.prototype.restart=function(){this.__position=0},i.prototype.back=function(){this.__position>0&&(this.__position-=1)},i.prototype.hasNext=function(){return this.__position<this.__input_length},i.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__input.charAt(this.__position),this.__position+=1),t},i.prototype.peek=function(t){var e=null;return t=t||0,t+=this.__position,t>=0&&t<this.__input_length&&(e=this.__input.charAt(t)),e},i.prototype.__match=function(t,e){t.lastIndex=e;var n=t.exec(this.__input);return!n||r&&t.sticky||n.index!==e&&(n=null),n},i.prototype.test=function(t,e){return e=e||0,e+=this.__position,e>=0&&e<this.__input_length&&!!this.__match(t,e)},i.prototype.testChar=function(t,e){var n=this.peek(e);return t.lastIndex=0,null!==n&&t.test(n)},i.prototype.match=function(t){var e=this.__match(t,this.__position);return e?this.__position+=e[0].length:e=null,e},i.prototype.read=function(t,e,n){var r,i="";return t&&(r=this.match(t),r&&(i+=r[0])),!e||!r&&t||(i+=this.readUntil(e,n)),i},i.prototype.readUntil=function(t,e){var n="",r=this.__position;t.lastIndex=this.__position;var i=t.exec(this.__input);return i?(r=i.index,e&&(r+=i[0].length)):r=this.__input_length,n=this.__input.substring(this.__position,r),this.__position=r,n},i.prototype.readUntilAfter=function(t){return this.readUntil(t,!0)},i.prototype.get_regexp=function(t,e){var n=null,i="g";return e&&r&&(i="y"),"string"===typeof t&&""!==t?n=new RegExp(t,i):t&&(n=new RegExp(t.source,i)),n},i.prototype.get_literal_regexp=function(t){return RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},i.prototype.peekUntilAfter=function(t){var e=this.__position,n=this.readUntilAfter(t);return this.__position=e,n},i.prototype.lookBack=function(t){var e=this.__position-1;return e>=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=i},function(t,e,n){"use strict";var r=n(8).InputScanner,i=n(3).Token,a=n(10).TokenStream,o=n(11).WhitespacePattern,A={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},s=function(t,e){this._input=new r(t),this._options=e||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new o(this._input)};s.prototype.tokenize=function(){var t;this._input.restart(),this.__tokens=new a,this._reset();var e=new i(A.START,""),n=null,r=[],o=new a;while(e.type!==A.EOF){t=this._get_next_token(e,n);while(this._is_comment(t))o.add(t),t=this._get_next_token(e,n);o.isEmpty()||(t.comments_before=o,o=new a),t.parent=n,this._is_opening(t)?(r.push(n),n=t):n&&this._is_closing(t,n)&&(t.opened=n,n.closed=t,n=r.pop(),t.parent=n),t.previous=e,e.next=t,this.__tokens.add(t),e=t}return this.__tokens},s.prototype._is_first_token=function(){return this.__tokens.isEmpty()},s.prototype._reset=function(){},s.prototype._get_next_token=function(t,e){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(A.RAW,n):this._create_token(A.EOF,"")},s.prototype._is_comment=function(t){return!1},s.prototype._is_opening=function(t){return!1},s.prototype._is_closing=function(t,e){return!1},s.prototype._create_token=function(t,e){var n=new i(t,e,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return n},s.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},t.exports.Tokenizer=s,t.exports.TOKEN=A},function(t,e,n){"use strict";function r(t){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=t}r.prototype.restart=function(){this.__position=0},r.prototype.isEmpty=function(){return 0===this.__tokens_length},r.prototype.hasNext=function(){return this.__position<this.__tokens_length},r.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__tokens[this.__position],this.__position+=1),t},r.prototype.peek=function(t){var e=null;return t=t||0,t+=this.__position,t>=0&&t<this.__tokens_length&&(e=this.__tokens[t]),e},r.prototype.add=function(t){this.__parent_token&&(t.parent=this.__parent_token),this.__tokens.push(t),this.__tokens_length+=1},t.exports.TokenStream=r},function(t,e,n){"use strict";var r=n(12).Pattern;function i(t,e){r.call(this,t,e),e?this._line_regexp=this._input.get_regexp(e._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}i.prototype=new r,i.prototype.__set_whitespace_patterns=function(t,e){t+="\\t ",e+="\\n\\r",this._match_pattern=this._input.get_regexp("["+t+e+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+e+"]")},i.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var t=this._input.read(this._match_pattern);if(" "===t)this.whitespace_before_token=" ";else if(t){var e=this.__split(this._newline_regexp,t);this.newline_count=e.length-1,this.whitespace_before_token=e[this.newline_count]}return t},i.prototype.matching=function(t,e){var n=this._create();return n.__set_whitespace_patterns(t,e),n._update(),n},i.prototype._create=function(){return new i(this._input,this)},i.prototype.__split=function(t,e){t.lastIndex=0;var n=0,r=[],i=t.exec(e);while(i)r.push(e.substring(n,i.index)),n=i.index+i[0].length,i=t.exec(e);return n<e.length?r.push(e.substring(n,e.length)):r.push(""),r},t.exports.WhitespacePattern=i},function(t,e,n){"use strict";function r(t,e){this._input=t,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,e&&(this._starting_pattern=this._input.get_regexp(e._starting_pattern,!0),this._match_pattern=this._input.get_regexp(e._match_pattern,!0),this._until_pattern=this._input.get_regexp(e._until_pattern),this._until_after=e._until_after)}r.prototype.read=function(){var t=this._input.read(this._starting_pattern);return this._starting_pattern&&!t||(t+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),t},r.prototype.read_match=function(){return this._input.match(this._match_pattern)},r.prototype.until_after=function(t){var e=this._create();return e._until_after=!0,e._until_pattern=this._input.get_regexp(t),e._update(),e},r.prototype.until=function(t){var e=this._create();return e._until_after=!1,e._until_pattern=this._input.get_regexp(t),e._update(),e},r.prototype.starting_with=function(t){var e=this._create();return e._starting_pattern=this._input.get_regexp(t,!0),e._update(),e},r.prototype.matching=function(t){var e=this._create();return e._match_pattern=this._input.get_regexp(t,!0),e._update(),e},r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){},t.exports.Pattern=r},function(t,e,n){"use strict";function r(t,e){t="string"===typeof t?t:t.source,e="string"===typeof e?e:e.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+e,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+e,"g")}r.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var e={};this.__directive_pattern.lastIndex=0;var n=this.__directive_pattern.exec(t);while(n)e[n[1]]=n[2],n=this.__directive_pattern.exec(t);return e},r.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)},t.exports.Directives=r},function(t,e,n){"use strict";var r=n(12).Pattern,i={django:!1,erb:!1,handlebars:!1,php:!1};function a(t,e){r.call(this,t,e),this.__template_pattern=null,this._disabled=Object.assign({},i),this._excluded=Object.assign({},i),e&&(this.__template_pattern=this._input.get_regexp(e.__template_pattern),this._excluded=Object.assign(this._excluded,e._excluded),this._disabled=Object.assign(this._disabled,e._disabled));var n=new r(t);this.__patterns={handlebars_comment:n.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:n.starting_with(/{{{/).until_after(/}}}/),handlebars:n.starting_with(/{{/).until_after(/}}/),php:n.starting_with(/<\?(?:[=]|php)/).until_after(/\?>/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/)}}a.prototype=new r,a.prototype._create=function(){return new a(this._input,this)},a.prototype._update=function(){this.__set_templated_pattern()},a.prototype.disable=function(t){var e=this._create();return e._disabled[t]=!0,e._update(),e},a.prototype.read_options=function(t){var e=this._create();for(var n in i)e._disabled[n]=-1===t.templating.indexOf(n);return e._update(),e},a.prototype.exclude=function(t){var e=this._create();return e._excluded[t]=!0,e._update(),e},a.prototype.read=function(){var t="";t=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);var e=this._read_template();while(e)this._match_pattern?e+=this._input.read(this._match_pattern):e+=this._input.readUntil(this.__template_pattern),t+=e,e=this._read_template();return this._until_after&&(t+=this._input.readUntilAfter(this._until_pattern)),t},a.prototype.__set_templated_pattern=function(){var t=[];this._disabled.php||t.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||t.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(t.push(this.__patterns.django._starting_pattern.source),t.push(this.__patterns.django_value._starting_pattern.source),t.push(this.__patterns.django_comment._starting_pattern.source)),this._until_pattern&&t.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+t.join("|")+")")},a.prototype._read_template=function(){var t="",e=this._input.peek();if("<"===e){var n=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==n||(t=t||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==n||(t=t||this.__patterns.erb.read())}else"{"===e&&(this._disabled.handlebars||this._excluded.handlebars||(t=t||this.__patterns.handlebars_comment.read(),t=t||this.__patterns.handlebars_unescaped.read(),t=t||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(t=t||this.__patterns.django_value.read()),this._excluded.django||(t=t||this.__patterns.django_comment.read(),t=t||this.__patterns.django.read())));return t},t.exports.TemplatablePattern=a}]),a=n;r=[],i=function(){return{js_beautify:a}}.apply(e,r),void 0===i||(t.exports=i)})()},ea55:function(t,e,n){},ea91:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"userInfoPanel mt10 pd15"},[n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.data}},[n("el-table-column",{attrs:{label:"地址描述",width:"90",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v("联系地址")])]}}])}),n("el-table-column",{attrs:{label:"国家",align:"center",prop:"nation"}}),n("el-table-column",{attrs:{label:"省",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.getArea(e.row.ral)[0]))])]}}])}),n("el-table-column",{attrs:{label:"市县",align:"center","show-overflow-tooltip":!0},scopedSlots:t._u([{key:"default",fn:function(e){return[t.getArea(e.row.ral).length>3?n("span",[t._v(t._s(t.getArea(e.row.ral)[1]))]):n("span",[t._v(t._s(t.getArea(e.row.ral)[0]))])]}}])}),n("el-table-column",{attrs:{label:"区镇",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[t.getArea(e.row.ral).length>3?n("span",[t._v(t._s(t.getArea(e.row.ral)[2]))]):n("span",[t._v(t._s(t.getArea(e.row.ral)[1]))])]}}])}),n("el-table-column",{attrs:{label:"街道门牌号",width:"190",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.getArea(e.row.ral)[t.getArea(e.row.ral).length-1]))])]}}])}),n("el-table-column",{attrs:{label:"邮政编码",align:"center",prop:"zipcode"}}),n("el-table-column",{attrs:{label:"微信",align:"center",prop:"wechat","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"邮箱",align:"center","show-overflow-tooltip":!0},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{domProps:{textContent:t._s(t.emailYm(e.row.email))}})]}}])}),n("el-table-column",{attrs:{label:"QQ",align:"center",prop:"qq","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"手机",align:"center","show-overflow-tooltip":!0},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{domProps:{textContent:t._s(t.telNo(e.row.pmphone))}})]}}])})],1)],1)},i=[],a={props:{data:{type:Array,default:function(){return[]}}},data:function(){return{loading:!1}},mounted:function(){},methods:{}},o=a,A=n("2877"),s=Object(A["a"])(o,r,i,!1,null,null,null);e["default"]=s.exports},eab4:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className,style:{height:t.height,width:t.width}})},i=[],a=n("313e"),o=n.n(a),A=n("feb2");n("817d");var s={mixins:[A["default"]],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"350px"},autoResize:{type:Boolean,default:!0},chartData:{type:Object,required:!0}},data:function(){return{chart:null}},watch:{chartData:{deep:!0,handler:function(t){this.setOptions(t)}}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=o.a.init(this.$el,"macarons"),this.setOptions(this.chartData)},setOptions:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.expectedData,n=t.actualData;this.chart.setOption({xAxis:{data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],boundaryGap:!1,axisTick:{show:!1}},grid:{left:10,right:10,bottom:20,top:30,containLabel:!0},tooltip:{trigger:"axis",axisPointer:{type:"cross"},padding:[5,10]},yAxis:{axisTick:{show:!1}},legend:{data:["expected","actual"]},series:[{name:"expected",itemStyle:{normal:{color:"#FF005A",lineStyle:{color:"#FF005A",width:2}}},smooth:!0,type:"line",data:e,animationDuration:2800,animationEasing:"cubicInOut"},{name:"actual",smooth:!0,type:"line",itemStyle:{normal:{color:"#3888fa",lineStyle:{color:"#3888fa",width:2},areaStyle:{color:"#f3f8ff"}}},data:n,animationDuration:2800,animationEasing:"quadraticOut"}]})}}},l=s,c=n("2877"),u=Object(c["a"])(l,r,i,!1,null,null,null);e["default"]=u.exports},ebb5:function(t,e,n){"use strict";var r,i=n("a981"),a=n("83ab"),o=n("da84"),A=n("861d"),s=n("5135"),l=n("f5df"),c=n("9112"),u=n("6eeb"),d=n("9bf2").f,h=n("e163"),f=n("d2bb"),p=n("b622"),m=n("90e3"),g=o.Int8Array,v=g&&g.prototype,_=o.Uint8ClampedArray,y=_&&_.prototype,b=g&&h(g),w=v&&h(v),B=Object.prototype,x=B.isPrototypeOf,C=p("toStringTag"),k=m("TYPED_ARRAY_TAG"),Q=i&&!!f&&"Opera"!==l(o.opera),E=!1,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},U=function(t){var e=l(t);return"DataView"===e||s(F,e)},O=function(t){return A(t)&&s(F,l(t))},S=function(t){if(O(t))return t;throw TypeError("Target is not a typed array")},T=function(t){if(f){if(x.call(b,t))return t}else for(var e in F)if(s(F,r)){var n=o[e];if(n&&(t===n||x.call(n,t)))return t}throw TypeError("Target is not a typed array constructor")},I=function(t,e,n){if(a){if(n)for(var r in F){var i=o[r];i&&s(i.prototype,t)&&delete i.prototype[t]}w[t]&&!n||u(w,t,n?e:Q&&v[t]||e)}},D=function(t,e,n){var r,i;if(a){if(f){if(n)for(r in F)i=o[r],i&&s(i,t)&&delete i[t];if(b[t]&&!n)return;try{return u(b,t,n?e:Q&&g[t]||e)}catch(A){}}for(r in F)i=o[r],!i||i[t]&&!n||u(i,t,e)}};for(r in F)o[r]||(Q=!1);if((!Q||"function"!=typeof b||b===Function.prototype)&&(b=function(){throw TypeError("Incorrect invocation")},Q))for(r in F)o[r]&&f(o[r],b);if((!Q||!w||w===B)&&(w=b.prototype,Q))for(r in F)o[r]&&f(o[r].prototype,w);if(Q&&h(y)!==w&&f(y,w),a&&!s(w,C))for(r in E=!0,d(w,C,{get:function(){return A(this)?this[k]:void 0}}),F)o[r]&&c(o[r],k,r);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:Q,TYPED_ARRAY_TAG:E&&k,aTypedArray:S,aTypedArrayConstructor:T,exportTypedArrayMethod:I,exportTypedArrayStaticMethod:D,isView:U,isTypedArray:O,TypedArray:b,TypedArrayPrototype:w}},ebe1:function(t,e,n){"use strict";n("2026")},ec1b:function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=2)}([function(t,e,n){var r=n(4)(n(1),n(5),null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3);e.default={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:2017},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator:function(t){return t>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(t,e,n,r){return n*(1-Math.pow(2,-10*t/r))*1024/1023+e}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=(0,r.requestAnimationFrame)(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){(0,r.cancelAnimationFrame)(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,(0,r.requestAnimationFrame)(this.count)},reset:function(){this.startTime=null,(0,r.cancelAnimationFrame)(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(t){this.startTime||(this.startTime=t),this.timestamp=t;var e=t-this.startTime;this.remaining=this.localDuration-e,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(e,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(e,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(e/this.localDuration):this.printVal=this.localStartVal+(this.localStartVal-this.startVal)*(e/this.localDuration),this.countDown?this.printVal=this.printVal<this.endVal?this.endVal:this.printVal:this.printVal=this.printVal>this.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),e<this.localDuration?this.rAF=(0,r.requestAnimationFrame)(this.count):this.$emit("callback")},isNumber:function(t){return!isNaN(parseFloat(t))},formatNumber:function(t){t=t.toFixed(this.decimals),t+="";var e=t.split("."),n=e[0],r=e.length>1?this.decimal+e[1]:"",i=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;i.test(n);)n=n.replace(i,"$1"+this.separator+"$2");return this.prefix+n+r+this.suffix}},destroyed:function(){(0,r.cancelAnimationFrame)(this.rAF)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=i.default,"undefined"!=typeof window&&window.Vue&&window.Vue.component("count-to",i.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=0,i="webkit moz ms o".split(" "),a=void 0,o=void 0;if("undefined"==typeof window)e.requestAnimationFrame=a=function(){},e.cancelAnimationFrame=o=function(){};else{e.requestAnimationFrame=a=window.requestAnimationFrame,e.cancelAnimationFrame=o=window.cancelAnimationFrame;for(var A=void 0,s=0;s<i.length&&(!a||!o);s++)A=i[s],e.requestAnimationFrame=a=a||window[A+"RequestAnimationFrame"],e.cancelAnimationFrame=o=o||window[A+"CancelAnimationFrame"]||window[A+"CancelRequestAnimationFrame"];a&&o||(e.requestAnimationFrame=a=function(t){var e=(new Date).getTime(),n=Math.max(0,16-(e-r)),i=window.setTimeout((function(){t(e+n)}),n);return r=e+n,i},e.cancelAnimationFrame=o=function(t){window.clearTimeout(t)})}e.requestAnimationFrame=a,e.cancelAnimationFrame=o},function(t,e){t.exports=function(t,e,n,r){var i,a=t=t||{},o=typeof t.default;"object"!==o&&"function"!==o||(i=t,a=t.default);var A="function"==typeof a?a.options:a;if(e&&(A.render=e.render,A.staticRenderFns=e.staticRenderFns),n&&(A._scopeId=n),r){var s=Object.create(A.computed||null);Object.keys(r).forEach((function(t){var e=r[t];s[t]=function(){return e}})),A.computed=s}return{esModule:i,exports:a,options:A}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("span",[t._v("\n "+t._s(t.displayValue)+"\n")])},staticRenderFns:[]}}])}))},ec55:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"errPage-container"},[n("el-button",{staticClass:"pan-back-btn",attrs:{icon:"arrow-left"},on:{click:t.back}},[t._v(" 返回 ")]),n("el-row",[n("el-col",{attrs:{span:12}},[n("h1",{staticClass:"text-jumbo text-ginormous"},[t._v(" 401错误! ")]),n("h2",[t._v("您没有访问权限!")]),n("h6",[t._v("对不起,您没有访问权限,请不要进行非法操作!您可以返回主页面")]),n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"link-type"},[n("router-link",{attrs:{to:"/"}},[t._v(" 回首页 ")])],1)])]),n("el-col",{attrs:{span:12}},[n("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1)],1)},i=[],a=n("cc6c"),o=n.n(a),A={name:"Page401",data:function(){return{errGif:o.a+"?"+ +new Date}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/"}):this.$router.go(-1)}}},s=A,l=(n("ecf6"),n("2877")),c=Object(l["a"])(s,r,i,!1,null,"f2e02586",null);e["default"]=c.exports},eca7:function(t,e,n){},ecf6:function(t,e,n){"use strict";n("c0ed")},ed45:function(t,e,n){"use strict";n.d(e,"e",(function(){return i})),n.d(e,"d",(function(){return a})),n.d(e,"a",(function(){return o})),n.d(e,"g",(function(){return A})),n.d(e,"c",(function(){return s})),n.d(e,"b",(function(){return l})),n.d(e,"f",(function(){return c}));var r=n("b775");function i(t){return Object(r["a"])({url:"/system/dict/type/list",method:"get",params:t})}function a(t){return Object(r["a"])({url:"/system/dict/type/"+t,method:"get"})}function o(t){return Object(r["a"])({url:"/system/dict/type",method:"post",data:t})}function A(t){return Object(r["a"])({url:"/system/dict/type",method:"put",data:t})}function s(t){return Object(r["a"])({url:"/system/dict/type/"+t,method:"delete"})}function l(){return Object(r["a"])({url:"/system/dict/type/clearCache",method:"delete"})}function c(){return Object(r["a"])({url:"/system/dict/type/optionselect",method:"get"})}},ed69:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-form",{ref:"basicInfoForm",attrs:{model:t.info,rules:t.rules,"label-width":"150px"}},[n("el-row",[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"表名称",prop:"tableName"}},[n("el-input",{attrs:{placeholder:"请输入仓库名称"},model:{value:t.info.tableName,callback:function(e){t.$set(t.info,"tableName",e)},expression:"info.tableName"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"表描述",prop:"tableComment"}},[n("el-input",{attrs:{placeholder:"请输入"},model:{value:t.info.tableComment,callback:function(e){t.$set(t.info,"tableComment",e)},expression:"info.tableComment"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"实体类名称",prop:"className"}},[n("el-input",{attrs:{placeholder:"请输入"},model:{value:t.info.className,callback:function(e){t.$set(t.info,"className",e)},expression:"info.className"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"作者",prop:"functionAuthor"}},[n("el-input",{attrs:{placeholder:"请输入"},model:{value:t.info.functionAuthor,callback:function(e){t.$set(t.info,"functionAuthor",e)},expression:"info.functionAuthor"}})],1)],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"备注",prop:"remark"}},[n("el-input",{attrs:{type:"textarea",rows:3},model:{value:t.info.remark,callback:function(e){t.$set(t.info,"remark",e)},expression:"info.remark"}})],1)],1)],1)],1)},i=[],a={name:"BasicInfoForm",props:{info:{type:Object,default:null}},data:function(){return{rules:{tableName:[{required:!0,message:"请输入表名称",trigger:"blur"}],tableComment:[{required:!0,message:"请输入表描述",trigger:"blur"}],className:[{required:!0,message:"请输入实体类名称",trigger:"blur"}],functionAuthor:[{required:!0,message:"请输入作者",trigger:"blur"}]}}}},o=a,A=n("2877"),s=Object(A["a"])(o,r,i,!1,null,null,null);e["default"]=s.exports},ee46:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-form",{ref:"form",attrs:{model:t.user,rules:t.rules,"label-width":"80px"}},[n("el-form-item",{attrs:{label:"旧密码",prop:"oldPassword"}},[n("el-input",{attrs:{placeholder:"请输入旧密码",type:"password"},model:{value:t.user.oldPassword,callback:function(e){t.$set(t.user,"oldPassword",e)},expression:"user.oldPassword"}})],1),n("el-form-item",{attrs:{label:"新密码",prop:"newPassword"}},[n("el-input",{attrs:{placeholder:"请输入新密码",type:"password"},model:{value:t.user.newPassword,callback:function(e){t.$set(t.user,"newPassword",e)},expression:"user.newPassword"}})],1),n("el-form-item",{attrs:{label:"确认密码",prop:"confirmPassword"}},[n("el-input",{attrs:{placeholder:"请确认密码",type:"password"},model:{value:t.user.confirmPassword,callback:function(e){t.$set(t.user,"confirmPassword",e)},expression:"user.confirmPassword"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.submit}},[t._v("保存")]),n("el-button",{attrs:{type:"danger",size:"mini"},on:{click:t.close}},[t._v("关闭")])],1)],1)},i=[],a=n("c0c7"),o={data:function(){var t=this,e=function(e,n,r){t.user.newPassword!==n?r(new Error("两次输入的密码不一致")):r()};return{test:"1test",user:{oldPassword:void 0,newPassword:void 0,confirmPassword:void 0},rules:{oldPassword:[{required:!0,message:"旧密码不能为空",trigger:"blur"}],newPassword:[{required:!0,message:"新密码不能为空",trigger:"blur"},{min:6,max:20,message:"长度在 6 到 20 个字符",trigger:"blur"}],confirmPassword:[{required:!0,message:"确认密码不能为空",trigger:"blur"},{required:!0,validator:e,trigger:"blur"}]}}},methods:{submit:function(){var t=this;this.$refs["form"].validate((function(e){e&&Object(a["j"])(t.user.oldPassword,t.user.newPassword).then((function(e){t.msgSuccess("修改成功")}))}))},close:function(){this.$store.dispatch("tagsView/delView",this.$route),this.$router.push({path:"/index"})}}},A=o,s=n("2877"),l=Object(s["a"])(A,r,i,!1,null,null,null);e["default"]=l.exports},eecc:function(t,e,n){"use strict";n("2912")},f10d:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className,style:{height:t.height,width:t.width},attrs:{id:t.id}})},i=[],a=n("313e"),o=n.n(a),A=n("feb2"),s=(n("29f5"),n("da0d"),{mixins:[A["default"]],props:{className:{type:String,default:"chart"},id:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"400px"},data:{type:Array,default:[]}},data:function(){return{chart:null}},mounted:function(){this.initChart()},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=o.a.init(document.getElementById(this.id));var t={series:[{type:"pie",hoverAnimation:!1,radius:["82%","90%"],center:["50%","55%"],startAngle:160,labelLine:{normal:{show:!1}},label:{normal:{position:"center"}},data:[{value:100,itemStyle:{normal:{color:"#F39801"}}},{value:155,itemStyle:{normal:{label:{show:!1},labelLine:{show:!1},color:"rgba(0,0,0,0)",borderWidth:0},emphasis:{color:"rgba(0,0,0,0)",borderWidth:0}}}]},{type:"pie",hoverAnimation:!1,radius:["82%","90%"],center:["50%","55%"],startAngle:160,labelLine:{normal:{show:!1}},label:{normal:{position:"center"}},data:[{value:55,itemStyle:{normal:{color:"#013C8A"}}},{value:155,itemStyle:{normal:{label:{show:!1},labelLine:{show:!1},color:"rgba(0,0,0,0)",borderWidth:0},emphasis:{color:"rgba(0,0,0,0)",borderWidth:0}}}]}]};this.chart.setOption(t)}}}),l=s,c=n("2877"),u=Object(c["a"])(l,r,i,!1,null,null,null);e["default"]=u.exports},f375:function(t,e,n){},f428:function(t,e,n){"use strict";n("eca7")},f612:function(t,e,n){"use strict";n("06a7")},f635:function(t,e,n){},f794:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],ref:"queryForm",staticClass:"queryParams bgWhite",attrs:{model:t.queryParams,inline:!0}},[n("el-form-item",{attrs:{label:"菜单名称",prop:"menuName"}},[n("el-input",{attrs:{placeholder:"请输入菜单名称",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.menuName,callback:function(e){t.$set(t.queryParams,"menuName",e)},expression:"queryParams.menuName"}})],1),n("el-form-item",{attrs:{label:"状态",prop:"status"}},[n("el-select",{attrs:{placeholder:"菜单状态",clearable:"",size:"small"},model:{value:t.queryParams.status,callback:function(e){t.$set(t.queryParams,"status",e)},expression:"queryParams.status"}},t._l(t.statusOptions,(function(t){return n("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:t.dictValue}})})),1)],1),n("el-form-item",[n("el-button",{attrs:{type:"cyan",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1),n("div",{staticClass:"bgWhite"},[n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:menu:add"],expression:"['system:menu:add']"}],attrs:{type:"cyan",icon:"el-icon-plus",size:"mini"},on:{click:t.handleAdd}},[t._v("新增")])],1),n("right-toolbar",{attrs:{showSearch:t.showSearch},on:{"update:showSearch":function(e){t.showSearch=e},"update:show-search":function(e){t.showSearch=e},queryTable:t.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.menuList,"row-key":"menuId","tree-props":{children:"children",hasChildren:"hasChildren"}}},[n("el-table-column",{attrs:{prop:"menuName",label:"菜单名称","show-overflow-tooltip":!0,width:"160"}}),n("el-table-column",{attrs:{prop:"icon",label:"图标",align:"center",width:"100"},scopedSlots:t._u([{key:"default",fn:function(t){return[n("svg-icon",{attrs:{"icon-class":t.row.icon}})]}}])}),n("el-table-column",{attrs:{prop:"orderNum",label:"排序",width:"60"}}),n("el-table-column",{attrs:{prop:"perms",label:"权限标识","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{prop:"component",label:"组件路径","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{prop:"status",label:"状态",formatter:t.statusFormat,width:"80"}}),n("el-table-column",{attrs:{label:"创建时间",align:"center",prop:"createTime"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.parseTime(e.row.createTime)))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:menu:edit"],expression:"['system:menu:edit']"}],attrs:{size:"mini",icon:"el-icon-edit"},on:{click:function(n){return t.handleUpdate(e.row)}}},[t._v("修改")]),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:menu:add"],expression:"['system:menu:add']"}],attrs:{size:"mini",type:"cyan",icon:"el-icon-plus"},on:{click:function(n){return t.handleAdd(e.row)}}},[t._v("新增")]),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:menu:remove"],expression:"['system:menu:remove']"}],attrs:{size:"mini",type:"danger",icon:"el-icon-delete"},on:{click:function(n){return t.handleDelete(e.row)}}},[t._v("删除")])]}}])})],1)],1),n("el-dialog",{attrs:{title:t.title,visible:t.open,width:"600px","append-to-body":""},on:{"update:visible":function(e){t.open=e}}},[n("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"80px"}},[n("el-row",[n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"上级菜单"}},[n("treeselect",{attrs:{options:t.menuOptions,normalizer:t.normalizer,"show-count":!0,placeholder:"选择上级菜单"},model:{value:t.form.parentId,callback:function(e){t.$set(t.form,"parentId",e)},expression:"form.parentId"}})],1)],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"菜单类型",prop:"menuType"}},[n("el-radio-group",{model:{value:t.form.menuType,callback:function(e){t.$set(t.form,"menuType",e)},expression:"form.menuType"}},[n("el-radio",{attrs:{label:"M"}},[t._v("目录")]),n("el-radio",{attrs:{label:"C"}},[t._v("菜单")]),n("el-radio",{attrs:{label:"F"}},[t._v("按钮")])],1)],1)],1),n("el-col",{attrs:{span:24}},["F"!=t.form.menuType?n("el-form-item",{attrs:{label:"菜单图标"}},[n("el-popover",{attrs:{placement:"bottom-start",width:"460",trigger:"click"},on:{show:function(e){return t.$refs["iconSelect"].reset()}}},[n("IconSelect",{ref:"iconSelect",on:{selected:t.selected}}),n("el-input",{attrs:{slot:"reference",placeholder:"点击选择图标",readonly:""},slot:"reference",model:{value:t.form.icon,callback:function(e){t.$set(t.form,"icon",e)},expression:"form.icon"}},[t.form.icon?n("svg-icon",{staticClass:"el-input__icon",staticStyle:{height:"32px",width:"16px"},attrs:{slot:"prefix","icon-class":t.form.icon},slot:"prefix"}):n("i",{staticClass:"el-icon-search el-input__icon",attrs:{slot:"prefix"},slot:"prefix"})],1)],1)],1):t._e()],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"菜单名称",prop:"menuName"}},[n("el-input",{attrs:{placeholder:"请输入菜单名称"},model:{value:t.form.menuName,callback:function(e){t.$set(t.form,"menuName",e)},expression:"form.menuName"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"显示排序",prop:"orderNum"}},[n("el-input-number",{attrs:{"controls-position":"right",min:0},model:{value:t.form.orderNum,callback:function(e){t.$set(t.form,"orderNum",e)},expression:"form.orderNum"}})],1)],1),n("el-col",{attrs:{span:12}},["F"!=t.form.menuType?n("el-form-item",{attrs:{label:"是否外链"}},[n("el-radio-group",{model:{value:t.form.isFrame,callback:function(e){t.$set(t.form,"isFrame",e)},expression:"form.isFrame"}},[n("el-radio",{attrs:{label:"0"}},[t._v("是")]),n("el-radio",{attrs:{label:"1"}},[t._v("否")])],1)],1):t._e()],1),n("el-col",{attrs:{span:12}},["F"!=t.form.menuType?n("el-form-item",{attrs:{label:"路由地址",prop:"path"}},[n("el-input",{attrs:{placeholder:"请输入路由地址"},model:{value:t.form.path,callback:function(e){t.$set(t.form,"path",e)},expression:"form.path"}})],1):t._e()],1),"C"==t.form.menuType?n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"组件路径",prop:"component"}},[n("el-input",{attrs:{placeholder:"请输入组件路径"},model:{value:t.form.component,callback:function(e){t.$set(t.form,"component",e)},expression:"form.component"}})],1)],1):t._e(),n("el-col",{attrs:{span:12}},["M"!=t.form.menuType?n("el-form-item",{attrs:{label:"权限标识"}},[n("el-input",{attrs:{placeholder:"请权限标识",maxlength:"50"},model:{value:t.form.perms,callback:function(e){t.$set(t.form,"perms",e)},expression:"form.perms"}})],1):t._e()],1),n("el-col",{attrs:{span:12}},["F"!=t.form.menuType?n("el-form-item",{attrs:{label:"显示状态"}},[n("el-radio-group",{model:{value:t.form.visible,callback:function(e){t.$set(t.form,"visible",e)},expression:"form.visible"}},t._l(t.visibleOptions,(function(e){return n("el-radio",{key:e.dictValue,attrs:{label:e.dictValue}},[t._v(t._s(e.dictLabel))])})),1)],1):t._e()],1),n("el-col",{attrs:{span:12}},["F"!=t.form.menuType?n("el-form-item",{attrs:{label:"菜单状态"}},[n("el-radio-group",{model:{value:t.form.status,callback:function(e){t.$set(t.form,"status",e)},expression:"form.status"}},t._l(t.statusOptions,(function(e){return n("el-radio",{key:e.dictValue,attrs:{label:e.dictValue}},[t._v(t._s(e.dictLabel))])})),1)],1):t._e()],1),n("el-col",{attrs:{span:12}},["C"==t.form.menuType?n("el-form-item",{attrs:{label:"是否缓存"}},[n("el-radio-group",{model:{value:t.form.isCache,callback:function(e){t.$set(t.form,"isCache",e)},expression:"form.isCache"}},[n("el-radio",{attrs:{label:"0"}},[t._v("缓存")]),n("el-radio",{attrs:{label:"1"}},[t._v("不缓存")])],1)],1):t._e()],1)],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("确 定")]),n("el-button",{on:{click:t.cancel}},[t._v("取 消")])],1)],1)],1)},i=[],a=n("a6dc"),o=n("ca17"),A=n.n(o),s=(n("542c"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"icon-body"},[n("el-input",{staticStyle:{position:"relative"},attrs:{clearable:"",placeholder:"请输入图标名称"},on:{clear:t.filterIcons},nativeOn:{input:function(e){return t.filterIcons(e)}},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}},[n("i",{staticClass:"el-icon-search el-input__icon",attrs:{slot:"suffix"},slot:"suffix"})]),n("div",{staticClass:"icon-list"},t._l(t.iconList,(function(e,r){return n("div",{key:r,on:{click:function(n){return t.selectedIcon(e)}}},[n("svg-icon",{staticStyle:{height:"30px",width:"16px"},attrs:{"icon-class":e}}),n("span",[t._v(t._s(e))])],1)})),0)],1)}),l=[],c=(n("b0c0"),n("4de4"),n("d3b7"),n("caad"),n("2532"),n("ddb0"),n("d81d"),n("ac1f"),n("466d"),n("23f1")),u=function(t){return t.keys()},d=/\.\/(.*)\.svg/,h=u(c).map((function(t){return t.match(d)[1]})),f=h,p={name:"IconSelect",data:function(){return{name:"",iconList:f}},methods:{filterIcons:function(){var t=this;this.iconList=f,this.name&&(this.iconList=this.iconList.filter((function(e){return e.includes(t.name)})))},selectedIcon:function(t){this.$emit("selected",t),document.body.click()},reset:function(){this.name="",this.iconList=f}}},m=p,g=(n("bce5"),n("2877")),v=Object(g["a"])(m,s,l,!1,null,"0273f142",null),_=v.exports,y={name:"Menu",components:{Treeselect:A.a,IconSelect:_},data:function(){return{loading:!0,showSearch:!0,menuList:[],menuOptions:[],title:"",open:!1,visibleOptions:[],statusOptions:[],queryParams:{menuName:void 0,visible:void 0},form:{},rules:{menuName:[{required:!0,message:"菜单名称不能为空",trigger:"blur"}],orderNum:[{required:!0,message:"菜单顺序不能为空",trigger:"blur"}],path:[{required:!0,message:"路由地址不能为空",trigger:"blur"}]}}},created:function(){var t=this;this.getList(),this.getDicts("sys_show_hide").then((function(e){t.visibleOptions=e.data})),this.getDicts("sys_normal_disable").then((function(e){t.statusOptions=e.data}))},methods:{selected:function(t){this.form.icon=t},getList:function(){var t=this;this.loading=!0,Object(a["d"])(this.queryParams).then((function(e){t.menuList=t.handleTree(e.data,"menuId"),t.loading=!1}))},normalizer:function(t){return t.children&&!t.children.length&&delete t.children,{id:t.menuId,label:t.menuName,children:t.children}},getTreeselect:function(){var t=this;Object(a["d"])().then((function(e){t.menuOptions=[];var n={menuId:0,menuName:"主类目",children:[]};n.children=t.handleTree(e.data,"menuId"),t.menuOptions.push(n)}))},visibleFormat:function(t,e){return"F"==t.menuType?"":this.selectDictLabel(this.visibleOptions,t.visible)},statusFormat:function(t,e){return"F"==t.menuType?"":this.selectDictLabel(this.statusOptions,t.status)},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={menuId:void 0,parentId:0,menuName:void 0,icon:void 0,menuType:"M",orderNum:void 0,isFrame:"1",isCache:"0",visible:"0",status:"0"},this.resetForm("form")},handleQuery:function(){this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.handleQuery()},handleAdd:function(t){this.reset(),this.getTreeselect(),null!=t&&t.menuId?this.form.parentId=t.menuId:this.form.parentId=0,this.open=!0,this.title="添加菜单"},handleUpdate:function(t){var e=this;this.reset(),this.getTreeselect(),Object(a["c"])(t.menuId).then((function(t){e.form=t.data,e.open=!0,e.title="修改菜单"}))},submitForm:function(){var t=this;this.$refs["form"].validate((function(e){e&&(void 0!=t.form.menuId?Object(a["g"])(t.form).then((function(e){t.msgSuccess("修改成功"),t.open=!1,t.getList()})):Object(a["a"])(t.form).then((function(e){t.msgSuccess("新增成功"),t.open=!1,t.getList()})))}))},handleDelete:function(t){var e=this;this.$confirm('是否确认删除名称为"'+t.menuName+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(a["b"])(t.menuId)})).then((function(){e.getList(),e.msgSuccess("删除成功")}))}}},b=y,w=Object(g["a"])(b,r,i,!1,null,null,null);e["default"]=w.exports},f8cd:function(t,e,n){var r=n("a691");t.exports=function(t){var e=r(t);if(e<0)throw RangeError("The argument can't be less than 0");return e}},f9d8:function(t,e,n){},fbc4:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-row",{staticClass:"panel-group",attrs:{gutter:40}},[n("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[n("div",{staticClass:"card-panel",on:{click:function(e){return t.handleSetLineChartData("newVisitis")}}},[n("div",{staticClass:"card-panel-icon-wrapper icon-people"},[n("svg-icon",{attrs:{"icon-class":"peoples","class-name":"card-panel-icon"}})],1),n("div",{staticClass:"card-panel-description"},[n("div",{staticClass:"card-panel-text"},[t._v(" 访客 ")]),n("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":102400,duration:2600}})],1)])]),n("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[n("div",{staticClass:"card-panel",on:{click:function(e){return t.handleSetLineChartData("messages")}}},[n("div",{staticClass:"card-panel-icon-wrapper icon-message"},[n("svg-icon",{attrs:{"icon-class":"message","class-name":"card-panel-icon"}})],1),n("div",{staticClass:"card-panel-description"},[n("div",{staticClass:"card-panel-text"},[t._v(" 消息 ")]),n("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":81212,duration:3e3}})],1)])]),n("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[n("div",{staticClass:"card-panel",on:{click:function(e){return t.handleSetLineChartData("purchases")}}},[n("div",{staticClass:"card-panel-icon-wrapper icon-money"},[n("svg-icon",{attrs:{"icon-class":"money","class-name":"card-panel-icon"}})],1),n("div",{staticClass:"card-panel-description"},[n("div",{staticClass:"card-panel-text"},[t._v(" 金额 ")]),n("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":9280,duration:3200}})],1)])]),n("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[n("div",{staticClass:"card-panel",on:{click:function(e){return t.handleSetLineChartData("shoppings")}}},[n("div",{staticClass:"card-panel-icon-wrapper icon-shopping"},[n("svg-icon",{attrs:{"icon-class":"shopping","class-name":"card-panel-icon"}})],1),n("div",{staticClass:"card-panel-description"},[n("div",{staticClass:"card-panel-text"},[t._v(" 订单 ")]),n("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":13600,duration:3600}})],1)])])],1)},i=[],a=n("ec1b"),o=n.n(a),A={components:{CountTo:o.a},methods:{handleSetLineChartData:function(t){this.$emit("handleSetLineChartData",t)}}},s=A,l=(n("26ab"),n("2877")),c=Object(l["a"])(s,r,i,!1,null,"0ac8ac4e",null);e["default"]=c.exports},fcb7:function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"g",(function(){return A})),n.d(e,"f",(function(){return s})),n.d(e,"a",(function(){return l})),n.d(e,"h",(function(){return c})),n.d(e,"b",(function(){return u}));var r=n("b775");function i(t){return Object(r["a"])({url:"/system/dept/list",method:"get",params:t})}function a(t){return Object(r["a"])({url:"/system/dept/list/exclude/"+t,method:"get"})}function o(t){return Object(r["a"])({url:"/system/dept/"+t,method:"get"})}function A(){return Object(r["a"])({url:"/system/dept/treeselect",method:"get"})}function s(t){return Object(r["a"])({url:"/system/dept/roleDeptTreeselect/"+t,method:"get"})}function l(t){return Object(r["a"])({url:"/system/dept",method:"post",data:t})}function c(t){return Object(r["a"])({url:"/system/dept",method:"put",data:t})}function u(t){return Object(r["a"])({url:"/system/dept/"+t,method:"delete"})}},feb2:function(t,e,n){"use strict";n.r(e);var r=n("ed08");e["default"]={data:function(){return{$_sidebarElm:null,$_resizeHandler:null}},mounted:function(){this.initListener()},activated:function(){this.$_resizeHandler||this.initListener(),this.resize()},beforeDestroy:function(){this.destroyListener()},deactivated:function(){this.destroyListener()},methods:{$_sidebarResizeHandler:function(t){"width"===t.propertyName&&this.$_resizeHandler()},initListener:function(){var t=this;this.$_resizeHandler=Object(r["c"])((function(){t.resize()}),100),window.addEventListener("resize",this.$_resizeHandler),this.$_sidebarElm=document.getElementsByClassName("sidebar-container")[0],this.$_sidebarElm&&this.$_sidebarElm.addEventListener("transitionend",this.$_sidebarResizeHandler)},destroyListener:function(){window.removeEventListener("resize",this.$_resizeHandler),this.$_resizeHandler=null,this.$_sidebarElm&&this.$_sidebarElm.removeEventListener("transitionend",this.$_sidebarResizeHandler)},resize:function(){var t=this.chart;t&&t.resize()}}}},fed5b:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:t.queryParams,inline:!0,"label-width":"68px"}},[n("el-form-item",{attrs:{label:"系统模块",prop:"title"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入系统模块",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.title,callback:function(e){t.$set(t.queryParams,"title",e)},expression:"queryParams.title"}})],1),n("el-form-item",{attrs:{label:"操作人员",prop:"operName"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入操作人员",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.operName,callback:function(e){t.$set(t.queryParams,"operName",e)},expression:"queryParams.operName"}})],1),n("el-form-item",{attrs:{label:"类型",prop:"businessType"}},[n("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"操作类型",clearable:"",size:"small"},model:{value:t.queryParams.businessType,callback:function(e){t.$set(t.queryParams,"businessType",e)},expression:"queryParams.businessType"}},t._l(t.typeOptions,(function(t){return n("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:t.dictValue}})})),1)],1),n("el-form-item",{attrs:{label:"状态",prop:"status"}},[n("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"操作状态",clearable:"",size:"small"},model:{value:t.queryParams.status,callback:function(e){t.$set(t.queryParams,"status",e)},expression:"queryParams.status"}},t._l(t.statusOptions,(function(t){return n("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:t.dictValue}})})),1)],1),n("el-form-item",{attrs:{label:"操作时间"}},[n("el-date-picker",{staticStyle:{width:"240px"},attrs:{size:"small","value-format":"yyyy-MM-dd",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:t.dateRange,callback:function(e){t.dateRange=e},expression:"dateRange"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"cyan",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1),n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:operlog:remove"],expression:"['system:operlog:remove']"}],attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:t.multiple},on:{click:t.handleDelete}},[t._v("删除")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:operlog:remove"],expression:"['system:operlog:remove']"}],attrs:{type:"danger",icon:"el-icon-delete",size:"mini"},on:{click:t.handleClean}},[t._v("清空")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:export"],expression:"['system:config:export']"}],attrs:{type:"warning",icon:"el-icon-download",size:"mini"},on:{click:t.handleExport}},[t._v("导出")])],1),n("right-toolbar",{attrs:{showSearch:t.showSearch},on:{"update:showSearch":function(e){t.showSearch=e},"update:show-search":function(e){t.showSearch=e},queryTable:t.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.list},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),n("el-table-column",{attrs:{label:"日志编号",align:"center",prop:"operId"}}),n("el-table-column",{attrs:{label:"系统模块",align:"center",prop:"title"}}),n("el-table-column",{attrs:{label:"操作类型",align:"center",prop:"businessType",formatter:t.typeFormat}}),n("el-table-column",{attrs:{label:"请求方式",align:"center",prop:"requestMethod"}}),n("el-table-column",{attrs:{label:"操作人员",align:"center",prop:"operName"}}),n("el-table-column",{attrs:{label:"主机",align:"center",prop:"operIp",width:"130","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"操作状态",align:"center",prop:"status",formatter:t.statusFormat}}),n("el-table-column",{attrs:{label:"操作日期",align:"center",prop:"operTime",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.parseTime(e.row.operTime)))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:operlog:query"],expression:"['system:operlog:query']"}],attrs:{size:"mini",type:"text",icon:"el-icon-view"},on:{click:function(n){return t.handleView(e.row,e.index)}}},[t._v("详细")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(e){return t.$set(t.queryParams,"pageNum",e)},"update:limit":function(e){return t.$set(t.queryParams,"pageSize",e)},pagination:t.getList}}),n("el-dialog",{attrs:{title:"操作日志详细",visible:t.open,width:"700px","append-to-body":""},on:{"update:visible":function(e){t.open=e}}},[n("el-form",{ref:"form",attrs:{model:t.form,"label-width":"100px",size:"mini"}},[n("el-row",[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"操作模块:"}},[t._v(t._s(t.form.title)+" / "+t._s(t.typeFormat(t.form)))]),n("el-form-item",{attrs:{label:"登录信息:"}},[t._v(t._s(t.form.operName)+" / "+t._s(t.form.operIp))])],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"请求地址:"}},[t._v(t._s(t.form.operUrl))]),n("el-form-item",{attrs:{label:"请求方式:"}},[t._v(t._s(t.form.requestMethod))])],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"操作方法:"}},[t._v(t._s(t.form.method))])],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"请求参数:"}},[t._v(t._s(t.form.operParam))])],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"返回参数:"}},[t._v(t._s(t.form.jsonResult))])],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"操作状态:"}},[0===t.form.status?n("div",[t._v("正常")]):1===t.form.status?n("div",[t._v("失败")]):t._e()])],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"操作时间:"}},[t._v(t._s(t.parseTime(t.form.operTime)))])],1),n("el-col",{attrs:{span:24}},[1===t.form.status?n("el-form-item",{attrs:{label:"异常信息:"}},[t._v(t._s(t.form.errorMsg))]):t._e()],1)],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(e){t.open=!1}}},[t._v("关 闭")])],1)],1)],1)},i=[],a=n("5530"),o=(n("d81d"),n("b775"));function A(t){return Object(o["a"])({url:"/system/operlog/list",method:"get",params:t})}function s(t){return Object(o["a"])({url:"/monitor/operlog/"+t,method:"delete"})}function l(){return Object(o["a"])({url:"/system/operlog/clean",method:"delete"})}var c={name:"Operlog",data:function(){return{loading:!0,ids:[],multiple:!0,showSearch:!0,total:0,list:[],open:!1,typeOptions:[],statusOptions:[],dateRange:[],form:{},queryParams:{pageNum:1,pageSize:10,title:void 0,operName:void 0,businessType:void 0,status:void 0}}},created:function(){var t=this;this.getList(),this.getDicts("sys_oper_type").then((function(e){t.typeOptions=e.data})),this.getDicts("sys_common_status").then((function(e){t.statusOptions=e.data}))},methods:{getList:function(){var t=this;this.loading=!0,A(this.addDateRange(this.queryParams,this.dateRange)).then((function(e){t.list=e.rows,t.total=e.total,t.loading=!1}))},statusFormat:function(t,e){return this.selectDictLabel(this.statusOptions,t.status)},typeFormat:function(t,e){return this.selectDictLabel(this.typeOptions,t.businessType)},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(t){this.ids=t.map((function(t){return t.operId})),this.multiple=!t.length},handleView:function(t){this.open=!0,this.form=t},handleDelete:function(t){var e=this,n=t.operId||this.ids;this.$confirm('是否确认删除日志编号为"'+n+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return s(n)})).then((function(){e.getList(),e.msgSuccess("删除成功")}))},handleClean:function(){var t=this;this.$confirm("是否确认清空所有操作日志数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return l()})).then((function(){t.getList(),t.msgSuccess("清空成功")}))},handleExport:function(){this.download("system/operlog/export",Object(a["a"])({},this.queryParams),"operlog_".concat((new Date).getTime(),".xlsx"))}}},u=c,d=n("2877"),h=Object(d["a"])(u,r,i,!1,null,null,null);e["default"]=h.exports}}]);
|